@peer-agent/protocol 0.1.0-rc.14 → 0.1.0-rc.15

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,10 +8,22 @@ export interface ProjectWorkRecovery {
8
8
  readonly retryAt?: string;
9
9
  readonly reservationId?: string;
10
10
  readonly deadlineAt?: string;
11
+ readonly dispatchesReconciled?: boolean;
11
12
  readonly blockedCode?: 'RECOVERY_CHECKPOINT_UNAVAILABLE';
12
13
  }
13
14
  export type ProjectWorkState = 'runnable' | 'waiting_children' | 'waiting_user' | 'retry_wait' | 'paused' | 'budget_limited' | 'blocked_system' | 'delivered' | 'cancelled';
14
15
  export type ProjectTurnEnd = 'reply_committed' | 'awaiting_children' | 'yielded' | 'awaiting_user' | 'budget_limited' | 'provider_retryable' | 'no_progress' | 'user_stopped' | 'fatal';
16
+ /** Host reconciliation closes an interrupted review, never supplies its verdict. */
17
+ export interface VerificationDispatchReconciliation {
18
+ readonly attemptId: string;
19
+ readonly toolCallId: string;
20
+ readonly capabilityId: 'verify_session' | 'local.delegation.verify_session';
21
+ readonly sessionId: string;
22
+ readonly planId: string;
23
+ readonly sourceRevision: string;
24
+ readonly outcome: 'verification_interrupted';
25
+ readonly at: string;
26
+ }
15
27
  export interface ProjectWorkReceipt {
16
28
  readonly schemaVersion: 1;
17
29
  readonly workId: string;
@@ -57,13 +69,16 @@ export interface ProjectWorkReceipt {
57
69
  readonly pendingTools?: readonly {
58
70
  readonly toolCallId: string | null;
59
71
  readonly capabilityId: string | null;
72
+ readonly verificationSessionId?: string;
60
73
  }[];
61
74
  }>>;
75
+ readonly reconciledDispatches?: readonly VerificationDispatchReconciliation[];
62
76
  readonly uncertainDispatches?: readonly {
63
77
  readonly attemptId: string;
64
78
  readonly role: string;
65
79
  readonly toolCallId: string | null;
66
80
  readonly capabilityId: string | null;
81
+ readonly verificationSessionId?: string;
67
82
  }[];
68
83
  };
69
84
  readonly stopScope: 'reply' | 'work';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peer-agent/protocol",
3
- "version": "0.1.0-rc.14",
3
+ "version": "0.1.0-rc.15",
4
4
  "description": "Shared host-neutral protocol contracts for Peer Agent runtimes and clients.",
5
5
  "type": "module",
6
6
  "license": "MIT",