@claudexor/schema 4.1.1 → 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 +5989 -0
- package/dist/account-routing-evidence.d.ts.map +1 -0
- package/dist/account-routing-evidence.js +49 -0
- package/dist/account-routing-evidence.js.map +1 -0
- 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 +298 -24
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +816 -42
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +258 -0
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +55 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control.d.ts +258 -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 +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +445 -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 +9 -6
- package/dist/run-continuation.d.ts.map +1 -1
- package/dist/run-continuation.js +4 -0
- package/dist/run-continuation.js.map +1 -1
- 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/ControlAccountRoutingEvidenceResponse.schema.json +101 -0
- 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 +187 -4
- package/generated/ControlRunListResponse.schema.json +164 -1
- package/generated/ControlRunStartRequest.schema.json +9 -1
- package/generated/ControlRunSummary.schema.json +164 -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 +6 -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 +2578 -0
- package/generated/McpRunHandleResult.schema.json +177 -2
- package/generated/McpRunToolResult.schema.json +168 -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/RunFailure.schema.json +162 -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
|
@@ -131,6 +131,11 @@
|
|
|
131
131
|
},
|
|
132
132
|
"source": {
|
|
133
133
|
"$ref": "#/definitions/ControlRunDetail/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": [
|
|
@@ -302,6 +307,7 @@
|
|
|
302
307
|
"pool_exhausted",
|
|
303
308
|
"pinned_limit",
|
|
304
309
|
"transport",
|
|
310
|
+
"permission_denied",
|
|
305
311
|
"context_exhausted",
|
|
306
312
|
"wall_clock",
|
|
307
313
|
"cancelled",
|
|
@@ -309,7 +315,7 @@
|
|
|
309
315
|
"input_required",
|
|
310
316
|
"other"
|
|
311
317
|
],
|
|
312
|
-
"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."
|
|
318
|
+
"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."
|
|
313
319
|
},
|
|
314
320
|
"resetsAt": {
|
|
315
321
|
"type": [
|
|
@@ -804,6 +810,65 @@
|
|
|
804
810
|
],
|
|
805
811
|
"description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
|
|
806
812
|
},
|
|
813
|
+
"captureFailure": {
|
|
814
|
+
"type": "object",
|
|
815
|
+
"properties": {
|
|
816
|
+
"code": {
|
|
817
|
+
"type": "string",
|
|
818
|
+
"enum": [
|
|
819
|
+
"capture_output_exceeded",
|
|
820
|
+
"capture_output_incomplete",
|
|
821
|
+
"capture_preview_truncated",
|
|
822
|
+
"capture_failed"
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
"message": {
|
|
826
|
+
"type": "string"
|
|
827
|
+
},
|
|
828
|
+
"causeCode": {
|
|
829
|
+
"type": "string"
|
|
830
|
+
},
|
|
831
|
+
"bufferBudgetBytes": {
|
|
832
|
+
"type": "integer",
|
|
833
|
+
"minimum": 0
|
|
834
|
+
},
|
|
835
|
+
"stream": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"enum": [
|
|
838
|
+
"stdout",
|
|
839
|
+
"stderr"
|
|
840
|
+
]
|
|
841
|
+
},
|
|
842
|
+
"drain": {
|
|
843
|
+
"type": "string",
|
|
844
|
+
"const": "truncated"
|
|
845
|
+
},
|
|
846
|
+
"cleanup": {
|
|
847
|
+
"type": "object",
|
|
848
|
+
"properties": {
|
|
849
|
+
"code": {
|
|
850
|
+
"type": [
|
|
851
|
+
"string",
|
|
852
|
+
"null"
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
"message": {
|
|
856
|
+
"type": "string"
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
"required": [
|
|
860
|
+
"code",
|
|
861
|
+
"message"
|
|
862
|
+
],
|
|
863
|
+
"additionalProperties": false
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"required": [
|
|
867
|
+
"code",
|
|
868
|
+
"message"
|
|
869
|
+
],
|
|
870
|
+
"additionalProperties": false
|
|
871
|
+
},
|
|
807
872
|
"phase": {
|
|
808
873
|
"type": "string",
|
|
809
874
|
"default": "unknown",
|
|
@@ -975,6 +1040,109 @@
|
|
|
975
1040
|
"description": "The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy.",
|
|
976
1041
|
"default": null
|
|
977
1042
|
},
|
|
1043
|
+
"poolAttempts": {
|
|
1044
|
+
"type": "array",
|
|
1045
|
+
"items": {
|
|
1046
|
+
"type": "object",
|
|
1047
|
+
"properties": {
|
|
1048
|
+
"harnessId": {
|
|
1049
|
+
"type": "string",
|
|
1050
|
+
"minLength": 1,
|
|
1051
|
+
"description": "Harness the try ran on."
|
|
1052
|
+
},
|
|
1053
|
+
"profileId": {
|
|
1054
|
+
"type": [
|
|
1055
|
+
"string",
|
|
1056
|
+
"null"
|
|
1057
|
+
],
|
|
1058
|
+
"description": "Account row the try ran on; null = the harness default route."
|
|
1059
|
+
},
|
|
1060
|
+
"profileDisplayName": {
|
|
1061
|
+
"type": [
|
|
1062
|
+
"string",
|
|
1063
|
+
"null"
|
|
1064
|
+
],
|
|
1065
|
+
"description": "The row's display name at try time (redacted); null for the default route."
|
|
1066
|
+
},
|
|
1067
|
+
"requestedModel": {
|
|
1068
|
+
"type": [
|
|
1069
|
+
"string",
|
|
1070
|
+
"null"
|
|
1071
|
+
],
|
|
1072
|
+
"description": "Model the try asked for; null = the harness default model."
|
|
1073
|
+
},
|
|
1074
|
+
"attemptId": {
|
|
1075
|
+
"type": "string",
|
|
1076
|
+
"minLength": 1,
|
|
1077
|
+
"description": "Attempt the try belongs to."
|
|
1078
|
+
},
|
|
1079
|
+
"tryIndex": {
|
|
1080
|
+
"type": "integer",
|
|
1081
|
+
"minimum": 0,
|
|
1082
|
+
"description": "Zero-based try index within the attempt."
|
|
1083
|
+
},
|
|
1084
|
+
"observedAt": {
|
|
1085
|
+
"type": "string",
|
|
1086
|
+
"format": "date-time",
|
|
1087
|
+
"description": "When the try's first error was observed."
|
|
1088
|
+
},
|
|
1089
|
+
"phase": {
|
|
1090
|
+
"type": "string",
|
|
1091
|
+
"enum": [
|
|
1092
|
+
"pre_start",
|
|
1093
|
+
"pre_progress",
|
|
1094
|
+
"after_progress"
|
|
1095
|
+
],
|
|
1096
|
+
"description": "How far the try got: before a typed session start, after start but before agent progress, or after progress."
|
|
1097
|
+
},
|
|
1098
|
+
"category": {
|
|
1099
|
+
"type": "string",
|
|
1100
|
+
"enum": [
|
|
1101
|
+
"timeout",
|
|
1102
|
+
"rate_limited",
|
|
1103
|
+
"auth_failed",
|
|
1104
|
+
"capability_refused",
|
|
1105
|
+
"process_crash",
|
|
1106
|
+
"config_error",
|
|
1107
|
+
"unknown_harness_error"
|
|
1108
|
+
],
|
|
1109
|
+
"description": "Typed failure category of the try; untyped errors are unknown_harness_error."
|
|
1110
|
+
},
|
|
1111
|
+
"error": {
|
|
1112
|
+
"type": "string",
|
|
1113
|
+
"description": "The try's own error text with its original wording and whitespace, redacted."
|
|
1114
|
+
},
|
|
1115
|
+
"vendorFailure": {
|
|
1116
|
+
"anyOf": [
|
|
1117
|
+
{
|
|
1118
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/failure/anyOf/0/properties/vendorFailure/anyOf/0"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"type": "null"
|
|
1122
|
+
}
|
|
1123
|
+
],
|
|
1124
|
+
"description": "The vendor's own typed failure for this try, when the adapter attached one."
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
"required": [
|
|
1128
|
+
"harnessId",
|
|
1129
|
+
"profileId",
|
|
1130
|
+
"profileDisplayName",
|
|
1131
|
+
"requestedModel",
|
|
1132
|
+
"attemptId",
|
|
1133
|
+
"tryIndex",
|
|
1134
|
+
"observedAt",
|
|
1135
|
+
"phase",
|
|
1136
|
+
"category",
|
|
1137
|
+
"error",
|
|
1138
|
+
"vendorFailure"
|
|
1139
|
+
],
|
|
1140
|
+
"additionalProperties": false,
|
|
1141
|
+
"description": "Per-try account attribution of a failed execution try (diagnostic evidence only)."
|
|
1142
|
+
},
|
|
1143
|
+
"default": [],
|
|
1144
|
+
"description": "Every failed execution try in order, each with its own account and error text; empty when no try failed (and for records written before this field existed)."
|
|
1145
|
+
},
|
|
978
1146
|
"nextActions": {
|
|
979
1147
|
"type": "array",
|
|
980
1148
|
"items": {
|
|
@@ -2918,6 +3086,14 @@
|
|
|
2918
3086
|
"default": null,
|
|
2919
3087
|
"description": "CASH spend so far in USD; null when unknown."
|
|
2920
3088
|
},
|
|
3089
|
+
"controllableSpendUsd": {
|
|
3090
|
+
"type": [
|
|
3091
|
+
"number",
|
|
3092
|
+
"null"
|
|
3093
|
+
],
|
|
3094
|
+
"default": null,
|
|
3095
|
+
"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."
|
|
3096
|
+
},
|
|
2921
3097
|
"valuationUsd": {
|
|
2922
3098
|
"type": [
|
|
2923
3099
|
"number",
|
|
@@ -2942,7 +3118,7 @@
|
|
|
2942
3118
|
"null"
|
|
2943
3119
|
],
|
|
2944
3120
|
"default": null,
|
|
2945
|
-
"description": "Remaining
|
|
3121
|
+
"description": "Remaining finite cap after controllableSpendUsd; null when no cap or unknown."
|
|
2946
3122
|
},
|
|
2947
3123
|
"estimated": {
|
|
2948
3124
|
"type": "boolean",
|
|
@@ -3139,7 +3315,14 @@
|
|
|
3139
3315
|
"null"
|
|
3140
3316
|
],
|
|
3141
3317
|
"default": null,
|
|
3142
|
-
"description": "Settled cash spend in USD (0 on
|
|
3318
|
+
"description": "Settled cash spend in USD (0 on proven included routes); null when unknown, including an included subscription that reports no actual debit."
|
|
3319
|
+
},
|
|
3320
|
+
"controllable_cash_usd": {
|
|
3321
|
+
"type": [
|
|
3322
|
+
"number",
|
|
3323
|
+
"null"
|
|
3324
|
+
],
|
|
3325
|
+
"description": "Cash governed by the finite cap: settled amounts on routes Claudexor controls; null when that cash is unknown. spend_usd and cash_usd stay null when an included subscription reports no actual debit. Absent on legacy decisions."
|
|
3143
3326
|
},
|
|
3144
3327
|
"valuation_usd": {
|
|
3145
3328
|
"type": [
|
|
@@ -122,6 +122,7 @@
|
|
|
122
122
|
"pool_exhausted",
|
|
123
123
|
"pinned_limit",
|
|
124
124
|
"transport",
|
|
125
|
+
"permission_denied",
|
|
125
126
|
"context_exhausted",
|
|
126
127
|
"wall_clock",
|
|
127
128
|
"cancelled",
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
"input_required",
|
|
130
131
|
"other"
|
|
131
132
|
],
|
|
132
|
-
"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."
|
|
133
|
+
"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."
|
|
133
134
|
},
|
|
134
135
|
"resetsAt": {
|
|
135
136
|
"type": [
|
|
@@ -624,6 +625,65 @@
|
|
|
624
625
|
],
|
|
625
626
|
"description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
|
|
626
627
|
},
|
|
628
|
+
"captureFailure": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"properties": {
|
|
631
|
+
"code": {
|
|
632
|
+
"type": "string",
|
|
633
|
+
"enum": [
|
|
634
|
+
"capture_output_exceeded",
|
|
635
|
+
"capture_output_incomplete",
|
|
636
|
+
"capture_preview_truncated",
|
|
637
|
+
"capture_failed"
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
"message": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
643
|
+
"causeCode": {
|
|
644
|
+
"type": "string"
|
|
645
|
+
},
|
|
646
|
+
"bufferBudgetBytes": {
|
|
647
|
+
"type": "integer",
|
|
648
|
+
"minimum": 0
|
|
649
|
+
},
|
|
650
|
+
"stream": {
|
|
651
|
+
"type": "string",
|
|
652
|
+
"enum": [
|
|
653
|
+
"stdout",
|
|
654
|
+
"stderr"
|
|
655
|
+
]
|
|
656
|
+
},
|
|
657
|
+
"drain": {
|
|
658
|
+
"type": "string",
|
|
659
|
+
"const": "truncated"
|
|
660
|
+
},
|
|
661
|
+
"cleanup": {
|
|
662
|
+
"type": "object",
|
|
663
|
+
"properties": {
|
|
664
|
+
"code": {
|
|
665
|
+
"type": [
|
|
666
|
+
"string",
|
|
667
|
+
"null"
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
"message": {
|
|
671
|
+
"type": "string"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"required": [
|
|
675
|
+
"code",
|
|
676
|
+
"message"
|
|
677
|
+
],
|
|
678
|
+
"additionalProperties": false
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"required": [
|
|
682
|
+
"code",
|
|
683
|
+
"message"
|
|
684
|
+
],
|
|
685
|
+
"additionalProperties": false
|
|
686
|
+
},
|
|
627
687
|
"phase": {
|
|
628
688
|
"type": "string",
|
|
629
689
|
"default": "unknown",
|
|
@@ -795,6 +855,109 @@
|
|
|
795
855
|
"description": "The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy.",
|
|
796
856
|
"default": null
|
|
797
857
|
},
|
|
858
|
+
"poolAttempts": {
|
|
859
|
+
"type": "array",
|
|
860
|
+
"items": {
|
|
861
|
+
"type": "object",
|
|
862
|
+
"properties": {
|
|
863
|
+
"harnessId": {
|
|
864
|
+
"type": "string",
|
|
865
|
+
"minLength": 1,
|
|
866
|
+
"description": "Harness the try ran on."
|
|
867
|
+
},
|
|
868
|
+
"profileId": {
|
|
869
|
+
"type": [
|
|
870
|
+
"string",
|
|
871
|
+
"null"
|
|
872
|
+
],
|
|
873
|
+
"description": "Account row the try ran on; null = the harness default route."
|
|
874
|
+
},
|
|
875
|
+
"profileDisplayName": {
|
|
876
|
+
"type": [
|
|
877
|
+
"string",
|
|
878
|
+
"null"
|
|
879
|
+
],
|
|
880
|
+
"description": "The row's display name at try time (redacted); null for the default route."
|
|
881
|
+
},
|
|
882
|
+
"requestedModel": {
|
|
883
|
+
"type": [
|
|
884
|
+
"string",
|
|
885
|
+
"null"
|
|
886
|
+
],
|
|
887
|
+
"description": "Model the try asked for; null = the harness default model."
|
|
888
|
+
},
|
|
889
|
+
"attemptId": {
|
|
890
|
+
"type": "string",
|
|
891
|
+
"minLength": 1,
|
|
892
|
+
"description": "Attempt the try belongs to."
|
|
893
|
+
},
|
|
894
|
+
"tryIndex": {
|
|
895
|
+
"type": "integer",
|
|
896
|
+
"minimum": 0,
|
|
897
|
+
"description": "Zero-based try index within the attempt."
|
|
898
|
+
},
|
|
899
|
+
"observedAt": {
|
|
900
|
+
"type": "string",
|
|
901
|
+
"format": "date-time",
|
|
902
|
+
"description": "When the try's first error was observed."
|
|
903
|
+
},
|
|
904
|
+
"phase": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"enum": [
|
|
907
|
+
"pre_start",
|
|
908
|
+
"pre_progress",
|
|
909
|
+
"after_progress"
|
|
910
|
+
],
|
|
911
|
+
"description": "How far the try got: before a typed session start, after start but before agent progress, or after progress."
|
|
912
|
+
},
|
|
913
|
+
"category": {
|
|
914
|
+
"type": "string",
|
|
915
|
+
"enum": [
|
|
916
|
+
"timeout",
|
|
917
|
+
"rate_limited",
|
|
918
|
+
"auth_failed",
|
|
919
|
+
"capability_refused",
|
|
920
|
+
"process_crash",
|
|
921
|
+
"config_error",
|
|
922
|
+
"unknown_harness_error"
|
|
923
|
+
],
|
|
924
|
+
"description": "Typed failure category of the try; untyped errors are unknown_harness_error."
|
|
925
|
+
},
|
|
926
|
+
"error": {
|
|
927
|
+
"type": "string",
|
|
928
|
+
"description": "The try's own error text with its original wording and whitespace, redacted."
|
|
929
|
+
},
|
|
930
|
+
"vendorFailure": {
|
|
931
|
+
"anyOf": [
|
|
932
|
+
{
|
|
933
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/failure/anyOf/0/properties/vendorFailure/anyOf/0"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"type": "null"
|
|
937
|
+
}
|
|
938
|
+
],
|
|
939
|
+
"description": "The vendor's own typed failure for this try, when the adapter attached one."
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
"required": [
|
|
943
|
+
"harnessId",
|
|
944
|
+
"profileId",
|
|
945
|
+
"profileDisplayName",
|
|
946
|
+
"requestedModel",
|
|
947
|
+
"attemptId",
|
|
948
|
+
"tryIndex",
|
|
949
|
+
"observedAt",
|
|
950
|
+
"phase",
|
|
951
|
+
"category",
|
|
952
|
+
"error",
|
|
953
|
+
"vendorFailure"
|
|
954
|
+
],
|
|
955
|
+
"additionalProperties": false,
|
|
956
|
+
"description": "Per-try account attribution of a failed execution try (diagnostic evidence only)."
|
|
957
|
+
},
|
|
958
|
+
"default": [],
|
|
959
|
+
"description": "Every failed execution try in order, each with its own account and error text; empty when no try failed (and for records written before this field existed)."
|
|
960
|
+
},
|
|
798
961
|
"nextActions": {
|
|
799
962
|
"type": "array",
|
|
800
963
|
"items": {
|
|
@@ -549,7 +549,15 @@
|
|
|
549
549
|
"type": "integer",
|
|
550
550
|
"exclusiveMinimum": 0,
|
|
551
551
|
"maximum": 604800,
|
|
552
|
-
"description": "
|
|
552
|
+
"description": "Wall-clock limit for the whole run (seconds, max seven days). Omission disables the clock. Explicit limits cancel by default; soft mode warns and continues."
|
|
553
|
+
},
|
|
554
|
+
"timeLimitMode": {
|
|
555
|
+
"type": "string",
|
|
556
|
+
"enum": [
|
|
557
|
+
"soft",
|
|
558
|
+
"hard"
|
|
559
|
+
],
|
|
560
|
+
"description": "Initial timer mode: soft warns and continues; hard cancels. Omission is hard with maxSeconds and soft without it."
|
|
553
561
|
},
|
|
554
562
|
"denyPaths": {
|
|
555
563
|
"type": "array",
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
"pool_exhausted",
|
|
118
118
|
"pinned_limit",
|
|
119
119
|
"transport",
|
|
120
|
+
"permission_denied",
|
|
120
121
|
"context_exhausted",
|
|
121
122
|
"wall_clock",
|
|
122
123
|
"cancelled",
|
|
@@ -124,7 +125,7 @@
|
|
|
124
125
|
"input_required",
|
|
125
126
|
"other"
|
|
126
127
|
],
|
|
127
|
-
"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."
|
|
128
|
+
"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."
|
|
128
129
|
},
|
|
129
130
|
"resetsAt": {
|
|
130
131
|
"type": [
|
|
@@ -619,6 +620,65 @@
|
|
|
619
620
|
],
|
|
620
621
|
"description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
|
|
621
622
|
},
|
|
623
|
+
"captureFailure": {
|
|
624
|
+
"type": "object",
|
|
625
|
+
"properties": {
|
|
626
|
+
"code": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"enum": [
|
|
629
|
+
"capture_output_exceeded",
|
|
630
|
+
"capture_output_incomplete",
|
|
631
|
+
"capture_preview_truncated",
|
|
632
|
+
"capture_failed"
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
"message": {
|
|
636
|
+
"type": "string"
|
|
637
|
+
},
|
|
638
|
+
"causeCode": {
|
|
639
|
+
"type": "string"
|
|
640
|
+
},
|
|
641
|
+
"bufferBudgetBytes": {
|
|
642
|
+
"type": "integer",
|
|
643
|
+
"minimum": 0
|
|
644
|
+
},
|
|
645
|
+
"stream": {
|
|
646
|
+
"type": "string",
|
|
647
|
+
"enum": [
|
|
648
|
+
"stdout",
|
|
649
|
+
"stderr"
|
|
650
|
+
]
|
|
651
|
+
},
|
|
652
|
+
"drain": {
|
|
653
|
+
"type": "string",
|
|
654
|
+
"const": "truncated"
|
|
655
|
+
},
|
|
656
|
+
"cleanup": {
|
|
657
|
+
"type": "object",
|
|
658
|
+
"properties": {
|
|
659
|
+
"code": {
|
|
660
|
+
"type": [
|
|
661
|
+
"string",
|
|
662
|
+
"null"
|
|
663
|
+
]
|
|
664
|
+
},
|
|
665
|
+
"message": {
|
|
666
|
+
"type": "string"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"required": [
|
|
670
|
+
"code",
|
|
671
|
+
"message"
|
|
672
|
+
],
|
|
673
|
+
"additionalProperties": false
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"required": [
|
|
677
|
+
"code",
|
|
678
|
+
"message"
|
|
679
|
+
],
|
|
680
|
+
"additionalProperties": false
|
|
681
|
+
},
|
|
622
682
|
"phase": {
|
|
623
683
|
"type": "string",
|
|
624
684
|
"default": "unknown",
|
|
@@ -790,6 +850,109 @@
|
|
|
790
850
|
"description": "The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy.",
|
|
791
851
|
"default": null
|
|
792
852
|
},
|
|
853
|
+
"poolAttempts": {
|
|
854
|
+
"type": "array",
|
|
855
|
+
"items": {
|
|
856
|
+
"type": "object",
|
|
857
|
+
"properties": {
|
|
858
|
+
"harnessId": {
|
|
859
|
+
"type": "string",
|
|
860
|
+
"minLength": 1,
|
|
861
|
+
"description": "Harness the try ran on."
|
|
862
|
+
},
|
|
863
|
+
"profileId": {
|
|
864
|
+
"type": [
|
|
865
|
+
"string",
|
|
866
|
+
"null"
|
|
867
|
+
],
|
|
868
|
+
"description": "Account row the try ran on; null = the harness default route."
|
|
869
|
+
},
|
|
870
|
+
"profileDisplayName": {
|
|
871
|
+
"type": [
|
|
872
|
+
"string",
|
|
873
|
+
"null"
|
|
874
|
+
],
|
|
875
|
+
"description": "The row's display name at try time (redacted); null for the default route."
|
|
876
|
+
},
|
|
877
|
+
"requestedModel": {
|
|
878
|
+
"type": [
|
|
879
|
+
"string",
|
|
880
|
+
"null"
|
|
881
|
+
],
|
|
882
|
+
"description": "Model the try asked for; null = the harness default model."
|
|
883
|
+
},
|
|
884
|
+
"attemptId": {
|
|
885
|
+
"type": "string",
|
|
886
|
+
"minLength": 1,
|
|
887
|
+
"description": "Attempt the try belongs to."
|
|
888
|
+
},
|
|
889
|
+
"tryIndex": {
|
|
890
|
+
"type": "integer",
|
|
891
|
+
"minimum": 0,
|
|
892
|
+
"description": "Zero-based try index within the attempt."
|
|
893
|
+
},
|
|
894
|
+
"observedAt": {
|
|
895
|
+
"type": "string",
|
|
896
|
+
"format": "date-time",
|
|
897
|
+
"description": "When the try's first error was observed."
|
|
898
|
+
},
|
|
899
|
+
"phase": {
|
|
900
|
+
"type": "string",
|
|
901
|
+
"enum": [
|
|
902
|
+
"pre_start",
|
|
903
|
+
"pre_progress",
|
|
904
|
+
"after_progress"
|
|
905
|
+
],
|
|
906
|
+
"description": "How far the try got: before a typed session start, after start but before agent progress, or after progress."
|
|
907
|
+
},
|
|
908
|
+
"category": {
|
|
909
|
+
"type": "string",
|
|
910
|
+
"enum": [
|
|
911
|
+
"timeout",
|
|
912
|
+
"rate_limited",
|
|
913
|
+
"auth_failed",
|
|
914
|
+
"capability_refused",
|
|
915
|
+
"process_crash",
|
|
916
|
+
"config_error",
|
|
917
|
+
"unknown_harness_error"
|
|
918
|
+
],
|
|
919
|
+
"description": "Typed failure category of the try; untyped errors are unknown_harness_error."
|
|
920
|
+
},
|
|
921
|
+
"error": {
|
|
922
|
+
"type": "string",
|
|
923
|
+
"description": "The try's own error text with its original wording and whitespace, redacted."
|
|
924
|
+
},
|
|
925
|
+
"vendorFailure": {
|
|
926
|
+
"anyOf": [
|
|
927
|
+
{
|
|
928
|
+
"$ref": "#/definitions/ControlRunSummary/properties/failure/anyOf/0/properties/vendorFailure/anyOf/0"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"type": "null"
|
|
932
|
+
}
|
|
933
|
+
],
|
|
934
|
+
"description": "The vendor's own typed failure for this try, when the adapter attached one."
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": [
|
|
938
|
+
"harnessId",
|
|
939
|
+
"profileId",
|
|
940
|
+
"profileDisplayName",
|
|
941
|
+
"requestedModel",
|
|
942
|
+
"attemptId",
|
|
943
|
+
"tryIndex",
|
|
944
|
+
"observedAt",
|
|
945
|
+
"phase",
|
|
946
|
+
"category",
|
|
947
|
+
"error",
|
|
948
|
+
"vendorFailure"
|
|
949
|
+
],
|
|
950
|
+
"additionalProperties": false,
|
|
951
|
+
"description": "Per-try account attribution of a failed execution try (diagnostic evidence only)."
|
|
952
|
+
},
|
|
953
|
+
"default": [],
|
|
954
|
+
"description": "Every failed execution try in order, each with its own account and error text; empty when no try failed (and for records written before this field existed)."
|
|
955
|
+
},
|
|
793
956
|
"nextActions": {
|
|
794
957
|
"type": "array",
|
|
795
958
|
"items": {
|