@oh-my-pi/pi-wire 18.4.3 → 18.4.5
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 +6 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/tsp.d.ts +979 -0
- package/package.json +1 -1
- package/src/index.ts +6 -1
- package/src/tsp.ts +890 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -261,8 +261,12 @@ export interface AgentProgress {
|
|
|
261
261
|
lastIntent?: string;
|
|
262
262
|
currentTool?: string;
|
|
263
263
|
currentToolArgs?: string;
|
|
264
|
+
/** Argument key selected for the display preview, when known. */
|
|
265
|
+
currentToolArgsKey?: string;
|
|
266
|
+
/** Intent the model attached to the current call; undefined when that call carried none. */
|
|
267
|
+
currentToolIntent?: string;
|
|
264
268
|
currentToolStartMs?: number;
|
|
265
|
-
recentTools: { tool: string; args: string; endMs: number }[];
|
|
269
|
+
recentTools: { tool: string; args: string; argsKey?: string; intent?: string; isError?: boolean; endMs: number }[];
|
|
266
270
|
recentOutput: string[];
|
|
267
271
|
toolCount: number;
|
|
268
272
|
requests: number;
|
|
@@ -444,3 +448,4 @@ export type RelayControlToGuest = { t: "room-closed" };
|
|
|
444
448
|
export type RelayControlMessage = RelayControlToHost | RelayControlToGuest;
|
|
445
449
|
|
|
446
450
|
export * from "./stream";
|
|
451
|
+
export * from "./tsp";
|