@dsh-enhanced/assistant-work-items 0.0.0-stage → 0.1.66
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/LICENSE +21 -0
- package/README.md +685 -2
- package/cordis.patch.yml +11 -0
- package/lib/acceptance-binding.d.ts +86 -0
- package/lib/acceptance-binding.d.ts.map +1 -0
- package/lib/acceptance-binding.js +250 -0
- package/lib/acceptance-binding.js.map +1 -0
- package/lib/admission.d.ts +95 -0
- package/lib/admission.d.ts.map +1 -0
- package/lib/admission.js +642 -0
- package/lib/admission.js.map +1 -0
- package/lib/authority.d.ts +92 -0
- package/lib/authority.d.ts.map +1 -0
- package/lib/authority.js +205 -0
- package/lib/authority.js.map +1 -0
- package/lib/config.d.ts +365 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +672 -0
- package/lib/config.js.map +1 -0
- package/lib/continuation-contract.d.ts +126 -0
- package/lib/continuation-contract.d.ts.map +1 -0
- package/lib/continuation-contract.js +109 -0
- package/lib/continuation-contract.js.map +1 -0
- package/lib/continuation-record.d.ts +32 -0
- package/lib/continuation-record.d.ts.map +1 -0
- package/lib/continuation-record.js +57 -0
- package/lib/continuation-record.js.map +1 -0
- package/lib/continuation.d.ts +89 -0
- package/lib/continuation.d.ts.map +1 -0
- package/lib/continuation.js +607 -0
- package/lib/continuation.js.map +1 -0
- package/lib/diagnosis-contract.d.ts +95 -0
- package/lib/diagnosis-contract.d.ts.map +1 -0
- package/lib/diagnosis-contract.js +167 -0
- package/lib/diagnosis-contract.js.map +1 -0
- package/lib/diagnosis.d.ts +70 -0
- package/lib/diagnosis.d.ts.map +1 -0
- package/lib/diagnosis.js +466 -0
- package/lib/diagnosis.js.map +1 -0
- package/lib/dispatch.d.ts +100 -0
- package/lib/dispatch.d.ts.map +1 -0
- package/lib/dispatch.js +317 -0
- package/lib/dispatch.js.map +1 -0
- package/lib/engineering-context.d.ts +86 -0
- package/lib/engineering-context.d.ts.map +1 -0
- package/lib/engineering-context.js +263 -0
- package/lib/engineering-context.js.map +1 -0
- package/lib/evaluation.d.ts +125 -0
- package/lib/evaluation.d.ts.map +1 -0
- package/lib/evaluation.js +295 -0
- package/lib/evaluation.js.map +1 -0
- package/lib/event-follow.d.ts +93 -0
- package/lib/event-follow.d.ts.map +1 -0
- package/lib/event-follow.js +150 -0
- package/lib/event-follow.js.map +1 -0
- package/lib/feedback-targets.d.ts +91 -0
- package/lib/feedback-targets.d.ts.map +1 -0
- package/lib/feedback-targets.js +362 -0
- package/lib/feedback-targets.js.map +1 -0
- package/lib/index.d.ts +27 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +25 -0
- package/lib/index.js.map +1 -0
- package/lib/intake-admission.d.ts +49 -0
- package/lib/intake-admission.d.ts.map +1 -0
- package/lib/intake-admission.js +100 -0
- package/lib/intake-admission.js.map +1 -0
- package/lib/intake-evaluation-runtime.d.ts +74 -0
- package/lib/intake-evaluation-runtime.d.ts.map +1 -0
- package/lib/intake-evaluation-runtime.js +343 -0
- package/lib/intake-evaluation-runtime.js.map +1 -0
- package/lib/intake-evaluation.d.ts +180 -0
- package/lib/intake-evaluation.d.ts.map +1 -0
- package/lib/intake-evaluation.js +440 -0
- package/lib/intake-evaluation.js.map +1 -0
- package/lib/intake.d.ts +118 -0
- package/lib/intake.d.ts.map +1 -0
- package/lib/intake.js +137 -0
- package/lib/intake.js.map +1 -0
- package/lib/ledger.d.ts +86 -0
- package/lib/ledger.d.ts.map +1 -0
- package/lib/ledger.js +145 -0
- package/lib/ledger.js.map +1 -0
- package/lib/mandate.d.ts +45 -0
- package/lib/mandate.d.ts.map +1 -0
- package/lib/mandate.js +168 -0
- package/lib/mandate.js.map +1 -0
- package/lib/outcome.d.ts +137 -0
- package/lib/outcome.d.ts.map +1 -0
- package/lib/outcome.js +303 -0
- package/lib/outcome.js.map +1 -0
- package/lib/owner-access.d.ts +35 -0
- package/lib/owner-access.d.ts.map +1 -0
- package/lib/owner-access.js +152 -0
- package/lib/owner-access.js.map +1 -0
- package/lib/owner-continuation.d.ts +27 -0
- package/lib/owner-continuation.d.ts.map +1 -0
- package/lib/owner-continuation.js +131 -0
- package/lib/owner-continuation.js.map +1 -0
- package/lib/owner-recall.d.ts +85 -0
- package/lib/owner-recall.d.ts.map +1 -0
- package/lib/owner-recall.js +134 -0
- package/lib/owner-recall.js.map +1 -0
- package/lib/owner-replies.d.ts +44 -0
- package/lib/owner-replies.d.ts.map +1 -0
- package/lib/owner-replies.js +232 -0
- package/lib/owner-replies.js.map +1 -0
- package/lib/peers.d.ts +622 -0
- package/lib/peers.d.ts.map +1 -0
- package/lib/peers.js +10 -0
- package/lib/peers.js.map +1 -0
- package/lib/policy-notice.d.ts +31 -0
- package/lib/policy-notice.d.ts.map +1 -0
- package/lib/policy-notice.js +137 -0
- package/lib/policy-notice.js.map +1 -0
- package/lib/reply-contract.d.ts +67 -0
- package/lib/reply-contract.d.ts.map +1 -0
- package/lib/reply-contract.js +58 -0
- package/lib/reply-contract.js.map +1 -0
- package/lib/service.d.ts +625 -0
- package/lib/service.d.ts.map +1 -0
- package/lib/service.js +2388 -0
- package/lib/service.js.map +1 -0
- package/lib/settlement.d.ts +74 -0
- package/lib/settlement.d.ts.map +1 -0
- package/lib/settlement.js +233 -0
- package/lib/settlement.js.map +1 -0
- package/lib/signals.d.ts +176 -0
- package/lib/signals.d.ts.map +1 -0
- package/lib/signals.js +497 -0
- package/lib/signals.js.map +1 -0
- package/lib/store.d.ts +789 -0
- package/lib/store.d.ts.map +1 -0
- package/lib/store.js +3266 -0
- package/lib/store.js.map +1 -0
- package/lib/tools.d.ts +7 -0
- package/lib/tools.d.ts.map +1 -0
- package/lib/tools.js +443 -0
- package/lib/tools.js.map +1 -0
- package/lib/types.d.ts +831 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +29 -0
- package/lib/types.js.map +1 -0
- package/lib/version.d.ts +2 -0
- package/lib/version.d.ts.map +1 -0
- package/lib/version.js +2 -0
- package/lib/version.js.map +1 -0
- package/lib/workspace.d.ts +43 -0
- package/lib/workspace.d.ts.map +1 -0
- package/lib/workspace.js +137 -0
- package/lib/workspace.js.map +1 -0
- package/package.json +101 -3
package/lib/peers.d.ts
ADDED
|
@@ -0,0 +1,622 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structural peer contracts.
|
|
3
|
+
*
|
|
4
|
+
* Every dependency of this plugin is an optional peer service that the Loader
|
|
5
|
+
* may mount independently, so the shapes are declared structurally here rather
|
|
6
|
+
* than imported from sibling packages at build time. A missing service is a
|
|
7
|
+
* bounded `missing-dependency` failure, never a crash.
|
|
8
|
+
*/
|
|
9
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
10
|
+
import type { ToolDefinition, ToolExecution } from '@deepseek-ai/dsh-tools';
|
|
11
|
+
import type { AutomationRecord, HostAutomationDefinition, HostAutomationExecutor, HostAutomationExecutorInput, HostAgentExecutionContract, HostAgentExecutionResult, HostAgentAuthorizationFence, ProductionOccurrenceTerminalProjection } from '@dsh-enhanced/assistant-automations';
|
|
12
|
+
export type { HostAutomationExecutorInput, HostAgentExecutionContract, HostAgentExecutionResult } from '@dsh-enhanced/assistant-automations';
|
|
13
|
+
/** Structural copies of Delivery's versioned reply protocol. Keeping these
|
|
14
|
+
* local preserves disabled/older-peer .d.ts compatibility; runtime gates the
|
|
15
|
+
* optional capability with workItemReplyProtocolVersion(). */
|
|
16
|
+
export interface WorkItemReportTarget {
|
|
17
|
+
readonly protocol: 'assistant-delivery/work-item-report/v1';
|
|
18
|
+
readonly itemId: string;
|
|
19
|
+
readonly reportRevision: number;
|
|
20
|
+
readonly streamId: string;
|
|
21
|
+
readonly reportDigest: string;
|
|
22
|
+
readonly sourceId: string;
|
|
23
|
+
readonly scope: Readonly<{
|
|
24
|
+
workspace: string;
|
|
25
|
+
preset: string;
|
|
26
|
+
}>;
|
|
27
|
+
readonly owner: Readonly<{
|
|
28
|
+
principalRecordId: string;
|
|
29
|
+
principalVersion: number;
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
32
|
+
export interface WorkItemReplySource {
|
|
33
|
+
readonly protocol: 'assistant-delivery/work-item-reply/v1';
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly sourceDigest: string;
|
|
36
|
+
readonly admissionCursor: Readonly<{
|
|
37
|
+
epoch: string;
|
|
38
|
+
sequence: number;
|
|
39
|
+
}>;
|
|
40
|
+
readonly inputText: string;
|
|
41
|
+
readonly inputSha256: string;
|
|
42
|
+
readonly inputBytes: number;
|
|
43
|
+
readonly scope: Readonly<{
|
|
44
|
+
workspace: string;
|
|
45
|
+
preset: string;
|
|
46
|
+
}>;
|
|
47
|
+
readonly principalId: string;
|
|
48
|
+
readonly owner: Readonly<{
|
|
49
|
+
principalRecordId: string;
|
|
50
|
+
principalVersion: number;
|
|
51
|
+
}>;
|
|
52
|
+
readonly binding: Readonly<{
|
|
53
|
+
id: string;
|
|
54
|
+
version: number;
|
|
55
|
+
generation: number;
|
|
56
|
+
}>;
|
|
57
|
+
readonly target: Readonly<{
|
|
58
|
+
outboxId: string;
|
|
59
|
+
providerMessageId: string;
|
|
60
|
+
itemId: string;
|
|
61
|
+
reportRevision: number;
|
|
62
|
+
reportDigest: string;
|
|
63
|
+
streamId: string;
|
|
64
|
+
}>;
|
|
65
|
+
readonly executionParentItemId?: string;
|
|
66
|
+
readonly child?: Readonly<{
|
|
67
|
+
itemId: string;
|
|
68
|
+
planDigest: string;
|
|
69
|
+
}>;
|
|
70
|
+
readonly state: 'pending' | 'routed' | 'cancelled';
|
|
71
|
+
}
|
|
72
|
+
export interface WorkItemReplyConsumerRegistration {
|
|
73
|
+
readonly protocol: 1;
|
|
74
|
+
readonly sourceId: string;
|
|
75
|
+
readonly continuationAutomationId: string;
|
|
76
|
+
readonly continuationEnabled?: boolean;
|
|
77
|
+
readonly feedbackEnabled?: boolean;
|
|
78
|
+
readonly inspectReport: (input: {
|
|
79
|
+
itemId: string;
|
|
80
|
+
reportRevision: number;
|
|
81
|
+
bindingId: string;
|
|
82
|
+
idempotencyKey: string;
|
|
83
|
+
text: string;
|
|
84
|
+
format: 'plain' | 'markdown';
|
|
85
|
+
}) => WorkItemReportTarget | undefined;
|
|
86
|
+
readonly canContinueReport?: (input: {
|
|
87
|
+
itemId: string;
|
|
88
|
+
reportRevision: number;
|
|
89
|
+
bindingId: string;
|
|
90
|
+
idempotencyKey: string;
|
|
91
|
+
text: string;
|
|
92
|
+
format: 'plain' | 'markdown';
|
|
93
|
+
}) => boolean;
|
|
94
|
+
readonly inspectChild: (input: {
|
|
95
|
+
replyId: string;
|
|
96
|
+
sourceDigest: string;
|
|
97
|
+
parentItemId: string;
|
|
98
|
+
childItemId: string;
|
|
99
|
+
childPlanDigest: string;
|
|
100
|
+
}) => boolean;
|
|
101
|
+
readonly onPending: () => void;
|
|
102
|
+
readonly onCancelled: (childItemIds: readonly string[]) => void;
|
|
103
|
+
}
|
|
104
|
+
interface WorkItemReplyReadInput {
|
|
105
|
+
readonly id: string;
|
|
106
|
+
readonly expectedSourceDigest: string;
|
|
107
|
+
}
|
|
108
|
+
interface WorkItemReplyListInput {
|
|
109
|
+
readonly scope: Readonly<{
|
|
110
|
+
workspace: string;
|
|
111
|
+
preset: string;
|
|
112
|
+
}>;
|
|
113
|
+
readonly owner: Readonly<{
|
|
114
|
+
principalRecordId: string;
|
|
115
|
+
principalVersion: number;
|
|
116
|
+
}>;
|
|
117
|
+
readonly afterSequence?: number;
|
|
118
|
+
readonly limit: number;
|
|
119
|
+
}
|
|
120
|
+
export type PeerPolicyEffect = 'allow' | 'deny';
|
|
121
|
+
export type PeerPolicyInitiator = 'background' | 'external' | 'foreground';
|
|
122
|
+
export type PeerPolicySubjectKind = 'agent' | 'background' | 'external';
|
|
123
|
+
export interface PeerPolicyRequest {
|
|
124
|
+
readonly subject: Readonly<{
|
|
125
|
+
kind: PeerPolicySubjectKind;
|
|
126
|
+
id: string;
|
|
127
|
+
workspace?: string;
|
|
128
|
+
principal?: string;
|
|
129
|
+
}>;
|
|
130
|
+
readonly action: string;
|
|
131
|
+
readonly resource: Readonly<{
|
|
132
|
+
kind: string;
|
|
133
|
+
id: string;
|
|
134
|
+
}>;
|
|
135
|
+
readonly context: Readonly<{
|
|
136
|
+
initiator: PeerPolicyInitiator;
|
|
137
|
+
}>;
|
|
138
|
+
}
|
|
139
|
+
export interface PeerPolicyDecision {
|
|
140
|
+
readonly effect: PeerPolicyEffect;
|
|
141
|
+
readonly reasonCode: string;
|
|
142
|
+
readonly ruleId?: string | undefined;
|
|
143
|
+
/** Matched rule budget, when the rule is budgeted. */
|
|
144
|
+
readonly budget?: Readonly<{
|
|
145
|
+
id: string;
|
|
146
|
+
amount: number;
|
|
147
|
+
}>;
|
|
148
|
+
/** Set by `authorizeAgentForPrincipal` when the charge landed in that principal's own partition. */
|
|
149
|
+
readonly budgetPrincipal?: string;
|
|
150
|
+
}
|
|
151
|
+
/** `assistant-policy` default-deny authorization surface. */
|
|
152
|
+
export interface PeerPolicyService {
|
|
153
|
+
authorize(request: PeerPolicyRequest, options?: {
|
|
154
|
+
idempotencyKey?: string;
|
|
155
|
+
auditDetails?: unknown;
|
|
156
|
+
}): PeerPolicyDecision;
|
|
157
|
+
/** Side-effect-free evaluation (no budget, no audit). Absent on older Policy peers. */
|
|
158
|
+
evaluate?(request: PeerPolicyRequest): PeerPolicyDecision;
|
|
159
|
+
authorizeAgent?(agent: import('@deepseek-ai/dsh-agent').Agent | undefined, action: string, resource: {
|
|
160
|
+
kind: 'automation';
|
|
161
|
+
id: string;
|
|
162
|
+
}, options?: {
|
|
163
|
+
idempotencyKey?: string;
|
|
164
|
+
}): PeerPolicyDecision;
|
|
165
|
+
evaluateAgent?(agent: import('@deepseek-ai/dsh-agent').Agent | undefined, action: string, resource: {
|
|
166
|
+
kind: 'automation';
|
|
167
|
+
id: string;
|
|
168
|
+
}): PeerPolicyDecision;
|
|
169
|
+
/** Charges a matched rule budget in `principal`'s own ledger partition. Absent: linked-alias reads fail closed. */
|
|
170
|
+
authorizeAgentForPrincipal?(agent: import('@deepseek-ai/dsh-agent').Agent | undefined, action: string, resource: {
|
|
171
|
+
kind: 'automation';
|
|
172
|
+
id: string;
|
|
173
|
+
}, options: {
|
|
174
|
+
idempotencyKey?: string;
|
|
175
|
+
principal: string;
|
|
176
|
+
}): PeerPolicyDecision;
|
|
177
|
+
/** Absent on older Policy peers: keep their ordinary approval path. */
|
|
178
|
+
workItemToolPreauthorizationVersion?(): 1;
|
|
179
|
+
registerPreauthorizedTool?(caller: Context, definition: ToolDefinition, authorize: (execution: ToolExecution) => boolean, options?: {
|
|
180
|
+
denialReason: string;
|
|
181
|
+
}): () => void;
|
|
182
|
+
}
|
|
183
|
+
/** `assistant-delivery` owner-route receipt (receiptVersion 2). */
|
|
184
|
+
export interface PeerOwnerRouteReceipt {
|
|
185
|
+
readonly receiptVersion: number;
|
|
186
|
+
readonly authorityId: string;
|
|
187
|
+
readonly authorityHash: string;
|
|
188
|
+
readonly principalId: string;
|
|
189
|
+
readonly principalRecordId: string;
|
|
190
|
+
readonly principalVersion: number;
|
|
191
|
+
readonly workspace: string;
|
|
192
|
+
readonly agentPreset: string;
|
|
193
|
+
readonly bindingVersion: number;
|
|
194
|
+
readonly generation: number;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* `assistant-delivery` read-only linked owner alias receipt. It has no
|
|
198
|
+
* `receiptVersion`, so it is never a {@link PeerOwnerRouteReceipt}.
|
|
199
|
+
*/
|
|
200
|
+
export interface PeerOwnerAliasReceipt {
|
|
201
|
+
readonly protocol: 'assistant-delivery/owner-alias-receipt/v1';
|
|
202
|
+
readonly authorityId: string;
|
|
203
|
+
readonly authorityHash: string;
|
|
204
|
+
readonly workspace: string;
|
|
205
|
+
readonly agentPreset: string;
|
|
206
|
+
readonly alias: Readonly<{
|
|
207
|
+
principalId: string;
|
|
208
|
+
principalRecordId: string;
|
|
209
|
+
principalVersion: number;
|
|
210
|
+
bindingId: string;
|
|
211
|
+
bindingVersion: number;
|
|
212
|
+
bindingGeneration: number;
|
|
213
|
+
sessionId: string;
|
|
214
|
+
}>;
|
|
215
|
+
readonly root: Readonly<{
|
|
216
|
+
principalId: string;
|
|
217
|
+
principalRecordId: string;
|
|
218
|
+
principalVersion: number;
|
|
219
|
+
bindingVersion: number;
|
|
220
|
+
generation: number;
|
|
221
|
+
}>;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* `assistant-delivery` Host-only owner route binding receipt: the unchanged v2
|
|
225
|
+
* receipt plus the exact active binding row behind it, read in one resolve.
|
|
226
|
+
*/
|
|
227
|
+
export interface PeerOwnerRouteBindingReceipt {
|
|
228
|
+
readonly protocol: 'assistant-delivery/owner-route-binding/v1';
|
|
229
|
+
readonly receipt: PeerOwnerRouteReceipt;
|
|
230
|
+
readonly bindingId: string;
|
|
231
|
+
}
|
|
232
|
+
export interface PeerOwnerRouteInspection {
|
|
233
|
+
readonly status: 'active' | 'revoked' | 'unavailable';
|
|
234
|
+
readonly receipt?: PeerOwnerRouteReceipt;
|
|
235
|
+
readonly reason?: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* One owner-authenticated foreground task, as exposed read-only by
|
|
239
|
+
* `assistant-delivery`'s `owner-foreground-source/v1` protocol.
|
|
240
|
+
*
|
|
241
|
+
* This is already-authoritative owner data: the owner submitted the request
|
|
242
|
+
* through their own route, the execution status is recorded by delivery, and
|
|
243
|
+
* the surface is cursor paged. A `failed`/`timed-out` execution is therefore a
|
|
244
|
+
* genuine correction/repair signal, not a fixed developer scenario.
|
|
245
|
+
*/
|
|
246
|
+
export interface PeerOwnerForegroundExecution {
|
|
247
|
+
readonly dispatchedAt: number;
|
|
248
|
+
readonly status: 'succeeded' | 'failed' | 'timed-out' | 'cancelled' | 'unknown';
|
|
249
|
+
readonly quiescent: boolean;
|
|
250
|
+
readonly completedAt: number;
|
|
251
|
+
readonly executionRef: string;
|
|
252
|
+
readonly modelSelectionState?: 'missing' | 'frozen' | 'inconsistent';
|
|
253
|
+
readonly modelSelection?: Readonly<{
|
|
254
|
+
provider: string;
|
|
255
|
+
model: string;
|
|
256
|
+
reasoningEffort?: string;
|
|
257
|
+
}>;
|
|
258
|
+
}
|
|
259
|
+
export interface PeerOwnerForegroundTaskSource {
|
|
260
|
+
readonly protocol: string;
|
|
261
|
+
readonly inboxId: string;
|
|
262
|
+
readonly sourceDigest: string;
|
|
263
|
+
readonly completionSequence: number;
|
|
264
|
+
readonly authorityId: string;
|
|
265
|
+
readonly authorityHash: string;
|
|
266
|
+
readonly principalId: string;
|
|
267
|
+
readonly scope: Readonly<{
|
|
268
|
+
workspace: string;
|
|
269
|
+
preset: string;
|
|
270
|
+
}>;
|
|
271
|
+
readonly binding: Readonly<{
|
|
272
|
+
id: string;
|
|
273
|
+
version: number;
|
|
274
|
+
generation: number;
|
|
275
|
+
sessionId: string;
|
|
276
|
+
}>;
|
|
277
|
+
readonly execution: Readonly<PeerOwnerForegroundExecution>;
|
|
278
|
+
readonly owner?: Readonly<{
|
|
279
|
+
principalRecordId: string;
|
|
280
|
+
principalVersion: number;
|
|
281
|
+
}>;
|
|
282
|
+
readonly termination?: Readonly<{
|
|
283
|
+
protocol: 'assistant-delivery/foreground-termination/v1';
|
|
284
|
+
producer: string;
|
|
285
|
+
kind: string;
|
|
286
|
+
causeCode: string;
|
|
287
|
+
handleDisposed: boolean;
|
|
288
|
+
effects: 'unknown';
|
|
289
|
+
replay: 'forbidden';
|
|
290
|
+
}>;
|
|
291
|
+
}
|
|
292
|
+
export interface PeerOwnerForegroundTaskSourcePage {
|
|
293
|
+
readonly items: readonly PeerOwnerForegroundTaskSource[];
|
|
294
|
+
readonly nextCursor: unknown;
|
|
295
|
+
readonly watermark: number;
|
|
296
|
+
readonly hasMore: boolean;
|
|
297
|
+
}
|
|
298
|
+
export interface PeerForegroundSourceScope {
|
|
299
|
+
authorityId: string;
|
|
300
|
+
principalId: string;
|
|
301
|
+
workspace: string;
|
|
302
|
+
agentPreset: string;
|
|
303
|
+
expectedOwner: Readonly<{
|
|
304
|
+
authorityHash: string;
|
|
305
|
+
principalRecordId: string;
|
|
306
|
+
principalVersion: number;
|
|
307
|
+
}>;
|
|
308
|
+
}
|
|
309
|
+
/** One page of the current authenticated human turn, tied to its real tool call. */
|
|
310
|
+
export interface PeerOwnerForegroundToolInput {
|
|
311
|
+
readonly protocol: 'assistant-delivery/foreground-tool-input/v1';
|
|
312
|
+
readonly attestation: Readonly<{
|
|
313
|
+
protocol: 'assistant-delivery/foreground-tool-call/v1';
|
|
314
|
+
task: {
|
|
315
|
+
protocol: 'assistant-delivery/foreground-task/v1';
|
|
316
|
+
inboxId: string;
|
|
317
|
+
sessionId: string;
|
|
318
|
+
scope: {
|
|
319
|
+
workspace: string;
|
|
320
|
+
preset: string;
|
|
321
|
+
};
|
|
322
|
+
owner: {
|
|
323
|
+
principalRecordId: string;
|
|
324
|
+
principalVersion: number;
|
|
325
|
+
};
|
|
326
|
+
binding: {
|
|
327
|
+
id: string;
|
|
328
|
+
version: number;
|
|
329
|
+
generation: number;
|
|
330
|
+
};
|
|
331
|
+
dispatchedAt: number;
|
|
332
|
+
};
|
|
333
|
+
turn: number;
|
|
334
|
+
call: {
|
|
335
|
+
id: string;
|
|
336
|
+
toolName: string;
|
|
337
|
+
eventSeq: number;
|
|
338
|
+
eventDigest: string;
|
|
339
|
+
argumentsDigest: string;
|
|
340
|
+
};
|
|
341
|
+
}>;
|
|
342
|
+
readonly sourceDigest: string;
|
|
343
|
+
readonly modelSelectionState: 'missing' | 'frozen' | 'inconsistent';
|
|
344
|
+
readonly modelSelection?: Readonly<{
|
|
345
|
+
provider: string;
|
|
346
|
+
model: string;
|
|
347
|
+
reasoningEffort?: string;
|
|
348
|
+
}>;
|
|
349
|
+
readonly input: Readonly<{
|
|
350
|
+
text: string;
|
|
351
|
+
fullTextDigest: string;
|
|
352
|
+
fullBytes: number;
|
|
353
|
+
returnedBytes: number;
|
|
354
|
+
offset: number;
|
|
355
|
+
nextOffset?: number;
|
|
356
|
+
}>;
|
|
357
|
+
}
|
|
358
|
+
/** `assistant-delivery` surfaces used by this plugin. */
|
|
359
|
+
export interface PeerDeliveryService {
|
|
360
|
+
workItemReplyProtocolVersion?(): 1;
|
|
361
|
+
registerWorkItemReplyConsumer?(registration: WorkItemReplyConsumerRegistration): () => void;
|
|
362
|
+
/** WP20: metadata-only inbound observations; the signal shape is the WorkItems intake input. */
|
|
363
|
+
registerInboundIntakeObserver?(observer: Readonly<{
|
|
364
|
+
protocol: 1;
|
|
365
|
+
observe: (signal: import('./intake.js').WorkItemIntakeInput) => void;
|
|
366
|
+
acceptsSourceText?: true;
|
|
367
|
+
}>): () => void;
|
|
368
|
+
enqueueWorkItemReport?(input: {
|
|
369
|
+
sourceId: string;
|
|
370
|
+
workspace: string;
|
|
371
|
+
bindingId: string;
|
|
372
|
+
idempotencyKey: string;
|
|
373
|
+
text: string;
|
|
374
|
+
format?: 'markdown' | 'plain';
|
|
375
|
+
metadata?: Readonly<Record<string, string>>;
|
|
376
|
+
itemId: string;
|
|
377
|
+
reportRevision: number;
|
|
378
|
+
}): {
|
|
379
|
+
readonly id: string;
|
|
380
|
+
} | Promise<{
|
|
381
|
+
readonly id: string;
|
|
382
|
+
}>;
|
|
383
|
+
/** Host cross-channel report route; `origin` means nothing was queued. */
|
|
384
|
+
routeWorkItemReport?(input: {
|
|
385
|
+
sourceId: string;
|
|
386
|
+
workspace: string;
|
|
387
|
+
originBindingId: string;
|
|
388
|
+
idempotencyKey: string;
|
|
389
|
+
text: string;
|
|
390
|
+
format?: 'markdown' | 'plain';
|
|
391
|
+
itemId: string;
|
|
392
|
+
reportRevision: number;
|
|
393
|
+
linkedFallback: readonly string[];
|
|
394
|
+
prefer?: 'origin' | 'recent';
|
|
395
|
+
}): Readonly<{
|
|
396
|
+
route: 'origin';
|
|
397
|
+
} | {
|
|
398
|
+
route: 'linked';
|
|
399
|
+
outbox: {
|
|
400
|
+
readonly id: string;
|
|
401
|
+
};
|
|
402
|
+
}>;
|
|
403
|
+
listPendingWorkItemReplies?(input: WorkItemReplyListInput): Readonly<{
|
|
404
|
+
items: readonly WorkItemReplySource[];
|
|
405
|
+
hasMore: boolean;
|
|
406
|
+
nextAfterSequence: number | null;
|
|
407
|
+
}>;
|
|
408
|
+
readWorkItemReply?(input: WorkItemReplyReadInput): Readonly<WorkItemReplySource>;
|
|
409
|
+
selectWorkItemReplyParent?(input: WorkItemReplyReadInput): Readonly<WorkItemReplySource>;
|
|
410
|
+
acknowledgeWorkItemReply?(input: WorkItemReplyReadInput & {
|
|
411
|
+
childItemId: string;
|
|
412
|
+
childPlanDigest: string;
|
|
413
|
+
}): Readonly<WorkItemReplySource>;
|
|
414
|
+
validateOwnerAgentForRoute?(agent: import('@deepseek-ai/dsh-agent').Agent, authorityId: string): Readonly<PeerOwnerRouteReceipt> | undefined;
|
|
415
|
+
inspectOwnerForegroundToolCall?(input: Readonly<{
|
|
416
|
+
agent: import('@deepseek-ai/dsh-agent').Agent;
|
|
417
|
+
authorityId: string;
|
|
418
|
+
callId: string;
|
|
419
|
+
toolName: string;
|
|
420
|
+
argumentsJson: string;
|
|
421
|
+
}>): unknown;
|
|
422
|
+
/** Optional read-only linked owner alias surfaces; accepted ONLY for `inspect-work-items`. */
|
|
423
|
+
inspectOwnerAliasRoute?(agent: import('@deepseek-ai/dsh-agent').Agent, authorityId: string): Readonly<PeerOwnerAliasReceipt> | undefined;
|
|
424
|
+
inspectOwnerAliasForegroundToolCall?(input: Readonly<{
|
|
425
|
+
agent: import('@deepseek-ai/dsh-agent').Agent;
|
|
426
|
+
authorityId: string;
|
|
427
|
+
callId: string;
|
|
428
|
+
toolName: string;
|
|
429
|
+
argumentsJson: string;
|
|
430
|
+
}>): unknown;
|
|
431
|
+
readOwnerForegroundToolInput?(input: Readonly<{
|
|
432
|
+
agent: import('@deepseek-ai/dsh-agent').Agent;
|
|
433
|
+
authorityId: string;
|
|
434
|
+
callId: string;
|
|
435
|
+
toolName: string;
|
|
436
|
+
argumentsJson: string;
|
|
437
|
+
offset?: number;
|
|
438
|
+
maxBytes?: number;
|
|
439
|
+
}>): Readonly<PeerOwnerForegroundToolInput> | undefined;
|
|
440
|
+
validateOwnerRoute(input: {
|
|
441
|
+
authorityId: string;
|
|
442
|
+
principalId: string;
|
|
443
|
+
workspace: string;
|
|
444
|
+
agentPreset: string;
|
|
445
|
+
}): Readonly<PeerOwnerRouteReceipt>;
|
|
446
|
+
/** Optional: older Delivery versions lack it; callers that must pin a binding fail closed. */
|
|
447
|
+
inspectOwnerRouteBinding?(input: {
|
|
448
|
+
authorityId: string;
|
|
449
|
+
principalId: string;
|
|
450
|
+
workspace: string;
|
|
451
|
+
agentPreset: string;
|
|
452
|
+
}): Readonly<PeerOwnerRouteBindingReceipt>;
|
|
453
|
+
inspectOwnerRouteState?(input: {
|
|
454
|
+
authorityId: string;
|
|
455
|
+
principalId: string;
|
|
456
|
+
workspace: string;
|
|
457
|
+
agentPreset: string;
|
|
458
|
+
}): PeerOwnerRouteInspection;
|
|
459
|
+
/**
|
|
460
|
+
* Read-only, owner-authenticated page of foreground task sources.
|
|
461
|
+
*
|
|
462
|
+
* Optional: older delivery versions do not expose it, and a missing method
|
|
463
|
+
* degenerates the automatic source to a no-op instead of failing activation.
|
|
464
|
+
*/
|
|
465
|
+
listOwnerForegroundTaskSources?(input: {
|
|
466
|
+
authorityId: string;
|
|
467
|
+
principalId: string;
|
|
468
|
+
workspace: string;
|
|
469
|
+
agentPreset: string;
|
|
470
|
+
expectedOwner: Readonly<{
|
|
471
|
+
authorityHash: string;
|
|
472
|
+
principalRecordId: string;
|
|
473
|
+
principalVersion: number;
|
|
474
|
+
}>;
|
|
475
|
+
after?: unknown;
|
|
476
|
+
limit?: number;
|
|
477
|
+
}): Readonly<PeerOwnerForegroundTaskSourcePage>;
|
|
478
|
+
inspectOwnerForegroundTaskSource?(input: PeerForegroundSourceScope & {
|
|
479
|
+
inboxId: string;
|
|
480
|
+
}): Readonly<PeerOwnerForegroundTaskSource> | undefined;
|
|
481
|
+
readOwnerForegroundTaskInput?(input: PeerForegroundSourceScope & {
|
|
482
|
+
inboxId: string;
|
|
483
|
+
expectedSourceDigest: string;
|
|
484
|
+
offset?: number;
|
|
485
|
+
maxBytes?: number;
|
|
486
|
+
}): Readonly<{
|
|
487
|
+
source: PeerOwnerForegroundTaskSource;
|
|
488
|
+
sourceDigest: string;
|
|
489
|
+
contentDigest: string;
|
|
490
|
+
input: {
|
|
491
|
+
text: string;
|
|
492
|
+
fullTextDigest: string;
|
|
493
|
+
fullBytes: number;
|
|
494
|
+
returnedBytes: number;
|
|
495
|
+
offset: number;
|
|
496
|
+
nextOffset?: number;
|
|
497
|
+
};
|
|
498
|
+
}> | undefined;
|
|
499
|
+
enqueueBackground(input: {
|
|
500
|
+
sourceId: string;
|
|
501
|
+
workspace: string;
|
|
502
|
+
bindingId: string;
|
|
503
|
+
idempotencyKey: string;
|
|
504
|
+
text: string;
|
|
505
|
+
format?: 'markdown' | 'plain';
|
|
506
|
+
metadata?: Readonly<Record<string, string>>;
|
|
507
|
+
/** WP19: reports declare `result`; they carry no structured owner question. */
|
|
508
|
+
attention: {
|
|
509
|
+
purpose: 'result';
|
|
510
|
+
workItemId?: string;
|
|
511
|
+
};
|
|
512
|
+
}): {
|
|
513
|
+
readonly id: string;
|
|
514
|
+
} | Promise<{
|
|
515
|
+
readonly id: string;
|
|
516
|
+
}>;
|
|
517
|
+
}
|
|
518
|
+
/** `assistant-automations` external-event intake. */
|
|
519
|
+
export interface PeerAutomationsService {
|
|
520
|
+
inspectProductionOccurrence?(input: {
|
|
521
|
+
automationId: string;
|
|
522
|
+
occurrenceId: string;
|
|
523
|
+
workspace: string;
|
|
524
|
+
agentPreset: string;
|
|
525
|
+
}): ProductionOccurrenceTerminalProjection | undefined;
|
|
526
|
+
/**
|
|
527
|
+
* Host-only: the acceptance handle the production worker task of one
|
|
528
|
+
* occurrence froze, with the Delivery binding it was frozen under; absent on
|
|
529
|
+
* older peers.
|
|
530
|
+
*/
|
|
531
|
+
inspectOccurrenceAcceptance?(input: {
|
|
532
|
+
automationId: string;
|
|
533
|
+
occurrenceId: string;
|
|
534
|
+
workspace: string;
|
|
535
|
+
agentPreset: string;
|
|
536
|
+
}): Readonly<{
|
|
537
|
+
contractId: string;
|
|
538
|
+
contractDigest: string;
|
|
539
|
+
bindingId: string;
|
|
540
|
+
bindingVersion: number;
|
|
541
|
+
bindingGeneration: number;
|
|
542
|
+
}> | undefined;
|
|
543
|
+
hostAgentAuthorizationVersion?(): 1;
|
|
544
|
+
runAgentForHostExecution?(input: HostAutomationExecutorInput, contract: HostAgentExecutionContract, authorization?: HostAgentAuthorizationFence): Promise<Readonly<HostAgentExecutionResult>>;
|
|
545
|
+
registerHostExecutor?(executor: HostAutomationExecutor): () => void;
|
|
546
|
+
reconcileSystem?(input: {
|
|
547
|
+
owner: string;
|
|
548
|
+
automationId: string;
|
|
549
|
+
idempotencyKey: string;
|
|
550
|
+
definition: HostAutomationDefinition;
|
|
551
|
+
desiredStatus: 'active';
|
|
552
|
+
}): AutomationRecord;
|
|
553
|
+
inspectSystemOwned?(input: {
|
|
554
|
+
owner: string;
|
|
555
|
+
automationId: string;
|
|
556
|
+
}): {
|
|
557
|
+
owner: string;
|
|
558
|
+
automationId: string;
|
|
559
|
+
automationStatus: string;
|
|
560
|
+
definitionHash: string;
|
|
561
|
+
definitionVersion: number;
|
|
562
|
+
latestTerminalRuns?: {
|
|
563
|
+
production?: {
|
|
564
|
+
occurrenceId?: string;
|
|
565
|
+
status: string;
|
|
566
|
+
executionMode: string;
|
|
567
|
+
diagnostic: {
|
|
568
|
+
budgetSettlementState: string;
|
|
569
|
+
};
|
|
570
|
+
immutableContext: {
|
|
571
|
+
state: 'unknown';
|
|
572
|
+
} | {
|
|
573
|
+
state: 'verified';
|
|
574
|
+
definitionHash: string;
|
|
575
|
+
definitionVersion: number;
|
|
576
|
+
scope: {
|
|
577
|
+
workspace: string;
|
|
578
|
+
agentPreset: string;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
inspectSystemOwnedActivation?(input: {
|
|
585
|
+
owner: string;
|
|
586
|
+
automationId: string;
|
|
587
|
+
}): Readonly<{
|
|
588
|
+
definitionHash: string;
|
|
589
|
+
activationNonce: string;
|
|
590
|
+
ownerRouteId: string;
|
|
591
|
+
}> | undefined;
|
|
592
|
+
/** Native scheduler lifecycle notification; absent on older peers. */
|
|
593
|
+
onSchedulerWake?(listener: () => void): () => void;
|
|
594
|
+
ingestExternal(input: {
|
|
595
|
+
sourceId: string;
|
|
596
|
+
automationId: string;
|
|
597
|
+
eventId: string;
|
|
598
|
+
occurredAt: number;
|
|
599
|
+
envelope?: unknown;
|
|
600
|
+
}): {
|
|
601
|
+
readonly id: string;
|
|
602
|
+
readonly automationId: string;
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* `assistant-verifier` read-only inspection of one accepted task (WP21 slice 4).
|
|
607
|
+
*
|
|
608
|
+
* Structural copy of the verifier's Host feedback read. Work items only ever
|
|
609
|
+
* reads it: contracts are frozen by registered Host producers and receipts are
|
|
610
|
+
* written by the verifier itself, so neither the executor nor a decision
|
|
611
|
+
* caller can supply either. Both bodies are re-validated before use.
|
|
612
|
+
*/
|
|
613
|
+
export interface PeerVerifierService {
|
|
614
|
+
inspectAcceptedTask?(contractId: string): Readonly<{
|
|
615
|
+
contract: unknown;
|
|
616
|
+
state: 'awaiting-execution' | 'pending' | 'verifying' | 'done' | 'needs-attention';
|
|
617
|
+
attempts: number;
|
|
618
|
+
reason: string | null;
|
|
619
|
+
receipt: unknown;
|
|
620
|
+
}> | null;
|
|
621
|
+
}
|
|
622
|
+
//# sourceMappingURL=peers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"peers.d.ts","sourceRoot":"","sources":["../src/peers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH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,CAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAA;CAC3D;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,mBAAmB,CAAC,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAC;QACjD,QAAQ,EAAE,OAAO,CAAA;QACjB,KAAK,EAAE,oBAAoB,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,iBAAiB,CAAA;QAClF,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;QACrB,OAAO,EAAE,OAAO,CAAA;KACjB,CAAC,GAAG,IAAI,CAAA;CACV"}
|
package/lib/peers.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structural peer contracts.
|
|
3
|
+
*
|
|
4
|
+
* Every dependency of this plugin is an optional peer service that the Loader
|
|
5
|
+
* may mount independently, so the shapes are declared structurally here rather
|
|
6
|
+
* than imported from sibling packages at build time. A missing service is a
|
|
7
|
+
* bounded `missing-dependency` failure, never a crash.
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=peers.js.map
|
package/lib/peers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"peers.js","sourceRoot":"","sources":["../src/peers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|