mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
0f5807d0f9
The opencode package implemented the old architecture where: - Pulse ran an OpenCode subprocess as a sidecar - AI messages were proxied through OpenCode - OpenCode connected back to Pulse's MCP server for tool access This is now replaced by the native chat service (internal/ai/chat) which calls AI providers directly and executes tools inline. Removed files: - sidecar.go: OpenCode process management - service.go: Message proxying and session management - client.go: HTTP client for OpenCode API - bridge.go: MCP tool bridging - patrol.go: Patrol context extraction - *_test.go: Associated tests Benefits of new architecture: - No external subprocess dependency - Direct streaming from AI providers - Lower latency (no proxy hop) - Simpler deployment