Skip to content

Conversation

@cloud-on-prem
Copy link
Collaborator

@cloud-on-prem cloud-on-prem commented Dec 21, 2025

This is a wholesale rewrite.


Replaces HTTP-based server architecture with direct ACP (Agent Communication Protocol) subprocess communication via JSON-RPC 2.0 over stdin/stdout.

Key changes:

  • New JsonRpcClient for ndjson-framed JSON-RPC 2.0 communication
  • SubprocessManager for goose binary lifecycle (spawn, graceful shutdown, version gating ≥1.16.0)
  • SessionManager with fp-ts TaskEither for session create/load with history replay
  • Consolidated src/webview/ React UI (removes separate webview-ui/ package and Vite tooling)
  • Unified webpack build for extension + webview
  • Shared types in src/shared/ for type-safe message passing

Removed:

  • HTTP server (src/server/)
  • ApiClient, ServerManager, ChatProcessor
  • Separate webview package with Vite config

Closes #27
Closes #25

@cloud-on-prem cloud-on-prem merged commit 5985adb into main Dec 21, 2025
1 check passed
@cloud-on-prem cloud-on-prem deleted the v2-rewrite branch December 21, 2025 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rewrite extension to use ACP

2 participants