Minor Changes
- #1421
1b65ff5Thanks @threepointone! - Add agent tool orchestration for running Think and AIChatAgent sub-agents as
retained, streaming tools from a parent agent. The new surface includes
runAgentTool,agentTool, parent-side run replay and cleanup, Think and
AIChatAgent child adapter support, and headless React/client event state
helpers.
Patch Changes
-
#1418
8de0ce3Thanks @threepointone! - Allow sub-agents to use alarm-backed APIs by delegating the physical Durable Object alarm to the top-level parent while executing logical work inside the owning sub-agent. This enablesschedule(),scheduleEvery(),cancelSchedule(),getScheduleById(),listSchedules(),keepAlive(),keepAliveWhile(),runFiber(), and Think chat recovery inside sub-agents.Sub-agent schedules are scoped to the calling child, so sibling sub-agents cannot cancel each other's schedules by id. The deprecated synchronous
getSchedule()andgetSchedules()APIs now throw inside sub-agents; use the async alternatives instead. Destroying a sub-agent now delegates cleanup through the parent so parent-owned schedules and descendant fiber recovery leases are removed consistently. -
#1425
6471cbdThanks @threepointone! - Clear request, WebSocket, and email native context handles when switching Agent instances and suppress protocol broadcasts during sub-agent facet bootstrap.