@oh-my-pi/pi-wire 16.0.9 → 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.
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -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
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
|
// ═══════════════════════════════════════════════════════════════════════════
|