Repository navigation
@cloudflare/think@0.25.0
·
11 commits
to main
since this release
Minor Changes
-
#3184
ab6072eThanks @mattzcarey! - Think. See Upgrading Think from 0.24.getScheduledTasksScope()is removed: a sub-agent arms its own declared tasks; stored scheduled tasks migrate at the first start.this.contextis the newContext: change aContextBlocksannotation toContext.- Messenger replies:
messengerReplySnapshot,MESSENGER_REPLY_FIBER_NAME,DeliveryTagand related exports are removed. @cloudflare/think/extensionsno longer exportscreateBridgeProvider,ExtensionContextBridgeorExtensionWritableBridge.- An agent last started before 0.20.0 must start once on 0.20.0 to 0.24.0 first, or its undelivered workflow notifications are lost.
- New: a tool marked
recovery: "rerun"runs again when a restart cut its call off. - New:
ctx.messenger.authoris set inbeforeTurn,beforeToolCallgetsstepNumber, andStepConfigis typed with every field. - A reply continued after a client tool result, an approval or a durable pause is stored as one assistant message (was two).
- A turn cut off by a restart or an upgrade keeps its request id, continues the reply and ends once.
- A model response cut off with no finish signal is recovered, not completed, with a client that reports the cut.
- A durable pause waiting longer than
actionPendingApprovalTtlMs(30 days) is dropped at start. - A
Thinktrace has fewer setup spans, andprepare_agentis besidechat_turn.
-
#3988
17862acThanks @mattzcarey! - Upgradeagents,@cloudflare/ai-chatand@cloudflare/thinktogether. See Upgrading from ai-chat 0.12 and Upgrading Think from 0.24.@cloudflare/ai-chatand@cloudflare/thinkneedagents0.35.0 or later;agents/chatis internal and exports less.- An agent from the previous release migrates its storage in place at its first start; rolling back afterwards is not supported.