@ai-sdk/harness-pi 1.0.132 → 1.0.134

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/harness-pi",
3
- "version": "1.0.132",
3
+ "version": "1.0.134",
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.130",
30
- "@ai-sdk/provider-utils": "5.0.50",
29
+ "@ai-sdk/harness": "1.0.132",
30
+ "@ai-sdk/provider-utils": "5.0.51",
31
31
  "@earendil-works/pi-ai": "0.74.2",
32
32
  "@earendil-works/pi-coding-agent": "^0.85.1",
33
33
  "pi-mcp-adapter": "2.12.1",
@@ -37,7 +37,7 @@
37
37
  "zod": "^3.25.76 || ^4.1.8"
38
38
  },
39
39
  "devDependencies": {
40
- "@ai-sdk/sandbox-just-bash": "1.0.130",
40
+ "@ai-sdk/sandbox-just-bash": "1.0.132",
41
41
  "@types/node": "22.19.19",
42
42
  "@vercel/ai-tsconfig": "0.0.0",
43
43
  "tsup": "^8.5.1",
package/src/pi-auth.ts CHANGED
@@ -43,7 +43,7 @@ export type PiAuthenticationMode = HarnessV1Authentication<
43
43
  const DEFAULT_GATEWAY_BASE_URL = 'https://ai-gateway.vercel.sh';
44
44
  const DEFAULT_OPENAI_BASE_URL = 'https://api.openai.com/v1';
45
45
  const DEFAULT_ANTHROPIC_BASE_URL = 'https://api.anthropic.com';
46
- const HARNESS_CLIENT_APP = `ai-sdk/harness-pi/${VERSION}`;
46
+ const HARNESS_CLIENT_APP = `ai-sdk-harness-pi/${VERSION}`;
47
47
 
48
48
  function createIsolatedPiCredentialStore(): {
49
49
  credentials: PiCredentialStore;
package/src/pi-harness.ts CHANGED
@@ -17,7 +17,7 @@ import { VERSION } from './version';
17
17
  /**
18
18
  * Value to use in User-Agent and `x-client-app` headers.
19
19
  */
20
- const PI_CLIENT_APP = `ai-sdk/harness-pi/${VERSION}`;
20
+ const PI_CLIENT_APP = `ai-sdk-harness-pi/${VERSION}`;
21
21
 
22
22
  /**
23
23
  * Configuration knobs for `createPi`. Pi runs as an in-process Node library