@work-shape/catalyst-cli 0.7.0 → 0.8.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,15 @@
1
+ import { Readable } from 'node:stream';
1
2
  import * as zod from 'zod';
2
3
  import { z } from 'zod';
3
4
  import * as zod_v4_core from 'zod/v4/core';
4
5
 
6
+ /** A pipe, or a terminal whose echo can be disabled while a secret is entered. */
7
+ type CommandInput = Readable & {
8
+ isTTY?: boolean;
9
+ isRaw?: boolean;
10
+ setRawMode?: (mode: boolean) => unknown;
11
+ };
12
+
5
13
  type LocalizedStringConfig = string | {
6
14
  en?: string;
7
15
  de?: string;
@@ -108,9 +116,10 @@ interface SkillResourceConfig {
108
116
  declare const FIRST_PARTY_AUTH_SCOPES: readonly ["*", "me:read", "me:delete", "config:read", "conversation:read", "conversation:write", "run:start", "run:observe", "run:cancel", "run:command", "collaboration_workspace:read", "collaboration_workspace:manage", "me:write", "governance:read", "governance:write", "user_admin:read", "user_admin:write", "api_access:read", "api_access:write", "config_assets:read", "config_assets:write", "config_assets:publish", "config_assets:release", "data_store_rows:read", "data_store_rows:write"];
109
117
  type FirstPartyAuthScope = (typeof FIRST_PARTY_AUTH_SCOPES)[number];
110
118
  type OperationScope = Exclude<FirstPartyAuthScope, "*">;
111
- declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.delete", "skill.read", "skill.write", "skill.delete", "skill.approve", "connection.read", "connection.use", "connection.write", "connection.delete", "connection.approve", "app.read", "app.write", "app.publish", "app.delete", "app.use", "workflow.read", "workflow.write", "workflow.publish", "workflow.delete", "workflow.use", "workflow.read_run_data", "data_store.read", "data_store.write", "data_store.publish", "data_store.delete", "data_store.insert", "data_store.execute", "knowledge_base.read", "knowledge_base.write", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "users.manage", "usage.view", "audit.view", "api_access.manage", "agent_models.manage", "assets.release"];
119
+ declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.delete", "skill.read", "skill.write", "skill.delete", "skill.approve", "connection.read", "connection.use", "connection.write", "connection.delete", "connection.approve", "app.read", "app.write", "app.publish", "app.approve", "app.delete", "app.use", "workflow.read", "workflow.write", "workflow.publish", "workflow.approve", "workflow.delete", "workflow.use", "workflow.read_run_data", "data_store.read", "data_store.write", "data_store.publish", "data_store.delete", "data_store.insert", "data_store.execute", "knowledge_base.read", "knowledge_base.write", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "users.manage", "usage.view", "audit.view", "api_access.manage", "service_principals.manage", "agent_models.manage", "assets.release"];
112
120
  type PlatformAction = (typeof ACTIONS)[number];
113
- type OperationEffect = "reading" | "changing";
121
+ type OperationEffect = (typeof OPERATION_EFFECTS)[number];
122
+ declare const OPERATION_EFFECTS: readonly ["reading", "changing"];
114
123
 
115
124
  declare const appErrorCodeSchema: z.ZodEnum<{
116
125
  BAD_REQUEST: "BAD_REQUEST";
@@ -205,6 +214,8 @@ type OperationConfig = OperationAccess & {
205
214
  readonly path: string;
206
215
  readonly summary: string;
207
216
  readonly tag: string;
217
+ /** An alternative scope for personal keys only; the handler must enforce ownership. */
218
+ readonly personalKeyScope?: OperationScope;
208
219
  readonly effect: OperationEffect;
209
220
  readonly query?: OperationQuerySchema;
210
221
  readonly body?: z.ZodType;
@@ -666,6 +677,7 @@ declare const apiOperations: {
666
677
  write: zod.ZodString;
667
678
  delete: zod.ZodString;
668
679
  publish: zod.ZodOptional<zod.ZodString>;
680
+ approve: zod.ZodOptional<zod.ZodString>;
669
681
  use: zod.ZodOptional<zod.ZodString>;
670
682
  }, zod_v4_core.$strip>;
671
683
  principalActions: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
@@ -680,6 +692,7 @@ declare const apiOperations: {
680
692
  }, zod_v4_core.$strip>>;
681
693
  actions: zod.ZodArray<zod.ZodString>;
682
694
  assetActions: zod.ZodArray<zod.ZodString>;
695
+ instanceActions: zod.ZodArray<zod.ZodString>;
683
696
  namespaces: zod.ZodArray<zod.ZodObject<{
684
697
  prefix: zod.ZodString;
685
698
  displayName: zod.ZodString;
@@ -763,6 +776,14 @@ declare const apiOperations: {
763
776
  }>>;
764
777
  module: zod.ZodOptional<zod.ZodString>;
765
778
  }, zod_v4_core.$strip>>>;
779
+ unavailableTools: zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
780
+ name: zod.ZodString;
781
+ reason: zod.ZodLiteral<"module_off">;
782
+ module: zod.ZodString;
783
+ }, zod_v4_core.$strip>, zod.ZodObject<{
784
+ name: zod.ZodString;
785
+ reason: zod.ZodLiteral<"unknown_tool">;
786
+ }, zod_v4_core.$strip>], "reason">>>;
766
787
  moduleOffTools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
767
788
  name: zod.ZodString;
768
789
  module: zod.ZodString;
@@ -934,9 +955,9 @@ declare const apiOperations: {
934
955
  status: zod.ZodEnum<{
935
956
  failed: "failed";
936
957
  running: "running";
937
- done: "done";
938
- pending_approval: "pending_approval";
939
958
  pending_confirmation: "pending_confirmation";
959
+ pending_approval: "pending_approval";
960
+ done: "done";
940
961
  denied: "denied";
941
962
  expired: "expired";
942
963
  }>;
@@ -991,9 +1012,9 @@ declare const apiOperations: {
991
1012
  scheduleId: zod.ZodString;
992
1013
  }, zod_v4_core.$strip>], "kind">;
993
1014
  target: zod.ZodEnum<{
994
- dry_run: "dry_run";
995
- live: "live";
996
1015
  test: "test";
1016
+ live: "live";
1017
+ dry_run: "dry_run";
997
1018
  }>;
998
1019
  app: zod.ZodOptional<zod.ZodObject<{
999
1020
  title: zod.ZodOptional<zod.ZodString>;
@@ -1013,6 +1034,8 @@ declare const apiOperations: {
1013
1034
  }>;
1014
1035
  reason: zod.ZodOptional<zod.ZodEnum<{
1015
1036
  inherited_approval_not_applied: "inherited_approval_not_applied";
1037
+ workflow_publish: "workflow_publish";
1038
+ approved_by_caller: "approved_by_caller";
1016
1039
  }>>;
1017
1040
  by: zod.ZodString;
1018
1041
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -1098,9 +1121,9 @@ declare const apiOperations: {
1098
1121
  status: zod.ZodEnum<{
1099
1122
  failed: "failed";
1100
1123
  running: "running";
1101
- done: "done";
1102
- pending_approval: "pending_approval";
1103
1124
  pending_confirmation: "pending_confirmation";
1125
+ pending_approval: "pending_approval";
1126
+ done: "done";
1104
1127
  denied: "denied";
1105
1128
  expired: "expired";
1106
1129
  }>;
@@ -1155,9 +1178,9 @@ declare const apiOperations: {
1155
1178
  scheduleId: zod.ZodString;
1156
1179
  }, zod_v4_core.$strip>], "kind">;
1157
1180
  target: zod.ZodEnum<{
1158
- dry_run: "dry_run";
1159
- live: "live";
1160
1181
  test: "test";
1182
+ live: "live";
1183
+ dry_run: "dry_run";
1161
1184
  }>;
1162
1185
  app: zod.ZodOptional<zod.ZodObject<{
1163
1186
  title: zod.ZodOptional<zod.ZodString>;
@@ -1177,6 +1200,8 @@ declare const apiOperations: {
1177
1200
  }>;
1178
1201
  reason: zod.ZodOptional<zod.ZodEnum<{
1179
1202
  inherited_approval_not_applied: "inherited_approval_not_applied";
1203
+ workflow_publish: "workflow_publish";
1204
+ approved_by_caller: "approved_by_caller";
1180
1205
  }>>;
1181
1206
  by: zod.ZodString;
1182
1207
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -1214,7 +1239,7 @@ declare const apiOperations: {
1214
1239
  readonly tag: "Access";
1215
1240
  readonly auth: "user";
1216
1241
  readonly scope: "user_admin:read";
1217
- readonly requires: readonly ["users.manage"];
1242
+ readonly requires: readonly [];
1218
1243
  readonly effect: "reading";
1219
1244
  readonly query: zod.ZodObject<{
1220
1245
  limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
@@ -1284,7 +1309,7 @@ declare const apiOperations: {
1284
1309
  readonly tag: "Access";
1285
1310
  readonly auth: "user";
1286
1311
  readonly scope: "user_admin:read";
1287
- readonly requires: readonly ["users.manage"];
1312
+ readonly requires: readonly [];
1288
1313
  readonly effect: "reading";
1289
1314
  readonly query: zod.ZodObject<{
1290
1315
  holderKind: zod.ZodEnum<{
@@ -1363,9 +1388,9 @@ declare const apiOperations: {
1363
1388
  status: zod.ZodEnum<{
1364
1389
  failed: "failed";
1365
1390
  running: "running";
1366
- done: "done";
1367
- pending_approval: "pending_approval";
1368
1391
  pending_confirmation: "pending_confirmation";
1392
+ pending_approval: "pending_approval";
1393
+ done: "done";
1369
1394
  denied: "denied";
1370
1395
  expired: "expired";
1371
1396
  }>;
@@ -1420,9 +1445,9 @@ declare const apiOperations: {
1420
1445
  scheduleId: zod.ZodString;
1421
1446
  }, zod_v4_core.$strip>], "kind">;
1422
1447
  target: zod.ZodEnum<{
1423
- dry_run: "dry_run";
1424
- live: "live";
1425
1448
  test: "test";
1449
+ live: "live";
1450
+ dry_run: "dry_run";
1426
1451
  }>;
1427
1452
  app: zod.ZodOptional<zod.ZodObject<{
1428
1453
  title: zod.ZodOptional<zod.ZodString>;
@@ -1442,6 +1467,8 @@ declare const apiOperations: {
1442
1467
  }>;
1443
1468
  reason: zod.ZodOptional<zod.ZodEnum<{
1444
1469
  inherited_approval_not_applied: "inherited_approval_not_applied";
1470
+ workflow_publish: "workflow_publish";
1471
+ approved_by_caller: "approved_by_caller";
1445
1472
  }>>;
1446
1473
  by: zod.ZodString;
1447
1474
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -1510,9 +1537,9 @@ declare const apiOperations: {
1510
1537
  status: zod.ZodEnum<{
1511
1538
  failed: "failed";
1512
1539
  running: "running";
1513
- done: "done";
1514
- pending_approval: "pending_approval";
1515
1540
  pending_confirmation: "pending_confirmation";
1541
+ pending_approval: "pending_approval";
1542
+ done: "done";
1516
1543
  denied: "denied";
1517
1544
  expired: "expired";
1518
1545
  }>;
@@ -1567,9 +1594,9 @@ declare const apiOperations: {
1567
1594
  scheduleId: zod.ZodString;
1568
1595
  }, zod_v4_core.$strip>], "kind">;
1569
1596
  target: zod.ZodEnum<{
1570
- dry_run: "dry_run";
1571
- live: "live";
1572
1597
  test: "test";
1598
+ live: "live";
1599
+ dry_run: "dry_run";
1573
1600
  }>;
1574
1601
  app: zod.ZodOptional<zod.ZodObject<{
1575
1602
  title: zod.ZodOptional<zod.ZodString>;
@@ -1589,6 +1616,8 @@ declare const apiOperations: {
1589
1616
  }>;
1590
1617
  reason: zod.ZodOptional<zod.ZodEnum<{
1591
1618
  inherited_approval_not_applied: "inherited_approval_not_applied";
1619
+ workflow_publish: "workflow_publish";
1620
+ approved_by_caller: "approved_by_caller";
1592
1621
  }>>;
1593
1622
  by: zod.ZodString;
1594
1623
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -1687,9 +1716,9 @@ declare const apiOperations: {
1687
1716
  status: zod.ZodEnum<{
1688
1717
  failed: "failed";
1689
1718
  running: "running";
1690
- done: "done";
1691
- pending_approval: "pending_approval";
1692
1719
  pending_confirmation: "pending_confirmation";
1720
+ pending_approval: "pending_approval";
1721
+ done: "done";
1693
1722
  denied: "denied";
1694
1723
  expired: "expired";
1695
1724
  }>;
@@ -1744,9 +1773,9 @@ declare const apiOperations: {
1744
1773
  scheduleId: zod.ZodString;
1745
1774
  }, zod_v4_core.$strip>], "kind">;
1746
1775
  target: zod.ZodEnum<{
1747
- dry_run: "dry_run";
1748
- live: "live";
1749
1776
  test: "test";
1777
+ live: "live";
1778
+ dry_run: "dry_run";
1750
1779
  }>;
1751
1780
  app: zod.ZodOptional<zod.ZodObject<{
1752
1781
  title: zod.ZodOptional<zod.ZodString>;
@@ -1766,6 +1795,8 @@ declare const apiOperations: {
1766
1795
  }>;
1767
1796
  reason: zod.ZodOptional<zod.ZodEnum<{
1768
1797
  inherited_approval_not_applied: "inherited_approval_not_applied";
1798
+ workflow_publish: "workflow_publish";
1799
+ approved_by_caller: "approved_by_caller";
1769
1800
  }>>;
1770
1801
  by: zod.ZodString;
1771
1802
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -1912,9 +1943,9 @@ declare const apiOperations: {
1912
1943
  status: zod.ZodEnum<{
1913
1944
  failed: "failed";
1914
1945
  running: "running";
1915
- done: "done";
1916
- pending_approval: "pending_approval";
1917
1946
  pending_confirmation: "pending_confirmation";
1947
+ pending_approval: "pending_approval";
1948
+ done: "done";
1918
1949
  denied: "denied";
1919
1950
  expired: "expired";
1920
1951
  }>;
@@ -1969,9 +2000,9 @@ declare const apiOperations: {
1969
2000
  scheduleId: zod.ZodString;
1970
2001
  }, zod_v4_core.$strip>], "kind">;
1971
2002
  target: zod.ZodEnum<{
1972
- dry_run: "dry_run";
1973
- live: "live";
1974
2003
  test: "test";
2004
+ live: "live";
2005
+ dry_run: "dry_run";
1975
2006
  }>;
1976
2007
  app: zod.ZodOptional<zod.ZodObject<{
1977
2008
  title: zod.ZodOptional<zod.ZodString>;
@@ -1991,6 +2022,8 @@ declare const apiOperations: {
1991
2022
  }>;
1992
2023
  reason: zod.ZodOptional<zod.ZodEnum<{
1993
2024
  inherited_approval_not_applied: "inherited_approval_not_applied";
2025
+ workflow_publish: "workflow_publish";
2026
+ approved_by_caller: "approved_by_caller";
1994
2027
  }>>;
1995
2028
  by: zod.ZodString;
1996
2029
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -2075,9 +2108,9 @@ declare const apiOperations: {
2075
2108
  status: zod.ZodEnum<{
2076
2109
  failed: "failed";
2077
2110
  running: "running";
2078
- done: "done";
2079
- pending_approval: "pending_approval";
2080
2111
  pending_confirmation: "pending_confirmation";
2112
+ pending_approval: "pending_approval";
2113
+ done: "done";
2081
2114
  denied: "denied";
2082
2115
  expired: "expired";
2083
2116
  }>;
@@ -2132,9 +2165,9 @@ declare const apiOperations: {
2132
2165
  scheduleId: zod.ZodString;
2133
2166
  }, zod_v4_core.$strip>], "kind">;
2134
2167
  target: zod.ZodEnum<{
2135
- dry_run: "dry_run";
2136
- live: "live";
2137
2168
  test: "test";
2169
+ live: "live";
2170
+ dry_run: "dry_run";
2138
2171
  }>;
2139
2172
  app: zod.ZodOptional<zod.ZodObject<{
2140
2173
  title: zod.ZodOptional<zod.ZodString>;
@@ -2154,6 +2187,8 @@ declare const apiOperations: {
2154
2187
  }>;
2155
2188
  reason: zod.ZodOptional<zod.ZodEnum<{
2156
2189
  inherited_approval_not_applied: "inherited_approval_not_applied";
2190
+ workflow_publish: "workflow_publish";
2191
+ approved_by_caller: "approved_by_caller";
2157
2192
  }>>;
2158
2193
  by: zod.ZodString;
2159
2194
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -2317,9 +2352,9 @@ declare const apiOperations: {
2317
2352
  status: zod.ZodEnum<{
2318
2353
  failed: "failed";
2319
2354
  running: "running";
2320
- done: "done";
2321
- pending_approval: "pending_approval";
2322
2355
  pending_confirmation: "pending_confirmation";
2356
+ pending_approval: "pending_approval";
2357
+ done: "done";
2323
2358
  denied: "denied";
2324
2359
  expired: "expired";
2325
2360
  }>;
@@ -2374,9 +2409,9 @@ declare const apiOperations: {
2374
2409
  scheduleId: zod.ZodString;
2375
2410
  }, zod_v4_core.$strip>], "kind">;
2376
2411
  target: zod.ZodEnum<{
2377
- dry_run: "dry_run";
2378
- live: "live";
2379
2412
  test: "test";
2413
+ live: "live";
2414
+ dry_run: "dry_run";
2380
2415
  }>;
2381
2416
  app: zod.ZodOptional<zod.ZodObject<{
2382
2417
  title: zod.ZodOptional<zod.ZodString>;
@@ -2396,6 +2431,8 @@ declare const apiOperations: {
2396
2431
  }>;
2397
2432
  reason: zod.ZodOptional<zod.ZodEnum<{
2398
2433
  inherited_approval_not_applied: "inherited_approval_not_applied";
2434
+ workflow_publish: "workflow_publish";
2435
+ approved_by_caller: "approved_by_caller";
2399
2436
  }>>;
2400
2437
  by: zod.ZodString;
2401
2438
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -2433,7 +2470,7 @@ declare const apiOperations: {
2433
2470
  readonly tag: "API Access";
2434
2471
  readonly auth: "user";
2435
2472
  readonly scope: "api_access:read";
2436
- readonly requires: readonly ["api_access.manage"];
2473
+ readonly requires: readonly ["service_principals.manage"];
2437
2474
  readonly effect: "reading";
2438
2475
  readonly query: zod.ZodObject<{
2439
2476
  limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
@@ -2491,7 +2528,7 @@ declare const apiOperations: {
2491
2528
  readonly id: "service_principals.create";
2492
2529
  readonly method: "POST";
2493
2530
  readonly path: "/api/v1/instance/service-principals";
2494
- readonly summary: "Create a service principal; superadmins only";
2531
+ readonly summary: "Create a service principal";
2495
2532
  readonly tag: "API Access";
2496
2533
  readonly auth: "user";
2497
2534
  readonly scope: "api_access:write";
@@ -2563,9 +2600,9 @@ declare const apiOperations: {
2563
2600
  status: zod.ZodEnum<{
2564
2601
  failed: "failed";
2565
2602
  running: "running";
2566
- done: "done";
2567
- pending_approval: "pending_approval";
2568
2603
  pending_confirmation: "pending_confirmation";
2604
+ pending_approval: "pending_approval";
2605
+ done: "done";
2569
2606
  denied: "denied";
2570
2607
  expired: "expired";
2571
2608
  }>;
@@ -2620,9 +2657,9 @@ declare const apiOperations: {
2620
2657
  scheduleId: zod.ZodString;
2621
2658
  }, zod_v4_core.$strip>], "kind">;
2622
2659
  target: zod.ZodEnum<{
2623
- dry_run: "dry_run";
2624
- live: "live";
2625
2660
  test: "test";
2661
+ live: "live";
2662
+ dry_run: "dry_run";
2626
2663
  }>;
2627
2664
  app: zod.ZodOptional<zod.ZodObject<{
2628
2665
  title: zod.ZodOptional<zod.ZodString>;
@@ -2642,6 +2679,8 @@ declare const apiOperations: {
2642
2679
  }>;
2643
2680
  reason: zod.ZodOptional<zod.ZodEnum<{
2644
2681
  inherited_approval_not_applied: "inherited_approval_not_applied";
2682
+ workflow_publish: "workflow_publish";
2683
+ approved_by_caller: "approved_by_caller";
2645
2684
  }>>;
2646
2685
  by: zod.ZodString;
2647
2686
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -2675,7 +2714,7 @@ declare const apiOperations: {
2675
2714
  readonly id: "service_principals.update";
2676
2715
  readonly method: "PATCH";
2677
2716
  readonly path: "/api/v1/instance/service-principals/:servicePrincipalId";
2678
- readonly summary: "Change a service principal; superadmins only";
2717
+ readonly summary: "Change a service principal";
2679
2718
  readonly tag: "API Access";
2680
2719
  readonly auth: "user";
2681
2720
  readonly scope: "api_access:write";
@@ -2746,9 +2785,9 @@ declare const apiOperations: {
2746
2785
  status: zod.ZodEnum<{
2747
2786
  failed: "failed";
2748
2787
  running: "running";
2749
- done: "done";
2750
- pending_approval: "pending_approval";
2751
2788
  pending_confirmation: "pending_confirmation";
2789
+ pending_approval: "pending_approval";
2790
+ done: "done";
2752
2791
  denied: "denied";
2753
2792
  expired: "expired";
2754
2793
  }>;
@@ -2803,9 +2842,9 @@ declare const apiOperations: {
2803
2842
  scheduleId: zod.ZodString;
2804
2843
  }, zod_v4_core.$strip>], "kind">;
2805
2844
  target: zod.ZodEnum<{
2806
- dry_run: "dry_run";
2807
- live: "live";
2808
2845
  test: "test";
2846
+ live: "live";
2847
+ dry_run: "dry_run";
2809
2848
  }>;
2810
2849
  app: zod.ZodOptional<zod.ZodObject<{
2811
2850
  title: zod.ZodOptional<zod.ZodString>;
@@ -2825,6 +2864,8 @@ declare const apiOperations: {
2825
2864
  }>;
2826
2865
  reason: zod.ZodOptional<zod.ZodEnum<{
2827
2866
  inherited_approval_not_applied: "inherited_approval_not_applied";
2867
+ workflow_publish: "workflow_publish";
2868
+ approved_by_caller: "approved_by_caller";
2828
2869
  }>>;
2829
2870
  by: zod.ZodString;
2830
2871
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -2858,7 +2899,7 @@ declare const apiOperations: {
2858
2899
  readonly id: "api_credentials.create";
2859
2900
  readonly method: "POST";
2860
2901
  readonly path: "/api/v1/instance/service-principals/:servicePrincipalId/credentials";
2861
- readonly summary: "Issue an API key for a service principal; superadmins only";
2902
+ readonly summary: "Issue an API key for a service principal";
2862
2903
  readonly tag: "API Access";
2863
2904
  readonly auth: "user";
2864
2905
  readonly scope: "api_access:write";
@@ -2906,7 +2947,7 @@ declare const apiOperations: {
2906
2947
  readonly id: "api_credentials.revoke";
2907
2948
  readonly method: "POST";
2908
2949
  readonly path: "/api/v1/instance/api-credentials/:credentialId/revoke";
2909
- readonly summary: "Revoke an API key; superadmins only";
2950
+ readonly summary: "Revoke an API key";
2910
2951
  readonly tag: "API Access";
2911
2952
  readonly auth: "user";
2912
2953
  readonly scope: "api_access:write";
@@ -2943,9 +2984,9 @@ declare const apiOperations: {
2943
2984
  status: zod.ZodEnum<{
2944
2985
  failed: "failed";
2945
2986
  running: "running";
2946
- done: "done";
2947
- pending_approval: "pending_approval";
2948
2987
  pending_confirmation: "pending_confirmation";
2988
+ pending_approval: "pending_approval";
2989
+ done: "done";
2949
2990
  denied: "denied";
2950
2991
  expired: "expired";
2951
2992
  }>;
@@ -3000,9 +3041,9 @@ declare const apiOperations: {
3000
3041
  scheduleId: zod.ZodString;
3001
3042
  }, zod_v4_core.$strip>], "kind">;
3002
3043
  target: zod.ZodEnum<{
3003
- dry_run: "dry_run";
3004
- live: "live";
3005
3044
  test: "test";
3045
+ live: "live";
3046
+ dry_run: "dry_run";
3006
3047
  }>;
3007
3048
  app: zod.ZodOptional<zod.ZodObject<{
3008
3049
  title: zod.ZodOptional<zod.ZodString>;
@@ -3022,6 +3063,8 @@ declare const apiOperations: {
3022
3063
  }>;
3023
3064
  reason: zod.ZodOptional<zod.ZodEnum<{
3024
3065
  inherited_approval_not_applied: "inherited_approval_not_applied";
3066
+ workflow_publish: "workflow_publish";
3067
+ approved_by_caller: "approved_by_caller";
3025
3068
  }>>;
3026
3069
  by: zod.ZodString;
3027
3070
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -3174,9 +3217,9 @@ declare const apiOperations: {
3174
3217
  status: zod.ZodEnum<{
3175
3218
  failed: "failed";
3176
3219
  running: "running";
3177
- done: "done";
3178
- pending_approval: "pending_approval";
3179
3220
  pending_confirmation: "pending_confirmation";
3221
+ pending_approval: "pending_approval";
3222
+ done: "done";
3180
3223
  denied: "denied";
3181
3224
  expired: "expired";
3182
3225
  }>;
@@ -3231,9 +3274,9 @@ declare const apiOperations: {
3231
3274
  scheduleId: zod.ZodString;
3232
3275
  }, zod_v4_core.$strip>], "kind">;
3233
3276
  target: zod.ZodEnum<{
3234
- dry_run: "dry_run";
3235
- live: "live";
3236
3277
  test: "test";
3278
+ live: "live";
3279
+ dry_run: "dry_run";
3237
3280
  }>;
3238
3281
  app: zod.ZodOptional<zod.ZodObject<{
3239
3282
  title: zod.ZodOptional<zod.ZodString>;
@@ -3253,6 +3296,8 @@ declare const apiOperations: {
3253
3296
  }>;
3254
3297
  reason: zod.ZodOptional<zod.ZodEnum<{
3255
3298
  inherited_approval_not_applied: "inherited_approval_not_applied";
3299
+ workflow_publish: "workflow_publish";
3300
+ approved_by_caller: "approved_by_caller";
3256
3301
  }>>;
3257
3302
  by: zod.ZodString;
3258
3303
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -3348,9 +3393,9 @@ declare const apiOperations: {
3348
3393
  status: zod.ZodEnum<{
3349
3394
  failed: "failed";
3350
3395
  running: "running";
3351
- done: "done";
3352
- pending_approval: "pending_approval";
3353
3396
  pending_confirmation: "pending_confirmation";
3397
+ pending_approval: "pending_approval";
3398
+ done: "done";
3354
3399
  denied: "denied";
3355
3400
  expired: "expired";
3356
3401
  }>;
@@ -3405,9 +3450,9 @@ declare const apiOperations: {
3405
3450
  scheduleId: zod.ZodString;
3406
3451
  }, zod_v4_core.$strip>], "kind">;
3407
3452
  target: zod.ZodEnum<{
3408
- dry_run: "dry_run";
3409
- live: "live";
3410
3453
  test: "test";
3454
+ live: "live";
3455
+ dry_run: "dry_run";
3411
3456
  }>;
3412
3457
  app: zod.ZodOptional<zod.ZodObject<{
3413
3458
  title: zod.ZodOptional<zod.ZodString>;
@@ -3427,6 +3472,8 @@ declare const apiOperations: {
3427
3472
  }>;
3428
3473
  reason: zod.ZodOptional<zod.ZodEnum<{
3429
3474
  inherited_approval_not_applied: "inherited_approval_not_applied";
3475
+ workflow_publish: "workflow_publish";
3476
+ approved_by_caller: "approved_by_caller";
3430
3477
  }>>;
3431
3478
  by: zod.ZodString;
3432
3479
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -3470,8 +3517,8 @@ declare const apiOperations: {
3470
3517
  readonly kind: "json";
3471
3518
  readonly schema: zod.ZodObject<{
3472
3519
  state: zod.ZodEnum<{
3473
- deleted: "deleted";
3474
3520
  deleting: "deleting";
3521
+ deleted: "deleted";
3475
3522
  }>;
3476
3523
  }, zod_v4_core.$strip>;
3477
3524
  };
@@ -3488,9 +3535,9 @@ declare const apiOperations: {
3488
3535
  status: zod.ZodEnum<{
3489
3536
  failed: "failed";
3490
3537
  running: "running";
3491
- done: "done";
3492
- pending_approval: "pending_approval";
3493
3538
  pending_confirmation: "pending_confirmation";
3539
+ pending_approval: "pending_approval";
3540
+ done: "done";
3494
3541
  denied: "denied";
3495
3542
  expired: "expired";
3496
3543
  }>;
@@ -3545,9 +3592,9 @@ declare const apiOperations: {
3545
3592
  scheduleId: zod.ZodString;
3546
3593
  }, zod_v4_core.$strip>], "kind">;
3547
3594
  target: zod.ZodEnum<{
3548
- dry_run: "dry_run";
3549
- live: "live";
3550
3595
  test: "test";
3596
+ live: "live";
3597
+ dry_run: "dry_run";
3551
3598
  }>;
3552
3599
  app: zod.ZodOptional<zod.ZodObject<{
3553
3600
  title: zod.ZodOptional<zod.ZodString>;
@@ -3567,6 +3614,8 @@ declare const apiOperations: {
3567
3614
  }>;
3568
3615
  reason: zod.ZodOptional<zod.ZodEnum<{
3569
3616
  inherited_approval_not_applied: "inherited_approval_not_applied";
3617
+ workflow_publish: "workflow_publish";
3618
+ approved_by_caller: "approved_by_caller";
3570
3619
  }>>;
3571
3620
  by: zod.ZodString;
3572
3621
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -3658,9 +3707,9 @@ declare const apiOperations: {
3658
3707
  status: zod.ZodEnum<{
3659
3708
  failed: "failed";
3660
3709
  running: "running";
3661
- done: "done";
3662
- pending_approval: "pending_approval";
3663
3710
  pending_confirmation: "pending_confirmation";
3711
+ pending_approval: "pending_approval";
3712
+ done: "done";
3664
3713
  denied: "denied";
3665
3714
  expired: "expired";
3666
3715
  }>;
@@ -3715,9 +3764,9 @@ declare const apiOperations: {
3715
3764
  scheduleId: zod.ZodString;
3716
3765
  }, zod_v4_core.$strip>], "kind">;
3717
3766
  target: zod.ZodEnum<{
3718
- dry_run: "dry_run";
3719
- live: "live";
3720
3767
  test: "test";
3768
+ live: "live";
3769
+ dry_run: "dry_run";
3721
3770
  }>;
3722
3771
  app: zod.ZodOptional<zod.ZodObject<{
3723
3772
  title: zod.ZodOptional<zod.ZodString>;
@@ -3737,6 +3786,8 @@ declare const apiOperations: {
3737
3786
  }>;
3738
3787
  reason: zod.ZodOptional<zod.ZodEnum<{
3739
3788
  inherited_approval_not_applied: "inherited_approval_not_applied";
3789
+ workflow_publish: "workflow_publish";
3790
+ approved_by_caller: "approved_by_caller";
3740
3791
  }>>;
3741
3792
  by: zod.ZodString;
3742
3793
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -3823,9 +3874,9 @@ declare const apiOperations: {
3823
3874
  status: zod.ZodEnum<{
3824
3875
  failed: "failed";
3825
3876
  running: "running";
3826
- done: "done";
3827
- pending_approval: "pending_approval";
3828
3877
  pending_confirmation: "pending_confirmation";
3878
+ pending_approval: "pending_approval";
3879
+ done: "done";
3829
3880
  denied: "denied";
3830
3881
  expired: "expired";
3831
3882
  }>;
@@ -3880,9 +3931,9 @@ declare const apiOperations: {
3880
3931
  scheduleId: zod.ZodString;
3881
3932
  }, zod_v4_core.$strip>], "kind">;
3882
3933
  target: zod.ZodEnum<{
3883
- dry_run: "dry_run";
3884
- live: "live";
3885
3934
  test: "test";
3935
+ live: "live";
3936
+ dry_run: "dry_run";
3886
3937
  }>;
3887
3938
  app: zod.ZodOptional<zod.ZodObject<{
3888
3939
  title: zod.ZodOptional<zod.ZodString>;
@@ -3902,6 +3953,8 @@ declare const apiOperations: {
3902
3953
  }>;
3903
3954
  reason: zod.ZodOptional<zod.ZodEnum<{
3904
3955
  inherited_approval_not_applied: "inherited_approval_not_applied";
3956
+ workflow_publish: "workflow_publish";
3957
+ approved_by_caller: "approved_by_caller";
3905
3958
  }>>;
3906
3959
  by: zod.ZodString;
3907
3960
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -3986,9 +4039,9 @@ declare const apiOperations: {
3986
4039
  status: zod.ZodEnum<{
3987
4040
  failed: "failed";
3988
4041
  running: "running";
3989
- done: "done";
3990
- pending_approval: "pending_approval";
3991
4042
  pending_confirmation: "pending_confirmation";
4043
+ pending_approval: "pending_approval";
4044
+ done: "done";
3992
4045
  denied: "denied";
3993
4046
  expired: "expired";
3994
4047
  }>;
@@ -4043,9 +4096,9 @@ declare const apiOperations: {
4043
4096
  scheduleId: zod.ZodString;
4044
4097
  }, zod_v4_core.$strip>], "kind">;
4045
4098
  target: zod.ZodEnum<{
4046
- dry_run: "dry_run";
4047
- live: "live";
4048
4099
  test: "test";
4100
+ live: "live";
4101
+ dry_run: "dry_run";
4049
4102
  }>;
4050
4103
  app: zod.ZodOptional<zod.ZodObject<{
4051
4104
  title: zod.ZodOptional<zod.ZodString>;
@@ -4065,6 +4118,8 @@ declare const apiOperations: {
4065
4118
  }>;
4066
4119
  reason: zod.ZodOptional<zod.ZodEnum<{
4067
4120
  inherited_approval_not_applied: "inherited_approval_not_applied";
4121
+ workflow_publish: "workflow_publish";
4122
+ approved_by_caller: "approved_by_caller";
4068
4123
  }>>;
4069
4124
  by: zod.ZodString;
4070
4125
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -4172,9 +4227,9 @@ declare const apiOperations: {
4172
4227
  status: zod.ZodEnum<{
4173
4228
  failed: "failed";
4174
4229
  running: "running";
4175
- done: "done";
4176
- pending_approval: "pending_approval";
4177
4230
  pending_confirmation: "pending_confirmation";
4231
+ pending_approval: "pending_approval";
4232
+ done: "done";
4178
4233
  denied: "denied";
4179
4234
  expired: "expired";
4180
4235
  }>;
@@ -4229,9 +4284,9 @@ declare const apiOperations: {
4229
4284
  scheduleId: zod.ZodString;
4230
4285
  }, zod_v4_core.$strip>], "kind">;
4231
4286
  target: zod.ZodEnum<{
4232
- dry_run: "dry_run";
4233
- live: "live";
4234
4287
  test: "test";
4288
+ live: "live";
4289
+ dry_run: "dry_run";
4235
4290
  }>;
4236
4291
  app: zod.ZodOptional<zod.ZodObject<{
4237
4292
  title: zod.ZodOptional<zod.ZodString>;
@@ -4251,6 +4306,8 @@ declare const apiOperations: {
4251
4306
  }>;
4252
4307
  reason: zod.ZodOptional<zod.ZodEnum<{
4253
4308
  inherited_approval_not_applied: "inherited_approval_not_applied";
4309
+ workflow_publish: "workflow_publish";
4310
+ approved_by_caller: "approved_by_caller";
4254
4311
  }>>;
4255
4312
  by: zod.ZodString;
4256
4313
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -4293,15 +4350,15 @@ declare const apiOperations: {
4293
4350
  type: zod.ZodEnum<{
4294
4351
  number: "number";
4295
4352
  boolean: "boolean";
4296
- date: "date";
4297
4353
  text: "text";
4298
4354
  integer: "integer";
4355
+ date: "date";
4299
4356
  timestamp: "timestamp";
4300
4357
  "number[]": "number[]";
4301
4358
  "boolean[]": "boolean[]";
4302
- "date[]": "date[]";
4303
4359
  "text[]": "text[]";
4304
4360
  "integer[]": "integer[]";
4361
+ "date[]": "date[]";
4305
4362
  "timestamp[]": "timestamp[]";
4306
4363
  }>;
4307
4364
  value: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>, zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>>]>;
@@ -4345,15 +4402,15 @@ declare const apiOperations: {
4345
4402
  type: zod.ZodEnum<{
4346
4403
  number: "number";
4347
4404
  boolean: "boolean";
4348
- date: "date";
4349
4405
  text: "text";
4350
4406
  integer: "integer";
4407
+ date: "date";
4351
4408
  timestamp: "timestamp";
4352
4409
  "number[]": "number[]";
4353
4410
  "boolean[]": "boolean[]";
4354
- "date[]": "date[]";
4355
4411
  "text[]": "text[]";
4356
4412
  "integer[]": "integer[]";
4413
+ "date[]": "date[]";
4357
4414
  "timestamp[]": "timestamp[]";
4358
4415
  }>;
4359
4416
  value: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>, zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>>]>;
@@ -4422,9 +4479,9 @@ declare const apiOperations: {
4422
4479
  status: zod.ZodEnum<{
4423
4480
  failed: "failed";
4424
4481
  running: "running";
4425
- done: "done";
4426
- pending_approval: "pending_approval";
4427
4482
  pending_confirmation: "pending_confirmation";
4483
+ pending_approval: "pending_approval";
4484
+ done: "done";
4428
4485
  denied: "denied";
4429
4486
  expired: "expired";
4430
4487
  }>;
@@ -4479,9 +4536,9 @@ declare const apiOperations: {
4479
4536
  scheduleId: zod.ZodString;
4480
4537
  }, zod_v4_core.$strip>], "kind">;
4481
4538
  target: zod.ZodEnum<{
4482
- dry_run: "dry_run";
4483
- live: "live";
4484
4539
  test: "test";
4540
+ live: "live";
4541
+ dry_run: "dry_run";
4485
4542
  }>;
4486
4543
  app: zod.ZodOptional<zod.ZodObject<{
4487
4544
  title: zod.ZodOptional<zod.ZodString>;
@@ -4501,6 +4558,8 @@ declare const apiOperations: {
4501
4558
  }>;
4502
4559
  reason: zod.ZodOptional<zod.ZodEnum<{
4503
4560
  inherited_approval_not_applied: "inherited_approval_not_applied";
4561
+ workflow_publish: "workflow_publish";
4562
+ approved_by_caller: "approved_by_caller";
4504
4563
  }>>;
4505
4564
  by: zod.ZodString;
4506
4565
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -4830,21 +4889,23 @@ declare const apiOperations: {
4830
4889
  definitionRevisionId: zod.ZodString;
4831
4890
  runnable: zod.ZodBoolean;
4832
4891
  reasons: zod.ZodArray<zod.ZodObject<{
4892
+ principalDisplayLabel: zod.ZodOptional<zod.ZodString>;
4833
4893
  code: zod.ZodString;
4834
4894
  message: zod.ZodString;
4835
4895
  path: zod.ZodOptional<zod.ZodString>;
4836
4896
  }, zod_v4_core.$strip>>;
4837
4897
  inputs: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4898
+ runsAs: zod.ZodOptional<zod.ZodString>;
4838
4899
  actions: zod.ZodArray<zod.ZodString>;
4839
4900
  lastRun: zod.ZodOptional<zod.ZodObject<{
4840
4901
  id: zod.ZodString;
4841
4902
  status: zod.ZodEnum<{
4842
4903
  failed: "failed";
4843
- queued: "queued";
4844
4904
  running: "running";
4845
- waiting: "waiting";
4846
4905
  done: "done";
4906
+ queued: "queued";
4847
4907
  cancelled: "cancelled";
4908
+ waiting: "waiting";
4848
4909
  limit_reached: "limit_reached";
4849
4910
  }>;
4850
4911
  startedAt: zod.ZodOptional<zod.ZodISODateTime>;
@@ -4880,8 +4941,8 @@ declare const apiOperations: {
4880
4941
  workflow: zod.ZodString;
4881
4942
  definitionRevisionId: zod.ZodString;
4882
4943
  mode: zod.ZodEnum<{
4883
- live: "live";
4884
4944
  test: "test";
4945
+ live: "live";
4885
4946
  }>;
4886
4947
  trigger: zod.ZodEnum<{
4887
4948
  schedule: "schedule";
@@ -4890,11 +4951,11 @@ declare const apiOperations: {
4890
4951
  }>;
4891
4952
  status: zod.ZodEnum<{
4892
4953
  failed: "failed";
4893
- queued: "queued";
4894
4954
  running: "running";
4895
- waiting: "waiting";
4896
4955
  done: "done";
4956
+ queued: "queued";
4897
4957
  cancelled: "cancelled";
4958
+ waiting: "waiting";
4898
4959
  limit_reached: "limit_reached";
4899
4960
  }>;
4900
4961
  principal: zod.ZodObject<{
@@ -4912,6 +4973,12 @@ declare const apiOperations: {
4912
4973
  }, zod_v4_core.$strip>;
4913
4974
  scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
4914
4975
  operationRunId: zod.ZodOptional<zod.ZodString>;
4976
+ parentRunId: zod.ZodOptional<zod.ZodString>;
4977
+ parentStepRunId: zod.ZodOptional<zod.ZodString>;
4978
+ rootRunId: zod.ZodString;
4979
+ depth: zod.ZodNumber;
4980
+ itemIndex: zod.ZodOptional<zod.ZodNumber>;
4981
+ itemLabel: zod.ZodOptional<zod.ZodString>;
4915
4982
  stepRunCount: zod.ZodNumber;
4916
4983
  deadlineAt: zod.ZodISODateTime;
4917
4984
  error: zod.ZodOptional<zod.ZodObject<{
@@ -4945,9 +5012,9 @@ declare const apiOperations: {
4945
5012
  status: zod.ZodEnum<{
4946
5013
  failed: "failed";
4947
5014
  running: "running";
4948
- done: "done";
4949
- pending_approval: "pending_approval";
4950
5015
  pending_confirmation: "pending_confirmation";
5016
+ pending_approval: "pending_approval";
5017
+ done: "done";
4951
5018
  denied: "denied";
4952
5019
  expired: "expired";
4953
5020
  }>;
@@ -5002,9 +5069,9 @@ declare const apiOperations: {
5002
5069
  scheduleId: zod.ZodString;
5003
5070
  }, zod_v4_core.$strip>], "kind">;
5004
5071
  target: zod.ZodEnum<{
5005
- dry_run: "dry_run";
5006
- live: "live";
5007
5072
  test: "test";
5073
+ live: "live";
5074
+ dry_run: "dry_run";
5008
5075
  }>;
5009
5076
  app: zod.ZodOptional<zod.ZodObject<{
5010
5077
  title: zod.ZodOptional<zod.ZodString>;
@@ -5024,6 +5091,8 @@ declare const apiOperations: {
5024
5091
  }>;
5025
5092
  reason: zod.ZodOptional<zod.ZodEnum<{
5026
5093
  inherited_approval_not_applied: "inherited_approval_not_applied";
5094
+ workflow_publish: "workflow_publish";
5095
+ approved_by_caller: "approved_by_caller";
5027
5096
  }>>;
5028
5097
  by: zod.ZodString;
5029
5098
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -5073,8 +5142,8 @@ declare const apiOperations: {
5073
5142
  workflow: zod.ZodString;
5074
5143
  definitionRevisionId: zod.ZodString;
5075
5144
  mode: zod.ZodEnum<{
5076
- live: "live";
5077
5145
  test: "test";
5146
+ live: "live";
5078
5147
  }>;
5079
5148
  trigger: zod.ZodEnum<{
5080
5149
  schedule: "schedule";
@@ -5083,11 +5152,11 @@ declare const apiOperations: {
5083
5152
  }>;
5084
5153
  status: zod.ZodEnum<{
5085
5154
  failed: "failed";
5086
- queued: "queued";
5087
5155
  running: "running";
5088
- waiting: "waiting";
5089
5156
  done: "done";
5157
+ queued: "queued";
5090
5158
  cancelled: "cancelled";
5159
+ waiting: "waiting";
5091
5160
  limit_reached: "limit_reached";
5092
5161
  }>;
5093
5162
  principal: zod.ZodObject<{
@@ -5105,6 +5174,12 @@ declare const apiOperations: {
5105
5174
  }, zod_v4_core.$strip>;
5106
5175
  scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
5107
5176
  operationRunId: zod.ZodOptional<zod.ZodString>;
5177
+ parentRunId: zod.ZodOptional<zod.ZodString>;
5178
+ parentStepRunId: zod.ZodOptional<zod.ZodString>;
5179
+ rootRunId: zod.ZodString;
5180
+ depth: zod.ZodNumber;
5181
+ itemIndex: zod.ZodOptional<zod.ZodNumber>;
5182
+ itemLabel: zod.ZodOptional<zod.ZodString>;
5108
5183
  stepRunCount: zod.ZodNumber;
5109
5184
  deadlineAt: zod.ZodISODateTime;
5110
5185
  error: zod.ZodOptional<zod.ZodObject<{
@@ -5138,9 +5213,9 @@ declare const apiOperations: {
5138
5213
  status: zod.ZodEnum<{
5139
5214
  failed: "failed";
5140
5215
  running: "running";
5141
- done: "done";
5142
- pending_approval: "pending_approval";
5143
5216
  pending_confirmation: "pending_confirmation";
5217
+ pending_approval: "pending_approval";
5218
+ done: "done";
5144
5219
  denied: "denied";
5145
5220
  expired: "expired";
5146
5221
  }>;
@@ -5195,9 +5270,9 @@ declare const apiOperations: {
5195
5270
  scheduleId: zod.ZodString;
5196
5271
  }, zod_v4_core.$strip>], "kind">;
5197
5272
  target: zod.ZodEnum<{
5198
- dry_run: "dry_run";
5199
- live: "live";
5200
5273
  test: "test";
5274
+ live: "live";
5275
+ dry_run: "dry_run";
5201
5276
  }>;
5202
5277
  app: zod.ZodOptional<zod.ZodObject<{
5203
5278
  title: zod.ZodOptional<zod.ZodString>;
@@ -5217,6 +5292,8 @@ declare const apiOperations: {
5217
5292
  }>;
5218
5293
  reason: zod.ZodOptional<zod.ZodEnum<{
5219
5294
  inherited_approval_not_applied: "inherited_approval_not_applied";
5295
+ workflow_publish: "workflow_publish";
5296
+ approved_by_caller: "approved_by_caller";
5220
5297
  }>>;
5221
5298
  by: zod.ZodString;
5222
5299
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -5268,8 +5345,8 @@ declare const apiOperations: {
5268
5345
  workflow: zod.ZodString;
5269
5346
  definitionRevisionId: zod.ZodString;
5270
5347
  mode: zod.ZodEnum<{
5271
- live: "live";
5272
5348
  test: "test";
5349
+ live: "live";
5273
5350
  }>;
5274
5351
  trigger: zod.ZodEnum<{
5275
5352
  schedule: "schedule";
@@ -5278,11 +5355,11 @@ declare const apiOperations: {
5278
5355
  }>;
5279
5356
  status: zod.ZodEnum<{
5280
5357
  failed: "failed";
5281
- queued: "queued";
5282
5358
  running: "running";
5283
- waiting: "waiting";
5284
5359
  done: "done";
5360
+ queued: "queued";
5285
5361
  cancelled: "cancelled";
5362
+ waiting: "waiting";
5286
5363
  limit_reached: "limit_reached";
5287
5364
  }>;
5288
5365
  principal: zod.ZodObject<{
@@ -5300,6 +5377,12 @@ declare const apiOperations: {
5300
5377
  }, zod_v4_core.$strip>;
5301
5378
  scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
5302
5379
  operationRunId: zod.ZodOptional<zod.ZodString>;
5380
+ parentRunId: zod.ZodOptional<zod.ZodString>;
5381
+ parentStepRunId: zod.ZodOptional<zod.ZodString>;
5382
+ rootRunId: zod.ZodString;
5383
+ depth: zod.ZodNumber;
5384
+ itemIndex: zod.ZodOptional<zod.ZodNumber>;
5385
+ itemLabel: zod.ZodOptional<zod.ZodString>;
5303
5386
  stepRunCount: zod.ZodNumber;
5304
5387
  deadlineAt: zod.ZodISODateTime;
5305
5388
  error: zod.ZodOptional<zod.ZodObject<{
@@ -5348,8 +5431,8 @@ declare const apiOperations: {
5348
5431
  workflow: zod.ZodString;
5349
5432
  definitionRevisionId: zod.ZodString;
5350
5433
  mode: zod.ZodEnum<{
5351
- live: "live";
5352
5434
  test: "test";
5435
+ live: "live";
5353
5436
  }>;
5354
5437
  trigger: zod.ZodEnum<{
5355
5438
  schedule: "schedule";
@@ -5358,11 +5441,11 @@ declare const apiOperations: {
5358
5441
  }>;
5359
5442
  status: zod.ZodEnum<{
5360
5443
  failed: "failed";
5361
- queued: "queued";
5362
5444
  running: "running";
5363
- waiting: "waiting";
5364
5445
  done: "done";
5446
+ queued: "queued";
5365
5447
  cancelled: "cancelled";
5448
+ waiting: "waiting";
5366
5449
  limit_reached: "limit_reached";
5367
5450
  }>;
5368
5451
  principal: zod.ZodObject<{
@@ -5380,6 +5463,12 @@ declare const apiOperations: {
5380
5463
  }, zod_v4_core.$strip>;
5381
5464
  scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
5382
5465
  operationRunId: zod.ZodOptional<zod.ZodString>;
5466
+ parentRunId: zod.ZodOptional<zod.ZodString>;
5467
+ parentStepRunId: zod.ZodOptional<zod.ZodString>;
5468
+ rootRunId: zod.ZodString;
5469
+ depth: zod.ZodNumber;
5470
+ itemIndex: zod.ZodOptional<zod.ZodNumber>;
5471
+ itemLabel: zod.ZodOptional<zod.ZodString>;
5383
5472
  stepRunCount: zod.ZodNumber;
5384
5473
  deadlineAt: zod.ZodISODateTime;
5385
5474
  error: zod.ZodOptional<zod.ZodObject<{
@@ -5427,11 +5516,11 @@ declare const apiOperations: {
5427
5516
  containerStepRunId: zod.ZodOptional<zod.ZodString>;
5428
5517
  status: zod.ZodOptional<zod.ZodEnum<{
5429
5518
  failed: "failed";
5430
- queued: "queued";
5431
5519
  running: "running";
5432
- waiting: "waiting";
5433
5520
  done: "done";
5521
+ queued: "queued";
5434
5522
  cancelled: "cancelled";
5523
+ waiting: "waiting";
5435
5524
  }>>;
5436
5525
  iteration: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
5437
5526
  }, zod_v4_core.$strip>;
@@ -5443,13 +5532,13 @@ declare const apiOperations: {
5443
5532
  runId: zod.ZodString;
5444
5533
  stepId: zod.ZodString;
5445
5534
  stepType: zod.ZodEnum<{
5535
+ output: "output";
5446
5536
  agent: "agent";
5447
5537
  workflow: "workflow";
5448
- output: "output";
5449
- code: "code";
5450
- operation: "operation";
5451
5538
  trigger: "trigger";
5539
+ operation: "operation";
5452
5540
  loop: "loop";
5541
+ code: "code";
5453
5542
  notify: "notify";
5454
5543
  condition: "condition";
5455
5544
  parallel: "parallel";
@@ -5483,9 +5572,9 @@ declare const apiOperations: {
5483
5572
  }>>;
5484
5573
  source: zod.ZodOptional<zod.ZodString>;
5485
5574
  target: zod.ZodOptional<zod.ZodEnum<{
5486
- dry_run: "dry_run";
5487
- live: "live";
5488
5575
  test: "test";
5576
+ live: "live";
5577
+ dry_run: "dry_run";
5489
5578
  }>>;
5490
5579
  publishedWouldAsk: zod.ZodOptional<zod.ZodEnum<{
5491
5580
  approval: "approval";
@@ -5497,11 +5586,11 @@ declare const apiOperations: {
5497
5586
  }, zod_v4_core.$strip>>;
5498
5587
  status: zod.ZodEnum<{
5499
5588
  failed: "failed";
5500
- queued: "queued";
5501
5589
  running: "running";
5502
- waiting: "waiting";
5503
5590
  done: "done";
5591
+ queued: "queued";
5504
5592
  cancelled: "cancelled";
5593
+ waiting: "waiting";
5505
5594
  }>;
5506
5595
  attempt: zod.ZodNumber;
5507
5596
  operationRunId: zod.ZodOptional<zod.ZodString>;
@@ -5548,8 +5637,8 @@ declare const apiOperations: {
5548
5637
  workflow: zod.ZodString;
5549
5638
  definitionRevisionId: zod.ZodString;
5550
5639
  mode: zod.ZodEnum<{
5551
- live: "live";
5552
5640
  test: "test";
5641
+ live: "live";
5553
5642
  }>;
5554
5643
  trigger: zod.ZodEnum<{
5555
5644
  schedule: "schedule";
@@ -5558,11 +5647,11 @@ declare const apiOperations: {
5558
5647
  }>;
5559
5648
  status: zod.ZodEnum<{
5560
5649
  failed: "failed";
5561
- queued: "queued";
5562
5650
  running: "running";
5563
- waiting: "waiting";
5564
5651
  done: "done";
5652
+ queued: "queued";
5565
5653
  cancelled: "cancelled";
5654
+ waiting: "waiting";
5566
5655
  limit_reached: "limit_reached";
5567
5656
  }>;
5568
5657
  principal: zod.ZodObject<{
@@ -5580,6 +5669,12 @@ declare const apiOperations: {
5580
5669
  }, zod_v4_core.$strip>;
5581
5670
  scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
5582
5671
  operationRunId: zod.ZodOptional<zod.ZodString>;
5672
+ parentRunId: zod.ZodOptional<zod.ZodString>;
5673
+ parentStepRunId: zod.ZodOptional<zod.ZodString>;
5674
+ rootRunId: zod.ZodString;
5675
+ depth: zod.ZodNumber;
5676
+ itemIndex: zod.ZodOptional<zod.ZodNumber>;
5677
+ itemLabel: zod.ZodOptional<zod.ZodString>;
5583
5678
  stepRunCount: zod.ZodNumber;
5584
5679
  deadlineAt: zod.ZodISODateTime;
5585
5680
  error: zod.ZodOptional<zod.ZodObject<{
@@ -5613,9 +5708,9 @@ declare const apiOperations: {
5613
5708
  status: zod.ZodEnum<{
5614
5709
  failed: "failed";
5615
5710
  running: "running";
5616
- done: "done";
5617
- pending_approval: "pending_approval";
5618
5711
  pending_confirmation: "pending_confirmation";
5712
+ pending_approval: "pending_approval";
5713
+ done: "done";
5619
5714
  denied: "denied";
5620
5715
  expired: "expired";
5621
5716
  }>;
@@ -5670,9 +5765,9 @@ declare const apiOperations: {
5670
5765
  scheduleId: zod.ZodString;
5671
5766
  }, zod_v4_core.$strip>], "kind">;
5672
5767
  target: zod.ZodEnum<{
5673
- dry_run: "dry_run";
5674
- live: "live";
5675
5768
  test: "test";
5769
+ live: "live";
5770
+ dry_run: "dry_run";
5676
5771
  }>;
5677
5772
  app: zod.ZodOptional<zod.ZodObject<{
5678
5773
  title: zod.ZodOptional<zod.ZodString>;
@@ -5692,6 +5787,8 @@ declare const apiOperations: {
5692
5787
  }>;
5693
5788
  reason: zod.ZodOptional<zod.ZodEnum<{
5694
5789
  inherited_approval_not_applied: "inherited_approval_not_applied";
5790
+ workflow_publish: "workflow_publish";
5791
+ approved_by_caller: "approved_by_caller";
5695
5792
  }>>;
5696
5793
  by: zod.ZodString;
5697
5794
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -5856,11 +5953,210 @@ declare const apiOperations: {
5856
5953
  readonly response: readonly ["Operation-Run-Id"];
5857
5954
  };
5858
5955
  }>;
5859
- readonly "guardrails.unpublish": Operation<{
5860
- readonly id: "guardrails.unpublish";
5861
- readonly method: "POST";
5862
- readonly path: "/api/v1/guardrails/:name/unpublish";
5863
- readonly summary: "Stop one published Guardrail from enforcing. Its draft stays";
5956
+ readonly "guardrails.list_shipped": Operation<{
5957
+ readonly id: "guardrails.list_shipped";
5958
+ readonly method: "GET";
5959
+ readonly path: "/api/v1/guardrails/shipped";
5960
+ readonly summary: "List the guardrails the release ships, whether each is switched on, and who switched it last";
5961
+ readonly tag: "Guardrails";
5962
+ readonly auth: "principal";
5963
+ readonly scope: "config_assets:read";
5964
+ readonly requires: readonly [];
5965
+ readonly effect: "reading";
5966
+ readonly response: {
5967
+ readonly kind: "json";
5968
+ readonly schema: zod.ZodObject<{
5969
+ items: zod.ZodArray<zod.ZodObject<{
5970
+ name: zod.ZodString;
5971
+ displayName: zod.ZodString;
5972
+ reason: zod.ZodString;
5973
+ on: zod.ZodArray<zod.ZodString>;
5974
+ outcome: zod.ZodEnum<{
5975
+ allow: "allow";
5976
+ warn: "warn";
5977
+ require_approval: "require_approval";
5978
+ block: "block";
5979
+ }>;
5980
+ enabled: zod.ZodBoolean;
5981
+ switchedBy: zod.ZodOptional<zod.ZodObject<{
5982
+ id: zod.ZodString;
5983
+ label: zod.ZodString;
5984
+ }, zod_v4_core.$strip>>;
5985
+ switchedAt: zod.ZodOptional<zod.ZodISODateTime>;
5986
+ canSwitch: zod.ZodBoolean;
5987
+ }, zod_v4_core.$strip>>;
5988
+ }, zod_v4_core.$strip>;
5989
+ };
5990
+ readonly errors: readonly [];
5991
+ readonly rateClass: "read";
5992
+ } & {
5993
+ readonly headers: {
5994
+ readonly response: readonly ["Operation-Run-Id"];
5995
+ };
5996
+ }>;
5997
+ readonly "guardrails.switch_shipped": Operation<{
5998
+ readonly id: "guardrails.switch_shipped";
5999
+ readonly method: "POST";
6000
+ readonly path: "/api/v1/guardrails/shipped/:name/switch";
6001
+ readonly summary: "Switch a guardrail the release ships off or on again, for the whole instance. A release never switches it back on";
6002
+ readonly tag: "Guardrails";
6003
+ readonly auth: "user";
6004
+ readonly scope: "config_assets:publish";
6005
+ readonly requires: readonly [];
6006
+ readonly effect: "changing";
6007
+ readonly body: zod.ZodObject<{
6008
+ enabled: zod.ZodBoolean;
6009
+ }, zod_v4_core.$strict>;
6010
+ readonly response: {
6011
+ readonly kind: "json";
6012
+ readonly schema: zod.ZodObject<{
6013
+ name: zod.ZodString;
6014
+ displayName: zod.ZodString;
6015
+ reason: zod.ZodString;
6016
+ on: zod.ZodArray<zod.ZodString>;
6017
+ outcome: zod.ZodEnum<{
6018
+ allow: "allow";
6019
+ warn: "warn";
6020
+ require_approval: "require_approval";
6021
+ block: "block";
6022
+ }>;
6023
+ enabled: zod.ZodBoolean;
6024
+ switchedBy: zod.ZodOptional<zod.ZodObject<{
6025
+ id: zod.ZodString;
6026
+ label: zod.ZodString;
6027
+ }, zod_v4_core.$strip>>;
6028
+ switchedAt: zod.ZodOptional<zod.ZodISODateTime>;
6029
+ canSwitch: zod.ZodBoolean;
6030
+ }, zod_v4_core.$strip>;
6031
+ };
6032
+ readonly errors: readonly ["NOT_FOUND"];
6033
+ readonly rateClass: "write";
6034
+ } & {
6035
+ readonly accepted: zod.ZodObject<{
6036
+ id: zod.ZodString;
6037
+ operation: zod.ZodString;
6038
+ effect: zod.ZodEnum<{
6039
+ reading: "reading";
6040
+ changing: "changing";
6041
+ }>;
6042
+ status: zod.ZodEnum<{
6043
+ failed: "failed";
6044
+ running: "running";
6045
+ pending_confirmation: "pending_confirmation";
6046
+ pending_approval: "pending_approval";
6047
+ done: "done";
6048
+ denied: "denied";
6049
+ expired: "expired";
6050
+ }>;
6051
+ actor: zod.ZodObject<{
6052
+ kind: zod.ZodEnum<{
6053
+ user: "user";
6054
+ service_principal: "service_principal";
6055
+ }>;
6056
+ id: zod.ZodString;
6057
+ label: zod.ZodString;
6058
+ }, zod_v4_core.$strip>;
6059
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
6060
+ kind: zod.ZodLiteral<"agent">;
6061
+ agentRunId: zod.ZodString;
6062
+ conversationId: zod.ZodString;
6063
+ agentName: zod.ZodString;
6064
+ toolCallId: zod.ZodString;
6065
+ toolName: zod.ZodString;
6066
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
6067
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6068
+ kind: zod.ZodLiteral<"user">;
6069
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6070
+ kind: zod.ZodLiteral<"cli">;
6071
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6072
+ kind: zod.ZodLiteral<"mcp">;
6073
+ clientName: zod.ZodOptional<zod.ZodString>;
6074
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6075
+ kind: zod.ZodLiteral<"app">;
6076
+ appName: zod.ZodOptional<zod.ZodString>;
6077
+ appRevisionId: zod.ZodString;
6078
+ actionName: zod.ZodString;
6079
+ pageSessionId: zod.ZodString;
6080
+ conversationId: zod.ZodOptional<zod.ZodString>;
6081
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
6082
+ connection: zod.ZodString;
6083
+ operation: zod.ZodString;
6084
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6085
+ dataStore: zod.ZodString;
6086
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6087
+ workflow: zod.ZodString;
6088
+ }, zod_v4_core.$strip>]>>;
6089
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6090
+ kind: zod.ZodLiteral<"workflow">;
6091
+ workflowRunId: zod.ZodString;
6092
+ stepRunId: zod.ZodString;
6093
+ boundBy: zod.ZodOptional<zod.ZodObject<{
6094
+ id: zod.ZodString;
6095
+ label: zod.ZodString;
6096
+ }, zod_v4_core.$strip>>;
6097
+ }, zod_v4_core.$strip>, zod.ZodObject<{
6098
+ kind: zod.ZodLiteral<"schedule">;
6099
+ scheduleId: zod.ZodString;
6100
+ }, zod_v4_core.$strip>], "kind">;
6101
+ target: zod.ZodEnum<{
6102
+ test: "test";
6103
+ live: "live";
6104
+ dry_run: "dry_run";
6105
+ }>;
6106
+ app: zod.ZodOptional<zod.ZodObject<{
6107
+ title: zod.ZodOptional<zod.ZodString>;
6108
+ revision: zod.ZodOptional<zod.ZodNumber>;
6109
+ deleted: zod.ZodBoolean;
6110
+ }, zod_v4_core.$strip>>;
6111
+ workspaceId: zod.ZodOptional<zod.ZodString>;
6112
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
6113
+ inputHash: zod.ZodString;
6114
+ attempt: zod.ZodNumber;
6115
+ decision: zod.ZodOptional<zod.ZodObject<{
6116
+ mode: zod.ZodEnum<{
6117
+ direct: "direct";
6118
+ confirmed: "confirmed";
6119
+ approved: "approved";
6120
+ declined: "declined";
6121
+ }>;
6122
+ reason: zod.ZodOptional<zod.ZodEnum<{
6123
+ inherited_approval_not_applied: "inherited_approval_not_applied";
6124
+ workflow_publish: "workflow_publish";
6125
+ approved_by_caller: "approved_by_caller";
6126
+ }>>;
6127
+ by: zod.ZodString;
6128
+ byLabel: zod.ZodOptional<zod.ZodString>;
6129
+ at: zod.ZodISODateTime;
6130
+ comment: zod.ZodOptional<zod.ZodString>;
6131
+ }, zod_v4_core.$strip>>;
6132
+ error: zod.ZodOptional<zod.ZodObject<{
6133
+ code: zod.ZodString;
6134
+ message: zod.ZodString;
6135
+ reason: zod.ZodOptional<zod.ZodString>;
6136
+ }, zod_v4_core.$strip>>;
6137
+ usage: zod.ZodOptional<zod.ZodObject<{
6138
+ modelCalls: zod.ZodNumber;
6139
+ inputTokens: zod.ZodNumber;
6140
+ outputTokens: zod.ZodNumber;
6141
+ totalTokens: zod.ZodNumber;
6142
+ }, zod_v4_core.$strip>>;
6143
+ correlationId: zod.ZodString;
6144
+ createdAt: zod.ZodISODateTime;
6145
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
6146
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
6147
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
6148
+ href: zod.ZodString;
6149
+ }, zod_v4_core.$strip>;
6150
+ readonly headers: {
6151
+ readonly request: readonly ["Idempotency-Key"];
6152
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
6153
+ };
6154
+ }>;
6155
+ readonly "guardrails.unpublish": Operation<{
6156
+ readonly id: "guardrails.unpublish";
6157
+ readonly method: "POST";
6158
+ readonly path: "/api/v1/guardrails/:name/unpublish";
6159
+ readonly summary: "Stop one published Guardrail from enforcing. Its draft stays";
5864
6160
  readonly tag: "Guardrails";
5865
6161
  readonly auth: "principal";
5866
6162
  readonly scope: "config_assets:publish";
@@ -5886,9 +6182,9 @@ declare const apiOperations: {
5886
6182
  status: zod.ZodEnum<{
5887
6183
  failed: "failed";
5888
6184
  running: "running";
5889
- done: "done";
5890
- pending_approval: "pending_approval";
5891
6185
  pending_confirmation: "pending_confirmation";
6186
+ pending_approval: "pending_approval";
6187
+ done: "done";
5892
6188
  denied: "denied";
5893
6189
  expired: "expired";
5894
6190
  }>;
@@ -5943,9 +6239,9 @@ declare const apiOperations: {
5943
6239
  scheduleId: zod.ZodString;
5944
6240
  }, zod_v4_core.$strip>], "kind">;
5945
6241
  target: zod.ZodEnum<{
5946
- dry_run: "dry_run";
5947
- live: "live";
5948
6242
  test: "test";
6243
+ live: "live";
6244
+ dry_run: "dry_run";
5949
6245
  }>;
5950
6246
  app: zod.ZodOptional<zod.ZodObject<{
5951
6247
  title: zod.ZodOptional<zod.ZodString>;
@@ -5965,6 +6261,8 @@ declare const apiOperations: {
5965
6261
  }>;
5966
6262
  reason: zod.ZodOptional<zod.ZodEnum<{
5967
6263
  inherited_approval_not_applied: "inherited_approval_not_applied";
6264
+ workflow_publish: "workflow_publish";
6265
+ approved_by_caller: "approved_by_caller";
5968
6266
  }>>;
5969
6267
  by: zod.ZodString;
5970
6268
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -6042,8 +6340,8 @@ declare const apiOperations: {
6042
6340
  enabled: zod.ZodBoolean;
6043
6341
  status: zod.ZodEnum<{
6044
6342
  unknown: "unknown";
6045
- ready: "ready";
6046
6343
  disabled: "disabled";
6344
+ ready: "ready";
6047
6345
  awaiting_discovery: "awaiting_discovery";
6048
6346
  needs_review: "needs_review";
6049
6347
  }>;
@@ -6090,9 +6388,9 @@ declare const apiOperations: {
6090
6388
  readonly schema: zod.ZodObject<{
6091
6389
  status: zod.ZodEnum<{
6092
6390
  ready: "ready";
6093
- unavailable: "unavailable";
6094
6391
  unauthorized: "unauthorized";
6095
6392
  network_denied: "network_denied";
6393
+ unavailable: "unavailable";
6096
6394
  }>;
6097
6395
  testedAt: zod.ZodISODateTime;
6098
6396
  }, zod_v4_core.$strip>;
@@ -6110,9 +6408,9 @@ declare const apiOperations: {
6110
6408
  status: zod.ZodEnum<{
6111
6409
  failed: "failed";
6112
6410
  running: "running";
6113
- done: "done";
6114
- pending_approval: "pending_approval";
6115
6411
  pending_confirmation: "pending_confirmation";
6412
+ pending_approval: "pending_approval";
6413
+ done: "done";
6116
6414
  denied: "denied";
6117
6415
  expired: "expired";
6118
6416
  }>;
@@ -6167,9 +6465,9 @@ declare const apiOperations: {
6167
6465
  scheduleId: zod.ZodString;
6168
6466
  }, zod_v4_core.$strip>], "kind">;
6169
6467
  target: zod.ZodEnum<{
6170
- dry_run: "dry_run";
6171
- live: "live";
6172
6468
  test: "test";
6469
+ live: "live";
6470
+ dry_run: "dry_run";
6173
6471
  }>;
6174
6472
  app: zod.ZodOptional<zod.ZodObject<{
6175
6473
  title: zod.ZodOptional<zod.ZodString>;
@@ -6189,6 +6487,8 @@ declare const apiOperations: {
6189
6487
  }>;
6190
6488
  reason: zod.ZodOptional<zod.ZodEnum<{
6191
6489
  inherited_approval_not_applied: "inherited_approval_not_applied";
6490
+ workflow_publish: "workflow_publish";
6491
+ approved_by_caller: "approved_by_caller";
6192
6492
  }>>;
6193
6493
  by: zod.ZodString;
6194
6494
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -6281,9 +6581,9 @@ declare const apiOperations: {
6281
6581
  status: zod.ZodEnum<{
6282
6582
  failed: "failed";
6283
6583
  running: "running";
6284
- done: "done";
6285
- pending_approval: "pending_approval";
6286
6584
  pending_confirmation: "pending_confirmation";
6585
+ pending_approval: "pending_approval";
6586
+ done: "done";
6287
6587
  denied: "denied";
6288
6588
  expired: "expired";
6289
6589
  }>;
@@ -6338,9 +6638,9 @@ declare const apiOperations: {
6338
6638
  scheduleId: zod.ZodString;
6339
6639
  }, zod_v4_core.$strip>], "kind">;
6340
6640
  target: zod.ZodEnum<{
6341
- dry_run: "dry_run";
6342
- live: "live";
6343
6641
  test: "test";
6642
+ live: "live";
6643
+ dry_run: "dry_run";
6344
6644
  }>;
6345
6645
  app: zod.ZodOptional<zod.ZodObject<{
6346
6646
  title: zod.ZodOptional<zod.ZodString>;
@@ -6360,6 +6660,8 @@ declare const apiOperations: {
6360
6660
  }>;
6361
6661
  reason: zod.ZodOptional<zod.ZodEnum<{
6362
6662
  inherited_approval_not_applied: "inherited_approval_not_applied";
6663
+ workflow_publish: "workflow_publish";
6664
+ approved_by_caller: "approved_by_caller";
6363
6665
  }>>;
6364
6666
  by: zod.ZodString;
6365
6667
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -6514,8 +6816,8 @@ declare const apiOperations: {
6514
6816
  version: zod.ZodNumber;
6515
6817
  items: zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
6516
6818
  type: zod.ZodEnum<{
6517
- delete: "delete";
6518
6819
  put: "put";
6820
+ delete: "delete";
6519
6821
  }>;
6520
6822
  kind: zod.ZodString;
6521
6823
  name: zod.ZodString;
@@ -6548,9 +6850,9 @@ declare const apiOperations: {
6548
6850
  status: zod.ZodEnum<{
6549
6851
  failed: "failed";
6550
6852
  running: "running";
6551
- done: "done";
6552
- pending_approval: "pending_approval";
6553
6853
  pending_confirmation: "pending_confirmation";
6854
+ pending_approval: "pending_approval";
6855
+ done: "done";
6554
6856
  denied: "denied";
6555
6857
  expired: "expired";
6556
6858
  }>;
@@ -6605,9 +6907,9 @@ declare const apiOperations: {
6605
6907
  scheduleId: zod.ZodString;
6606
6908
  }, zod_v4_core.$strip>], "kind">;
6607
6909
  target: zod.ZodEnum<{
6608
- dry_run: "dry_run";
6609
- live: "live";
6610
6910
  test: "test";
6911
+ live: "live";
6912
+ dry_run: "dry_run";
6611
6913
  }>;
6612
6914
  app: zod.ZodOptional<zod.ZodObject<{
6613
6915
  title: zod.ZodOptional<zod.ZodString>;
@@ -6627,6 +6929,8 @@ declare const apiOperations: {
6627
6929
  }>;
6628
6930
  reason: zod.ZodOptional<zod.ZodEnum<{
6629
6931
  inherited_approval_not_applied: "inherited_approval_not_applied";
6932
+ workflow_publish: "workflow_publish";
6933
+ approved_by_caller: "approved_by_caller";
6630
6934
  }>>;
6631
6935
  by: zod.ZodString;
6632
6936
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -6689,6 +6993,10 @@ declare const apiOperations: {
6689
6993
  readonly kind: "json";
6690
6994
  readonly schema: zod.ZodObject<{
6691
6995
  valid: zod.ZodLiteral<true>;
6996
+ warnings: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
6997
+ code: zod.ZodString;
6998
+ message: zod.ZodString;
6999
+ }, zod_v4_core.$strip>>>;
6692
7000
  }, zod_v4_core.$strip>;
6693
7001
  };
6694
7002
  readonly errors: readonly ["CONFLICT", "REVISION_CONFLICT", "PRECONDITION_REQUIRED"];
@@ -6731,9 +7039,9 @@ declare const apiOperations: {
6731
7039
  status: zod.ZodEnum<{
6732
7040
  failed: "failed";
6733
7041
  running: "running";
6734
- done: "done";
6735
- pending_approval: "pending_approval";
6736
7042
  pending_confirmation: "pending_confirmation";
7043
+ pending_approval: "pending_approval";
7044
+ done: "done";
6737
7045
  denied: "denied";
6738
7046
  expired: "expired";
6739
7047
  }>;
@@ -6788,9 +7096,9 @@ declare const apiOperations: {
6788
7096
  scheduleId: zod.ZodString;
6789
7097
  }, zod_v4_core.$strip>], "kind">;
6790
7098
  target: zod.ZodEnum<{
6791
- dry_run: "dry_run";
6792
- live: "live";
6793
7099
  test: "test";
7100
+ live: "live";
7101
+ dry_run: "dry_run";
6794
7102
  }>;
6795
7103
  app: zod.ZodOptional<zod.ZodObject<{
6796
7104
  title: zod.ZodOptional<zod.ZodString>;
@@ -6810,6 +7118,8 @@ declare const apiOperations: {
6810
7118
  }>;
6811
7119
  reason: zod.ZodOptional<zod.ZodEnum<{
6812
7120
  inherited_approval_not_applied: "inherited_approval_not_applied";
7121
+ workflow_publish: "workflow_publish";
7122
+ approved_by_caller: "approved_by_caller";
6813
7123
  }>>;
6814
7124
  by: zod.ZodString;
6815
7125
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -6862,6 +7172,10 @@ declare const apiOperations: {
6862
7172
  path: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
6863
7173
  code: zod.ZodOptional<zod.ZodString>;
6864
7174
  }, zod_v4_core.$strip>>;
7175
+ warnings: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
7176
+ code: zod.ZodString;
7177
+ message: zod.ZodString;
7178
+ }, zod_v4_core.$strip>>>;
6865
7179
  }, zod_v4_core.$strip>;
6866
7180
  };
6867
7181
  readonly errors: readonly [];
@@ -6871,31 +7185,66 @@ declare const apiOperations: {
6871
7185
  readonly response: readonly ["Operation-Run-Id"];
6872
7186
  };
6873
7187
  }>;
6874
- readonly "assets.get": Operation<{
6875
- readonly id: "assets.get";
6876
- readonly method: "GET";
6877
- readonly path: "/api/v1/assets/:kind/:name";
6878
- readonly summary: "Read one asset, or one revision of it with its source files";
7188
+ readonly "assets.check_name": Operation<{
7189
+ readonly id: "assets.check_name";
7190
+ readonly method: "POST";
7191
+ readonly path: "/api/v1/assets/:kind/check-name";
7192
+ readonly summary: "Check whether a new asset could take a name, without creating it";
6879
7193
  readonly tag: "Assets";
6880
7194
  readonly auth: "principal";
6881
- readonly scope: "config_assets:read";
7195
+ readonly scope: "config_assets:write";
6882
7196
  readonly requires: readonly [];
6883
7197
  readonly effect: "reading";
6884
- readonly query: zod.ZodObject<{
7198
+ readonly body: zod.ZodObject<{
7199
+ name: zod.ZodString;
6885
7200
  workspaceId: zod.ZodOptional<zod.ZodString>;
6886
- revision: zod.ZodOptional<zod.ZodString>;
6887
- files: zod.ZodOptional<zod.ZodEnum<{
6888
- true: "true";
6889
- false: "false";
6890
- }>>;
6891
7201
  }, zod_v4_core.$strip>;
6892
7202
  readonly response: {
6893
7203
  readonly kind: "json";
6894
- readonly schema: zod.ZodObject<{
6895
- config: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
6896
- contentRevision: zod.ZodOptional<zod.ZodNumber>;
6897
- files: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
6898
- path: zod.ZodString;
7204
+ readonly schema: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
7205
+ available: zod.ZodLiteral<true>;
7206
+ }, zod_v4_core.$strip>, zod.ZodObject<{
7207
+ available: zod.ZodLiteral<false>;
7208
+ reason: zod.ZodEnum<{
7209
+ name_invalid: "name_invalid";
7210
+ name_taken: "name_taken";
7211
+ }>;
7212
+ message: zod.ZodString;
7213
+ }, zod_v4_core.$strip>], "available">;
7214
+ };
7215
+ readonly errors: readonly [];
7216
+ readonly rateClass: "read";
7217
+ } & {
7218
+ readonly headers: {
7219
+ readonly response: readonly ["Operation-Run-Id"];
7220
+ };
7221
+ }>;
7222
+ readonly "assets.get": Operation<{
7223
+ readonly id: "assets.get";
7224
+ readonly method: "GET";
7225
+ readonly path: "/api/v1/assets/:kind/:name";
7226
+ readonly summary: "Read one asset, or one revision of it with its source files";
7227
+ readonly tag: "Assets";
7228
+ readonly auth: "principal";
7229
+ readonly scope: "config_assets:read";
7230
+ readonly requires: readonly [];
7231
+ readonly effect: "reading";
7232
+ readonly query: zod.ZodObject<{
7233
+ workspaceId: zod.ZodOptional<zod.ZodString>;
7234
+ revision: zod.ZodOptional<zod.ZodString>;
7235
+ files: zod.ZodOptional<zod.ZodEnum<{
7236
+ true: "true";
7237
+ false: "false";
7238
+ }>>;
7239
+ }, zod_v4_core.$strip>;
7240
+ readonly response: {
7241
+ readonly kind: "json";
7242
+ readonly schema: zod.ZodObject<{
7243
+ config: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
7244
+ runsAs: zod.ZodOptional<zod.ZodString>;
7245
+ contentRevision: zod.ZodOptional<zod.ZodNumber>;
7246
+ files: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
7247
+ path: zod.ZodString;
6899
7248
  contentType: zod.ZodString;
6900
7249
  sha256: zod.ZodString;
6901
7250
  bytes: zod.ZodNumber;
@@ -6912,6 +7261,28 @@ declare const apiOperations: {
6912
7261
  personalWorkspaces: zod.ZodBoolean;
6913
7262
  collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
6914
7263
  }, zod_v4_core.$strip>>;
7264
+ unavailableTools: zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
7265
+ name: zod.ZodString;
7266
+ reason: zod.ZodLiteral<"module_off">;
7267
+ module: zod.ZodString;
7268
+ }, zod_v4_core.$strip>, zod.ZodObject<{
7269
+ name: zod.ZodString;
7270
+ reason: zod.ZodLiteral<"unknown_tool">;
7271
+ }, zod_v4_core.$strip>], "reason">>>;
7272
+ unavailableSkills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
7273
+ name: zod.ZodString;
7274
+ reason: zod.ZodLiteral<"unknown_skill">;
7275
+ }, zod_v4_core.$strip>>>;
7276
+ unavailableModels: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
7277
+ name: zod.ZodString;
7278
+ field: zod.ZodEnum<{
7279
+ modelBindingId: "modelBindingId";
7280
+ modelProviderId: "modelProviderId";
7281
+ userSelectableModelBindingIds: "userSelectableModelBindingIds";
7282
+ }>;
7283
+ reason: zod.ZodLiteral<"unknown_model">;
7284
+ }, zod_v4_core.$strip>>>;
7285
+ chatAvailable: zod.ZodOptional<zod.ZodBoolean>;
6915
7286
  updatedAt: zod.ZodISODateTime;
6916
7287
  draftRevision: zod.ZodOptional<zod.ZodNumber>;
6917
7288
  publishedRevision: zod.ZodOptional<zod.ZodNumber>;
@@ -6990,9 +7361,9 @@ declare const apiOperations: {
6990
7361
  status: zod.ZodEnum<{
6991
7362
  failed: "failed";
6992
7363
  running: "running";
6993
- done: "done";
6994
- pending_approval: "pending_approval";
6995
7364
  pending_confirmation: "pending_confirmation";
7365
+ pending_approval: "pending_approval";
7366
+ done: "done";
6996
7367
  denied: "denied";
6997
7368
  expired: "expired";
6998
7369
  }>;
@@ -7047,9 +7418,9 @@ declare const apiOperations: {
7047
7418
  scheduleId: zod.ZodString;
7048
7419
  }, zod_v4_core.$strip>], "kind">;
7049
7420
  target: zod.ZodEnum<{
7050
- dry_run: "dry_run";
7051
- live: "live";
7052
7421
  test: "test";
7422
+ live: "live";
7423
+ dry_run: "dry_run";
7053
7424
  }>;
7054
7425
  app: zod.ZodOptional<zod.ZodObject<{
7055
7426
  title: zod.ZodOptional<zod.ZodString>;
@@ -7069,6 +7440,8 @@ declare const apiOperations: {
7069
7440
  }>;
7070
7441
  reason: zod.ZodOptional<zod.ZodEnum<{
7071
7442
  inherited_approval_not_applied: "inherited_approval_not_applied";
7443
+ workflow_publish: "workflow_publish";
7444
+ approved_by_caller: "approved_by_caller";
7072
7445
  }>>;
7073
7446
  by: zod.ZodString;
7074
7447
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -7133,9 +7506,9 @@ declare const apiOperations: {
7133
7506
  status: zod.ZodEnum<{
7134
7507
  failed: "failed";
7135
7508
  running: "running";
7136
- done: "done";
7137
- pending_approval: "pending_approval";
7138
7509
  pending_confirmation: "pending_confirmation";
7510
+ pending_approval: "pending_approval";
7511
+ done: "done";
7139
7512
  denied: "denied";
7140
7513
  expired: "expired";
7141
7514
  }>;
@@ -7190,9 +7563,9 @@ declare const apiOperations: {
7190
7563
  scheduleId: zod.ZodString;
7191
7564
  }, zod_v4_core.$strip>], "kind">;
7192
7565
  target: zod.ZodEnum<{
7193
- dry_run: "dry_run";
7194
- live: "live";
7195
7566
  test: "test";
7567
+ live: "live";
7568
+ dry_run: "dry_run";
7196
7569
  }>;
7197
7570
  app: zod.ZodOptional<zod.ZodObject<{
7198
7571
  title: zod.ZodOptional<zod.ZodString>;
@@ -7212,6 +7585,8 @@ declare const apiOperations: {
7212
7585
  }>;
7213
7586
  reason: zod.ZodOptional<zod.ZodEnum<{
7214
7587
  inherited_approval_not_applied: "inherited_approval_not_applied";
7588
+ workflow_publish: "workflow_publish";
7589
+ approved_by_caller: "approved_by_caller";
7215
7590
  }>>;
7216
7591
  by: zod.ZodString;
7217
7592
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -7276,9 +7651,9 @@ declare const apiOperations: {
7276
7651
  status: zod.ZodEnum<{
7277
7652
  failed: "failed";
7278
7653
  running: "running";
7279
- done: "done";
7280
- pending_approval: "pending_approval";
7281
7654
  pending_confirmation: "pending_confirmation";
7655
+ pending_approval: "pending_approval";
7656
+ done: "done";
7282
7657
  denied: "denied";
7283
7658
  expired: "expired";
7284
7659
  }>;
@@ -7333,9 +7708,9 @@ declare const apiOperations: {
7333
7708
  scheduleId: zod.ZodString;
7334
7709
  }, zod_v4_core.$strip>], "kind">;
7335
7710
  target: zod.ZodEnum<{
7336
- dry_run: "dry_run";
7337
- live: "live";
7338
7711
  test: "test";
7712
+ live: "live";
7713
+ dry_run: "dry_run";
7339
7714
  }>;
7340
7715
  app: zod.ZodOptional<zod.ZodObject<{
7341
7716
  title: zod.ZodOptional<zod.ZodString>;
@@ -7355,6 +7730,8 @@ declare const apiOperations: {
7355
7730
  }>;
7356
7731
  reason: zod.ZodOptional<zod.ZodEnum<{
7357
7732
  inherited_approval_not_applied: "inherited_approval_not_applied";
7733
+ workflow_publish: "workflow_publish";
7734
+ approved_by_caller: "approved_by_caller";
7358
7735
  }>>;
7359
7736
  by: zod.ZodString;
7360
7737
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -7419,9 +7796,9 @@ declare const apiOperations: {
7419
7796
  status: zod.ZodEnum<{
7420
7797
  failed: "failed";
7421
7798
  running: "running";
7422
- done: "done";
7423
- pending_approval: "pending_approval";
7424
7799
  pending_confirmation: "pending_confirmation";
7800
+ pending_approval: "pending_approval";
7801
+ done: "done";
7425
7802
  denied: "denied";
7426
7803
  expired: "expired";
7427
7804
  }>;
@@ -7476,9 +7853,9 @@ declare const apiOperations: {
7476
7853
  scheduleId: zod.ZodString;
7477
7854
  }, zod_v4_core.$strip>], "kind">;
7478
7855
  target: zod.ZodEnum<{
7479
- dry_run: "dry_run";
7480
- live: "live";
7481
7856
  test: "test";
7857
+ live: "live";
7858
+ dry_run: "dry_run";
7482
7859
  }>;
7483
7860
  app: zod.ZodOptional<zod.ZodObject<{
7484
7861
  title: zod.ZodOptional<zod.ZodString>;
@@ -7498,6 +7875,8 @@ declare const apiOperations: {
7498
7875
  }>;
7499
7876
  reason: zod.ZodOptional<zod.ZodEnum<{
7500
7877
  inherited_approval_not_applied: "inherited_approval_not_applied";
7878
+ workflow_publish: "workflow_publish";
7879
+ approved_by_caller: "approved_by_caller";
7501
7880
  }>>;
7502
7881
  by: zod.ZodString;
7503
7882
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -7602,9 +7981,9 @@ declare const apiOperations: {
7602
7981
  status: zod.ZodEnum<{
7603
7982
  failed: "failed";
7604
7983
  running: "running";
7605
- done: "done";
7606
- pending_approval: "pending_approval";
7607
7984
  pending_confirmation: "pending_confirmation";
7985
+ pending_approval: "pending_approval";
7986
+ done: "done";
7608
7987
  denied: "denied";
7609
7988
  expired: "expired";
7610
7989
  }>;
@@ -7659,9 +8038,9 @@ declare const apiOperations: {
7659
8038
  scheduleId: zod.ZodString;
7660
8039
  }, zod_v4_core.$strip>], "kind">;
7661
8040
  target: zod.ZodEnum<{
7662
- dry_run: "dry_run";
7663
- live: "live";
7664
8041
  test: "test";
8042
+ live: "live";
8043
+ dry_run: "dry_run";
7665
8044
  }>;
7666
8045
  app: zod.ZodOptional<zod.ZodObject<{
7667
8046
  title: zod.ZodOptional<zod.ZodString>;
@@ -7681,6 +8060,8 @@ declare const apiOperations: {
7681
8060
  }>;
7682
8061
  reason: zod.ZodOptional<zod.ZodEnum<{
7683
8062
  inherited_approval_not_applied: "inherited_approval_not_applied";
8063
+ workflow_publish: "workflow_publish";
8064
+ approved_by_caller: "approved_by_caller";
7684
8065
  }>>;
7685
8066
  by: zod.ZodString;
7686
8067
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -7761,9 +8142,9 @@ declare const apiOperations: {
7761
8142
  status: zod.ZodEnum<{
7762
8143
  failed: "failed";
7763
8144
  running: "running";
7764
- done: "done";
7765
- pending_approval: "pending_approval";
7766
8145
  pending_confirmation: "pending_confirmation";
8146
+ pending_approval: "pending_approval";
8147
+ done: "done";
7767
8148
  denied: "denied";
7768
8149
  expired: "expired";
7769
8150
  }>;
@@ -7818,9 +8199,9 @@ declare const apiOperations: {
7818
8199
  scheduleId: zod.ZodString;
7819
8200
  }, zod_v4_core.$strip>], "kind">;
7820
8201
  target: zod.ZodEnum<{
7821
- dry_run: "dry_run";
7822
- live: "live";
7823
8202
  test: "test";
8203
+ live: "live";
8204
+ dry_run: "dry_run";
7824
8205
  }>;
7825
8206
  app: zod.ZodOptional<zod.ZodObject<{
7826
8207
  title: zod.ZodOptional<zod.ZodString>;
@@ -7840,6 +8221,8 @@ declare const apiOperations: {
7840
8221
  }>;
7841
8222
  reason: zod.ZodOptional<zod.ZodEnum<{
7842
8223
  inherited_approval_not_applied: "inherited_approval_not_applied";
8224
+ workflow_publish: "workflow_publish";
8225
+ approved_by_caller: "approved_by_caller";
7843
8226
  }>>;
7844
8227
  by: zod.ZodString;
7845
8228
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -7891,9 +8274,9 @@ declare const apiOperations: {
7891
8274
  assetId: zod.ZodString;
7892
8275
  revision: zod.ZodNumber;
7893
8276
  operation: zod.ZodEnum<{
8277
+ delete: "delete";
7894
8278
  create: "create";
7895
8279
  update: "update";
7896
- delete: "delete";
7897
8280
  revert: "revert";
7898
8281
  }>;
7899
8282
  config: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
@@ -7992,9 +8375,9 @@ declare const apiOperations: {
7992
8375
  status: zod.ZodEnum<{
7993
8376
  failed: "failed";
7994
8377
  running: "running";
7995
- done: "done";
7996
- pending_approval: "pending_approval";
7997
8378
  pending_confirmation: "pending_confirmation";
8379
+ pending_approval: "pending_approval";
8380
+ done: "done";
7998
8381
  denied: "denied";
7999
8382
  expired: "expired";
8000
8383
  }>;
@@ -8049,9 +8432,9 @@ declare const apiOperations: {
8049
8432
  scheduleId: zod.ZodString;
8050
8433
  }, zod_v4_core.$strip>], "kind">;
8051
8434
  target: zod.ZodEnum<{
8052
- dry_run: "dry_run";
8053
- live: "live";
8054
8435
  test: "test";
8436
+ live: "live";
8437
+ dry_run: "dry_run";
8055
8438
  }>;
8056
8439
  app: zod.ZodOptional<zod.ZodObject<{
8057
8440
  title: zod.ZodOptional<zod.ZodString>;
@@ -8071,6 +8454,8 @@ declare const apiOperations: {
8071
8454
  }>;
8072
8455
  reason: zod.ZodOptional<zod.ZodEnum<{
8073
8456
  inherited_approval_not_applied: "inherited_approval_not_applied";
8457
+ workflow_publish: "workflow_publish";
8458
+ approved_by_caller: "approved_by_caller";
8074
8459
  }>>;
8075
8460
  by: zod.ZodString;
8076
8461
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -8177,6 +8562,14 @@ declare const apiOperations: {
8177
8562
  }>>;
8178
8563
  module: zod.ZodOptional<zod.ZodString>;
8179
8564
  }, zod_v4_core.$strip>>>;
8565
+ unavailableTools: zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
8566
+ name: zod.ZodString;
8567
+ reason: zod.ZodLiteral<"module_off">;
8568
+ module: zod.ZodString;
8569
+ }, zod_v4_core.$strip>, zod.ZodObject<{
8570
+ name: zod.ZodString;
8571
+ reason: zod.ZodLiteral<"unknown_tool">;
8572
+ }, zod_v4_core.$strip>], "reason">>>;
8180
8573
  moduleOffTools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
8181
8574
  name: zod.ZodString;
8182
8575
  module: zod.ZodString;
@@ -8263,9 +8656,9 @@ declare const apiOperations: {
8263
8656
  status: zod.ZodEnum<{
8264
8657
  failed: "failed";
8265
8658
  running: "running";
8266
- done: "done";
8267
- pending_approval: "pending_approval";
8268
8659
  pending_confirmation: "pending_confirmation";
8660
+ pending_approval: "pending_approval";
8661
+ done: "done";
8269
8662
  denied: "denied";
8270
8663
  expired: "expired";
8271
8664
  }>;
@@ -8320,9 +8713,9 @@ declare const apiOperations: {
8320
8713
  scheduleId: zod.ZodString;
8321
8714
  }, zod_v4_core.$strip>], "kind">;
8322
8715
  target: zod.ZodEnum<{
8323
- dry_run: "dry_run";
8324
- live: "live";
8325
8716
  test: "test";
8717
+ live: "live";
8718
+ dry_run: "dry_run";
8326
8719
  }>;
8327
8720
  app: zod.ZodOptional<zod.ZodObject<{
8328
8721
  title: zod.ZodOptional<zod.ZodString>;
@@ -8342,6 +8735,8 @@ declare const apiOperations: {
8342
8735
  }>;
8343
8736
  reason: zod.ZodOptional<zod.ZodEnum<{
8344
8737
  inherited_approval_not_applied: "inherited_approval_not_applied";
8738
+ workflow_publish: "workflow_publish";
8739
+ approved_by_caller: "approved_by_caller";
8345
8740
  }>>;
8346
8741
  by: zod.ZodString;
8347
8742
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -8412,9 +8807,9 @@ declare const apiOperations: {
8412
8807
  status: zod.ZodEnum<{
8413
8808
  failed: "failed";
8414
8809
  running: "running";
8415
- done: "done";
8416
- pending_approval: "pending_approval";
8417
8810
  pending_confirmation: "pending_confirmation";
8811
+ pending_approval: "pending_approval";
8812
+ done: "done";
8418
8813
  denied: "denied";
8419
8814
  expired: "expired";
8420
8815
  }>;
@@ -8469,9 +8864,9 @@ declare const apiOperations: {
8469
8864
  scheduleId: zod.ZodString;
8470
8865
  }, zod_v4_core.$strip>], "kind">;
8471
8866
  target: zod.ZodEnum<{
8472
- dry_run: "dry_run";
8473
- live: "live";
8474
8867
  test: "test";
8868
+ live: "live";
8869
+ dry_run: "dry_run";
8475
8870
  }>;
8476
8871
  app: zod.ZodOptional<zod.ZodObject<{
8477
8872
  title: zod.ZodOptional<zod.ZodString>;
@@ -8491,6 +8886,8 @@ declare const apiOperations: {
8491
8886
  }>;
8492
8887
  reason: zod.ZodOptional<zod.ZodEnum<{
8493
8888
  inherited_approval_not_applied: "inherited_approval_not_applied";
8889
+ workflow_publish: "workflow_publish";
8890
+ approved_by_caller: "approved_by_caller";
8494
8891
  }>>;
8495
8892
  by: zod.ZodString;
8496
8893
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -8611,9 +9008,9 @@ declare const apiOperations: {
8611
9008
  readonly schema: zod.ZodObject<{
8612
9009
  can: zod.ZodRecord<zod.ZodString, zod.ZodEnum<{
8613
9010
  allow: "allow";
9011
+ deny: "deny";
8614
9012
  confirm: "confirm";
8615
9013
  approval: "approval";
8616
- deny: "deny";
8617
9014
  }>>;
8618
9015
  }, zod_v4_core.$strip>;
8619
9016
  };
@@ -8668,14 +9065,14 @@ declare const apiOperations: {
8668
9065
  inputSchema: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
8669
9066
  policy: zod.ZodEnum<{
8670
9067
  allow: "allow";
9068
+ deny: "deny";
8671
9069
  confirm: "confirm";
8672
9070
  approval: "approval";
8673
- deny: "deny";
8674
9071
  }>;
8675
9072
  target: zod.ZodOptional<zod.ZodEnum<{
8676
- dry_run: "dry_run";
8677
- live: "live";
8678
9073
  test: "test";
9074
+ live: "live";
9075
+ dry_run: "dry_run";
8679
9076
  }>>;
8680
9077
  agentTool: zod.ZodBoolean;
8681
9078
  }, zod_v4_core.$strip>, zod.ZodObject<{
@@ -8697,14 +9094,14 @@ declare const apiOperations: {
8697
9094
  inputSchema: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
8698
9095
  policy: zod.ZodEnum<{
8699
9096
  allow: "allow";
9097
+ deny: "deny";
8700
9098
  confirm: "confirm";
8701
9099
  approval: "approval";
8702
- deny: "deny";
8703
9100
  }>;
8704
9101
  target: zod.ZodOptional<zod.ZodEnum<{
8705
- dry_run: "dry_run";
8706
- live: "live";
8707
9102
  test: "test";
9103
+ live: "live";
9104
+ dry_run: "dry_run";
8708
9105
  }>>;
8709
9106
  agentTool: zod.ZodBoolean;
8710
9107
  }, zod_v4_core.$strip>, zod.ZodObject<{
@@ -8725,14 +9122,14 @@ declare const apiOperations: {
8725
9122
  inputSchema: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
8726
9123
  policy: zod.ZodEnum<{
8727
9124
  allow: "allow";
9125
+ deny: "deny";
8728
9126
  confirm: "confirm";
8729
9127
  approval: "approval";
8730
- deny: "deny";
8731
9128
  }>;
8732
9129
  target: zod.ZodOptional<zod.ZodEnum<{
8733
- dry_run: "dry_run";
8734
- live: "live";
8735
9130
  test: "test";
9131
+ live: "live";
9132
+ dry_run: "dry_run";
8736
9133
  }>>;
8737
9134
  agentTool: zod.ZodBoolean;
8738
9135
  }, zod_v4_core.$strip>], "kind">>;
@@ -8771,8 +9168,8 @@ declare const apiOperations: {
8771
9168
  readonly schema: zod.ZodUnion<readonly [zod.ZodObject<{
8772
9169
  runId: zod.ZodString;
8773
9170
  status: zod.ZodEnum<{
8774
- done: "done";
8775
9171
  pending_approval: "pending_approval";
9172
+ done: "done";
8776
9173
  }>;
8777
9174
  result: zod.ZodOptional<zod.ZodUnknown>;
8778
9175
  }, zod_v4_core.$strip>, zod.ZodObject<{
@@ -8805,11 +9202,11 @@ declare const apiOperations: {
8805
9202
  workflow: zod.ZodString;
8806
9203
  status: zod.ZodEnum<{
8807
9204
  failed: "failed";
8808
- queued: "queued";
8809
9205
  running: "running";
8810
- waiting: "waiting";
8811
9206
  done: "done";
9207
+ queued: "queued";
8812
9208
  cancelled: "cancelled";
9209
+ waiting: "waiting";
8813
9210
  limit_reached: "limit_reached";
8814
9211
  }>;
8815
9212
  output: zod.ZodOptional<zod.ZodUnknown>;
@@ -8971,6 +9368,7 @@ declare const apiOperations: {
8971
9368
  readonly tag: "Operations";
8972
9369
  readonly auth: "principal";
8973
9370
  readonly scope: "governance:read";
9371
+ readonly personalKeyScope: "me:read";
8974
9372
  readonly requires: readonly [];
8975
9373
  readonly effect: "reading";
8976
9374
  readonly response: {
@@ -8985,9 +9383,9 @@ declare const apiOperations: {
8985
9383
  status: zod.ZodEnum<{
8986
9384
  failed: "failed";
8987
9385
  running: "running";
8988
- done: "done";
8989
- pending_approval: "pending_approval";
8990
9386
  pending_confirmation: "pending_confirmation";
9387
+ pending_approval: "pending_approval";
9388
+ done: "done";
8991
9389
  denied: "denied";
8992
9390
  expired: "expired";
8993
9391
  }>;
@@ -9042,9 +9440,9 @@ declare const apiOperations: {
9042
9440
  scheduleId: zod.ZodString;
9043
9441
  }, zod_v4_core.$strip>], "kind">;
9044
9442
  target: zod.ZodEnum<{
9045
- dry_run: "dry_run";
9046
- live: "live";
9047
9443
  test: "test";
9444
+ live: "live";
9445
+ dry_run: "dry_run";
9048
9446
  }>;
9049
9447
  app: zod.ZodOptional<zod.ZodObject<{
9050
9448
  title: zod.ZodOptional<zod.ZodString>;
@@ -9064,6 +9462,8 @@ declare const apiOperations: {
9064
9462
  }>;
9065
9463
  reason: zod.ZodOptional<zod.ZodEnum<{
9066
9464
  inherited_approval_not_applied: "inherited_approval_not_applied";
9465
+ workflow_publish: "workflow_publish";
9466
+ approved_by_caller: "approved_by_caller";
9067
9467
  }>>;
9068
9468
  by: zod.ZodString;
9069
9469
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -9113,9 +9513,9 @@ declare const apiOperations: {
9113
9513
  status: zod.ZodOptional<zod.ZodEnum<{
9114
9514
  failed: "failed";
9115
9515
  running: "running";
9116
- done: "done";
9117
- pending_approval: "pending_approval";
9118
9516
  pending_confirmation: "pending_confirmation";
9517
+ pending_approval: "pending_approval";
9518
+ done: "done";
9119
9519
  denied: "denied";
9120
9520
  expired: "expired";
9121
9521
  }>>;
@@ -9145,9 +9545,9 @@ declare const apiOperations: {
9145
9545
  status: zod.ZodEnum<{
9146
9546
  failed: "failed";
9147
9547
  running: "running";
9148
- done: "done";
9149
- pending_approval: "pending_approval";
9150
9548
  pending_confirmation: "pending_confirmation";
9549
+ pending_approval: "pending_approval";
9550
+ done: "done";
9151
9551
  denied: "denied";
9152
9552
  expired: "expired";
9153
9553
  }>;
@@ -9202,9 +9602,9 @@ declare const apiOperations: {
9202
9602
  scheduleId: zod.ZodString;
9203
9603
  }, zod_v4_core.$strip>], "kind">;
9204
9604
  target: zod.ZodEnum<{
9205
- dry_run: "dry_run";
9206
- live: "live";
9207
9605
  test: "test";
9606
+ live: "live";
9607
+ dry_run: "dry_run";
9208
9608
  }>;
9209
9609
  app: zod.ZodOptional<zod.ZodObject<{
9210
9610
  title: zod.ZodOptional<zod.ZodString>;
@@ -9224,6 +9624,8 @@ declare const apiOperations: {
9224
9624
  }>;
9225
9625
  reason: zod.ZodOptional<zod.ZodEnum<{
9226
9626
  inherited_approval_not_applied: "inherited_approval_not_applied";
9627
+ workflow_publish: "workflow_publish";
9628
+ approved_by_caller: "approved_by_caller";
9227
9629
  }>>;
9228
9630
  by: zod.ZodString;
9229
9631
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -9253,8 +9655,281 @@ declare const apiOperations: {
9253
9655
  readonly order: readonly string[];
9254
9656
  readonly descending: boolean;
9255
9657
  };
9256
- readonly errors: readonly [];
9257
- readonly rateClass: "read";
9658
+ readonly errors: readonly [];
9659
+ readonly rateClass: "read";
9660
+ }>;
9661
+ readonly "operations.decide": Operation<{
9662
+ readonly id: "operations.decide";
9663
+ readonly method: "POST";
9664
+ readonly path: "/api/v1/operations/runs/:runId/decision";
9665
+ readonly summary: "Confirm or decline a call your own Agent Run waits on";
9666
+ readonly tag: "Operations";
9667
+ readonly auth: "user";
9668
+ readonly scope: "conversation:write";
9669
+ readonly requires: readonly [];
9670
+ readonly effect: "changing";
9671
+ readonly body: zod.ZodObject<{
9672
+ decision: zod.ZodEnum<{
9673
+ confirm: "confirm";
9674
+ decline: "decline";
9675
+ }>;
9676
+ reason: zod.ZodOptional<zod.ZodString>;
9677
+ }, zod_v4_core.$strip>;
9678
+ readonly response: {
9679
+ readonly kind: "json";
9680
+ readonly schema: zod.ZodObject<{
9681
+ run: zod.ZodObject<{
9682
+ id: zod.ZodString;
9683
+ operation: zod.ZodString;
9684
+ effect: zod.ZodEnum<{
9685
+ reading: "reading";
9686
+ changing: "changing";
9687
+ }>;
9688
+ status: zod.ZodEnum<{
9689
+ failed: "failed";
9690
+ running: "running";
9691
+ pending_confirmation: "pending_confirmation";
9692
+ pending_approval: "pending_approval";
9693
+ done: "done";
9694
+ denied: "denied";
9695
+ expired: "expired";
9696
+ }>;
9697
+ actor: zod.ZodObject<{
9698
+ kind: zod.ZodEnum<{
9699
+ user: "user";
9700
+ service_principal: "service_principal";
9701
+ }>;
9702
+ id: zod.ZodString;
9703
+ label: zod.ZodString;
9704
+ }, zod_v4_core.$strip>;
9705
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
9706
+ kind: zod.ZodLiteral<"agent">;
9707
+ agentRunId: zod.ZodString;
9708
+ conversationId: zod.ZodString;
9709
+ agentName: zod.ZodString;
9710
+ toolCallId: zod.ZodString;
9711
+ toolName: zod.ZodString;
9712
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
9713
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9714
+ kind: zod.ZodLiteral<"user">;
9715
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9716
+ kind: zod.ZodLiteral<"cli">;
9717
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9718
+ kind: zod.ZodLiteral<"mcp">;
9719
+ clientName: zod.ZodOptional<zod.ZodString>;
9720
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9721
+ kind: zod.ZodLiteral<"app">;
9722
+ appName: zod.ZodOptional<zod.ZodString>;
9723
+ appRevisionId: zod.ZodString;
9724
+ actionName: zod.ZodString;
9725
+ pageSessionId: zod.ZodString;
9726
+ conversationId: zod.ZodOptional<zod.ZodString>;
9727
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
9728
+ connection: zod.ZodString;
9729
+ operation: zod.ZodString;
9730
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9731
+ dataStore: zod.ZodString;
9732
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9733
+ workflow: zod.ZodString;
9734
+ }, zod_v4_core.$strip>]>>;
9735
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9736
+ kind: zod.ZodLiteral<"workflow">;
9737
+ workflowRunId: zod.ZodString;
9738
+ stepRunId: zod.ZodString;
9739
+ boundBy: zod.ZodOptional<zod.ZodObject<{
9740
+ id: zod.ZodString;
9741
+ label: zod.ZodString;
9742
+ }, zod_v4_core.$strip>>;
9743
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9744
+ kind: zod.ZodLiteral<"schedule">;
9745
+ scheduleId: zod.ZodString;
9746
+ }, zod_v4_core.$strip>], "kind">;
9747
+ target: zod.ZodEnum<{
9748
+ test: "test";
9749
+ live: "live";
9750
+ dry_run: "dry_run";
9751
+ }>;
9752
+ app: zod.ZodOptional<zod.ZodObject<{
9753
+ title: zod.ZodOptional<zod.ZodString>;
9754
+ revision: zod.ZodOptional<zod.ZodNumber>;
9755
+ deleted: zod.ZodBoolean;
9756
+ }, zod_v4_core.$strip>>;
9757
+ workspaceId: zod.ZodOptional<zod.ZodString>;
9758
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
9759
+ inputHash: zod.ZodString;
9760
+ attempt: zod.ZodNumber;
9761
+ decision: zod.ZodOptional<zod.ZodObject<{
9762
+ mode: zod.ZodEnum<{
9763
+ direct: "direct";
9764
+ confirmed: "confirmed";
9765
+ approved: "approved";
9766
+ declined: "declined";
9767
+ }>;
9768
+ reason: zod.ZodOptional<zod.ZodEnum<{
9769
+ inherited_approval_not_applied: "inherited_approval_not_applied";
9770
+ workflow_publish: "workflow_publish";
9771
+ approved_by_caller: "approved_by_caller";
9772
+ }>>;
9773
+ by: zod.ZodString;
9774
+ byLabel: zod.ZodOptional<zod.ZodString>;
9775
+ at: zod.ZodISODateTime;
9776
+ comment: zod.ZodOptional<zod.ZodString>;
9777
+ }, zod_v4_core.$strip>>;
9778
+ error: zod.ZodOptional<zod.ZodObject<{
9779
+ code: zod.ZodString;
9780
+ message: zod.ZodString;
9781
+ reason: zod.ZodOptional<zod.ZodString>;
9782
+ }, zod_v4_core.$strip>>;
9783
+ usage: zod.ZodOptional<zod.ZodObject<{
9784
+ modelCalls: zod.ZodNumber;
9785
+ inputTokens: zod.ZodNumber;
9786
+ outputTokens: zod.ZodNumber;
9787
+ totalTokens: zod.ZodNumber;
9788
+ }, zod_v4_core.$strip>>;
9789
+ correlationId: zod.ZodString;
9790
+ createdAt: zod.ZodISODateTime;
9791
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
9792
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
9793
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
9794
+ href: zod.ZodString;
9795
+ }, zod_v4_core.$strip>;
9796
+ agentRun: zod.ZodObject<{
9797
+ id: zod.ZodString;
9798
+ status: zod.ZodEnum<{
9799
+ failed: "failed";
9800
+ running: "running";
9801
+ queued: "queued";
9802
+ waiting_for_decision: "waiting_for_decision";
9803
+ cancelling: "cancelling";
9804
+ completed: "completed";
9805
+ cancelled: "cancelled";
9806
+ }>;
9807
+ lastSequence: zod.ZodNumber;
9808
+ }, zod_v4_core.$strip>;
9809
+ }, zod_v4_core.$strip>;
9810
+ };
9811
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
9812
+ readonly rateClass: "write";
9813
+ } & {
9814
+ readonly accepted: zod.ZodObject<{
9815
+ id: zod.ZodString;
9816
+ operation: zod.ZodString;
9817
+ effect: zod.ZodEnum<{
9818
+ reading: "reading";
9819
+ changing: "changing";
9820
+ }>;
9821
+ status: zod.ZodEnum<{
9822
+ failed: "failed";
9823
+ running: "running";
9824
+ pending_confirmation: "pending_confirmation";
9825
+ pending_approval: "pending_approval";
9826
+ done: "done";
9827
+ denied: "denied";
9828
+ expired: "expired";
9829
+ }>;
9830
+ actor: zod.ZodObject<{
9831
+ kind: zod.ZodEnum<{
9832
+ user: "user";
9833
+ service_principal: "service_principal";
9834
+ }>;
9835
+ id: zod.ZodString;
9836
+ label: zod.ZodString;
9837
+ }, zod_v4_core.$strip>;
9838
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
9839
+ kind: zod.ZodLiteral<"agent">;
9840
+ agentRunId: zod.ZodString;
9841
+ conversationId: zod.ZodString;
9842
+ agentName: zod.ZodString;
9843
+ toolCallId: zod.ZodString;
9844
+ toolName: zod.ZodString;
9845
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
9846
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9847
+ kind: zod.ZodLiteral<"user">;
9848
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9849
+ kind: zod.ZodLiteral<"cli">;
9850
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9851
+ kind: zod.ZodLiteral<"mcp">;
9852
+ clientName: zod.ZodOptional<zod.ZodString>;
9853
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9854
+ kind: zod.ZodLiteral<"app">;
9855
+ appName: zod.ZodOptional<zod.ZodString>;
9856
+ appRevisionId: zod.ZodString;
9857
+ actionName: zod.ZodString;
9858
+ pageSessionId: zod.ZodString;
9859
+ conversationId: zod.ZodOptional<zod.ZodString>;
9860
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
9861
+ connection: zod.ZodString;
9862
+ operation: zod.ZodString;
9863
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9864
+ dataStore: zod.ZodString;
9865
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9866
+ workflow: zod.ZodString;
9867
+ }, zod_v4_core.$strip>]>>;
9868
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9869
+ kind: zod.ZodLiteral<"workflow">;
9870
+ workflowRunId: zod.ZodString;
9871
+ stepRunId: zod.ZodString;
9872
+ boundBy: zod.ZodOptional<zod.ZodObject<{
9873
+ id: zod.ZodString;
9874
+ label: zod.ZodString;
9875
+ }, zod_v4_core.$strip>>;
9876
+ }, zod_v4_core.$strip>, zod.ZodObject<{
9877
+ kind: zod.ZodLiteral<"schedule">;
9878
+ scheduleId: zod.ZodString;
9879
+ }, zod_v4_core.$strip>], "kind">;
9880
+ target: zod.ZodEnum<{
9881
+ test: "test";
9882
+ live: "live";
9883
+ dry_run: "dry_run";
9884
+ }>;
9885
+ app: zod.ZodOptional<zod.ZodObject<{
9886
+ title: zod.ZodOptional<zod.ZodString>;
9887
+ revision: zod.ZodOptional<zod.ZodNumber>;
9888
+ deleted: zod.ZodBoolean;
9889
+ }, zod_v4_core.$strip>>;
9890
+ workspaceId: zod.ZodOptional<zod.ZodString>;
9891
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
9892
+ inputHash: zod.ZodString;
9893
+ attempt: zod.ZodNumber;
9894
+ decision: zod.ZodOptional<zod.ZodObject<{
9895
+ mode: zod.ZodEnum<{
9896
+ direct: "direct";
9897
+ confirmed: "confirmed";
9898
+ approved: "approved";
9899
+ declined: "declined";
9900
+ }>;
9901
+ reason: zod.ZodOptional<zod.ZodEnum<{
9902
+ inherited_approval_not_applied: "inherited_approval_not_applied";
9903
+ workflow_publish: "workflow_publish";
9904
+ approved_by_caller: "approved_by_caller";
9905
+ }>>;
9906
+ by: zod.ZodString;
9907
+ byLabel: zod.ZodOptional<zod.ZodString>;
9908
+ at: zod.ZodISODateTime;
9909
+ comment: zod.ZodOptional<zod.ZodString>;
9910
+ }, zod_v4_core.$strip>>;
9911
+ error: zod.ZodOptional<zod.ZodObject<{
9912
+ code: zod.ZodString;
9913
+ message: zod.ZodString;
9914
+ reason: zod.ZodOptional<zod.ZodString>;
9915
+ }, zod_v4_core.$strip>>;
9916
+ usage: zod.ZodOptional<zod.ZodObject<{
9917
+ modelCalls: zod.ZodNumber;
9918
+ inputTokens: zod.ZodNumber;
9919
+ outputTokens: zod.ZodNumber;
9920
+ totalTokens: zod.ZodNumber;
9921
+ }, zod_v4_core.$strip>>;
9922
+ correlationId: zod.ZodString;
9923
+ createdAt: zod.ZodISODateTime;
9924
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
9925
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
9926
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
9927
+ href: zod.ZodString;
9928
+ }, zod_v4_core.$strip>;
9929
+ readonly headers: {
9930
+ readonly request: readonly ["Idempotency-Key"];
9931
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
9932
+ };
9258
9933
  }>;
9259
9934
  readonly "instance.jobs.summary": Operation<{
9260
9935
  readonly id: "instance.jobs.summary";
@@ -9306,8 +9981,8 @@ declare const apiOperations: {
9306
9981
  kind: zod.ZodString;
9307
9982
  status: zod.ZodEnum<{
9308
9983
  failed: "failed";
9309
- queued: "queued";
9310
9984
  running: "running";
9985
+ queued: "queued";
9311
9986
  cancelled: "cancelled";
9312
9987
  succeeded: "succeeded";
9313
9988
  dead: "dead";
@@ -9347,8 +10022,8 @@ declare const apiOperations: {
9347
10022
  kind: zod.ZodString;
9348
10023
  status: zod.ZodEnum<{
9349
10024
  failed: "failed";
9350
- queued: "queued";
9351
10025
  running: "running";
10026
+ queued: "queued";
9352
10027
  cancelled: "cancelled";
9353
10028
  succeeded: "succeeded";
9354
10029
  dead: "dead";
@@ -9377,9 +10052,9 @@ declare const apiOperations: {
9377
10052
  status: zod.ZodEnum<{
9378
10053
  failed: "failed";
9379
10054
  running: "running";
9380
- done: "done";
9381
- pending_approval: "pending_approval";
9382
10055
  pending_confirmation: "pending_confirmation";
10056
+ pending_approval: "pending_approval";
10057
+ done: "done";
9383
10058
  denied: "denied";
9384
10059
  expired: "expired";
9385
10060
  }>;
@@ -9434,9 +10109,9 @@ declare const apiOperations: {
9434
10109
  scheduleId: zod.ZodString;
9435
10110
  }, zod_v4_core.$strip>], "kind">;
9436
10111
  target: zod.ZodEnum<{
9437
- dry_run: "dry_run";
9438
- live: "live";
9439
10112
  test: "test";
10113
+ live: "live";
10114
+ dry_run: "dry_run";
9440
10115
  }>;
9441
10116
  app: zod.ZodOptional<zod.ZodObject<{
9442
10117
  title: zod.ZodOptional<zod.ZodString>;
@@ -9456,6 +10131,8 @@ declare const apiOperations: {
9456
10131
  }>;
9457
10132
  reason: zod.ZodOptional<zod.ZodEnum<{
9458
10133
  inherited_approval_not_applied: "inherited_approval_not_applied";
10134
+ workflow_publish: "workflow_publish";
10135
+ approved_by_caller: "approved_by_caller";
9459
10136
  }>>;
9460
10137
  by: zod.ZodString;
9461
10138
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -9571,8 +10248,8 @@ declare const apiOperations: {
9571
10248
  }>;
9572
10249
  outcome: zod.ZodEnum<{
9573
10250
  failed: "failed";
9574
- success: "success";
9575
10251
  denied: "denied";
10252
+ success: "success";
9576
10253
  warning: "warning";
9577
10254
  }>;
9578
10255
  actor: zod.ZodObject<{
@@ -10026,10 +10703,10 @@ declare const apiOperations: {
10026
10703
  byteSize: zod.ZodNumber;
10027
10704
  status: zod.ZodEnum<{
10028
10705
  failed: "failed";
10029
- ready: "ready";
10030
10706
  queued: "queued";
10031
10707
  deleted: "deleted";
10032
10708
  preprocessing: "preprocessing";
10709
+ ready: "ready";
10033
10710
  unsupported: "unsupported";
10034
10711
  }>;
10035
10712
  format: zod.ZodOptional<zod.ZodString>;
@@ -10074,10 +10751,10 @@ declare const apiOperations: {
10074
10751
  byteSize: zod.ZodNumber;
10075
10752
  status: zod.ZodEnum<{
10076
10753
  failed: "failed";
10077
- ready: "ready";
10078
10754
  queued: "queued";
10079
10755
  deleted: "deleted";
10080
10756
  preprocessing: "preprocessing";
10757
+ ready: "ready";
10081
10758
  unsupported: "unsupported";
10082
10759
  }>;
10083
10760
  format: zod.ZodOptional<zod.ZodString>;
@@ -10100,10 +10777,10 @@ declare const apiOperations: {
10100
10777
  byteSize: zod.ZodNumber;
10101
10778
  status: zod.ZodEnum<{
10102
10779
  failed: "failed";
10103
- ready: "ready";
10104
10780
  queued: "queued";
10105
10781
  deleted: "deleted";
10106
10782
  preprocessing: "preprocessing";
10783
+ ready: "ready";
10107
10784
  unsupported: "unsupported";
10108
10785
  }>;
10109
10786
  format: zod.ZodOptional<zod.ZodString>;
@@ -10148,10 +10825,10 @@ declare const apiOperations: {
10148
10825
  byteSize: zod.ZodNumber;
10149
10826
  status: zod.ZodEnum<{
10150
10827
  failed: "failed";
10151
- ready: "ready";
10152
10828
  queued: "queued";
10153
10829
  deleted: "deleted";
10154
10830
  preprocessing: "preprocessing";
10831
+ ready: "ready";
10155
10832
  unsupported: "unsupported";
10156
10833
  }>;
10157
10834
  format: zod.ZodOptional<zod.ZodString>;
@@ -10174,10 +10851,10 @@ declare const apiOperations: {
10174
10851
  byteSize: zod.ZodNumber;
10175
10852
  status: zod.ZodEnum<{
10176
10853
  failed: "failed";
10177
- ready: "ready";
10178
10854
  queued: "queued";
10179
10855
  deleted: "deleted";
10180
10856
  preprocessing: "preprocessing";
10857
+ ready: "ready";
10181
10858
  unsupported: "unsupported";
10182
10859
  }>;
10183
10860
  format: zod.ZodOptional<zod.ZodString>;
@@ -10221,10 +10898,10 @@ declare const apiOperations: {
10221
10898
  byteSize: zod.ZodNumber;
10222
10899
  status: zod.ZodEnum<{
10223
10900
  failed: "failed";
10224
- ready: "ready";
10225
10901
  queued: "queued";
10226
10902
  deleted: "deleted";
10227
10903
  preprocessing: "preprocessing";
10904
+ ready: "ready";
10228
10905
  unsupported: "unsupported";
10229
10906
  }>;
10230
10907
  format: zod.ZodOptional<zod.ZodString>;
@@ -10490,12 +11167,12 @@ declare const apiOperations: {
10490
11167
  agentName: zod.ZodString;
10491
11168
  status: zod.ZodEnum<{
10492
11169
  failed: "failed";
10493
- queued: "queued";
10494
11170
  running: "running";
10495
- cancelled: "cancelled";
10496
- completed: "completed";
10497
- waiting_for_permission: "waiting_for_permission";
11171
+ queued: "queued";
11172
+ waiting_for_decision: "waiting_for_decision";
10498
11173
  cancelling: "cancelling";
11174
+ completed: "completed";
11175
+ cancelled: "cancelled";
10499
11176
  }>;
10500
11177
  startedAt: zod.ZodISODateTime;
10501
11178
  updatedAt: zod.ZodISODateTime;
@@ -10601,6 +11278,168 @@ declare const apiOperations: {
10601
11278
  readonly errors: readonly ["NOT_FOUND"];
10602
11279
  readonly rateClass: "write";
10603
11280
  }>;
11281
+ readonly "conversations.subject.open": Operation<{
11282
+ readonly id: "conversations.subject.open";
11283
+ readonly method: "PUT";
11284
+ readonly path: "/api/v1/conversations/:conversationId/subject";
11285
+ readonly summary: "Make an asset what the person's own conversation is about";
11286
+ readonly tag: "Conversations";
11287
+ readonly auth: "user";
11288
+ readonly scope: "conversation:write";
11289
+ readonly requires: readonly [];
11290
+ readonly effect: "changing";
11291
+ readonly body: zod.ZodObject<{
11292
+ kind: zod.ZodString;
11293
+ name: zod.ZodString;
11294
+ toolCallId: zod.ZodOptional<zod.ZodString>;
11295
+ }, zod_v4_core.$strip>;
11296
+ readonly response: {
11297
+ readonly kind: "json";
11298
+ readonly schema: zod.ZodObject<{
11299
+ id: zod.ZodString;
11300
+ clientInstanceId: zod.ZodString;
11301
+ collaborationWorkspaceId: zod.ZodString;
11302
+ createdByUserId: zod.ZodString;
11303
+ createdByExternalUserId: zod.ZodString;
11304
+ visibility: zod.ZodEnum<{
11305
+ workspace: "workspace";
11306
+ private: "private";
11307
+ }>;
11308
+ title: zod.ZodString;
11309
+ status: zod.ZodString;
11310
+ createdAt: zod.ZodISODateTime;
11311
+ updatedAt: zod.ZodISODateTime;
11312
+ retainedUntil: zod.ZodISODateTime;
11313
+ deletedAt: zod.ZodOptional<zod.ZodISODateTime>;
11314
+ subject: zod.ZodOptional<zod.ZodObject<{
11315
+ kind: zod.ZodString;
11316
+ name: zod.ZodString;
11317
+ }, zod_v4_core.$strip>>;
11318
+ }, zod_v4_core.$strip>;
11319
+ };
11320
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
11321
+ readonly rateClass: "write";
11322
+ } & {
11323
+ readonly accepted: zod.ZodObject<{
11324
+ id: zod.ZodString;
11325
+ operation: zod.ZodString;
11326
+ effect: zod.ZodEnum<{
11327
+ reading: "reading";
11328
+ changing: "changing";
11329
+ }>;
11330
+ status: zod.ZodEnum<{
11331
+ failed: "failed";
11332
+ running: "running";
11333
+ pending_confirmation: "pending_confirmation";
11334
+ pending_approval: "pending_approval";
11335
+ done: "done";
11336
+ denied: "denied";
11337
+ expired: "expired";
11338
+ }>;
11339
+ actor: zod.ZodObject<{
11340
+ kind: zod.ZodEnum<{
11341
+ user: "user";
11342
+ service_principal: "service_principal";
11343
+ }>;
11344
+ id: zod.ZodString;
11345
+ label: zod.ZodString;
11346
+ }, zod_v4_core.$strip>;
11347
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
11348
+ kind: zod.ZodLiteral<"agent">;
11349
+ agentRunId: zod.ZodString;
11350
+ conversationId: zod.ZodString;
11351
+ agentName: zod.ZodString;
11352
+ toolCallId: zod.ZodString;
11353
+ toolName: zod.ZodString;
11354
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
11355
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11356
+ kind: zod.ZodLiteral<"user">;
11357
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11358
+ kind: zod.ZodLiteral<"cli">;
11359
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11360
+ kind: zod.ZodLiteral<"mcp">;
11361
+ clientName: zod.ZodOptional<zod.ZodString>;
11362
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11363
+ kind: zod.ZodLiteral<"app">;
11364
+ appName: zod.ZodOptional<zod.ZodString>;
11365
+ appRevisionId: zod.ZodString;
11366
+ actionName: zod.ZodString;
11367
+ pageSessionId: zod.ZodString;
11368
+ conversationId: zod.ZodOptional<zod.ZodString>;
11369
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
11370
+ connection: zod.ZodString;
11371
+ operation: zod.ZodString;
11372
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11373
+ dataStore: zod.ZodString;
11374
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11375
+ workflow: zod.ZodString;
11376
+ }, zod_v4_core.$strip>]>>;
11377
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11378
+ kind: zod.ZodLiteral<"workflow">;
11379
+ workflowRunId: zod.ZodString;
11380
+ stepRunId: zod.ZodString;
11381
+ boundBy: zod.ZodOptional<zod.ZodObject<{
11382
+ id: zod.ZodString;
11383
+ label: zod.ZodString;
11384
+ }, zod_v4_core.$strip>>;
11385
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11386
+ kind: zod.ZodLiteral<"schedule">;
11387
+ scheduleId: zod.ZodString;
11388
+ }, zod_v4_core.$strip>], "kind">;
11389
+ target: zod.ZodEnum<{
11390
+ test: "test";
11391
+ live: "live";
11392
+ dry_run: "dry_run";
11393
+ }>;
11394
+ app: zod.ZodOptional<zod.ZodObject<{
11395
+ title: zod.ZodOptional<zod.ZodString>;
11396
+ revision: zod.ZodOptional<zod.ZodNumber>;
11397
+ deleted: zod.ZodBoolean;
11398
+ }, zod_v4_core.$strip>>;
11399
+ workspaceId: zod.ZodOptional<zod.ZodString>;
11400
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
11401
+ inputHash: zod.ZodString;
11402
+ attempt: zod.ZodNumber;
11403
+ decision: zod.ZodOptional<zod.ZodObject<{
11404
+ mode: zod.ZodEnum<{
11405
+ direct: "direct";
11406
+ confirmed: "confirmed";
11407
+ approved: "approved";
11408
+ declined: "declined";
11409
+ }>;
11410
+ reason: zod.ZodOptional<zod.ZodEnum<{
11411
+ inherited_approval_not_applied: "inherited_approval_not_applied";
11412
+ workflow_publish: "workflow_publish";
11413
+ approved_by_caller: "approved_by_caller";
11414
+ }>>;
11415
+ by: zod.ZodString;
11416
+ byLabel: zod.ZodOptional<zod.ZodString>;
11417
+ at: zod.ZodISODateTime;
11418
+ comment: zod.ZodOptional<zod.ZodString>;
11419
+ }, zod_v4_core.$strip>>;
11420
+ error: zod.ZodOptional<zod.ZodObject<{
11421
+ code: zod.ZodString;
11422
+ message: zod.ZodString;
11423
+ reason: zod.ZodOptional<zod.ZodString>;
11424
+ }, zod_v4_core.$strip>>;
11425
+ usage: zod.ZodOptional<zod.ZodObject<{
11426
+ modelCalls: zod.ZodNumber;
11427
+ inputTokens: zod.ZodNumber;
11428
+ outputTokens: zod.ZodNumber;
11429
+ totalTokens: zod.ZodNumber;
11430
+ }, zod_v4_core.$strip>>;
11431
+ correlationId: zod.ZodString;
11432
+ createdAt: zod.ZodISODateTime;
11433
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
11434
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
11435
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
11436
+ href: zod.ZodString;
11437
+ }, zod_v4_core.$strip>;
11438
+ readonly headers: {
11439
+ readonly request: readonly ["Idempotency-Key"];
11440
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
11441
+ };
11442
+ }>;
10604
11443
  readonly "conversations.move": Operation<{
10605
11444
  readonly id: "conversations.move";
10606
11445
  readonly method: "POST";
@@ -10715,8 +11554,8 @@ declare const apiOperations: {
10715
11554
  failed: "failed";
10716
11555
  done: "done";
10717
11556
  expired: "expired";
10718
- refused: "refused";
10719
11557
  interrupted: "interrupted";
11558
+ refused: "refused";
10720
11559
  }>>;
10721
11560
  }, zod_v4_core.$strip>, zod.ZodObject<{
10722
11561
  version: zod.ZodLiteral<1>;
@@ -10745,8 +11584,8 @@ declare const apiOperations: {
10745
11584
  kind: zod.ZodLiteral<"assistant_final">;
10746
11585
  runId: zod.ZodString;
10747
11586
  finishStatus: zod.ZodEnum<{
10748
- cancelled: "cancelled";
10749
11587
  completed: "completed";
11588
+ cancelled: "cancelled";
10750
11589
  }>;
10751
11590
  cancellationReason: zod.ZodOptional<zod.ZodString>;
10752
11591
  reasoning: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -10804,12 +11643,12 @@ declare const apiOperations: {
10804
11643
  lastSequence: zod.ZodNumber;
10805
11644
  status: zod.ZodEnum<{
10806
11645
  failed: "failed";
10807
- queued: "queued";
10808
11646
  running: "running";
10809
- cancelled: "cancelled";
10810
- completed: "completed";
10811
- waiting_for_permission: "waiting_for_permission";
11647
+ queued: "queued";
11648
+ waiting_for_decision: "waiting_for_decision";
10812
11649
  cancelling: "cancelling";
11650
+ completed: "completed";
11651
+ cancelled: "cancelled";
10813
11652
  }>;
10814
11653
  durationMs: zod.ZodOptional<zod.ZodNumber>;
10815
11654
  parts: zod.ZodDefault<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -10826,13 +11665,23 @@ declare const apiOperations: {
10826
11665
  toolName: zod.ZodString;
10827
11666
  input: zod.ZodOptional<zod.ZodUnknown>;
10828
11667
  state: zod.ZodEnum<{
10829
- waiting_for_permission: "waiting_for_permission";
11668
+ waiting_for_decision: "waiting_for_decision";
10830
11669
  input_available: "input_available";
10831
11670
  output_available: "output_available";
10832
11671
  output_error: "output_error";
10833
11672
  }>;
10834
11673
  output: zod.ZodOptional<zod.ZodUnknown>;
10835
11674
  errorText: zod.ZodOptional<zod.ZodString>;
11675
+ decision: zod.ZodOptional<zod.ZodObject<{
11676
+ operationRunId: zod.ZodString;
11677
+ operationId: zod.ZodString;
11678
+ mode: zod.ZodEnum<{
11679
+ confirm: "confirm";
11680
+ approval: "approval";
11681
+ }>;
11682
+ inputPreview: zod.ZodUnknown;
11683
+ expiresAt: zod.ZodISODateTime;
11684
+ }, zod_v4_core.$strip>>;
10836
11685
  }, zod_v4_core.$strip>], "type">>>;
10837
11686
  text: zod.ZodString;
10838
11687
  reasoning: zod.ZodArray<zod.ZodObject<{
@@ -10849,13 +11698,23 @@ declare const apiOperations: {
10849
11698
  toolName: zod.ZodString;
10850
11699
  input: zod.ZodOptional<zod.ZodUnknown>;
10851
11700
  state: zod.ZodEnum<{
10852
- waiting_for_permission: "waiting_for_permission";
11701
+ waiting_for_decision: "waiting_for_decision";
10853
11702
  input_available: "input_available";
10854
11703
  output_available: "output_available";
10855
11704
  output_error: "output_error";
10856
11705
  }>;
10857
11706
  output: zod.ZodOptional<zod.ZodUnknown>;
10858
11707
  errorText: zod.ZodOptional<zod.ZodString>;
11708
+ decision: zod.ZodOptional<zod.ZodObject<{
11709
+ operationRunId: zod.ZodString;
11710
+ operationId: zod.ZodString;
11711
+ mode: zod.ZodEnum<{
11712
+ confirm: "confirm";
11713
+ approval: "approval";
11714
+ }>;
11715
+ inputPreview: zod.ZodUnknown;
11716
+ expiresAt: zod.ZodISODateTime;
11717
+ }, zod_v4_core.$strip>>;
10859
11718
  }, zod_v4_core.$strip>>;
10860
11719
  error: zod.ZodOptional<zod.ZodObject<{
10861
11720
  code: zod.ZodString;
@@ -10877,12 +11736,12 @@ declare const apiOperations: {
10877
11736
  agentName: zod.ZodString;
10878
11737
  status: zod.ZodEnum<{
10879
11738
  failed: "failed";
10880
- queued: "queued";
10881
11739
  running: "running";
10882
- cancelled: "cancelled";
10883
- completed: "completed";
10884
- waiting_for_permission: "waiting_for_permission";
11740
+ queued: "queued";
11741
+ waiting_for_decision: "waiting_for_decision";
10885
11742
  cancelling: "cancelling";
11743
+ completed: "completed";
11744
+ cancelled: "cancelled";
10886
11745
  }>;
10887
11746
  startedAt: zod.ZodISODateTime;
10888
11747
  updatedAt: zod.ZodISODateTime;
@@ -10893,12 +11752,12 @@ declare const apiOperations: {
10893
11752
  lastSequence: zod.ZodNumber;
10894
11753
  status: zod.ZodEnum<{
10895
11754
  failed: "failed";
10896
- queued: "queued";
10897
11755
  running: "running";
10898
- cancelled: "cancelled";
10899
- completed: "completed";
10900
- waiting_for_permission: "waiting_for_permission";
11756
+ queued: "queued";
11757
+ waiting_for_decision: "waiting_for_decision";
10901
11758
  cancelling: "cancelling";
11759
+ completed: "completed";
11760
+ cancelled: "cancelled";
10902
11761
  }>;
10903
11762
  durationMs: zod.ZodOptional<zod.ZodNumber>;
10904
11763
  parts: zod.ZodDefault<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -10915,13 +11774,23 @@ declare const apiOperations: {
10915
11774
  toolName: zod.ZodString;
10916
11775
  input: zod.ZodOptional<zod.ZodUnknown>;
10917
11776
  state: zod.ZodEnum<{
10918
- waiting_for_permission: "waiting_for_permission";
11777
+ waiting_for_decision: "waiting_for_decision";
10919
11778
  input_available: "input_available";
10920
11779
  output_available: "output_available";
10921
11780
  output_error: "output_error";
10922
11781
  }>;
10923
11782
  output: zod.ZodOptional<zod.ZodUnknown>;
10924
11783
  errorText: zod.ZodOptional<zod.ZodString>;
11784
+ decision: zod.ZodOptional<zod.ZodObject<{
11785
+ operationRunId: zod.ZodString;
11786
+ operationId: zod.ZodString;
11787
+ mode: zod.ZodEnum<{
11788
+ confirm: "confirm";
11789
+ approval: "approval";
11790
+ }>;
11791
+ inputPreview: zod.ZodUnknown;
11792
+ expiresAt: zod.ZodISODateTime;
11793
+ }, zod_v4_core.$strip>>;
10925
11794
  }, zod_v4_core.$strip>], "type">>>;
10926
11795
  text: zod.ZodString;
10927
11796
  reasoning: zod.ZodArray<zod.ZodObject<{
@@ -10938,13 +11807,23 @@ declare const apiOperations: {
10938
11807
  toolName: zod.ZodString;
10939
11808
  input: zod.ZodOptional<zod.ZodUnknown>;
10940
11809
  state: zod.ZodEnum<{
10941
- waiting_for_permission: "waiting_for_permission";
11810
+ waiting_for_decision: "waiting_for_decision";
10942
11811
  input_available: "input_available";
10943
11812
  output_available: "output_available";
10944
11813
  output_error: "output_error";
10945
11814
  }>;
10946
11815
  output: zod.ZodOptional<zod.ZodUnknown>;
10947
11816
  errorText: zod.ZodOptional<zod.ZodString>;
11817
+ decision: zod.ZodOptional<zod.ZodObject<{
11818
+ operationRunId: zod.ZodString;
11819
+ operationId: zod.ZodString;
11820
+ mode: zod.ZodEnum<{
11821
+ confirm: "confirm";
11822
+ approval: "approval";
11823
+ }>;
11824
+ inputPreview: zod.ZodUnknown;
11825
+ expiresAt: zod.ZodISODateTime;
11826
+ }, zod_v4_core.$strip>>;
10948
11827
  }, zod_v4_core.$strip>>;
10949
11828
  error: zod.ZodOptional<zod.ZodObject<{
10950
11829
  code: zod.ZodString;
@@ -11040,8 +11919,8 @@ declare const apiOperations: {
11040
11919
  failed: "failed";
11041
11920
  done: "done";
11042
11921
  expired: "expired";
11043
- refused: "refused";
11044
11922
  interrupted: "interrupted";
11923
+ refused: "refused";
11045
11924
  }>>;
11046
11925
  }, zod_v4_core.$strip>, zod.ZodObject<{
11047
11926
  version: zod.ZodLiteral<1>;
@@ -11070,8 +11949,8 @@ declare const apiOperations: {
11070
11949
  kind: zod.ZodLiteral<"assistant_final">;
11071
11950
  runId: zod.ZodString;
11072
11951
  finishStatus: zod.ZodEnum<{
11073
- cancelled: "cancelled";
11074
11952
  completed: "completed";
11953
+ cancelled: "cancelled";
11075
11954
  }>;
11076
11955
  cancellationReason: zod.ZodOptional<zod.ZodString>;
11077
11956
  reasoning: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -11303,12 +12182,12 @@ declare const apiOperations: {
11303
12182
  agentName: zod.ZodString;
11304
12183
  status: zod.ZodEnum<{
11305
12184
  failed: "failed";
11306
- queued: "queued";
11307
12185
  running: "running";
11308
- cancelled: "cancelled";
11309
- completed: "completed";
11310
- waiting_for_permission: "waiting_for_permission";
12186
+ queued: "queued";
12187
+ waiting_for_decision: "waiting_for_decision";
11311
12188
  cancelling: "cancelling";
12189
+ completed: "completed";
12190
+ cancelled: "cancelled";
11312
12191
  }>;
11313
12192
  idempotencyKey: zod.ZodOptional<zod.ZodString>;
11314
12193
  startedAt: zod.ZodISODateTime;
@@ -11429,8 +12308,8 @@ declare const apiOperations: {
11429
12308
  failed: "failed";
11430
12309
  done: "done";
11431
12310
  expired: "expired";
11432
- refused: "refused";
11433
12311
  interrupted: "interrupted";
12312
+ refused: "refused";
11434
12313
  }>>;
11435
12314
  }, zod_v4_core.$strip>, zod.ZodObject<{
11436
12315
  version: zod.ZodLiteral<1>;
@@ -11459,8 +12338,8 @@ declare const apiOperations: {
11459
12338
  kind: zod.ZodLiteral<"assistant_final">;
11460
12339
  runId: zod.ZodString;
11461
12340
  finishStatus: zod.ZodEnum<{
11462
- cancelled: "cancelled";
11463
12341
  completed: "completed";
12342
+ cancelled: "cancelled";
11464
12343
  }>;
11465
12344
  cancellationReason: zod.ZodOptional<zod.ZodString>;
11466
12345
  reasoning: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -11522,12 +12401,12 @@ declare const apiOperations: {
11522
12401
  agentName: zod.ZodString;
11523
12402
  status: zod.ZodEnum<{
11524
12403
  failed: "failed";
11525
- queued: "queued";
11526
12404
  running: "running";
11527
- cancelled: "cancelled";
11528
- completed: "completed";
11529
- waiting_for_permission: "waiting_for_permission";
12405
+ queued: "queued";
12406
+ waiting_for_decision: "waiting_for_decision";
11530
12407
  cancelling: "cancelling";
12408
+ completed: "completed";
12409
+ cancelled: "cancelled";
11531
12410
  }>;
11532
12411
  idempotencyKey: zod.ZodOptional<zod.ZodString>;
11533
12412
  startedAt: zod.ZodISODateTime;
@@ -11611,8 +12490,8 @@ declare const apiOperations: {
11611
12490
  failed: "failed";
11612
12491
  done: "done";
11613
12492
  expired: "expired";
11614
- refused: "refused";
11615
12493
  interrupted: "interrupted";
12494
+ refused: "refused";
11616
12495
  }>>;
11617
12496
  }, zod_v4_core.$strip>, zod.ZodObject<{
11618
12497
  version: zod.ZodLiteral<1>;
@@ -11641,8 +12520,8 @@ declare const apiOperations: {
11641
12520
  kind: zod.ZodLiteral<"assistant_final">;
11642
12521
  runId: zod.ZodString;
11643
12522
  finishStatus: zod.ZodEnum<{
11644
- cancelled: "cancelled";
11645
12523
  completed: "completed";
12524
+ cancelled: "cancelled";
11646
12525
  }>;
11647
12526
  cancellationReason: zod.ZodOptional<zod.ZodString>;
11648
12527
  reasoning: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -11700,12 +12579,12 @@ declare const apiOperations: {
11700
12579
  lastSequence: zod.ZodNumber;
11701
12580
  status: zod.ZodEnum<{
11702
12581
  failed: "failed";
11703
- queued: "queued";
11704
12582
  running: "running";
11705
- cancelled: "cancelled";
11706
- completed: "completed";
11707
- waiting_for_permission: "waiting_for_permission";
12583
+ queued: "queued";
12584
+ waiting_for_decision: "waiting_for_decision";
11708
12585
  cancelling: "cancelling";
12586
+ completed: "completed";
12587
+ cancelled: "cancelled";
11709
12588
  }>;
11710
12589
  durationMs: zod.ZodOptional<zod.ZodNumber>;
11711
12590
  parts: zod.ZodDefault<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -11722,13 +12601,23 @@ declare const apiOperations: {
11722
12601
  toolName: zod.ZodString;
11723
12602
  input: zod.ZodOptional<zod.ZodUnknown>;
11724
12603
  state: zod.ZodEnum<{
11725
- waiting_for_permission: "waiting_for_permission";
12604
+ waiting_for_decision: "waiting_for_decision";
11726
12605
  input_available: "input_available";
11727
12606
  output_available: "output_available";
11728
12607
  output_error: "output_error";
11729
12608
  }>;
11730
12609
  output: zod.ZodOptional<zod.ZodUnknown>;
11731
12610
  errorText: zod.ZodOptional<zod.ZodString>;
12611
+ decision: zod.ZodOptional<zod.ZodObject<{
12612
+ operationRunId: zod.ZodString;
12613
+ operationId: zod.ZodString;
12614
+ mode: zod.ZodEnum<{
12615
+ confirm: "confirm";
12616
+ approval: "approval";
12617
+ }>;
12618
+ inputPreview: zod.ZodUnknown;
12619
+ expiresAt: zod.ZodISODateTime;
12620
+ }, zod_v4_core.$strip>>;
11732
12621
  }, zod_v4_core.$strip>], "type">>>;
11733
12622
  text: zod.ZodString;
11734
12623
  reasoning: zod.ZodArray<zod.ZodObject<{
@@ -11745,13 +12634,23 @@ declare const apiOperations: {
11745
12634
  toolName: zod.ZodString;
11746
12635
  input: zod.ZodOptional<zod.ZodUnknown>;
11747
12636
  state: zod.ZodEnum<{
11748
- waiting_for_permission: "waiting_for_permission";
12637
+ waiting_for_decision: "waiting_for_decision";
11749
12638
  input_available: "input_available";
11750
12639
  output_available: "output_available";
11751
12640
  output_error: "output_error";
11752
12641
  }>;
11753
12642
  output: zod.ZodOptional<zod.ZodUnknown>;
11754
12643
  errorText: zod.ZodOptional<zod.ZodString>;
12644
+ decision: zod.ZodOptional<zod.ZodObject<{
12645
+ operationRunId: zod.ZodString;
12646
+ operationId: zod.ZodString;
12647
+ mode: zod.ZodEnum<{
12648
+ confirm: "confirm";
12649
+ approval: "approval";
12650
+ }>;
12651
+ inputPreview: zod.ZodUnknown;
12652
+ expiresAt: zod.ZodISODateTime;
12653
+ }, zod_v4_core.$strip>>;
11755
12654
  }, zod_v4_core.$strip>>;
11756
12655
  error: zod.ZodOptional<zod.ZodObject<{
11757
12656
  code: zod.ZodString;
@@ -11773,12 +12672,12 @@ declare const apiOperations: {
11773
12672
  agentName: zod.ZodString;
11774
12673
  status: zod.ZodEnum<{
11775
12674
  failed: "failed";
11776
- queued: "queued";
11777
12675
  running: "running";
11778
- cancelled: "cancelled";
11779
- completed: "completed";
11780
- waiting_for_permission: "waiting_for_permission";
12676
+ queued: "queued";
12677
+ waiting_for_decision: "waiting_for_decision";
11781
12678
  cancelling: "cancelling";
12679
+ completed: "completed";
12680
+ cancelled: "cancelled";
11782
12681
  }>;
11783
12682
  startedAt: zod.ZodISODateTime;
11784
12683
  updatedAt: zod.ZodISODateTime;
@@ -11789,12 +12688,12 @@ declare const apiOperations: {
11789
12688
  lastSequence: zod.ZodNumber;
11790
12689
  status: zod.ZodEnum<{
11791
12690
  failed: "failed";
11792
- queued: "queued";
11793
12691
  running: "running";
11794
- cancelled: "cancelled";
11795
- completed: "completed";
11796
- waiting_for_permission: "waiting_for_permission";
12692
+ queued: "queued";
12693
+ waiting_for_decision: "waiting_for_decision";
11797
12694
  cancelling: "cancelling";
12695
+ completed: "completed";
12696
+ cancelled: "cancelled";
11798
12697
  }>;
11799
12698
  durationMs: zod.ZodOptional<zod.ZodNumber>;
11800
12699
  parts: zod.ZodDefault<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -11811,13 +12710,23 @@ declare const apiOperations: {
11811
12710
  toolName: zod.ZodString;
11812
12711
  input: zod.ZodOptional<zod.ZodUnknown>;
11813
12712
  state: zod.ZodEnum<{
11814
- waiting_for_permission: "waiting_for_permission";
12713
+ waiting_for_decision: "waiting_for_decision";
11815
12714
  input_available: "input_available";
11816
12715
  output_available: "output_available";
11817
12716
  output_error: "output_error";
11818
12717
  }>;
11819
12718
  output: zod.ZodOptional<zod.ZodUnknown>;
11820
12719
  errorText: zod.ZodOptional<zod.ZodString>;
12720
+ decision: zod.ZodOptional<zod.ZodObject<{
12721
+ operationRunId: zod.ZodString;
12722
+ operationId: zod.ZodString;
12723
+ mode: zod.ZodEnum<{
12724
+ confirm: "confirm";
12725
+ approval: "approval";
12726
+ }>;
12727
+ inputPreview: zod.ZodUnknown;
12728
+ expiresAt: zod.ZodISODateTime;
12729
+ }, zod_v4_core.$strip>>;
11821
12730
  }, zod_v4_core.$strip>], "type">>>;
11822
12731
  text: zod.ZodString;
11823
12732
  reasoning: zod.ZodArray<zod.ZodObject<{
@@ -11834,13 +12743,23 @@ declare const apiOperations: {
11834
12743
  toolName: zod.ZodString;
11835
12744
  input: zod.ZodOptional<zod.ZodUnknown>;
11836
12745
  state: zod.ZodEnum<{
11837
- waiting_for_permission: "waiting_for_permission";
12746
+ waiting_for_decision: "waiting_for_decision";
11838
12747
  input_available: "input_available";
11839
12748
  output_available: "output_available";
11840
12749
  output_error: "output_error";
11841
12750
  }>;
11842
12751
  output: zod.ZodOptional<zod.ZodUnknown>;
11843
12752
  errorText: zod.ZodOptional<zod.ZodString>;
12753
+ decision: zod.ZodOptional<zod.ZodObject<{
12754
+ operationRunId: zod.ZodString;
12755
+ operationId: zod.ZodString;
12756
+ mode: zod.ZodEnum<{
12757
+ confirm: "confirm";
12758
+ approval: "approval";
12759
+ }>;
12760
+ inputPreview: zod.ZodUnknown;
12761
+ expiresAt: zod.ZodISODateTime;
12762
+ }, zod_v4_core.$strip>>;
11844
12763
  }, zod_v4_core.$strip>>;
11845
12764
  error: zod.ZodOptional<zod.ZodObject<{
11846
12765
  code: zod.ZodString;
@@ -11987,8 +12906,8 @@ declare const apiOperations: {
11987
12906
  failed: "failed";
11988
12907
  done: "done";
11989
12908
  expired: "expired";
11990
- refused: "refused";
11991
12909
  interrupted: "interrupted";
12910
+ refused: "refused";
11992
12911
  }>>;
11993
12912
  }, zod_v4_core.$strip>, zod.ZodObject<{
11994
12913
  version: zod.ZodLiteral<1>;
@@ -12017,8 +12936,8 @@ declare const apiOperations: {
12017
12936
  kind: zod.ZodLiteral<"assistant_final">;
12018
12937
  runId: zod.ZodString;
12019
12938
  finishStatus: zod.ZodEnum<{
12020
- cancelled: "cancelled";
12021
12939
  completed: "completed";
12940
+ cancelled: "cancelled";
12022
12941
  }>;
12023
12942
  cancellationReason: zod.ZodOptional<zod.ZodString>;
12024
12943
  reasoning: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -12080,12 +12999,12 @@ declare const apiOperations: {
12080
12999
  agentName: zod.ZodString;
12081
13000
  status: zod.ZodEnum<{
12082
13001
  failed: "failed";
12083
- queued: "queued";
12084
13002
  running: "running";
12085
- cancelled: "cancelled";
12086
- completed: "completed";
12087
- waiting_for_permission: "waiting_for_permission";
13003
+ queued: "queued";
13004
+ waiting_for_decision: "waiting_for_decision";
12088
13005
  cancelling: "cancelling";
13006
+ completed: "completed";
13007
+ cancelled: "cancelled";
12089
13008
  }>;
12090
13009
  idempotencyKey: zod.ZodOptional<zod.ZodString>;
12091
13010
  startedAt: zod.ZodISODateTime;
@@ -12169,8 +13088,8 @@ declare const apiOperations: {
12169
13088
  failed: "failed";
12170
13089
  done: "done";
12171
13090
  expired: "expired";
12172
- refused: "refused";
12173
13091
  interrupted: "interrupted";
13092
+ refused: "refused";
12174
13093
  }>>;
12175
13094
  }, zod_v4_core.$strip>, zod.ZodObject<{
12176
13095
  version: zod.ZodLiteral<1>;
@@ -12199,8 +13118,8 @@ declare const apiOperations: {
12199
13118
  kind: zod.ZodLiteral<"assistant_final">;
12200
13119
  runId: zod.ZodString;
12201
13120
  finishStatus: zod.ZodEnum<{
12202
- cancelled: "cancelled";
12203
13121
  completed: "completed";
13122
+ cancelled: "cancelled";
12204
13123
  }>;
12205
13124
  cancellationReason: zod.ZodOptional<zod.ZodString>;
12206
13125
  reasoning: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -12258,12 +13177,12 @@ declare const apiOperations: {
12258
13177
  lastSequence: zod.ZodNumber;
12259
13178
  status: zod.ZodEnum<{
12260
13179
  failed: "failed";
12261
- queued: "queued";
12262
13180
  running: "running";
12263
- cancelled: "cancelled";
12264
- completed: "completed";
12265
- waiting_for_permission: "waiting_for_permission";
13181
+ queued: "queued";
13182
+ waiting_for_decision: "waiting_for_decision";
12266
13183
  cancelling: "cancelling";
13184
+ completed: "completed";
13185
+ cancelled: "cancelled";
12267
13186
  }>;
12268
13187
  durationMs: zod.ZodOptional<zod.ZodNumber>;
12269
13188
  parts: zod.ZodDefault<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -12280,13 +13199,23 @@ declare const apiOperations: {
12280
13199
  toolName: zod.ZodString;
12281
13200
  input: zod.ZodOptional<zod.ZodUnknown>;
12282
13201
  state: zod.ZodEnum<{
12283
- waiting_for_permission: "waiting_for_permission";
13202
+ waiting_for_decision: "waiting_for_decision";
12284
13203
  input_available: "input_available";
12285
13204
  output_available: "output_available";
12286
13205
  output_error: "output_error";
12287
13206
  }>;
12288
13207
  output: zod.ZodOptional<zod.ZodUnknown>;
12289
13208
  errorText: zod.ZodOptional<zod.ZodString>;
13209
+ decision: zod.ZodOptional<zod.ZodObject<{
13210
+ operationRunId: zod.ZodString;
13211
+ operationId: zod.ZodString;
13212
+ mode: zod.ZodEnum<{
13213
+ confirm: "confirm";
13214
+ approval: "approval";
13215
+ }>;
13216
+ inputPreview: zod.ZodUnknown;
13217
+ expiresAt: zod.ZodISODateTime;
13218
+ }, zod_v4_core.$strip>>;
12290
13219
  }, zod_v4_core.$strip>], "type">>>;
12291
13220
  text: zod.ZodString;
12292
13221
  reasoning: zod.ZodArray<zod.ZodObject<{
@@ -12303,13 +13232,23 @@ declare const apiOperations: {
12303
13232
  toolName: zod.ZodString;
12304
13233
  input: zod.ZodOptional<zod.ZodUnknown>;
12305
13234
  state: zod.ZodEnum<{
12306
- waiting_for_permission: "waiting_for_permission";
13235
+ waiting_for_decision: "waiting_for_decision";
12307
13236
  input_available: "input_available";
12308
13237
  output_available: "output_available";
12309
13238
  output_error: "output_error";
12310
13239
  }>;
12311
13240
  output: zod.ZodOptional<zod.ZodUnknown>;
12312
13241
  errorText: zod.ZodOptional<zod.ZodString>;
13242
+ decision: zod.ZodOptional<zod.ZodObject<{
13243
+ operationRunId: zod.ZodString;
13244
+ operationId: zod.ZodString;
13245
+ mode: zod.ZodEnum<{
13246
+ confirm: "confirm";
13247
+ approval: "approval";
13248
+ }>;
13249
+ inputPreview: zod.ZodUnknown;
13250
+ expiresAt: zod.ZodISODateTime;
13251
+ }, zod_v4_core.$strip>>;
12313
13252
  }, zod_v4_core.$strip>>;
12314
13253
  error: zod.ZodOptional<zod.ZodObject<{
12315
13254
  code: zod.ZodString;
@@ -12331,12 +13270,12 @@ declare const apiOperations: {
12331
13270
  agentName: zod.ZodString;
12332
13271
  status: zod.ZodEnum<{
12333
13272
  failed: "failed";
12334
- queued: "queued";
12335
13273
  running: "running";
12336
- cancelled: "cancelled";
12337
- completed: "completed";
12338
- waiting_for_permission: "waiting_for_permission";
13274
+ queued: "queued";
13275
+ waiting_for_decision: "waiting_for_decision";
12339
13276
  cancelling: "cancelling";
13277
+ completed: "completed";
13278
+ cancelled: "cancelled";
12340
13279
  }>;
12341
13280
  startedAt: zod.ZodISODateTime;
12342
13281
  updatedAt: zod.ZodISODateTime;
@@ -12347,12 +13286,12 @@ declare const apiOperations: {
12347
13286
  lastSequence: zod.ZodNumber;
12348
13287
  status: zod.ZodEnum<{
12349
13288
  failed: "failed";
12350
- queued: "queued";
12351
13289
  running: "running";
12352
- cancelled: "cancelled";
12353
- completed: "completed";
12354
- waiting_for_permission: "waiting_for_permission";
13290
+ queued: "queued";
13291
+ waiting_for_decision: "waiting_for_decision";
12355
13292
  cancelling: "cancelling";
13293
+ completed: "completed";
13294
+ cancelled: "cancelled";
12356
13295
  }>;
12357
13296
  durationMs: zod.ZodOptional<zod.ZodNumber>;
12358
13297
  parts: zod.ZodDefault<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -12369,13 +13308,23 @@ declare const apiOperations: {
12369
13308
  toolName: zod.ZodString;
12370
13309
  input: zod.ZodOptional<zod.ZodUnknown>;
12371
13310
  state: zod.ZodEnum<{
12372
- waiting_for_permission: "waiting_for_permission";
13311
+ waiting_for_decision: "waiting_for_decision";
12373
13312
  input_available: "input_available";
12374
13313
  output_available: "output_available";
12375
13314
  output_error: "output_error";
12376
13315
  }>;
12377
13316
  output: zod.ZodOptional<zod.ZodUnknown>;
12378
13317
  errorText: zod.ZodOptional<zod.ZodString>;
13318
+ decision: zod.ZodOptional<zod.ZodObject<{
13319
+ operationRunId: zod.ZodString;
13320
+ operationId: zod.ZodString;
13321
+ mode: zod.ZodEnum<{
13322
+ confirm: "confirm";
13323
+ approval: "approval";
13324
+ }>;
13325
+ inputPreview: zod.ZodUnknown;
13326
+ expiresAt: zod.ZodISODateTime;
13327
+ }, zod_v4_core.$strip>>;
12379
13328
  }, zod_v4_core.$strip>], "type">>>;
12380
13329
  text: zod.ZodString;
12381
13330
  reasoning: zod.ZodArray<zod.ZodObject<{
@@ -12392,13 +13341,23 @@ declare const apiOperations: {
12392
13341
  toolName: zod.ZodString;
12393
13342
  input: zod.ZodOptional<zod.ZodUnknown>;
12394
13343
  state: zod.ZodEnum<{
12395
- waiting_for_permission: "waiting_for_permission";
13344
+ waiting_for_decision: "waiting_for_decision";
12396
13345
  input_available: "input_available";
12397
13346
  output_available: "output_available";
12398
13347
  output_error: "output_error";
12399
13348
  }>;
12400
13349
  output: zod.ZodOptional<zod.ZodUnknown>;
12401
13350
  errorText: zod.ZodOptional<zod.ZodString>;
13351
+ decision: zod.ZodOptional<zod.ZodObject<{
13352
+ operationRunId: zod.ZodString;
13353
+ operationId: zod.ZodString;
13354
+ mode: zod.ZodEnum<{
13355
+ confirm: "confirm";
13356
+ approval: "approval";
13357
+ }>;
13358
+ inputPreview: zod.ZodUnknown;
13359
+ expiresAt: zod.ZodISODateTime;
13360
+ }, zod_v4_core.$strip>>;
12402
13361
  }, zod_v4_core.$strip>>;
12403
13362
  error: zod.ZodOptional<zod.ZodObject<{
12404
13363
  code: zod.ZodString;
@@ -12511,14 +13470,35 @@ declare const apiOperations: {
12511
13470
  toolName: zod.ZodString;
12512
13471
  input: zod.ZodUnknown;
12513
13472
  }, zod_v4_core.$strip>, zod.ZodObject<{
12514
- type: zod.ZodLiteral<"tool_permission_requested">;
13473
+ type: zod.ZodLiteral<"tool_decision_requested">;
12515
13474
  runId: zod.ZodString;
12516
13475
  sequence: zod.ZodNumber;
12517
13476
  createdAt: zod.ZodISODateTime;
12518
13477
  toolCallId: zod.ZodString;
12519
13478
  toolName: zod.ZodString;
12520
- reason: zod.ZodString;
12521
- preview: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
13479
+ operationRunId: zod.ZodString;
13480
+ operationId: zod.ZodString;
13481
+ mode: zod.ZodEnum<{
13482
+ confirm: "confirm";
13483
+ approval: "approval";
13484
+ }>;
13485
+ inputPreview: zod.ZodUnknown;
13486
+ expiresAt: zod.ZodISODateTime;
13487
+ }, zod_v4_core.$strip>, zod.ZodObject<{
13488
+ type: zod.ZodLiteral<"tool_decision_recorded">;
13489
+ runId: zod.ZodString;
13490
+ sequence: zod.ZodNumber;
13491
+ createdAt: zod.ZodISODateTime;
13492
+ toolCallId: zod.ZodString;
13493
+ operationRunId: zod.ZodString;
13494
+ outcome: zod.ZodEnum<{
13495
+ expired: "expired";
13496
+ confirmed: "confirmed";
13497
+ declined: "declined";
13498
+ cancelled: "cancelled";
13499
+ }>;
13500
+ decidedBy: zod.ZodOptional<zod.ZodString>;
13501
+ reason: zod.ZodOptional<zod.ZodString>;
12522
13502
  }, zod_v4_core.$strip>, zod.ZodObject<{
12523
13503
  type: zod.ZodLiteral<"tool_call_completed">;
12524
13504
  runId: zod.ZodString;
@@ -12585,14 +13565,9 @@ declare const apiOperations: {
12585
13565
  readonly requires: readonly [];
12586
13566
  readonly effect: "changing";
12587
13567
  readonly body: zod.ZodObject<{
12588
- command: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
12589
- type: zod.ZodLiteral<"tool_permission_decision">;
12590
- toolCallId: zod.ZodString;
12591
- approved: zod.ZodBoolean;
12592
- reason: zod.ZodOptional<zod.ZodString>;
12593
- }, zod_v4_core.$strip>, zod.ZodObject<{
13568
+ command: zod.ZodObject<{
12594
13569
  type: zod.ZodLiteral<"continue">;
12595
- }, zod_v4_core.$strip>], "type">;
13570
+ }, zod_v4_core.$strip>;
12596
13571
  }, zod_v4_core.$strip>;
12597
13572
  readonly response: {
12598
13573
  readonly kind: "json";
@@ -12606,12 +13581,12 @@ declare const apiOperations: {
12606
13581
  agentName: zod.ZodString;
12607
13582
  status: zod.ZodEnum<{
12608
13583
  failed: "failed";
12609
- queued: "queued";
12610
13584
  running: "running";
12611
- cancelled: "cancelled";
12612
- completed: "completed";
12613
- waiting_for_permission: "waiting_for_permission";
13585
+ queued: "queued";
13586
+ waiting_for_decision: "waiting_for_decision";
12614
13587
  cancelling: "cancelling";
13588
+ completed: "completed";
13589
+ cancelled: "cancelled";
12615
13590
  }>;
12616
13591
  idempotencyKey: zod.ZodOptional<zod.ZodString>;
12617
13592
  startedAt: zod.ZodISODateTime;
@@ -12701,8 +13676,8 @@ declare const apiOperations: {
12701
13676
  name: zod.ZodString;
12702
13677
  description: zod.ZodNullable<zod.ZodString>;
12703
13678
  visibility: zod.ZodEnum<{
12704
- private: "private";
12705
13679
  discoverable: "discoverable";
13680
+ private: "private";
12706
13681
  }>;
12707
13682
  defaultConversationVisibility: zod.ZodEnum<{
12708
13683
  workspace: "workspace";
@@ -12733,14 +13708,14 @@ declare const apiOperations: {
12733
13708
  createdAt: zod.ZodISODateTime;
12734
13709
  updatedAt: zod.ZodISODateTime;
12735
13710
  role: zod.ZodEnum<{
12736
- member: "member";
12737
13711
  owner: "owner";
12738
13712
  admin: "admin";
13713
+ member: "member";
12739
13714
  }>;
12740
13715
  membershipRole: zod.ZodNullable<zod.ZodEnum<{
12741
- member: "member";
12742
13716
  owner: "owner";
12743
13717
  admin: "admin";
13718
+ member: "member";
12744
13719
  }>>;
12745
13720
  pendingAccessRequestCount: zod.ZodNumber;
12746
13721
  }, zod_v4_core.$strip>;
@@ -12775,8 +13750,8 @@ declare const apiOperations: {
12775
13750
  name: zod.ZodString;
12776
13751
  description: zod.ZodNullable<zod.ZodString>;
12777
13752
  visibility: zod.ZodEnum<{
12778
- private: "private";
12779
13753
  discoverable: "discoverable";
13754
+ private: "private";
12780
13755
  }>;
12781
13756
  defaultConversationVisibility: zod.ZodEnum<{
12782
13757
  workspace: "workspace";
@@ -12807,14 +13782,14 @@ declare const apiOperations: {
12807
13782
  createdAt: zod.ZodISODateTime;
12808
13783
  updatedAt: zod.ZodISODateTime;
12809
13784
  role: zod.ZodEnum<{
12810
- member: "member";
12811
13785
  owner: "owner";
12812
13786
  admin: "admin";
13787
+ member: "member";
12813
13788
  }>;
12814
13789
  membershipRole: zod.ZodNullable<zod.ZodEnum<{
12815
- member: "member";
12816
13790
  owner: "owner";
12817
13791
  admin: "admin";
13792
+ member: "member";
12818
13793
  }>>;
12819
13794
  pendingAccessRequestCount: zod.ZodNumber;
12820
13795
  }, zod_v4_core.$strip>>;
@@ -12840,8 +13815,8 @@ declare const apiOperations: {
12840
13815
  name: zod.ZodString;
12841
13816
  description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
12842
13817
  visibility: zod.ZodOptional<zod.ZodEnum<{
12843
- private: "private";
12844
13818
  discoverable: "discoverable";
13819
+ private: "private";
12845
13820
  }>>;
12846
13821
  defaultConversationVisibility: zod.ZodOptional<zod.ZodEnum<{
12847
13822
  workspace: "workspace";
@@ -12881,8 +13856,8 @@ declare const apiOperations: {
12881
13856
  name: zod.ZodString;
12882
13857
  description: zod.ZodNullable<zod.ZodString>;
12883
13858
  visibility: zod.ZodEnum<{
12884
- private: "private";
12885
13859
  discoverable: "discoverable";
13860
+ private: "private";
12886
13861
  }>;
12887
13862
  defaultConversationVisibility: zod.ZodEnum<{
12888
13863
  workspace: "workspace";
@@ -12913,14 +13888,14 @@ declare const apiOperations: {
12913
13888
  createdAt: zod.ZodISODateTime;
12914
13889
  updatedAt: zod.ZodISODateTime;
12915
13890
  role: zod.ZodEnum<{
12916
- member: "member";
12917
13891
  owner: "owner";
12918
13892
  admin: "admin";
13893
+ member: "member";
12919
13894
  }>;
12920
13895
  membershipRole: zod.ZodNullable<zod.ZodEnum<{
12921
- member: "member";
12922
13896
  owner: "owner";
12923
13897
  admin: "admin";
13898
+ member: "member";
12924
13899
  }>>;
12925
13900
  pendingAccessRequestCount: zod.ZodNumber;
12926
13901
  }, zod_v4_core.$strip>;
@@ -12938,9 +13913,9 @@ declare const apiOperations: {
12938
13913
  status: zod.ZodEnum<{
12939
13914
  failed: "failed";
12940
13915
  running: "running";
12941
- done: "done";
12942
- pending_approval: "pending_approval";
12943
13916
  pending_confirmation: "pending_confirmation";
13917
+ pending_approval: "pending_approval";
13918
+ done: "done";
12944
13919
  denied: "denied";
12945
13920
  expired: "expired";
12946
13921
  }>;
@@ -12995,9 +13970,9 @@ declare const apiOperations: {
12995
13970
  scheduleId: zod.ZodString;
12996
13971
  }, zod_v4_core.$strip>], "kind">;
12997
13972
  target: zod.ZodEnum<{
12998
- dry_run: "dry_run";
12999
- live: "live";
13000
13973
  test: "test";
13974
+ live: "live";
13975
+ dry_run: "dry_run";
13001
13976
  }>;
13002
13977
  app: zod.ZodOptional<zod.ZodObject<{
13003
13978
  title: zod.ZodOptional<zod.ZodString>;
@@ -13017,6 +13992,8 @@ declare const apiOperations: {
13017
13992
  }>;
13018
13993
  reason: zod.ZodOptional<zod.ZodEnum<{
13019
13994
  inherited_approval_not_applied: "inherited_approval_not_applied";
13995
+ workflow_publish: "workflow_publish";
13996
+ approved_by_caller: "approved_by_caller";
13020
13997
  }>>;
13021
13998
  by: zod.ZodString;
13022
13999
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -13125,8 +14102,8 @@ declare const apiOperations: {
13125
14102
  name: zod.ZodString;
13126
14103
  description: zod.ZodNullable<zod.ZodString>;
13127
14104
  visibility: zod.ZodEnum<{
13128
- private: "private";
13129
14105
  discoverable: "discoverable";
14106
+ private: "private";
13130
14107
  }>;
13131
14108
  defaultConversationVisibility: zod.ZodEnum<{
13132
14109
  workspace: "workspace";
@@ -13157,14 +14134,14 @@ declare const apiOperations: {
13157
14134
  createdAt: zod.ZodISODateTime;
13158
14135
  updatedAt: zod.ZodISODateTime;
13159
14136
  role: zod.ZodEnum<{
13160
- member: "member";
13161
14137
  owner: "owner";
13162
14138
  admin: "admin";
14139
+ member: "member";
13163
14140
  }>;
13164
14141
  membershipRole: zod.ZodNullable<zod.ZodEnum<{
13165
- member: "member";
13166
14142
  owner: "owner";
13167
14143
  admin: "admin";
14144
+ member: "member";
13168
14145
  }>>;
13169
14146
  pendingAccessRequestCount: zod.ZodNumber;
13170
14147
  }, zod_v4_core.$strip>;
@@ -13237,6 +14214,7 @@ declare const apiOperations: {
13237
14214
  }>>;
13238
14215
  }, zod_v4_core.$strip>>;
13239
14216
  compactThresholdTokens: zod.ZodOptional<zod.ZodNumber>;
14217
+ buildsAssets: zod.ZodOptional<zod.ZodBoolean>;
13240
14218
  welcomeMessage: zod.ZodOptional<zod.ZodString>;
13241
14219
  welcomeSubtitle: zod.ZodOptional<zod.ZodString>;
13242
14220
  initialPrompts: zod.ZodArray<zod.ZodObject<{
@@ -13286,8 +14264,8 @@ declare const apiOperations: {
13286
14264
  text: zod.ZodOptional<zod.ZodString>;
13287
14265
  kind: zod.ZodOptional<zod.ZodEnum<{
13288
14266
  page: "page";
13289
- generated_file: "generated_file";
13290
14267
  upload: "upload";
14268
+ generated_file: "generated_file";
13291
14269
  }>>;
13292
14270
  }, zod_v4_core.$strip>;
13293
14271
  readonly response: {
@@ -13296,8 +14274,8 @@ declare const apiOperations: {
13296
14274
  items: zod.ZodArray<zod.ZodObject<{
13297
14275
  kind: zod.ZodEnum<{
13298
14276
  page: "page";
13299
- generated_file: "generated_file";
13300
14277
  upload: "upload";
14278
+ generated_file: "generated_file";
13301
14279
  }>;
13302
14280
  id: zod.ZodString;
13303
14281
  name: zod.ZodString;
@@ -13335,8 +14313,8 @@ declare const apiOperations: {
13335
14313
  name: zod.ZodOptional<zod.ZodString>;
13336
14314
  description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
13337
14315
  visibility: zod.ZodOptional<zod.ZodEnum<{
13338
- private: "private";
13339
14316
  discoverable: "discoverable";
14317
+ private: "private";
13340
14318
  }>>;
13341
14319
  defaultConversationVisibility: zod.ZodOptional<zod.ZodEnum<{
13342
14320
  workspace: "workspace";
@@ -13376,8 +14354,8 @@ declare const apiOperations: {
13376
14354
  name: zod.ZodString;
13377
14355
  description: zod.ZodNullable<zod.ZodString>;
13378
14356
  visibility: zod.ZodEnum<{
13379
- private: "private";
13380
14357
  discoverable: "discoverable";
14358
+ private: "private";
13381
14359
  }>;
13382
14360
  defaultConversationVisibility: zod.ZodEnum<{
13383
14361
  workspace: "workspace";
@@ -13408,14 +14386,14 @@ declare const apiOperations: {
13408
14386
  createdAt: zod.ZodISODateTime;
13409
14387
  updatedAt: zod.ZodISODateTime;
13410
14388
  role: zod.ZodEnum<{
13411
- member: "member";
13412
14389
  owner: "owner";
13413
14390
  admin: "admin";
14391
+ member: "member";
13414
14392
  }>;
13415
14393
  membershipRole: zod.ZodNullable<zod.ZodEnum<{
13416
- member: "member";
13417
14394
  owner: "owner";
13418
14395
  admin: "admin";
14396
+ member: "member";
13419
14397
  }>>;
13420
14398
  pendingAccessRequestCount: zod.ZodNumber;
13421
14399
  }, zod_v4_core.$strip>;
@@ -13433,9 +14411,9 @@ declare const apiOperations: {
13433
14411
  status: zod.ZodEnum<{
13434
14412
  failed: "failed";
13435
14413
  running: "running";
13436
- done: "done";
13437
- pending_approval: "pending_approval";
13438
14414
  pending_confirmation: "pending_confirmation";
14415
+ pending_approval: "pending_approval";
14416
+ done: "done";
13439
14417
  denied: "denied";
13440
14418
  expired: "expired";
13441
14419
  }>;
@@ -13490,9 +14468,9 @@ declare const apiOperations: {
13490
14468
  scheduleId: zod.ZodString;
13491
14469
  }, zod_v4_core.$strip>], "kind">;
13492
14470
  target: zod.ZodEnum<{
13493
- dry_run: "dry_run";
13494
- live: "live";
13495
14471
  test: "test";
14472
+ live: "live";
14473
+ dry_run: "dry_run";
13496
14474
  }>;
13497
14475
  app: zod.ZodOptional<zod.ZodObject<{
13498
14476
  title: zod.ZodOptional<zod.ZodString>;
@@ -13512,6 +14490,8 @@ declare const apiOperations: {
13512
14490
  }>;
13513
14491
  reason: zod.ZodOptional<zod.ZodEnum<{
13514
14492
  inherited_approval_not_applied: "inherited_approval_not_applied";
14493
+ workflow_publish: "workflow_publish";
14494
+ approved_by_caller: "approved_by_caller";
13515
14495
  }>>;
13516
14496
  by: zod.ZodString;
13517
14497
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -13579,8 +14559,8 @@ declare const apiOperations: {
13579
14559
  readonly kind: "json";
13580
14560
  readonly schema: zod.ZodObject<{
13581
14561
  state: zod.ZodEnum<{
13582
- deleted: "deleted";
13583
14562
  deleting: "deleting";
14563
+ deleted: "deleted";
13584
14564
  }>;
13585
14565
  }, zod_v4_core.$strip>;
13586
14566
  };
@@ -13597,9 +14577,9 @@ declare const apiOperations: {
13597
14577
  status: zod.ZodEnum<{
13598
14578
  failed: "failed";
13599
14579
  running: "running";
13600
- done: "done";
13601
- pending_approval: "pending_approval";
13602
14580
  pending_confirmation: "pending_confirmation";
14581
+ pending_approval: "pending_approval";
14582
+ done: "done";
13603
14583
  denied: "denied";
13604
14584
  expired: "expired";
13605
14585
  }>;
@@ -13654,9 +14634,9 @@ declare const apiOperations: {
13654
14634
  scheduleId: zod.ZodString;
13655
14635
  }, zod_v4_core.$strip>], "kind">;
13656
14636
  target: zod.ZodEnum<{
13657
- dry_run: "dry_run";
13658
- live: "live";
13659
14637
  test: "test";
14638
+ live: "live";
14639
+ dry_run: "dry_run";
13660
14640
  }>;
13661
14641
  app: zod.ZodOptional<zod.ZodObject<{
13662
14642
  title: zod.ZodOptional<zod.ZodString>;
@@ -13676,6 +14656,8 @@ declare const apiOperations: {
13676
14656
  }>;
13677
14657
  reason: zod.ZodOptional<zod.ZodEnum<{
13678
14658
  inherited_approval_not_applied: "inherited_approval_not_applied";
14659
+ workflow_publish: "workflow_publish";
14660
+ approved_by_caller: "approved_by_caller";
13679
14661
  }>>;
13680
14662
  by: zod.ZodString;
13681
14663
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -13727,9 +14709,9 @@ declare const apiOperations: {
13727
14709
  displayLabel: zod.ZodString;
13728
14710
  email: zod.ZodNullable<zod.ZodString>;
13729
14711
  role: zod.ZodEnum<{
13730
- member: "member";
13731
14712
  owner: "owner";
13732
14713
  admin: "admin";
14714
+ member: "member";
13733
14715
  }>;
13734
14716
  }, zod_v4_core.$strip>>;
13735
14717
  nextCursor: zod.ZodOptional<zod.ZodString>;
@@ -13792,9 +14774,9 @@ declare const apiOperations: {
13792
14774
  displayLabel: zod.ZodString;
13793
14775
  email: zod.ZodNullable<zod.ZodString>;
13794
14776
  role: zod.ZodEnum<{
13795
- member: "member";
13796
14777
  owner: "owner";
13797
14778
  admin: "admin";
14779
+ member: "member";
13798
14780
  }>;
13799
14781
  }, zod_v4_core.$strip>;
13800
14782
  };
@@ -13811,9 +14793,9 @@ declare const apiOperations: {
13811
14793
  status: zod.ZodEnum<{
13812
14794
  failed: "failed";
13813
14795
  running: "running";
13814
- done: "done";
13815
- pending_approval: "pending_approval";
13816
14796
  pending_confirmation: "pending_confirmation";
14797
+ pending_approval: "pending_approval";
14798
+ done: "done";
13817
14799
  denied: "denied";
13818
14800
  expired: "expired";
13819
14801
  }>;
@@ -13868,9 +14850,9 @@ declare const apiOperations: {
13868
14850
  scheduleId: zod.ZodString;
13869
14851
  }, zod_v4_core.$strip>], "kind">;
13870
14852
  target: zod.ZodEnum<{
13871
- dry_run: "dry_run";
13872
- live: "live";
13873
14853
  test: "test";
14854
+ live: "live";
14855
+ dry_run: "dry_run";
13874
14856
  }>;
13875
14857
  app: zod.ZodOptional<zod.ZodObject<{
13876
14858
  title: zod.ZodOptional<zod.ZodString>;
@@ -13890,6 +14872,8 @@ declare const apiOperations: {
13890
14872
  }>;
13891
14873
  reason: zod.ZodOptional<zod.ZodEnum<{
13892
14874
  inherited_approval_not_applied: "inherited_approval_not_applied";
14875
+ workflow_publish: "workflow_publish";
14876
+ approved_by_caller: "approved_by_caller";
13893
14877
  }>>;
13894
14878
  by: zod.ZodString;
13895
14879
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -13931,9 +14915,9 @@ declare const apiOperations: {
13931
14915
  readonly effect: "changing";
13932
14916
  readonly body: zod.ZodObject<{
13933
14917
  role: zod.ZodEnum<{
13934
- member: "member";
13935
14918
  owner: "owner";
13936
14919
  admin: "admin";
14920
+ member: "member";
13937
14921
  }>;
13938
14922
  }, zod_v4_core.$strip>;
13939
14923
  readonly response: {
@@ -13943,9 +14927,9 @@ declare const apiOperations: {
13943
14927
  clientInstanceId: zod.ZodString;
13944
14928
  userId: zod.ZodString;
13945
14929
  role: zod.ZodEnum<{
13946
- member: "member";
13947
14930
  owner: "owner";
13948
14931
  admin: "admin";
14932
+ member: "member";
13949
14933
  }>;
13950
14934
  createdAt: zod.ZodISODateTime;
13951
14935
  updatedAt: zod.ZodISODateTime;
@@ -13964,9 +14948,9 @@ declare const apiOperations: {
13964
14948
  status: zod.ZodEnum<{
13965
14949
  failed: "failed";
13966
14950
  running: "running";
13967
- done: "done";
13968
- pending_approval: "pending_approval";
13969
14951
  pending_confirmation: "pending_confirmation";
14952
+ pending_approval: "pending_approval";
14953
+ done: "done";
13970
14954
  denied: "denied";
13971
14955
  expired: "expired";
13972
14956
  }>;
@@ -14021,9 +15005,9 @@ declare const apiOperations: {
14021
15005
  scheduleId: zod.ZodString;
14022
15006
  }, zod_v4_core.$strip>], "kind">;
14023
15007
  target: zod.ZodEnum<{
14024
- dry_run: "dry_run";
14025
- live: "live";
14026
15008
  test: "test";
15009
+ live: "live";
15010
+ dry_run: "dry_run";
14027
15011
  }>;
14028
15012
  app: zod.ZodOptional<zod.ZodObject<{
14029
15013
  title: zod.ZodOptional<zod.ZodString>;
@@ -14043,6 +15027,8 @@ declare const apiOperations: {
14043
15027
  }>;
14044
15028
  reason: zod.ZodOptional<zod.ZodEnum<{
14045
15029
  inherited_approval_not_applied: "inherited_approval_not_applied";
15030
+ workflow_publish: "workflow_publish";
15031
+ approved_by_caller: "approved_by_caller";
14046
15032
  }>>;
14047
15033
  by: zod.ZodString;
14048
15034
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -14089,9 +15075,9 @@ declare const apiOperations: {
14089
15075
  clientInstanceId: zod.ZodString;
14090
15076
  userId: zod.ZodString;
14091
15077
  role: zod.ZodEnum<{
14092
- member: "member";
14093
15078
  owner: "owner";
14094
15079
  admin: "admin";
15080
+ member: "member";
14095
15081
  }>;
14096
15082
  createdAt: zod.ZodISODateTime;
14097
15083
  updatedAt: zod.ZodISODateTime;
@@ -14110,9 +15096,9 @@ declare const apiOperations: {
14110
15096
  status: zod.ZodEnum<{
14111
15097
  failed: "failed";
14112
15098
  running: "running";
14113
- done: "done";
14114
- pending_approval: "pending_approval";
14115
15099
  pending_confirmation: "pending_confirmation";
15100
+ pending_approval: "pending_approval";
15101
+ done: "done";
14116
15102
  denied: "denied";
14117
15103
  expired: "expired";
14118
15104
  }>;
@@ -14167,9 +15153,9 @@ declare const apiOperations: {
14167
15153
  scheduleId: zod.ZodString;
14168
15154
  }, zod_v4_core.$strip>], "kind">;
14169
15155
  target: zod.ZodEnum<{
14170
- dry_run: "dry_run";
14171
- live: "live";
14172
15156
  test: "test";
15157
+ live: "live";
15158
+ dry_run: "dry_run";
14173
15159
  }>;
14174
15160
  app: zod.ZodOptional<zod.ZodObject<{
14175
15161
  title: zod.ZodOptional<zod.ZodString>;
@@ -14189,6 +15175,8 @@ declare const apiOperations: {
14189
15175
  }>;
14190
15176
  reason: zod.ZodOptional<zod.ZodEnum<{
14191
15177
  inherited_approval_not_applied: "inherited_approval_not_applied";
15178
+ workflow_publish: "workflow_publish";
15179
+ approved_by_caller: "approved_by_caller";
14192
15180
  }>>;
14193
15181
  by: zod.ZodString;
14194
15182
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -14235,9 +15223,9 @@ declare const apiOperations: {
14235
15223
  clientInstanceId: zod.ZodString;
14236
15224
  userId: zod.ZodString;
14237
15225
  role: zod.ZodEnum<{
14238
- member: "member";
14239
15226
  owner: "owner";
14240
15227
  admin: "admin";
15228
+ member: "member";
14241
15229
  }>;
14242
15230
  createdAt: zod.ZodISODateTime;
14243
15231
  updatedAt: zod.ZodISODateTime;
@@ -14256,9 +15244,9 @@ declare const apiOperations: {
14256
15244
  status: zod.ZodEnum<{
14257
15245
  failed: "failed";
14258
15246
  running: "running";
14259
- done: "done";
14260
- pending_approval: "pending_approval";
14261
15247
  pending_confirmation: "pending_confirmation";
15248
+ pending_approval: "pending_approval";
15249
+ done: "done";
14262
15250
  denied: "denied";
14263
15251
  expired: "expired";
14264
15252
  }>;
@@ -14313,9 +15301,9 @@ declare const apiOperations: {
14313
15301
  scheduleId: zod.ZodString;
14314
15302
  }, zod_v4_core.$strip>], "kind">;
14315
15303
  target: zod.ZodEnum<{
14316
- dry_run: "dry_run";
14317
- live: "live";
14318
15304
  test: "test";
15305
+ live: "live";
15306
+ dry_run: "dry_run";
14319
15307
  }>;
14320
15308
  app: zod.ZodOptional<zod.ZodObject<{
14321
15309
  title: zod.ZodOptional<zod.ZodString>;
@@ -14335,6 +15323,8 @@ declare const apiOperations: {
14335
15323
  }>;
14336
15324
  reason: zod.ZodOptional<zod.ZodEnum<{
14337
15325
  inherited_approval_not_applied: "inherited_approval_not_applied";
15326
+ workflow_publish: "workflow_publish";
15327
+ approved_by_caller: "approved_by_caller";
14338
15328
  }>>;
14339
15329
  by: zod.ZodString;
14340
15330
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -14397,9 +15387,9 @@ declare const apiOperations: {
14397
15387
  status: zod.ZodEnum<{
14398
15388
  failed: "failed";
14399
15389
  running: "running";
14400
- done: "done";
14401
- pending_approval: "pending_approval";
14402
15390
  pending_confirmation: "pending_confirmation";
15391
+ pending_approval: "pending_approval";
15392
+ done: "done";
14403
15393
  denied: "denied";
14404
15394
  expired: "expired";
14405
15395
  }>;
@@ -14454,9 +15444,9 @@ declare const apiOperations: {
14454
15444
  scheduleId: zod.ZodString;
14455
15445
  }, zod_v4_core.$strip>], "kind">;
14456
15446
  target: zod.ZodEnum<{
14457
- dry_run: "dry_run";
14458
- live: "live";
14459
15447
  test: "test";
15448
+ live: "live";
15449
+ dry_run: "dry_run";
14460
15450
  }>;
14461
15451
  app: zod.ZodOptional<zod.ZodObject<{
14462
15452
  title: zod.ZodOptional<zod.ZodString>;
@@ -14476,6 +15466,8 @@ declare const apiOperations: {
14476
15466
  }>;
14477
15467
  reason: zod.ZodOptional<zod.ZodEnum<{
14478
15468
  inherited_approval_not_applied: "inherited_approval_not_applied";
15469
+ workflow_publish: "workflow_publish";
15470
+ approved_by_caller: "approved_by_caller";
14479
15471
  }>>;
14480
15472
  by: zod.ZodString;
14481
15473
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -14553,9 +15545,9 @@ declare const apiOperations: {
14553
15545
  clientInstanceId: zod.ZodString;
14554
15546
  userId: zod.ZodString;
14555
15547
  role: zod.ZodEnum<{
14556
- member: "member";
14557
15548
  owner: "owner";
14558
15549
  admin: "admin";
15550
+ member: "member";
14559
15551
  }>;
14560
15552
  createdAt: zod.ZodISODateTime;
14561
15553
  updatedAt: zod.ZodISODateTime;
@@ -14574,9 +15566,9 @@ declare const apiOperations: {
14574
15566
  status: zod.ZodEnum<{
14575
15567
  failed: "failed";
14576
15568
  running: "running";
14577
- done: "done";
14578
- pending_approval: "pending_approval";
14579
15569
  pending_confirmation: "pending_confirmation";
15570
+ pending_approval: "pending_approval";
15571
+ done: "done";
14580
15572
  denied: "denied";
14581
15573
  expired: "expired";
14582
15574
  }>;
@@ -14631,9 +15623,9 @@ declare const apiOperations: {
14631
15623
  scheduleId: zod.ZodString;
14632
15624
  }, zod_v4_core.$strip>], "kind">;
14633
15625
  target: zod.ZodEnum<{
14634
- dry_run: "dry_run";
14635
- live: "live";
14636
15626
  test: "test";
15627
+ live: "live";
15628
+ dry_run: "dry_run";
14637
15629
  }>;
14638
15630
  app: zod.ZodOptional<zod.ZodObject<{
14639
15631
  title: zod.ZodOptional<zod.ZodString>;
@@ -14653,6 +15645,8 @@ declare const apiOperations: {
14653
15645
  }>;
14654
15646
  reason: zod.ZodOptional<zod.ZodEnum<{
14655
15647
  inherited_approval_not_applied: "inherited_approval_not_applied";
15648
+ workflow_publish: "workflow_publish";
15649
+ approved_by_caller: "approved_by_caller";
14656
15650
  }>>;
14657
15651
  by: zod.ZodString;
14658
15652
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -14715,9 +15709,9 @@ declare const apiOperations: {
14715
15709
  status: zod.ZodEnum<{
14716
15710
  failed: "failed";
14717
15711
  running: "running";
14718
- done: "done";
14719
- pending_approval: "pending_approval";
14720
15712
  pending_confirmation: "pending_confirmation";
15713
+ pending_approval: "pending_approval";
15714
+ done: "done";
14721
15715
  denied: "denied";
14722
15716
  expired: "expired";
14723
15717
  }>;
@@ -14772,9 +15766,9 @@ declare const apiOperations: {
14772
15766
  scheduleId: zod.ZodString;
14773
15767
  }, zod_v4_core.$strip>], "kind">;
14774
15768
  target: zod.ZodEnum<{
14775
- dry_run: "dry_run";
14776
- live: "live";
14777
15769
  test: "test";
15770
+ live: "live";
15771
+ dry_run: "dry_run";
14778
15772
  }>;
14779
15773
  app: zod.ZodOptional<zod.ZodObject<{
14780
15774
  title: zod.ZodOptional<zod.ZodString>;
@@ -14794,6 +15788,8 @@ declare const apiOperations: {
14794
15788
  }>;
14795
15789
  reason: zod.ZodOptional<zod.ZodEnum<{
14796
15790
  inherited_approval_not_applied: "inherited_approval_not_applied";
15791
+ workflow_publish: "workflow_publish";
15792
+ approved_by_caller: "approved_by_caller";
14797
15793
  }>>;
14798
15794
  by: zod.ZodString;
14799
15795
  byLabel: zod.ZodOptional<zod.ZodString>;
@@ -14961,8 +15957,8 @@ declare const apiOperations: {
14961
15957
  configAssets: zod.ZodObject<{
14962
15958
  enabled: zod.ZodBoolean;
14963
15959
  editableAgentFields: zod.ZodPreprocess<zod.ZodArray<zod.ZodEnum<{
14964
- description: "description";
14965
15960
  displayName: "displayName";
15961
+ description: "description";
14966
15962
  welcomeMessage: "welcomeMessage";
14967
15963
  welcomeSubtitle: "welcomeSubtitle";
14968
15964
  instructions: "instructions";
@@ -15030,6 +16026,7 @@ declare const apiOperations: {
15030
16026
  }>>;
15031
16027
  }, zod_v4_core.$strip>>;
15032
16028
  compactThresholdTokens: zod.ZodOptional<zod.ZodNumber>;
16029
+ buildsAssets: zod.ZodOptional<zod.ZodBoolean>;
15033
16030
  welcomeMessage: zod.ZodOptional<zod.ZodString>;
15034
16031
  welcomeSubtitle: zod.ZodOptional<zod.ZodString>;
15035
16032
  initialPrompts: zod.ZodArray<zod.ZodObject<{
@@ -15785,6 +16782,7 @@ declare const apiOperations: {
15785
16782
  readonly tag: "Approval Requests";
15786
16783
  readonly auth: "user";
15787
16784
  readonly scope: "conversation:read";
16785
+ readonly personalKeyScope: "me:read";
15788
16786
  readonly requires: readonly [];
15789
16787
  readonly effect: "reading";
15790
16788
  readonly query: zod.ZodObject<{
@@ -15865,6 +16863,7 @@ declare const apiOperations: {
15865
16863
  readonly tag: "Approval Requests";
15866
16864
  readonly auth: "user";
15867
16865
  readonly scope: "conversation:read";
16866
+ readonly personalKeyScope: "me:read";
15868
16867
  readonly requires: readonly [];
15869
16868
  readonly effect: "reading";
15870
16869
  readonly response: {
@@ -15967,6 +16966,7 @@ declare const apiOperations: {
15967
16966
  readonly tag: "Approval Requests";
15968
16967
  readonly auth: "user";
15969
16968
  readonly scope: "conversation:write";
16969
+ readonly personalKeyScope: "config_assets:write";
15970
16970
  readonly requires: readonly [];
15971
16971
  readonly effect: "changing";
15972
16972
  readonly response: {
@@ -16120,6 +17120,7 @@ declare const assetSummarySchema: z.ZodObject<{
16120
17120
  }, z.core.$strip>;
16121
17121
  declare const assetSchema: z.ZodObject<{
16122
17122
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17123
+ runsAs: z.ZodOptional<z.ZodString>;
16123
17124
  contentRevision: z.ZodOptional<z.ZodNumber>;
16124
17125
  files: z.ZodOptional<z.ZodArray<z.ZodObject<{
16125
17126
  path: z.ZodString;
@@ -16139,6 +17140,28 @@ declare const assetSchema: z.ZodObject<{
16139
17140
  personalWorkspaces: z.ZodBoolean;
16140
17141
  collaborationWorkspaceIds: z.ZodArray<z.ZodString>;
16141
17142
  }, z.core.$strip>>;
17143
+ unavailableTools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17144
+ name: z.ZodString;
17145
+ reason: z.ZodLiteral<"module_off">;
17146
+ module: z.ZodString;
17147
+ }, z.core.$strip>, z.ZodObject<{
17148
+ name: z.ZodString;
17149
+ reason: z.ZodLiteral<"unknown_tool">;
17150
+ }, z.core.$strip>], "reason">>>;
17151
+ unavailableSkills: z.ZodOptional<z.ZodArray<z.ZodObject<{
17152
+ name: z.ZodString;
17153
+ reason: z.ZodLiteral<"unknown_skill">;
17154
+ }, z.core.$strip>>>;
17155
+ unavailableModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
17156
+ name: z.ZodString;
17157
+ field: z.ZodEnum<{
17158
+ modelBindingId: "modelBindingId";
17159
+ modelProviderId: "modelProviderId";
17160
+ userSelectableModelBindingIds: "userSelectableModelBindingIds";
17161
+ }>;
17162
+ reason: z.ZodLiteral<"unknown_model">;
17163
+ }, z.core.$strip>>>;
17164
+ chatAvailable: z.ZodOptional<z.ZodBoolean>;
16142
17165
  updatedAt: z.ZodISODateTime;
16143
17166
  draftRevision: z.ZodOptional<z.ZodNumber>;
16144
17167
  publishedRevision: z.ZodOptional<z.ZodNumber>;
@@ -16199,7 +17222,7 @@ declare function createConfigApi(options: ConfigApiOptions): Promise<{
16199
17222
  getLatestRevision: (kind: string, name: string) => Promise<{
16200
17223
  assetId: string;
16201
17224
  revision: number;
16202
- operation: "create" | "update" | "delete" | "revert";
17225
+ operation: "delete" | "create" | "update" | "revert";
16203
17226
  config: Record<string, unknown> | null;
16204
17227
  actor: {
16205
17228
  displayLabel: string;
@@ -16239,6 +17262,10 @@ declare function createConfigApi(options: ConfigApiOptions): Promise<{
16239
17262
  /** Asks whether a sync of the batch would be applied. A refusal throws as the sync's. */
16240
17263
  checkSync: (batch: SyncBatch) => Promise<{
16241
17264
  valid: true;
17265
+ warnings?: {
17266
+ code: string;
17267
+ message: string;
17268
+ }[] | undefined;
16242
17269
  }>;
16243
17270
  /**
16244
17271
  * Applies the batch, all of it or nothing. The call carries one key for all its tries: a
@@ -16270,6 +17297,7 @@ declare function assertSafeApiKeyExchangeUrl(url: string, what?: string): void;
16270
17297
  /** The fetch of every request to an instance: the one given, or the global one, never redirected. */
16271
17298
  declare function instanceFetch(fetchImpl?: FetchImpl): FetchImpl;
16272
17299
  declare function toConfigApiError(error: unknown): unknown;
17300
+ declare function redactSecret(message: string, secret: string): string;
16273
17301
 
16274
17302
  /** A guardrail definition as the CLI carries it, checked by the instance. */
16275
17303
  type GuardrailDefinition = Record<string, unknown> & {
@@ -16429,11 +17457,41 @@ interface ConfigCommandOptions {
16429
17457
  env?: Readonly<Record<string, string | undefined>>;
16430
17458
  stdout?: (text: string) => void;
16431
17459
  stderr?: (text: string) => void;
17460
+ /** Asks the person at the terminal. Absent where nobody can be asked. */
17461
+ prompt?: (question: string) => Promise<string>;
16432
17462
  }
16433
17463
  declare function canonicalBundleFiles(bundle: WorkingCopyBundle): Map<string, string>;
16434
17464
  type AssetKindName = "agent" | "skill" | "guardrail";
16435
17465
  declare function resolveSkillResourceTarget(skillDirectory: string, resourcePath: string): string;
16436
17466
 
17467
+ /** One action of a manifest as a publish review names it. */
17468
+ interface ReviewAction {
17469
+ name: string;
17470
+ change: "new" | "changed" | "unchanged";
17471
+ }
17472
+ /**
17473
+ * What a publish makes live, read from the manifests the builds of the two revisions
17474
+ * validated: the Connections and the hosts outside the instance the revision reaches, as the
17475
+ * publish dialog of the interface shows them, and beside them the changing actions it will call
17476
+ * live and the hosts and Data Store levels it adds, each against the published revision.
17477
+ */
17478
+ interface PublishReview {
17479
+ revision: number;
17480
+ publishedRevision: number | null;
17481
+ connections: string[];
17482
+ externalHosts: Array<{
17483
+ host: string;
17484
+ added: boolean;
17485
+ }>;
17486
+ changingActions: ReviewAction[];
17487
+ dataStores: Array<{
17488
+ name: string;
17489
+ minSchema?: number;
17490
+ added: boolean;
17491
+ }>;
17492
+ }
17493
+ declare function publishReview(candidate: Asset, live: Asset | undefined): PublishReview;
17494
+
16437
17495
  declare function pushConfig(options: ConfigCommandOptions): Promise<number>;
16438
17496
 
16439
17497
  type ConfigCommandName = "pull" | "push" | "diff" | "validate" | "list" | "show";
@@ -16455,6 +17513,7 @@ declare function renderCatalystSkill(): Promise<string>;
16455
17513
 
16456
17514
  interface CliRuntimeOptions {
16457
17515
  cwd?: string;
17516
+ stdin?: CommandInput;
16458
17517
  fetchImpl?: typeof fetch;
16459
17518
  env?: Readonly<Record<string, string | undefined>>;
16460
17519
  stdout?: (text: string) => void;
@@ -16463,7 +17522,12 @@ interface CliRuntimeOptions {
16463
17522
  sleep?: (milliseconds: number) => Promise<void>;
16464
17523
  /** Opens an address in a browser, as `setup` does. Tests pass one that opens nothing. */
16465
17524
  openUrl?: (address: string) => void;
17525
+ /**
17526
+ * Asks the person at the terminal and answers what they typed. Left out, the terminal is
17527
+ * asked where there is one, and nobody where there is none.
17528
+ */
17529
+ prompt?: (question: string) => Promise<string>;
16466
17530
  }
16467
17531
  declare function runCli(argv: string[], runtime?: CliRuntimeOptions): Promise<number>;
16468
17532
 
16469
- export { ApiKeyExchangeError, type AssetBaseline, type AssetProvenance, type CatalystManifest, type CatalystState, type CliRuntimeOptions, type ConfigApi, ConfigApiError, type ConfigApiOptions, type ConfigCommandName, type ConfigCommandOptions, type DeletedAssetBaseline, type DiffFile, type InstanceBaseline, MANIFEST_FILENAME, type ManifestInstance, type ResolvedInstance, STATE_FILENAME, type SyncBatch, type SyncOutcome, type SyncOutput, type WorkingCopyBundle, type WorkingCopyIssue, WorkingCopyValidationError, agentAssetPath, assertSafeApiKeyExchangeUrl, bindManifestWorkspace, canonicalBundleFiles, canonicalizeAgentConfig, canonicalizeSkillConfig, createConfigApi, createUnifiedDiff, diffConfig, guardrailAssetPath, instanceFetch, listConfig, matchManifestFiles, matchesManifestPath, parseAgentYaml, parseManifest, parseSkillFile, pullConfig, pushConfig, readManifest, readManifestIfPresent, readSkillResources, readStateFile, readWorkingCopy, removeStaleManifestAssets, renderCatalystSkill, resolveInstance, resolveSkillResourceTarget, runCli, runConfigCommand, serializeAgentYaml, serializeSkillMarkdown, serializeSkillPackageForDisplay, showConfig, skillAssetPath, toConfigApiError, updateManifestDefaultAgent, validateConfig, walkFiles, writeStateFile };
17533
+ export { ApiKeyExchangeError, type AssetBaseline, type AssetProvenance, type CatalystManifest, type CatalystState, type CliRuntimeOptions, type ConfigApi, ConfigApiError, type ConfigApiOptions, type ConfigCommandName, type ConfigCommandOptions, type DeletedAssetBaseline, type DiffFile, type InstanceBaseline, MANIFEST_FILENAME, type ManifestInstance, type PublishReview, type ResolvedInstance, STATE_FILENAME, type SyncBatch, type SyncOutcome, type SyncOutput, type WorkingCopyBundle, type WorkingCopyIssue, WorkingCopyValidationError, agentAssetPath, assertSafeApiKeyExchangeUrl, bindManifestWorkspace, canonicalBundleFiles, canonicalizeAgentConfig, canonicalizeSkillConfig, createConfigApi, createUnifiedDiff, diffConfig, guardrailAssetPath, instanceFetch, listConfig, matchManifestFiles, matchesManifestPath, parseAgentYaml, parseManifest, parseSkillFile, publishReview, pullConfig, pushConfig, readManifest, readManifestIfPresent, readSkillResources, readStateFile, readWorkingCopy, redactSecret, removeStaleManifestAssets, renderCatalystSkill, resolveInstance, resolveSkillResourceTarget, runCli, runConfigCommand, serializeAgentYaml, serializeSkillMarkdown, serializeSkillPackageForDisplay, showConfig, skillAssetPath, toConfigApiError, updateManifestDefaultAgent, validateConfig, walkFiles, writeStateFile };