@ai-sdk/harness-acp 1.0.60 → 1.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @ai-sdk/harness-acp
2
2
 
3
+ ## 1.0.61
4
+
5
+ ### Patch Changes
6
+
7
+ - 9c8c0c1: feat (harness): keep harness-generated state out of the sandbox workspace. The framework and every bridge adapter now resolve their generated state — bootstrap recipes and their dependencies (`.harness-bootstrap/…`) and per-session run state (`.agent-runs/…`) — through the new `harnessV1StateDirectory()` helper, which always resolves to a fixed directory (`~/.ai-sdk-harness`) under the sandbox's own HOME, never the sandbox's working directory. This is not configurable: every sandbox provider gets the same layout, so harness infrastructure never lands in a user-owned workspace. This changes the on-disk layout for every provider (a breaking change, acceptable given the experimental nature of this API) — sandboxes bootstrapped under the previous layout re-bootstrap once under the new path.
8
+ - 771e74b: chore: enable dead code lint rules
9
+ - Updated dependencies [fe07867]
10
+ - Updated dependencies [a4b0940]
11
+ - Updated dependencies [9c8c0c1]
12
+ - Updated dependencies [771e74b]
13
+ - Updated dependencies [7115a3f]
14
+ - @ai-sdk/provider-utils@5.0.47
15
+ - @ai-sdk/harness@1.0.123
16
+
3
17
  ## 1.0.60
4
18
 
5
19
  ### Patch Changes
@@ -12,7 +12,7 @@ import {
12
12
  ListToolsRequestSchema,
13
13
  McpError
14
14
  } from "@modelcontextprotocol/sdk/types.js";
15
- var VERSION = true ? "1.0.60" : "0.0.0-test";
15
+ var VERSION = true ? "1.0.61" : "0.0.0-test";
16
16
  function createHostToolMCPServer({
17
17
  tools: tools2,
18
18
  revision = 1,
@@ -545,7 +545,6 @@ async function runBridge(options) {
545
545
  const data = await onStop?.() ?? {};
546
546
  sendControl(ws, { type: "bridge-stop", data });
547
547
  drainThenExit(ws, 1e3, "stop");
548
- return;
549
548
  }
550
549
  }
551
550
  };
@@ -1031,7 +1030,6 @@ function getErrorMessage({ error }) {
1031
1030
  if (typeof error === "string") {
1032
1031
  return error;
1033
1032
  }
1034
- return void 0;
1035
1033
  }
1036
1034
  function stripMetadata({ value }) {
1037
1035
  if (Array.isArray(value)) {
@@ -2148,7 +2146,6 @@ function findTokenInvocation({
2148
2146
  return invocation;
2149
2147
  }
2150
2148
  }
2151
- return void 0;
2152
2149
  }
2153
2150
  function removeInvocationForToolCall({
2154
2151
  invocations,
@@ -2416,7 +2413,7 @@ import {
2416
2413
  ListToolsRequestSchema,
2417
2414
  McpError
2418
2415
  } from "@modelcontextprotocol/sdk/types.js";
2419
- var VERSION = true ? "1.0.60" : "0.0.0-test";
2416
+ var VERSION = true ? "1.0.61" : "0.0.0-test";
2420
2417
  function createHostToolMCPServer({
2421
2418
  tools,
2422
2419
  revision = 1,