Skip to content

feat(sdk): expose daemon client transcript surface - #35

Merged
7etsuo merged 25 commits into
mainfrom
fix/daemon-session-transcript-contract
Jun 29, 2026
Merged

feat(sdk): expose daemon client transcript surface#35
7etsuo merged 25 commits into
mainfrom
fix/daemon-session-transcript-contract

Conversation

@7etsuo

@7etsuo 7etsuo commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

  • publish the daemon JSON-RPC client surface in the SDK branch stack
  • add the session.transcript method, params/result types, and client wrapper
  • keep daemon method ordering aligned with agenc-core protocol contracts

Test plan

  • npm run typecheck
  • npm run api:baseline:check
  • agenc-core contract tests: npm --workspace=@tetsuo-ai/runtime run test -- tests/app-server/protocol.contract.test.ts tests/app-server/sdk-client.contract.test.ts tests/gaphunt3/mcp-client-resilient-client.test.ts

7etsuo added 25 commits May 1, 2026 04:51
Mirror the agenc-core protocol addition of session.cancelTurn so the
sibling SDK's daemon-method registry stays in parity with the runtime.
Without this the SDK drift checker
(agenc-core/scripts/check-sdk-daemon-methods.mjs) fails for any consumer
that depends on the SDK's typed daemon surface.

- AgenCDaemonMethod union: add "session.cancelTurn"
- SessionCancelTurnParams interface
- SessionCancelTurnResult interface
- AgenCDaemonParamsByMethod and AgenCDaemonResultByMethod entries

Note: drift checker still reports session.clear and daemon.reload as
missing — those are preexisting drift unrelated to this commit; they
predate this work and need a separate sync pass.
@7etsuo
7etsuo merged commit e228701 into main Jun 29, 2026
1 check passed
@7etsuo
7etsuo deleted the fix/daemon-session-transcript-contract branch June 29, 2026 10:38
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.

1 participant