@ai-sdk/harness-grok-build 1.0.61 → 1.0.64

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,34 @@
1
1
  # @ai-sdk/harness-grok-build
2
2
 
3
+ ## 1.0.64
4
+
5
+ ### Patch Changes
6
+
7
+ - @ai-sdk/harness@1.0.127
8
+ - @ai-sdk/harness-acp@1.0.65
9
+
10
+ ## 1.0.63
11
+
12
+ ### Patch Changes
13
+
14
+ - af9597b: Compile packages for ES2022 runtime target
15
+ - Updated dependencies [af9597b]
16
+ - Updated dependencies [31742b9]
17
+ - Updated dependencies [be13602]
18
+ - Updated dependencies [bc49f78]
19
+ - @ai-sdk/harness@1.0.126
20
+ - @ai-sdk/harness-acp@1.0.64
21
+ - @ai-sdk/provider-utils@5.0.49
22
+
23
+ ## 1.0.62
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [be877ff]
28
+ - @ai-sdk/provider-utils@5.0.48
29
+ - @ai-sdk/harness@1.0.125
30
+ - @ai-sdk/harness-acp@1.0.63
31
+
3
32
  ## 1.0.61
4
33
 
5
34
  ### Patch Changes
package/README.md CHANGED
@@ -13,17 +13,18 @@ npm install @ai-sdk/harness @ai-sdk/harness-grok-build @ai-sdk/sandbox-vercel
13
13
  ```ts
14
14
  import { HarnessAgent } from '@ai-sdk/harness/agent';
15
15
  import { grokBuild } from '@ai-sdk/harness-grok-build';
16
- import { createVercelSandbox } from '@ai-sdk/sandbox-vercel';
16
+ import { createVercelNetworkSandboxSession } from '@ai-sdk/sandbox-vercel';
17
17
 
18
18
  const agent = new HarnessAgent({
19
19
  harness: grokBuild,
20
- sandbox: createVercelSandbox({
21
- runtime: 'node24',
22
- ports: [4000],
23
- }),
24
20
  });
25
21
 
26
- const session = await agent.createSession();
22
+ const sandboxSession = await createVercelNetworkSandboxSession({
23
+ runtime: 'node24',
24
+ ports: [4000],
25
+ template: await agent.getSandboxTemplate(),
26
+ });
27
+ const session = await agent.createSession({ sandboxSession });
27
28
 
28
29
  try {
29
30
  const result = await agent.generate({
@@ -33,6 +34,7 @@ try {
33
34
  console.log(result.text);
34
35
  } finally {
35
36
  await session.destroy();
37
+ await sandboxSession.destroy();
36
38
  }
37
39
  ```
38
40
 
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import { tool } from "@ai-sdk/provider-utils";
11
11
  import { z as z2 } from "zod/v4";
12
12
 
13
13
  // src/version.ts
14
- var VERSION = true ? "1.0.61" : "0.0.0-test";
14
+ var VERSION = true ? "1.0.64" : "0.0.0-test";
15
15
 
16
16
  // src/grok-build-subscription.ts
17
17
  import { chmod, readFile, rename, writeFile } from "fs/promises";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/harness-grok-build",
3
- "version": "1.0.61",
3
+ "version": "1.0.64",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -26,9 +26,9 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@ai-sdk/harness": "1.0.124",
30
- "@ai-sdk/harness-acp": "1.0.62",
31
- "@ai-sdk/provider-utils": "5.0.47"
29
+ "@ai-sdk/harness": "1.0.127",
30
+ "@ai-sdk/harness-acp": "1.0.65",
31
+ "@ai-sdk/provider-utils": "5.0.49"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "zod": "^3.25.76 || ^4.1.8"