@claudexor/schema 1.0.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/LICENSE +21 -0
- package/README.md +16 -0
- package/dist/agent-capabilities.d.ts +366 -0
- package/dist/agent-capabilities.d.ts.map +1 -0
- package/dist/agent-capabilities.js +125 -0
- package/dist/agent-capabilities.js.map +1 -0
- package/dist/apply-eligibility.d.ts +76 -0
- package/dist/apply-eligibility.d.ts.map +1 -0
- package/dist/apply-eligibility.js +37 -0
- package/dist/apply-eligibility.js.map +1 -0
- package/dist/attachment.d.ts +69 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.js +54 -0
- package/dist/attachment.js.map +1 -0
- package/dist/budget.d.ts +75 -0
- package/dist/budget.d.ts.map +1 -0
- package/dist/budget.js +54 -0
- package/dist/budget.js.map +1 -0
- package/dist/config.d.ts +743 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +194 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +222 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +70 -0
- package/dist/context.js.map +1 -0
- package/dist/control-run-detail.d.ts +1686 -0
- package/dist/control-run-detail.d.ts.map +1 -0
- package/dist/control-run-detail.js +107 -0
- package/dist/control-run-detail.js.map +1 -0
- package/dist/control-trust.d.ts +79 -0
- package/dist/control-trust.d.ts.map +1 -0
- package/dist/control-trust.js +39 -0
- package/dist/control-trust.js.map +1 -0
- package/dist/control.d.ts +4226 -0
- package/dist/control.d.ts.map +1 -0
- package/dist/control.js +1022 -0
- package/dist/control.js.map +1 -0
- package/dist/decision.d.ts +208 -0
- package/dist/decision.d.ts.map +1 -0
- package/dist/decision.js +98 -0
- package/dist/decision.js.map +1 -0
- package/dist/events.d.ts +70 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +105 -0
- package/dist/events.js.map +1 -0
- package/dist/gate.d.ts +37 -0
- package/dist/gate.d.ts.map +1 -0
- package/dist/gate.js +20 -0
- package/dist/gate.js.map +1 -0
- package/dist/harness.d.ts +1418 -0
- package/dist/harness.d.ts.map +1 -0
- package/dist/harness.js +552 -0
- package/dist/harness.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/orchestrate.d.ts +428 -0
- package/dist/orchestrate.d.ts.map +1 -0
- package/dist/orchestrate.js +246 -0
- package/dist/orchestrate.js.map +1 -0
- package/dist/primitives.d.ts +71 -0
- package/dist/primitives.d.ts.map +1 -0
- package/dist/primitives.js +114 -0
- package/dist/primitives.js.map +1 -0
- package/dist/review.d.ts +220 -0
- package/dist/review.d.ts.map +1 -0
- package/dist/review.js +91 -0
- package/dist/review.js.map +1 -0
- package/dist/route.d.ts +67 -0
- package/dist/route.d.ts.map +1 -0
- package/dist/route.js +33 -0
- package/dist/route.js.map +1 -0
- package/dist/spec.d.ts +561 -0
- package/dist/spec.d.ts.map +1 -0
- package/dist/spec.js +133 -0
- package/dist/spec.js.map +1 -0
- package/dist/surface-run-controls.d.ts +14 -0
- package/dist/surface-run-controls.d.ts.map +1 -0
- package/dist/surface-run-controls.js +142 -0
- package/dist/surface-run-controls.js.map +1 -0
- package/dist/task.d.ts +565 -0
- package/dist/task.d.ts.map +1 -0
- package/dist/task.js +186 -0
- package/dist/task.js.map +1 -0
- package/dist/telemetry.d.ts +660 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/telemetry.js +140 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/thread.d.ts +348 -0
- package/dist/thread.d.ts.map +1 -0
- package/dist/thread.js +194 -0
- package/dist/thread.js.map +1 -0
- package/dist/workproduct.d.ts +31 -0
- package/dist/workproduct.d.ts.map +1 -0
- package/dist/workproduct.js +25 -0
- package/dist/workproduct.js.map +1 -0
- package/dist/workspace.d.ts +53 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +30 -0
- package/dist/workspace.js.map +1 -0
- package/generated/AgentCapabilityCatalog.schema.json +389 -0
- package/generated/ApplyEligibility.schema.json +44 -0
- package/generated/BudgetLease.schema.json +95 -0
- package/generated/BudgetObservation.schema.json +76 -0
- package/generated/ConformanceReport.schema.json +107 -0
- package/generated/ContextPack.schema.json +186 -0
- package/generated/ControlApplyCheckRequest.schema.json +54 -0
- package/generated/ControlApplyRequest.schema.json +74 -0
- package/generated/ControlHarnessListResponse.schema.json +498 -0
- package/generated/ControlHarnessModelsResponse.schema.json +78 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +130 -0
- package/generated/ControlInteractionAnswerRequest.schema.json +48 -0
- package/generated/ControlInteractionAnswerResponse.schema.json +35 -0
- package/generated/ControlPendingInteraction.schema.json +129 -0
- package/generated/ControlQueuedRunInfo.schema.json +44 -0
- package/generated/ControlRunControlRequest.schema.json +61 -0
- package/generated/ControlRunControlResponse.schema.json +40 -0
- package/generated/ControlRunDecisionRequest.schema.json +98 -0
- package/generated/ControlRunDecisionResponse.schema.json +40 -0
- package/generated/ControlRunDetail.schema.json +1925 -0
- package/generated/ControlRunStartInfo.schema.json +33 -0
- package/generated/ControlRunStartRequest.schema.json +429 -0
- package/generated/ControlRunSummary.schema.json +666 -0
- package/generated/ControlSecretListResponse.schema.json +57 -0
- package/generated/ControlSettingsSnapshot.schema.json +281 -0
- package/generated/ControlSettingsUpdateRequest.schema.json +212 -0
- package/generated/ControlSetupJob.schema.json +148 -0
- package/generated/ControlSetupJobConfirmRequest.schema.json +18 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +38 -0
- package/generated/ControlSetupJobEvent.schema.json +58 -0
- package/generated/ControlSetupJobListResponse.schema.json +162 -0
- package/generated/ControlSpecFreezeRequest.schema.json +83 -0
- package/generated/ControlSpecQuestionsRequest.schema.json +80 -0
- package/generated/ControlThread.schema.json +129 -0
- package/generated/ControlThreadApplyRequest.schema.json +32 -0
- package/generated/ControlThreadApplyResponse.schema.json +47 -0
- package/generated/ControlThreadCreateRequest.schema.json +107 -0
- package/generated/ControlThreadDetail.schema.json +515 -0
- package/generated/ControlThreadListResponse.schema.json +141 -0
- package/generated/ControlThreadUpdateRequest.schema.json +46 -0
- package/generated/ControlTrustListResponse.schema.json +59 -0
- package/generated/ControlTrustState.schema.json +45 -0
- package/generated/ControlTrustUpdateRequest.schema.json +26 -0
- package/generated/DecisionRecord.schema.json +232 -0
- package/generated/GateResult.schema.json +81 -0
- package/generated/GlobalConfig.schema.json +313 -0
- package/generated/HarnessEvent.schema.json +360 -0
- package/generated/HarnessManifest.schema.json +350 -0
- package/generated/HarnessModel.schema.json +41 -0
- package/generated/HarnessStatusDto.schema.json +486 -0
- package/generated/McpRunToolResult.schema.json +91 -0
- package/generated/OrchestrateContract.schema.json +93 -0
- package/generated/OrchestratePlan.schema.json +244 -0
- package/generated/OrchestratePlanProgress.schema.json +103 -0
- package/generated/ProjectConfig.schema.json +95 -0
- package/generated/ReviewFinding.schema.json +226 -0
- package/generated/RouteFallbackPayload.schema.json +79 -0
- package/generated/RouteProof.schema.json +111 -0
- package/generated/RunControl.schema.json +51 -0
- package/generated/RunEvent.schema.json +103 -0
- package/generated/RunFailure.schema.json +98 -0
- package/generated/RunTelemetry.schema.json +433 -0
- package/generated/SecretMetadata.schema.json +34 -0
- package/generated/Session.schema.json +80 -0
- package/generated/SessionReboundLineage.schema.json +73 -0
- package/generated/SpecPack.schema.json +372 -0
- package/generated/TaskContract.schema.json +501 -0
- package/generated/Thread.schema.json +176 -0
- package/generated/ThreadTurn.schema.json +172 -0
- package/generated/TrustConfig.schema.json +44 -0
- package/generated/WorkProduct.schema.json +60 -0
- package/generated/WorkspaceEnvelope.schema.json +94 -0
- package/package.json +43 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlSecretListResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlSecretListResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"backend": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"keychain",
|
|
11
|
+
"file"
|
|
12
|
+
],
|
|
13
|
+
"description": "Active secret store backend."
|
|
14
|
+
},
|
|
15
|
+
"secrets": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Secret name/label."
|
|
23
|
+
},
|
|
24
|
+
"backend": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"keychain",
|
|
28
|
+
"file"
|
|
29
|
+
],
|
|
30
|
+
"description": "Where the secret is stored: the OS keychain or a file store."
|
|
31
|
+
},
|
|
32
|
+
"present": {
|
|
33
|
+
"type": "boolean",
|
|
34
|
+
"default": true,
|
|
35
|
+
"description": "Whether a value is actually stored."
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"name",
|
|
40
|
+
"backend"
|
|
41
|
+
],
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"description": "Secret list row: name, storage backend, and presence — never the value."
|
|
44
|
+
},
|
|
45
|
+
"default": [],
|
|
46
|
+
"description": "Stored secrets (metadata only, never values)."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"backend"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"description": "Response for listing stored secrets (metadata only)."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
57
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlSettingsSnapshot",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlSettingsSnapshot": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"sources": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"default": [],
|
|
13
|
+
"description": "Config file paths that contributed to the snapshot."
|
|
14
|
+
},
|
|
15
|
+
"defaultPortfolio": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"daily-rich",
|
|
19
|
+
"balanced",
|
|
20
|
+
"cheapest",
|
|
21
|
+
"strongest",
|
|
22
|
+
"burn",
|
|
23
|
+
"subscription-first",
|
|
24
|
+
"api-overflow",
|
|
25
|
+
"conserve-claude",
|
|
26
|
+
"conserve-codex"
|
|
27
|
+
],
|
|
28
|
+
"description": "Budget portfolio used when a run does not specify one.",
|
|
29
|
+
"default": "subscription-first"
|
|
30
|
+
},
|
|
31
|
+
"interactionTimeoutMs": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"exclusiveMinimum": 0,
|
|
34
|
+
"default": 900000,
|
|
35
|
+
"description": "How long a run waits for an interactive answer before a benign decline, in milliseconds."
|
|
36
|
+
},
|
|
37
|
+
"routing": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"defaultPolicy": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"enum": [
|
|
43
|
+
"auto",
|
|
44
|
+
"primary"
|
|
45
|
+
],
|
|
46
|
+
"default": "auto",
|
|
47
|
+
"description": "Default routing policy."
|
|
48
|
+
},
|
|
49
|
+
"primaryHarness": {
|
|
50
|
+
"type": [
|
|
51
|
+
"string",
|
|
52
|
+
"null"
|
|
53
|
+
],
|
|
54
|
+
"default": null,
|
|
55
|
+
"description": "Global default primary harness; null = engine decides."
|
|
56
|
+
},
|
|
57
|
+
"eligibleHarnesses": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"default": [],
|
|
63
|
+
"description": "Harness pool eligible for routing/races; empty = all available."
|
|
64
|
+
},
|
|
65
|
+
"envInheritance": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"enum": [
|
|
68
|
+
"mirror_native",
|
|
69
|
+
"clean"
|
|
70
|
+
],
|
|
71
|
+
"default": "mirror_native",
|
|
72
|
+
"description": "How the child harness env is built: mirror_native inherits the shell env; clean spawns from a minimal allowlist."
|
|
73
|
+
},
|
|
74
|
+
"authPreference": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"enum": [
|
|
77
|
+
"subscription",
|
|
78
|
+
"api_key",
|
|
79
|
+
"auto"
|
|
80
|
+
],
|
|
81
|
+
"description": "Preferred auth route: subscription (native/OAuth session), api_key (a stored API key), or auto (engine picks subscription-first with policy fallback). A preference, not a secret.",
|
|
82
|
+
"default": "auto"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"additionalProperties": false,
|
|
86
|
+
"default": {},
|
|
87
|
+
"description": "Global routing settings."
|
|
88
|
+
},
|
|
89
|
+
"budget": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"properties": {
|
|
92
|
+
"maxUsdPerRun": {
|
|
93
|
+
"type": [
|
|
94
|
+
"number",
|
|
95
|
+
"null"
|
|
96
|
+
],
|
|
97
|
+
"default": null,
|
|
98
|
+
"description": "Global USD cap per run; null = no cap."
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"additionalProperties": false,
|
|
102
|
+
"default": {},
|
|
103
|
+
"description": "Global budget limits."
|
|
104
|
+
},
|
|
105
|
+
"runtime": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"reviewerTimeoutMs": {
|
|
109
|
+
"type": "integer",
|
|
110
|
+
"exclusiveMinimum": 0,
|
|
111
|
+
"default": 600000,
|
|
112
|
+
"description": "Wall-clock timeout for a reviewer run, in milliseconds."
|
|
113
|
+
},
|
|
114
|
+
"harnessInactivityTimeoutMs": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"exclusiveMinimum": 0,
|
|
117
|
+
"default": 1200000,
|
|
118
|
+
"description": "Inactivity watchdog for harness streams, in milliseconds."
|
|
119
|
+
},
|
|
120
|
+
"transientRetry": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"properties": {
|
|
123
|
+
"maxRetries": {
|
|
124
|
+
"type": "integer",
|
|
125
|
+
"minimum": 0,
|
|
126
|
+
"default": 2,
|
|
127
|
+
"description": "Maximum retries for a transient failure."
|
|
128
|
+
},
|
|
129
|
+
"initialDelayMs": {
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"minimum": 0,
|
|
132
|
+
"default": 1000,
|
|
133
|
+
"description": "Initial retry delay in milliseconds."
|
|
134
|
+
},
|
|
135
|
+
"maxDelayMs": {
|
|
136
|
+
"type": "integer",
|
|
137
|
+
"minimum": 0,
|
|
138
|
+
"default": 10000,
|
|
139
|
+
"description": "Maximum retry delay in milliseconds."
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"default": {},
|
|
144
|
+
"description": "Bounded retry policy for transient failures."
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"default": {},
|
|
149
|
+
"description": "Global runtime timeouts and retry policy."
|
|
150
|
+
},
|
|
151
|
+
"harnesses": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"additionalProperties": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"enabled": {
|
|
157
|
+
"type": "boolean",
|
|
158
|
+
"default": true,
|
|
159
|
+
"description": "Whether the harness participates in routing."
|
|
160
|
+
},
|
|
161
|
+
"defaultModel": {
|
|
162
|
+
"type": [
|
|
163
|
+
"string",
|
|
164
|
+
"null"
|
|
165
|
+
],
|
|
166
|
+
"default": null,
|
|
167
|
+
"description": "Per-harness default model; null = the harness's own default."
|
|
168
|
+
},
|
|
169
|
+
"effort": {
|
|
170
|
+
"anyOf": [
|
|
171
|
+
{
|
|
172
|
+
"type": "string",
|
|
173
|
+
"enum": [
|
|
174
|
+
"low",
|
|
175
|
+
"medium",
|
|
176
|
+
"high",
|
|
177
|
+
"xhigh",
|
|
178
|
+
"max"
|
|
179
|
+
],
|
|
180
|
+
"description": "Cross-harness reasoning-effort level, weakest to strongest; adapters declare the subset they support and a shared normalizer clamps requests onto the nearest supported level."
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "null"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"description": "Default reasoning effort; null = harness default.",
|
|
187
|
+
"default": null
|
|
188
|
+
},
|
|
189
|
+
"maxTurns": {
|
|
190
|
+
"anyOf": [
|
|
191
|
+
{
|
|
192
|
+
"type": "integer",
|
|
193
|
+
"exclusiveMinimum": 0
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"type": "null"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"default": null,
|
|
200
|
+
"description": "Default max agent turns; null = no limit."
|
|
201
|
+
},
|
|
202
|
+
"maxRounds": {
|
|
203
|
+
"anyOf": [
|
|
204
|
+
{
|
|
205
|
+
"type": "integer",
|
|
206
|
+
"exclusiveMinimum": 0
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "null"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"default": null,
|
|
213
|
+
"description": "Default max convergence rounds; null = engine default."
|
|
214
|
+
},
|
|
215
|
+
"maxUsd": {
|
|
216
|
+
"anyOf": [
|
|
217
|
+
{
|
|
218
|
+
"type": "number",
|
|
219
|
+
"minimum": 0
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "null"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"default": null,
|
|
226
|
+
"description": "Per-harness USD cap; null = no cap."
|
|
227
|
+
},
|
|
228
|
+
"toolsAllow": {
|
|
229
|
+
"type": "array",
|
|
230
|
+
"items": {
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"default": [],
|
|
234
|
+
"description": "Tool names allowed for this harness."
|
|
235
|
+
},
|
|
236
|
+
"toolsDeny": {
|
|
237
|
+
"type": "array",
|
|
238
|
+
"items": {
|
|
239
|
+
"type": "string"
|
|
240
|
+
},
|
|
241
|
+
"default": [],
|
|
242
|
+
"description": "Tool names denied for this harness."
|
|
243
|
+
},
|
|
244
|
+
"fallbackModel": {
|
|
245
|
+
"type": [
|
|
246
|
+
"string",
|
|
247
|
+
"null"
|
|
248
|
+
],
|
|
249
|
+
"default": null,
|
|
250
|
+
"description": "Model to fall back to on typed fallback signals; null = none."
|
|
251
|
+
},
|
|
252
|
+
"web": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"enum": [
|
|
255
|
+
"off",
|
|
256
|
+
"auto",
|
|
257
|
+
"cached",
|
|
258
|
+
"live"
|
|
259
|
+
],
|
|
260
|
+
"description": "Default web policy for this harness.",
|
|
261
|
+
"default": "auto"
|
|
262
|
+
},
|
|
263
|
+
"authPreference": {
|
|
264
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/routing/properties/authPreference",
|
|
265
|
+
"default": "auto",
|
|
266
|
+
"description": "Preferred auth route: subscription (native/OAuth session), api_key (a stored API key), or auto (engine picks subscription-first with policy fallback). A preference, not a secret."
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"additionalProperties": false,
|
|
270
|
+
"description": "Per-harness settings."
|
|
271
|
+
},
|
|
272
|
+
"default": {},
|
|
273
|
+
"description": "Per-harness settings keyed by harness id."
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"additionalProperties": false,
|
|
277
|
+
"description": "Effective settings snapshot served by GET /settings."
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
281
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlSettingsUpdateRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlSettingsUpdateRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"defaultPortfolio": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"daily-rich",
|
|
11
|
+
"balanced",
|
|
12
|
+
"cheapest",
|
|
13
|
+
"strongest",
|
|
14
|
+
"burn",
|
|
15
|
+
"subscription-first",
|
|
16
|
+
"api-overflow",
|
|
17
|
+
"conserve-claude",
|
|
18
|
+
"conserve-codex"
|
|
19
|
+
],
|
|
20
|
+
"description": "Budget portfolio weighting the harness router's quality/cost/latency and subscription-vs-API preferences (e.g. cheapest minimizes spend, burn maximizes quality, conserve-* deprioritizes one vendor)."
|
|
21
|
+
},
|
|
22
|
+
"interactionTimeoutMs": {
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"exclusiveMinimum": 0,
|
|
25
|
+
"description": "New interactive-answer timeout, in milliseconds."
|
|
26
|
+
},
|
|
27
|
+
"routingPolicy": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"auto",
|
|
31
|
+
"primary"
|
|
32
|
+
],
|
|
33
|
+
"description": "New default routing policy."
|
|
34
|
+
},
|
|
35
|
+
"primaryHarness": {
|
|
36
|
+
"anyOf": [
|
|
37
|
+
{
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"pattern": "\\S",
|
|
41
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "null"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"description": "New global primary harness; null clears back to engine routing."
|
|
48
|
+
},
|
|
49
|
+
"eligibleHarnesses": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {
|
|
52
|
+
"$ref": "#/definitions/ControlSettingsUpdateRequest/properties/primaryHarness/anyOf/0"
|
|
53
|
+
},
|
|
54
|
+
"description": "New global eligible harness pool."
|
|
55
|
+
},
|
|
56
|
+
"envInheritance": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": [
|
|
59
|
+
"mirror_native",
|
|
60
|
+
"clean"
|
|
61
|
+
],
|
|
62
|
+
"description": "New child harness env composition mode."
|
|
63
|
+
},
|
|
64
|
+
"maxUsdPerRun": {
|
|
65
|
+
"type": "number",
|
|
66
|
+
"minimum": 0,
|
|
67
|
+
"description": "New global USD cap per run (mutually exclusive with clearMaxUsdPerRun)."
|
|
68
|
+
},
|
|
69
|
+
"clearMaxUsdPerRun": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "Clear the global USD cap per run (mutually exclusive with maxUsdPerRun)."
|
|
72
|
+
},
|
|
73
|
+
"authPreference": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"subscription",
|
|
77
|
+
"api_key",
|
|
78
|
+
"auto"
|
|
79
|
+
],
|
|
80
|
+
"description": "New global auth route preference."
|
|
81
|
+
},
|
|
82
|
+
"harnesses": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"additionalProperties": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"enabled": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"description": "Enable/disable the harness for routing."
|
|
90
|
+
},
|
|
91
|
+
"defaultModel": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"$ref": "#/definitions/ControlSettingsUpdateRequest/properties/primaryHarness/anyOf/0"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "null"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"description": "New per-harness default model; null clears it."
|
|
101
|
+
},
|
|
102
|
+
"effort": {
|
|
103
|
+
"anyOf": [
|
|
104
|
+
{
|
|
105
|
+
"type": "string",
|
|
106
|
+
"enum": [
|
|
107
|
+
"low",
|
|
108
|
+
"medium",
|
|
109
|
+
"high",
|
|
110
|
+
"xhigh",
|
|
111
|
+
"max"
|
|
112
|
+
],
|
|
113
|
+
"description": "Cross-harness reasoning-effort level, weakest to strongest; adapters declare the subset they support and a shared normalizer clamps requests onto the nearest supported level."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "null"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"description": "New default reasoning effort; null clears it."
|
|
120
|
+
},
|
|
121
|
+
"maxTurns": {
|
|
122
|
+
"anyOf": [
|
|
123
|
+
{
|
|
124
|
+
"type": "integer",
|
|
125
|
+
"exclusiveMinimum": 0
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "null"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"description": "New max agent turns; null clears the limit."
|
|
132
|
+
},
|
|
133
|
+
"maxRounds": {
|
|
134
|
+
"anyOf": [
|
|
135
|
+
{
|
|
136
|
+
"type": "integer",
|
|
137
|
+
"exclusiveMinimum": 0
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "null"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"description": "New max convergence rounds; null clears it."
|
|
144
|
+
},
|
|
145
|
+
"maxUsd": {
|
|
146
|
+
"anyOf": [
|
|
147
|
+
{
|
|
148
|
+
"type": "number",
|
|
149
|
+
"minimum": 0
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "null"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"description": "New per-harness USD cap; null clears it."
|
|
156
|
+
},
|
|
157
|
+
"toolsAllow": {
|
|
158
|
+
"type": "array",
|
|
159
|
+
"items": {
|
|
160
|
+
"$ref": "#/definitions/ControlSettingsUpdateRequest/properties/primaryHarness/anyOf/0"
|
|
161
|
+
},
|
|
162
|
+
"description": "New tool allowlist."
|
|
163
|
+
},
|
|
164
|
+
"toolsDeny": {
|
|
165
|
+
"type": "array",
|
|
166
|
+
"items": {
|
|
167
|
+
"$ref": "#/definitions/ControlSettingsUpdateRequest/properties/primaryHarness/anyOf/0"
|
|
168
|
+
},
|
|
169
|
+
"description": "New tool denylist."
|
|
170
|
+
},
|
|
171
|
+
"fallbackModel": {
|
|
172
|
+
"anyOf": [
|
|
173
|
+
{
|
|
174
|
+
"$ref": "#/definitions/ControlSettingsUpdateRequest/properties/primaryHarness/anyOf/0"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "null"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"description": "New fallback model; null clears it."
|
|
181
|
+
},
|
|
182
|
+
"web": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"enum": [
|
|
185
|
+
"off",
|
|
186
|
+
"auto",
|
|
187
|
+
"cached",
|
|
188
|
+
"live"
|
|
189
|
+
],
|
|
190
|
+
"description": "New default web policy."
|
|
191
|
+
},
|
|
192
|
+
"authPreference": {
|
|
193
|
+
"$ref": "#/definitions/ControlSettingsUpdateRequest/properties/authPreference",
|
|
194
|
+
"description": "New auth route preference."
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"additionalProperties": false,
|
|
198
|
+
"description": "Partial per-harness settings patch; absent fields keep their stored value, and a typoed key 400s (strict)."
|
|
199
|
+
},
|
|
200
|
+
"propertyNames": {
|
|
201
|
+
"minLength": 1,
|
|
202
|
+
"pattern": "\\S"
|
|
203
|
+
},
|
|
204
|
+
"description": "Per-harness settings patches keyed by harness id."
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"additionalProperties": false,
|
|
208
|
+
"description": "Request body for PATCH /settings; absent fields keep their stored values."
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
212
|
+
}
|