feat(agents): add continue adapter#131
Conversation
343cf67 to
4283824
Compare
Greptile SummaryAdds the
Confidence Score: 5/5Safe to merge — the adapter correctly implements all required interface methods, the prompt is properly guarded with The change is a self-contained new adapter with no modifications to existing behaviour. The binary resolution, permission flag mapping, restore-via- No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant AO as AO Daemon
participant CA as continueagent.Plugin
participant CC as claudecode.Plugin
participant FS as Filesystem
participant CN as cn binary
AO->>CA: GetAgentHooks(ctx, cfg)
CA->>CC: "(&claudecode.Plugin{}).GetAgentHooks(ctx, cfg)"
CC->>FS: write .claude/settings.local.json
FS-->>CC: ok
CC-->>CA: nil
CA-->>AO: nil
AO->>CA: GetLaunchCommand(ctx, cfg)
CA->>CA: continueBinary(ctx) → resolves/caches cn path
CA-->>AO: [cn, --print, (--auto), --, prompt]
AO->>CN: exec(launch command)
CN->>FS: reads .claude/settings.local.json hooks
CN-->>AO: hook events (SessionStart / Stop / etc.)
AO->>CA: GetRestoreCommand(ctx, cfg)
CA-->>AO: [cn, --print, (--auto), --fork, agentSessionID]
AO->>CA: SessionInfo(ctx, session)
CA-->>AO: "{AgentSessionID, Title, Summary} from ports.MetadataKey* constants"
Reviews (2): Last reviewed commit: "feat(agents): add continue adapter" | Re-trigger Greptile |
Registers the continue harness, stacked on the agent platform. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4283824 to
afb9430
Compare
Adds the continue harness, stacked on #119 (agent platform). Adapter package +
Constructors()registration + resolver test.🤖 Generated with Claude Code
Stack