@claudexor/schema 3.17.0 → 3.17.2

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 (79) hide show
  1. package/dist/agent-capabilities.d.ts +144 -0
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +2 -0
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/control-harness-list.d.ts +76 -0
  6. package/dist/control-harness-list.d.ts.map +1 -1
  7. package/dist/control-operation-responses.d.ts +87 -7
  8. package/dist/control-operation-responses.d.ts.map +1 -1
  9. package/dist/control-run-detail.d.ts +241 -19
  10. package/dist/control-run-detail.d.ts.map +1 -1
  11. package/dist/control-run-failure.d.ts +48 -4
  12. package/dist/control-run-failure.d.ts.map +1 -1
  13. package/dist/control-run-failure.js +3 -0
  14. package/dist/control-run-failure.js.map +1 -1
  15. package/dist/control.d.ts +67 -5
  16. package/dist/control.d.ts.map +1 -1
  17. package/dist/control.js +1 -1
  18. package/dist/control.js.map +1 -1
  19. package/dist/credential-profile-snapshot.d.ts +173 -0
  20. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  21. package/dist/credential-profile.d.ts +61 -0
  22. package/dist/credential-profile.d.ts.map +1 -1
  23. package/dist/credential-profile.js +29 -0
  24. package/dist/credential-profile.js.map +1 -1
  25. package/dist/effort.d.ts +32 -1
  26. package/dist/effort.d.ts.map +1 -1
  27. package/dist/effort.js +16 -1
  28. package/dist/effort.js.map +1 -1
  29. package/dist/harness-input.d.ts +90 -0
  30. package/dist/harness-input.d.ts.map +1 -0
  31. package/dist/harness-input.js +33 -0
  32. package/dist/harness-input.js.map +1 -0
  33. package/dist/harness.d.ts +176 -1
  34. package/dist/harness.d.ts.map +1 -1
  35. package/dist/harness.js +8 -2
  36. package/dist/harness.js.map +1 -1
  37. package/dist/mcp-run-result.d.ts +134 -10
  38. package/dist/mcp-run-result.d.ts.map +1 -1
  39. package/dist/model-operation.d.ts +113 -0
  40. package/dist/model-operation.d.ts.map +1 -1
  41. package/dist/model-operation.js +13 -2
  42. package/dist/model-operation.js.map +1 -1
  43. package/dist/readiness.d.ts +62 -0
  44. package/dist/readiness.d.ts.map +1 -1
  45. package/dist/setup.js +1 -1
  46. package/dist/setup.js.map +1 -1
  47. package/dist/telemetry.d.ts +222 -0
  48. package/dist/telemetry.d.ts.map +1 -1
  49. package/dist/telemetry.js +4 -1
  50. package/dist/telemetry.js.map +1 -1
  51. package/generated/AgentCapabilityCatalog.schema.json +61 -0
  52. package/generated/ControlCredentialProfileCreateResponse.schema.json +7 -0
  53. package/generated/ControlCredentialProfileUpdateResponse.schema.json +7 -0
  54. package/generated/ControlCredentialProfilesQueryResponse.schema.json +48 -0
  55. package/generated/ControlCredentialProfilesResponse.schema.json +7 -0
  56. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +48 -0
  57. package/generated/ControlHarnessListResponse.schema.json +41 -0
  58. package/generated/ControlModelAccountCatalogResponse.schema.json +11 -0
  59. package/generated/ControlModelCatalogQueryResponse.schema.json +11 -0
  60. package/generated/ControlModelCatalogResponse.schema.json +11 -0
  61. package/generated/ControlModelOperationDetail.schema.json +1 -1
  62. package/generated/ControlRunAgainDraft.schema.json +1 -1
  63. package/generated/ControlRunDetail.schema.json +63 -0
  64. package/generated/ControlRunListResponse.schema.json +63 -0
  65. package/generated/ControlRunStartRequest.schema.json +1 -1
  66. package/generated/ControlRunSummary.schema.json +63 -0
  67. package/generated/ControlThreadTurnRequest.schema.json +1 -1
  68. package/generated/CredentialProfileStatus.schema.json +7 -0
  69. package/generated/EffortResolution.schema.json +103 -0
  70. package/generated/HarnessEvent.schema.json +166 -10
  71. package/generated/HarnessManifest.schema.json +41 -0
  72. package/generated/HarnessStatusDto.schema.json +41 -0
  73. package/generated/McpRunHandleResult.schema.json +63 -0
  74. package/generated/McpRunToolResult.schema.json +63 -0
  75. package/generated/ModelCallRequest.schema.json +1 -1
  76. package/generated/ModelCallResult.schema.json +96 -1
  77. package/generated/RunFailure.schema.json +63 -0
  78. package/generated/RunTelemetry.schema.json +165 -9
  79. package/package.json +2 -2
@@ -126,6 +126,13 @@
126
126
  "minimum": 0,
127
127
  "description": "Age in milliseconds of the bounded stale observation, when stale is true."
128
128
  },
129
+ "stale_basis": {
130
+ "type": "string",
131
+ "enum": [
132
+ "last_positive_after_timeout"
133
+ ],
134
+ "description": "Basis of a stale observation: last_positive_after_timeout = the status probe did not answer within its budget and this row store's last positive status answer, still inside its bounded interval, stands in; unpinned pool admission alone may consume it. Absent = the generic last-known-good grace, consumable only by an already selected route."
135
+ },
129
136
  "detail": {
130
137
  "type": "string",
131
138
  "description": "Redacted human-readable probe evidence."
@@ -725,6 +732,47 @@
725
732
  },
726
733
  "default": []
727
734
  },
735
+ "input_limits": {
736
+ "type": "array",
737
+ "items": {
738
+ "type": "object",
739
+ "properties": {
740
+ "scope": {
741
+ "type": "string",
742
+ "const": "turn_text",
743
+ "description": "All text input items in one native turn; separate instructions are excluded."
744
+ },
745
+ "unit": {
746
+ "type": "string",
747
+ "const": "unicode_scalars"
748
+ },
749
+ "limit": {
750
+ "type": "integer",
751
+ "exclusiveMinimum": 0,
752
+ "minimum": -9007199254740991,
753
+ "maximum": 9007199254740991
754
+ },
755
+ "source": {
756
+ "type": "string",
757
+ "minLength": 1
758
+ },
759
+ "verified_against": {
760
+ "type": "string",
761
+ "minLength": 1,
762
+ "description": "Native runtime version against which the bound was observed."
763
+ }
764
+ },
765
+ "required": [
766
+ "scope",
767
+ "unit",
768
+ "limit",
769
+ "source",
770
+ "verified_against"
771
+ ],
772
+ "additionalProperties": false,
773
+ "description": "Adapter-owned observed input bound, not a predictive refusal or a model-window claim."
774
+ }
775
+ },
728
776
  "mcp_injection": {
729
777
  "type": "boolean",
730
778
  "default": false,
@@ -360,6 +360,47 @@
360
360
  },
361
361
  "default": []
362
362
  },
363
+ "input_limits": {
364
+ "type": "array",
365
+ "items": {
366
+ "type": "object",
367
+ "properties": {
368
+ "scope": {
369
+ "type": "string",
370
+ "const": "turn_text",
371
+ "description": "All text input items in one native turn; separate instructions are excluded."
372
+ },
373
+ "unit": {
374
+ "type": "string",
375
+ "const": "unicode_scalars"
376
+ },
377
+ "limit": {
378
+ "type": "integer",
379
+ "exclusiveMinimum": 0,
380
+ "minimum": -9007199254740991,
381
+ "maximum": 9007199254740991
382
+ },
383
+ "source": {
384
+ "type": "string",
385
+ "minLength": 1
386
+ },
387
+ "verified_against": {
388
+ "type": "string",
389
+ "minLength": 1,
390
+ "description": "Native runtime version against which the bound was observed."
391
+ }
392
+ },
393
+ "required": [
394
+ "scope",
395
+ "unit",
396
+ "limit",
397
+ "source",
398
+ "verified_against"
399
+ ],
400
+ "additionalProperties": false,
401
+ "description": "Adapter-owned observed input bound, not a predictive refusal or a model-window claim."
402
+ }
403
+ },
363
404
  "mcp_injection": {
364
405
  "type": "boolean",
365
406
  "default": false,
@@ -206,6 +206,17 @@
206
206
  "type": "string"
207
207
  }
208
208
  },
209
+ "reasoningEffortPreferenceOrder": {
210
+ "type": "array",
211
+ "items": {
212
+ "$ref": "#/definitions/ControlModelAccountCatalogResponse/properties/accounts/items/properties/catalog/anyOf/0/properties/clientVersion/anyOf/0"
213
+ },
214
+ "description": "Internal vendor order for preference adaptation when it includes choices the raw transport cannot submit. Not accepted values; projected out of both public catalog views."
215
+ },
216
+ "reasoningEffortsVerified": {
217
+ "type": "boolean",
218
+ "description": "Whether the provider supplied a fully parsed effort array, including a known empty array. Missing on historical catalogs means unverified."
219
+ },
209
220
  "defaultReasoningEffort": {
210
221
  "type": [
211
222
  "string",
@@ -124,6 +124,17 @@
124
124
  "type": "string"
125
125
  }
126
126
  },
127
+ "reasoningEffortPreferenceOrder": {
128
+ "type": "array",
129
+ "items": {
130
+ "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/clientVersion/anyOf/0"
131
+ },
132
+ "description": "Internal vendor order for preference adaptation when it includes choices the raw transport cannot submit. Not accepted values; projected out of both public catalog views."
133
+ },
134
+ "reasoningEffortsVerified": {
135
+ "type": "boolean",
136
+ "description": "Whether the provider supplied a fully parsed effort array, including a known empty array. Missing on historical catalogs means unverified."
137
+ },
127
138
  "defaultReasoningEffort": {
128
139
  "type": [
129
140
  "string",
@@ -122,6 +122,17 @@
122
122
  "type": "string"
123
123
  }
124
124
  },
125
+ "reasoningEffortPreferenceOrder": {
126
+ "type": "array",
127
+ "items": {
128
+ "$ref": "#/definitions/ControlModelCatalogResponse/properties/clientVersion/anyOf/0"
129
+ },
130
+ "description": "Internal vendor order for preference adaptation when it includes choices the raw transport cannot submit. Not accepted values; projected out of both public catalog views."
131
+ },
132
+ "reasoningEffortsVerified": {
133
+ "type": "boolean",
134
+ "description": "Whether the provider supplied a fully parsed effort array, including a known empty array. Missing on historical catalogs means unverified."
135
+ },
125
136
  "defaultReasoningEffort": {
126
137
  "type": [
127
138
  "string",
@@ -117,7 +117,7 @@
117
117
  "route"
118
118
  ],
119
119
  "additionalProperties": false,
120
- "description": "Started means the physical send may have begun, not proof the upstream accepted it."
120
+ "description": "Started means the physical send may have begun, not proof the upstream accepted it. A terminal not_started may refine that attempted send only with typed proof no complete inference request was delivered; startedAt and route retain the attempt."
121
121
  },
122
122
  "response": {
123
123
  "anyOf": [
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "instructions": {
21
21
  "type": "string",
22
- "description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt / developer_instructions) or as a delimited prompt prefix."
22
+ "description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt-file / developer_instructions) or as a delimited prompt prefix."
23
23
  },
24
24
  "attachments": {
25
25
  "type": "array",
@@ -307,6 +307,68 @@
307
307
  {
308
308
  "type": "object",
309
309
  "properties": {
310
+ "requestRefusal": {
311
+ "type": "object",
312
+ "properties": {
313
+ "scope": {
314
+ "type": "string",
315
+ "const": "turn_text",
316
+ "description": "All text input items in one native turn; separate instructions are excluded."
317
+ },
318
+ "unit": {
319
+ "type": "string",
320
+ "const": "unicode_scalars"
321
+ },
322
+ "limit": {
323
+ "anyOf": [
324
+ {
325
+ "type": "integer",
326
+ "exclusiveMinimum": 0,
327
+ "minimum": -9007199254740991,
328
+ "maximum": 9007199254740991
329
+ },
330
+ {
331
+ "type": "null"
332
+ }
333
+ ]
334
+ },
335
+ "source": {
336
+ "type": "string",
337
+ "minLength": 1
338
+ },
339
+ "kind": {
340
+ "type": "string",
341
+ "const": "input_too_large"
342
+ },
343
+ "actual": {
344
+ "anyOf": [
345
+ {
346
+ "type": "integer",
347
+ "minimum": -9007199254740991,
348
+ "maximum": 9007199254740991
349
+ },
350
+ {
351
+ "type": "null"
352
+ }
353
+ ]
354
+ },
355
+ "native_code": {
356
+ "type": "string",
357
+ "minLength": 1
358
+ }
359
+ },
360
+ "required": [
361
+ "scope",
362
+ "unit",
363
+ "limit",
364
+ "source",
365
+ "kind",
366
+ "actual",
367
+ "native_code"
368
+ ],
369
+ "additionalProperties": false,
370
+ "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
371
+ },
310
372
  "phase": {
311
373
  "type": "string",
312
374
  "default": "unknown",
@@ -344,6 +406,7 @@
344
406
  "delegation_child_drain_timeout",
345
407
  "subscription_window_exhausted",
346
408
  "credential_pool_exhausted",
409
+ "input_too_large",
347
410
  "delegated_home_unavailable",
348
411
  "delegated_confinement_unavailable",
349
412
  "delegated_evidence_incomplete",
@@ -127,6 +127,68 @@
127
127
  {
128
128
  "type": "object",
129
129
  "properties": {
130
+ "requestRefusal": {
131
+ "type": "object",
132
+ "properties": {
133
+ "scope": {
134
+ "type": "string",
135
+ "const": "turn_text",
136
+ "description": "All text input items in one native turn; separate instructions are excluded."
137
+ },
138
+ "unit": {
139
+ "type": "string",
140
+ "const": "unicode_scalars"
141
+ },
142
+ "limit": {
143
+ "anyOf": [
144
+ {
145
+ "type": "integer",
146
+ "exclusiveMinimum": 0,
147
+ "minimum": -9007199254740991,
148
+ "maximum": 9007199254740991
149
+ },
150
+ {
151
+ "type": "null"
152
+ }
153
+ ]
154
+ },
155
+ "source": {
156
+ "type": "string",
157
+ "minLength": 1
158
+ },
159
+ "kind": {
160
+ "type": "string",
161
+ "const": "input_too_large"
162
+ },
163
+ "actual": {
164
+ "anyOf": [
165
+ {
166
+ "type": "integer",
167
+ "minimum": -9007199254740991,
168
+ "maximum": 9007199254740991
169
+ },
170
+ {
171
+ "type": "null"
172
+ }
173
+ ]
174
+ },
175
+ "native_code": {
176
+ "type": "string",
177
+ "minLength": 1
178
+ }
179
+ },
180
+ "required": [
181
+ "scope",
182
+ "unit",
183
+ "limit",
184
+ "source",
185
+ "kind",
186
+ "actual",
187
+ "native_code"
188
+ ],
189
+ "additionalProperties": false,
190
+ "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
191
+ },
130
192
  "phase": {
131
193
  "type": "string",
132
194
  "default": "unknown",
@@ -164,6 +226,7 @@
164
226
  "delegation_child_drain_timeout",
165
227
  "subscription_window_exhausted",
166
228
  "credential_pool_exhausted",
229
+ "input_too_large",
167
230
  "delegated_home_unavailable",
168
231
  "delegated_confinement_unavailable",
169
232
  "delegated_evidence_incomplete",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "instructions": {
13
13
  "type": "string",
14
- "description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt / developer_instructions) or as a delimited prompt prefix."
14
+ "description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt-file / developer_instructions) or as a delimited prompt prefix."
15
15
  },
16
16
  "attachments": {
17
17
  "type": "array",
@@ -122,6 +122,68 @@
122
122
  {
123
123
  "type": "object",
124
124
  "properties": {
125
+ "requestRefusal": {
126
+ "type": "object",
127
+ "properties": {
128
+ "scope": {
129
+ "type": "string",
130
+ "const": "turn_text",
131
+ "description": "All text input items in one native turn; separate instructions are excluded."
132
+ },
133
+ "unit": {
134
+ "type": "string",
135
+ "const": "unicode_scalars"
136
+ },
137
+ "limit": {
138
+ "anyOf": [
139
+ {
140
+ "type": "integer",
141
+ "exclusiveMinimum": 0,
142
+ "minimum": -9007199254740991,
143
+ "maximum": 9007199254740991
144
+ },
145
+ {
146
+ "type": "null"
147
+ }
148
+ ]
149
+ },
150
+ "source": {
151
+ "type": "string",
152
+ "minLength": 1
153
+ },
154
+ "kind": {
155
+ "type": "string",
156
+ "const": "input_too_large"
157
+ },
158
+ "actual": {
159
+ "anyOf": [
160
+ {
161
+ "type": "integer",
162
+ "minimum": -9007199254740991,
163
+ "maximum": 9007199254740991
164
+ },
165
+ {
166
+ "type": "null"
167
+ }
168
+ ]
169
+ },
170
+ "native_code": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ }
174
+ },
175
+ "required": [
176
+ "scope",
177
+ "unit",
178
+ "limit",
179
+ "source",
180
+ "kind",
181
+ "actual",
182
+ "native_code"
183
+ ],
184
+ "additionalProperties": false,
185
+ "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
186
+ },
125
187
  "phase": {
126
188
  "type": "string",
127
189
  "default": "unknown",
@@ -159,6 +221,7 @@
159
221
  "delegation_child_drain_timeout",
160
222
  "subscription_window_exhausted",
161
223
  "credential_pool_exhausted",
224
+ "input_too_large",
162
225
  "delegated_home_unavailable",
163
226
  "delegated_confinement_unavailable",
164
227
  "delegated_evidence_incomplete",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "instructions": {
13
13
  "type": "string",
14
- "description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt / developer_instructions) or as a delimited prompt prefix."
14
+ "description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt-file / developer_instructions) or as a delimited prompt prefix."
15
15
  },
16
16
  "attachments": {
17
17
  "type": "array",
@@ -46,6 +46,13 @@
46
46
  "minimum": 0,
47
47
  "description": "Age in milliseconds of the bounded stale observation, when stale is true."
48
48
  },
49
+ "stale_basis": {
50
+ "type": "string",
51
+ "enum": [
52
+ "last_positive_after_timeout"
53
+ ],
54
+ "description": "Basis of a stale observation: last_positive_after_timeout = the status probe did not answer within its budget and this row store's last positive status answer, still inside its bounded interval, stands in; unpinned pool admission alone may consume it. Absent = the generic last-known-good grace, consumable only by an already selected route."
55
+ },
49
56
  "detail": {
50
57
  "type": "string",
51
58
  "description": "Redacted human-readable probe evidence."
@@ -0,0 +1,103 @@
1
+ {
2
+ "$ref": "#/definitions/EffortResolution",
3
+ "definitions": {
4
+ "EffortResolution": {
5
+ "type": "object",
6
+ "properties": {
7
+ "requested": {
8
+ "anyOf": [
9
+ {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "pattern": "\\S",
13
+ "description": "User-supplied string that must contain visible content, not just whitespace."
14
+ },
15
+ {
16
+ "type": "null"
17
+ }
18
+ ],
19
+ "description": "Original effort preference before adaptation; null when none was requested."
20
+ },
21
+ "submitted": {
22
+ "anyOf": [
23
+ {
24
+ "$ref": "#/definitions/EffortResolution/properties/requested/anyOf/0"
25
+ },
26
+ {
27
+ "type": "null"
28
+ }
29
+ ],
30
+ "description": "Native option prepared for transport; null means omitted, never the explicit token none. Not proof of dispatch."
31
+ },
32
+ "resolution": {
33
+ "type": "string",
34
+ "enum": [
35
+ "exact",
36
+ "downward",
37
+ "floor",
38
+ "omitted",
39
+ "unverifiable",
40
+ "rejected"
41
+ ]
42
+ },
43
+ "source": {
44
+ "type": "string",
45
+ "enum": [
46
+ "account_catalog",
47
+ "live_probe",
48
+ "versioned_snapshot",
49
+ "adapter"
50
+ ]
51
+ },
52
+ "parameter": {
53
+ "anyOf": [
54
+ {
55
+ "$ref": "#/definitions/EffortResolution/properties/requested/anyOf/0"
56
+ },
57
+ {
58
+ "type": "null"
59
+ }
60
+ ],
61
+ "description": "Native carrier, such as reasoning.effort, model_reasoning_effort or --effort; null when no separate knob is carried."
62
+ },
63
+ "observed": {
64
+ "anyOf": [
65
+ {
66
+ "$ref": "#/definitions/EffortResolution/properties/requested/anyOf/0"
67
+ },
68
+ {
69
+ "type": "null"
70
+ }
71
+ ],
72
+ "description": "Provider-reported effort only; null when unobserved, never copied from submission."
73
+ },
74
+ "observedSource": {
75
+ "anyOf": [
76
+ {
77
+ "$ref": "#/definitions/EffortResolution/properties/requested/anyOf/0"
78
+ },
79
+ {
80
+ "type": "null"
81
+ }
82
+ ],
83
+ "description": "Provider event/field that reported observed effort; null when unobserved."
84
+ },
85
+ "reason": {
86
+ "$ref": "#/definitions/EffortResolution/properties/requested/anyOf/0",
87
+ "description": "Diagnostic explanation; consumers branch on resolution, never prose."
88
+ }
89
+ },
90
+ "required": [
91
+ "requested",
92
+ "submitted",
93
+ "resolution",
94
+ "source",
95
+ "parameter",
96
+ "observed",
97
+ "observedSource"
98
+ ],
99
+ "additionalProperties": false
100
+ }
101
+ },
102
+ "$schema": "http://json-schema.org/draft-07/schema#"
103
+ }