@claudexor/schema 5.0.1 → 5.1.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-routing-evidence.d.ts +256 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-routing-evidence.js +27 -2
- package/dist/account-routing-evidence.js.map +1 -1
- package/dist/agent-capabilities.d.ts +3 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +6 -2
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attachment.d.ts +103 -6
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +32 -6
- package/dist/attachment.js.map +1 -1
- package/dist/browser-evidence.d.ts +85 -0
- package/dist/browser-evidence.d.ts.map +1 -0
- package/dist/browser-evidence.js +72 -0
- package/dist/browser-evidence.js.map +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +30 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +28 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +438 -36
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +11 -2
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-process-scope.d.ts +34 -0
- package/dist/control-process-scope.d.ts.map +1 -1
- package/dist/control-process-scope.js +13 -0
- package/dist/control-process-scope.js.map +1 -1
- package/dist/control-run-detail.d.ts +785 -89
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-failure.d.ts +29 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +28 -3
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-trust.d.ts +8 -0
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +4 -0
- package/dist/control-trust.js.map +1 -1
- package/dist/control-web-evidence.d.ts +125 -0
- package/dist/control-web-evidence.d.ts.map +1 -0
- package/dist/control-web-evidence.js +109 -0
- package/dist/control-web-evidence.js.map +1 -0
- package/dist/control.d.ts +292 -98
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +43 -49
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +4 -3
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +4 -3
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -0
- package/dist/decision.js.map +1 -1
- package/dist/deferred-message.d.ts +646 -0
- package/dist/deferred-message.d.ts.map +1 -1
- package/dist/deferred-message.js +16 -2
- package/dist/deferred-message.js.map +1 -1
- package/dist/events.d.ts +10 -10
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-confinement.js +1 -1
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness-input.d.ts +12 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +11 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-interaction.d.ts +20 -0
- package/dist/harness-interaction.d.ts.map +1 -1
- package/dist/harness-interaction.js +36 -0
- package/dist/harness-interaction.js.map +1 -1
- package/dist/harness.d.ts +95 -19
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +16 -15
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +363 -50
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-wait.d.ts +133 -7
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/operation.d.ts +1 -1
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/process-scope.d.ts +154 -0
- package/dist/process-scope.d.ts.map +1 -1
- package/dist/process-scope.js +16 -1
- package/dist/process-scope.js.map +1 -1
- package/dist/quota.d.ts +14 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +14 -0
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +4 -0
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +11 -5
- package/dist/raw.js.map +1 -1
- package/dist/route-controls.d.ts +49 -0
- package/dist/route-controls.d.ts.map +1 -0
- package/dist/route-controls.js +53 -0
- package/dist/route-controls.js.map +1 -0
- package/dist/route-health.d.ts +23 -23
- package/dist/route-health.js +1 -1
- package/dist/route-health.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-facts.d.ts +5 -5
- package/dist/run-facts.js +1 -1
- package/dist/run-facts.js.map +1 -1
- package/dist/status-projection.d.ts +3 -2
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +5 -2
- package/dist/status-projection.js.map +1 -1
- package/dist/task-group.d.ts +3 -0
- package/dist/task-group.d.ts.map +1 -1
- package/dist/task-group.js +11 -1
- package/dist/task-group.js.map +1 -1
- package/dist/task.d.ts +2 -2
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +4 -4
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +602 -117
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +17 -88
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-export.d.ts +847 -0
- package/dist/thread-export.d.ts.map +1 -0
- package/dist/thread-export.js +238 -0
- package/dist/thread-export.js.map +1 -0
- package/dist/thread-history.d.ts +248 -132
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread.d.ts +72 -6
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +19 -3
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +172 -21
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +114 -29
- package/dist/tool-ref.js.map +1 -1
- package/dist/web-evidence.d.ts +91 -0
- package/dist/web-evidence.d.ts.map +1 -0
- package/dist/web-evidence.js +77 -0
- package/dist/web-evidence.js.map +1 -0
- package/dist/workspace-preparation.d.ts +54 -0
- package/dist/workspace-preparation.d.ts.map +1 -0
- package/dist/workspace-preparation.js +59 -0
- package/dist/workspace-preparation.js.map +1 -0
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +20 -2
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +2 -2
- package/generated/ControlGcLastResponse.schema.json +22 -0
- package/generated/ControlGcReceipt.schema.json +13 -1
- package/generated/ControlHarnessListResponse.schema.json +2 -2
- package/generated/ControlQueuedRunInfo.schema.json +1 -1
- package/generated/ControlResource.schema.json +5 -0
- package/generated/ControlResourceRelease.schema.json +44 -0
- package/generated/ControlResourceReleaseRequest.schema.json +27 -0
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRouteHealth.schema.json +13 -1
- package/generated/ControlRunControlResponse.schema.json +41 -3
- package/generated/ControlRunDecisionRequest.schema.json +8 -2
- package/generated/ControlRunDecisionResponse.schema.json +4 -3
- package/generated/ControlRunDetail.schema.json +337 -10
- package/generated/ControlRunEventPart.schema.json +1 -0
- package/generated/ControlRunListResponse.schema.json +296 -7
- package/generated/ControlRunRetryResponse.schema.json +1 -1
- package/generated/ControlRunStartInfo.schema.json +1 -1
- package/generated/ControlRunStartResponse.schema.json +2 -2
- package/generated/ControlRunSummary.schema.json +296 -7
- package/generated/ControlThreadDetail.schema.json +1 -0
- package/generated/ControlThreadTurnResponse.schema.json +9 -0
- package/generated/ControlTrustListResponse.schema.json +8 -0
- package/generated/ControlTrustState.schema.json +8 -0
- package/generated/ControlUploadImport.schema.json +12 -2
- package/generated/ControlUploadImportRequest.schema.json +5 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/DeferredMessageDetail.schema.json +43 -7
- package/generated/DeferredMessageProjection.schema.json +41 -3
- package/generated/DeferredMessageReadResult.schema.json +42 -4
- package/generated/DeferredMessageReceipt.schema.json +41 -3
- package/generated/EnvelopeCustody.schema.json +3 -2
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +140 -4
- package/generated/HarnessManifest.schema.json +2 -2
- package/generated/HarnessStatusDto.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +62 -2
- package/generated/McpRunHandleResult.schema.json +90 -6
- package/generated/McpRunToolResult.schema.json +89 -6
- package/generated/McpRunWaitResult.schema.json +42 -3
- package/generated/McpThreadTurnResult.schema.json +9 -0
- package/generated/RawContextPacket.schema.json +6 -4
- package/generated/RawGitPatchEnvelope.schema.json +1 -1
- package/generated/RoutePoolDegradedPayload.schema.json +2 -1
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +46 -2
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +288 -7
- package/generated/TaskContract.schema.json +3 -3
- package/generated/TaskGroupReceipt.schema.json +1 -1
- package/generated/Thread.schema.json +41 -0
- package/generated/ThreadExportManifest.schema.json +461 -0
- package/generated/ThreadExportReceipt.schema.json +94 -0
- package/generated/ThreadHistoryPage.schema.json +47 -2
- package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
- package/generated/ThreadRetireRequest.schema.json +41 -0
- package/generated/ThreadRetirement.schema.json +175 -0
- package/generated/ThreadTurn.schema.json +1 -1
- package/generated/WorkspaceEnvelope.schema.json +1 -1
- package/generated/WorkspacePreparedPayload.schema.json +67 -0
- package/package.json +2 -2
|
@@ -119,13 +119,14 @@
|
|
|
119
119
|
"transport",
|
|
120
120
|
"permission_denied",
|
|
121
121
|
"context_exhausted",
|
|
122
|
+
"turn_limit",
|
|
122
123
|
"wall_clock",
|
|
123
124
|
"cancelled",
|
|
124
125
|
"host_restart",
|
|
125
126
|
"input_required",
|
|
126
127
|
"other"
|
|
127
128
|
],
|
|
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
|
|
129
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, an error without a typed cause (`transport`: a crash, an inactivity timeout or a harness-reported error; not proof that a process died or the network failed), a confirmed native tool permission refusal, context exhaustion, the run's max-turns cap, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
129
130
|
},
|
|
130
131
|
"resetsAt": {
|
|
131
132
|
"type": [
|
|
@@ -653,9 +654,41 @@
|
|
|
653
654
|
"reported_source"
|
|
654
655
|
],
|
|
655
656
|
"additionalProperties": false
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"type": "object",
|
|
660
|
+
"properties": {
|
|
661
|
+
"kind": {
|
|
662
|
+
"type": "string",
|
|
663
|
+
"const": "vendor_not_retryable"
|
|
664
|
+
},
|
|
665
|
+
"source": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"const": "agy_stderr"
|
|
668
|
+
},
|
|
669
|
+
"error_id": {
|
|
670
|
+
"anyOf": [
|
|
671
|
+
{
|
|
672
|
+
"type": "string",
|
|
673
|
+
"minLength": 1,
|
|
674
|
+
"maxLength": 128
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"type": "null"
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"description": "The vendor's own error id from the same record, verbatim; null when absent."
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"required": [
|
|
684
|
+
"kind",
|
|
685
|
+
"source",
|
|
686
|
+
"error_id"
|
|
687
|
+
],
|
|
688
|
+
"additionalProperties": false
|
|
656
689
|
}
|
|
657
690
|
],
|
|
658
|
-
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes carry their own evidence."
|
|
691
|
+
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes and an explicit vendor not-retryable verdict carry their own evidence."
|
|
659
692
|
},
|
|
660
693
|
"rawContextShortfall": {
|
|
661
694
|
"type": "object",
|
|
@@ -906,8 +939,20 @@
|
|
|
906
939
|
"raw_context_mandatory_unavailable",
|
|
907
940
|
"raw_context_exceeds_window",
|
|
908
941
|
"model_catalog_unavailable",
|
|
942
|
+
"model_selection_required",
|
|
943
|
+
"raw_patch_requires_isolation",
|
|
944
|
+
"raw_patch_missing_evidence",
|
|
945
|
+
"raw_patch_digest_mismatch",
|
|
946
|
+
"raw_patch_base_mismatch",
|
|
947
|
+
"raw_patch_path_traversal",
|
|
948
|
+
"raw_patch_outside_scope",
|
|
949
|
+
"raw_patch_stale_preimage",
|
|
950
|
+
"raw_patch_binary_unsupported",
|
|
951
|
+
"raw_patch_truncated",
|
|
952
|
+
"raw_patch_apply_failed",
|
|
909
953
|
"vendor_cli_too_old",
|
|
910
954
|
"credential_source_unconfirmed",
|
|
955
|
+
"vendor_not_retryable",
|
|
911
956
|
"delegated_home_unavailable",
|
|
912
957
|
"delegated_confinement_unavailable",
|
|
913
958
|
"delegated_evidence_incomplete",
|
|
@@ -1036,7 +1081,7 @@
|
|
|
1036
1081
|
"threshold"
|
|
1037
1082
|
],
|
|
1038
1083
|
"additionalProperties": false,
|
|
1039
|
-
"description": "Present when quota admission refused the account
|
|
1084
|
+
"description": "Present when quota admission or a typed provider limit refused the account: with code subscription_window_exhausted it separates the owner's saved reserve from provider exhaustion; with a null code the provider refused usage and no reopening time is known, so no timer is implied. Absent on other failures and on records written before this field existed."
|
|
1040
1085
|
},
|
|
1041
1086
|
"vendorFailure": {
|
|
1042
1087
|
"anyOf": [
|
|
@@ -1682,7 +1727,7 @@
|
|
|
1682
1727
|
},
|
|
1683
1728
|
"effectiveAccess": {
|
|
1684
1729
|
"$ref": "#/definitions/ControlRunSummary/properties/access",
|
|
1685
|
-
"description": "Access profile
|
|
1730
|
+
"description": "Access profile the engine resolved and passed to its routes; routeControls names each route's native setting."
|
|
1686
1731
|
},
|
|
1687
1732
|
"externalContextPolicy": {
|
|
1688
1733
|
"type": "string",
|
|
@@ -1700,7 +1745,7 @@
|
|
|
1700
1745
|
},
|
|
1701
1746
|
"webMode": {
|
|
1702
1747
|
"$ref": "#/definitions/ControlRunSummary/properties/externalContextPolicy",
|
|
1703
|
-
"description": "Web policy
|
|
1748
|
+
"description": "Web policy given to the selected route, after disclosed upgrades; not proof that a native session ran."
|
|
1704
1749
|
},
|
|
1705
1750
|
"webEvidence": {
|
|
1706
1751
|
"type": "object",
|
|
@@ -1718,12 +1763,12 @@
|
|
|
1718
1763
|
"effectiveMode": {
|
|
1719
1764
|
"$ref": "#/definitions/ControlRunSummary/properties/externalContextPolicy",
|
|
1720
1765
|
"default": "auto",
|
|
1721
|
-
"description": "Policy the selected route
|
|
1766
|
+
"description": "Policy given to the selected route, after disclosed upgrades (e.g. cached to live); not proof that a native session ran."
|
|
1722
1767
|
},
|
|
1723
1768
|
"attempted": {
|
|
1724
1769
|
"type": "boolean",
|
|
1725
1770
|
"default": false,
|
|
1726
|
-
"description": "Whether
|
|
1771
|
+
"description": "Whether a web tool call or engine Browser call was observed; not a network measurement."
|
|
1727
1772
|
},
|
|
1728
1773
|
"satisfied": {
|
|
1729
1774
|
"type": "boolean",
|
|
@@ -1742,6 +1787,62 @@
|
|
|
1742
1787
|
"default": "none",
|
|
1743
1788
|
"description": "Observed web status; satisfied does not prove retrieved content was verified."
|
|
1744
1789
|
},
|
|
1790
|
+
"verification": {
|
|
1791
|
+
"type": "string",
|
|
1792
|
+
"enum": [
|
|
1793
|
+
"verified",
|
|
1794
|
+
"dispatched",
|
|
1795
|
+
"none"
|
|
1796
|
+
],
|
|
1797
|
+
"default": "none",
|
|
1798
|
+
"description": "Retrieval-proof strength: verified when a typed result shows a retrieval (verifiedContent says of what); dispatched when a web call completed without one; none when no search or page retrieval was observed, though a Browser action may have completed."
|
|
1799
|
+
},
|
|
1800
|
+
"verifiedContent": {
|
|
1801
|
+
"anyOf": [
|
|
1802
|
+
{
|
|
1803
|
+
"type": "string",
|
|
1804
|
+
"enum": [
|
|
1805
|
+
"page",
|
|
1806
|
+
"search_results"
|
|
1807
|
+
]
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"type": "null"
|
|
1811
|
+
}
|
|
1812
|
+
],
|
|
1813
|
+
"default": null,
|
|
1814
|
+
"description": "What the verified retrieval returned: page (a fetched or loaded page) or search_results (a web search's results, not a fetched page); null when nothing was verified or the engine did not record it."
|
|
1815
|
+
},
|
|
1816
|
+
"observation": {
|
|
1817
|
+
"anyOf": [
|
|
1818
|
+
{
|
|
1819
|
+
"type": "object",
|
|
1820
|
+
"properties": {
|
|
1821
|
+
"evidence": {
|
|
1822
|
+
"type": "string",
|
|
1823
|
+
"const": "tool_calls",
|
|
1824
|
+
"description": "Web evidence comes from typed web tool calls and engine Browser MCP calls."
|
|
1825
|
+
},
|
|
1826
|
+
"network": {
|
|
1827
|
+
"type": "string",
|
|
1828
|
+
"const": "not_measured",
|
|
1829
|
+
"description": "Process network traffic is not measured: vendor API traffic, shell commands and other tools can use the network without appearing here."
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
"required": [
|
|
1833
|
+
"evidence",
|
|
1834
|
+
"network"
|
|
1835
|
+
],
|
|
1836
|
+
"additionalProperties": false,
|
|
1837
|
+
"description": "Scope of the web evidence: observed tool calls only, never a network measurement."
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"type": "null"
|
|
1841
|
+
}
|
|
1842
|
+
],
|
|
1843
|
+
"description": "What the evidence covers (tool calls; network not measured); null when no telemetry was recorded.",
|
|
1844
|
+
"default": null
|
|
1845
|
+
},
|
|
1745
1846
|
"tool": {
|
|
1746
1847
|
"type": [
|
|
1747
1848
|
"string",
|
|
@@ -1784,6 +1885,141 @@
|
|
|
1784
1885
|
"description": "Web evidence projected onto a run summary from the telemetry artifact.",
|
|
1785
1886
|
"default": {}
|
|
1786
1887
|
},
|
|
1888
|
+
"routeControls": {
|
|
1889
|
+
"type": "array",
|
|
1890
|
+
"items": {
|
|
1891
|
+
"type": "object",
|
|
1892
|
+
"properties": {
|
|
1893
|
+
"harnessId": {
|
|
1894
|
+
"type": "string",
|
|
1895
|
+
"description": "Harness of the route."
|
|
1896
|
+
},
|
|
1897
|
+
"webMode": {
|
|
1898
|
+
"type": "string",
|
|
1899
|
+
"enum": [
|
|
1900
|
+
"off",
|
|
1901
|
+
"auto",
|
|
1902
|
+
"cached",
|
|
1903
|
+
"live"
|
|
1904
|
+
],
|
|
1905
|
+
"description": "Web policy given to the route."
|
|
1906
|
+
},
|
|
1907
|
+
"webMechanism": {
|
|
1908
|
+
"type": "string",
|
|
1909
|
+
"enum": [
|
|
1910
|
+
"native",
|
|
1911
|
+
"tools",
|
|
1912
|
+
"uncontrolled",
|
|
1913
|
+
"none"
|
|
1914
|
+
],
|
|
1915
|
+
"description": "How the route's own web tools are switched."
|
|
1916
|
+
},
|
|
1917
|
+
"browser": {
|
|
1918
|
+
"type": "boolean",
|
|
1919
|
+
"description": "Whether the engine Browser MCP was handed to the route (prepared; not a connection)."
|
|
1920
|
+
},
|
|
1921
|
+
"browserStartup": {
|
|
1922
|
+
"anyOf": [
|
|
1923
|
+
{
|
|
1924
|
+
"type": "object",
|
|
1925
|
+
"properties": {
|
|
1926
|
+
"status": {
|
|
1927
|
+
"type": "string",
|
|
1928
|
+
"enum": [
|
|
1929
|
+
"ready",
|
|
1930
|
+
"failed",
|
|
1931
|
+
"cancelled",
|
|
1932
|
+
"starting",
|
|
1933
|
+
"not_observed"
|
|
1934
|
+
],
|
|
1935
|
+
"description": "Startup state when the first model request was allowed: ready (Codex reported the server started), failed, cancelled, starting (still starting when the hold ended: Codex's 90 s limit plus a 5 s grace for its status), or not_observed (no startup status at all)."
|
|
1936
|
+
},
|
|
1937
|
+
"waitedMs": {
|
|
1938
|
+
"type": "integer",
|
|
1939
|
+
"minimum": 0,
|
|
1940
|
+
"description": "How long the first model request was held for this outcome."
|
|
1941
|
+
},
|
|
1942
|
+
"error": {
|
|
1943
|
+
"type": [
|
|
1944
|
+
"string",
|
|
1945
|
+
"null"
|
|
1946
|
+
],
|
|
1947
|
+
"description": "The vendor's own reason for a failed or cancelled startup, masked."
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1950
|
+
"required": [
|
|
1951
|
+
"status",
|
|
1952
|
+
"waitedMs",
|
|
1953
|
+
"error"
|
|
1954
|
+
],
|
|
1955
|
+
"additionalProperties": false,
|
|
1956
|
+
"description": "The selected Browser's reported startup outcome on one route (#215)."
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"type": "null"
|
|
1960
|
+
}
|
|
1961
|
+
],
|
|
1962
|
+
"description": "The Browser's startup as the route reported it before the first model request; null when it reported none, so an armed Browser was only prepared.",
|
|
1963
|
+
"default": null
|
|
1964
|
+
},
|
|
1965
|
+
"access": {
|
|
1966
|
+
"type": "string",
|
|
1967
|
+
"enum": [
|
|
1968
|
+
"readonly",
|
|
1969
|
+
"workspace_write",
|
|
1970
|
+
"full",
|
|
1971
|
+
"inherit_native"
|
|
1972
|
+
],
|
|
1973
|
+
"description": "Access profile handed to the route."
|
|
1974
|
+
},
|
|
1975
|
+
"nativeAccess": {
|
|
1976
|
+
"type": [
|
|
1977
|
+
"string",
|
|
1978
|
+
"null"
|
|
1979
|
+
],
|
|
1980
|
+
"description": "The vendor access setting prepared for the route; null when none or undisclosed."
|
|
1981
|
+
},
|
|
1982
|
+
"accessMechanism": {
|
|
1983
|
+
"type": "string",
|
|
1984
|
+
"enum": [
|
|
1985
|
+
"fs_sandbox",
|
|
1986
|
+
"permission_deny",
|
|
1987
|
+
"tool_allowlist",
|
|
1988
|
+
"tool_policy",
|
|
1989
|
+
"native_settings",
|
|
1990
|
+
"none"
|
|
1991
|
+
],
|
|
1992
|
+
"description": "How the route's access profile reaches the harness: fs_sandbox (the vendor's own file-system sandbox, as the vendor applies it), permission_deny, tool_allowlist or tool_policy (vendor tool permissions; the manifest declares no OS file boundary), native_settings (inherit_native: Claudexor passes no access profile, so the harness's own configuration decides and what it confines is unknown here), or none (full access, or a route that declares no control)."
|
|
1993
|
+
},
|
|
1994
|
+
"nativeSessionStarted": {
|
|
1995
|
+
"type": "boolean",
|
|
1996
|
+
"description": "Whether an adapter reported a native session started under these controls. False means none was observed (refused before launch, or stopped or ended before a start was reported); it does not prove that no process ran."
|
|
1997
|
+
},
|
|
1998
|
+
"homeScoped": {
|
|
1999
|
+
"type": [
|
|
2000
|
+
"boolean",
|
|
2001
|
+
"null"
|
|
2002
|
+
],
|
|
2003
|
+
"description": "Applied HOME fact: true when the engine assigned the child a Claudexor-owned HOME, false when the engine did not replace HOME, so the child inherits the engine's own environment; null when the route recorded none."
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
"required": [
|
|
2007
|
+
"harnessId",
|
|
2008
|
+
"webMode",
|
|
2009
|
+
"webMechanism",
|
|
2010
|
+
"browser",
|
|
2011
|
+
"access",
|
|
2012
|
+
"nativeAccess",
|
|
2013
|
+
"accessMechanism",
|
|
2014
|
+
"nativeSessionStarted",
|
|
2015
|
+
"homeScoped"
|
|
2016
|
+
],
|
|
2017
|
+
"additionalProperties": false,
|
|
2018
|
+
"description": "Native web and access controls prepared for one route of the run; Claudexor adds no outer boundary."
|
|
2019
|
+
},
|
|
2020
|
+
"default": [],
|
|
2021
|
+
"description": "Distinct routes of the run: the native web/access controls prepared for each and whether a native session was reported started."
|
|
2022
|
+
},
|
|
1787
2023
|
"requestRequirements": {
|
|
1788
2024
|
"type": "array",
|
|
1789
2025
|
"items": {
|
|
@@ -2048,6 +2284,7 @@
|
|
|
2048
2284
|
"input_required",
|
|
2049
2285
|
"work_incomplete",
|
|
2050
2286
|
"context_capacity_exhausted",
|
|
2287
|
+
"turn_limit_reached",
|
|
2051
2288
|
"work_report_contract"
|
|
2052
2289
|
],
|
|
2053
2290
|
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
@@ -2229,6 +2466,58 @@
|
|
|
2229
2466
|
"description": "Compact process-scope outcome from final/process_scope.yaml (settled, coverage, completeness, survivors, unreadable, census). Always present in this engine's responses: null means unknown (the run is live, or the record is missing, unreadable or invalid), never clean. Engines that predate the field omit the key, which is equally unknown.",
|
|
2230
2467
|
"default": null
|
|
2231
2468
|
},
|
|
2469
|
+
"processScopeLater": {
|
|
2470
|
+
"anyOf": [
|
|
2471
|
+
{
|
|
2472
|
+
"type": "object",
|
|
2473
|
+
"properties": {
|
|
2474
|
+
"settled": {
|
|
2475
|
+
"$ref": "#/definitions/ControlRunSummary/properties/processScope/anyOf/0/properties/settled"
|
|
2476
|
+
},
|
|
2477
|
+
"coverage": {
|
|
2478
|
+
"$ref": "#/definitions/ControlRunSummary/properties/processScope/anyOf/0/properties/coverage"
|
|
2479
|
+
},
|
|
2480
|
+
"completeness": {
|
|
2481
|
+
"$ref": "#/definitions/ControlRunSummary/properties/processScope/anyOf/0/properties/completeness"
|
|
2482
|
+
},
|
|
2483
|
+
"census": {
|
|
2484
|
+
"$ref": "#/definitions/ControlRunSummary/properties/processScope/anyOf/0/properties/census"
|
|
2485
|
+
},
|
|
2486
|
+
"survivors": {
|
|
2487
|
+
"$ref": "#/definitions/ControlRunSummary/properties/processScope/anyOf/0/properties/survivors"
|
|
2488
|
+
},
|
|
2489
|
+
"unreadable": {
|
|
2490
|
+
"$ref": "#/definitions/ControlRunSummary/properties/processScope/anyOf/0/properties/unreadable"
|
|
2491
|
+
},
|
|
2492
|
+
"attempt": {
|
|
2493
|
+
"type": "integer",
|
|
2494
|
+
"exclusiveMinimum": 0
|
|
2495
|
+
},
|
|
2496
|
+
"at": {
|
|
2497
|
+
"type": "string",
|
|
2498
|
+
"minLength": 1
|
|
2499
|
+
}
|
|
2500
|
+
},
|
|
2501
|
+
"required": [
|
|
2502
|
+
"settled",
|
|
2503
|
+
"coverage",
|
|
2504
|
+
"completeness",
|
|
2505
|
+
"census",
|
|
2506
|
+
"survivors",
|
|
2507
|
+
"unreadable",
|
|
2508
|
+
"attempt",
|
|
2509
|
+
"at"
|
|
2510
|
+
],
|
|
2511
|
+
"additionalProperties": false,
|
|
2512
|
+
"description": "Compact process-scope outcome of a terminal run (full artifact: final/process_scope.yaml)."
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"type": "null"
|
|
2516
|
+
}
|
|
2517
|
+
],
|
|
2518
|
+
"description": "Latest later, separately bounded settlement attempt of this finished run's scope (final/process_scope_later.yaml), beside the unchanged terminal processScope. Null when none ran or it is unreadable: unknown, never clean.",
|
|
2519
|
+
"default": null
|
|
2520
|
+
},
|
|
2232
2521
|
"route": {
|
|
2233
2522
|
"anyOf": [
|
|
2234
2523
|
{
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
{
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
|
+
"storeId": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"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."
|
|
13
|
+
},
|
|
9
14
|
"jobId": {
|
|
10
15
|
"type": "string",
|
|
11
16
|
"description": "Daemon job id backing the run."
|
|
@@ -43,6 +48,10 @@
|
|
|
43
48
|
{
|
|
44
49
|
"type": "object",
|
|
45
50
|
"properties": {
|
|
51
|
+
"storeId": {
|
|
52
|
+
"$ref": "#/definitions/ControlThreadTurnResponse/anyOf/0/properties/storeId",
|
|
53
|
+
"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."
|
|
54
|
+
},
|
|
46
55
|
"jobId": {
|
|
47
56
|
"$ref": "#/definitions/ControlThreadTurnResponse/anyOf/0/properties/threadId"
|
|
48
57
|
},
|
|
@@ -39,6 +39,14 @@
|
|
|
39
39
|
"minimum": 0,
|
|
40
40
|
"default": 0,
|
|
41
41
|
"description": "Number of exact external test-command grants for this repo."
|
|
42
|
+
},
|
|
43
|
+
"source": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": [
|
|
46
|
+
"file",
|
|
47
|
+
"default"
|
|
48
|
+
],
|
|
49
|
+
"description": "default only when no trust file exists at this repo's path; file whenever one does, including an empty, comment-only or unreadable file read as the schema default. Omitted by older daemons and by the unscoped list."
|
|
42
50
|
}
|
|
43
51
|
},
|
|
44
52
|
"required": [
|
|
@@ -34,6 +34,14 @@
|
|
|
34
34
|
"minimum": 0,
|
|
35
35
|
"default": 0,
|
|
36
36
|
"description": "Number of exact external test-command grants for this repo."
|
|
37
|
+
},
|
|
38
|
+
"source": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": [
|
|
41
|
+
"file",
|
|
42
|
+
"default"
|
|
43
|
+
],
|
|
44
|
+
"description": "default only when no trust file exists at this repo's path; file whenever one does, including an empty, comment-only or unreadable file read as the schema default. Omitted by older daemons and by the unscoped list."
|
|
37
45
|
}
|
|
38
46
|
},
|
|
39
47
|
"required": [
|
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
"open",
|
|
16
16
|
"uploading",
|
|
17
17
|
"ready",
|
|
18
|
+
"released",
|
|
18
19
|
"cancelled"
|
|
19
20
|
],
|
|
20
|
-
"description": "open: send the bound bytes; uploading: a transfer is in flight; ready: resource is published; cancelled: finished without a resource, a new attempt needs a new key."
|
|
21
|
+
"description": "open: send the bound bytes; uploading: a transfer is in flight; ready: resource is published; released: the published managed resource was later released by its caller and admits no new reference, a new attachment needs a new key; cancelled: finished without a resource, a new attempt needs a new key."
|
|
21
22
|
},
|
|
22
23
|
"uploadId": {
|
|
23
24
|
"type": "string",
|
|
@@ -62,6 +63,11 @@
|
|
|
62
63
|
"const": "model",
|
|
63
64
|
"description": "Immutable model-operation purpose; absent means a legacy or ordinary attachment."
|
|
64
65
|
},
|
|
66
|
+
"lifetime": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"const": "managed",
|
|
69
|
+
"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."
|
|
70
|
+
},
|
|
65
71
|
"kind": {
|
|
66
72
|
"type": "string",
|
|
67
73
|
"enum": [
|
|
@@ -106,7 +112,11 @@
|
|
|
106
112
|
"deduplicated"
|
|
107
113
|
],
|
|
108
114
|
"additionalProperties": false,
|
|
109
|
-
"description": "The immutable resource, present exactly when state is ready."
|
|
115
|
+
"description": "The immutable resource, present exactly when state is ready or released."
|
|
116
|
+
},
|
|
117
|
+
"releasedAt": {
|
|
118
|
+
"$ref": "#/definitions/ControlUploadImport/properties/resource/properties/createdAt",
|
|
119
|
+
"description": "The first release of the resource, present exactly when state is released."
|
|
110
120
|
}
|
|
111
121
|
},
|
|
112
122
|
"required": [
|
|
@@ -31,6 +31,11 @@
|
|
|
31
31
|
"maxLength": 4096,
|
|
32
32
|
"description": "Opaque caller identity of the selected source, such as the absolute path a local client read or a task artifact id. Bound into the key only; the daemon never reads, resolves, stores or returns it."
|
|
33
33
|
},
|
|
34
|
+
"lifetime": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"const": "managed",
|
|
37
|
+
"description": "Opt in to a managed resource lifetime (support: the POST /v2/resources/:id/release catalog descriptor). Bound into the key like kind, mime, name and source."
|
|
38
|
+
},
|
|
34
39
|
"content": {
|
|
35
40
|
"type": "object",
|
|
36
41
|
"properties": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"retryable": {
|
|
86
86
|
"type": "boolean",
|
|
87
87
|
"default": true,
|
|
88
|
-
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay."
|
|
88
|
+
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay or a managed resource it names was released."
|
|
89
89
|
},
|
|
90
90
|
"required_actions": {
|
|
91
91
|
"type": "array",
|
|
@@ -116,13 +116,51 @@
|
|
|
116
116
|
"code"
|
|
117
117
|
],
|
|
118
118
|
"additionalProperties": false,
|
|
119
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
119
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"type": "null"
|
|
123
123
|
}
|
|
124
124
|
],
|
|
125
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
125
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
126
|
+
},
|
|
127
|
+
"resumed": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"from": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"code": {
|
|
134
|
+
"$ref": "#/definitions/DeferredMessageDetail/properties/hold/anyOf/0/properties/code"
|
|
135
|
+
},
|
|
136
|
+
"problem": {
|
|
137
|
+
"$ref": "#/definitions/DeferredMessageDetail/properties/hold/anyOf/0/properties/problem"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"required": [
|
|
141
|
+
"code"
|
|
142
|
+
],
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"description": "The hold the draft was returned from."
|
|
145
|
+
},
|
|
146
|
+
"reason": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"const": "process_scope_settled",
|
|
149
|
+
"description": "A later settlement of the predecessor's run proved its processes gone; the draft was unchanged, not cleared, replaced or stopped."
|
|
150
|
+
},
|
|
151
|
+
"at": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"minLength": 1,
|
|
154
|
+
"description": "ISO-8601 timestamp string."
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"from",
|
|
159
|
+
"reason",
|
|
160
|
+
"at"
|
|
161
|
+
],
|
|
162
|
+
"additionalProperties": false,
|
|
163
|
+
"description": "Why this draft left its hold automatically. It then took the existing revision and admission path; any other reason holds it again."
|
|
126
164
|
},
|
|
127
165
|
"dispatchedRevision": {
|
|
128
166
|
"anyOf": [
|
|
@@ -777,7 +815,7 @@
|
|
|
777
815
|
"null"
|
|
778
816
|
],
|
|
779
817
|
"default": null,
|
|
780
|
-
"description": "Per-harness default model; null = the harness's own default."
|
|
818
|
+
"description": "Per-harness default model; null = the harness's own default, or no model on a route whose request must name one."
|
|
781
819
|
},
|
|
782
820
|
"effort": {
|
|
783
821
|
"anyOf": [
|
|
@@ -882,9 +920,7 @@
|
|
|
882
920
|
"capturedAt": {
|
|
883
921
|
"anyOf": [
|
|
884
922
|
{
|
|
885
|
-
"
|
|
886
|
-
"minLength": 1,
|
|
887
|
-
"description": "ISO-8601 timestamp string."
|
|
923
|
+
"$ref": "#/definitions/DeferredMessageDetail/properties/resumed/properties/at"
|
|
888
924
|
},
|
|
889
925
|
{
|
|
890
926
|
"type": "null"
|