Patch Changes
-
7716e18: Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated request while preserving existing authentication behavior and synchronous credential serialization.
The experimental OpenAI Live
getServerWebSocketConfig()method can now resolve asynchronously. Await its result before using the connection settings. -
5c247e9: feat(sandbox): add
stat,listDirectory, anddeleteFiletoExperimental_SandboxSession, and specify that relative paths in every method resolve against the directoryrunandspawnstart inThe just-bash and Vercel Sandbox adapters implement the new methods. Both now resolve a relative
workingDirectoryforrunandspawnagainst the sandbox's working directory, and the just-bash adapter rejects writes to a directory instead of replacing it with a file. -
Updated dependencies [dcd2f8d]
- @ai-sdk/provider@4.0.35