@claudexor/schema 4.8.2 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account-resources.d.ts +325 -56
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +35 -5
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +253 -45
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-target.d.ts +19 -5
- package/dist/account-target.d.ts.map +1 -1
- package/dist/account-target.js +14 -1
- package/dist/account-target.js.map +1 -1
- package/dist/agent-capabilities.d.ts +183 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +2 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/budget.d.ts +3 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +5 -1
- package/dist/budget.js.map +1 -1
- package/dist/capture-inventory.d.ts +60 -0
- package/dist/capture-inventory.d.ts.map +1 -0
- package/dist/capture-inventory.js +57 -0
- package/dist/capture-inventory.js.map +1 -0
- package/dist/control-harness-list.d.ts +102 -18
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +299 -6
- package/dist/control-harness-models.d.ts.map +1 -1
- package/dist/control-harness-models.js +12 -3
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +606 -23
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +3 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +1178 -72
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-event-part.js +1 -1
- package/dist/control-run-event-part.js.map +1 -1
- package/dist/control-run-failure.d.ts +276 -12
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +54 -16
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-message.js +1 -1
- package/dist/control-run-message.js.map +1 -1
- package/dist/control-thread-apply.d.ts +165 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-timeline.d.ts.map +1 -1
- package/dist/control-timeline.js +7 -3
- package/dist/control-timeline.js.map +1 -1
- package/dist/control.d.ts +383 -42
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +9 -5
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +506 -90
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +4 -0
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +162 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +32 -0
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +7 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +15 -8
- package/dist/events.js.map +1 -1
- package/dist/git-result.d.ts +99 -0
- package/dist/git-result.d.ts.map +1 -0
- package/dist/git-result.js +80 -0
- package/dist/git-result.js.map +1 -0
- package/dist/harness-model.d.ts +89 -0
- package/dist/harness-model.d.ts.map +1 -1
- package/dist/harness-model.js +83 -0
- package/dist/harness-model.js.map +1 -1
- package/dist/harness.d.ts +353 -35
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +4 -19
- 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 +620 -51
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +45 -5
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +7 -7
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +3 -2
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +45 -1
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +26 -1
- package/dist/project.js.map +1 -1
- package/dist/quota-read.d.ts +6 -3
- package/dist/quota-read.d.ts.map +1 -1
- package/dist/quota-read.js +7 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/quota-scope.d.ts +29 -0
- package/dist/quota-scope.d.ts.map +1 -0
- package/dist/quota-scope.js +95 -0
- package/dist/quota-scope.js.map +1 -0
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +5 -1
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts +223 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +86 -0
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +87 -18
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +7 -6
- package/dist/readiness.js.map +1 -1
- package/dist/route-health.d.ts +303 -0
- package/dist/route-health.d.ts.map +1 -0
- package/dist/route-health.js +71 -0
- package/dist/route-health.js.map +1 -0
- package/dist/run-continuity.d.ts +3 -0
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +4 -0
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/run-facts.js +1 -0
- package/dist/run-facts.js.map +1 -1
- package/dist/setup-login.d.ts +1 -1
- package/dist/setup-login.js +1 -1
- package/dist/setup.d.ts +1 -1
- package/dist/setup.js +1 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +3 -0
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +239 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +4 -2
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-history.d.ts +1109 -161
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread-history.js +1 -1
- package/dist/thread-history.js.map +1 -1
- package/dist/tool-ref.d.ts +94 -3
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +98 -6
- package/dist/tool-ref.js.map +1 -1
- 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/generated/AgentCapabilityCatalog.schema.json +54 -0
- package/generated/BudgetObservation.schema.json +8 -1
- package/generated/ControlAccountResetResponse.schema.json +60 -1
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +46 -2
- package/generated/ControlAccountResourcesResponse.schema.json +46 -2
- package/generated/ControlApplyCheckResponse.schema.json +47 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +59 -2
- package/generated/ControlDeliveryResponse.schema.json +154 -0
- package/generated/ControlHarnessAccountCatalog.schema.json +13 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +13 -0
- package/generated/ControlHarnessListResponse.schema.json +59 -2
- package/generated/ControlHarnessModelsQueryResponse.schema.json +97 -51
- package/generated/ControlHarnessModelsResponse.schema.json +96 -0
- package/generated/ControlProjectRemoveReceipt.schema.json +36 -0
- package/generated/ControlQuotaQueryResponse.schema.json +46 -2
- package/generated/ControlQuotaReadRequest.schema.json +4 -0
- package/generated/ControlQuotaRefreshRequest.schema.json +12 -3
- package/generated/ControlRouteHealth.schema.json +202 -0
- package/generated/ControlRunDetail.schema.json +344 -5
- package/generated/ControlRunEventPart.schema.json +4 -2
- package/generated/ControlRunListResponse.schema.json +341 -2
- package/generated/ControlRunMessageRequest.schema.json +1 -1
- package/generated/ControlRunSummary.schema.json +341 -2
- package/generated/ControlThreadApplyResponse.schema.json +154 -0
- package/generated/ControlThreadDetail.schema.json +1 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/HarnessEvent.schema.json +189 -5
- package/generated/HarnessManifest.schema.json +57 -0
- package/generated/HarnessModel.schema.json +13 -0
- package/generated/HarnessStatusDto.schema.json +59 -2
- package/generated/JournaledRunCreatedPayload.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +105 -4
- package/generated/McpRunHandleResult.schema.json +279 -2
- package/generated/McpRunToolResult.schema.json +269 -0
- package/generated/McpRunWaitResult.schema.json +3 -1
- package/generated/RawContextPacket.schema.json +98 -0
- package/generated/RunContinuityReceipt.schema.json +8 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +201 -0
- package/generated/RunTelemetry.schema.json +123 -2
- package/generated/ThreadHistoryPage.schema.json +203 -1
- package/generated/WorkspacePreparedPayload.schema.json +67 -0
- package/package.json +2 -2
|
@@ -402,6 +402,14 @@
|
|
|
402
402
|
"not_applicable"
|
|
403
403
|
],
|
|
404
404
|
"description": "Whether the predecessor's last input (its turn prompt or an admitted steering message) is known to be in the vendor history: confirmed, uncertain (carried in the notice as a reference to reconcile, never replayed blindly), or not applicable."
|
|
405
|
+
},
|
|
406
|
+
"sourceRetirement": {
|
|
407
|
+
"type": "string",
|
|
408
|
+
"enum": [
|
|
409
|
+
"retired",
|
|
410
|
+
"not_confirmed"
|
|
411
|
+
],
|
|
412
|
+
"description": "After a native_moved carrier published the new holder: retired (the adapter removed the source copy) or not_confirmed (removal failed, possibly part-way). Absent = no move retired a source for this try."
|
|
405
413
|
}
|
|
406
414
|
},
|
|
407
415
|
"required": [
|
|
@@ -649,6 +657,68 @@
|
|
|
649
657
|
],
|
|
650
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."
|
|
651
659
|
},
|
|
660
|
+
"rawContextShortfall": {
|
|
661
|
+
"type": "object",
|
|
662
|
+
"properties": {
|
|
663
|
+
"model": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"minLength": 1,
|
|
666
|
+
"description": "Model whose window was checked."
|
|
667
|
+
},
|
|
668
|
+
"context_window": {
|
|
669
|
+
"type": "integer",
|
|
670
|
+
"exclusiveMinimum": 0
|
|
671
|
+
},
|
|
672
|
+
"packet_tokens": {
|
|
673
|
+
"type": "integer",
|
|
674
|
+
"minimum": 0,
|
|
675
|
+
"description": "The packet with every optional file omitted: mandatory files, file manifest and metadata."
|
|
676
|
+
},
|
|
677
|
+
"framing_tokens": {
|
|
678
|
+
"type": "integer",
|
|
679
|
+
"minimum": 0,
|
|
680
|
+
"description": "The request outside the packet: instructions, user text, patch protocol and attachments."
|
|
681
|
+
},
|
|
682
|
+
"output_allowance_tokens": {
|
|
683
|
+
"type": "integer",
|
|
684
|
+
"minimum": 0,
|
|
685
|
+
"description": "Tokens kept free for the answer."
|
|
686
|
+
},
|
|
687
|
+
"mandatory_files": {
|
|
688
|
+
"type": "array",
|
|
689
|
+
"items": {
|
|
690
|
+
"type": "object",
|
|
691
|
+
"properties": {
|
|
692
|
+
"path": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"minLength": 1
|
|
695
|
+
},
|
|
696
|
+
"estimated_tokens": {
|
|
697
|
+
"type": "integer",
|
|
698
|
+
"minimum": 0,
|
|
699
|
+
"description": "This file's share of packet_tokens: its packet entry with content and evidence."
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"required": [
|
|
703
|
+
"path",
|
|
704
|
+
"estimated_tokens"
|
|
705
|
+
],
|
|
706
|
+
"additionalProperties": false
|
|
707
|
+
},
|
|
708
|
+
"description": "Every mandatory file, largest first."
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"required": [
|
|
712
|
+
"model",
|
|
713
|
+
"context_window",
|
|
714
|
+
"packet_tokens",
|
|
715
|
+
"framing_tokens",
|
|
716
|
+
"output_allowance_tokens",
|
|
717
|
+
"mandatory_files"
|
|
718
|
+
],
|
|
719
|
+
"additionalProperties": false,
|
|
720
|
+
"description": "Typed sizes behind code raw_context_exceeds_window: the window, the request's parts and every mandatory file, so surfaces never read them from safeMessage."
|
|
721
|
+
},
|
|
652
722
|
"captureFailure": {
|
|
653
723
|
"type": "object",
|
|
654
724
|
"properties": {
|
|
@@ -658,6 +728,11 @@
|
|
|
658
728
|
"capture_output_exceeded",
|
|
659
729
|
"capture_output_incomplete",
|
|
660
730
|
"capture_preview_truncated",
|
|
731
|
+
"capture_space_insufficient",
|
|
732
|
+
"capture_git_stalled",
|
|
733
|
+
"capture_git_signal",
|
|
734
|
+
"capture_read_failed",
|
|
735
|
+
"capture_object_missing",
|
|
661
736
|
"capture_failed"
|
|
662
737
|
]
|
|
663
738
|
},
|
|
@@ -682,6 +757,22 @@
|
|
|
682
757
|
"type": "string",
|
|
683
758
|
"const": "truncated"
|
|
684
759
|
},
|
|
760
|
+
"requiredBytes": {
|
|
761
|
+
"type": "integer",
|
|
762
|
+
"minimum": 0
|
|
763
|
+
},
|
|
764
|
+
"availableBytes": {
|
|
765
|
+
"type": "integer",
|
|
766
|
+
"minimum": 0
|
|
767
|
+
},
|
|
768
|
+
"signal": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"maxLength": 32
|
|
771
|
+
},
|
|
772
|
+
"stallMs": {
|
|
773
|
+
"type": "integer",
|
|
774
|
+
"minimum": 0
|
|
775
|
+
},
|
|
685
776
|
"cleanup": {
|
|
686
777
|
"type": "object",
|
|
687
778
|
"properties": {
|
|
@@ -700,6 +791,72 @@
|
|
|
700
791
|
"message"
|
|
701
792
|
],
|
|
702
793
|
"additionalProperties": false
|
|
794
|
+
},
|
|
795
|
+
"inventory": {
|
|
796
|
+
"type": "object",
|
|
797
|
+
"properties": {
|
|
798
|
+
"exact": {
|
|
799
|
+
"type": "boolean",
|
|
800
|
+
"const": false,
|
|
801
|
+
"description": "Always false: an inventory names files; it is not the exact change."
|
|
802
|
+
},
|
|
803
|
+
"changedFiles": {
|
|
804
|
+
"type": "integer",
|
|
805
|
+
"minimum": 0,
|
|
806
|
+
"description": "Changed paths the pass counted."
|
|
807
|
+
},
|
|
808
|
+
"largest": {
|
|
809
|
+
"type": "array",
|
|
810
|
+
"items": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"properties": {
|
|
813
|
+
"path": {
|
|
814
|
+
"type": "string",
|
|
815
|
+
"maxLength": 1024,
|
|
816
|
+
"description": "Top-relative changed path, exact within the length cap."
|
|
817
|
+
},
|
|
818
|
+
"change": {
|
|
819
|
+
"type": "string",
|
|
820
|
+
"enum": [
|
|
821
|
+
"added",
|
|
822
|
+
"modified",
|
|
823
|
+
"deleted",
|
|
824
|
+
"type_changed"
|
|
825
|
+
],
|
|
826
|
+
"description": "What happened to the path between the turn's base and the uncaptured tree."
|
|
827
|
+
},
|
|
828
|
+
"sizeBytes": {
|
|
829
|
+
"anyOf": [
|
|
830
|
+
{
|
|
831
|
+
"type": "integer",
|
|
832
|
+
"minimum": 0
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"type": "null"
|
|
836
|
+
}
|
|
837
|
+
],
|
|
838
|
+
"description": "Size of the new blob (of the old blob for a deletion); null when Git could not size it."
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
"required": [
|
|
842
|
+
"path",
|
|
843
|
+
"change",
|
|
844
|
+
"sizeBytes"
|
|
845
|
+
],
|
|
846
|
+
"additionalProperties": false,
|
|
847
|
+
"description": "One changed path of a non-exact capture inventory."
|
|
848
|
+
},
|
|
849
|
+
"maxItems": 20,
|
|
850
|
+
"description": "The largest changed files, largest first."
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
"required": [
|
|
854
|
+
"exact",
|
|
855
|
+
"changedFiles",
|
|
856
|
+
"largest"
|
|
857
|
+
],
|
|
858
|
+
"additionalProperties": false,
|
|
859
|
+
"description": "Bounded non-exact inventory of the changed files behind a refused capture."
|
|
703
860
|
}
|
|
704
861
|
},
|
|
705
862
|
"required": [
|
|
@@ -746,6 +903,9 @@
|
|
|
746
903
|
"subscription_window_exhausted",
|
|
747
904
|
"credential_pool_exhausted",
|
|
748
905
|
"input_too_large",
|
|
906
|
+
"raw_context_mandatory_unavailable",
|
|
907
|
+
"raw_context_exceeds_window",
|
|
908
|
+
"model_catalog_unavailable",
|
|
749
909
|
"vendor_cli_too_old",
|
|
750
910
|
"credential_source_unconfirmed",
|
|
751
911
|
"delegated_home_unavailable",
|
|
@@ -829,6 +989,55 @@
|
|
|
829
989
|
"default": null,
|
|
830
990
|
"description": "When the refused window reopens (a spent subscription quota window), or null when the failure has no such time. Callers schedule a retry off this field, never off safeMessage."
|
|
831
991
|
},
|
|
992
|
+
"quotaRefusal": {
|
|
993
|
+
"type": "object",
|
|
994
|
+
"properties": {
|
|
995
|
+
"basis": {
|
|
996
|
+
"type": "string",
|
|
997
|
+
"enum": [
|
|
998
|
+
"owner_reserve",
|
|
999
|
+
"provider_window",
|
|
1000
|
+
"provider_cooldown"
|
|
1001
|
+
],
|
|
1002
|
+
"description": "owner_reserve: usage reached the saved headroom_threshold below 100% while the provider reports quota left; provider_window: the provider reports the window spent; provider_cooldown: a provider rate-limit cooldown is in force."
|
|
1003
|
+
},
|
|
1004
|
+
"constraintId": {
|
|
1005
|
+
"type": [
|
|
1006
|
+
"string",
|
|
1007
|
+
"null"
|
|
1008
|
+
],
|
|
1009
|
+
"description": "The refusing quota window, when known."
|
|
1010
|
+
},
|
|
1011
|
+
"usedRatio": {
|
|
1012
|
+
"anyOf": [
|
|
1013
|
+
{
|
|
1014
|
+
"type": "number",
|
|
1015
|
+
"minimum": 0,
|
|
1016
|
+
"maximum": 1
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"type": "null"
|
|
1020
|
+
}
|
|
1021
|
+
],
|
|
1022
|
+
"description": "Its observed usage, when known."
|
|
1023
|
+
},
|
|
1024
|
+
"threshold": {
|
|
1025
|
+
"type": [
|
|
1026
|
+
"number",
|
|
1027
|
+
"null"
|
|
1028
|
+
],
|
|
1029
|
+
"description": "The headroom_threshold the decision applied, when it applied one."
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
"required": [
|
|
1033
|
+
"basis",
|
|
1034
|
+
"constraintId",
|
|
1035
|
+
"usedRatio",
|
|
1036
|
+
"threshold"
|
|
1037
|
+
],
|
|
1038
|
+
"additionalProperties": false,
|
|
1039
|
+
"description": "Present when quota admission refused the account (code subscription_window_exhausted): separates the owner's saved reserve from provider exhaustion. Absent on other failures and on records written before this field existed."
|
|
1040
|
+
},
|
|
832
1041
|
"vendorFailure": {
|
|
833
1042
|
"anyOf": [
|
|
834
1043
|
{
|
|
@@ -1547,7 +1756,7 @@
|
|
|
1547
1756
|
"null"
|
|
1548
1757
|
],
|
|
1549
1758
|
"default": null,
|
|
1550
|
-
"description": "
|
|
1759
|
+
"description": "Target (query/url) of the web activity as issued, when any."
|
|
1551
1760
|
},
|
|
1552
1761
|
"errorSummary": {
|
|
1553
1762
|
"type": [
|
|
@@ -1563,7 +1772,7 @@
|
|
|
1563
1772
|
"null"
|
|
1564
1773
|
],
|
|
1565
1774
|
"default": null,
|
|
1566
|
-
"description": "Artifact path holding the
|
|
1775
|
+
"description": "Artifact path holding the full evidence record."
|
|
1567
1776
|
},
|
|
1568
1777
|
"available": {
|
|
1569
1778
|
"type": "boolean",
|
|
@@ -1835,6 +2044,7 @@
|
|
|
1835
2044
|
"owner_task_gone",
|
|
1836
2045
|
"crash_interrupted",
|
|
1837
2046
|
"workspace_unavailable",
|
|
2047
|
+
"capture_refused",
|
|
1838
2048
|
"input_required",
|
|
1839
2049
|
"work_incomplete",
|
|
1840
2050
|
"context_capacity_exhausted",
|
|
@@ -2175,6 +2385,135 @@
|
|
|
2175
2385
|
"description": "Typed routing rationale (QA-034) projected from telemetry; null when no ranking was computed or on legacy runs.",
|
|
2176
2386
|
"default": null
|
|
2177
2387
|
},
|
|
2388
|
+
"rawContext": {
|
|
2389
|
+
"anyOf": [
|
|
2390
|
+
{
|
|
2391
|
+
"type": "object",
|
|
2392
|
+
"properties": {
|
|
2393
|
+
"model": {
|
|
2394
|
+
"type": "string",
|
|
2395
|
+
"minLength": 1,
|
|
2396
|
+
"description": "Model the request named."
|
|
2397
|
+
},
|
|
2398
|
+
"estimated_request_tokens": {
|
|
2399
|
+
"type": "integer",
|
|
2400
|
+
"minimum": 0,
|
|
2401
|
+
"description": "Estimated tokens of the whole rendered request (chars/4, plus a fixed figure per image); never a tokenizer count."
|
|
2402
|
+
},
|
|
2403
|
+
"budget": {
|
|
2404
|
+
"type": "object",
|
|
2405
|
+
"properties": {
|
|
2406
|
+
"estimator": {
|
|
2407
|
+
"type": "string",
|
|
2408
|
+
"const": "chars_div_4"
|
|
2409
|
+
},
|
|
2410
|
+
"basis": {
|
|
2411
|
+
"type": "string",
|
|
2412
|
+
"enum": [
|
|
2413
|
+
"model_context_window",
|
|
2414
|
+
"assumed_ceiling"
|
|
2415
|
+
]
|
|
2416
|
+
},
|
|
2417
|
+
"model": {
|
|
2418
|
+
"anyOf": [
|
|
2419
|
+
{
|
|
2420
|
+
"type": "string",
|
|
2421
|
+
"minLength": 1
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"type": "null"
|
|
2425
|
+
}
|
|
2426
|
+
],
|
|
2427
|
+
"description": "Model whose catalog row was consulted; null when the producer reported none."
|
|
2428
|
+
},
|
|
2429
|
+
"context_window": {
|
|
2430
|
+
"anyOf": [
|
|
2431
|
+
{
|
|
2432
|
+
"type": "integer",
|
|
2433
|
+
"exclusiveMinimum": 0
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"type": "null"
|
|
2437
|
+
}
|
|
2438
|
+
]
|
|
2439
|
+
},
|
|
2440
|
+
"output_allowance_tokens": {
|
|
2441
|
+
"anyOf": [
|
|
2442
|
+
{
|
|
2443
|
+
"type": "integer",
|
|
2444
|
+
"minimum": 0
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"type": "null"
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
"framing_tokens": {
|
|
2452
|
+
"anyOf": [
|
|
2453
|
+
{
|
|
2454
|
+
"type": "integer",
|
|
2455
|
+
"minimum": 0
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"type": "null"
|
|
2459
|
+
}
|
|
2460
|
+
],
|
|
2461
|
+
"description": "Estimated tokens of the request outside this packet; null when unmeasured."
|
|
2462
|
+
},
|
|
2463
|
+
"selection_limit_tokens": {
|
|
2464
|
+
"type": "integer",
|
|
2465
|
+
"exclusiveMinimum": 0,
|
|
2466
|
+
"description": "Limit the optional selection honoured: the packet's share of the window, or the assumed ceiling on file contents."
|
|
2467
|
+
},
|
|
2468
|
+
"estimated_packet_tokens": {
|
|
2469
|
+
"type": "integer",
|
|
2470
|
+
"minimum": 0
|
|
2471
|
+
},
|
|
2472
|
+
"omitted_for_budget": {
|
|
2473
|
+
"type": "integer",
|
|
2474
|
+
"minimum": 0,
|
|
2475
|
+
"description": "Optional files left out to honour selection_limit_tokens (listed in omissions)."
|
|
2476
|
+
},
|
|
2477
|
+
"mandatory_paths": {
|
|
2478
|
+
"type": "array",
|
|
2479
|
+
"items": {
|
|
2480
|
+
"type": "string",
|
|
2481
|
+
"minLength": 1
|
|
2482
|
+
},
|
|
2483
|
+
"description": "Project mandatory files, each delivered complete in readable_files."
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
"required": [
|
|
2487
|
+
"estimator",
|
|
2488
|
+
"basis",
|
|
2489
|
+
"model",
|
|
2490
|
+
"context_window",
|
|
2491
|
+
"output_allowance_tokens",
|
|
2492
|
+
"framing_tokens",
|
|
2493
|
+
"selection_limit_tokens",
|
|
2494
|
+
"estimated_packet_tokens",
|
|
2495
|
+
"omitted_for_budget",
|
|
2496
|
+
"mandatory_paths"
|
|
2497
|
+
],
|
|
2498
|
+
"additionalProperties": false,
|
|
2499
|
+
"description": "Sizing evidence for a raw context packet; disclosed, never a tokenizer count."
|
|
2500
|
+
}
|
|
2501
|
+
},
|
|
2502
|
+
"required": [
|
|
2503
|
+
"model",
|
|
2504
|
+
"estimated_request_tokens",
|
|
2505
|
+
"budget"
|
|
2506
|
+
],
|
|
2507
|
+
"additionalProperties": false,
|
|
2508
|
+
"description": "Estimated size of one raw-api request as prepared just before its POST, and the budget its packet honoured; not proof the provider received it."
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"type": "null"
|
|
2512
|
+
}
|
|
2513
|
+
],
|
|
2514
|
+
"description": "Size of the raw-api request the final attempt last prepared, as receipted just before its POST (#147); null otherwise.",
|
|
2515
|
+
"default": null
|
|
2516
|
+
},
|
|
2178
2517
|
"tests": {
|
|
2179
2518
|
"type": "array",
|
|
2180
2519
|
"items": {
|
|
@@ -75,6 +75,72 @@
|
|
|
75
75
|
"refused": {
|
|
76
76
|
"type": "boolean"
|
|
77
77
|
},
|
|
78
|
+
"publicationRefusal": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"code": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"enum": [
|
|
84
|
+
"publication_scan_findings",
|
|
85
|
+
"publication_scan_unavailable",
|
|
86
|
+
"publication_scan_failed"
|
|
87
|
+
],
|
|
88
|
+
"description": "findings = the scanner reported secret-like content; unavailable = no pinned scanner; failed = the scan could not prove its result."
|
|
89
|
+
},
|
|
90
|
+
"detail": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "Human-readable refusal, without any matched value."
|
|
93
|
+
},
|
|
94
|
+
"findings": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"properties": {
|
|
99
|
+
"ruleId": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "Scanner rule that matched."
|
|
102
|
+
},
|
|
103
|
+
"location": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Outgoing file path or metadata label."
|
|
106
|
+
},
|
|
107
|
+
"line": {
|
|
108
|
+
"anyOf": [
|
|
109
|
+
{
|
|
110
|
+
"type": "integer"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "null"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"description": "1-based line, when known."
|
|
117
|
+
},
|
|
118
|
+
"commit": {
|
|
119
|
+
"type": [
|
|
120
|
+
"string",
|
|
121
|
+
"null"
|
|
122
|
+
],
|
|
123
|
+
"description": "Outgoing commit holding the finding."
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": [
|
|
127
|
+
"ruleId",
|
|
128
|
+
"location",
|
|
129
|
+
"line",
|
|
130
|
+
"commit"
|
|
131
|
+
],
|
|
132
|
+
"additionalProperties": false
|
|
133
|
+
},
|
|
134
|
+
"description": "Present for publication_scan_findings."
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"code",
|
|
139
|
+
"detail"
|
|
140
|
+
],
|
|
141
|
+
"additionalProperties": false,
|
|
142
|
+
"description": "Set when the publication scanner refused a `pr` delivery before any branch, commit or push."
|
|
143
|
+
},
|
|
78
144
|
"alreadyApplied": {
|
|
79
145
|
"type": "boolean",
|
|
80
146
|
"default": false,
|
|
@@ -178,6 +244,94 @@
|
|
|
178
244
|
"targetPreimageSha": {
|
|
179
245
|
"type": "string",
|
|
180
246
|
"description": "Target snapshot verified immediately before delivery."
|
|
247
|
+
},
|
|
248
|
+
"refusal": {
|
|
249
|
+
"type": "object",
|
|
250
|
+
"properties": {
|
|
251
|
+
"code": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"enum": [
|
|
254
|
+
"result_objects_missing",
|
|
255
|
+
"delivery_conflict",
|
|
256
|
+
"delivery_pairing_mismatch",
|
|
257
|
+
"delivery_target_changed",
|
|
258
|
+
"delivery_path_occupied",
|
|
259
|
+
"delivery_outside_sparse_checkout",
|
|
260
|
+
"delivery_content_mismatch",
|
|
261
|
+
"revert_conflict",
|
|
262
|
+
"revert_target_changed",
|
|
263
|
+
"pr_unrendered_result",
|
|
264
|
+
"result_path_encoding",
|
|
265
|
+
"space_insufficient",
|
|
266
|
+
"git_stalled",
|
|
267
|
+
"git_signal",
|
|
268
|
+
"git_failed"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"message": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"paths": {
|
|
275
|
+
"type": "array",
|
|
276
|
+
"items": {
|
|
277
|
+
"type": "string"
|
|
278
|
+
},
|
|
279
|
+
"maxItems": 200,
|
|
280
|
+
"default": []
|
|
281
|
+
},
|
|
282
|
+
"pathCount": {
|
|
283
|
+
"type": "integer",
|
|
284
|
+
"minimum": 0,
|
|
285
|
+
"default": 0
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"required": [
|
|
289
|
+
"code",
|
|
290
|
+
"message"
|
|
291
|
+
],
|
|
292
|
+
"additionalProperties": false,
|
|
293
|
+
"description": "Typed refusal of an object-result delivery (code, message, bounded paths); absent on success or a legacy patch refusal."
|
|
294
|
+
},
|
|
295
|
+
"deliveryPair": {
|
|
296
|
+
"type": "object",
|
|
297
|
+
"properties": {
|
|
298
|
+
"schema": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"const": "git_objects/v1"
|
|
301
|
+
},
|
|
302
|
+
"object_format": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"enum": [
|
|
305
|
+
"sha1",
|
|
306
|
+
"sha256"
|
|
307
|
+
],
|
|
308
|
+
"description": "Object format of the repository whose objects the result names."
|
|
309
|
+
},
|
|
310
|
+
"pre_commit": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"pattern": "^(?:[0-9a-f]{40}|[0-9a-f]{64})$",
|
|
313
|
+
"description": "Target snapshot commit (T) the delivery started from."
|
|
314
|
+
},
|
|
315
|
+
"pre_tree": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"pattern": "^(?:[0-9a-f]{40}|[0-9a-f]{64})$",
|
|
318
|
+
"description": "Tree of T."
|
|
319
|
+
},
|
|
320
|
+
"post_tree": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"pattern": "^(?:[0-9a-f]{40}|[0-9a-f]{64})$",
|
|
323
|
+
"description": "Tree the delivery wrote (M)."
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"required": [
|
|
327
|
+
"schema",
|
|
328
|
+
"object_format",
|
|
329
|
+
"pre_commit",
|
|
330
|
+
"pre_tree",
|
|
331
|
+
"post_tree"
|
|
332
|
+
],
|
|
333
|
+
"additionalProperties": false,
|
|
334
|
+
"description": "Pre/post trees of an object-result delivery whose write is on the target (revert runs on this pair); absent when nothing of it stayed, and for a legacy patch delivery."
|
|
181
335
|
}
|
|
182
336
|
},
|
|
183
337
|
"required": [
|