@kya-os/cli 2.0.3 → 2.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/node_modules/@kya-os/contracts/dist/agent-deployment-utils.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.js +1 -1
- package/node_modules/@kya-os/contracts/dist/agent-deployment.d.ts +10 -10
- package/node_modules/@kya-os/contracts/dist/agent-deployment.js +2 -2
- package/node_modules/@kya-os/contracts/dist/agentshield-api/index.d.ts +116 -11
- package/node_modules/@kya-os/contracts/dist/agentshield-api/index.js +38 -40
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-schemas.d.ts +3 -3
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-schemas.js +3 -3
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-types.d.ts +4 -4
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/admin-types.js +10 -0
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/endpoints.d.ts +10 -10
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/endpoints.js +49 -0
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/index.d.ts +15 -0
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/index.js +46 -0
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/schemas.d.ts +10 -10
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/schemas.js +24 -24
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/types.d.ts +27 -27
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/types.js +26 -0
- package/node_modules/@kya-os/contracts/dist/compute.d.ts +5 -5
- package/node_modules/@kya-os/contracts/dist/compute.js +5 -5
- package/node_modules/@kya-os/contracts/dist/config/builder.js +2 -0
- package/node_modules/@kya-os/contracts/dist/config/delegation.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/config/identity.d.ts +4 -4
- package/node_modules/@kya-os/contracts/dist/config/index.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/config/proofing.d.ts +3 -2
- package/node_modules/@kya-os/contracts/dist/config/tool-protection.d.ts +34 -26
- package/node_modules/@kya-os/contracts/dist/consent/schemas.d.ts +5 -5
- package/node_modules/@kya-os/contracts/dist/consent/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/consent/types.d.ts +2 -2
- package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.d.ts +3 -1
- package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.js +3 -1
- package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.d.ts +479 -197
- package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.js +10 -3
- package/node_modules/@kya-os/contracts/dist/dashboard-config/types.d.ts +19 -9
- package/node_modules/@kya-os/contracts/dist/dashboard-config/types.js +2 -2
- package/node_modules/@kya-os/contracts/dist/delegation/schemas.d.ts +19 -19
- package/node_modules/@kya-os/contracts/dist/delegation/schemas.js +4 -4
- package/node_modules/@kya-os/contracts/dist/deploy/index.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/deploy/index.js +1 -1
- package/node_modules/@kya-os/contracts/dist/deploy/schemas.d.ts +7 -7
- package/node_modules/@kya-os/contracts/dist/deploy/schemas.js +3 -3
- package/node_modules/@kya-os/contracts/dist/deploy/types.d.ts +8 -8
- package/node_modules/@kya-os/contracts/dist/deploy/types.js +1 -1
- package/node_modules/@kya-os/contracts/dist/handshake/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/handshake/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/identity/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/identity/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/index.js +1 -1
- package/node_modules/@kya-os/contracts/dist/molti/schemas.d.ts +6 -6
- package/node_modules/@kya-os/contracts/dist/molti/schemas.js +2 -2
- package/node_modules/@kya-os/contracts/dist/molti/types.d.ts +9 -9
- package/node_modules/@kya-os/contracts/dist/molti/types.js +1 -1
- package/node_modules/@kya-os/contracts/dist/policy/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/policy/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/proof/detached-proof.d.ts +3 -3
- package/node_modules/@kya-os/contracts/dist/proof/detached-proof.js +3 -3
- package/node_modules/@kya-os/contracts/dist/skills/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/vault/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/vault/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/well-known/index.d.ts +4 -4
- package/node_modules/@kya-os/contracts/dist/workbench/execution.d.ts +13 -0
- package/node_modules/@kya-os/contracts/dist/workbench/execution.js +12 -1
- package/node_modules/@kya-os/contracts/dist/workbench/governed.d.ts +52 -0
- package/node_modules/@kya-os/contracts/dist/workbench/lead-planner.d.ts +11 -0
- package/node_modules/@kya-os/contracts/dist/workbench/linear-installation.d.ts +29 -0
- package/node_modules/@kya-os/contracts/dist/workbench/mailbox.d.ts +77 -0
- package/node_modules/@kya-os/contracts/dist/workbench/mailbox.js +7 -0
- package/node_modules/@kya-os/contracts/dist/workbench/review.d.ts +9 -0
- package/node_modules/@kya-os/contracts/package.json +5 -1
- package/package.json +6 -6
- package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-types.js +0 -10
- package/node_modules/@kya-os/contracts/dist/agentshield-api/endpoints.js +0 -49
- package/node_modules/@kya-os/contracts/dist/agentshield-api/types.js +0 -26
|
@@ -664,12 +664,12 @@ export declare const MCPServerCardSchema: z.ZodObject<{
|
|
|
664
664
|
} | undefined;
|
|
665
665
|
$schema?: string | undefined;
|
|
666
666
|
description?: string | undefined;
|
|
667
|
+
instructions?: string | undefined;
|
|
667
668
|
_meta?: Record<string, unknown> | undefined;
|
|
668
669
|
authentication?: {
|
|
669
670
|
required: boolean;
|
|
670
671
|
schemes: string[];
|
|
671
672
|
} | undefined;
|
|
672
|
-
instructions?: string | undefined;
|
|
673
673
|
iconUrl?: string | undefined;
|
|
674
674
|
documentationUrl?: string | undefined;
|
|
675
675
|
prompts?: "dynamic" | {
|
|
@@ -730,12 +730,12 @@ export declare const MCPServerCardSchema: z.ZodObject<{
|
|
|
730
730
|
} | undefined;
|
|
731
731
|
$schema?: string | undefined;
|
|
732
732
|
description?: string | undefined;
|
|
733
|
+
instructions?: string | undefined;
|
|
733
734
|
_meta?: Record<string, unknown> | undefined;
|
|
734
735
|
authentication?: {
|
|
735
736
|
required: boolean;
|
|
736
737
|
schemes: string[];
|
|
737
738
|
} | undefined;
|
|
738
|
-
instructions?: string | undefined;
|
|
739
739
|
iconUrl?: string | undefined;
|
|
740
740
|
documentationUrl?: string | undefined;
|
|
741
741
|
prompts?: "dynamic" | {
|
|
@@ -928,8 +928,8 @@ export declare const WellKnownConfigSchema: z.ZodObject<{
|
|
|
928
928
|
metadata?: Record<string, unknown> | undefined;
|
|
929
929
|
protocolVersion?: string | undefined;
|
|
930
930
|
description?: string | undefined;
|
|
931
|
-
serviceEndpoint?: string | undefined;
|
|
932
931
|
instructions?: string | undefined;
|
|
932
|
+
serviceEndpoint?: string | undefined;
|
|
933
933
|
serviceName?: string | undefined;
|
|
934
934
|
iconUrl?: string | undefined;
|
|
935
935
|
documentationUrl?: string | undefined;
|
|
@@ -941,8 +941,8 @@ export declare const WellKnownConfigSchema: z.ZodObject<{
|
|
|
941
941
|
metadata?: Record<string, unknown> | undefined;
|
|
942
942
|
protocolVersion?: string | undefined;
|
|
943
943
|
description?: string | undefined;
|
|
944
|
-
serviceEndpoint?: string | undefined;
|
|
945
944
|
instructions?: string | undefined;
|
|
945
|
+
serviceEndpoint?: string | undefined;
|
|
946
946
|
serviceName?: string | undefined;
|
|
947
947
|
iconUrl?: string | undefined;
|
|
948
948
|
documentationUrl?: string | undefined;
|
|
@@ -368,12 +368,21 @@ export declare const WorkbenchSourceBindingSchema: z.ZodObject<{
|
|
|
368
368
|
inputDigest: string;
|
|
369
369
|
operationId: string;
|
|
370
370
|
}>;
|
|
371
|
+
/** At most 32 KiB of UTF-8, as the Rust manifest bounds it. */
|
|
372
|
+
export declare const WORKBENCH_TASK_INSTRUCTIONS_MAX_BYTES: number;
|
|
373
|
+
/** Trimmed, non-empty and bounded; parsing never rewrites the text a digest covers. */
|
|
374
|
+
export declare const WorkbenchTaskInstructionsSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
371
375
|
/** A specification is data. Receiving this object never authorizes execution. */
|
|
372
376
|
export declare const WorkbenchTaskManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
373
377
|
schemaVersion: z.ZodLiteral<1>;
|
|
374
378
|
taskId: z.ZodString;
|
|
375
379
|
revision: z.ZodNumber;
|
|
376
380
|
objective: z.ZodString;
|
|
381
|
+
/**
|
|
382
|
+
* The operator's free-text instructions beyond the acceptance criteria. They grant no
|
|
383
|
+
* authority. Omitted when absent, so existing manifest digests are unchanged.
|
|
384
|
+
*/
|
|
385
|
+
instructions: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
377
386
|
repository: z.ZodObject<{
|
|
378
387
|
repositoryId: z.ZodString;
|
|
379
388
|
path: z.ZodString;
|
|
@@ -467,6 +476,7 @@ export declare const WorkbenchTaskManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
467
476
|
inputDigest: string;
|
|
468
477
|
operationId: string;
|
|
469
478
|
} | undefined;
|
|
479
|
+
instructions?: string | undefined;
|
|
470
480
|
dependencyBinding?: string | undefined;
|
|
471
481
|
}, {
|
|
472
482
|
taskId: string;
|
|
@@ -498,6 +508,7 @@ export declare const WorkbenchTaskManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
498
508
|
inputDigest: string;
|
|
499
509
|
operationId: string;
|
|
500
510
|
} | undefined;
|
|
511
|
+
instructions?: string | undefined;
|
|
501
512
|
dependencyBinding?: string | undefined;
|
|
502
513
|
}>, {
|
|
503
514
|
taskId: string;
|
|
@@ -529,6 +540,7 @@ export declare const WorkbenchTaskManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
529
540
|
inputDigest: string;
|
|
530
541
|
operationId: string;
|
|
531
542
|
} | undefined;
|
|
543
|
+
instructions?: string | undefined;
|
|
532
544
|
dependencyBinding?: string | undefined;
|
|
533
545
|
}, {
|
|
534
546
|
taskId: string;
|
|
@@ -560,6 +572,7 @@ export declare const WorkbenchTaskManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
560
572
|
inputDigest: string;
|
|
561
573
|
operationId: string;
|
|
562
574
|
} | undefined;
|
|
575
|
+
instructions?: string | undefined;
|
|
563
576
|
dependencyBinding?: string | undefined;
|
|
564
577
|
}>;
|
|
565
578
|
export declare const WorkbenchExecutionLeaseSchema: z.ZodObject<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkbenchExecutionLeaseSchema = exports.WorkbenchTaskManifestSchema = exports.WorkbenchSourceBindingSchema = exports.WorkbenchTaskRoutingSchema = exports.WorkbenchRepositoryBindingSchema = exports.WorkbenchExecutionPolicySchema = exports.WorkbenchExecutionCapabilitiesSchema = void 0;
|
|
3
|
+
exports.WorkbenchExecutionLeaseSchema = exports.WorkbenchTaskManifestSchema = exports.WorkbenchTaskInstructionsSchema = exports.WORKBENCH_TASK_INSTRUCTIONS_MAX_BYTES = exports.WorkbenchSourceBindingSchema = exports.WorkbenchTaskRoutingSchema = exports.WorkbenchRepositoryBindingSchema = exports.WorkbenchExecutionPolicySchema = exports.WorkbenchExecutionCapabilitiesSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const economics_js_1 = require("./economics.js");
|
|
6
6
|
/** A local native sandbox does not establish OS credential or provider isolation. */
|
|
@@ -43,12 +43,23 @@ exports.WorkbenchSourceBindingSchema = zod_1.z.object({
|
|
|
43
43
|
sourceId: zod_1.z.string().min(1), sourceRevision: zod_1.z.number().int().positive(),
|
|
44
44
|
inputDigest: zod_1.z.string().regex(/^sha256:[a-f0-9]{64}$/), operationId: zod_1.z.string().uuid(),
|
|
45
45
|
}).strict();
|
|
46
|
+
/** At most 32 KiB of UTF-8, as the Rust manifest bounds it. */
|
|
47
|
+
exports.WORKBENCH_TASK_INSTRUCTIONS_MAX_BYTES = 32 * 1024;
|
|
48
|
+
/** Trimmed, non-empty and bounded; parsing never rewrites the text a digest covers. */
|
|
49
|
+
exports.WorkbenchTaskInstructionsSchema = zod_1.z.string().min(1)
|
|
50
|
+
.refine(value => value.trim() === value, 'Instructions are trimmed')
|
|
51
|
+
.refine(value => new TextEncoder().encode(value).length <= exports.WORKBENCH_TASK_INSTRUCTIONS_MAX_BYTES, 'Instructions are at most 32 KiB');
|
|
46
52
|
/** A specification is data. Receiving this object never authorizes execution. */
|
|
47
53
|
exports.WorkbenchTaskManifestSchema = zod_1.z.object({
|
|
48
54
|
schemaVersion: zod_1.z.literal(1),
|
|
49
55
|
taskId: zod_1.z.string().trim().min(1).max(256),
|
|
50
56
|
revision: zod_1.z.number().int().positive().max(0xffffffff),
|
|
51
57
|
objective: zod_1.z.string().trim().min(1).max(128000),
|
|
58
|
+
/**
|
|
59
|
+
* The operator's free-text instructions beyond the acceptance criteria. They grant no
|
|
60
|
+
* authority. Omitted when absent, so existing manifest digests are unchanged.
|
|
61
|
+
*/
|
|
62
|
+
instructions: exports.WorkbenchTaskInstructionsSchema.optional(),
|
|
52
63
|
repository: exports.WorkbenchRepositoryBindingSchema,
|
|
53
64
|
source: exports.WorkbenchSourceBindingSchema.optional(),
|
|
54
65
|
/** The reviewed dependency binding a dependent tracker task consumes; part of the manifest digest. */
|
|
@@ -25,18 +25,21 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
25
25
|
}>;
|
|
26
26
|
modelPolicy: z.ZodOptional<z.ZodObject<{
|
|
27
27
|
provider: z.ZodLiteral<"anthropic">;
|
|
28
|
+
credentialId: z.ZodString;
|
|
28
29
|
models: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
29
30
|
maxOutputTokens: z.ZodNumber;
|
|
30
31
|
maxRequestBytes: z.ZodNumber;
|
|
31
32
|
reservedCostMicrousd: z.ZodNumber;
|
|
32
33
|
}, "strict", z.ZodTypeAny, {
|
|
33
34
|
provider: "anthropic";
|
|
35
|
+
credentialId: string;
|
|
34
36
|
models: string[];
|
|
35
37
|
maxOutputTokens: number;
|
|
36
38
|
maxRequestBytes: number;
|
|
37
39
|
reservedCostMicrousd: number;
|
|
38
40
|
}, {
|
|
39
41
|
provider: "anthropic";
|
|
42
|
+
credentialId: string;
|
|
40
43
|
models: string[];
|
|
41
44
|
maxOutputTokens: number;
|
|
42
45
|
maxRequestBytes: number;
|
|
@@ -95,6 +98,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
95
98
|
credentialExport: false;
|
|
96
99
|
modelPolicy?: {
|
|
97
100
|
provider: "anthropic";
|
|
101
|
+
credentialId: string;
|
|
98
102
|
models: string[];
|
|
99
103
|
maxOutputTokens: number;
|
|
100
104
|
maxRequestBytes: number;
|
|
@@ -132,6 +136,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
132
136
|
credentialExport: false;
|
|
133
137
|
modelPolicy?: {
|
|
134
138
|
provider: "anthropic";
|
|
139
|
+
credentialId: string;
|
|
135
140
|
models: string[];
|
|
136
141
|
maxOutputTokens: number;
|
|
137
142
|
maxRequestBytes: number;
|
|
@@ -169,6 +174,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
169
174
|
credentialExport: false;
|
|
170
175
|
modelPolicy?: {
|
|
171
176
|
provider: "anthropic";
|
|
177
|
+
credentialId: string;
|
|
172
178
|
models: string[];
|
|
173
179
|
maxOutputTokens: number;
|
|
174
180
|
maxRequestBytes: number;
|
|
@@ -206,6 +212,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
206
212
|
credentialExport: false;
|
|
207
213
|
modelPolicy?: {
|
|
208
214
|
provider: "anthropic";
|
|
215
|
+
credentialId: string;
|
|
209
216
|
models: string[];
|
|
210
217
|
maxOutputTokens: number;
|
|
211
218
|
maxRequestBytes: number;
|
|
@@ -243,6 +250,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
243
250
|
taskId: z.ZodString;
|
|
244
251
|
revision: z.ZodNumber;
|
|
245
252
|
objective: z.ZodString;
|
|
253
|
+
instructions: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
246
254
|
repository: z.ZodObject<{
|
|
247
255
|
repositoryId: z.ZodString;
|
|
248
256
|
path: z.ZodString;
|
|
@@ -335,6 +343,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
335
343
|
inputDigest: string;
|
|
336
344
|
operationId: string;
|
|
337
345
|
} | undefined;
|
|
346
|
+
instructions?: string | undefined;
|
|
338
347
|
dependencyBinding?: string | undefined;
|
|
339
348
|
}, {
|
|
340
349
|
taskId: string;
|
|
@@ -366,6 +375,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
366
375
|
inputDigest: string;
|
|
367
376
|
operationId: string;
|
|
368
377
|
} | undefined;
|
|
378
|
+
instructions?: string | undefined;
|
|
369
379
|
dependencyBinding?: string | undefined;
|
|
370
380
|
}>, {
|
|
371
381
|
taskId: string;
|
|
@@ -397,6 +407,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
397
407
|
inputDigest: string;
|
|
398
408
|
operationId: string;
|
|
399
409
|
} | undefined;
|
|
410
|
+
instructions?: string | undefined;
|
|
400
411
|
dependencyBinding?: string | undefined;
|
|
401
412
|
}, {
|
|
402
413
|
taskId: string;
|
|
@@ -428,6 +439,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
428
439
|
inputDigest: string;
|
|
429
440
|
operationId: string;
|
|
430
441
|
} | undefined;
|
|
442
|
+
instructions?: string | undefined;
|
|
431
443
|
dependencyBinding?: string | undefined;
|
|
432
444
|
}>;
|
|
433
445
|
manifestDigest: z.ZodString;
|
|
@@ -883,6 +895,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
883
895
|
inputDigest: string;
|
|
884
896
|
operationId: string;
|
|
885
897
|
} | undefined;
|
|
898
|
+
instructions?: string | undefined;
|
|
886
899
|
dependencyBinding?: string | undefined;
|
|
887
900
|
};
|
|
888
901
|
runnerId: string;
|
|
@@ -995,6 +1008,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
995
1008
|
inputDigest: string;
|
|
996
1009
|
operationId: string;
|
|
997
1010
|
} | undefined;
|
|
1011
|
+
instructions?: string | undefined;
|
|
998
1012
|
dependencyBinding?: string | undefined;
|
|
999
1013
|
};
|
|
1000
1014
|
runnerId: string;
|
|
@@ -1107,6 +1121,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1107
1121
|
inputDigest: string;
|
|
1108
1122
|
operationId: string;
|
|
1109
1123
|
} | undefined;
|
|
1124
|
+
instructions?: string | undefined;
|
|
1110
1125
|
dependencyBinding?: string | undefined;
|
|
1111
1126
|
};
|
|
1112
1127
|
runnerId: string;
|
|
@@ -1219,6 +1234,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1219
1234
|
inputDigest: string;
|
|
1220
1235
|
operationId: string;
|
|
1221
1236
|
} | undefined;
|
|
1237
|
+
instructions?: string | undefined;
|
|
1222
1238
|
dependencyBinding?: string | undefined;
|
|
1223
1239
|
};
|
|
1224
1240
|
runnerId: string;
|
|
@@ -1334,6 +1350,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1334
1350
|
inputDigest: string;
|
|
1335
1351
|
operationId: string;
|
|
1336
1352
|
} | undefined;
|
|
1353
|
+
instructions?: string | undefined;
|
|
1337
1354
|
dependencyBinding?: string | undefined;
|
|
1338
1355
|
};
|
|
1339
1356
|
runnerId: string;
|
|
@@ -1387,6 +1404,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1387
1404
|
credentialExport: false;
|
|
1388
1405
|
modelPolicy?: {
|
|
1389
1406
|
provider: "anthropic";
|
|
1407
|
+
credentialId: string;
|
|
1390
1408
|
models: string[];
|
|
1391
1409
|
maxOutputTokens: number;
|
|
1392
1410
|
maxRequestBytes: number;
|
|
@@ -1498,6 +1516,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1498
1516
|
inputDigest: string;
|
|
1499
1517
|
operationId: string;
|
|
1500
1518
|
} | undefined;
|
|
1519
|
+
instructions?: string | undefined;
|
|
1501
1520
|
dependencyBinding?: string | undefined;
|
|
1502
1521
|
};
|
|
1503
1522
|
runnerId: string;
|
|
@@ -1551,6 +1570,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1551
1570
|
credentialExport: false;
|
|
1552
1571
|
modelPolicy?: {
|
|
1553
1572
|
provider: "anthropic";
|
|
1573
|
+
credentialId: string;
|
|
1554
1574
|
models: string[];
|
|
1555
1575
|
maxOutputTokens: number;
|
|
1556
1576
|
maxRequestBytes: number;
|
|
@@ -1662,6 +1682,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1662
1682
|
inputDigest: string;
|
|
1663
1683
|
operationId: string;
|
|
1664
1684
|
} | undefined;
|
|
1685
|
+
instructions?: string | undefined;
|
|
1665
1686
|
dependencyBinding?: string | undefined;
|
|
1666
1687
|
};
|
|
1667
1688
|
runnerId: string;
|
|
@@ -1715,6 +1736,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1715
1736
|
credentialExport: false;
|
|
1716
1737
|
modelPolicy?: {
|
|
1717
1738
|
provider: "anthropic";
|
|
1739
|
+
credentialId: string;
|
|
1718
1740
|
models: string[];
|
|
1719
1741
|
maxOutputTokens: number;
|
|
1720
1742
|
maxRequestBytes: number;
|
|
@@ -1826,6 +1848,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1826
1848
|
inputDigest: string;
|
|
1827
1849
|
operationId: string;
|
|
1828
1850
|
} | undefined;
|
|
1851
|
+
instructions?: string | undefined;
|
|
1829
1852
|
dependencyBinding?: string | undefined;
|
|
1830
1853
|
};
|
|
1831
1854
|
runnerId: string;
|
|
@@ -1879,6 +1902,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1879
1902
|
credentialExport: false;
|
|
1880
1903
|
modelPolicy?: {
|
|
1881
1904
|
provider: "anthropic";
|
|
1905
|
+
credentialId: string;
|
|
1882
1906
|
models: string[];
|
|
1883
1907
|
maxOutputTokens: number;
|
|
1884
1908
|
maxRequestBytes: number;
|
|
@@ -2032,18 +2056,21 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2032
2056
|
}>;
|
|
2033
2057
|
modelPolicy: z.ZodOptional<z.ZodObject<{
|
|
2034
2058
|
provider: z.ZodLiteral<"anthropic">;
|
|
2059
|
+
credentialId: z.ZodString;
|
|
2035
2060
|
models: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
2036
2061
|
maxOutputTokens: z.ZodNumber;
|
|
2037
2062
|
maxRequestBytes: z.ZodNumber;
|
|
2038
2063
|
reservedCostMicrousd: z.ZodNumber;
|
|
2039
2064
|
}, "strict", z.ZodTypeAny, {
|
|
2040
2065
|
provider: "anthropic";
|
|
2066
|
+
credentialId: string;
|
|
2041
2067
|
models: string[];
|
|
2042
2068
|
maxOutputTokens: number;
|
|
2043
2069
|
maxRequestBytes: number;
|
|
2044
2070
|
reservedCostMicrousd: number;
|
|
2045
2071
|
}, {
|
|
2046
2072
|
provider: "anthropic";
|
|
2073
|
+
credentialId: string;
|
|
2047
2074
|
models: string[];
|
|
2048
2075
|
maxOutputTokens: number;
|
|
2049
2076
|
maxRequestBytes: number;
|
|
@@ -2102,6 +2129,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2102
2129
|
credentialExport: false;
|
|
2103
2130
|
modelPolicy?: {
|
|
2104
2131
|
provider: "anthropic";
|
|
2132
|
+
credentialId: string;
|
|
2105
2133
|
models: string[];
|
|
2106
2134
|
maxOutputTokens: number;
|
|
2107
2135
|
maxRequestBytes: number;
|
|
@@ -2139,6 +2167,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2139
2167
|
credentialExport: false;
|
|
2140
2168
|
modelPolicy?: {
|
|
2141
2169
|
provider: "anthropic";
|
|
2170
|
+
credentialId: string;
|
|
2142
2171
|
models: string[];
|
|
2143
2172
|
maxOutputTokens: number;
|
|
2144
2173
|
maxRequestBytes: number;
|
|
@@ -2176,6 +2205,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2176
2205
|
credentialExport: false;
|
|
2177
2206
|
modelPolicy?: {
|
|
2178
2207
|
provider: "anthropic";
|
|
2208
|
+
credentialId: string;
|
|
2179
2209
|
models: string[];
|
|
2180
2210
|
maxOutputTokens: number;
|
|
2181
2211
|
maxRequestBytes: number;
|
|
@@ -2213,6 +2243,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2213
2243
|
credentialExport: false;
|
|
2214
2244
|
modelPolicy?: {
|
|
2215
2245
|
provider: "anthropic";
|
|
2246
|
+
credentialId: string;
|
|
2216
2247
|
models: string[];
|
|
2217
2248
|
maxOutputTokens: number;
|
|
2218
2249
|
maxRequestBytes: number;
|
|
@@ -2250,6 +2281,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2250
2281
|
taskId: z.ZodString;
|
|
2251
2282
|
revision: z.ZodNumber;
|
|
2252
2283
|
objective: z.ZodString;
|
|
2284
|
+
instructions: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2253
2285
|
repository: z.ZodObject<{
|
|
2254
2286
|
repositoryId: z.ZodString;
|
|
2255
2287
|
path: z.ZodString;
|
|
@@ -2342,6 +2374,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2342
2374
|
inputDigest: string;
|
|
2343
2375
|
operationId: string;
|
|
2344
2376
|
} | undefined;
|
|
2377
|
+
instructions?: string | undefined;
|
|
2345
2378
|
dependencyBinding?: string | undefined;
|
|
2346
2379
|
}, {
|
|
2347
2380
|
taskId: string;
|
|
@@ -2373,6 +2406,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2373
2406
|
inputDigest: string;
|
|
2374
2407
|
operationId: string;
|
|
2375
2408
|
} | undefined;
|
|
2409
|
+
instructions?: string | undefined;
|
|
2376
2410
|
dependencyBinding?: string | undefined;
|
|
2377
2411
|
}>, {
|
|
2378
2412
|
taskId: string;
|
|
@@ -2404,6 +2438,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2404
2438
|
inputDigest: string;
|
|
2405
2439
|
operationId: string;
|
|
2406
2440
|
} | undefined;
|
|
2441
|
+
instructions?: string | undefined;
|
|
2407
2442
|
dependencyBinding?: string | undefined;
|
|
2408
2443
|
}, {
|
|
2409
2444
|
taskId: string;
|
|
@@ -2435,6 +2470,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2435
2470
|
inputDigest: string;
|
|
2436
2471
|
operationId: string;
|
|
2437
2472
|
} | undefined;
|
|
2473
|
+
instructions?: string | undefined;
|
|
2438
2474
|
dependencyBinding?: string | undefined;
|
|
2439
2475
|
}>;
|
|
2440
2476
|
manifestDigest: z.ZodString;
|
|
@@ -2890,6 +2926,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
2890
2926
|
inputDigest: string;
|
|
2891
2927
|
operationId: string;
|
|
2892
2928
|
} | undefined;
|
|
2929
|
+
instructions?: string | undefined;
|
|
2893
2930
|
dependencyBinding?: string | undefined;
|
|
2894
2931
|
};
|
|
2895
2932
|
runnerId: string;
|
|
@@ -3002,6 +3039,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3002
3039
|
inputDigest: string;
|
|
3003
3040
|
operationId: string;
|
|
3004
3041
|
} | undefined;
|
|
3042
|
+
instructions?: string | undefined;
|
|
3005
3043
|
dependencyBinding?: string | undefined;
|
|
3006
3044
|
};
|
|
3007
3045
|
runnerId: string;
|
|
@@ -3114,6 +3152,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3114
3152
|
inputDigest: string;
|
|
3115
3153
|
operationId: string;
|
|
3116
3154
|
} | undefined;
|
|
3155
|
+
instructions?: string | undefined;
|
|
3117
3156
|
dependencyBinding?: string | undefined;
|
|
3118
3157
|
};
|
|
3119
3158
|
runnerId: string;
|
|
@@ -3226,6 +3265,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3226
3265
|
inputDigest: string;
|
|
3227
3266
|
operationId: string;
|
|
3228
3267
|
} | undefined;
|
|
3268
|
+
instructions?: string | undefined;
|
|
3229
3269
|
dependencyBinding?: string | undefined;
|
|
3230
3270
|
};
|
|
3231
3271
|
runnerId: string;
|
|
@@ -3341,6 +3381,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3341
3381
|
inputDigest: string;
|
|
3342
3382
|
operationId: string;
|
|
3343
3383
|
} | undefined;
|
|
3384
|
+
instructions?: string | undefined;
|
|
3344
3385
|
dependencyBinding?: string | undefined;
|
|
3345
3386
|
};
|
|
3346
3387
|
runnerId: string;
|
|
@@ -3394,6 +3435,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3394
3435
|
credentialExport: false;
|
|
3395
3436
|
modelPolicy?: {
|
|
3396
3437
|
provider: "anthropic";
|
|
3438
|
+
credentialId: string;
|
|
3397
3439
|
models: string[];
|
|
3398
3440
|
maxOutputTokens: number;
|
|
3399
3441
|
maxRequestBytes: number;
|
|
@@ -3505,6 +3547,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3505
3547
|
inputDigest: string;
|
|
3506
3548
|
operationId: string;
|
|
3507
3549
|
} | undefined;
|
|
3550
|
+
instructions?: string | undefined;
|
|
3508
3551
|
dependencyBinding?: string | undefined;
|
|
3509
3552
|
};
|
|
3510
3553
|
runnerId: string;
|
|
@@ -3558,6 +3601,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3558
3601
|
credentialExport: false;
|
|
3559
3602
|
modelPolicy?: {
|
|
3560
3603
|
provider: "anthropic";
|
|
3604
|
+
credentialId: string;
|
|
3561
3605
|
models: string[];
|
|
3562
3606
|
maxOutputTokens: number;
|
|
3563
3607
|
maxRequestBytes: number;
|
|
@@ -3669,6 +3713,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3669
3713
|
inputDigest: string;
|
|
3670
3714
|
operationId: string;
|
|
3671
3715
|
} | undefined;
|
|
3716
|
+
instructions?: string | undefined;
|
|
3672
3717
|
dependencyBinding?: string | undefined;
|
|
3673
3718
|
};
|
|
3674
3719
|
runnerId: string;
|
|
@@ -3722,6 +3767,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3722
3767
|
credentialExport: false;
|
|
3723
3768
|
modelPolicy?: {
|
|
3724
3769
|
provider: "anthropic";
|
|
3770
|
+
credentialId: string;
|
|
3725
3771
|
models: string[];
|
|
3726
3772
|
maxOutputTokens: number;
|
|
3727
3773
|
maxRequestBytes: number;
|
|
@@ -3833,6 +3879,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3833
3879
|
inputDigest: string;
|
|
3834
3880
|
operationId: string;
|
|
3835
3881
|
} | undefined;
|
|
3882
|
+
instructions?: string | undefined;
|
|
3836
3883
|
dependencyBinding?: string | undefined;
|
|
3837
3884
|
};
|
|
3838
3885
|
runnerId: string;
|
|
@@ -3886,6 +3933,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3886
3933
|
credentialExport: false;
|
|
3887
3934
|
modelPolicy?: {
|
|
3888
3935
|
provider: "anthropic";
|
|
3936
|
+
credentialId: string;
|
|
3889
3937
|
models: string[];
|
|
3890
3938
|
maxOutputTokens: number;
|
|
3891
3939
|
maxRequestBytes: number;
|
|
@@ -4026,6 +4074,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4026
4074
|
inputDigest: string;
|
|
4027
4075
|
operationId: string;
|
|
4028
4076
|
} | undefined;
|
|
4077
|
+
instructions?: string | undefined;
|
|
4029
4078
|
dependencyBinding?: string | undefined;
|
|
4030
4079
|
};
|
|
4031
4080
|
runnerId: string;
|
|
@@ -4079,6 +4128,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4079
4128
|
credentialExport: false;
|
|
4080
4129
|
modelPolicy?: {
|
|
4081
4130
|
provider: "anthropic";
|
|
4131
|
+
credentialId: string;
|
|
4082
4132
|
models: string[];
|
|
4083
4133
|
maxOutputTokens: number;
|
|
4084
4134
|
maxRequestBytes: number;
|
|
@@ -4205,6 +4255,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4205
4255
|
inputDigest: string;
|
|
4206
4256
|
operationId: string;
|
|
4207
4257
|
} | undefined;
|
|
4258
|
+
instructions?: string | undefined;
|
|
4208
4259
|
dependencyBinding?: string | undefined;
|
|
4209
4260
|
};
|
|
4210
4261
|
runnerId: string;
|
|
@@ -4258,6 +4309,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4258
4309
|
credentialExport: false;
|
|
4259
4310
|
modelPolicy?: {
|
|
4260
4311
|
provider: "anthropic";
|
|
4312
|
+
credentialId: string;
|
|
4261
4313
|
models: string[];
|
|
4262
4314
|
maxOutputTokens: number;
|
|
4263
4315
|
maxRequestBytes: number;
|
|
@@ -4932,6 +4932,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
4932
4932
|
taskId: z.ZodString;
|
|
4933
4933
|
revision: z.ZodNumber;
|
|
4934
4934
|
objective: z.ZodString;
|
|
4935
|
+
instructions: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
4935
4936
|
repository: z.ZodObject<{
|
|
4936
4937
|
repositoryId: z.ZodString;
|
|
4937
4938
|
path: z.ZodString;
|
|
@@ -5024,6 +5025,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5024
5025
|
inputDigest: string;
|
|
5025
5026
|
operationId: string;
|
|
5026
5027
|
} | undefined;
|
|
5028
|
+
instructions?: string | undefined;
|
|
5027
5029
|
dependencyBinding?: string | undefined;
|
|
5028
5030
|
}, {
|
|
5029
5031
|
taskId: string;
|
|
@@ -5055,6 +5057,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5055
5057
|
inputDigest: string;
|
|
5056
5058
|
operationId: string;
|
|
5057
5059
|
} | undefined;
|
|
5060
|
+
instructions?: string | undefined;
|
|
5058
5061
|
dependencyBinding?: string | undefined;
|
|
5059
5062
|
}>, {
|
|
5060
5063
|
taskId: string;
|
|
@@ -5086,6 +5089,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5086
5089
|
inputDigest: string;
|
|
5087
5090
|
operationId: string;
|
|
5088
5091
|
} | undefined;
|
|
5092
|
+
instructions?: string | undefined;
|
|
5089
5093
|
dependencyBinding?: string | undefined;
|
|
5090
5094
|
}, {
|
|
5091
5095
|
taskId: string;
|
|
@@ -5117,6 +5121,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5117
5121
|
inputDigest: string;
|
|
5118
5122
|
operationId: string;
|
|
5119
5123
|
} | undefined;
|
|
5124
|
+
instructions?: string | undefined;
|
|
5120
5125
|
dependencyBinding?: string | undefined;
|
|
5121
5126
|
}>;
|
|
5122
5127
|
manifestDigest: z.ZodString;
|
|
@@ -5572,6 +5577,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5572
5577
|
inputDigest: string;
|
|
5573
5578
|
operationId: string;
|
|
5574
5579
|
} | undefined;
|
|
5580
|
+
instructions?: string | undefined;
|
|
5575
5581
|
dependencyBinding?: string | undefined;
|
|
5576
5582
|
};
|
|
5577
5583
|
runnerId: string;
|
|
@@ -5684,6 +5690,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5684
5690
|
inputDigest: string;
|
|
5685
5691
|
operationId: string;
|
|
5686
5692
|
} | undefined;
|
|
5693
|
+
instructions?: string | undefined;
|
|
5687
5694
|
dependencyBinding?: string | undefined;
|
|
5688
5695
|
};
|
|
5689
5696
|
runnerId: string;
|
|
@@ -5796,6 +5803,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5796
5803
|
inputDigest: string;
|
|
5797
5804
|
operationId: string;
|
|
5798
5805
|
} | undefined;
|
|
5806
|
+
instructions?: string | undefined;
|
|
5799
5807
|
dependencyBinding?: string | undefined;
|
|
5800
5808
|
};
|
|
5801
5809
|
runnerId: string;
|
|
@@ -5908,6 +5916,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
5908
5916
|
inputDigest: string;
|
|
5909
5917
|
operationId: string;
|
|
5910
5918
|
} | undefined;
|
|
5919
|
+
instructions?: string | undefined;
|
|
5911
5920
|
dependencyBinding?: string | undefined;
|
|
5912
5921
|
};
|
|
5913
5922
|
runnerId: string;
|
|
@@ -7187,6 +7196,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
7187
7196
|
inputDigest: string;
|
|
7188
7197
|
operationId: string;
|
|
7189
7198
|
} | undefined;
|
|
7199
|
+
instructions?: string | undefined;
|
|
7190
7200
|
dependencyBinding?: string | undefined;
|
|
7191
7201
|
};
|
|
7192
7202
|
runnerId: string;
|
|
@@ -7574,6 +7584,7 @@ export declare const LeadPlanSchema: z.ZodObject<{
|
|
|
7574
7584
|
inputDigest: string;
|
|
7575
7585
|
operationId: string;
|
|
7576
7586
|
} | undefined;
|
|
7587
|
+
instructions?: string | undefined;
|
|
7577
7588
|
dependencyBinding?: string | undefined;
|
|
7578
7589
|
};
|
|
7579
7590
|
runnerId: string;
|