@kangentic/protocol 0.14.0 → 0.15.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.
@@ -8,8 +8,17 @@
8
8
  * the desktop's capability router (Phase 2) still has to implement and
9
9
  * wire a handler, and a device's roster entry still has to include it in
10
10
  * its CapabilitySet.
11
+ *
12
+ * Append only. The desktop mirrors this tuple by hand in its import-free
13
+ * types module and pins the two equal INDEX for index, so a verb inserted
14
+ * mid-list fails that parity test even when both lists hold the same names.
15
+ *
16
+ * `start-session` is the second lifecycle verb beside `move-task`: it spawns
17
+ * or resumes a task's session in the column the task is already in, so a
18
+ * phone's "Session ended" state can bring the agent back without moving the
19
+ * task. A live session is an idempotent no-op; nothing is ever stopped.
11
20
  */
12
- export declare const CAPABILITY_VERBS: readonly ["read-stream", "read-board", "read-diff", "send-user-message", "move-task", "answer-permission-prompt", "interactive-terminal", "board-tool-read", "board-tool-write", "register-push"];
21
+ export declare const CAPABILITY_VERBS: readonly ["read-stream", "read-board", "read-diff", "send-user-message", "move-task", "answer-permission-prompt", "interactive-terminal", "board-tool-read", "board-tool-write", "register-push", "start-session"];
13
22
  export type CapabilityVerb = (typeof CAPABILITY_VERBS)[number];
14
23
  export declare function isCapabilityVerb(value: string): value is CapabilityVerb;
15
24
  /** Deny-by-default: a verb absent from the set is not authorized. */
@@ -69,7 +69,10 @@ export type ActivityEventPayload = {
69
69
  * `spawnProgressLabel`, when present, means the desktop had a respawn in
70
70
  * flight for this task when the session ended - a same-column respawn
71
71
  * (model switch, agent switch, effort change, isolated-session-track
72
- * switch) rather than a genuine park. Read it as what the desktop
72
+ * switch) or an in-place restart (a model or effort pick on the running
73
+ * task, a board-profile change, or the auto_command escalation that
74
+ * re-sends a command as the resume prompt, "Re-sending command...") rather
75
+ * than a genuine park. Read it as what the desktop
73
76
  * believed, not as a fact about what happens next; the caveats below
74
77
  * bound it. `intentional` cannot carry this distinction on its own:
75
78
  * the desktop's SessionManager.suspend() sets `status = 'suspended'`