@claudexor/schema 1.0.1 → 2.1.1
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 +102 -30
- 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 +117 -52
- 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 +1444 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +371 -0
- package/dist/auth.js.map +1 -0
- package/dist/budget.d.ts +147 -18
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +80 -22
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +829 -135
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +195 -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-gc.d.ts +185 -0
- package/dist/control-gc.d.ts.map +1 -0
- package/dist/control-gc.js +81 -0
- package/dist/control-gc.js.map +1 -0
- package/dist/control-operation-responses.d.ts +1298 -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 +556 -247
- 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 +1688 -1334
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +592 -333
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +454 -0
- package/dist/credential-profile.d.ts.map +1 -0
- package/dist/credential-profile.js +140 -0
- package/dist/credential-profile.js.map +1 -0
- 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 +41 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +47 -4
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +5 -5
- 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 +775 -237
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +314 -111
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -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 +150 -22
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +117 -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 +269 -0
- package/dist/quota.d.ts.map +1 -0
- package/dist/quota.js +58 -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/readiness.d.ts +596 -0
- package/dist/readiness.d.ts.map +1 -0
- package/dist/readiness.js +87 -0
- package/dist/readiness.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 +29 -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 +13 -13
- 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 +9811 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +475 -0
- package/dist/setup.js.map +1 -0
- package/dist/spec.d.ts +178 -61
- 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 +1657 -60
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +144 -18
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +487 -72
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +194 -16
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +89 -51
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +56 -11
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +45 -0
- package/dist/tool-ref.d.ts.map +1 -0
- package/dist/tool-ref.js +45 -0
- package/dist/tool-ref.js.map +1 -0
- 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 +3 -3
- 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 +44 -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/ControlCredentialProfileCreateRequest.schema.json +32 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +107 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +155 -0
- package/generated/ControlDeliveryResponse.schema.json +136 -0
- package/generated/ControlGcReceipt.schema.json +170 -0
- package/generated/ControlGcRequest.schema.json +18 -0
- package/generated/ControlHandshakeRequest.schema.json +26 -0
- package/generated/ControlHandshakeResponse.schema.json +30 -0
- package/generated/ControlHarnessListResponse.schema.json +198 -14
- package/generated/ControlHarnessModelsResponse.schema.json +19 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +9 -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 +177 -0
- package/generated/ControlResource.schema.json +59 -0
- package/generated/ControlRunAgainDraft.schema.json +539 -0
- package/generated/ControlRunDetail.schema.json +373 -34
- package/generated/ControlRunListResponse.schema.json +968 -0
- package/generated/ControlRunRetryResponse.schema.json +54 -0
- package/generated/ControlRunStartRequest.schema.json +123 -55
- package/generated/ControlRunStartResponse.schema.json +78 -0
- package/generated/ControlRunSummary.schema.json +312 -21
- 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 +128 -44
- package/generated/ControlSettingsUpdateRequest.schema.json +119 -40
- package/generated/ControlSetupJob.schema.json +770 -64
- package/generated/ControlSetupJobCreateRequest.schema.json +16 -13
- package/generated/ControlSetupJobEvent.schema.json +869 -5
- package/generated/ControlSetupJobListFilter.schema.json +35 -0
- package/generated/ControlSetupJobListResponse.schema.json +770 -64
- package/generated/ControlSetupJobSnapshot.schema.json +878 -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 +36 -6
- package/generated/ControlThreadApplyResponse.schema.json +139 -0
- package/generated/ControlThreadCreateRequest.schema.json +6 -2
- package/generated/ControlThreadDetail.schema.json +64 -12
- package/generated/ControlThreadListResponse.schema.json +36 -6
- package/generated/ControlThreadTurnRequest.schema.json +413 -0
- package/generated/ControlThreadTurnResponse.schema.json +73 -0
- package/generated/ControlThreadUpdateRequest.schema.json +12 -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/CredentialProfile.schema.json +78 -0
- package/generated/CredentialProfileStatus.schema.json +61 -0
- package/generated/DecisionRecord.schema.json +6 -3
- package/generated/GlobalConfig.schema.json +238 -55
- package/generated/HarnessEvent.schema.json +259 -11
- package/generated/HarnessManifest.schema.json +96 -14
- package/generated/HarnessModel.schema.json +19 -0
- package/generated/HarnessStatusDto.schema.json +198 -14
- 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/RunEvent.schema.json +3 -0
- package/generated/RunTelemetry.schema.json +280 -0
- package/generated/SecretMetadata.schema.json +4 -7
- package/generated/Session.schema.json +14 -0
- package/generated/SpecPack.schema.json +118 -7
- package/generated/TaskContract.schema.json +224 -30
- package/generated/TestCommandInvocation.schema.json +45 -0
- package/generated/Thread.schema.json +74 -6
- package/generated/ThreadHeadPing.schema.json +40 -0
- package/generated/ThreadTurn.schema.json +24 -11
- package/generated/TrustConfig.schema.json +77 -0
- package/package.json +3 -2
- package/generated/ControlSetupJobConfirmRequest.schema.json +0 -18
- package/generated/ControlSpecFreezeRequest.schema.json +0 -83
|
@@ -57,12 +57,13 @@
|
|
|
57
57
|
"type": "string",
|
|
58
58
|
"enum": [
|
|
59
59
|
"native_session",
|
|
60
|
+
"oauth_token_env",
|
|
60
61
|
"api_key_env",
|
|
61
62
|
"api_key_flag",
|
|
62
63
|
"provider_auth_file",
|
|
63
64
|
"none"
|
|
64
65
|
],
|
|
65
|
-
"description": "
|
|
66
|
+
"description": "Concrete credential source used or probed by a harness."
|
|
66
67
|
},
|
|
67
68
|
"default": [],
|
|
68
69
|
"description": "Auth sources this harness supports."
|
|
@@ -175,21 +176,62 @@
|
|
|
175
176
|
"default": {},
|
|
176
177
|
"description": "Declared isolation containment facts for a harness."
|
|
177
178
|
},
|
|
178
|
-
"
|
|
179
|
-
"type": "
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
179
|
+
"attachment_inputs": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"kind": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"enum": [
|
|
187
|
+
"image",
|
|
188
|
+
"file"
|
|
189
|
+
],
|
|
190
|
+
"description": "Kind of attached resource: image input or generic file bytes."
|
|
191
|
+
},
|
|
192
|
+
"mime_types": {
|
|
193
|
+
"type": "array",
|
|
194
|
+
"items": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"minLength": 1
|
|
197
|
+
},
|
|
198
|
+
"minItems": 1
|
|
199
|
+
},
|
|
200
|
+
"max_bytes": {
|
|
201
|
+
"type": "integer",
|
|
202
|
+
"exclusiveMinimum": 0
|
|
203
|
+
},
|
|
204
|
+
"max_count": {
|
|
205
|
+
"type": "integer",
|
|
206
|
+
"exclusiveMinimum": 0
|
|
207
|
+
},
|
|
208
|
+
"transport": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"enum": [
|
|
211
|
+
"file_path",
|
|
212
|
+
"base64_stream",
|
|
213
|
+
"base64_inline",
|
|
214
|
+
"text_inline"
|
|
215
|
+
],
|
|
216
|
+
"description": "Native adapter transport used for one supported attachment class."
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"required": [
|
|
220
|
+
"kind",
|
|
221
|
+
"mime_types",
|
|
222
|
+
"max_bytes",
|
|
223
|
+
"max_count",
|
|
224
|
+
"transport"
|
|
225
|
+
],
|
|
226
|
+
"additionalProperties": false,
|
|
227
|
+
"description": "Finite MIME, size, count and transport limits declared by one adapter."
|
|
228
|
+
},
|
|
229
|
+
"default": []
|
|
188
230
|
}
|
|
189
231
|
},
|
|
190
232
|
"additionalProperties": false,
|
|
191
233
|
"default": {},
|
|
192
|
-
"description": "Structured per-harness facts the engine consumes: auth routing, isolation containment, readonly mechanism, and
|
|
234
|
+
"description": "Structured per-harness facts the engine consumes: auth routing, isolation containment, readonly mechanism, and finite attachment inputs."
|
|
193
235
|
},
|
|
194
236
|
"capabilities": {
|
|
195
237
|
"type": "object",
|
|
@@ -204,6 +246,15 @@
|
|
|
204
246
|
"default": false,
|
|
205
247
|
"description": "The harness can implement code changes (implement intent)."
|
|
206
248
|
},
|
|
249
|
+
"implementation_transport": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"enum": [
|
|
252
|
+
"workspace",
|
|
253
|
+
"git_patch_envelope"
|
|
254
|
+
],
|
|
255
|
+
"description": "Typed producer/consumer transport used when implement=true.",
|
|
256
|
+
"default": "workspace"
|
|
257
|
+
},
|
|
207
258
|
"create_from_scratch": {
|
|
208
259
|
"type": "boolean",
|
|
209
260
|
"default": false,
|
|
@@ -289,10 +340,41 @@
|
|
|
289
340
|
"known_models": {
|
|
290
341
|
"type": "array",
|
|
291
342
|
"items": {
|
|
292
|
-
"
|
|
343
|
+
"anyOf": [
|
|
344
|
+
{
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"id": {
|
|
351
|
+
"type": "string",
|
|
352
|
+
"minLength": 1,
|
|
353
|
+
"description": "Model id/alias."
|
|
354
|
+
},
|
|
355
|
+
"routes": {
|
|
356
|
+
"type": "array",
|
|
357
|
+
"items": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"enum": [
|
|
360
|
+
"local_session",
|
|
361
|
+
"api_key"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
"minItems": 1,
|
|
365
|
+
"description": "Credential routes this model is available on."
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"required": [
|
|
369
|
+
"id",
|
|
370
|
+
"routes"
|
|
371
|
+
],
|
|
372
|
+
"additionalProperties": false
|
|
373
|
+
}
|
|
374
|
+
]
|
|
293
375
|
},
|
|
294
376
|
"default": [],
|
|
295
|
-
"description": "Manifest-declared model ids/aliases this harness accepts, used as the model truth source when the adapter has no live inventory; explicit models outside the truth source are refused."
|
|
377
|
+
"description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory; explicit models outside the truth source are refused."
|
|
296
378
|
},
|
|
297
379
|
"known_models_verified_against": {
|
|
298
380
|
"type": [
|
|
@@ -28,6 +28,25 @@
|
|
|
28
28
|
],
|
|
29
29
|
"default": null,
|
|
30
30
|
"description": "Context window in tokens; null when the enumeration source does not report it."
|
|
31
|
+
},
|
|
32
|
+
"routes": {
|
|
33
|
+
"anyOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": [
|
|
39
|
+
"local_session",
|
|
40
|
+
"api_key"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "null"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"default": null,
|
|
49
|
+
"description": "Credential routes the model is scoped to; null = every route."
|
|
31
50
|
}
|
|
32
51
|
},
|
|
33
52
|
"required": [
|
|
@@ -75,12 +75,13 @@
|
|
|
75
75
|
"type": "string",
|
|
76
76
|
"enum": [
|
|
77
77
|
"native_session",
|
|
78
|
+
"oauth_token_env",
|
|
78
79
|
"api_key_env",
|
|
79
80
|
"api_key_flag",
|
|
80
81
|
"provider_auth_file",
|
|
81
82
|
"none"
|
|
82
83
|
],
|
|
83
|
-
"description": "
|
|
84
|
+
"description": "Concrete credential source used or probed by a harness."
|
|
84
85
|
},
|
|
85
86
|
"default": [],
|
|
86
87
|
"description": "Auth sources this harness supports."
|
|
@@ -193,21 +194,62 @@
|
|
|
193
194
|
"default": {},
|
|
194
195
|
"description": "Declared isolation containment facts for a harness."
|
|
195
196
|
},
|
|
196
|
-
"
|
|
197
|
-
"type": "
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
197
|
+
"attachment_inputs": {
|
|
198
|
+
"type": "array",
|
|
199
|
+
"items": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"properties": {
|
|
202
|
+
"kind": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"enum": [
|
|
205
|
+
"image",
|
|
206
|
+
"file"
|
|
207
|
+
],
|
|
208
|
+
"description": "Kind of attached resource: image input or generic file bytes."
|
|
209
|
+
},
|
|
210
|
+
"mime_types": {
|
|
211
|
+
"type": "array",
|
|
212
|
+
"items": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"minLength": 1
|
|
215
|
+
},
|
|
216
|
+
"minItems": 1
|
|
217
|
+
},
|
|
218
|
+
"max_bytes": {
|
|
219
|
+
"type": "integer",
|
|
220
|
+
"exclusiveMinimum": 0
|
|
221
|
+
},
|
|
222
|
+
"max_count": {
|
|
223
|
+
"type": "integer",
|
|
224
|
+
"exclusiveMinimum": 0
|
|
225
|
+
},
|
|
226
|
+
"transport": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"enum": [
|
|
229
|
+
"file_path",
|
|
230
|
+
"base64_stream",
|
|
231
|
+
"base64_inline",
|
|
232
|
+
"text_inline"
|
|
233
|
+
],
|
|
234
|
+
"description": "Native adapter transport used for one supported attachment class."
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"required": [
|
|
238
|
+
"kind",
|
|
239
|
+
"mime_types",
|
|
240
|
+
"max_bytes",
|
|
241
|
+
"max_count",
|
|
242
|
+
"transport"
|
|
243
|
+
],
|
|
244
|
+
"additionalProperties": false,
|
|
245
|
+
"description": "Finite MIME, size, count and transport limits declared by one adapter."
|
|
246
|
+
},
|
|
247
|
+
"default": []
|
|
206
248
|
}
|
|
207
249
|
},
|
|
208
250
|
"additionalProperties": false,
|
|
209
251
|
"default": {},
|
|
210
|
-
"description": "Structured per-harness facts the engine consumes: auth routing, isolation containment, readonly mechanism, and
|
|
252
|
+
"description": "Structured per-harness facts the engine consumes: auth routing, isolation containment, readonly mechanism, and finite attachment inputs."
|
|
211
253
|
},
|
|
212
254
|
"capabilities": {
|
|
213
255
|
"type": "object",
|
|
@@ -222,6 +264,15 @@
|
|
|
222
264
|
"default": false,
|
|
223
265
|
"description": "The harness can implement code changes (implement intent)."
|
|
224
266
|
},
|
|
267
|
+
"implementation_transport": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"enum": [
|
|
270
|
+
"workspace",
|
|
271
|
+
"git_patch_envelope"
|
|
272
|
+
],
|
|
273
|
+
"description": "Typed producer/consumer transport used when implement=true.",
|
|
274
|
+
"default": "workspace"
|
|
275
|
+
},
|
|
225
276
|
"create_from_scratch": {
|
|
226
277
|
"type": "boolean",
|
|
227
278
|
"default": false,
|
|
@@ -307,10 +358,41 @@
|
|
|
307
358
|
"known_models": {
|
|
308
359
|
"type": "array",
|
|
309
360
|
"items": {
|
|
310
|
-
"
|
|
361
|
+
"anyOf": [
|
|
362
|
+
{
|
|
363
|
+
"type": "string"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"type": "object",
|
|
367
|
+
"properties": {
|
|
368
|
+
"id": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"minLength": 1,
|
|
371
|
+
"description": "Model id/alias."
|
|
372
|
+
},
|
|
373
|
+
"routes": {
|
|
374
|
+
"type": "array",
|
|
375
|
+
"items": {
|
|
376
|
+
"type": "string",
|
|
377
|
+
"enum": [
|
|
378
|
+
"local_session",
|
|
379
|
+
"api_key"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"minItems": 1,
|
|
383
|
+
"description": "Credential routes this model is available on."
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"required": [
|
|
387
|
+
"id",
|
|
388
|
+
"routes"
|
|
389
|
+
],
|
|
390
|
+
"additionalProperties": false
|
|
391
|
+
}
|
|
392
|
+
]
|
|
311
393
|
},
|
|
312
394
|
"default": [],
|
|
313
|
-
"description": "Manifest-declared model ids/aliases this harness accepts, used as the model truth source when the adapter has no live inventory; explicit models outside the truth source are refused."
|
|
395
|
+
"description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory; explicit models outside the truth source are refused."
|
|
314
396
|
},
|
|
315
397
|
"known_models_verified_against": {
|
|
316
398
|
"type": [
|
|
@@ -377,6 +459,14 @@
|
|
|
377
459
|
"default": [],
|
|
378
460
|
"description": "Intents the gateway will route to this harness."
|
|
379
461
|
},
|
|
462
|
+
"routableIntents": {
|
|
463
|
+
"type": "array",
|
|
464
|
+
"items": {
|
|
465
|
+
"type": "string"
|
|
466
|
+
},
|
|
467
|
+
"default": [],
|
|
468
|
+
"description": "Intents the harness is actually routable for right now (doctor-gated); the server-side availability truth surfaces must read instead of re-deriving."
|
|
469
|
+
},
|
|
380
470
|
"disabledIntents": {
|
|
381
471
|
"type": "array",
|
|
382
472
|
"items": {
|
|
@@ -431,6 +521,100 @@
|
|
|
431
521
|
"default": [],
|
|
432
522
|
"description": "Human-readable reasons for degraded/unavailable status."
|
|
433
523
|
},
|
|
524
|
+
"authSources": {
|
|
525
|
+
"type": "array",
|
|
526
|
+
"items": {
|
|
527
|
+
"type": "object",
|
|
528
|
+
"properties": {
|
|
529
|
+
"source": {
|
|
530
|
+
"$ref": "#/definitions/HarnessStatusDto/properties/manifest/anyOf/0/properties/capability_profile/properties/auth/properties/supported_sources/items"
|
|
531
|
+
},
|
|
532
|
+
"availability": {
|
|
533
|
+
"type": "string",
|
|
534
|
+
"enum": [
|
|
535
|
+
"available",
|
|
536
|
+
"unavailable",
|
|
537
|
+
"unknown"
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
"verification": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"enum": [
|
|
543
|
+
"passed",
|
|
544
|
+
"failed",
|
|
545
|
+
"not_run"
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
"detail": {
|
|
549
|
+
"type": "string",
|
|
550
|
+
"description": "Redacted human-readable source evidence."
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
"required": [
|
|
554
|
+
"source",
|
|
555
|
+
"availability",
|
|
556
|
+
"verification"
|
|
557
|
+
],
|
|
558
|
+
"additionalProperties": false,
|
|
559
|
+
"description": "Doctor-backed readiness for one exact credential source."
|
|
560
|
+
},
|
|
561
|
+
"default": [],
|
|
562
|
+
"description": "Doctor-backed readiness by authentication source; an empty array means readiness was not reported."
|
|
563
|
+
},
|
|
564
|
+
"readiness": {
|
|
565
|
+
"type": "array",
|
|
566
|
+
"items": {
|
|
567
|
+
"type": "object",
|
|
568
|
+
"properties": {
|
|
569
|
+
"id": {
|
|
570
|
+
"type": "string",
|
|
571
|
+
"description": "Stable machine id of the check (adapter probe id or auth source)."
|
|
572
|
+
},
|
|
573
|
+
"kind": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"enum": [
|
|
576
|
+
"binary",
|
|
577
|
+
"auth",
|
|
578
|
+
"smoke",
|
|
579
|
+
"model",
|
|
580
|
+
"probe"
|
|
581
|
+
],
|
|
582
|
+
"description": "What KIND of readiness this is: binary presence, credential source, isolated smoke, configured-model validity, or a generic capability probe."
|
|
583
|
+
},
|
|
584
|
+
"title": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "Human display name of the check."
|
|
587
|
+
},
|
|
588
|
+
"status": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"enum": [
|
|
591
|
+
"pass",
|
|
592
|
+
"fail",
|
|
593
|
+
"skip"
|
|
594
|
+
],
|
|
595
|
+
"description": "Outcome; skip = not run / not applicable."
|
|
596
|
+
},
|
|
597
|
+
"detail": {
|
|
598
|
+
"type": [
|
|
599
|
+
"string",
|
|
600
|
+
"null"
|
|
601
|
+
],
|
|
602
|
+
"default": null,
|
|
603
|
+
"description": "Redacted human-readable evidence for the outcome."
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
"required": [
|
|
607
|
+
"id",
|
|
608
|
+
"kind",
|
|
609
|
+
"title",
|
|
610
|
+
"status"
|
|
611
|
+
],
|
|
612
|
+
"additionalProperties": false,
|
|
613
|
+
"description": "One display-ready readiness check row (daemon-normalized)."
|
|
614
|
+
},
|
|
615
|
+
"default": [],
|
|
616
|
+
"description": "Display-ready readiness checks, daemon-normalized from the raw evidence."
|
|
617
|
+
},
|
|
434
618
|
"configuredModel": {
|
|
435
619
|
"type": [
|
|
436
620
|
"string",
|
|
@@ -39,18 +39,44 @@
|
|
|
39
39
|
"budget": {
|
|
40
40
|
"type": "object",
|
|
41
41
|
"properties": {
|
|
42
|
-
"
|
|
42
|
+
"paid_budget": {
|
|
43
43
|
"anyOf": [
|
|
44
44
|
{
|
|
45
|
-
"type": "
|
|
46
|
-
"
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"kind": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"const": "unlimited"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"required": [
|
|
53
|
+
"kind"
|
|
54
|
+
],
|
|
55
|
+
"additionalProperties": false
|
|
47
56
|
},
|
|
48
57
|
{
|
|
49
|
-
"type": "
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"kind": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"const": "finite"
|
|
63
|
+
},
|
|
64
|
+
"maxUsd": {
|
|
65
|
+
"type": "number",
|
|
66
|
+
"minimum": 0
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": [
|
|
70
|
+
"kind",
|
|
71
|
+
"maxUsd"
|
|
72
|
+
],
|
|
73
|
+
"additionalProperties": false
|
|
50
74
|
}
|
|
51
75
|
],
|
|
52
|
-
"
|
|
53
|
-
"
|
|
76
|
+
"description": "Incremental-cash budget: explicitly unlimited or a finite non-negative USD cap.",
|
|
77
|
+
"default": {
|
|
78
|
+
"kind": "unlimited"
|
|
79
|
+
}
|
|
54
80
|
},
|
|
55
81
|
"max_tool_calls": {
|
|
56
82
|
"anyOf": [
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
{
|
|
12
12
|
"type": "object",
|
|
13
13
|
"properties": {
|
|
14
|
+
"required": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"default": true,
|
|
17
|
+
"description": "Whether parent success requires this step to succeed."
|
|
18
|
+
},
|
|
14
19
|
"tool": {
|
|
15
20
|
"type": "string",
|
|
16
21
|
"const": "start_run"
|
|
@@ -52,6 +57,9 @@
|
|
|
52
57
|
{
|
|
53
58
|
"type": "object",
|
|
54
59
|
"properties": {
|
|
60
|
+
"required": {
|
|
61
|
+
"$ref": "#/definitions/OrchestratePlan/properties/tool_calls/items/anyOf/0/properties/required"
|
|
62
|
+
},
|
|
55
63
|
"tool": {
|
|
56
64
|
"type": "string",
|
|
57
65
|
"const": "race"
|
|
@@ -83,6 +91,9 @@
|
|
|
83
91
|
{
|
|
84
92
|
"type": "object",
|
|
85
93
|
"properties": {
|
|
94
|
+
"required": {
|
|
95
|
+
"$ref": "#/definitions/OrchestratePlan/properties/tool_calls/items/anyOf/0/properties/required"
|
|
96
|
+
},
|
|
86
97
|
"tool": {
|
|
87
98
|
"type": "string",
|
|
88
99
|
"const": "review"
|
|
@@ -108,6 +119,9 @@
|
|
|
108
119
|
{
|
|
109
120
|
"type": "object",
|
|
110
121
|
"properties": {
|
|
122
|
+
"required": {
|
|
123
|
+
"$ref": "#/definitions/OrchestratePlan/properties/tool_calls/items/anyOf/0/properties/required"
|
|
124
|
+
},
|
|
111
125
|
"tool": {
|
|
112
126
|
"type": "string",
|
|
113
127
|
"const": "status"
|
|
@@ -133,6 +147,9 @@
|
|
|
133
147
|
{
|
|
134
148
|
"type": "object",
|
|
135
149
|
"properties": {
|
|
150
|
+
"required": {
|
|
151
|
+
"$ref": "#/definitions/OrchestratePlan/properties/tool_calls/items/anyOf/0/properties/required"
|
|
152
|
+
},
|
|
136
153
|
"tool": {
|
|
137
154
|
"type": "string",
|
|
138
155
|
"const": "answer_question"
|
|
@@ -193,6 +210,9 @@
|
|
|
193
210
|
{
|
|
194
211
|
"type": "object",
|
|
195
212
|
"properties": {
|
|
213
|
+
"required": {
|
|
214
|
+
"$ref": "#/definitions/OrchestratePlan/properties/tool_calls/items/anyOf/0/properties/required"
|
|
215
|
+
},
|
|
196
216
|
"tool": {
|
|
197
217
|
"type": "string",
|
|
198
218
|
"const": "apply"
|
|
@@ -46,6 +46,67 @@
|
|
|
46
46
|
],
|
|
47
47
|
"description": "Executor status of one plan step: pending, running, done, skipped, blocked (risky step awaiting a human), or failed."
|
|
48
48
|
},
|
|
49
|
+
"required": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"default": true
|
|
52
|
+
},
|
|
53
|
+
"terminal_status": {
|
|
54
|
+
"anyOf": [
|
|
55
|
+
{
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": [
|
|
58
|
+
"success",
|
|
59
|
+
"no_op",
|
|
60
|
+
"ungated",
|
|
61
|
+
"review_not_run",
|
|
62
|
+
"blocked",
|
|
63
|
+
"failed",
|
|
64
|
+
"interrupted_unknown",
|
|
65
|
+
"cost_unverifiable",
|
|
66
|
+
"exhausted_overshoot",
|
|
67
|
+
"exhausted",
|
|
68
|
+
"not_converged",
|
|
69
|
+
"stuck_no_progress",
|
|
70
|
+
"cancelled"
|
|
71
|
+
],
|
|
72
|
+
"description": "Terminal status of a run, including truthful blocked, interrupted-unknown, cost-unverifiable, overshoot, exhaustion, non-convergence, failure, and cancellation outcomes."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "null"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"description": "Actual child/delivery terminal used by the parent outcome reducer.",
|
|
79
|
+
"default": null
|
|
80
|
+
},
|
|
81
|
+
"terminal_source": {
|
|
82
|
+
"anyOf": [
|
|
83
|
+
{
|
|
84
|
+
"type": "string",
|
|
85
|
+
"enum": [
|
|
86
|
+
"executor",
|
|
87
|
+
"subrun",
|
|
88
|
+
"review",
|
|
89
|
+
"delivery",
|
|
90
|
+
"policy",
|
|
91
|
+
"budget"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "null"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"default": null,
|
|
99
|
+
"description": "Authority that produced terminal_status."
|
|
100
|
+
},
|
|
101
|
+
"evidence_refs": {
|
|
102
|
+
"type": "array",
|
|
103
|
+
"items": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"minLength": 1
|
|
106
|
+
},
|
|
107
|
+
"default": [],
|
|
108
|
+
"description": "Immutable run artifact or delivery receipt references."
|
|
109
|
+
},
|
|
49
110
|
"run_id": {
|
|
50
111
|
"type": [
|
|
51
112
|
"string",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PaidBudget",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PaidBudget": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"kind": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "unlimited"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"kind"
|
|
16
|
+
],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"kind": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"const": "finite"
|
|
25
|
+
},
|
|
26
|
+
"maxUsd": {
|
|
27
|
+
"type": "number",
|
|
28
|
+
"minimum": 0
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [
|
|
32
|
+
"kind",
|
|
33
|
+
"maxUsd"
|
|
34
|
+
],
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"description": "Incremental-cash budget: explicitly unlimited or a finite non-negative USD cap."
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
42
|
+
}
|