Skip to content

feat: replay agent request openings - #33

Merged
lsaether merged 2 commits into
mainfrom
feat/issue-31-agent-request-opened-replay
May 24, 2026
Merged

lsaether merged 2 commits into
mainfrom
feat/issue-31-agent-request-opened-replay

Conversation

@lsaether

Copy link
Copy Markdown
Owner

Summary

  • add inert amux/agent_request_opened notifications for agent-initiated JSON-RPC requests
  • keep raw actionable agent requests live-only while replaying opened/resolved lifecycle context to late joiners
  • document the new amux event and update replay/client-contract guidance

Fixes #31.

Test plan

  • cargo fmt --check
  • cargo test
  • cargo clippy --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • git diff --check

@lsaether
lsaether merged commit baee0b2 into main May 24, 2026
1 check passed
@lsaether lsaether mentioned this pull request May 27, 2026
3 tasks
lsaether added a commit that referenced this pull request May 27, 2026
Cuts v0.1.3 — rooms + RFD #533 attach polish.

Highlights since v0.1.2:
- Rooms abstraction with compaction-aware transcripts (#58) and
  cross-segment turn-bookend carry in historyPolicy: full (#59).
  Closes #56.
- RFD #533-inspired session/attach + session/detach foundation (#46)
  with replay ordering (#47), streamed history delivery (#53), and
  ?replay=skip opt-out for attach-aware clients (#50).
- amux/* active-turn controls (steer #41, queue #41, cancel #30)
  plus replay-safe agent request lifecycle openings (#33).
- Safe-by-default client-tool blocking (fs/* + terminal/*) with
  --unsafe-debug-client-tool-broadcast escape hatch (#36).
- amux/session_context surfaces the mux/agent cwd to subscribers (#35).

Validation:
- cargo fmt --check
- cargo clippy --all-targets -- -D warnings
- cargo test (63 unit + 78 integration = 141 tests)

Co-authored-by: lsaether <25539605+lsaether@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replay agent-initiated request open events, not just resolutions

1 participant