@ancplua/qyl-api-schema 6.0.0 → 7.1.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 +971 -37
- package/generated/openapi/qyl.openapi.json +1259 -71
- package/generated/otel-keys.gen.tsp +5 -1
- package/generated/ts-runtime/api.d.ts +250 -23
- package/generated/ts-runtime/api.js +54 -1
- package/index.tsp +1 -0
- package/models/diagnostics.tsp +204 -0
- package/models/mcp-tools.tsp +112 -9
- package/models/workflow.tsp +99 -14
- package/package.json +6 -4
|
@@ -1687,6 +1687,32 @@
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
},
|
|
1690
|
+
"410": {
|
|
1691
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
1692
|
+
"headers": {
|
|
1693
|
+
"X-Trace-Id": {
|
|
1694
|
+
"required": false,
|
|
1695
|
+
"description": "Trace ID for correlation",
|
|
1696
|
+
"schema": {
|
|
1697
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"X-Request-Id": {
|
|
1701
|
+
"required": false,
|
|
1702
|
+
"description": "Request ID for support",
|
|
1703
|
+
"schema": {
|
|
1704
|
+
"type": "string"
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
"content": {
|
|
1709
|
+
"application/problem+json": {
|
|
1710
|
+
"schema": {
|
|
1711
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1690
1716
|
"500": {
|
|
1691
1717
|
"description": "Internal server error (500)",
|
|
1692
1718
|
"headers": {
|
|
@@ -1799,8 +1825,9 @@
|
|
|
1799
1825
|
"name": "cursor",
|
|
1800
1826
|
"in": "query",
|
|
1801
1827
|
"required": false,
|
|
1828
|
+
"description": "Opaque continuation scoped to the project and status filter. Reuse it unchanged from next_cursor; do not parse, construct, or modify it.",
|
|
1802
1829
|
"schema": {
|
|
1803
|
-
"
|
|
1830
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunCursor"
|
|
1804
1831
|
},
|
|
1805
1832
|
"explode": false
|
|
1806
1833
|
}
|
|
@@ -2032,6 +2059,32 @@
|
|
|
2032
2059
|
}
|
|
2033
2060
|
}
|
|
2034
2061
|
},
|
|
2062
|
+
"410": {
|
|
2063
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
2064
|
+
"headers": {
|
|
2065
|
+
"X-Trace-Id": {
|
|
2066
|
+
"required": false,
|
|
2067
|
+
"description": "Trace ID for correlation",
|
|
2068
|
+
"schema": {
|
|
2069
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
"X-Request-Id": {
|
|
2073
|
+
"required": false,
|
|
2074
|
+
"description": "Request ID for support",
|
|
2075
|
+
"schema": {
|
|
2076
|
+
"type": "string"
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
"content": {
|
|
2081
|
+
"application/problem+json": {
|
|
2082
|
+
"schema": {
|
|
2083
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
},
|
|
2035
2088
|
"500": {
|
|
2036
2089
|
"description": "Internal server error (500)",
|
|
2037
2090
|
"headers": {
|
|
@@ -2241,6 +2294,32 @@
|
|
|
2241
2294
|
}
|
|
2242
2295
|
}
|
|
2243
2296
|
},
|
|
2297
|
+
"410": {
|
|
2298
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
2299
|
+
"headers": {
|
|
2300
|
+
"X-Trace-Id": {
|
|
2301
|
+
"required": false,
|
|
2302
|
+
"description": "Trace ID for correlation",
|
|
2303
|
+
"schema": {
|
|
2304
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
2305
|
+
}
|
|
2306
|
+
},
|
|
2307
|
+
"X-Request-Id": {
|
|
2308
|
+
"required": false,
|
|
2309
|
+
"description": "Request ID for support",
|
|
2310
|
+
"schema": {
|
|
2311
|
+
"type": "string"
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
"content": {
|
|
2316
|
+
"application/problem+json": {
|
|
2317
|
+
"schema": {
|
|
2318
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2244
2323
|
"500": {
|
|
2245
2324
|
"description": "Internal server error (500)",
|
|
2246
2325
|
"headers": {
|
|
@@ -2467,6 +2546,32 @@
|
|
|
2467
2546
|
}
|
|
2468
2547
|
}
|
|
2469
2548
|
},
|
|
2549
|
+
"410": {
|
|
2550
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
2551
|
+
"headers": {
|
|
2552
|
+
"X-Trace-Id": {
|
|
2553
|
+
"required": false,
|
|
2554
|
+
"description": "Trace ID for correlation",
|
|
2555
|
+
"schema": {
|
|
2556
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
"X-Request-Id": {
|
|
2560
|
+
"required": false,
|
|
2561
|
+
"description": "Request ID for support",
|
|
2562
|
+
"schema": {
|
|
2563
|
+
"type": "string"
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
"content": {
|
|
2568
|
+
"application/problem+json": {
|
|
2569
|
+
"schema": {
|
|
2570
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2470
2575
|
"500": {
|
|
2471
2576
|
"description": "Internal server error (500)",
|
|
2472
2577
|
"headers": {
|
|
@@ -2684,6 +2789,32 @@
|
|
|
2684
2789
|
}
|
|
2685
2790
|
}
|
|
2686
2791
|
},
|
|
2792
|
+
"410": {
|
|
2793
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
2794
|
+
"headers": {
|
|
2795
|
+
"X-Trace-Id": {
|
|
2796
|
+
"required": false,
|
|
2797
|
+
"description": "Trace ID for correlation",
|
|
2798
|
+
"schema": {
|
|
2799
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"X-Request-Id": {
|
|
2803
|
+
"required": false,
|
|
2804
|
+
"description": "Request ID for support",
|
|
2805
|
+
"schema": {
|
|
2806
|
+
"type": "string"
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
"content": {
|
|
2811
|
+
"application/problem+json": {
|
|
2812
|
+
"schema": {
|
|
2813
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
},
|
|
2687
2818
|
"500": {
|
|
2688
2819
|
"description": "Internal server error (500)",
|
|
2689
2820
|
"headers": {
|
|
@@ -2859,6 +2990,32 @@
|
|
|
2859
2990
|
}
|
|
2860
2991
|
}
|
|
2861
2992
|
},
|
|
2993
|
+
"410": {
|
|
2994
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
2995
|
+
"headers": {
|
|
2996
|
+
"X-Trace-Id": {
|
|
2997
|
+
"required": false,
|
|
2998
|
+
"description": "Trace ID for correlation",
|
|
2999
|
+
"schema": {
|
|
3000
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
3001
|
+
}
|
|
3002
|
+
},
|
|
3003
|
+
"X-Request-Id": {
|
|
3004
|
+
"required": false,
|
|
3005
|
+
"description": "Request ID for support",
|
|
3006
|
+
"schema": {
|
|
3007
|
+
"type": "string"
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3011
|
+
"content": {
|
|
3012
|
+
"application/problem+json": {
|
|
3013
|
+
"schema": {
|
|
3014
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
}
|
|
3018
|
+
},
|
|
2862
3019
|
"500": {
|
|
2863
3020
|
"description": "Internal server error (500)",
|
|
2864
3021
|
"headers": {
|
|
@@ -3068,6 +3225,32 @@
|
|
|
3068
3225
|
}
|
|
3069
3226
|
}
|
|
3070
3227
|
},
|
|
3228
|
+
"410": {
|
|
3229
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
3230
|
+
"headers": {
|
|
3231
|
+
"X-Trace-Id": {
|
|
3232
|
+
"required": false,
|
|
3233
|
+
"description": "Trace ID for correlation",
|
|
3234
|
+
"schema": {
|
|
3235
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
3236
|
+
}
|
|
3237
|
+
},
|
|
3238
|
+
"X-Request-Id": {
|
|
3239
|
+
"required": false,
|
|
3240
|
+
"description": "Request ID for support",
|
|
3241
|
+
"schema": {
|
|
3242
|
+
"type": "string"
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3246
|
+
"content": {
|
|
3247
|
+
"application/problem+json": {
|
|
3248
|
+
"schema": {
|
|
3249
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
},
|
|
3071
3254
|
"500": {
|
|
3072
3255
|
"description": "Internal server error (500)",
|
|
3073
3256
|
"headers": {
|
|
@@ -3167,7 +3350,7 @@
|
|
|
3167
3350
|
"in": "query",
|
|
3168
3351
|
"required": false,
|
|
3169
3352
|
"schema": {
|
|
3170
|
-
"$ref": "#/components/schemas/Workflow.
|
|
3353
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
3171
3354
|
},
|
|
3172
3355
|
"explode": false
|
|
3173
3356
|
},
|
|
@@ -3294,6 +3477,32 @@
|
|
|
3294
3477
|
}
|
|
3295
3478
|
}
|
|
3296
3479
|
},
|
|
3480
|
+
"410": {
|
|
3481
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
3482
|
+
"headers": {
|
|
3483
|
+
"X-Trace-Id": {
|
|
3484
|
+
"required": false,
|
|
3485
|
+
"description": "Trace ID for correlation",
|
|
3486
|
+
"schema": {
|
|
3487
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
3488
|
+
}
|
|
3489
|
+
},
|
|
3490
|
+
"X-Request-Id": {
|
|
3491
|
+
"required": false,
|
|
3492
|
+
"description": "Request ID for support",
|
|
3493
|
+
"schema": {
|
|
3494
|
+
"type": "string"
|
|
3495
|
+
}
|
|
3496
|
+
}
|
|
3497
|
+
},
|
|
3498
|
+
"content": {
|
|
3499
|
+
"application/problem+json": {
|
|
3500
|
+
"schema": {
|
|
3501
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3297
3506
|
"500": {
|
|
3298
3507
|
"description": "Internal server error (500)",
|
|
3299
3508
|
"headers": {
|
|
@@ -3384,8 +3593,9 @@
|
|
|
3384
3593
|
"name": "node_cursor",
|
|
3385
3594
|
"in": "query",
|
|
3386
3595
|
"required": false,
|
|
3596
|
+
"description": "Opaque node continuation. Reuse it unchanged from the preceding snapshot's next_node_cursor; do not parse, construct, or modify it.",
|
|
3387
3597
|
"schema": {
|
|
3388
|
-
"
|
|
3598
|
+
"$ref": "#/components/schemas/Workflow.WorkflowNodeCursor"
|
|
3389
3599
|
},
|
|
3390
3600
|
"explode": false
|
|
3391
3601
|
},
|
|
@@ -3406,8 +3616,9 @@
|
|
|
3406
3616
|
"name": "edge_cursor",
|
|
3407
3617
|
"in": "query",
|
|
3408
3618
|
"required": false,
|
|
3619
|
+
"description": "Opaque edge continuation. Reuse it unchanged from the preceding snapshot's next_edge_cursor; do not parse, construct, or modify it.",
|
|
3409
3620
|
"schema": {
|
|
3410
|
-
"
|
|
3621
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEdgeCursor"
|
|
3411
3622
|
},
|
|
3412
3623
|
"explode": false
|
|
3413
3624
|
},
|
|
@@ -3521,8 +3732,60 @@
|
|
|
3521
3732
|
}
|
|
3522
3733
|
}
|
|
3523
3734
|
},
|
|
3735
|
+
"409": {
|
|
3736
|
+
"description": "Opaque graph cursor is malformed, belongs to another run, or targets a stale generation.",
|
|
3737
|
+
"headers": {
|
|
3738
|
+
"X-Trace-Id": {
|
|
3739
|
+
"required": false,
|
|
3740
|
+
"description": "Trace ID for correlation",
|
|
3741
|
+
"schema": {
|
|
3742
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
3743
|
+
}
|
|
3744
|
+
},
|
|
3745
|
+
"X-Request-Id": {
|
|
3746
|
+
"required": false,
|
|
3747
|
+
"description": "Request ID for support",
|
|
3748
|
+
"schema": {
|
|
3749
|
+
"type": "string"
|
|
3750
|
+
}
|
|
3751
|
+
}
|
|
3752
|
+
},
|
|
3753
|
+
"content": {
|
|
3754
|
+
"application/problem+json": {
|
|
3755
|
+
"schema": {
|
|
3756
|
+
"$ref": "#/components/schemas/Workflow.WorkflowCursorError"
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
},
|
|
3761
|
+
"410": {
|
|
3762
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
3763
|
+
"headers": {
|
|
3764
|
+
"X-Trace-Id": {
|
|
3765
|
+
"required": false,
|
|
3766
|
+
"description": "Trace ID for correlation",
|
|
3767
|
+
"schema": {
|
|
3768
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
3769
|
+
}
|
|
3770
|
+
},
|
|
3771
|
+
"X-Request-Id": {
|
|
3772
|
+
"required": false,
|
|
3773
|
+
"description": "Request ID for support",
|
|
3774
|
+
"schema": {
|
|
3775
|
+
"type": "string"
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3778
|
+
},
|
|
3779
|
+
"content": {
|
|
3780
|
+
"application/problem+json": {
|
|
3781
|
+
"schema": {
|
|
3782
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
},
|
|
3524
3787
|
"500": {
|
|
3525
|
-
"description": "Internal
|
|
3788
|
+
"description": "Workflow projection is non-retryably corrupt or incompatible. Internal storage details are intentionally omitted.",
|
|
3526
3789
|
"headers": {
|
|
3527
3790
|
"X-Trace-Id": {
|
|
3528
3791
|
"required": false,
|
|
@@ -3542,17 +3805,16 @@
|
|
|
3542
3805
|
"content": {
|
|
3543
3806
|
"application/problem+json": {
|
|
3544
3807
|
"schema": {
|
|
3545
|
-
"$ref": "#/components/schemas/
|
|
3808
|
+
"$ref": "#/components/schemas/Workflow.WorkflowProjectionCorruptError"
|
|
3546
3809
|
}
|
|
3547
3810
|
}
|
|
3548
3811
|
}
|
|
3549
3812
|
},
|
|
3550
3813
|
"503": {
|
|
3551
|
-
"description": "
|
|
3814
|
+
"description": "Workflow projection is rebuilding or temporarily unavailable after a retryable storage failure.",
|
|
3552
3815
|
"headers": {
|
|
3553
3816
|
"Retry-After": {
|
|
3554
|
-
"required":
|
|
3555
|
-
"description": "Expected availability time",
|
|
3817
|
+
"required": true,
|
|
3556
3818
|
"schema": {
|
|
3557
3819
|
"type": "integer",
|
|
3558
3820
|
"format": "int32"
|
|
@@ -3576,7 +3838,7 @@
|
|
|
3576
3838
|
"content": {
|
|
3577
3839
|
"application/problem+json": {
|
|
3578
3840
|
"schema": {
|
|
3579
|
-
"$ref": "#/components/schemas/
|
|
3841
|
+
"$ref": "#/components/schemas/Workflow.WorkflowProjectionUnavailableError"
|
|
3580
3842
|
}
|
|
3581
3843
|
}
|
|
3582
3844
|
}
|
|
@@ -3764,8 +4026,8 @@
|
|
|
3764
4026
|
}
|
|
3765
4027
|
}
|
|
3766
4028
|
},
|
|
3767
|
-
"
|
|
3768
|
-
"description": "
|
|
4029
|
+
"410": {
|
|
4030
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections.",
|
|
3769
4031
|
"headers": {
|
|
3770
4032
|
"X-Trace-Id": {
|
|
3771
4033
|
"required": false,
|
|
@@ -3785,20 +4047,46 @@
|
|
|
3785
4047
|
"content": {
|
|
3786
4048
|
"application/problem+json": {
|
|
3787
4049
|
"schema": {
|
|
3788
|
-
"$ref": "#/components/schemas/
|
|
4050
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunDeletedError"
|
|
3789
4051
|
}
|
|
3790
4052
|
}
|
|
3791
4053
|
}
|
|
3792
4054
|
},
|
|
3793
|
-
"
|
|
3794
|
-
"description": "
|
|
4055
|
+
"500": {
|
|
4056
|
+
"description": "Internal server error (500)",
|
|
3795
4057
|
"headers": {
|
|
3796
|
-
"
|
|
4058
|
+
"X-Trace-Id": {
|
|
3797
4059
|
"required": false,
|
|
3798
|
-
"description": "
|
|
4060
|
+
"description": "Trace ID for correlation",
|
|
3799
4061
|
"schema": {
|
|
3800
|
-
"
|
|
3801
|
-
|
|
4062
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
4063
|
+
}
|
|
4064
|
+
},
|
|
4065
|
+
"X-Request-Id": {
|
|
4066
|
+
"required": false,
|
|
4067
|
+
"description": "Request ID for support",
|
|
4068
|
+
"schema": {
|
|
4069
|
+
"type": "string"
|
|
4070
|
+
}
|
|
4071
|
+
}
|
|
4072
|
+
},
|
|
4073
|
+
"content": {
|
|
4074
|
+
"application/problem+json": {
|
|
4075
|
+
"schema": {
|
|
4076
|
+
"$ref": "#/components/schemas/Common.Errors.InternalServerError"
|
|
4077
|
+
}
|
|
4078
|
+
}
|
|
4079
|
+
}
|
|
4080
|
+
},
|
|
4081
|
+
"503": {
|
|
4082
|
+
"description": "Service unavailable (503)",
|
|
4083
|
+
"headers": {
|
|
4084
|
+
"Retry-After": {
|
|
4085
|
+
"required": false,
|
|
4086
|
+
"description": "Expected availability time",
|
|
4087
|
+
"schema": {
|
|
4088
|
+
"type": "integer",
|
|
4089
|
+
"format": "int32"
|
|
3802
4090
|
}
|
|
3803
4091
|
},
|
|
3804
4092
|
"X-Trace-Id": {
|
|
@@ -15625,6 +15913,376 @@
|
|
|
15625
15913
|
"maxLength": 256,
|
|
15626
15914
|
"description": "User identifier (pseudonymized for privacy)"
|
|
15627
15915
|
},
|
|
15916
|
+
"Diagnostics.AgentDiagnosticCheckId": {
|
|
15917
|
+
"type": "string",
|
|
15918
|
+
"minLength": 1,
|
|
15919
|
+
"maxLength": 128,
|
|
15920
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
15921
|
+
"description": "Stable machine identifier of one diagnostic check. This identifier is a value and must never be promoted to a telemetry key."
|
|
15922
|
+
},
|
|
15923
|
+
"Diagnostics.AgentDiagnosticCheckOutcome": {
|
|
15924
|
+
"type": "string",
|
|
15925
|
+
"enum": [
|
|
15926
|
+
"pass",
|
|
15927
|
+
"fail",
|
|
15928
|
+
"unknown"
|
|
15929
|
+
],
|
|
15930
|
+
"description": "Machine-computed result of one diagnostic check. For exists, an absent or null actual variable produces fail. For every other operator, missing required operands produce unknown; incompatible operand types also produce unknown. not_evaluated is deliberately not a check outcome."
|
|
15931
|
+
},
|
|
15932
|
+
"Diagnostics.AgentDiagnosticCheckResult": {
|
|
15933
|
+
"type": "object",
|
|
15934
|
+
"required": [
|
|
15935
|
+
"check_id",
|
|
15936
|
+
"operator",
|
|
15937
|
+
"actual",
|
|
15938
|
+
"outcome"
|
|
15939
|
+
],
|
|
15940
|
+
"properties": {
|
|
15941
|
+
"check_id": {
|
|
15942
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckId"
|
|
15943
|
+
},
|
|
15944
|
+
"operator": {
|
|
15945
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOperator"
|
|
15946
|
+
},
|
|
15947
|
+
"actual": {
|
|
15948
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
15949
|
+
},
|
|
15950
|
+
"expected": {
|
|
15951
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
15952
|
+
},
|
|
15953
|
+
"expected_type": {
|
|
15954
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticValueType"
|
|
15955
|
+
},
|
|
15956
|
+
"outcome": {
|
|
15957
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckOutcome"
|
|
15958
|
+
}
|
|
15959
|
+
},
|
|
15960
|
+
"unevaluatedProperties": {
|
|
15961
|
+
"not": {}
|
|
15962
|
+
},
|
|
15963
|
+
"description": "One structural, machine-computed check result. actual and expected reference variable names only. For equal, not_equal, contains, less_than, and greater_than, expected is required and expected_type is omitted. For exists, both are omitted and an absent or null actual variable produces fail. For type_is, expected is omitted and expected_type is required. For operators other than exists, missing required operands produce unknown; incompatible operand types also produce unknown. not_evaluated is reserved for the snapshot aggregate when checks is empty and is not emitted for an individual check."
|
|
15964
|
+
},
|
|
15965
|
+
"Diagnostics.AgentDiagnosticClassification": {
|
|
15966
|
+
"type": "string",
|
|
15967
|
+
"enum": [
|
|
15968
|
+
"public",
|
|
15969
|
+
"internal",
|
|
15970
|
+
"sensitive",
|
|
15971
|
+
"secret"
|
|
15972
|
+
],
|
|
15973
|
+
"description": "Data-handling classification assigned before a diagnostic variable is captured."
|
|
15974
|
+
},
|
|
15975
|
+
"Diagnostics.AgentDiagnosticExtensionId": {
|
|
15976
|
+
"type": "string",
|
|
15977
|
+
"enum": [
|
|
15978
|
+
"qyl.agent.diagnostic.snapshot"
|
|
15979
|
+
],
|
|
15980
|
+
"description": "The versioned extension discriminator for a protected agent diagnostic snapshot."
|
|
15981
|
+
},
|
|
15982
|
+
"Diagnostics.AgentDiagnosticFormatVersion": {
|
|
15983
|
+
"type": "integer",
|
|
15984
|
+
"format": "int32",
|
|
15985
|
+
"minimum": 1,
|
|
15986
|
+
"maximum": 1,
|
|
15987
|
+
"description": "Wire-format version of an agent diagnostic snapshot. Version 1 is the only accepted format."
|
|
15988
|
+
},
|
|
15989
|
+
"Diagnostics.AgentDiagnosticOperator": {
|
|
15990
|
+
"type": "string",
|
|
15991
|
+
"enum": [
|
|
15992
|
+
"equal",
|
|
15993
|
+
"not_equal",
|
|
15994
|
+
"exists",
|
|
15995
|
+
"type_is",
|
|
15996
|
+
"contains",
|
|
15997
|
+
"less_than",
|
|
15998
|
+
"greater_than"
|
|
15999
|
+
],
|
|
16000
|
+
"description": "Closed operation evaluated by a diagnostic check. Checks are structural and never carry expression strings."
|
|
16001
|
+
},
|
|
16002
|
+
"Diagnostics.AgentDiagnosticOutcome": {
|
|
16003
|
+
"type": "string",
|
|
16004
|
+
"enum": [
|
|
16005
|
+
"pass",
|
|
16006
|
+
"fail",
|
|
16007
|
+
"unknown",
|
|
16008
|
+
"not_evaluated"
|
|
16009
|
+
],
|
|
16010
|
+
"description": "Machine-computed aggregate result of a diagnostic snapshot. unknown reports one or more unknown check outcomes. not_evaluated is reserved for a snapshot whose checks array is empty."
|
|
16011
|
+
},
|
|
16012
|
+
"Diagnostics.AgentDiagnosticPhase": {
|
|
16013
|
+
"type": "string",
|
|
16014
|
+
"enum": [
|
|
16015
|
+
"input",
|
|
16016
|
+
"output",
|
|
16017
|
+
"error",
|
|
16018
|
+
"checkpoint"
|
|
16019
|
+
],
|
|
16020
|
+
"description": "Execution boundary at which the state frame was captured."
|
|
16021
|
+
},
|
|
16022
|
+
"Diagnostics.AgentDiagnosticProbeId": {
|
|
16023
|
+
"type": "string",
|
|
16024
|
+
"minLength": 1,
|
|
16025
|
+
"maxLength": 128,
|
|
16026
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
16027
|
+
"description": "Stable machine identifier of the probe that captured a diagnostic snapshot. This identifier is a value and must never be promoted to a telemetry key."
|
|
16028
|
+
},
|
|
16029
|
+
"Diagnostics.AgentDiagnosticSnapshot": {
|
|
16030
|
+
"type": "object",
|
|
16031
|
+
"required": [
|
|
16032
|
+
"extension_id",
|
|
16033
|
+
"format_version",
|
|
16034
|
+
"snapshot_id",
|
|
16035
|
+
"capture_nonce",
|
|
16036
|
+
"probe_id",
|
|
16037
|
+
"phase",
|
|
16038
|
+
"variables",
|
|
16039
|
+
"checks",
|
|
16040
|
+
"outcome"
|
|
16041
|
+
],
|
|
16042
|
+
"properties": {
|
|
16043
|
+
"extension_id": {
|
|
16044
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticExtensionId"
|
|
16045
|
+
},
|
|
16046
|
+
"format_version": {
|
|
16047
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticFormatVersion"
|
|
16048
|
+
},
|
|
16049
|
+
"snapshot_id": {
|
|
16050
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
16051
|
+
},
|
|
16052
|
+
"capture_nonce": {
|
|
16053
|
+
"type": "string",
|
|
16054
|
+
"minLength": 32,
|
|
16055
|
+
"maxLength": 32,
|
|
16056
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
16057
|
+
"description": "Fresh 128-bit random nonce encoded as exactly 32 lowercase hexadecimal characters. It prevents equality inference across otherwise identical protected captures and must not be used as an identity key."
|
|
16058
|
+
},
|
|
16059
|
+
"probe_id": {
|
|
16060
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticProbeId"
|
|
16061
|
+
},
|
|
16062
|
+
"phase": {
|
|
16063
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticPhase"
|
|
16064
|
+
},
|
|
16065
|
+
"variables": {
|
|
16066
|
+
"type": "array",
|
|
16067
|
+
"items": {
|
|
16068
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariable"
|
|
16069
|
+
},
|
|
16070
|
+
"maxItems": 64
|
|
16071
|
+
},
|
|
16072
|
+
"checks": {
|
|
16073
|
+
"type": "array",
|
|
16074
|
+
"items": {
|
|
16075
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckResult"
|
|
16076
|
+
},
|
|
16077
|
+
"maxItems": 64
|
|
16078
|
+
},
|
|
16079
|
+
"outcome": {
|
|
16080
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOutcome"
|
|
16081
|
+
}
|
|
16082
|
+
},
|
|
16083
|
+
"unevaluatedProperties": {
|
|
16084
|
+
"not": {}
|
|
16085
|
+
},
|
|
16086
|
+
"description": "Version 1 protected JSON state frame captured for an artificial-intelligence agent. extension_id and format_version are its schema identity. capture_nonce is fresh entropy and is not a stable identifier. Variables and checks are bounded, dynamic names remain values, and no human-oriented message or expression text is part of the contract. Overall outcome is not_evaluated only when checks is empty. For a non-empty checks array it is fail if any check fails, otherwise unknown if any check is unknown, otherwise pass."
|
|
16087
|
+
},
|
|
16088
|
+
"Diagnostics.AgentDiagnosticSnapshotId": {
|
|
16089
|
+
"type": "string",
|
|
16090
|
+
"minLength": 1,
|
|
16091
|
+
"maxLength": 128,
|
|
16092
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
16093
|
+
"description": "Stable machine identifier of one diagnostic snapshot. This identifier is a value and must never be promoted to a telemetry key."
|
|
16094
|
+
},
|
|
16095
|
+
"Diagnostics.AgentDiagnosticSnapshotSummary": {
|
|
16096
|
+
"type": "object",
|
|
16097
|
+
"required": [
|
|
16098
|
+
"extension_id",
|
|
16099
|
+
"format_version",
|
|
16100
|
+
"snapshot_id",
|
|
16101
|
+
"probe_id",
|
|
16102
|
+
"phase",
|
|
16103
|
+
"outcome",
|
|
16104
|
+
"variable_count",
|
|
16105
|
+
"check_count",
|
|
16106
|
+
"failed_check_count",
|
|
16107
|
+
"content_ref"
|
|
16108
|
+
],
|
|
16109
|
+
"properties": {
|
|
16110
|
+
"extension_id": {
|
|
16111
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticExtensionId"
|
|
16112
|
+
},
|
|
16113
|
+
"format_version": {
|
|
16114
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticFormatVersion"
|
|
16115
|
+
},
|
|
16116
|
+
"snapshot_id": {
|
|
16117
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
16118
|
+
},
|
|
16119
|
+
"probe_id": {
|
|
16120
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticProbeId"
|
|
16121
|
+
},
|
|
16122
|
+
"phase": {
|
|
16123
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticPhase"
|
|
16124
|
+
},
|
|
16125
|
+
"outcome": {
|
|
16126
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOutcome"
|
|
16127
|
+
},
|
|
16128
|
+
"variable_count": {
|
|
16129
|
+
"type": "integer",
|
|
16130
|
+
"format": "int32",
|
|
16131
|
+
"minimum": 0,
|
|
16132
|
+
"maximum": 64
|
|
16133
|
+
},
|
|
16134
|
+
"check_count": {
|
|
16135
|
+
"type": "integer",
|
|
16136
|
+
"format": "int32",
|
|
16137
|
+
"minimum": 0,
|
|
16138
|
+
"maximum": 64
|
|
16139
|
+
},
|
|
16140
|
+
"failed_check_count": {
|
|
16141
|
+
"type": "integer",
|
|
16142
|
+
"format": "int32",
|
|
16143
|
+
"minimum": 0,
|
|
16144
|
+
"maximum": 64
|
|
16145
|
+
},
|
|
16146
|
+
"content_ref": {
|
|
16147
|
+
"$ref": "#/components/schemas/Workflow.WorkflowContentRef"
|
|
16148
|
+
}
|
|
16149
|
+
},
|
|
16150
|
+
"unevaluatedProperties": {
|
|
16151
|
+
"not": {}
|
|
16152
|
+
},
|
|
16153
|
+
"description": "Value-free event-data projection for a protected agent diagnostic snapshot. Encode this shape in WorkflowEventAppend.data on the existing content_captured event kind. content_ref must also occur in that event's content_refs and identifies UTF-8 JSON conforming to AgentDiagnosticSnapshot. Counts are computed from the referenced snapshot; failed_check_count counts checks whose outcome is fail. No variable names, values, human messages, expressions, nonce, or classifications may appear in this summary."
|
|
16154
|
+
},
|
|
16155
|
+
"Diagnostics.AgentDiagnosticValueType": {
|
|
16156
|
+
"type": "string",
|
|
16157
|
+
"enum": [
|
|
16158
|
+
"null",
|
|
16159
|
+
"boolean",
|
|
16160
|
+
"integer",
|
|
16161
|
+
"number",
|
|
16162
|
+
"string",
|
|
16163
|
+
"json"
|
|
16164
|
+
],
|
|
16165
|
+
"description": "Declared JSON-level type of a diagnostic variable."
|
|
16166
|
+
},
|
|
16167
|
+
"Diagnostics.AgentDiagnosticVariable": {
|
|
16168
|
+
"anyOf": [
|
|
16169
|
+
{
|
|
16170
|
+
"$ref": "#/components/schemas/Diagnostics.CapturedAgentDiagnosticVariable"
|
|
16171
|
+
},
|
|
16172
|
+
{
|
|
16173
|
+
"$ref": "#/components/schemas/Diagnostics.RedactedAgentDiagnosticVariable"
|
|
16174
|
+
},
|
|
16175
|
+
{
|
|
16176
|
+
"$ref": "#/components/schemas/Diagnostics.OmittedAgentDiagnosticVariable"
|
|
16177
|
+
}
|
|
16178
|
+
],
|
|
16179
|
+
"description": "One dynamically named variable in a protected diagnostic snapshot. Capture is the discriminator and makes value presence unambiguous."
|
|
16180
|
+
},
|
|
16181
|
+
"Diagnostics.AgentDiagnosticVariableBase": {
|
|
16182
|
+
"type": "object",
|
|
16183
|
+
"required": [
|
|
16184
|
+
"name",
|
|
16185
|
+
"type",
|
|
16186
|
+
"classification"
|
|
16187
|
+
],
|
|
16188
|
+
"properties": {
|
|
16189
|
+
"name": {
|
|
16190
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
16191
|
+
},
|
|
16192
|
+
"type": {
|
|
16193
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticValueType"
|
|
16194
|
+
},
|
|
16195
|
+
"classification": {
|
|
16196
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticClassification"
|
|
16197
|
+
}
|
|
16198
|
+
},
|
|
16199
|
+
"description": "Common identity and policy fields for one dynamic diagnostic variable."
|
|
16200
|
+
},
|
|
16201
|
+
"Diagnostics.AgentDiagnosticVariableName": {
|
|
16202
|
+
"type": "string",
|
|
16203
|
+
"minLength": 1,
|
|
16204
|
+
"maxLength": 128,
|
|
16205
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
16206
|
+
"description": "Stable machine name of one dynamically captured variable. Names are data values, never telemetry attribute keys, event names, or span names."
|
|
16207
|
+
},
|
|
16208
|
+
"Diagnostics.CapturedAgentDiagnosticVariable": {
|
|
16209
|
+
"type": "object",
|
|
16210
|
+
"required": [
|
|
16211
|
+
"capture",
|
|
16212
|
+
"value"
|
|
16213
|
+
],
|
|
16214
|
+
"properties": {
|
|
16215
|
+
"capture": {
|
|
16216
|
+
"type": "string",
|
|
16217
|
+
"enum": [
|
|
16218
|
+
"value"
|
|
16219
|
+
]
|
|
16220
|
+
},
|
|
16221
|
+
"value": {
|
|
16222
|
+
"anyOf": [
|
|
16223
|
+
{},
|
|
16224
|
+
{
|
|
16225
|
+
"type": "null"
|
|
16226
|
+
}
|
|
16227
|
+
]
|
|
16228
|
+
}
|
|
16229
|
+
},
|
|
16230
|
+
"unevaluatedProperties": {
|
|
16231
|
+
"not": {}
|
|
16232
|
+
},
|
|
16233
|
+
"allOf": [
|
|
16234
|
+
{
|
|
16235
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableBase"
|
|
16236
|
+
}
|
|
16237
|
+
],
|
|
16238
|
+
"description": "A variable whose typed JSON value is present in protected snapshot content. The value is required and must match type: null is JSON null; boolean is a JSON boolean; integer is a signed 64-bit JSON integer; number is a finite JSON number; string is a JSON string; json is a JSON object or array. The protected content boundary, not this model, controls access to all captured values."
|
|
16239
|
+
},
|
|
16240
|
+
"Diagnostics.OmittedAgentDiagnosticVariable": {
|
|
16241
|
+
"type": "object",
|
|
16242
|
+
"required": [
|
|
16243
|
+
"capture"
|
|
16244
|
+
],
|
|
16245
|
+
"properties": {
|
|
16246
|
+
"capture": {
|
|
16247
|
+
"type": "string",
|
|
16248
|
+
"enum": [
|
|
16249
|
+
"omitted"
|
|
16250
|
+
]
|
|
16251
|
+
}
|
|
16252
|
+
},
|
|
16253
|
+
"unevaluatedProperties": {
|
|
16254
|
+
"not": {}
|
|
16255
|
+
},
|
|
16256
|
+
"allOf": [
|
|
16257
|
+
{
|
|
16258
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableBase"
|
|
16259
|
+
}
|
|
16260
|
+
],
|
|
16261
|
+
"description": "A variable whose value was unavailable or deliberately not captured. A value field is forbidden."
|
|
16262
|
+
},
|
|
16263
|
+
"Diagnostics.RedactedAgentDiagnosticVariable": {
|
|
16264
|
+
"type": "object",
|
|
16265
|
+
"required": [
|
|
16266
|
+
"capture"
|
|
16267
|
+
],
|
|
16268
|
+
"properties": {
|
|
16269
|
+
"capture": {
|
|
16270
|
+
"type": "string",
|
|
16271
|
+
"enum": [
|
|
16272
|
+
"redacted"
|
|
16273
|
+
]
|
|
16274
|
+
}
|
|
16275
|
+
},
|
|
16276
|
+
"unevaluatedProperties": {
|
|
16277
|
+
"not": {}
|
|
16278
|
+
},
|
|
16279
|
+
"allOf": [
|
|
16280
|
+
{
|
|
16281
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableBase"
|
|
16282
|
+
}
|
|
16283
|
+
],
|
|
16284
|
+
"description": "A variable observed by the probe whose value was replaced by policy. A value field is forbidden."
|
|
16285
|
+
},
|
|
15628
16286
|
"Domains.Observe.Session.DeviceType": {
|
|
15629
16287
|
"type": "string",
|
|
15630
16288
|
"enum": [
|
|
@@ -16276,7 +16934,8 @@
|
|
|
16276
16934
|
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
16277
16935
|
},
|
|
16278
16936
|
"node_cursor": {
|
|
16279
|
-
"
|
|
16937
|
+
"$ref": "#/components/schemas/Workflow.WorkflowNodeCursor",
|
|
16938
|
+
"description": "Opaque node continuation. Reuse it unchanged from the preceding snapshot's next_node_cursor; do not parse, construct, or modify it."
|
|
16280
16939
|
},
|
|
16281
16940
|
"node_limit": {
|
|
16282
16941
|
"type": "integer",
|
|
@@ -16286,7 +16945,8 @@
|
|
|
16286
16945
|
"default": 250
|
|
16287
16946
|
},
|
|
16288
16947
|
"edge_cursor": {
|
|
16289
|
-
"
|
|
16948
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEdgeCursor",
|
|
16949
|
+
"description": "Opaque edge continuation. Reuse it unchanged from the preceding snapshot's next_edge_cursor; do not parse, construct, or modify it."
|
|
16290
16950
|
},
|
|
16291
16951
|
"edge_limit": {
|
|
16292
16952
|
"type": "integer",
|
|
@@ -16420,7 +17080,7 @@
|
|
|
16420
17080
|
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
16421
17081
|
},
|
|
16422
17082
|
"after_sequence": {
|
|
16423
|
-
"$ref": "#/components/schemas/Workflow.
|
|
17083
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
16424
17084
|
},
|
|
16425
17085
|
"limit": {
|
|
16426
17086
|
"type": "integer",
|
|
@@ -16437,7 +17097,8 @@
|
|
|
16437
17097
|
"default": 20000
|
|
16438
17098
|
},
|
|
16439
17099
|
"node_cursor": {
|
|
16440
|
-
"
|
|
17100
|
+
"$ref": "#/components/schemas/Workflow.WorkflowNodeCursor",
|
|
17101
|
+
"description": "Opaque node continuation. Reuse it unchanged from the preceding snapshot's next_node_cursor; do not parse, construct, or modify it."
|
|
16441
17102
|
},
|
|
16442
17103
|
"node_limit": {
|
|
16443
17104
|
"type": "integer",
|
|
@@ -16447,7 +17108,8 @@
|
|
|
16447
17108
|
"default": 250
|
|
16448
17109
|
},
|
|
16449
17110
|
"edge_cursor": {
|
|
16450
|
-
"
|
|
17111
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEdgeCursor",
|
|
17112
|
+
"description": "Opaque edge continuation. Reuse it unchanged from the preceding snapshot's next_edge_cursor; do not parse, construct, or modify it."
|
|
16451
17113
|
},
|
|
16452
17114
|
"edge_limit": {
|
|
16453
17115
|
"type": "integer",
|
|
@@ -16491,6 +17153,42 @@
|
|
|
16491
17153
|
},
|
|
16492
17154
|
"description": "Structured output for the app-only fetch_workflow_graph_updates tool."
|
|
16493
17155
|
},
|
|
17156
|
+
"Mcp.Tools.GetActiveWorkflowRunInput": {
|
|
17157
|
+
"type": "object",
|
|
17158
|
+
"unevaluatedProperties": {
|
|
17159
|
+
"not": {}
|
|
17160
|
+
},
|
|
17161
|
+
"description": "Input for get_active_workflow_run."
|
|
17162
|
+
},
|
|
17163
|
+
"Mcp.Tools.GetActiveWorkflowRunOutput": {
|
|
17164
|
+
"type": "object",
|
|
17165
|
+
"required": [
|
|
17166
|
+
"active",
|
|
17167
|
+
"live_controls_available"
|
|
17168
|
+
],
|
|
17169
|
+
"properties": {
|
|
17170
|
+
"active": {
|
|
17171
|
+
"type": "boolean"
|
|
17172
|
+
},
|
|
17173
|
+
"live_controls_available": {
|
|
17174
|
+
"type": "boolean"
|
|
17175
|
+
},
|
|
17176
|
+
"run_id": {
|
|
17177
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
17178
|
+
},
|
|
17179
|
+
"thread_id": {
|
|
17180
|
+
"type": "string"
|
|
17181
|
+
},
|
|
17182
|
+
"started_at": {
|
|
17183
|
+
"type": "string",
|
|
17184
|
+
"format": "date-time"
|
|
17185
|
+
}
|
|
17186
|
+
},
|
|
17187
|
+
"unevaluatedProperties": {
|
|
17188
|
+
"not": {}
|
|
17189
|
+
},
|
|
17190
|
+
"description": "Structured output for get_active_workflow_run."
|
|
17191
|
+
},
|
|
16494
17192
|
"Mcp.Tools.GetTraceInput": {
|
|
16495
17193
|
"type": "object",
|
|
16496
17194
|
"required": [
|
|
@@ -16535,7 +17233,8 @@
|
|
|
16535
17233
|
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
16536
17234
|
},
|
|
16537
17235
|
"node_cursor": {
|
|
16538
|
-
"
|
|
17236
|
+
"$ref": "#/components/schemas/Workflow.WorkflowNodeCursor",
|
|
17237
|
+
"description": "Opaque node continuation. Reuse it unchanged from the preceding snapshot's next_node_cursor; do not parse, construct, or modify it."
|
|
16539
17238
|
},
|
|
16540
17239
|
"node_limit": {
|
|
16541
17240
|
"type": "integer",
|
|
@@ -16545,7 +17244,8 @@
|
|
|
16545
17244
|
"default": 250
|
|
16546
17245
|
},
|
|
16547
17246
|
"edge_cursor": {
|
|
16548
|
-
"
|
|
17247
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEdgeCursor",
|
|
17248
|
+
"description": "Opaque edge continuation. Reuse it unchanged from the preceding snapshot's next_edge_cursor; do not parse, construct, or modify it."
|
|
16549
17249
|
},
|
|
16550
17250
|
"edge_limit": {
|
|
16551
17251
|
"type": "integer",
|
|
@@ -16579,6 +17279,58 @@
|
|
|
16579
17279
|
},
|
|
16580
17280
|
"description": "Structured output for get_workflow_graph."
|
|
16581
17281
|
},
|
|
17282
|
+
"Mcp.Tools.InspectWorkflowEventsInput": {
|
|
17283
|
+
"type": "object",
|
|
17284
|
+
"required": [
|
|
17285
|
+
"run_id",
|
|
17286
|
+
"after_sequence"
|
|
17287
|
+
],
|
|
17288
|
+
"properties": {
|
|
17289
|
+
"run_id": {
|
|
17290
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
17291
|
+
},
|
|
17292
|
+
"after_sequence": {
|
|
17293
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
17294
|
+
},
|
|
17295
|
+
"limit": {
|
|
17296
|
+
"type": "integer",
|
|
17297
|
+
"format": "int32",
|
|
17298
|
+
"minimum": 1,
|
|
17299
|
+
"maximum": 1000,
|
|
17300
|
+
"default": 250
|
|
17301
|
+
},
|
|
17302
|
+
"content_ref": {
|
|
17303
|
+
"$ref": "#/components/schemas/Workflow.WorkflowContentRef",
|
|
17304
|
+
"description": "Optional captured payload to retrieve lazily for the selected run."
|
|
17305
|
+
}
|
|
17306
|
+
},
|
|
17307
|
+
"unevaluatedProperties": {
|
|
17308
|
+
"not": {}
|
|
17309
|
+
},
|
|
17310
|
+
"description": "Input for inspect_workflow_events."
|
|
17311
|
+
},
|
|
17312
|
+
"Mcp.Tools.InspectWorkflowEventsOutput": {
|
|
17313
|
+
"type": "object",
|
|
17314
|
+
"required": [
|
|
17315
|
+
"page",
|
|
17316
|
+
"mode"
|
|
17317
|
+
],
|
|
17318
|
+
"properties": {
|
|
17319
|
+
"page": {
|
|
17320
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEventPage"
|
|
17321
|
+
},
|
|
17322
|
+
"content": {
|
|
17323
|
+
"$ref": "#/components/schemas/Workflow.WorkflowContent"
|
|
17324
|
+
},
|
|
17325
|
+
"mode": {
|
|
17326
|
+
"$ref": "#/components/schemas/Mcp.Tools.McpDataMode"
|
|
17327
|
+
}
|
|
17328
|
+
},
|
|
17329
|
+
"unevaluatedProperties": {
|
|
17330
|
+
"not": {}
|
|
17331
|
+
},
|
|
17332
|
+
"description": "Structured output for inspect_workflow_events."
|
|
17333
|
+
},
|
|
16582
17334
|
"Mcp.Tools.ListSessionsInput": {
|
|
16583
17335
|
"type": "object",
|
|
16584
17336
|
"properties": {
|
|
@@ -16665,7 +17417,7 @@
|
|
|
16665
17417
|
"$ref": "#/components/schemas/Workflow.WorkflowRunStatus"
|
|
16666
17418
|
},
|
|
16667
17419
|
"cursor": {
|
|
16668
|
-
"
|
|
17420
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunCursor"
|
|
16669
17421
|
},
|
|
16670
17422
|
"limit": {
|
|
16671
17423
|
"type": "integer",
|
|
@@ -16695,7 +17447,7 @@
|
|
|
16695
17447
|
}
|
|
16696
17448
|
},
|
|
16697
17449
|
"next_cursor": {
|
|
16698
|
-
"
|
|
17450
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunCursor"
|
|
16699
17451
|
},
|
|
16700
17452
|
"has_more": {
|
|
16701
17453
|
"type": "boolean"
|
|
@@ -16899,38 +17651,163 @@
|
|
|
16899
17651
|
],
|
|
16900
17652
|
"properties": {
|
|
16901
17653
|
"name": {
|
|
16902
|
-
"type": "string"
|
|
16903
|
-
},
|
|
16904
|
-
"requests": {
|
|
16905
|
-
"type": "integer",
|
|
16906
|
-
"format": "int32",
|
|
16907
|
-
"minimum": 0
|
|
16908
|
-
},
|
|
16909
|
-
"errors": {
|
|
16910
|
-
"type": "integer",
|
|
16911
|
-
"format": "int32",
|
|
16912
|
-
"minimum": 0
|
|
16913
|
-
},
|
|
16914
|
-
"error_rate": {
|
|
16915
|
-
"type": "number",
|
|
16916
|
-
"format": "double",
|
|
16917
|
-
"minimum": 0,
|
|
16918
|
-
"maximum": 1
|
|
17654
|
+
"type": "string"
|
|
17655
|
+
},
|
|
17656
|
+
"requests": {
|
|
17657
|
+
"type": "integer",
|
|
17658
|
+
"format": "int32",
|
|
17659
|
+
"minimum": 0
|
|
17660
|
+
},
|
|
17661
|
+
"errors": {
|
|
17662
|
+
"type": "integer",
|
|
17663
|
+
"format": "int32",
|
|
17664
|
+
"minimum": 0
|
|
17665
|
+
},
|
|
17666
|
+
"error_rate": {
|
|
17667
|
+
"type": "number",
|
|
17668
|
+
"format": "double",
|
|
17669
|
+
"minimum": 0,
|
|
17670
|
+
"maximum": 1
|
|
17671
|
+
},
|
|
17672
|
+
"avg_ms": {
|
|
17673
|
+
"type": "number",
|
|
17674
|
+
"format": "double",
|
|
17675
|
+
"minimum": 0
|
|
17676
|
+
},
|
|
17677
|
+
"p95_ms": {
|
|
17678
|
+
"type": "number",
|
|
17679
|
+
"format": "double",
|
|
17680
|
+
"minimum": 0
|
|
17681
|
+
}
|
|
17682
|
+
},
|
|
17683
|
+
"unevaluatedProperties": {
|
|
17684
|
+
"not": {}
|
|
17685
|
+
}
|
|
17686
|
+
},
|
|
17687
|
+
"Mcp.Tools.RecordDiagnosticSnapshotCheckInput": {
|
|
17688
|
+
"type": "object",
|
|
17689
|
+
"required": [
|
|
17690
|
+
"check_id",
|
|
17691
|
+
"operator",
|
|
17692
|
+
"actual"
|
|
17693
|
+
],
|
|
17694
|
+
"properties": {
|
|
17695
|
+
"check_id": {
|
|
17696
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckId"
|
|
17697
|
+
},
|
|
17698
|
+
"operator": {
|
|
17699
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOperator"
|
|
17700
|
+
},
|
|
17701
|
+
"actual": {
|
|
17702
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
17703
|
+
},
|
|
17704
|
+
"expected": {
|
|
17705
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
17706
|
+
},
|
|
17707
|
+
"expected_type": {
|
|
17708
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticValueType"
|
|
17709
|
+
}
|
|
17710
|
+
},
|
|
17711
|
+
"unevaluatedProperties": {
|
|
17712
|
+
"not": {}
|
|
17713
|
+
},
|
|
17714
|
+
"description": "One structural diagnostic check submitted for evaluation. equal, not_equal, contains, less_than, and greater_than require expected and forbid expected_type; type_is requires expected_type and forbids expected; exists forbids both."
|
|
17715
|
+
},
|
|
17716
|
+
"Mcp.Tools.RecordDiagnosticSnapshotInput": {
|
|
17717
|
+
"type": "object",
|
|
17718
|
+
"required": [
|
|
17719
|
+
"snapshot_id",
|
|
17720
|
+
"probe_id",
|
|
17721
|
+
"phase",
|
|
17722
|
+
"variables"
|
|
17723
|
+
],
|
|
17724
|
+
"properties": {
|
|
17725
|
+
"snapshot_id": {
|
|
17726
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
17727
|
+
},
|
|
17728
|
+
"probe_id": {
|
|
17729
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticProbeId"
|
|
17730
|
+
},
|
|
17731
|
+
"phase": {
|
|
17732
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticPhase"
|
|
17733
|
+
},
|
|
17734
|
+
"variables": {
|
|
17735
|
+
"type": "array",
|
|
17736
|
+
"items": {
|
|
17737
|
+
"$ref": "#/components/schemas/Mcp.Tools.RecordDiagnosticSnapshotVariableInput"
|
|
17738
|
+
},
|
|
17739
|
+
"maxItems": 64
|
|
17740
|
+
},
|
|
17741
|
+
"checks": {
|
|
17742
|
+
"type": "array",
|
|
17743
|
+
"items": {
|
|
17744
|
+
"$ref": "#/components/schemas/Mcp.Tools.RecordDiagnosticSnapshotCheckInput"
|
|
17745
|
+
},
|
|
17746
|
+
"maxItems": 64,
|
|
17747
|
+
"default": []
|
|
17748
|
+
}
|
|
17749
|
+
},
|
|
17750
|
+
"unevaluatedProperties": {
|
|
17751
|
+
"not": {}
|
|
17752
|
+
},
|
|
17753
|
+
"description": "Input for record_diagnostic_snapshot. Reuse the same snapshot_id and semantic payload when retrying; changing the payload under an existing snapshot_id is a conflict."
|
|
17754
|
+
},
|
|
17755
|
+
"Mcp.Tools.RecordDiagnosticSnapshotOutput": {
|
|
17756
|
+
"type": "object",
|
|
17757
|
+
"required": [
|
|
17758
|
+
"recorded",
|
|
17759
|
+
"code",
|
|
17760
|
+
"snapshot_id"
|
|
17761
|
+
],
|
|
17762
|
+
"properties": {
|
|
17763
|
+
"recorded": {
|
|
17764
|
+
"type": "boolean"
|
|
17765
|
+
},
|
|
17766
|
+
"code": {
|
|
17767
|
+
"type": "string"
|
|
17768
|
+
},
|
|
17769
|
+
"snapshot_id": {
|
|
17770
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
17771
|
+
},
|
|
17772
|
+
"event_id": {
|
|
17773
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEventId"
|
|
17774
|
+
},
|
|
17775
|
+
"field": {
|
|
17776
|
+
"type": "string"
|
|
17777
|
+
}
|
|
17778
|
+
},
|
|
17779
|
+
"unevaluatedProperties": {
|
|
17780
|
+
"not": {}
|
|
17781
|
+
},
|
|
17782
|
+
"description": "Structured output for record_diagnostic_snapshot."
|
|
17783
|
+
},
|
|
17784
|
+
"Mcp.Tools.RecordDiagnosticSnapshotVariableInput": {
|
|
17785
|
+
"type": "object",
|
|
17786
|
+
"required": [
|
|
17787
|
+
"name",
|
|
17788
|
+
"classification",
|
|
17789
|
+
"value"
|
|
17790
|
+
],
|
|
17791
|
+
"properties": {
|
|
17792
|
+
"name": {
|
|
17793
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
16919
17794
|
},
|
|
16920
|
-
"
|
|
16921
|
-
"
|
|
16922
|
-
"format": "double",
|
|
16923
|
-
"minimum": 0
|
|
17795
|
+
"classification": {
|
|
17796
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticClassification"
|
|
16924
17797
|
},
|
|
16925
|
-
"
|
|
16926
|
-
"
|
|
16927
|
-
|
|
16928
|
-
|
|
17798
|
+
"value": {
|
|
17799
|
+
"anyOf": [
|
|
17800
|
+
{},
|
|
17801
|
+
{
|
|
17802
|
+
"type": "null"
|
|
17803
|
+
}
|
|
17804
|
+
]
|
|
16929
17805
|
}
|
|
16930
17806
|
},
|
|
16931
17807
|
"unevaluatedProperties": {
|
|
16932
17808
|
"not": {}
|
|
16933
|
-
}
|
|
17809
|
+
},
|
|
17810
|
+
"description": "One dynamically named JSON value submitted for protected diagnostic capture. Classification is applied before the frame leaves the observer bridge."
|
|
16934
17811
|
},
|
|
16935
17812
|
"Mcp.Tools.SearchLogsInput": {
|
|
16936
17813
|
"type": "object",
|
|
@@ -20743,6 +21620,61 @@
|
|
|
20743
21620
|
},
|
|
20744
21621
|
"description": "Request to update mutable MCP workbench workspace metadata."
|
|
20745
21622
|
},
|
|
21623
|
+
"Workflow.CommittedWorkflowProjectionStatus": {
|
|
21624
|
+
"type": "object",
|
|
21625
|
+
"required": [
|
|
21626
|
+
"state",
|
|
21627
|
+
"generation",
|
|
21628
|
+
"journal_position"
|
|
21629
|
+
],
|
|
21630
|
+
"properties": {
|
|
21631
|
+
"state": {
|
|
21632
|
+
"type": "string",
|
|
21633
|
+
"enum": [
|
|
21634
|
+
"committed"
|
|
21635
|
+
]
|
|
21636
|
+
},
|
|
21637
|
+
"generation": {
|
|
21638
|
+
"$ref": "#/components/schemas/Workflow.WorkflowGeneration"
|
|
21639
|
+
},
|
|
21640
|
+
"journal_position": {
|
|
21641
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21642
|
+
}
|
|
21643
|
+
},
|
|
21644
|
+
"unevaluatedProperties": {
|
|
21645
|
+
"not": {}
|
|
21646
|
+
},
|
|
21647
|
+
"description": "A valid committed projection that can be served to readers."
|
|
21648
|
+
},
|
|
21649
|
+
"Workflow.CorruptWorkflowProjectionStatus": {
|
|
21650
|
+
"type": "object",
|
|
21651
|
+
"required": [
|
|
21652
|
+
"state",
|
|
21653
|
+
"reason"
|
|
21654
|
+
],
|
|
21655
|
+
"properties": {
|
|
21656
|
+
"state": {
|
|
21657
|
+
"type": "string",
|
|
21658
|
+
"enum": [
|
|
21659
|
+
"corrupt"
|
|
21660
|
+
]
|
|
21661
|
+
},
|
|
21662
|
+
"generation": {
|
|
21663
|
+
"$ref": "#/components/schemas/Workflow.WorkflowGeneration"
|
|
21664
|
+
},
|
|
21665
|
+
"reason": {
|
|
21666
|
+
"type": "string",
|
|
21667
|
+
"enum": [
|
|
21668
|
+
"corrupt_derived_state",
|
|
21669
|
+
"incompatible_derived_state"
|
|
21670
|
+
]
|
|
21671
|
+
}
|
|
21672
|
+
},
|
|
21673
|
+
"unevaluatedProperties": {
|
|
21674
|
+
"not": {}
|
|
21675
|
+
},
|
|
21676
|
+
"description": "Derived projection state is corrupt or incompatible and cannot currently be served."
|
|
21677
|
+
},
|
|
20746
21678
|
"Workflow.DerivedWorkflowEdgeProvenance": {
|
|
20747
21679
|
"type": "object",
|
|
20748
21680
|
"required": [
|
|
@@ -20777,6 +21709,38 @@
|
|
|
20777
21709
|
},
|
|
20778
21710
|
"description": "Derived edge provenance with explicit evidence and confidence."
|
|
20779
21711
|
},
|
|
21712
|
+
"Workflow.RebuildingWorkflowProjectionStatus": {
|
|
21713
|
+
"type": "object",
|
|
21714
|
+
"required": [
|
|
21715
|
+
"state",
|
|
21716
|
+
"generation",
|
|
21717
|
+
"target_journal_position",
|
|
21718
|
+
"retry_after_ms"
|
|
21719
|
+
],
|
|
21720
|
+
"properties": {
|
|
21721
|
+
"state": {
|
|
21722
|
+
"type": "string",
|
|
21723
|
+
"enum": [
|
|
21724
|
+
"rebuilding"
|
|
21725
|
+
]
|
|
21726
|
+
},
|
|
21727
|
+
"generation": {
|
|
21728
|
+
"$ref": "#/components/schemas/Workflow.WorkflowGeneration"
|
|
21729
|
+
},
|
|
21730
|
+
"target_journal_position": {
|
|
21731
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21732
|
+
},
|
|
21733
|
+
"retry_after_ms": {
|
|
21734
|
+
"type": "integer",
|
|
21735
|
+
"format": "int32",
|
|
21736
|
+
"minimum": 1
|
|
21737
|
+
}
|
|
21738
|
+
},
|
|
21739
|
+
"unevaluatedProperties": {
|
|
21740
|
+
"not": {}
|
|
21741
|
+
},
|
|
21742
|
+
"description": "The requested generation is being reconstructed from its authoritative journal."
|
|
21743
|
+
},
|
|
20780
21744
|
"Workflow.RecordedWorkflowEdgeProvenance": {
|
|
20781
21745
|
"type": "object",
|
|
20782
21746
|
"required": [
|
|
@@ -20803,6 +21767,33 @@
|
|
|
20803
21767
|
},
|
|
20804
21768
|
"description": "Recorded edge provenance directly observed from Codex."
|
|
20805
21769
|
},
|
|
21770
|
+
"Workflow.UnavailableWorkflowProjectionStatus": {
|
|
21771
|
+
"type": "object",
|
|
21772
|
+
"required": [
|
|
21773
|
+
"state",
|
|
21774
|
+
"retry_after_ms"
|
|
21775
|
+
],
|
|
21776
|
+
"properties": {
|
|
21777
|
+
"state": {
|
|
21778
|
+
"type": "string",
|
|
21779
|
+
"enum": [
|
|
21780
|
+
"unavailable"
|
|
21781
|
+
]
|
|
21782
|
+
},
|
|
21783
|
+
"generation": {
|
|
21784
|
+
"$ref": "#/components/schemas/Workflow.WorkflowGeneration"
|
|
21785
|
+
},
|
|
21786
|
+
"retry_after_ms": {
|
|
21787
|
+
"type": "integer",
|
|
21788
|
+
"format": "int32",
|
|
21789
|
+
"minimum": 1
|
|
21790
|
+
}
|
|
21791
|
+
},
|
|
21792
|
+
"unevaluatedProperties": {
|
|
21793
|
+
"not": {}
|
|
21794
|
+
},
|
|
21795
|
+
"description": "Projection work is temporarily unavailable after a retryable storage failure."
|
|
21796
|
+
},
|
|
20806
21797
|
"Workflow.WorkflowAgentId": {
|
|
20807
21798
|
"type": "string",
|
|
20808
21799
|
"minLength": 1,
|
|
@@ -21061,6 +22052,50 @@
|
|
|
21061
22052
|
},
|
|
21062
22053
|
"description": "Adapter acknowledgement or terminal result for one control command."
|
|
21063
22054
|
},
|
|
22055
|
+
"Workflow.WorkflowCursorError": {
|
|
22056
|
+
"type": "object",
|
|
22057
|
+
"required": [
|
|
22058
|
+
"title",
|
|
22059
|
+
"cursor_kind",
|
|
22060
|
+
"reason"
|
|
22061
|
+
],
|
|
22062
|
+
"properties": {
|
|
22063
|
+
"title": {
|
|
22064
|
+
"type": "string",
|
|
22065
|
+
"enum": [
|
|
22066
|
+
"Invalid Workflow Cursor"
|
|
22067
|
+
]
|
|
22068
|
+
},
|
|
22069
|
+
"cursor_kind": {
|
|
22070
|
+
"$ref": "#/components/schemas/Workflow.WorkflowCursorKind"
|
|
22071
|
+
},
|
|
22072
|
+
"reason": {
|
|
22073
|
+
"$ref": "#/components/schemas/Workflow.WorkflowCursorFailureReason"
|
|
22074
|
+
},
|
|
22075
|
+
"current_generation": {
|
|
22076
|
+
"$ref": "#/components/schemas/Workflow.WorkflowGeneration"
|
|
22077
|
+
}
|
|
22078
|
+
},
|
|
22079
|
+
"unevaluatedProperties": {
|
|
22080
|
+
"not": {}
|
|
22081
|
+
},
|
|
22082
|
+
"allOf": [
|
|
22083
|
+
{
|
|
22084
|
+
"$ref": "#/components/schemas/Common.Errors.ProblemDetails"
|
|
22085
|
+
}
|
|
22086
|
+
],
|
|
22087
|
+
"description": "Opaque graph cursor is malformed, belongs to another run, or targets a stale generation."
|
|
22088
|
+
},
|
|
22089
|
+
"Workflow.WorkflowCursorFailureReason": {
|
|
22090
|
+
"type": "string",
|
|
22091
|
+
"enum": [
|
|
22092
|
+
"invalid",
|
|
22093
|
+
"wrong_run",
|
|
22094
|
+
"wrong_generation",
|
|
22095
|
+
"stale"
|
|
22096
|
+
],
|
|
22097
|
+
"description": "Why an opaque graph cursor cannot be reused for this request."
|
|
22098
|
+
},
|
|
21064
22099
|
"Workflow.WorkflowCursorGapEvent": {
|
|
21065
22100
|
"type": "object",
|
|
21066
22101
|
"required": [
|
|
@@ -21077,10 +22112,10 @@
|
|
|
21077
22112
|
]
|
|
21078
22113
|
},
|
|
21079
22114
|
"oldest_available_sequence": {
|
|
21080
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22115
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21081
22116
|
},
|
|
21082
22117
|
"high_water_mark": {
|
|
21083
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22118
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21084
22119
|
},
|
|
21085
22120
|
"timestamp": {
|
|
21086
22121
|
"type": "string",
|
|
@@ -21092,6 +22127,26 @@
|
|
|
21092
22127
|
},
|
|
21093
22128
|
"description": "Signals that the requested cursor predates retained workflow history."
|
|
21094
22129
|
},
|
|
22130
|
+
"Workflow.WorkflowCursorKind": {
|
|
22131
|
+
"type": "string",
|
|
22132
|
+
"enum": [
|
|
22133
|
+
"node",
|
|
22134
|
+
"edge"
|
|
22135
|
+
],
|
|
22136
|
+
"description": "Which opaque graph cursor was rejected."
|
|
22137
|
+
},
|
|
22138
|
+
"Workflow.WorkflowEdgeCursor": {
|
|
22139
|
+
"type": "string",
|
|
22140
|
+
"minLength": 1,
|
|
22141
|
+
"maxLength": 1536,
|
|
22142
|
+
"description": "Opaque edge-page continuation scoped to one workflow run and generation. Reuse it unchanged; clients must not parse or construct it."
|
|
22143
|
+
},
|
|
22144
|
+
"Workflow.WorkflowEdgeId": {
|
|
22145
|
+
"type": "string",
|
|
22146
|
+
"minLength": 1,
|
|
22147
|
+
"maxLength": 192,
|
|
22148
|
+
"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."
|
|
22149
|
+
},
|
|
21095
22150
|
"Workflow.WorkflowEdgeKind": {
|
|
21096
22151
|
"type": "string",
|
|
21097
22152
|
"enum": [
|
|
@@ -21227,10 +22282,10 @@
|
|
|
21227
22282
|
"$ref": "#/components/schemas/Workflow.WorkflowSequence"
|
|
21228
22283
|
},
|
|
21229
22284
|
"first_journal_sequence": {
|
|
21230
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22285
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21231
22286
|
},
|
|
21232
22287
|
"last_journal_sequence": {
|
|
21233
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22288
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21234
22289
|
}
|
|
21235
22290
|
},
|
|
21236
22291
|
"unevaluatedProperties": {
|
|
@@ -21260,10 +22315,10 @@
|
|
|
21260
22315
|
}
|
|
21261
22316
|
},
|
|
21262
22317
|
"next_sequence": {
|
|
21263
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22318
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21264
22319
|
},
|
|
21265
22320
|
"high_water_mark": {
|
|
21266
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22321
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21267
22322
|
},
|
|
21268
22323
|
"cursor_gap": {
|
|
21269
22324
|
"type": "boolean"
|
|
@@ -21274,6 +22329,13 @@
|
|
|
21274
22329
|
},
|
|
21275
22330
|
"description": "A bounded page of workflow journal events."
|
|
21276
22331
|
},
|
|
22332
|
+
"Workflow.WorkflowGeneration": {
|
|
22333
|
+
"type": "string",
|
|
22334
|
+
"minLength": 32,
|
|
22335
|
+
"maxLength": 32,
|
|
22336
|
+
"pattern": "^[0-9a-f]{12}4[0-9a-f]{3}[89ab][0-9a-f]{15}$",
|
|
22337
|
+
"description": "Opaque incarnation identifier for one workflow run's projected state."
|
|
22338
|
+
},
|
|
21277
22339
|
"Workflow.WorkflowGraphEdge": {
|
|
21278
22340
|
"type": "object",
|
|
21279
22341
|
"required": [
|
|
@@ -21285,7 +22347,7 @@
|
|
|
21285
22347
|
],
|
|
21286
22348
|
"properties": {
|
|
21287
22349
|
"edge_id": {
|
|
21288
|
-
"
|
|
22350
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEdgeId"
|
|
21289
22351
|
},
|
|
21290
22352
|
"source_node_id": {
|
|
21291
22353
|
"$ref": "#/components/schemas/Workflow.WorkflowNodeId"
|
|
@@ -21303,7 +22365,7 @@
|
|
|
21303
22365
|
"unevaluatedProperties": {
|
|
21304
22366
|
"not": {}
|
|
21305
22367
|
},
|
|
21306
|
-
"description": "One typed edge in the deterministic workflow graph projection."
|
|
22368
|
+
"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."
|
|
21307
22369
|
},
|
|
21308
22370
|
"Workflow.WorkflowGraphNode": {
|
|
21309
22371
|
"type": "object",
|
|
@@ -21363,6 +22425,7 @@
|
|
|
21363
22425
|
"type": "object",
|
|
21364
22426
|
"required": [
|
|
21365
22427
|
"run",
|
|
22428
|
+
"projection_status",
|
|
21366
22429
|
"nodes",
|
|
21367
22430
|
"edges",
|
|
21368
22431
|
"statistics",
|
|
@@ -21376,6 +22439,9 @@
|
|
|
21376
22439
|
"run": {
|
|
21377
22440
|
"$ref": "#/components/schemas/Workflow.WorkflowRun"
|
|
21378
22441
|
},
|
|
22442
|
+
"projection_status": {
|
|
22443
|
+
"$ref": "#/components/schemas/Workflow.WorkflowProjectionStatus"
|
|
22444
|
+
},
|
|
21379
22445
|
"nodes": {
|
|
21380
22446
|
"type": "array",
|
|
21381
22447
|
"items": {
|
|
@@ -21392,13 +22458,15 @@
|
|
|
21392
22458
|
"$ref": "#/components/schemas/Workflow.WorkflowGraphStatistics"
|
|
21393
22459
|
},
|
|
21394
22460
|
"journal_sequence": {
|
|
21395
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22461
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21396
22462
|
},
|
|
21397
22463
|
"next_node_cursor": {
|
|
21398
|
-
"
|
|
22464
|
+
"$ref": "#/components/schemas/Workflow.WorkflowNodeCursor",
|
|
22465
|
+
"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."
|
|
21399
22466
|
},
|
|
21400
22467
|
"next_edge_cursor": {
|
|
21401
|
-
"
|
|
22468
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEdgeCursor",
|
|
22469
|
+
"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."
|
|
21402
22470
|
},
|
|
21403
22471
|
"has_more_nodes": {
|
|
21404
22472
|
"type": "boolean"
|
|
@@ -21466,7 +22534,7 @@
|
|
|
21466
22534
|
"unevaluatedProperties": {
|
|
21467
22535
|
"not": {}
|
|
21468
22536
|
},
|
|
21469
|
-
"description": "Work and critical-path statistics for a workflow graph."
|
|
22537
|
+
"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."
|
|
21470
22538
|
},
|
|
21471
22539
|
"Workflow.WorkflowHeartbeatEvent": {
|
|
21472
22540
|
"type": "object",
|
|
@@ -21483,7 +22551,7 @@
|
|
|
21483
22551
|
]
|
|
21484
22552
|
},
|
|
21485
22553
|
"high_water_mark": {
|
|
21486
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22554
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21487
22555
|
},
|
|
21488
22556
|
"timestamp": {
|
|
21489
22557
|
"type": "string",
|
|
@@ -21510,7 +22578,7 @@
|
|
|
21510
22578
|
"type": "string"
|
|
21511
22579
|
},
|
|
21512
22580
|
"journal_sequence": {
|
|
21513
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22581
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21514
22582
|
}
|
|
21515
22583
|
},
|
|
21516
22584
|
"unevaluatedProperties": {
|
|
@@ -21559,11 +22627,23 @@
|
|
|
21559
22627
|
],
|
|
21560
22628
|
"description": "Immutable journal event kinds accepted from a Codex observer."
|
|
21561
22629
|
},
|
|
22630
|
+
"Workflow.WorkflowJournalPosition": {
|
|
22631
|
+
"type": "string",
|
|
22632
|
+
"format": "uint64",
|
|
22633
|
+
"minimum": 0,
|
|
22634
|
+
"description": "Collector-assigned position in the authoritative workflow journal, encoded without JavaScript precision loss."
|
|
22635
|
+
},
|
|
22636
|
+
"Workflow.WorkflowNodeCursor": {
|
|
22637
|
+
"type": "string",
|
|
22638
|
+
"minLength": 1,
|
|
22639
|
+
"maxLength": 1536,
|
|
22640
|
+
"description": "Opaque node-page continuation scoped to one workflow run and generation. Reuse it unchanged; clients must not parse or construct it."
|
|
22641
|
+
},
|
|
21562
22642
|
"Workflow.WorkflowNodeId": {
|
|
21563
22643
|
"type": "string",
|
|
21564
22644
|
"minLength": 1,
|
|
21565
22645
|
"maxLength": 192,
|
|
21566
|
-
"description": "Stable identifier of one graph node."
|
|
22646
|
+
"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."
|
|
21567
22647
|
},
|
|
21568
22648
|
"Workflow.WorkflowNodeKind": {
|
|
21569
22649
|
"type": "string",
|
|
@@ -21580,10 +22660,82 @@
|
|
|
21580
22660
|
],
|
|
21581
22661
|
"description": "Kinds of execution node in the deterministic workflow graph."
|
|
21582
22662
|
},
|
|
22663
|
+
"Workflow.WorkflowProjectionCorruptError": {
|
|
22664
|
+
"type": "object",
|
|
22665
|
+
"required": [
|
|
22666
|
+
"title",
|
|
22667
|
+
"projection_status"
|
|
22668
|
+
],
|
|
22669
|
+
"properties": {
|
|
22670
|
+
"title": {
|
|
22671
|
+
"type": "string",
|
|
22672
|
+
"enum": [
|
|
22673
|
+
"Workflow Projection Corrupt"
|
|
22674
|
+
]
|
|
22675
|
+
},
|
|
22676
|
+
"projection_status": {
|
|
22677
|
+
"$ref": "#/components/schemas/Workflow.WorkflowProjectionStatus"
|
|
22678
|
+
}
|
|
22679
|
+
},
|
|
22680
|
+
"unevaluatedProperties": {
|
|
22681
|
+
"not": {}
|
|
22682
|
+
},
|
|
22683
|
+
"allOf": [
|
|
22684
|
+
{
|
|
22685
|
+
"$ref": "#/components/schemas/Common.Errors.ProblemDetails"
|
|
22686
|
+
}
|
|
22687
|
+
],
|
|
22688
|
+
"description": "Workflow projection is non-retryably corrupt or incompatible. Internal storage details are intentionally omitted."
|
|
22689
|
+
},
|
|
22690
|
+
"Workflow.WorkflowProjectionStatus": {
|
|
22691
|
+
"anyOf": [
|
|
22692
|
+
{
|
|
22693
|
+
"$ref": "#/components/schemas/Workflow.CommittedWorkflowProjectionStatus"
|
|
22694
|
+
},
|
|
22695
|
+
{
|
|
22696
|
+
"$ref": "#/components/schemas/Workflow.RebuildingWorkflowProjectionStatus"
|
|
22697
|
+
},
|
|
22698
|
+
{
|
|
22699
|
+
"$ref": "#/components/schemas/Workflow.UnavailableWorkflowProjectionStatus"
|
|
22700
|
+
},
|
|
22701
|
+
{
|
|
22702
|
+
"$ref": "#/components/schemas/Workflow.CorruptWorkflowProjectionStatus"
|
|
22703
|
+
}
|
|
22704
|
+
],
|
|
22705
|
+
"description": "Closed public availability state for one workflow projection. Storage paths, hashes, fingerprints, and database errors remain private."
|
|
22706
|
+
},
|
|
22707
|
+
"Workflow.WorkflowProjectionUnavailableError": {
|
|
22708
|
+
"type": "object",
|
|
22709
|
+
"required": [
|
|
22710
|
+
"title",
|
|
22711
|
+
"projection_status"
|
|
22712
|
+
],
|
|
22713
|
+
"properties": {
|
|
22714
|
+
"title": {
|
|
22715
|
+
"type": "string",
|
|
22716
|
+
"enum": [
|
|
22717
|
+
"Workflow Projection Unavailable"
|
|
22718
|
+
]
|
|
22719
|
+
},
|
|
22720
|
+
"projection_status": {
|
|
22721
|
+
"$ref": "#/components/schemas/Workflow.WorkflowProjectionStatus"
|
|
22722
|
+
}
|
|
22723
|
+
},
|
|
22724
|
+
"unevaluatedProperties": {
|
|
22725
|
+
"not": {}
|
|
22726
|
+
},
|
|
22727
|
+
"allOf": [
|
|
22728
|
+
{
|
|
22729
|
+
"$ref": "#/components/schemas/Common.Errors.ProblemDetails"
|
|
22730
|
+
}
|
|
22731
|
+
],
|
|
22732
|
+
"description": "Workflow projection is rebuilding or temporarily unavailable after a retryable storage failure."
|
|
22733
|
+
},
|
|
21583
22734
|
"Workflow.WorkflowRun": {
|
|
21584
22735
|
"type": "object",
|
|
21585
22736
|
"required": [
|
|
21586
22737
|
"run_id",
|
|
22738
|
+
"generation",
|
|
21587
22739
|
"status",
|
|
21588
22740
|
"started_at",
|
|
21589
22741
|
"latest_journal_sequence"
|
|
@@ -21592,6 +22744,9 @@
|
|
|
21592
22744
|
"run_id": {
|
|
21593
22745
|
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
21594
22746
|
},
|
|
22747
|
+
"generation": {
|
|
22748
|
+
"$ref": "#/components/schemas/Workflow.WorkflowGeneration"
|
|
22749
|
+
},
|
|
21595
22750
|
"thread_id": {
|
|
21596
22751
|
"type": "string"
|
|
21597
22752
|
},
|
|
@@ -21610,7 +22765,7 @@
|
|
|
21610
22765
|
"format": "date-time"
|
|
21611
22766
|
},
|
|
21612
22767
|
"latest_journal_sequence": {
|
|
21613
|
-
"$ref": "#/components/schemas/Workflow.
|
|
22768
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
21614
22769
|
},
|
|
21615
22770
|
"active_attempt_id": {
|
|
21616
22771
|
"$ref": "#/components/schemas/Workflow.WorkflowAttemptId"
|
|
@@ -21655,6 +22810,39 @@
|
|
|
21655
22810
|
},
|
|
21656
22811
|
"description": "Request to create an observed workflow run before appending journal events."
|
|
21657
22812
|
},
|
|
22813
|
+
"Workflow.WorkflowRunCursor": {
|
|
22814
|
+
"type": "string",
|
|
22815
|
+
"minLength": 1,
|
|
22816
|
+
"maxLength": 512,
|
|
22817
|
+
"description": "Opaque workflow-run list continuation scoped to the project and status filter. Reuse it unchanged; clients must not parse or construct it."
|
|
22818
|
+
},
|
|
22819
|
+
"Workflow.WorkflowRunDeletedError": {
|
|
22820
|
+
"type": "object",
|
|
22821
|
+
"required": [
|
|
22822
|
+
"title",
|
|
22823
|
+
"run_id"
|
|
22824
|
+
],
|
|
22825
|
+
"properties": {
|
|
22826
|
+
"title": {
|
|
22827
|
+
"type": "string",
|
|
22828
|
+
"enum": [
|
|
22829
|
+
"Workflow Run Deleted"
|
|
22830
|
+
]
|
|
22831
|
+
},
|
|
22832
|
+
"run_id": {
|
|
22833
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
22834
|
+
}
|
|
22835
|
+
},
|
|
22836
|
+
"unevaluatedProperties": {
|
|
22837
|
+
"not": {}
|
|
22838
|
+
},
|
|
22839
|
+
"allOf": [
|
|
22840
|
+
{
|
|
22841
|
+
"$ref": "#/components/schemas/Common.Errors.ProblemDetails"
|
|
22842
|
+
}
|
|
22843
|
+
],
|
|
22844
|
+
"description": "Workflow run was durably deleted and can no longer accept events or publish projections."
|
|
22845
|
+
},
|
|
21658
22846
|
"Workflow.WorkflowRunId": {
|
|
21659
22847
|
"type": "string",
|
|
21660
22848
|
"minLength": 1,
|
|
@@ -21675,7 +22863,7 @@
|
|
|
21675
22863
|
}
|
|
21676
22864
|
},
|
|
21677
22865
|
"next_cursor": {
|
|
21678
|
-
"
|
|
22866
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunCursor"
|
|
21679
22867
|
},
|
|
21680
22868
|
"has_more": {
|
|
21681
22869
|
"type": "boolean"
|