@ai-sdk/harness-deepagents 1.0.121 → 1.0.123

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,26 @@
1
1
  # @ai-sdk/harness-deepagents
2
2
 
3
+ ## 1.0.123
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
+
17
+ ## 1.0.122
18
+
19
+ ### Patch Changes
20
+
21
+ - @ai-sdk/harness@1.0.122
22
+ - @ai-sdk/provider-utils@5.0.46
23
+
3
24
  ## 1.0.121
4
25
 
5
26
  ### Patch Changes
@@ -533,7 +533,6 @@ async function runBridge(options) {
533
533
  const data = await onStop?.() ?? {};
534
534
  sendControl(ws, { type: "bridge-stop", data });
535
535
  drainThenExit(ws, 1e3, "stop");
536
- return;
537
536
  }
538
537
  }
539
538
  };
@@ -1865,7 +1864,7 @@ function jsonSchemaToZodObject(input) {
1865
1864
  }
1866
1865
  function toZodShape(schema) {
1867
1866
  if (!schema.properties) return {};
1868
- const required = new Set(schema.required ?? []);
1867
+ const required = new Set(schema.required);
1869
1868
  const shape = {};
1870
1869
  for (const [key, propSchema] of Object.entries(schema.properties)) {
1871
1870
  const propType = toZodType(propSchema);
@@ -2338,7 +2337,7 @@ async function runTurn(start, turn) {
2338
2337
  hostToolNames,
2339
2338
  mcpToolNames,
2340
2339
  structuredOutputToolNames: new Set(
2341
- currentResponseFormat?.map((format) => format.name) ?? []
2340
+ currentResponseFormat?.map((format) => format.name)
2342
2341
  ),
2343
2342
  emit
2344
2343
  });