feat: batch TS updates including hooks updates, retries, multi-agent interrupts, timeouts on graphs, and small papercuts#837
Closed
notowen333 wants to merge 1 commit into
Conversation
…interrupts, timeouts on graphs, and small papercuts
a30c09a to
8655ccc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Batch documentation update covering recent TypeScript SDK changes:
BeforeNodeCallEventinterrupts inSwarmandGraph;InterruptEventrow + lifecycle node in hooks page.selectedTool,toolUserewrite), Result Modification (mutableresult), and three Invocation resume scenarios (summarize-after-tools, iterative refinement, auto-approve interrupts).Backoff Strategiessubsection. Custom-subclass example usesDefaultModelRetryStrategy.isRetryableoverride.timeoutandnodeTimeoutconstructor params onGraphandSwarm; per-nodetimeoutonAgentNode; new "TypeScript Request Timeout" subsection in Amazon Bedrock page documenting the 120s default and override mechanism.^[a-zA-Z0-9_-]+$1–64 char constraint andINVALID_TOOL_NAMEplaceholder behavior in custom-tools page.interrupts_imports.tsextracted so TS imports render in the docs.All TS API surface verified against the corresponding SDK source commits.
Test plan
npm run format:checkpassesnpm run typecheck:snippetsshows zero errors in touched files (env requiresnpm run sdk:cloneand SDK build first)npm run dev:/docs/user-guide/concepts/interrupts//docs/user-guide/concepts/agents/hooks//docs/user-guide/concepts/agents/conversation-management//docs/user-guide/concepts/agents/retry-strategies//docs/user-guide/concepts/tools/custom-tools//docs/user-guide/concepts/multi-agent/graph//docs/user-guide/concepts/multi-agent/swarm//docs/user-guide/concepts/model-providers/amazon-bedrock/