@peer-agent/protocol 0.1.0-rc.17 → 0.1.0-rc.18
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/delegation.d.ts +2 -0
- package/dist/work-coordination.d.ts +14 -2
- package/package.json +1 -1
package/dist/delegation.d.ts
CHANGED
|
@@ -149,6 +149,8 @@ export interface AgentReplyMeta {
|
|
|
149
149
|
}
|
|
150
150
|
export interface ReplySessionState {
|
|
151
151
|
readonly sourceRevision?: string;
|
|
152
|
+
/** Stable reporting facts, including a changed verifier failure; not acceptance authority. */
|
|
153
|
+
readonly observationRevision?: string;
|
|
152
154
|
readonly sessionId: string;
|
|
153
155
|
readonly status: WorkSessionStatus;
|
|
154
156
|
}
|
|
@@ -45,8 +45,8 @@ export interface ProjectWorkRecovery {
|
|
|
45
45
|
readonly dispatchesReconciled?: boolean;
|
|
46
46
|
readonly blockedCode?: 'RECOVERY_CHECKPOINT_UNAVAILABLE';
|
|
47
47
|
}
|
|
48
|
-
export type ProjectWorkState = 'runnable' | 'waiting_children' | 'waiting_user' | 'retry_wait' | 'paused' | 'budget_limited' | 'blocked_system' | 'delivered' | 'cancelled';
|
|
49
|
-
export type ProjectTurnEnd = 'reply_committed' | 'awaiting_children' | 'yielded' | 'awaiting_user' | 'budget_limited' | 'provider_retryable' | 'no_progress' | 'user_stopped' | 'fatal';
|
|
48
|
+
export type ProjectWorkState = 'runnable' | 'waiting_children' | 'waiting_user' | 'retry_wait' | 'paused' | 'budget_limited' | 'blocked_system' | 'delivered' | 'cancelled' | 'coalesced';
|
|
49
|
+
export type ProjectTurnEnd = 'reply_committed' | 'awaiting_children' | 'yielded' | 'awaiting_user' | 'budget_limited' | 'provider_retryable' | 'no_progress' | 'user_stopped' | 'fatal' | 'coalesced';
|
|
50
50
|
/** Host reconciliation closes an interrupted review, never supplies its verdict. */
|
|
51
51
|
export interface VerificationDispatchReconciliation {
|
|
52
52
|
readonly attemptId: string;
|
|
@@ -72,6 +72,18 @@ export interface ProjectWorkReceipt {
|
|
|
72
72
|
readonly revision: number;
|
|
73
73
|
readonly checkpointRef?: string;
|
|
74
74
|
readonly nativeCheckpointRef?: string;
|
|
75
|
+
/** Only duplicate background observations transfer custody; all history remains. */
|
|
76
|
+
readonly continuationOwnerWorkId?: string;
|
|
77
|
+
readonly reportedWait?: {
|
|
78
|
+
readonly replyIds: readonly string[];
|
|
79
|
+
readonly waitingUser: boolean;
|
|
80
|
+
readonly sessionStates: readonly {
|
|
81
|
+
readonly sessionId: string;
|
|
82
|
+
readonly status: string;
|
|
83
|
+
readonly sourceRevision: string;
|
|
84
|
+
readonly observationRevision?: string;
|
|
85
|
+
}[];
|
|
86
|
+
};
|
|
75
87
|
readonly recovery?: ProjectWorkRecovery;
|
|
76
88
|
readonly end?: ProjectTurnEnd;
|
|
77
89
|
readonly attemptId?: string;
|