feat(agents): add kilocode adapter#136
Conversation
c01750c to
3f59c4e
Compare
Greptile SummaryAdds the
Confidence Score: 5/5Safe to merge; the adapter is self-contained, follows the established opencode/codex pattern, and is well-tested. The adapter is a clean, well-tested addition of a new agent harness. All hooks are sentinel-guarded, writes are atomic, and the activity dispatch and registry wiring are correct. The only finding is a minor bounded-growth omission in the TypeScript plugin's promptReports map — symmetric with the messageStore cap already added in this PR — which has no correctness impact on normal-path behavior. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant K as Kilo Code CLI
participant P as ao-activity.ts plugin
participant AO as ao hooks kilocode
K->>P: "session.created { id }"
P->>AO: "session-start { session_id }"
Note over AO: DeriveActivityState → ActivityActive
K->>P: "message.updated { role:user, id, sessionID }"
P->>P: rememberMessage(id, msg)
P->>AO: "user-prompt-submit { session_id, prompt:"" }"
Note over AO: DeriveActivityState → ActivityActive
K->>P: "message.part.updated { messageID, type:text, text }"
P->>P: lookup msg in messageStore
P->>AO: "user-prompt-submit { session_id, prompt:text }"
P->>P: messageStore.delete(messageID)
K->>P: "permission.ask { sessionID }"
P->>AO: "permission-request { session_id }"
Note over AO: DeriveActivityState → ActivityWaitingInput
K->>P: "session.status { status.type:"idle", sessionID }"
P->>AO: "stop { session_id }"
Note over AO: DeriveActivityState → ActivityIdle
Reviews (2): Last reviewed commit: "feat(agents): add kilocode adapter" | Re-trigger Greptile |
Registers the kilocode harness, stacked on the agent platform. Includes its own activity deriver. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3f59c4e to
1c58723
Compare
Adds the kilocode harness, stacked on #119 (agent platform). Adapter package +
Constructors()registration + resolver test. Includes its own activity deriver.🤖 Generated with Claude Code
Stack