Full Changelog: 0.7.0...0.8.0
This release adds support for Vercel AI SDK v7: the ai peer range widens to ^6 || ^7, and v6 keeps working. It also adds a Temporal integration, via a Temporal plugin, that enables you to easily publish and subscribe to a durable session, without hand-writing the run lifecycle: opening a run, suspending it for client input, ending it, and cleaning up when a turn fails. The release also includes a number of other improvements; see the full details below.
New Features
- Vercel AI SDK v7 support. The
aipeer dependency range widens to^6 || ^7.ChatTransport, the codec's public types, and the wire format are unchanged across the two majors, so v6 keeps working. #298 - Temporal plugin.
createAblyTransportPlugin()from@ably/ai-transport/temporalis a Temporal plugin that registers the run-framing activities (openRun,endRun,suspendRun,cleanupRun) on a worker. The new@ably/ai-transport/temporal/workflowentry point proxies them aswithRun(invocation, body). See the guide. #297 withAgentSession(options, body)scaffolds one unit of durable work: it creates an agent session for an invocation, connects, runsbody, and detaches on both success and failure - so a run the body leaves open stays adoptable by the next attempt.@ably/ai-transport/vercelexports a codec-pre-bound wrapper. #297pageUntilLocated(run, options)pages channel history backwards only until a freshly opened run's trigger event folds in, rather than draining the conversation, so opening a turn costs about one history page whatever the conversation's length. #297