Repository navigation
feat(agents): install cora into pi and omp - #756
Merged
Merged
Conversation
A before_agent_start extension injects the code-search block before each prompt; the MCP server is registered (direct exposure for pi) and the cora-code skill installed. Verified against pi 1.5.2 and omp 18.20.3. Refs #753.
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.
What
cora installnow sets up pi and omp (oh-my-pi): abefore_agent_startextension that injects thecora hook contextblock before each prompt, the MCP server inmcp.json(exposure: directfor pi, whose default hides MCP tools behindcodemode), and thecora-codeskill.--force; an unreadable or oddly shapedmcp.json/ extension is reported and left untouched;--removedeletes only what cora wrote and restores yourmcp.json.Why
Part of #753: agents should use code search on every prompt, not only when the model remembers a tool exists. Refs #753.
Testing
cargo fmt --all -- --check,cargo clippy --all-targets --features tree-sitter -- -D warnings,cargo test --features tree-sitterpass locally.cora-contextmessage was stored in the session;pi mcp listshowscoraconnected with its tools listed directly.Generated by Claude Code