@claudexor/schema 3.1.1 → 3.2.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/agent-capabilities.d.ts +232 -116
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +8 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +513 -222
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +42 -2
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +17 -17
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +1 -1
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +475 -475
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +1 -1
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +61 -61
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +3 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +320 -316
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +26 -19
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +38 -38
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/control-auth-route.d.ts +46 -0
- package/dist/control-auth-route.d.ts.map +1 -0
- package/dist/control-auth-route.js +24 -0
- package/dist/control-auth-route.js.map +1 -0
- package/dist/control-gc.d.ts +15 -15
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +1 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-harness-list.d.ts +896 -0
- package/dist/control-harness-list.d.ts.map +1 -0
- package/dist/control-harness-list.js +13 -0
- package/dist/control-harness-list.js.map +1 -0
- package/dist/control-operation-responses.d.ts +691 -590
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +27 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +2663 -920
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +13 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +18 -18
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +1 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-run-scope.d.ts +2 -2
- package/dist/control-run-scope.d.ts.map +1 -1
- package/dist/control-run-scope.js +1 -1
- package/dist/control-run-scope.js.map +1 -1
- package/dist/control-secret.d.ts +7 -7
- package/dist/control-secret.d.ts.map +1 -1
- package/dist/control-secret.js +1 -1
- package/dist/control-secret.js.map +1 -1
- package/dist/control-thread-apply.d.ts +65 -65
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-thread-apply.js +1 -1
- package/dist/control-thread-apply.js.map +1 -1
- package/dist/control-trust.d.ts +23 -23
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +1 -1
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1658 -2225
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +43 -73
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +3185 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -0
- package/dist/credential-profile-snapshot.js +28 -0
- package/dist/credential-profile-snapshot.js.map +1 -0
- package/dist/credential-profile.d.ts +122 -107
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +12 -6
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +122 -117
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +9 -4
- package/dist/decision.js.map +1 -1
- package/dist/deep-scan.d.ts +5 -5
- package/dist/deep-scan.d.ts.map +1 -1
- package/dist/deep-scan.js +1 -1
- package/dist/deep-scan.js.map +1 -1
- package/dist/delegation.d.ts +73 -0
- package/dist/delegation.d.ts.map +1 -0
- package/dist/delegation.js +120 -0
- package/dist/delegation.js.map +1 -0
- package/dist/delivery.d.ts +32 -32
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/effort.d.ts +1 -1
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +1 -1
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +57 -37
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +23 -1
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +7 -7
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +1 -1
- package/dist/gate.js.map +1 -1
- package/dist/git-capability.d.ts +23 -0
- package/dist/git-capability.d.ts.map +1 -0
- package/dist/git-capability.js +15 -0
- package/dist/git-capability.js.map +1 -0
- package/dist/harness.d.ts +409 -409
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +19 -22
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/interaction.d.ts +10 -0
- package/dist/interaction.d.ts.map +1 -0
- package/dist/interaction.js +2 -0
- package/dist/interaction.js.map +1 -0
- package/dist/operation.d.ts +113 -113
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/output-schema-dialect.d.ts +1 -1
- package/dist/output-schema-dialect.d.ts.map +1 -1
- package/dist/output-schema-dialect.js +1 -1
- package/dist/output-schema-dialect.js.map +1 -1
- package/dist/output-schema.d.ts +2 -2
- package/dist/output-schema.js +2 -2
- package/dist/plan.d.ts +29 -29
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +1 -1
- package/dist/plan.js.map +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +1 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +6 -6
- package/dist/problem.d.ts.map +1 -1
- package/dist/problem.js +1 -1
- package/dist/problem.js.map +1 -1
- package/dist/project.d.ts +87 -25
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +21 -1
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +48 -48
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +1 -1
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +16 -16
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +1 -1
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +264 -226
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +5 -1
- package/dist/readiness.js.map +1 -1
- package/dist/recovery.d.ts +106 -106
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +1 -1
- package/dist/recovery.js.map +1 -1
- package/dist/request-requirements.d.ts +12 -12
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +3 -2
- package/dist/request-requirements.js.map +1 -1
- package/dist/review.d.ts +29 -29
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +1 -1
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +11 -11
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +1 -1
- package/dist/route.js.map +1 -1
- package/dist/run-applicability.d.ts +764 -0
- package/dist/run-applicability.d.ts.map +1 -0
- package/dist/run-applicability.js +56 -0
- package/dist/run-applicability.js.map +1 -0
- package/dist/run-facts.d.ts +628 -0
- package/dist/run-facts.d.ts.map +1 -0
- package/dist/run-facts.js +429 -0
- package/dist/run-facts.js.map +1 -0
- package/dist/run-strategy.d.ts +40 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +68 -1
- package/dist/run-strategy.js.map +1 -1
- package/dist/setup-device-code-envelope.d.ts +67 -0
- package/dist/setup-device-code-envelope.d.ts.map +1 -0
- package/dist/setup-device-code-envelope.js +25 -0
- package/dist/setup-device-code-envelope.js.map +1 -0
- package/dist/setup-login-protocol.d.ts +6 -0
- package/dist/setup-login-protocol.d.ts.map +1 -0
- package/dist/setup-login-protocol.js +12 -0
- package/dist/setup-login-protocol.js.map +1 -0
- package/dist/setup-transport.d.ts +12 -0
- package/dist/setup-transport.d.ts.map +1 -0
- package/dist/setup-transport.js +22 -0
- package/dist/setup-transport.js.map +1 -0
- package/dist/setup.d.ts +12572 -3749
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +34 -38
- package/dist/setup.js.map +1 -1
- package/dist/status-projection.d.ts +7 -5
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +11 -6
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +10 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +331 -289
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +12 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +1189 -627
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +13 -13
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +128 -84
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +16 -2
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +7 -7
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +1 -1
- package/dist/tool-ref.js.map +1 -1
- package/dist/work-report.d.ts +28 -28
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +3 -3
- package/dist/work-report.js.map +1 -1
- package/dist/workproduct.d.ts +6 -9
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +1 -2
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +14 -14
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +8 -8
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +80 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +1333 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +10 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1312 -0
- package/generated/ControlDirectoryEntry.schema.json +36 -0
- package/generated/ControlDirectoryListing.schema.json +77 -0
- package/generated/ControlHarnessListResponse.schema.json +89 -3
- package/generated/ControlRunAgainDraft.schema.json +7 -3
- package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
- package/generated/ControlRunControlResponse.schema.json +8 -0
- package/generated/ControlRunDetail.schema.json +543 -80
- package/generated/ControlRunListResponse.schema.json +104 -11
- package/generated/ControlRunStartRequest.schema.json +7 -3
- package/generated/ControlRunSummary.schema.json +104 -11
- package/generated/ControlSettingsSnapshot.schema.json +12 -3
- package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
- package/generated/ControlSetupJob.schema.json +9 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
- package/generated/ControlSetupJobEvent.schema.json +858 -758
- package/generated/ControlSetupJobListResponse.schema.json +9 -0
- package/generated/ControlSetupJobSnapshot.schema.json +811 -736
- package/generated/ControlThreadDetail.schema.json +83 -1
- package/generated/ControlThreadTurnRequest.schema.json +2 -25
- package/generated/DecisionRecord.schema.json +12 -2
- package/generated/GitCapability.schema.json +46 -0
- package/generated/GlobalConfig.schema.json +13 -4
- package/generated/HarnessEvent.schema.json +2 -1
- package/generated/HarnessManifest.schema.json +3 -3
- package/generated/HarnessStatusDto.schema.json +49 -3
- package/generated/McpRunHandleResult.schema.json +237 -2
- package/generated/McpRunToolResult.schema.json +234 -1
- package/generated/OutputReadyPayload.schema.json +44 -0
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFacts.schema.json +569 -0
- package/generated/RunFailure.schema.json +4 -3
- package/generated/RunTelemetry.schema.json +553 -4
- package/generated/TaskContract.schema.json +43 -3
- package/generated/ThreadTurn.schema.json +17 -0
- package/generated/WorkProduct.schema.json +0 -4
- package/generated/WorkspaceEnvelope.schema.json +6 -6
- package/package.json +3 -3
package/dist/task.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "zod/v3";
|
|
2
2
|
export declare const TestCommandInvocation: z.ZodObject<{
|
|
3
3
|
program: z.ZodString;
|
|
4
4
|
args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5
5
|
cwd: z.ZodOptional<z.ZodString>;
|
|
6
6
|
envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
7
7
|
}, "strict", z.ZodTypeAny, {
|
|
8
|
-
args: string[];
|
|
9
8
|
program: string;
|
|
10
|
-
|
|
9
|
+
args: string[];
|
|
11
10
|
cwd?: string | undefined;
|
|
11
|
+
envAllowlist: string[];
|
|
12
12
|
}, {
|
|
13
13
|
program: string;
|
|
14
14
|
args?: string[] | undefined;
|
|
@@ -33,16 +33,16 @@ export declare const TestCommandGrant: z.ZodObject<{
|
|
|
33
33
|
executableDigest: string;
|
|
34
34
|
scriptPath: string | null;
|
|
35
35
|
scriptDigest: string | null;
|
|
36
|
-
accessProfile: "
|
|
36
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
37
37
|
}, {
|
|
38
38
|
projectDigest: string;
|
|
39
39
|
configDigest: string;
|
|
40
40
|
commandDigest: string;
|
|
41
41
|
executablePath: string;
|
|
42
42
|
executableDigest: string;
|
|
43
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
44
43
|
scriptPath?: string | null | undefined;
|
|
45
44
|
scriptDigest?: string | null | undefined;
|
|
45
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
46
46
|
}>;
|
|
47
47
|
export type TestCommandGrant = z.infer<typeof TestCommandGrant>;
|
|
48
48
|
export declare const TestCommand: z.ZodObject<{
|
|
@@ -71,23 +71,24 @@ export declare const TestCommand: z.ZodObject<{
|
|
|
71
71
|
executableDigest: string;
|
|
72
72
|
scriptPath: string | null;
|
|
73
73
|
scriptDigest: string | null;
|
|
74
|
-
accessProfile: "
|
|
74
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
75
75
|
}, {
|
|
76
76
|
projectDigest: string;
|
|
77
77
|
configDigest: string;
|
|
78
78
|
commandDigest: string;
|
|
79
79
|
executablePath: string;
|
|
80
80
|
executableDigest: string;
|
|
81
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
82
81
|
scriptPath?: string | null | undefined;
|
|
83
82
|
scriptDigest?: string | null | undefined;
|
|
83
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
84
84
|
}>>>;
|
|
85
85
|
}, "strict", z.ZodTypeAny, {
|
|
86
|
-
id: string;
|
|
87
|
-
required: boolean;
|
|
88
|
-
args: string[];
|
|
89
86
|
program: string;
|
|
87
|
+
args: string[];
|
|
88
|
+
cwd?: string | undefined;
|
|
90
89
|
envAllowlist: string[];
|
|
90
|
+
id: string;
|
|
91
|
+
required: boolean;
|
|
91
92
|
trust_required: boolean;
|
|
92
93
|
trust_grant: {
|
|
93
94
|
projectDigest: string;
|
|
@@ -97,16 +98,15 @@ export declare const TestCommand: z.ZodObject<{
|
|
|
97
98
|
executableDigest: string;
|
|
98
99
|
scriptPath: string | null;
|
|
99
100
|
scriptDigest: string | null;
|
|
100
|
-
accessProfile: "
|
|
101
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
101
102
|
} | null;
|
|
102
|
-
cwd?: string | undefined;
|
|
103
103
|
}, {
|
|
104
|
-
id: string;
|
|
105
104
|
program: string;
|
|
106
|
-
required?: boolean | undefined;
|
|
107
105
|
args?: string[] | undefined;
|
|
108
106
|
cwd?: string | undefined;
|
|
109
107
|
envAllowlist?: string[] | undefined;
|
|
108
|
+
id: string;
|
|
109
|
+
required?: boolean | undefined;
|
|
110
110
|
trust_required?: boolean | undefined;
|
|
111
111
|
trust_grant?: {
|
|
112
112
|
projectDigest: string;
|
|
@@ -114,9 +114,9 @@ export declare const TestCommand: z.ZodObject<{
|
|
|
114
114
|
commandDigest: string;
|
|
115
115
|
executablePath: string;
|
|
116
116
|
executableDigest: string;
|
|
117
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
118
117
|
scriptPath?: string | null | undefined;
|
|
119
118
|
scriptDigest?: string | null | undefined;
|
|
119
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
120
120
|
} | null | undefined;
|
|
121
121
|
}>;
|
|
122
122
|
export type TestCommand = z.infer<typeof TestCommand>;
|
|
@@ -225,8 +225,8 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
226
|
root: string;
|
|
227
227
|
base_ref: string;
|
|
228
|
-
dirty_policy: "refuse" | "snapshot";
|
|
229
228
|
base_sha?: string | undefined;
|
|
229
|
+
dirty_policy: "refuse" | "snapshot";
|
|
230
230
|
}, {
|
|
231
231
|
root: string;
|
|
232
232
|
base_ref: string;
|
|
@@ -236,10 +236,21 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
236
236
|
mode: z.ZodObject<{
|
|
237
237
|
kind: z.ZodEnum<["ask", "plan", "agent"]>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
kind: "
|
|
239
|
+
kind: "agent" | "ask" | "plan";
|
|
240
240
|
}, {
|
|
241
|
-
kind: "
|
|
241
|
+
kind: "agent" | "ask" | "plan";
|
|
242
242
|
}>;
|
|
243
|
+
delegation_requested: z.ZodDefault<z.ZodBoolean>;
|
|
244
|
+
run_lineage: z.ZodDefault<z.ZodObject<{
|
|
245
|
+
parent_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
246
|
+
delegated_from_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
|
248
|
+
parent_run_id: string | null;
|
|
249
|
+
delegated_from_run_id: string | null;
|
|
250
|
+
}, {
|
|
251
|
+
parent_run_id?: string | null | undefined;
|
|
252
|
+
delegated_from_run_id?: string | null | undefined;
|
|
253
|
+
}>>;
|
|
243
254
|
user_intent: z.ZodObject<{
|
|
244
255
|
raw: z.ZodString;
|
|
245
256
|
normalized: z.ZodOptional<z.ZodString>;
|
|
@@ -347,23 +358,24 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
347
358
|
executableDigest: string;
|
|
348
359
|
scriptPath: string | null;
|
|
349
360
|
scriptDigest: string | null;
|
|
350
|
-
accessProfile: "
|
|
361
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
351
362
|
}, {
|
|
352
363
|
projectDigest: string;
|
|
353
364
|
configDigest: string;
|
|
354
365
|
commandDigest: string;
|
|
355
366
|
executablePath: string;
|
|
356
367
|
executableDigest: string;
|
|
357
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
358
368
|
scriptPath?: string | null | undefined;
|
|
359
369
|
scriptDigest?: string | null | undefined;
|
|
370
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
360
371
|
}>>>;
|
|
361
372
|
}, "strict", z.ZodTypeAny, {
|
|
362
|
-
id: string;
|
|
363
|
-
required: boolean;
|
|
364
|
-
args: string[];
|
|
365
373
|
program: string;
|
|
374
|
+
args: string[];
|
|
375
|
+
cwd?: string | undefined;
|
|
366
376
|
envAllowlist: string[];
|
|
377
|
+
id: string;
|
|
378
|
+
required: boolean;
|
|
367
379
|
trust_required: boolean;
|
|
368
380
|
trust_grant: {
|
|
369
381
|
projectDigest: string;
|
|
@@ -373,16 +385,15 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
373
385
|
executableDigest: string;
|
|
374
386
|
scriptPath: string | null;
|
|
375
387
|
scriptDigest: string | null;
|
|
376
|
-
accessProfile: "
|
|
388
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
377
389
|
} | null;
|
|
378
|
-
cwd?: string | undefined;
|
|
379
390
|
}, {
|
|
380
|
-
id: string;
|
|
381
391
|
program: string;
|
|
382
|
-
required?: boolean | undefined;
|
|
383
392
|
args?: string[] | undefined;
|
|
384
393
|
cwd?: string | undefined;
|
|
385
394
|
envAllowlist?: string[] | undefined;
|
|
395
|
+
id: string;
|
|
396
|
+
required?: boolean | undefined;
|
|
386
397
|
trust_required?: boolean | undefined;
|
|
387
398
|
trust_grant?: {
|
|
388
399
|
projectDigest: string;
|
|
@@ -390,18 +401,19 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
390
401
|
commandDigest: string;
|
|
391
402
|
executablePath: string;
|
|
392
403
|
executableDigest: string;
|
|
393
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
394
404
|
scriptPath?: string | null | undefined;
|
|
395
405
|
scriptDigest?: string | null | undefined;
|
|
406
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
396
407
|
} | null | undefined;
|
|
397
408
|
}>, "many">>;
|
|
398
409
|
}, "strip", z.ZodTypeAny, {
|
|
399
410
|
commands: {
|
|
400
|
-
id: string;
|
|
401
|
-
required: boolean;
|
|
402
|
-
args: string[];
|
|
403
411
|
program: string;
|
|
412
|
+
args: string[];
|
|
413
|
+
cwd?: string | undefined;
|
|
404
414
|
envAllowlist: string[];
|
|
415
|
+
id: string;
|
|
416
|
+
required: boolean;
|
|
405
417
|
trust_required: boolean;
|
|
406
418
|
trust_grant: {
|
|
407
419
|
projectDigest: string;
|
|
@@ -411,18 +423,17 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
411
423
|
executableDigest: string;
|
|
412
424
|
scriptPath: string | null;
|
|
413
425
|
scriptDigest: string | null;
|
|
414
|
-
accessProfile: "
|
|
426
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
415
427
|
} | null;
|
|
416
|
-
cwd?: string | undefined;
|
|
417
428
|
}[];
|
|
418
429
|
}, {
|
|
419
430
|
commands?: {
|
|
420
|
-
id: string;
|
|
421
431
|
program: string;
|
|
422
|
-
required?: boolean | undefined;
|
|
423
432
|
args?: string[] | undefined;
|
|
424
433
|
cwd?: string | undefined;
|
|
425
434
|
envAllowlist?: string[] | undefined;
|
|
435
|
+
id: string;
|
|
436
|
+
required?: boolean | undefined;
|
|
426
437
|
trust_required?: boolean | undefined;
|
|
427
438
|
trust_grant?: {
|
|
428
439
|
projectDigest: string;
|
|
@@ -430,9 +441,9 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
430
441
|
commandDigest: string;
|
|
431
442
|
executablePath: string;
|
|
432
443
|
executableDigest: string;
|
|
433
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
434
444
|
scriptPath?: string | null | undefined;
|
|
435
445
|
scriptDigest?: string | null | undefined;
|
|
446
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
436
447
|
} | null | undefined;
|
|
437
448
|
}[] | undefined;
|
|
438
449
|
}>>;
|
|
@@ -441,11 +452,11 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
441
452
|
/** Profile actually enforced by the engine (mode/trust clamps applied; never client-supplied). */
|
|
442
453
|
effective_profile: z.ZodDefault<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>>;
|
|
443
454
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
-
requested_profile: "
|
|
445
|
-
effective_profile: "
|
|
455
|
+
requested_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
456
|
+
effective_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
446
457
|
}, {
|
|
447
|
-
requested_profile?: "
|
|
448
|
-
effective_profile?: "
|
|
458
|
+
requested_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
459
|
+
effective_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
449
460
|
}>>;
|
|
450
461
|
external_context: z.ZodDefault<z.ZodObject<{
|
|
451
462
|
policy: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
@@ -453,24 +464,24 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
453
464
|
/** Mode the selected route actually executes (disclosed upgrades, e.g. claude cached->live). */
|
|
454
465
|
effective_mode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
455
466
|
}, "strip", z.ZodTypeAny, {
|
|
456
|
-
policy: "
|
|
467
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
457
468
|
web_required: boolean;
|
|
458
|
-
effective_mode: "
|
|
469
|
+
effective_mode: "auto" | "cached" | "live" | "off";
|
|
459
470
|
}, {
|
|
460
|
-
policy?: "
|
|
471
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
461
472
|
web_required?: boolean | undefined;
|
|
462
|
-
effective_mode?: "
|
|
473
|
+
effective_mode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
463
474
|
}>>;
|
|
464
475
|
tool_permission_policy: z.ZodDefault<z.ZodObject<{
|
|
465
476
|
web: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
466
477
|
allow: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
467
478
|
deny: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
468
479
|
}, "strip", z.ZodTypeAny, {
|
|
469
|
-
web: "
|
|
480
|
+
web: "auto" | "cached" | "live" | "off";
|
|
470
481
|
allow: string[];
|
|
471
482
|
deny: string[];
|
|
472
483
|
}, {
|
|
473
|
-
web?: "
|
|
484
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
474
485
|
allow?: string[] | undefined;
|
|
475
486
|
deny?: string[] | undefined;
|
|
476
487
|
}>>;
|
|
@@ -493,7 +504,7 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
493
504
|
maxUsd: number;
|
|
494
505
|
}>]>>;
|
|
495
506
|
}, "strip", z.ZodTypeAny, {
|
|
496
|
-
routing_goal: "auto" | "
|
|
507
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
497
508
|
paid_budget: {
|
|
498
509
|
kind: "unlimited";
|
|
499
510
|
} | {
|
|
@@ -501,7 +512,7 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
501
512
|
maxUsd: number;
|
|
502
513
|
};
|
|
503
514
|
}, {
|
|
504
|
-
routing_goal?: "auto" | "
|
|
515
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
505
516
|
paid_budget?: {
|
|
506
517
|
kind: "unlimited";
|
|
507
518
|
} | {
|
|
@@ -546,11 +557,32 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
546
557
|
require_no_accepted_needs_human_open?: boolean | undefined;
|
|
547
558
|
}>>;
|
|
548
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
+
schema_version: 2;
|
|
561
|
+
task_id: string;
|
|
549
562
|
created_at: string;
|
|
563
|
+
repo: {
|
|
564
|
+
root: string;
|
|
565
|
+
base_ref: string;
|
|
566
|
+
base_sha?: string | undefined;
|
|
567
|
+
dirty_policy: "refuse" | "snapshot";
|
|
568
|
+
};
|
|
550
569
|
mode: {
|
|
551
|
-
kind: "
|
|
570
|
+
kind: "agent" | "ask" | "plan";
|
|
552
571
|
};
|
|
553
|
-
|
|
572
|
+
delegation_requested: boolean;
|
|
573
|
+
run_lineage: {
|
|
574
|
+
parent_run_id: string | null;
|
|
575
|
+
delegated_from_run_id: string | null;
|
|
576
|
+
};
|
|
577
|
+
user_intent: {
|
|
578
|
+
raw: string;
|
|
579
|
+
normalized?: string | undefined;
|
|
580
|
+
};
|
|
581
|
+
instructions?: string | undefined;
|
|
582
|
+
output_schema: Record<string, unknown> | null;
|
|
583
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
584
|
+
credential_profile_id: string | null;
|
|
585
|
+
max_turns: number | null;
|
|
554
586
|
constraints: {
|
|
555
587
|
protected_paths: string[];
|
|
556
588
|
deny_paths: string[];
|
|
@@ -560,37 +592,14 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
560
592
|
reason?: string | undefined;
|
|
561
593
|
}[];
|
|
562
594
|
};
|
|
563
|
-
max_turns: number | null;
|
|
564
|
-
access: {
|
|
565
|
-
requested_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
566
|
-
effective_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
567
|
-
};
|
|
568
|
-
tool_permission_policy: {
|
|
569
|
-
web: "off" | "auto" | "cached" | "live";
|
|
570
|
-
allow: string[];
|
|
571
|
-
deny: string[];
|
|
572
|
-
};
|
|
573
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
574
|
-
output_schema: Record<string, unknown> | null;
|
|
575
|
-
credential_profile_id: string | null;
|
|
576
|
-
repo: {
|
|
577
|
-
root: string;
|
|
578
|
-
base_ref: string;
|
|
579
|
-
dirty_policy: "refuse" | "snapshot";
|
|
580
|
-
base_sha?: string | undefined;
|
|
581
|
-
};
|
|
582
|
-
task_id: string;
|
|
583
|
-
user_intent: {
|
|
584
|
-
raw: string;
|
|
585
|
-
normalized?: string | undefined;
|
|
586
|
-
};
|
|
587
595
|
tests: {
|
|
588
596
|
commands: {
|
|
589
|
-
id: string;
|
|
590
|
-
required: boolean;
|
|
591
|
-
args: string[];
|
|
592
597
|
program: string;
|
|
598
|
+
args: string[];
|
|
599
|
+
cwd?: string | undefined;
|
|
593
600
|
envAllowlist: string[];
|
|
601
|
+
id: string;
|
|
602
|
+
required: boolean;
|
|
594
603
|
trust_required: boolean;
|
|
595
604
|
trust_grant: {
|
|
596
605
|
projectDigest: string;
|
|
@@ -600,18 +609,26 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
600
609
|
executableDigest: string;
|
|
601
610
|
scriptPath: string | null;
|
|
602
611
|
scriptDigest: string | null;
|
|
603
|
-
accessProfile: "
|
|
612
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
604
613
|
} | null;
|
|
605
|
-
cwd?: string | undefined;
|
|
606
614
|
}[];
|
|
607
615
|
};
|
|
616
|
+
access: {
|
|
617
|
+
requested_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
618
|
+
effective_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
619
|
+
};
|
|
608
620
|
external_context: {
|
|
609
|
-
policy: "
|
|
621
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
610
622
|
web_required: boolean;
|
|
611
|
-
effective_mode: "
|
|
623
|
+
effective_mode: "auto" | "cached" | "live" | "off";
|
|
624
|
+
};
|
|
625
|
+
tool_permission_policy: {
|
|
626
|
+
web: "auto" | "cached" | "live" | "off";
|
|
627
|
+
allow: string[];
|
|
628
|
+
deny: string[];
|
|
612
629
|
};
|
|
613
630
|
budget: {
|
|
614
|
-
routing_goal: "auto" | "
|
|
631
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
615
632
|
paid_budget: {
|
|
616
633
|
kind: "unlimited";
|
|
617
634
|
} | {
|
|
@@ -629,25 +646,33 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
629
646
|
require_final_diff_stable_after_review: boolean;
|
|
630
647
|
require_no_accepted_needs_human_open: boolean;
|
|
631
648
|
};
|
|
632
|
-
instructions?: string | undefined;
|
|
633
649
|
}, {
|
|
634
|
-
created_at: string;
|
|
635
|
-
mode: {
|
|
636
|
-
kind: "ask" | "plan" | "agent";
|
|
637
|
-
};
|
|
638
650
|
schema_version: 2;
|
|
651
|
+
task_id: string;
|
|
652
|
+
created_at: string;
|
|
639
653
|
repo: {
|
|
640
654
|
root: string;
|
|
641
655
|
base_ref: string;
|
|
642
656
|
base_sha?: string | undefined;
|
|
643
657
|
dirty_policy?: "refuse" | "snapshot" | undefined;
|
|
644
658
|
};
|
|
645
|
-
|
|
659
|
+
mode: {
|
|
660
|
+
kind: "agent" | "ask" | "plan";
|
|
661
|
+
};
|
|
662
|
+
delegation_requested?: boolean | undefined;
|
|
663
|
+
run_lineage?: {
|
|
664
|
+
parent_run_id?: string | null | undefined;
|
|
665
|
+
delegated_from_run_id?: string | null | undefined;
|
|
666
|
+
} | undefined;
|
|
646
667
|
user_intent: {
|
|
647
668
|
raw: string;
|
|
648
669
|
normalized?: string | undefined;
|
|
649
670
|
};
|
|
650
671
|
instructions?: string | undefined;
|
|
672
|
+
output_schema?: Record<string, unknown> | null | undefined;
|
|
673
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
674
|
+
credential_profile_id?: string | null | undefined;
|
|
675
|
+
max_turns?: number | null | undefined;
|
|
651
676
|
constraints?: {
|
|
652
677
|
protected_paths?: string[] | undefined;
|
|
653
678
|
deny_paths?: string[] | undefined;
|
|
@@ -657,27 +682,14 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
657
682
|
reason?: string | undefined;
|
|
658
683
|
}[] | undefined;
|
|
659
684
|
} | undefined;
|
|
660
|
-
max_turns?: number | null | undefined;
|
|
661
|
-
access?: {
|
|
662
|
-
requested_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
663
|
-
effective_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
664
|
-
} | undefined;
|
|
665
|
-
tool_permission_policy?: {
|
|
666
|
-
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
667
|
-
allow?: string[] | undefined;
|
|
668
|
-
deny?: string[] | undefined;
|
|
669
|
-
} | undefined;
|
|
670
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
671
|
-
output_schema?: Record<string, unknown> | null | undefined;
|
|
672
|
-
credential_profile_id?: string | null | undefined;
|
|
673
685
|
tests?: {
|
|
674
686
|
commands?: {
|
|
675
|
-
id: string;
|
|
676
687
|
program: string;
|
|
677
|
-
required?: boolean | undefined;
|
|
678
688
|
args?: string[] | undefined;
|
|
679
689
|
cwd?: string | undefined;
|
|
680
690
|
envAllowlist?: string[] | undefined;
|
|
691
|
+
id: string;
|
|
692
|
+
required?: boolean | undefined;
|
|
681
693
|
trust_required?: boolean | undefined;
|
|
682
694
|
trust_grant?: {
|
|
683
695
|
projectDigest: string;
|
|
@@ -685,19 +697,28 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
685
697
|
commandDigest: string;
|
|
686
698
|
executablePath: string;
|
|
687
699
|
executableDigest: string;
|
|
688
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
689
700
|
scriptPath?: string | null | undefined;
|
|
690
701
|
scriptDigest?: string | null | undefined;
|
|
702
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
691
703
|
} | null | undefined;
|
|
692
704
|
}[] | undefined;
|
|
693
705
|
} | undefined;
|
|
706
|
+
access?: {
|
|
707
|
+
requested_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
708
|
+
effective_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
709
|
+
} | undefined;
|
|
694
710
|
external_context?: {
|
|
695
|
-
policy?: "
|
|
711
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
696
712
|
web_required?: boolean | undefined;
|
|
697
|
-
effective_mode?: "
|
|
713
|
+
effective_mode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
714
|
+
} | undefined;
|
|
715
|
+
tool_permission_policy?: {
|
|
716
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
717
|
+
allow?: string[] | undefined;
|
|
718
|
+
deny?: string[] | undefined;
|
|
698
719
|
} | undefined;
|
|
699
720
|
budget?: {
|
|
700
|
-
routing_goal?: "auto" | "
|
|
721
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
701
722
|
paid_budget?: {
|
|
702
723
|
kind: "unlimited";
|
|
703
724
|
} | {
|
|
@@ -751,23 +772,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
751
772
|
executableDigest: string;
|
|
752
773
|
scriptPath: string | null;
|
|
753
774
|
scriptDigest: string | null;
|
|
754
|
-
accessProfile: "
|
|
775
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
755
776
|
}, {
|
|
756
777
|
projectDigest: string;
|
|
757
778
|
configDigest: string;
|
|
758
779
|
commandDigest: string;
|
|
759
780
|
executablePath: string;
|
|
760
781
|
executableDigest: string;
|
|
761
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
762
782
|
scriptPath?: string | null | undefined;
|
|
763
783
|
scriptDigest?: string | null | undefined;
|
|
784
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
764
785
|
}>>>;
|
|
765
786
|
}, "strict", z.ZodTypeAny, {
|
|
766
|
-
id: string;
|
|
767
|
-
required: boolean;
|
|
768
|
-
args: string[];
|
|
769
787
|
program: string;
|
|
788
|
+
args: string[];
|
|
789
|
+
cwd?: string | undefined;
|
|
770
790
|
envAllowlist: string[];
|
|
791
|
+
id: string;
|
|
792
|
+
required: boolean;
|
|
771
793
|
trust_required: boolean;
|
|
772
794
|
trust_grant: {
|
|
773
795
|
projectDigest: string;
|
|
@@ -777,16 +799,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
777
799
|
executableDigest: string;
|
|
778
800
|
scriptPath: string | null;
|
|
779
801
|
scriptDigest: string | null;
|
|
780
|
-
accessProfile: "
|
|
802
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
781
803
|
} | null;
|
|
782
|
-
cwd?: string | undefined;
|
|
783
804
|
}, {
|
|
784
|
-
id: string;
|
|
785
805
|
program: string;
|
|
786
|
-
required?: boolean | undefined;
|
|
787
806
|
args?: string[] | undefined;
|
|
788
807
|
cwd?: string | undefined;
|
|
789
808
|
envAllowlist?: string[] | undefined;
|
|
809
|
+
id: string;
|
|
810
|
+
required?: boolean | undefined;
|
|
790
811
|
trust_required?: boolean | undefined;
|
|
791
812
|
trust_grant?: {
|
|
792
813
|
projectDigest: string;
|
|
@@ -794,9 +815,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
794
815
|
commandDigest: string;
|
|
795
816
|
executablePath: string;
|
|
796
817
|
executableDigest: string;
|
|
797
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
798
818
|
scriptPath?: string | null | undefined;
|
|
799
819
|
scriptDigest?: string | null | undefined;
|
|
820
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
800
821
|
} | null | undefined;
|
|
801
822
|
}>, "many">;
|
|
802
823
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -826,23 +847,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
826
847
|
executableDigest: string;
|
|
827
848
|
scriptPath: string | null;
|
|
828
849
|
scriptDigest: string | null;
|
|
829
|
-
accessProfile: "
|
|
850
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
830
851
|
}, {
|
|
831
852
|
projectDigest: string;
|
|
832
853
|
configDigest: string;
|
|
833
854
|
commandDigest: string;
|
|
834
855
|
executablePath: string;
|
|
835
856
|
executableDigest: string;
|
|
836
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
837
857
|
scriptPath?: string | null | undefined;
|
|
838
858
|
scriptDigest?: string | null | undefined;
|
|
859
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
839
860
|
}>>>;
|
|
840
861
|
}, "strict", z.ZodTypeAny, {
|
|
841
|
-
id: string;
|
|
842
|
-
required: boolean;
|
|
843
|
-
args: string[];
|
|
844
862
|
program: string;
|
|
863
|
+
args: string[];
|
|
864
|
+
cwd?: string | undefined;
|
|
845
865
|
envAllowlist: string[];
|
|
866
|
+
id: string;
|
|
867
|
+
required: boolean;
|
|
846
868
|
trust_required: boolean;
|
|
847
869
|
trust_grant: {
|
|
848
870
|
projectDigest: string;
|
|
@@ -852,16 +874,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
852
874
|
executableDigest: string;
|
|
853
875
|
scriptPath: string | null;
|
|
854
876
|
scriptDigest: string | null;
|
|
855
|
-
accessProfile: "
|
|
877
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
856
878
|
} | null;
|
|
857
|
-
cwd?: string | undefined;
|
|
858
879
|
}, {
|
|
859
|
-
id: string;
|
|
860
880
|
program: string;
|
|
861
|
-
required?: boolean | undefined;
|
|
862
881
|
args?: string[] | undefined;
|
|
863
882
|
cwd?: string | undefined;
|
|
864
883
|
envAllowlist?: string[] | undefined;
|
|
884
|
+
id: string;
|
|
885
|
+
required?: boolean | undefined;
|
|
865
886
|
trust_required?: boolean | undefined;
|
|
866
887
|
trust_grant?: {
|
|
867
888
|
projectDigest: string;
|
|
@@ -869,9 +890,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
869
890
|
commandDigest: string;
|
|
870
891
|
executablePath: string;
|
|
871
892
|
executableDigest: string;
|
|
872
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
873
893
|
scriptPath?: string | null | undefined;
|
|
874
894
|
scriptDigest?: string | null | undefined;
|
|
895
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
875
896
|
} | null | undefined;
|
|
876
897
|
}>, "many">;
|
|
877
898
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -901,23 +922,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
901
922
|
executableDigest: string;
|
|
902
923
|
scriptPath: string | null;
|
|
903
924
|
scriptDigest: string | null;
|
|
904
|
-
accessProfile: "
|
|
925
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
905
926
|
}, {
|
|
906
927
|
projectDigest: string;
|
|
907
928
|
configDigest: string;
|
|
908
929
|
commandDigest: string;
|
|
909
930
|
executablePath: string;
|
|
910
931
|
executableDigest: string;
|
|
911
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
912
932
|
scriptPath?: string | null | undefined;
|
|
913
933
|
scriptDigest?: string | null | undefined;
|
|
934
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
914
935
|
}>>>;
|
|
915
936
|
}, "strict", z.ZodTypeAny, {
|
|
916
|
-
id: string;
|
|
917
|
-
required: boolean;
|
|
918
|
-
args: string[];
|
|
919
937
|
program: string;
|
|
938
|
+
args: string[];
|
|
939
|
+
cwd?: string | undefined;
|
|
920
940
|
envAllowlist: string[];
|
|
941
|
+
id: string;
|
|
942
|
+
required: boolean;
|
|
921
943
|
trust_required: boolean;
|
|
922
944
|
trust_grant: {
|
|
923
945
|
projectDigest: string;
|
|
@@ -927,16 +949,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
927
949
|
executableDigest: string;
|
|
928
950
|
scriptPath: string | null;
|
|
929
951
|
scriptDigest: string | null;
|
|
930
|
-
accessProfile: "
|
|
952
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
931
953
|
} | null;
|
|
932
|
-
cwd?: string | undefined;
|
|
933
954
|
}, {
|
|
934
|
-
id: string;
|
|
935
955
|
program: string;
|
|
936
|
-
required?: boolean | undefined;
|
|
937
956
|
args?: string[] | undefined;
|
|
938
957
|
cwd?: string | undefined;
|
|
939
958
|
envAllowlist?: string[] | undefined;
|
|
959
|
+
id: string;
|
|
960
|
+
required?: boolean | undefined;
|
|
940
961
|
trust_required?: boolean | undefined;
|
|
941
962
|
trust_grant?: {
|
|
942
963
|
projectDigest: string;
|
|
@@ -944,9 +965,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
944
965
|
commandDigest: string;
|
|
945
966
|
executablePath: string;
|
|
946
967
|
executableDigest: string;
|
|
947
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
948
968
|
scriptPath?: string | null | undefined;
|
|
949
969
|
scriptDigest?: string | null | undefined;
|
|
970
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
950
971
|
} | null | undefined;
|
|
951
972
|
}>, "many">;
|
|
952
973
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -978,23 +999,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
978
999
|
executableDigest: string;
|
|
979
1000
|
scriptPath: string | null;
|
|
980
1001
|
scriptDigest: string | null;
|
|
981
|
-
accessProfile: "
|
|
1002
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
982
1003
|
}, {
|
|
983
1004
|
projectDigest: string;
|
|
984
1005
|
configDigest: string;
|
|
985
1006
|
commandDigest: string;
|
|
986
1007
|
executablePath: string;
|
|
987
1008
|
executableDigest: string;
|
|
988
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
989
1009
|
scriptPath?: string | null | undefined;
|
|
990
1010
|
scriptDigest?: string | null | undefined;
|
|
1011
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
991
1012
|
}>>>;
|
|
992
1013
|
}, "strict", z.ZodTypeAny, {
|
|
993
|
-
id: string;
|
|
994
|
-
required: boolean;
|
|
995
|
-
args: string[];
|
|
996
1014
|
program: string;
|
|
1015
|
+
args: string[];
|
|
1016
|
+
cwd?: string | undefined;
|
|
997
1017
|
envAllowlist: string[];
|
|
1018
|
+
id: string;
|
|
1019
|
+
required: boolean;
|
|
998
1020
|
trust_required: boolean;
|
|
999
1021
|
trust_grant: {
|
|
1000
1022
|
projectDigest: string;
|
|
@@ -1004,16 +1026,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1004
1026
|
executableDigest: string;
|
|
1005
1027
|
scriptPath: string | null;
|
|
1006
1028
|
scriptDigest: string | null;
|
|
1007
|
-
accessProfile: "
|
|
1029
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1008
1030
|
} | null;
|
|
1009
|
-
cwd?: string | undefined;
|
|
1010
1031
|
}, {
|
|
1011
|
-
id: string;
|
|
1012
1032
|
program: string;
|
|
1013
|
-
required?: boolean | undefined;
|
|
1014
1033
|
args?: string[] | undefined;
|
|
1015
1034
|
cwd?: string | undefined;
|
|
1016
1035
|
envAllowlist?: string[] | undefined;
|
|
1036
|
+
id: string;
|
|
1037
|
+
required?: boolean | undefined;
|
|
1017
1038
|
trust_required?: boolean | undefined;
|
|
1018
1039
|
trust_grant?: {
|
|
1019
1040
|
projectDigest: string;
|
|
@@ -1021,9 +1042,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1021
1042
|
commandDigest: string;
|
|
1022
1043
|
executablePath: string;
|
|
1023
1044
|
executableDigest: string;
|
|
1024
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1025
1045
|
scriptPath?: string | null | undefined;
|
|
1026
1046
|
scriptDigest?: string | null | undefined;
|
|
1047
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1027
1048
|
} | null | undefined;
|
|
1028
1049
|
}>, "many">;
|
|
1029
1050
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1053,23 +1074,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1053
1074
|
executableDigest: string;
|
|
1054
1075
|
scriptPath: string | null;
|
|
1055
1076
|
scriptDigest: string | null;
|
|
1056
|
-
accessProfile: "
|
|
1077
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1057
1078
|
}, {
|
|
1058
1079
|
projectDigest: string;
|
|
1059
1080
|
configDigest: string;
|
|
1060
1081
|
commandDigest: string;
|
|
1061
1082
|
executablePath: string;
|
|
1062
1083
|
executableDigest: string;
|
|
1063
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1064
1084
|
scriptPath?: string | null | undefined;
|
|
1065
1085
|
scriptDigest?: string | null | undefined;
|
|
1086
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1066
1087
|
}>>>;
|
|
1067
1088
|
}, "strict", z.ZodTypeAny, {
|
|
1068
|
-
id: string;
|
|
1069
|
-
required: boolean;
|
|
1070
|
-
args: string[];
|
|
1071
1089
|
program: string;
|
|
1090
|
+
args: string[];
|
|
1091
|
+
cwd?: string | undefined;
|
|
1072
1092
|
envAllowlist: string[];
|
|
1093
|
+
id: string;
|
|
1094
|
+
required: boolean;
|
|
1073
1095
|
trust_required: boolean;
|
|
1074
1096
|
trust_grant: {
|
|
1075
1097
|
projectDigest: string;
|
|
@@ -1079,16 +1101,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1079
1101
|
executableDigest: string;
|
|
1080
1102
|
scriptPath: string | null;
|
|
1081
1103
|
scriptDigest: string | null;
|
|
1082
|
-
accessProfile: "
|
|
1104
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1083
1105
|
} | null;
|
|
1084
|
-
cwd?: string | undefined;
|
|
1085
1106
|
}, {
|
|
1086
|
-
id: string;
|
|
1087
1107
|
program: string;
|
|
1088
|
-
required?: boolean | undefined;
|
|
1089
1108
|
args?: string[] | undefined;
|
|
1090
1109
|
cwd?: string | undefined;
|
|
1091
1110
|
envAllowlist?: string[] | undefined;
|
|
1111
|
+
id: string;
|
|
1112
|
+
required?: boolean | undefined;
|
|
1092
1113
|
trust_required?: boolean | undefined;
|
|
1093
1114
|
trust_grant?: {
|
|
1094
1115
|
projectDigest: string;
|
|
@@ -1096,9 +1117,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1096
1117
|
commandDigest: string;
|
|
1097
1118
|
executablePath: string;
|
|
1098
1119
|
executableDigest: string;
|
|
1099
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1100
1120
|
scriptPath?: string | null | undefined;
|
|
1101
1121
|
scriptDigest?: string | null | undefined;
|
|
1122
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1102
1123
|
} | null | undefined;
|
|
1103
1124
|
}>, "many">;
|
|
1104
1125
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1128,23 +1149,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1128
1149
|
executableDigest: string;
|
|
1129
1150
|
scriptPath: string | null;
|
|
1130
1151
|
scriptDigest: string | null;
|
|
1131
|
-
accessProfile: "
|
|
1152
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1132
1153
|
}, {
|
|
1133
1154
|
projectDigest: string;
|
|
1134
1155
|
configDigest: string;
|
|
1135
1156
|
commandDigest: string;
|
|
1136
1157
|
executablePath: string;
|
|
1137
1158
|
executableDigest: string;
|
|
1138
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1139
1159
|
scriptPath?: string | null | undefined;
|
|
1140
1160
|
scriptDigest?: string | null | undefined;
|
|
1161
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1141
1162
|
}>>>;
|
|
1142
1163
|
}, "strict", z.ZodTypeAny, {
|
|
1143
|
-
id: string;
|
|
1144
|
-
required: boolean;
|
|
1145
|
-
args: string[];
|
|
1146
1164
|
program: string;
|
|
1165
|
+
args: string[];
|
|
1166
|
+
cwd?: string | undefined;
|
|
1147
1167
|
envAllowlist: string[];
|
|
1168
|
+
id: string;
|
|
1169
|
+
required: boolean;
|
|
1148
1170
|
trust_required: boolean;
|
|
1149
1171
|
trust_grant: {
|
|
1150
1172
|
projectDigest: string;
|
|
@@ -1154,16 +1176,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1154
1176
|
executableDigest: string;
|
|
1155
1177
|
scriptPath: string | null;
|
|
1156
1178
|
scriptDigest: string | null;
|
|
1157
|
-
accessProfile: "
|
|
1179
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1158
1180
|
} | null;
|
|
1159
|
-
cwd?: string | undefined;
|
|
1160
1181
|
}, {
|
|
1161
|
-
id: string;
|
|
1162
1182
|
program: string;
|
|
1163
|
-
required?: boolean | undefined;
|
|
1164
1183
|
args?: string[] | undefined;
|
|
1165
1184
|
cwd?: string | undefined;
|
|
1166
1185
|
envAllowlist?: string[] | undefined;
|
|
1186
|
+
id: string;
|
|
1187
|
+
required?: boolean | undefined;
|
|
1167
1188
|
trust_required?: boolean | undefined;
|
|
1168
1189
|
trust_grant?: {
|
|
1169
1190
|
projectDigest: string;
|
|
@@ -1171,9 +1192,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1171
1192
|
commandDigest: string;
|
|
1172
1193
|
executablePath: string;
|
|
1173
1194
|
executableDigest: string;
|
|
1174
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1175
1195
|
scriptPath?: string | null | undefined;
|
|
1176
1196
|
scriptDigest?: string | null | undefined;
|
|
1197
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1177
1198
|
} | null | undefined;
|
|
1178
1199
|
}>, "many">;
|
|
1179
1200
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1205,23 +1226,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1205
1226
|
executableDigest: string;
|
|
1206
1227
|
scriptPath: string | null;
|
|
1207
1228
|
scriptDigest: string | null;
|
|
1208
|
-
accessProfile: "
|
|
1229
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1209
1230
|
}, {
|
|
1210
1231
|
projectDigest: string;
|
|
1211
1232
|
configDigest: string;
|
|
1212
1233
|
commandDigest: string;
|
|
1213
1234
|
executablePath: string;
|
|
1214
1235
|
executableDigest: string;
|
|
1215
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1216
1236
|
scriptPath?: string | null | undefined;
|
|
1217
1237
|
scriptDigest?: string | null | undefined;
|
|
1238
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1218
1239
|
}>>>;
|
|
1219
1240
|
}, "strict", z.ZodTypeAny, {
|
|
1220
|
-
id: string;
|
|
1221
|
-
required: boolean;
|
|
1222
|
-
args: string[];
|
|
1223
1241
|
program: string;
|
|
1242
|
+
args: string[];
|
|
1243
|
+
cwd?: string | undefined;
|
|
1224
1244
|
envAllowlist: string[];
|
|
1245
|
+
id: string;
|
|
1246
|
+
required: boolean;
|
|
1225
1247
|
trust_required: boolean;
|
|
1226
1248
|
trust_grant: {
|
|
1227
1249
|
projectDigest: string;
|
|
@@ -1231,16 +1253,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1231
1253
|
executableDigest: string;
|
|
1232
1254
|
scriptPath: string | null;
|
|
1233
1255
|
scriptDigest: string | null;
|
|
1234
|
-
accessProfile: "
|
|
1256
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1235
1257
|
} | null;
|
|
1236
|
-
cwd?: string | undefined;
|
|
1237
1258
|
}, {
|
|
1238
|
-
id: string;
|
|
1239
1259
|
program: string;
|
|
1240
|
-
required?: boolean | undefined;
|
|
1241
1260
|
args?: string[] | undefined;
|
|
1242
1261
|
cwd?: string | undefined;
|
|
1243
1262
|
envAllowlist?: string[] | undefined;
|
|
1263
|
+
id: string;
|
|
1264
|
+
required?: boolean | undefined;
|
|
1244
1265
|
trust_required?: boolean | undefined;
|
|
1245
1266
|
trust_grant?: {
|
|
1246
1267
|
projectDigest: string;
|
|
@@ -1248,9 +1269,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1248
1269
|
commandDigest: string;
|
|
1249
1270
|
executablePath: string;
|
|
1250
1271
|
executableDigest: string;
|
|
1251
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1252
1272
|
scriptPath?: string | null | undefined;
|
|
1253
1273
|
scriptDigest?: string | null | undefined;
|
|
1274
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1254
1275
|
} | null | undefined;
|
|
1255
1276
|
}>, "many">;
|
|
1256
1277
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1280,23 +1301,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1280
1301
|
executableDigest: string;
|
|
1281
1302
|
scriptPath: string | null;
|
|
1282
1303
|
scriptDigest: string | null;
|
|
1283
|
-
accessProfile: "
|
|
1304
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1284
1305
|
}, {
|
|
1285
1306
|
projectDigest: string;
|
|
1286
1307
|
configDigest: string;
|
|
1287
1308
|
commandDigest: string;
|
|
1288
1309
|
executablePath: string;
|
|
1289
1310
|
executableDigest: string;
|
|
1290
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1291
1311
|
scriptPath?: string | null | undefined;
|
|
1292
1312
|
scriptDigest?: string | null | undefined;
|
|
1313
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1293
1314
|
}>>>;
|
|
1294
1315
|
}, "strict", z.ZodTypeAny, {
|
|
1295
|
-
id: string;
|
|
1296
|
-
required: boolean;
|
|
1297
|
-
args: string[];
|
|
1298
1316
|
program: string;
|
|
1317
|
+
args: string[];
|
|
1318
|
+
cwd?: string | undefined;
|
|
1299
1319
|
envAllowlist: string[];
|
|
1320
|
+
id: string;
|
|
1321
|
+
required: boolean;
|
|
1300
1322
|
trust_required: boolean;
|
|
1301
1323
|
trust_grant: {
|
|
1302
1324
|
projectDigest: string;
|
|
@@ -1306,16 +1328,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1306
1328
|
executableDigest: string;
|
|
1307
1329
|
scriptPath: string | null;
|
|
1308
1330
|
scriptDigest: string | null;
|
|
1309
|
-
accessProfile: "
|
|
1331
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1310
1332
|
} | null;
|
|
1311
|
-
cwd?: string | undefined;
|
|
1312
1333
|
}, {
|
|
1313
|
-
id: string;
|
|
1314
1334
|
program: string;
|
|
1315
|
-
required?: boolean | undefined;
|
|
1316
1335
|
args?: string[] | undefined;
|
|
1317
1336
|
cwd?: string | undefined;
|
|
1318
1337
|
envAllowlist?: string[] | undefined;
|
|
1338
|
+
id: string;
|
|
1339
|
+
required?: boolean | undefined;
|
|
1319
1340
|
trust_required?: boolean | undefined;
|
|
1320
1341
|
trust_grant?: {
|
|
1321
1342
|
projectDigest: string;
|
|
@@ -1323,9 +1344,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1323
1344
|
commandDigest: string;
|
|
1324
1345
|
executablePath: string;
|
|
1325
1346
|
executableDigest: string;
|
|
1326
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1327
1347
|
scriptPath?: string | null | undefined;
|
|
1328
1348
|
scriptDigest?: string | null | undefined;
|
|
1349
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1329
1350
|
} | null | undefined;
|
|
1330
1351
|
}>, "many">;
|
|
1331
1352
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1355,23 +1376,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1355
1376
|
executableDigest: string;
|
|
1356
1377
|
scriptPath: string | null;
|
|
1357
1378
|
scriptDigest: string | null;
|
|
1358
|
-
accessProfile: "
|
|
1379
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1359
1380
|
}, {
|
|
1360
1381
|
projectDigest: string;
|
|
1361
1382
|
configDigest: string;
|
|
1362
1383
|
commandDigest: string;
|
|
1363
1384
|
executablePath: string;
|
|
1364
1385
|
executableDigest: string;
|
|
1365
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1366
1386
|
scriptPath?: string | null | undefined;
|
|
1367
1387
|
scriptDigest?: string | null | undefined;
|
|
1388
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1368
1389
|
}>>>;
|
|
1369
1390
|
}, "strict", z.ZodTypeAny, {
|
|
1370
|
-
id: string;
|
|
1371
|
-
required: boolean;
|
|
1372
|
-
args: string[];
|
|
1373
1391
|
program: string;
|
|
1392
|
+
args: string[];
|
|
1393
|
+
cwd?: string | undefined;
|
|
1374
1394
|
envAllowlist: string[];
|
|
1395
|
+
id: string;
|
|
1396
|
+
required: boolean;
|
|
1375
1397
|
trust_required: boolean;
|
|
1376
1398
|
trust_grant: {
|
|
1377
1399
|
projectDigest: string;
|
|
@@ -1381,16 +1403,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1381
1403
|
executableDigest: string;
|
|
1382
1404
|
scriptPath: string | null;
|
|
1383
1405
|
scriptDigest: string | null;
|
|
1384
|
-
accessProfile: "
|
|
1406
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1385
1407
|
} | null;
|
|
1386
|
-
cwd?: string | undefined;
|
|
1387
1408
|
}, {
|
|
1388
|
-
id: string;
|
|
1389
1409
|
program: string;
|
|
1390
|
-
required?: boolean | undefined;
|
|
1391
1410
|
args?: string[] | undefined;
|
|
1392
1411
|
cwd?: string | undefined;
|
|
1393
1412
|
envAllowlist?: string[] | undefined;
|
|
1413
|
+
id: string;
|
|
1414
|
+
required?: boolean | undefined;
|
|
1394
1415
|
trust_required?: boolean | undefined;
|
|
1395
1416
|
trust_grant?: {
|
|
1396
1417
|
projectDigest: string;
|
|
@@ -1398,9 +1419,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1398
1419
|
commandDigest: string;
|
|
1399
1420
|
executablePath: string;
|
|
1400
1421
|
executableDigest: string;
|
|
1401
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1402
1422
|
scriptPath?: string | null | undefined;
|
|
1403
1423
|
scriptDigest?: string | null | undefined;
|
|
1424
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1404
1425
|
} | null | undefined;
|
|
1405
1426
|
}>, "many">;
|
|
1406
1427
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1416,8 +1437,8 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1416
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1417
1438
|
root: string;
|
|
1418
1439
|
base_ref: string;
|
|
1419
|
-
dirty_policy: "refuse" | "snapshot";
|
|
1420
1440
|
base_sha?: string | undefined;
|
|
1441
|
+
dirty_policy: "refuse" | "snapshot";
|
|
1421
1442
|
}, {
|
|
1422
1443
|
root: string;
|
|
1423
1444
|
base_ref: string;
|
|
@@ -1427,10 +1448,21 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1427
1448
|
mode: z.ZodObject<{
|
|
1428
1449
|
kind: z.ZodEnum<["ask", "plan", "agent"]>;
|
|
1429
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1430
|
-
kind: "
|
|
1451
|
+
kind: "agent" | "ask" | "plan";
|
|
1431
1452
|
}, {
|
|
1432
|
-
kind: "
|
|
1453
|
+
kind: "agent" | "ask" | "plan";
|
|
1433
1454
|
}>;
|
|
1455
|
+
delegation_requested: z.ZodDefault<z.ZodBoolean>;
|
|
1456
|
+
run_lineage: z.ZodDefault<z.ZodObject<{
|
|
1457
|
+
parent_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1458
|
+
delegated_from_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1459
|
+
}, "strip", z.ZodTypeAny, {
|
|
1460
|
+
parent_run_id: string | null;
|
|
1461
|
+
delegated_from_run_id: string | null;
|
|
1462
|
+
}, {
|
|
1463
|
+
parent_run_id?: string | null | undefined;
|
|
1464
|
+
delegated_from_run_id?: string | null | undefined;
|
|
1465
|
+
}>>;
|
|
1434
1466
|
user_intent: z.ZodObject<{
|
|
1435
1467
|
raw: z.ZodString;
|
|
1436
1468
|
normalized: z.ZodOptional<z.ZodString>;
|
|
@@ -1538,23 +1570,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1538
1570
|
executableDigest: string;
|
|
1539
1571
|
scriptPath: string | null;
|
|
1540
1572
|
scriptDigest: string | null;
|
|
1541
|
-
accessProfile: "
|
|
1573
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1542
1574
|
}, {
|
|
1543
1575
|
projectDigest: string;
|
|
1544
1576
|
configDigest: string;
|
|
1545
1577
|
commandDigest: string;
|
|
1546
1578
|
executablePath: string;
|
|
1547
1579
|
executableDigest: string;
|
|
1548
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1549
1580
|
scriptPath?: string | null | undefined;
|
|
1550
1581
|
scriptDigest?: string | null | undefined;
|
|
1582
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1551
1583
|
}>>>;
|
|
1552
1584
|
}, "strict", z.ZodTypeAny, {
|
|
1553
|
-
id: string;
|
|
1554
|
-
required: boolean;
|
|
1555
|
-
args: string[];
|
|
1556
1585
|
program: string;
|
|
1586
|
+
args: string[];
|
|
1587
|
+
cwd?: string | undefined;
|
|
1557
1588
|
envAllowlist: string[];
|
|
1589
|
+
id: string;
|
|
1590
|
+
required: boolean;
|
|
1558
1591
|
trust_required: boolean;
|
|
1559
1592
|
trust_grant: {
|
|
1560
1593
|
projectDigest: string;
|
|
@@ -1564,16 +1597,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1564
1597
|
executableDigest: string;
|
|
1565
1598
|
scriptPath: string | null;
|
|
1566
1599
|
scriptDigest: string | null;
|
|
1567
|
-
accessProfile: "
|
|
1600
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1568
1601
|
} | null;
|
|
1569
|
-
cwd?: string | undefined;
|
|
1570
1602
|
}, {
|
|
1571
|
-
id: string;
|
|
1572
1603
|
program: string;
|
|
1573
|
-
required?: boolean | undefined;
|
|
1574
1604
|
args?: string[] | undefined;
|
|
1575
1605
|
cwd?: string | undefined;
|
|
1576
1606
|
envAllowlist?: string[] | undefined;
|
|
1607
|
+
id: string;
|
|
1608
|
+
required?: boolean | undefined;
|
|
1577
1609
|
trust_required?: boolean | undefined;
|
|
1578
1610
|
trust_grant?: {
|
|
1579
1611
|
projectDigest: string;
|
|
@@ -1581,18 +1613,19 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1581
1613
|
commandDigest: string;
|
|
1582
1614
|
executablePath: string;
|
|
1583
1615
|
executableDigest: string;
|
|
1584
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1585
1616
|
scriptPath?: string | null | undefined;
|
|
1586
1617
|
scriptDigest?: string | null | undefined;
|
|
1618
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1587
1619
|
} | null | undefined;
|
|
1588
1620
|
}>, "many">>;
|
|
1589
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1590
1622
|
commands: {
|
|
1591
|
-
id: string;
|
|
1592
|
-
required: boolean;
|
|
1593
|
-
args: string[];
|
|
1594
1623
|
program: string;
|
|
1624
|
+
args: string[];
|
|
1625
|
+
cwd?: string | undefined;
|
|
1595
1626
|
envAllowlist: string[];
|
|
1627
|
+
id: string;
|
|
1628
|
+
required: boolean;
|
|
1596
1629
|
trust_required: boolean;
|
|
1597
1630
|
trust_grant: {
|
|
1598
1631
|
projectDigest: string;
|
|
@@ -1602,18 +1635,17 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1602
1635
|
executableDigest: string;
|
|
1603
1636
|
scriptPath: string | null;
|
|
1604
1637
|
scriptDigest: string | null;
|
|
1605
|
-
accessProfile: "
|
|
1638
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1606
1639
|
} | null;
|
|
1607
|
-
cwd?: string | undefined;
|
|
1608
1640
|
}[];
|
|
1609
1641
|
}, {
|
|
1610
1642
|
commands?: {
|
|
1611
|
-
id: string;
|
|
1612
1643
|
program: string;
|
|
1613
|
-
required?: boolean | undefined;
|
|
1614
1644
|
args?: string[] | undefined;
|
|
1615
1645
|
cwd?: string | undefined;
|
|
1616
1646
|
envAllowlist?: string[] | undefined;
|
|
1647
|
+
id: string;
|
|
1648
|
+
required?: boolean | undefined;
|
|
1617
1649
|
trust_required?: boolean | undefined;
|
|
1618
1650
|
trust_grant?: {
|
|
1619
1651
|
projectDigest: string;
|
|
@@ -1621,9 +1653,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1621
1653
|
commandDigest: string;
|
|
1622
1654
|
executablePath: string;
|
|
1623
1655
|
executableDigest: string;
|
|
1624
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1625
1656
|
scriptPath?: string | null | undefined;
|
|
1626
1657
|
scriptDigest?: string | null | undefined;
|
|
1658
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1627
1659
|
} | null | undefined;
|
|
1628
1660
|
}[] | undefined;
|
|
1629
1661
|
}>>;
|
|
@@ -1632,11 +1664,11 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1632
1664
|
/** Profile actually enforced by the engine (mode/trust clamps applied; never client-supplied). */
|
|
1633
1665
|
effective_profile: z.ZodDefault<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>>;
|
|
1634
1666
|
}, "strip", z.ZodTypeAny, {
|
|
1635
|
-
requested_profile: "
|
|
1636
|
-
effective_profile: "
|
|
1667
|
+
requested_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1668
|
+
effective_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1637
1669
|
}, {
|
|
1638
|
-
requested_profile?: "
|
|
1639
|
-
effective_profile?: "
|
|
1670
|
+
requested_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
1671
|
+
effective_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
1640
1672
|
}>>;
|
|
1641
1673
|
external_context: z.ZodDefault<z.ZodObject<{
|
|
1642
1674
|
policy: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
@@ -1644,24 +1676,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1644
1676
|
/** Mode the selected route actually executes (disclosed upgrades, e.g. claude cached->live). */
|
|
1645
1677
|
effective_mode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1646
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1647
|
-
policy: "
|
|
1679
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
1648
1680
|
web_required: boolean;
|
|
1649
|
-
effective_mode: "
|
|
1681
|
+
effective_mode: "auto" | "cached" | "live" | "off";
|
|
1650
1682
|
}, {
|
|
1651
|
-
policy?: "
|
|
1683
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1652
1684
|
web_required?: boolean | undefined;
|
|
1653
|
-
effective_mode?: "
|
|
1685
|
+
effective_mode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1654
1686
|
}>>;
|
|
1655
1687
|
tool_permission_policy: z.ZodDefault<z.ZodObject<{
|
|
1656
1688
|
web: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1657
1689
|
allow: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1658
1690
|
deny: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1659
1691
|
}, "strip", z.ZodTypeAny, {
|
|
1660
|
-
web: "
|
|
1692
|
+
web: "auto" | "cached" | "live" | "off";
|
|
1661
1693
|
allow: string[];
|
|
1662
1694
|
deny: string[];
|
|
1663
1695
|
}, {
|
|
1664
|
-
web?: "
|
|
1696
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1665
1697
|
allow?: string[] | undefined;
|
|
1666
1698
|
deny?: string[] | undefined;
|
|
1667
1699
|
}>>;
|
|
@@ -1684,7 +1716,7 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1684
1716
|
maxUsd: number;
|
|
1685
1717
|
}>]>>;
|
|
1686
1718
|
}, "strip", z.ZodTypeAny, {
|
|
1687
|
-
routing_goal: "auto" | "
|
|
1719
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
1688
1720
|
paid_budget: {
|
|
1689
1721
|
kind: "unlimited";
|
|
1690
1722
|
} | {
|
|
@@ -1692,7 +1724,7 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1692
1724
|
maxUsd: number;
|
|
1693
1725
|
};
|
|
1694
1726
|
}, {
|
|
1695
|
-
routing_goal?: "auto" | "
|
|
1727
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
1696
1728
|
paid_budget?: {
|
|
1697
1729
|
kind: "unlimited";
|
|
1698
1730
|
} | {
|
|
@@ -1737,11 +1769,32 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1737
1769
|
require_no_accepted_needs_human_open?: boolean | undefined;
|
|
1738
1770
|
}>>;
|
|
1739
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1772
|
+
schema_version: 2;
|
|
1773
|
+
task_id: string;
|
|
1740
1774
|
created_at: string;
|
|
1775
|
+
repo: {
|
|
1776
|
+
root: string;
|
|
1777
|
+
base_ref: string;
|
|
1778
|
+
base_sha?: string | undefined;
|
|
1779
|
+
dirty_policy: "refuse" | "snapshot";
|
|
1780
|
+
};
|
|
1741
1781
|
mode: {
|
|
1742
|
-
kind: "
|
|
1782
|
+
kind: "agent" | "ask" | "plan";
|
|
1743
1783
|
};
|
|
1744
|
-
|
|
1784
|
+
delegation_requested: boolean;
|
|
1785
|
+
run_lineage: {
|
|
1786
|
+
parent_run_id: string | null;
|
|
1787
|
+
delegated_from_run_id: string | null;
|
|
1788
|
+
};
|
|
1789
|
+
user_intent: {
|
|
1790
|
+
raw: string;
|
|
1791
|
+
normalized?: string | undefined;
|
|
1792
|
+
};
|
|
1793
|
+
instructions?: string | undefined;
|
|
1794
|
+
output_schema: Record<string, unknown> | null;
|
|
1795
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
1796
|
+
credential_profile_id: string | null;
|
|
1797
|
+
max_turns: number | null;
|
|
1745
1798
|
constraints: {
|
|
1746
1799
|
protected_paths: string[];
|
|
1747
1800
|
deny_paths: string[];
|
|
@@ -1751,37 +1804,14 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1751
1804
|
reason?: string | undefined;
|
|
1752
1805
|
}[];
|
|
1753
1806
|
};
|
|
1754
|
-
max_turns: number | null;
|
|
1755
|
-
access: {
|
|
1756
|
-
requested_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1757
|
-
effective_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1758
|
-
};
|
|
1759
|
-
tool_permission_policy: {
|
|
1760
|
-
web: "off" | "auto" | "cached" | "live";
|
|
1761
|
-
allow: string[];
|
|
1762
|
-
deny: string[];
|
|
1763
|
-
};
|
|
1764
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
1765
|
-
output_schema: Record<string, unknown> | null;
|
|
1766
|
-
credential_profile_id: string | null;
|
|
1767
|
-
repo: {
|
|
1768
|
-
root: string;
|
|
1769
|
-
base_ref: string;
|
|
1770
|
-
dirty_policy: "refuse" | "snapshot";
|
|
1771
|
-
base_sha?: string | undefined;
|
|
1772
|
-
};
|
|
1773
|
-
task_id: string;
|
|
1774
|
-
user_intent: {
|
|
1775
|
-
raw: string;
|
|
1776
|
-
normalized?: string | undefined;
|
|
1777
|
-
};
|
|
1778
1807
|
tests: {
|
|
1779
1808
|
commands: {
|
|
1780
|
-
id: string;
|
|
1781
|
-
required: boolean;
|
|
1782
|
-
args: string[];
|
|
1783
1809
|
program: string;
|
|
1810
|
+
args: string[];
|
|
1811
|
+
cwd?: string | undefined;
|
|
1784
1812
|
envAllowlist: string[];
|
|
1813
|
+
id: string;
|
|
1814
|
+
required: boolean;
|
|
1785
1815
|
trust_required: boolean;
|
|
1786
1816
|
trust_grant: {
|
|
1787
1817
|
projectDigest: string;
|
|
@@ -1791,18 +1821,26 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1791
1821
|
executableDigest: string;
|
|
1792
1822
|
scriptPath: string | null;
|
|
1793
1823
|
scriptDigest: string | null;
|
|
1794
|
-
accessProfile: "
|
|
1824
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1795
1825
|
} | null;
|
|
1796
|
-
cwd?: string | undefined;
|
|
1797
1826
|
}[];
|
|
1798
1827
|
};
|
|
1828
|
+
access: {
|
|
1829
|
+
requested_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1830
|
+
effective_profile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1831
|
+
};
|
|
1799
1832
|
external_context: {
|
|
1800
|
-
policy: "
|
|
1833
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
1801
1834
|
web_required: boolean;
|
|
1802
|
-
effective_mode: "
|
|
1835
|
+
effective_mode: "auto" | "cached" | "live" | "off";
|
|
1836
|
+
};
|
|
1837
|
+
tool_permission_policy: {
|
|
1838
|
+
web: "auto" | "cached" | "live" | "off";
|
|
1839
|
+
allow: string[];
|
|
1840
|
+
deny: string[];
|
|
1803
1841
|
};
|
|
1804
1842
|
budget: {
|
|
1805
|
-
routing_goal: "auto" | "
|
|
1843
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
1806
1844
|
paid_budget: {
|
|
1807
1845
|
kind: "unlimited";
|
|
1808
1846
|
} | {
|
|
@@ -1820,25 +1858,33 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1820
1858
|
require_final_diff_stable_after_review: boolean;
|
|
1821
1859
|
require_no_accepted_needs_human_open: boolean;
|
|
1822
1860
|
};
|
|
1823
|
-
instructions?: string | undefined;
|
|
1824
1861
|
}, {
|
|
1825
|
-
created_at: string;
|
|
1826
|
-
mode: {
|
|
1827
|
-
kind: "ask" | "plan" | "agent";
|
|
1828
|
-
};
|
|
1829
1862
|
schema_version: 2;
|
|
1863
|
+
task_id: string;
|
|
1864
|
+
created_at: string;
|
|
1830
1865
|
repo: {
|
|
1831
1866
|
root: string;
|
|
1832
1867
|
base_ref: string;
|
|
1833
1868
|
base_sha?: string | undefined;
|
|
1834
1869
|
dirty_policy?: "refuse" | "snapshot" | undefined;
|
|
1835
1870
|
};
|
|
1836
|
-
|
|
1871
|
+
mode: {
|
|
1872
|
+
kind: "agent" | "ask" | "plan";
|
|
1873
|
+
};
|
|
1874
|
+
delegation_requested?: boolean | undefined;
|
|
1875
|
+
run_lineage?: {
|
|
1876
|
+
parent_run_id?: string | null | undefined;
|
|
1877
|
+
delegated_from_run_id?: string | null | undefined;
|
|
1878
|
+
} | undefined;
|
|
1837
1879
|
user_intent: {
|
|
1838
1880
|
raw: string;
|
|
1839
1881
|
normalized?: string | undefined;
|
|
1840
1882
|
};
|
|
1841
1883
|
instructions?: string | undefined;
|
|
1884
|
+
output_schema?: Record<string, unknown> | null | undefined;
|
|
1885
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1886
|
+
credential_profile_id?: string | null | undefined;
|
|
1887
|
+
max_turns?: number | null | undefined;
|
|
1842
1888
|
constraints?: {
|
|
1843
1889
|
protected_paths?: string[] | undefined;
|
|
1844
1890
|
deny_paths?: string[] | undefined;
|
|
@@ -1848,27 +1894,14 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1848
1894
|
reason?: string | undefined;
|
|
1849
1895
|
}[] | undefined;
|
|
1850
1896
|
} | undefined;
|
|
1851
|
-
max_turns?: number | null | undefined;
|
|
1852
|
-
access?: {
|
|
1853
|
-
requested_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
1854
|
-
effective_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
1855
|
-
} | undefined;
|
|
1856
|
-
tool_permission_policy?: {
|
|
1857
|
-
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
1858
|
-
allow?: string[] | undefined;
|
|
1859
|
-
deny?: string[] | undefined;
|
|
1860
|
-
} | undefined;
|
|
1861
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
1862
|
-
output_schema?: Record<string, unknown> | null | undefined;
|
|
1863
|
-
credential_profile_id?: string | null | undefined;
|
|
1864
1897
|
tests?: {
|
|
1865
1898
|
commands?: {
|
|
1866
|
-
id: string;
|
|
1867
1899
|
program: string;
|
|
1868
|
-
required?: boolean | undefined;
|
|
1869
1900
|
args?: string[] | undefined;
|
|
1870
1901
|
cwd?: string | undefined;
|
|
1871
1902
|
envAllowlist?: string[] | undefined;
|
|
1903
|
+
id: string;
|
|
1904
|
+
required?: boolean | undefined;
|
|
1872
1905
|
trust_required?: boolean | undefined;
|
|
1873
1906
|
trust_grant?: {
|
|
1874
1907
|
projectDigest: string;
|
|
@@ -1876,19 +1909,28 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1876
1909
|
commandDigest: string;
|
|
1877
1910
|
executablePath: string;
|
|
1878
1911
|
executableDigest: string;
|
|
1879
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1880
1912
|
scriptPath?: string | null | undefined;
|
|
1881
1913
|
scriptDigest?: string | null | undefined;
|
|
1914
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1882
1915
|
} | null | undefined;
|
|
1883
1916
|
}[] | undefined;
|
|
1884
1917
|
} | undefined;
|
|
1918
|
+
access?: {
|
|
1919
|
+
requested_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
1920
|
+
effective_profile?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
1921
|
+
} | undefined;
|
|
1885
1922
|
external_context?: {
|
|
1886
|
-
policy?: "
|
|
1923
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1887
1924
|
web_required?: boolean | undefined;
|
|
1888
|
-
effective_mode?: "
|
|
1925
|
+
effective_mode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1926
|
+
} | undefined;
|
|
1927
|
+
tool_permission_policy?: {
|
|
1928
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1929
|
+
allow?: string[] | undefined;
|
|
1930
|
+
deny?: string[] | undefined;
|
|
1889
1931
|
} | undefined;
|
|
1890
1932
|
budget?: {
|
|
1891
|
-
routing_goal?: "auto" | "
|
|
1933
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
1892
1934
|
paid_budget?: {
|
|
1893
1935
|
kind: "unlimited";
|
|
1894
1936
|
} | {
|