@claudexor/schema 5.0.1 → 5.1.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.
- package/dist/account-routing-evidence.d.ts +256 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-routing-evidence.js +27 -2
- package/dist/account-routing-evidence.js.map +1 -1
- package/dist/agent-capabilities.d.ts +3 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +6 -2
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attachment.d.ts +103 -6
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +32 -6
- package/dist/attachment.js.map +1 -1
- package/dist/browser-evidence.d.ts +85 -0
- package/dist/browser-evidence.d.ts.map +1 -0
- package/dist/browser-evidence.js +72 -0
- package/dist/browser-evidence.js.map +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +30 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +28 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +438 -36
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +11 -2
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-process-scope.d.ts +34 -0
- package/dist/control-process-scope.d.ts.map +1 -1
- package/dist/control-process-scope.js +13 -0
- package/dist/control-process-scope.js.map +1 -1
- package/dist/control-run-detail.d.ts +785 -89
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-failure.d.ts +29 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +28 -3
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-trust.d.ts +8 -0
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +4 -0
- package/dist/control-trust.js.map +1 -1
- package/dist/control-web-evidence.d.ts +125 -0
- package/dist/control-web-evidence.d.ts.map +1 -0
- package/dist/control-web-evidence.js +109 -0
- package/dist/control-web-evidence.js.map +1 -0
- package/dist/control.d.ts +292 -98
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +43 -49
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +4 -3
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +4 -3
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -0
- package/dist/decision.js.map +1 -1
- package/dist/deferred-message.d.ts +646 -0
- package/dist/deferred-message.d.ts.map +1 -1
- package/dist/deferred-message.js +16 -2
- package/dist/deferred-message.js.map +1 -1
- package/dist/events.d.ts +10 -10
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-confinement.js +1 -1
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness-input.d.ts +12 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +11 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-interaction.d.ts +20 -0
- package/dist/harness-interaction.d.ts.map +1 -1
- package/dist/harness-interaction.js +36 -0
- package/dist/harness-interaction.js.map +1 -1
- package/dist/harness.d.ts +95 -19
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +16 -15
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +363 -50
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-wait.d.ts +133 -7
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/operation.d.ts +1 -1
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/process-scope.d.ts +154 -0
- package/dist/process-scope.d.ts.map +1 -1
- package/dist/process-scope.js +16 -1
- package/dist/process-scope.js.map +1 -1
- package/dist/quota.d.ts +14 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +14 -0
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +4 -0
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +11 -5
- package/dist/raw.js.map +1 -1
- package/dist/route-controls.d.ts +49 -0
- package/dist/route-controls.d.ts.map +1 -0
- package/dist/route-controls.js +53 -0
- package/dist/route-controls.js.map +1 -0
- package/dist/route-health.d.ts +23 -23
- package/dist/route-health.js +1 -1
- package/dist/route-health.js.map +1 -1
- package/dist/run-continuation.d.ts +6 -6
- package/dist/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.js +1 -1
- package/dist/run-facts.js.map +1 -1
- package/dist/status-projection.d.ts +3 -2
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +5 -2
- package/dist/status-projection.js.map +1 -1
- package/dist/task-group.d.ts +3 -0
- package/dist/task-group.d.ts.map +1 -1
- package/dist/task-group.js +11 -1
- package/dist/task-group.js.map +1 -1
- package/dist/task.d.ts +2 -2
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +4 -4
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +602 -117
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +17 -88
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-export.d.ts +847 -0
- package/dist/thread-export.d.ts.map +1 -0
- package/dist/thread-export.js +238 -0
- package/dist/thread-export.js.map +1 -0
- package/dist/thread-history.d.ts +248 -132
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread.d.ts +72 -6
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +19 -3
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +172 -21
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +114 -29
- package/dist/tool-ref.js.map +1 -1
- package/dist/web-evidence.d.ts +91 -0
- package/dist/web-evidence.d.ts.map +1 -0
- package/dist/web-evidence.js +77 -0
- package/dist/web-evidence.js.map +1 -0
- package/dist/workspace-preparation.d.ts +54 -0
- package/dist/workspace-preparation.d.ts.map +1 -0
- package/dist/workspace-preparation.js +59 -0
- package/dist/workspace-preparation.js.map +1 -0
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +20 -2
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +2 -2
- package/generated/ControlGcLastResponse.schema.json +22 -0
- package/generated/ControlGcReceipt.schema.json +13 -1
- package/generated/ControlHarnessListResponse.schema.json +2 -2
- package/generated/ControlQueuedRunInfo.schema.json +1 -1
- package/generated/ControlResource.schema.json +5 -0
- package/generated/ControlResourceRelease.schema.json +44 -0
- package/generated/ControlResourceReleaseRequest.schema.json +27 -0
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRouteHealth.schema.json +13 -1
- package/generated/ControlRunControlResponse.schema.json +41 -3
- package/generated/ControlRunDecisionRequest.schema.json +8 -2
- package/generated/ControlRunDecisionResponse.schema.json +4 -3
- package/generated/ControlRunDetail.schema.json +337 -10
- package/generated/ControlRunEventPart.schema.json +1 -0
- package/generated/ControlRunListResponse.schema.json +296 -7
- package/generated/ControlRunRetryResponse.schema.json +1 -1
- package/generated/ControlRunStartInfo.schema.json +1 -1
- package/generated/ControlRunStartResponse.schema.json +2 -2
- package/generated/ControlRunSummary.schema.json +296 -7
- package/generated/ControlThreadDetail.schema.json +1 -0
- package/generated/ControlThreadTurnResponse.schema.json +9 -0
- package/generated/ControlTrustListResponse.schema.json +8 -0
- package/generated/ControlTrustState.schema.json +8 -0
- package/generated/ControlUploadImport.schema.json +12 -2
- package/generated/ControlUploadImportRequest.schema.json +5 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/DeferredMessageDetail.schema.json +43 -7
- package/generated/DeferredMessageProjection.schema.json +41 -3
- package/generated/DeferredMessageReadResult.schema.json +42 -4
- package/generated/DeferredMessageReceipt.schema.json +41 -3
- package/generated/EnvelopeCustody.schema.json +3 -2
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +140 -4
- package/generated/HarnessManifest.schema.json +2 -2
- package/generated/HarnessStatusDto.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +62 -2
- package/generated/McpRunHandleResult.schema.json +90 -6
- package/generated/McpRunToolResult.schema.json +89 -6
- package/generated/McpRunWaitResult.schema.json +42 -3
- package/generated/McpThreadTurnResult.schema.json +9 -0
- package/generated/RawContextPacket.schema.json +6 -4
- package/generated/RawGitPatchEnvelope.schema.json +1 -1
- package/generated/RoutePoolDegradedPayload.schema.json +2 -1
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +46 -2
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +288 -7
- package/generated/TaskContract.schema.json +3 -3
- package/generated/TaskGroupReceipt.schema.json +1 -1
- package/generated/Thread.schema.json +41 -0
- package/generated/ThreadExportManifest.schema.json +461 -0
- package/generated/ThreadExportReceipt.schema.json +94 -0
- package/generated/ThreadHistoryPage.schema.json +47 -2
- package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
- package/generated/ThreadRetireRequest.schema.json +41 -0
- package/generated/ThreadRetirement.schema.json +175 -0
- package/generated/ThreadTurn.schema.json +1 -1
- package/generated/WorkspaceEnvelope.schema.json +1 -1
- package/generated/WorkspacePreparedPayload.schema.json +67 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-history.d.ts","sourceRoot":"","sources":["../src/thread-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAa3B,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,2BAA2B,QAAS,CAAC;AAClD,eAAO,MAAM,2BAA2B,QAAS,CAAC;AAClD,eAAO,MAAM,4BAA4B,OAAQ,CAAC;AAClD,eAAO,MAAM,yBAAyB,UAAY,CAAC;AACnD,eAAO,MAAM,wBAAwB,SAAU,CAAC;AAChD,eAAO,MAAM,2BAA2B,QAAS,CAAC;AAClD,eAAO,MAAM,6BAA6B,QAAS,CAAC;AACpD,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAC/C,eAAO,MAAM,yBAAyB,UAAY,CAAC;AACnD,eAAO,MAAM,0BAA0B,SAAU,CAAC;AAMlD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB5B,CAAC;AACJ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,0EAA0E;AAC1E,eAAO,MAAM,qBAAqB;;;;;;;;;EAUvB,CAAC;AACZ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAQxB,CAAC;AACZ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;EAEtB,CAAC;AAQX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwG1B,CAAC;AACL,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAavB,CAAC;AACZ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc1B,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,0EAA0E;AAC1E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B7B,CAAC;AACJ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,KAAK,CAOzF;AACD,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,mBAAmB,GAAG,MAAM,CAK5E;AACD,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAiB1E"}
|
package/dist/thread.d.ts
CHANGED
|
@@ -61,6 +61,34 @@ export declare const ThreadWorkspace: z.ZodObject<{
|
|
|
61
61
|
workspace_root?: string | null | undefined;
|
|
62
62
|
}>;
|
|
63
63
|
export type ThreadWorkspace = z.infer<typeof ThreadWorkspace>;
|
|
64
|
+
/**
|
|
65
|
+
* The durable acceptance of a thread's conditional retirement: the exact export
|
|
66
|
+
* it was bound to. Written with the purge decision and kept on the purged
|
|
67
|
+
* record, because the cleanup obligation is deleted once cleanup is proven.
|
|
68
|
+
*/
|
|
69
|
+
export declare const ThreadRetirementAcceptance: z.ZodObject<{
|
|
70
|
+
operationId: z.ZodString;
|
|
71
|
+
exportId: z.ZodString;
|
|
72
|
+
closureDigest: z.ZodString;
|
|
73
|
+
contentDigest: z.ZodString;
|
|
74
|
+
laneDigest: z.ZodString;
|
|
75
|
+
acceptedAt: z.ZodString;
|
|
76
|
+
}, "strict", z.ZodTypeAny, {
|
|
77
|
+
operationId: string;
|
|
78
|
+
exportId: string;
|
|
79
|
+
closureDigest: string;
|
|
80
|
+
contentDigest: string;
|
|
81
|
+
laneDigest: string;
|
|
82
|
+
acceptedAt: string;
|
|
83
|
+
}, {
|
|
84
|
+
operationId: string;
|
|
85
|
+
exportId: string;
|
|
86
|
+
closureDigest: string;
|
|
87
|
+
contentDigest: string;
|
|
88
|
+
laneDigest: string;
|
|
89
|
+
acceptedAt: string;
|
|
90
|
+
}>;
|
|
91
|
+
export type ThreadRetirementAcceptance = z.infer<typeof ThreadRetirementAcceptance>;
|
|
64
92
|
/** The Claudexor-owned conversation. SSOT for lineage; vendor sessions are caches. */
|
|
65
93
|
export declare const Thread: z.ZodObject<{
|
|
66
94
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -130,6 +158,28 @@ export declare const Thread: z.ZodObject<{
|
|
|
130
158
|
trashed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
131
159
|
purge_after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
132
160
|
pre_trash_state: z.ZodDefault<z.ZodNullable<z.ZodEnum<["active", "closed"]>>>;
|
|
161
|
+
retirement: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
operationId: z.ZodString;
|
|
163
|
+
exportId: z.ZodString;
|
|
164
|
+
closureDigest: z.ZodString;
|
|
165
|
+
contentDigest: z.ZodString;
|
|
166
|
+
laneDigest: z.ZodString;
|
|
167
|
+
acceptedAt: z.ZodString;
|
|
168
|
+
}, "strict", z.ZodTypeAny, {
|
|
169
|
+
operationId: string;
|
|
170
|
+
exportId: string;
|
|
171
|
+
closureDigest: string;
|
|
172
|
+
contentDigest: string;
|
|
173
|
+
laneDigest: string;
|
|
174
|
+
acceptedAt: string;
|
|
175
|
+
}, {
|
|
176
|
+
operationId: string;
|
|
177
|
+
exportId: string;
|
|
178
|
+
closureDigest: string;
|
|
179
|
+
contentDigest: string;
|
|
180
|
+
laneDigest: string;
|
|
181
|
+
acceptedAt: string;
|
|
182
|
+
}>>;
|
|
133
183
|
}, "strip", z.ZodTypeAny, {
|
|
134
184
|
schema_version: 2;
|
|
135
185
|
id: string;
|
|
@@ -160,6 +210,14 @@ export declare const Thread: z.ZodObject<{
|
|
|
160
210
|
trashed_at: string | null;
|
|
161
211
|
purge_after: string | null;
|
|
162
212
|
pre_trash_state: "active" | "closed" | null;
|
|
213
|
+
retirement?: {
|
|
214
|
+
operationId: string;
|
|
215
|
+
exportId: string;
|
|
216
|
+
closureDigest: string;
|
|
217
|
+
contentDigest: string;
|
|
218
|
+
laneDigest: string;
|
|
219
|
+
acceptedAt: string;
|
|
220
|
+
} | undefined;
|
|
163
221
|
}, {
|
|
164
222
|
schema_version: 2;
|
|
165
223
|
id: string;
|
|
@@ -190,6 +248,14 @@ export declare const Thread: z.ZodObject<{
|
|
|
190
248
|
trashed_at?: string | null | undefined;
|
|
191
249
|
purge_after?: string | null | undefined;
|
|
192
250
|
pre_trash_state?: "active" | "closed" | null | undefined;
|
|
251
|
+
retirement?: {
|
|
252
|
+
operationId: string;
|
|
253
|
+
exportId: string;
|
|
254
|
+
closureDigest: string;
|
|
255
|
+
contentDigest: string;
|
|
256
|
+
laneDigest: string;
|
|
257
|
+
acceptedAt: string;
|
|
258
|
+
} | undefined;
|
|
193
259
|
}>;
|
|
194
260
|
export type Thread = z.infer<typeof Thread>;
|
|
195
261
|
/** A re-hostable pointer to one harness's native CLI session for a thread. */
|
|
@@ -254,8 +320,8 @@ export declare const TurnEnqueueProblem: z.ZodObject<{
|
|
|
254
320
|
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
255
321
|
/** Whether retry can REPLAY this turn: true when a job was recorded before
|
|
256
322
|
* the failure (the registry holds the params to replay); false when the
|
|
257
|
-
* enqueue itself threw and no job exists
|
|
258
|
-
* message" instead of a doomed Retry. */
|
|
323
|
+
* enqueue itself threw and no job exists, or a managed resource it names was
|
|
324
|
+
* released — surfaces then offer "send a new message" instead of a doomed Retry. */
|
|
259
325
|
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
260
326
|
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
261
327
|
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -280,8 +346,8 @@ export declare const TurnEnqueueError: z.ZodObject<{
|
|
|
280
346
|
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
281
347
|
/** Whether retry can REPLAY this turn: true when a job was recorded before
|
|
282
348
|
* the failure (the registry holds the params to replay); false when the
|
|
283
|
-
* enqueue itself threw and no job exists
|
|
284
|
-
* message" instead of a doomed Retry. */
|
|
349
|
+
* enqueue itself threw and no job exists, or a managed resource it names was
|
|
350
|
+
* released — surfaces then offer "send a new message" instead of a doomed Retry. */
|
|
285
351
|
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
286
352
|
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
287
353
|
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -414,8 +480,8 @@ export declare const ThreadTurn: z.ZodObject<{
|
|
|
414
480
|
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
415
481
|
/** Whether retry can REPLAY this turn: true when a job was recorded before
|
|
416
482
|
* the failure (the registry holds the params to replay); false when the
|
|
417
|
-
* enqueue itself threw and no job exists
|
|
418
|
-
* message" instead of a doomed Retry. */
|
|
483
|
+
* enqueue itself threw and no job exists, or a managed resource it names was
|
|
484
|
+
* released — surfaces then offer "send a new message" instead of a doomed Retry. */
|
|
419
485
|
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
420
486
|
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
421
487
|
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
package/dist/thread.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B;;;;;;;;;;;GAWG;AAEH;oEACoE;AACpE,eAAO,MAAM,WAAW,sDAE0E,CAAC;AACnG,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,gBAAgB,aAKkB,CAAC;AAEhD,eAAO,MAAM,YAAY,yCAItB,CAAC;AACJ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;2CAE2C;AAC3C,eAAO,MAAM,iBAAiB,qCAI3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,gDAEuE,CAAC;AACnG,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,kDAIvB,CAAC;AACJ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,eAAe;;IAGxB,gEAAgE;;I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AAO,MAAM,cAAc;IAEvB,+EAA+E;;;;;IAO/E,wCAAwC;;;;;;;;;;;;;;;;;EAMzC,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/thread.js
CHANGED
|
@@ -76,6 +76,21 @@ export const ThreadWorkspace = z
|
|
|
76
76
|
.describe("Caller-owned absolute workspace every turn of a delegated thread executes in; bound at creation, immutable, and retained after purge as the historical binding. Null for in_place and isolated threads."),
|
|
77
77
|
})
|
|
78
78
|
.describe("How the thread's turns touch files (in-place live tree, isolated worktree, or caller-owned delegated workspace).");
|
|
79
|
+
/**
|
|
80
|
+
* The durable acceptance of a thread's conditional retirement: the exact export
|
|
81
|
+
* it was bound to. Written with the purge decision and kept on the purged
|
|
82
|
+
* record, because the cleanup obligation is deleted once cleanup is proven.
|
|
83
|
+
*/
|
|
84
|
+
export const ThreadRetirementAcceptance = z
|
|
85
|
+
.object({
|
|
86
|
+
operationId: Id.describe("The caller's durable release intent."),
|
|
87
|
+
exportId: z.string().describe("The manifest identity the caller transferred."),
|
|
88
|
+
closureDigest: z.string().describe("The engine-record identity at acceptance."),
|
|
89
|
+
contentDigest: z.string().describe("Every exported byte, re-hashed by the engine."),
|
|
90
|
+
laneDigest: z.string().describe("The lane bytes acceptance named for removal."),
|
|
91
|
+
acceptedAt: IsoTimestamp.describe("When the purge decision committed."),
|
|
92
|
+
})
|
|
93
|
+
.strict();
|
|
79
94
|
/** The Claudexor-owned conversation. SSOT for lineage; vendor sessions are caches. */
|
|
80
95
|
export const Thread = z
|
|
81
96
|
.object({
|
|
@@ -146,6 +161,7 @@ export const Thread = z
|
|
|
146
161
|
.nullable()
|
|
147
162
|
.default(null)
|
|
148
163
|
.describe("Lifecycle state restored while the trash retention window remains open."),
|
|
164
|
+
retirement: ThreadRetirementAcceptance.optional().describe("Present on a thread purged through conditional retirement; absent otherwise."),
|
|
149
165
|
})
|
|
150
166
|
.describe("The Claudexor-owned conversation about a project; runs are turns inside it. SSOT for lineage; vendor sessions are caches.");
|
|
151
167
|
/** A re-hostable pointer to one harness's native CLI session for a thread. */
|
|
@@ -204,12 +220,12 @@ export const TurnEnqueueProblem = z
|
|
|
204
220
|
.describe("Machine-readable refusal code carried from the throwing gate; null when the failure had no typed code."),
|
|
205
221
|
/** Whether retry can REPLAY this turn: true when a job was recorded before
|
|
206
222
|
* the failure (the registry holds the params to replay); false when the
|
|
207
|
-
* enqueue itself threw and no job exists
|
|
208
|
-
* message" instead of a doomed Retry. */
|
|
223
|
+
* enqueue itself threw and no job exists, or a managed resource it names was
|
|
224
|
+
* released — surfaces then offer "send a new message" instead of a doomed Retry. */
|
|
209
225
|
retryable: z
|
|
210
226
|
.boolean()
|
|
211
227
|
.default(true)
|
|
212
|
-
.describe("True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay."),
|
|
228
|
+
.describe("True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay or a managed resource it names was released."),
|
|
213
229
|
required_actions: z
|
|
214
230
|
.array(z.string().min(1).max(512))
|
|
215
231
|
.max(16)
|
package/dist/thread.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.js","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EACL,qBAAqB,EACrB,cAAc,EACd,EAAE,EACF,YAAY,EACZ,QAAQ,EACR,aAAa,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;;;;;;;;GAWG;AAEH;oEACoE;AACpE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC;KACzB,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;KAC/C,QAAQ,CAAC,qFAAqF,CAAC,CAAC;AAGnG,MAAM,CAA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,CAAC,yDAAyD,CAAC;IACtE,wCAAwC;IACxC,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACzD,UAAU,EAAE,YAAY,CAAC,QAAQ,CAAC,oCAAoC,CAAC;CACxE,CAAC;KACD,QAAQ,CACP,+GAA+G,CAChH,CAAC"}
|
package/dist/tool-ref.d.ts
CHANGED
|
@@ -5,36 +5,167 @@ import { z } from "zod/v3";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const ToolKind: z.ZodEnum<["web", "file", "command", "mcp", "search", "other"]>;
|
|
7
7
|
export type ToolKind = z.infer<typeof ToolKind>;
|
|
8
|
+
/**
|
|
9
|
+
* #546: the vendor's own report that a background command ended, as far as a
|
|
10
|
+
* protocol source defines it. It is neither an exit code nor the success of the
|
|
11
|
+
* command's work, and a word outside this list is no report at all.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ToolCommandCompletionStatus: z.ZodEnum<["success", "error", "aborted"]>;
|
|
14
|
+
export type ToolCommandCompletionStatus = z.infer<typeof ToolCommandCompletionStatus>;
|
|
8
15
|
/**
|
|
9
16
|
* #450: what a command-kind tool result established about the PROCESS it
|
|
10
17
|
* ran, separate from `status` (the tool call's own outcome). A background
|
|
11
18
|
* handoff or an elapsed timeout returns an ordinary tool result while the
|
|
12
19
|
* command's end is unobserved, so neither counts as a finished command.
|
|
20
|
+
* #546: a later `command_outcome_refined` status can replace these facts for
|
|
21
|
+
* the same call (`completion_reported`), keeping the handoff facts beside it.
|
|
13
22
|
* Absent on adapters and legacy events that do not report it.
|
|
14
23
|
*/
|
|
15
24
|
export declare const ToolCommandOutcome: z.ZodObject<{
|
|
16
|
-
state: z.ZodEnum<["exited", "timed_out", "backgrounded", "unknown"]>;
|
|
25
|
+
state: z.ZodEnum<["exited", "timed_out", "backgrounded", "completion_reported", "unknown"]>;
|
|
17
26
|
signal: z.ZodOptional<z.ZodString>;
|
|
18
27
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
19
28
|
background_reason: z.ZodOptional<z.ZodEnum<["timeout", "requested"]>>;
|
|
20
29
|
shell_id: z.ZodOptional<z.ZodString>;
|
|
21
30
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
completion_status: z.ZodOptional<z.ZodEnum<["success", "error", "aborted"]>>;
|
|
22
32
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
33
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
24
34
|
signal?: string | undefined;
|
|
25
35
|
timeout_ms?: number | undefined;
|
|
26
36
|
background_reason?: "requested" | "timeout" | undefined;
|
|
27
37
|
shell_id?: string | undefined;
|
|
28
38
|
pid?: number | undefined;
|
|
39
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
29
40
|
}, {
|
|
30
|
-
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
41
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
31
42
|
signal?: string | undefined;
|
|
32
43
|
timeout_ms?: number | undefined;
|
|
33
44
|
background_reason?: "requested" | "timeout" | undefined;
|
|
34
45
|
shell_id?: string | undefined;
|
|
35
46
|
pid?: number | undefined;
|
|
47
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
36
48
|
}>;
|
|
37
49
|
export type ToolCommandOutcome = z.infer<typeof ToolCommandOutcome>;
|
|
50
|
+
/**
|
|
51
|
+
* #546: `payload.code` of the `status` event that refines the command outcome
|
|
52
|
+
* of an earlier tool call (today: Cursor reports the end of a command it had
|
|
53
|
+
* handed to a background shell). Its `tool` names that call by `use_id` and
|
|
54
|
+
* carries the refined `command_outcome`, which replaces the call's handoff
|
|
55
|
+
* facts and keeps them beside the new state. It is only ever
|
|
56
|
+
* `completion_reported` with a defined status: it can never prove an exit,
|
|
57
|
+
* restates or changes no call `status`, carries no exit code, and is never a
|
|
58
|
+
* second result. A reader that does not know the code sees an ordinary status
|
|
59
|
+
* event.
|
|
60
|
+
*/
|
|
61
|
+
export declare const COMMAND_OUTCOME_REFINED = "command_outcome_refined";
|
|
62
|
+
/** The call and refined command facts of a `command_outcome_refined` status
|
|
63
|
+
* event or of its stored `harness.event` payload; null for anything else,
|
|
64
|
+
* including a row that claims an exit or an undefined report. */
|
|
65
|
+
export declare function commandOutcomeRefinement(event: unknown): {
|
|
66
|
+
useId: string;
|
|
67
|
+
outcome: ToolCommandOutcome;
|
|
68
|
+
} | null;
|
|
69
|
+
/**
|
|
70
|
+
* #546: what an attempt keeps of the vendor's reports about commands it had
|
|
71
|
+
* handed to a background shell: the exact call and its refined facts. These are
|
|
72
|
+
* command facts, never tool errors, so no recovery, warning, terminal or ranking
|
|
73
|
+
* policy reads them: a deliberately stopped dev server reports `aborted` and may
|
|
74
|
+
* simply have finished correctly. `recent` is bounded by the writer and `total`
|
|
75
|
+
* keeps the true count.
|
|
76
|
+
*/
|
|
77
|
+
export declare const ReportedCommandOutcomes: z.ZodObject<{
|
|
78
|
+
total: z.ZodNumber;
|
|
79
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
80
|
+
tool: z.ZodString;
|
|
81
|
+
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
tool_use_id: z.ZodString;
|
|
83
|
+
command_outcome: z.ZodObject<{
|
|
84
|
+
state: z.ZodEnum<["exited", "timed_out", "backgrounded", "completion_reported", "unknown"]>;
|
|
85
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
86
|
+
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
background_reason: z.ZodOptional<z.ZodEnum<["timeout", "requested"]>>;
|
|
88
|
+
shell_id: z.ZodOptional<z.ZodString>;
|
|
89
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
completion_status: z.ZodOptional<z.ZodEnum<["success", "error", "aborted"]>>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
93
|
+
signal?: string | undefined;
|
|
94
|
+
timeout_ms?: number | undefined;
|
|
95
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
96
|
+
shell_id?: string | undefined;
|
|
97
|
+
pid?: number | undefined;
|
|
98
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
101
|
+
signal?: string | undefined;
|
|
102
|
+
timeout_ms?: number | undefined;
|
|
103
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
104
|
+
shell_id?: string | undefined;
|
|
105
|
+
pid?: number | undefined;
|
|
106
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
107
|
+
}>;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
tool: string;
|
|
110
|
+
target: string | null;
|
|
111
|
+
tool_use_id: string;
|
|
112
|
+
command_outcome: {
|
|
113
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
114
|
+
signal?: string | undefined;
|
|
115
|
+
timeout_ms?: number | undefined;
|
|
116
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
117
|
+
shell_id?: string | undefined;
|
|
118
|
+
pid?: number | undefined;
|
|
119
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
120
|
+
};
|
|
121
|
+
}, {
|
|
122
|
+
tool: string;
|
|
123
|
+
target?: string | null | undefined;
|
|
124
|
+
tool_use_id: string;
|
|
125
|
+
command_outcome: {
|
|
126
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
127
|
+
signal?: string | undefined;
|
|
128
|
+
timeout_ms?: number | undefined;
|
|
129
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
130
|
+
shell_id?: string | undefined;
|
|
131
|
+
pid?: number | undefined;
|
|
132
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
133
|
+
};
|
|
134
|
+
}>, "many">;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
total: number;
|
|
137
|
+
recent: {
|
|
138
|
+
tool: string;
|
|
139
|
+
target: string | null;
|
|
140
|
+
tool_use_id: string;
|
|
141
|
+
command_outcome: {
|
|
142
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
143
|
+
signal?: string | undefined;
|
|
144
|
+
timeout_ms?: number | undefined;
|
|
145
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
146
|
+
shell_id?: string | undefined;
|
|
147
|
+
pid?: number | undefined;
|
|
148
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
149
|
+
};
|
|
150
|
+
}[];
|
|
151
|
+
}, {
|
|
152
|
+
total: number;
|
|
153
|
+
recent: {
|
|
154
|
+
tool: string;
|
|
155
|
+
target?: string | null | undefined;
|
|
156
|
+
tool_use_id: string;
|
|
157
|
+
command_outcome: {
|
|
158
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
159
|
+
signal?: string | undefined;
|
|
160
|
+
timeout_ms?: number | undefined;
|
|
161
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
162
|
+
shell_id?: string | undefined;
|
|
163
|
+
pid?: number | undefined;
|
|
164
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
165
|
+
};
|
|
166
|
+
}[];
|
|
167
|
+
}>;
|
|
168
|
+
export type ReportedCommandOutcomes = z.infer<typeof ReportedCommandOutcomes>;
|
|
38
169
|
/**
|
|
39
170
|
* Typed tool reference attached to `tool_call` / `tool_result` events.
|
|
40
171
|
* `status` is REQUIRED on `tool_result` events (adapter conformance enforces it);
|
|
@@ -60,39 +191,50 @@ export declare const ToolRef: z.ZodObject<{
|
|
|
60
191
|
content_summary: z.ZodOptional<z.ZodString>;
|
|
61
192
|
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
62
193
|
command_outcome: z.ZodOptional<z.ZodObject<{
|
|
63
|
-
state: z.ZodEnum<["exited", "timed_out", "backgrounded", "unknown"]>;
|
|
194
|
+
state: z.ZodEnum<["exited", "timed_out", "backgrounded", "completion_reported", "unknown"]>;
|
|
64
195
|
signal: z.ZodOptional<z.ZodString>;
|
|
65
196
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
66
197
|
background_reason: z.ZodOptional<z.ZodEnum<["timeout", "requested"]>>;
|
|
67
198
|
shell_id: z.ZodOptional<z.ZodString>;
|
|
68
199
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
200
|
+
completion_status: z.ZodOptional<z.ZodEnum<["success", "error", "aborted"]>>;
|
|
69
201
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
202
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
71
203
|
signal?: string | undefined;
|
|
72
204
|
timeout_ms?: number | undefined;
|
|
73
205
|
background_reason?: "requested" | "timeout" | undefined;
|
|
74
206
|
shell_id?: string | undefined;
|
|
75
207
|
pid?: number | undefined;
|
|
208
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
76
209
|
}, {
|
|
77
|
-
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
210
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
78
211
|
signal?: string | undefined;
|
|
79
212
|
timeout_ms?: number | undefined;
|
|
80
213
|
background_reason?: "requested" | "timeout" | undefined;
|
|
81
214
|
shell_id?: string | undefined;
|
|
82
215
|
pid?: number | undefined;
|
|
216
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
83
217
|
}>>;
|
|
84
218
|
/**
|
|
85
219
|
* QA-042: adapter-stamped RETRIEVAL outcome for a web/browser tool result,
|
|
86
220
|
* distinct from `status` (the tool-call LIFECYCLE). `verified` = the vendor
|
|
87
|
-
* exposed a typed successful retrieval
|
|
88
|
-
* = the
|
|
89
|
-
* (codex `web_search`/`open_page` — a completed item can hide a
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
221
|
+
* exposed a typed successful retrieval, and `web_content` says what it
|
|
222
|
+
* returned; `dispatched` = the call completed but the vendor exposes NO typed
|
|
223
|
+
* fetch outcome (codex `web_search`/`open_page` — a completed item can hide a
|
|
224
|
+
* 502; a Browser page read that got an HTTP error), so the evidence is
|
|
225
|
+
* dispatch-only, not proof of content; `failed` = a typed retrieval failure.
|
|
226
|
+
* Absent on non-web tools, on a Browser call that read no web page (#118),
|
|
227
|
+
* and on adapters that do not stamp it. The engine reads THIS (never prose)
|
|
228
|
+
* to separate "web reached" from "web verified".
|
|
94
229
|
*/
|
|
95
230
|
web_retrieval: z.ZodOptional<z.ZodEnum<["verified", "dispatched", "failed"]>>;
|
|
231
|
+
/**
|
|
232
|
+
* #118: what a `verified` retrieval returned. `page` = a fetched or loaded
|
|
233
|
+
* page (claude WebFetch; a Browser navigation or snapshot of an http(s) page
|
|
234
|
+
* with no HTTP error); `search_results` = the results of a web search
|
|
235
|
+
* (claude WebSearch), which is not a fetched page. Absent otherwise.
|
|
236
|
+
*/
|
|
237
|
+
web_content: z.ZodOptional<z.ZodEnum<["page", "search_results"]>>;
|
|
96
238
|
}, "strip", z.ZodTypeAny, {
|
|
97
239
|
name: string;
|
|
98
240
|
kind: "command" | "file" | "mcp" | "other" | "search" | "web";
|
|
@@ -104,14 +246,16 @@ export declare const ToolRef: z.ZodObject<{
|
|
|
104
246
|
content_summary?: string | undefined;
|
|
105
247
|
exit_code?: number | undefined;
|
|
106
248
|
command_outcome?: {
|
|
107
|
-
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
249
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
108
250
|
signal?: string | undefined;
|
|
109
251
|
timeout_ms?: number | undefined;
|
|
110
252
|
background_reason?: "requested" | "timeout" | undefined;
|
|
111
253
|
shell_id?: string | undefined;
|
|
112
254
|
pid?: number | undefined;
|
|
255
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
113
256
|
} | undefined;
|
|
114
257
|
web_retrieval?: "dispatched" | "failed" | "verified" | undefined;
|
|
258
|
+
web_content?: "page" | "search_results" | undefined;
|
|
115
259
|
}, {
|
|
116
260
|
name: string;
|
|
117
261
|
kind?: "command" | "file" | "mcp" | "other" | "search" | "web" | undefined;
|
|
@@ -123,28 +267,35 @@ export declare const ToolRef: z.ZodObject<{
|
|
|
123
267
|
content_summary?: string | undefined;
|
|
124
268
|
exit_code?: number | undefined;
|
|
125
269
|
command_outcome?: {
|
|
126
|
-
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
270
|
+
state: "backgrounded" | "completion_reported" | "exited" | "timed_out" | "unknown";
|
|
127
271
|
signal?: string | undefined;
|
|
128
272
|
timeout_ms?: number | undefined;
|
|
129
273
|
background_reason?: "requested" | "timeout" | undefined;
|
|
130
274
|
shell_id?: string | undefined;
|
|
131
275
|
pid?: number | undefined;
|
|
276
|
+
completion_status?: "aborted" | "error" | "success" | undefined;
|
|
132
277
|
} | undefined;
|
|
133
278
|
web_retrieval?: "dispatched" | "failed" | "verified" | undefined;
|
|
279
|
+
web_content?: "page" | "search_results" | undefined;
|
|
134
280
|
}>;
|
|
135
281
|
export type ToolRef = z.infer<typeof ToolRef>;
|
|
136
282
|
/**
|
|
137
283
|
* True when a result carries command facts that do not establish an observed
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
284
|
+
* exit: handed to a background shell, timed out, a completion reported
|
|
285
|
+
* without an exit code, or any other state. Such a result never proves the
|
|
286
|
+
* command finished successfully, so it is never a success or a recovery.
|
|
287
|
+
* Absent facts (other adapters, legacy events) keep their existing meaning;
|
|
288
|
+
* an unrecognized value counts as unconfirmed.
|
|
142
289
|
*/
|
|
143
290
|
export declare function commandOutcomeUnconfirmed(value: unknown): boolean;
|
|
144
291
|
/**
|
|
145
292
|
* The one English description of an unconfirmed command outcome (INV-134,
|
|
146
|
-
* INV-141), used by adapter
|
|
147
|
-
*
|
|
293
|
+
* INV-141), used by adapter text, ACP and the continuation packet; the macOS
|
|
294
|
+
* note mirrors it word for word. A handoff says only what was seen: the
|
|
295
|
+
* command went to a background shell and its completion was not observed,
|
|
296
|
+
* never that it is still running. A reported completion leads with the
|
|
297
|
+
* report, keeps the exit code unknown and keeps the handoff as history. Null
|
|
298
|
+
* when nothing needs disclosure: no facts, or an observed exit.
|
|
148
299
|
*/
|
|
149
300
|
export declare function commandOutcomeLabel(value: unknown): string | null;
|
|
150
301
|
//# sourceMappingURL=tool-ref.d.ts.map
|
package/dist/tool-ref.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-ref.d.ts","sourceRoot":"","sources":["../src/tool-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;GAGG;AACH,eAAO,MAAM,QAAQ,iEAIlB,CAAC;AACJ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD
|
|
1
|
+
{"version":3,"file":"tool-ref.d.ts","sourceRoot":"","sources":["../src/tool-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;GAGG;AACH,eAAO,MAAM,QAAQ,iEAIlB,CAAC;AACJ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,4CAIrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAkC4D,CA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