@bom-pi/core 0.2.7 → 0.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bom-pi/core",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Core pairing machinery for Bom Pi: ceremonies, transports, durable stores",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -285,6 +285,19 @@ export const RELAY_OPERATION_POLICY: readonly RelayOperationPolicyEntry[] = [
285
285
  familyRow("app-data:settings-set", "catalog-admin", ["POST"]),
286
286
  familyRow("app-data:people-set-access", "catalog-admin", ["POST"]),
287
287
  familyRow("app-data:people-remove", "catalog-admin", ["POST"]),
288
+ // Owner parity batch (2026-11-16, the owner's word: the paired console is the whole console —
289
+ // not a viewer): the session-lifecycle and message-box writes a local console has. Create a
290
+ // session on the looked-at machine, configure it (model, thinking, cwd — the "move"), run
291
+ // and stop a shell task of its own, carry the typing signal, and manage the queued message
292
+ // (withdraw it, or move it between steer and follow-up). Effect rows the ADR kept for their
293
+ // own review stay out exactly as before; these are the local console's own everyday writes.
294
+ familyRow("app-data:session-create", "sessions-admin", ["POST"]),
295
+ familyRow("app-data:conversation-configure", "sessions-admin", ["POST"]),
296
+ familyRow("app-data:conversation-shell-start", "conversation-run", ["POST"]),
297
+ familyRow("app-data:conversation-shell-stop", "conversation-run", ["POST"]),
298
+ familyRow("app-data:conversation-typing-set", "conversation-run", ["POST"]),
299
+ familyRow("app-data:conversation-submission-withdraw", "conversation-run", ["POST"]),
300
+ familyRow("app-data:conversation-submission-move", "conversation-run", ["POST"]),
288
301
  ];
289
302
 
290
303
  /** Machine-readable, bounded policy denials (SEC-14 typed verdicts). None of these names
@@ -412,7 +425,14 @@ export type RelaySurfaceName =
412
425
  | "session-update"
413
426
  | "settings-set"
414
427
  | "people-set-access"
415
- | "people-remove";
428
+ | "people-remove"
429
+ | "session-create"
430
+ | "conversation-configure"
431
+ | "conversation-shell-start"
432
+ | "conversation-shell-stop"
433
+ | "conversation-typing-set"
434
+ | "conversation-submission-withdraw"
435
+ | "conversation-submission-move";
416
436
 
417
437
  /** The frozen M4 v1 admitted surface (the canned pilot lane's set): exactly the two
418
438
  * read-only session operations. Byte-identical default for every existing consumer. */
@@ -580,6 +600,41 @@ export const RELAY_REMOTE_SURFACE_V2: readonly {
580
600
  surface: "people-set-access",
581
601
  },
582
602
  { audience: "app-data:people-remove", method: "POST", surface: "people-remove" },
603
+ // Owner parity batch (2026-11-16): the local console's own session-lifecycle and message-box
604
+ // writes, so a paired console is the whole console. Exact pairs like every row; the bodies
605
+ // ride the same sealed lane and its single-frame bound; the answers carry no money
606
+ // (session-create answers the new session's id, the rest {ok}).
607
+ { audience: "app-data:session-create", method: "POST", surface: "session-create" },
608
+ {
609
+ audience: "app-data:conversation-configure",
610
+ method: "POST",
611
+ surface: "conversation-configure",
612
+ },
613
+ {
614
+ audience: "app-data:conversation-shell-start",
615
+ method: "POST",
616
+ surface: "conversation-shell-start",
617
+ },
618
+ {
619
+ audience: "app-data:conversation-shell-stop",
620
+ method: "POST",
621
+ surface: "conversation-shell-stop",
622
+ },
623
+ {
624
+ audience: "app-data:conversation-typing-set",
625
+ method: "POST",
626
+ surface: "conversation-typing-set",
627
+ },
628
+ {
629
+ audience: "app-data:conversation-submission-withdraw",
630
+ method: "POST",
631
+ surface: "conversation-submission-withdraw",
632
+ },
633
+ {
634
+ audience: "app-data:conversation-submission-move",
635
+ method: "POST",
636
+ surface: "conversation-submission-move",
637
+ },
583
638
  ];
584
639
 
585
640
  /** One admitted surface row as the classification maps carry it: the family's own name and