@claudexor/schema 5.0.2 → 6.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.
Files changed (281) hide show
  1. package/dist/account-routing-evidence.d.ts +324 -0
  2. package/dist/account-routing-evidence.d.ts.map +1 -1
  3. package/dist/account-routing-evidence.js +27 -2
  4. package/dist/account-routing-evidence.js.map +1 -1
  5. package/dist/agent-capabilities.d.ts +3 -0
  6. package/dist/agent-capabilities.d.ts.map +1 -1
  7. package/dist/agent-capabilities.js +6 -2
  8. package/dist/agent-capabilities.js.map +1 -1
  9. package/dist/attachment.d.ts +103 -6
  10. package/dist/attachment.d.ts.map +1 -1
  11. package/dist/attachment.js +32 -6
  12. package/dist/attachment.js.map +1 -1
  13. package/dist/attempt-execution.d.ts +23 -0
  14. package/dist/attempt-execution.d.ts.map +1 -1
  15. package/dist/attempt-execution.js +2 -0
  16. package/dist/attempt-execution.js.map +1 -1
  17. package/dist/browser-evidence.d.ts +85 -0
  18. package/dist/browser-evidence.d.ts.map +1 -0
  19. package/dist/browser-evidence.js +72 -0
  20. package/dist/browser-evidence.js.map +1 -0
  21. package/dist/config.d.ts.map +1 -1
  22. package/dist/config.js +1 -1
  23. package/dist/config.js.map +1 -1
  24. package/dist/control-gc.d.ts +30 -0
  25. package/dist/control-gc.d.ts.map +1 -1
  26. package/dist/control-gc.js +28 -1
  27. package/dist/control-gc.js.map +1 -1
  28. package/dist/control-harness-list.d.ts +34 -0
  29. package/dist/control-harness-list.d.ts.map +1 -1
  30. package/dist/control-harness-models.d.ts +122 -0
  31. package/dist/control-harness-models.d.ts.map +1 -1
  32. package/dist/control-harness-models.js +2 -0
  33. package/dist/control-harness-models.js.map +1 -1
  34. package/dist/control-operation-responses.d.ts +459 -36
  35. package/dist/control-operation-responses.d.ts.map +1 -1
  36. package/dist/control-operation-responses.js +11 -2
  37. package/dist/control-operation-responses.js.map +1 -1
  38. package/dist/control-pending-interaction.d.ts +96 -0
  39. package/dist/control-pending-interaction.d.ts.map +1 -0
  40. package/dist/control-pending-interaction.js +42 -0
  41. package/dist/control-pending-interaction.js.map +1 -0
  42. package/dist/control-process-scope.d.ts +34 -0
  43. package/dist/control-process-scope.d.ts.map +1 -1
  44. package/dist/control-process-scope.js +13 -0
  45. package/dist/control-process-scope.js.map +1 -1
  46. package/dist/control-run-detail.d.ts +877 -89
  47. package/dist/control-run-detail.d.ts.map +1 -1
  48. package/dist/control-run-detail.js +2 -1
  49. package/dist/control-run-detail.js.map +1 -1
  50. package/dist/control-run-failure.d.ts +40 -6
  51. package/dist/control-run-failure.d.ts.map +1 -1
  52. package/dist/control-run-failure.js +34 -3
  53. package/dist/control-run-failure.js.map +1 -1
  54. package/dist/control-run-message.js +1 -1
  55. package/dist/control-run-message.js.map +1 -1
  56. package/dist/control-trust.d.ts +8 -0
  57. package/dist/control-trust.d.ts.map +1 -1
  58. package/dist/control-trust.js +4 -0
  59. package/dist/control-trust.js.map +1 -1
  60. package/dist/control-web-evidence.d.ts +125 -0
  61. package/dist/control-web-evidence.d.ts.map +1 -0
  62. package/dist/control-web-evidence.js +109 -0
  63. package/dist/control-web-evidence.js.map +1 -0
  64. package/dist/control.d.ts +322 -179
  65. package/dist/control.d.ts.map +1 -1
  66. package/dist/control.js +52 -75
  67. package/dist/control.js.map +1 -1
  68. package/dist/credential-profile-snapshot.d.ts +136 -0
  69. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  70. package/dist/credential-profile.d.ts +4 -3
  71. package/dist/credential-profile.d.ts.map +1 -1
  72. package/dist/credential-profile.js +4 -3
  73. package/dist/credential-profile.js.map +1 -1
  74. package/dist/decision.d.ts +9 -9
  75. package/dist/decision.d.ts.map +1 -1
  76. package/dist/decision.js +2 -0
  77. package/dist/decision.js.map +1 -1
  78. package/dist/deferred-message.d.ts +646 -0
  79. package/dist/deferred-message.d.ts.map +1 -1
  80. package/dist/deferred-message.js +16 -2
  81. package/dist/deferred-message.js.map +1 -1
  82. package/dist/events.d.ts +6 -6
  83. package/dist/events.d.ts.map +1 -1
  84. package/dist/events.js +1 -0
  85. package/dist/events.js.map +1 -1
  86. package/dist/harness-confinement.js +1 -1
  87. package/dist/harness-confinement.js.map +1 -1
  88. package/dist/harness-input.d.ts +12 -0
  89. package/dist/harness-input.d.ts.map +1 -1
  90. package/dist/harness-input.js +11 -1
  91. package/dist/harness-input.js.map +1 -1
  92. package/dist/harness-interaction.d.ts +32 -0
  93. package/dist/harness-interaction.d.ts.map +1 -1
  94. package/dist/harness-interaction.js +47 -0
  95. package/dist/harness-interaction.js.map +1 -1
  96. package/dist/harness-maintenance.d.ts +3561 -717
  97. package/dist/harness-maintenance.d.ts.map +1 -1
  98. package/dist/harness-maintenance.js +107 -111
  99. package/dist/harness-maintenance.js.map +1 -1
  100. package/dist/harness-program.d.ts +2164 -0
  101. package/dist/harness-program.d.ts.map +1 -0
  102. package/dist/harness-program.js +110 -0
  103. package/dist/harness-program.js.map +1 -0
  104. package/dist/harness.d.ts +162 -19
  105. package/dist/harness.d.ts.map +1 -1
  106. package/dist/harness.js +25 -15
  107. package/dist/harness.js.map +1 -1
  108. package/dist/index.d.ts +6 -0
  109. package/dist/index.d.ts.map +1 -1
  110. package/dist/index.js +6 -0
  111. package/dist/index.js.map +1 -1
  112. package/dist/mcp-run-result.d.ts +453 -50
  113. package/dist/mcp-run-result.d.ts.map +1 -1
  114. package/dist/mcp-run-wait.d.ts +131 -0
  115. package/dist/mcp-run-wait.d.ts.map +1 -1
  116. package/dist/mcp-run-wait.js +3 -2
  117. package/dist/mcp-run-wait.js.map +1 -1
  118. package/dist/model-operation.d.ts +107 -0
  119. package/dist/model-operation.d.ts.map +1 -1
  120. package/dist/model-operation.js +3 -0
  121. package/dist/model-operation.js.map +1 -1
  122. package/dist/operation.d.ts +1 -1
  123. package/dist/operation.d.ts.map +1 -1
  124. package/dist/operation.js +1 -1
  125. package/dist/operation.js.map +1 -1
  126. package/dist/process-scope.d.ts +154 -0
  127. package/dist/process-scope.d.ts.map +1 -1
  128. package/dist/process-scope.js +16 -1
  129. package/dist/process-scope.js.map +1 -1
  130. package/dist/quota.d.ts +15 -0
  131. package/dist/quota.d.ts.map +1 -1
  132. package/dist/quota.js +15 -0
  133. package/dist/quota.js.map +1 -1
  134. package/dist/rate-limit.d.ts +3 -0
  135. package/dist/rate-limit.d.ts.map +1 -1
  136. package/dist/rate-limit.js +4 -0
  137. package/dist/rate-limit.js.map +1 -1
  138. package/dist/raw.d.ts.map +1 -1
  139. package/dist/raw.js +11 -5
  140. package/dist/raw.js.map +1 -1
  141. package/dist/readiness.d.ts +26 -0
  142. package/dist/readiness.d.ts.map +1 -1
  143. package/dist/route-controls.d.ts +49 -0
  144. package/dist/route-controls.d.ts.map +1 -0
  145. package/dist/route-controls.js +53 -0
  146. package/dist/route-controls.js.map +1 -0
  147. package/dist/route-health.d.ts +23 -23
  148. package/dist/route-health.js +1 -1
  149. package/dist/route-health.js.map +1 -1
  150. package/dist/run-continuation.d.ts +6 -6
  151. package/dist/run-continuity.d.ts +7 -7
  152. package/dist/run-continuity.d.ts.map +1 -1
  153. package/dist/run-continuity.js +2 -1
  154. package/dist/run-continuity.js.map +1 -1
  155. package/dist/run-facts.d.ts +5 -5
  156. package/dist/run-facts.js +1 -1
  157. package/dist/run-facts.js.map +1 -1
  158. package/dist/run-observation.d.ts +70 -0
  159. package/dist/run-observation.d.ts.map +1 -1
  160. package/dist/run-observation.js +31 -12
  161. package/dist/run-observation.js.map +1 -1
  162. package/dist/status-projection.d.ts +3 -2
  163. package/dist/status-projection.d.ts.map +1 -1
  164. package/dist/status-projection.js +5 -2
  165. package/dist/status-projection.js.map +1 -1
  166. package/dist/task-group.d.ts +3 -0
  167. package/dist/task-group.d.ts.map +1 -1
  168. package/dist/task-group.js +11 -1
  169. package/dist/task-group.js.map +1 -1
  170. package/dist/task.d.ts +2 -2
  171. package/dist/task.d.ts.map +1 -1
  172. package/dist/task.js +4 -4
  173. package/dist/task.js.map +1 -1
  174. package/dist/telemetry.d.ts +658 -117
  175. package/dist/telemetry.d.ts.map +1 -1
  176. package/dist/telemetry.js +19 -88
  177. package/dist/telemetry.js.map +1 -1
  178. package/dist/thread-export.d.ts +847 -0
  179. package/dist/thread-export.d.ts.map +1 -0
  180. package/dist/thread-export.js +238 -0
  181. package/dist/thread-export.js.map +1 -0
  182. package/dist/thread-history.d.ts +356 -132
  183. package/dist/thread-history.d.ts.map +1 -1
  184. package/dist/thread.d.ts +72 -6
  185. package/dist/thread.d.ts.map +1 -1
  186. package/dist/thread.js +19 -3
  187. package/dist/thread.js.map +1 -1
  188. package/dist/tool-ref.d.ts +172 -21
  189. package/dist/tool-ref.d.ts.map +1 -1
  190. package/dist/tool-ref.js +114 -29
  191. package/dist/tool-ref.js.map +1 -1
  192. package/dist/web-evidence.d.ts +91 -0
  193. package/dist/web-evidence.d.ts.map +1 -0
  194. package/dist/web-evidence.js +77 -0
  195. package/dist/web-evidence.js.map +1 -0
  196. package/dist/workspace.js +1 -1
  197. package/dist/workspace.js.map +1 -1
  198. package/generated/AgentCapabilityCatalog.schema.json +20 -2
  199. package/generated/AttemptExecutionEvidence.schema.json +35 -0
  200. package/generated/ConformanceReport.schema.json +26 -0
  201. package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
  202. package/generated/ControlCredentialProfilesQueryResponse.schema.json +28 -2
  203. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +28 -2
  204. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +28 -2
  205. package/generated/ControlGcLastResponse.schema.json +22 -0
  206. package/generated/ControlGcReceipt.schema.json +13 -1
  207. package/generated/ControlHarnessAccountCatalog.schema.json +27 -0
  208. package/generated/ControlHarnessAccountModelsResponse.schema.json +27 -0
  209. package/generated/ControlHarnessListResponse.schema.json +28 -2
  210. package/generated/ControlHarnessMaintenanceCreateRequest.schema.json +2 -28
  211. package/generated/ControlHarnessMaintenanceInventory.schema.json +547 -184
  212. package/generated/ControlHarnessMaintenanceOperation.schema.json +211 -63
  213. package/generated/ControlHarnessModelsQueryResponse.schema.json +30 -0
  214. package/generated/ControlHarnessModelsResponse.schema.json +27 -0
  215. package/generated/ControlModelAccountCatalogResponse.schema.json +27 -0
  216. package/generated/ControlModelCatalogQueryResponse.schema.json +27 -0
  217. package/generated/ControlModelCatalogResponse.schema.json +27 -0
  218. package/generated/ControlPendingInteraction.schema.json +10 -1
  219. package/generated/ControlQueuedRunInfo.schema.json +1 -1
  220. package/generated/ControlResource.schema.json +5 -0
  221. package/generated/ControlResourceRelease.schema.json +44 -0
  222. package/generated/ControlResourceReleaseRequest.schema.json +27 -0
  223. package/generated/ControlRetainedEnvelope.schema.json +2 -1
  224. package/generated/ControlRouteHealth.schema.json +13 -1
  225. package/generated/ControlRunControlResponse.schema.json +41 -3
  226. package/generated/ControlRunDecisionRequest.schema.json +8 -2
  227. package/generated/ControlRunDecisionResponse.schema.json +4 -3
  228. package/generated/ControlRunDetail.schema.json +403 -11
  229. package/generated/ControlRunListResponse.schema.json +317 -7
  230. package/generated/ControlRunMessageResponse.schema.json +1 -1
  231. package/generated/ControlRunRetryResponse.schema.json +1 -1
  232. package/generated/ControlRunStartInfo.schema.json +1 -1
  233. package/generated/ControlRunStartResponse.schema.json +2 -2
  234. package/generated/ControlRunSummary.schema.json +317 -7
  235. package/generated/ControlThreadDetail.schema.json +6 -0
  236. package/generated/ControlThreadTurnResponse.schema.json +9 -0
  237. package/generated/ControlTrustListResponse.schema.json +8 -0
  238. package/generated/ControlTrustState.schema.json +8 -0
  239. package/generated/ControlUploadImport.schema.json +12 -2
  240. package/generated/ControlUploadImportRequest.schema.json +5 -0
  241. package/generated/DecisionRecord.schema.json +1 -0
  242. package/generated/DeferredMessageDetail.schema.json +43 -7
  243. package/generated/DeferredMessageProjection.schema.json +41 -3
  244. package/generated/DeferredMessageReadResult.schema.json +42 -4
  245. package/generated/DeferredMessageReceipt.schema.json +41 -3
  246. package/generated/EnvelopeCustody.schema.json +3 -2
  247. package/generated/GlobalConfig.schema.json +1 -1
  248. package/generated/HarnessEvent.schema.json +181 -4
  249. package/generated/HarnessManifest.schema.json +28 -2
  250. package/generated/HarnessProgram.schema.json +278 -0
  251. package/generated/HarnessProgramIdentity.schema.json +25 -0
  252. package/generated/HarnessStatusDto.schema.json +28 -2
  253. package/generated/McpAccountsToolResult.schema.json +88 -2
  254. package/generated/McpRunHandleResult.schema.json +141 -6
  255. package/generated/McpRunToolResult.schema.json +140 -6
  256. package/generated/McpRunWaitResult.schema.json +52 -5
  257. package/generated/McpThreadTurnResult.schema.json +9 -0
  258. package/generated/NativeProgramEvidence.schema.json +38 -0
  259. package/generated/RawContextPacket.schema.json +6 -4
  260. package/generated/RawGitPatchEnvelope.schema.json +1 -1
  261. package/generated/RoutePoolDegradedPayload.schema.json +2 -1
  262. package/generated/RunContinuityReceipt.schema.json +2 -1
  263. package/generated/RunFacts.schema.json +1 -0
  264. package/generated/RunFailure.schema.json +62 -2
  265. package/generated/RunResumable.schema.json +2 -1
  266. package/generated/RunTelemetry.schema.json +323 -7
  267. package/generated/RunWaitManyInput.schema.json +4 -0
  268. package/generated/RunWaitManyResult.schema.json +30 -0
  269. package/generated/SelectedHarnessProgram.schema.json +56 -0
  270. package/generated/TaskContract.schema.json +3 -3
  271. package/generated/TaskGroupReceipt.schema.json +1 -1
  272. package/generated/Thread.schema.json +41 -0
  273. package/generated/ThreadExportManifest.schema.json +461 -0
  274. package/generated/ThreadExportReceipt.schema.json +94 -0
  275. package/generated/ThreadHistoryPage.schema.json +71 -2
  276. package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
  277. package/generated/ThreadRetireRequest.schema.json +41 -0
  278. package/generated/ThreadRetirement.schema.json +175 -0
  279. package/generated/ThreadTurn.schema.json +1 -1
  280. package/generated/WorkspaceEnvelope.schema.json +1 -1
  281. package/package.json +2 -2
@@ -13,36 +13,53 @@
13
13
  "settled"
14
14
  ]
15
15
  },
16
- "mechanism": {
16
+ "target": {
17
17
  "anyOf": [
18
18
  {
19
- "type": "string",
20
- "enum": [
21
- "managed_npm",
22
- "vendor_updater",
23
- "vendor_script"
19
+ "type": "object",
20
+ "properties": {
21
+ "kind": {
22
+ "type": "string",
23
+ "const": "latest"
24
+ },
25
+ "version": {
26
+ "type": "null"
27
+ }
28
+ },
29
+ "required": [
30
+ "kind",
31
+ "version"
24
32
  ],
25
- "description": "managed_npm installs one exact registry version in place; vendor_updater runs the vendor's own `update` on its canonical launcher (latest only); vendor_script has no engine-run update."
33
+ "additionalProperties": false
26
34
  },
27
35
  {
28
- "type": "null"
36
+ "type": "object",
37
+ "properties": {
38
+ "kind": {
39
+ "type": "string",
40
+ "const": "version"
41
+ },
42
+ "version": {
43
+ "type": "string",
44
+ "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$",
45
+ "description": "One exact vendor version, never a range or a release fixture stamp."
46
+ }
47
+ },
48
+ "required": [
49
+ "kind",
50
+ "version"
51
+ ],
52
+ "additionalProperties": false
29
53
  }
30
- ],
31
- "description": "managed_npm installs one exact registry version in place; vendor_updater runs the vendor's own `update` on its canonical launcher (latest only); vendor_script has no engine-run update."
54
+ ]
32
55
  },
33
- "target": {
56
+ "requester": {
34
57
  "type": "object",
35
58
  "properties": {
36
- "kind": {
37
- "type": "string",
38
- "enum": [
39
- "latest",
40
- "version",
41
- "previous",
42
- "baseline"
43
- ]
59
+ "source": {
60
+ "type": "string"
44
61
  },
45
- "version": {
62
+ "requestId": {
46
63
  "type": [
47
64
  "string",
48
65
  "null"
@@ -50,8 +67,94 @@
50
67
  }
51
68
  },
52
69
  "required": [
53
- "kind",
54
- "version"
70
+ "source",
71
+ "requestId"
72
+ ],
73
+ "additionalProperties": false
74
+ },
75
+ "installationHome": {
76
+ "type": [
77
+ "string",
78
+ "null"
79
+ ]
80
+ },
81
+ "commands": {
82
+ "type": "array",
83
+ "items": {
84
+ "type": "object",
85
+ "properties": {
86
+ "binary": {
87
+ "type": "string"
88
+ },
89
+ "args": {
90
+ "type": "array",
91
+ "items": {
92
+ "type": "string"
93
+ }
94
+ },
95
+ "env": {
96
+ "type": "object",
97
+ "additionalProperties": {
98
+ "type": "string"
99
+ }
100
+ },
101
+ "script": {
102
+ "anyOf": [
103
+ {
104
+ "type": "object",
105
+ "properties": {
106
+ "url": {
107
+ "type": "string"
108
+ },
109
+ "size": {
110
+ "type": "integer",
111
+ "exclusiveMinimum": 0
112
+ },
113
+ "sha256": {
114
+ "type": "string"
115
+ }
116
+ },
117
+ "required": [
118
+ "url",
119
+ "size",
120
+ "sha256"
121
+ ],
122
+ "additionalProperties": false
123
+ },
124
+ {
125
+ "type": "null"
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ "required": [
131
+ "binary",
132
+ "args",
133
+ "env",
134
+ "script"
135
+ ],
136
+ "additionalProperties": false
137
+ }
138
+ },
139
+ "profileCleanup": {
140
+ "type": "object",
141
+ "properties": {
142
+ "plannedPaths": {
143
+ "type": "array",
144
+ "items": {
145
+ "type": "string"
146
+ }
147
+ },
148
+ "removedPaths": {
149
+ "type": "array",
150
+ "items": {
151
+ "type": "string"
152
+ }
153
+ }
154
+ },
155
+ "required": [
156
+ "plannedPaths",
157
+ "removedPaths"
55
158
  ],
56
159
  "additionalProperties": false
57
160
  },
@@ -60,37 +163,50 @@
60
163
  {
61
164
  "type": "object",
62
165
  "properties": {
166
+ "path": {
167
+ "type": [
168
+ "string",
169
+ "null"
170
+ ]
171
+ },
172
+ "realPath": {
173
+ "type": [
174
+ "string",
175
+ "null"
176
+ ]
177
+ },
63
178
  "version": {
64
179
  "type": [
65
180
  "string",
66
181
  "null"
67
182
  ]
68
183
  },
69
- "binary": {
184
+ "versionOutput": {
70
185
  "type": [
71
186
  "string",
72
187
  "null"
73
188
  ]
74
189
  },
75
- "selection": {
76
- "type": "string",
77
- "enum": [
78
- "managed",
79
- "override",
80
- "path",
81
- "missing"
82
- ],
83
- "description": "managed = Claudexor's managed npm copy; override = the explicit CLAUDEXOR_<HARNESS>_BIN program; path = another copy found on the harness PATH; missing = nothing launchable."
190
+ "overrideEnv": {
191
+ "type": [
192
+ "string",
193
+ "null"
194
+ ]
84
195
  },
85
- "proved": {
86
- "type": "boolean"
196
+ "overrideValue": {
197
+ "type": [
198
+ "string",
199
+ "null"
200
+ ]
87
201
  }
88
202
  },
89
203
  "required": [
204
+ "path",
205
+ "realPath",
90
206
  "version",
91
- "binary",
92
- "selection",
93
- "proved"
207
+ "versionOutput",
208
+ "overrideEnv",
209
+ "overrideValue"
94
210
  ],
95
211
  "additionalProperties": false
96
212
  },
@@ -100,35 +216,30 @@
100
216
  ]
101
217
  },
102
218
  "after": {
219
+ "anyOf": [
220
+ {
221
+ "$ref": "#/definitions/ControlHarnessMaintenanceOperation/properties/before/anyOf/0"
222
+ },
223
+ {
224
+ "type": "null"
225
+ }
226
+ ]
227
+ },
228
+ "elsewhere": {
103
229
  "anyOf": [
104
230
  {
105
231
  "type": "object",
106
232
  "properties": {
107
- "version": {
108
- "type": [
109
- "string",
110
- "null"
111
- ]
233
+ "before": {
234
+ "$ref": "#/definitions/ControlHarnessMaintenanceOperation/properties/before/anyOf/0"
112
235
  },
113
- "binary": {
114
- "type": [
115
- "string",
116
- "null"
117
- ]
118
- },
119
- "selected": {
120
- "type": "boolean",
121
- "description": "The harness now resolves this program."
122
- },
123
- "proved": {
124
- "type": "boolean"
236
+ "after": {
237
+ "$ref": "#/definitions/ControlHarnessMaintenanceOperation/properties/before/anyOf/0"
125
238
  }
126
239
  },
127
240
  "required": [
128
- "version",
129
- "binary",
130
- "selected",
131
- "proved"
241
+ "before",
242
+ "after"
132
243
  ],
133
244
  "additionalProperties": false
134
245
  },
@@ -137,14 +248,44 @@
137
248
  }
138
249
  ]
139
250
  },
251
+ "activeRunsAtStart": {
252
+ "anyOf": [
253
+ {
254
+ "type": "integer",
255
+ "minimum": 0
256
+ },
257
+ {
258
+ "type": "null"
259
+ }
260
+ ],
261
+ "description": "A fact, never permission to proceed; null when the CLI has no daemon run census."
262
+ },
263
+ "exitCode": {
264
+ "anyOf": [
265
+ {
266
+ "type": "integer"
267
+ },
268
+ {
269
+ "type": "null"
270
+ }
271
+ ]
272
+ },
273
+ "outcome": {
274
+ "type": "string",
275
+ "enum": [
276
+ "changed",
277
+ "not_changed",
278
+ "changed_elsewhere",
279
+ "unknown"
280
+ ]
281
+ },
140
282
  "mutation": {
141
283
  "type": "string",
142
284
  "enum": [
143
285
  "none",
144
286
  "applied",
145
287
  "unknown"
146
- ],
147
- "description": "Whether installed bytes could have changed."
288
+ ]
148
289
  },
149
290
  "termination": {
150
291
  "type": "string",
@@ -165,7 +306,8 @@
165
306
  "items": {
166
307
  "type": "string"
167
308
  },
168
- "maxItems": 40
309
+ "maxItems": 40,
310
+ "description": "Bounded, redacted vendor diagnostics, including advice when nothing changed."
169
311
  },
170
312
  "problem": {
171
313
  "anyOf": [
@@ -274,10 +416,16 @@
274
416
  },
275
417
  "required": [
276
418
  "phase",
277
- "mechanism",
278
419
  "target",
420
+ "requester",
421
+ "installationHome",
422
+ "commands",
279
423
  "before",
280
424
  "after",
425
+ "elsewhere",
426
+ "activeRunsAtStart",
427
+ "exitCode",
428
+ "outcome",
281
429
  "mutation",
282
430
  "termination",
283
431
  "limitations",
@@ -291,7 +439,7 @@
291
439
  "finishedAt"
292
440
  ],
293
441
  "additionalProperties": false,
294
- "description": "A durable harness maintenance operation; 202 on create is a handle, not success."
442
+ "description": "A durable maintenance operation; acceptance is a handle, not completion."
295
443
  }
296
444
  },
297
445
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -10,6 +10,33 @@
10
10
  "type": "string",
11
11
  "description": "Harness the models belong to."
12
12
  },
13
+ "sourceProgram": {
14
+ "anyOf": [
15
+ {
16
+ "type": "object",
17
+ "properties": {
18
+ "path": {
19
+ "type": "string"
20
+ },
21
+ "version": {
22
+ "type": [
23
+ "string",
24
+ "null"
25
+ ]
26
+ }
27
+ },
28
+ "required": [
29
+ "path",
30
+ "version"
31
+ ],
32
+ "additionalProperties": false
33
+ },
34
+ {
35
+ "type": "null"
36
+ }
37
+ ],
38
+ "default": null
39
+ },
13
40
  "models": {
14
41
  "type": "array",
15
42
  "items": {
@@ -336,6 +363,9 @@
336
363
  "harnessId": {
337
364
  "$ref": "#/definitions/ControlHarnessModelsQueryResponse/anyOf/0/properties/harnessId"
338
365
  },
366
+ "sourceProgram": {
367
+ "$ref": "#/definitions/ControlHarnessModelsQueryResponse/anyOf/0/properties/sourceProgram"
368
+ },
339
369
  "models": {
340
370
  "$ref": "#/definitions/ControlHarnessModelsQueryResponse/anyOf/0/properties/models"
341
371
  },
@@ -8,6 +8,33 @@
8
8
  "type": "string",
9
9
  "description": "Harness the models belong to."
10
10
  },
11
+ "sourceProgram": {
12
+ "anyOf": [
13
+ {
14
+ "type": "object",
15
+ "properties": {
16
+ "path": {
17
+ "type": "string"
18
+ },
19
+ "version": {
20
+ "type": [
21
+ "string",
22
+ "null"
23
+ ]
24
+ }
25
+ },
26
+ "required": [
27
+ "path",
28
+ "version"
29
+ ],
30
+ "additionalProperties": false
31
+ },
32
+ {
33
+ "type": "null"
34
+ }
35
+ ],
36
+ "default": null
37
+ },
11
38
  "models": {
12
39
  "type": "array",
13
40
  "items": {
@@ -90,6 +90,33 @@
90
90
  {
91
91
  "type": "object",
92
92
  "properties": {
93
+ "sourceProgram": {
94
+ "anyOf": [
95
+ {
96
+ "type": "object",
97
+ "properties": {
98
+ "path": {
99
+ "type": "string"
100
+ },
101
+ "version": {
102
+ "type": [
103
+ "string",
104
+ "null"
105
+ ]
106
+ }
107
+ },
108
+ "required": [
109
+ "path",
110
+ "version"
111
+ ],
112
+ "additionalProperties": false
113
+ },
114
+ {
115
+ "type": "null"
116
+ }
117
+ ],
118
+ "default": null
119
+ },
93
120
  "source": {
94
121
  "$ref": "#/definitions/ControlModelAccountCatalogResponse/properties/source"
95
122
  },
@@ -6,6 +6,33 @@
6
6
  {
7
7
  "type": "object",
8
8
  "properties": {
9
+ "sourceProgram": {
10
+ "anyOf": [
11
+ {
12
+ "type": "object",
13
+ "properties": {
14
+ "path": {
15
+ "type": "string"
16
+ },
17
+ "version": {
18
+ "type": [
19
+ "string",
20
+ "null"
21
+ ]
22
+ }
23
+ },
24
+ "required": [
25
+ "path",
26
+ "version"
27
+ ],
28
+ "additionalProperties": false
29
+ },
30
+ {
31
+ "type": "null"
32
+ }
33
+ ],
34
+ "default": null
35
+ },
9
36
  "source": {
10
37
  "type": "string",
11
38
  "minLength": 1,
@@ -4,6 +4,33 @@
4
4
  "ControlModelCatalogResponse": {
5
5
  "type": "object",
6
6
  "properties": {
7
+ "sourceProgram": {
8
+ "anyOf": [
9
+ {
10
+ "type": "object",
11
+ "properties": {
12
+ "path": {
13
+ "type": "string"
14
+ },
15
+ "version": {
16
+ "type": [
17
+ "string",
18
+ "null"
19
+ ]
20
+ }
21
+ },
22
+ "required": [
23
+ "path",
24
+ "version"
25
+ ],
26
+ "additionalProperties": false
27
+ },
28
+ {
29
+ "type": "null"
30
+ }
31
+ ],
32
+ "default": null
33
+ },
7
34
  "source": {
8
35
  "type": "string",
9
36
  "minLength": 1,
@@ -113,7 +113,16 @@
113
113
  "null"
114
114
  ],
115
115
  "default": null,
116
- "description": "When the interaction times out into a benign decline; null = no timeout."
116
+ "description": "When the interaction expires unanswered; null = no automatic expiry. A blocking question then declines benignly; an async one closes and nothing is sent."
117
+ },
118
+ "delivery": {
119
+ "type": "string",
120
+ "enum": [
121
+ "blocking",
122
+ "async"
123
+ ],
124
+ "description": "How the asking agent waits for the answer: blocking (its native tool call waits until the question is answered, declined, expired or released) or async (the agent keeps working and an answer reaches it later as its next user message). Silence, expiry and the run's end never answer either kind.",
125
+ "default": "blocking"
117
126
  }
118
127
  },
119
128
  "required": [
@@ -12,7 +12,7 @@
12
12
  "storeId": {
13
13
  "type": "string",
14
14
  "minLength": 1,
15
- "description": "Identity of the durable engine store that accepted this group member, stable across restarts."
15
+ "description": "Identity of the durable engine store that accepted this command, stable across restarts. A group member always carries it; an ordinary receipt carries it only for a request sending `X-Claudexor-Store-Identity: 1`, and it stays absent, meaning unknown, when the store has no identity to give."
16
16
  },
17
17
  "jobId": {
18
18
  "type": "string",
@@ -14,6 +14,11 @@
14
14
  "const": "model",
15
15
  "description": "Immutable model-operation purpose; absent means a legacy or ordinary attachment."
16
16
  },
17
+ "lifetime": {
18
+ "type": "string",
19
+ "const": "managed",
20
+ "description": "managed: its caller may later release the ID (POST /v2/resources/:id/release), after which no new reference is admitted while already accepted work keeps the bytes. Absent: indefinite reuse."
21
+ },
17
22
  "kind": {
18
23
  "type": "string",
19
24
  "enum": [
@@ -0,0 +1,44 @@
1
+ {
2
+ "$ref": "#/definitions/ControlResourceRelease",
3
+ "definitions": {
4
+ "ControlResourceRelease": {
5
+ "type": "object",
6
+ "properties": {
7
+ "storeId": {
8
+ "type": "string",
9
+ "minLength": 1,
10
+ "description": "Durable store that released the resource."
11
+ },
12
+ "resourceId": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "description": "Non-empty identifier string."
16
+ },
17
+ "sha256": {
18
+ "type": "string",
19
+ "minLength": 1,
20
+ "description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
21
+ },
22
+ "state": {
23
+ "type": "string",
24
+ "const": "released"
25
+ },
26
+ "releasedAt": {
27
+ "type": "string",
28
+ "minLength": 1,
29
+ "description": "The first release; a repeat answers the same instant."
30
+ }
31
+ },
32
+ "required": [
33
+ "storeId",
34
+ "resourceId",
35
+ "sha256",
36
+ "state",
37
+ "releasedAt"
38
+ ],
39
+ "additionalProperties": false,
40
+ "description": "Receipt of a released managed resource. Not a deletion: bytes stay while accepted commands, turns or drafts hold them or another live resource shares the digest."
41
+ }
42
+ },
43
+ "$schema": "http://json-schema.org/draft-07/schema#"
44
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$ref": "#/definitions/ControlResourceReleaseRequest",
3
+ "definitions": {
4
+ "ControlResourceReleaseRequest": {
5
+ "type": "object",
6
+ "properties": {
7
+ "expectedStoreId": {
8
+ "type": "string",
9
+ "minLength": 1,
10
+ "description": "Store UUID saved with the import; a different store is refused before any effect."
11
+ },
12
+ "sha256": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "description": "Digest of the resource receipt being released."
16
+ }
17
+ },
18
+ "required": [
19
+ "expectedStoreId",
20
+ "sha256"
21
+ ],
22
+ "additionalProperties": false,
23
+ "description": "Release a managed resource: no new run, turn, retry, continuation or draft may reference it afterwards; already accepted work keeps its bytes. Naturally idempotent."
24
+ }
25
+ },
26
+ "$schema": "http://json-schema.org/draft-07/schema#"
27
+ }