@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/config.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "zod/v3";
|
|
2
|
+
/** Largest persisted finite interaction wait. It stays comfortably below the
|
|
3
|
+
* ECMAScript ISO-Date ceiling even after adding a contemporary epoch, while
|
|
4
|
+
* still exercising the chunked-timer path far beyond Node's 2^31-1 limit. */
|
|
5
|
+
export declare const INTERACTION_TIMEOUT_MAX_MS = 8000000000000000;
|
|
6
|
+
/** One finite-or-disabled value contract shared by persisted config and every
|
|
7
|
+
* control-plane projection. Defaults/optionality belong to the containing
|
|
8
|
+
* field, not to this scalar schema. */
|
|
9
|
+
export declare const InteractionTimeoutValue: z.ZodNullable<z.ZodNumber>;
|
|
2
10
|
/**
|
|
3
11
|
* Project config — safe, versioned settings. This shape may NOT carry sensitive
|
|
4
12
|
* settings (full access, secrets, budget-above-cap, plugin auto-install, etc.);
|
|
@@ -26,10 +34,10 @@ export declare const ProjectConfig: z.ZodObject<{
|
|
|
26
34
|
cwd: z.ZodOptional<z.ZodString>;
|
|
27
35
|
envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28
36
|
}, "strict", z.ZodTypeAny, {
|
|
29
|
-
args: string[];
|
|
30
37
|
program: string;
|
|
31
|
-
|
|
38
|
+
args: string[];
|
|
32
39
|
cwd?: string | undefined;
|
|
40
|
+
envAllowlist: string[];
|
|
33
41
|
}, {
|
|
34
42
|
program: string;
|
|
35
43
|
args?: string[] | undefined;
|
|
@@ -38,10 +46,10 @@ export declare const ProjectConfig: z.ZodObject<{
|
|
|
38
46
|
}>, "many">>;
|
|
39
47
|
}, "strict", z.ZodTypeAny, {
|
|
40
48
|
commands: {
|
|
41
|
-
args: string[];
|
|
42
49
|
program: string;
|
|
43
|
-
|
|
50
|
+
args: string[];
|
|
44
51
|
cwd?: string | undefined;
|
|
52
|
+
envAllowlist: string[];
|
|
45
53
|
}[];
|
|
46
54
|
}, {
|
|
47
55
|
commands?: {
|
|
@@ -54,9 +62,9 @@ export declare const ProjectConfig: z.ZodObject<{
|
|
|
54
62
|
budget: z.ZodDefault<z.ZodObject<{
|
|
55
63
|
routing_goal: z.ZodOptional<z.ZodEnum<["auto", "quality", "economy"]>>;
|
|
56
64
|
}, "strict", z.ZodTypeAny, {
|
|
57
|
-
routing_goal?: "auto" | "
|
|
65
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
58
66
|
}, {
|
|
59
|
-
routing_goal?: "auto" | "
|
|
67
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
60
68
|
}>>;
|
|
61
69
|
constraints: z.ZodDefault<z.ZodObject<{
|
|
62
70
|
protected_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -66,9 +74,6 @@ export declare const ProjectConfig: z.ZodObject<{
|
|
|
66
74
|
protected_paths?: string[] | undefined;
|
|
67
75
|
}>>;
|
|
68
76
|
}, "strict", z.ZodTypeAny, {
|
|
69
|
-
constraints: {
|
|
70
|
-
protected_paths: string[];
|
|
71
|
-
};
|
|
72
77
|
version: 1;
|
|
73
78
|
context: {
|
|
74
79
|
mandatory_files: string[];
|
|
@@ -77,19 +82,19 @@ export declare const ProjectConfig: z.ZodObject<{
|
|
|
77
82
|
};
|
|
78
83
|
tests: {
|
|
79
84
|
commands: {
|
|
80
|
-
args: string[];
|
|
81
85
|
program: string;
|
|
82
|
-
|
|
86
|
+
args: string[];
|
|
83
87
|
cwd?: string | undefined;
|
|
88
|
+
envAllowlist: string[];
|
|
84
89
|
}[];
|
|
85
90
|
};
|
|
86
91
|
budget: {
|
|
87
|
-
routing_goal?: "auto" | "
|
|
92
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
93
|
+
};
|
|
94
|
+
constraints: {
|
|
95
|
+
protected_paths: string[];
|
|
88
96
|
};
|
|
89
97
|
}, {
|
|
90
|
-
constraints?: {
|
|
91
|
-
protected_paths?: string[] | undefined;
|
|
92
|
-
} | undefined;
|
|
93
98
|
version?: 1 | undefined;
|
|
94
99
|
context?: {
|
|
95
100
|
mandatory_files?: string[] | undefined;
|
|
@@ -105,7 +110,10 @@ export declare const ProjectConfig: z.ZodObject<{
|
|
|
105
110
|
}[] | undefined;
|
|
106
111
|
} | undefined;
|
|
107
112
|
budget?: {
|
|
108
|
-
routing_goal?: "auto" | "
|
|
113
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
constraints?: {
|
|
116
|
+
protected_paths?: string[] | undefined;
|
|
109
117
|
} | undefined;
|
|
110
118
|
}>;
|
|
111
119
|
export type ProjectConfig = z.infer<typeof ProjectConfig>;
|
|
@@ -139,20 +147,20 @@ export declare const TrustConfig: z.ZodObject<{
|
|
|
139
147
|
executableDigest: string;
|
|
140
148
|
scriptPath: string | null;
|
|
141
149
|
scriptDigest: string | null;
|
|
142
|
-
accessProfile: "
|
|
150
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
143
151
|
}, {
|
|
144
152
|
projectDigest: string;
|
|
145
153
|
configDigest: string;
|
|
146
154
|
commandDigest: string;
|
|
147
155
|
executablePath: string;
|
|
148
156
|
executableDigest: string;
|
|
149
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
150
157
|
scriptPath?: string | null | undefined;
|
|
151
158
|
scriptDigest?: string | null | undefined;
|
|
159
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
152
160
|
}>, "many">>;
|
|
153
161
|
}, "strict", z.ZodTypeAny, {
|
|
154
162
|
version: 1;
|
|
155
|
-
access_default: "
|
|
163
|
+
access_default: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
156
164
|
allow_full_access: boolean;
|
|
157
165
|
repo_root: string | null;
|
|
158
166
|
test_command_grants: {
|
|
@@ -163,11 +171,11 @@ export declare const TrustConfig: z.ZodObject<{
|
|
|
163
171
|
executableDigest: string;
|
|
164
172
|
scriptPath: string | null;
|
|
165
173
|
scriptDigest: string | null;
|
|
166
|
-
accessProfile: "
|
|
174
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
167
175
|
}[];
|
|
168
176
|
}, {
|
|
169
177
|
version?: 1 | undefined;
|
|
170
|
-
access_default?: "
|
|
178
|
+
access_default?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
171
179
|
allow_full_access?: boolean | undefined;
|
|
172
180
|
repo_root?: string | null | undefined;
|
|
173
181
|
test_command_grants?: {
|
|
@@ -176,21 +184,18 @@ export declare const TrustConfig: z.ZodObject<{
|
|
|
176
184
|
commandDigest: string;
|
|
177
185
|
executablePath: string;
|
|
178
186
|
executableDigest: string;
|
|
179
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
180
187
|
scriptPath?: string | null | undefined;
|
|
181
188
|
scriptDigest?: string | null | undefined;
|
|
189
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
182
190
|
}[] | undefined;
|
|
183
191
|
}>;
|
|
184
192
|
export type TrustConfig = z.infer<typeof TrustConfig>;
|
|
185
193
|
/** Claudexor v3 global user config (~/.claudexor/v3/config.yaml). */
|
|
186
194
|
export declare const GlobalConfig: z.ZodObject<{
|
|
187
195
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
188
|
-
/**
|
|
189
|
-
*
|
|
190
|
-
|
|
191
|
-
* letting the model continue with assumptions.
|
|
192
|
-
*/
|
|
193
|
-
interaction_timeout_ms: z.ZodDefault<z.ZodNumber>;
|
|
196
|
+
/** Automatic-expiry policy for one interaction wait. Positive milliseconds
|
|
197
|
+
* produce a benign decline at the deadline; null disables that expiry. */
|
|
198
|
+
interaction_timeout_ms: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
194
199
|
routing: z.ZodDefault<z.ZodObject<{
|
|
195
200
|
primary_harness: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
196
201
|
eligible_harnesses: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -218,25 +223,25 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
218
223
|
effort: string;
|
|
219
224
|
}>, "many">, "many">>>;
|
|
220
225
|
}, "strict", z.ZodTypeAny, {
|
|
221
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
222
|
-
env_inheritance: "mirror_native" | "clean";
|
|
223
226
|
primary_harness: string | null;
|
|
224
227
|
eligible_harnesses: string[];
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
+
env_inheritance: "clean" | "mirror_native";
|
|
229
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
230
|
+
goal: "auto" | "economy" | "quality";
|
|
231
|
+
paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
|
|
232
|
+
quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
228
233
|
harness: string;
|
|
229
234
|
model: string;
|
|
230
235
|
effort: string;
|
|
231
236
|
}[][]>>;
|
|
232
237
|
}, {
|
|
233
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
234
|
-
env_inheritance?: "mirror_native" | "clean" | undefined;
|
|
235
238
|
primary_harness?: string | null | undefined;
|
|
236
239
|
eligible_harnesses?: string[] | undefined;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
+
env_inheritance?: "clean" | "mirror_native" | undefined;
|
|
241
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
242
|
+
goal?: "auto" | "economy" | "quality" | undefined;
|
|
243
|
+
paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
|
|
244
|
+
quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
240
245
|
harness: string;
|
|
241
246
|
model: string;
|
|
242
247
|
effort: string;
|
|
@@ -260,12 +265,13 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
260
265
|
maxUsd: number;
|
|
261
266
|
}>]>>;
|
|
262
267
|
/**
|
|
263
|
-
* Per-
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
268
|
+
* Per-unit reservation floor (USD) held against the run cap BEFORE
|
|
269
|
+
* usage streams. It applies to later parallel race candidates,
|
|
270
|
+
* deep-scan scouts, and Council members; the Deep Scan reducer; the
|
|
271
|
+
* one-shot enveloped candidate continuation; and every paid attempt
|
|
272
|
+
* inside a server-proven Delegate child. The first ordinary top-level
|
|
273
|
+
* attempt remains unreserved: a cap smaller than the floor still runs
|
|
274
|
+
* one unit and stops on real usage.
|
|
269
275
|
*/
|
|
270
276
|
estimate_usd_floor: z.ZodDefault<z.ZodNumber>;
|
|
271
277
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -466,14 +472,11 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
466
472
|
/** Per-harness auth route preference; overrides routing.auth_preference. */
|
|
467
473
|
auth_preference: z.ZodDefault<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
468
474
|
}, "strict", z.ZodTypeAny, {
|
|
469
|
-
fallback_model: string | null;
|
|
470
475
|
enabled: boolean;
|
|
471
476
|
native_credentials_enabled: boolean;
|
|
472
|
-
web: "off" | "auto" | "cached" | "live";
|
|
473
|
-
max_turns: number | null;
|
|
474
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
475
|
-
effort: string | null;
|
|
476
477
|
default_model: string | null;
|
|
478
|
+
effort: string | null;
|
|
479
|
+
max_turns: number | null;
|
|
477
480
|
max_rounds: number | null;
|
|
478
481
|
profile_policy: {
|
|
479
482
|
limit_action: "ask" | "fail" | "rotate";
|
|
@@ -482,15 +485,15 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
482
485
|
};
|
|
483
486
|
tools_allow: string[];
|
|
484
487
|
tools_deny: string[];
|
|
488
|
+
fallback_model: string | null;
|
|
489
|
+
web: "auto" | "cached" | "live" | "off";
|
|
490
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
485
491
|
}, {
|
|
486
|
-
fallback_model?: string | null | undefined;
|
|
487
492
|
enabled?: boolean | undefined;
|
|
488
493
|
native_credentials_enabled?: boolean | undefined;
|
|
489
|
-
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
490
|
-
max_turns?: number | null | undefined;
|
|
491
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
492
|
-
effort?: string | null | undefined;
|
|
493
494
|
default_model?: string | null | undefined;
|
|
495
|
+
effort?: string | null | undefined;
|
|
496
|
+
max_turns?: number | null | undefined;
|
|
494
497
|
max_rounds?: number | null | undefined;
|
|
495
498
|
profile_policy?: {
|
|
496
499
|
limit_action?: "ask" | "fail" | "rotate" | undefined;
|
|
@@ -499,27 +502,26 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
499
502
|
} | undefined;
|
|
500
503
|
tools_allow?: string[] | undefined;
|
|
501
504
|
tools_deny?: string[] | undefined;
|
|
505
|
+
fallback_model?: string | null | undefined;
|
|
506
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
507
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
502
508
|
}>>>;
|
|
503
509
|
}, "strict", z.ZodTypeAny, {
|
|
504
510
|
version: 1;
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
};
|
|
520
|
-
tools_allow: string[];
|
|
521
|
-
tools_deny: string[];
|
|
522
|
-
}>;
|
|
511
|
+
interaction_timeout_ms: number | null;
|
|
512
|
+
routing: {
|
|
513
|
+
primary_harness: string | null;
|
|
514
|
+
eligible_harnesses: string[];
|
|
515
|
+
env_inheritance: "clean" | "mirror_native";
|
|
516
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
517
|
+
goal: "auto" | "economy" | "quality";
|
|
518
|
+
paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
|
|
519
|
+
quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
520
|
+
harness: string;
|
|
521
|
+
model: string;
|
|
522
|
+
effort: string;
|
|
523
|
+
}[][]>>;
|
|
524
|
+
};
|
|
523
525
|
budget: {
|
|
524
526
|
paid_budget_per_run: {
|
|
525
527
|
kind: "unlimited";
|
|
@@ -529,19 +531,6 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
529
531
|
};
|
|
530
532
|
estimate_usd_floor: number;
|
|
531
533
|
};
|
|
532
|
-
routing: {
|
|
533
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
534
|
-
env_inheritance: "mirror_native" | "clean";
|
|
535
|
-
primary_harness: string | null;
|
|
536
|
-
eligible_harnesses: string[];
|
|
537
|
-
goal: "auto" | "quality" | "economy";
|
|
538
|
-
paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
|
|
539
|
-
quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
|
|
540
|
-
harness: string;
|
|
541
|
-
model: string;
|
|
542
|
-
effort: string;
|
|
543
|
-
}[][]>>;
|
|
544
|
-
};
|
|
545
534
|
runtime: {
|
|
546
535
|
transient_retry: {
|
|
547
536
|
max_retries: number;
|
|
@@ -551,7 +540,6 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
551
540
|
reviewer_timeout_ms: number;
|
|
552
541
|
harness_inactivity_timeout_ms: number;
|
|
553
542
|
};
|
|
554
|
-
interaction_timeout_ms: number;
|
|
555
543
|
retention: {
|
|
556
544
|
runs_max_age_days: number;
|
|
557
545
|
reviews_max_age_days: number;
|
|
@@ -567,26 +555,40 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
567
555
|
enabled: boolean;
|
|
568
556
|
created_at: string | null;
|
|
569
557
|
}[];
|
|
558
|
+
harnesses: Record<string, {
|
|
559
|
+
enabled: boolean;
|
|
560
|
+
native_credentials_enabled: boolean;
|
|
561
|
+
default_model: string | null;
|
|
562
|
+
effort: string | null;
|
|
563
|
+
max_turns: number | null;
|
|
564
|
+
max_rounds: number | null;
|
|
565
|
+
profile_policy: {
|
|
566
|
+
limit_action: "ask" | "fail" | "rotate";
|
|
567
|
+
rotation_eligible: string[];
|
|
568
|
+
headroom_threshold: number;
|
|
569
|
+
};
|
|
570
|
+
tools_allow: string[];
|
|
571
|
+
tools_deny: string[];
|
|
572
|
+
fallback_model: string | null;
|
|
573
|
+
web: "auto" | "cached" | "live" | "off";
|
|
574
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
575
|
+
}>;
|
|
570
576
|
}, {
|
|
571
577
|
version?: 1 | undefined;
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
} | undefined;
|
|
587
|
-
tools_allow?: string[] | undefined;
|
|
588
|
-
tools_deny?: string[] | undefined;
|
|
589
|
-
}> | undefined;
|
|
578
|
+
interaction_timeout_ms?: number | null | undefined;
|
|
579
|
+
routing?: {
|
|
580
|
+
primary_harness?: string | null | undefined;
|
|
581
|
+
eligible_harnesses?: string[] | undefined;
|
|
582
|
+
env_inheritance?: "clean" | "mirror_native" | undefined;
|
|
583
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
584
|
+
goal?: "auto" | "economy" | "quality" | undefined;
|
|
585
|
+
paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
|
|
586
|
+
quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
587
|
+
harness: string;
|
|
588
|
+
model: string;
|
|
589
|
+
effort: string;
|
|
590
|
+
}[][]>> | undefined;
|
|
591
|
+
} | undefined;
|
|
590
592
|
budget?: {
|
|
591
593
|
paid_budget_per_run?: {
|
|
592
594
|
kind: "unlimited";
|
|
@@ -596,19 +598,6 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
596
598
|
} | undefined;
|
|
597
599
|
estimate_usd_floor?: number | undefined;
|
|
598
600
|
} | undefined;
|
|
599
|
-
routing?: {
|
|
600
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
601
|
-
env_inheritance?: "mirror_native" | "clean" | undefined;
|
|
602
|
-
primary_harness?: string | null | undefined;
|
|
603
|
-
eligible_harnesses?: string[] | undefined;
|
|
604
|
-
goal?: "auto" | "quality" | "economy" | undefined;
|
|
605
|
-
paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
|
|
606
|
-
quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
|
|
607
|
-
harness: string;
|
|
608
|
-
model: string;
|
|
609
|
-
effort: string;
|
|
610
|
-
}[][]>> | undefined;
|
|
611
|
-
} | undefined;
|
|
612
601
|
runtime?: {
|
|
613
602
|
transient_retry?: {
|
|
614
603
|
max_retries?: number | undefined;
|
|
@@ -618,7 +607,6 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
618
607
|
reviewer_timeout_ms?: number | undefined;
|
|
619
608
|
harness_inactivity_timeout_ms?: number | undefined;
|
|
620
609
|
} | undefined;
|
|
621
|
-
interaction_timeout_ms?: number | undefined;
|
|
622
610
|
retention?: {
|
|
623
611
|
runs_max_age_days?: number | undefined;
|
|
624
612
|
reviews_max_age_days?: number | undefined;
|
|
@@ -634,6 +622,24 @@ export declare const GlobalConfig: z.ZodObject<{
|
|
|
634
622
|
enabled?: boolean | undefined;
|
|
635
623
|
created_at?: string | null | undefined;
|
|
636
624
|
}[] | undefined;
|
|
625
|
+
harnesses?: Record<string, {
|
|
626
|
+
enabled?: boolean | undefined;
|
|
627
|
+
native_credentials_enabled?: boolean | undefined;
|
|
628
|
+
default_model?: string | null | undefined;
|
|
629
|
+
effort?: string | null | undefined;
|
|
630
|
+
max_turns?: number | null | undefined;
|
|
631
|
+
max_rounds?: number | null | undefined;
|
|
632
|
+
profile_policy?: {
|
|
633
|
+
limit_action?: "ask" | "fail" | "rotate" | undefined;
|
|
634
|
+
rotation_eligible?: string[] | undefined;
|
|
635
|
+
headroom_threshold?: number | undefined;
|
|
636
|
+
} | undefined;
|
|
637
|
+
tools_allow?: string[] | undefined;
|
|
638
|
+
tools_deny?: string[] | undefined;
|
|
639
|
+
fallback_model?: string | null | undefined;
|
|
640
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
641
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
642
|
+
}> | undefined;
|
|
637
643
|
}>;
|
|
638
644
|
export type GlobalConfig = z.infer<typeof GlobalConfig>;
|
|
639
645
|
/** The fully-resolved effective config after precedence merge. */
|
|
@@ -660,10 +666,10 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
660
666
|
cwd: z.ZodOptional<z.ZodString>;
|
|
661
667
|
envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
662
668
|
}, "strict", z.ZodTypeAny, {
|
|
663
|
-
args: string[];
|
|
664
669
|
program: string;
|
|
665
|
-
|
|
670
|
+
args: string[];
|
|
666
671
|
cwd?: string | undefined;
|
|
672
|
+
envAllowlist: string[];
|
|
667
673
|
}, {
|
|
668
674
|
program: string;
|
|
669
675
|
args?: string[] | undefined;
|
|
@@ -672,10 +678,10 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
672
678
|
}>, "many">>;
|
|
673
679
|
}, "strict", z.ZodTypeAny, {
|
|
674
680
|
commands: {
|
|
675
|
-
args: string[];
|
|
676
681
|
program: string;
|
|
677
|
-
|
|
682
|
+
args: string[];
|
|
678
683
|
cwd?: string | undefined;
|
|
684
|
+
envAllowlist: string[];
|
|
679
685
|
}[];
|
|
680
686
|
}, {
|
|
681
687
|
commands?: {
|
|
@@ -688,9 +694,9 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
688
694
|
budget: z.ZodDefault<z.ZodObject<{
|
|
689
695
|
routing_goal: z.ZodOptional<z.ZodEnum<["auto", "quality", "economy"]>>;
|
|
690
696
|
}, "strict", z.ZodTypeAny, {
|
|
691
|
-
routing_goal?: "auto" | "
|
|
697
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
692
698
|
}, {
|
|
693
|
-
routing_goal?: "auto" | "
|
|
699
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
694
700
|
}>>;
|
|
695
701
|
constraints: z.ZodDefault<z.ZodObject<{
|
|
696
702
|
protected_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -700,9 +706,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
700
706
|
protected_paths?: string[] | undefined;
|
|
701
707
|
}>>;
|
|
702
708
|
}, "strict", z.ZodTypeAny, {
|
|
703
|
-
constraints: {
|
|
704
|
-
protected_paths: string[];
|
|
705
|
-
};
|
|
706
709
|
version: 1;
|
|
707
710
|
context: {
|
|
708
711
|
mandatory_files: string[];
|
|
@@ -711,19 +714,19 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
711
714
|
};
|
|
712
715
|
tests: {
|
|
713
716
|
commands: {
|
|
714
|
-
args: string[];
|
|
715
717
|
program: string;
|
|
716
|
-
|
|
718
|
+
args: string[];
|
|
717
719
|
cwd?: string | undefined;
|
|
720
|
+
envAllowlist: string[];
|
|
718
721
|
}[];
|
|
719
722
|
};
|
|
720
723
|
budget: {
|
|
721
|
-
routing_goal?: "auto" | "
|
|
724
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
725
|
+
};
|
|
726
|
+
constraints: {
|
|
727
|
+
protected_paths: string[];
|
|
722
728
|
};
|
|
723
729
|
}, {
|
|
724
|
-
constraints?: {
|
|
725
|
-
protected_paths?: string[] | undefined;
|
|
726
|
-
} | undefined;
|
|
727
730
|
version?: 1 | undefined;
|
|
728
731
|
context?: {
|
|
729
732
|
mandatory_files?: string[] | undefined;
|
|
@@ -739,7 +742,10 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
739
742
|
}[] | undefined;
|
|
740
743
|
} | undefined;
|
|
741
744
|
budget?: {
|
|
742
|
-
routing_goal?: "auto" | "
|
|
745
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
746
|
+
} | undefined;
|
|
747
|
+
constraints?: {
|
|
748
|
+
protected_paths?: string[] | undefined;
|
|
743
749
|
} | undefined;
|
|
744
750
|
}>;
|
|
745
751
|
trust: z.ZodObject<{
|
|
@@ -771,20 +777,20 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
771
777
|
executableDigest: string;
|
|
772
778
|
scriptPath: string | null;
|
|
773
779
|
scriptDigest: string | null;
|
|
774
|
-
accessProfile: "
|
|
780
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
775
781
|
}, {
|
|
776
782
|
projectDigest: string;
|
|
777
783
|
configDigest: string;
|
|
778
784
|
commandDigest: string;
|
|
779
785
|
executablePath: string;
|
|
780
786
|
executableDigest: string;
|
|
781
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
782
787
|
scriptPath?: string | null | undefined;
|
|
783
788
|
scriptDigest?: string | null | undefined;
|
|
789
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
784
790
|
}>, "many">>;
|
|
785
791
|
}, "strict", z.ZodTypeAny, {
|
|
786
792
|
version: 1;
|
|
787
|
-
access_default: "
|
|
793
|
+
access_default: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
788
794
|
allow_full_access: boolean;
|
|
789
795
|
repo_root: string | null;
|
|
790
796
|
test_command_grants: {
|
|
@@ -795,11 +801,11 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
795
801
|
executableDigest: string;
|
|
796
802
|
scriptPath: string | null;
|
|
797
803
|
scriptDigest: string | null;
|
|
798
|
-
accessProfile: "
|
|
804
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
799
805
|
}[];
|
|
800
806
|
}, {
|
|
801
807
|
version?: 1 | undefined;
|
|
802
|
-
access_default?: "
|
|
808
|
+
access_default?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
803
809
|
allow_full_access?: boolean | undefined;
|
|
804
810
|
repo_root?: string | null | undefined;
|
|
805
811
|
test_command_grants?: {
|
|
@@ -808,19 +814,16 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
808
814
|
commandDigest: string;
|
|
809
815
|
executablePath: string;
|
|
810
816
|
executableDigest: string;
|
|
811
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
812
817
|
scriptPath?: string | null | undefined;
|
|
813
818
|
scriptDigest?: string | null | undefined;
|
|
819
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
814
820
|
}[] | undefined;
|
|
815
821
|
}>;
|
|
816
822
|
global: z.ZodObject<{
|
|
817
823
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
818
|
-
/**
|
|
819
|
-
*
|
|
820
|
-
|
|
821
|
-
* letting the model continue with assumptions.
|
|
822
|
-
*/
|
|
823
|
-
interaction_timeout_ms: z.ZodDefault<z.ZodNumber>;
|
|
824
|
+
/** Automatic-expiry policy for one interaction wait. Positive milliseconds
|
|
825
|
+
* produce a benign decline at the deadline; null disables that expiry. */
|
|
826
|
+
interaction_timeout_ms: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
824
827
|
routing: z.ZodDefault<z.ZodObject<{
|
|
825
828
|
primary_harness: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
826
829
|
eligible_harnesses: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -848,25 +851,25 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
848
851
|
effort: string;
|
|
849
852
|
}>, "many">, "many">>>;
|
|
850
853
|
}, "strict", z.ZodTypeAny, {
|
|
851
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
852
|
-
env_inheritance: "mirror_native" | "clean";
|
|
853
854
|
primary_harness: string | null;
|
|
854
855
|
eligible_harnesses: string[];
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
856
|
+
env_inheritance: "clean" | "mirror_native";
|
|
857
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
858
|
+
goal: "auto" | "economy" | "quality";
|
|
859
|
+
paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
|
|
860
|
+
quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
858
861
|
harness: string;
|
|
859
862
|
model: string;
|
|
860
863
|
effort: string;
|
|
861
864
|
}[][]>>;
|
|
862
865
|
}, {
|
|
863
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
864
|
-
env_inheritance?: "mirror_native" | "clean" | undefined;
|
|
865
866
|
primary_harness?: string | null | undefined;
|
|
866
867
|
eligible_harnesses?: string[] | undefined;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
868
|
+
env_inheritance?: "clean" | "mirror_native" | undefined;
|
|
869
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
870
|
+
goal?: "auto" | "economy" | "quality" | undefined;
|
|
871
|
+
paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
|
|
872
|
+
quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
870
873
|
harness: string;
|
|
871
874
|
model: string;
|
|
872
875
|
effort: string;
|
|
@@ -890,12 +893,13 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
890
893
|
maxUsd: number;
|
|
891
894
|
}>]>>;
|
|
892
895
|
/**
|
|
893
|
-
* Per-
|
|
894
|
-
*
|
|
895
|
-
*
|
|
896
|
-
*
|
|
897
|
-
*
|
|
898
|
-
*
|
|
896
|
+
* Per-unit reservation floor (USD) held against the run cap BEFORE
|
|
897
|
+
* usage streams. It applies to later parallel race candidates,
|
|
898
|
+
* deep-scan scouts, and Council members; the Deep Scan reducer; the
|
|
899
|
+
* one-shot enveloped candidate continuation; and every paid attempt
|
|
900
|
+
* inside a server-proven Delegate child. The first ordinary top-level
|
|
901
|
+
* attempt remains unreserved: a cap smaller than the floor still runs
|
|
902
|
+
* one unit and stops on real usage.
|
|
899
903
|
*/
|
|
900
904
|
estimate_usd_floor: z.ZodDefault<z.ZodNumber>;
|
|
901
905
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1096,14 +1100,11 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1096
1100
|
/** Per-harness auth route preference; overrides routing.auth_preference. */
|
|
1097
1101
|
auth_preference: z.ZodDefault<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
1098
1102
|
}, "strict", z.ZodTypeAny, {
|
|
1099
|
-
fallback_model: string | null;
|
|
1100
1103
|
enabled: boolean;
|
|
1101
1104
|
native_credentials_enabled: boolean;
|
|
1102
|
-
web: "off" | "auto" | "cached" | "live";
|
|
1103
|
-
max_turns: number | null;
|
|
1104
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
1105
|
-
effort: string | null;
|
|
1106
1105
|
default_model: string | null;
|
|
1106
|
+
effort: string | null;
|
|
1107
|
+
max_turns: number | null;
|
|
1107
1108
|
max_rounds: number | null;
|
|
1108
1109
|
profile_policy: {
|
|
1109
1110
|
limit_action: "ask" | "fail" | "rotate";
|
|
@@ -1112,15 +1113,15 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1112
1113
|
};
|
|
1113
1114
|
tools_allow: string[];
|
|
1114
1115
|
tools_deny: string[];
|
|
1116
|
+
fallback_model: string | null;
|
|
1117
|
+
web: "auto" | "cached" | "live" | "off";
|
|
1118
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
1115
1119
|
}, {
|
|
1116
|
-
fallback_model?: string | null | undefined;
|
|
1117
1120
|
enabled?: boolean | undefined;
|
|
1118
1121
|
native_credentials_enabled?: boolean | undefined;
|
|
1119
|
-
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
1120
|
-
max_turns?: number | null | undefined;
|
|
1121
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
1122
|
-
effort?: string | null | undefined;
|
|
1123
1122
|
default_model?: string | null | undefined;
|
|
1123
|
+
effort?: string | null | undefined;
|
|
1124
|
+
max_turns?: number | null | undefined;
|
|
1124
1125
|
max_rounds?: number | null | undefined;
|
|
1125
1126
|
profile_policy?: {
|
|
1126
1127
|
limit_action?: "ask" | "fail" | "rotate" | undefined;
|
|
@@ -1129,27 +1130,26 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1129
1130
|
} | undefined;
|
|
1130
1131
|
tools_allow?: string[] | undefined;
|
|
1131
1132
|
tools_deny?: string[] | undefined;
|
|
1133
|
+
fallback_model?: string | null | undefined;
|
|
1134
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1135
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1132
1136
|
}>>>;
|
|
1133
1137
|
}, "strict", z.ZodTypeAny, {
|
|
1134
1138
|
version: 1;
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
};
|
|
1150
|
-
tools_allow: string[];
|
|
1151
|
-
tools_deny: string[];
|
|
1152
|
-
}>;
|
|
1139
|
+
interaction_timeout_ms: number | null;
|
|
1140
|
+
routing: {
|
|
1141
|
+
primary_harness: string | null;
|
|
1142
|
+
eligible_harnesses: string[];
|
|
1143
|
+
env_inheritance: "clean" | "mirror_native";
|
|
1144
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
1145
|
+
goal: "auto" | "economy" | "quality";
|
|
1146
|
+
paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
|
|
1147
|
+
quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
1148
|
+
harness: string;
|
|
1149
|
+
model: string;
|
|
1150
|
+
effort: string;
|
|
1151
|
+
}[][]>>;
|
|
1152
|
+
};
|
|
1153
1153
|
budget: {
|
|
1154
1154
|
paid_budget_per_run: {
|
|
1155
1155
|
kind: "unlimited";
|
|
@@ -1159,19 +1159,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1159
1159
|
};
|
|
1160
1160
|
estimate_usd_floor: number;
|
|
1161
1161
|
};
|
|
1162
|
-
routing: {
|
|
1163
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
1164
|
-
env_inheritance: "mirror_native" | "clean";
|
|
1165
|
-
primary_harness: string | null;
|
|
1166
|
-
eligible_harnesses: string[];
|
|
1167
|
-
goal: "auto" | "quality" | "economy";
|
|
1168
|
-
paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
|
|
1169
|
-
quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
|
|
1170
|
-
harness: string;
|
|
1171
|
-
model: string;
|
|
1172
|
-
effort: string;
|
|
1173
|
-
}[][]>>;
|
|
1174
|
-
};
|
|
1175
1162
|
runtime: {
|
|
1176
1163
|
transient_retry: {
|
|
1177
1164
|
max_retries: number;
|
|
@@ -1181,7 +1168,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1181
1168
|
reviewer_timeout_ms: number;
|
|
1182
1169
|
harness_inactivity_timeout_ms: number;
|
|
1183
1170
|
};
|
|
1184
|
-
interaction_timeout_ms: number;
|
|
1185
1171
|
retention: {
|
|
1186
1172
|
runs_max_age_days: number;
|
|
1187
1173
|
reviews_max_age_days: number;
|
|
@@ -1197,26 +1183,40 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1197
1183
|
enabled: boolean;
|
|
1198
1184
|
created_at: string | null;
|
|
1199
1185
|
}[];
|
|
1186
|
+
harnesses: Record<string, {
|
|
1187
|
+
enabled: boolean;
|
|
1188
|
+
native_credentials_enabled: boolean;
|
|
1189
|
+
default_model: string | null;
|
|
1190
|
+
effort: string | null;
|
|
1191
|
+
max_turns: number | null;
|
|
1192
|
+
max_rounds: number | null;
|
|
1193
|
+
profile_policy: {
|
|
1194
|
+
limit_action: "ask" | "fail" | "rotate";
|
|
1195
|
+
rotation_eligible: string[];
|
|
1196
|
+
headroom_threshold: number;
|
|
1197
|
+
};
|
|
1198
|
+
tools_allow: string[];
|
|
1199
|
+
tools_deny: string[];
|
|
1200
|
+
fallback_model: string | null;
|
|
1201
|
+
web: "auto" | "cached" | "live" | "off";
|
|
1202
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
1203
|
+
}>;
|
|
1200
1204
|
}, {
|
|
1201
1205
|
version?: 1 | undefined;
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
} | undefined;
|
|
1217
|
-
tools_allow?: string[] | undefined;
|
|
1218
|
-
tools_deny?: string[] | undefined;
|
|
1219
|
-
}> | undefined;
|
|
1206
|
+
interaction_timeout_ms?: number | null | undefined;
|
|
1207
|
+
routing?: {
|
|
1208
|
+
primary_harness?: string | null | undefined;
|
|
1209
|
+
eligible_harnesses?: string[] | undefined;
|
|
1210
|
+
env_inheritance?: "clean" | "mirror_native" | undefined;
|
|
1211
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1212
|
+
goal?: "auto" | "economy" | "quality" | undefined;
|
|
1213
|
+
paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
|
|
1214
|
+
quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
1215
|
+
harness: string;
|
|
1216
|
+
model: string;
|
|
1217
|
+
effort: string;
|
|
1218
|
+
}[][]>> | undefined;
|
|
1219
|
+
} | undefined;
|
|
1220
1220
|
budget?: {
|
|
1221
1221
|
paid_budget_per_run?: {
|
|
1222
1222
|
kind: "unlimited";
|
|
@@ -1226,19 +1226,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1226
1226
|
} | undefined;
|
|
1227
1227
|
estimate_usd_floor?: number | undefined;
|
|
1228
1228
|
} | undefined;
|
|
1229
|
-
routing?: {
|
|
1230
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
1231
|
-
env_inheritance?: "mirror_native" | "clean" | undefined;
|
|
1232
|
-
primary_harness?: string | null | undefined;
|
|
1233
|
-
eligible_harnesses?: string[] | undefined;
|
|
1234
|
-
goal?: "auto" | "quality" | "economy" | undefined;
|
|
1235
|
-
paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
|
|
1236
|
-
quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
|
|
1237
|
-
harness: string;
|
|
1238
|
-
model: string;
|
|
1239
|
-
effort: string;
|
|
1240
|
-
}[][]>> | undefined;
|
|
1241
|
-
} | undefined;
|
|
1242
1229
|
runtime?: {
|
|
1243
1230
|
transient_retry?: {
|
|
1244
1231
|
max_retries?: number | undefined;
|
|
@@ -1248,7 +1235,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1248
1235
|
reviewer_timeout_ms?: number | undefined;
|
|
1249
1236
|
harness_inactivity_timeout_ms?: number | undefined;
|
|
1250
1237
|
} | undefined;
|
|
1251
|
-
interaction_timeout_ms?: number | undefined;
|
|
1252
1238
|
retention?: {
|
|
1253
1239
|
runs_max_age_days?: number | undefined;
|
|
1254
1240
|
reviews_max_age_days?: number | undefined;
|
|
@@ -1264,13 +1250,28 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1264
1250
|
enabled?: boolean | undefined;
|
|
1265
1251
|
created_at?: string | null | undefined;
|
|
1266
1252
|
}[] | undefined;
|
|
1253
|
+
harnesses?: Record<string, {
|
|
1254
|
+
enabled?: boolean | undefined;
|
|
1255
|
+
native_credentials_enabled?: boolean | undefined;
|
|
1256
|
+
default_model?: string | null | undefined;
|
|
1257
|
+
effort?: string | null | undefined;
|
|
1258
|
+
max_turns?: number | null | undefined;
|
|
1259
|
+
max_rounds?: number | null | undefined;
|
|
1260
|
+
profile_policy?: {
|
|
1261
|
+
limit_action?: "ask" | "fail" | "rotate" | undefined;
|
|
1262
|
+
rotation_eligible?: string[] | undefined;
|
|
1263
|
+
headroom_threshold?: number | undefined;
|
|
1264
|
+
} | undefined;
|
|
1265
|
+
tools_allow?: string[] | undefined;
|
|
1266
|
+
tools_deny?: string[] | undefined;
|
|
1267
|
+
fallback_model?: string | null | undefined;
|
|
1268
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1269
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1270
|
+
}> | undefined;
|
|
1267
1271
|
}>;
|
|
1268
1272
|
sources: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1269
1273
|
}, "strip", z.ZodTypeAny, {
|
|
1270
1274
|
project: {
|
|
1271
|
-
constraints: {
|
|
1272
|
-
protected_paths: string[];
|
|
1273
|
-
};
|
|
1274
1275
|
version: 1;
|
|
1275
1276
|
context: {
|
|
1276
1277
|
mandatory_files: string[];
|
|
@@ -1279,20 +1280,22 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1279
1280
|
};
|
|
1280
1281
|
tests: {
|
|
1281
1282
|
commands: {
|
|
1282
|
-
args: string[];
|
|
1283
1283
|
program: string;
|
|
1284
|
-
|
|
1284
|
+
args: string[];
|
|
1285
1285
|
cwd?: string | undefined;
|
|
1286
|
+
envAllowlist: string[];
|
|
1286
1287
|
}[];
|
|
1287
1288
|
};
|
|
1288
1289
|
budget: {
|
|
1289
|
-
routing_goal?: "auto" | "
|
|
1290
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
1291
|
+
};
|
|
1292
|
+
constraints: {
|
|
1293
|
+
protected_paths: string[];
|
|
1290
1294
|
};
|
|
1291
1295
|
};
|
|
1292
|
-
sources: string[];
|
|
1293
1296
|
trust: {
|
|
1294
1297
|
version: 1;
|
|
1295
|
-
access_default: "
|
|
1298
|
+
access_default: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1296
1299
|
allow_full_access: boolean;
|
|
1297
1300
|
repo_root: string | null;
|
|
1298
1301
|
test_command_grants: {
|
|
@@ -1303,29 +1306,25 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1303
1306
|
executableDigest: string;
|
|
1304
1307
|
scriptPath: string | null;
|
|
1305
1308
|
scriptDigest: string | null;
|
|
1306
|
-
accessProfile: "
|
|
1309
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1307
1310
|
}[];
|
|
1308
1311
|
};
|
|
1309
1312
|
global: {
|
|
1310
1313
|
version: 1;
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
};
|
|
1326
|
-
tools_allow: string[];
|
|
1327
|
-
tools_deny: string[];
|
|
1328
|
-
}>;
|
|
1314
|
+
interaction_timeout_ms: number | null;
|
|
1315
|
+
routing: {
|
|
1316
|
+
primary_harness: string | null;
|
|
1317
|
+
eligible_harnesses: string[];
|
|
1318
|
+
env_inheritance: "clean" | "mirror_native";
|
|
1319
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
1320
|
+
goal: "auto" | "economy" | "quality";
|
|
1321
|
+
paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
|
|
1322
|
+
quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
1323
|
+
harness: string;
|
|
1324
|
+
model: string;
|
|
1325
|
+
effort: string;
|
|
1326
|
+
}[][]>>;
|
|
1327
|
+
};
|
|
1329
1328
|
budget: {
|
|
1330
1329
|
paid_budget_per_run: {
|
|
1331
1330
|
kind: "unlimited";
|
|
@@ -1335,19 +1334,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1335
1334
|
};
|
|
1336
1335
|
estimate_usd_floor: number;
|
|
1337
1336
|
};
|
|
1338
|
-
routing: {
|
|
1339
|
-
auth_preference: "auto" | "subscription" | "api_key";
|
|
1340
|
-
env_inheritance: "mirror_native" | "clean";
|
|
1341
|
-
primary_harness: string | null;
|
|
1342
|
-
eligible_harnesses: string[];
|
|
1343
|
-
goal: "auto" | "quality" | "economy";
|
|
1344
|
-
paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
|
|
1345
|
-
quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
|
|
1346
|
-
harness: string;
|
|
1347
|
-
model: string;
|
|
1348
|
-
effort: string;
|
|
1349
|
-
}[][]>>;
|
|
1350
|
-
};
|
|
1351
1337
|
runtime: {
|
|
1352
1338
|
transient_retry: {
|
|
1353
1339
|
max_retries: number;
|
|
@@ -1357,7 +1343,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1357
1343
|
reviewer_timeout_ms: number;
|
|
1358
1344
|
harness_inactivity_timeout_ms: number;
|
|
1359
1345
|
};
|
|
1360
|
-
interaction_timeout_ms: number;
|
|
1361
1346
|
retention: {
|
|
1362
1347
|
runs_max_age_days: number;
|
|
1363
1348
|
reviews_max_age_days: number;
|
|
@@ -1373,12 +1358,28 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1373
1358
|
enabled: boolean;
|
|
1374
1359
|
created_at: string | null;
|
|
1375
1360
|
}[];
|
|
1361
|
+
harnesses: Record<string, {
|
|
1362
|
+
enabled: boolean;
|
|
1363
|
+
native_credentials_enabled: boolean;
|
|
1364
|
+
default_model: string | null;
|
|
1365
|
+
effort: string | null;
|
|
1366
|
+
max_turns: number | null;
|
|
1367
|
+
max_rounds: number | null;
|
|
1368
|
+
profile_policy: {
|
|
1369
|
+
limit_action: "ask" | "fail" | "rotate";
|
|
1370
|
+
rotation_eligible: string[];
|
|
1371
|
+
headroom_threshold: number;
|
|
1372
|
+
};
|
|
1373
|
+
tools_allow: string[];
|
|
1374
|
+
tools_deny: string[];
|
|
1375
|
+
fallback_model: string | null;
|
|
1376
|
+
web: "auto" | "cached" | "live" | "off";
|
|
1377
|
+
auth_preference: "api_key" | "auto" | "subscription";
|
|
1378
|
+
}>;
|
|
1376
1379
|
};
|
|
1380
|
+
sources: string[];
|
|
1377
1381
|
}, {
|
|
1378
1382
|
project: {
|
|
1379
|
-
constraints?: {
|
|
1380
|
-
protected_paths?: string[] | undefined;
|
|
1381
|
-
} | undefined;
|
|
1382
1383
|
version?: 1 | undefined;
|
|
1383
1384
|
context?: {
|
|
1384
1385
|
mandatory_files?: string[] | undefined;
|
|
@@ -1394,12 +1395,15 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1394
1395
|
}[] | undefined;
|
|
1395
1396
|
} | undefined;
|
|
1396
1397
|
budget?: {
|
|
1397
|
-
routing_goal?: "auto" | "
|
|
1398
|
+
routing_goal?: "auto" | "economy" | "quality" | undefined;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
constraints?: {
|
|
1401
|
+
protected_paths?: string[] | undefined;
|
|
1398
1402
|
} | undefined;
|
|
1399
1403
|
};
|
|
1400
1404
|
trust: {
|
|
1401
1405
|
version?: 1 | undefined;
|
|
1402
|
-
access_default?: "
|
|
1406
|
+
access_default?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
1403
1407
|
allow_full_access?: boolean | undefined;
|
|
1404
1408
|
repo_root?: string | null | undefined;
|
|
1405
1409
|
test_command_grants?: {
|
|
@@ -1408,31 +1412,27 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1408
1412
|
commandDigest: string;
|
|
1409
1413
|
executablePath: string;
|
|
1410
1414
|
executableDigest: string;
|
|
1411
|
-
accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
1412
1415
|
scriptPath?: string | null | undefined;
|
|
1413
1416
|
scriptDigest?: string | null | undefined;
|
|
1417
|
+
accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1414
1418
|
}[] | undefined;
|
|
1415
1419
|
};
|
|
1416
1420
|
global: {
|
|
1417
1421
|
version?: 1 | undefined;
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
} | undefined;
|
|
1433
|
-
tools_allow?: string[] | undefined;
|
|
1434
|
-
tools_deny?: string[] | undefined;
|
|
1435
|
-
}> | undefined;
|
|
1422
|
+
interaction_timeout_ms?: number | null | undefined;
|
|
1423
|
+
routing?: {
|
|
1424
|
+
primary_harness?: string | null | undefined;
|
|
1425
|
+
eligible_harnesses?: string[] | undefined;
|
|
1426
|
+
env_inheritance?: "clean" | "mirror_native" | undefined;
|
|
1427
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1428
|
+
goal?: "auto" | "economy" | "quality" | undefined;
|
|
1429
|
+
paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
|
|
1430
|
+
quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
|
|
1431
|
+
harness: string;
|
|
1432
|
+
model: string;
|
|
1433
|
+
effort: string;
|
|
1434
|
+
}[][]>> | undefined;
|
|
1435
|
+
} | undefined;
|
|
1436
1436
|
budget?: {
|
|
1437
1437
|
paid_budget_per_run?: {
|
|
1438
1438
|
kind: "unlimited";
|
|
@@ -1442,19 +1442,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1442
1442
|
} | undefined;
|
|
1443
1443
|
estimate_usd_floor?: number | undefined;
|
|
1444
1444
|
} | undefined;
|
|
1445
|
-
routing?: {
|
|
1446
|
-
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
1447
|
-
env_inheritance?: "mirror_native" | "clean" | undefined;
|
|
1448
|
-
primary_harness?: string | null | undefined;
|
|
1449
|
-
eligible_harnesses?: string[] | undefined;
|
|
1450
|
-
goal?: "auto" | "quality" | "economy" | undefined;
|
|
1451
|
-
paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
|
|
1452
|
-
quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
|
|
1453
|
-
harness: string;
|
|
1454
|
-
model: string;
|
|
1455
|
-
effort: string;
|
|
1456
|
-
}[][]>> | undefined;
|
|
1457
|
-
} | undefined;
|
|
1458
1445
|
runtime?: {
|
|
1459
1446
|
transient_retry?: {
|
|
1460
1447
|
max_retries?: number | undefined;
|
|
@@ -1464,7 +1451,6 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1464
1451
|
reviewer_timeout_ms?: number | undefined;
|
|
1465
1452
|
harness_inactivity_timeout_ms?: number | undefined;
|
|
1466
1453
|
} | undefined;
|
|
1467
|
-
interaction_timeout_ms?: number | undefined;
|
|
1468
1454
|
retention?: {
|
|
1469
1455
|
runs_max_age_days?: number | undefined;
|
|
1470
1456
|
reviews_max_age_days?: number | undefined;
|
|
@@ -1480,6 +1466,24 @@ export declare const ResolvedConfig: z.ZodObject<{
|
|
|
1480
1466
|
enabled?: boolean | undefined;
|
|
1481
1467
|
created_at?: string | null | undefined;
|
|
1482
1468
|
}[] | undefined;
|
|
1469
|
+
harnesses?: Record<string, {
|
|
1470
|
+
enabled?: boolean | undefined;
|
|
1471
|
+
native_credentials_enabled?: boolean | undefined;
|
|
1472
|
+
default_model?: string | null | undefined;
|
|
1473
|
+
effort?: string | null | undefined;
|
|
1474
|
+
max_turns?: number | null | undefined;
|
|
1475
|
+
max_rounds?: number | null | undefined;
|
|
1476
|
+
profile_policy?: {
|
|
1477
|
+
limit_action?: "ask" | "fail" | "rotate" | undefined;
|
|
1478
|
+
rotation_eligible?: string[] | undefined;
|
|
1479
|
+
headroom_threshold?: number | undefined;
|
|
1480
|
+
} | undefined;
|
|
1481
|
+
tools_allow?: string[] | undefined;
|
|
1482
|
+
tools_deny?: string[] | undefined;
|
|
1483
|
+
fallback_model?: string | null | undefined;
|
|
1484
|
+
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1485
|
+
auth_preference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1486
|
+
}> | undefined;
|
|
1483
1487
|
};
|
|
1484
1488
|
sources?: string[] | undefined;
|
|
1485
1489
|
}>;
|