@oh-my-pi/pi-agent-core 12.16.0 → 12.17.0
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 +4 -4
- package/src/types.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-agent-core",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.17.0",
|
|
4
4
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"test": "bun test"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@oh-my-pi/pi-ai": "12.
|
|
28
|
-
"@oh-my-pi/pi-tui": "12.
|
|
29
|
-
"@oh-my-pi/pi-utils": "12.
|
|
27
|
+
"@oh-my-pi/pi-ai": "12.17.0",
|
|
28
|
+
"@oh-my-pi/pi-tui": "12.17.0",
|
|
29
|
+
"@oh-my-pi/pi-utils": "12.17.0"
|
|
30
30
|
},
|
|
31
31
|
"keywords": [
|
|
32
32
|
"ai",
|
package/src/types.ts
CHANGED
|
@@ -237,7 +237,7 @@ export interface AgentTool<TParameters extends TSchema = TSchema, TDetails = any
|
|
|
237
237
|
execute: AgentToolExecFn<TParameters, TDetails, TTheme>;
|
|
238
238
|
|
|
239
239
|
/** Optional custom rendering for tool call display (returns UI component) */
|
|
240
|
-
renderCall?: (args: Static<TParameters>, theme: TTheme) => unknown;
|
|
240
|
+
renderCall?: (args: Static<TParameters>, options: RenderResultOptions, theme: TTheme) => unknown;
|
|
241
241
|
|
|
242
242
|
/** Optional custom rendering for tool result display (returns UI component) */
|
|
243
243
|
renderResult?: (
|