Files
codebase-memory-mcp/tests
jcandClaude Fable 5 63be29800d feat(cli): extend the OpenCode plugin to every documented context surface
The generated OpenCode adapter covered only the grep/glob graph lookup, so
OpenCode sessions missed the read-coverage and lifecycle context other
clients get through their hook configuration. Extend the plugin to the
surfaces OpenCode documents:

- unwrap hook-augment's additionalContext envelope so plain text, not raw
  JSON, lands in the tool output
- post-read index-coverage notes via tool.execute.after, mapping OpenCode's
  filePath argument to the file_path key the default dialect reads
- session-start tier routing injected once per sessionID on the first tool
  result, since OpenCode documents no context-output lifecycle hook
- post-compaction reinjection through the documented experimental
  session.compacting surface (output.context)

Every failure path resolves to the empty string: the adapter can degrade to
a no-op but never blocks a tool call. Pin the new surfaces in
test_agent_clients (31/31 pass; the #616 payload guard stays green) and
record the wider surface in the README client matrix.

Signed-off-by: jc <jcvi007@gmail.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 09:22:34 +02:00
..
2026-06-28 13:05:05 +02:00