- Add graphtool package with InvokableGraphTool and StreamableGraphTool
- Support compose.Graph, compose.Chain, and compose.Workflow via Compilable interface
- Full interrupt/resume support with checkpoint persistence
- Add 4 examples demonstrating different use cases:
- 1_chain_summarize: Document summarization with compose.Chain
- 2_graph_research: Multi-source research with compose.Graph + streaming
- 3_workflow_order: Order processing with compose.Workflow + approval
- 4_nested_interrupt: Nested interrupts (outer approval + inner risk check)
- Update InvokableApprovableTool to support nested interrupts
- Add comprehensive README documentation for package and examples
Change-Id: Ia7cceebb9e25baf6ca4db25b36eddc74eec273cb
- Add getRateLimitDelay() function to read delay from environment
- When RATE_LIMIT_DELAY_MS is not set or 0, use original model without wrapper
- Remove debug print statements from rateLimitedModel
Change-Id: I491d061b90530a84976e26952c7245f821553d1c
Add four new examples demonstrating interrupt/resume functionality with
prebuilt multi-agent patterns:
- 5_supervisor: Supervisor pattern with approval for fund transfers
- 6_plan-execute-replan: Plan-Execute-Replan with review-edit for bookings
- 7_deep-agents: Deep agents with follow-up for clarification questions
- 8_supervisor-plan-execute: Nested architecture with Plan-Execute-Replan
as sub-agent under Supervisor, demonstrating deep interrupt propagation
Each example includes:
- Semantically meaningful scenarios (financial advisor, travel booking,
data analysis, project management)
- Rate-limited model wrapper for test environments
- English and Chinese README documentation
Also includes:
- Fix errorremover middleware to propagate interrupt errors correctly
- Add .trae to .gitignore
Change-Id: I1a7e21936bf7015d2d2c08c4b9e78cdd7c07da8b