@claudexor/schema 1.0.1 → 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
package/dist/workspace.d.ts
CHANGED
|
@@ -28,8 +28,8 @@ export declare const WorkspaceEnvelope: z.ZodObject<{
|
|
|
28
28
|
base_ref: string;
|
|
29
29
|
task_id: string;
|
|
30
30
|
attempt_id: string;
|
|
31
|
-
repo_root: string;
|
|
32
31
|
dirty_policy: "refuse" | "snapshot";
|
|
32
|
+
repo_root: string;
|
|
33
33
|
branch_name: string;
|
|
34
34
|
home_dir: string;
|
|
35
35
|
harness_config_dirs: Record<string, string>;
|
package/dist/workspace.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
package/dist/workspace.js
CHANGED
|
@@ -14,15 +14,24 @@ export const WorkspaceEnvelope = z
|
|
|
14
14
|
attempt_id: Id.describe("Attempt the envelope belongs to."),
|
|
15
15
|
repo_root: z.string().describe("Absolute path of the source repository root."),
|
|
16
16
|
base_ref: z.string().describe("Git ref the worktree was created from."),
|
|
17
|
-
base_sha: z
|
|
17
|
+
base_sha: z
|
|
18
|
+
.string()
|
|
19
|
+
.nullable()
|
|
20
|
+
.default(null)
|
|
21
|
+
.describe("Resolved base commit SHA; null when not recorded."),
|
|
18
22
|
worktree_path: z.string().describe("Absolute path of the isolated git worktree."),
|
|
19
23
|
branch_name: z.string().describe("Branch created for the worktree."),
|
|
20
|
-
home_dir: z
|
|
24
|
+
home_dir: z
|
|
25
|
+
.string()
|
|
26
|
+
.describe("Scoped HOME directory for the harness process (kept outside the worktree)."),
|
|
21
27
|
harness_config_dirs: z
|
|
22
28
|
.record(z.string(), z.string())
|
|
23
29
|
.default({})
|
|
24
30
|
.describe("Scoped per-harness config directories keyed by harness id (kept outside the worktree)."),
|
|
25
|
-
policy_profile: z
|
|
31
|
+
policy_profile: z
|
|
32
|
+
.string()
|
|
33
|
+
.default("workspace_write")
|
|
34
|
+
.describe("Access profile the envelope enforces."),
|
|
26
35
|
dirty_policy: DirtyPolicy.default("refuse"),
|
|
27
36
|
created_at: IsoTimestamp.describe("When the envelope was created."),
|
|
28
37
|
})
|
package/dist/workspace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IAC/B,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACrD,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC9E,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IACvE,QAAQ,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IAC/B,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACrD,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC9E,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IACvE,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,mDAAmD,CAAC;IAChE,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;IACjF,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACpE,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,CAAC,4EAA4E,CAAC;IACzF,mBAAmB,EAAE,CAAC;SACnB,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC9B,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CACP,wFAAwF,CACzF;IACH,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,OAAO,CAAC,iBAAiB,CAAC;SAC1B,QAAQ,CAAC,uCAAuC,CAAC;IACpD,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC3C,UAAU,EAAE,YAAY,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CACpE,CAAC;KACD,QAAQ,CACP,yGAAyG,CAC1G,CAAC"}
|
|
@@ -135,15 +135,57 @@
|
|
|
135
135
|
],
|
|
136
136
|
"description": "How external web/search is controlled for this harness."
|
|
137
137
|
},
|
|
138
|
-
"
|
|
139
|
-
"type": "
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
138
|
+
"attachmentInputs": {
|
|
139
|
+
"type": "array",
|
|
140
|
+
"items": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"properties": {
|
|
143
|
+
"kind": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"enum": [
|
|
146
|
+
"image",
|
|
147
|
+
"file"
|
|
148
|
+
],
|
|
149
|
+
"description": "Kind of attached resource: image input or generic file bytes."
|
|
150
|
+
},
|
|
151
|
+
"mime_types": {
|
|
152
|
+
"type": "array",
|
|
153
|
+
"items": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"minLength": 1
|
|
156
|
+
},
|
|
157
|
+
"minItems": 1
|
|
158
|
+
},
|
|
159
|
+
"max_bytes": {
|
|
160
|
+
"type": "integer",
|
|
161
|
+
"exclusiveMinimum": 0
|
|
162
|
+
},
|
|
163
|
+
"max_count": {
|
|
164
|
+
"type": "integer",
|
|
165
|
+
"exclusiveMinimum": 0
|
|
166
|
+
},
|
|
167
|
+
"transport": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": [
|
|
170
|
+
"file_path",
|
|
171
|
+
"base64_stream",
|
|
172
|
+
"base64_inline",
|
|
173
|
+
"text_inline"
|
|
174
|
+
],
|
|
175
|
+
"description": "Native adapter transport used for one supported attachment class."
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"kind",
|
|
180
|
+
"mime_types",
|
|
181
|
+
"max_bytes",
|
|
182
|
+
"max_count",
|
|
183
|
+
"transport"
|
|
184
|
+
],
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"description": "Finite MIME, size, count and transport limits declared by one adapter."
|
|
187
|
+
},
|
|
188
|
+
"description": "Finite media/MIME/size/count/transport declarations for this adapter."
|
|
147
189
|
},
|
|
148
190
|
"effortLevels": {
|
|
149
191
|
"type": "array",
|
|
@@ -199,7 +241,7 @@
|
|
|
199
241
|
"configuredModelValid",
|
|
200
242
|
"models",
|
|
201
243
|
"webPolicy",
|
|
202
|
-
"
|
|
244
|
+
"attachmentInputs",
|
|
203
245
|
"effortLevels",
|
|
204
246
|
"accessProfilesSupported",
|
|
205
247
|
"readonlyMechanism"
|
|
@@ -264,7 +306,7 @@
|
|
|
264
306
|
"live"
|
|
265
307
|
]
|
|
266
308
|
},
|
|
267
|
-
"description": "Run isolation: envelope = isolated worktree
|
|
309
|
+
"description": "Run isolation: envelope = isolated worktree in the external per-project runtime namespace (default), live = the project tree itself."
|
|
268
310
|
},
|
|
269
311
|
"workspaceModes": {
|
|
270
312
|
"type": "array",
|
|
@@ -49,13 +49,61 @@
|
|
|
49
49
|
"default": null,
|
|
50
50
|
"description": "Requested model for the reserved call; null = harness default."
|
|
51
51
|
},
|
|
52
|
-
"
|
|
53
|
-
"type":
|
|
54
|
-
|
|
55
|
-
"
|
|
52
|
+
"cost": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"knowledge": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": [
|
|
58
|
+
"exact",
|
|
59
|
+
"estimated",
|
|
60
|
+
"unknown"
|
|
61
|
+
],
|
|
62
|
+
"description": "Quality of incremental-cash cost evidence for an operation."
|
|
63
|
+
},
|
|
64
|
+
"billing": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"enum": [
|
|
67
|
+
"proven_zero",
|
|
68
|
+
"subscription_entitlement",
|
|
69
|
+
"metered",
|
|
70
|
+
"unknown"
|
|
71
|
+
],
|
|
72
|
+
"description": "What is actually known about incremental billing; a native credential route alone never proves entitlement or zero cost."
|
|
73
|
+
},
|
|
74
|
+
"source": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"minLength": 1
|
|
77
|
+
},
|
|
78
|
+
"provenance": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"minLength": 1
|
|
83
|
+
},
|
|
84
|
+
"minItems": 1
|
|
85
|
+
},
|
|
86
|
+
"estimatedUsd": {
|
|
87
|
+
"anyOf": [
|
|
88
|
+
{
|
|
89
|
+
"type": "number",
|
|
90
|
+
"minimum": 0
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "null"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"default": null
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [
|
|
100
|
+
"knowledge",
|
|
101
|
+
"billing",
|
|
102
|
+
"source",
|
|
103
|
+
"provenance"
|
|
56
104
|
],
|
|
57
|
-
"
|
|
58
|
-
"description": "
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"description": "Incremental-cash cost knowledge with its source and evidence provenance."
|
|
59
107
|
},
|
|
60
108
|
"reason": {
|
|
61
109
|
"type": "array",
|
|
@@ -85,6 +133,7 @@
|
|
|
85
133
|
"task_id",
|
|
86
134
|
"intent",
|
|
87
135
|
"harness_id",
|
|
136
|
+
"cost",
|
|
88
137
|
"created_at"
|
|
89
138
|
],
|
|
90
139
|
"additionalProperties": false,
|
|
@@ -29,19 +29,40 @@
|
|
|
29
29
|
"enum": [
|
|
30
30
|
"spend",
|
|
31
31
|
"rate_limited",
|
|
32
|
-
"
|
|
33
|
-
"cooldown"
|
|
34
|
-
"manual"
|
|
32
|
+
"quota_constraint",
|
|
33
|
+
"cooldown"
|
|
35
34
|
],
|
|
36
|
-
"description": "What was observed: spend, a rate-limit hit,
|
|
35
|
+
"description": "What was observed: spend, a rate-limit hit, one independent quota constraint, or a cooldown."
|
|
37
36
|
},
|
|
38
37
|
"usd": {
|
|
39
38
|
"type": "number",
|
|
40
39
|
"description": "Observed spend in USD, for spend observations."
|
|
41
40
|
},
|
|
42
|
-
"
|
|
43
|
-
"type": "
|
|
44
|
-
|
|
41
|
+
"constraint_id": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"used_ratio": {
|
|
45
|
+
"anyOf": [
|
|
46
|
+
{
|
|
47
|
+
"type": "number",
|
|
48
|
+
"minimum": 0,
|
|
49
|
+
"maximum": 1
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "null"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"window_seconds": {
|
|
57
|
+
"anyOf": [
|
|
58
|
+
{
|
|
59
|
+
"type": "number",
|
|
60
|
+
"exclusiveMinimum": 0
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "null"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
45
66
|
},
|
|
46
67
|
"resets_at": {
|
|
47
68
|
"type": [
|
|
@@ -93,6 +93,55 @@
|
|
|
93
93
|
},
|
|
94
94
|
"default": [],
|
|
95
95
|
"description": "Human-readable reasons for degraded/unavailable status or disabled intents."
|
|
96
|
+
},
|
|
97
|
+
"auth_sources": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"source": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": [
|
|
105
|
+
"native_session",
|
|
106
|
+
"oauth_token_env",
|
|
107
|
+
"api_key_env",
|
|
108
|
+
"api_key_flag",
|
|
109
|
+
"provider_auth_file",
|
|
110
|
+
"none"
|
|
111
|
+
],
|
|
112
|
+
"description": "Concrete credential source used or probed by a harness."
|
|
113
|
+
},
|
|
114
|
+
"availability": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"enum": [
|
|
117
|
+
"available",
|
|
118
|
+
"unavailable",
|
|
119
|
+
"unknown"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"verification": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"enum": [
|
|
125
|
+
"passed",
|
|
126
|
+
"failed",
|
|
127
|
+
"not_run"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"detail": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "Redacted human-readable source evidence."
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"source",
|
|
137
|
+
"availability",
|
|
138
|
+
"verification"
|
|
139
|
+
],
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"description": "Doctor-backed readiness for one exact credential source."
|
|
142
|
+
},
|
|
143
|
+
"default": [],
|
|
144
|
+
"description": "Doctor-backed readiness by authentication source; an empty array means the adapter did not report source readiness."
|
|
96
145
|
}
|
|
97
146
|
},
|
|
98
147
|
"required": [
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlApplyCheckResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlApplyCheckResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean"
|
|
9
|
+
},
|
|
10
|
+
"code": {
|
|
11
|
+
"anyOf": [
|
|
12
|
+
{
|
|
13
|
+
"type": "integer"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "null"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"stderr": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"ok",
|
|
26
|
+
"code",
|
|
27
|
+
"stderr"
|
|
28
|
+
],
|
|
29
|
+
"additionalProperties": false,
|
|
30
|
+
"description": "Mechanical git apply --check result."
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
34
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlArtifactListResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlArtifactListResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"runId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Non-empty identifier string."
|
|
11
|
+
},
|
|
12
|
+
"artifacts": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"path": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Artifact path relative to the run directory."
|
|
20
|
+
},
|
|
21
|
+
"kind": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"file",
|
|
25
|
+
"directory"
|
|
26
|
+
],
|
|
27
|
+
"description": "Whether the artifact is a file or a directory."
|
|
28
|
+
},
|
|
29
|
+
"bytes": {
|
|
30
|
+
"type": "integer",
|
|
31
|
+
"minimum": 0,
|
|
32
|
+
"description": "Size in bytes; absent for directories."
|
|
33
|
+
},
|
|
34
|
+
"mime": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "MIME type derived from the extension; absent for directories."
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"path",
|
|
41
|
+
"kind"
|
|
42
|
+
],
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"description": "One artifact in the run's artifact tree."
|
|
45
|
+
},
|
|
46
|
+
"default": []
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"runId"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"description": "Run-keyed technical artifact or produced-output listing."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
57
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlAuthReadinessRefreshRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlAuthReadinessRefreshRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"authRequest": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"subscription",
|
|
11
|
+
"api_key",
|
|
12
|
+
"auto"
|
|
13
|
+
],
|
|
14
|
+
"description": "Requested credential behavior: exact subscription, exact managed API key, or policy-governed auto selection."
|
|
15
|
+
},
|
|
16
|
+
"source": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"native_session",
|
|
20
|
+
"oauth_token_env",
|
|
21
|
+
"api_key_env",
|
|
22
|
+
"api_key_flag",
|
|
23
|
+
"provider_auth_file",
|
|
24
|
+
"none"
|
|
25
|
+
],
|
|
26
|
+
"description": "Concrete credential source used or probed by a harness."
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"authRequest",
|
|
31
|
+
"source"
|
|
32
|
+
],
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"description": "Request to refresh one exact harness authentication source without probing unrelated routes."
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
38
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlAuthReadinessRefreshResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlAuthReadinessRefreshResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"harnessId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Non-empty identifier string."
|
|
11
|
+
},
|
|
12
|
+
"authRequest": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"subscription",
|
|
16
|
+
"api_key",
|
|
17
|
+
"auto"
|
|
18
|
+
],
|
|
19
|
+
"description": "Requested credential behavior: exact subscription, exact managed API key, or policy-governed auto selection."
|
|
20
|
+
},
|
|
21
|
+
"requestedSource": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"native_session",
|
|
25
|
+
"oauth_token_env",
|
|
26
|
+
"api_key_env",
|
|
27
|
+
"api_key_flag",
|
|
28
|
+
"provider_auth_file",
|
|
29
|
+
"none"
|
|
30
|
+
],
|
|
31
|
+
"description": "Concrete credential source used or probed by a harness."
|
|
32
|
+
},
|
|
33
|
+
"observedAt": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "date-time"
|
|
36
|
+
},
|
|
37
|
+
"readiness": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"source": {
|
|
41
|
+
"$ref": "#/definitions/ControlAuthReadinessRefreshResponse/properties/requestedSource"
|
|
42
|
+
},
|
|
43
|
+
"availability": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": [
|
|
46
|
+
"available",
|
|
47
|
+
"unavailable",
|
|
48
|
+
"unknown"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"verification": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": [
|
|
54
|
+
"passed",
|
|
55
|
+
"failed",
|
|
56
|
+
"not_run"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"detail": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "Redacted human-readable source evidence."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"source",
|
|
66
|
+
"availability",
|
|
67
|
+
"verification"
|
|
68
|
+
],
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"description": "Doctor-backed readiness for one exact credential source."
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"harnessId",
|
|
75
|
+
"authRequest",
|
|
76
|
+
"requestedSource",
|
|
77
|
+
"observedAt",
|
|
78
|
+
"readiness"
|
|
79
|
+
],
|
|
80
|
+
"additionalProperties": false,
|
|
81
|
+
"description": "Point-in-time readiness evidence for one exact harness credential source."
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
85
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlDeliveryResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlDeliveryResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"mode": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"artifact_only",
|
|
11
|
+
"apply",
|
|
12
|
+
"branch",
|
|
13
|
+
"commit",
|
|
14
|
+
"pr"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"applied": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"branch": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"commit": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"prUrl": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"detail": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"treeMutated": {
|
|
33
|
+
"type": "boolean"
|
|
34
|
+
},
|
|
35
|
+
"refused": {
|
|
36
|
+
"type": "boolean"
|
|
37
|
+
},
|
|
38
|
+
"finalVerify": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"attempted": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Whether the final verify was attempted."
|
|
44
|
+
},
|
|
45
|
+
"base_sha": {
|
|
46
|
+
"type": [
|
|
47
|
+
"string",
|
|
48
|
+
"null"
|
|
49
|
+
],
|
|
50
|
+
"default": null,
|
|
51
|
+
"description": "Base SHA the verify tree was created from (the winner envelope's base)."
|
|
52
|
+
},
|
|
53
|
+
"applied_cleanly": {
|
|
54
|
+
"type": [
|
|
55
|
+
"boolean",
|
|
56
|
+
"null"
|
|
57
|
+
],
|
|
58
|
+
"default": null,
|
|
59
|
+
"description": "Whether the patch applied cleanly onto the fresh tree; null when not attempted."
|
|
60
|
+
},
|
|
61
|
+
"gates_passed": {
|
|
62
|
+
"type": [
|
|
63
|
+
"boolean",
|
|
64
|
+
"null"
|
|
65
|
+
],
|
|
66
|
+
"default": null,
|
|
67
|
+
"description": "Whether the re-run deterministic gates passed; null when not attempted."
|
|
68
|
+
},
|
|
69
|
+
"gates": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"id": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Gate id."
|
|
77
|
+
},
|
|
78
|
+
"status": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Gate status."
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"id",
|
|
85
|
+
"status"
|
|
86
|
+
],
|
|
87
|
+
"additionalProperties": false
|
|
88
|
+
},
|
|
89
|
+
"default": [],
|
|
90
|
+
"description": "Per-gate re-run results."
|
|
91
|
+
},
|
|
92
|
+
"duration_ms": {
|
|
93
|
+
"anyOf": [
|
|
94
|
+
{
|
|
95
|
+
"type": "integer",
|
|
96
|
+
"minimum": 0
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "null"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"default": null,
|
|
103
|
+
"description": "How long the verify took, in milliseconds."
|
|
104
|
+
},
|
|
105
|
+
"reason": {
|
|
106
|
+
"type": [
|
|
107
|
+
"string",
|
|
108
|
+
"null"
|
|
109
|
+
],
|
|
110
|
+
"default": null,
|
|
111
|
+
"description": "Typed reason when attempted=false (e.g. no_patch, no_base_sha) or a failure detail."
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": [
|
|
115
|
+
"attempted"
|
|
116
|
+
],
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"description": "Fresh verifier evidence for this delivery attempt."
|
|
119
|
+
},
|
|
120
|
+
"targetPreimageSha": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "Target snapshot verified immediately before delivery."
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": [
|
|
126
|
+
"mode",
|
|
127
|
+
"applied",
|
|
128
|
+
"finalVerify",
|
|
129
|
+
"targetPreimageSha"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": false,
|
|
132
|
+
"description": "Result of a manual run delivery attempt."
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
136
|
+
}
|