feat(runtime): add Agent Document contracts - #140
Conversation
Establish the immutable v1 protocol vocabulary, bounded render-event sequence, and discriminated invocation props that the Flight dispatcher and later projectors can share without disturbing the synchronous lowerers.
🦋 Changeset detectedLatest commit: c7583b8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c7583b8e00
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
AgentDocumentnodes and the frozenAgent.*protocol vocabularyshell | progress | replace | error | completeevent sequencing with typed post-completion handoff failuresTest plan
pnpm exec rstest --config rstest.unit.config.ts packages/rsc-runtime/tests(40 passed)pnpm --filter @agent-bundle/runtime typecheckpnpm --filter @agent-bundle-example/audiobook-curator typecheckpnpm --filter @agent-bundle/rsc-agent-runtime-demo typecheckpnpm exec rslint packages/rsc-runtime/src packages/rsc-runtime/testsDelivers stage 1 of #96 under #107 revision 2.