docs(mastra): add interrupt-based HITL docs for suspend/resume support#3634
docs(mastra): add interrupt-based HITL docs for suspend/resume support#3634
Conversation
Restructures Mastra HITL from a single page into a subfolder with two approaches: interrupt-based (new, using useInterrupt + Mastra's native tool suspension) and tool-based (existing useHumanInTheLoop content). Companion docs for ag-ui-protocol/ag-ui#1359 and #3505. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
@copilotkit/a2ui-renderer
@copilotkitnext/angular
copilotkit
@copilotkit/core
@copilotkit/react-core
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/web-inspector
commit: |
jpr5
left a comment
There was a problem hiding this comment.
Docs-only PR, clean content. Restructures Mastra HITL docs from single page into interrupt-flow + tool-based approaches.
- Code examples are accurate (useInterrupt, suspend/resume, enabled routing, handler preprocessing)
- Removed stale "suspend/resume not supported" warning
- Navigation structure is logical
- Cross-links between approaches are correct
LGTM.
🤖 Reviewed with Claude Code
Summary
suspend()/resume→useInterruptflow (basic + advanced usage withenabledrouting andhandlerpreprocessing)meta.jsonto add a "Mastra" nav section with the HITL pagesCompanion docs for ag-ui-protocol/ag-ui#1359 and #3505.
Test plan
nx run docs:build)/human-in-the-loop) still links to Mastra via IntegrationGrid🤖 Generated with Claude Code