@the-open-engine/zeroshot 6.44.0 → 6.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cluster/connection.cjs +6 -4
- package/lib/cluster/connection.mjs +7 -5
- package/lib/cluster/generated/protocol-schema.cjs +950 -1
- package/lib/cluster/generated/protocol-schema.mjs +950 -1
- package/lib/cluster/generated/protocol.d.cts +6 -3
- package/lib/cluster/generated/protocol.d.mts +6 -3
- package/lib/cluster/generated/protocol.d.ts +6 -3
- package/lib/cluster/validators.cjs +38 -1
- package/lib/cluster/validators.d.cts +3 -1
- package/lib/cluster/validators.d.mts +3 -1
- package/lib/cluster/validators.d.ts +3 -1
- package/lib/cluster/validators.mjs +37 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/scripts/generate-cluster-types.js +19 -2
- package/src/cluster/connection.ts +7 -7
- package/src/cluster/generated/protocol-schema.ts +952 -1
- package/src/cluster/generated/protocol.ts +823 -105
- package/src/cluster/validators.ts +42 -2
|
@@ -1,2 +1,953 @@
|
|
|
1
1
|
// Generated from protocol/openengine-cluster/v1/schema.json. Do not edit.
|
|
2
|
-
export const CLUSTER_PROTOCOL_SCHEMA: unknown = {"$defs":{"ActiveExecution":{"additionalProperties":false,"description":"One currently active graph-leaf execution.\n\n`execution` is the stable selector used by logs and attach. `node` is the graph-visible\nidentity that makes multiple simultaneous verifier executions obvious to a client.","properties":{"execution":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"node":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"}},"required":["execution","node"],"type":"object"},"AdmissionTransition":{"additionalProperties":false,"properties":{"runId":{"type":"string"},"seedInput":true,"spec":{"$ref":"#/$defs/GraphSpec"}},"required":["runId","spec","seedInput"],"type":"object"},"AgentAttachClosedNotification":{"additionalProperties":false,"description":"Wire body of the terminal `subscription/closed` server notification for an `agent/attach`\nsubscription. Deliberately carries no cursor field -- `agent/attach` gives a type-level\n\"cursorless\" guarantee, unlike [`crate::SubscriptionClosedNotification`].","properties":{"reason":{"$ref":"#/$defs/SubscriptionCloseReason"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","reason"],"type":"object"},"AgentAttachEvent":{"description":"The closed public agent-attach progress algebra. This is the only representable shape:\nreasoning, tools, provider frames, usage, and session identifiers have no variant. `Working`\nand `Settled` are empty struct variants rather than bare units: serde's internally tagged enum\ndeserialization silently ignores unknown fields on a unit variant regardless of\n`deny_unknown_fields`, which would otherwise let an unrepresentable field ride along\nundetected on either of these two variants.","oneOf":[{"additionalProperties":false,"properties":{"type":{"const":"working","type":"string"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"text":{"maxLength":16384,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]*$","type":"string"},"type":{"const":"output","type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"settled","type":"string"}},"required":["type"],"type":"object"}]},"AgentAttachEventNotification":{"$ref":"#/$defs/AgentAttachEventNotificationWire"},"AgentAttachEventNotificationWire":{"additionalProperties":false,"properties":{"event":{"$ref":"#/$defs/AgentAttachEvent"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","event"],"type":"object"},"AgentAttachParams":{"additionalProperties":false,"description":"`agent/attach` establishment parameters: the named `{execution}` request. Deliberately closed,\nrejecting any unknown field.","properties":{"execution":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["execution"],"type":"object"},"AgentAttachResult":{"additionalProperties":false,"description":"The `agent/attach` establishment result: only a `subscriptionId`. Deliberately carries no\n`runId` or `atCursor` -- `agent/attach` is not run-scoped and has no cursor.","properties":{"subscriptionId":{"type":"string"}},"required":["subscriptionId"],"type":"object"},"ApplyParams":{"additionalProperties":false,"properties":{"dryRun":{"default":false,"type":"boolean"},"graph":{"$ref":"#/$defs/GraphSpec"},"idempotencyKey":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"ifGeneration":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"input":true},"required":["graph"],"type":"object"},"ApplyResult":{"additionalProperties":false,"properties":{"deduped":{"type":"boolean"},"diff":{"anyOf":[{"$ref":"#/$defs/GraphDiff"},{"type":"null"}]},"generation":{"maximum":9007199254740991,"minimum":0,"type":["integer","null"]},"phase":{"$ref":"#/$defs/Phase"},"runId":{"type":["string","null"]}},"required":["phase","deduped"],"type":"object"},"ArtifactLineage":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"generation":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"runId":{"type":"string"}},"required":["generation","runId","attempt"],"type":"object"},"ArtifactProducer":{"additionalProperties":false,"properties":{"node":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"worker":{"maxLength":256,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$","type":"string"}},"required":["node","worker"],"type":"object"},"ArtifactRef":{"additionalProperties":false,"properties":{"artifactId":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"byteLength":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"lineage":{"$ref":"#/$defs/ArtifactLineage"},"mediaType":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"producer":{"$ref":"#/$defs/ArtifactProducer"},"redaction":{"$ref":"#/$defs/RedactionClass"},"sha256":{"pattern":"^[0-9a-f]{64}$","type":"string"},"typeId":{"maxLength":256,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$","type":"string"}},"required":["artifactId","sha256","byteLength","mediaType","typeId","producer","lineage","redaction"],"type":"object"},"BackendFault":{"$ref":"#/$defs/BackendFaultWire"},"BackendFaultWire":{"additionalProperties":false,"properties":{"action":{"$ref":"#/$defs/FaultAction"},"code":{"$ref":"#/$defs/FaultCode"},"consequence":{"$ref":"#/$defs/FaultConsequence"},"eventId":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"executionRef":{"default":null,"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":["string","null"]},"retry":{"$ref":"#/$defs/FaultRetryDisposition"},"severity":{"$ref":"#/$defs/FaultSeverity"},"source":{"items":{"$ref":"#/$defs/FaultSourceFrame"},"maxItems":8,"type":"array"},"summary":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["eventId","code","consequence","retry","action","severity","summary","source"],"type":"object"},"CancelRequestParams":{"additionalProperties":false,"description":"Wire body of the `$/cancelRequest` client notification: best-effort cancellation of an\nin-flight unary request by its `RequestId`. Unknown or already-completed ids are a silent\nno-op; cancelling after the backend has committed leaves that committed state unchanged and\nemits no response or compensation.","properties":{"id":{"$ref":"#/$defs/RequestId"}},"required":["id"],"type":"object"},"ChoiceBranch":{"additionalProperties":false,"properties":{"node":{"$ref":"#/$defs/GraphNode"},"when":{"$ref":"#/$defs/Guard"}},"required":["when","node"],"type":"object"},"ClaudeProvider":{"enum":["anthropic","openrouter"],"type":"string"},"ClusterStatus":{"properties":{"atCursor":{"type":["string","null"]},"currentRunId":{"type":["string","null"]},"observedGeneration":{"maximum":9007199254740991,"minimum":0,"type":["integer","null"]},"operational":{"anyOf":[{"$ref":"#/$defs/OperationalStatus"},{"type":"null"}]},"phase":{"$ref":"#/$defs/Phase"}},"required":["phase"],"type":"object"},"CodexProvider":{"enum":["openai","openrouter"],"type":"string"},"ControlSelector":{"additionalProperties":false,"properties":{"field":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":["string","null"]},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"source":{"$ref":"#/$defs/ControlSource"}},"required":["name","source"],"type":"object"},"ControlSource":{"enum":["signal","error","group"],"type":"string"},"DataSelector":{"oneOf":[{"additionalProperties":false,"properties":{"path":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"source":{"const":"state","type":"string"}},"required":["source","path"],"type":"object"},{"additionalProperties":false,"properties":{"path":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"source":{"const":"item","type":"string"}},"required":["source","path"],"type":"object"}]},"DeclaredEnvironment":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"},"maxItems":64,"type":"array","uniqueItems":true},"DeleteParams":{"additionalProperties":false,"properties":{"idempotencyKey":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"ifGeneration":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"ifRunId":{"type":["string","null"]}},"required":["ifGeneration","idempotencyKey"],"type":"object"},"DeleteResult":{"additionalProperties":false,"properties":{"atCursor":{"type":["string","null"]},"deduped":{"type":"boolean"},"deleted":{"type":"boolean"},"generation":{"maximum":9007199254740991,"minimum":0,"type":["integer","null"]},"phase":{"$ref":"#/$defs/Phase"},"runId":{"type":["string","null"]}},"required":["deleted","phase","deduped"],"type":"object"},"DiagnosticPathSegment":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"field","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"}},"required":["kind","name"],"type":"object"},{"additionalProperties":false,"properties":{"index":{"format":"uint32","maximum":4294967295,"minimum":0,"type":"integer"},"kind":{"const":"index","type":"string"}},"required":["kind","index"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"node","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"}},"required":["kind","name"],"type":"object"}]},"DiagnosticSeverity":{"enum":["error","warning","info"],"type":"string"},"DispatchState":{"enum":["active","suspended","draining","force_stopping","stopped"],"type":"string"},"DomainErrorData":{"properties":{"code":{"type":"string"},"details":true},"required":["code"],"type":"object"},"EventNotification":{"additionalProperties":false,"description":"Wire body of the generic `event` server notification.","properties":{"cursor":{"type":"string"},"event":{"$ref":"#/$defs/WatchEvent"},"runId":{"type":"string"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","runId","cursor","event"],"type":"object"},"FaultAction":{"description":"Descriptive only, like [`FaultRetryDisposition`]: naming `Retry` never itself retries or\nauthorizes a retry.","enum":["none","retry","wait","escalate","abort"],"type":"string"},"FaultCode":{"enum":["unavailable","resource_exhausted","deadline_exceeded","permission_denied","failed_precondition","not_found","aborted","internal","unknown"],"type":"string"},"FaultConsequence":{"enum":["turn_failed","run_failed","run_degraded","no_observable_effect"],"type":"string"},"FaultRetryDisposition":{"description":"Descriptive only: no `BackendFault` and no `fault` event ever performs or authorizes a retry.\nEvent ordering and emission never themselves change terminal semantics.","enum":["retryable","retryable_after_backoff","not_retryable","indeterminate"],"type":"string"},"FaultSeverity":{"enum":["info","warning","error","critical"],"type":"string"},"FaultSourceFrame":{"additionalProperties":false,"properties":{"component":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["component"],"type":"object"},"GetParams":{"additionalProperties":false,"properties":{"atCursor":{"default":null,"type":["string","null"]}},"type":"object"},"GetResult":{"properties":{"atCursor":{"type":["string","null"]},"spec":{"anyOf":[{"$ref":"#/$defs/GraphSpec"},{"type":"null"}]},"status":{"$ref":"#/$defs/ClusterStatus"},"terminalResult":{"anyOf":[{"$ref":"#/$defs/TerminalResult"},{"type":"null"}]}},"required":["status"],"type":"object"},"GraphDiagnostic":{"additionalProperties":false,"properties":{"code":{"$ref":"#/$defs/GraphDiagnosticCode"},"message":{"type":"string"},"path":{"items":{"$ref":"#/$defs/DiagnosticPathSegment"},"type":"array"},"relatedNodes":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"array"},"severity":{"$ref":"#/$defs/DiagnosticSeverity"}},"required":["severity","code","message","path","relatedNodes"],"type":"object"},"GraphDiagnosticCode":{"enum":["schema_safety","reachability","choice_exhaustiveness","loop_exit_satisfiability","missing_bound","write_conflict","ceiling_exceeded","cyclic_reference","undefined_read","invalid_graph_shape"],"type":"string"},"GraphDiff":{"additionalProperties":false,"properties":{"added":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"array"},"changed":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"array"},"removed":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"array"}},"required":["added","removed","changed"],"type":"object"},"GraphNode":{"oneOf":[{"additionalProperties":false,"properties":{"attempts":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"input":{"$ref":"#/$defs/PayloadType"},"inputBindings":{"items":{"$ref":"#/$defs/InputBinding"},"type":"array"},"instructions":{"anyOf":[{"$ref":"#/$defs/NodeInstructions"},{"type":"null"}]},"kind":{"const":"step","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"output":{"$ref":"#/$defs/PayloadType"},"timeoutMs":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"worker":{"maxLength":256,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$","type":"string"},"writeBindings":{"items":{"$ref":"#/$defs/WriteBinding"},"type":"array"}},"required":["kind","name","worker","input","output","inputBindings","writeBindings","timeoutMs","attempts"],"type":"object"},{"additionalProperties":false,"properties":{"attempts":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"diagnostic":{"$ref":"#/$defs/PayloadType"},"input":{"$ref":"#/$defs/PayloadType"},"inputBindings":{"items":{"$ref":"#/$defs/InputBinding"},"type":"array"},"instructions":{"anyOf":[{"$ref":"#/$defs/NodeInstructions"},{"type":"null"}]},"kind":{"const":"verifier","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"output":{"$ref":"#/$defs/PayloadType"},"signals":{"additionalProperties":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":4096,"minItems":1,"type":"array","uniqueItems":true},"propertyNames":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"object"},"timeoutMs":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"worker":{"maxLength":256,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$","type":"string"},"writeBindings":{"items":{"$ref":"#/$defs/WriteBinding"},"type":"array"}},"required":["kind","name","worker","input","output","inputBindings","writeBindings","timeoutMs","attempts","signals","diagnostic"],"type":"object"},{"additionalProperties":false,"properties":{"children":{"$ref":"#/$defs/NonEmptyVec_of_GraphNode"},"kind":{"const":"seq","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"promotedStatePaths":{"items":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"type":"array"},"state":{"$ref":"#/$defs/PayloadType"}},"required":["kind","name","state","children","promotedStatePaths"],"type":"object"},{"additionalProperties":false,"properties":{"branches":{"$ref":"#/$defs/NonEmptyVec_of_ChoiceBranch"},"kind":{"const":"choice","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"otherwise":{"anyOf":[{"$ref":"#/$defs/GraphNode"},{"type":"null"}]},"promotedStatePaths":{"items":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"type":"array"},"state":{"$ref":"#/$defs/PayloadType"}},"required":["kind","name","state","branches","promotedStatePaths"],"type":"object"},{"additionalProperties":false,"properties":{"branches":{"$ref":"#/$defs/NonEmptyVec_of_GraphNode"},"join":{"$ref":"#/$defs/Join"},"kind":{"const":"par","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"promotedStatePaths":{"items":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"type":"array"},"state":{"$ref":"#/$defs/PayloadType"}},"required":["kind","name","state","branches","promotedStatePaths","join"],"type":"object"},{"additionalProperties":false,"properties":{"body":{"$ref":"#/$defs/GraphNode"},"kind":{"const":"loop","type":"string"},"maxIterations":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"promotedStatePaths":{"items":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"type":"array"},"state":{"$ref":"#/$defs/PayloadType"},"until":{"anyOf":[{"$ref":"#/$defs/Guard"},{"type":"null"}]}},"required":["kind","name","state","body","maxIterations","promotedStatePaths"],"type":"object"},{"additionalProperties":false,"properties":{"body":{"$ref":"#/$defs/GraphNode"},"kind":{"const":"map","type":"string"},"maxItems":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"over":{"$ref":"#/$defs/DataSelector"},"promotedStatePaths":{"items":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"type":"array"},"state":{"$ref":"#/$defs/PayloadType"}},"required":["kind","name","state","body","over","maxItems","promotedStatePaths"],"type":"object"},{"additionalProperties":false,"properties":{"bindings":{"items":{"$ref":"#/$defs/InputBinding"},"type":"array"},"kind":{"const":"succeed","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"output":{"$ref":"#/$defs/PayloadType"}},"required":["kind","name","output","bindings"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"fail","type":"string"},"name":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"reason":{"maxLength":128,"minLength":1,"pattern":"^(?!unhandled$)[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"}},"required":["kind","name","reason"],"type":"object"}]},"GraphProfile":{"enum":["openengine.graph.full/v1","openengine.graph.single-worker/v1"],"type":"string"},"GraphSpec":{"additionalProperties":false,"properties":{"initialInput":{"$ref":"#/$defs/PayloadType"},"policy":{"$ref":"#/$defs/PolicyBinding"},"profile":{"$ref":"#/$defs/GraphProfile"},"root":{"$ref":"#/$defs/GraphNode"}},"required":["profile","initialInput","policy","root"],"type":"object"},"Guard":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"in","type":"string"},"labels":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":4096,"minItems":1,"type":"array","uniqueItems":true},"value":{"$ref":"#/$defs/ControlSelector"}},"required":["kind","value","labels"],"type":"object"},{"additionalProperties":false,"properties":{"guards":{"$ref":"#/$defs/NonEmptyVec_of_Guard"},"kind":{"const":"all","type":"string"}},"required":["kind","guards"],"type":"object"},{"additionalProperties":false,"properties":{"guards":{"$ref":"#/$defs/NonEmptyVec_of_Guard"},"kind":{"const":"any","type":"string"}},"required":["kind","guards"],"type":"object"},{"additionalProperties":false,"properties":{"guard":{"$ref":"#/$defs/Guard"},"kind":{"const":"not","type":"string"}},"required":["kind","guard"],"type":"object"},{"additionalProperties":false,"properties":{"count":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"kind":{"const":"k_of_n","type":"string"},"labels":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":4096,"minItems":1,"type":"array","uniqueItems":true},"values":{"$ref":"#/$defs/NonEmptyVec_of_ControlSelector"}},"required":["kind","count","values","labels"],"type":"object"},{"additionalProperties":false,"properties":{"count":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"kind":{"const":"k_of_map","type":"string"},"labels":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":4096,"minItems":1,"type":"array","uniqueItems":true},"value":{"$ref":"#/$defs/ControlSelector"}},"required":["kind","count","value","labels"],"type":"object"}]},"InitializeParams":{"additionalProperties":false,"properties":{"protocolVersion":{"const":"openengine.cluster/v1","type":"string"}},"required":["protocolVersion"],"type":"object"},"InitializeResult":{"properties":{"capabilities":{"$ref":"#/$defs/ServerCapabilities"},"protocolVersion":{"const":"openengine.cluster/v1","type":"string"},"status":{"$ref":"#/$defs/ClusterStatus"}},"required":["protocolVersion","capabilities","status"],"type":"object"},"InputBinding":{"additionalProperties":false,"properties":{"target":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"value":{"$ref":"#/$defs/DataSelector"}},"required":["target","value"],"type":"object"},"Join":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"all","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"any","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"count":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"kind":{"const":"quorum","type":"string"}},"required":["kind","count"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"first","type":"string"},"when":{"$ref":"#/$defs/Guard"}},"required":["kind","when"],"type":"object"}]},"JsonRpcError":{"properties":{"code":{"format":"int64","type":"integer"},"data":{"anyOf":[{"$ref":"#/$defs/DomainErrorData"},{"type":"null"}]},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"JsonRpcErrorResponse":{"properties":{"error":{"$ref":"#/$defs/JsonRpcError"},"id":{"anyOf":[{"$ref":"#/$defs/RequestId"},{"type":"null"}]},"jsonrpc":{"type":"string"}},"required":["jsonrpc","error"],"type":"object"},"JsonRpcNotification":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/EventNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification10":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunLogEventNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification11":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunAttachEventNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification2":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/SubscriptionCancelParams"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification3":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/SubscriptionClosedNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification4":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/CancelRequestParams"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification5":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/LogEventNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification6":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/LogsClosedNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification7":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/AgentAttachEventNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification8":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/AgentAttachClosedNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcNotification9":{"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunWatchEventNotification"}},"required":["jsonrpc","method","params"],"type":"object"},"JsonRpcRequest":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/InitializeParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest10":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/WatchParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest11":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/LogsParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest12":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/AgentAttachParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest13":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunSubmitParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest14":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunListParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest15":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunStatusParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest16":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunWatchParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest17":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunLogsParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest18":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunAttachParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest19":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RunForceParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest2":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/PlanParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest3":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/ApplyParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest4":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/GetParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest5":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/UpdateParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest6":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/StopParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest7":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/RetryParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest8":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/ResubmitParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcRequest9":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"$ref":"#/$defs/DeleteParams"}},"required":["jsonrpc","id","method","params"],"type":"object"},"JsonRpcResponse":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse10":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess10"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse11":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess11"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse12":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess12"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse13":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess13"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse14":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess14"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse15":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess15"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse16":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess16"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse17":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess17"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse18":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess18"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse19":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess19"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse2":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess2"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse3":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess3"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse4":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess4"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse5":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess5"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse6":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess6"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse7":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess7"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse8":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess8"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcResponse9":{"anyOf":[{"$ref":"#/$defs/JsonRpcSuccess9"},{"$ref":"#/$defs/JsonRpcErrorResponse"}]},"JsonRpcSuccess":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/InitializeResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess10":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/WatchResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess11":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/LogsResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess12":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/AgentAttachResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess13":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RunSubmitResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess14":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RunListResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess15":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RunStatusResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess16":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RunWatchResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess17":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RunLogsResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess18":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RunAttachResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess19":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RunForceResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess2":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/PlanResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess3":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/ApplyResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess4":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/GetResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess5":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/UpdateResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess6":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/StopResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess7":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/RetryResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess8":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/ResubmitResult"}},"required":["jsonrpc","id","result"],"type":"object"},"JsonRpcSuccess9":{"properties":{"id":{"$ref":"#/$defs/RequestId"},"jsonrpc":{"type":"string"},"result":{"$ref":"#/$defs/DeleteResult"}},"required":["jsonrpc","id","result"],"type":"object"},"Labels":{"additionalProperties":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"maxProperties":64,"propertyNames":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"type":"object"},"LogEventNotification":{"$ref":"#/$defs/LogEventNotificationWire"},"LogEventNotificationWire":{"additionalProperties":false,"properties":{"record":{"$ref":"#/$defs/LogRecord"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","record"],"type":"object"},"LogLevel":{"enum":["trace","debug","info","warn","error"],"type":"string"},"LogRecord":{"additionalProperties":false,"description":"The closed public log record shape: a level, a bounded target, and a bounded (possibly\nredacted) message. No raw bytes, reasoning, tools, credentials, env, or provider/session IDs\nare representable.","properties":{"level":{"$ref":"#/$defs/LogLevel"},"message":{"maxLength":16384,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]*$","type":"string"},"target":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["level","target","message"],"type":"object"},"LogsClosedNotification":{"additionalProperties":false,"description":"Wire body of the terminal `subscription/closed` server notification for a `logs` subscription.\nDeliberately carries no cursor field -- `logs` gives a type-level \"cursorless\" guarantee, unlike\n[`crate::SubscriptionClosedNotification`].","properties":{"reason":{"$ref":"#/$defs/SubscriptionCloseReason"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","reason"],"type":"object"},"LogsParams":{"additionalProperties":false,"description":"`logs` establishment parameters. v1 has zero caller filters: this is deliberately empty and\nclosed, rejecting any unknown field.","type":"object"},"LogsResult":{"additionalProperties":false,"description":"The `logs` establishment result: only a `subscriptionId`. Deliberately carries no `runId` or\n`atCursor` -- `logs` is not run-scoped and has no cursor.","properties":{"subscriptionId":{"type":"string"}},"required":["subscriptionId"],"type":"object"},"NodeAddress":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"node":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"}},"required":["node","attempt"],"type":"object"},"NodeInstructions":{"maxLength":16384,"minLength":1,"pattern":"^[^\\u0000]*[^\\s\\u0000][^\\u0000]*$","type":"string"},"NodeOutputChannel":{"enum":["out","signal","diagnostic"],"type":"string"},"NodeOutputSelector":{"additionalProperties":false,"properties":{"channel":{"$ref":"#/$defs/NodeOutputChannel"},"node":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"path":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"}},"required":["node","channel","path"],"type":"object"},"NodeRuntimeBinding":{"oneOf":[{"additionalProperties":false,"properties":{"effort":{"anyOf":[{"$ref":"#/$defs/ReasoningEffort"},{"type":"null"}]},"env":{"$ref":"#/$defs/DeclaredEnvironment"},"kind":{"const":"agent","type":"string"},"model":{"maxLength":128,"minLength":1,"type":"string"},"sessionScope":{"$ref":"#/$defs/SessionScope"}},"required":["kind","model"],"type":"object"},{"additionalProperties":false,"properties":{"env":{"$ref":"#/$defs/DeclaredEnvironment"},"kind":{"const":"git_delivery","type":"string"}},"required":["kind"],"type":"object"}]},"NonEmptyVec_of_ChoiceBranch":{"items":{"$ref":"#/$defs/ChoiceBranch"},"maxItems":4096,"minItems":1,"type":"array"},"NonEmptyVec_of_ControlSelector":{"items":{"$ref":"#/$defs/ControlSelector"},"maxItems":4096,"minItems":1,"type":"array"},"NonEmptyVec_of_FieldPath":{"items":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"maxItems":4096,"minItems":1,"type":"array"},"NonEmptyVec_of_GraphNode":{"items":{"$ref":"#/$defs/GraphNode"},"maxItems":4096,"minItems":1,"type":"array"},"NonEmptyVec_of_Guard":{"items":{"$ref":"#/$defs/Guard"},"maxItems":4096,"minItems":1,"type":"array"},"NonEmptyVec_of_NodeName":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":4096,"minItems":1,"type":"array"},"OperationalStatus":{"additionalProperties":false,"properties":{"dispatchState":{"$ref":"#/$defs/DispatchState"},"inFlight":{"format":"uint32","minimum":0,"type":"integer"},"labels":{"$ref":"#/$defs/Labels"},"logLevel":{"$ref":"#/$defs/LogLevel"},"stopMode":{"anyOf":[{"$ref":"#/$defs/StopMode"},{"type":"null"}]}},"required":["labels","logLevel","dispatchState","inFlight"],"type":"object"},"PayloadType":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"null","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"boolean","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"integer","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"number","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"string","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"fields":{"additionalProperties":{"$ref":"#/$defs/RecordField"},"propertyNames":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"object"},"kind":{"const":"record","type":"string"}},"required":["kind","fields"],"type":"object"},{"additionalProperties":false,"properties":{"items":{"$ref":"#/$defs/PayloadType"},"kind":{"const":"array","type":"string"}},"required":["kind","items"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"enum","type":"string"},"values":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":4096,"minItems":1,"type":"array","uniqueItems":true}},"required":["kind","values"],"type":"object"}]},"Phase":{"enum":["empty","admitting","running","finished","deleting"],"type":"string"},"PlanParams":{"additionalProperties":false,"properties":{"graph":{"$ref":"#/$defs/GraphSpec"}},"required":["graph"],"type":"object"},"PlanResult":{"additionalProperties":false,"properties":{"bounds":{"anyOf":[{"$ref":"#/$defs/StructuralBounds"},{"type":"null"}]},"diagnostics":{"items":{"$ref":"#/$defs/GraphDiagnostic"},"type":"array"},"ok":{"type":"boolean"}},"required":["ok","diagnostics"],"type":"object"},"PolicyBinding":{"additionalProperties":false,"properties":{"default":{"$ref":"#/$defs/PolicyDefault"},"policy":{"maxLength":256,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$","type":"string"}},"required":["policy","default"],"type":"object"},"PolicyDefault":{"enum":["deny"],"type":"string"},"ReasoningEffort":{"enum":["low","medium","high","xhigh","max"],"type":"string"},"RecordField":{"additionalProperties":false,"properties":{"required":{"type":"boolean"},"type":{"$ref":"#/$defs/PayloadType"}},"required":["type","required"],"type":"object"},"RedactionClass":{"enum":["public","internal","confidential","restricted"],"type":"string"},"RequestId":{"anyOf":[{"type":"string"},{"format":"int64","type":"integer"}]},"ResolvedSource":{"additionalProperties":false,"properties":{"branch":{"maxLength":255,"minLength":1,"type":"string"},"repository":{"maxLength":255,"minLength":3,"pattern":"^[A-Za-z0-9._-]+/[A-Za-z0-9._-]+$","type":"string"},"revision":{"pattern":"^[0-9a-f]{40}$","type":"string"}},"required":["repository","branch","revision"],"type":"object"},"ResubmitParams":{"additionalProperties":false,"properties":{"idempotencyKey":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"ifGeneration":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"ifRunId":{"type":"string"},"replacementInput":true},"required":["ifGeneration","ifRunId","idempotencyKey"],"type":"object"},"ResubmitResult":{"additionalProperties":false,"properties":{"atCursor":{"type":"string"},"deduped":{"type":"boolean"},"generation":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"operational":{"$ref":"#/$defs/OperationalStatus"},"phase":{"$ref":"#/$defs/Phase"},"priorRunId":{"type":"string"},"runId":{"type":"string"}},"required":["generation","priorRunId","runId","phase","operational","atCursor","deduped"],"type":"object"},"RetryParams":{"additionalProperties":false,"properties":{"idempotencyKey":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"ifGeneration":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["ifGeneration","idempotencyKey"],"type":"object"},"RetryResult":{"additionalProperties":false,"properties":{"atCursor":{"type":"string"},"deduped":{"type":"boolean"},"generation":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"operational":{"$ref":"#/$defs/OperationalStatus"},"phase":{"$ref":"#/$defs/Phase"},"retriedTurnId":{"type":"string"},"retryTurnId":{"type":"string"},"runId":{"type":"string"}},"required":["generation","runId","phase","retriedTurnId","retryTurnId","operational","atCursor","deduped"],"type":"object"},"RunAttachEventNotification":{"additionalProperties":false,"description":"One live read-only attach event. Carrying both identities prevents events from simultaneous\nverifier attachments being confused on a multiplexed transport.","properties":{"event":{"$ref":"#/$defs/AgentAttachEvent"},"execution":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"runId":{"type":"string"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","runId","execution","event"],"type":"object"},"RunAttachParams":{"additionalProperties":false,"description":"Establishes a live, read-only view of exactly one execution.\n\nAttach has no cursor and no replay. Historical output is available through [`RunLogsParams`].\nNo client-to-execution input message exists in this contract.","properties":{"execution":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"runId":{"type":"string"}},"required":["runId","execution"],"type":"object"},"RunAttachResult":{"additionalProperties":false,"properties":{"execution":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"runId":{"type":"string"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","runId","execution"],"type":"object"},"RunForceParams":{"additionalProperties":false,"description":"Requests the MVP's only stop mode: force. Repeated requests are idempotent at the run ledger.","properties":{"runId":{"type":"string"}},"required":["runId"],"type":"object"},"RunForceResult":{"additionalProperties":false,"description":"The durable run status after recording the force request.","properties":{"atCursor":{"description":"Durable cursor after the force request was recorded.","type":"string"},"runId":{"description":"Public identity of the run whose force request was recorded.","type":"string"},"size":{"$ref":"#/$defs/RunSize","description":"Immutable execution size selected for the run."},"source":{"$ref":"#/$defs/ResolvedSource","description":"Immutable repository snapshot captured when the run was admitted."},"status":{"$ref":"#/$defs/RunStatus","description":"Public phase projected after the force request was recorded."},"title":{"description":"Immutable title captured when the run was admitted.","maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["runId","title","source","size","atCursor","status"],"type":"object"},"RunListParams":{"additionalProperties":false,"description":"The MVP inventory has no filters or pagination controls.","type":"object"},"RunListResult":{"additionalProperties":false,"description":"Current durable projections for every retained run.","properties":{"runs":{"items":{"$ref":"#/$defs/RunStatusResult"},"type":"array"}},"required":["runs"],"type":"object"},"RunLogEventNotification":{"additionalProperties":false,"description":"One durable, reconnectable safe log record. Run-wide system records have no execution;\nexecution output carries the stable opaque selector used by status and attach.","properties":{"cursor":{"type":"string"},"execution":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":["string","null"]},"record":{"$ref":"#/$defs/LogRecord"},"runId":{"type":"string"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","runId","cursor","record"],"type":"object"},"RunLogsParams":{"additionalProperties":false,"description":"Establishes durable run log replay followed by live delivery.\n\nAn optional execution filter selects one active or settled execution using the exact opaque\nreference advertised by status. `fromCursor` is exclusive, with the same reconnect semantics\nas [`RunWatchParams`]. Omitting both fields after `runId` replays the run's complete retained\nsafe log history.","properties":{"execution":{"maxLength":128,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":["string","null"]},"fromCursor":{"type":["string","null"]},"runId":{"type":"string"}},"required":["runId"],"type":"object"},"RunLogsResult":{"additionalProperties":false,"properties":{"atCursor":{"type":"string"},"runId":{"type":"string"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","runId","atCursor"],"type":"object"},"RunMetadata":{"additionalProperties":false,"description":"Additive metadata emitted only with a terminal run projection.","properties":{"tokenUsage":{"anyOf":[{"$ref":"#/$defs/TokenUsage"},{"type":"null"}]}},"type":"object"},"RunSize":{"enum":["tiny","small","standard","large"],"type":"string"},"RunStatus":{"description":"Public run state. The closed phase variants make impossible combinations unrepresentable:\nadmitted runs have no execution, stopping means force was requested, and finished runs have\nexactly one terminal result and no active execution. Running/stopping report every active\nexecution rather than a single \"current worker\" slot.","oneOf":[{"additionalProperties":false,"properties":{"phase":{"const":"admitted","type":"string"}},"required":["phase"],"type":"object"},{"additionalProperties":false,"properties":{"activeExecutions":{"items":{"$ref":"#/$defs/ActiveExecution"},"type":"array"},"phase":{"const":"running","type":"string"}},"required":["phase","activeExecutions"],"type":"object"},{"additionalProperties":false,"properties":{"activeExecutions":{"items":{"$ref":"#/$defs/ActiveExecution"},"type":"array"},"phase":{"const":"stopping","type":"string"}},"required":["phase","activeExecutions"],"type":"object"},{"additionalProperties":false,"properties":{"metadata":{"$ref":"#/$defs/RunMetadata","default":{}},"phase":{"const":"finished","type":"string"},"terminalResult":{"$ref":"#/$defs/TerminalResult"}},"required":["phase","terminalResult"],"type":"object"}]},"RunStatusParams":{"additionalProperties":false,"properties":{"runId":{"type":"string"}},"required":["runId"],"type":"object"},"RunStatusResult":{"additionalProperties":false,"properties":{"atCursor":{"type":"string"},"runId":{"type":"string"},"size":{"$ref":"#/$defs/RunSize"},"source":{"$ref":"#/$defs/ResolvedSource"},"status":{"$ref":"#/$defs/RunStatus"},"title":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["runId","title","source","size","atCursor","status"],"type":"object"},"RunSubmission":{"additionalProperties":false,"description":"Immutable, secret-free native-v2 submission admitted by the selected target.","properties":{"graph":{"$ref":"#/$defs/GraphSpec"},"initialInput":true,"runtime":{"$ref":"#/$defs/RuntimePlan"},"source":{"$ref":"#/$defs/ResolvedSource"},"submissionKey":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"title":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["title","graph","initialInput","runtime","source","submissionKey"],"type":"object"},"RunSubmitParams":{"additionalProperties":false,"description":"Trusted controller bootstrap admission. The host assigns the only public run identity before\ncontroller start; the immutable submission remains identity-neutral.","properties":{"runId":{"type":"string"},"submission":{"$ref":"#/$defs/RunSubmission"}},"required":["runId","submission"],"type":"object"},"RunSubmitResult":{"additionalProperties":false,"description":"A successful submission returns the one public identity used by every later run method.","properties":{"runId":{"type":"string"}},"required":["runId"],"type":"object"},"RunWatchEventNotification":{"additionalProperties":false,"description":"One durable public status projection. `cursor` is stable run history, not a connection-local\nsequence; clients resume strictly after it.","properties":{"cursor":{"type":"string"},"runId":{"type":"string"},"size":{"$ref":"#/$defs/RunSize"},"source":{"$ref":"#/$defs/ResolvedSource"},"status":{"$ref":"#/$defs/RunStatus"},"subscriptionId":{"type":"string"},"title":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"}},"required":["subscriptionId","runId","title","source","size","cursor","status"],"type":"object"},"RunWatchParams":{"additionalProperties":false,"description":"Establishes a durable run watch.\n\n`fromCursor` is exclusive. Reconnecting with the last delivered cursor therefore returns each\nlater watch record once, with no replayed boundary record and no skipped later record.","properties":{"fromCursor":{"type":["string","null"]},"runId":{"type":"string"}},"required":["runId"],"type":"object"},"RunWatchResult":{"additionalProperties":false,"properties":{"atCursor":{"type":"string"},"runId":{"type":"string"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","runId","atCursor"],"type":"object"},"RuntimePlan":{"oneOf":[{"additionalProperties":false,"properties":{"harness":{"const":"codex","type":"string"},"nodes":{"additionalProperties":false,"patternProperties":{"^[A-Za-z_][A-Za-z0-9_.-]*$":{"$ref":"#/$defs/NodeRuntimeBinding"}},"type":"object"},"provider":{"$ref":"#/$defs/CodexProvider"},"size":{"$ref":"#/$defs/RunSize"}},"required":["harness","provider","size","nodes"],"type":"object"},{"additionalProperties":false,"properties":{"harness":{"const":"claude","type":"string"},"nodes":{"additionalProperties":false,"patternProperties":{"^[A-Za-z_][A-Za-z0-9_.-]*$":{"$ref":"#/$defs/NodeRuntimeBinding"}},"type":"object"},"provider":{"$ref":"#/$defs/ClaudeProvider"},"size":{"$ref":"#/$defs/RunSize"}},"required":["harness","provider","size","nodes"],"type":"object"}]},"ServerCapabilities":{"additionalProperties":false,"properties":{"agentAttach":{"default":false,"type":"boolean"},"graphProfiles":{"default":[],"items":{"$ref":"#/$defs/GraphProfile"},"maxItems":2,"not":{"minItems":2,"prefixItems":[{"const":"openengine.graph.single-worker/v1"},{"const":"openengine.graph.full/v1"}]},"type":"array","uniqueItems":true},"logs":{"default":false,"type":"boolean"}},"type":"object"},"SessionScope":{"enum":["execution","node_instance"],"type":"string"},"StopMode":{"enum":["drain","force"],"type":"string"},"StopParams":{"additionalProperties":false,"properties":{"idempotencyKey":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"ifGeneration":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"mode":{"$ref":"#/$defs/StopMode"}},"required":["mode","ifGeneration","idempotencyKey"],"type":"object"},"StopResult":{"additionalProperties":false,"properties":{"acceptedMode":{"$ref":"#/$defs/StopMode"},"atCursor":{"type":"string"},"deduped":{"type":"boolean"},"effectiveMode":{"$ref":"#/$defs/StopMode"},"generation":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"operational":{"$ref":"#/$defs/OperationalStatus"},"phase":{"$ref":"#/$defs/Phase"},"runId":{"type":"string"}},"required":["generation","runId","phase","acceptedMode","effectiveMode","operational","atCursor","deduped"],"type":"object"},"StructuralBounds":{"additionalProperties":false,"properties":{"attemptsPerNode":{"additionalProperties":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"propertyNames":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"object"},"maxNodeExecutions":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"peakConcurrency":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"termination":{"$ref":"#/$defs/TerminationWitness"}},"required":["termination","maxNodeExecutions","peakConcurrency","attemptsPerNode"],"type":"object"},"SubscriptionCancelParams":{"additionalProperties":false,"description":"Wire body of the generic `subscription/cancel` client notification.","properties":{"subscriptionId":{"type":"string"}},"required":["subscriptionId"],"type":"object"},"SubscriptionCloseReason":{"enum":["done","SLOW_CONSUMER"],"type":"string"},"SubscriptionClosedNotification":{"additionalProperties":false,"description":"Wire body of the terminal `subscription/closed` server notification.","properties":{"lastDeliveredCursor":{"type":["string","null"]},"reason":{"$ref":"#/$defs/SubscriptionCloseReason"},"subscriptionId":{"type":"string"}},"required":["subscriptionId","reason"],"type":"object"},"TerminalResult":{"description":"Authoritative terminal value for backends that can durably reconstruct a completed graph.\n\nThis is additive to [`GetResult`]: backends that do not yet expose terminal values leave the\noptional field absent, including when their status is already `finished`.","oneOf":[{"additionalProperties":false,"properties":{"output":true,"status":{"const":"succeeded","type":"string"}},"required":["status","output"],"type":"object"},{"additionalProperties":false,"properties":{"reason":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"status":{"const":"failed","type":"string"}},"required":["status","reason"],"type":"object"}]},"TerminationWitness":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"acyclic","type":"string"},"order":{"$ref":"#/$defs/NonEmptyVec_of_NodeName"}},"required":["kind","order"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"bounded","type":"string"},"maxIterations":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"ranking":{"$ref":"#/$defs/NonEmptyVec_of_FieldPath"}},"required":["kind","ranking","maxIterations"],"type":"object"}]},"TokenUsage":{"additionalProperties":false,"description":"Run-wide sum of provider-reported usage for every launched agent invocation.\n\n`complete` is false when at least one invocation did not report usable counters. Cache\ncounters are omitted when the provider does not expose them consistently.","properties":{"cacheCreationInputTokens":{"maximum":9007199254740991,"minimum":0,"type":["integer","null"]},"cacheReadInputTokens":{"maximum":9007199254740991,"minimum":0,"type":["integer","null"]},"complete":{"type":"boolean"},"inputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"outputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["inputTokens","outputTokens","complete"],"type":"object"},"UpdateParams":{"additionalProperties":false,"anyOf":[{"required":["labels"]},{"required":["logLevel"]},{"required":["suspended"]}],"properties":{"idempotencyKey":{"maxLength":256,"minLength":1,"pattern":"^[^\\u0000-\\u001f\\u007f-\\u009f]+$","type":"string"},"ifGeneration":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"labels":{"$ref":"#/$defs/Labels"},"logLevel":{"$ref":"#/$defs/LogLevel"},"suspended":{"type":"boolean"}},"required":["ifGeneration","idempotencyKey"],"type":"object"},"UpdateResult":{"additionalProperties":false,"properties":{"atCursor":{"type":"string"},"deduped":{"type":"boolean"},"generation":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"operational":{"$ref":"#/$defs/OperationalStatus"},"phase":{"$ref":"#/$defs/Phase"},"runId":{"type":"string"}},"required":["generation","runId","phase","operational","atCursor","deduped"],"type":"object"},"WatchEvent":{"description":"The closed public event algebra. `Phase` folds the observable cluster status (admission\ncommit, update, suspend/resume, stop-request); `NodeBegin`/`NodeEnd` are a testkit-only\nsynthetic hook decoupled from the real dispatch/lease turn mechanism, since no native graph\nexecutor exists yet; `Bookmark` advances the cursor without changing folded public state;\n`Fault` carries a durable, backend-neutral projected `BackendFault`: it correlates to the\nenclosing `EventNotification.run_id` plus its own optional opaque `executionRef`, and its\nordering/emission never itself authorizes a retry or changes terminal semantics -- it folds to\nno public status change, exactly like `Bookmark`; `Finished` is always the last event for a\nrun.","oneOf":[{"additionalProperties":false,"properties":{"admission":{"anyOf":[{"$ref":"#/$defs/AdmissionTransition"},{"type":"null"}]},"status":{"$ref":"#/$defs/ClusterStatus"},"type":{"const":"phase","type":"string"}},"required":["type","status"],"type":"object"},{"additionalProperties":false,"properties":{"input":true,"node":{"$ref":"#/$defs/NodeAddress"},"type":{"const":"node_begin","type":"string"}},"required":["type","node","input"],"type":"object"},{"additionalProperties":false,"properties":{"node":{"$ref":"#/$defs/NodeAddress"},"outcome":{"$ref":"#/$defs/WorkerOutcome"},"type":{"const":"node_end","type":"string"}},"required":["type","node","outcome"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"bookmark","type":"string"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"fault":{"$ref":"#/$defs/BackendFault"},"type":{"const":"fault","type":"string"}},"required":["type","fault"],"type":"object"},{"additionalProperties":false,"properties":{"final_status":{"$ref":"#/$defs/ClusterStatus"},"stop_mode":{"anyOf":[{"$ref":"#/$defs/StopMode"},{"type":"null"}]},"type":{"const":"finished","type":"string"}},"required":["type","final_status"],"type":"object"}]},"WatchParams":{"additionalProperties":false,"properties":{"fromCursor":{"default":null,"type":["string","null"]},"runId":{"default":null,"type":["string","null"]}},"type":"object"},"WatchResult":{"properties":{"atCursor":{"type":["string","null"]},"runId":{"type":["string","null"]},"subscriptionId":{"type":"string"}},"required":["subscriptionId"],"type":"object"},"WorkerErrorCode":{"enum":["timeout","crash","malformed","refusal"],"type":"string"},"WorkerFailureReason":{"enum":["declared_failure","policy_denied","interactive_input_required","authentication_required","malformed_result"],"type":"string"},"WorkerOutcome":{"allOf":[{"$ref":"#/$defs/WorkerOutcomeWire"},{"if":{"properties":{"status":{"const":"error"}},"required":["status"]},"then":{"oneOf":[{"properties":{"reason":{"const":"declared_failure"}},"required":["reason"]},{"properties":{"code":{"const":"refusal"},"reason":{"enum":["policy_denied","interactive_input_required","authentication_required"]}},"required":["code","reason"]},{"properties":{"code":{"const":"malformed"},"reason":{"const":"malformed_result"}},"required":["code","reason"]}]}}]},"WorkerOutcomeWire":{"oneOf":[{"additionalProperties":false,"properties":{"artifacts":{"items":{"$ref":"#/$defs/ArtifactRef"},"type":"array"},"output":true,"status":{"const":"verified","type":"string"}},"required":["status","output","artifacts"],"type":"object"},{"additionalProperties":false,"properties":{"artifacts":{"items":{"$ref":"#/$defs/ArtifactRef"},"type":"array"},"diagnostic":true,"output":true,"signals":{"additionalProperties":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"propertyNames":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"type":"object"},"status":{"const":"verifier","type":"string"}},"required":["status","output","signals","diagnostic","artifacts"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"$ref":"#/$defs/WorkerErrorCode"},"reason":{"$ref":"#/$defs/WorkerFailureReason"},"status":{"const":"error","type":"string"}},"required":["status","code","reason"],"type":"object"}]},"WriteBinding":{"additionalProperties":false,"properties":{"target":{"items":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"maxItems":64,"minItems":1,"type":"array"},"value":{"$ref":"#/$defs/NodeOutputSelector"}},"required":["value","target"],"type":"object"}},"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"agent_attach_closed_notification":{"$ref":"#/$defs/JsonRpcNotification8"},"agent_attach_event_notification":{"$ref":"#/$defs/JsonRpcNotification7"},"agent_attach_request":{"$ref":"#/$defs/JsonRpcRequest12"},"agent_attach_response":{"$ref":"#/$defs/JsonRpcResponse12"},"apply_request":{"$ref":"#/$defs/JsonRpcRequest3"},"apply_response":{"$ref":"#/$defs/JsonRpcResponse3"},"cancel_request_notification":{"$ref":"#/$defs/JsonRpcNotification4"},"delete_request":{"$ref":"#/$defs/JsonRpcRequest9"},"delete_response":{"$ref":"#/$defs/JsonRpcResponse9"},"event_notification":{"$ref":"#/$defs/JsonRpcNotification"},"get_request":{"$ref":"#/$defs/JsonRpcRequest4"},"get_response":{"$ref":"#/$defs/JsonRpcResponse4"},"initialize_request":{"$ref":"#/$defs/JsonRpcRequest"},"initialize_response":{"$ref":"#/$defs/JsonRpcResponse"},"log_event_notification":{"$ref":"#/$defs/JsonRpcNotification5"},"logs_closed_notification":{"$ref":"#/$defs/JsonRpcNotification6"},"logs_request":{"$ref":"#/$defs/JsonRpcRequest11"},"logs_response":{"$ref":"#/$defs/JsonRpcResponse11"},"plan_request":{"$ref":"#/$defs/JsonRpcRequest2"},"plan_response":{"$ref":"#/$defs/JsonRpcResponse2"},"resubmit_request":{"$ref":"#/$defs/JsonRpcRequest8"},"resubmit_response":{"$ref":"#/$defs/JsonRpcResponse8"},"retry_request":{"$ref":"#/$defs/JsonRpcRequest7"},"retry_response":{"$ref":"#/$defs/JsonRpcResponse7"},"run_attach_event_notification":{"$ref":"#/$defs/JsonRpcNotification11"},"run_attach_request":{"$ref":"#/$defs/JsonRpcRequest18"},"run_attach_response":{"$ref":"#/$defs/JsonRpcResponse18"},"run_force_request":{"$ref":"#/$defs/JsonRpcRequest19"},"run_force_response":{"$ref":"#/$defs/JsonRpcResponse19"},"run_list_request":{"$ref":"#/$defs/JsonRpcRequest14"},"run_list_response":{"$ref":"#/$defs/JsonRpcResponse14"},"run_log_event_notification":{"$ref":"#/$defs/JsonRpcNotification10"},"run_logs_request":{"$ref":"#/$defs/JsonRpcRequest17"},"run_logs_response":{"$ref":"#/$defs/JsonRpcResponse17"},"run_status_request":{"$ref":"#/$defs/JsonRpcRequest15"},"run_status_response":{"$ref":"#/$defs/JsonRpcResponse15"},"run_submit_request":{"$ref":"#/$defs/JsonRpcRequest13"},"run_submit_response":{"$ref":"#/$defs/JsonRpcResponse13"},"run_watch_event_notification":{"$ref":"#/$defs/JsonRpcNotification9"},"run_watch_request":{"$ref":"#/$defs/JsonRpcRequest16"},"run_watch_response":{"$ref":"#/$defs/JsonRpcResponse16"},"stop_request":{"$ref":"#/$defs/JsonRpcRequest6"},"stop_response":{"$ref":"#/$defs/JsonRpcResponse6"},"subscription_cancel_notification":{"$ref":"#/$defs/JsonRpcNotification2"},"subscription_closed_notification":{"$ref":"#/$defs/JsonRpcNotification3"},"update_request":{"$ref":"#/$defs/JsonRpcRequest5"},"update_response":{"$ref":"#/$defs/JsonRpcResponse5"},"watch_request":{"$ref":"#/$defs/JsonRpcRequest10"},"watch_response":{"$ref":"#/$defs/JsonRpcResponse10"}},"required":["initialize_request","initialize_response","plan_request","plan_response","apply_request","apply_response","get_request","get_response","update_request","update_response","stop_request","stop_response","retry_request","retry_response","resubmit_request","resubmit_response","delete_request","delete_response","watch_request","watch_response","event_notification","subscription_cancel_notification","subscription_closed_notification","cancel_request_notification","logs_request","logs_response","log_event_notification","logs_closed_notification","agent_attach_request","agent_attach_response","agent_attach_event_notification","agent_attach_closed_notification","run_submit_request","run_submit_response","run_list_request","run_list_response","run_status_request","run_status_response","run_watch_request","run_watch_response","run_watch_event_notification","run_logs_request","run_logs_response","run_log_event_notification","run_attach_request","run_attach_response","run_attach_event_notification","run_force_request","run_force_response"],"title":"ImplementedProtocolSchema","type":"object"};
|
|
2
|
+
export const CLUSTER_PROTOCOL_SCHEMA: unknown = JSON.parse(
|
|
3
|
+
"{\"$defs\":{\"ActiveExecution\":{\"additionalProperties\":false,\"description\":" +
|
|
4
|
+
"\"One currently active graph-leaf execution.\\n\\n`execution` is the stable" +
|
|
5
|
+
" selector used by logs and attach. `node` is the graph-visible\\nidentity" +
|
|
6
|
+
" that makes multiple simultaneous verifier executions obvious to a clien" +
|
|
7
|
+
"t.\",\"properties\":{\"execution\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"" +
|
|
8
|
+
"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"node\":{\"maxLengt" +
|
|
9
|
+
"h\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"stri" +
|
|
10
|
+
"ng\"}},\"required\":[\"execution\",\"node\"],\"type\":\"object\"},\"AdmissionTransit" +
|
|
11
|
+
"ion\":{\"additionalProperties\":false,\"properties\":{\"runId\":{\"type\":\"string" +
|
|
12
|
+
"\"},\"seedInput\":true,\"spec\":{\"$ref\":\"#/$defs/GraphSpec\"}},\"required\":[\"ru" +
|
|
13
|
+
"nId\",\"spec\",\"seedInput\"],\"type\":\"object\"},\"AgentAttachClosedNotification" +
|
|
14
|
+
"\":{\"additionalProperties\":false,\"description\":\"Wire body of the terminal" +
|
|
15
|
+
" `subscription/closed` server notification for an `agent/attach`\\nsubscr" +
|
|
16
|
+
"iption. Deliberately carries no cursor field -- `agent/attach` gives a t" +
|
|
17
|
+
"ype-level\\n\\\"cursorless\\\" guarantee, unlike [`crate::SubscriptionClosedN" +
|
|
18
|
+
"otification`].\",\"properties\":{\"reason\":{\"$ref\":\"#/$defs/SubscriptionClos" +
|
|
19
|
+
"eReason\"},\"subscriptionId\":{\"type\":\"string\"}},\"required\":[\"subscriptionI" +
|
|
20
|
+
"d\",\"reason\"],\"type\":\"object\"},\"AgentAttachEvent\":{\"description\":\"The clo" +
|
|
21
|
+
"sed public agent-attach progress algebra. This is the only representable" +
|
|
22
|
+
" shape:\\nreasoning, tools, provider frames, usage, and session identifie" +
|
|
23
|
+
"rs have no variant. `Working`\\nand `Settled` are empty struct variants r" +
|
|
24
|
+
"ather than bare units: serde's internally tagged enum\\ndeserialization s" +
|
|
25
|
+
"ilently ignores unknown fields on a unit variant regardless of\\n`deny_un" +
|
|
26
|
+
"known_fields`, which would otherwise let an unrepresentable field ride a" +
|
|
27
|
+
"long\\nundetected on either of these two variants.\",\"oneOf\":[{\"additional" +
|
|
28
|
+
"Properties\":false,\"properties\":{\"type\":{\"const\":\"working\",\"type\":\"string" +
|
|
29
|
+
"\"}},\"required\":[\"type\"],\"type\":\"object\"},{\"additionalProperties\":false,\"" +
|
|
30
|
+
"properties\":{\"text\":{\"maxLength\":16384,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u0" +
|
|
31
|
+
"07f-\\\\u009f]*$\",\"type\":\"string\"},\"type\":{\"const\":\"output\",\"type\":\"string" +
|
|
32
|
+
"\"}},\"required\":[\"type\",\"text\"],\"type\":\"object\"},{\"additionalProperties\":" +
|
|
33
|
+
"false,\"properties\":{\"type\":{\"const\":\"settled\",\"type\":\"string\"}},\"require" +
|
|
34
|
+
"d\":[\"type\"],\"type\":\"object\"}]},\"AgentAttachEventNotification\":{\"$ref\":\"#" +
|
|
35
|
+
"/$defs/AgentAttachEventNotificationWire\"},\"AgentAttachEventNotificationW" +
|
|
36
|
+
"ire\":{\"additionalProperties\":false,\"properties\":{\"event\":{\"$ref\":\"#/$def" +
|
|
37
|
+
"s/AgentAttachEvent\"},\"subscriptionId\":{\"type\":\"string\"}},\"required\":[\"su" +
|
|
38
|
+
"bscriptionId\",\"event\"],\"type\":\"object\"},\"AgentAttachParams\":{\"additional" +
|
|
39
|
+
"Properties\":false,\"description\":\"`agent/attach` establishment parameters" +
|
|
40
|
+
": the named `{execution}` request. Deliberately closed,\\nrejecting any u" +
|
|
41
|
+
"nknown field.\",\"properties\":{\"execution\":{\"maxLength\":128,\"minLength\":1," +
|
|
42
|
+
"\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"}},\"requ" +
|
|
43
|
+
"ired\":[\"execution\"],\"type\":\"object\"},\"AgentAttachResult\":{\"additionalPro" +
|
|
44
|
+
"perties\":false,\"description\":\"The `agent/attach` establishment result: o" +
|
|
45
|
+
"nly a `subscriptionId`. Deliberately carries no\\n`runId` or `atCursor` -" +
|
|
46
|
+
"- `agent/attach` is not run-scoped and has no cursor.\",\"properties\":{\"su" +
|
|
47
|
+
"bscriptionId\":{\"type\":\"string\"}},\"required\":[\"subscriptionId\"],\"type\":\"o" +
|
|
48
|
+
"bject\"},\"ApplyParams\":{\"additionalProperties\":false,\"properties\":{\"dryRu" +
|
|
49
|
+
"n\":{\"default\":false,\"type\":\"boolean\"},\"graph\":{\"$ref\":\"#/$defs/GraphSpec" +
|
|
50
|
+
"\"},\"idempotencyKey\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000" +
|
|
51
|
+
"-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"ifGeneration\":{\"maximum\":9" +
|
|
52
|
+
"007199254740991,\"minimum\":0,\"type\":\"integer\"},\"input\":true},\"required\":[" +
|
|
53
|
+
"\"graph\"],\"type\":\"object\"},\"ApplyResult\":{\"additionalProperties\":false,\"p" +
|
|
54
|
+
"roperties\":{\"deduped\":{\"type\":\"boolean\"},\"diff\":{\"anyOf\":[{\"$ref\":\"#/$de" +
|
|
55
|
+
"fs/GraphDiff\"},{\"type\":\"null\"}]},\"generation\":{\"maximum\":900719925474099" +
|
|
56
|
+
"1,\"minimum\":0,\"type\":[\"integer\",\"null\"]},\"phase\":{\"$ref\":\"#/$defs/Phase\"" +
|
|
57
|
+
"},\"runId\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"phase\",\"deduped\"],\"ty" +
|
|
58
|
+
"pe\":\"object\"},\"ArtifactLineage\":{\"additionalProperties\":false,\"propertie" +
|
|
59
|
+
"s\":{\"attempt\":{\"maximum\":9007199254740991,\"minimum\":1,\"type\":\"integer\"}," +
|
|
60
|
+
"\"generation\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":\"integer\"},\"" +
|
|
61
|
+
"runId\":{\"type\":\"string\"}},\"required\":[\"generation\",\"runId\",\"attempt\"],\"t" +
|
|
62
|
+
"ype\":\"object\"},\"ArtifactProducer\":{\"additionalProperties\":false,\"propert" +
|
|
63
|
+
"ies\":{\"node\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z" +
|
|
64
|
+
"0-9_.-]*$\",\"type\":\"string\"},\"worker\":{\"maxLength\":256,\"pattern\":\"^[A-Za-" +
|
|
65
|
+
"z_][A-Za-z0-9_.-]*@[1-9][0-9]*$\",\"type\":\"string\"}},\"required\":[\"node\",\"w" +
|
|
66
|
+
"orker\"],\"type\":\"object\"},\"ArtifactRef\":{\"additionalProperties\":false,\"pr" +
|
|
67
|
+
"operties\":{\"artifactId\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u" +
|
|
68
|
+
"0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"byteLength\":{\"maximum\"" +
|
|
69
|
+
":9007199254740991,\"minimum\":0,\"type\":\"integer\"},\"lineage\":{\"$ref\":\"#/$de" +
|
|
70
|
+
"fs/ArtifactLineage\"},\"mediaType\":{\"maxLength\":256,\"minLength\":1,\"pattern" +
|
|
71
|
+
"\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"producer\":{\"$" +
|
|
72
|
+
"ref\":\"#/$defs/ArtifactProducer\"},\"redaction\":{\"$ref\":\"#/$defs/RedactionC" +
|
|
73
|
+
"lass\"},\"sha256\":{\"pattern\":\"^[0-9a-f]{64}$\",\"type\":\"string\"},\"typeId\":{\"" +
|
|
74
|
+
"maxLength\":256,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$\",\"type\"" +
|
|
75
|
+
":\"string\"}},\"required\":[\"artifactId\",\"sha256\",\"byteLength\",\"mediaType\",\"" +
|
|
76
|
+
"typeId\",\"producer\",\"lineage\",\"redaction\"],\"type\":\"object\"},\"BackendFault" +
|
|
77
|
+
"\":{\"$ref\":\"#/$defs/BackendFaultWire\"},\"BackendFaultWire\":{\"additionalPro" +
|
|
78
|
+
"perties\":false,\"properties\":{\"action\":{\"$ref\":\"#/$defs/FaultAction\"},\"co" +
|
|
79
|
+
"de\":{\"$ref\":\"#/$defs/FaultCode\"},\"consequence\":{\"$ref\":\"#/$defs/FaultCon" +
|
|
80
|
+
"sequence\"},\"eventId\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u000" +
|
|
81
|
+
"0-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"executionRef\":{\"default\":" +
|
|
82
|
+
"null,\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-" +
|
|
83
|
+
"\\\\u009f]+$\",\"type\":[\"string\",\"null\"]},\"retry\":{\"$ref\":\"#/$defs/FaultRetr" +
|
|
84
|
+
"yDisposition\"},\"severity\":{\"$ref\":\"#/$defs/FaultSeverity\"},\"source\":{\"it" +
|
|
85
|
+
"ems\":{\"$ref\":\"#/$defs/FaultSourceFrame\"},\"maxItems\":8,\"type\":\"array\"},\"s" +
|
|
86
|
+
"ummary\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u0" +
|
|
87
|
+
"07f-\\\\u009f]+$\",\"type\":\"string\"}},\"required\":[\"eventId\",\"code\",\"conseque" +
|
|
88
|
+
"nce\",\"retry\",\"action\",\"severity\",\"summary\",\"source\"],\"type\":\"object\"},\"C" +
|
|
89
|
+
"ancelRequestParams\":{\"additionalProperties\":false,\"description\":\"Wire bo" +
|
|
90
|
+
"dy of the `$/cancelRequest` client notification: best-effort cancellatio" +
|
|
91
|
+
"n of an\\nin-flight unary request by its `RequestId`. Unknown or already-" +
|
|
92
|
+
"completed ids are a silent\\nno-op; cancelling after the backend has comm" +
|
|
93
|
+
"itted leaves that committed state unchanged and\\nemits no response or co" +
|
|
94
|
+
"mpensation.\",\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"}},\"required\"" +
|
|
95
|
+
":[\"id\"],\"type\":\"object\"},\"ChoiceBranch\":{\"additionalProperties\":false,\"p" +
|
|
96
|
+
"roperties\":{\"node\":{\"$ref\":\"#/$defs/GraphNode\"},\"when\":{\"$ref\":\"#/$defs/" +
|
|
97
|
+
"Guard\"}},\"required\":[\"when\",\"node\"],\"type\":\"object\"},\"ClaudeProvider\":{\"" +
|
|
98
|
+
"enum\":[\"anthropic\",\"openrouter\"],\"type\":\"string\"},\"ClusterStatus\":{\"prop" +
|
|
99
|
+
"erties\":{\"atCursor\":{\"type\":[\"string\",\"null\"]},\"currentRunId\":{\"type\":[\"" +
|
|
100
|
+
"string\",\"null\"]},\"observedGeneration\":{\"maximum\":9007199254740991,\"minim" +
|
|
101
|
+
"um\":0,\"type\":[\"integer\",\"null\"]},\"operational\":{\"anyOf\":[{\"$ref\":\"#/$def" +
|
|
102
|
+
"s/OperationalStatus\"},{\"type\":\"null\"}]},\"phase\":{\"$ref\":\"#/$defs/Phase\"}" +
|
|
103
|
+
"},\"required\":[\"phase\"],\"type\":\"object\"},\"CodexProvider\":{\"enum\":[\"openai" +
|
|
104
|
+
"\",\"openrouter\"],\"type\":\"string\"},\"ControlSelector\":{\"additionalPropertie" +
|
|
105
|
+
"s\":false,\"properties\":{\"field\":{\"maxLength\":128,\"minLength\":1,\"pattern\":" +
|
|
106
|
+
"\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":[\"string\",\"null\"]},\"name\":{\"maxLengt" +
|
|
107
|
+
"h\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"stri" +
|
|
108
|
+
"ng\"},\"source\":{\"$ref\":\"#/$defs/ControlSource\"}},\"required\":[\"name\",\"sour" +
|
|
109
|
+
"ce\"],\"type\":\"object\"},\"ControlSource\":{\"enum\":[\"signal\",\"error\",\"group\"]" +
|
|
110
|
+
",\"type\":\"string\"},\"DataSelector\":{\"oneOf\":[{\"additionalProperties\":false" +
|
|
111
|
+
",\"properties\":{\"path\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":" +
|
|
112
|
+
"\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItems\":1" +
|
|
113
|
+
",\"type\":\"array\"},\"source\":{\"const\":\"state\",\"type\":\"string\"}},\"required\":" +
|
|
114
|
+
"[\"source\",\"path\"],\"type\":\"object\"},{\"additionalProperties\":false,\"proper" +
|
|
115
|
+
"ties\":{\"path\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-" +
|
|
116
|
+
"z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItems\":1,\"type\":" +
|
|
117
|
+
"\"array\"},\"source\":{\"const\":\"item\",\"type\":\"string\"}},\"required\":[\"source\"" +
|
|
118
|
+
",\"path\"],\"type\":\"object\"}]},\"DeclaredConnections\":{\"additionalProperties" +
|
|
119
|
+
"\":{\"$ref\":\"#/$defs/DeclaredEnvironment\"},\"maxProperties\":64,\"type\":\"obje" +
|
|
120
|
+
"ct\"},\"DeclaredEnvironment\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"patt" +
|
|
121
|
+
"ern\":\"^[A-Za-z_][A-Za-z0-9_]*$\",\"type\":\"string\"},\"maxItems\":64,\"type\":\"a" +
|
|
122
|
+
"rray\",\"uniqueItems\":true},\"DeleteParams\":{\"additionalProperties\":false,\"" +
|
|
123
|
+
"properties\":{\"idempotencyKey\":{\"maxLength\":256,\"minLength\":1,\"pattern\":\"" +
|
|
124
|
+
"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"ifGeneration\":{\"" +
|
|
125
|
+
"maximum\":9007199254740991,\"minimum\":0,\"type\":\"integer\"},\"ifRunId\":{\"type" +
|
|
126
|
+
"\":[\"string\",\"null\"]}},\"required\":[\"ifGeneration\",\"idempotencyKey\"],\"type" +
|
|
127
|
+
"\":\"object\"},\"DeleteResult\":{\"additionalProperties\":false,\"properties\":{\"" +
|
|
128
|
+
"atCursor\":{\"type\":[\"string\",\"null\"]},\"deduped\":{\"type\":\"boolean\"},\"delet" +
|
|
129
|
+
"ed\":{\"type\":\"boolean\"},\"generation\":{\"maximum\":9007199254740991,\"minimum" +
|
|
130
|
+
"\":0,\"type\":[\"integer\",\"null\"]},\"phase\":{\"$ref\":\"#/$defs/Phase\"},\"runId\":" +
|
|
131
|
+
"{\"type\":[\"string\",\"null\"]}},\"required\":[\"deleted\",\"phase\",\"deduped\"],\"ty" +
|
|
132
|
+
"pe\":\"object\"},\"DiagnosticPathSegment\":{\"oneOf\":[{\"additionalProperties\":" +
|
|
133
|
+
"false,\"properties\":{\"kind\":{\"const\":\"field\",\"type\":\"string\"},\"name\":{\"ma" +
|
|
134
|
+
"xLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\"" +
|
|
135
|
+
":\"string\"}},\"required\":[\"kind\",\"name\"],\"type\":\"object\"},{\"additionalProp" +
|
|
136
|
+
"erties\":false,\"properties\":{\"index\":{\"format\":\"uint32\",\"maximum\":4294967" +
|
|
137
|
+
"295,\"minimum\":0,\"type\":\"integer\"},\"kind\":{\"const\":\"index\",\"type\":\"string" +
|
|
138
|
+
"\"}},\"required\":[\"kind\",\"index\"],\"type\":\"object\"},{\"additionalProperties\"" +
|
|
139
|
+
":false,\"properties\":{\"kind\":{\"const\":\"node\",\"type\":\"string\"},\"name\":{\"ma" +
|
|
140
|
+
"xLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\"" +
|
|
141
|
+
":\"string\"}},\"required\":[\"kind\",\"name\"],\"type\":\"object\"}]},\"DiagnosticSev" +
|
|
142
|
+
"erity\":{\"enum\":[\"error\",\"warning\",\"info\"],\"type\":\"string\"},\"DispatchStat" +
|
|
143
|
+
"e\":{\"enum\":[\"active\",\"suspended\",\"draining\",\"force_stopping\",\"stopped\"]," +
|
|
144
|
+
"\"type\":\"string\"},\"DomainErrorData\":{\"properties\":{\"code\":{\"type\":\"string" +
|
|
145
|
+
"\"},\"details\":true},\"required\":[\"code\"],\"type\":\"object\"},\"EventNotificati" +
|
|
146
|
+
"on\":{\"additionalProperties\":false,\"description\":\"Wire body of the generi" +
|
|
147
|
+
"c `event` server notification.\",\"properties\":{\"cursor\":{\"type\":\"string\"}" +
|
|
148
|
+
",\"event\":{\"$ref\":\"#/$defs/WatchEvent\"},\"runId\":{\"type\":\"string\"},\"subscr" +
|
|
149
|
+
"iptionId\":{\"type\":\"string\"}},\"required\":[\"subscriptionId\",\"runId\",\"curso" +
|
|
150
|
+
"r\",\"event\"],\"type\":\"object\"},\"FaultAction\":{\"description\":\"Descriptive o" +
|
|
151
|
+
"nly, like [`FaultRetryDisposition`]: naming `Retry` never itself retries" +
|
|
152
|
+
" or\\nauthorizes a retry.\",\"enum\":[\"none\",\"retry\",\"wait\",\"escalate\",\"abor" +
|
|
153
|
+
"t\"],\"type\":\"string\"},\"FaultCode\":{\"enum\":[\"unavailable\",\"resource_exhaus" +
|
|
154
|
+
"ted\",\"deadline_exceeded\",\"permission_denied\",\"failed_precondition\",\"not_" +
|
|
155
|
+
"found\",\"aborted\",\"internal\",\"unknown\"],\"type\":\"string\"},\"FaultConsequenc" +
|
|
156
|
+
"e\":{\"enum\":[\"turn_failed\",\"run_failed\",\"run_degraded\",\"no_observable_eff" +
|
|
157
|
+
"ect\"],\"type\":\"string\"},\"FaultRetryDisposition\":{\"description\":\"Descripti" +
|
|
158
|
+
"ve only: no `BackendFault` and no `fault` event ever performs or authori" +
|
|
159
|
+
"zes a retry.\\nEvent ordering and emission never themselves change termin" +
|
|
160
|
+
"al semantics.\",\"enum\":[\"retryable\",\"retryable_after_backoff\",\"not_retrya" +
|
|
161
|
+
"ble\",\"indeterminate\"],\"type\":\"string\"},\"FaultSeverity\":{\"enum\":[\"info\",\"" +
|
|
162
|
+
"warning\",\"error\",\"critical\"],\"type\":\"string\"},\"FaultSourceFrame\":{\"addit" +
|
|
163
|
+
"ionalProperties\":false,\"properties\":{\"component\":{\"maxLength\":256,\"minLe" +
|
|
164
|
+
"ngth\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"" +
|
|
165
|
+
"}},\"required\":[\"component\"],\"type\":\"object\"},\"GetParams\":{\"additionalPro" +
|
|
166
|
+
"perties\":false,\"properties\":{\"atCursor\":{\"default\":null,\"type\":[\"string\"" +
|
|
167
|
+
",\"null\"]}},\"type\":\"object\"},\"GetResult\":{\"properties\":{\"atCursor\":{\"type" +
|
|
168
|
+
"\":[\"string\",\"null\"]},\"spec\":{\"anyOf\":[{\"$ref\":\"#/$defs/GraphSpec\"},{\"typ" +
|
|
169
|
+
"e\":\"null\"}]},\"status\":{\"$ref\":\"#/$defs/ClusterStatus\"},\"terminalResult\":" +
|
|
170
|
+
"{\"anyOf\":[{\"$ref\":\"#/$defs/TerminalResult\"},{\"type\":\"null\"}]}},\"required" +
|
|
171
|
+
"\":[\"status\"],\"type\":\"object\"},\"GraphDiagnostic\":{\"additionalProperties\":" +
|
|
172
|
+
"false,\"properties\":{\"code\":{\"$ref\":\"#/$defs/GraphDiagnosticCode\"},\"messa" +
|
|
173
|
+
"ge\":{\"type\":\"string\"},\"path\":{\"items\":{\"$ref\":\"#/$defs/DiagnosticPathSeg" +
|
|
174
|
+
"ment\"},\"type\":\"array\"},\"relatedNodes\":{\"items\":{\"maxLength\":128,\"minLeng" +
|
|
175
|
+
"th\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"type\":\"ar" +
|
|
176
|
+
"ray\"},\"severity\":{\"$ref\":\"#/$defs/DiagnosticSeverity\"}},\"required\":[\"sev" +
|
|
177
|
+
"erity\",\"code\",\"message\",\"path\",\"relatedNodes\"],\"type\":\"object\"},\"GraphDi" +
|
|
178
|
+
"agnosticCode\":{\"enum\":[\"schema_safety\",\"reachability\",\"choice_exhaustive" +
|
|
179
|
+
"ness\",\"loop_exit_satisfiability\",\"missing_bound\",\"write_conflict\",\"ceili" +
|
|
180
|
+
"ng_exceeded\",\"cyclic_reference\",\"undefined_read\",\"invalid_graph_shape\"]," +
|
|
181
|
+
"\"type\":\"string\"},\"GraphDiff\":{\"additionalProperties\":false,\"properties\":" +
|
|
182
|
+
"{\"added\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A" +
|
|
183
|
+
"-Za-z0-9_.-]*$\",\"type\":\"string\"},\"type\":\"array\"},\"changed\":{\"items\":{\"ma" +
|
|
184
|
+
"xLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\"" +
|
|
185
|
+
":\"string\"},\"type\":\"array\"},\"removed\":{\"items\":{\"maxLength\":128,\"minLengt" +
|
|
186
|
+
"h\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"type\":\"arr" +
|
|
187
|
+
"ay\"}},\"required\":[\"added\",\"removed\",\"changed\"],\"type\":\"object\"},\"GraphNo" +
|
|
188
|
+
"de\":{\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"attempts\":{\"m" +
|
|
189
|
+
"aximum\":9007199254740991,\"minimum\":1,\"type\":\"integer\"},\"input\":{\"$ref\":\"" +
|
|
190
|
+
"#/$defs/PayloadType\"},\"inputBindings\":{\"items\":{\"$ref\":\"#/$defs/InputBin" +
|
|
191
|
+
"ding\"},\"type\":\"array\"},\"instructions\":{\"anyOf\":[{\"$ref\":\"#/$defs/NodeIns" +
|
|
192
|
+
"tructions\"},{\"type\":\"null\"}]},\"kind\":{\"const\":\"step\",\"type\":\"string\"},\"n" +
|
|
193
|
+
"ame\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*" +
|
|
194
|
+
"$\",\"type\":\"string\"},\"output\":{\"$ref\":\"#/$defs/PayloadType\"},\"timeoutMs\":" +
|
|
195
|
+
"{\"maximum\":9007199254740991,\"minimum\":1,\"type\":\"integer\"},\"worker\":{\"max" +
|
|
196
|
+
"Length\":256,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$\",\"type\":\"s" +
|
|
197
|
+
"tring\"},\"writeBindings\":{\"items\":{\"$ref\":\"#/$defs/WriteBinding\"},\"type\":" +
|
|
198
|
+
"\"array\"}},\"required\":[\"kind\",\"name\",\"worker\",\"input\",\"output\",\"inputBind" +
|
|
199
|
+
"ings\",\"writeBindings\",\"timeoutMs\",\"attempts\"],\"type\":\"object\"},{\"additio" +
|
|
200
|
+
"nalProperties\":false,\"properties\":{\"attempts\":{\"maximum\":900719925474099" +
|
|
201
|
+
"1,\"minimum\":1,\"type\":\"integer\"},\"diagnostic\":{\"$ref\":\"#/$defs/PayloadTyp" +
|
|
202
|
+
"e\"},\"input\":{\"$ref\":\"#/$defs/PayloadType\"},\"inputBindings\":{\"items\":{\"$r" +
|
|
203
|
+
"ef\":\"#/$defs/InputBinding\"},\"type\":\"array\"},\"instructions\":{\"anyOf\":[{\"$" +
|
|
204
|
+
"ref\":\"#/$defs/NodeInstructions\"},{\"type\":\"null\"}]},\"kind\":{\"const\":\"veri" +
|
|
205
|
+
"fier\",\"type\":\"string\"},\"name\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"" +
|
|
206
|
+
"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"output\":{\"$ref\":\"#/$defs/P" +
|
|
207
|
+
"ayloadType\"},\"signals\":{\"additionalProperties\":{\"items\":{\"maxLength\":128" +
|
|
208
|
+
",\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"" +
|
|
209
|
+
"maxItems\":4096,\"minItems\":1,\"type\":\"array\",\"uniqueItems\":true},\"property" +
|
|
210
|
+
"Names\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-" +
|
|
211
|
+
"]*$\",\"type\":\"string\"},\"type\":\"object\"},\"timeoutMs\":{\"maximum\":9007199254" +
|
|
212
|
+
"740991,\"minimum\":1,\"type\":\"integer\"},\"worker\":{\"maxLength\":256,\"pattern\"" +
|
|
213
|
+
":\"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$\",\"type\":\"string\"},\"writeBinding" +
|
|
214
|
+
"s\":{\"items\":{\"$ref\":\"#/$defs/WriteBinding\"},\"type\":\"array\"}},\"required\":" +
|
|
215
|
+
"[\"kind\",\"name\",\"worker\",\"input\",\"output\",\"inputBindings\",\"writeBindings\"" +
|
|
216
|
+
",\"timeoutMs\",\"attempts\",\"signals\",\"diagnostic\"],\"type\":\"object\"},{\"addit" +
|
|
217
|
+
"ionalProperties\":false,\"properties\":{\"children\":{\"$ref\":\"#/$defs/NonEmpt" +
|
|
218
|
+
"yVec_of_GraphNode\"},\"kind\":{\"const\":\"seq\",\"type\":\"string\"},\"name\":{\"maxL" +
|
|
219
|
+
"ength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"" +
|
|
220
|
+
"string\"},\"promotedStatePaths\":{\"items\":{\"items\":{\"maxLength\":128,\"minLen" +
|
|
221
|
+
"gth\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems" +
|
|
222
|
+
"\":64,\"minItems\":1,\"type\":\"array\"},\"type\":\"array\"},\"state\":{\"$ref\":\"#/$de" +
|
|
223
|
+
"fs/PayloadType\"}},\"required\":[\"kind\",\"name\",\"state\",\"children\",\"promoted" +
|
|
224
|
+
"StatePaths\"],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\"" +
|
|
225
|
+
":{\"branches\":{\"$ref\":\"#/$defs/NonEmptyVec_of_ChoiceBranch\"},\"kind\":{\"con" +
|
|
226
|
+
"st\":\"choice\",\"type\":\"string\"},\"name\":{\"maxLength\":128,\"minLength\":1,\"pat" +
|
|
227
|
+
"tern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"otherwise\":{\"anyOf\"" +
|
|
228
|
+
":[{\"$ref\":\"#/$defs/GraphNode\"},{\"type\":\"null\"}]},\"promotedStatePaths\":{\"" +
|
|
229
|
+
"items\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Z" +
|
|
230
|
+
"a-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItems\":1,\"type\":\"array\"" +
|
|
231
|
+
"},\"type\":\"array\"},\"state\":{\"$ref\":\"#/$defs/PayloadType\"}},\"required\":[\"k" +
|
|
232
|
+
"ind\",\"name\",\"state\",\"branches\",\"promotedStatePaths\"],\"type\":\"object\"},{\"" +
|
|
233
|
+
"additionalProperties\":false,\"properties\":{\"branches\":{\"$ref\":\"#/$defs/No" +
|
|
234
|
+
"nEmptyVec_of_GraphNode\"},\"join\":{\"$ref\":\"#/$defs/Join\"},\"kind\":{\"const\":" +
|
|
235
|
+
"\"par\",\"type\":\"string\"},\"name\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"" +
|
|
236
|
+
"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"promotedStatePaths\":{\"item" +
|
|
237
|
+
"s\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0" +
|
|
238
|
+
"-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItems\":1,\"type\":\"array\"},\"t" +
|
|
239
|
+
"ype\":\"array\"},\"state\":{\"$ref\":\"#/$defs/PayloadType\"}},\"required\":[\"kind\"" +
|
|
240
|
+
",\"name\",\"state\",\"branches\",\"promotedStatePaths\",\"join\"],\"type\":\"object\"}" +
|
|
241
|
+
",{\"additionalProperties\":false,\"properties\":{\"body\":{\"$ref\":\"#/$defs/Gra" +
|
|
242
|
+
"phNode\"},\"kind\":{\"const\":\"loop\",\"type\":\"string\"},\"maxIterations\":{\"maxim" +
|
|
243
|
+
"um\":9007199254740991,\"minimum\":1,\"type\":\"integer\"},\"name\":{\"maxLength\":1" +
|
|
244
|
+
"28,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"}" +
|
|
245
|
+
",\"promotedStatePaths\":{\"items\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"" +
|
|
246
|
+
"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"mi" +
|
|
247
|
+
"nItems\":1,\"type\":\"array\"},\"type\":\"array\"},\"state\":{\"$ref\":\"#/$defs/Paylo" +
|
|
248
|
+
"adType\"},\"until\":{\"anyOf\":[{\"$ref\":\"#/$defs/Guard\"},{\"type\":\"null\"}]}},\"" +
|
|
249
|
+
"required\":[\"kind\",\"name\",\"state\",\"body\",\"maxIterations\",\"promotedStatePa" +
|
|
250
|
+
"ths\"],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"body" +
|
|
251
|
+
"\":{\"$ref\":\"#/$defs/GraphNode\"},\"kind\":{\"const\":\"map\",\"type\":\"string\"},\"m" +
|
|
252
|
+
"axItems\":{\"maximum\":9007199254740991,\"minimum\":1,\"type\":\"integer\"},\"name" +
|
|
253
|
+
"\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\"," +
|
|
254
|
+
"\"type\":\"string\"},\"over\":{\"$ref\":\"#/$defs/DataSelector\"},\"promotedStatePa" +
|
|
255
|
+
"ths\":{\"items\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-" +
|
|
256
|
+
"z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItems\":1,\"type\":" +
|
|
257
|
+
"\"array\"},\"type\":\"array\"},\"state\":{\"$ref\":\"#/$defs/PayloadType\"}},\"requir" +
|
|
258
|
+
"ed\":[\"kind\",\"name\",\"state\",\"body\",\"over\",\"maxItems\",\"promotedStatePaths\"" +
|
|
259
|
+
"],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"bindings" +
|
|
260
|
+
"\":{\"items\":{\"$ref\":\"#/$defs/InputBinding\"},\"type\":\"array\"},\"kind\":{\"cons" +
|
|
261
|
+
"t\":\"succeed\",\"type\":\"string\"},\"name\":{\"maxLength\":128,\"minLength\":1,\"pat" +
|
|
262
|
+
"tern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"output\":{\"$ref\":\"#/" +
|
|
263
|
+
"$defs/PayloadType\"}},\"required\":[\"kind\",\"name\",\"output\",\"bindings\"],\"typ" +
|
|
264
|
+
"e\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"kind\":{\"const\"" +
|
|
265
|
+
":\"fail\",\"type\":\"string\"},\"name\":{\"maxLength\":128,\"minLength\":1,\"pattern\"" +
|
|
266
|
+
":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"reason\":{\"maxLength\":128" +
|
|
267
|
+
",\"minLength\":1,\"pattern\":\"^(?!unhandled$)[A-Za-z_][A-Za-z0-9_.-]*$\",\"typ" +
|
|
268
|
+
"e\":\"string\"}},\"required\":[\"kind\",\"name\",\"reason\"],\"type\":\"object\"}]},\"Gr" +
|
|
269
|
+
"aphProfile\":{\"enum\":[\"openengine.graph.full/v1\",\"openengine.graph.single" +
|
|
270
|
+
"-worker/v1\"],\"type\":\"string\"},\"GraphSpec\":{\"additionalProperties\":false," +
|
|
271
|
+
"\"properties\":{\"initialInput\":{\"$ref\":\"#/$defs/PayloadType\"},\"policy\":{\"$" +
|
|
272
|
+
"ref\":\"#/$defs/PolicyBinding\"},\"profile\":{\"$ref\":\"#/$defs/GraphProfile\"}," +
|
|
273
|
+
"\"root\":{\"$ref\":\"#/$defs/GraphNode\"}},\"required\":[\"profile\",\"initialInput" +
|
|
274
|
+
"\",\"policy\",\"root\"],\"type\":\"object\"},\"Guard\":{\"oneOf\":[{\"additionalProper" +
|
|
275
|
+
"ties\":false,\"properties\":{\"kind\":{\"const\":\"in\",\"type\":\"string\"},\"labels\"" +
|
|
276
|
+
":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9" +
|
|
277
|
+
"_.-]*$\",\"type\":\"string\"},\"maxItems\":4096,\"minItems\":1,\"type\":\"array\",\"un" +
|
|
278
|
+
"iqueItems\":true},\"value\":{\"$ref\":\"#/$defs/ControlSelector\"}},\"required\":" +
|
|
279
|
+
"[\"kind\",\"value\",\"labels\"],\"type\":\"object\"},{\"additionalProperties\":false" +
|
|
280
|
+
",\"properties\":{\"guards\":{\"$ref\":\"#/$defs/NonEmptyVec_of_Guard\"},\"kind\":{" +
|
|
281
|
+
"\"const\":\"all\",\"type\":\"string\"}},\"required\":[\"kind\",\"guards\"],\"type\":\"obj" +
|
|
282
|
+
"ect\"},{\"additionalProperties\":false,\"properties\":{\"guards\":{\"$ref\":\"#/$d" +
|
|
283
|
+
"efs/NonEmptyVec_of_Guard\"},\"kind\":{\"const\":\"any\",\"type\":\"string\"}},\"requ" +
|
|
284
|
+
"ired\":[\"kind\",\"guards\"],\"type\":\"object\"},{\"additionalProperties\":false,\"" +
|
|
285
|
+
"properties\":{\"guard\":{\"$ref\":\"#/$defs/Guard\"},\"kind\":{\"const\":\"not\",\"typ" +
|
|
286
|
+
"e\":\"string\"}},\"required\":[\"kind\",\"guard\"],\"type\":\"object\"},{\"additionalP" +
|
|
287
|
+
"roperties\":false,\"properties\":{\"count\":{\"maximum\":9007199254740991,\"mini" +
|
|
288
|
+
"mum\":1,\"type\":\"integer\"},\"kind\":{\"const\":\"k_of_n\",\"type\":\"string\"},\"labe" +
|
|
289
|
+
"ls\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z" +
|
|
290
|
+
"0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":4096,\"minItems\":1,\"type\":\"array\"," +
|
|
291
|
+
"\"uniqueItems\":true},\"values\":{\"$ref\":\"#/$defs/NonEmptyVec_of_ControlSele" +
|
|
292
|
+
"ctor\"}},\"required\":[\"kind\",\"count\",\"values\",\"labels\"],\"type\":\"object\"},{" +
|
|
293
|
+
"\"additionalProperties\":false,\"properties\":{\"count\":{\"maximum\":9007199254" +
|
|
294
|
+
"740991,\"minimum\":1,\"type\":\"integer\"},\"kind\":{\"const\":\"k_of_map\",\"type\":\"" +
|
|
295
|
+
"string\"},\"labels\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A" +
|
|
296
|
+
"-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":4096,\"minItems\":1,\"" +
|
|
297
|
+
"type\":\"array\",\"uniqueItems\":true},\"value\":{\"$ref\":\"#/$defs/ControlSelect" +
|
|
298
|
+
"or\"}},\"required\":[\"kind\",\"count\",\"value\",\"labels\"],\"type\":\"object\"}]},\"I" +
|
|
299
|
+
"nitializeParams\":{\"additionalProperties\":false,\"properties\":{\"protocolVe" +
|
|
300
|
+
"rsion\":{\"const\":\"openengine.cluster/v1\",\"type\":\"string\"}},\"required\":[\"p" +
|
|
301
|
+
"rotocolVersion\"],\"type\":\"object\"},\"InitializeResult\":{\"properties\":{\"cap" +
|
|
302
|
+
"abilities\":{\"$ref\":\"#/$defs/ServerCapabilities\"},\"protocolVersion\":{\"con" +
|
|
303
|
+
"st\":\"openengine.cluster/v1\",\"type\":\"string\"},\"status\":{\"$ref\":\"#/$defs/C" +
|
|
304
|
+
"lusterStatus\"}},\"required\":[\"protocolVersion\",\"capabilities\",\"status\"],\"" +
|
|
305
|
+
"type\":\"object\"},\"InputBinding\":{\"additionalProperties\":false,\"properties" +
|
|
306
|
+
"\":{\"target\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_" +
|
|
307
|
+
"][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItems\":1,\"type\":\"a" +
|
|
308
|
+
"rray\"},\"value\":{\"$ref\":\"#/$defs/DataSelector\"}},\"required\":[\"target\",\"va" +
|
|
309
|
+
"lue\"],\"type\":\"object\"},\"Join\":{\"oneOf\":[{\"additionalProperties\":false,\"p" +
|
|
310
|
+
"roperties\":{\"kind\":{\"const\":\"all\",\"type\":\"string\"}},\"required\":[\"kind\"]," +
|
|
311
|
+
"\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"kind\":{\"co" +
|
|
312
|
+
"nst\":\"any\",\"type\":\"string\"}},\"required\":[\"kind\"],\"type\":\"object\"},{\"addi" +
|
|
313
|
+
"tionalProperties\":false,\"properties\":{\"count\":{\"maximum\":900719925474099" +
|
|
314
|
+
"1,\"minimum\":1,\"type\":\"integer\"},\"kind\":{\"const\":\"quorum\",\"type\":\"string\"" +
|
|
315
|
+
"}},\"required\":[\"kind\",\"count\"],\"type\":\"object\"},{\"additionalProperties\":" +
|
|
316
|
+
"false,\"properties\":{\"kind\":{\"const\":\"first\",\"type\":\"string\"},\"when\":{\"$r" +
|
|
317
|
+
"ef\":\"#/$defs/Guard\"}},\"required\":[\"kind\",\"when\"],\"type\":\"object\"}]},\"Jso" +
|
|
318
|
+
"nRpcError\":{\"properties\":{\"code\":{\"format\":\"int64\",\"type\":\"integer\"},\"da" +
|
|
319
|
+
"ta\":{\"anyOf\":[{\"$ref\":\"#/$defs/DomainErrorData\"},{\"type\":\"null\"}]},\"mess" +
|
|
320
|
+
"age\":{\"type\":\"string\"}},\"required\":[\"code\",\"message\"],\"type\":\"object\"},\"" +
|
|
321
|
+
"JsonRpcErrorResponse\":{\"properties\":{\"error\":{\"$ref\":\"#/$defs/JsonRpcErr" +
|
|
322
|
+
"or\"},\"id\":{\"anyOf\":[{\"$ref\":\"#/$defs/RequestId\"},{\"type\":\"null\"}]},\"json" +
|
|
323
|
+
"rpc\":{\"type\":\"string\"}},\"required\":[\"jsonrpc\",\"error\"],\"type\":\"object\"}," +
|
|
324
|
+
"\"JsonRpcNotification\":{\"properties\":{\"jsonrpc\":{\"type\":\"string\"},\"method" +
|
|
325
|
+
"\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/EventNotification\"}},\"requ" +
|
|
326
|
+
"ired\":[\"jsonrpc\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcNotificatio" +
|
|
327
|
+
"n10\":{\"properties\":{\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string" +
|
|
328
|
+
"\"},\"params\":{\"$ref\":\"#/$defs/RunLogEventNotification\"}},\"required\":[\"jso" +
|
|
329
|
+
"nrpc\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcNotification11\":{\"prop" +
|
|
330
|
+
"erties\":{\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\"" +
|
|
331
|
+
":{\"$ref\":\"#/$defs/RunAttachEventNotification\"}},\"required\":[\"jsonrpc\",\"m" +
|
|
332
|
+
"ethod\",\"params\"],\"type\":\"object\"},\"JsonRpcNotification2\":{\"properties\":{" +
|
|
333
|
+
"\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":" +
|
|
334
|
+
"\"#/$defs/SubscriptionCancelParams\"}},\"required\":[\"jsonrpc\",\"method\",\"par" +
|
|
335
|
+
"ams\"],\"type\":\"object\"},\"JsonRpcNotification3\":{\"properties\":{\"jsonrpc\":{" +
|
|
336
|
+
"\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/Su" +
|
|
337
|
+
"bscriptionClosedNotification\"}},\"required\":[\"jsonrpc\",\"method\",\"params\"]" +
|
|
338
|
+
",\"type\":\"object\"},\"JsonRpcNotification4\":{\"properties\":{\"jsonrpc\":{\"type" +
|
|
339
|
+
"\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/CancelR" +
|
|
340
|
+
"equestParams\"}},\"required\":[\"jsonrpc\",\"method\",\"params\"],\"type\":\"object\"" +
|
|
341
|
+
"},\"JsonRpcNotification5\":{\"properties\":{\"jsonrpc\":{\"type\":\"string\"},\"met" +
|
|
342
|
+
"hod\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/LogEventNotification\"}}" +
|
|
343
|
+
",\"required\":[\"jsonrpc\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcNotif" +
|
|
344
|
+
"ication6\":{\"properties\":{\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"s" +
|
|
345
|
+
"tring\"},\"params\":{\"$ref\":\"#/$defs/LogsClosedNotification\"}},\"required\":[" +
|
|
346
|
+
"\"jsonrpc\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcNotification7\":{\"p" +
|
|
347
|
+
"roperties\":{\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"para" +
|
|
348
|
+
"ms\":{\"$ref\":\"#/$defs/AgentAttachEventNotification\"}},\"required\":[\"jsonrp" +
|
|
349
|
+
"c\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcNotification8\":{\"properti" +
|
|
350
|
+
"es\":{\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$" +
|
|
351
|
+
"ref\":\"#/$defs/AgentAttachClosedNotification\"}},\"required\":[\"jsonrpc\",\"me" +
|
|
352
|
+
"thod\",\"params\"],\"type\":\"object\"},\"JsonRpcNotification9\":{\"properties\":{\"" +
|
|
353
|
+
"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"" +
|
|
354
|
+
"#/$defs/RunWatchEventNotification\"}},\"required\":[\"jsonrpc\",\"method\",\"par" +
|
|
355
|
+
"ams\"],\"type\":\"object\"},\"JsonRpcRequest\":{\"properties\":{\"id\":{\"$ref\":\"#/$" +
|
|
356
|
+
"defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"}," +
|
|
357
|
+
"\"params\":{\"$ref\":\"#/$defs/InitializeParams\"}},\"required\":[\"jsonrpc\",\"id\"" +
|
|
358
|
+
",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest10\":{\"properties\":{\"" +
|
|
359
|
+
"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"" +
|
|
360
|
+
"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/WatchParams\"}},\"required\":[\"js" +
|
|
361
|
+
"onrpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest11\":{\"pro" +
|
|
362
|
+
"perties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"}," +
|
|
363
|
+
"\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/LogsParams\"}},\"requ" +
|
|
364
|
+
"ired\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcReques" +
|
|
365
|
+
"t12\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":" +
|
|
366
|
+
"\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/AgentAtta" +
|
|
367
|
+
"chParams\"}},\"required\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"type\":\"object" +
|
|
368
|
+
"\"},\"JsonRpcRequest13\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"" +
|
|
369
|
+
"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"" +
|
|
370
|
+
"#/$defs/RunSubmitParams\"}},\"required\":[\"jsonrpc\",\"id\",\"method\",\"params\"]" +
|
|
371
|
+
",\"type\":\"object\"},\"JsonRpcRequest14\":{\"properties\":{\"id\":{\"$ref\":\"#/$def" +
|
|
372
|
+
"s/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"pa" +
|
|
373
|
+
"rams\":{\"$ref\":\"#/$defs/RunListParams\"}},\"required\":[\"jsonrpc\",\"id\",\"meth" +
|
|
374
|
+
"od\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest15\":{\"properties\":{\"id\":{\"" +
|
|
375
|
+
"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":" +
|
|
376
|
+
"\"string\"},\"params\":{\"$ref\":\"#/$defs/RunStatusParams\"}},\"required\":[\"json" +
|
|
377
|
+
"rpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest16\":{\"prope" +
|
|
378
|
+
"rties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"m" +
|
|
379
|
+
"ethod\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/RunWatchParams\"}},\"re" +
|
|
380
|
+
"quired\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcRequ" +
|
|
381
|
+
"est17\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type" +
|
|
382
|
+
"\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/RunLogs" +
|
|
383
|
+
"Params\"}},\"required\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"}" +
|
|
384
|
+
",\"JsonRpcRequest18\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"js" +
|
|
385
|
+
"onrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/" +
|
|
386
|
+
"$defs/RunAttachParams\"}},\"required\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"" +
|
|
387
|
+
"type\":\"object\"},\"JsonRpcRequest19\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/" +
|
|
388
|
+
"RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"para" +
|
|
389
|
+
"ms\":{\"$ref\":\"#/$defs/RunForceParams\"}},\"required\":[\"jsonrpc\",\"id\",\"metho" +
|
|
390
|
+
"d\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest2\":{\"properties\":{\"id\":{\"$r" +
|
|
391
|
+
"ef\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"s" +
|
|
392
|
+
"tring\"},\"params\":{\"$ref\":\"#/$defs/PlanParams\"}},\"required\":[\"jsonrpc\",\"i" +
|
|
393
|
+
"d\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest3\":{\"properties\":{" +
|
|
394
|
+
"\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{" +
|
|
395
|
+
"\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/ApplyParams\"}},\"required\":[\"j" +
|
|
396
|
+
"sonrpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest4\":{\"pro" +
|
|
397
|
+
"perties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"}," +
|
|
398
|
+
"\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/GetParams\"}},\"requi" +
|
|
399
|
+
"red\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcRequest" +
|
|
400
|
+
"5\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"s" +
|
|
401
|
+
"tring\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/UpdateParam" +
|
|
402
|
+
"s\"}},\"required\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"type\":\"object\"},\"Jso" +
|
|
403
|
+
"nRpcRequest6\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\"" +
|
|
404
|
+
":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":\"#/$defs/" +
|
|
405
|
+
"StopParams\"}},\"required\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"type\":\"obje" +
|
|
406
|
+
"ct\"},\"JsonRpcRequest7\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"}," +
|
|
407
|
+
"\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params\":{\"$ref\":" +
|
|
408
|
+
"\"#/$defs/RetryParams\"}},\"required\":[\"jsonrpc\",\"id\",\"method\",\"params\"],\"t" +
|
|
409
|
+
"ype\":\"object\"},\"JsonRpcRequest8\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/Re" +
|
|
410
|
+
"questId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"string\"},\"params" +
|
|
411
|
+
"\":{\"$ref\":\"#/$defs/ResubmitParams\"}},\"required\":[\"jsonrpc\",\"id\",\"method\"" +
|
|
412
|
+
",\"params\"],\"type\":\"object\"},\"JsonRpcRequest9\":{\"properties\":{\"id\":{\"$ref" +
|
|
413
|
+
"\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"method\":{\"type\":\"str" +
|
|
414
|
+
"ing\"},\"params\":{\"$ref\":\"#/$defs/DeleteParams\"}},\"required\":[\"jsonrpc\",\"i" +
|
|
415
|
+
"d\",\"method\",\"params\"],\"type\":\"object\"},\"JsonRpcResponse\":{\"anyOf\":[{\"$re" +
|
|
416
|
+
"f\":\"#/$defs/JsonRpcSuccess\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"" +
|
|
417
|
+
"JsonRpcResponse10\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess10\"},{\"$ref\"" +
|
|
418
|
+
":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcResponse11\":{\"anyOf\":[{\"$ref\"" +
|
|
419
|
+
":\"#/$defs/JsonRpcSuccess11\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"" +
|
|
420
|
+
"JsonRpcResponse12\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess12\"},{\"$ref\"" +
|
|
421
|
+
":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcResponse13\":{\"anyOf\":[{\"$ref\"" +
|
|
422
|
+
":\"#/$defs/JsonRpcSuccess13\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"" +
|
|
423
|
+
"JsonRpcResponse14\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess14\"},{\"$ref\"" +
|
|
424
|
+
":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcResponse15\":{\"anyOf\":[{\"$ref\"" +
|
|
425
|
+
":\"#/$defs/JsonRpcSuccess15\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"" +
|
|
426
|
+
"JsonRpcResponse16\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess16\"},{\"$ref\"" +
|
|
427
|
+
":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcResponse17\":{\"anyOf\":[{\"$ref\"" +
|
|
428
|
+
":\"#/$defs/JsonRpcSuccess17\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"" +
|
|
429
|
+
"JsonRpcResponse18\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess18\"},{\"$ref\"" +
|
|
430
|
+
":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcResponse19\":{\"anyOf\":[{\"$ref\"" +
|
|
431
|
+
":\"#/$defs/JsonRpcSuccess19\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"" +
|
|
432
|
+
"JsonRpcResponse2\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess2\"},{\"$ref\":\"" +
|
|
433
|
+
"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcResponse3\":{\"anyOf\":[{\"$ref\":\"#" +
|
|
434
|
+
"/$defs/JsonRpcSuccess3\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"Json" +
|
|
435
|
+
"RpcResponse4\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess4\"},{\"$ref\":\"#/$d" +
|
|
436
|
+
"efs/JsonRpcErrorResponse\"}]},\"JsonRpcResponse5\":{\"anyOf\":[{\"$ref\":\"#/$de" +
|
|
437
|
+
"fs/JsonRpcSuccess5\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcR" +
|
|
438
|
+
"esponse6\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess6\"},{\"$ref\":\"#/$defs/" +
|
|
439
|
+
"JsonRpcErrorResponse\"}]},\"JsonRpcResponse7\":{\"anyOf\":[{\"$ref\":\"#/$defs/J" +
|
|
440
|
+
"sonRpcSuccess7\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcRespo" +
|
|
441
|
+
"nse8\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonRpcSuccess8\"},{\"$ref\":\"#/$defs/Json" +
|
|
442
|
+
"RpcErrorResponse\"}]},\"JsonRpcResponse9\":{\"anyOf\":[{\"$ref\":\"#/$defs/JsonR" +
|
|
443
|
+
"pcSuccess9\"},{\"$ref\":\"#/$defs/JsonRpcErrorResponse\"}]},\"JsonRpcSuccess\":" +
|
|
444
|
+
"{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"stri" +
|
|
445
|
+
"ng\"},\"result\":{\"$ref\":\"#/$defs/InitializeResult\"}},\"required\":[\"jsonrpc\"" +
|
|
446
|
+
",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSuccess10\":{\"properties\":{\"id\":" +
|
|
447
|
+
"{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$ref" +
|
|
448
|
+
"\":\"#/$defs/WatchResult\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"o" +
|
|
449
|
+
"bject\"},\"JsonRpcSuccess11\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestI" +
|
|
450
|
+
"d\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$defs/LogsResult\"}}," +
|
|
451
|
+
"\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSuccess12\"" +
|
|
452
|
+
":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"str" +
|
|
453
|
+
"ing\"},\"result\":{\"$ref\":\"#/$defs/AgentAttachResult\"}},\"required\":[\"jsonrp" +
|
|
454
|
+
"c\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSuccess13\":{\"properties\":{\"id" +
|
|
455
|
+
"\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$r" +
|
|
456
|
+
"ef\":\"#/$defs/RunSubmitResult\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"ty" +
|
|
457
|
+
"pe\":\"object\"},\"JsonRpcSuccess14\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/Re" +
|
|
458
|
+
"questId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$defs/RunListR" +
|
|
459
|
+
"esult\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcS" +
|
|
460
|
+
"uccess15\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"t" +
|
|
461
|
+
"ype\":\"string\"},\"result\":{\"$ref\":\"#/$defs/RunStatusResult\"}},\"required\":[" +
|
|
462
|
+
"\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSuccess16\":{\"propertie" +
|
|
463
|
+
"s\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"resul" +
|
|
464
|
+
"t\":{\"$ref\":\"#/$defs/RunWatchResult\"}},\"required\":[\"jsonrpc\",\"id\",\"result" +
|
|
465
|
+
"\"],\"type\":\"object\"},\"JsonRpcSuccess17\":{\"properties\":{\"id\":{\"$ref\":\"#/$d" +
|
|
466
|
+
"efs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$defs/Ru" +
|
|
467
|
+
"nLogsResult\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"Js" +
|
|
468
|
+
"onRpcSuccess18\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrp" +
|
|
469
|
+
"c\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$defs/RunAttachResult\"}},\"requi" +
|
|
470
|
+
"red\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSuccess19\":{\"pro" +
|
|
471
|
+
"perties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"}," +
|
|
472
|
+
"\"result\":{\"$ref\":\"#/$defs/RunForceResult\"}},\"required\":[\"jsonrpc\",\"id\",\"" +
|
|
473
|
+
"result\"],\"type\":\"object\"},\"JsonRpcSuccess2\":{\"properties\":{\"id\":{\"$ref\":" +
|
|
474
|
+
"\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$de" +
|
|
475
|
+
"fs/PlanResult\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"" +
|
|
476
|
+
"JsonRpcSuccess3\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonr" +
|
|
477
|
+
"pc\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$defs/ApplyResult\"}},\"required" +
|
|
478
|
+
"\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSuccess4\":{\"propert" +
|
|
479
|
+
"ies\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"res" +
|
|
480
|
+
"ult\":{\"$ref\":\"#/$defs/GetResult\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"]," +
|
|
481
|
+
"\"type\":\"object\"},\"JsonRpcSuccess5\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/" +
|
|
482
|
+
"RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$defs/Update" +
|
|
483
|
+
"Result\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpc" +
|
|
484
|
+
"Success6\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"t" +
|
|
485
|
+
"ype\":\"string\"},\"result\":{\"$ref\":\"#/$defs/StopResult\"}},\"required\":[\"json" +
|
|
486
|
+
"rpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSuccess7\":{\"properties\":{\"i" +
|
|
487
|
+
"d\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$" +
|
|
488
|
+
"ref\":\"#/$defs/RetryResult\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\"" +
|
|
489
|
+
":\"object\"},\"JsonRpcSuccess8\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/Reques" +
|
|
490
|
+
"tId\"},\"jsonrpc\":{\"type\":\"string\"},\"result\":{\"$ref\":\"#/$defs/ResubmitResu" +
|
|
491
|
+
"lt\"}},\"required\":[\"jsonrpc\",\"id\",\"result\"],\"type\":\"object\"},\"JsonRpcSucc" +
|
|
492
|
+
"ess9\":{\"properties\":{\"id\":{\"$ref\":\"#/$defs/RequestId\"},\"jsonrpc\":{\"type\"" +
|
|
493
|
+
":\"string\"},\"result\":{\"$ref\":\"#/$defs/DeleteResult\"}},\"required\":[\"jsonrp" +
|
|
494
|
+
"c\",\"id\",\"result\"],\"type\":\"object\"},\"Labels\":{\"additionalProperties\":{\"ma" +
|
|
495
|
+
"xLength\":256,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]" +
|
|
496
|
+
"+$\",\"type\":\"string\"},\"maxProperties\":64,\"propertyNames\":{\"maxLength\":256" +
|
|
497
|
+
",\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"" +
|
|
498
|
+
"string\"},\"type\":\"object\"},\"LogEventNotification\":{\"$ref\":\"#/$defs/LogEve" +
|
|
499
|
+
"ntNotificationWire\"},\"LogEventNotificationWire\":{\"additionalProperties\":" +
|
|
500
|
+
"false,\"properties\":{\"record\":{\"$ref\":\"#/$defs/LogRecord\"},\"subscriptionI" +
|
|
501
|
+
"d\":{\"type\":\"string\"}},\"required\":[\"subscriptionId\",\"record\"],\"type\":\"obj" +
|
|
502
|
+
"ect\"},\"LogLevel\":{\"enum\":[\"trace\",\"debug\",\"info\",\"warn\",\"error\"],\"type\":" +
|
|
503
|
+
"\"string\"},\"LogRecord\":{\"additionalProperties\":false,\"description\":\"The c" +
|
|
504
|
+
"losed public log record shape: a level, a bounded target, and a bounded " +
|
|
505
|
+
"(possibly\\nredacted) message. No raw bytes, reasoning, tools, credential" +
|
|
506
|
+
"s, env, or provider/session IDs\\nare representable.\",\"properties\":{\"leve" +
|
|
507
|
+
"l\":{\"$ref\":\"#/$defs/LogLevel\"},\"message\":{\"maxLength\":16384,\"pattern\":\"^" +
|
|
508
|
+
"[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]*$\",\"type\":\"string\"},\"target\":{\"maxLeng" +
|
|
509
|
+
"th\":128,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"" +
|
|
510
|
+
"type\":\"string\"}},\"required\":[\"level\",\"target\",\"message\"],\"type\":\"object\"" +
|
|
511
|
+
"},\"LogsClosedNotification\":{\"additionalProperties\":false,\"description\":\"" +
|
|
512
|
+
"Wire body of the terminal `subscription/closed` server notification for " +
|
|
513
|
+
"a `logs` subscription.\\nDeliberately carries no cursor field -- `logs` g" +
|
|
514
|
+
"ives a type-level \\\"cursorless\\\" guarantee, unlike\\n[`crate::Subscriptio" +
|
|
515
|
+
"nClosedNotification`].\",\"properties\":{\"reason\":{\"$ref\":\"#/$defs/Subscrip" +
|
|
516
|
+
"tionCloseReason\"},\"subscriptionId\":{\"type\":\"string\"}},\"required\":[\"subsc" +
|
|
517
|
+
"riptionId\",\"reason\"],\"type\":\"object\"},\"LogsParams\":{\"additionalPropertie" +
|
|
518
|
+
"s\":false,\"description\":\"`logs` establishment parameters. v1 has zero cal" +
|
|
519
|
+
"ler filters: this is deliberately empty and\\nclosed, rejecting any unkno" +
|
|
520
|
+
"wn field.\",\"type\":\"object\"},\"LogsResult\":{\"additionalProperties\":false,\"" +
|
|
521
|
+
"description\":\"The `logs` establishment result: only a `subscriptionId`. " +
|
|
522
|
+
"Deliberately carries no `runId` or\\n`atCursor` -- `logs` is not run-scop" +
|
|
523
|
+
"ed and has no cursor.\",\"properties\":{\"subscriptionId\":{\"type\":\"string\"}}" +
|
|
524
|
+
",\"required\":[\"subscriptionId\"],\"type\":\"object\"},\"NodeAddress\":{\"addition" +
|
|
525
|
+
"alProperties\":false,\"properties\":{\"attempt\":{\"maximum\":9007199254740991," +
|
|
526
|
+
"\"minimum\":1,\"type\":\"integer\"},\"node\":{\"maxLength\":128,\"minLength\":1,\"pat" +
|
|
527
|
+
"tern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"}},\"required\":[\"node\"," +
|
|
528
|
+
"\"attempt\"],\"type\":\"object\"},\"NodeInstructions\":{\"maxLength\":16384,\"minLe" +
|
|
529
|
+
"ngth\":1,\"pattern\":\"^[^\\\\u0000]*[^\\\\s\\\\u0000][^\\\\u0000]*$\",\"type\":\"string" +
|
|
530
|
+
"\"},\"NodeOutputChannel\":{\"enum\":[\"out\",\"signal\",\"diagnostic\"],\"type\":\"str" +
|
|
531
|
+
"ing\"},\"NodeOutputSelector\":{\"additionalProperties\":false,\"properties\":{\"" +
|
|
532
|
+
"channel\":{\"$ref\":\"#/$defs/NodeOutputChannel\"},\"node\":{\"maxLength\":128,\"m" +
|
|
533
|
+
"inLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"pat" +
|
|
534
|
+
"h\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0" +
|
|
535
|
+
"-9_.-]*$\",\"type\":\"string\"},\"maxItems\":64,\"minItems\":1,\"type\":\"array\"}},\"" +
|
|
536
|
+
"required\":[\"node\",\"channel\",\"path\"],\"type\":\"object\"},\"NodeRuntimeBinding" +
|
|
537
|
+
"\":{\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"connections\":{\"" +
|
|
538
|
+
"$ref\":\"#/$defs/DeclaredConnections\"},\"effort\":{\"anyOf\":[{\"$ref\":\"#/$defs" +
|
|
539
|
+
"/ReasoningEffort\"},{\"type\":\"null\"}]},\"kind\":{\"const\":\"agent\",\"type\":\"str" +
|
|
540
|
+
"ing\"},\"model\":{\"maxLength\":128,\"minLength\":1,\"type\":\"string\"},\"sessionSc" +
|
|
541
|
+
"ope\":{\"$ref\":\"#/$defs/SessionScope\"}},\"required\":[\"kind\",\"model\"],\"type\"" +
|
|
542
|
+
":\"object\"},{\"additionalProperties\":false,\"properties\":{\"connections\":{\"$" +
|
|
543
|
+
"ref\":\"#/$defs/DeclaredConnections\"},\"kind\":{\"const\":\"git_delivery\",\"type" +
|
|
544
|
+
"\":\"string\"}},\"required\":[\"kind\"],\"type\":\"object\"}]},\"NonEmptyVec_of_Choi" +
|
|
545
|
+
"ceBranch\":{\"items\":{\"$ref\":\"#/$defs/ChoiceBranch\"},\"maxItems\":4096,\"minI" +
|
|
546
|
+
"tems\":1,\"type\":\"array\"},\"NonEmptyVec_of_ControlSelector\":{\"items\":{\"$ref" +
|
|
547
|
+
"\":\"#/$defs/ControlSelector\"},\"maxItems\":4096,\"minItems\":1,\"type\":\"array\"" +
|
|
548
|
+
"},\"NonEmptyVec_of_FieldPath\":{\"items\":{\"items\":{\"maxLength\":128,\"minLeng" +
|
|
549
|
+
"th\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\"" +
|
|
550
|
+
":64,\"minItems\":1,\"type\":\"array\"},\"maxItems\":4096,\"minItems\":1,\"type\":\"ar" +
|
|
551
|
+
"ray\"},\"NonEmptyVec_of_GraphNode\":{\"items\":{\"$ref\":\"#/$defs/GraphNode\"},\"" +
|
|
552
|
+
"maxItems\":4096,\"minItems\":1,\"type\":\"array\"},\"NonEmptyVec_of_Guard\":{\"ite" +
|
|
553
|
+
"ms\":{\"$ref\":\"#/$defs/Guard\"},\"maxItems\":4096,\"minItems\":1,\"type\":\"array\"" +
|
|
554
|
+
"},\"NonEmptyVec_of_NodeName\":{\"items\":{\"maxLength\":128,\"minLength\":1,\"pat" +
|
|
555
|
+
"tern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"maxItems\":4096,\"min" +
|
|
556
|
+
"Items\":1,\"type\":\"array\"},\"OperationalStatus\":{\"additionalProperties\":fal" +
|
|
557
|
+
"se,\"properties\":{\"dispatchState\":{\"$ref\":\"#/$defs/DispatchState\"},\"inFli" +
|
|
558
|
+
"ght\":{\"format\":\"uint32\",\"minimum\":0,\"type\":\"integer\"},\"labels\":{\"$ref\":\"" +
|
|
559
|
+
"#/$defs/Labels\"},\"logLevel\":{\"$ref\":\"#/$defs/LogLevel\"},\"stopMode\":{\"any" +
|
|
560
|
+
"Of\":[{\"$ref\":\"#/$defs/StopMode\"},{\"type\":\"null\"}]}},\"required\":[\"labels\"" +
|
|
561
|
+
",\"logLevel\",\"dispatchState\",\"inFlight\"],\"type\":\"object\"},\"PayloadType\":{" +
|
|
562
|
+
"\"oneOf\":[{\"additionalProperties\":false,\"properties\":{\"kind\":{\"const\":\"nu" +
|
|
563
|
+
"ll\",\"type\":\"string\"}},\"required\":[\"kind\"],\"type\":\"object\"},{\"additionalP" +
|
|
564
|
+
"roperties\":false,\"properties\":{\"kind\":{\"const\":\"boolean\",\"type\":\"string\"" +
|
|
565
|
+
"}},\"required\":[\"kind\"],\"type\":\"object\"},{\"additionalProperties\":false,\"p" +
|
|
566
|
+
"roperties\":{\"kind\":{\"const\":\"integer\",\"type\":\"string\"}},\"required\":[\"kin" +
|
|
567
|
+
"d\"],\"type\":\"object\"},{\"additionalProperties\":false,\"properties\":{\"kind\":" +
|
|
568
|
+
"{\"const\":\"number\",\"type\":\"string\"}},\"required\":[\"kind\"],\"type\":\"object\"}" +
|
|
569
|
+
",{\"additionalProperties\":false,\"properties\":{\"kind\":{\"const\":\"string\",\"t" +
|
|
570
|
+
"ype\":\"string\"}},\"required\":[\"kind\"],\"type\":\"object\"},{\"additionalPropert" +
|
|
571
|
+
"ies\":false,\"properties\":{\"fields\":{\"additionalProperties\":{\"$ref\":\"#/$de" +
|
|
572
|
+
"fs/RecordField\"},\"propertyNames\":{\"maxLength\":128,\"minLength\":1,\"pattern" +
|
|
573
|
+
"\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"string\"},\"type\":\"object\"},\"kind\":" +
|
|
574
|
+
"{\"const\":\"record\",\"type\":\"string\"}},\"required\":[\"kind\",\"fields\"],\"type\":" +
|
|
575
|
+
"\"object\"},{\"additionalProperties\":false,\"properties\":{\"items\":{\"$ref\":\"#" +
|
|
576
|
+
"/$defs/PayloadType\"},\"kind\":{\"const\":\"array\",\"type\":\"string\"}},\"required" +
|
|
577
|
+
"\":[\"kind\",\"items\"],\"type\":\"object\"},{\"additionalProperties\":false,\"prope" +
|
|
578
|
+
"rties\":{\"kind\":{\"const\":\"enum\",\"type\":\"string\"},\"values\":{\"items\":{\"maxL" +
|
|
579
|
+
"ength\":128,\"minLength\":1,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*$\",\"type\":\"" +
|
|
580
|
+
"string\"},\"maxItems\":4096,\"minItems\":1,\"type\":\"array\",\"uniqueItems\":true}" +
|
|
581
|
+
"},\"required\":[\"kind\",\"values\"],\"type\":\"object\"}]},\"Phase\":{\"enum\":[\"empt" +
|
|
582
|
+
"y\",\"admitting\",\"running\",\"finished\",\"deleting\"],\"type\":\"string\"},\"PlanPa" +
|
|
583
|
+
"rams\":{\"additionalProperties\":false,\"properties\":{\"graph\":{\"$ref\":\"#/$de" +
|
|
584
|
+
"fs/GraphSpec\"}},\"required\":[\"graph\"],\"type\":\"object\"},\"PlanResult\":{\"add" +
|
|
585
|
+
"itionalProperties\":false,\"properties\":{\"bounds\":{\"anyOf\":[{\"$ref\":\"#/$de" +
|
|
586
|
+
"fs/StructuralBounds\"},{\"type\":\"null\"}]},\"diagnostics\":{\"items\":{\"$ref\":\"" +
|
|
587
|
+
"#/$defs/GraphDiagnostic\"},\"type\":\"array\"},\"ok\":{\"type\":\"boolean\"}},\"requ" +
|
|
588
|
+
"ired\":[\"ok\",\"diagnostics\"],\"type\":\"object\"},\"PolicyBinding\":{\"additional" +
|
|
589
|
+
"Properties\":false,\"properties\":{\"default\":{\"$ref\":\"#/$defs/PolicyDefault" +
|
|
590
|
+
"\"},\"policy\":{\"maxLength\":256,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][" +
|
|
591
|
+
"0-9]*$\",\"type\":\"string\"}},\"required\":[\"policy\",\"default\"],\"type\":\"object" +
|
|
592
|
+
"\"},\"PolicyDefault\":{\"enum\":[\"deny\"],\"type\":\"string\"},\"ReasoningEffort\":{" +
|
|
593
|
+
"\"enum\":[\"low\",\"medium\",\"high\",\"xhigh\",\"max\"],\"type\":\"string\"},\"RecordFie" +
|
|
594
|
+
"ld\":{\"additionalProperties\":false,\"properties\":{\"required\":{\"type\":\"bool" +
|
|
595
|
+
"ean\"},\"type\":{\"$ref\":\"#/$defs/PayloadType\"}},\"required\":[\"type\",\"require" +
|
|
596
|
+
"d\"],\"type\":\"object\"},\"RedactionClass\":{\"enum\":[\"public\",\"internal\",\"conf" +
|
|
597
|
+
"idential\",\"restricted\"],\"type\":\"string\"},\"RequestId\":{\"anyOf\":[{\"type\":\"" +
|
|
598
|
+
"string\"},{\"format\":\"int64\",\"type\":\"integer\"}]},\"ResolvedSource\":{\"additi" +
|
|
599
|
+
"onalProperties\":false,\"properties\":{\"branch\":{\"maxLength\":255,\"minLength" +
|
|
600
|
+
"\":1,\"type\":\"string\"},\"repository\":{\"maxLength\":255,\"minLength\":3,\"patter" +
|
|
601
|
+
"n\":\"^[A-Za-z0-9._-]+/[A-Za-z0-9._-]+$\",\"type\":\"string\"},\"revision\":{\"pat" +
|
|
602
|
+
"tern\":\"^[0-9a-f]{40}$\",\"type\":\"string\"}},\"required\":[\"repository\",\"branc" +
|
|
603
|
+
"h\",\"revision\"],\"type\":\"object\"},\"ResubmitParams\":{\"additionalProperties\"" +
|
|
604
|
+
":false,\"properties\":{\"idempotencyKey\":{\"maxLength\":256,\"minLength\":1,\"pa" +
|
|
605
|
+
"ttern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"ifGenera" +
|
|
606
|
+
"tion\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":\"integer\"},\"ifRunId" +
|
|
607
|
+
"\":{\"type\":\"string\"},\"replacementInput\":true},\"required\":[\"ifGeneration\"," +
|
|
608
|
+
"\"ifRunId\",\"idempotencyKey\"],\"type\":\"object\"},\"ResubmitResult\":{\"addition" +
|
|
609
|
+
"alProperties\":false,\"properties\":{\"atCursor\":{\"type\":\"string\"},\"deduped\"" +
|
|
610
|
+
":{\"type\":\"boolean\"},\"generation\":{\"maximum\":9007199254740991,\"minimum\":0" +
|
|
611
|
+
",\"type\":\"integer\"},\"operational\":{\"$ref\":\"#/$defs/OperationalStatus\"},\"p" +
|
|
612
|
+
"hase\":{\"$ref\":\"#/$defs/Phase\"},\"priorRunId\":{\"type\":\"string\"},\"runId\":{\"" +
|
|
613
|
+
"type\":\"string\"}},\"required\":[\"generation\",\"priorRunId\",\"runId\",\"phase\",\"" +
|
|
614
|
+
"operational\",\"atCursor\",\"deduped\"],\"type\":\"object\"},\"RetryParams\":{\"addi" +
|
|
615
|
+
"tionalProperties\":false,\"properties\":{\"idempotencyKey\":{\"maxLength\":256," +
|
|
616
|
+
"\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"s" +
|
|
617
|
+
"tring\"},\"ifGeneration\":{\"maximum\":9007199254740991,\"minimum\":0,\"type\":\"i" +
|
|
618
|
+
"nteger\"}},\"required\":[\"ifGeneration\",\"idempotencyKey\"],\"type\":\"object\"}," +
|
|
619
|
+
"\"RetryResult\":{\"additionalProperties\":false,\"properties\":{\"atCursor\":{\"t" +
|
|
620
|
+
"ype\":\"string\"},\"deduped\":{\"type\":\"boolean\"},\"generation\":{\"maximum\":9007" +
|
|
621
|
+
"199254740991,\"minimum\":0,\"type\":\"integer\"},\"operational\":{\"$ref\":\"#/$def" +
|
|
622
|
+
"s/OperationalStatus\"},\"phase\":{\"$ref\":\"#/$defs/Phase\"},\"retriedTurnId\":{" +
|
|
623
|
+
"\"type\":\"string\"},\"retryTurnId\":{\"type\":\"string\"},\"runId\":{\"type\":\"string" +
|
|
624
|
+
"\"}},\"required\":[\"generation\",\"runId\",\"phase\",\"retriedTurnId\",\"retryTurnI" +
|
|
625
|
+
"d\",\"operational\",\"atCursor\",\"deduped\"],\"type\":\"object\"},\"RunAttachEventN" +
|
|
626
|
+
"otification\":{\"additionalProperties\":false,\"description\":\"One live read-" +
|
|
627
|
+
"only attach event. Carrying both identities prevents events from simulta" +
|
|
628
|
+
"neous\\nverifier attachments being confused on a multiplexed transport.\"," +
|
|
629
|
+
"\"properties\":{\"event\":{\"$ref\":\"#/$defs/AgentAttachEvent\"},\"execution\":{\"" +
|
|
630
|
+
"maxLength\":128,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009" +
|
|
631
|
+
"f]+$\",\"type\":\"string\"},\"runId\":{\"type\":\"string\"},\"subscriptionId\":{\"type" +
|
|
632
|
+
"\":\"string\"}},\"required\":[\"subscriptionId\",\"runId\",\"execution\",\"event\"],\"" +
|
|
633
|
+
"type\":\"object\"},\"RunAttachParams\":{\"additionalProperties\":false,\"descrip" +
|
|
634
|
+
"tion\":\"Establishes a live, read-only view of exactly one execution.\\n\\nA" +
|
|
635
|
+
"ttach has no cursor and no replay. Historical output is available throug" +
|
|
636
|
+
"h [`RunLogsParams`].\\nNo client-to-execution input message exists in thi" +
|
|
637
|
+
"s contract.\",\"properties\":{\"execution\":{\"maxLength\":128,\"minLength\":1,\"p" +
|
|
638
|
+
"attern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":\"string\"},\"runId\":" +
|
|
639
|
+
"{\"type\":\"string\"}},\"required\":[\"runId\",\"execution\"],\"type\":\"object\"},\"Ru" +
|
|
640
|
+
"nAttachResult\":{\"additionalProperties\":false,\"properties\":{\"execution\":{" +
|
|
641
|
+
"\"maxLength\":128,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u00" +
|
|
642
|
+
"9f]+$\",\"type\":\"string\"},\"runId\":{\"type\":\"string\"},\"subscriptionId\":{\"typ" +
|
|
643
|
+
"e\":\"string\"}},\"required\":[\"subscriptionId\",\"runId\",\"execution\"],\"type\":\"" +
|
|
644
|
+
"object\"},\"RunForceParams\":{\"additionalProperties\":false,\"description\":\"R" +
|
|
645
|
+
"equests the MVP's only stop mode: force. Repeated requests are idempoten" +
|
|
646
|
+
"t at the run ledger.\",\"properties\":{\"runId\":{\"type\":\"string\"}},\"required" +
|
|
647
|
+
"\":[\"runId\"],\"type\":\"object\"},\"RunForceResult\":{\"additionalProperties\":fa" +
|
|
648
|
+
"lse,\"description\":\"The durable run status after recording the force requ" +
|
|
649
|
+
"est.\",\"properties\":{\"atCursor\":{\"description\":\"Durable cursor after the " +
|
|
650
|
+
"force request was recorded.\",\"type\":\"string\"},\"runId\":{\"description\":\"Pu" +
|
|
651
|
+
"blic identity of the run whose force request was recorded.\",\"type\":\"stri" +
|
|
652
|
+
"ng\"},\"size\":{\"$ref\":\"#/$defs/RunSize\",\"description\":\"Immutable execution" +
|
|
653
|
+
" size selected for the run.\"},\"source\":{\"$ref\":\"#/$defs/ResolvedSource\"," +
|
|
654
|
+
"\"description\":\"Immutable repository snapshot captured when the run was a" +
|
|
655
|
+
"dmitted.\"},\"status\":{\"$ref\":\"#/$defs/RunStatus\",\"description\":\"Public ph" +
|
|
656
|
+
"ase projected after the force request was recorded.\"},\"title\":{\"descript" +
|
|
657
|
+
"ion\":\"Immutable title captured when the run was admitted.\",\"maxLength\":2" +
|
|
658
|
+
"56,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\"" +
|
|
659
|
+
":\"string\"}},\"required\":[\"runId\",\"title\",\"source\",\"size\",\"atCursor\",\"stat" +
|
|
660
|
+
"us\"],\"type\":\"object\"},\"RunListParams\":{\"additionalProperties\":false,\"des" +
|
|
661
|
+
"cription\":\"The MVP inventory has no filters or pagination controls.\",\"ty" +
|
|
662
|
+
"pe\":\"object\"},\"RunListResult\":{\"additionalProperties\":false,\"description" +
|
|
663
|
+
"\":\"Current durable projections for every retained run.\",\"properties\":{\"r" +
|
|
664
|
+
"uns\":{\"items\":{\"$ref\":\"#/$defs/RunStatusResult\"},\"type\":\"array\"}},\"requi" +
|
|
665
|
+
"red\":[\"runs\"],\"type\":\"object\"},\"RunLogEventNotification\":{\"additionalPro" +
|
|
666
|
+
"perties\":false,\"description\":\"One durable, reconnectable safe log record" +
|
|
667
|
+
". Run-wide system records have no execution;\\nexecution output carries t" +
|
|
668
|
+
"he stable opaque selector used by status and attach.\",\"properties\":{\"cur" +
|
|
669
|
+
"sor\":{\"type\":\"string\"},\"execution\":{\"maxLength\":128,\"minLength\":1,\"patte" +
|
|
670
|
+
"rn\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\":[\"string\",\"null\"]},\"re" +
|
|
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" +
|
|
737
|
+
"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" +
|
|
825
|
+
"56,\"minLength\":1,\"pattern\":\"^[^\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f]+$\",\"type\"" +
|
|
826
|
+
":\"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\"}"
|
|
953
|
+
);
|