Repository navigation
Feat/goal and rea mcp - #34
Merged
Merged
Conversation
goreleaser builds release notes from commit subjects, so a release with one commit renders as a single line. The header carries the install command, the zero-config local-model path, and a link to the full notes.
Two features, plus the protocol fix the REA integration surfaced. /goal: a persistent, budget-capped objective that drives the agent across turns until done, blocked, or paused. New internal/goal package (Tracker: objective, token budget, statuses, JSON persistence, per-turn DrivePrompt injection, auto-pause on budget). Wired into the REPL as /goal with set/status/pause/resume/done/blocked/clear and per-turn token accounting. REA: gocode drives an installed REA (Reverse Engineer Anything) over MCP. New internal/rea package detects scripts/rea.mjs and a node satisfying REA's engine range; 'gocode rea setup' registers it in .gocode/mcp.json and 'gocode rea status' verifies the live handshake (234 tools discovered). Protocol fix: the MCP client only spoke LSP-style Content-Length framing, but REA's stdio transport is newline-delimited JSON (the MCP stdio standard), so a naive config hung. Added an additive per-server 'Framing' field: empty keeps Content-Length unchanged for existing servers, 'ndjson' serves REA. Verified by new in-memory-pipe tests covering both framings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.