@oh-my-pi/pi-wire 15.12.3 → 15.13.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/CHANGELOG.md CHANGED
@@ -2,16 +2,20 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## [15.12.0] - 2026-06-12
6
5
  ### Added
7
6
 
8
7
  - Added `readOnly` flags to participant and session payload types to indicate when a guest is connected via a read-only (view) link
9
8
  - Added `writeToken` to `GuestFrame` hello payloads and parsed collaboration links so full-access links can carry and expose a write-capability token
10
9
  - Added `ROOM_KEY_BYTES` and `WRITE_TOKEN_BYTES` constants for room key and write-token sizing in the wire protocol
11
10
  - Added `DEFAULT_SHARE_URL` (`https://my.omp.sh/s`), the default share viewer/upload base for `/share` links
11
+ - Added shared collab live-session wire contracts for the host CLI and browser guest client.
12
12
 
13
- ## [15.11.8] - 2026-06-12
13
+ ### Changed
14
14
 
15
- ### Added
15
+ - Changed `WireModel.contextWindow` and `ContextUsage.contextWindow` to `number | null` to allow representing unavailable context-window values
16
+
17
+ ## [15.12.4] - 2026-06-13
16
18
 
17
- - Added shared collab live-session wire contracts for the host CLI and browser guest client.
19
+ ## [15.12.0] - 2026-06-12
20
+
21
+ ## [15.11.8] - 2026-06-12
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-wire",
4
- "version": "15.12.3",
4
+ "version": "15.13.0",
5
5
  "description": "Shared wire protocol types for Oh My Pi packages",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
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 {