@claudexor/schema 4.2.0 → 4.3.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/account-resources.d.ts +3957 -662
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +32 -0
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +166 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/agent-capabilities.js +1 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attempt-execution.d.ts +5 -0
- package/dist/attempt-execution.d.ts.map +1 -1
- package/dist/budget.d.ts +16 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +13 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +12 -12
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/control-operation-responses.d.ts +27 -24
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +61 -42
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control.d.ts +45 -39
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +9 -21
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +332 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +5 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +9 -2
- package/dist/decision.js.map +1 -1
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +11 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +7 -0
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +32 -4
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -4
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +19 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/model-image.d.ts +7 -0
- package/dist/model-image.d.ts.map +1 -1
- package/dist/model-operation.d.ts +26 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +3 -1
- package/dist/model-operation.js.map +1 -1
- package/dist/processing.d.ts +56 -0
- package/dist/processing.d.ts.map +1 -1
- package/dist/processing.js +15 -0
- package/dist/processing.js.map +1 -1
- package/dist/quota-read.d.ts +3 -3
- package/dist/quota-read.js +1 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/run-continuation.d.ts +6 -6
- package/dist/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-time-limit.d.ts +81 -0
- package/dist/run-time-limit.d.ts.map +1 -0
- package/dist/run-time-limit.js +36 -0
- package/dist/run-time-limit.js.map +1 -0
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +9 -0
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/telemetry.d.ts +12 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/AttemptExecutionEvidence.schema.json +6 -1
- package/generated/BudgetLease.schema.json +5 -0
- package/generated/ControlAccountResetResponse.schema.json +51 -0
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1016 -0
- package/generated/ControlAccountResourcesResponse.schema.json +71 -20
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -1
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlModelAccountCatalogResponse.schema.json +2 -1
- package/generated/ControlModelCatalogQueryResponse.schema.json +2 -1
- package/generated/ControlModelCatalogResponse.schema.json +2 -1
- package/generated/ControlModelOperationDetail.schema.json +5 -0
- package/generated/ControlQuotaQueryResponse.schema.json +131 -20
- package/generated/ControlQuotaReadRequest.schema.json +2 -1
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +9 -1
- package/generated/ControlRunDetail.schema.json +25 -4
- package/generated/ControlRunListResponse.schema.json +2 -1
- package/generated/ControlRunStartRequest.schema.json +9 -1
- package/generated/ControlRunSummary.schema.json +2 -1
- package/generated/ControlSettingsSnapshot.schema.json +10 -3
- package/generated/ControlThreadTurnRequest.schema.json +9 -1
- package/generated/DecisionRecord.schema.json +8 -1
- package/generated/EnvelopeCustody.schema.json +2 -1
- package/generated/GlobalConfig.schema.json +10 -3
- package/generated/HarnessEvent.schema.json +24 -0
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/ImageCallResult.schema.json +5 -0
- package/generated/McpAccountsToolResult.schema.json +72 -21
- package/generated/McpRunHandleResult.schema.json +15 -2
- package/generated/McpRunToolResult.schema.json +6 -1
- package/generated/ModelCallResult.schema.json +5 -0
- package/generated/ProcessingCostBasis.schema.json +5 -0
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunProcessingIntent.schema.json +117 -0
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +6 -1
- package/generated/RunTimeLimitRequest.schema.json +92 -0
- package/generated/RunTimeLimitSnapshot.schema.json +61 -0
- package/generated/UsageCostSummary.schema.json +1 -1
- package/package.json +2 -2
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
"tool_policy",
|
|
766
766
|
"none"
|
|
767
767
|
],
|
|
768
|
-
"description": "How workspace_write access is CONFINED for a harness: a filesystem/network sandbox (codex seatbelt), a tool-permission policy with no FS/network fence (claude — an allowed shell is unconfined), or none (write intent is advisory).",
|
|
768
|
+
"description": "How workspace_write access is CONFINED for a harness: a filesystem/network base sandbox (codex seatbelt; the harness's native automatic reviewer may still admit individual actions outside it, so fs_sandbox does not mean every admitted action stays inside), a tool-permission policy with no FS/network fence (claude — an allowed shell is unconfined), or none (write intent is advisory).",
|
|
769
769
|
"default": "none"
|
|
770
770
|
}
|
|
771
771
|
},
|
|
@@ -1979,6 +1979,53 @@
|
|
|
1979
1979
|
"items": {
|
|
1980
1980
|
"type": "object",
|
|
1981
1981
|
"properties": {
|
|
1982
|
+
"scope": {
|
|
1983
|
+
"type": "string",
|
|
1984
|
+
"enum": [
|
|
1985
|
+
"personal",
|
|
1986
|
+
"team"
|
|
1987
|
+
]
|
|
1988
|
+
},
|
|
1989
|
+
"usage_kind": {
|
|
1990
|
+
"type": "string",
|
|
1991
|
+
"enum": [
|
|
1992
|
+
"included",
|
|
1993
|
+
"bonus",
|
|
1994
|
+
"on_demand",
|
|
1995
|
+
"total"
|
|
1996
|
+
]
|
|
1997
|
+
},
|
|
1998
|
+
"period": {
|
|
1999
|
+
"type": "object",
|
|
2000
|
+
"properties": {
|
|
2001
|
+
"starts_at": {
|
|
2002
|
+
"anyOf": [
|
|
2003
|
+
{
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"format": "date-time"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"type": "null"
|
|
2009
|
+
}
|
|
2010
|
+
]
|
|
2011
|
+
},
|
|
2012
|
+
"ends_at": {
|
|
2013
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2014
|
+
}
|
|
2015
|
+
},
|
|
2016
|
+
"required": [
|
|
2017
|
+
"starts_at",
|
|
2018
|
+
"ends_at"
|
|
2019
|
+
],
|
|
2020
|
+
"additionalProperties": false
|
|
2021
|
+
},
|
|
2022
|
+
"fee_included": {
|
|
2023
|
+
"type": [
|
|
2024
|
+
"boolean",
|
|
2025
|
+
"null"
|
|
2026
|
+
],
|
|
2027
|
+
"description": "Whether the reported amount includes fees; null means the source did not establish this."
|
|
2028
|
+
},
|
|
1982
2029
|
"id": {
|
|
1983
2030
|
"type": "string"
|
|
1984
2031
|
},
|
|
@@ -2049,15 +2096,7 @@
|
|
|
2049
2096
|
]
|
|
2050
2097
|
},
|
|
2051
2098
|
"observed_at": {
|
|
2052
|
-
"
|
|
2053
|
-
{
|
|
2054
|
-
"type": "string",
|
|
2055
|
-
"format": "date-time"
|
|
2056
|
-
},
|
|
2057
|
-
{
|
|
2058
|
-
"type": "null"
|
|
2059
|
-
}
|
|
2060
|
-
]
|
|
2099
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2061
2100
|
},
|
|
2062
2101
|
"freshness": {
|
|
2063
2102
|
"type": "string",
|
|
@@ -2068,7 +2107,7 @@
|
|
|
2068
2107
|
]
|
|
2069
2108
|
},
|
|
2070
2109
|
"last_attempt_at": {
|
|
2071
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2110
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2072
2111
|
},
|
|
2073
2112
|
"last_error": {
|
|
2074
2113
|
"type": [
|
|
@@ -2097,6 +2136,18 @@
|
|
|
2097
2136
|
"items": {
|
|
2098
2137
|
"type": "object",
|
|
2099
2138
|
"properties": {
|
|
2139
|
+
"scope": {
|
|
2140
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/scope"
|
|
2141
|
+
},
|
|
2142
|
+
"usage_kind": {
|
|
2143
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/usage_kind"
|
|
2144
|
+
},
|
|
2145
|
+
"period": {
|
|
2146
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period"
|
|
2147
|
+
},
|
|
2148
|
+
"fee_included": {
|
|
2149
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/fee_included"
|
|
2150
|
+
},
|
|
2100
2151
|
"id": {
|
|
2101
2152
|
"type": "string"
|
|
2102
2153
|
},
|
|
@@ -2142,7 +2193,7 @@
|
|
|
2142
2193
|
]
|
|
2143
2194
|
},
|
|
2144
2195
|
"resets_at": {
|
|
2145
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2196
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2146
2197
|
},
|
|
2147
2198
|
"reason": {
|
|
2148
2199
|
"type": [
|
|
@@ -2178,7 +2229,7 @@
|
|
|
2178
2229
|
]
|
|
2179
2230
|
},
|
|
2180
2231
|
"observed_at": {
|
|
2181
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2232
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2182
2233
|
},
|
|
2183
2234
|
"freshness": {
|
|
2184
2235
|
"type": "string",
|
|
@@ -2189,7 +2240,7 @@
|
|
|
2189
2240
|
]
|
|
2190
2241
|
},
|
|
2191
2242
|
"last_attempt_at": {
|
|
2192
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2243
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2193
2244
|
},
|
|
2194
2245
|
"last_error": {
|
|
2195
2246
|
"type": [
|
|
@@ -2267,7 +2318,7 @@
|
|
|
2267
2318
|
]
|
|
2268
2319
|
},
|
|
2269
2320
|
"resets_at": {
|
|
2270
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2321
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2271
2322
|
},
|
|
2272
2323
|
"weekly_limit_applies": {
|
|
2273
2324
|
"type": "boolean"
|
|
@@ -2320,10 +2371,10 @@
|
|
|
2320
2371
|
]
|
|
2321
2372
|
},
|
|
2322
2373
|
"starts_at": {
|
|
2323
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2374
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2324
2375
|
},
|
|
2325
2376
|
"expires_at": {
|
|
2326
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2377
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2327
2378
|
},
|
|
2328
2379
|
"clears": {
|
|
2329
2380
|
"type": "array",
|
|
@@ -2380,7 +2431,7 @@
|
|
|
2380
2431
|
]
|
|
2381
2432
|
},
|
|
2382
2433
|
"observed_at": {
|
|
2383
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2434
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2384
2435
|
},
|
|
2385
2436
|
"freshness": {
|
|
2386
2437
|
"type": "string",
|
|
@@ -2391,7 +2442,7 @@
|
|
|
2391
2442
|
]
|
|
2392
2443
|
},
|
|
2393
2444
|
"last_attempt_at": {
|
|
2394
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2445
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2395
2446
|
},
|
|
2396
2447
|
"last_error": {
|
|
2397
2448
|
"type": [
|
|
@@ -2449,7 +2500,7 @@
|
|
|
2449
2500
|
]
|
|
2450
2501
|
},
|
|
2451
2502
|
"observed_at": {
|
|
2452
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2503
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2453
2504
|
},
|
|
2454
2505
|
"freshness": {
|
|
2455
2506
|
"type": "string",
|
|
@@ -2460,7 +2511,7 @@
|
|
|
2460
2511
|
]
|
|
2461
2512
|
},
|
|
2462
2513
|
"last_attempt_at": {
|
|
2463
|
-
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/
|
|
2514
|
+
"$ref": "#/definitions/McpAccountsToolResult/anyOf/2/properties/quota/properties/resources/items/properties/balances/properties/value/anyOf/0/items/properties/period/properties/starts_at"
|
|
2464
2515
|
},
|
|
2465
2516
|
"last_error": {
|
|
2466
2517
|
"type": [
|
|
@@ -131,6 +131,11 @@
|
|
|
131
131
|
},
|
|
132
132
|
"source": {
|
|
133
133
|
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/processing/properties/submittedNative/anyOf/0"
|
|
134
|
+
},
|
|
135
|
+
"debit": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"const": "unobserved",
|
|
138
|
+
"description": "The route reports no actual cash or purchased-credit debit. Included service still admits the work, but its cash stays unknown instead of zero and is outside the finite cap; absence keeps proven ordinary inclusion as zero cash."
|
|
134
139
|
}
|
|
135
140
|
},
|
|
136
141
|
"required": [
|
|
@@ -177,7 +182,7 @@
|
|
|
177
182
|
"valuationKnowledge"
|
|
178
183
|
],
|
|
179
184
|
"additionalProperties": false,
|
|
180
|
-
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash."
|
|
185
|
+
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash unless its route reports no actual debit."
|
|
181
186
|
}
|
|
182
187
|
},
|
|
183
188
|
"required": [
|
|
@@ -1520,6 +1525,14 @@
|
|
|
1520
1525
|
"default": null,
|
|
1521
1526
|
"description": "CASH spend so far in USD; null when unknown."
|
|
1522
1527
|
},
|
|
1528
|
+
"controllableSpendUsd": {
|
|
1529
|
+
"type": [
|
|
1530
|
+
"number",
|
|
1531
|
+
"null"
|
|
1532
|
+
],
|
|
1533
|
+
"default": null,
|
|
1534
|
+
"description": "Cash governed by the finite cap: settled amounts on routes Claudexor controls; null when that cash is unknown. spendUsd can still be null when an included subscription reports no actual debit."
|
|
1535
|
+
},
|
|
1523
1536
|
"valuationUsd": {
|
|
1524
1537
|
"type": [
|
|
1525
1538
|
"number",
|
|
@@ -1544,7 +1557,7 @@
|
|
|
1544
1557
|
"null"
|
|
1545
1558
|
],
|
|
1546
1559
|
"default": null,
|
|
1547
|
-
"description": "Remaining
|
|
1560
|
+
"description": "Remaining finite cap after controllableSpendUsd; null when no cap or unknown."
|
|
1548
1561
|
},
|
|
1549
1562
|
"estimated": {
|
|
1550
1563
|
"type": "boolean",
|
|
@@ -131,6 +131,11 @@
|
|
|
131
131
|
},
|
|
132
132
|
"source": {
|
|
133
133
|
"$ref": "#/definitions/McpRunToolResult/properties/attemptExecution/items/properties/processing/properties/submittedNative/anyOf/0"
|
|
134
|
+
},
|
|
135
|
+
"debit": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"const": "unobserved",
|
|
138
|
+
"description": "The route reports no actual cash or purchased-credit debit. Included service still admits the work, but its cash stays unknown instead of zero and is outside the finite cap; absence keeps proven ordinary inclusion as zero cash."
|
|
134
139
|
}
|
|
135
140
|
},
|
|
136
141
|
"required": [
|
|
@@ -177,7 +182,7 @@
|
|
|
177
182
|
"valuationKnowledge"
|
|
178
183
|
],
|
|
179
184
|
"additionalProperties": false,
|
|
180
|
-
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash."
|
|
185
|
+
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash unless its route reports no actual debit."
|
|
181
186
|
}
|
|
182
187
|
},
|
|
183
188
|
"required": [
|
|
@@ -280,6 +280,11 @@
|
|
|
280
280
|
},
|
|
281
281
|
"source": {
|
|
282
282
|
"$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
|
|
283
|
+
},
|
|
284
|
+
"debit": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"const": "unobserved",
|
|
287
|
+
"description": "The route reports no actual cash or purchased-credit debit. Included service still admits the work, but its cash stays unknown instead of zero and is outside the finite cap; absence keeps proven ordinary inclusion as zero cash."
|
|
283
288
|
}
|
|
284
289
|
},
|
|
285
290
|
"required": [
|
|
@@ -30,6 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"source": {
|
|
32
32
|
"$ref": "#/definitions/ProcessingCostBasis/properties/nativeMode/anyOf/0"
|
|
33
|
+
},
|
|
34
|
+
"debit": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"const": "unobserved",
|
|
37
|
+
"description": "The route reports no actual cash or purchased-credit debit. Included service still admits the work, but its cash stays unknown instead of zero and is outside the finite cap; absence keeps proven ordinary inclusion as zero cash."
|
|
33
38
|
}
|
|
34
39
|
},
|
|
35
40
|
"required": [
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"pool_exhausted",
|
|
32
32
|
"pinned_limit",
|
|
33
33
|
"transport",
|
|
34
|
+
"permission_denied",
|
|
34
35
|
"context_exhausted",
|
|
35
36
|
"wall_clock",
|
|
36
37
|
"cancelled",
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"input_required",
|
|
39
40
|
"other"
|
|
40
41
|
],
|
|
41
|
-
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
42
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), a confirmed native tool permission refusal, context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
42
43
|
},
|
|
43
44
|
"from": {
|
|
44
45
|
"type": "object",
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RunProcessingIntent",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RunProcessingIntent": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schema_version": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"harnesses": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"requested": {
|
|
17
|
+
"anyOf": [
|
|
18
|
+
{
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"standard",
|
|
22
|
+
"fast",
|
|
23
|
+
"economy"
|
|
24
|
+
],
|
|
25
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "null"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
32
|
+
},
|
|
33
|
+
"submitted": {
|
|
34
|
+
"anyOf": [
|
|
35
|
+
{
|
|
36
|
+
"$ref": "#/definitions/RunProcessingIntent/properties/harnesses/additionalProperties/properties/requested/anyOf/0"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "null"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
43
|
+
},
|
|
44
|
+
"submittedNative": {
|
|
45
|
+
"anyOf": [
|
|
46
|
+
{
|
|
47
|
+
"type": "string",
|
|
48
|
+
"minLength": 1,
|
|
49
|
+
"pattern": "\\S",
|
|
50
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "null"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
57
|
+
},
|
|
58
|
+
"observed": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"enum": [
|
|
61
|
+
"standard",
|
|
62
|
+
"fast",
|
|
63
|
+
"economy",
|
|
64
|
+
"mixed",
|
|
65
|
+
"unknown"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"observedNative": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"items": {
|
|
71
|
+
"$ref": "#/definitions/RunProcessingIntent/properties/harnesses/additionalProperties/properties/submittedNative/anyOf/0"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"reason": {
|
|
75
|
+
"anyOf": [
|
|
76
|
+
{
|
|
77
|
+
"$ref": "#/definitions/RunProcessingIntent/properties/harnesses/additionalProperties/properties/submittedNative/anyOf/0"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "null"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
84
|
+
},
|
|
85
|
+
"source": {
|
|
86
|
+
"$ref": "#/definitions/RunProcessingIntent/properties/harnesses/additionalProperties/properties/submittedNative/anyOf/0"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": [
|
|
90
|
+
"requested",
|
|
91
|
+
"submitted",
|
|
92
|
+
"submittedNative",
|
|
93
|
+
"observed",
|
|
94
|
+
"observedNative",
|
|
95
|
+
"reason",
|
|
96
|
+
"source"
|
|
97
|
+
],
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"description": "Requested intent, submitted native control, and observed execution are independent facts. A submitted flag never proves observed service; mixed or missing session observations remain explicit."
|
|
100
|
+
},
|
|
101
|
+
"propertyNames": {
|
|
102
|
+
"minLength": 1,
|
|
103
|
+
"pattern": "\\S"
|
|
104
|
+
},
|
|
105
|
+
"description": "Routing-time receipt per routed harness; its source keeps the original provenance (for example codex.managed_config)."
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"schema_version",
|
|
110
|
+
"harnesses"
|
|
111
|
+
],
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"description": "Speed each routed harness chose without a processing preference, written once at its first routing. Exact Retry keeps it instead of a changed or different account's native setting, and a retry records the intent it kept, so a retry chain keeps the original even after an ordinary fallback."
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
117
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"pool_exhausted",
|
|
12
12
|
"pinned_limit",
|
|
13
13
|
"transport",
|
|
14
|
+
"permission_denied",
|
|
14
15
|
"context_exhausted",
|
|
15
16
|
"wall_clock",
|
|
16
17
|
"cancelled",
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"input_required",
|
|
19
20
|
"other"
|
|
20
21
|
],
|
|
21
|
-
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
22
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), a confirmed native tool permission refusal, context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
22
23
|
},
|
|
23
24
|
"resetsAt": {
|
|
24
25
|
"type": [
|
|
@@ -499,6 +499,11 @@
|
|
|
499
499
|
},
|
|
500
500
|
"source": {
|
|
501
501
|
"$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
|
|
502
|
+
},
|
|
503
|
+
"debit": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"const": "unobserved",
|
|
506
|
+
"description": "The route reports no actual cash or purchased-credit debit. Included service still admits the work, but its cash stays unknown instead of zero and is outside the finite cap; absence keeps proven ordinary inclusion as zero cash."
|
|
502
507
|
}
|
|
503
508
|
},
|
|
504
509
|
"required": [
|
|
@@ -545,7 +550,7 @@
|
|
|
545
550
|
"valuationKnowledge"
|
|
546
551
|
],
|
|
547
552
|
"additionalProperties": false,
|
|
548
|
-
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash."
|
|
553
|
+
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash unless its route reports no actual debit."
|
|
549
554
|
},
|
|
550
555
|
"attempt_id": {
|
|
551
556
|
"type": "string",
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RunTimeLimitRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RunTimeLimitRequest": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"action": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "read"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"action"
|
|
16
|
+
],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"action": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"const": "set"
|
|
25
|
+
},
|
|
26
|
+
"seconds": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"exclusiveMinimum": 0,
|
|
29
|
+
"maximum": 604800
|
|
30
|
+
},
|
|
31
|
+
"mode": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"enum": [
|
|
34
|
+
"soft",
|
|
35
|
+
"hard"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"expectedRevision": {
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"minimum": 0
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"action",
|
|
45
|
+
"seconds",
|
|
46
|
+
"expectedRevision"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"action": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"const": "extend"
|
|
56
|
+
},
|
|
57
|
+
"seconds": {
|
|
58
|
+
"$ref": "#/definitions/RunTimeLimitRequest/anyOf/1/properties/seconds"
|
|
59
|
+
},
|
|
60
|
+
"expectedRevision": {
|
|
61
|
+
"$ref": "#/definitions/RunTimeLimitRequest/anyOf/1/properties/expectedRevision"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"action",
|
|
66
|
+
"seconds",
|
|
67
|
+
"expectedRevision"
|
|
68
|
+
],
|
|
69
|
+
"additionalProperties": false
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"action": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"const": "disable"
|
|
77
|
+
},
|
|
78
|
+
"expectedRevision": {
|
|
79
|
+
"$ref": "#/definitions/RunTimeLimitRequest/anyOf/1/properties/expectedRevision"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"required": [
|
|
83
|
+
"action",
|
|
84
|
+
"expectedRevision"
|
|
85
|
+
],
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
92
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RunTimeLimitSnapshot",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RunTimeLimitSnapshot": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"revision": {
|
|
8
|
+
"type": "integer",
|
|
9
|
+
"minimum": 0
|
|
10
|
+
},
|
|
11
|
+
"mode": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"soft",
|
|
15
|
+
"hard"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"state": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"disabled",
|
|
22
|
+
"armed",
|
|
23
|
+
"reached",
|
|
24
|
+
"closed"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"deadlineAt": {
|
|
28
|
+
"anyOf": [
|
|
29
|
+
{
|
|
30
|
+
"type": "string",
|
|
31
|
+
"format": "date-time"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "null"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"reachedAt": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string",
|
|
42
|
+
"format": "date-time"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "null"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"revision",
|
|
52
|
+
"mode",
|
|
53
|
+
"state",
|
|
54
|
+
"deadlineAt",
|
|
55
|
+
"reachedAt"
|
|
56
|
+
],
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
61
|
+
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"valuationKnowledge"
|
|
38
38
|
],
|
|
39
39
|
"additionalProperties": false,
|
|
40
|
-
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash."
|
|
40
|
+
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash unless its route reports no actual debit."
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Single source of truth for all Claudexor data shapes (Zod + generated JSON Schema).",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^4.6.5",
|
|
22
22
|
"zod-to-json-schema": "^3.24.1",
|
|
23
|
-
"@claudexor/util": "4.
|
|
23
|
+
"@claudexor/util": "4.3.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|