@oh-my-pi/pi-wire 15.12.2 → 15.12.4
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 +5 -0
- package/dist/types/index.d.ts +3 -2
- package/package.json +1 -1
- package/src/index.ts +3 -2
package/CHANGELOG.md
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -203,11 +203,11 @@ export interface WireModel {
|
|
|
203
203
|
id: string;
|
|
204
204
|
name: string;
|
|
205
205
|
provider: string;
|
|
206
|
-
contextWindow: number;
|
|
206
|
+
contextWindow: number | null;
|
|
207
207
|
}
|
|
208
208
|
export interface ContextUsage {
|
|
209
209
|
tokens: number | null;
|
|
210
|
-
contextWindow: number;
|
|
210
|
+
contextWindow: number | null;
|
|
211
211
|
percent: number | null;
|
|
212
212
|
}
|
|
213
213
|
export interface Participant {
|
|
@@ -227,6 +227,7 @@ export interface SessionState {
|
|
|
227
227
|
thinkingLevel?: string;
|
|
228
228
|
contextUsage?: ContextUsage;
|
|
229
229
|
participants: Participant[];
|
|
230
|
+
isAborting?: boolean;
|
|
230
231
|
}
|
|
231
232
|
export interface AgentSnapshot {
|
|
232
233
|
id: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -205,12 +205,12 @@ export interface WireModel {
|
|
|
205
205
|
id: string;
|
|
206
206
|
name: string;
|
|
207
207
|
provider: string;
|
|
208
|
-
contextWindow: number;
|
|
208
|
+
contextWindow: number | null;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
export interface ContextUsage {
|
|
212
212
|
tokens: number | null;
|
|
213
|
-
contextWindow: number;
|
|
213
|
+
contextWindow: number | null;
|
|
214
214
|
percent: number | null;
|
|
215
215
|
}
|
|
216
216
|
|
|
@@ -232,6 +232,7 @@ export interface SessionState {
|
|
|
232
232
|
thinkingLevel?: string;
|
|
233
233
|
contextUsage?: ContextUsage;
|
|
234
234
|
participants: Participant[];
|
|
235
|
+
isAborting?: boolean;
|
|
235
236
|
}
|
|
236
237
|
|
|
237
238
|
export interface AgentSnapshot {
|