@ai-sdk/harness-pi 1.0.124 → 1.0.125

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.124",
3
+ "version": "1.0.125",
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.122",
30
- "@ai-sdk/provider-utils": "5.0.46",
29
+ "@ai-sdk/harness": "1.0.123",
30
+ "@ai-sdk/provider-utils": "5.0.47",
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.122",
40
+ "@ai-sdk/sandbox-just-bash": "1.0.123",
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
@@ -418,7 +418,6 @@ export async function registerPiProviders({
418
418
  clientApp,
419
419
  headers,
420
420
  });
421
- return;
422
421
  }
423
422
  }
424
423
  }
package/src/pi-events.ts CHANGED
@@ -105,8 +105,6 @@ export function getPiTerminalError(event: PiSessionEvent): string | undefined {
105
105
  ) {
106
106
  return event.content.trim();
107
107
  }
108
-
109
- return undefined;
110
108
  }
111
109
 
112
110
  /** Pull the assistant text from a `turn_end` / `message_end` event payload. */
@@ -102,8 +102,8 @@ export function createPiTranslatorState(
102
102
  stepOpen: false,
103
103
  hostToolResults: new Map(),
104
104
  dynamicToolCallIds: new Set(),
105
- builtinToolNames: new Set(options.builtinToolNames ?? []),
106
- hostToolNames: new Set(options.hostToolNames ?? []),
105
+ builtinToolNames: new Set(options.builtinToolNames),
106
+ hostToolNames: new Set(options.hostToolNames),
107
107
  nativeToCommonNameMap: map,
108
108
  };
109
109
  }