github vercel/ai @ai-sdk/harness@1.0.172

latest releases: @ai-sdk/zai@3.0.45, @ai-sdk/xai@5.0.37, @ai-sdk/workflow-harness@1.0.172...
one hour ago

Patch Changes

  • 8a20b57: feat(harness): defer sandbox setup, and optionally sandbox creation, to first use for harnesses without a bootstrap recipe

    For a harness adapter that declares no sandbox bootstrap recipe (such as Pi), HarnessAgent.createSession() no longer runs the session's sandbox setup (onBootstrap when its marker is missing, the session work directory, and onSession) before the adapter starts. The setup runs on the first file, exec or spawn operation on the sandbox, and a failed setup is retried on the next one. Adapters with a recipe, such as Claude Code and Codex, keep setting up the sandbox in createSession().

    sandboxSession also accepts a HarnessAgentSandboxCreator, { defaultWorkingDirectory, createSandboxSession }, to defer creating the sandbox itself. For an adapter without a recipe, createSandboxSession runs on the first file, exec or spawn operation, so a session whose turns never touch the sandbox never creates it. For any other adapter, createSession() calls it right away.

  • Updated dependencies [51ca5b7]

  • Updated dependencies [51ca5b7]

  • Updated dependencies [51ca5b7]

  • Updated dependencies [51ca5b7]

  • Updated dependencies [dc6f1c3]

  • Updated dependencies [4ae6986]

    • ai@7.0.161
    • @ai-sdk/provider-utils@5.0.73

Don't miss a new ai release

NewReleases is sending notifications on new releases.