Files
anomalyco_opencode/packages
Aiden Cline d4e00c061d feat(core): surface mcp server instructions in the system prompt
Capture each server's initialize instructions on the Connection at connect
time and expose them via MCP.instructions(). Add McpGuidance, a system-context
source modeled on SkillGuidance, that renders the <mcp_instructions> block and
hides servers whose contributed tools are all denied for the agent.

instructions() returns just { server, instructions }; the guidance layer
fetches tools() separately and does the agent-aware permission correlation,
mirroring how SkillGuidance composes raw data with agent permissions.
2026-06-29 12:26:50 -05:00
..
2026-06-28 11:30:38 -04:00
2026-06-28 11:30:38 -04:00
2026-06-28 11:30:38 -04:00
2026-06-26 20:56:36 -04:00
2026-06-25 12:09:26 +00:00
2026-06-26 17:36:45 +00:00
2026-06-28 11:30:38 -04:00