@claudexor/schema 1.0.0 → 2.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/dist/agent-capabilities.d.ts +88 -16
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +49 -18
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +22 -6
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +113 -48
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +60 -45
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +1423 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +317 -0
- package/dist/auth.js.map +1 -0
- package/dist/budget.d.ts +133 -16
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +65 -22
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +449 -115
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +114 -41
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +31 -7
- package/dist/context.js.map +1 -1
- package/dist/control-operation-responses.d.ts +1172 -0
- package/dist/control-operation-responses.d.ts.map +1 -0
- package/dist/control-operation-responses.js +35 -0
- package/dist/control-operation-responses.js.map +1 -0
- package/dist/control-run-detail.d.ts +443 -242
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +72 -17
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +88 -0
- package/dist/control-run-retry.d.ts.map +1 -0
- package/dist/control-run-retry.js +40 -0
- package/dist/control-run-retry.js.map +1 -0
- package/dist/control-run-scope.d.ts +25 -0
- package/dist/control-run-scope.d.ts.map +1 -0
- package/dist/control-run-scope.js +22 -0
- package/dist/control-run-scope.js.map +1 -0
- package/dist/control-secret.d.ts +90 -0
- package/dist/control-secret.d.ts.map +1 -0
- package/dist/control-secret.js +35 -0
- package/dist/control-secret.js.map +1 -0
- package/dist/control-spec.d.ts +592 -0
- package/dist/control-spec.d.ts.map +1 -0
- package/dist/control-spec.js +85 -0
- package/dist/control-spec.js.map +1 -0
- package/dist/control-thread-apply.d.ts +175 -0
- package/dist/control-thread-apply.d.ts.map +1 -0
- package/dist/control-thread-apply.js +31 -0
- package/dist/control-thread-apply.js.map +1 -0
- package/dist/control-trust.d.ts +74 -10
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +31 -11
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1391 -878
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +468 -310
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +10 -10
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +62 -15
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +99 -0
- package/dist/delivery.d.ts.map +1 -0
- package/dist/delivery.js +19 -0
- package/dist/delivery.js.map +1 -0
- package/dist/events.d.ts +25 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +25 -4
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +2 -2
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +25 -5
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +558 -175
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +207 -82
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +185 -0
- package/dist/operation.d.ts.map +1 -0
- package/dist/operation.js +50 -0
- package/dist/operation.js.map +1 -0
- package/dist/orchestrate.d.ts +127 -22
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +61 -7
- package/dist/orchestrate.js.map +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +4 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +29 -0
- package/dist/problem.d.ts.map +1 -0
- package/dist/problem.js +17 -0
- package/dist/problem.js.map +1 -0
- package/dist/project.d.ts +97 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +27 -0
- package/dist/project.js.map +1 -0
- package/dist/quota.d.ts +251 -0
- package/dist/quota.d.ts.map +1 -0
- package/dist/quota.js +46 -0
- package/dist/quota.js.map +1 -0
- package/dist/raw.d.ts +195 -0
- package/dist/raw.d.ts.map +1 -0
- package/dist/raw.js +58 -0
- package/dist/raw.js.map +1 -0
- package/dist/recovery.d.ts +515 -0
- package/dist/recovery.d.ts.map +1 -0
- package/dist/recovery.js +93 -0
- package/dist/recovery.js.map +1 -0
- package/dist/request-requirements.d.ts +36 -0
- package/dist/request-requirements.d.ts.map +1 -0
- package/dist/request-requirements.js +26 -0
- package/dist/request-requirements.js.map +1 -0
- package/dist/review.d.ts +26 -26
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +50 -10
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +10 -10
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +19 -4
- package/dist/route.js.map +1 -1
- package/dist/setup.d.ts +9766 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +450 -0
- package/dist/setup.js.map +1 -0
- package/dist/spec.d.ts +174 -57
- package/dist/spec.d.ts.map +1 -1
- package/dist/spec.js +69 -16
- package/dist/spec.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +25 -21
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +1560 -58
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +97 -18
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +233 -60
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +97 -15
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +68 -41
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +45 -11
- package/dist/thread.js.map +1 -1
- package/dist/workproduct.d.ts +3 -3
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +12 -3
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +53 -11
- package/generated/BudgetLease.schema.json +55 -6
- package/generated/BudgetObservation.schema.json +28 -7
- package/generated/ConformanceReport.schema.json +49 -0
- package/generated/ControlApplyCheckResponse.schema.json +34 -0
- package/generated/ControlArtifactListResponse.schema.json +57 -0
- package/generated/ControlAuthReadinessRefreshRequest.schema.json +38 -0
- package/generated/ControlAuthReadinessRefreshResponse.schema.json +85 -0
- package/generated/ControlDeliveryResponse.schema.json +136 -0
- package/generated/ControlHandshakeRequest.schema.json +26 -0
- package/generated/ControlHandshakeResponse.schema.json +30 -0
- package/generated/ControlHarnessListResponse.schema.json +103 -12
- package/generated/ControlHarnessSettingsPatch.schema.json +0 -12
- package/generated/ControlJournalEvent.schema.json +42 -0
- package/generated/ControlJournalExportReceipt.schema.json +49 -0
- package/generated/ControlJournalInspection.schema.json +149 -0
- package/generated/ControlJournalQuarantineReceipt.schema.json +55 -0
- package/generated/ControlJournalQuarantineRequest.schema.json +24 -0
- package/generated/ControlJournalValidation.schema.json +181 -0
- package/generated/ControlOperationCatalog.schema.json +128 -0
- package/generated/ControlOperationDescriptor.schema.json +110 -0
- package/generated/ControlProblem.schema.json +59 -0
- package/generated/ControlProject.schema.json +42 -0
- package/generated/ControlProjectListResponse.schema.json +54 -0
- package/generated/ControlProjectRegisterRequest.schema.json +19 -0
- package/generated/ControlProjectRelinkRequest.schema.json +19 -0
- package/generated/ControlQueuedRunInfo.schema.json +4 -2
- package/generated/ControlQuotaResponse.schema.json +176 -0
- package/generated/ControlResource.schema.json +59 -0
- package/generated/ControlRunAgainDraft.schema.json +499 -0
- package/generated/ControlRunDetail.schema.json +197 -30
- package/generated/ControlRunListResponse.schema.json +797 -0
- package/generated/ControlRunRetryResponse.schema.json +54 -0
- package/generated/ControlRunStartRequest.schema.json +83 -55
- package/generated/ControlRunStartResponse.schema.json +78 -0
- package/generated/ControlRunSummary.schema.json +140 -20
- package/generated/ControlSecretListResponse.schema.json +8 -14
- package/generated/ControlSecretMutationResponse.schema.json +32 -0
- package/generated/ControlSecretSetRequest.schema.json +27 -0
- package/generated/ControlSettingsSnapshot.schema.json +118 -44
- package/generated/ControlSettingsUpdateRequest.schema.json +110 -40
- package/generated/ControlSetupJob.schema.json +763 -65
- package/generated/ControlSetupJobCreateRequest.schema.json +11 -13
- package/generated/ControlSetupJobEvent.schema.json +861 -5
- package/generated/ControlSetupJobListFilter.schema.json +35 -0
- package/generated/ControlSetupJobListResponse.schema.json +763 -65
- package/generated/ControlSetupJobSnapshot.schema.json +870 -0
- package/generated/ControlSpecAnswersRequest.schema.json +74 -0
- package/generated/ControlSpecQuestionsRequest.schema.json +128 -2
- package/generated/ControlSpecSession.schema.json +249 -0
- package/generated/ControlSpecSessionListResponse.schema.json +261 -0
- package/generated/ControlThread.schema.json +20 -2
- package/generated/ControlThreadApplyResponse.schema.json +139 -0
- package/generated/ControlThreadDetail.schema.json +32 -4
- package/generated/ControlThreadListResponse.schema.json +20 -2
- package/generated/ControlThreadTurnRequest.schema.json +373 -0
- package/generated/ControlThreadTurnResponse.schema.json +73 -0
- package/generated/ControlThreadUpdateRequest.schema.json +1 -1
- package/generated/ControlTrustListResponse.schema.json +6 -0
- package/generated/ControlTrustState.schema.json +6 -0
- package/generated/ControlTrustUpdateRequest.schema.json +65 -3
- package/generated/ControlUploadCreateRequest.schema.json +37 -0
- package/generated/ControlUploadFinalizeRequest.schema.json +17 -0
- package/generated/ControlUploadStatus.schema.json +40 -0
- package/generated/DecisionRecord.schema.json +6 -3
- package/generated/GlobalConfig.schema.json +105 -58
- package/generated/HarnessEvent.schema.json +201 -10
- package/generated/HarnessManifest.schema.json +63 -12
- package/generated/HarnessStatusDto.schema.json +103 -12
- package/generated/OrchestrateContract.schema.json +32 -6
- package/generated/OrchestratePlan.schema.json +20 -0
- package/generated/OrchestratePlanProgress.schema.json +61 -0
- package/generated/PaidBudget.schema.json +42 -0
- package/generated/Project.schema.json +45 -0
- package/generated/ProjectConfig.schema.json +45 -18
- package/generated/RawContextPacket.schema.json +184 -0
- package/generated/RawGitPatchEnvelope.schema.json +70 -0
- package/generated/RunTelemetry.schema.json +80 -0
- package/generated/SecretMetadata.schema.json +4 -7
- package/generated/SpecPack.schema.json +118 -7
- package/generated/TaskContract.schema.json +159 -26
- package/generated/TestCommandInvocation.schema.json +45 -0
- package/generated/Thread.schema.json +62 -6
- package/generated/ThreadTurn.schema.json +24 -11
- package/generated/TrustConfig.schema.json +77 -0
- package/package.json +1 -1
- package/generated/ControlSetupJobConfirmRequest.schema.json +0 -18
- package/generated/ControlSpecFreezeRequest.schema.json +0 -83
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlThreadTurnRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlThreadTurnRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"prompt": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"default": "",
|
|
10
|
+
"description": "The user's prompt for the run."
|
|
11
|
+
},
|
|
12
|
+
"attachments": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"resourceId": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"description": "Immutable daemon resource id returned by upload finalize."
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"resourceId"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"description": "Reference to an immutable daemon-owned uploaded resource."
|
|
28
|
+
},
|
|
29
|
+
"description": "Immutable daemon resource ids returned by upload finalize; paths and inline bytes are not accepted."
|
|
30
|
+
},
|
|
31
|
+
"mode": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"enum": [
|
|
34
|
+
"ask",
|
|
35
|
+
"plan",
|
|
36
|
+
"audit",
|
|
37
|
+
"agent",
|
|
38
|
+
"orchestrate"
|
|
39
|
+
],
|
|
40
|
+
"description": "Canonical run mode: ask, plan, and audit are read-only; agent writes; orchestrate is the autonomous coordinator intent. Engine strategies (race, attempts, swarm, create) are flags on a mode, not modes.",
|
|
41
|
+
"default": "agent"
|
|
42
|
+
},
|
|
43
|
+
"harnesses": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"minLength": 1,
|
|
48
|
+
"pattern": "\\S",
|
|
49
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
50
|
+
},
|
|
51
|
+
"description": "Eligible harness pool for the run; omitted = engine auto-pools."
|
|
52
|
+
},
|
|
53
|
+
"primaryHarness": {
|
|
54
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items",
|
|
55
|
+
"description": "Primary harness the run should prefer."
|
|
56
|
+
},
|
|
57
|
+
"routingGoal": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"enum": [
|
|
60
|
+
"auto",
|
|
61
|
+
"quality",
|
|
62
|
+
"economy"
|
|
63
|
+
],
|
|
64
|
+
"description": "Routing objective: pace expiring quota, choose the highest declared quality tier, or minimize incremental paid spend."
|
|
65
|
+
},
|
|
66
|
+
"model": {
|
|
67
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items",
|
|
68
|
+
"description": "Scalar model convenience: expands to the resolved primary harness only (never the pool); rejected with a multi-harness pool and no primary — use models instead."
|
|
69
|
+
},
|
|
70
|
+
"models": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"additionalProperties": {
|
|
73
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items"
|
|
74
|
+
},
|
|
75
|
+
"propertyNames": {
|
|
76
|
+
"minLength": 1,
|
|
77
|
+
"pattern": "\\S"
|
|
78
|
+
},
|
|
79
|
+
"description": "Harness-scoped model map (harness id to model id); an entry here wins over the scalar model and over the per-harness settings default."
|
|
80
|
+
},
|
|
81
|
+
"effort": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"enum": [
|
|
84
|
+
"low",
|
|
85
|
+
"medium",
|
|
86
|
+
"high",
|
|
87
|
+
"xhigh",
|
|
88
|
+
"max"
|
|
89
|
+
],
|
|
90
|
+
"description": "Requested reasoning effort."
|
|
91
|
+
},
|
|
92
|
+
"reviewerModels": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"additionalProperties": {
|
|
95
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items"
|
|
96
|
+
},
|
|
97
|
+
"propertyNames": {
|
|
98
|
+
"enum": [
|
|
99
|
+
"openai",
|
|
100
|
+
"anthropic",
|
|
101
|
+
"google",
|
|
102
|
+
"cursor",
|
|
103
|
+
"opencode",
|
|
104
|
+
"xai",
|
|
105
|
+
"local",
|
|
106
|
+
"unknown"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"description": "Per-provider-family reviewer model overrides (legacy; reviewerPanel wins when present)."
|
|
110
|
+
},
|
|
111
|
+
"reviewerEfforts": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"additionalProperties": {
|
|
114
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/effort"
|
|
115
|
+
},
|
|
116
|
+
"propertyNames": {
|
|
117
|
+
"enum": [
|
|
118
|
+
"openai",
|
|
119
|
+
"anthropic",
|
|
120
|
+
"google",
|
|
121
|
+
"cursor",
|
|
122
|
+
"opencode",
|
|
123
|
+
"xai",
|
|
124
|
+
"local",
|
|
125
|
+
"unknown"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"description": "Per-provider-family reviewer effort overrides (legacy; reviewerPanel wins when present)."
|
|
129
|
+
},
|
|
130
|
+
"n": {
|
|
131
|
+
"type": "integer",
|
|
132
|
+
"exclusiveMinimum": 0,
|
|
133
|
+
"description": "Race width: number of best-of-N candidates."
|
|
134
|
+
},
|
|
135
|
+
"attempts": {
|
|
136
|
+
"anyOf": [
|
|
137
|
+
{
|
|
138
|
+
"type": "integer",
|
|
139
|
+
"exclusiveMinimum": 0
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "null"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"description": "Cap on convergence attempts; null = engine default."
|
|
146
|
+
},
|
|
147
|
+
"untilClean": {
|
|
148
|
+
"type": "boolean",
|
|
149
|
+
"description": "Agent flag: iterate until the convergence predicate is clean (no fixed cap)."
|
|
150
|
+
},
|
|
151
|
+
"swarm": {
|
|
152
|
+
"type": "boolean",
|
|
153
|
+
"description": "Audit flag: bounded read-only research swarm."
|
|
154
|
+
},
|
|
155
|
+
"create": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"description": "Agent flag: create-from-scratch intent."
|
|
158
|
+
},
|
|
159
|
+
"synthesis": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"enum": [
|
|
162
|
+
"auto",
|
|
163
|
+
"always",
|
|
164
|
+
"never"
|
|
165
|
+
],
|
|
166
|
+
"description": "Best-of-N synthesis policy: auto only synthesizes an extra candidate when n>=3 and candidates genuinely complement; always/never force it."
|
|
167
|
+
},
|
|
168
|
+
"paidBudget": {
|
|
169
|
+
"anyOf": [
|
|
170
|
+
{
|
|
171
|
+
"type": "object",
|
|
172
|
+
"properties": {
|
|
173
|
+
"kind": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"const": "unlimited"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"kind"
|
|
180
|
+
],
|
|
181
|
+
"additionalProperties": false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "object",
|
|
185
|
+
"properties": {
|
|
186
|
+
"kind": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"const": "finite"
|
|
189
|
+
},
|
|
190
|
+
"maxUsd": {
|
|
191
|
+
"type": "number",
|
|
192
|
+
"minimum": 0
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"required": [
|
|
196
|
+
"kind",
|
|
197
|
+
"maxUsd"
|
|
198
|
+
],
|
|
199
|
+
"additionalProperties": false
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"description": "Explicit incremental-cash budget for the run."
|
|
203
|
+
},
|
|
204
|
+
"access": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"enum": [
|
|
207
|
+
"readonly",
|
|
208
|
+
"workspace_write",
|
|
209
|
+
"full",
|
|
210
|
+
"external_sandbox_full",
|
|
211
|
+
"inherit_native"
|
|
212
|
+
],
|
|
213
|
+
"description": "Requested access profile; effective access is derived by the engine and never client-supplied."
|
|
214
|
+
},
|
|
215
|
+
"web": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"enum": [
|
|
218
|
+
"off",
|
|
219
|
+
"auto",
|
|
220
|
+
"cached",
|
|
221
|
+
"live"
|
|
222
|
+
],
|
|
223
|
+
"description": "Web policy for the run (alias of externalContextPolicy; must match when both set)."
|
|
224
|
+
},
|
|
225
|
+
"externalContextPolicy": {
|
|
226
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/web",
|
|
227
|
+
"description": "External web/context policy for the run."
|
|
228
|
+
},
|
|
229
|
+
"browser": {
|
|
230
|
+
"type": "boolean",
|
|
231
|
+
"description": "Request the agent-driven browser; preflight records per-lane effectiveness and refuses when no selected lane can receive it."
|
|
232
|
+
},
|
|
233
|
+
"tests": {
|
|
234
|
+
"type": "array",
|
|
235
|
+
"items": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"properties": {
|
|
238
|
+
"program": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"minLength": 1,
|
|
241
|
+
"pattern": "\\S",
|
|
242
|
+
"description": "Executable invoked directly without an implicit shell."
|
|
243
|
+
},
|
|
244
|
+
"args": {
|
|
245
|
+
"type": "array",
|
|
246
|
+
"items": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
"default": [],
|
|
250
|
+
"description": "Exact argv passed to the executable."
|
|
251
|
+
},
|
|
252
|
+
"cwd": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "Optional project-relative working directory for the command."
|
|
255
|
+
},
|
|
256
|
+
"envAllowlist": {
|
|
257
|
+
"type": "array",
|
|
258
|
+
"items": {
|
|
259
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items"
|
|
260
|
+
},
|
|
261
|
+
"default": [],
|
|
262
|
+
"description": "Non-secret parent environment names explicitly forwarded to the command."
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"required": [
|
|
266
|
+
"program"
|
|
267
|
+
],
|
|
268
|
+
"additionalProperties": false,
|
|
269
|
+
"description": "Canonical deterministic command invocation; no implicit shell parsing."
|
|
270
|
+
},
|
|
271
|
+
"description": "Typed-argv commands to run as deterministic gates."
|
|
272
|
+
},
|
|
273
|
+
"protectedPathApprovals": {
|
|
274
|
+
"type": "array",
|
|
275
|
+
"items": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {
|
|
278
|
+
"path": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"minLength": 1,
|
|
281
|
+
"pattern": "\\S",
|
|
282
|
+
"description": "Glob approved by the operator/user for this run; consumed only by the auto-protected gate/test path policy, not by built-in critical-path gates."
|
|
283
|
+
},
|
|
284
|
+
"reason": {
|
|
285
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items",
|
|
286
|
+
"description": "Optional human-readable reason for the approval."
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"required": [
|
|
290
|
+
"path"
|
|
291
|
+
],
|
|
292
|
+
"additionalProperties": false,
|
|
293
|
+
"description": "Per-run typed operator approval allowing changes under an auto-protected gate/test path."
|
|
294
|
+
},
|
|
295
|
+
"description": "Typed per-run approvals for changing auto-protected gate/test paths; does not bypass built-in critical/security path human gates."
|
|
296
|
+
},
|
|
297
|
+
"specPath": {
|
|
298
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items",
|
|
299
|
+
"description": "Path to a frozen SpecPack the run is held to."
|
|
300
|
+
},
|
|
301
|
+
"specId": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"description": "Id of the SpecPack the run is held to."
|
|
304
|
+
},
|
|
305
|
+
"specHash": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"minLength": 1,
|
|
308
|
+
"description": "Content hash of the SpecPack the run is held to."
|
|
309
|
+
},
|
|
310
|
+
"planRunId": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"minLength": 1,
|
|
313
|
+
"description": "Internal daemon handoff only; rejected (400) on POST /runs. When set, the turn implements an approved plan from that run."
|
|
314
|
+
},
|
|
315
|
+
"reviewerPanel": {
|
|
316
|
+
"type": "array",
|
|
317
|
+
"items": {
|
|
318
|
+
"type": "object",
|
|
319
|
+
"properties": {
|
|
320
|
+
"harness": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"minLength": 1,
|
|
323
|
+
"pattern": "\\S",
|
|
324
|
+
"description": "Explicit reviewer harness id; repeated harness ids are allowed so one provider can review through multiple requested models."
|
|
325
|
+
},
|
|
326
|
+
"model": {
|
|
327
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items",
|
|
328
|
+
"description": "Per-reviewer model hint, passed to that harness only."
|
|
329
|
+
},
|
|
330
|
+
"effort": {
|
|
331
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/effort",
|
|
332
|
+
"description": "Per-reviewer effort hint, passed to that harness only."
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"harness"
|
|
337
|
+
],
|
|
338
|
+
"additionalProperties": false,
|
|
339
|
+
"description": "One reviewer of an explicit reviewer panel."
|
|
340
|
+
},
|
|
341
|
+
"minItems": 1,
|
|
342
|
+
"description": "Explicit reviewer panel; overrides the legacy reviewerModels/reviewerEfforts maps and preserves duplicate harness entries for multi-model same-provider reviews."
|
|
343
|
+
},
|
|
344
|
+
"authPreference": {
|
|
345
|
+
"type": "string",
|
|
346
|
+
"enum": [
|
|
347
|
+
"subscription",
|
|
348
|
+
"api_key",
|
|
349
|
+
"auto"
|
|
350
|
+
],
|
|
351
|
+
"description": "Per-run auth route override."
|
|
352
|
+
},
|
|
353
|
+
"autonomy": {
|
|
354
|
+
"type": "string",
|
|
355
|
+
"enum": [
|
|
356
|
+
"suggest",
|
|
357
|
+
"auto_safe",
|
|
358
|
+
"auto_full"
|
|
359
|
+
],
|
|
360
|
+
"description": "Autonomy level for the orchestrate planner; only meaningful for mode=orchestrate."
|
|
361
|
+
},
|
|
362
|
+
"maxToolCalls": {
|
|
363
|
+
"type": "integer",
|
|
364
|
+
"exclusiveMinimum": 0,
|
|
365
|
+
"description": "Cap on orchestrate plan tool calls; only meaningful for mode=orchestrate."
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"additionalProperties": false,
|
|
369
|
+
"description": "Client-settable thread-turn request; scope, execution and lineage are server-owned."
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
373
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlThreadTurnResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlThreadTurnResponse": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"jobId": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Daemon job id backing the run."
|
|
12
|
+
},
|
|
13
|
+
"runId": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Run id."
|
|
16
|
+
},
|
|
17
|
+
"taskId": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Task id, when already allocated."
|
|
20
|
+
},
|
|
21
|
+
"runDir": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "On-disk run artifact directory."
|
|
24
|
+
},
|
|
25
|
+
"threadId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"description": "Non-empty identifier string."
|
|
29
|
+
},
|
|
30
|
+
"turnId": {
|
|
31
|
+
"$ref": "#/definitions/ControlThreadTurnResponse/anyOf/0/properties/threadId"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"runId",
|
|
36
|
+
"runDir",
|
|
37
|
+
"threadId",
|
|
38
|
+
"turnId"
|
|
39
|
+
],
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"description": "Response for a successfully enqueued run."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"jobId": {
|
|
47
|
+
"$ref": "#/definitions/ControlThreadTurnResponse/anyOf/0/properties/threadId"
|
|
48
|
+
},
|
|
49
|
+
"threadId": {
|
|
50
|
+
"$ref": "#/definitions/ControlThreadTurnResponse/anyOf/0/properties/threadId"
|
|
51
|
+
},
|
|
52
|
+
"turnId": {
|
|
53
|
+
"$ref": "#/definitions/ControlThreadTurnResponse/anyOf/0/properties/threadId"
|
|
54
|
+
},
|
|
55
|
+
"state": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"minLength": 1
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"jobId",
|
|
62
|
+
"threadId",
|
|
63
|
+
"turnId",
|
|
64
|
+
"state"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"description": "Durable handle returned by thread turn create or Exact Retry."
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
73
|
+
}
|
|
@@ -34,6 +34,12 @@
|
|
|
34
34
|
"inherit_native"
|
|
35
35
|
],
|
|
36
36
|
"description": "Default access profile for runs in the repo."
|
|
37
|
+
},
|
|
38
|
+
"testCommandGrantCount": {
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"minimum": 0,
|
|
41
|
+
"default": 0,
|
|
42
|
+
"description": "Number of exact external test-command grants for this repo."
|
|
37
43
|
}
|
|
38
44
|
},
|
|
39
45
|
"required": [
|
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
"inherit_native"
|
|
30
30
|
],
|
|
31
31
|
"description": "Default access profile for runs in the repo."
|
|
32
|
+
},
|
|
33
|
+
"testCommandGrantCount": {
|
|
34
|
+
"type": "integer",
|
|
35
|
+
"minimum": 0,
|
|
36
|
+
"default": 0,
|
|
37
|
+
"description": "Number of exact external test-command grants for this repo."
|
|
32
38
|
}
|
|
33
39
|
},
|
|
34
40
|
"required": [
|
|
@@ -12,14 +12,76 @@
|
|
|
12
12
|
"allowFullAccess": {
|
|
13
13
|
"type": "boolean",
|
|
14
14
|
"description": "Grant (true) or revoke (false) unsandboxed full access for the repo."
|
|
15
|
+
},
|
|
16
|
+
"accessDefault": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"readonly",
|
|
20
|
+
"workspace_write"
|
|
21
|
+
],
|
|
22
|
+
"description": "Default access profile for runs in the repo."
|
|
23
|
+
},
|
|
24
|
+
"grantTestCommand": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"program": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"pattern": "\\S",
|
|
31
|
+
"description": "Executable invoked directly without an implicit shell."
|
|
32
|
+
},
|
|
33
|
+
"args": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"default": [],
|
|
39
|
+
"description": "Exact argv passed to the executable."
|
|
40
|
+
},
|
|
41
|
+
"cwd": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "Optional project-relative working directory for the command."
|
|
44
|
+
},
|
|
45
|
+
"envAllowlist": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"minLength": 1,
|
|
50
|
+
"pattern": "\\S",
|
|
51
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
52
|
+
},
|
|
53
|
+
"default": [],
|
|
54
|
+
"description": "Non-secret parent environment names explicitly forwarded to the command."
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"program"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"description": "Typed command to grant against the current project config and executable/script bytes."
|
|
62
|
+
},
|
|
63
|
+
"grantAccessProfile": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": [
|
|
66
|
+
"readonly",
|
|
67
|
+
"workspace_write",
|
|
68
|
+
"full",
|
|
69
|
+
"external_sandbox_full",
|
|
70
|
+
"inherit_native"
|
|
71
|
+
],
|
|
72
|
+
"description": "Effective access profile covered by grantTestCommand; defaults to the trust default."
|
|
73
|
+
},
|
|
74
|
+
"revokeTestCommandDigest": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"minLength": 1,
|
|
77
|
+
"description": "Revoke grants for this canonical command digest."
|
|
15
78
|
}
|
|
16
79
|
},
|
|
17
80
|
"required": [
|
|
18
|
-
"repoRoot"
|
|
19
|
-
"allowFullAccess"
|
|
81
|
+
"repoRoot"
|
|
20
82
|
],
|
|
21
83
|
"additionalProperties": false,
|
|
22
|
-
"description": "
|
|
84
|
+
"description": "User-level trust update: grant/revoke full access and/or set the readonly/workspace-write default."
|
|
23
85
|
}
|
|
24
86
|
},
|
|
25
87
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlUploadCreateRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlUploadCreateRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"kind": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"image",
|
|
11
|
+
"file"
|
|
12
|
+
],
|
|
13
|
+
"description": "Kind of attached resource: image input or generic file bytes."
|
|
14
|
+
},
|
|
15
|
+
"mime": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
},
|
|
19
|
+
"name": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"default": ""
|
|
22
|
+
},
|
|
23
|
+
"sizeBytes": {
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"minimum": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"kind",
|
|
30
|
+
"mime",
|
|
31
|
+
"sizeBytes"
|
|
32
|
+
],
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlUploadFinalizeRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlUploadFinalizeRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"expectedSha256": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
17
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlUploadStatus",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlUploadStatus": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"uploadId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Non-empty identifier string."
|
|
11
|
+
},
|
|
12
|
+
"state": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"open",
|
|
16
|
+
"uploading",
|
|
17
|
+
"uploaded",
|
|
18
|
+
"cancelled"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"receivedBytes": {
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"minimum": 0
|
|
24
|
+
},
|
|
25
|
+
"expectedBytes": {
|
|
26
|
+
"type": "integer",
|
|
27
|
+
"minimum": 0
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": [
|
|
31
|
+
"uploadId",
|
|
32
|
+
"state",
|
|
33
|
+
"receivedBytes",
|
|
34
|
+
"expectedBytes"
|
|
35
|
+
],
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
40
|
+
}
|
|
@@ -25,13 +25,16 @@
|
|
|
25
25
|
"ungated",
|
|
26
26
|
"review_not_run",
|
|
27
27
|
"blocked",
|
|
28
|
-
"not_converged",
|
|
29
|
-
"stuck_no_progress",
|
|
30
28
|
"failed",
|
|
29
|
+
"interrupted_unknown",
|
|
30
|
+
"cost_unverifiable",
|
|
31
|
+
"exhausted_overshoot",
|
|
31
32
|
"exhausted",
|
|
33
|
+
"not_converged",
|
|
34
|
+
"stuck_no_progress",
|
|
32
35
|
"cancelled"
|
|
33
36
|
],
|
|
34
|
-
"description": "Terminal status of a run
|
|
37
|
+
"description": "Terminal status of a run, including truthful blocked, interrupted-unknown, cost-unverifiable, overshoot, exhaustion, non-convergence, failure, and cancellation outcomes."
|
|
35
38
|
},
|
|
36
39
|
"outcome": {
|
|
37
40
|
"type": "string",
|