Repository navigation
feat(cli): ops commands plus wait/tail/login - #5
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Next included review available in 41 minutes. View limit details
Note Summarized by CodeRabbit Free
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MaU9o1s775q1DoiNSPtC4b
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MaU9o1s775q1DoiNSPtC4b
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MaU9o1s775q1DoiNSPtC4b
54a722f to
89be005
Compare
Summary
hook-harnessCLI (packages/cli):deploy,update,teardown,status,token create|list|revokeagainst the relay CloudFormation stack (AWS SDK v3, SDK waiters, dependency-free zip writer, 0600 state file).waitandtailare the primary consumer interface (a long-running agent runshook-harness waitas a background command).waitprints one JSON object and always exits 0 (match, gap, ortimedOut);loginstores the relay URL and token.cursor(base64url JSON{v,sk,seen}); pass it back as--after. Precedence:--after>--cursorstate file >--since> now.deploy/updatetake--payload-dropand--payload-max-bytes(keep previous values on update unless passed).wait/tailinclude payloads by default;--no-payloadsendspayload=0.payload/payloadOmittedpass through untouched; help warns payload text is untrusted.--ownerplus repeatable--reposent as onerepos=a/b,a/cparam.EventSourceinterface (watch/types.ts) so a future localservecan replace the relay poller.bin.tsdispatches via a command table; the runner addsrun/servicethroughmain(argv, ctx, extra).Relay contract
packages/relay/template.yamland assert every deploy flag maps to a real template parameter and the three outputs exist. A test asserts the localsha256Hexequals relaytokenHash. Smoke check isGET events?owner=xexpecting 401.afteris the relay cursor or a bare epoch-ms string. The bundle is still a fixture in tests (distis built bypnpm build).Test plan
pnpm checkpasses (165 tests, 100% coverage). Nothing was run against real AWS.🤖 Generated with Claude Code
https://claude.ai/code/session_01MaU9o1s775q1DoiNSPtC4b