agent-orchestrator/backend/internal/adapters/agent/opencode
yyovil 3c7344b233
[codex] add ao hooks activity command (#113)
* feat: add ao hooks activity command

* fix(activity): address review nits

- lcm: sameActivity ignores LastActivityAt so same-state repeats no-op
  and don't churn UpdatedAt / CDC events.
- cli/hooks: surface stdin read errors to stderr for parity with the
  daemon-error path; still exit 0 so a failed hook can't break the agent.
- claudecode: GetAgentHooks docstring covers Notification + SessionEnd
  (the slice already included them; only the comment was stale).

---------

Co-authored-by: harshitsinghbhandari <dev@theharshitsingh.com>
2026-06-06 20:29:00 +05:30
..
assets feat(agent): opencode adapter + activity plugin hooks (#80) 2026-06-03 17:06:32 +05:30
activity.go [codex] add ao hooks activity command (#113) 2026-06-06 20:29:00 +05:30
activity_test.go [codex] add ao hooks activity command (#113) 2026-06-06 20:29:00 +05:30
hooks.go feat(agent): opencode adapter + activity plugin hooks (#80) 2026-06-03 17:06:32 +05:30
opencode.go feat(agent): opencode adapter + activity plugin hooks (#80) 2026-06-03 17:06:32 +05:30
opencode_test.go feat(agent): opencode adapter + activity plugin hooks (#80) 2026-06-03 17:06:32 +05:30