@ai-sdk/harness-deepagents 1.0.124 → 1.0.126

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,24 @@
1
1
  # @ai-sdk/harness-deepagents
2
2
 
3
+ ## 1.0.126
4
+
5
+ ### Patch Changes
6
+
7
+ - af9597b: Compile packages for ES2022 runtime target
8
+ - Updated dependencies [af9597b]
9
+ - Updated dependencies [31742b9]
10
+ - Updated dependencies [bc49f78]
11
+ - @ai-sdk/harness@1.0.126
12
+ - @ai-sdk/provider-utils@5.0.49
13
+
14
+ ## 1.0.125
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [be877ff]
19
+ - @ai-sdk/provider-utils@5.0.48
20
+ - @ai-sdk/harness@1.0.125
21
+
3
22
  ## 1.0.124
4
23
 
5
24
  ### Patch Changes
package/README.md CHANGED
@@ -32,11 +32,25 @@ bootstrap directory via `pnpm` at startup.
32
32
  ```ts
33
33
  import { HarnessAgent } from '@ai-sdk/harness/agent';
34
34
  import { deepAgents } from '@ai-sdk/harness-deepagents';
35
+ import { createVercelNetworkSandboxSession } from '@ai-sdk/sandbox-vercel';
35
36
 
36
37
  const agent = new HarnessAgent({
37
38
  harness: deepAgents,
38
- // ...sandbox provider configuration
39
39
  });
40
+ const sandboxSession = await createVercelNetworkSandboxSession({
41
+ runtime: 'node24',
42
+ ports: [4000],
43
+ template: await agent.getSandboxTemplate(),
44
+ });
45
+ const session = await agent.createSession({ sandboxSession });
46
+ try {
47
+ console.log(
48
+ (await agent.generate({ session, prompt: 'Inspect this project.' })).text,
49
+ );
50
+ } finally {
51
+ await session.destroy();
52
+ await sandboxSession.destroy();
53
+ }
40
54
  ```
41
55
 
42
56
  ## Auth
package/dist/index.js CHANGED
@@ -231,7 +231,7 @@ var inboundMessageSchema = z.discriminatedUnion("type", [
231
231
  ]);
232
232
 
233
233
  // src/version.ts
234
- var VERSION = true ? "1.0.124" : "0.0.0-test";
234
+ var VERSION = true ? "1.0.126" : "0.0.0-test";
235
235
 
236
236
  // src/deepagents-harness.ts
237
237
  var DEEPAGENTS_CLIENT_APP = `ai-sdk/harness-deepagents/${VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/harness-deepagents",
3
- "version": "1.0.124",
3
+ "version": "1.0.126",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -26,8 +26,8 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@ai-sdk/harness": "1.0.124",
30
- "@ai-sdk/provider-utils": "5.0.47",
29
+ "@ai-sdk/harness": "1.0.126",
30
+ "@ai-sdk/provider-utils": "5.0.49",
31
31
  "ws": "8.21.0"
32
32
  },
33
33
  "peerDependencies": {