@the-open-engine/zeroshot 6.47.0 → 7.0.1

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