@exaudeus/workrail 3.24.4 → 3.26.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/cli/commands/index.d.ts +6 -0
- package/dist/cli/commands/index.js +14 -1
- package/dist/cli/commands/version.d.ts +6 -0
- package/dist/cli/commands/version.js +14 -0
- package/dist/cli/commands/worktrain-await.d.ts +35 -0
- package/dist/cli/commands/worktrain-await.js +207 -0
- package/dist/cli/commands/worktrain-inbox.d.ts +23 -0
- package/dist/cli/commands/worktrain-inbox.js +82 -0
- package/dist/cli/commands/worktrain-init.d.ts +23 -0
- package/dist/cli/commands/worktrain-init.js +338 -0
- package/dist/cli/commands/worktrain-spawn.d.ts +28 -0
- package/dist/cli/commands/worktrain-spawn.js +106 -0
- package/dist/cli/commands/worktrain-tell.d.ts +25 -0
- package/dist/cli/commands/worktrain-tell.js +32 -0
- package/dist/cli-worktrain.d.ts +2 -0
- package/dist/cli-worktrain.js +169 -0
- package/dist/cli.js +100 -0
- package/dist/config/config-file.d.ts +2 -0
- package/dist/config/config-file.js +55 -0
- package/dist/console/assets/index-8dh0Psu-.css +1 -0
- package/dist/console/assets/{index-TMfptYpQ.js → index-HhtarvD5.js} +10 -10
- package/dist/console/index.html +2 -2
- package/dist/daemon/agent-loop.d.ts +90 -0
- package/dist/daemon/agent-loop.js +214 -0
- package/dist/daemon/pi-mono-loader.d.ts +0 -0
- package/dist/daemon/pi-mono-loader.js +1 -0
- package/dist/daemon/soul-template.d.ts +2 -0
- package/dist/daemon/soul-template.js +22 -0
- package/dist/daemon/workflow-runner.d.ts +63 -0
- package/dist/daemon/workflow-runner.js +689 -0
- package/dist/infrastructure/session/HttpServer.js +2 -2
- package/dist/manifest.json +226 -50
- package/dist/mcp/handlers/v2-execution/start.d.ts +2 -1
- package/dist/mcp/handlers/v2-execution/start.js +4 -3
- package/dist/mcp/output-schemas.d.ts +154 -154
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/transports/bridge-entry.js +20 -2
- package/dist/mcp/transports/bridge-events.d.ts +34 -0
- package/dist/mcp/transports/bridge-events.js +24 -0
- package/dist/mcp/transports/fatal-exit.d.ts +5 -0
- package/dist/mcp/transports/fatal-exit.js +82 -0
- package/dist/mcp/transports/http-entry.js +3 -0
- package/dist/mcp/transports/stdio-entry.js +3 -7
- package/dist/mcp/v2/tools.d.ts +7 -7
- package/dist/trigger/delivery-action.d.ts +37 -0
- package/dist/trigger/delivery-action.js +204 -0
- package/dist/trigger/delivery-client.d.ts +11 -0
- package/dist/trigger/delivery-client.js +27 -0
- package/dist/trigger/index.d.ts +5 -0
- package/dist/trigger/index.js +8 -0
- package/dist/trigger/trigger-listener.d.ts +32 -0
- package/dist/trigger/trigger-listener.js +176 -0
- package/dist/trigger/trigger-router.d.ts +38 -0
- package/dist/trigger/trigger-router.js +343 -0
- package/dist/trigger/trigger-store.d.ts +39 -0
- package/dist/trigger/trigger-store.js +698 -0
- package/dist/trigger/types.d.ts +70 -0
- package/dist/trigger/types.js +10 -0
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +22 -22
- package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +114 -114
- package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +454 -454
- package/dist/v2/durable-core/schemas/session/blockers.d.ts +14 -14
- package/dist/v2/durable-core/schemas/session/events.d.ts +93 -93
- package/dist/v2/durable-core/schemas/session/gaps.d.ts +2 -2
- package/dist/v2/durable-core/schemas/session/validation-event.d.ts +4 -4
- package/dist/v2/infra/in-memory/daemon-registry/index.d.ts +14 -0
- package/dist/v2/infra/in-memory/daemon-registry/index.js +32 -0
- package/dist/v2/infra/in-memory/keyed-async-queue/index.d.ts +5 -0
- package/dist/v2/infra/in-memory/keyed-async-queue/index.js +32 -0
- package/dist/v2/usecases/console-routes.d.ts +3 -1
- package/dist/v2/usecases/console-routes.js +132 -1
- package/dist/v2/usecases/console-service.d.ts +2 -0
- package/dist/v2/usecases/console-service.js +18 -2
- package/dist/v2/usecases/console-types.d.ts +2 -0
- package/package.json +6 -2
- package/spec/workflow-tags.json +1 -0
- package/workflows/classify-task-workflow.json +68 -0
- package/workflows/coding-task-workflow-agentic.lean.v2.json +43 -13
- package/workflows/workflow-for-workflows.json +4 -2
- package/workflows/workflow-for-workflows.v2.json +4 -2
- package/dist/console/assets/index-BXRk3te_.css +0 -1
- package/workflows/rich-object-contribution.json +0 -258
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export type TriggerId = string & {
|
|
2
|
+
readonly _brand: 'TriggerId';
|
|
3
|
+
};
|
|
4
|
+
export declare function asTriggerId(value: string): TriggerId;
|
|
5
|
+
export type WorkspaceName = string & {
|
|
6
|
+
readonly _brand: 'WorkspaceName';
|
|
7
|
+
};
|
|
8
|
+
export declare function asWorkspaceName(value: string): WorkspaceName;
|
|
9
|
+
export interface WorkspaceConfig {
|
|
10
|
+
readonly path: string;
|
|
11
|
+
readonly soulFile?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ContextMappingEntry {
|
|
14
|
+
readonly workflowContextKey: string;
|
|
15
|
+
readonly payloadPath: string;
|
|
16
|
+
readonly required?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface ContextMapping {
|
|
19
|
+
readonly mappings: readonly ContextMappingEntry[];
|
|
20
|
+
}
|
|
21
|
+
export interface GitLabPollingSource {
|
|
22
|
+
readonly baseUrl: string;
|
|
23
|
+
readonly projectId: string;
|
|
24
|
+
readonly token: string;
|
|
25
|
+
readonly events: readonly string[];
|
|
26
|
+
readonly pollIntervalSeconds: number;
|
|
27
|
+
}
|
|
28
|
+
export interface TriggerDefinition {
|
|
29
|
+
readonly id: TriggerId;
|
|
30
|
+
readonly provider: string;
|
|
31
|
+
readonly workflowId: string;
|
|
32
|
+
readonly workspacePath: string;
|
|
33
|
+
readonly goal: string;
|
|
34
|
+
readonly hmacSecret?: string;
|
|
35
|
+
readonly contextMapping?: ContextMapping;
|
|
36
|
+
readonly goalTemplate?: string;
|
|
37
|
+
readonly referenceUrls?: readonly string[];
|
|
38
|
+
readonly agentConfig?: {
|
|
39
|
+
readonly model?: string;
|
|
40
|
+
readonly maxSessionMinutes?: number;
|
|
41
|
+
readonly maxTurns?: number;
|
|
42
|
+
};
|
|
43
|
+
readonly concurrencyMode: 'serial' | 'parallel';
|
|
44
|
+
readonly callbackUrl?: string;
|
|
45
|
+
readonly autoCommit?: boolean;
|
|
46
|
+
readonly autoOpenPR?: boolean;
|
|
47
|
+
readonly onComplete?: {
|
|
48
|
+
readonly runOn: 'success' | 'failure' | 'always';
|
|
49
|
+
readonly workflowId?: string;
|
|
50
|
+
readonly goal?: string;
|
|
51
|
+
};
|
|
52
|
+
readonly pollingSource?: GitLabPollingSource;
|
|
53
|
+
readonly workspaceName?: WorkspaceName;
|
|
54
|
+
readonly soulFile?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface TriggerConfig {
|
|
57
|
+
readonly triggers: readonly TriggerDefinition[];
|
|
58
|
+
}
|
|
59
|
+
export interface TriggerSource {
|
|
60
|
+
readonly triggerId: TriggerId;
|
|
61
|
+
readonly provider: string;
|
|
62
|
+
readonly rawPayload: Readonly<Record<string, unknown>>;
|
|
63
|
+
readonly firedAt: string;
|
|
64
|
+
}
|
|
65
|
+
export interface WebhookEvent {
|
|
66
|
+
readonly triggerId: TriggerId;
|
|
67
|
+
readonly rawBody: Buffer;
|
|
68
|
+
readonly payload: Readonly<Record<string, unknown>>;
|
|
69
|
+
readonly signature?: string;
|
|
70
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.asTriggerId = asTriggerId;
|
|
4
|
+
exports.asWorkspaceName = asWorkspaceName;
|
|
5
|
+
function asTriggerId(value) {
|
|
6
|
+
return value;
|
|
7
|
+
}
|
|
8
|
+
function asWorkspaceName(value) {
|
|
9
|
+
return value;
|
|
10
|
+
}
|
|
@@ -39,11 +39,11 @@ export declare const ContractViolationReasonV1Schema: z.ZodDiscriminatedUnion<"k
|
|
|
39
39
|
kind: z.ZodLiteral<"missing_context_key">;
|
|
40
40
|
key: z.ZodString;
|
|
41
41
|
}, "strict", z.ZodTypeAny, {
|
|
42
|
-
key: string;
|
|
43
42
|
kind: "missing_context_key";
|
|
44
|
-
}, {
|
|
45
43
|
key: string;
|
|
44
|
+
}, {
|
|
46
45
|
kind: "missing_context_key";
|
|
46
|
+
key: string;
|
|
47
47
|
}>, z.ZodObject<{
|
|
48
48
|
kind: z.ZodLiteral<"context_budget_exceeded">;
|
|
49
49
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -151,11 +151,11 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
151
151
|
kind: z.ZodLiteral<"missing_context_key">;
|
|
152
152
|
key: z.ZodString;
|
|
153
153
|
}, "strict", z.ZodTypeAny, {
|
|
154
|
-
key: string;
|
|
155
154
|
kind: "missing_context_key";
|
|
156
|
-
}, {
|
|
157
155
|
key: string;
|
|
156
|
+
}, {
|
|
158
157
|
kind: "missing_context_key";
|
|
158
|
+
key: string;
|
|
159
159
|
}>, z.ZodObject<{
|
|
160
160
|
kind: z.ZodLiteral<"context_budget_exceeded">;
|
|
161
161
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -181,11 +181,11 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
181
181
|
kind: z.ZodLiteral<"context_key">;
|
|
182
182
|
key: z.ZodString;
|
|
183
183
|
}, "strict", z.ZodTypeAny, {
|
|
184
|
-
key: string;
|
|
185
184
|
kind: "context_key";
|
|
186
|
-
}, {
|
|
187
185
|
key: string;
|
|
186
|
+
}, {
|
|
188
187
|
kind: "context_key";
|
|
188
|
+
key: string;
|
|
189
189
|
}>, z.ZodObject<{
|
|
190
190
|
kind: z.ZodLiteral<"context_budget">;
|
|
191
191
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -238,8 +238,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
238
238
|
message: string;
|
|
239
239
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
240
240
|
pointer: {
|
|
241
|
-
key: string;
|
|
242
241
|
kind: "context_key";
|
|
242
|
+
key: string;
|
|
243
243
|
} | {
|
|
244
244
|
kind: "context_budget";
|
|
245
245
|
} | {
|
|
@@ -261,8 +261,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
261
261
|
message: string;
|
|
262
262
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
263
263
|
pointer: {
|
|
264
|
-
key: string;
|
|
265
264
|
kind: "context_key";
|
|
265
|
+
key: string;
|
|
266
266
|
} | {
|
|
267
267
|
kind: "context_budget";
|
|
268
268
|
} | {
|
|
@@ -286,8 +286,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
286
286
|
message: string;
|
|
287
287
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
288
288
|
pointer: {
|
|
289
|
-
key: string;
|
|
290
289
|
kind: "context_key";
|
|
290
|
+
key: string;
|
|
291
291
|
} | {
|
|
292
292
|
kind: "context_budget";
|
|
293
293
|
} | {
|
|
@@ -311,8 +311,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
311
311
|
message: string;
|
|
312
312
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
313
313
|
pointer: {
|
|
314
|
-
key: string;
|
|
315
314
|
kind: "context_key";
|
|
315
|
+
key: string;
|
|
316
316
|
} | {
|
|
317
317
|
kind: "context_budget";
|
|
318
318
|
} | {
|
|
@@ -347,8 +347,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
347
347
|
guidance: string;
|
|
348
348
|
dimensionId: string;
|
|
349
349
|
} | {
|
|
350
|
-
key: string;
|
|
351
350
|
kind: "missing_context_key";
|
|
351
|
+
key: string;
|
|
352
352
|
} | {
|
|
353
353
|
kind: "context_budget_exceeded";
|
|
354
354
|
} | {
|
|
@@ -360,8 +360,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
360
360
|
message: string;
|
|
361
361
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
362
362
|
pointer: {
|
|
363
|
-
key: string;
|
|
364
363
|
kind: "context_key";
|
|
364
|
+
key: string;
|
|
365
365
|
} | {
|
|
366
366
|
kind: "context_budget";
|
|
367
367
|
} | {
|
|
@@ -398,8 +398,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
398
398
|
guidance: string;
|
|
399
399
|
dimensionId: string;
|
|
400
400
|
} | {
|
|
401
|
-
key: string;
|
|
402
401
|
kind: "missing_context_key";
|
|
402
|
+
key: string;
|
|
403
403
|
} | {
|
|
404
404
|
kind: "context_budget_exceeded";
|
|
405
405
|
} | {
|
|
@@ -411,8 +411,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
411
411
|
message: string;
|
|
412
412
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
413
413
|
pointer: {
|
|
414
|
-
key: string;
|
|
415
414
|
kind: "context_key";
|
|
415
|
+
key: string;
|
|
416
416
|
} | {
|
|
417
417
|
kind: "context_budget";
|
|
418
418
|
} | {
|
|
@@ -493,11 +493,11 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
493
493
|
kind: z.ZodLiteral<"context_key">;
|
|
494
494
|
key: z.ZodString;
|
|
495
495
|
}, "strict", z.ZodTypeAny, {
|
|
496
|
-
key: string;
|
|
497
496
|
kind: "context_key";
|
|
498
|
-
}, {
|
|
499
497
|
key: string;
|
|
498
|
+
}, {
|
|
500
499
|
kind: "context_key";
|
|
500
|
+
key: string;
|
|
501
501
|
}>, z.ZodObject<{
|
|
502
502
|
kind: z.ZodLiteral<"context_budget">;
|
|
503
503
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -550,8 +550,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
550
550
|
message: string;
|
|
551
551
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
552
552
|
pointer: {
|
|
553
|
-
key: string;
|
|
554
553
|
kind: "context_key";
|
|
554
|
+
key: string;
|
|
555
555
|
} | {
|
|
556
556
|
kind: "context_budget";
|
|
557
557
|
} | {
|
|
@@ -573,8 +573,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
573
573
|
message: string;
|
|
574
574
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
575
575
|
pointer: {
|
|
576
|
-
key: string;
|
|
577
576
|
kind: "context_key";
|
|
577
|
+
key: string;
|
|
578
578
|
} | {
|
|
579
579
|
kind: "context_budget";
|
|
580
580
|
} | {
|
|
@@ -598,8 +598,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
598
598
|
message: string;
|
|
599
599
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
600
600
|
pointer: {
|
|
601
|
-
key: string;
|
|
602
601
|
kind: "context_key";
|
|
602
|
+
key: string;
|
|
603
603
|
} | {
|
|
604
604
|
kind: "context_budget";
|
|
605
605
|
} | {
|
|
@@ -623,8 +623,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
623
623
|
message: string;
|
|
624
624
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
625
625
|
pointer: {
|
|
626
|
-
key: string;
|
|
627
626
|
kind: "context_key";
|
|
627
|
+
key: string;
|
|
628
628
|
} | {
|
|
629
629
|
kind: "context_budget";
|
|
630
630
|
} | {
|
|
@@ -668,8 +668,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
668
668
|
message: string;
|
|
669
669
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
670
670
|
pointer: {
|
|
671
|
-
key: string;
|
|
672
671
|
kind: "context_key";
|
|
672
|
+
key: string;
|
|
673
673
|
} | {
|
|
674
674
|
kind: "context_budget";
|
|
675
675
|
} | {
|
|
@@ -714,8 +714,8 @@ export declare const BlockedSnapshotV1Schema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
714
714
|
message: string;
|
|
715
715
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
716
716
|
pointer: {
|
|
717
|
-
key: string;
|
|
718
717
|
kind: "context_key";
|
|
718
|
+
key: string;
|
|
719
719
|
} | {
|
|
720
720
|
kind: "context_budget";
|
|
721
721
|
} | {
|