@claudexor/schema 3.8.0 → 3.8.2
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/agent-capabilities.d.ts +16 -16
- package/dist/config.d.ts +20 -20
- package/dist/control-harness-list.d.ts +18 -18
- package/dist/control-operation-responses.d.ts +28 -13
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +61 -46
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +10 -19
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +16 -0
- package/dist/control-run-execution.d.ts.map +1 -0
- package/dist/control-run-execution.js +19 -0
- package/dist/control-run-execution.js.map +1 -0
- package/dist/control-run-failure.d.ts +4 -4
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +6 -4
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-retry.d.ts +21 -0
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +6 -0
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-trust.d.ts +13 -13
- package/dist/control.d.ts +390 -36
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +15 -20
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +78 -36
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +44 -0
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +11 -0
- package/dist/credential-profile.js.map +1 -1
- package/dist/harness-confinement.d.ts +37 -30
- package/dist/harness-confinement.d.ts.map +1 -1
- package/dist/harness-confinement.js +18 -26
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness.d.ts +18 -48
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +1 -6
- package/dist/harness.js.map +1 -1
- package/dist/mcp-run-result.d.ts +10 -10
- package/dist/primitives.d.ts +6 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +8 -2
- package/dist/primitives.js.map +1 -1
- package/dist/readiness.d.ts +14 -14
- package/dist/review.d.ts +10 -0
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +10 -0
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +10 -0
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +10 -0
- package/dist/route.js.map +1 -1
- package/dist/run-strategy.d.ts +51 -3
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +58 -2
- package/dist/run-strategy.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +4 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +641 -19
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +40 -5
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +2 -2
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +5 -3
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +7 -5
- package/dist/thread.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -2
- package/generated/ControlCredentialProfileCreateResponse.schema.json +9 -0
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +9 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +12 -3
- package/generated/ControlCredentialProfilesResponse.schema.json +9 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +12 -3
- package/generated/ControlHarnessListResponse.schema.json +3 -3
- package/generated/ControlRunAgainDraft.schema.json +26 -5
- package/generated/ControlRunDetail.schema.json +29 -9
- package/generated/ControlRunListResponse.schema.json +11 -5
- package/generated/ControlRunStartRequest.schema.json +11 -4
- package/generated/ControlRunSummary.schema.json +11 -5
- package/generated/ControlThread.schema.json +3 -3
- package/generated/ControlThreadCreateRequest.schema.json +0 -1
- package/generated/ControlThreadDetail.schema.json +3 -3
- package/generated/ControlThreadListResponse.schema.json +3 -3
- package/generated/ControlThreadTurnRequest.schema.json +6 -3
- package/generated/ControlThreadUpdateRequest.schema.json +1 -2
- package/generated/ControlTrustListResponse.schema.json +0 -1
- package/generated/ControlTrustState.schema.json +0 -1
- package/generated/ControlTrustUpdateRequest.schema.json +0 -1
- package/generated/CredentialProfileStatus.schema.json +9 -0
- package/generated/HarnessManifest.schema.json +3 -3
- package/generated/HarnessStatusDto.schema.json +3 -3
- package/generated/McpRunHandleResult.schema.json +4 -2
- package/generated/McpRunToolResult.schema.json +4 -2
- package/generated/ReviewFinding.schema.json +14 -0
- package/generated/RouteProof.schema.json +14 -0
- package/generated/RunFailure.schema.json +4 -2
- package/generated/RunTelemetry.schema.json +5 -5
- package/generated/TaskContract.schema.json +8 -8
- package/generated/Thread.schema.json +4 -4
- package/generated/TrustConfig.schema.json +0 -2
- package/package.json +2 -2
package/dist/control.d.ts
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
export { ControlQuotaResponse } from "./quota.js";
|
|
3
|
-
export
|
|
4
|
-
isolation: z.ZodDefault<z.ZodEnum<["envelope", "live"]>>;
|
|
5
|
-
delegated: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
}, "strict", z.ZodTypeAny, {
|
|
7
|
-
isolation: "envelope" | "live";
|
|
8
|
-
delegated: boolean;
|
|
9
|
-
}, {
|
|
10
|
-
isolation?: "envelope" | "live" | undefined;
|
|
11
|
-
delegated?: boolean | undefined;
|
|
12
|
-
}>;
|
|
13
|
-
export type RunExecution = z.infer<typeof RunExecution>;
|
|
3
|
+
export { RunExecution } from "./control-run-execution.js";
|
|
14
4
|
export declare const ControlReviewerPanelEntry: z.ZodObject<{
|
|
15
5
|
/** Explicit reviewer harness id. Repeated harness ids are allowed so one
|
|
16
6
|
* native provider can review through multiple requested models. */
|
|
@@ -19,14 +9,17 @@ export declare const ControlReviewerPanelEntry: z.ZodObject<{
|
|
|
19
9
|
model: z.ZodOptional<z.ZodString>;
|
|
20
10
|
/** Optional per-reviewer effort hint, passed to that harness only. */
|
|
21
11
|
effort: z.ZodOptional<z.ZodString>;
|
|
12
|
+
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
22
13
|
}, "strict", z.ZodTypeAny, {
|
|
23
14
|
harness: string;
|
|
24
15
|
model?: string | undefined;
|
|
25
16
|
effort?: string | undefined;
|
|
17
|
+
credentialProfileId?: string | undefined;
|
|
26
18
|
}, {
|
|
27
19
|
harness: string;
|
|
28
20
|
model?: string | undefined;
|
|
29
21
|
effort?: string | undefined;
|
|
22
|
+
credentialProfileId?: string | undefined;
|
|
30
23
|
}>;
|
|
31
24
|
export type ControlReviewerPanelEntry = z.infer<typeof ControlReviewerPanelEntry>;
|
|
32
25
|
export declare const ControlRunStartRequest: z.ZodObject<{
|
|
@@ -70,12 +63,15 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
70
63
|
execution: z.ZodDefault<z.ZodObject<{
|
|
71
64
|
isolation: z.ZodDefault<z.ZodEnum<["envelope", "live"]>>;
|
|
72
65
|
delegated: z.ZodDefault<z.ZodBoolean>;
|
|
66
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
73
67
|
}, "strict", z.ZodTypeAny, {
|
|
74
68
|
isolation: "envelope" | "live";
|
|
75
69
|
delegated: boolean;
|
|
70
|
+
workspaceRoot?: string | undefined;
|
|
76
71
|
}, {
|
|
77
72
|
isolation?: "envelope" | "live" | undefined;
|
|
78
73
|
delegated?: boolean | undefined;
|
|
74
|
+
workspaceRoot?: string | undefined;
|
|
79
75
|
}>>;
|
|
80
76
|
harnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
77
|
primaryHarness: z.ZodOptional<z.ZodString>;
|
|
@@ -132,7 +128,7 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
132
128
|
maxUsd: number;
|
|
133
129
|
}>]>>;
|
|
134
130
|
/** Requested access profile. Effective access is derived by the engine and never client-supplied. */
|
|
135
|
-
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
131
|
+
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>>;
|
|
136
132
|
web: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
137
133
|
externalContextPolicy: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
138
134
|
/** Opt this run into the agent-driven browser (Playwright MCP). */
|
|
@@ -207,14 +203,17 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
207
203
|
model: z.ZodOptional<z.ZodString>;
|
|
208
204
|
/** Optional per-reviewer effort hint, passed to that harness only. */
|
|
209
205
|
effort: z.ZodOptional<z.ZodString>;
|
|
206
|
+
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
210
207
|
}, "strict", z.ZodTypeAny, {
|
|
211
208
|
harness: string;
|
|
212
209
|
model?: string | undefined;
|
|
213
210
|
effort?: string | undefined;
|
|
211
|
+
credentialProfileId?: string | undefined;
|
|
214
212
|
}, {
|
|
215
213
|
harness: string;
|
|
216
214
|
model?: string | undefined;
|
|
217
215
|
effort?: string | undefined;
|
|
216
|
+
credentialProfileId?: string | undefined;
|
|
218
217
|
}>, "many">>;
|
|
219
218
|
/** Per-run auth route override (subscription/api_key/auto). */
|
|
220
219
|
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
@@ -273,6 +272,7 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
273
272
|
execution: {
|
|
274
273
|
isolation: "envelope" | "live";
|
|
275
274
|
delegated: boolean;
|
|
275
|
+
workspaceRoot?: string | undefined;
|
|
276
276
|
};
|
|
277
277
|
harnesses?: string[] | undefined;
|
|
278
278
|
primaryHarness?: string | undefined;
|
|
@@ -296,7 +296,7 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
296
296
|
kind: "finite";
|
|
297
297
|
maxUsd: number;
|
|
298
298
|
} | undefined;
|
|
299
|
-
access?: "
|
|
299
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
300
300
|
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
301
301
|
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
302
302
|
browser?: boolean | undefined;
|
|
@@ -325,6 +325,7 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
325
325
|
harness: string;
|
|
326
326
|
model?: string | undefined;
|
|
327
327
|
effort?: string | undefined;
|
|
328
|
+
credentialProfileId?: string | undefined;
|
|
328
329
|
}[] | undefined;
|
|
329
330
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
330
331
|
credentialProfileId?: string | null | undefined;
|
|
@@ -351,6 +352,7 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
351
352
|
execution?: {
|
|
352
353
|
isolation?: "envelope" | "live" | undefined;
|
|
353
354
|
delegated?: boolean | undefined;
|
|
355
|
+
workspaceRoot?: string | undefined;
|
|
354
356
|
} | undefined;
|
|
355
357
|
harnesses?: string[] | undefined;
|
|
356
358
|
primaryHarness?: string | undefined;
|
|
@@ -374,7 +376,7 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
374
376
|
kind: "finite";
|
|
375
377
|
maxUsd: number;
|
|
376
378
|
} | undefined;
|
|
377
|
-
access?: "
|
|
379
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
378
380
|
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
379
381
|
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
380
382
|
browser?: boolean | undefined;
|
|
@@ -403,6 +405,7 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
403
405
|
harness: string;
|
|
404
406
|
model?: string | undefined;
|
|
405
407
|
effort?: string | undefined;
|
|
408
|
+
credentialProfileId?: string | undefined;
|
|
406
409
|
}[] | undefined;
|
|
407
410
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
408
411
|
credentialProfileId?: string | null | undefined;
|
|
@@ -413,6 +416,325 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
413
416
|
maxTurns?: number | undefined;
|
|
414
417
|
}>;
|
|
415
418
|
export type ControlRunStartRequest = z.infer<typeof ControlRunStartRequest>;
|
|
419
|
+
/** Bounded decoder for immutable accepted request bodies. Active ingress must
|
|
420
|
+
* continue to parse with ControlRunStartRequest. */
|
|
421
|
+
export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
422
|
+
prompt: z.ZodDefault<z.ZodString>;
|
|
423
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
424
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
425
|
+
resourceId: z.ZodString;
|
|
426
|
+
}, "strict", z.ZodTypeAny, {
|
|
427
|
+
resourceId: string;
|
|
428
|
+
}, {
|
|
429
|
+
resourceId: string;
|
|
430
|
+
}>, "many">>;
|
|
431
|
+
mode: z.ZodDefault<z.ZodEnum<["ask", "plan", "agent"]>>;
|
|
432
|
+
scope: z.ZodDefault<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"project">;
|
|
434
|
+
root: z.ZodString;
|
|
435
|
+
context: z.ZodDefault<z.ZodEnum<["auto"]>>;
|
|
436
|
+
ephemeral: z.ZodDefault<z.ZodBoolean>;
|
|
437
|
+
}, "strict", z.ZodTypeAny, {
|
|
438
|
+
kind: "project";
|
|
439
|
+
root: string;
|
|
440
|
+
context: "auto";
|
|
441
|
+
ephemeral: boolean;
|
|
442
|
+
}, {
|
|
443
|
+
kind: "project";
|
|
444
|
+
root: string;
|
|
445
|
+
context?: "auto" | undefined;
|
|
446
|
+
ephemeral?: boolean | undefined;
|
|
447
|
+
}>, z.ZodObject<{
|
|
448
|
+
kind: z.ZodLiteral<"none">;
|
|
449
|
+
}, "strict", z.ZodTypeAny, {
|
|
450
|
+
kind: "none";
|
|
451
|
+
}, {
|
|
452
|
+
kind: "none";
|
|
453
|
+
}>]>>;
|
|
454
|
+
execution: z.ZodDefault<z.ZodObject<{
|
|
455
|
+
isolation: z.ZodDefault<z.ZodEnum<["envelope", "live"]>>;
|
|
456
|
+
delegated: z.ZodDefault<z.ZodBoolean>;
|
|
457
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
458
|
+
}, "strict", z.ZodTypeAny, {
|
|
459
|
+
isolation: "envelope" | "live";
|
|
460
|
+
delegated: boolean;
|
|
461
|
+
workspaceRoot?: string | undefined;
|
|
462
|
+
}, {
|
|
463
|
+
isolation?: "envelope" | "live" | undefined;
|
|
464
|
+
delegated?: boolean | undefined;
|
|
465
|
+
workspaceRoot?: string | undefined;
|
|
466
|
+
}>>;
|
|
467
|
+
harnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
468
|
+
primaryHarness: z.ZodOptional<z.ZodString>;
|
|
469
|
+
routingGoal: z.ZodOptional<z.ZodEnum<["auto", "quality", "economy"]>>;
|
|
470
|
+
model: z.ZodOptional<z.ZodString>;
|
|
471
|
+
models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
472
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
473
|
+
efforts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
474
|
+
reviewerModels: z.ZodOptional<z.ZodRecord<z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>, z.ZodString>>;
|
|
475
|
+
reviewerEfforts: z.ZodOptional<z.ZodRecord<z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>, z.ZodString>>;
|
|
476
|
+
n: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
attempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
478
|
+
untilClean: z.ZodOptional<z.ZodBoolean>;
|
|
479
|
+
deepScan: z.ZodOptional<z.ZodBoolean>;
|
|
480
|
+
create: z.ZodOptional<z.ZodBoolean>;
|
|
481
|
+
council: z.ZodOptional<z.ZodBoolean>;
|
|
482
|
+
synthesis: z.ZodOptional<z.ZodEnum<["auto", "always", "never"]>>;
|
|
483
|
+
paidBudget: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
484
|
+
kind: z.ZodLiteral<"unlimited">;
|
|
485
|
+
}, "strict", z.ZodTypeAny, {
|
|
486
|
+
kind: "unlimited";
|
|
487
|
+
}, {
|
|
488
|
+
kind: "unlimited";
|
|
489
|
+
}>, z.ZodObject<{
|
|
490
|
+
kind: z.ZodLiteral<"finite">;
|
|
491
|
+
maxUsd: z.ZodNumber;
|
|
492
|
+
}, "strict", z.ZodTypeAny, {
|
|
493
|
+
kind: "finite";
|
|
494
|
+
maxUsd: number;
|
|
495
|
+
}, {
|
|
496
|
+
kind: "finite";
|
|
497
|
+
maxUsd: number;
|
|
498
|
+
}>]>>;
|
|
499
|
+
web: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
500
|
+
externalContextPolicy: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
501
|
+
browser: z.ZodOptional<z.ZodBoolean>;
|
|
502
|
+
tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
503
|
+
program: z.ZodString;
|
|
504
|
+
args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
505
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
506
|
+
envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
507
|
+
}, "strict", z.ZodTypeAny, {
|
|
508
|
+
program: string;
|
|
509
|
+
args: string[];
|
|
510
|
+
cwd?: string | undefined;
|
|
511
|
+
envAllowlist: string[];
|
|
512
|
+
}, {
|
|
513
|
+
program: string;
|
|
514
|
+
args?: string[] | undefined;
|
|
515
|
+
cwd?: string | undefined;
|
|
516
|
+
envAllowlist?: string[] | undefined;
|
|
517
|
+
}>, "many">>;
|
|
518
|
+
protectedPathApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
519
|
+
path: z.ZodString;
|
|
520
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
521
|
+
}, "strict", z.ZodTypeAny, {
|
|
522
|
+
path: string;
|
|
523
|
+
reason?: string | undefined;
|
|
524
|
+
}, {
|
|
525
|
+
path: string;
|
|
526
|
+
reason?: string | undefined;
|
|
527
|
+
}>, "many">>;
|
|
528
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
529
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
530
|
+
parentRunId: z.ZodOptional<z.ZodString>;
|
|
531
|
+
delegatedFromRunId: z.ZodOptional<z.ZodString>;
|
|
532
|
+
retryOf: z.ZodOptional<z.ZodString>;
|
|
533
|
+
planRunId: z.ZodOptional<z.ZodString>;
|
|
534
|
+
planRef: z.ZodOptional<z.ZodObject<{
|
|
535
|
+
runId: z.ZodString;
|
|
536
|
+
sha256: z.ZodString;
|
|
537
|
+
path: z.ZodString;
|
|
538
|
+
}, "strict", z.ZodTypeAny, {
|
|
539
|
+
runId: string;
|
|
540
|
+
sha256: string;
|
|
541
|
+
path: string;
|
|
542
|
+
}, {
|
|
543
|
+
runId: string;
|
|
544
|
+
sha256: string;
|
|
545
|
+
path: string;
|
|
546
|
+
}>>;
|
|
547
|
+
reviewerPanel: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
548
|
+
/** Explicit reviewer harness id. Repeated harness ids are allowed so one
|
|
549
|
+
* native provider can review through multiple requested models. */
|
|
550
|
+
harness: z.ZodString;
|
|
551
|
+
/** Optional per-reviewer model hint, passed to that harness only. */
|
|
552
|
+
model: z.ZodOptional<z.ZodString>;
|
|
553
|
+
/** Optional per-reviewer effort hint, passed to that harness only. */
|
|
554
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
555
|
+
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
556
|
+
}, "strict", z.ZodTypeAny, {
|
|
557
|
+
harness: string;
|
|
558
|
+
model?: string | undefined;
|
|
559
|
+
effort?: string | undefined;
|
|
560
|
+
credentialProfileId?: string | undefined;
|
|
561
|
+
}, {
|
|
562
|
+
harness: string;
|
|
563
|
+
model?: string | undefined;
|
|
564
|
+
effort?: string | undefined;
|
|
565
|
+
credentialProfileId?: string | undefined;
|
|
566
|
+
}>, "many">>;
|
|
567
|
+
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
568
|
+
credentialProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
569
|
+
delegate: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
571
|
+
denyPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
572
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
573
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
} & {
|
|
575
|
+
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>;
|
|
576
|
+
}, "strict", z.ZodTypeAny, {
|
|
577
|
+
prompt: string;
|
|
578
|
+
instructions?: string | undefined;
|
|
579
|
+
attachments?: {
|
|
580
|
+
resourceId: string;
|
|
581
|
+
}[] | undefined;
|
|
582
|
+
mode: "agent" | "ask" | "plan";
|
|
583
|
+
scope: {
|
|
584
|
+
kind: "project";
|
|
585
|
+
root: string;
|
|
586
|
+
context: "auto";
|
|
587
|
+
ephemeral: boolean;
|
|
588
|
+
} | {
|
|
589
|
+
kind: "none";
|
|
590
|
+
};
|
|
591
|
+
execution: {
|
|
592
|
+
isolation: "envelope" | "live";
|
|
593
|
+
delegated: boolean;
|
|
594
|
+
workspaceRoot?: string | undefined;
|
|
595
|
+
};
|
|
596
|
+
harnesses?: string[] | undefined;
|
|
597
|
+
primaryHarness?: string | undefined;
|
|
598
|
+
routingGoal?: "auto" | "economy" | "quality" | undefined;
|
|
599
|
+
model?: string | undefined;
|
|
600
|
+
models?: Record<string, string> | undefined;
|
|
601
|
+
effort?: string | undefined;
|
|
602
|
+
efforts?: Record<string, string> | undefined;
|
|
603
|
+
reviewerModels?: Partial<Record<"anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai", string>> | undefined;
|
|
604
|
+
reviewerEfforts?: Partial<Record<"anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai", string>> | undefined;
|
|
605
|
+
n?: number | undefined;
|
|
606
|
+
attempts?: number | null | undefined;
|
|
607
|
+
untilClean?: boolean | undefined;
|
|
608
|
+
deepScan?: boolean | undefined;
|
|
609
|
+
create?: boolean | undefined;
|
|
610
|
+
council?: boolean | undefined;
|
|
611
|
+
synthesis?: "always" | "auto" | "never" | undefined;
|
|
612
|
+
paidBudget?: {
|
|
613
|
+
kind: "unlimited";
|
|
614
|
+
} | {
|
|
615
|
+
kind: "finite";
|
|
616
|
+
maxUsd: number;
|
|
617
|
+
} | undefined;
|
|
618
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
619
|
+
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
620
|
+
browser?: boolean | undefined;
|
|
621
|
+
tests?: {
|
|
622
|
+
program: string;
|
|
623
|
+
args: string[];
|
|
624
|
+
cwd?: string | undefined;
|
|
625
|
+
envAllowlist: string[];
|
|
626
|
+
}[] | undefined;
|
|
627
|
+
protectedPathApprovals?: {
|
|
628
|
+
path: string;
|
|
629
|
+
reason?: string | undefined;
|
|
630
|
+
}[] | undefined;
|
|
631
|
+
threadId?: string | undefined;
|
|
632
|
+
turnId?: string | undefined;
|
|
633
|
+
parentRunId?: string | undefined;
|
|
634
|
+
delegatedFromRunId?: string | undefined;
|
|
635
|
+
retryOf?: string | undefined;
|
|
636
|
+
planRunId?: string | undefined;
|
|
637
|
+
planRef?: {
|
|
638
|
+
runId: string;
|
|
639
|
+
sha256: string;
|
|
640
|
+
path: string;
|
|
641
|
+
} | undefined;
|
|
642
|
+
reviewerPanel?: {
|
|
643
|
+
harness: string;
|
|
644
|
+
model?: string | undefined;
|
|
645
|
+
effort?: string | undefined;
|
|
646
|
+
credentialProfileId?: string | undefined;
|
|
647
|
+
}[] | undefined;
|
|
648
|
+
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
649
|
+
credentialProfileId?: string | null | undefined;
|
|
650
|
+
delegate?: boolean | undefined;
|
|
651
|
+
maxSeconds?: number | undefined;
|
|
652
|
+
denyPaths?: string[] | undefined;
|
|
653
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
654
|
+
maxTurns?: number | undefined;
|
|
655
|
+
access?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
prompt?: string | undefined;
|
|
658
|
+
instructions?: string | undefined;
|
|
659
|
+
attachments?: {
|
|
660
|
+
resourceId: string;
|
|
661
|
+
}[] | undefined;
|
|
662
|
+
mode?: "agent" | "ask" | "plan" | undefined;
|
|
663
|
+
scope?: {
|
|
664
|
+
kind: "project";
|
|
665
|
+
root: string;
|
|
666
|
+
context?: "auto" | undefined;
|
|
667
|
+
ephemeral?: boolean | undefined;
|
|
668
|
+
} | {
|
|
669
|
+
kind: "none";
|
|
670
|
+
} | undefined;
|
|
671
|
+
execution?: {
|
|
672
|
+
isolation?: "envelope" | "live" | undefined;
|
|
673
|
+
delegated?: boolean | undefined;
|
|
674
|
+
workspaceRoot?: string | undefined;
|
|
675
|
+
} | undefined;
|
|
676
|
+
harnesses?: string[] | undefined;
|
|
677
|
+
primaryHarness?: string | undefined;
|
|
678
|
+
routingGoal?: "auto" | "economy" | "quality" | undefined;
|
|
679
|
+
model?: string | undefined;
|
|
680
|
+
models?: Record<string, string> | undefined;
|
|
681
|
+
effort?: string | undefined;
|
|
682
|
+
efforts?: Record<string, string> | undefined;
|
|
683
|
+
reviewerModels?: Partial<Record<"anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai", string>> | undefined;
|
|
684
|
+
reviewerEfforts?: Partial<Record<"anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai", string>> | undefined;
|
|
685
|
+
n?: number | undefined;
|
|
686
|
+
attempts?: number | null | undefined;
|
|
687
|
+
untilClean?: boolean | undefined;
|
|
688
|
+
deepScan?: boolean | undefined;
|
|
689
|
+
create?: boolean | undefined;
|
|
690
|
+
council?: boolean | undefined;
|
|
691
|
+
synthesis?: "always" | "auto" | "never" | undefined;
|
|
692
|
+
paidBudget?: {
|
|
693
|
+
kind: "unlimited";
|
|
694
|
+
} | {
|
|
695
|
+
kind: "finite";
|
|
696
|
+
maxUsd: number;
|
|
697
|
+
} | undefined;
|
|
698
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
699
|
+
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
700
|
+
browser?: boolean | undefined;
|
|
701
|
+
tests?: {
|
|
702
|
+
program: string;
|
|
703
|
+
args?: string[] | undefined;
|
|
704
|
+
cwd?: string | undefined;
|
|
705
|
+
envAllowlist?: string[] | undefined;
|
|
706
|
+
}[] | undefined;
|
|
707
|
+
protectedPathApprovals?: {
|
|
708
|
+
path: string;
|
|
709
|
+
reason?: string | undefined;
|
|
710
|
+
}[] | undefined;
|
|
711
|
+
threadId?: string | undefined;
|
|
712
|
+
turnId?: string | undefined;
|
|
713
|
+
parentRunId?: string | undefined;
|
|
714
|
+
delegatedFromRunId?: string | undefined;
|
|
715
|
+
retryOf?: string | undefined;
|
|
716
|
+
planRunId?: string | undefined;
|
|
717
|
+
planRef?: {
|
|
718
|
+
runId: string;
|
|
719
|
+
sha256: string;
|
|
720
|
+
path: string;
|
|
721
|
+
} | undefined;
|
|
722
|
+
reviewerPanel?: {
|
|
723
|
+
harness: string;
|
|
724
|
+
model?: string | undefined;
|
|
725
|
+
effort?: string | undefined;
|
|
726
|
+
credentialProfileId?: string | undefined;
|
|
727
|
+
}[] | undefined;
|
|
728
|
+
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
729
|
+
credentialProfileId?: string | null | undefined;
|
|
730
|
+
delegate?: boolean | undefined;
|
|
731
|
+
maxSeconds?: number | undefined;
|
|
732
|
+
denyPaths?: string[] | undefined;
|
|
733
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
734
|
+
maxTurns?: number | undefined;
|
|
735
|
+
access?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
736
|
+
}>;
|
|
737
|
+
export type RecordedControlRunStartRequest = z.infer<typeof RecordedControlRunStartRequest>;
|
|
416
738
|
export declare const ControlRunStartInfo: z.ZodObject<{
|
|
417
739
|
jobId: z.ZodOptional<z.ZodString>;
|
|
418
740
|
runId: z.ZodString;
|
|
@@ -492,12 +814,15 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
492
814
|
execution: z.ZodDefault<z.ZodObject<{
|
|
493
815
|
isolation: z.ZodDefault<z.ZodEnum<["envelope", "live"]>>;
|
|
494
816
|
delegated: z.ZodDefault<z.ZodBoolean>;
|
|
817
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
495
818
|
}, "strict", z.ZodTypeAny, {
|
|
496
819
|
isolation: "envelope" | "live";
|
|
497
820
|
delegated: boolean;
|
|
821
|
+
workspaceRoot?: string | undefined;
|
|
498
822
|
}, {
|
|
499
823
|
isolation?: "envelope" | "live" | undefined;
|
|
500
824
|
delegated?: boolean | undefined;
|
|
825
|
+
workspaceRoot?: string | undefined;
|
|
501
826
|
}>>;
|
|
502
827
|
harnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
503
828
|
primaryHarness: z.ZodOptional<z.ZodString>;
|
|
@@ -554,7 +879,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
554
879
|
maxUsd: number;
|
|
555
880
|
}>]>>;
|
|
556
881
|
/** Requested access profile. Effective access is derived by the engine and never client-supplied. */
|
|
557
|
-
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
882
|
+
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>>;
|
|
558
883
|
web: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
559
884
|
externalContextPolicy: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
560
885
|
/** Opt this run into the agent-driven browser (Playwright MCP). */
|
|
@@ -629,14 +954,17 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
629
954
|
model: z.ZodOptional<z.ZodString>;
|
|
630
955
|
/** Optional per-reviewer effort hint, passed to that harness only. */
|
|
631
956
|
effort: z.ZodOptional<z.ZodString>;
|
|
957
|
+
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
632
958
|
}, "strict", z.ZodTypeAny, {
|
|
633
959
|
harness: string;
|
|
634
960
|
model?: string | undefined;
|
|
635
961
|
effort?: string | undefined;
|
|
962
|
+
credentialProfileId?: string | undefined;
|
|
636
963
|
}, {
|
|
637
964
|
harness: string;
|
|
638
965
|
model?: string | undefined;
|
|
639
966
|
effort?: string | undefined;
|
|
967
|
+
credentialProfileId?: string | undefined;
|
|
640
968
|
}>, "many">>;
|
|
641
969
|
/** Per-run auth route override (subscription/api_key/auto). */
|
|
642
970
|
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
@@ -695,6 +1023,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
695
1023
|
execution: {
|
|
696
1024
|
isolation: "envelope" | "live";
|
|
697
1025
|
delegated: boolean;
|
|
1026
|
+
workspaceRoot?: string | undefined;
|
|
698
1027
|
};
|
|
699
1028
|
harnesses?: string[] | undefined;
|
|
700
1029
|
primaryHarness?: string | undefined;
|
|
@@ -718,7 +1047,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
718
1047
|
kind: "finite";
|
|
719
1048
|
maxUsd: number;
|
|
720
1049
|
} | undefined;
|
|
721
|
-
access?: "
|
|
1050
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
722
1051
|
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
723
1052
|
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
724
1053
|
browser?: boolean | undefined;
|
|
@@ -747,6 +1076,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
747
1076
|
harness: string;
|
|
748
1077
|
model?: string | undefined;
|
|
749
1078
|
effort?: string | undefined;
|
|
1079
|
+
credentialProfileId?: string | undefined;
|
|
750
1080
|
}[] | undefined;
|
|
751
1081
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
752
1082
|
credentialProfileId?: string | null | undefined;
|
|
@@ -773,6 +1103,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
773
1103
|
execution?: {
|
|
774
1104
|
isolation?: "envelope" | "live" | undefined;
|
|
775
1105
|
delegated?: boolean | undefined;
|
|
1106
|
+
workspaceRoot?: string | undefined;
|
|
776
1107
|
} | undefined;
|
|
777
1108
|
harnesses?: string[] | undefined;
|
|
778
1109
|
primaryHarness?: string | undefined;
|
|
@@ -796,7 +1127,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
796
1127
|
kind: "finite";
|
|
797
1128
|
maxUsd: number;
|
|
798
1129
|
} | undefined;
|
|
799
|
-
access?: "
|
|
1130
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
800
1131
|
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
801
1132
|
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
802
1133
|
browser?: boolean | undefined;
|
|
@@ -825,6 +1156,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
825
1156
|
harness: string;
|
|
826
1157
|
model?: string | undefined;
|
|
827
1158
|
effort?: string | undefined;
|
|
1159
|
+
credentialProfileId?: string | undefined;
|
|
828
1160
|
}[] | undefined;
|
|
829
1161
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
830
1162
|
credentialProfileId?: string | null | undefined;
|
|
@@ -834,6 +1166,13 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
834
1166
|
outputSchema?: Record<string, unknown> | undefined;
|
|
835
1167
|
maxTurns?: number | undefined;
|
|
836
1168
|
}>;
|
|
1169
|
+
accessChoice: z.ZodObject<{
|
|
1170
|
+
required: z.ZodBoolean;
|
|
1171
|
+
}, "strict", z.ZodTypeAny, {
|
|
1172
|
+
required: boolean;
|
|
1173
|
+
}, {
|
|
1174
|
+
required: boolean;
|
|
1175
|
+
}>;
|
|
837
1176
|
differences: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
838
1177
|
field: z.ZodString;
|
|
839
1178
|
change: z.ZodLiteral<"omitted">;
|
|
@@ -867,6 +1206,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
867
1206
|
execution: {
|
|
868
1207
|
isolation: "envelope" | "live";
|
|
869
1208
|
delegated: boolean;
|
|
1209
|
+
workspaceRoot?: string | undefined;
|
|
870
1210
|
};
|
|
871
1211
|
harnesses?: string[] | undefined;
|
|
872
1212
|
primaryHarness?: string | undefined;
|
|
@@ -890,7 +1230,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
890
1230
|
kind: "finite";
|
|
891
1231
|
maxUsd: number;
|
|
892
1232
|
} | undefined;
|
|
893
|
-
access?: "
|
|
1233
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
894
1234
|
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
895
1235
|
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
896
1236
|
browser?: boolean | undefined;
|
|
@@ -919,6 +1259,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
919
1259
|
harness: string;
|
|
920
1260
|
model?: string | undefined;
|
|
921
1261
|
effort?: string | undefined;
|
|
1262
|
+
credentialProfileId?: string | undefined;
|
|
922
1263
|
}[] | undefined;
|
|
923
1264
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
924
1265
|
credentialProfileId?: string | null | undefined;
|
|
@@ -928,6 +1269,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
928
1269
|
outputSchema?: Record<string, unknown> | undefined;
|
|
929
1270
|
maxTurns?: number | undefined;
|
|
930
1271
|
};
|
|
1272
|
+
accessChoice: {
|
|
1273
|
+
required: boolean;
|
|
1274
|
+
};
|
|
931
1275
|
differences: {
|
|
932
1276
|
field: string;
|
|
933
1277
|
change: "omitted";
|
|
@@ -953,6 +1297,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
953
1297
|
execution?: {
|
|
954
1298
|
isolation?: "envelope" | "live" | undefined;
|
|
955
1299
|
delegated?: boolean | undefined;
|
|
1300
|
+
workspaceRoot?: string | undefined;
|
|
956
1301
|
} | undefined;
|
|
957
1302
|
harnesses?: string[] | undefined;
|
|
958
1303
|
primaryHarness?: string | undefined;
|
|
@@ -976,7 +1321,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
976
1321
|
kind: "finite";
|
|
977
1322
|
maxUsd: number;
|
|
978
1323
|
} | undefined;
|
|
979
|
-
access?: "
|
|
1324
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
980
1325
|
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
981
1326
|
externalContextPolicy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
982
1327
|
browser?: boolean | undefined;
|
|
@@ -1005,6 +1350,7 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1005
1350
|
harness: string;
|
|
1006
1351
|
model?: string | undefined;
|
|
1007
1352
|
effort?: string | undefined;
|
|
1353
|
+
credentialProfileId?: string | undefined;
|
|
1008
1354
|
}[] | undefined;
|
|
1009
1355
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1010
1356
|
credentialProfileId?: string | null | undefined;
|
|
@@ -1014,6 +1360,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1014
1360
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1015
1361
|
maxTurns?: number | undefined;
|
|
1016
1362
|
};
|
|
1363
|
+
accessChoice: {
|
|
1364
|
+
required: boolean;
|
|
1365
|
+
};
|
|
1017
1366
|
differences?: {
|
|
1018
1367
|
field: string;
|
|
1019
1368
|
change: "omitted";
|
|
@@ -1251,7 +1600,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1251
1600
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1252
1601
|
phase: z.ZodDefault<z.ZodString>;
|
|
1253
1602
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
1254
|
-
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete"]>>>;
|
|
1603
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
1255
1604
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1256
1605
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1257
1606
|
safeMessage: z.ZodString;
|
|
@@ -1264,7 +1613,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1264
1613
|
}, "strip", z.ZodTypeAny, {
|
|
1265
1614
|
phase: string;
|
|
1266
1615
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1267
|
-
code: "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
1616
|
+
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
1268
1617
|
harnessId: string | null;
|
|
1269
1618
|
attemptId: string | null;
|
|
1270
1619
|
safeMessage: string;
|
|
@@ -1277,7 +1626,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1277
1626
|
}, {
|
|
1278
1627
|
phase?: string | undefined;
|
|
1279
1628
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1280
|
-
code?: "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
1629
|
+
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
1281
1630
|
harnessId?: string | null | undefined;
|
|
1282
1631
|
attemptId?: string | null | undefined;
|
|
1283
1632
|
safeMessage: string;
|
|
@@ -1320,14 +1669,17 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1320
1669
|
model: z.ZodOptional<z.ZodString>;
|
|
1321
1670
|
/** Optional per-reviewer effort hint, passed to that harness only. */
|
|
1322
1671
|
effort: z.ZodOptional<z.ZodString>;
|
|
1672
|
+
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
1323
1673
|
}, "strict", z.ZodTypeAny, {
|
|
1324
1674
|
harness: string;
|
|
1325
1675
|
model?: string | undefined;
|
|
1326
1676
|
effort?: string | undefined;
|
|
1677
|
+
credentialProfileId?: string | undefined;
|
|
1327
1678
|
}, {
|
|
1328
1679
|
harness: string;
|
|
1329
1680
|
model?: string | undefined;
|
|
1330
1681
|
effort?: string | undefined;
|
|
1682
|
+
credentialProfileId?: string | undefined;
|
|
1331
1683
|
}>, "many">>;
|
|
1332
1684
|
protectedPathApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1333
1685
|
path: z.ZodString;
|
|
@@ -1416,9 +1768,9 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1416
1768
|
observed: string;
|
|
1417
1769
|
} | null | undefined;
|
|
1418
1770
|
}>>>;
|
|
1419
|
-
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
1420
|
-
requestedAccess: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
1421
|
-
effectiveAccess: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
1771
|
+
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>;
|
|
1772
|
+
requestedAccess: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>;
|
|
1773
|
+
effectiveAccess: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>;
|
|
1422
1774
|
externalContextPolicy: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1423
1775
|
webRequired: z.ZodOptional<z.ZodBoolean>;
|
|
1424
1776
|
webMode: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
@@ -1730,7 +2082,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1730
2082
|
failure: {
|
|
1731
2083
|
phase: string;
|
|
1732
2084
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1733
|
-
code: "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
2085
|
+
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
1734
2086
|
harnessId: string | null;
|
|
1735
2087
|
attemptId: string | null;
|
|
1736
2088
|
safeMessage: string;
|
|
@@ -1758,6 +2110,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1758
2110
|
harness: string;
|
|
1759
2111
|
model?: string | undefined;
|
|
1760
2112
|
effort?: string | undefined;
|
|
2113
|
+
credentialProfileId?: string | undefined;
|
|
1761
2114
|
}[] | undefined;
|
|
1762
2115
|
protectedPathApprovals?: {
|
|
1763
2116
|
path: string;
|
|
@@ -1899,7 +2252,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1899
2252
|
failure?: {
|
|
1900
2253
|
phase?: string | undefined;
|
|
1901
2254
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1902
|
-
code?: "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
2255
|
+
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
1903
2256
|
harnessId?: string | null | undefined;
|
|
1904
2257
|
attemptId?: string | null | undefined;
|
|
1905
2258
|
safeMessage: string;
|
|
@@ -1927,6 +2280,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1927
2280
|
harness: string;
|
|
1928
2281
|
model?: string | undefined;
|
|
1929
2282
|
effort?: string | undefined;
|
|
2283
|
+
credentialProfileId?: string | undefined;
|
|
1930
2284
|
}[] | undefined;
|
|
1931
2285
|
protectedPathApprovals?: {
|
|
1932
2286
|
path: string;
|
|
@@ -2591,7 +2945,7 @@ export declare const ControlThread: z.ZodObject<{
|
|
|
2591
2945
|
* create/PATCH, so the projection must report it back (round-15 #3). */
|
|
2592
2946
|
credentialProfileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2593
2947
|
/** Sticky write scope for write turns (D26); null = repo trust default. */
|
|
2594
|
-
access: z.ZodDefault<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
2948
|
+
access: z.ZodDefault<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>>;
|
|
2595
2949
|
state: z.ZodDefault<z.ZodEnum<["active", "closed", "trashed", "purged"]>>;
|
|
2596
2950
|
trashedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2597
2951
|
purgeAfter: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -3479,7 +3833,7 @@ export declare const ControlThreadCreateRequest: z.ZodObject<{
|
|
|
3479
3833
|
primaryHarness: z.ZodOptional<z.ZodString>;
|
|
3480
3834
|
/** Sticky eligible pool for the thread; turns inherit it when unset. */
|
|
3481
3835
|
eligibleHarnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3482
|
-
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
3836
|
+
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>>;
|
|
3483
3837
|
}, "strict", z.ZodTypeAny, {
|
|
3484
3838
|
title?: string | undefined;
|
|
3485
3839
|
scope: {
|
|
@@ -3496,7 +3850,7 @@ export declare const ControlThreadCreateRequest: z.ZodObject<{
|
|
|
3496
3850
|
credentialProfileId?: string | undefined;
|
|
3497
3851
|
primaryHarness?: string | undefined;
|
|
3498
3852
|
eligibleHarnesses?: string[] | undefined;
|
|
3499
|
-
access?: "
|
|
3853
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
3500
3854
|
}, {
|
|
3501
3855
|
title?: string | undefined;
|
|
3502
3856
|
scope?: {
|
|
@@ -3513,7 +3867,7 @@ export declare const ControlThreadCreateRequest: z.ZodObject<{
|
|
|
3513
3867
|
credentialProfileId?: string | undefined;
|
|
3514
3868
|
primaryHarness?: string | undefined;
|
|
3515
3869
|
eligibleHarnesses?: string[] | undefined;
|
|
3516
|
-
access?: "
|
|
3870
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
3517
3871
|
}>;
|
|
3518
3872
|
export type ControlThreadCreateRequest = z.infer<typeof ControlThreadCreateRequest>;
|
|
3519
3873
|
/** Mutate a thread's title, open/closed state, or sticky routing (rename,
|
|
@@ -3524,21 +3878,21 @@ export declare const ControlThreadUpdateRequest: z.ZodObject<{
|
|
|
3524
3878
|
primaryHarness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3525
3879
|
credentialProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3526
3880
|
eligibleHarnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3527
|
-
access: z.ZodOptional<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
3881
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>>>;
|
|
3528
3882
|
}, "strict", z.ZodTypeAny, {
|
|
3529
3883
|
title?: string | undefined;
|
|
3530
3884
|
state?: "active" | "closed" | undefined;
|
|
3531
3885
|
primaryHarness?: string | null | undefined;
|
|
3532
3886
|
credentialProfileId?: string | null | undefined;
|
|
3533
3887
|
eligibleHarnesses?: string[] | undefined;
|
|
3534
|
-
access?: "
|
|
3888
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | null | undefined;
|
|
3535
3889
|
}, {
|
|
3536
3890
|
title?: string | undefined;
|
|
3537
3891
|
state?: "active" | "closed" | undefined;
|
|
3538
3892
|
primaryHarness?: string | null | undefined;
|
|
3539
3893
|
credentialProfileId?: string | null | undefined;
|
|
3540
3894
|
eligibleHarnesses?: string[] | undefined;
|
|
3541
|
-
access?: "
|
|
3895
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | null | undefined;
|
|
3542
3896
|
}>;
|
|
3543
3897
|
export type ControlThreadUpdateRequest = z.infer<typeof ControlThreadUpdateRequest>;
|
|
3544
3898
|
/** A registered project skipped during thread listing because its root is no
|
|
@@ -3577,7 +3931,7 @@ export declare const ControlThreadListResponse: z.ZodObject<{
|
|
|
3577
3931
|
* create/PATCH, so the projection must report it back (round-15 #3). */
|
|
3578
3932
|
credentialProfileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3579
3933
|
/** Sticky write scope for write turns (D26); null = repo trust default. */
|
|
3580
|
-
access: z.ZodDefault<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
3934
|
+
access: z.ZodDefault<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>>;
|
|
3581
3935
|
state: z.ZodDefault<z.ZodEnum<["active", "closed", "trashed", "purged"]>>;
|
|
3582
3936
|
trashedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3583
3937
|
purgeAfter: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -3714,7 +4068,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
3714
4068
|
* create/PATCH, so the projection must report it back (round-15 #3). */
|
|
3715
4069
|
credentialProfileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3716
4070
|
/** Sticky write scope for write turns (D26); null = repo trust default. */
|
|
3717
|
-
access: z.ZodDefault<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
4071
|
+
access: z.ZodDefault<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>>;
|
|
3718
4072
|
state: z.ZodDefault<z.ZodEnum<["active", "closed", "trashed", "purged"]>>;
|
|
3719
4073
|
trashedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3720
4074
|
purgeAfter: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|