@ai-sdk/harness-opencode
An AI coding agent runtime/harness package in the Vercel AI SDK ecosystem, responsible for executing agent operations under restricted permission modes.
Timeline (last 90 days)
harness-related packages follow a high-frequency, small-step patch release cadence, which usually means the core interfaces are relatively stable and the release pipeline is highly automated.
This patch fences the AGENTS.md symbolic link within the repository to the scope of the repository, which is an application of the realpath/root directory validation approach in the AI coding agent scenario.
Users who enable restrictive permission mode in their pipelines or agent runtime are advised to upgrade to version 1.0.196 or above.
After upgrading, AGENTS.md symbolic links pointing outside the repository may no longer be allowed, because the semantics of the fix are "constrained within the repository scope."
@ai-sdk/harness-opencode released patch version 1.0.196.
The core change of the 1.0.196 patch is: under restrictive permission mode, bringing the AGENTS.md symbolic link within the repository under control (commit 12b1539).
This symbolic link risk is exposed only when both conditions are met simultaneously: "restrictive permission mode" and "an AGENTS.md symbolic link exists within the repository."
Projects using @ai-sdk/harness-opencode and interacting with sandbox environments via bridge adapters are advised to migrate early to the new resolveSandboxCredentialEnvironment helper.
For security-sensitive logic such as credential environments, it is recommended to validate in a test environment before deploying to production.
The core change in this update is the introduction of the helper function resolveSandboxCredentialEnvironment() to replace createSandboxCredentialEnvironment(), with unified usage across all bridge-based adapters.
All Facts (10)
harness-related packages follow a high-frequency, small-step patch release cadence, which usually means the core interfaces are relatively stable and the release pipeline is highly automated.
50%UnverifiedThis symbolic link risk is exposed only when both conditions are met simultaneously: "restrictive permission mode" and "an AGENTS.md symbolic link exists within the repository."
50%UnverifiedThis patch fences the AGENTS.md symbolic link within the repository to the scope of the repository, which is an application of the realpath/root directory validation approach in the AI coding agent scenario.
50%UnverifiedUsers who enable restrictive permission mode in their pipelines or agent runtime are advised to upgrade to version 1.0.196 or above.
50%UnverifiedAfter upgrading, AGENTS.md symbolic links pointing outside the repository may no longer be allowed, because the semantics of the fix are "constrained within the repository scope."
50%UnverifiedThe core change of the 1.0.196 patch is: under restrictive permission mode, bringing the AGENTS.md symbolic link within the repository under control (commit 12b1539).
50%UnverifiedProjects using @ai-sdk/harness-opencode and interacting with sandbox environments via bridge adapters are advised to migrate early to the new resolveSandboxCredentialEnvironment helper.
50%UnverifiedFor security-sensitive logic such as credential environments, it is recommended to validate in a test environment before deploying to production.
50%UnverifiedThe core change in this update is the introduction of the helper function resolveSandboxCredentialEnvironment() to replace createSandboxCredentialEnvironment(), with unified usage across all bridge-based adapters.
50%Unverified@ai-sdk/harness-opencode released patch version 1.0.196.
50%