@claudexor/schema 3.1.2 → 3.3.7-rc.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 +157 -129
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +3 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +472 -273
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +25 -1
- 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 +59 -59
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +1 -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 +644 -629
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +5 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +2229 -1569
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +46 -2
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-failure.d.ts +57 -0
- package/dist/control-run-failure.d.ts.map +1 -0
- package/dist/control-run-failure.js +89 -0
- package/dist/control-run-failure.js.map +1 -0
- package/dist/control-run-retry.d.ts +16 -16
- 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 +19 -2
- package/dist/control-run-scope.d.ts.map +1 -1
- package/dist/control-run-scope.js +22 -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 +1551 -2385
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +29 -107
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +3206 -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 +170 -107
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +24 -7
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +121 -121
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -1
- 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 +13 -13
- package/dist/delegation.d.ts.map +1 -1
- package/dist/delegation.js +1 -1
- package/dist/delegation.js.map +1 -1
- 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 +55 -35
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +20 -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-confinement.d.ts +64 -0
- package/dist/harness-confinement.d.ts.map +1 -0
- package/dist/harness-confinement.js +64 -0
- package/dist/harness-confinement.js.map +1 -0
- package/dist/harness.d.ts +428 -408
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +15 -26
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -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 +2 -2
- 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 +51 -51
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +6 -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 +242 -242
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +1 -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 +9 -9
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +1 -1
- 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 +303 -303
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +1 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +1157 -633
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +7 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +133 -84
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +21 -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 +13 -13
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +41 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +10 -1
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +10 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +1343 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +20 -3
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1322 -0
- package/generated/ControlDirectoryEntry.schema.json +36 -0
- package/generated/ControlDirectoryListing.schema.json +77 -0
- package/generated/ControlHarnessListResponse.schema.json +41 -1
- package/generated/ControlQuotaResponse.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +12 -2
- package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
- package/generated/ControlRunDetail.schema.json +494 -69
- package/generated/ControlRunListResponse.schema.json +30 -4
- package/generated/ControlRunStartRequest.schema.json +12 -2
- package/generated/ControlRunSummary.schema.json +30 -4
- 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/ControlThreadCreateRequest.schema.json +5 -0
- package/generated/ControlThreadDetail.schema.json +31 -1
- package/generated/ControlThreadTurnRequest.schema.json +5 -24
- package/generated/CredentialProfileStatus.schema.json +10 -1
- package/generated/DecisionRecord.schema.json +2 -1
- 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 +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +182 -1
- package/generated/McpRunToolResult.schema.json +182 -1
- package/generated/OutputReadyPayload.schema.json +44 -0
- package/generated/RunFacts.schema.json +569 -0
- package/generated/RunFailure.schema.json +19 -2
- package/generated/RunTelemetry.schema.json +492 -2
- package/generated/ThreadTurn.schema.json +29 -0
- package/generated/WorkProduct.schema.json +0 -4
- 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,9 +236,9 @@ 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
243
|
delegation_requested: z.ZodDefault<z.ZodBoolean>;
|
|
244
244
|
run_lineage: z.ZodDefault<z.ZodObject<{
|
|
@@ -358,23 +358,24 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
358
358
|
executableDigest: string;
|
|
359
359
|
scriptPath: string | null;
|
|
360
360
|
scriptDigest: string | null;
|
|
361
|
-
accessProfile: "
|
|
361
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
362
362
|
}, {
|
|
363
363
|
projectDigest: string;
|
|
364
364
|
configDigest: string;
|
|
365
365
|
commandDigest: string;
|
|
366
366
|
executablePath: string;
|
|
367
367
|
executableDigest: string;
|
|
368
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
369
368
|
scriptPath?: string | null | undefined;
|
|
370
369
|
scriptDigest?: string | null | undefined;
|
|
370
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
371
371
|
}>>>;
|
|
372
372
|
}, "strict", z.ZodTypeAny, {
|
|
373
|
-
id: string;
|
|
374
|
-
required: boolean;
|
|
375
|
-
args: string[];
|
|
376
373
|
program: string;
|
|
374
|
+
args: string[];
|
|
375
|
+
cwd?: string | undefined;
|
|
377
376
|
envAllowlist: string[];
|
|
377
|
+
id: string;
|
|
378
|
+
required: boolean;
|
|
378
379
|
trust_required: boolean;
|
|
379
380
|
trust_grant: {
|
|
380
381
|
projectDigest: string;
|
|
@@ -384,16 +385,15 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
384
385
|
executableDigest: string;
|
|
385
386
|
scriptPath: string | null;
|
|
386
387
|
scriptDigest: string | null;
|
|
387
|
-
accessProfile: "
|
|
388
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
388
389
|
} | null;
|
|
389
|
-
cwd?: string | undefined;
|
|
390
390
|
}, {
|
|
391
|
-
id: string;
|
|
392
391
|
program: string;
|
|
393
|
-
required?: boolean | undefined;
|
|
394
392
|
args?: string[] | undefined;
|
|
395
393
|
cwd?: string | undefined;
|
|
396
394
|
envAllowlist?: string[] | undefined;
|
|
395
|
+
id: string;
|
|
396
|
+
required?: boolean | undefined;
|
|
397
397
|
trust_required?: boolean | undefined;
|
|
398
398
|
trust_grant?: {
|
|
399
399
|
projectDigest: string;
|
|
@@ -401,18 +401,19 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
401
401
|
commandDigest: string;
|
|
402
402
|
executablePath: string;
|
|
403
403
|
executableDigest: string;
|
|
404
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
405
404
|
scriptPath?: string | null | undefined;
|
|
406
405
|
scriptDigest?: string | null | undefined;
|
|
406
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
407
407
|
} | null | undefined;
|
|
408
408
|
}>, "many">>;
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
410
|
commands: {
|
|
411
|
-
id: string;
|
|
412
|
-
required: boolean;
|
|
413
|
-
args: string[];
|
|
414
411
|
program: string;
|
|
412
|
+
args: string[];
|
|
413
|
+
cwd?: string | undefined;
|
|
415
414
|
envAllowlist: string[];
|
|
415
|
+
id: string;
|
|
416
|
+
required: boolean;
|
|
416
417
|
trust_required: boolean;
|
|
417
418
|
trust_grant: {
|
|
418
419
|
projectDigest: string;
|
|
@@ -422,18 +423,17 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
422
423
|
executableDigest: string;
|
|
423
424
|
scriptPath: string | null;
|
|
424
425
|
scriptDigest: string | null;
|
|
425
|
-
accessProfile: "
|
|
426
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
426
427
|
} | null;
|
|
427
|
-
cwd?: string | undefined;
|
|
428
428
|
}[];
|
|
429
429
|
}, {
|
|
430
430
|
commands?: {
|
|
431
|
-
id: string;
|
|
432
431
|
program: string;
|
|
433
|
-
required?: boolean | undefined;
|
|
434
432
|
args?: string[] | undefined;
|
|
435
433
|
cwd?: string | undefined;
|
|
436
434
|
envAllowlist?: string[] | undefined;
|
|
435
|
+
id: string;
|
|
436
|
+
required?: boolean | undefined;
|
|
437
437
|
trust_required?: boolean | undefined;
|
|
438
438
|
trust_grant?: {
|
|
439
439
|
projectDigest: string;
|
|
@@ -441,9 +441,9 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
441
441
|
commandDigest: string;
|
|
442
442
|
executablePath: string;
|
|
443
443
|
executableDigest: string;
|
|
444
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
445
444
|
scriptPath?: string | null | undefined;
|
|
446
445
|
scriptDigest?: string | null | undefined;
|
|
446
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
447
447
|
} | null | undefined;
|
|
448
448
|
}[] | undefined;
|
|
449
449
|
}>>;
|
|
@@ -452,11 +452,11 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
452
452
|
/** Profile actually enforced by the engine (mode/trust clamps applied; never client-supplied). */
|
|
453
453
|
effective_profile: z.ZodDefault<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>>;
|
|
454
454
|
}, "strip", z.ZodTypeAny, {
|
|
455
|
-
requested_profile: "
|
|
456
|
-
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";
|
|
457
457
|
}, {
|
|
458
|
-
requested_profile?: "
|
|
459
|
-
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;
|
|
460
460
|
}>>;
|
|
461
461
|
external_context: z.ZodDefault<z.ZodObject<{
|
|
462
462
|
policy: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
@@ -464,24 +464,24 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
464
464
|
/** Mode the selected route actually executes (disclosed upgrades, e.g. claude cached->live). */
|
|
465
465
|
effective_mode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
policy: "
|
|
467
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
468
468
|
web_required: boolean;
|
|
469
|
-
effective_mode: "
|
|
469
|
+
effective_mode: "auto" | "cached" | "live" | "off";
|
|
470
470
|
}, {
|
|
471
|
-
policy?: "
|
|
471
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
472
472
|
web_required?: boolean | undefined;
|
|
473
|
-
effective_mode?: "
|
|
473
|
+
effective_mode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
474
474
|
}>>;
|
|
475
475
|
tool_permission_policy: z.ZodDefault<z.ZodObject<{
|
|
476
476
|
web: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
477
477
|
allow: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
478
478
|
deny: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
|
-
web: "
|
|
480
|
+
web: "auto" | "cached" | "live" | "off";
|
|
481
481
|
allow: string[];
|
|
482
482
|
deny: string[];
|
|
483
483
|
}, {
|
|
484
|
-
web?: "
|
|
484
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
485
485
|
allow?: string[] | undefined;
|
|
486
486
|
deny?: string[] | undefined;
|
|
487
487
|
}>>;
|
|
@@ -504,7 +504,7 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
504
504
|
maxUsd: number;
|
|
505
505
|
}>]>>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
routing_goal: "auto" | "
|
|
507
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
508
508
|
paid_budget: {
|
|
509
509
|
kind: "unlimited";
|
|
510
510
|
} | {
|
|
@@ -512,7 +512,7 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
512
512
|
maxUsd: number;
|
|
513
513
|
};
|
|
514
514
|
}, {
|
|
515
|
-
routing_goal?: "auto" | "
|
|
515
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
516
516
|
paid_budget?: {
|
|
517
517
|
kind: "unlimited";
|
|
518
518
|
} | {
|
|
@@ -557,40 +557,18 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
557
557
|
require_no_accepted_needs_human_open?: boolean | undefined;
|
|
558
558
|
}>>;
|
|
559
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
created_at: string;
|
|
561
|
-
mode: {
|
|
562
|
-
kind: "ask" | "plan" | "agent";
|
|
563
|
-
};
|
|
564
560
|
schema_version: 2;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
deny_paths: string[];
|
|
568
|
-
auto_protected_paths: string[];
|
|
569
|
-
protected_path_approvals: {
|
|
570
|
-
path: string;
|
|
571
|
-
reason?: string | undefined;
|
|
572
|
-
}[];
|
|
573
|
-
};
|
|
574
|
-
max_turns: number | null;
|
|
575
|
-
access: {
|
|
576
|
-
requested_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
577
|
-
effective_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
578
|
-
};
|
|
579
|
-
tool_permission_policy: {
|
|
580
|
-
web: "off" | "auto" | "cached" | "live";
|
|
581
|
-
allow: string[];
|
|
582
|
-
deny: string[];
|
|
583
|
-
};
|
|
584
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
585
|
-
output_schema: Record<string, unknown> | null;
|
|
586
|
-
credential_profile_id: string | null;
|
|
561
|
+
task_id: string;
|
|
562
|
+
created_at: string;
|
|
587
563
|
repo: {
|
|
588
564
|
root: string;
|
|
589
565
|
base_ref: string;
|
|
590
|
-
dirty_policy: "refuse" | "snapshot";
|
|
591
566
|
base_sha?: string | undefined;
|
|
567
|
+
dirty_policy: "refuse" | "snapshot";
|
|
568
|
+
};
|
|
569
|
+
mode: {
|
|
570
|
+
kind: "agent" | "ask" | "plan";
|
|
592
571
|
};
|
|
593
|
-
task_id: string;
|
|
594
572
|
delegation_requested: boolean;
|
|
595
573
|
run_lineage: {
|
|
596
574
|
parent_run_id: string | null;
|
|
@@ -600,13 +578,28 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
600
578
|
raw: string;
|
|
601
579
|
normalized?: string | undefined;
|
|
602
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;
|
|
586
|
+
constraints: {
|
|
587
|
+
protected_paths: string[];
|
|
588
|
+
deny_paths: string[];
|
|
589
|
+
auto_protected_paths: string[];
|
|
590
|
+
protected_path_approvals: {
|
|
591
|
+
path: string;
|
|
592
|
+
reason?: string | undefined;
|
|
593
|
+
}[];
|
|
594
|
+
};
|
|
603
595
|
tests: {
|
|
604
596
|
commands: {
|
|
605
|
-
id: string;
|
|
606
|
-
required: boolean;
|
|
607
|
-
args: string[];
|
|
608
597
|
program: string;
|
|
598
|
+
args: string[];
|
|
599
|
+
cwd?: string | undefined;
|
|
609
600
|
envAllowlist: string[];
|
|
601
|
+
id: string;
|
|
602
|
+
required: boolean;
|
|
610
603
|
trust_required: boolean;
|
|
611
604
|
trust_grant: {
|
|
612
605
|
projectDigest: string;
|
|
@@ -616,18 +609,26 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
616
609
|
executableDigest: string;
|
|
617
610
|
scriptPath: string | null;
|
|
618
611
|
scriptDigest: string | null;
|
|
619
|
-
accessProfile: "
|
|
612
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
620
613
|
} | null;
|
|
621
|
-
cwd?: string | undefined;
|
|
622
614
|
}[];
|
|
623
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
|
+
};
|
|
624
620
|
external_context: {
|
|
625
|
-
policy: "
|
|
621
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
626
622
|
web_required: boolean;
|
|
627
|
-
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[];
|
|
628
629
|
};
|
|
629
630
|
budget: {
|
|
630
|
-
routing_goal: "auto" | "
|
|
631
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
631
632
|
paid_budget: {
|
|
632
633
|
kind: "unlimited";
|
|
633
634
|
} | {
|
|
@@ -645,25 +646,33 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
645
646
|
require_final_diff_stable_after_review: boolean;
|
|
646
647
|
require_no_accepted_needs_human_open: boolean;
|
|
647
648
|
};
|
|
648
|
-
instructions?: string | undefined;
|
|
649
649
|
}, {
|
|
650
|
-
created_at: string;
|
|
651
|
-
mode: {
|
|
652
|
-
kind: "ask" | "plan" | "agent";
|
|
653
|
-
};
|
|
654
650
|
schema_version: 2;
|
|
651
|
+
task_id: string;
|
|
652
|
+
created_at: string;
|
|
655
653
|
repo: {
|
|
656
654
|
root: string;
|
|
657
655
|
base_ref: string;
|
|
658
656
|
base_sha?: string | undefined;
|
|
659
657
|
dirty_policy?: "refuse" | "snapshot" | undefined;
|
|
660
658
|
};
|
|
661
|
-
|
|
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;
|
|
662
667
|
user_intent: {
|
|
663
668
|
raw: string;
|
|
664
669
|
normalized?: string | undefined;
|
|
665
670
|
};
|
|
666
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;
|
|
667
676
|
constraints?: {
|
|
668
677
|
protected_paths?: string[] | undefined;
|
|
669
678
|
deny_paths?: string[] | undefined;
|
|
@@ -673,32 +682,14 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
673
682
|
reason?: string | undefined;
|
|
674
683
|
}[] | undefined;
|
|
675
684
|
} | undefined;
|
|
676
|
-
max_turns?: number | null | undefined;
|
|
677
|
-
access?: {
|
|
678
|
-
requested_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
679
|
-
effective_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
680
|
-
} | undefined;
|
|
681
|
-
tool_permission_policy?: {
|
|
682
|
-
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
683
|
-
allow?: string[] | undefined;
|
|
684
|
-
deny?: string[] | undefined;
|
|
685
|
-
} | undefined;
|
|
686
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
687
|
-
output_schema?: Record<string, unknown> | null | undefined;
|
|
688
|
-
credential_profile_id?: string | null | undefined;
|
|
689
|
-
delegation_requested?: boolean | undefined;
|
|
690
|
-
run_lineage?: {
|
|
691
|
-
parent_run_id?: string | null | undefined;
|
|
692
|
-
delegated_from_run_id?: string | null | undefined;
|
|
693
|
-
} | undefined;
|
|
694
685
|
tests?: {
|
|
695
686
|
commands?: {
|
|
696
|
-
id: string;
|
|
697
687
|
program: string;
|
|
698
|
-
required?: boolean | undefined;
|
|
699
688
|
args?: string[] | undefined;
|
|
700
689
|
cwd?: string | undefined;
|
|
701
690
|
envAllowlist?: string[] | undefined;
|
|
691
|
+
id: string;
|
|
692
|
+
required?: boolean | undefined;
|
|
702
693
|
trust_required?: boolean | undefined;
|
|
703
694
|
trust_grant?: {
|
|
704
695
|
projectDigest: string;
|
|
@@ -706,19 +697,28 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
706
697
|
commandDigest: string;
|
|
707
698
|
executablePath: string;
|
|
708
699
|
executableDigest: string;
|
|
709
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
710
700
|
scriptPath?: string | null | undefined;
|
|
711
701
|
scriptDigest?: string | null | undefined;
|
|
702
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
712
703
|
} | null | undefined;
|
|
713
704
|
}[] | undefined;
|
|
714
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;
|
|
715
710
|
external_context?: {
|
|
716
|
-
policy?: "
|
|
711
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
717
712
|
web_required?: boolean | undefined;
|
|
718
|
-
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;
|
|
719
719
|
} | undefined;
|
|
720
720
|
budget?: {
|
|
721
|
-
routing_goal?: "auto" | "
|
|
721
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
722
722
|
paid_budget?: {
|
|
723
723
|
kind: "unlimited";
|
|
724
724
|
} | {
|
|
@@ -772,23 +772,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
772
772
|
executableDigest: string;
|
|
773
773
|
scriptPath: string | null;
|
|
774
774
|
scriptDigest: string | null;
|
|
775
|
-
accessProfile: "
|
|
775
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
776
776
|
}, {
|
|
777
777
|
projectDigest: string;
|
|
778
778
|
configDigest: string;
|
|
779
779
|
commandDigest: string;
|
|
780
780
|
executablePath: string;
|
|
781
781
|
executableDigest: string;
|
|
782
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
783
782
|
scriptPath?: string | null | undefined;
|
|
784
783
|
scriptDigest?: string | null | undefined;
|
|
784
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
785
785
|
}>>>;
|
|
786
786
|
}, "strict", z.ZodTypeAny, {
|
|
787
|
-
id: string;
|
|
788
|
-
required: boolean;
|
|
789
|
-
args: string[];
|
|
790
787
|
program: string;
|
|
788
|
+
args: string[];
|
|
789
|
+
cwd?: string | undefined;
|
|
791
790
|
envAllowlist: string[];
|
|
791
|
+
id: string;
|
|
792
|
+
required: boolean;
|
|
792
793
|
trust_required: boolean;
|
|
793
794
|
trust_grant: {
|
|
794
795
|
projectDigest: string;
|
|
@@ -798,16 +799,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
798
799
|
executableDigest: string;
|
|
799
800
|
scriptPath: string | null;
|
|
800
801
|
scriptDigest: string | null;
|
|
801
|
-
accessProfile: "
|
|
802
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
802
803
|
} | null;
|
|
803
|
-
cwd?: string | undefined;
|
|
804
804
|
}, {
|
|
805
|
-
id: string;
|
|
806
805
|
program: string;
|
|
807
|
-
required?: boolean | undefined;
|
|
808
806
|
args?: string[] | undefined;
|
|
809
807
|
cwd?: string | undefined;
|
|
810
808
|
envAllowlist?: string[] | undefined;
|
|
809
|
+
id: string;
|
|
810
|
+
required?: boolean | undefined;
|
|
811
811
|
trust_required?: boolean | undefined;
|
|
812
812
|
trust_grant?: {
|
|
813
813
|
projectDigest: string;
|
|
@@ -815,9 +815,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
815
815
|
commandDigest: string;
|
|
816
816
|
executablePath: string;
|
|
817
817
|
executableDigest: string;
|
|
818
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
819
818
|
scriptPath?: string | null | undefined;
|
|
820
819
|
scriptDigest?: string | null | undefined;
|
|
820
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
821
821
|
} | null | undefined;
|
|
822
822
|
}>, "many">;
|
|
823
823
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -847,23 +847,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
847
847
|
executableDigest: string;
|
|
848
848
|
scriptPath: string | null;
|
|
849
849
|
scriptDigest: string | null;
|
|
850
|
-
accessProfile: "
|
|
850
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
851
851
|
}, {
|
|
852
852
|
projectDigest: string;
|
|
853
853
|
configDigest: string;
|
|
854
854
|
commandDigest: string;
|
|
855
855
|
executablePath: string;
|
|
856
856
|
executableDigest: string;
|
|
857
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
858
857
|
scriptPath?: string | null | undefined;
|
|
859
858
|
scriptDigest?: string | null | undefined;
|
|
859
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
860
860
|
}>>>;
|
|
861
861
|
}, "strict", z.ZodTypeAny, {
|
|
862
|
-
id: string;
|
|
863
|
-
required: boolean;
|
|
864
|
-
args: string[];
|
|
865
862
|
program: string;
|
|
863
|
+
args: string[];
|
|
864
|
+
cwd?: string | undefined;
|
|
866
865
|
envAllowlist: string[];
|
|
866
|
+
id: string;
|
|
867
|
+
required: boolean;
|
|
867
868
|
trust_required: boolean;
|
|
868
869
|
trust_grant: {
|
|
869
870
|
projectDigest: string;
|
|
@@ -873,16 +874,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
873
874
|
executableDigest: string;
|
|
874
875
|
scriptPath: string | null;
|
|
875
876
|
scriptDigest: string | null;
|
|
876
|
-
accessProfile: "
|
|
877
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
877
878
|
} | null;
|
|
878
|
-
cwd?: string | undefined;
|
|
879
879
|
}, {
|
|
880
|
-
id: string;
|
|
881
880
|
program: string;
|
|
882
|
-
required?: boolean | undefined;
|
|
883
881
|
args?: string[] | undefined;
|
|
884
882
|
cwd?: string | undefined;
|
|
885
883
|
envAllowlist?: string[] | undefined;
|
|
884
|
+
id: string;
|
|
885
|
+
required?: boolean | undefined;
|
|
886
886
|
trust_required?: boolean | undefined;
|
|
887
887
|
trust_grant?: {
|
|
888
888
|
projectDigest: string;
|
|
@@ -890,9 +890,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
890
890
|
commandDigest: string;
|
|
891
891
|
executablePath: string;
|
|
892
892
|
executableDigest: string;
|
|
893
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
894
893
|
scriptPath?: string | null | undefined;
|
|
895
894
|
scriptDigest?: string | null | undefined;
|
|
895
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
896
896
|
} | null | undefined;
|
|
897
897
|
}>, "many">;
|
|
898
898
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -922,23 +922,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
922
922
|
executableDigest: string;
|
|
923
923
|
scriptPath: string | null;
|
|
924
924
|
scriptDigest: string | null;
|
|
925
|
-
accessProfile: "
|
|
925
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
926
926
|
}, {
|
|
927
927
|
projectDigest: string;
|
|
928
928
|
configDigest: string;
|
|
929
929
|
commandDigest: string;
|
|
930
930
|
executablePath: string;
|
|
931
931
|
executableDigest: string;
|
|
932
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
933
932
|
scriptPath?: string | null | undefined;
|
|
934
933
|
scriptDigest?: string | null | undefined;
|
|
934
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
935
935
|
}>>>;
|
|
936
936
|
}, "strict", z.ZodTypeAny, {
|
|
937
|
-
id: string;
|
|
938
|
-
required: boolean;
|
|
939
|
-
args: string[];
|
|
940
937
|
program: string;
|
|
938
|
+
args: string[];
|
|
939
|
+
cwd?: string | undefined;
|
|
941
940
|
envAllowlist: string[];
|
|
941
|
+
id: string;
|
|
942
|
+
required: boolean;
|
|
942
943
|
trust_required: boolean;
|
|
943
944
|
trust_grant: {
|
|
944
945
|
projectDigest: string;
|
|
@@ -948,16 +949,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
948
949
|
executableDigest: string;
|
|
949
950
|
scriptPath: string | null;
|
|
950
951
|
scriptDigest: string | null;
|
|
951
|
-
accessProfile: "
|
|
952
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
952
953
|
} | null;
|
|
953
|
-
cwd?: string | undefined;
|
|
954
954
|
}, {
|
|
955
|
-
id: string;
|
|
956
955
|
program: string;
|
|
957
|
-
required?: boolean | undefined;
|
|
958
956
|
args?: string[] | undefined;
|
|
959
957
|
cwd?: string | undefined;
|
|
960
958
|
envAllowlist?: string[] | undefined;
|
|
959
|
+
id: string;
|
|
960
|
+
required?: boolean | undefined;
|
|
961
961
|
trust_required?: boolean | undefined;
|
|
962
962
|
trust_grant?: {
|
|
963
963
|
projectDigest: string;
|
|
@@ -965,9 +965,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
965
965
|
commandDigest: string;
|
|
966
966
|
executablePath: string;
|
|
967
967
|
executableDigest: string;
|
|
968
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
969
968
|
scriptPath?: string | null | undefined;
|
|
970
969
|
scriptDigest?: string | null | undefined;
|
|
970
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
971
971
|
} | null | undefined;
|
|
972
972
|
}>, "many">;
|
|
973
973
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -999,23 +999,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
999
999
|
executableDigest: string;
|
|
1000
1000
|
scriptPath: string | null;
|
|
1001
1001
|
scriptDigest: string | null;
|
|
1002
|
-
accessProfile: "
|
|
1002
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1003
1003
|
}, {
|
|
1004
1004
|
projectDigest: string;
|
|
1005
1005
|
configDigest: string;
|
|
1006
1006
|
commandDigest: string;
|
|
1007
1007
|
executablePath: string;
|
|
1008
1008
|
executableDigest: string;
|
|
1009
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1010
1009
|
scriptPath?: string | null | undefined;
|
|
1011
1010
|
scriptDigest?: string | null | undefined;
|
|
1011
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1012
1012
|
}>>>;
|
|
1013
1013
|
}, "strict", z.ZodTypeAny, {
|
|
1014
|
-
id: string;
|
|
1015
|
-
required: boolean;
|
|
1016
|
-
args: string[];
|
|
1017
1014
|
program: string;
|
|
1015
|
+
args: string[];
|
|
1016
|
+
cwd?: string | undefined;
|
|
1018
1017
|
envAllowlist: string[];
|
|
1018
|
+
id: string;
|
|
1019
|
+
required: boolean;
|
|
1019
1020
|
trust_required: boolean;
|
|
1020
1021
|
trust_grant: {
|
|
1021
1022
|
projectDigest: string;
|
|
@@ -1025,16 +1026,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1025
1026
|
executableDigest: string;
|
|
1026
1027
|
scriptPath: string | null;
|
|
1027
1028
|
scriptDigest: string | null;
|
|
1028
|
-
accessProfile: "
|
|
1029
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1029
1030
|
} | null;
|
|
1030
|
-
cwd?: string | undefined;
|
|
1031
1031
|
}, {
|
|
1032
|
-
id: string;
|
|
1033
1032
|
program: string;
|
|
1034
|
-
required?: boolean | undefined;
|
|
1035
1033
|
args?: string[] | undefined;
|
|
1036
1034
|
cwd?: string | undefined;
|
|
1037
1035
|
envAllowlist?: string[] | undefined;
|
|
1036
|
+
id: string;
|
|
1037
|
+
required?: boolean | undefined;
|
|
1038
1038
|
trust_required?: boolean | undefined;
|
|
1039
1039
|
trust_grant?: {
|
|
1040
1040
|
projectDigest: string;
|
|
@@ -1042,9 +1042,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1042
1042
|
commandDigest: string;
|
|
1043
1043
|
executablePath: string;
|
|
1044
1044
|
executableDigest: string;
|
|
1045
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1046
1045
|
scriptPath?: string | null | undefined;
|
|
1047
1046
|
scriptDigest?: string | null | undefined;
|
|
1047
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1048
1048
|
} | null | undefined;
|
|
1049
1049
|
}>, "many">;
|
|
1050
1050
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1074,23 +1074,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1074
1074
|
executableDigest: string;
|
|
1075
1075
|
scriptPath: string | null;
|
|
1076
1076
|
scriptDigest: string | null;
|
|
1077
|
-
accessProfile: "
|
|
1077
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1078
1078
|
}, {
|
|
1079
1079
|
projectDigest: string;
|
|
1080
1080
|
configDigest: string;
|
|
1081
1081
|
commandDigest: string;
|
|
1082
1082
|
executablePath: string;
|
|
1083
1083
|
executableDigest: string;
|
|
1084
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1085
1084
|
scriptPath?: string | null | undefined;
|
|
1086
1085
|
scriptDigest?: string | null | undefined;
|
|
1086
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1087
1087
|
}>>>;
|
|
1088
1088
|
}, "strict", z.ZodTypeAny, {
|
|
1089
|
-
id: string;
|
|
1090
|
-
required: boolean;
|
|
1091
|
-
args: string[];
|
|
1092
1089
|
program: string;
|
|
1090
|
+
args: string[];
|
|
1091
|
+
cwd?: string | undefined;
|
|
1093
1092
|
envAllowlist: string[];
|
|
1093
|
+
id: string;
|
|
1094
|
+
required: boolean;
|
|
1094
1095
|
trust_required: boolean;
|
|
1095
1096
|
trust_grant: {
|
|
1096
1097
|
projectDigest: string;
|
|
@@ -1100,16 +1101,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1100
1101
|
executableDigest: string;
|
|
1101
1102
|
scriptPath: string | null;
|
|
1102
1103
|
scriptDigest: string | null;
|
|
1103
|
-
accessProfile: "
|
|
1104
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1104
1105
|
} | null;
|
|
1105
|
-
cwd?: string | undefined;
|
|
1106
1106
|
}, {
|
|
1107
|
-
id: string;
|
|
1108
1107
|
program: string;
|
|
1109
|
-
required?: boolean | undefined;
|
|
1110
1108
|
args?: string[] | undefined;
|
|
1111
1109
|
cwd?: string | undefined;
|
|
1112
1110
|
envAllowlist?: string[] | undefined;
|
|
1111
|
+
id: string;
|
|
1112
|
+
required?: boolean | undefined;
|
|
1113
1113
|
trust_required?: boolean | undefined;
|
|
1114
1114
|
trust_grant?: {
|
|
1115
1115
|
projectDigest: string;
|
|
@@ -1117,9 +1117,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1117
1117
|
commandDigest: string;
|
|
1118
1118
|
executablePath: string;
|
|
1119
1119
|
executableDigest: string;
|
|
1120
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1121
1120
|
scriptPath?: string | null | undefined;
|
|
1122
1121
|
scriptDigest?: string | null | undefined;
|
|
1122
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1123
1123
|
} | null | undefined;
|
|
1124
1124
|
}>, "many">;
|
|
1125
1125
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1149,23 +1149,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1149
1149
|
executableDigest: string;
|
|
1150
1150
|
scriptPath: string | null;
|
|
1151
1151
|
scriptDigest: string | null;
|
|
1152
|
-
accessProfile: "
|
|
1152
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1153
1153
|
}, {
|
|
1154
1154
|
projectDigest: string;
|
|
1155
1155
|
configDigest: string;
|
|
1156
1156
|
commandDigest: string;
|
|
1157
1157
|
executablePath: string;
|
|
1158
1158
|
executableDigest: string;
|
|
1159
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1160
1159
|
scriptPath?: string | null | undefined;
|
|
1161
1160
|
scriptDigest?: string | null | undefined;
|
|
1161
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1162
1162
|
}>>>;
|
|
1163
1163
|
}, "strict", z.ZodTypeAny, {
|
|
1164
|
-
id: string;
|
|
1165
|
-
required: boolean;
|
|
1166
|
-
args: string[];
|
|
1167
1164
|
program: string;
|
|
1165
|
+
args: string[];
|
|
1166
|
+
cwd?: string | undefined;
|
|
1168
1167
|
envAllowlist: string[];
|
|
1168
|
+
id: string;
|
|
1169
|
+
required: boolean;
|
|
1169
1170
|
trust_required: boolean;
|
|
1170
1171
|
trust_grant: {
|
|
1171
1172
|
projectDigest: string;
|
|
@@ -1175,16 +1176,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1175
1176
|
executableDigest: string;
|
|
1176
1177
|
scriptPath: string | null;
|
|
1177
1178
|
scriptDigest: string | null;
|
|
1178
|
-
accessProfile: "
|
|
1179
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1179
1180
|
} | null;
|
|
1180
|
-
cwd?: string | undefined;
|
|
1181
1181
|
}, {
|
|
1182
|
-
id: string;
|
|
1183
1182
|
program: string;
|
|
1184
|
-
required?: boolean | undefined;
|
|
1185
1183
|
args?: string[] | undefined;
|
|
1186
1184
|
cwd?: string | undefined;
|
|
1187
1185
|
envAllowlist?: string[] | undefined;
|
|
1186
|
+
id: string;
|
|
1187
|
+
required?: boolean | undefined;
|
|
1188
1188
|
trust_required?: boolean | undefined;
|
|
1189
1189
|
trust_grant?: {
|
|
1190
1190
|
projectDigest: string;
|
|
@@ -1192,9 +1192,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1192
1192
|
commandDigest: string;
|
|
1193
1193
|
executablePath: string;
|
|
1194
1194
|
executableDigest: string;
|
|
1195
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1196
1195
|
scriptPath?: string | null | undefined;
|
|
1197
1196
|
scriptDigest?: string | null | undefined;
|
|
1197
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1198
1198
|
} | null | undefined;
|
|
1199
1199
|
}>, "many">;
|
|
1200
1200
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1226,23 +1226,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1226
1226
|
executableDigest: string;
|
|
1227
1227
|
scriptPath: string | null;
|
|
1228
1228
|
scriptDigest: string | null;
|
|
1229
|
-
accessProfile: "
|
|
1229
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1230
1230
|
}, {
|
|
1231
1231
|
projectDigest: string;
|
|
1232
1232
|
configDigest: string;
|
|
1233
1233
|
commandDigest: string;
|
|
1234
1234
|
executablePath: string;
|
|
1235
1235
|
executableDigest: string;
|
|
1236
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1237
1236
|
scriptPath?: string | null | undefined;
|
|
1238
1237
|
scriptDigest?: string | null | undefined;
|
|
1238
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1239
1239
|
}>>>;
|
|
1240
1240
|
}, "strict", z.ZodTypeAny, {
|
|
1241
|
-
id: string;
|
|
1242
|
-
required: boolean;
|
|
1243
|
-
args: string[];
|
|
1244
1241
|
program: string;
|
|
1242
|
+
args: string[];
|
|
1243
|
+
cwd?: string | undefined;
|
|
1245
1244
|
envAllowlist: string[];
|
|
1245
|
+
id: string;
|
|
1246
|
+
required: boolean;
|
|
1246
1247
|
trust_required: boolean;
|
|
1247
1248
|
trust_grant: {
|
|
1248
1249
|
projectDigest: string;
|
|
@@ -1252,16 +1253,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1252
1253
|
executableDigest: string;
|
|
1253
1254
|
scriptPath: string | null;
|
|
1254
1255
|
scriptDigest: string | null;
|
|
1255
|
-
accessProfile: "
|
|
1256
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1256
1257
|
} | null;
|
|
1257
|
-
cwd?: string | undefined;
|
|
1258
1258
|
}, {
|
|
1259
|
-
id: string;
|
|
1260
1259
|
program: string;
|
|
1261
|
-
required?: boolean | undefined;
|
|
1262
1260
|
args?: string[] | undefined;
|
|
1263
1261
|
cwd?: string | undefined;
|
|
1264
1262
|
envAllowlist?: string[] | undefined;
|
|
1263
|
+
id: string;
|
|
1264
|
+
required?: boolean | undefined;
|
|
1265
1265
|
trust_required?: boolean | undefined;
|
|
1266
1266
|
trust_grant?: {
|
|
1267
1267
|
projectDigest: string;
|
|
@@ -1269,9 +1269,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1269
1269
|
commandDigest: string;
|
|
1270
1270
|
executablePath: string;
|
|
1271
1271
|
executableDigest: string;
|
|
1272
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1273
1272
|
scriptPath?: string | null | undefined;
|
|
1274
1273
|
scriptDigest?: string | null | undefined;
|
|
1274
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1275
1275
|
} | null | undefined;
|
|
1276
1276
|
}>, "many">;
|
|
1277
1277
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1301,23 +1301,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1301
1301
|
executableDigest: string;
|
|
1302
1302
|
scriptPath: string | null;
|
|
1303
1303
|
scriptDigest: string | null;
|
|
1304
|
-
accessProfile: "
|
|
1304
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1305
1305
|
}, {
|
|
1306
1306
|
projectDigest: string;
|
|
1307
1307
|
configDigest: string;
|
|
1308
1308
|
commandDigest: string;
|
|
1309
1309
|
executablePath: string;
|
|
1310
1310
|
executableDigest: string;
|
|
1311
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1312
1311
|
scriptPath?: string | null | undefined;
|
|
1313
1312
|
scriptDigest?: string | null | undefined;
|
|
1313
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1314
1314
|
}>>>;
|
|
1315
1315
|
}, "strict", z.ZodTypeAny, {
|
|
1316
|
-
id: string;
|
|
1317
|
-
required: boolean;
|
|
1318
|
-
args: string[];
|
|
1319
1316
|
program: string;
|
|
1317
|
+
args: string[];
|
|
1318
|
+
cwd?: string | undefined;
|
|
1320
1319
|
envAllowlist: string[];
|
|
1320
|
+
id: string;
|
|
1321
|
+
required: boolean;
|
|
1321
1322
|
trust_required: boolean;
|
|
1322
1323
|
trust_grant: {
|
|
1323
1324
|
projectDigest: string;
|
|
@@ -1327,16 +1328,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1327
1328
|
executableDigest: string;
|
|
1328
1329
|
scriptPath: string | null;
|
|
1329
1330
|
scriptDigest: string | null;
|
|
1330
|
-
accessProfile: "
|
|
1331
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1331
1332
|
} | null;
|
|
1332
|
-
cwd?: string | undefined;
|
|
1333
1333
|
}, {
|
|
1334
|
-
id: string;
|
|
1335
1334
|
program: string;
|
|
1336
|
-
required?: boolean | undefined;
|
|
1337
1335
|
args?: string[] | undefined;
|
|
1338
1336
|
cwd?: string | undefined;
|
|
1339
1337
|
envAllowlist?: string[] | undefined;
|
|
1338
|
+
id: string;
|
|
1339
|
+
required?: boolean | undefined;
|
|
1340
1340
|
trust_required?: boolean | undefined;
|
|
1341
1341
|
trust_grant?: {
|
|
1342
1342
|
projectDigest: string;
|
|
@@ -1344,9 +1344,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1344
1344
|
commandDigest: string;
|
|
1345
1345
|
executablePath: string;
|
|
1346
1346
|
executableDigest: string;
|
|
1347
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1348
1347
|
scriptPath?: string | null | undefined;
|
|
1349
1348
|
scriptDigest?: string | null | undefined;
|
|
1349
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1350
1350
|
} | null | undefined;
|
|
1351
1351
|
}>, "many">;
|
|
1352
1352
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1376,23 +1376,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1376
1376
|
executableDigest: string;
|
|
1377
1377
|
scriptPath: string | null;
|
|
1378
1378
|
scriptDigest: string | null;
|
|
1379
|
-
accessProfile: "
|
|
1379
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1380
1380
|
}, {
|
|
1381
1381
|
projectDigest: string;
|
|
1382
1382
|
configDigest: string;
|
|
1383
1383
|
commandDigest: string;
|
|
1384
1384
|
executablePath: string;
|
|
1385
1385
|
executableDigest: string;
|
|
1386
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1387
1386
|
scriptPath?: string | null | undefined;
|
|
1388
1387
|
scriptDigest?: string | null | undefined;
|
|
1388
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1389
1389
|
}>>>;
|
|
1390
1390
|
}, "strict", z.ZodTypeAny, {
|
|
1391
|
-
id: string;
|
|
1392
|
-
required: boolean;
|
|
1393
|
-
args: string[];
|
|
1394
1391
|
program: string;
|
|
1392
|
+
args: string[];
|
|
1393
|
+
cwd?: string | undefined;
|
|
1395
1394
|
envAllowlist: string[];
|
|
1395
|
+
id: string;
|
|
1396
|
+
required: boolean;
|
|
1396
1397
|
trust_required: boolean;
|
|
1397
1398
|
trust_grant: {
|
|
1398
1399
|
projectDigest: string;
|
|
@@ -1402,16 +1403,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1402
1403
|
executableDigest: string;
|
|
1403
1404
|
scriptPath: string | null;
|
|
1404
1405
|
scriptDigest: string | null;
|
|
1405
|
-
accessProfile: "
|
|
1406
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1406
1407
|
} | null;
|
|
1407
|
-
cwd?: string | undefined;
|
|
1408
1408
|
}, {
|
|
1409
|
-
id: string;
|
|
1410
1409
|
program: string;
|
|
1411
|
-
required?: boolean | undefined;
|
|
1412
1410
|
args?: string[] | undefined;
|
|
1413
1411
|
cwd?: string | undefined;
|
|
1414
1412
|
envAllowlist?: string[] | undefined;
|
|
1413
|
+
id: string;
|
|
1414
|
+
required?: boolean | undefined;
|
|
1415
1415
|
trust_required?: boolean | undefined;
|
|
1416
1416
|
trust_grant?: {
|
|
1417
1417
|
projectDigest: string;
|
|
@@ -1419,9 +1419,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1419
1419
|
commandDigest: string;
|
|
1420
1420
|
executablePath: string;
|
|
1421
1421
|
executableDigest: string;
|
|
1422
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1423
1422
|
scriptPath?: string | null | undefined;
|
|
1424
1423
|
scriptDigest?: string | null | undefined;
|
|
1424
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1425
1425
|
} | null | undefined;
|
|
1426
1426
|
}>, "many">;
|
|
1427
1427
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1437,8 +1437,8 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1437
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1438
1438
|
root: string;
|
|
1439
1439
|
base_ref: string;
|
|
1440
|
-
dirty_policy: "refuse" | "snapshot";
|
|
1441
1440
|
base_sha?: string | undefined;
|
|
1441
|
+
dirty_policy: "refuse" | "snapshot";
|
|
1442
1442
|
}, {
|
|
1443
1443
|
root: string;
|
|
1444
1444
|
base_ref: string;
|
|
@@ -1448,9 +1448,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1448
1448
|
mode: z.ZodObject<{
|
|
1449
1449
|
kind: z.ZodEnum<["ask", "plan", "agent"]>;
|
|
1450
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1451
|
-
kind: "
|
|
1451
|
+
kind: "agent" | "ask" | "plan";
|
|
1452
1452
|
}, {
|
|
1453
|
-
kind: "
|
|
1453
|
+
kind: "agent" | "ask" | "plan";
|
|
1454
1454
|
}>;
|
|
1455
1455
|
delegation_requested: z.ZodDefault<z.ZodBoolean>;
|
|
1456
1456
|
run_lineage: z.ZodDefault<z.ZodObject<{
|
|
@@ -1570,23 +1570,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1570
1570
|
executableDigest: string;
|
|
1571
1571
|
scriptPath: string | null;
|
|
1572
1572
|
scriptDigest: string | null;
|
|
1573
|
-
accessProfile: "
|
|
1573
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1574
1574
|
}, {
|
|
1575
1575
|
projectDigest: string;
|
|
1576
1576
|
configDigest: string;
|
|
1577
1577
|
commandDigest: string;
|
|
1578
1578
|
executablePath: string;
|
|
1579
1579
|
executableDigest: string;
|
|
1580
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1581
1580
|
scriptPath?: string | null | undefined;
|
|
1582
1581
|
scriptDigest?: string | null | undefined;
|
|
1582
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1583
1583
|
}>>>;
|
|
1584
1584
|
}, "strict", z.ZodTypeAny, {
|
|
1585
|
-
id: string;
|
|
1586
|
-
required: boolean;
|
|
1587
|
-
args: string[];
|
|
1588
1585
|
program: string;
|
|
1586
|
+
args: string[];
|
|
1587
|
+
cwd?: string | undefined;
|
|
1589
1588
|
envAllowlist: string[];
|
|
1589
|
+
id: string;
|
|
1590
|
+
required: boolean;
|
|
1590
1591
|
trust_required: boolean;
|
|
1591
1592
|
trust_grant: {
|
|
1592
1593
|
projectDigest: string;
|
|
@@ -1596,16 +1597,15 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1596
1597
|
executableDigest: string;
|
|
1597
1598
|
scriptPath: string | null;
|
|
1598
1599
|
scriptDigest: string | null;
|
|
1599
|
-
accessProfile: "
|
|
1600
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1600
1601
|
} | null;
|
|
1601
|
-
cwd?: string | undefined;
|
|
1602
1602
|
}, {
|
|
1603
|
-
id: string;
|
|
1604
1603
|
program: string;
|
|
1605
|
-
required?: boolean | undefined;
|
|
1606
1604
|
args?: string[] | undefined;
|
|
1607
1605
|
cwd?: string | undefined;
|
|
1608
1606
|
envAllowlist?: string[] | undefined;
|
|
1607
|
+
id: string;
|
|
1608
|
+
required?: boolean | undefined;
|
|
1609
1609
|
trust_required?: boolean | undefined;
|
|
1610
1610
|
trust_grant?: {
|
|
1611
1611
|
projectDigest: string;
|
|
@@ -1613,18 +1613,19 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1613
1613
|
commandDigest: string;
|
|
1614
1614
|
executablePath: string;
|
|
1615
1615
|
executableDigest: string;
|
|
1616
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1617
1616
|
scriptPath?: string | null | undefined;
|
|
1618
1617
|
scriptDigest?: string | null | undefined;
|
|
1618
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1619
1619
|
} | null | undefined;
|
|
1620
1620
|
}>, "many">>;
|
|
1621
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1622
1622
|
commands: {
|
|
1623
|
-
id: string;
|
|
1624
|
-
required: boolean;
|
|
1625
|
-
args: string[];
|
|
1626
1623
|
program: string;
|
|
1624
|
+
args: string[];
|
|
1625
|
+
cwd?: string | undefined;
|
|
1627
1626
|
envAllowlist: string[];
|
|
1627
|
+
id: string;
|
|
1628
|
+
required: boolean;
|
|
1628
1629
|
trust_required: boolean;
|
|
1629
1630
|
trust_grant: {
|
|
1630
1631
|
projectDigest: string;
|
|
@@ -1634,18 +1635,17 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1634
1635
|
executableDigest: string;
|
|
1635
1636
|
scriptPath: string | null;
|
|
1636
1637
|
scriptDigest: string | null;
|
|
1637
|
-
accessProfile: "
|
|
1638
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1638
1639
|
} | null;
|
|
1639
|
-
cwd?: string | undefined;
|
|
1640
1640
|
}[];
|
|
1641
1641
|
}, {
|
|
1642
1642
|
commands?: {
|
|
1643
|
-
id: string;
|
|
1644
1643
|
program: string;
|
|
1645
|
-
required?: boolean | undefined;
|
|
1646
1644
|
args?: string[] | undefined;
|
|
1647
1645
|
cwd?: string | undefined;
|
|
1648
1646
|
envAllowlist?: string[] | undefined;
|
|
1647
|
+
id: string;
|
|
1648
|
+
required?: boolean | undefined;
|
|
1649
1649
|
trust_required?: boolean | undefined;
|
|
1650
1650
|
trust_grant?: {
|
|
1651
1651
|
projectDigest: string;
|
|
@@ -1653,9 +1653,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1653
1653
|
commandDigest: string;
|
|
1654
1654
|
executablePath: string;
|
|
1655
1655
|
executableDigest: string;
|
|
1656
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1657
1656
|
scriptPath?: string | null | undefined;
|
|
1658
1657
|
scriptDigest?: string | null | undefined;
|
|
1658
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1659
1659
|
} | null | undefined;
|
|
1660
1660
|
}[] | undefined;
|
|
1661
1661
|
}>>;
|
|
@@ -1664,11 +1664,11 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1664
1664
|
/** Profile actually enforced by the engine (mode/trust clamps applied; never client-supplied). */
|
|
1665
1665
|
effective_profile: z.ZodDefault<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>>;
|
|
1666
1666
|
}, "strip", z.ZodTypeAny, {
|
|
1667
|
-
requested_profile: "
|
|
1668
|
-
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";
|
|
1669
1669
|
}, {
|
|
1670
|
-
requested_profile?: "
|
|
1671
|
-
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;
|
|
1672
1672
|
}>>;
|
|
1673
1673
|
external_context: z.ZodDefault<z.ZodObject<{
|
|
1674
1674
|
policy: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
@@ -1676,24 +1676,24 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1676
1676
|
/** Mode the selected route actually executes (disclosed upgrades, e.g. claude cached->live). */
|
|
1677
1677
|
effective_mode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1678
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1679
|
-
policy: "
|
|
1679
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
1680
1680
|
web_required: boolean;
|
|
1681
|
-
effective_mode: "
|
|
1681
|
+
effective_mode: "auto" | "cached" | "live" | "off";
|
|
1682
1682
|
}, {
|
|
1683
|
-
policy?: "
|
|
1683
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1684
1684
|
web_required?: boolean | undefined;
|
|
1685
|
-
effective_mode?: "
|
|
1685
|
+
effective_mode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1686
1686
|
}>>;
|
|
1687
1687
|
tool_permission_policy: z.ZodDefault<z.ZodObject<{
|
|
1688
1688
|
web: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1689
1689
|
allow: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1690
1690
|
deny: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1691
1691
|
}, "strip", z.ZodTypeAny, {
|
|
1692
|
-
web: "
|
|
1692
|
+
web: "auto" | "cached" | "live" | "off";
|
|
1693
1693
|
allow: string[];
|
|
1694
1694
|
deny: string[];
|
|
1695
1695
|
}, {
|
|
1696
|
-
web?: "
|
|
1696
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1697
1697
|
allow?: string[] | undefined;
|
|
1698
1698
|
deny?: string[] | undefined;
|
|
1699
1699
|
}>>;
|
|
@@ -1716,7 +1716,7 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1716
1716
|
maxUsd: number;
|
|
1717
1717
|
}>]>>;
|
|
1718
1718
|
}, "strip", z.ZodTypeAny, {
|
|
1719
|
-
routing_goal: "auto" | "
|
|
1719
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
1720
1720
|
paid_budget: {
|
|
1721
1721
|
kind: "unlimited";
|
|
1722
1722
|
} | {
|
|
@@ -1724,7 +1724,7 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1724
1724
|
maxUsd: number;
|
|
1725
1725
|
};
|
|
1726
1726
|
}, {
|
|
1727
|
-
routing_goal?: "auto" | "
|
|
1727
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
1728
1728
|
paid_budget?: {
|
|
1729
1729
|
kind: "unlimited";
|
|
1730
1730
|
} | {
|
|
@@ -1769,40 +1769,18 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1769
1769
|
require_no_accepted_needs_human_open?: boolean | undefined;
|
|
1770
1770
|
}>>;
|
|
1771
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1772
|
-
created_at: string;
|
|
1773
|
-
mode: {
|
|
1774
|
-
kind: "ask" | "plan" | "agent";
|
|
1775
|
-
};
|
|
1776
1772
|
schema_version: 2;
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
deny_paths: string[];
|
|
1780
|
-
auto_protected_paths: string[];
|
|
1781
|
-
protected_path_approvals: {
|
|
1782
|
-
path: string;
|
|
1783
|
-
reason?: string | undefined;
|
|
1784
|
-
}[];
|
|
1785
|
-
};
|
|
1786
|
-
max_turns: number | null;
|
|
1787
|
-
access: {
|
|
1788
|
-
requested_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1789
|
-
effective_profile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1790
|
-
};
|
|
1791
|
-
tool_permission_policy: {
|
|
1792
|
-
web: "off" | "auto" | "cached" | "live";
|
|
1793
|
-
allow: string[];
|
|
1794
|
-
deny: string[];
|
|
1795
|
-
};
|
|
1796
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
1797
|
-
output_schema: Record<string, unknown> | null;
|
|
1798
|
-
credential_profile_id: string | null;
|
|
1773
|
+
task_id: string;
|
|
1774
|
+
created_at: string;
|
|
1799
1775
|
repo: {
|
|
1800
1776
|
root: string;
|
|
1801
1777
|
base_ref: string;
|
|
1802
|
-
dirty_policy: "refuse" | "snapshot";
|
|
1803
1778
|
base_sha?: string | undefined;
|
|
1779
|
+
dirty_policy: "refuse" | "snapshot";
|
|
1780
|
+
};
|
|
1781
|
+
mode: {
|
|
1782
|
+
kind: "agent" | "ask" | "plan";
|
|
1804
1783
|
};
|
|
1805
|
-
task_id: string;
|
|
1806
1784
|
delegation_requested: boolean;
|
|
1807
1785
|
run_lineage: {
|
|
1808
1786
|
parent_run_id: string | null;
|
|
@@ -1812,13 +1790,28 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1812
1790
|
raw: string;
|
|
1813
1791
|
normalized?: string | undefined;
|
|
1814
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;
|
|
1798
|
+
constraints: {
|
|
1799
|
+
protected_paths: string[];
|
|
1800
|
+
deny_paths: string[];
|
|
1801
|
+
auto_protected_paths: string[];
|
|
1802
|
+
protected_path_approvals: {
|
|
1803
|
+
path: string;
|
|
1804
|
+
reason?: string | undefined;
|
|
1805
|
+
}[];
|
|
1806
|
+
};
|
|
1815
1807
|
tests: {
|
|
1816
1808
|
commands: {
|
|
1817
|
-
id: string;
|
|
1818
|
-
required: boolean;
|
|
1819
|
-
args: string[];
|
|
1820
1809
|
program: string;
|
|
1810
|
+
args: string[];
|
|
1811
|
+
cwd?: string | undefined;
|
|
1821
1812
|
envAllowlist: string[];
|
|
1813
|
+
id: string;
|
|
1814
|
+
required: boolean;
|
|
1822
1815
|
trust_required: boolean;
|
|
1823
1816
|
trust_grant: {
|
|
1824
1817
|
projectDigest: string;
|
|
@@ -1828,18 +1821,26 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1828
1821
|
executableDigest: string;
|
|
1829
1822
|
scriptPath: string | null;
|
|
1830
1823
|
scriptDigest: string | null;
|
|
1831
|
-
accessProfile: "
|
|
1824
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1832
1825
|
} | null;
|
|
1833
|
-
cwd?: string | undefined;
|
|
1834
1826
|
}[];
|
|
1835
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
|
+
};
|
|
1836
1832
|
external_context: {
|
|
1837
|
-
policy: "
|
|
1833
|
+
policy: "auto" | "cached" | "live" | "off";
|
|
1838
1834
|
web_required: boolean;
|
|
1839
|
-
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[];
|
|
1840
1841
|
};
|
|
1841
1842
|
budget: {
|
|
1842
|
-
routing_goal: "auto" | "
|
|
1843
|
+
routing_goal: "auto" | "economy" | "quality";
|
|
1843
1844
|
paid_budget: {
|
|
1844
1845
|
kind: "unlimited";
|
|
1845
1846
|
} | {
|
|
@@ -1857,25 +1858,33 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1857
1858
|
require_final_diff_stable_after_review: boolean;
|
|
1858
1859
|
require_no_accepted_needs_human_open: boolean;
|
|
1859
1860
|
};
|
|
1860
|
-
instructions?: string | undefined;
|
|
1861
1861
|
}, {
|
|
1862
|
-
created_at: string;
|
|
1863
|
-
mode: {
|
|
1864
|
-
kind: "ask" | "plan" | "agent";
|
|
1865
|
-
};
|
|
1866
1862
|
schema_version: 2;
|
|
1863
|
+
task_id: string;
|
|
1864
|
+
created_at: string;
|
|
1867
1865
|
repo: {
|
|
1868
1866
|
root: string;
|
|
1869
1867
|
base_ref: string;
|
|
1870
1868
|
base_sha?: string | undefined;
|
|
1871
1869
|
dirty_policy?: "refuse" | "snapshot" | undefined;
|
|
1872
1870
|
};
|
|
1873
|
-
|
|
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;
|
|
1874
1879
|
user_intent: {
|
|
1875
1880
|
raw: string;
|
|
1876
1881
|
normalized?: string | undefined;
|
|
1877
1882
|
};
|
|
1878
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;
|
|
1879
1888
|
constraints?: {
|
|
1880
1889
|
protected_paths?: string[] | undefined;
|
|
1881
1890
|
deny_paths?: string[] | undefined;
|
|
@@ -1885,32 +1894,14 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1885
1894
|
reason?: string | undefined;
|
|
1886
1895
|
}[] | undefined;
|
|
1887
1896
|
} | undefined;
|
|
1888
|
-
max_turns?: number | null | undefined;
|
|
1889
|
-
access?: {
|
|
1890
|
-
requested_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
1891
|
-
effective_profile?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
1892
|
-
} | undefined;
|
|
1893
|
-
tool_permission_policy?: {
|
|
1894
|
-
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
1895
|
-
allow?: string[] | undefined;
|
|
1896
|
-
deny?: string[] | undefined;
|
|
1897
|
-
} | undefined;
|
|
1898
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
1899
|
-
output_schema?: Record<string, unknown> | null | undefined;
|
|
1900
|
-
credential_profile_id?: string | null | undefined;
|
|
1901
|
-
delegation_requested?: boolean | undefined;
|
|
1902
|
-
run_lineage?: {
|
|
1903
|
-
parent_run_id?: string | null | undefined;
|
|
1904
|
-
delegated_from_run_id?: string | null | undefined;
|
|
1905
|
-
} | undefined;
|
|
1906
1897
|
tests?: {
|
|
1907
1898
|
commands?: {
|
|
1908
|
-
id: string;
|
|
1909
1899
|
program: string;
|
|
1910
|
-
required?: boolean | undefined;
|
|
1911
1900
|
args?: string[] | undefined;
|
|
1912
1901
|
cwd?: string | undefined;
|
|
1913
1902
|
envAllowlist?: string[] | undefined;
|
|
1903
|
+
id: string;
|
|
1904
|
+
required?: boolean | undefined;
|
|
1914
1905
|
trust_required?: boolean | undefined;
|
|
1915
1906
|
trust_grant?: {
|
|
1916
1907
|
projectDigest: string;
|
|
@@ -1918,19 +1909,28 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1918
1909
|
commandDigest: string;
|
|
1919
1910
|
executablePath: string;
|
|
1920
1911
|
executableDigest: string;
|
|
1921
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1922
1912
|
scriptPath?: string | null | undefined;
|
|
1923
1913
|
scriptDigest?: string | null | undefined;
|
|
1914
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1924
1915
|
} | null | undefined;
|
|
1925
1916
|
}[] | undefined;
|
|
1926
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;
|
|
1927
1922
|
external_context?: {
|
|
1928
|
-
policy?: "
|
|
1923
|
+
policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1929
1924
|
web_required?: boolean | undefined;
|
|
1930
|
-
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;
|
|
1931
1931
|
} | undefined;
|
|
1932
1932
|
budget?: {
|
|
1933
|
-
routing_goal?: "auto" | "
|
|
1933
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
1934
1934
|
paid_budget?: {
|
|
1935
1935
|
kind: "unlimited";
|
|
1936
1936
|
} | {
|