@ancplua/qyl-api-schema 5.1.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/workflow.tsp +85 -9
- package/generated/json-schema/qyl-api-schema.json +379 -31
- package/generated/openapi/qyl.openapi.json +641 -39
- package/generated/ts-runtime/api.d.ts +95 -24
- package/generated/ts-runtime/api.js +11 -1
- package/models/mcp-tools.tsp +15 -9
- package/models/workflow.tsp +99 -17
- package/package.json +1 -1
|
@@ -1672,7 +1672,8 @@
|
|
|
1672
1672
|
"$ref": "#/$defs/Workflow.WorkflowRunId"
|
|
1673
1673
|
},
|
|
1674
1674
|
"node_cursor": {
|
|
1675
|
-
"
|
|
1675
|
+
"$ref": "#/$defs/Workflow.WorkflowNodeCursor",
|
|
1676
|
+
"description": "Opaque node continuation. Reuse it unchanged from the preceding snapshot's next_node_cursor; do not parse, construct, or modify it."
|
|
1676
1677
|
},
|
|
1677
1678
|
"node_limit": {
|
|
1678
1679
|
"type": "integer",
|
|
@@ -1682,7 +1683,8 @@
|
|
|
1682
1683
|
"default": 250
|
|
1683
1684
|
},
|
|
1684
1685
|
"edge_cursor": {
|
|
1685
|
-
"
|
|
1686
|
+
"$ref": "#/$defs/Workflow.WorkflowEdgeCursor",
|
|
1687
|
+
"description": "Opaque edge continuation. Reuse it unchanged from the preceding snapshot's next_edge_cursor; do not parse, construct, or modify it."
|
|
1686
1688
|
},
|
|
1687
1689
|
"edge_limit": {
|
|
1688
1690
|
"type": "integer",
|
|
@@ -1816,7 +1818,7 @@
|
|
|
1816
1818
|
"$ref": "#/$defs/Workflow.WorkflowRunId"
|
|
1817
1819
|
},
|
|
1818
1820
|
"after_sequence": {
|
|
1819
|
-
"$ref": "#/$defs/Workflow.
|
|
1821
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
1820
1822
|
},
|
|
1821
1823
|
"limit": {
|
|
1822
1824
|
"type": "integer",
|
|
@@ -1833,7 +1835,8 @@
|
|
|
1833
1835
|
"default": 20000
|
|
1834
1836
|
},
|
|
1835
1837
|
"node_cursor": {
|
|
1836
|
-
"
|
|
1838
|
+
"$ref": "#/$defs/Workflow.WorkflowNodeCursor",
|
|
1839
|
+
"description": "Opaque node continuation. Reuse it unchanged from the preceding snapshot's next_node_cursor; do not parse, construct, or modify it."
|
|
1837
1840
|
},
|
|
1838
1841
|
"node_limit": {
|
|
1839
1842
|
"type": "integer",
|
|
@@ -1843,7 +1846,8 @@
|
|
|
1843
1846
|
"default": 250
|
|
1844
1847
|
},
|
|
1845
1848
|
"edge_cursor": {
|
|
1846
|
-
"
|
|
1849
|
+
"$ref": "#/$defs/Workflow.WorkflowEdgeCursor",
|
|
1850
|
+
"description": "Opaque edge continuation. Reuse it unchanged from the preceding snapshot's next_edge_cursor; do not parse, construct, or modify it."
|
|
1847
1851
|
},
|
|
1848
1852
|
"edge_limit": {
|
|
1849
1853
|
"type": "integer",
|
|
@@ -1931,7 +1935,8 @@
|
|
|
1931
1935
|
"$ref": "#/$defs/Workflow.WorkflowRunId"
|
|
1932
1936
|
},
|
|
1933
1937
|
"node_cursor": {
|
|
1934
|
-
"
|
|
1938
|
+
"$ref": "#/$defs/Workflow.WorkflowNodeCursor",
|
|
1939
|
+
"description": "Opaque node continuation. Reuse it unchanged from the preceding snapshot's next_node_cursor; do not parse, construct, or modify it."
|
|
1935
1940
|
},
|
|
1936
1941
|
"node_limit": {
|
|
1937
1942
|
"type": "integer",
|
|
@@ -1941,7 +1946,8 @@
|
|
|
1941
1946
|
"default": 250
|
|
1942
1947
|
},
|
|
1943
1948
|
"edge_cursor": {
|
|
1944
|
-
"
|
|
1949
|
+
"$ref": "#/$defs/Workflow.WorkflowEdgeCursor",
|
|
1950
|
+
"description": "Opaque edge continuation. Reuse it unchanged from the preceding snapshot's next_edge_cursor; do not parse, construct, or modify it."
|
|
1945
1951
|
},
|
|
1946
1952
|
"edge_limit": {
|
|
1947
1953
|
"type": "integer",
|
|
@@ -2061,7 +2067,7 @@
|
|
|
2061
2067
|
"$ref": "#/$defs/Workflow.WorkflowRunStatus"
|
|
2062
2068
|
},
|
|
2063
2069
|
"cursor": {
|
|
2064
|
-
"
|
|
2070
|
+
"$ref": "#/$defs/Workflow.WorkflowRunCursor"
|
|
2065
2071
|
},
|
|
2066
2072
|
"limit": {
|
|
2067
2073
|
"type": "integer",
|
|
@@ -2091,7 +2097,7 @@
|
|
|
2091
2097
|
}
|
|
2092
2098
|
},
|
|
2093
2099
|
"next_cursor": {
|
|
2094
|
-
"
|
|
2100
|
+
"$ref": "#/$defs/Workflow.WorkflowRunCursor"
|
|
2095
2101
|
},
|
|
2096
2102
|
"has_more": {
|
|
2097
2103
|
"type": "boolean"
|
|
@@ -6139,6 +6145,61 @@
|
|
|
6139
6145
|
},
|
|
6140
6146
|
"description": "Request to update mutable MCP workbench workspace metadata."
|
|
6141
6147
|
},
|
|
6148
|
+
"Workflow.CommittedWorkflowProjectionStatus": {
|
|
6149
|
+
"type": "object",
|
|
6150
|
+
"required": [
|
|
6151
|
+
"state",
|
|
6152
|
+
"generation",
|
|
6153
|
+
"journal_position"
|
|
6154
|
+
],
|
|
6155
|
+
"properties": {
|
|
6156
|
+
"state": {
|
|
6157
|
+
"type": "string",
|
|
6158
|
+
"enum": [
|
|
6159
|
+
"committed"
|
|
6160
|
+
]
|
|
6161
|
+
},
|
|
6162
|
+
"generation": {
|
|
6163
|
+
"$ref": "#/$defs/Workflow.WorkflowGeneration"
|
|
6164
|
+
},
|
|
6165
|
+
"journal_position": {
|
|
6166
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6167
|
+
}
|
|
6168
|
+
},
|
|
6169
|
+
"unevaluatedProperties": {
|
|
6170
|
+
"not": {}
|
|
6171
|
+
},
|
|
6172
|
+
"description": "A valid committed projection that can be served to readers."
|
|
6173
|
+
},
|
|
6174
|
+
"Workflow.CorruptWorkflowProjectionStatus": {
|
|
6175
|
+
"type": "object",
|
|
6176
|
+
"required": [
|
|
6177
|
+
"state",
|
|
6178
|
+
"reason"
|
|
6179
|
+
],
|
|
6180
|
+
"properties": {
|
|
6181
|
+
"state": {
|
|
6182
|
+
"type": "string",
|
|
6183
|
+
"enum": [
|
|
6184
|
+
"corrupt"
|
|
6185
|
+
]
|
|
6186
|
+
},
|
|
6187
|
+
"generation": {
|
|
6188
|
+
"$ref": "#/$defs/Workflow.WorkflowGeneration"
|
|
6189
|
+
},
|
|
6190
|
+
"reason": {
|
|
6191
|
+
"type": "string",
|
|
6192
|
+
"enum": [
|
|
6193
|
+
"corrupt_derived_state",
|
|
6194
|
+
"incompatible_derived_state"
|
|
6195
|
+
]
|
|
6196
|
+
}
|
|
6197
|
+
},
|
|
6198
|
+
"unevaluatedProperties": {
|
|
6199
|
+
"not": {}
|
|
6200
|
+
},
|
|
6201
|
+
"description": "Derived projection state is corrupt or incompatible and cannot currently be served."
|
|
6202
|
+
},
|
|
6142
6203
|
"Workflow.DerivedWorkflowEdgeProvenance": {
|
|
6143
6204
|
"type": "object",
|
|
6144
6205
|
"required": [
|
|
@@ -6173,6 +6234,38 @@
|
|
|
6173
6234
|
},
|
|
6174
6235
|
"description": "Derived edge provenance with explicit evidence and confidence."
|
|
6175
6236
|
},
|
|
6237
|
+
"Workflow.RebuildingWorkflowProjectionStatus": {
|
|
6238
|
+
"type": "object",
|
|
6239
|
+
"required": [
|
|
6240
|
+
"state",
|
|
6241
|
+
"generation",
|
|
6242
|
+
"target_journal_position",
|
|
6243
|
+
"retry_after_ms"
|
|
6244
|
+
],
|
|
6245
|
+
"properties": {
|
|
6246
|
+
"state": {
|
|
6247
|
+
"type": "string",
|
|
6248
|
+
"enum": [
|
|
6249
|
+
"rebuilding"
|
|
6250
|
+
]
|
|
6251
|
+
},
|
|
6252
|
+
"generation": {
|
|
6253
|
+
"$ref": "#/$defs/Workflow.WorkflowGeneration"
|
|
6254
|
+
},
|
|
6255
|
+
"target_journal_position": {
|
|
6256
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6257
|
+
},
|
|
6258
|
+
"retry_after_ms": {
|
|
6259
|
+
"type": "integer",
|
|
6260
|
+
"format": "int32",
|
|
6261
|
+
"minimum": 1
|
|
6262
|
+
}
|
|
6263
|
+
},
|
|
6264
|
+
"unevaluatedProperties": {
|
|
6265
|
+
"not": {}
|
|
6266
|
+
},
|
|
6267
|
+
"description": "The requested generation is being reconstructed from its authoritative journal."
|
|
6268
|
+
},
|
|
6176
6269
|
"Workflow.RecordedWorkflowEdgeProvenance": {
|
|
6177
6270
|
"type": "object",
|
|
6178
6271
|
"required": [
|
|
@@ -6199,6 +6292,33 @@
|
|
|
6199
6292
|
},
|
|
6200
6293
|
"description": "Recorded edge provenance directly observed from Codex."
|
|
6201
6294
|
},
|
|
6295
|
+
"Workflow.UnavailableWorkflowProjectionStatus": {
|
|
6296
|
+
"type": "object",
|
|
6297
|
+
"required": [
|
|
6298
|
+
"state",
|
|
6299
|
+
"retry_after_ms"
|
|
6300
|
+
],
|
|
6301
|
+
"properties": {
|
|
6302
|
+
"state": {
|
|
6303
|
+
"type": "string",
|
|
6304
|
+
"enum": [
|
|
6305
|
+
"unavailable"
|
|
6306
|
+
]
|
|
6307
|
+
},
|
|
6308
|
+
"generation": {
|
|
6309
|
+
"$ref": "#/$defs/Workflow.WorkflowGeneration"
|
|
6310
|
+
},
|
|
6311
|
+
"retry_after_ms": {
|
|
6312
|
+
"type": "integer",
|
|
6313
|
+
"format": "int32",
|
|
6314
|
+
"minimum": 1
|
|
6315
|
+
}
|
|
6316
|
+
},
|
|
6317
|
+
"unevaluatedProperties": {
|
|
6318
|
+
"not": {}
|
|
6319
|
+
},
|
|
6320
|
+
"description": "Projection work is temporarily unavailable after a retryable storage failure."
|
|
6321
|
+
},
|
|
6202
6322
|
"Workflow.WorkflowAgentId": {
|
|
6203
6323
|
"type": "string",
|
|
6204
6324
|
"minLength": 1,
|
|
@@ -6457,6 +6577,50 @@
|
|
|
6457
6577
|
},
|
|
6458
6578
|
"description": "Adapter acknowledgement or terminal result for one control command."
|
|
6459
6579
|
},
|
|
6580
|
+
"Workflow.WorkflowCursorError": {
|
|
6581
|
+
"type": "object",
|
|
6582
|
+
"required": [
|
|
6583
|
+
"title",
|
|
6584
|
+
"cursor_kind",
|
|
6585
|
+
"reason"
|
|
6586
|
+
],
|
|
6587
|
+
"properties": {
|
|
6588
|
+
"title": {
|
|
6589
|
+
"type": "string",
|
|
6590
|
+
"enum": [
|
|
6591
|
+
"Invalid Workflow Cursor"
|
|
6592
|
+
]
|
|
6593
|
+
},
|
|
6594
|
+
"cursor_kind": {
|
|
6595
|
+
"$ref": "#/$defs/Workflow.WorkflowCursorKind"
|
|
6596
|
+
},
|
|
6597
|
+
"reason": {
|
|
6598
|
+
"$ref": "#/$defs/Workflow.WorkflowCursorFailureReason"
|
|
6599
|
+
},
|
|
6600
|
+
"current_generation": {
|
|
6601
|
+
"$ref": "#/$defs/Workflow.WorkflowGeneration"
|
|
6602
|
+
}
|
|
6603
|
+
},
|
|
6604
|
+
"unevaluatedProperties": {
|
|
6605
|
+
"not": {}
|
|
6606
|
+
},
|
|
6607
|
+
"allOf": [
|
|
6608
|
+
{
|
|
6609
|
+
"$ref": "#/$defs/Common.Errors.ProblemDetails"
|
|
6610
|
+
}
|
|
6611
|
+
],
|
|
6612
|
+
"description": "Opaque graph cursor is malformed, belongs to another run, or targets a stale generation."
|
|
6613
|
+
},
|
|
6614
|
+
"Workflow.WorkflowCursorFailureReason": {
|
|
6615
|
+
"type": "string",
|
|
6616
|
+
"enum": [
|
|
6617
|
+
"invalid",
|
|
6618
|
+
"wrong_run",
|
|
6619
|
+
"wrong_generation",
|
|
6620
|
+
"stale"
|
|
6621
|
+
],
|
|
6622
|
+
"description": "Why an opaque graph cursor cannot be reused for this request."
|
|
6623
|
+
},
|
|
6460
6624
|
"Workflow.WorkflowCursorGapEvent": {
|
|
6461
6625
|
"type": "object",
|
|
6462
6626
|
"required": [
|
|
@@ -6473,10 +6637,10 @@
|
|
|
6473
6637
|
]
|
|
6474
6638
|
},
|
|
6475
6639
|
"oldest_available_sequence": {
|
|
6476
|
-
"$ref": "#/$defs/Workflow.
|
|
6640
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6477
6641
|
},
|
|
6478
6642
|
"high_water_mark": {
|
|
6479
|
-
"$ref": "#/$defs/Workflow.
|
|
6643
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6480
6644
|
},
|
|
6481
6645
|
"timestamp": {
|
|
6482
6646
|
"type": "string",
|
|
@@ -6488,6 +6652,26 @@
|
|
|
6488
6652
|
},
|
|
6489
6653
|
"description": "Signals that the requested cursor predates retained workflow history."
|
|
6490
6654
|
},
|
|
6655
|
+
"Workflow.WorkflowCursorKind": {
|
|
6656
|
+
"type": "string",
|
|
6657
|
+
"enum": [
|
|
6658
|
+
"node",
|
|
6659
|
+
"edge"
|
|
6660
|
+
],
|
|
6661
|
+
"description": "Which opaque graph cursor was rejected."
|
|
6662
|
+
},
|
|
6663
|
+
"Workflow.WorkflowEdgeCursor": {
|
|
6664
|
+
"type": "string",
|
|
6665
|
+
"minLength": 1,
|
|
6666
|
+
"maxLength": 1536,
|
|
6667
|
+
"description": "Opaque edge-page continuation scoped to one workflow run and generation. Reuse it unchanged; clients must not parse or construct it."
|
|
6668
|
+
},
|
|
6669
|
+
"Workflow.WorkflowEdgeId": {
|
|
6670
|
+
"type": "string",
|
|
6671
|
+
"minLength": 1,
|
|
6672
|
+
"maxLength": 192,
|
|
6673
|
+
"description": "Stable identifier of one graph edge. Endpoint tuples preserve the nodes' structural run-versus-attempt scope and ordinal component boundaries, escape colon as \\c and backslash as \\\\, and never infer scope from a literal component value. A canonical identifier over 192 Unicode scalar values is replaced by its edge kind, a tilde, and the full lowercase 64-hex SHA-256 of the length-prefixed canonical tuple."
|
|
6674
|
+
},
|
|
6491
6675
|
"Workflow.WorkflowEdgeKind": {
|
|
6492
6676
|
"type": "string",
|
|
6493
6677
|
"enum": [
|
|
@@ -6623,10 +6807,10 @@
|
|
|
6623
6807
|
"$ref": "#/$defs/Workflow.WorkflowSequence"
|
|
6624
6808
|
},
|
|
6625
6809
|
"first_journal_sequence": {
|
|
6626
|
-
"$ref": "#/$defs/Workflow.
|
|
6810
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6627
6811
|
},
|
|
6628
6812
|
"last_journal_sequence": {
|
|
6629
|
-
"$ref": "#/$defs/Workflow.
|
|
6813
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6630
6814
|
}
|
|
6631
6815
|
},
|
|
6632
6816
|
"unevaluatedProperties": {
|
|
@@ -6656,10 +6840,10 @@
|
|
|
6656
6840
|
}
|
|
6657
6841
|
},
|
|
6658
6842
|
"next_sequence": {
|
|
6659
|
-
"$ref": "#/$defs/Workflow.
|
|
6843
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6660
6844
|
},
|
|
6661
6845
|
"high_water_mark": {
|
|
6662
|
-
"$ref": "#/$defs/Workflow.
|
|
6846
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6663
6847
|
},
|
|
6664
6848
|
"cursor_gap": {
|
|
6665
6849
|
"type": "boolean"
|
|
@@ -6670,6 +6854,13 @@
|
|
|
6670
6854
|
},
|
|
6671
6855
|
"description": "A bounded page of workflow journal events."
|
|
6672
6856
|
},
|
|
6857
|
+
"Workflow.WorkflowGeneration": {
|
|
6858
|
+
"type": "string",
|
|
6859
|
+
"minLength": 32,
|
|
6860
|
+
"maxLength": 32,
|
|
6861
|
+
"pattern": "^[0-9a-f]{12}4[0-9a-f]{3}[89ab][0-9a-f]{15}$",
|
|
6862
|
+
"description": "Opaque incarnation identifier for one workflow run's projected state."
|
|
6863
|
+
},
|
|
6673
6864
|
"Workflow.WorkflowGraphEdge": {
|
|
6674
6865
|
"type": "object",
|
|
6675
6866
|
"required": [
|
|
@@ -6681,7 +6872,7 @@
|
|
|
6681
6872
|
],
|
|
6682
6873
|
"properties": {
|
|
6683
6874
|
"edge_id": {
|
|
6684
|
-
"
|
|
6875
|
+
"$ref": "#/$defs/Workflow.WorkflowEdgeId"
|
|
6685
6876
|
},
|
|
6686
6877
|
"source_node_id": {
|
|
6687
6878
|
"$ref": "#/$defs/Workflow.WorkflowNodeId"
|
|
@@ -6699,7 +6890,7 @@
|
|
|
6699
6890
|
"unevaluatedProperties": {
|
|
6700
6891
|
"not": {}
|
|
6701
6892
|
},
|
|
6702
|
-
"description": "One typed edge in the deterministic workflow graph projection."
|
|
6893
|
+
"description": "One typed edge in the deterministic workflow graph projection. Data, Control, and Gate edges are causal dependencies. Temporal edges describe observed order, Resource edges describe resource use, and Conflict edges describe contention; Temporal, Resource, and Conflict edges are excluded from critical-path causality."
|
|
6703
6894
|
},
|
|
6704
6895
|
"Workflow.WorkflowGraphNode": {
|
|
6705
6896
|
"type": "object",
|
|
@@ -6728,9 +6919,6 @@
|
|
|
6728
6919
|
"agent_id": {
|
|
6729
6920
|
"$ref": "#/$defs/Workflow.WorkflowAgentId"
|
|
6730
6921
|
},
|
|
6731
|
-
"parent_node_id": {
|
|
6732
|
-
"$ref": "#/$defs/Workflow.WorkflowNodeId"
|
|
6733
|
-
},
|
|
6734
6922
|
"started_at": {
|
|
6735
6923
|
"type": "string",
|
|
6736
6924
|
"format": "date-time"
|
|
@@ -6762,6 +6950,7 @@
|
|
|
6762
6950
|
"type": "object",
|
|
6763
6951
|
"required": [
|
|
6764
6952
|
"run",
|
|
6953
|
+
"projection_status",
|
|
6765
6954
|
"nodes",
|
|
6766
6955
|
"edges",
|
|
6767
6956
|
"statistics",
|
|
@@ -6775,6 +6964,9 @@
|
|
|
6775
6964
|
"run": {
|
|
6776
6965
|
"$ref": "#/$defs/Workflow.WorkflowRun"
|
|
6777
6966
|
},
|
|
6967
|
+
"projection_status": {
|
|
6968
|
+
"$ref": "#/$defs/Workflow.WorkflowProjectionStatus"
|
|
6969
|
+
},
|
|
6778
6970
|
"nodes": {
|
|
6779
6971
|
"type": "array",
|
|
6780
6972
|
"items": {
|
|
@@ -6791,13 +6983,15 @@
|
|
|
6791
6983
|
"$ref": "#/$defs/Workflow.WorkflowGraphStatistics"
|
|
6792
6984
|
},
|
|
6793
6985
|
"journal_sequence": {
|
|
6794
|
-
"$ref": "#/$defs/Workflow.
|
|
6986
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6795
6987
|
},
|
|
6796
6988
|
"next_node_cursor": {
|
|
6797
|
-
"
|
|
6989
|
+
"$ref": "#/$defs/Workflow.WorkflowNodeCursor",
|
|
6990
|
+
"description": "Opaque node continuation for the next page. Reuse it unchanged as node_cursor on the next graph request; do not parse, construct, or modify it."
|
|
6798
6991
|
},
|
|
6799
6992
|
"next_edge_cursor": {
|
|
6800
|
-
"
|
|
6993
|
+
"$ref": "#/$defs/Workflow.WorkflowEdgeCursor",
|
|
6994
|
+
"description": "Opaque edge continuation for the next page. Reuse it unchanged as edge_cursor on the next graph request; do not parse, construct, or modify it."
|
|
6801
6995
|
},
|
|
6802
6996
|
"has_more_nodes": {
|
|
6803
6997
|
"type": "boolean"
|
|
@@ -6865,7 +7059,7 @@
|
|
|
6865
7059
|
"unevaluatedProperties": {
|
|
6866
7060
|
"not": {}
|
|
6867
7061
|
},
|
|
6868
|
-
"description": "Work and critical-path statistics for a workflow graph."
|
|
7062
|
+
"description": "Work and critical-path statistics for a workflow graph. Every ToolCall, Wait, Gate, and duration-bearing Message or Item contributes an independently weighted interval even when it has no Agent owner. An Agent contributes its own-work fragments: its interval minus the union of precisely owned child intervals clipped to the Agent interval. Precisely owned children are Control-linked Agent and ToolCall nodes, Temporal-linked Wait nodes, Gate-linked Gate nodes, and Data-linked duration-bearing Message or Item nodes. Peak concurrency sweeps every positive independently weighted or Agent own-work fragment. Critical-path analysis uses only Data, Control, and Gate edges, condenses each causal strongly connected component, charges every component member exactly once, and expands selected component members in ordinal node-id order."
|
|
6869
7063
|
},
|
|
6870
7064
|
"Workflow.WorkflowHeartbeatEvent": {
|
|
6871
7065
|
"type": "object",
|
|
@@ -6882,7 +7076,7 @@
|
|
|
6882
7076
|
]
|
|
6883
7077
|
},
|
|
6884
7078
|
"high_water_mark": {
|
|
6885
|
-
"$ref": "#/$defs/Workflow.
|
|
7079
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6886
7080
|
},
|
|
6887
7081
|
"timestamp": {
|
|
6888
7082
|
"type": "string",
|
|
@@ -6909,7 +7103,7 @@
|
|
|
6909
7103
|
"type": "string"
|
|
6910
7104
|
},
|
|
6911
7105
|
"journal_sequence": {
|
|
6912
|
-
"$ref": "#/$defs/Workflow.
|
|
7106
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
6913
7107
|
}
|
|
6914
7108
|
},
|
|
6915
7109
|
"unevaluatedProperties": {
|
|
@@ -6958,11 +7152,24 @@
|
|
|
6958
7152
|
],
|
|
6959
7153
|
"description": "Immutable journal event kinds accepted from a Codex observer."
|
|
6960
7154
|
},
|
|
7155
|
+
"Workflow.WorkflowJournalPosition": {
|
|
7156
|
+
"type": "string",
|
|
7157
|
+
"format": "uint64",
|
|
7158
|
+
"description": "Collector-assigned position in the authoritative workflow journal, encoded without JavaScript precision loss.",
|
|
7159
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
7160
|
+
"maxLength": 20
|
|
7161
|
+
},
|
|
7162
|
+
"Workflow.WorkflowNodeCursor": {
|
|
7163
|
+
"type": "string",
|
|
7164
|
+
"minLength": 1,
|
|
7165
|
+
"maxLength": 1536,
|
|
7166
|
+
"description": "Opaque node-page continuation scoped to one workflow run and generation. Reuse it unchanged; clients must not parse or construct it."
|
|
7167
|
+
},
|
|
6961
7168
|
"Workflow.WorkflowNodeId": {
|
|
6962
7169
|
"type": "string",
|
|
6963
7170
|
"minLength": 1,
|
|
6964
7171
|
"maxLength": 192,
|
|
6965
|
-
"description": "Stable identifier of one graph node."
|
|
7172
|
+
"description": "Stable identifier of one graph node. Canonical tuples structurally distinguish run scope from attempt scope, escape colon as \\c and backslash as \\\\, and never infer scope from a literal component value. A canonical identifier over 192 Unicode scalar values is replaced by its kind, a tilde, and the full lowercase 64-hex SHA-256 of the length-prefixed canonical tuple."
|
|
6966
7173
|
},
|
|
6967
7174
|
"Workflow.WorkflowNodeKind": {
|
|
6968
7175
|
"type": "string",
|
|
@@ -6979,10 +7186,82 @@
|
|
|
6979
7186
|
],
|
|
6980
7187
|
"description": "Kinds of execution node in the deterministic workflow graph."
|
|
6981
7188
|
},
|
|
7189
|
+
"Workflow.WorkflowProjectionCorruptError": {
|
|
7190
|
+
"type": "object",
|
|
7191
|
+
"required": [
|
|
7192
|
+
"title",
|
|
7193
|
+
"projection_status"
|
|
7194
|
+
],
|
|
7195
|
+
"properties": {
|
|
7196
|
+
"title": {
|
|
7197
|
+
"type": "string",
|
|
7198
|
+
"enum": [
|
|
7199
|
+
"Workflow Projection Corrupt"
|
|
7200
|
+
]
|
|
7201
|
+
},
|
|
7202
|
+
"projection_status": {
|
|
7203
|
+
"$ref": "#/$defs/Workflow.WorkflowProjectionStatus"
|
|
7204
|
+
}
|
|
7205
|
+
},
|
|
7206
|
+
"unevaluatedProperties": {
|
|
7207
|
+
"not": {}
|
|
7208
|
+
},
|
|
7209
|
+
"allOf": [
|
|
7210
|
+
{
|
|
7211
|
+
"$ref": "#/$defs/Common.Errors.ProblemDetails"
|
|
7212
|
+
}
|
|
7213
|
+
],
|
|
7214
|
+
"description": "Workflow projection is non-retryably corrupt or incompatible. Internal storage details are intentionally omitted."
|
|
7215
|
+
},
|
|
7216
|
+
"Workflow.WorkflowProjectionStatus": {
|
|
7217
|
+
"anyOf": [
|
|
7218
|
+
{
|
|
7219
|
+
"$ref": "#/$defs/Workflow.CommittedWorkflowProjectionStatus"
|
|
7220
|
+
},
|
|
7221
|
+
{
|
|
7222
|
+
"$ref": "#/$defs/Workflow.RebuildingWorkflowProjectionStatus"
|
|
7223
|
+
},
|
|
7224
|
+
{
|
|
7225
|
+
"$ref": "#/$defs/Workflow.UnavailableWorkflowProjectionStatus"
|
|
7226
|
+
},
|
|
7227
|
+
{
|
|
7228
|
+
"$ref": "#/$defs/Workflow.CorruptWorkflowProjectionStatus"
|
|
7229
|
+
}
|
|
7230
|
+
],
|
|
7231
|
+
"description": "Closed public availability state for one workflow projection. Storage paths, hashes, fingerprints, and database errors remain private."
|
|
7232
|
+
},
|
|
7233
|
+
"Workflow.WorkflowProjectionUnavailableError": {
|
|
7234
|
+
"type": "object",
|
|
7235
|
+
"required": [
|
|
7236
|
+
"title",
|
|
7237
|
+
"projection_status"
|
|
7238
|
+
],
|
|
7239
|
+
"properties": {
|
|
7240
|
+
"title": {
|
|
7241
|
+
"type": "string",
|
|
7242
|
+
"enum": [
|
|
7243
|
+
"Workflow Projection Unavailable"
|
|
7244
|
+
]
|
|
7245
|
+
},
|
|
7246
|
+
"projection_status": {
|
|
7247
|
+
"$ref": "#/$defs/Workflow.WorkflowProjectionStatus"
|
|
7248
|
+
}
|
|
7249
|
+
},
|
|
7250
|
+
"unevaluatedProperties": {
|
|
7251
|
+
"not": {}
|
|
7252
|
+
},
|
|
7253
|
+
"allOf": [
|
|
7254
|
+
{
|
|
7255
|
+
"$ref": "#/$defs/Common.Errors.ProblemDetails"
|
|
7256
|
+
}
|
|
7257
|
+
],
|
|
7258
|
+
"description": "Workflow projection is rebuilding or temporarily unavailable after a retryable storage failure."
|
|
7259
|
+
},
|
|
6982
7260
|
"Workflow.WorkflowRun": {
|
|
6983
7261
|
"type": "object",
|
|
6984
7262
|
"required": [
|
|
6985
7263
|
"run_id",
|
|
7264
|
+
"generation",
|
|
6986
7265
|
"status",
|
|
6987
7266
|
"started_at",
|
|
6988
7267
|
"latest_journal_sequence"
|
|
@@ -6991,6 +7270,9 @@
|
|
|
6991
7270
|
"run_id": {
|
|
6992
7271
|
"$ref": "#/$defs/Workflow.WorkflowRunId"
|
|
6993
7272
|
},
|
|
7273
|
+
"generation": {
|
|
7274
|
+
"$ref": "#/$defs/Workflow.WorkflowGeneration"
|
|
7275
|
+
},
|
|
6994
7276
|
"thread_id": {
|
|
6995
7277
|
"type": "string"
|
|
6996
7278
|
},
|
|
@@ -7009,7 +7291,7 @@
|
|
|
7009
7291
|
"format": "date-time"
|
|
7010
7292
|
},
|
|
7011
7293
|
"latest_journal_sequence": {
|
|
7012
|
-
"$ref": "#/$defs/Workflow.
|
|
7294
|
+
"$ref": "#/$defs/Workflow.WorkflowJournalPosition"
|
|
7013
7295
|
},
|
|
7014
7296
|
"active_attempt_id": {
|
|
7015
7297
|
"$ref": "#/$defs/Workflow.WorkflowAttemptId"
|
|
@@ -7054,6 +7336,39 @@
|
|
|
7054
7336
|
},
|
|
7055
7337
|
"description": "Request to create an observed workflow run before appending journal events."
|
|
7056
7338
|
},
|
|
7339
|
+
"Workflow.WorkflowRunCursor": {
|
|
7340
|
+
"type": "string",
|
|
7341
|
+
"minLength": 1,
|
|
7342
|
+
"maxLength": 512,
|
|
7343
|
+
"description": "Opaque workflow-run list continuation scoped to the project and status filter. Reuse it unchanged; clients must not parse or construct it."
|
|
7344
|
+
},
|
|
7345
|
+
"Workflow.WorkflowRunDeletedError": {
|
|
7346
|
+
"type": "object",
|
|
7347
|
+
"required": [
|
|
7348
|
+
"title",
|
|
7349
|
+
"run_id"
|
|
7350
|
+
],
|
|
7351
|
+
"properties": {
|
|
7352
|
+
"title": {
|
|
7353
|
+
"type": "string",
|
|
7354
|
+
"enum": [
|
|
7355
|
+
"Workflow Run Deleted"
|
|
7356
|
+
]
|
|
7357
|
+
},
|
|
7358
|
+
"run_id": {
|
|
7359
|
+
"$ref": "#/$defs/Workflow.WorkflowRunId"
|
|
7360
|
+
}
|
|
7361
|
+
},
|
|
7362
|
+
"unevaluatedProperties": {
|
|
7363
|
+
"not": {}
|
|
7364
|
+
},
|
|
7365
|
+
"allOf": [
|
|
7366
|
+
{
|
|
7367
|
+
"$ref": "#/$defs/Common.Errors.ProblemDetails"
|
|
7368
|
+
}
|
|
7369
|
+
],
|
|
7370
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections."
|
|
7371
|
+
},
|
|
7057
7372
|
"Workflow.WorkflowRunId": {
|
|
7058
7373
|
"type": "string",
|
|
7059
7374
|
"minLength": 1,
|
|
@@ -7074,7 +7389,7 @@
|
|
|
7074
7389
|
}
|
|
7075
7390
|
},
|
|
7076
7391
|
"next_cursor": {
|
|
7077
|
-
"
|
|
7392
|
+
"$ref": "#/$defs/Workflow.WorkflowRunCursor"
|
|
7078
7393
|
},
|
|
7079
7394
|
"has_more": {
|
|
7080
7395
|
"type": "boolean"
|
|
@@ -8462,6 +8777,9 @@
|
|
|
8462
8777
|
"Operations.WorkflowRunsApi_appendEvents.Response.409": {
|
|
8463
8778
|
"$ref": "#/$defs/Common.Errors.ConflictError"
|
|
8464
8779
|
},
|
|
8780
|
+
"Operations.WorkflowRunsApi_appendEvents.Response.410": {
|
|
8781
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8782
|
+
},
|
|
8465
8783
|
"Operations.WorkflowRunsApi_appendEvents.Response.500": {
|
|
8466
8784
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8467
8785
|
},
|
|
@@ -8483,6 +8801,9 @@
|
|
|
8483
8801
|
"Operations.WorkflowRunsApi_create.Response.409": {
|
|
8484
8802
|
"$ref": "#/$defs/Common.Errors.ConflictError"
|
|
8485
8803
|
},
|
|
8804
|
+
"Operations.WorkflowRunsApi_create.Response.410": {
|
|
8805
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8806
|
+
},
|
|
8486
8807
|
"Operations.WorkflowRunsApi_create.Response.500": {
|
|
8487
8808
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8488
8809
|
},
|
|
@@ -8498,6 +8819,9 @@
|
|
|
8498
8819
|
"Operations.WorkflowRunsApi_get.Response.404": {
|
|
8499
8820
|
"$ref": "#/$defs/Common.Errors.NotFoundError"
|
|
8500
8821
|
},
|
|
8822
|
+
"Operations.WorkflowRunsApi_get.Response.410": {
|
|
8823
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8824
|
+
},
|
|
8501
8825
|
"Operations.WorkflowRunsApi_get.Response.500": {
|
|
8502
8826
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8503
8827
|
},
|
|
@@ -8513,6 +8837,9 @@
|
|
|
8513
8837
|
"Operations.WorkflowRunsApi_getContent.Response.404": {
|
|
8514
8838
|
"$ref": "#/$defs/Common.Errors.NotFoundError"
|
|
8515
8839
|
},
|
|
8840
|
+
"Operations.WorkflowRunsApi_getContent.Response.410": {
|
|
8841
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8842
|
+
},
|
|
8516
8843
|
"Operations.WorkflowRunsApi_getContent.Response.500": {
|
|
8517
8844
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8518
8845
|
},
|
|
@@ -8531,11 +8858,17 @@
|
|
|
8531
8858
|
"Operations.WorkflowRunsApi_getGraph.Response.404": {
|
|
8532
8859
|
"$ref": "#/$defs/Common.Errors.NotFoundError"
|
|
8533
8860
|
},
|
|
8861
|
+
"Operations.WorkflowRunsApi_getGraph.Response.409": {
|
|
8862
|
+
"$ref": "#/$defs/Workflow.WorkflowCursorError"
|
|
8863
|
+
},
|
|
8864
|
+
"Operations.WorkflowRunsApi_getGraph.Response.410": {
|
|
8865
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8866
|
+
},
|
|
8534
8867
|
"Operations.WorkflowRunsApi_getGraph.Response.500": {
|
|
8535
|
-
"$ref": "#/$defs/
|
|
8868
|
+
"$ref": "#/$defs/Workflow.WorkflowProjectionCorruptError"
|
|
8536
8869
|
},
|
|
8537
8870
|
"Operations.WorkflowRunsApi_getGraph.Response.503": {
|
|
8538
|
-
"$ref": "#/$defs/
|
|
8871
|
+
"$ref": "#/$defs/Workflow.WorkflowProjectionUnavailableError"
|
|
8539
8872
|
},
|
|
8540
8873
|
"Operations.WorkflowRunsApi_list.Response.200": {
|
|
8541
8874
|
"$ref": "#/$defs/Workflow.WorkflowRunPage"
|
|
@@ -8564,6 +8897,9 @@
|
|
|
8564
8897
|
"Operations.WorkflowRunsApi_pollControls.Response.404": {
|
|
8565
8898
|
"$ref": "#/$defs/Common.Errors.NotFoundError"
|
|
8566
8899
|
},
|
|
8900
|
+
"Operations.WorkflowRunsApi_pollControls.Response.410": {
|
|
8901
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8902
|
+
},
|
|
8567
8903
|
"Operations.WorkflowRunsApi_pollControls.Response.500": {
|
|
8568
8904
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8569
8905
|
},
|
|
@@ -8582,6 +8918,9 @@
|
|
|
8582
8918
|
"Operations.WorkflowRunsApi_readEvents.Response.404": {
|
|
8583
8919
|
"$ref": "#/$defs/Common.Errors.NotFoundError"
|
|
8584
8920
|
},
|
|
8921
|
+
"Operations.WorkflowRunsApi_readEvents.Response.410": {
|
|
8922
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8923
|
+
},
|
|
8585
8924
|
"Operations.WorkflowRunsApi_readEvents.Response.500": {
|
|
8586
8925
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8587
8926
|
},
|
|
@@ -8597,6 +8936,9 @@
|
|
|
8597
8936
|
"Operations.WorkflowRunsApi_stream.Response.404": {
|
|
8598
8937
|
"$ref": "#/$defs/Common.Errors.NotFoundError"
|
|
8599
8938
|
},
|
|
8939
|
+
"Operations.WorkflowRunsApi_stream.Response.410": {
|
|
8940
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8941
|
+
},
|
|
8600
8942
|
"Operations.WorkflowRunsApi_stream.Response.500": {
|
|
8601
8943
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8602
8944
|
},
|
|
@@ -8621,6 +8963,9 @@
|
|
|
8621
8963
|
"Operations.WorkflowRunsApi_submitControl.Response.409": {
|
|
8622
8964
|
"$ref": "#/$defs/Common.Errors.ConflictError"
|
|
8623
8965
|
},
|
|
8966
|
+
"Operations.WorkflowRunsApi_submitControl.Response.410": {
|
|
8967
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8968
|
+
},
|
|
8624
8969
|
"Operations.WorkflowRunsApi_submitControl.Response.500": {
|
|
8625
8970
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8626
8971
|
},
|
|
@@ -8645,6 +8990,9 @@
|
|
|
8645
8990
|
"Operations.WorkflowRunsApi_updateControl.Response.409": {
|
|
8646
8991
|
"$ref": "#/$defs/Common.Errors.ConflictError"
|
|
8647
8992
|
},
|
|
8993
|
+
"Operations.WorkflowRunsApi_updateControl.Response.410": {
|
|
8994
|
+
"$ref": "#/$defs/Workflow.WorkflowRunDeletedError"
|
|
8995
|
+
},
|
|
8648
8996
|
"Operations.WorkflowRunsApi_updateControl.Response.500": {
|
|
8649
8997
|
"$ref": "#/$defs/Common.Errors.InternalServerError"
|
|
8650
8998
|
},
|