@oh-my-pi/pi-wire 16.0.10 → 16.0.11

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.
@@ -358,6 +358,8 @@ export type HostFrame = {
358
358
  export type WireFrame = GuestFrame | HostFrame;
359
359
  /** Wire protocol version carried in `hello`; the host rejects mismatches. */
360
360
  export declare const COLLAB_PROTO = 1;
361
+ /** Parameter key used for intent tracing (e.g. prompt explanation/reasoning) */
362
+ export declare const INTENT_FIELD = "_i";
361
363
  /** Plaintext envelope prefix: `[4B uint32 BE peerId][sealed payload]`. */
362
364
  export declare const ENVELOPE_HEADER_LENGTH = 4;
363
365
  export declare const ROOM_ID_BYTES = 16;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-wire",
4
- "version": "16.0.10",
4
+ "version": "16.0.11",
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
@@ -345,6 +345,9 @@ export type WireFrame = GuestFrame | HostFrame;
345
345
  /** Wire protocol version carried in `hello`; the host rejects mismatches. */
346
346
  export const COLLAB_PROTO = 1;
347
347
 
348
+ /** Parameter key used for intent tracing (e.g. prompt explanation/reasoning) */
349
+ export const INTENT_FIELD = "_i";
350
+
348
351
  // ═══════════════════════════════════════════════════════════════════════════
349
352
  // Envelope & link constants
350
353
  // ═══════════════════════════════════════════════════════════════════════════