@the-open-engine/zeroshot 6.47.0 → 7.0.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.
@@ -669,285 +669,288 @@ export const CLUSTER_PROTOCOL_SCHEMA: unknown = JSON.parse(
669
669
  "sor\":{\"type\":\"string\"},\"execution\":{\"maxLength\":128,\"minLength\":1,\"patte" +
670
670
  "rn\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":[\"string\",\"null\"]},\"re" +
671
671
  "cord\":{\"$ref\":\"#/$defs/LogRecord\"},\"runId\":{\"type\":\"string\"},\"subscripti" +
672
- "onId\":{\"type\":\"string\"}},\"required\":[\"subscriptionId\",\"runId\",\"cursor\",\"" +
673
- "record\"],\"type\":\"object\"},\"RunLogsParams\":{\"additionalProperties\":false," +
674
- "\"description\":\"Establishes durable run log replay followed by live deliv" +
675
- "ery.\\n\\nAn optional execution filter selects one active or settled execu" +
676
- "tion using the exact opaque\\nreference advertised by status. `fromCursor" +
677
- "` is exclusive, with the same reconnect semantics\\nas [`RunWatchParams`]" +
678
- ". Omitting both fields after `runId` replays the run's complete retained" +
679
- "\\nsafe log history.\",\"properties\":{\"execution\":{\"maxLength\":128,\"minLeng" +
680
- "th\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":[\"string\"," +
681
- "\"null\"]},\"fromCursor\":{\"type\":[\"string\",\"null\"]},\"runId\":{\"type\":\"string" +
682
- "\"}},\"required\":[\"runId\"],\"type\":\"object\"},\"RunLogsResult\":{\"additionalPr" +
683
- "operties\":false,\"properties\":{\"atCursor\":{\"type\":\"string\"},\"runId\":{\"typ" +
684
- "e\":\"string\"},\"subscriptionId\":{\"type\":\"string\"}},\"required\":[\"subscripti" +
685
- "onId\",\"runId\",\"atCursor\"],\"type\":\"object\"},\"RunMetadata\":{\"additionalPro" +
686
- "perties\":false,\"description\":\"Additive metadata emitted only with a term" +
687
- "inal run projection.\",\"properties\":{\"tokenUsage\":{\"anyOf\":[{\"$ref\":\"#/$d" +
688
- "efs/TokenUsage\"},{\"type\":\"null\"}]}},\"type\":\"object\"},\"RunSize\":{\"enum\":[" +
689
- "\"small\",\"medium\",\"large\"],\"type\":\"string\"},\"RunStatus\":{\"description\":\"P" +
690
- "ublic run state. The closed phase variants make impossible combinations " +
691
- "unrepresentable:\\nadmitted runs have no execution, stopping means force " +
692
- "was requested, and finished runs have\\nexactly one terminal result and n" +
693
- "o active execution. Running/stopping report every active\\nexecution rath" +
694
- "er than a single \\\"current worker\\\" slot.\",\"oneOf\":[{\"additionalProperti" +
695
- "es\":false,\"properties\":{\"phase\":{\"const\":\"admitted\",\"type\":\"string\"}},\"r" +
696
- "equired\":[\"phase\"],\"type\":\"object\"},{\"additionalProperties\":false,\"prope" +
697
- "rties\":{\"activeExecutions\":{\"items\":{\"$ref\":\"#/$defs/ActiveExecution\"},\"" +
698
- "type\":\"array\"},\"phase\":{\"const\":\"running\",\"type\":\"string\"}},\"required\":[" +
699
- "\"phase\",\"activeExecutions\"],\"type\":\"object\"},{\"additionalProperties\":fal" +
700
- "se,\"properties\":{\"activeExecutions\":{\"items\":{\"$ref\":\"#/$defs/ActiveExec" +
701
- "ution\"},\"type\":\"array\"},\"phase\":{\"const\":\"stopping\",\"type\":\"string\"}},\"r" +
702
- "equired\":[\"phase\",\"activeExecutions\"],\"type\":\"object\"},{\"additionalPrope" +
703
- "rties\":false,\"properties\":{\"metadata\":{\"$ref\":\"#/$defs/RunMetadata\",\"def" +
704
- "ault\":{}},\"phase\":{\"const\":\"finished\",\"type\":\"string\"},\"terminalResult\":" +
705
- "{\"$ref\":\"#/$defs/TerminalResult\"}},\"required\":[\"phase\",\"terminalResult\"]" +
706
- ",\"type\":\"object\"}]},\"RunStatusParams\":{\"additionalProperties\":false,\"pro" +
707
- "perties\":{\"runId\":{\"type\":\"string\"}},\"required\":[\"runId\"],\"type\":\"object" +
708
- "\"},\"RunStatusResult\":{\"additionalProperties\":false,\"properties\":{\"atCurs" +
709
- "or\":{\"type\":\"string\"},\"runId\":{\"type\":\"string\"},\"size\":{\"$ref\":\"#/$defs/" +
710
- "RunSize\"},\"source\":{\"$ref\":\"#/$defs/ResolvedSource\"},\"status\":{\"$ref\":\"#" +
711
- "/$defs/RunStatus\"},\"title\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^" +
712
- "\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"}},\"required\":[\"runId\"" +
713
- ",\"title\",\"source\",\"size\",\"atCursor\",\"status\"],\"type\":\"object\"},\"RunSubmi" +
714
- "ssion\":{\"additionalProperties\":false,\"description\":\"Immutable, secret-fr" +
715
- "ee native-v2 submission admitted by the selected target.\",\"properties\":{" +
716
- "\"graph\":{\"$ref\":\"#/$defs/GraphSpec\"},\"initialInput\":true,\"runtime\":{\"$re" +
717
- "f\":\"#/$defs/RuntimePlan\"},\"source\":{\"$ref\":\"#/$defs/ResolvedSource\"},\"su" +
718
- "bmissionKey\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001" +
719
- "f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"title\":{\"maxLength\":256,\"minLengt" +
720
- "h\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"}}," +
721
- "\"required\":[\"title\",\"graph\",\"initialInput\",\"runtime\",\"source\",\"submissio" +
722
- "nKey\"],\"type\":\"object\"},\"RunSubmitParams\":{\"additionalProperties\":false," +
723
- "\"description\":\"Trusted controller bootstrap admission. The host assigns " +
724
- "the only public run identity before\\ncontroller start; the immutable sub" +
725
- "mission remains identity-neutral.\",\"properties\":{\"runId\":{\"type\":\"string" +
726
- "\"},\"submission\":{\"$ref\":\"#/$defs/RunSubmission\"}},\"required\":[\"runId\",\"s" +
727
- "ubmission\"],\"type\":\"object\"},\"RunSubmitResult\":{\"additionalProperties\":f" +
728
- "alse,\"description\":\"A successful submission returns the one public ident" +
729
- "ity used by every later run method.\",\"properties\":{\"runId\":{\"type\":\"stri" +
730
- "ng\"}},\"required\":[\"runId\"],\"type\":\"object\"},\"RunWatchEventNotification\":" +
731
- "{\"additionalProperties\":false,\"description\":\"One durable public status p" +
732
- "rojection. `cursor` is stable run history, not a connection-local\\nseque" +
733
- "nce; clients resume strictly after it.\",\"properties\":{\"cursor\":{\"type\":\"" +
734
- "string\"},\"runId\":{\"type\":\"string\"},\"size\":{\"$ref\":\"#/$defs/RunSize\"},\"so" +
735
- "urce\":{\"$ref\":\"#/$defs/ResolvedSource\"},\"status\":{\"$ref\":\"#/$defs/RunSta" +
736
- "tus\"},\"subscriptionId\":{\"type\":\"string\"},\"title\":{\"maxLength\":256,\"minLe" +
672
+ "onId\":{\"type\":\"string\"},\"timestamp\":{\"description\":\"Producer-captured Un" +
673
+ "ix epoch milliseconds, preserved unchanged by durable replay.\",\"maximum\"" +
674
+ ":9007199254740991,\"minimum\":1,\"type\":\"integer\"}},\"required\":[\"subscripti" +
675
+ "onId\",\"runId\",\"cursor\",\"timestamp\",\"record\"],\"type\":\"object\"},\"RunLogsPa" +
676
+ "rams\":{\"additionalProperties\":false,\"description\":\"Establishes durable r" +
677
+ "un log replay followed by live delivery.\\n\\nAn optional execution filter" +
678
+ " selects one active or settled execution using the exact opaque\\nreferen" +
679
+ "ce advertised by status. `fromCursor` is exclusive, with the same reconn" +
680
+ "ect semantics\\nas [`RunWatchParams`]. Omitting both fields after `runId`" +
681
+ " replays the run's complete retained\\nsafe log history.\",\"properties\":{\"" +
682
+ "execution\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\" +
683
+ "\\u007f-\\\\u009f]+$\",\"type\":[\"string\",\"null\"]},\"fromCursor\":{\"type\":[\"stri" +
684
+ "ng\",\"null\"]},\"runId\":{\"type\":\"string\"}},\"required\":[\"runId\"],\"type\":\"obj" +
685
+ "ect\"},\"RunLogsResult\":{\"additionalProperties\":false,\"properties\":{\"atCur" +
686
+ "sor\":{\"type\":\"string\"},\"runId\":{\"type\":\"string\"},\"subscriptionId\":{\"type" +
687
+ "\":\"string\"}},\"required\":[\"subscriptionId\",\"runId\",\"atCursor\"],\"type\":\"ob" +
688
+ "ject\"},\"RunMetadata\":{\"additionalProperties\":false,\"description\":\"Additi" +
689
+ "ve metadata emitted only with a terminal run projection.\",\"properties\":{" +
690
+ "\"tokenUsage\":{\"anyOf\":[{\"$ref\":\"#/$defs/TokenUsage\"},{\"type\":\"null\"}]}}," +
691
+ "\"type\":\"object\"},\"RunSize\":{\"enum\":[\"small\",\"medium\",\"large\"],\"type\":\"st" +
692
+ "ring\"},\"RunStatus\":{\"description\":\"Public run state. The closed phase va" +
693
+ "riants make impossible combinations unrepresentable:\\nadmitted runs have" +
694
+ " no execution, stopping means force was requested, and finished runs hav" +
695
+ "e\\nexactly one terminal result and no active execution. Running/stopping" +
696
+ " report every active\\nexecution rather than a single \\\"current worker\\\" " +
697
+ "slot.\",\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"phase\":{\"co" +
698
+ "nst\":\"admitted\",\"type\":\"string\"}},\"required\":[\"phase\"],\"type\":\"object\"}," +
699
+ "{\"additionalProperties\":false,\"properties\":{\"activeExecutions\":{\"items\":" +
700
+ "{\"$ref\":\"#/$defs/ActiveExecution\"},\"type\":\"array\"},\"phase\":{\"const\":\"run" +
701
+ "ning\",\"type\":\"string\"}},\"required\":[\"phase\",\"activeExecutions\"],\"type\":\"" +
702
+ "object\"},{\"additionalProperties\":false,\"properties\":{\"activeExecutions\":" +
703
+ "{\"items\":{\"$ref\":\"#/$defs/ActiveExecution\"},\"type\":\"array\"},\"phase\":{\"co" +
704
+ "nst\":\"stopping\",\"type\":\"string\"}},\"required\":[\"phase\",\"activeExecutions\"" +
705
+ "],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"metadata" +
706
+ "\":{\"$ref\":\"#/$defs/RunMetadata\",\"default\":{}},\"phase\":{\"const\":\"finished" +
707
+ "\",\"type\":\"string\"},\"terminalResult\":{\"$ref\":\"#/$defs/TerminalResult\"}},\"" +
708
+ "required\":[\"phase\",\"terminalResult\"],\"type\":\"object\"}]},\"RunStatusParams" +
709
+ "\":{\"additionalProperties\":false,\"properties\":{\"runId\":{\"type\":\"string\"}}" +
710
+ ",\"required\":[\"runId\"],\"type\":\"object\"},\"RunStatusResult\":{\"additionalPro" +
711
+ "perties\":false,\"properties\":{\"atCursor\":{\"type\":\"string\"},\"runId\":{\"type" +
712
+ "\":\"string\"},\"size\":{\"$ref\":\"#/$defs/RunSize\"},\"source\":{\"$ref\":\"#/$defs/" +
713
+ "ResolvedSource\"},\"status\":{\"$ref\":\"#/$defs/RunStatus\"},\"title\":{\"maxLeng" +
714
+ "th\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"" +
715
+ "type\":\"string\"}},\"required\":[\"runId\",\"title\",\"source\",\"size\",\"atCursor\"," +
716
+ "\"status\"],\"type\":\"object\"},\"RunSubmission\":{\"additionalProperties\":false" +
717
+ ",\"description\":\"Immutable, secret-free native-v2 submission admitted by " +
718
+ "the selected target.\",\"properties\":{\"graph\":{\"$ref\":\"#/$defs/GraphSpec\"}" +
719
+ ",\"initialInput\":true,\"runtime\":{\"$ref\":\"#/$defs/RuntimePlan\"},\"source\":{" +
720
+ "\"$ref\":\"#/$defs/ResolvedSource\"},\"submissionKey\":{\"maxLength\":256,\"minLe" +
737
721
  "ngth\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"" +
738
- "}},\"required\":[\"subscriptionId\",\"runId\",\"title\",\"source\",\"size\",\"cursor\"" +
739
- ",\"status\"],\"type\":\"object\"},\"RunWatchParams\":{\"additionalProperties\":fal" +
740
- "se,\"description\":\"Establishes a durable run watch.\\n\\n`fromCursor` is ex" +
741
- "clusive. Reconnecting with the last delivered cursor therefore returns e" +
742
- "ach\\nlater watch record once, with no replayed boundary record and no sk" +
743
- "ipped later record.\",\"properties\":{\"fromCursor\":{\"type\":[\"string\",\"null\"" +
744
- "]},\"runId\":{\"type\":\"string\"}},\"required\":[\"runId\"],\"type\":\"object\"},\"Run" +
745
- "WatchResult\":{\"additionalProperties\":false,\"properties\":{\"atCursor\":{\"ty" +
746
- "pe\":\"string\"},\"runId\":{\"type\":\"string\"},\"subscriptionId\":{\"type\":\"string" +
747
- "\"}},\"required\":[\"subscriptionId\",\"runId\",\"atCursor\"],\"type\":\"object\"},\"R" +
748
- "untimePlan\":{\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"harne" +
749
- "ss\":{\"const\":\"codex\",\"type\":\"string\"},\"nodes\":{\"additionalProperties\":fa" +
750
- "lse,\"patternProperties\":{\"^[A-Za-z_][A-Za-z0-9_.-]*$\":{\"$ref\":\"#/$defs/N" +
751
- "odeRuntimeBinding\"}},\"type\":\"object\"},\"provider\":{\"$ref\":\"#/$defs/CodexP" +
752
- "rovider\"},\"size\":{\"$ref\":\"#/$defs/RunSize\"}},\"required\":[\"harness\",\"prov" +
753
- "ider\",\"size\",\"nodes\"],\"type\":\"object\"},{\"additionalProperties\":false,\"pr" +
754
- "operties\":{\"harness\":{\"const\":\"claude\",\"type\":\"string\"},\"nodes\":{\"additi" +
755
- "onalProperties\":false,\"patternProperties\":{\"^[A-Za-z_][A-Za-z0-9_.-]*$\":" +
756
- "{\"$ref\":\"#/$defs/NodeRuntimeBinding\"}},\"type\":\"object\"},\"provider\":{\"$re" +
757
- "f\":\"#/$defs/ClaudeProvider\"},\"size\":{\"$ref\":\"#/$defs/RunSize\"}},\"require" +
758
- "d\":[\"harness\",\"provider\",\"size\",\"nodes\"],\"type\":\"object\"}]},\"ServerCapab" +
759
- "ilities\":{\"additionalProperties\":false,\"properties\":{\"agentAttach\":{\"def" +
760
- "ault\":false,\"type\":\"boolean\"},\"graphProfiles\":{\"default\":[],\"items\":{\"$r" +
761
- "ef\":\"#/$defs/GraphProfile\"},\"maxItems\":2,\"not\":{\"minItems\":2,\"prefixItem" +
762
- "s\":[{\"const\":\"openengine.graph.single-worker/v1\"},{\"const\":\"openengine.g" +
763
- "raph.full/v1\"}]},\"type\":\"array\",\"uniqueItems\":true},\"logs\":{\"default\":fa" +
764
- "lse,\"type\":\"boolean\"}},\"type\":\"object\"},\"SessionScope\":{\"enum\":[\"executi" +
765
- "on\",\"node_instance\"],\"type\":\"string\"},\"StopMode\":{\"enum\":[\"drain\",\"force" +
766
- "\"],\"type\":\"string\"},\"StopParams\":{\"additionalProperties\":false,\"properti" +
767
- "es\":{\"idempotencyKey\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u00" +
768
- "00-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"ifGeneration\":{\"maximum\"" +
769
- ":9007199254740991,\"minimum\":0,\"type\":\"integer\"},\"mode\":{\"$ref\":\"#/$defs/" +
770
- "StopMode\"}},\"required\":[\"mode\",\"ifGeneration\",\"idempotencyKey\"],\"type\":\"" +
771
- "object\"},\"StopResult\":{\"additionalProperties\":false,\"properties\":{\"accep" +
772
- "tedMode\":{\"$ref\":\"#/$defs/StopMode\"},\"atCursor\":{\"type\":\"string\"},\"dedup" +
773
- "ed\":{\"type\":\"boolean\"},\"effectiveMode\":{\"$ref\":\"#/$defs/StopMode\"},\"gene" +
774
- "ration\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":\"integer\"},\"opera" +
775
- "tional\":{\"$ref\":\"#/$defs/OperationalStatus\"},\"phase\":{\"$ref\":\"#/$defs/Ph" +
776
- "ase\"},\"runId\":{\"type\":\"string\"}},\"required\":[\"generation\",\"runId\",\"phase" +
777
- "\",\"acceptedMode\",\"effectiveMode\",\"operational\",\"atCursor\",\"deduped\"],\"ty" +
778
- "pe\":\"object\"},\"StructuralBounds\":{\"additionalProperties\":false,\"properti" +
779
- "es\":{\"attemptsPerNode\":{\"additionalProperties\":{\"maximum\":90071992547409" +
780
- "91,\"minimum\":1,\"type\":\"integer\"},\"propertyNames\":{\"maxLength\":128,\"minLe" +
781
- "ngth\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"type\":\"" +
782
- "object\"},\"maxNodeExecutions\":{\"maximum\":9007199254740991,\"minimum\":1,\"ty" +
783
- "pe\":\"integer\"},\"peakConcurrency\":{\"maximum\":9007199254740991,\"minimum\":1" +
784
- ",\"type\":\"integer\"},\"termination\":{\"$ref\":\"#/$defs/TerminationWitness\"}}," +
785
- "\"required\":[\"termination\",\"maxNodeExecutions\",\"peakConcurrency\",\"attempt" +
786
- "sPerNode\"],\"type\":\"object\"},\"SubscriptionCancelParams\":{\"additionalPrope" +
787
- "rties\":false,\"description\":\"Wire body of the generic `subscription/cance" +
788
- "l` client notification.\",\"properties\":{\"subscriptionId\":{\"type\":\"string\"" +
789
- "}},\"required\":[\"subscriptionId\"],\"type\":\"object\"},\"SubscriptionCloseReas" +
790
- "on\":{\"enum\":[\"done\",\"SLOW_CONSUMER\"],\"type\":\"string\"},\"SubscriptionClose" +
791
- "dNotification\":{\"additionalProperties\":false,\"description\":\"Wire body of" +
792
- " the terminal `subscription/closed` server notification.\",\"properties\":{" +
793
- "\"lastDeliveredCursor\":{\"type\":[\"string\",\"null\"]},\"reason\":{\"$ref\":\"#/$de" +
794
- "fs/SubscriptionCloseReason\"},\"subscriptionId\":{\"type\":\"string\"}},\"requir" +
795
- "ed\":[\"subscriptionId\",\"reason\"],\"type\":\"object\"},\"TerminalResult\":{\"desc" +
796
- "ription\":\"Authoritative terminal value for backends that can durably rec" +
797
- "onstruct a completed graph.\\n\\nThis is additive to [`GetResult`]: backen" +
798
- "ds that do not yet expose terminal values leave the\\noptional field abse" +
799
- "nt, including when their status is already `finished`.\",\"oneOf\":[{\"addit" +
800
- "ionalProperties\":false,\"properties\":{\"output\":true,\"status\":{\"const\":\"su" +
801
- "cceeded\",\"type\":\"string\"}},\"required\":[\"status\",\"output\"],\"type\":\"object" +
802
- "\"},{\"additionalProperties\":false,\"properties\":{\"reason\":{\"maxLength\":128" +
803
- ",\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"" +
804
- "status\":{\"const\":\"failed\",\"type\":\"string\"}},\"required\":[\"status\",\"reason" +
805
- "\"],\"type\":\"object\"}]},\"TerminationWitness\":{\"oneOf\":[{\"additionalPropert" +
806
- "ies\":false,\"properties\":{\"kind\":{\"const\":\"acyclic\",\"type\":\"string\"},\"ord" +
807
- "er\":{\"$ref\":\"#/$defs/NonEmptyVec_of_NodeName\"}},\"required\":[\"kind\",\"orde" +
808
- "r\"],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"kind\":" +
809
- "{\"const\":\"bounded\",\"type\":\"string\"},\"maxIterations\":{\"maximum\":900719925" +
810
- "4740991,\"minimum\":1,\"type\":\"integer\"},\"ranking\":{\"$ref\":\"#/$defs/NonEmpt" +
811
- "yVec_of_FieldPath\"}},\"required\":[\"kind\",\"ranking\",\"maxIterations\"],\"type" +
812
- "\":\"object\"}]},\"TokenUsage\":{\"additionalProperties\":false,\"description\":\"" +
813
- "Run-wide sum of provider-reported usage for every launched agent invocat" +
814
- "ion.\\n\\n`complete` is false when at least one invocation did not report " +
815
- "usable counters. Cache\\ncounters are omitted when the provider does not " +
816
- "expose them consistently.\",\"properties\":{\"cacheCreationInputTokens\":{\"ma" +
817
- "ximum\":9007199254740991,\"minimum\":0,\"type\":[\"integer\",\"null\"]},\"cacheRea" +
818
- "dInputTokens\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":[\"integer\"," +
819
- "\"null\"]},\"complete\":{\"type\":\"boolean\"},\"inputTokens\":{\"maximum\":90071992" +
820
- "54740991,\"minimum\":0,\"type\":\"integer\"},\"outputTokens\":{\"maximum\":9007199" +
821
- "254740991,\"minimum\":0,\"type\":\"integer\"}},\"required\":[\"inputTokens\",\"outp" +
822
- "utTokens\",\"complete\"],\"type\":\"object\"},\"UpdateParams\":{\"additionalProper" +
823
- "ties\":false,\"anyOf\":[{\"required\":[\"labels\"]},{\"required\":[\"logLevel\"]},{" +
824
- "\"required\":[\"suspended\"]}],\"properties\":{\"idempotencyKey\":{\"maxLength\":2" +
722
+ "},\"title\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\" +
723
+ "u007f-\\\\u009f]+$\",\"type\":\"string\"}},\"required\":[\"title\",\"graph\",\"initial" +
724
+ "Input\",\"runtime\",\"source\",\"submissionKey\"],\"type\":\"object\"},\"RunSubmitPa" +
725
+ "rams\":{\"additionalProperties\":false,\"description\":\"Trusted controller bo" +
726
+ "otstrap admission. The host assigns the only public run identity before\\" +
727
+ "ncontroller start; the immutable submission remains identity-neutral.\",\"" +
728
+ "properties\":{\"runId\":{\"type\":\"string\"},\"submission\":{\"$ref\":\"#/$defs/Run" +
729
+ "Submission\"}},\"required\":[\"runId\",\"submission\"],\"type\":\"object\"},\"RunSub" +
730
+ "mitResult\":{\"additionalProperties\":false,\"description\":\"A successful sub" +
731
+ "mission returns the one public identity used by every later run method.\"" +
732
+ ",\"properties\":{\"runId\":{\"type\":\"string\"}},\"required\":[\"runId\"],\"type\":\"o" +
733
+ "bject\"},\"RunWatchEventNotification\":{\"additionalProperties\":false,\"descr" +
734
+ "iption\":\"One durable public status projection. `cursor` is stable run hi" +
735
+ "story, not a connection-local\\nsequence; clients resume strictly after i" +
736
+ "t.\",\"properties\":{\"cursor\":{\"type\":\"string\"},\"runId\":{\"type\":\"string\"},\"" +
737
+ "size\":{\"$ref\":\"#/$defs/RunSize\"},\"source\":{\"$ref\":\"#/$defs/ResolvedSourc" +
738
+ "e\"},\"status\":{\"$ref\":\"#/$defs/RunStatus\"},\"subscriptionId\":{\"type\":\"stri" +
739
+ "ng\"},\"title\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001" +
740
+ "f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"}},\"required\":[\"subscriptionId\",\"run" +
741
+ "Id\",\"title\",\"source\",\"size\",\"cursor\",\"status\"],\"type\":\"object\"},\"RunWatc" +
742
+ "hParams\":{\"additionalProperties\":false,\"description\":\"Establishes a dura" +
743
+ "ble run watch.\\n\\n`fromCursor` is exclusive. Reconnecting with the last " +
744
+ "delivered cursor therefore returns each\\nlater watch record once, with n" +
745
+ "o replayed boundary record and no skipped later record.\",\"properties\":{\"" +
746
+ "fromCursor\":{\"type\":[\"string\",\"null\"]},\"runId\":{\"type\":\"string\"}},\"requi" +
747
+ "red\":[\"runId\"],\"type\":\"object\"},\"RunWatchResult\":{\"additionalProperties\"" +
748
+ ":false,\"properties\":{\"atCursor\":{\"type\":\"string\"},\"runId\":{\"type\":\"strin" +
749
+ "g\"},\"subscriptionId\":{\"type\":\"string\"}},\"required\":[\"subscriptionId\",\"ru" +
750
+ "nId\",\"atCursor\"],\"type\":\"object\"},\"RuntimePlan\":{\"oneOf\":[{\"additionalPr" +
751
+ "operties\":false,\"properties\":{\"harness\":{\"const\":\"codex\",\"type\":\"string\"" +
752
+ "},\"nodes\":{\"additionalProperties\":false,\"patternProperties\":{\"^[A-Za-z_]" +
753
+ "[A-Za-z0-9_.-]*$\":{\"$ref\":\"#/$defs/NodeRuntimeBinding\"}},\"type\":\"object\"" +
754
+ "},\"provider\":{\"$ref\":\"#/$defs/CodexProvider\"},\"size\":{\"$ref\":\"#/$defs/Ru" +
755
+ "nSize\"}},\"required\":[\"harness\",\"provider\",\"size\",\"nodes\"],\"type\":\"object" +
756
+ "\"},{\"additionalProperties\":false,\"properties\":{\"harness\":{\"const\":\"claud" +
757
+ "e\",\"type\":\"string\"},\"nodes\":{\"additionalProperties\":false,\"patternProper" +
758
+ "ties\":{\"^[A-Za-z_][A-Za-z0-9_.-]*$\":{\"$ref\":\"#/$defs/NodeRuntimeBinding\"" +
759
+ "}},\"type\":\"object\"},\"provider\":{\"$ref\":\"#/$defs/ClaudeProvider\"},\"size\":" +
760
+ "{\"$ref\":\"#/$defs/RunSize\"}},\"required\":[\"harness\",\"provider\",\"size\",\"nod" +
761
+ "es\"],\"type\":\"object\"}]},\"ServerCapabilities\":{\"additionalProperties\":fal" +
762
+ "se,\"properties\":{\"agentAttach\":{\"default\":false,\"type\":\"boolean\"},\"graph" +
763
+ "Profiles\":{\"default\":[],\"items\":{\"$ref\":\"#/$defs/GraphProfile\"},\"maxItem" +
764
+ "s\":2,\"not\":{\"minItems\":2,\"prefixItems\":[{\"const\":\"openengine.graph.singl" +
765
+ "e-worker/v1\"},{\"const\":\"openengine.graph.full/v1\"}]},\"type\":\"array\",\"uni" +
766
+ "queItems\":true},\"logs\":{\"default\":false,\"type\":\"boolean\"}},\"type\":\"objec" +
767
+ "t\"},\"SessionScope\":{\"enum\":[\"execution\",\"node_instance\"],\"type\":\"string\"" +
768
+ "},\"StopMode\":{\"enum\":[\"drain\",\"force\"],\"type\":\"string\"},\"StopParams\":{\"a" +
769
+ "dditionalProperties\":false,\"properties\":{\"idempotencyKey\":{\"maxLength\":2" +
825
770
  "56,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\"" +
826
771
  ":\"string\"},\"ifGeneration\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\"" +
827
- ":\"integer\"},\"labels\":{\"$ref\":\"#/$defs/Labels\"},\"logLevel\":{\"$ref\":\"#/$de" +
828
- "fs/LogLevel\"},\"suspended\":{\"type\":\"boolean\"}},\"required\":[\"ifGeneration\"" +
829
- ",\"idempotencyKey\"],\"type\":\"object\"},\"UpdateResult\":{\"additionalPropertie" +
830
- "s\":false,\"properties\":{\"atCursor\":{\"type\":\"string\"},\"deduped\":{\"type\":\"b" +
831
- "oolean\"},\"generation\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":\"in" +
832
- "teger\"},\"operational\":{\"$ref\":\"#/$defs/OperationalStatus\"},\"phase\":{\"$re" +
833
- "f\":\"#/$defs/Phase\"},\"runId\":{\"type\":\"string\"}},\"required\":[\"generation\"," +
834
- "\"runId\",\"phase\",\"operational\",\"atCursor\",\"deduped\"],\"type\":\"object\"},\"Wa" +
835
- "tchEvent\":{\"description\":\"The closed public event algebra. `Phase` folds" +
836
- " the observable cluster status (admission\\ncommit, update, suspend/resum" +
837
- "e, stop-request); `NodeBegin`/`NodeEnd` are a testkit-only\\nsynthetic ho" +
838
- "ok decoupled from the real dispatch/lease turn mechanism, since no nativ" +
839
- "e graph\\nexecutor exists yet; `Bookmark` advances the cursor without cha" +
840
- "nging folded public state;\\n`Fault` carries a durable, backend-neutral p" +
841
- "rojected `BackendFault`: it correlates to the\\nenclosing `EventNotificat" +
842
- "ion.run_id` plus its own optional opaque `executionRef`, and its\\norderi" +
843
- "ng/emission never itself authorizes a retry or changes terminal semantic" +
844
- "s -- it folds to\\nno public status change, exactly like `Bookmark`; `Fin" +
845
- "ished` is always the last event for a\\nrun.\",\"oneOf\":[{\"additionalProper" +
846
- "ties\":false,\"properties\":{\"admission\":{\"anyOf\":[{\"$ref\":\"#/$defs/Admissi" +
847
- "onTransition\"},{\"type\":\"null\"}]},\"status\":{\"$ref\":\"#/$defs/ClusterStatus" +
848
- "\"},\"type\":{\"const\":\"phase\",\"type\":\"string\"}},\"required\":[\"type\",\"status\"" +
849
- "],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"input\":t" +
850
- "rue,\"node\":{\"$ref\":\"#/$defs/NodeAddress\"},\"type\":{\"const\":\"node_begin\",\"" +
851
- "type\":\"string\"}},\"required\":[\"type\",\"node\",\"input\"],\"type\":\"object\"},{\"a" +
852
- "dditionalProperties\":false,\"properties\":{\"node\":{\"$ref\":\"#/$defs/NodeAdd" +
853
- "ress\"},\"outcome\":{\"$ref\":\"#/$defs/WorkerOutcome\"},\"type\":{\"const\":\"node_" +
854
- "end\",\"type\":\"string\"}},\"required\":[\"type\",\"node\",\"outcome\"],\"type\":\"obje" +
855
- "ct\"},{\"additionalProperties\":false,\"properties\":{\"type\":{\"const\":\"bookma" +
856
- "rk\",\"type\":\"string\"}},\"required\":[\"type\"],\"type\":\"object\"},{\"additionalP" +
857
- "roperties\":false,\"properties\":{\"fault\":{\"$ref\":\"#/$defs/BackendFault\"},\"" +
858
- "type\":{\"const\":\"fault\",\"type\":\"string\"}},\"required\":[\"type\",\"fault\"],\"ty" +
859
- "pe\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"final_status\"" +
860
- ":{\"$ref\":\"#/$defs/ClusterStatus\"},\"stop_mode\":{\"anyOf\":[{\"$ref\":\"#/$defs" +
861
- "/StopMode\"},{\"type\":\"null\"}]},\"type\":{\"const\":\"finished\",\"type\":\"string\"" +
862
- "}},\"required\":[\"type\",\"final_status\"],\"type\":\"object\"}]},\"WatchParams\":{" +
863
- "\"additionalProperties\":false,\"properties\":{\"fromCursor\":{\"default\":null," +
864
- "\"type\":[\"string\",\"null\"]},\"runId\":{\"default\":null,\"type\":[\"string\",\"null" +
865
- "\"]}},\"type\":\"object\"},\"WatchResult\":{\"properties\":{\"atCursor\":{\"type\":[\"" +
866
- "string\",\"null\"]},\"runId\":{\"type\":[\"string\",\"null\"]},\"subscriptionId\":{\"t" +
867
- "ype\":\"string\"}},\"required\":[\"subscriptionId\"],\"type\":\"object\"},\"WorkerEr" +
868
- "rorCode\":{\"enum\":[\"timeout\",\"crash\",\"malformed\",\"refusal\"],\"type\":\"strin" +
869
- "g\"},\"WorkerFailureReason\":{\"enum\":[\"declared_failure\",\"policy_denied\",\"i" +
870
- "nteractive_input_required\",\"authentication_required\",\"malformed_result\"]" +
871
- ",\"type\":\"string\"},\"WorkerOutcome\":{\"allOf\":[{\"$ref\":\"#/$defs/WorkerOutco" +
872
- "meWire\"},{\"if\":{\"properties\":{\"status\":{\"const\":\"error\"}},\"required\":[\"s" +
873
- "tatus\"]},\"then\":{\"oneOf\":[{\"properties\":{\"reason\":{\"const\":\"declared_fai" +
874
- "lure\"}},\"required\":[\"reason\"]},{\"properties\":{\"code\":{\"const\":\"refusal\"}" +
875
- ",\"reason\":{\"enum\":[\"policy_denied\",\"interactive_input_required\",\"authent" +
876
- "ication_required\"]}},\"required\":[\"code\",\"reason\"]},{\"properties\":{\"code\"" +
877
- ":{\"const\":\"malformed\"},\"reason\":{\"const\":\"malformed_result\"}},\"required\"" +
878
- ":[\"code\",\"reason\"]}]}}]},\"WorkerOutcomeWire\":{\"oneOf\":[{\"additionalPrope" +
879
- "rties\":false,\"properties\":{\"artifacts\":{\"items\":{\"$ref\":\"#/$defs/Artifac" +
880
- "tRef\"},\"type\":\"array\"},\"output\":true,\"status\":{\"const\":\"verified\",\"type\"" +
881
- ":\"string\"}},\"required\":[\"status\",\"output\",\"artifacts\"],\"type\":\"object\"}," +
882
- "{\"additionalProperties\":false,\"properties\":{\"artifacts\":{\"items\":{\"$ref\"" +
883
- ":\"#/$defs/ArtifactRef\"},\"type\":\"array\"},\"diagnostic\":true,\"output\":true," +
884
- "\"signals\":{\"additionalProperties\":{\"maxLength\":128,\"minLength\":1,\"patter" +
885
- "n\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"propertyNames\":{\"maxLe" +
886
- "ngth\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"s" +
887
- "tring\"},\"type\":\"object\"},\"status\":{\"const\":\"verifier\",\"type\":\"string\"}}," +
888
- "\"required\":[\"status\",\"output\",\"signals\",\"diagnostic\",\"artifacts\"],\"type\"" +
889
- ":\"object\"},{\"additionalProperties\":false,\"properties\":{\"code\":{\"$ref\":\"#" +
890
- "/$defs/WorkerErrorCode\"},\"reason\":{\"$ref\":\"#/$defs/WorkerFailureReason\"}" +
891
- ",\"status\":{\"const\":\"error\",\"type\":\"string\"}},\"required\":[\"status\",\"code\"" +
892
- ",\"reason\"],\"type\":\"object\"}]},\"WriteBinding\":{\"additionalProperties\":fal" +
893
- "se,\"properties\":{\"target\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"patte" +
894
- "rn\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItem" +
895
- "s\":1,\"type\":\"array\"},\"value\":{\"$ref\":\"#/$defs/NodeOutputSelector\"}},\"req" +
896
- "uired\":[\"value\",\"target\"],\"type\":\"object\"}},\"$schema\":\"https://json-sche" +
897
- "ma.org/draft/2020-12/schema\",\"properties\":{\"agent_attach_closed_notifica" +
898
- "tion\":{\"$ref\":\"#/$defs/JsonRpcNotification8\"},\"agent_attach_event_notifi" +
899
- "cation\":{\"$ref\":\"#/$defs/JsonRpcNotification7\"},\"agent_attach_request\":{" +
900
- "\"$ref\":\"#/$defs/JsonRpcRequest12\"},\"agent_attach_response\":{\"$ref\":\"#/$d" +
901
- "efs/JsonRpcResponse12\"},\"apply_request\":{\"$ref\":\"#/$defs/JsonRpcRequest3" +
902
- "\"},\"apply_response\":{\"$ref\":\"#/$defs/JsonRpcResponse3\"},\"cancel_request_" +
903
- "notification\":{\"$ref\":\"#/$defs/JsonRpcNotification4\"},\"delete_request\":{" +
904
- "\"$ref\":\"#/$defs/JsonRpcRequest9\"},\"delete_response\":{\"$ref\":\"#/$defs/Jso" +
905
- "nRpcResponse9\"},\"event_notification\":{\"$ref\":\"#/$defs/JsonRpcNotificatio" +
906
- "n\"},\"get_request\":{\"$ref\":\"#/$defs/JsonRpcRequest4\"},\"get_response\":{\"$r" +
907
- "ef\":\"#/$defs/JsonRpcResponse4\"},\"initialize_request\":{\"$ref\":\"#/$defs/Js" +
908
- "onRpcRequest\"},\"initialize_response\":{\"$ref\":\"#/$defs/JsonRpcResponse\"}," +
909
- "\"log_event_notification\":{\"$ref\":\"#/$defs/JsonRpcNotification5\"},\"logs_c" +
910
- "losed_notification\":{\"$ref\":\"#/$defs/JsonRpcNotification6\"},\"logs_reques" +
911
- "t\":{\"$ref\":\"#/$defs/JsonRpcRequest11\"},\"logs_response\":{\"$ref\":\"#/$defs/" +
912
- "JsonRpcResponse11\"},\"plan_request\":{\"$ref\":\"#/$defs/JsonRpcRequest2\"},\"p" +
913
- "lan_response\":{\"$ref\":\"#/$defs/JsonRpcResponse2\"},\"resubmit_request\":{\"$" +
914
- "ref\":\"#/$defs/JsonRpcRequest8\"},\"resubmit_response\":{\"$ref\":\"#/$defs/Jso" +
915
- "nRpcResponse8\"},\"retry_request\":{\"$ref\":\"#/$defs/JsonRpcRequest7\"},\"retr" +
916
- "y_response\":{\"$ref\":\"#/$defs/JsonRpcResponse7\"},\"run_attach_event_notifi" +
917
- "cation\":{\"$ref\":\"#/$defs/JsonRpcNotification11\"},\"run_attach_request\":{\"" +
918
- "$ref\":\"#/$defs/JsonRpcRequest18\"},\"run_attach_response\":{\"$ref\":\"#/$defs" +
919
- "/JsonRpcResponse18\"},\"run_force_request\":{\"$ref\":\"#/$defs/JsonRpcRequest" +
920
- "19\"},\"run_force_response\":{\"$ref\":\"#/$defs/JsonRpcResponse19\"},\"run_list" +
921
- "_request\":{\"$ref\":\"#/$defs/JsonRpcRequest14\"},\"run_list_response\":{\"$ref" +
922
- "\":\"#/$defs/JsonRpcResponse14\"},\"run_log_event_notification\":{\"$ref\":\"#/$" +
923
- "defs/JsonRpcNotification10\"},\"run_logs_request\":{\"$ref\":\"#/$defs/JsonRpc" +
924
- "Request17\"},\"run_logs_response\":{\"$ref\":\"#/$defs/JsonRpcResponse17\"},\"ru" +
925
- "n_status_request\":{\"$ref\":\"#/$defs/JsonRpcRequest15\"},\"run_status_respon" +
926
- "se\":{\"$ref\":\"#/$defs/JsonRpcResponse15\"},\"run_submit_request\":{\"$ref\":\"#" +
927
- "/$defs/JsonRpcRequest13\"},\"run_submit_response\":{\"$ref\":\"#/$defs/JsonRpc" +
928
- "Response13\"},\"run_watch_event_notification\":{\"$ref\":\"#/$defs/JsonRpcNoti" +
929
- "fication9\"},\"run_watch_request\":{\"$ref\":\"#/$defs/JsonRpcRequest16\"},\"run" +
930
- "_watch_response\":{\"$ref\":\"#/$defs/JsonRpcResponse16\"},\"stop_request\":{\"$" +
931
- "ref\":\"#/$defs/JsonRpcRequest6\"},\"stop_response\":{\"$ref\":\"#/$defs/JsonRpc" +
932
- "Response6\"},\"subscription_cancel_notification\":{\"$ref\":\"#/$defs/JsonRpcN" +
933
- "otification2\"},\"subscription_closed_notification\":{\"$ref\":\"#/$defs/JsonR" +
934
- "pcNotification3\"},\"update_request\":{\"$ref\":\"#/$defs/JsonRpcRequest5\"},\"u" +
935
- "pdate_response\":{\"$ref\":\"#/$defs/JsonRpcResponse5\"},\"watch_request\":{\"$r" +
936
- "ef\":\"#/$defs/JsonRpcRequest10\"},\"watch_response\":{\"$ref\":\"#/$defs/JsonRp" +
937
- "cResponse10\"}},\"required\":[\"initialize_request\",\"initialize_response\",\"p" +
938
- "lan_request\",\"plan_response\",\"apply_request\",\"apply_response\",\"get_reque" +
939
- "st\",\"get_response\",\"update_request\",\"update_response\",\"stop_request\",\"st" +
940
- "op_response\",\"retry_request\",\"retry_response\",\"resubmit_request\",\"resubm" +
941
- "it_response\",\"delete_request\",\"delete_response\",\"watch_request\",\"watch_r" +
942
- "esponse\",\"event_notification\",\"subscription_cancel_notification\",\"subscr" +
943
- "iption_closed_notification\",\"cancel_request_notification\",\"logs_request\"" +
944
- ",\"logs_response\",\"log_event_notification\",\"logs_closed_notification\",\"ag" +
945
- "ent_attach_request\",\"agent_attach_response\",\"agent_attach_event_notifica" +
946
- "tion\",\"agent_attach_closed_notification\",\"run_submit_request\",\"run_submi" +
947
- "t_response\",\"run_list_request\",\"run_list_response\",\"run_status_request\"," +
948
- "\"run_status_response\",\"run_watch_request\",\"run_watch_response\",\"run_watc" +
949
- "h_event_notification\",\"run_logs_request\",\"run_logs_response\",\"run_log_ev" +
950
- "ent_notification\",\"run_attach_request\",\"run_attach_response\",\"run_attach" +
951
- "_event_notification\",\"run_force_request\",\"run_force_response\"],\"title\":\"" +
952
- "ImplementedProtocolSchema\",\"type\":\"object\"}"
772
+ ":\"integer\"},\"mode\":{\"$ref\":\"#/$defs/StopMode\"}},\"required\":[\"mode\",\"ifGe" +
773
+ "neration\",\"idempotencyKey\"],\"type\":\"object\"},\"StopResult\":{\"additionalPr" +
774
+ "operties\":false,\"properties\":{\"acceptedMode\":{\"$ref\":\"#/$defs/StopMode\"}" +
775
+ ",\"atCursor\":{\"type\":\"string\"},\"deduped\":{\"type\":\"boolean\"},\"effectiveMod" +
776
+ "e\":{\"$ref\":\"#/$defs/StopMode\"},\"generation\":{\"maximum\":9007199254740991," +
777
+ "\"minimum\":0,\"type\":\"integer\"},\"operational\":{\"$ref\":\"#/$defs/Operational" +
778
+ "Status\"},\"phase\":{\"$ref\":\"#/$defs/Phase\"},\"runId\":{\"type\":\"string\"}},\"re" +
779
+ "quired\":[\"generation\",\"runId\",\"phase\",\"acceptedMode\",\"effectiveMode\",\"op" +
780
+ "erational\",\"atCursor\",\"deduped\"],\"type\":\"object\"},\"StructuralBounds\":{\"a" +
781
+ "dditionalProperties\":false,\"properties\":{\"attemptsPerNode\":{\"additionalP" +
782
+ "roperties\":{\"maximum\":9007199254740991,\"minimum\":1,\"type\":\"integer\"},\"pr" +
783
+ "opertyNames\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z" +
784
+ "0-9_.-]*$\",\"type\":\"string\"},\"type\":\"object\"},\"maxNodeExecutions\":{\"maxim" +
785
+ "um\":9007199254740991,\"minimum\":1,\"type\":\"integer\"},\"peakConcurrency\":{\"m" +
786
+ "aximum\":9007199254740991,\"minimum\":1,\"type\":\"integer\"},\"termination\":{\"$" +
787
+ "ref\":\"#/$defs/TerminationWitness\"}},\"required\":[\"termination\",\"maxNodeEx" +
788
+ "ecutions\",\"peakConcurrency\",\"attemptsPerNode\"],\"type\":\"object\"},\"Subscri" +
789
+ "ptionCancelParams\":{\"additionalProperties\":false,\"description\":\"Wire bod" +
790
+ "y of the generic `subscription/cancel` client notification.\",\"properties" +
791
+ "\":{\"subscriptionId\":{\"type\":\"string\"}},\"required\":[\"subscriptionId\"],\"ty" +
792
+ "pe\":\"object\"},\"SubscriptionCloseReason\":{\"enum\":[\"done\",\"SLOW_CONSUMER\"]" +
793
+ ",\"type\":\"string\"},\"SubscriptionClosedNotification\":{\"additionalPropertie" +
794
+ "s\":false,\"description\":\"Wire body of the terminal `subscription/closed` " +
795
+ "server notification.\",\"properties\":{\"lastDeliveredCursor\":{\"type\":[\"stri" +
796
+ "ng\",\"null\"]},\"reason\":{\"$ref\":\"#/$defs/SubscriptionCloseReason\"},\"subscr" +
797
+ "iptionId\":{\"type\":\"string\"}},\"required\":[\"subscriptionId\",\"reason\"],\"typ" +
798
+ "e\":\"object\"},\"TerminalResult\":{\"description\":\"Authoritative terminal val" +
799
+ "ue for backends that can durably reconstruct a completed graph.\\n\\nThis " +
800
+ "is additive to [`GetResult`]: backends that do not yet expose terminal v" +
801
+ "alues leave the\\noptional field absent, including when their status is a" +
802
+ "lready `finished`.\",\"oneOf\":[{\"additionalProperties\":false,\"properties\":" +
803
+ "{\"output\":true,\"status\":{\"const\":\"succeeded\",\"type\":\"string\"}},\"required" +
804
+ "\":[\"status\",\"output\"],\"type\":\"object\"},{\"additionalProperties\":false,\"pr" +
805
+ "operties\":{\"reason\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_]" +
806
+ "[A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"status\":{\"const\":\"failed\",\"type\":\"st" +
807
+ "ring\"}},\"required\":[\"status\",\"reason\"],\"type\":\"object\"}]},\"TerminationWi" +
808
+ "tness\":{\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"kind\":{\"co" +
809
+ "nst\":\"acyclic\",\"type\":\"string\"},\"order\":{\"$ref\":\"#/$defs/NonEmptyVec_of_" +
810
+ "NodeName\"}},\"required\":[\"kind\",\"order\"],\"type\":\"object\"},{\"additionalPro" +
811
+ "perties\":false,\"properties\":{\"kind\":{\"const\":\"bounded\",\"type\":\"string\"}," +
812
+ "\"maxIterations\":{\"maximum\":9007199254740991,\"minimum\":1,\"type\":\"integer\"" +
813
+ "},\"ranking\":{\"$ref\":\"#/$defs/NonEmptyVec_of_FieldPath\"}},\"required\":[\"ki" +
814
+ "nd\",\"ranking\",\"maxIterations\"],\"type\":\"object\"}]},\"TokenUsage\":{\"additio" +
815
+ "nalProperties\":false,\"description\":\"Run-wide sum of provider-reported us" +
816
+ "age for every launched agent invocation.\\n\\n`complete` is false when at " +
817
+ "least one invocation did not report usable counters. Cache\\ncounters are" +
818
+ " omitted when the provider does not expose them consistently.\",\"properti" +
819
+ "es\":{\"cacheCreationInputTokens\":{\"maximum\":9007199254740991,\"minimum\":0," +
820
+ "\"type\":[\"integer\",\"null\"]},\"cacheReadInputTokens\":{\"maximum\":90071992547" +
821
+ "40991,\"minimum\":0,\"type\":[\"integer\",\"null\"]},\"complete\":{\"type\":\"boolean" +
822
+ "\"},\"inputTokens\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":\"integer" +
823
+ "\"},\"outputTokens\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":\"intege" +
824
+ "r\"}},\"required\":[\"inputTokens\",\"outputTokens\",\"complete\"],\"type\":\"object" +
825
+ "\"},\"UpdateParams\":{\"additionalProperties\":false,\"anyOf\":[{\"required\":[\"l" +
826
+ "abels\"]},{\"required\":[\"logLevel\"]},{\"required\":[\"suspended\"]}],\"properti" +
827
+ "es\":{\"idempotencyKey\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u00" +
828
+ "00-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"ifGeneration\":{\"maximum\"" +
829
+ ":9007199254740991,\"minimum\":0,\"type\":\"integer\"},\"labels\":{\"$ref\":\"#/$def" +
830
+ "s/Labels\"},\"logLevel\":{\"$ref\":\"#/$defs/LogLevel\"},\"suspended\":{\"type\":\"b" +
831
+ "oolean\"}},\"required\":[\"ifGeneration\",\"idempotencyKey\"],\"type\":\"object\"}," +
832
+ "\"UpdateResult\":{\"additionalProperties\":false,\"properties\":{\"atCursor\":{\"" +
833
+ "type\":\"string\"},\"deduped\":{\"type\":\"boolean\"},\"generation\":{\"maximum\":900" +
834
+ "7199254740991,\"minimum\":0,\"type\":\"integer\"},\"operational\":{\"$ref\":\"#/$de" +
835
+ "fs/OperationalStatus\"},\"phase\":{\"$ref\":\"#/$defs/Phase\"},\"runId\":{\"type\":" +
836
+ "\"string\"}},\"required\":[\"generation\",\"runId\",\"phase\",\"operational\",\"atCur" +
837
+ "sor\",\"deduped\"],\"type\":\"object\"},\"WatchEvent\":{\"description\":\"The closed" +
838
+ " public event algebra. `Phase` folds the observable cluster status (admi" +
839
+ "ssion\\ncommit, update, suspend/resume, stop-request); `NodeBegin`/`NodeE" +
840
+ "nd` are a testkit-only\\nsynthetic hook decoupled from the real dispatch/" +
841
+ "lease turn mechanism, since no native graph\\nexecutor exists yet; `Bookm" +
842
+ "ark` advances the cursor without changing folded public state;\\n`Fault` " +
843
+ "carries a durable, backend-neutral projected `BackendFault`: it correlat" +
844
+ "es to the\\nenclosing `EventNotification.run_id` plus its own optional op" +
845
+ "aque `executionRef`, and its\\nordering/emission never itself authorizes " +
846
+ "a retry or changes terminal semantics -- it folds to\\nno public status c" +
847
+ "hange, exactly like `Bookmark`; `Finished` is always the last event for " +
848
+ "a\\nrun.\",\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"admission" +
849
+ "\":{\"anyOf\":[{\"$ref\":\"#/$defs/AdmissionTransition\"},{\"type\":\"null\"}]},\"st" +
850
+ "atus\":{\"$ref\":\"#/$defs/ClusterStatus\"},\"type\":{\"const\":\"phase\",\"type\":\"s" +
851
+ "tring\"}},\"required\":[\"type\",\"status\"],\"type\":\"object\"},{\"additionalPrope" +
852
+ "rties\":false,\"properties\":{\"input\":true,\"node\":{\"$ref\":\"#/$defs/NodeAddr" +
853
+ "ess\"},\"type\":{\"const\":\"node_begin\",\"type\":\"string\"}},\"required\":[\"type\"," +
854
+ "\"node\",\"input\"],\"type\":\"object\"},{\"additionalProperties\":false,\"properti" +
855
+ "es\":{\"node\":{\"$ref\":\"#/$defs/NodeAddress\"},\"outcome\":{\"$ref\":\"#/$defs/Wo" +
856
+ "rkerOutcome\"},\"type\":{\"const\":\"node_end\",\"type\":\"string\"}},\"required\":[\"" +
857
+ "type\",\"node\",\"outcome\"],\"type\":\"object\"},{\"additionalProperties\":false,\"" +
858
+ "properties\":{\"type\":{\"const\":\"bookmark\",\"type\":\"string\"}},\"required\":[\"t" +
859
+ "ype\"],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"faul" +
860
+ "t\":{\"$ref\":\"#/$defs/BackendFault\"},\"type\":{\"const\":\"fault\",\"type\":\"strin" +
861
+ "g\"}},\"required\":[\"type\",\"fault\"],\"type\":\"object\"},{\"additionalProperties" +
862
+ "\":false,\"properties\":{\"final_status\":{\"$ref\":\"#/$defs/ClusterStatus\"},\"s" +
863
+ "top_mode\":{\"anyOf\":[{\"$ref\":\"#/$defs/StopMode\"},{\"type\":\"null\"}]},\"type\"" +
864
+ ":{\"const\":\"finished\",\"type\":\"string\"}},\"required\":[\"type\",\"final_status\"" +
865
+ "],\"type\":\"object\"}]},\"WatchParams\":{\"additionalProperties\":false,\"proper" +
866
+ "ties\":{\"fromCursor\":{\"default\":null,\"type\":[\"string\",\"null\"]},\"runId\":{\"" +
867
+ "default\":null,\"type\":[\"string\",\"null\"]}},\"type\":\"object\"},\"WatchResult\":" +
868
+ "{\"properties\":{\"atCursor\":{\"type\":[\"string\",\"null\"]},\"runId\":{\"type\":[\"s" +
869
+ "tring\",\"null\"]},\"subscriptionId\":{\"type\":\"string\"}},\"required\":[\"subscri" +
870
+ "ptionId\"],\"type\":\"object\"},\"WorkerErrorCode\":{\"enum\":[\"timeout\",\"crash\"," +
871
+ "\"malformed\",\"refusal\"],\"type\":\"string\"},\"WorkerFailureReason\":{\"enum\":[\"" +
872
+ "declared_failure\",\"policy_denied\",\"interactive_input_required\",\"authenti" +
873
+ "cation_required\",\"malformed_result\"],\"type\":\"string\"},\"WorkerOutcome\":{\"" +
874
+ "allOf\":[{\"$ref\":\"#/$defs/WorkerOutcomeWire\"},{\"if\":{\"properties\":{\"statu" +
875
+ "s\":{\"const\":\"error\"}},\"required\":[\"status\"]},\"then\":{\"oneOf\":[{\"properti" +
876
+ "es\":{\"reason\":{\"const\":\"declared_failure\"}},\"required\":[\"reason\"]},{\"pro" +
877
+ "perties\":{\"code\":{\"const\":\"refusal\"},\"reason\":{\"enum\":[\"policy_denied\",\"" +
878
+ "interactive_input_required\",\"authentication_required\"]}},\"required\":[\"co" +
879
+ "de\",\"reason\"]},{\"properties\":{\"code\":{\"const\":\"malformed\"},\"reason\":{\"co" +
880
+ "nst\":\"malformed_result\"}},\"required\":[\"code\",\"reason\"]}]}}]},\"WorkerOutc" +
881
+ "omeWire\":{\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"artifact" +
882
+ "s\":{\"items\":{\"$ref\":\"#/$defs/ArtifactRef\"},\"type\":\"array\"},\"output\":true" +
883
+ ",\"status\":{\"const\":\"verified\",\"type\":\"string\"}},\"required\":[\"status\",\"ou" +
884
+ "tput\",\"artifacts\"],\"type\":\"object\"},{\"additionalProperties\":false,\"prope" +
885
+ "rties\":{\"artifacts\":{\"items\":{\"$ref\":\"#/$defs/ArtifactRef\"},\"type\":\"arra" +
886
+ "y\"},\"diagnostic\":true,\"output\":true,\"signals\":{\"additionalProperties\":{\"" +
887
+ "maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"typ" +
888
+ "e\":\"string\"},\"propertyNames\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^" +
889
+ "[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"type\":\"object\"},\"status\":{\"" +
890
+ "const\":\"verifier\",\"type\":\"string\"}},\"required\":[\"status\",\"output\",\"signa" +
891
+ "ls\",\"diagnostic\",\"artifacts\"],\"type\":\"object\"},{\"additionalProperties\":f" +
892
+ "alse,\"properties\":{\"code\":{\"$ref\":\"#/$defs/WorkerErrorCode\"},\"reason\":{\"" +
893
+ "$ref\":\"#/$defs/WorkerFailureReason\"},\"status\":{\"const\":\"error\",\"type\":\"s" +
894
+ "tring\"}},\"required\":[\"status\",\"code\",\"reason\"],\"type\":\"object\"}]},\"Write" +
895
+ "Binding\":{\"additionalProperties\":false,\"properties\":{\"target\":{\"items\":{" +
896
+ "\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"ty" +
897
+ "pe\":\"string\"},\"maxItems\":64,\"minItems\":1,\"type\":\"array\"},\"value\":{\"$ref\"" +
898
+ ":\"#/$defs/NodeOutputSelector\"}},\"required\":[\"value\",\"target\"],\"type\":\"ob" +
899
+ "ject\"}},\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"proper" +
900
+ "ties\":{\"agent_attach_closed_notification\":{\"$ref\":\"#/$defs/JsonRpcNotifi" +
901
+ "cation8\"},\"agent_attach_event_notification\":{\"$ref\":\"#/$defs/JsonRpcNoti" +
902
+ "fication7\"},\"agent_attach_request\":{\"$ref\":\"#/$defs/JsonRpcRequest12\"},\"" +
903
+ "agent_attach_response\":{\"$ref\":\"#/$defs/JsonRpcResponse12\"},\"apply_reque" +
904
+ "st\":{\"$ref\":\"#/$defs/JsonRpcRequest3\"},\"apply_response\":{\"$ref\":\"#/$defs" +
905
+ "/JsonRpcResponse3\"},\"cancel_request_notification\":{\"$ref\":\"#/$defs/JsonR" +
906
+ "pcNotification4\"},\"delete_request\":{\"$ref\":\"#/$defs/JsonRpcRequest9\"},\"d" +
907
+ "elete_response\":{\"$ref\":\"#/$defs/JsonRpcResponse9\"},\"event_notification\"" +
908
+ ":{\"$ref\":\"#/$defs/JsonRpcNotification\"},\"get_request\":{\"$ref\":\"#/$defs/J" +
909
+ "sonRpcRequest4\"},\"get_response\":{\"$ref\":\"#/$defs/JsonRpcResponse4\"},\"ini" +
910
+ "tialize_request\":{\"$ref\":\"#/$defs/JsonRpcRequest\"},\"initialize_response\"" +
911
+ ":{\"$ref\":\"#/$defs/JsonRpcResponse\"},\"log_event_notification\":{\"$ref\":\"#/" +
912
+ "$defs/JsonRpcNotification5\"},\"logs_closed_notification\":{\"$ref\":\"#/$defs" +
913
+ "/JsonRpcNotification6\"},\"logs_request\":{\"$ref\":\"#/$defs/JsonRpcRequest11" +
914
+ "\"},\"logs_response\":{\"$ref\":\"#/$defs/JsonRpcResponse11\"},\"plan_request\":{" +
915
+ "\"$ref\":\"#/$defs/JsonRpcRequest2\"},\"plan_response\":{\"$ref\":\"#/$defs/JsonR" +
916
+ "pcResponse2\"},\"resubmit_request\":{\"$ref\":\"#/$defs/JsonRpcRequest8\"},\"res" +
917
+ "ubmit_response\":{\"$ref\":\"#/$defs/JsonRpcResponse8\"},\"retry_request\":{\"$r" +
918
+ "ef\":\"#/$defs/JsonRpcRequest7\"},\"retry_response\":{\"$ref\":\"#/$defs/JsonRpc" +
919
+ "Response7\"},\"run_attach_event_notification\":{\"$ref\":\"#/$defs/JsonRpcNoti" +
920
+ "fication11\"},\"run_attach_request\":{\"$ref\":\"#/$defs/JsonRpcRequest18\"},\"r" +
921
+ "un_attach_response\":{\"$ref\":\"#/$defs/JsonRpcResponse18\"},\"run_force_requ" +
922
+ "est\":{\"$ref\":\"#/$defs/JsonRpcRequest19\"},\"run_force_response\":{\"$ref\":\"#" +
923
+ "/$defs/JsonRpcResponse19\"},\"run_list_request\":{\"$ref\":\"#/$defs/JsonRpcRe" +
924
+ "quest14\"},\"run_list_response\":{\"$ref\":\"#/$defs/JsonRpcResponse14\"},\"run_" +
925
+ "log_event_notification\":{\"$ref\":\"#/$defs/JsonRpcNotification10\"},\"run_lo" +
926
+ "gs_request\":{\"$ref\":\"#/$defs/JsonRpcRequest17\"},\"run_logs_response\":{\"$r" +
927
+ "ef\":\"#/$defs/JsonRpcResponse17\"},\"run_status_request\":{\"$ref\":\"#/$defs/J" +
928
+ "sonRpcRequest15\"},\"run_status_response\":{\"$ref\":\"#/$defs/JsonRpcResponse" +
929
+ "15\"},\"run_submit_request\":{\"$ref\":\"#/$defs/JsonRpcRequest13\"},\"run_submi" +
930
+ "t_response\":{\"$ref\":\"#/$defs/JsonRpcResponse13\"},\"run_watch_event_notifi" +
931
+ "cation\":{\"$ref\":\"#/$defs/JsonRpcNotification9\"},\"run_watch_request\":{\"$r" +
932
+ "ef\":\"#/$defs/JsonRpcRequest16\"},\"run_watch_response\":{\"$ref\":\"#/$defs/Js" +
933
+ "onRpcResponse16\"},\"stop_request\":{\"$ref\":\"#/$defs/JsonRpcRequest6\"},\"sto" +
934
+ "p_response\":{\"$ref\":\"#/$defs/JsonRpcResponse6\"},\"subscription_cancel_not" +
935
+ "ification\":{\"$ref\":\"#/$defs/JsonRpcNotification2\"},\"subscription_closed_" +
936
+ "notification\":{\"$ref\":\"#/$defs/JsonRpcNotification3\"},\"update_request\":{" +
937
+ "\"$ref\":\"#/$defs/JsonRpcRequest5\"},\"update_response\":{\"$ref\":\"#/$defs/Jso" +
938
+ "nRpcResponse5\"},\"watch_request\":{\"$ref\":\"#/$defs/JsonRpcRequest10\"},\"wat" +
939
+ "ch_response\":{\"$ref\":\"#/$defs/JsonRpcResponse10\"}},\"required\":[\"initiali" +
940
+ "ze_request\",\"initialize_response\",\"plan_request\",\"plan_response\",\"apply_" +
941
+ "request\",\"apply_response\",\"get_request\",\"get_response\",\"update_request\"," +
942
+ "\"update_response\",\"stop_request\",\"stop_response\",\"retry_request\",\"retry_" +
943
+ "response\",\"resubmit_request\",\"resubmit_response\",\"delete_request\",\"delet" +
944
+ "e_response\",\"watch_request\",\"watch_response\",\"event_notification\",\"subsc" +
945
+ "ription_cancel_notification\",\"subscription_closed_notification\",\"cancel_" +
946
+ "request_notification\",\"logs_request\",\"logs_response\",\"log_event_notifica" +
947
+ "tion\",\"logs_closed_notification\",\"agent_attach_request\",\"agent_attach_re" +
948
+ "sponse\",\"agent_attach_event_notification\",\"agent_attach_closed_notificat" +
949
+ "ion\",\"run_submit_request\",\"run_submit_response\",\"run_list_request\",\"run_" +
950
+ "list_response\",\"run_status_request\",\"run_status_response\",\"run_watch_req" +
951
+ "uest\",\"run_watch_response\",\"run_watch_event_notification\",\"run_logs_requ" +
952
+ "est\",\"run_logs_response\",\"run_log_event_notification\",\"run_attach_reques" +
953
+ "t\",\"run_attach_response\",\"run_attach_event_notification\",\"run_force_requ" +
954
+ "est\",\"run_force_response\"],\"title\":\"ImplementedProtocolSchema\",\"type\":\"o" +
955
+ "bject\"}"
953
956
  );