@work-shape/catalyst-cli 0.8.0-rc.6 → 0.8.0-rc.7

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +817 -180
  2. package/dist/index.js +3875 -3244
  3. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -10,6 +10,24 @@ type CommandInput = Readable & {
10
10
  setRawMode?: (mode: boolean) => unknown;
11
11
  };
12
12
 
13
+ interface CliRuntimeOptions {
14
+ cwd?: string;
15
+ stdin?: CommandInput;
16
+ fetchImpl?: typeof fetch;
17
+ env?: Readonly<Record<string, string | undefined>>;
18
+ stdout?: (text: string) => void;
19
+ stderr?: (text: string) => void;
20
+ /** Waits between tries. Tests pass one that does not wait. */
21
+ sleep?: (milliseconds: number) => Promise<void>;
22
+ /** Opens an address in a browser, as `setup` does. Tests pass one that opens nothing. */
23
+ openUrl?: (address: string) => void;
24
+ /**
25
+ * Asks the person at the terminal and answers what they typed. Left out, the terminal is
26
+ * asked where there is one, and nobody where there is none.
27
+ */
28
+ prompt?: (question: string) => Promise<string>;
29
+ }
30
+
13
31
  type LocalizedStringConfig = string | {
14
32
  en?: string;
15
33
  de?: string;
@@ -53,6 +71,11 @@ interface AgentConfig {
53
71
  */
54
72
  knowledgeBases?: string[];
55
73
  initialPrompts: AgentInitialPromptConfig[];
74
+ /**
75
+ * An agent that ships with the platform: its fields as the release shipped them last. Only
76
+ * the release seed writes it; every other write keeps it as stored.
77
+ */
78
+ shipped?: Record<string, unknown>;
56
79
  }
57
80
  interface SkillConfig {
58
81
  name: string;
@@ -122,7 +145,11 @@ interface SkillResourceConfig {
122
145
  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"];
123
146
  type FirstPartyAuthScope = (typeof FIRST_PARTY_AUTH_SCOPES)[number];
124
147
  type OperationScope = Exclude<FirstPartyAuthScope, "*">;
125
- declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.publish", "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", "data_store.records", "knowledge_base.read", "knowledge_base.write", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "mail_sender.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "feedback.review", "users.manage", "usage.view", "audit.view", "api_access.manage", "service_principals.manage", "agent_models.manage", "assets.release", "builder", "publisher"];
148
+ /**
149
+ * Every right of the platform, one file per domain under `contract-values/`. The order is kept:
150
+ * `GRANTABLE_ACTIONS` filters it, and the rights dialog lists rights in it.
151
+ */
152
+ declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.publish", "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", "data_store.records", "knowledge_base.read", "knowledge_base.write", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "mail_sender.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "feedback.review", "users.manage", "usage.view", "audit.view", "api_access.manage", "service_principals.manage", "agent_models.manage", "roles.edit_built_in", "assets.release", "builder", "publisher"];
126
153
  type PlatformAction = (typeof ACTIONS)[number];
127
154
  type OperationEffect = (typeof OPERATION_EFFECTS)[number];
128
155
  declare const OPERATION_EFFECTS: readonly ["reading", "changing"];
@@ -877,11 +904,11 @@ declare const apiOperations: {
877
904
  }, zod_v4_core.$strip>>;
878
905
  group: zod.ZodOptional<zod.ZodEnum<{
879
906
  instance: "instance";
880
- skills: "skills";
881
907
  files: "files";
882
908
  documents: "documents";
883
909
  web: "web";
884
910
  results: "results";
911
+ skills: "skills";
885
912
  platform: "platform";
886
913
  }>>;
887
914
  icon: zod.ZodOptional<zod.ZodString>;
@@ -1163,8 +1190,8 @@ declare const apiOperations: {
1163
1190
  scheduleId: zod.ZodString;
1164
1191
  }, zod_v4_core.$strip>], "kind">;
1165
1192
  target: zod.ZodEnum<{
1166
- test: "test";
1167
1193
  live: "live";
1194
+ test: "test";
1168
1195
  dry_run: "dry_run";
1169
1196
  }>;
1170
1197
  app: zod.ZodOptional<zod.ZodObject<{
@@ -1362,8 +1389,8 @@ declare const apiOperations: {
1362
1389
  scheduleId: zod.ZodString;
1363
1390
  }, zod_v4_core.$strip>], "kind">;
1364
1391
  target: zod.ZodEnum<{
1365
- test: "test";
1366
1392
  live: "live";
1393
+ test: "test";
1367
1394
  dry_run: "dry_run";
1368
1395
  }>;
1369
1396
  app: zod.ZodOptional<zod.ZodObject<{
@@ -1541,8 +1568,8 @@ declare const apiOperations: {
1541
1568
  scheduleId: zod.ZodString;
1542
1569
  }, zod_v4_core.$strip>], "kind">;
1543
1570
  target: zod.ZodEnum<{
1544
- test: "test";
1545
1571
  live: "live";
1572
+ test: "test";
1546
1573
  dry_run: "dry_run";
1547
1574
  }>;
1548
1575
  app: zod.ZodOptional<zod.ZodObject<{
@@ -1707,6 +1734,221 @@ declare const apiOperations: {
1707
1734
  readonly errors: readonly ["NOT_FOUND"];
1708
1735
  readonly rateClass: "read";
1709
1736
  }>;
1737
+ readonly "permissions.rights": Operation<{
1738
+ readonly id: "permissions.rights";
1739
+ readonly method: "GET";
1740
+ readonly path: "/api/v1/instance/access/rights";
1741
+ readonly summary: "List what one holder holds and is refused, each right decided with where it comes from";
1742
+ readonly tag: "Access";
1743
+ readonly auth: "user";
1744
+ readonly scope: "user_admin:read";
1745
+ readonly requires: readonly [];
1746
+ readonly effect: "reading";
1747
+ readonly query: zod.ZodObject<{
1748
+ holderKind: zod.ZodEnum<{
1749
+ user: "user";
1750
+ service_principal: "service_principal";
1751
+ }>;
1752
+ holderId: zod.ZodString;
1753
+ }, zod_v4_core.$strip>;
1754
+ readonly response: {
1755
+ readonly kind: "json";
1756
+ readonly schema: zod.ZodObject<{
1757
+ holderActive: zod.ZodBoolean;
1758
+ roles: zod.ZodArray<zod.ZodObject<{
1759
+ id: zod.ZodString;
1760
+ name: zod.ZodString;
1761
+ builtIn: zod.ZodBoolean;
1762
+ }, zod_v4_core.$strip>>;
1763
+ rights: zod.ZodArray<zod.ZodObject<{
1764
+ action: zod.ZodString;
1765
+ scopeKind: zod.ZodEnum<{
1766
+ instance: "instance";
1767
+ workspace: "workspace";
1768
+ asset: "asset";
1769
+ }>;
1770
+ scopeId: zod.ZodOptional<zod.ZodString>;
1771
+ allowed: zod.ZodBoolean;
1772
+ reason: zod.ZodOptional<zod.ZodEnum<{
1773
+ denied: "denied";
1774
+ no_grant: "no_grant";
1775
+ holder_inactive: "holder_inactive";
1776
+ }>>;
1777
+ grantedBy: zod.ZodArray<zod.ZodObject<{
1778
+ source: zod.ZodEnum<{
1779
+ role: "role";
1780
+ legacy_ref: "legacy_ref";
1781
+ grant: "grant";
1782
+ membership: "membership";
1783
+ }>;
1784
+ effect: zod.ZodEnum<{
1785
+ allow: "allow";
1786
+ deny: "deny";
1787
+ }>;
1788
+ scopeKind: zod.ZodEnum<{
1789
+ instance: "instance";
1790
+ workspace: "workspace";
1791
+ asset: "asset";
1792
+ }>;
1793
+ scopeId: zod.ZodOptional<zod.ZodString>;
1794
+ roleId: zod.ZodOptional<zod.ZodString>;
1795
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1796
+ kind: zod.ZodString;
1797
+ name: zod.ZodOptional<zod.ZodString>;
1798
+ title: zod.ZodOptional<zod.ZodString>;
1799
+ active: zod.ZodBoolean;
1800
+ }, zod_v4_core.$strip>>;
1801
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1802
+ personal: zod.ZodBoolean;
1803
+ name: zod.ZodOptional<zod.ZodString>;
1804
+ }, zod_v4_core.$strip>>;
1805
+ }, zod_v4_core.$strip>>;
1806
+ deniedBy: zod.ZodOptional<zod.ZodObject<{
1807
+ source: zod.ZodEnum<{
1808
+ role: "role";
1809
+ legacy_ref: "legacy_ref";
1810
+ grant: "grant";
1811
+ membership: "membership";
1812
+ }>;
1813
+ effect: zod.ZodEnum<{
1814
+ allow: "allow";
1815
+ deny: "deny";
1816
+ }>;
1817
+ scopeKind: zod.ZodEnum<{
1818
+ instance: "instance";
1819
+ workspace: "workspace";
1820
+ asset: "asset";
1821
+ }>;
1822
+ scopeId: zod.ZodOptional<zod.ZodString>;
1823
+ roleId: zod.ZodOptional<zod.ZodString>;
1824
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1825
+ kind: zod.ZodString;
1826
+ name: zod.ZodOptional<zod.ZodString>;
1827
+ title: zod.ZodOptional<zod.ZodString>;
1828
+ active: zod.ZodBoolean;
1829
+ }, zod_v4_core.$strip>>;
1830
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1831
+ personal: zod.ZodBoolean;
1832
+ name: zod.ZodOptional<zod.ZodString>;
1833
+ }, zod_v4_core.$strip>>;
1834
+ }, zod_v4_core.$strip>>;
1835
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1836
+ kind: zod.ZodString;
1837
+ name: zod.ZodOptional<zod.ZodString>;
1838
+ title: zod.ZodOptional<zod.ZodString>;
1839
+ active: zod.ZodBoolean;
1840
+ }, zod_v4_core.$strip>>;
1841
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1842
+ personal: zod.ZodBoolean;
1843
+ name: zod.ZodOptional<zod.ZodString>;
1844
+ }, zod_v4_core.$strip>>;
1845
+ availability: zod.ZodOptional<zod.ZodEnum<{
1846
+ instance: "instance";
1847
+ self: "self";
1848
+ workspace: "workspace";
1849
+ }>>;
1850
+ onlyInWorkspaces: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1851
+ personal: zod.ZodBoolean;
1852
+ name: zod.ZodOptional<zod.ZodString>;
1853
+ }, zod_v4_core.$strip>>>;
1854
+ }, zod_v4_core.$strip>>;
1855
+ }, zod_v4_core.$strip>;
1856
+ };
1857
+ readonly errors: readonly ["NOT_FOUND"];
1858
+ readonly rateClass: "read";
1859
+ }>;
1860
+ readonly "permissions.check": Operation<{
1861
+ readonly id: "permissions.check";
1862
+ readonly method: "GET";
1863
+ readonly path: "/api/v1/instance/access/check";
1864
+ readonly summary: "Decide what one holder may do with one asset, with the entry that decides each right";
1865
+ readonly tag: "Access";
1866
+ readonly auth: "user";
1867
+ readonly scope: "user_admin:read";
1868
+ readonly requires: readonly [];
1869
+ readonly effect: "reading";
1870
+ readonly query: zod.ZodObject<{
1871
+ holderKind: zod.ZodEnum<{
1872
+ user: "user";
1873
+ service_principal: "service_principal";
1874
+ }>;
1875
+ holderId: zod.ZodString;
1876
+ kind: zod.ZodString;
1877
+ assetId: zod.ZodOptional<zod.ZodString>;
1878
+ }, zod_v4_core.$strip>;
1879
+ readonly response: {
1880
+ readonly kind: "json";
1881
+ readonly schema: zod.ZodObject<{
1882
+ holderActive: zod.ZodBoolean;
1883
+ roles: zod.ZodArray<zod.ZodObject<{
1884
+ id: zod.ZodString;
1885
+ name: zod.ZodString;
1886
+ builtIn: zod.ZodBoolean;
1887
+ }, zod_v4_core.$strip>>;
1888
+ actions: zod.ZodArray<zod.ZodObject<{
1889
+ availability: zod.ZodOptional<zod.ZodEnum<{
1890
+ instance: "instance";
1891
+ self: "self";
1892
+ workspace: "workspace";
1893
+ }>>;
1894
+ onlyInWorkspaces: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1895
+ personal: zod.ZodBoolean;
1896
+ name: zod.ZodOptional<zod.ZodString>;
1897
+ }, zod_v4_core.$strip>>>;
1898
+ verb: zod.ZodEnum<{
1899
+ read: "read";
1900
+ write: "write";
1901
+ delete: "delete";
1902
+ use: "use";
1903
+ }>;
1904
+ action: zod.ZodString;
1905
+ allowed: zod.ZodBoolean;
1906
+ reason: zod.ZodOptional<zod.ZodEnum<{
1907
+ denied: "denied";
1908
+ no_grant: "no_grant";
1909
+ holder_inactive: "holder_inactive";
1910
+ }>>;
1911
+ decidedBy: zod.ZodOptional<zod.ZodObject<{
1912
+ source: zod.ZodEnum<{
1913
+ role: "role";
1914
+ legacy_ref: "legacy_ref";
1915
+ grant: "grant";
1916
+ membership: "membership";
1917
+ }>;
1918
+ effect: zod.ZodEnum<{
1919
+ allow: "allow";
1920
+ deny: "deny";
1921
+ }>;
1922
+ scopeKind: zod.ZodEnum<{
1923
+ instance: "instance";
1924
+ workspace: "workspace";
1925
+ asset: "asset";
1926
+ }>;
1927
+ scopeId: zod.ZodOptional<zod.ZodString>;
1928
+ roleId: zod.ZodOptional<zod.ZodString>;
1929
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1930
+ kind: zod.ZodString;
1931
+ name: zod.ZodOptional<zod.ZodString>;
1932
+ title: zod.ZodOptional<zod.ZodString>;
1933
+ active: zod.ZodBoolean;
1934
+ }, zod_v4_core.$strip>>;
1935
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1936
+ personal: zod.ZodBoolean;
1937
+ name: zod.ZodOptional<zod.ZodString>;
1938
+ }, zod_v4_core.$strip>>;
1939
+ }, zod_v4_core.$strip>>;
1940
+ deniedThrough: zod.ZodOptional<zod.ZodEnum<{
1941
+ read: "read";
1942
+ write: "write";
1943
+ delete: "delete";
1944
+ use: "use";
1945
+ }>>;
1946
+ }, zod_v4_core.$strip>>;
1947
+ }, zod_v4_core.$strip>;
1948
+ };
1949
+ readonly errors: readonly ["NOT_FOUND"];
1950
+ readonly rateClass: "read";
1951
+ }>;
1710
1952
  readonly "workspaces.limits.list": Operation<{
1711
1953
  readonly id: "workspaces.limits.list";
1712
1954
  readonly method: "GET";
@@ -1846,8 +2088,8 @@ declare const apiOperations: {
1846
2088
  scheduleId: zod.ZodString;
1847
2089
  }, zod_v4_core.$strip>], "kind">;
1848
2090
  target: zod.ZodEnum<{
1849
- test: "test";
1850
2091
  live: "live";
2092
+ test: "test";
1851
2093
  dry_run: "dry_run";
1852
2094
  }>;
1853
2095
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2050,8 +2292,8 @@ declare const apiOperations: {
2050
2292
  scheduleId: zod.ZodString;
2051
2293
  }, zod_v4_core.$strip>], "kind">;
2052
2294
  target: zod.ZodEnum<{
2053
- test: "test";
2054
2295
  live: "live";
2296
+ test: "test";
2055
2297
  dry_run: "dry_run";
2056
2298
  }>;
2057
2299
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2218,8 +2460,8 @@ declare const apiOperations: {
2218
2460
  scheduleId: zod.ZodString;
2219
2461
  }, zod_v4_core.$strip>], "kind">;
2220
2462
  target: zod.ZodEnum<{
2221
- test: "test";
2222
2463
  live: "live";
2464
+ test: "test";
2223
2465
  dry_run: "dry_run";
2224
2466
  }>;
2225
2467
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2372,8 +2614,8 @@ declare const apiOperations: {
2372
2614
  scheduleId: zod.ZodString;
2373
2615
  }, zod_v4_core.$strip>], "kind">;
2374
2616
  target: zod.ZodEnum<{
2375
- test: "test";
2376
2617
  live: "live";
2618
+ test: "test";
2377
2619
  dry_run: "dry_run";
2378
2620
  }>;
2379
2621
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2709,8 +2951,8 @@ declare const apiOperations: {
2709
2951
  scheduleId: zod.ZodString;
2710
2952
  }, zod_v4_core.$strip>], "kind">;
2711
2953
  target: zod.ZodEnum<{
2712
- test: "test";
2713
2954
  live: "live";
2955
+ test: "test";
2714
2956
  dry_run: "dry_run";
2715
2957
  }>;
2716
2958
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2907,8 +3149,8 @@ declare const apiOperations: {
2907
3149
  scheduleId: zod.ZodString;
2908
3150
  }, zod_v4_core.$strip>], "kind">;
2909
3151
  target: zod.ZodEnum<{
2910
- test: "test";
2911
3152
  live: "live";
3153
+ test: "test";
2912
3154
  dry_run: "dry_run";
2913
3155
  }>;
2914
3156
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3149,8 +3391,8 @@ declare const apiOperations: {
3149
3391
  scheduleId: zod.ZodString;
3150
3392
  }, zod_v4_core.$strip>], "kind">;
3151
3393
  target: zod.ZodEnum<{
3152
- test: "test";
3153
3394
  live: "live";
3395
+ test: "test";
3154
3396
  dry_run: "dry_run";
3155
3397
  }>;
3156
3398
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3329,8 +3571,8 @@ declare const apiOperations: {
3329
3571
  scheduleId: zod.ZodString;
3330
3572
  }, zod_v4_core.$strip>], "kind">;
3331
3573
  target: zod.ZodEnum<{
3332
- test: "test";
3333
3574
  live: "live";
3575
+ test: "test";
3334
3576
  dry_run: "dry_run";
3335
3577
  }>;
3336
3578
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3588,8 +3830,8 @@ declare const apiOperations: {
3588
3830
  scheduleId: zod.ZodString;
3589
3831
  }, zod_v4_core.$strip>], "kind">;
3590
3832
  target: zod.ZodEnum<{
3591
- test: "test";
3592
3833
  live: "live";
3834
+ test: "test";
3593
3835
  dry_run: "dry_run";
3594
3836
  }>;
3595
3837
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3851,8 +4093,8 @@ declare const apiOperations: {
3851
4093
  scheduleId: zod.ZodString;
3852
4094
  }, zod_v4_core.$strip>], "kind">;
3853
4095
  target: zod.ZodEnum<{
3854
- test: "test";
3855
4096
  live: "live";
4097
+ test: "test";
3856
4098
  dry_run: "dry_run";
3857
4099
  }>;
3858
4100
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4051,8 +4293,8 @@ declare const apiOperations: {
4051
4293
  scheduleId: zod.ZodString;
4052
4294
  }, zod_v4_core.$strip>], "kind">;
4053
4295
  target: zod.ZodEnum<{
4054
- test: "test";
4055
4296
  live: "live";
4297
+ test: "test";
4056
4298
  dry_run: "dry_run";
4057
4299
  }>;
4058
4300
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4265,8 +4507,8 @@ declare const apiOperations: {
4265
4507
  scheduleId: zod.ZodString;
4266
4508
  }, zod_v4_core.$strip>], "kind">;
4267
4509
  target: zod.ZodEnum<{
4268
- test: "test";
4269
4510
  live: "live";
4511
+ test: "test";
4270
4512
  dry_run: "dry_run";
4271
4513
  }>;
4272
4514
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4513,8 +4755,8 @@ declare const apiOperations: {
4513
4755
  scheduleId: zod.ZodString;
4514
4756
  }, zod_v4_core.$strip>], "kind">;
4515
4757
  target: zod.ZodEnum<{
4516
- test: "test";
4517
4758
  live: "live";
4759
+ test: "test";
4518
4760
  dry_run: "dry_run";
4519
4761
  }>;
4520
4762
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4704,8 +4946,8 @@ declare const apiOperations: {
4704
4946
  scheduleId: zod.ZodString;
4705
4947
  }, zod_v4_core.$strip>], "kind">;
4706
4948
  target: zod.ZodEnum<{
4707
- test: "test";
4708
4949
  live: "live";
4950
+ test: "test";
4709
4951
  dry_run: "dry_run";
4710
4952
  }>;
4711
4953
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4861,8 +5103,8 @@ declare const apiOperations: {
4861
5103
  scheduleId: zod.ZodString;
4862
5104
  }, zod_v4_core.$strip>], "kind">;
4863
5105
  target: zod.ZodEnum<{
4864
- test: "test";
4865
5106
  live: "live";
5107
+ test: "test";
4866
5108
  dry_run: "dry_run";
4867
5109
  }>;
4868
5110
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5048,8 +5290,8 @@ declare const apiOperations: {
5048
5290
  scheduleId: zod.ZodString;
5049
5291
  }, zod_v4_core.$strip>], "kind">;
5050
5292
  target: zod.ZodEnum<{
5051
- test: "test";
5052
5293
  live: "live";
5294
+ test: "test";
5053
5295
  dry_run: "dry_run";
5054
5296
  }>;
5055
5297
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5230,8 +5472,8 @@ declare const apiOperations: {
5230
5472
  scheduleId: zod.ZodString;
5231
5473
  }, zod_v4_core.$strip>], "kind">;
5232
5474
  target: zod.ZodEnum<{
5233
- test: "test";
5234
5475
  live: "live";
5476
+ test: "test";
5235
5477
  dry_run: "dry_run";
5236
5478
  }>;
5237
5479
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5410,8 +5652,8 @@ declare const apiOperations: {
5410
5652
  scheduleId: zod.ZodString;
5411
5653
  }, zod_v4_core.$strip>], "kind">;
5412
5654
  target: zod.ZodEnum<{
5413
- test: "test";
5414
5655
  live: "live";
5656
+ test: "test";
5415
5657
  dry_run: "dry_run";
5416
5658
  }>;
5417
5659
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5630,8 +5872,8 @@ declare const apiOperations: {
5630
5872
  scheduleId: zod.ZodString;
5631
5873
  }, zod_v4_core.$strip>], "kind">;
5632
5874
  target: zod.ZodEnum<{
5633
- test: "test";
5634
5875
  live: "live";
5876
+ test: "test";
5635
5877
  dry_run: "dry_run";
5636
5878
  }>;
5637
5879
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6217,8 +6459,8 @@ declare const apiOperations: {
6217
6459
  scheduleId: zod.ZodString;
6218
6460
  }, zod_v4_core.$strip>], "kind">;
6219
6461
  target: zod.ZodEnum<{
6220
- test: "test";
6221
6462
  live: "live";
6463
+ test: "test";
6222
6464
  dry_run: "dry_run";
6223
6465
  }>;
6224
6466
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6437,8 +6679,8 @@ declare const apiOperations: {
6437
6679
  scheduleId: zod.ZodString;
6438
6680
  }, zod_v4_core.$strip>], "kind">;
6439
6681
  target: zod.ZodEnum<{
6440
- test: "test";
6441
6682
  live: "live";
6683
+ test: "test";
6442
6684
  dry_run: "dry_run";
6443
6685
  }>;
6444
6686
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6597,8 +6839,8 @@ declare const apiOperations: {
6597
6839
  scheduleId: zod.ZodString;
6598
6840
  }, zod_v4_core.$strip>], "kind">;
6599
6841
  target: zod.ZodEnum<{
6600
- test: "test";
6601
6842
  live: "live";
6843
+ test: "test";
6602
6844
  dry_run: "dry_run";
6603
6845
  }>;
6604
6846
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6838,8 +7080,8 @@ declare const apiOperations: {
6838
7080
  scheduleId: zod.ZodString;
6839
7081
  }, zod_v4_core.$strip>], "kind">;
6840
7082
  target: zod.ZodEnum<{
6841
- test: "test";
6842
7083
  live: "live";
7084
+ test: "test";
6843
7085
  dry_run: "dry_run";
6844
7086
  }>;
6845
7087
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7034,8 +7276,8 @@ declare const apiOperations: {
7034
7276
  scheduleId: zod.ZodString;
7035
7277
  }, zod_v4_core.$strip>], "kind">;
7036
7278
  target: zod.ZodEnum<{
7037
- test: "test";
7038
7279
  live: "live";
7280
+ test: "test";
7039
7281
  dry_run: "dry_run";
7040
7282
  }>;
7041
7283
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7327,8 +7569,8 @@ declare const apiOperations: {
7327
7569
  scheduleId: zod.ZodString;
7328
7570
  }, zod_v4_core.$strip>], "kind">;
7329
7571
  target: zod.ZodEnum<{
7330
- test: "test";
7331
7572
  live: "live";
7573
+ test: "test";
7332
7574
  dry_run: "dry_run";
7333
7575
  }>;
7334
7576
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7489,8 +7731,8 @@ declare const apiOperations: {
7489
7731
  scheduleId: zod.ZodString;
7490
7732
  }, zod_v4_core.$strip>], "kind">;
7491
7733
  target: zod.ZodEnum<{
7492
- test: "test";
7493
7734
  live: "live";
7735
+ test: "test";
7494
7736
  dry_run: "dry_run";
7495
7737
  }>;
7496
7738
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7648,8 +7890,8 @@ declare const apiOperations: {
7648
7890
  scheduleId: zod.ZodString;
7649
7891
  }, zod_v4_core.$strip>], "kind">;
7650
7892
  target: zod.ZodEnum<{
7651
- test: "test";
7652
7893
  live: "live";
7894
+ test: "test";
7653
7895
  dry_run: "dry_run";
7654
7896
  }>;
7655
7897
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7977,8 +8219,8 @@ declare const apiOperations: {
7977
8219
  app: zod.ZodOptional<zod.ZodObject<{
7978
8220
  audience: zod.ZodEnum<{
7979
8221
  instance: "instance";
7980
- workspace: "workspace";
7981
8222
  self: "self";
8223
+ workspace: "workspace";
7982
8224
  }>;
7983
8225
  people: zod.ZodNumber;
7984
8226
  }, zod_v4_core.$strip>>;
@@ -8023,8 +8265,8 @@ declare const apiOperations: {
8023
8265
  app: zod.ZodOptional<zod.ZodObject<{
8024
8266
  audience: zod.ZodEnum<{
8025
8267
  instance: "instance";
8026
- workspace: "workspace";
8027
8268
  self: "self";
8269
+ workspace: "workspace";
8028
8270
  }>;
8029
8271
  people: zod.ZodNumber;
8030
8272
  }, zod_v4_core.$strip>>;
@@ -8049,8 +8291,8 @@ declare const apiOperations: {
8049
8291
  app: zod.ZodOptional<zod.ZodObject<{
8050
8292
  audience: zod.ZodEnum<{
8051
8293
  instance: "instance";
8052
- workspace: "workspace";
8053
8294
  self: "self";
8295
+ workspace: "workspace";
8054
8296
  }>;
8055
8297
  people: zod.ZodNumber;
8056
8298
  }, zod_v4_core.$strip>>;
@@ -8131,8 +8373,8 @@ declare const apiOperations: {
8131
8373
  app: zod.ZodOptional<zod.ZodObject<{
8132
8374
  audience: zod.ZodEnum<{
8133
8375
  instance: "instance";
8134
- workspace: "workspace";
8135
8376
  self: "self";
8377
+ workspace: "workspace";
8136
8378
  }>;
8137
8379
  people: zod.ZodNumber;
8138
8380
  }, zod_v4_core.$strip>>;
@@ -8274,6 +8516,10 @@ declare const apiOperations: {
8274
8516
  readonly schema: zod.ZodObject<{
8275
8517
  draftRevision: zod.ZodNumber;
8276
8518
  unpublishedRevision: zod.ZodNumber;
8519
+ warnings: zod.ZodArray<zod.ZodObject<{
8520
+ code: zod.ZodString;
8521
+ message: zod.ZodString;
8522
+ }, zod_v4_core.$strip>>;
8277
8523
  }, zod_v4_core.$strip>;
8278
8524
  };
8279
8525
  readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED"];
@@ -8361,8 +8607,8 @@ declare const apiOperations: {
8361
8607
  scheduleId: zod.ZodString;
8362
8608
  }, zod_v4_core.$strip>], "kind">;
8363
8609
  target: zod.ZodEnum<{
8364
- test: "test";
8365
8610
  live: "live";
8611
+ test: "test";
8366
8612
  dry_run: "dry_run";
8367
8613
  }>;
8368
8614
  app: zod.ZodOptional<zod.ZodObject<{
@@ -8528,8 +8774,8 @@ declare const apiOperations: {
8528
8774
  workflow: zod.ZodString;
8529
8775
  definitionRevisionId: zod.ZodString;
8530
8776
  mode: zod.ZodEnum<{
8531
- test: "test";
8532
8777
  live: "live";
8778
+ test: "test";
8533
8779
  }>;
8534
8780
  trigger: zod.ZodEnum<{
8535
8781
  schedule: "schedule";
@@ -8695,8 +8941,8 @@ declare const apiOperations: {
8695
8941
  scheduleId: zod.ZodString;
8696
8942
  }, zod_v4_core.$strip>], "kind">;
8697
8943
  target: zod.ZodEnum<{
8698
- test: "test";
8699
8944
  live: "live";
8945
+ test: "test";
8700
8946
  dry_run: "dry_run";
8701
8947
  }>;
8702
8948
  app: zod.ZodOptional<zod.ZodObject<{
@@ -8771,8 +9017,8 @@ declare const apiOperations: {
8771
9017
  workflow: zod.ZodString;
8772
9018
  definitionRevisionId: zod.ZodString;
8773
9019
  mode: zod.ZodEnum<{
8774
- test: "test";
8775
9020
  live: "live";
9021
+ test: "test";
8776
9022
  }>;
8777
9023
  trigger: zod.ZodEnum<{
8778
9024
  schedule: "schedule";
@@ -8938,8 +9184,8 @@ declare const apiOperations: {
8938
9184
  scheduleId: zod.ZodString;
8939
9185
  }, zod_v4_core.$strip>], "kind">;
8940
9186
  target: zod.ZodEnum<{
8941
- test: "test";
8942
9187
  live: "live";
9188
+ test: "test";
8943
9189
  dry_run: "dry_run";
8944
9190
  }>;
8945
9191
  app: zod.ZodOptional<zod.ZodObject<{
@@ -9017,8 +9263,8 @@ declare const apiOperations: {
9017
9263
  workflow: zod.ZodString;
9018
9264
  definitionRevisionId: zod.ZodString;
9019
9265
  mode: zod.ZodEnum<{
9020
- test: "test";
9021
9266
  live: "live";
9267
+ test: "test";
9022
9268
  }>;
9023
9269
  trigger: zod.ZodEnum<{
9024
9270
  schedule: "schedule";
@@ -9129,8 +9375,8 @@ declare const apiOperations: {
9129
9375
  workflow: zod.ZodString;
9130
9376
  definitionRevisionId: zod.ZodString;
9131
9377
  mode: zod.ZodEnum<{
9132
- test: "test";
9133
9378
  live: "live";
9379
+ test: "test";
9134
9380
  }>;
9135
9381
  trigger: zod.ZodEnum<{
9136
9382
  schedule: "schedule";
@@ -9254,13 +9500,13 @@ declare const apiOperations: {
9254
9500
  runId: zod.ZodString;
9255
9501
  stepId: zod.ZodString;
9256
9502
  stepType: zod.ZodEnum<{
9257
- output: "output";
9258
9503
  agent: "agent";
9259
9504
  workflow: "workflow";
9260
9505
  trigger: "trigger";
9261
9506
  operation: "operation";
9262
9507
  loop: "loop";
9263
9508
  code: "code";
9509
+ output: "output";
9264
9510
  notify: "notify";
9265
9511
  condition: "condition";
9266
9512
  parallel: "parallel";
@@ -9294,8 +9540,8 @@ declare const apiOperations: {
9294
9540
  }>>;
9295
9541
  source: zod.ZodOptional<zod.ZodString>;
9296
9542
  target: zod.ZodOptional<zod.ZodEnum<{
9297
- test: "test";
9298
9543
  live: "live";
9544
+ test: "test";
9299
9545
  dry_run: "dry_run";
9300
9546
  }>>;
9301
9547
  publishedWouldAsk: zod.ZodOptional<zod.ZodEnum<{
@@ -9432,8 +9678,8 @@ declare const apiOperations: {
9432
9678
  workflow: zod.ZodString;
9433
9679
  definitionRevisionId: zod.ZodString;
9434
9680
  mode: zod.ZodEnum<{
9435
- test: "test";
9436
9681
  live: "live";
9682
+ test: "test";
9437
9683
  }>;
9438
9684
  trigger: zod.ZodEnum<{
9439
9685
  schedule: "schedule";
@@ -9599,8 +9845,8 @@ declare const apiOperations: {
9599
9845
  scheduleId: zod.ZodString;
9600
9846
  }, zod_v4_core.$strip>], "kind">;
9601
9847
  target: zod.ZodEnum<{
9602
- test: "test";
9603
9848
  live: "live";
9849
+ test: "test";
9604
9850
  dry_run: "dry_run";
9605
9851
  }>;
9606
9852
  app: zod.ZodOptional<zod.ZodObject<{
@@ -9949,8 +10195,8 @@ declare const apiOperations: {
9949
10195
  scheduleId: zod.ZodString;
9950
10196
  }, zod_v4_core.$strip>], "kind">;
9951
10197
  target: zod.ZodEnum<{
9952
- test: "test";
9953
10198
  live: "live";
10199
+ test: "test";
9954
10200
  dry_run: "dry_run";
9955
10201
  }>;
9956
10202
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10104,8 +10350,8 @@ declare const apiOperations: {
10104
10350
  scheduleId: zod.ZodString;
10105
10351
  }, zod_v4_core.$strip>], "kind">;
10106
10352
  target: zod.ZodEnum<{
10107
- test: "test";
10108
10353
  live: "live";
10354
+ test: "test";
10109
10355
  dry_run: "dry_run";
10110
10356
  }>;
10111
10357
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10473,8 +10719,8 @@ declare const apiOperations: {
10473
10719
  scheduleId: zod.ZodString;
10474
10720
  }, zod_v4_core.$strip>], "kind">;
10475
10721
  target: zod.ZodEnum<{
10476
- test: "test";
10477
10722
  live: "live";
10723
+ test: "test";
10478
10724
  dry_run: "dry_run";
10479
10725
  }>;
10480
10726
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10661,8 +10907,8 @@ declare const apiOperations: {
10661
10907
  scheduleId: zod.ZodString;
10662
10908
  }, zod_v4_core.$strip>], "kind">;
10663
10909
  target: zod.ZodEnum<{
10664
- test: "test";
10665
10910
  live: "live";
10911
+ test: "test";
10666
10912
  dry_run: "dry_run";
10667
10913
  }>;
10668
10914
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10728,6 +10974,7 @@ declare const apiOperations: {
10728
10974
  readonly response: {
10729
10975
  readonly kind: "json";
10730
10976
  readonly schema: zod.ZodObject<{
10977
+ signInId: zod.ZodString;
10731
10978
  authorizationUrl: zod.ZodString;
10732
10979
  providerHost: zod.ZodString;
10733
10980
  scopes: zod.ZodArray<zod.ZodString>;
@@ -10742,6 +10989,32 @@ declare const apiOperations: {
10742
10989
  readonly response: readonly ["Operation-Run-Id", "Idempotent-Replayed"];
10743
10990
  };
10744
10991
  }>;
10992
+ readonly "connections.oauth_sign_in": Operation<{
10993
+ readonly id: "connections.oauth_sign_in";
10994
+ readonly method: "GET";
10995
+ readonly path: "/api/v1/connections/:name/oauth/sign-ins/:signInId";
10996
+ readonly summary: "Read whether a shared OAuth sign-in the caller started still waits for the browser to come back";
10997
+ readonly tag: "Connections";
10998
+ readonly auth: "user";
10999
+ readonly scope: "config_assets:read";
11000
+ readonly requires: readonly [];
11001
+ readonly effect: "reading";
11002
+ readonly response: {
11003
+ readonly kind: "json";
11004
+ readonly schema: zod.ZodObject<{
11005
+ state: zod.ZodEnum<{
11006
+ waiting: "waiting";
11007
+ ended: "ended";
11008
+ }>;
11009
+ }, zod_v4_core.$strip>;
11010
+ };
11011
+ readonly errors: readonly ["NOT_FOUND"];
11012
+ readonly rateClass: "read";
11013
+ } & {
11014
+ readonly headers: {
11015
+ readonly response: readonly ["Operation-Run-Id"];
11016
+ };
11017
+ }>;
10745
11018
  readonly "connections.oauth_complete": Operation<{
10746
11019
  readonly id: "connections.oauth_complete";
10747
11020
  readonly method: "GET";
@@ -10881,8 +11154,8 @@ declare const apiOperations: {
10881
11154
  scheduleId: zod.ZodString;
10882
11155
  }, zod_v4_core.$strip>], "kind">;
10883
11156
  target: zod.ZodEnum<{
10884
- test: "test";
10885
11157
  live: "live";
11158
+ test: "test";
10886
11159
  dry_run: "dry_run";
10887
11160
  }>;
10888
11161
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10934,6 +11207,56 @@ declare const apiOperations: {
10934
11207
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
10935
11208
  };
10936
11209
  }>;
11210
+ readonly "connections.connector_types": Operation<{
11211
+ readonly id: "connections.connector_types";
11212
+ readonly method: "GET";
11213
+ readonly path: "/api/v1/connector-types";
11214
+ readonly summary: "List the Connector types a person who may make a Connection can connect from a form";
11215
+ readonly tag: "Connections";
11216
+ readonly auth: "principal";
11217
+ readonly scope: "config_assets:read";
11218
+ readonly requires: readonly [];
11219
+ readonly effect: "reading";
11220
+ readonly response: {
11221
+ readonly kind: "json";
11222
+ readonly schema: zod.ZodObject<{
11223
+ types: zod.ZodArray<zod.ZodObject<{
11224
+ type: zod.ZodString;
11225
+ title: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11226
+ en: zod.ZodOptional<zod.ZodString>;
11227
+ de: zod.ZodOptional<zod.ZodString>;
11228
+ }, zod_v4_core.$strict>]>;
11229
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11230
+ en: zod.ZodOptional<zod.ZodString>;
11231
+ de: zod.ZodOptional<zod.ZodString>;
11232
+ }, zod_v4_core.$strict>]>;
11233
+ service: zod.ZodOptional<zod.ZodString>;
11234
+ documentSource: zod.ZodBoolean;
11235
+ authScheme: zod.ZodString;
11236
+ settings: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
11237
+ fields: zod.ZodArray<zod.ZodObject<{
11238
+ label: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11239
+ en: zod.ZodOptional<zod.ZodString>;
11240
+ de: zod.ZodOptional<zod.ZodString>;
11241
+ }, zod_v4_core.$strict>]>;
11242
+ help: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11243
+ en: zod.ZodOptional<zod.ZodString>;
11244
+ de: zod.ZodOptional<zod.ZodString>;
11245
+ }, zod_v4_core.$strict>]>>;
11246
+ optional: zod.ZodBoolean;
11247
+ setting: zod.ZodOptional<zod.ZodString>;
11248
+ secret: zod.ZodBoolean;
11249
+ }, zod_v4_core.$strip>>;
11250
+ }, zod_v4_core.$strip>>;
11251
+ }, zod_v4_core.$strip>;
11252
+ };
11253
+ readonly errors: readonly [];
11254
+ readonly rateClass: "read";
11255
+ } & {
11256
+ readonly headers: {
11257
+ readonly response: readonly ["Operation-Run-Id"];
11258
+ };
11259
+ }>;
10937
11260
  readonly "connections.list_tools": Operation<{
10938
11261
  readonly id: "connections.list_tools";
10939
11262
  readonly method: "GET";
@@ -11141,8 +11464,8 @@ declare const apiOperations: {
11141
11464
  scheduleId: zod.ZodString;
11142
11465
  }, zod_v4_core.$strip>], "kind">;
11143
11466
  target: zod.ZodEnum<{
11144
- test: "test";
11145
11467
  live: "live";
11468
+ test: "test";
11146
11469
  dry_run: "dry_run";
11147
11470
  }>;
11148
11471
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11319,8 +11642,8 @@ declare const apiOperations: {
11319
11642
  scheduleId: zod.ZodString;
11320
11643
  }, zod_v4_core.$strip>], "kind">;
11321
11644
  target: zod.ZodEnum<{
11322
- test: "test";
11323
11645
  live: "live";
11646
+ test: "test";
11324
11647
  dry_run: "dry_run";
11325
11648
  }>;
11326
11649
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11397,10 +11720,10 @@ declare const apiOperations: {
11397
11720
  isDefault: zod.ZodOptional<zod.ZodLiteral<true>>;
11398
11721
  attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodString, zod.ZodBoolean]>>>;
11399
11722
  allowed: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11400
- publish: "publish";
11401
11723
  read: "read";
11402
11724
  write: "write";
11403
11725
  delete: "delete";
11726
+ publish: "publish";
11404
11727
  }>>>;
11405
11728
  updatedAt: zod.ZodISODateTime;
11406
11729
  agentDraft: zod.ZodOptional<zod.ZodObject<{
@@ -11584,8 +11907,8 @@ declare const apiOperations: {
11584
11907
  scheduleId: zod.ZodString;
11585
11908
  }, zod_v4_core.$strip>], "kind">;
11586
11909
  target: zod.ZodEnum<{
11587
- test: "test";
11588
11910
  live: "live";
11911
+ test: "test";
11589
11912
  dry_run: "dry_run";
11590
11913
  }>;
11591
11914
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11788,8 +12111,8 @@ declare const apiOperations: {
11788
12111
  scheduleId: zod.ZodString;
11789
12112
  }, zod_v4_core.$strip>], "kind">;
11790
12113
  target: zod.ZodEnum<{
11791
- test: "test";
11792
12114
  live: "live";
12115
+ test: "test";
11793
12116
  dry_run: "dry_run";
11794
12117
  }>;
11795
12118
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11969,8 +12292,8 @@ declare const apiOperations: {
11969
12292
  availabilityWorkspaceIds: zod.ZodOptional<zod.ZodString>;
11970
12293
  audience: zod.ZodOptional<zod.ZodEnum<{
11971
12294
  instance: "instance";
11972
- workspace: "workspace";
11973
12295
  self: "self";
12296
+ workspace: "workspace";
11974
12297
  }>>;
11975
12298
  revision: zod.ZodOptional<zod.ZodString>;
11976
12299
  files: zod.ZodOptional<zod.ZodEnum<{
@@ -11986,11 +12309,11 @@ declare const apiOperations: {
11986
12309
  stepFacts: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
11987
12310
  source: zod.ZodOptional<zod.ZodObject<{
11988
12311
  kind: zod.ZodEnum<{
11989
- connection: "connection";
11990
- other: "other";
11991
12312
  workflow: "workflow";
12313
+ connection: "connection";
11992
12314
  data_store: "data_store";
11993
12315
  knowledge_base: "knowledge_base";
12316
+ other: "other";
11994
12317
  }>;
11995
12318
  title: zod.ZodOptional<zod.ZodString>;
11996
12319
  service: zod.ZodOptional<zod.ZodString>;
@@ -12011,11 +12334,11 @@ declare const apiOperations: {
12011
12334
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
12012
12335
  source: zod.ZodObject<{
12013
12336
  kind: zod.ZodEnum<{
12014
- connection: "connection";
12015
- other: "other";
12016
12337
  workflow: "workflow";
12338
+ connection: "connection";
12017
12339
  data_store: "data_store";
12018
12340
  knowledge_base: "knowledge_base";
12341
+ other: "other";
12019
12342
  }>;
12020
12343
  title: zod.ZodOptional<zod.ZodString>;
12021
12344
  service: zod.ZodOptional<zod.ZodString>;
@@ -12040,20 +12363,20 @@ declare const apiOperations: {
12040
12363
  appAudience: zod.ZodOptional<zod.ZodObject<{
12041
12364
  selected: zod.ZodEnum<{
12042
12365
  instance: "instance";
12043
- workspace: "workspace";
12044
12366
  self: "self";
12367
+ workspace: "workspace";
12045
12368
  }>;
12046
12369
  live: zod.ZodOptional<zod.ZodEnum<{
12047
12370
  instance: "instance";
12048
- workspace: "workspace";
12049
12371
  self: "self";
12372
+ workspace: "workspace";
12050
12373
  }>>;
12051
12374
  liveLabel: zod.ZodOptional<zod.ZodString>;
12052
12375
  people: zod.ZodOptional<zod.ZodNumber>;
12053
12376
  choices: zod.ZodArray<zod.ZodEnum<{
12054
12377
  instance: "instance";
12055
- workspace: "workspace";
12056
12378
  self: "self";
12379
+ workspace: "workspace";
12057
12380
  }>>;
12058
12381
  label: zod.ZodString;
12059
12382
  workspaceName: zod.ZodOptional<zod.ZodString>;
@@ -12125,10 +12448,10 @@ declare const apiOperations: {
12125
12448
  }, zod_v4_core.$strip>>>;
12126
12449
  chatAvailable: zod.ZodOptional<zod.ZodBoolean>;
12127
12450
  allowed: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12128
- publish: "publish";
12129
12451
  read: "read";
12130
12452
  write: "write";
12131
12453
  delete: "delete";
12454
+ publish: "publish";
12132
12455
  }>>>;
12133
12456
  saveApproval: zod.ZodOptional<zod.ZodObject<{
12134
12457
  approverNames: zod.ZodArray<zod.ZodString>;
@@ -12309,8 +12632,8 @@ declare const apiOperations: {
12309
12632
  scheduleId: zod.ZodString;
12310
12633
  }, zod_v4_core.$strip>], "kind">;
12311
12634
  target: zod.ZodEnum<{
12312
- test: "test";
12313
12635
  live: "live";
12636
+ test: "test";
12314
12637
  dry_run: "dry_run";
12315
12638
  }>;
12316
12639
  app: zod.ZodOptional<zod.ZodObject<{
@@ -12384,8 +12707,8 @@ declare const apiOperations: {
12384
12707
  }, zod_v4_core.$strip>>>;
12385
12708
  audience: zod.ZodOptional<zod.ZodEnum<{
12386
12709
  instance: "instance";
12387
- workspace: "workspace";
12388
12710
  self: "self";
12711
+ workspace: "workspace";
12389
12712
  }>>;
12390
12713
  confirmProcessing: zod.ZodOptional<zod.ZodString>;
12391
12714
  revision: zod.ZodNumber;
@@ -12484,8 +12807,8 @@ declare const apiOperations: {
12484
12807
  scheduleId: zod.ZodString;
12485
12808
  }, zod_v4_core.$strip>], "kind">;
12486
12809
  target: zod.ZodEnum<{
12487
- test: "test";
12488
12810
  live: "live";
12811
+ test: "test";
12489
12812
  dry_run: "dry_run";
12490
12813
  }>;
12491
12814
  app: zod.ZodOptional<zod.ZodObject<{
@@ -12644,8 +12967,8 @@ declare const apiOperations: {
12644
12967
  scheduleId: zod.ZodString;
12645
12968
  }, zod_v4_core.$strip>], "kind">;
12646
12969
  target: zod.ZodEnum<{
12647
- test: "test";
12648
12970
  live: "live";
12971
+ test: "test";
12649
12972
  dry_run: "dry_run";
12650
12973
  }>;
12651
12974
  app: zod.ZodOptional<zod.ZodObject<{
@@ -12804,8 +13127,8 @@ declare const apiOperations: {
12804
13127
  scheduleId: zod.ZodString;
12805
13128
  }, zod_v4_core.$strip>], "kind">;
12806
13129
  target: zod.ZodEnum<{
12807
- test: "test";
12808
13130
  live: "live";
13131
+ test: "test";
12809
13132
  dry_run: "dry_run";
12810
13133
  }>;
12811
13134
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13006,8 +13329,8 @@ declare const apiOperations: {
13006
13329
  scheduleId: zod.ZodString;
13007
13330
  }, zod_v4_core.$strip>], "kind">;
13008
13331
  target: zod.ZodEnum<{
13009
- test: "test";
13010
13332
  live: "live";
13333
+ test: "test";
13011
13334
  dry_run: "dry_run";
13012
13335
  }>;
13013
13336
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13184,8 +13507,8 @@ declare const apiOperations: {
13184
13507
  scheduleId: zod.ZodString;
13185
13508
  }, zod_v4_core.$strip>], "kind">;
13186
13509
  target: zod.ZodEnum<{
13187
- test: "test";
13188
13510
  live: "live";
13511
+ test: "test";
13189
13512
  dry_run: "dry_run";
13190
13513
  }>;
13191
13514
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13435,8 +13758,8 @@ declare const apiOperations: {
13435
13758
  scheduleId: zod.ZodString;
13436
13759
  }, zod_v4_core.$strip>], "kind">;
13437
13760
  target: zod.ZodEnum<{
13438
- test: "test";
13439
13761
  live: "live";
13762
+ test: "test";
13440
13763
  dry_run: "dry_run";
13441
13764
  }>;
13442
13765
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13551,11 +13874,11 @@ declare const apiOperations: {
13551
13874
  }, zod_v4_core.$strip>>;
13552
13875
  group: zod.ZodOptional<zod.ZodEnum<{
13553
13876
  instance: "instance";
13554
- skills: "skills";
13555
13877
  files: "files";
13556
13878
  documents: "documents";
13557
13879
  web: "web";
13558
13880
  results: "results";
13881
+ skills: "skills";
13559
13882
  platform: "platform";
13560
13883
  }>>;
13561
13884
  icon: zod.ZodOptional<zod.ZodString>;
@@ -13621,8 +13944,174 @@ declare const apiOperations: {
13621
13944
  readonly "apps.create_from_page": Operation<{
13622
13945
  readonly id: "apps.create_from_page";
13623
13946
  readonly method: "POST";
13624
- readonly path: "/api/v1/apps";
13625
- readonly summary: "Save the newest revision of a Page as an App with a draft";
13947
+ readonly path: "/api/v1/apps";
13948
+ readonly summary: "Save the newest revision of a Page as an App with a draft";
13949
+ readonly tag: "Apps";
13950
+ readonly auth: "user";
13951
+ readonly scope: "config_assets:write";
13952
+ readonly requires: readonly [];
13953
+ readonly effect: "changing";
13954
+ readonly body: zod.ZodObject<{
13955
+ conversationId: zod.ZodString;
13956
+ pageId: zod.ZodString;
13957
+ name: zod.ZodString;
13958
+ title: zod.ZodString;
13959
+ workspaceId: zod.ZodString;
13960
+ fileSetId: zod.ZodOptional<zod.ZodString>;
13961
+ }, zod_v4_core.$strict>;
13962
+ readonly response: {
13963
+ readonly kind: "json";
13964
+ readonly schema: zod.ZodObject<{
13965
+ id: zod.ZodString;
13966
+ name: zod.ZodString;
13967
+ workspaceId: zod.ZodString;
13968
+ revision: zod.ZodNumber;
13969
+ fileSetId: zod.ZodString;
13970
+ }, zod_v4_core.$strip>;
13971
+ };
13972
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
13973
+ readonly rateClass: "write";
13974
+ } & {
13975
+ readonly accepted: zod.ZodObject<{
13976
+ id: zod.ZodString;
13977
+ operation: zod.ZodString;
13978
+ effect: zod.ZodEnum<{
13979
+ reading: "reading";
13980
+ changing: "changing";
13981
+ }>;
13982
+ status: zod.ZodEnum<{
13983
+ failed: "failed";
13984
+ running: "running";
13985
+ pending_confirmation: "pending_confirmation";
13986
+ pending_approval: "pending_approval";
13987
+ done: "done";
13988
+ denied: "denied";
13989
+ expired: "expired";
13990
+ }>;
13991
+ actor: zod.ZodObject<{
13992
+ kind: zod.ZodEnum<{
13993
+ user: "user";
13994
+ service_principal: "service_principal";
13995
+ }>;
13996
+ id: zod.ZodString;
13997
+ label: zod.ZodString;
13998
+ }, zod_v4_core.$strip>;
13999
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
14000
+ kind: zod.ZodLiteral<"agent">;
14001
+ agentRunId: zod.ZodString;
14002
+ conversationId: zod.ZodString;
14003
+ agentName: zod.ZodString;
14004
+ toolCallId: zod.ZodString;
14005
+ toolName: zod.ZodString;
14006
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
14007
+ boundBy: zod.ZodOptional<zod.ZodObject<{
14008
+ id: zod.ZodString;
14009
+ label: zod.ZodString;
14010
+ }, zod_v4_core.$strip>>;
14011
+ draft: zod.ZodOptional<zod.ZodObject<{
14012
+ kind: zod.ZodLiteral<"agent_preview">;
14013
+ asset: zod.ZodObject<{
14014
+ kind: zod.ZodString;
14015
+ id: zod.ZodString;
14016
+ name: zod.ZodString;
14017
+ }, zod_v4_core.$strip>;
14018
+ revisionId: zod.ZodString;
14019
+ part: zod.ZodString;
14020
+ }, zod_v4_core.$strip>>;
14021
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14022
+ kind: zod.ZodLiteral<"user">;
14023
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14024
+ kind: zod.ZodLiteral<"cli">;
14025
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
14026
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14027
+ kind: zod.ZodLiteral<"mcp">;
14028
+ clientName: zod.ZodOptional<zod.ZodString>;
14029
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14030
+ kind: zod.ZodLiteral<"app">;
14031
+ appName: zod.ZodOptional<zod.ZodString>;
14032
+ appRevisionId: zod.ZodString;
14033
+ actionName: zod.ZodString;
14034
+ pageSessionId: zod.ZodString;
14035
+ conversationId: zod.ZodOptional<zod.ZodString>;
14036
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
14037
+ connection: zod.ZodString;
14038
+ operation: zod.ZodString;
14039
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14040
+ dataStore: zod.ZodString;
14041
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14042
+ workflow: zod.ZodString;
14043
+ }, zod_v4_core.$strip>]>>;
14044
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14045
+ kind: zod.ZodLiteral<"workflow">;
14046
+ workflowRunId: zod.ZodString;
14047
+ stepRunId: zod.ZodString;
14048
+ boundBy: zod.ZodOptional<zod.ZodObject<{
14049
+ id: zod.ZodString;
14050
+ label: zod.ZodString;
14051
+ }, zod_v4_core.$strip>>;
14052
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14053
+ kind: zod.ZodLiteral<"schedule">;
14054
+ scheduleId: zod.ZodString;
14055
+ }, zod_v4_core.$strip>], "kind">;
14056
+ target: zod.ZodEnum<{
14057
+ live: "live";
14058
+ test: "test";
14059
+ dry_run: "dry_run";
14060
+ }>;
14061
+ app: zod.ZodOptional<zod.ZodObject<{
14062
+ title: zod.ZodOptional<zod.ZodString>;
14063
+ revision: zod.ZodOptional<zod.ZodNumber>;
14064
+ deleted: zod.ZodBoolean;
14065
+ }, zod_v4_core.$strip>>;
14066
+ workspaceId: zod.ZodOptional<zod.ZodString>;
14067
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
14068
+ inputHash: zod.ZodString;
14069
+ attempt: zod.ZodNumber;
14070
+ decision: zod.ZodOptional<zod.ZodObject<{
14071
+ mode: zod.ZodEnum<{
14072
+ direct: "direct";
14073
+ confirmed: "confirmed";
14074
+ approved: "approved";
14075
+ declined: "declined";
14076
+ }>;
14077
+ reason: zod.ZodOptional<zod.ZodEnum<{
14078
+ inherited_approval_not_applied: "inherited_approval_not_applied";
14079
+ workflow_publish: "workflow_publish";
14080
+ approved_by_caller: "approved_by_caller";
14081
+ }>>;
14082
+ by: zod.ZodString;
14083
+ byLabel: zod.ZodOptional<zod.ZodString>;
14084
+ at: zod.ZodISODateTime;
14085
+ comment: zod.ZodOptional<zod.ZodString>;
14086
+ }, zod_v4_core.$strip>>;
14087
+ error: zod.ZodOptional<zod.ZodObject<{
14088
+ code: zod.ZodString;
14089
+ message: zod.ZodString;
14090
+ reason: zod.ZodOptional<zod.ZodString>;
14091
+ }, zod_v4_core.$strip>>;
14092
+ usage: zod.ZodOptional<zod.ZodObject<{
14093
+ modelCalls: zod.ZodNumber;
14094
+ inputTokens: zod.ZodNumber;
14095
+ outputTokens: zod.ZodNumber;
14096
+ totalTokens: zod.ZodNumber;
14097
+ }, zod_v4_core.$strip>>;
14098
+ correlationId: zod.ZodString;
14099
+ createdAt: zod.ZodISODateTime;
14100
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
14101
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
14102
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
14103
+ href: zod.ZodString;
14104
+ }, zod_v4_core.$strip>;
14105
+ readonly headers: {
14106
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
14107
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
14108
+ };
14109
+ }>;
14110
+ readonly "apps.update_from_page": Operation<{
14111
+ readonly id: "apps.update_from_page";
14112
+ readonly method: "POST";
14113
+ readonly path: "/api/v1/apps/:app/update-from-page";
14114
+ readonly summary: "Write the newest revision of a Page as a new draft revision of the App that is updated from it";
13626
14115
  readonly tag: "Apps";
13627
14116
  readonly auth: "user";
13628
14117
  readonly scope: "config_assets:write";
@@ -13631,10 +14120,10 @@ declare const apiOperations: {
13631
14120
  readonly body: zod.ZodObject<{
13632
14121
  conversationId: zod.ZodString;
13633
14122
  pageId: zod.ZodString;
13634
- name: zod.ZodString;
13635
- title: zod.ZodString;
13636
- workspaceId: zod.ZodString;
13637
14123
  fileSetId: zod.ZodOptional<zod.ZodString>;
14124
+ workspaceId: zod.ZodString;
14125
+ expectedRevision: zod.ZodNumber;
14126
+ link: zod.ZodOptional<zod.ZodBoolean>;
13638
14127
  }, zod_v4_core.$strict>;
13639
14128
  readonly response: {
13640
14129
  readonly kind: "json";
@@ -13646,7 +14135,7 @@ declare const apiOperations: {
13646
14135
  fileSetId: zod.ZodString;
13647
14136
  }, zod_v4_core.$strip>;
13648
14137
  };
13649
- readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
14138
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "REVISION_CONFLICT", "VALIDATION_FAILED"];
13650
14139
  readonly rateClass: "write";
13651
14140
  } & {
13652
14141
  readonly accepted: zod.ZodObject<{
@@ -13731,8 +14220,8 @@ declare const apiOperations: {
13731
14220
  scheduleId: zod.ZodString;
13732
14221
  }, zod_v4_core.$strip>], "kind">;
13733
14222
  target: zod.ZodEnum<{
13734
- test: "test";
13735
14223
  live: "live";
14224
+ test: "test";
13736
14225
  dry_run: "dry_run";
13737
14226
  }>;
13738
14227
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13784,35 +14273,28 @@ declare const apiOperations: {
13784
14273
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
13785
14274
  };
13786
14275
  }>;
13787
- readonly "apps.update_from_page": Operation<{
13788
- readonly id: "apps.update_from_page";
14276
+ readonly "apps.allow_draft_host": Operation<{
14277
+ readonly id: "apps.allow_draft_host";
13789
14278
  readonly method: "POST";
13790
- readonly path: "/api/v1/apps/:app/update-from-page";
13791
- readonly summary: "Write the newest revision of a Page as a new draft revision of the App that is updated from it";
14279
+ readonly path: "/api/v1/apps/draft-hosts";
14280
+ readonly summary: "Allow an outside host a draft lists for the caller's own view of that draft, before it is published";
13792
14281
  readonly tag: "Apps";
13793
14282
  readonly auth: "user";
13794
14283
  readonly scope: "config_assets:write";
13795
14284
  readonly requires: readonly [];
13796
14285
  readonly effect: "changing";
13797
14286
  readonly body: zod.ZodObject<{
13798
- conversationId: zod.ZodString;
13799
- pageId: zod.ZodString;
13800
- fileSetId: zod.ZodOptional<zod.ZodString>;
13801
- workspaceId: zod.ZodString;
13802
- expectedRevision: zod.ZodNumber;
13803
- link: zod.ZodOptional<zod.ZodBoolean>;
14287
+ fileSetId: zod.ZodString;
14288
+ host: zod.ZodString;
13804
14289
  }, zod_v4_core.$strict>;
13805
14290
  readonly response: {
13806
14291
  readonly kind: "json";
13807
14292
  readonly schema: zod.ZodObject<{
13808
- id: zod.ZodString;
13809
- name: zod.ZodString;
13810
- workspaceId: zod.ZodString;
13811
- revision: zod.ZodNumber;
13812
- fileSetId: zod.ZodString;
14293
+ host: zod.ZodString;
14294
+ allowed: zod.ZodLiteral<true>;
13813
14295
  }, zod_v4_core.$strip>;
13814
14296
  };
13815
- readonly errors: readonly ["NOT_FOUND", "CONFLICT", "REVISION_CONFLICT", "VALIDATION_FAILED"];
14297
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "VALIDATION_FAILED"];
13816
14298
  readonly rateClass: "write";
13817
14299
  } & {
13818
14300
  readonly accepted: zod.ZodObject<{
@@ -13897,8 +14379,8 @@ declare const apiOperations: {
13897
14379
  scheduleId: zod.ZodString;
13898
14380
  }, zod_v4_core.$strip>], "kind">;
13899
14381
  target: zod.ZodEnum<{
13900
- test: "test";
13901
14382
  live: "live";
14383
+ test: "test";
13902
14384
  dry_run: "dry_run";
13903
14385
  }>;
13904
14386
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14014,6 +14496,10 @@ declare const apiOperations: {
14014
14496
  fileSetId: zod.ZodString;
14015
14497
  number: zod.ZodNumber;
14016
14498
  pageSessionId: zod.ZodString;
14499
+ draftHosts: zod.ZodOptional<zod.ZodObject<{
14500
+ allowable: zod.ZodArray<zod.ZodString>;
14501
+ readsData: zod.ZodBoolean;
14502
+ }, zod_v4_core.$strip>>;
14017
14503
  unassignedScopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
14018
14504
  revision: zod.ZodNumber;
14019
14505
  interfacePath: zod.ZodString;
@@ -14170,8 +14656,8 @@ declare const apiOperations: {
14170
14656
  scheduleId: zod.ZodString;
14171
14657
  }, zod_v4_core.$strip>], "kind">;
14172
14658
  target: zod.ZodEnum<{
14173
- test: "test";
14174
14659
  live: "live";
14660
+ test: "test";
14175
14661
  dry_run: "dry_run";
14176
14662
  }>;
14177
14663
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14278,8 +14764,8 @@ declare const apiOperations: {
14278
14764
  approval: "approval";
14279
14765
  }>;
14280
14766
  target: zod.ZodOptional<zod.ZodEnum<{
14281
- test: "test";
14282
14767
  live: "live";
14768
+ test: "test";
14283
14769
  dry_run: "dry_run";
14284
14770
  }>>;
14285
14771
  agentTool: zod.ZodBoolean;
@@ -14307,8 +14793,8 @@ declare const apiOperations: {
14307
14793
  approval: "approval";
14308
14794
  }>;
14309
14795
  target: zod.ZodOptional<zod.ZodEnum<{
14310
- test: "test";
14311
14796
  live: "live";
14797
+ test: "test";
14312
14798
  dry_run: "dry_run";
14313
14799
  }>>;
14314
14800
  agentTool: zod.ZodBoolean;
@@ -14335,8 +14821,8 @@ declare const apiOperations: {
14335
14821
  approval: "approval";
14336
14822
  }>;
14337
14823
  target: zod.ZodOptional<zod.ZodEnum<{
14338
- test: "test";
14339
14824
  live: "live";
14825
+ test: "test";
14340
14826
  dry_run: "dry_run";
14341
14827
  }>>;
14342
14828
  agentTool: zod.ZodBoolean;
@@ -14573,6 +15059,11 @@ declare const apiOperations: {
14573
15059
  fileSetId: zod.ZodString;
14574
15060
  number: zod.ZodNumber;
14575
15061
  pageSessionId: zod.ZodString;
15062
+ heldBackHosts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
15063
+ draftHosts: zod.ZodOptional<zod.ZodObject<{
15064
+ allowable: zod.ZodArray<zod.ZodString>;
15065
+ readsData: zod.ZodBoolean;
15066
+ }, zod_v4_core.$strip>>;
14576
15067
  }, zod_v4_core.$strip>;
14577
15068
  };
14578
15069
  readonly errors: readonly ["NOT_FOUND"];
@@ -14678,8 +15169,8 @@ declare const apiOperations: {
14678
15169
  scheduleId: zod.ZodString;
14679
15170
  }, zod_v4_core.$strip>], "kind">;
14680
15171
  target: zod.ZodEnum<{
14681
- test: "test";
14682
15172
  live: "live";
15173
+ test: "test";
14683
15174
  dry_run: "dry_run";
14684
15175
  }>;
14685
15176
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14855,8 +15346,8 @@ declare const apiOperations: {
14855
15346
  scheduleId: zod.ZodString;
14856
15347
  }, zod_v4_core.$strip>], "kind">;
14857
15348
  target: zod.ZodEnum<{
14858
- test: "test";
14859
15349
  live: "live";
15350
+ test: "test";
14860
15351
  dry_run: "dry_run";
14861
15352
  }>;
14862
15353
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14928,8 +15419,8 @@ declare const apiOperations: {
14928
15419
  }>;
14929
15420
  audience: zod.ZodOptional<zod.ZodEnum<{
14930
15421
  instance: "instance";
14931
- workspace: "workspace";
14932
15422
  self: "self";
15423
+ workspace: "workspace";
14933
15424
  }>>;
14934
15425
  reason: zod.ZodOptional<zod.ZodString>;
14935
15426
  }, zod_v4_core.$strip>;
@@ -15018,8 +15509,8 @@ declare const apiOperations: {
15018
15509
  scheduleId: zod.ZodString;
15019
15510
  }, zod_v4_core.$strip>], "kind">;
15020
15511
  target: zod.ZodEnum<{
15021
- test: "test";
15022
15512
  live: "live";
15513
+ test: "test";
15023
15514
  dry_run: "dry_run";
15024
15515
  }>;
15025
15516
  app: zod.ZodOptional<zod.ZodObject<{
@@ -15167,8 +15658,8 @@ declare const apiOperations: {
15167
15658
  scheduleId: zod.ZodString;
15168
15659
  }, zod_v4_core.$strip>], "kind">;
15169
15660
  target: zod.ZodEnum<{
15170
- test: "test";
15171
15661
  live: "live";
15662
+ test: "test";
15172
15663
  dry_run: "dry_run";
15173
15664
  }>;
15174
15665
  app: zod.ZodOptional<zod.ZodObject<{
@@ -15413,8 +15904,8 @@ declare const apiOperations: {
15413
15904
  scheduleId: zod.ZodString;
15414
15905
  }, zod_v4_core.$strip>], "kind">;
15415
15906
  target: zod.ZodEnum<{
15416
- test: "test";
15417
15907
  live: "live";
15908
+ test: "test";
15418
15909
  dry_run: "dry_run";
15419
15910
  }>;
15420
15911
  app: zod.ZodOptional<zod.ZodObject<{
@@ -16712,8 +17203,8 @@ declare const apiOperations: {
16712
17203
  scheduleId: zod.ZodString;
16713
17204
  }, zod_v4_core.$strip>], "kind">;
16714
17205
  target: zod.ZodEnum<{
16715
- test: "test";
16716
17206
  live: "live";
17207
+ test: "test";
16717
17208
  dry_run: "dry_run";
16718
17209
  }>;
16719
17210
  app: zod.ZodOptional<zod.ZodObject<{
@@ -16831,10 +17322,12 @@ declare const apiOperations: {
16831
17322
  text: zod.ZodString;
16832
17323
  mode: zod.ZodEnum<{
16833
17324
  queue: "queue";
17325
+ steer: "steer";
16834
17326
  }>;
16835
17327
  status: zod.ZodEnum<{
16836
17328
  pending: "pending";
16837
17329
  dispatched: "dispatched";
17330
+ consumed: "consumed";
16838
17331
  cancelled: "cancelled";
16839
17332
  }>;
16840
17333
  position: zod.ZodNumber;
@@ -16879,10 +17372,10 @@ declare const apiOperations: {
16879
17372
  conversationId: zod.ZodString;
16880
17373
  clientInstanceId: zod.ZodString;
16881
17374
  role: zod.ZodEnum<{
16882
- tool: "tool";
16883
17375
  user: "user";
16884
17376
  system: "system";
16885
17377
  assistant: "assistant";
17378
+ tool: "tool";
16886
17379
  }>;
16887
17380
  text: zod.ZodString;
16888
17381
  createdAt: zod.ZodISODateTime;
@@ -16926,6 +17419,12 @@ declare const apiOperations: {
16926
17419
  }>;
16927
17420
  }, zod_v4_core.$strip>>;
16928
17421
  attachmentManifest: zod.ZodUnknown;
17422
+ steered: zod.ZodOptional<zod.ZodObject<{
17423
+ runId: zod.ZodString;
17424
+ followUpId: zod.ZodString;
17425
+ authorUserId: zod.ZodString;
17426
+ typedAt: zod.ZodISODateTime;
17427
+ }, zod_v4_core.$strip>>;
16929
17428
  }, zod_v4_core.$strip>, zod.ZodObject<{
16930
17429
  version: zod.ZodLiteral<1>;
16931
17430
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -17036,6 +17535,11 @@ declare const apiOperations: {
17036
17535
  id: zod.ZodString;
17037
17536
  text: zod.ZodString;
17038
17537
  open: zod.ZodBoolean;
17538
+ }, zod_v4_core.$strip>, zod.ZodObject<{
17539
+ type: zod.ZodLiteral<"user_message">;
17540
+ messageId: zod.ZodString;
17541
+ text: zod.ZodString;
17542
+ createdAt: zod.ZodISODateTime;
17039
17543
  }, zod_v4_core.$strip>, zod.ZodObject<{
17040
17544
  type: zod.ZodLiteral<"tool_call">;
17041
17545
  toolCallId: zod.ZodString;
@@ -17128,8 +17632,8 @@ declare const apiOperations: {
17128
17632
  month: "month";
17129
17633
  }>;
17130
17634
  metric: zod.ZodEnum<{
17131
- tokens: "tokens";
17132
17635
  modelCallCount: "modelCallCount";
17636
+ tokens: "tokens";
17133
17637
  costMicros: "costMicros";
17134
17638
  }>;
17135
17639
  scope: zod.ZodEnum<{
@@ -17185,6 +17689,11 @@ declare const apiOperations: {
17185
17689
  id: zod.ZodString;
17186
17690
  text: zod.ZodString;
17187
17691
  open: zod.ZodBoolean;
17692
+ }, zod_v4_core.$strip>, zod.ZodObject<{
17693
+ type: zod.ZodLiteral<"user_message">;
17694
+ messageId: zod.ZodString;
17695
+ text: zod.ZodString;
17696
+ createdAt: zod.ZodISODateTime;
17188
17697
  }, zod_v4_core.$strip>, zod.ZodObject<{
17189
17698
  type: zod.ZodLiteral<"tool_call">;
17190
17699
  toolCallId: zod.ZodString;
@@ -17277,8 +17786,8 @@ declare const apiOperations: {
17277
17786
  month: "month";
17278
17787
  }>;
17279
17788
  metric: zod.ZodEnum<{
17280
- tokens: "tokens";
17281
17789
  modelCallCount: "modelCallCount";
17790
+ tokens: "tokens";
17282
17791
  costMicros: "costMicros";
17283
17792
  }>;
17284
17793
  scope: zod.ZodEnum<{
@@ -17339,10 +17848,10 @@ declare const apiOperations: {
17339
17848
  conversationId: zod.ZodString;
17340
17849
  clientInstanceId: zod.ZodString;
17341
17850
  role: zod.ZodEnum<{
17342
- tool: "tool";
17343
17851
  user: "user";
17344
17852
  system: "system";
17345
17853
  assistant: "assistant";
17854
+ tool: "tool";
17346
17855
  }>;
17347
17856
  text: zod.ZodString;
17348
17857
  createdAt: zod.ZodISODateTime;
@@ -17386,6 +17895,12 @@ declare const apiOperations: {
17386
17895
  }>;
17387
17896
  }, zod_v4_core.$strip>>;
17388
17897
  attachmentManifest: zod.ZodUnknown;
17898
+ steered: zod.ZodOptional<zod.ZodObject<{
17899
+ runId: zod.ZodString;
17900
+ followUpId: zod.ZodString;
17901
+ authorUserId: zod.ZodString;
17902
+ typedAt: zod.ZodISODateTime;
17903
+ }, zod_v4_core.$strip>>;
17389
17904
  }, zod_v4_core.$strip>, zod.ZodObject<{
17390
17905
  version: zod.ZodLiteral<1>;
17391
17906
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -17721,8 +18236,8 @@ declare const apiOperations: {
17721
18236
  month: "month";
17722
18237
  }>;
17723
18238
  metric: zod.ZodEnum<{
17724
- tokens: "tokens";
17725
18239
  modelCallCount: "modelCallCount";
18240
+ tokens: "tokens";
17726
18241
  costMicros: "costMicros";
17727
18242
  }>;
17728
18243
  scope: zod.ZodEnum<{
@@ -17765,10 +18280,64 @@ declare const apiOperations: {
17765
18280
  text: zod.ZodString;
17766
18281
  mode: zod.ZodEnum<{
17767
18282
  queue: "queue";
18283
+ steer: "steer";
18284
+ }>;
18285
+ status: zod.ZodEnum<{
18286
+ pending: "pending";
18287
+ dispatched: "dispatched";
18288
+ consumed: "consumed";
18289
+ cancelled: "cancelled";
18290
+ }>;
18291
+ position: zod.ZodNumber;
18292
+ agentName: zod.ZodString;
18293
+ modelBindingId: zod.ZodOptional<zod.ZodString>;
18294
+ reasoningEffort: zod.ZodOptional<zod.ZodEnum<{
18295
+ none: "none";
18296
+ low: "low";
18297
+ medium: "medium";
18298
+ high: "high";
18299
+ xhigh: "xhigh";
18300
+ max: "max";
18301
+ }>>;
18302
+ idempotencyKey: zod.ZodOptional<zod.ZodString>;
18303
+ createdAt: zod.ZodISODateTime;
18304
+ updatedAt: zod.ZodISODateTime;
18305
+ dispatchedRunId: zod.ZodOptional<zod.ZodString>;
18306
+ }, zod_v4_core.$strip>;
18307
+ }, zod_v4_core.$strip>;
18308
+ };
18309
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT"];
18310
+ readonly rateClass: "write";
18311
+ }>;
18312
+ readonly "conversations.follow_ups.steer": Operation<{
18313
+ readonly id: "conversations.follow_ups.steer";
18314
+ readonly method: "POST";
18315
+ readonly path: "/api/v1/conversations/:conversationId/follow-ups/:followUpId/steer";
18316
+ readonly summary: "Hand your pending follow-up message to your running turn after its current step";
18317
+ readonly tag: "Conversations";
18318
+ readonly auth: "user";
18319
+ readonly scope: "conversation:write";
18320
+ readonly requires: readonly [];
18321
+ readonly effect: "changing";
18322
+ readonly body: zod.ZodObject<{}, zod_v4_core.$strip>;
18323
+ readonly response: {
18324
+ readonly kind: "json";
18325
+ readonly schema: zod.ZodObject<{
18326
+ followUp: zod.ZodObject<{
18327
+ id: zod.ZodString;
18328
+ clientInstanceId: zod.ZodString;
18329
+ conversationId: zod.ZodString;
18330
+ authorUserId: zod.ZodString;
18331
+ authorDisplayLabel: zod.ZodOptional<zod.ZodString>;
18332
+ text: zod.ZodString;
18333
+ mode: zod.ZodEnum<{
18334
+ queue: "queue";
18335
+ steer: "steer";
17768
18336
  }>;
17769
18337
  status: zod.ZodEnum<{
17770
18338
  pending: "pending";
17771
18339
  dispatched: "dispatched";
18340
+ consumed: "consumed";
17772
18341
  cancelled: "cancelled";
17773
18342
  }>;
17774
18343
  position: zod.ZodNumber;
@@ -17821,7 +18390,10 @@ declare const apiOperations: {
17821
18390
  readonly requires: readonly [];
17822
18391
  readonly effect: "changing";
17823
18392
  readonly body: zod.ZodObject<{
17824
- followUp: zod.ZodOptional<zod.ZodLiteral<"queue">>;
18393
+ followUp: zod.ZodOptional<zod.ZodEnum<{
18394
+ queue: "queue";
18395
+ steer: "steer";
18396
+ }>>;
17825
18397
  idempotencyKey: zod.ZodString;
17826
18398
  agentName: zod.ZodOptional<zod.ZodString>;
17827
18399
  modelBindingId: zod.ZodOptional<zod.ZodString>;
@@ -17870,10 +18442,10 @@ declare const apiOperations: {
17870
18442
  conversationId: zod.ZodString;
17871
18443
  clientInstanceId: zod.ZodString;
17872
18444
  role: zod.ZodEnum<{
17873
- tool: "tool";
17874
18445
  user: "user";
17875
18446
  system: "system";
17876
18447
  assistant: "assistant";
18448
+ tool: "tool";
17877
18449
  }>;
17878
18450
  text: zod.ZodString;
17879
18451
  createdAt: zod.ZodISODateTime;
@@ -17917,6 +18489,12 @@ declare const apiOperations: {
17917
18489
  }>;
17918
18490
  }, zod_v4_core.$strip>>;
17919
18491
  attachmentManifest: zod.ZodUnknown;
18492
+ steered: zod.ZodOptional<zod.ZodObject<{
18493
+ runId: zod.ZodString;
18494
+ followUpId: zod.ZodString;
18495
+ authorUserId: zod.ZodString;
18496
+ typedAt: zod.ZodISODateTime;
18497
+ }, zod_v4_core.$strip>>;
17920
18498
  }, zod_v4_core.$strip>, zod.ZodObject<{
17921
18499
  version: zod.ZodLiteral<1>;
17922
18500
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -18044,8 +18622,8 @@ declare const apiOperations: {
18044
18622
  month: "month";
18045
18623
  }>;
18046
18624
  metric: zod.ZodEnum<{
18047
- tokens: "tokens";
18048
18625
  modelCallCount: "modelCallCount";
18626
+ tokens: "tokens";
18049
18627
  costMicros: "costMicros";
18050
18628
  }>;
18051
18629
  scope: zod.ZodEnum<{
@@ -18070,10 +18648,12 @@ declare const apiOperations: {
18070
18648
  text: zod.ZodString;
18071
18649
  mode: zod.ZodEnum<{
18072
18650
  queue: "queue";
18651
+ steer: "steer";
18073
18652
  }>;
18074
18653
  status: zod.ZodEnum<{
18075
18654
  pending: "pending";
18076
18655
  dispatched: "dispatched";
18656
+ consumed: "consumed";
18077
18657
  cancelled: "cancelled";
18078
18658
  }>;
18079
18659
  position: zod.ZodNumber;
@@ -18118,10 +18698,10 @@ declare const apiOperations: {
18118
18698
  conversationId: zod.ZodString;
18119
18699
  clientInstanceId: zod.ZodString;
18120
18700
  role: zod.ZodEnum<{
18121
- tool: "tool";
18122
18701
  user: "user";
18123
18702
  system: "system";
18124
18703
  assistant: "assistant";
18704
+ tool: "tool";
18125
18705
  }>;
18126
18706
  text: zod.ZodString;
18127
18707
  createdAt: zod.ZodISODateTime;
@@ -18165,6 +18745,12 @@ declare const apiOperations: {
18165
18745
  }>;
18166
18746
  }, zod_v4_core.$strip>>;
18167
18747
  attachmentManifest: zod.ZodUnknown;
18748
+ steered: zod.ZodOptional<zod.ZodObject<{
18749
+ runId: zod.ZodString;
18750
+ followUpId: zod.ZodString;
18751
+ authorUserId: zod.ZodString;
18752
+ typedAt: zod.ZodISODateTime;
18753
+ }, zod_v4_core.$strip>>;
18168
18754
  }, zod_v4_core.$strip>, zod.ZodObject<{
18169
18755
  version: zod.ZodLiteral<1>;
18170
18756
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -18275,6 +18861,11 @@ declare const apiOperations: {
18275
18861
  id: zod.ZodString;
18276
18862
  text: zod.ZodString;
18277
18863
  open: zod.ZodBoolean;
18864
+ }, zod_v4_core.$strip>, zod.ZodObject<{
18865
+ type: zod.ZodLiteral<"user_message">;
18866
+ messageId: zod.ZodString;
18867
+ text: zod.ZodString;
18868
+ createdAt: zod.ZodISODateTime;
18278
18869
  }, zod_v4_core.$strip>, zod.ZodObject<{
18279
18870
  type: zod.ZodLiteral<"tool_call">;
18280
18871
  toolCallId: zod.ZodString;
@@ -18367,8 +18958,8 @@ declare const apiOperations: {
18367
18958
  month: "month";
18368
18959
  }>;
18369
18960
  metric: zod.ZodEnum<{
18370
- tokens: "tokens";
18371
18961
  modelCallCount: "modelCallCount";
18962
+ tokens: "tokens";
18372
18963
  costMicros: "costMicros";
18373
18964
  }>;
18374
18965
  scope: zod.ZodEnum<{
@@ -18424,6 +19015,11 @@ declare const apiOperations: {
18424
19015
  id: zod.ZodString;
18425
19016
  text: zod.ZodString;
18426
19017
  open: zod.ZodBoolean;
19018
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19019
+ type: zod.ZodLiteral<"user_message">;
19020
+ messageId: zod.ZodString;
19021
+ text: zod.ZodString;
19022
+ createdAt: zod.ZodISODateTime;
18427
19023
  }, zod_v4_core.$strip>, zod.ZodObject<{
18428
19024
  type: zod.ZodLiteral<"tool_call">;
18429
19025
  toolCallId: zod.ZodString;
@@ -18516,8 +19112,8 @@ declare const apiOperations: {
18516
19112
  month: "month";
18517
19113
  }>;
18518
19114
  metric: zod.ZodEnum<{
18519
- tokens: "tokens";
18520
19115
  modelCallCount: "modelCallCount";
19116
+ tokens: "tokens";
18521
19117
  costMicros: "costMicros";
18522
19118
  }>;
18523
19119
  scope: zod.ZodEnum<{
@@ -18563,10 +19159,12 @@ declare const apiOperations: {
18563
19159
  text: zod.ZodString;
18564
19160
  mode: zod.ZodEnum<{
18565
19161
  queue: "queue";
19162
+ steer: "steer";
18566
19163
  }>;
18567
19164
  status: zod.ZodEnum<{
18568
19165
  pending: "pending";
18569
19166
  dispatched: "dispatched";
19167
+ consumed: "consumed";
18570
19168
  cancelled: "cancelled";
18571
19169
  }>;
18572
19170
  position: zod.ZodNumber;
@@ -18601,7 +19199,10 @@ declare const apiOperations: {
18601
19199
  readonly requires: readonly [];
18602
19200
  readonly effect: "changing";
18603
19201
  readonly body: zod.ZodObject<{
18604
- followUp: zod.ZodOptional<zod.ZodLiteral<"queue">>;
19202
+ followUp: zod.ZodOptional<zod.ZodEnum<{
19203
+ queue: "queue";
19204
+ steer: "steer";
19205
+ }>>;
18605
19206
  idempotencyKey: zod.ZodString;
18606
19207
  agentName: zod.ZodOptional<zod.ZodString>;
18607
19208
  modelBindingId: zod.ZodOptional<zod.ZodString>;
@@ -18663,10 +19264,10 @@ declare const apiOperations: {
18663
19264
  conversationId: zod.ZodString;
18664
19265
  clientInstanceId: zod.ZodString;
18665
19266
  role: zod.ZodEnum<{
18666
- tool: "tool";
18667
19267
  user: "user";
18668
19268
  system: "system";
18669
19269
  assistant: "assistant";
19270
+ tool: "tool";
18670
19271
  }>;
18671
19272
  text: zod.ZodString;
18672
19273
  createdAt: zod.ZodISODateTime;
@@ -18710,6 +19311,12 @@ declare const apiOperations: {
18710
19311
  }>;
18711
19312
  }, zod_v4_core.$strip>>;
18712
19313
  attachmentManifest: zod.ZodUnknown;
19314
+ steered: zod.ZodOptional<zod.ZodObject<{
19315
+ runId: zod.ZodString;
19316
+ followUpId: zod.ZodString;
19317
+ authorUserId: zod.ZodString;
19318
+ typedAt: zod.ZodISODateTime;
19319
+ }, zod_v4_core.$strip>>;
18713
19320
  }, zod_v4_core.$strip>, zod.ZodObject<{
18714
19321
  version: zod.ZodLiteral<1>;
18715
19322
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -18837,8 +19444,8 @@ declare const apiOperations: {
18837
19444
  month: "month";
18838
19445
  }>;
18839
19446
  metric: zod.ZodEnum<{
18840
- tokens: "tokens";
18841
19447
  modelCallCount: "modelCallCount";
19448
+ tokens: "tokens";
18842
19449
  costMicros: "costMicros";
18843
19450
  }>;
18844
19451
  scope: zod.ZodEnum<{
@@ -18863,10 +19470,12 @@ declare const apiOperations: {
18863
19470
  text: zod.ZodString;
18864
19471
  mode: zod.ZodEnum<{
18865
19472
  queue: "queue";
19473
+ steer: "steer";
18866
19474
  }>;
18867
19475
  status: zod.ZodEnum<{
18868
19476
  pending: "pending";
18869
19477
  dispatched: "dispatched";
19478
+ consumed: "consumed";
18870
19479
  cancelled: "cancelled";
18871
19480
  }>;
18872
19481
  position: zod.ZodNumber;
@@ -18911,10 +19520,10 @@ declare const apiOperations: {
18911
19520
  conversationId: zod.ZodString;
18912
19521
  clientInstanceId: zod.ZodString;
18913
19522
  role: zod.ZodEnum<{
18914
- tool: "tool";
18915
19523
  user: "user";
18916
19524
  system: "system";
18917
19525
  assistant: "assistant";
19526
+ tool: "tool";
18918
19527
  }>;
18919
19528
  text: zod.ZodString;
18920
19529
  createdAt: zod.ZodISODateTime;
@@ -18958,6 +19567,12 @@ declare const apiOperations: {
18958
19567
  }>;
18959
19568
  }, zod_v4_core.$strip>>;
18960
19569
  attachmentManifest: zod.ZodUnknown;
19570
+ steered: zod.ZodOptional<zod.ZodObject<{
19571
+ runId: zod.ZodString;
19572
+ followUpId: zod.ZodString;
19573
+ authorUserId: zod.ZodString;
19574
+ typedAt: zod.ZodISODateTime;
19575
+ }, zod_v4_core.$strip>>;
18961
19576
  }, zod_v4_core.$strip>, zod.ZodObject<{
18962
19577
  version: zod.ZodLiteral<1>;
18963
19578
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -19068,6 +19683,11 @@ declare const apiOperations: {
19068
19683
  id: zod.ZodString;
19069
19684
  text: zod.ZodString;
19070
19685
  open: zod.ZodBoolean;
19686
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19687
+ type: zod.ZodLiteral<"user_message">;
19688
+ messageId: zod.ZodString;
19689
+ text: zod.ZodString;
19690
+ createdAt: zod.ZodISODateTime;
19071
19691
  }, zod_v4_core.$strip>, zod.ZodObject<{
19072
19692
  type: zod.ZodLiteral<"tool_call">;
19073
19693
  toolCallId: zod.ZodString;
@@ -19160,8 +19780,8 @@ declare const apiOperations: {
19160
19780
  month: "month";
19161
19781
  }>;
19162
19782
  metric: zod.ZodEnum<{
19163
- tokens: "tokens";
19164
19783
  modelCallCount: "modelCallCount";
19784
+ tokens: "tokens";
19165
19785
  costMicros: "costMicros";
19166
19786
  }>;
19167
19787
  scope: zod.ZodEnum<{
@@ -19217,6 +19837,11 @@ declare const apiOperations: {
19217
19837
  id: zod.ZodString;
19218
19838
  text: zod.ZodString;
19219
19839
  open: zod.ZodBoolean;
19840
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19841
+ type: zod.ZodLiteral<"user_message">;
19842
+ messageId: zod.ZodString;
19843
+ text: zod.ZodString;
19844
+ createdAt: zod.ZodISODateTime;
19220
19845
  }, zod_v4_core.$strip>, zod.ZodObject<{
19221
19846
  type: zod.ZodLiteral<"tool_call">;
19222
19847
  toolCallId: zod.ZodString;
@@ -19309,8 +19934,8 @@ declare const apiOperations: {
19309
19934
  month: "month";
19310
19935
  }>;
19311
19936
  metric: zod.ZodEnum<{
19312
- tokens: "tokens";
19313
19937
  modelCallCount: "modelCallCount";
19938
+ tokens: "tokens";
19314
19939
  costMicros: "costMicros";
19315
19940
  }>;
19316
19941
  scope: zod.ZodEnum<{
@@ -19387,10 +20012,12 @@ declare const apiOperations: {
19387
20012
  text: zod.ZodString;
19388
20013
  mode: zod.ZodEnum<{
19389
20014
  queue: "queue";
20015
+ steer: "steer";
19390
20016
  }>;
19391
20017
  status: zod.ZodEnum<{
19392
20018
  pending: "pending";
19393
20019
  dispatched: "dispatched";
20020
+ consumed: "consumed";
19394
20021
  cancelled: "cancelled";
19395
20022
  }>;
19396
20023
  position: zod.ZodNumber;
@@ -19433,6 +20060,19 @@ declare const apiOperations: {
19433
20060
  text: zod.ZodString;
19434
20061
  metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
19435
20062
  }, zod_v4_core.$strip>;
20063
+ }, zod_v4_core.$strip>, zod.ZodObject<{
20064
+ type: zod.ZodLiteral<"user_message_steered">;
20065
+ runId: zod.ZodString;
20066
+ sequence: zod.ZodNumber;
20067
+ createdAt: zod.ZodISODateTime;
20068
+ followUpId: zod.ZodString;
20069
+ message: zod.ZodObject<{
20070
+ id: zod.ZodString;
20071
+ role: zod.ZodLiteral<"user">;
20072
+ text: zod.ZodString;
20073
+ createdAt: zod.ZodISODateTime;
20074
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
20075
+ }, zod_v4_core.$strip>;
19436
20076
  }, zod_v4_core.$strip>, zod.ZodObject<{
19437
20077
  type: zod.ZodLiteral<"tool_call_preparing">;
19438
20078
  runId: zod.ZodString;
@@ -19549,8 +20189,8 @@ declare const apiOperations: {
19549
20189
  month: "month";
19550
20190
  }>;
19551
20191
  metric: zod.ZodEnum<{
19552
- tokens: "tokens";
19553
20192
  modelCallCount: "modelCallCount";
20193
+ tokens: "tokens";
19554
20194
  costMicros: "costMicros";
19555
20195
  }>;
19556
20196
  scope: zod.ZodEnum<{
@@ -19634,8 +20274,8 @@ declare const apiOperations: {
19634
20274
  month: "month";
19635
20275
  }>;
19636
20276
  metric: zod.ZodEnum<{
19637
- tokens: "tokens";
19638
20277
  modelCallCount: "modelCallCount";
20278
+ tokens: "tokens";
19639
20279
  costMicros: "costMicros";
19640
20280
  }>;
19641
20281
  scope: zod.ZodEnum<{
@@ -20026,8 +20666,8 @@ declare const apiOperations: {
20026
20666
  scheduleId: zod.ZodString;
20027
20667
  }, zod_v4_core.$strip>], "kind">;
20028
20668
  target: zod.ZodEnum<{
20029
- test: "test";
20030
20669
  live: "live";
20670
+ test: "test";
20031
20671
  dry_run: "dry_run";
20032
20672
  }>;
20033
20673
  app: zod.ZodOptional<zod.ZodObject<{
@@ -20539,8 +21179,8 @@ declare const apiOperations: {
20539
21179
  scheduleId: zod.ZodString;
20540
21180
  }, zod_v4_core.$strip>], "kind">;
20541
21181
  target: zod.ZodEnum<{
20542
- test: "test";
20543
21182
  live: "live";
21183
+ test: "test";
20544
21184
  dry_run: "dry_run";
20545
21185
  }>;
20546
21186
  app: zod.ZodOptional<zod.ZodObject<{
@@ -20720,8 +21360,8 @@ declare const apiOperations: {
20720
21360
  scheduleId: zod.ZodString;
20721
21361
  }, zod_v4_core.$strip>], "kind">;
20722
21362
  target: zod.ZodEnum<{
20723
- test: "test";
20724
21363
  live: "live";
21364
+ test: "test";
20725
21365
  dry_run: "dry_run";
20726
21366
  }>;
20727
21367
  app: zod.ZodOptional<zod.ZodObject<{
@@ -20951,8 +21591,8 @@ declare const apiOperations: {
20951
21591
  scheduleId: zod.ZodString;
20952
21592
  }, zod_v4_core.$strip>], "kind">;
20953
21593
  target: zod.ZodEnum<{
20954
- test: "test";
20955
21594
  live: "live";
21595
+ test: "test";
20956
21596
  dry_run: "dry_run";
20957
21597
  }>;
20958
21598
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21121,8 +21761,8 @@ declare const apiOperations: {
21121
21761
  scheduleId: zod.ZodString;
21122
21762
  }, zod_v4_core.$strip>], "kind">;
21123
21763
  target: zod.ZodEnum<{
21124
- test: "test";
21125
21764
  live: "live";
21765
+ test: "test";
21126
21766
  dry_run: "dry_run";
21127
21767
  }>;
21128
21768
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21284,8 +21924,8 @@ declare const apiOperations: {
21284
21924
  scheduleId: zod.ZodString;
21285
21925
  }, zod_v4_core.$strip>], "kind">;
21286
21926
  target: zod.ZodEnum<{
21287
- test: "test";
21288
21927
  live: "live";
21928
+ test: "test";
21289
21929
  dry_run: "dry_run";
21290
21930
  }>;
21291
21931
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21447,8 +22087,8 @@ declare const apiOperations: {
21447
22087
  scheduleId: zod.ZodString;
21448
22088
  }, zod_v4_core.$strip>], "kind">;
21449
22089
  target: zod.ZodEnum<{
21450
- test: "test";
21451
22090
  live: "live";
22091
+ test: "test";
21452
22092
  dry_run: "dry_run";
21453
22093
  }>;
21454
22094
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21605,8 +22245,8 @@ declare const apiOperations: {
21605
22245
  scheduleId: zod.ZodString;
21606
22246
  }, zod_v4_core.$strip>], "kind">;
21607
22247
  target: zod.ZodEnum<{
21608
- test: "test";
21609
22248
  live: "live";
22249
+ test: "test";
21610
22250
  dry_run: "dry_run";
21611
22251
  }>;
21612
22252
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21799,8 +22439,8 @@ declare const apiOperations: {
21799
22439
  scheduleId: zod.ZodString;
21800
22440
  }, zod_v4_core.$strip>], "kind">;
21801
22441
  target: zod.ZodEnum<{
21802
- test: "test";
21803
22442
  live: "live";
22443
+ test: "test";
21804
22444
  dry_run: "dry_run";
21805
22445
  }>;
21806
22446
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21957,8 +22597,8 @@ declare const apiOperations: {
21957
22597
  scheduleId: zod.ZodString;
21958
22598
  }, zod_v4_core.$strip>], "kind">;
21959
22599
  target: zod.ZodEnum<{
21960
- test: "test";
21961
22600
  live: "live";
22601
+ test: "test";
21962
22602
  dry_run: "dry_run";
21963
22603
  }>;
21964
22604
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22282,8 +22922,8 @@ declare const apiOperations: {
22282
22922
  scheduleId: zod.ZodString;
22283
22923
  }, zod_v4_core.$strip>], "kind">;
22284
22924
  target: zod.ZodEnum<{
22285
- test: "test";
22286
22925
  live: "live";
22926
+ test: "test";
22287
22927
  dry_run: "dry_run";
22288
22928
  }>;
22289
22929
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22339,7 +22979,7 @@ declare const apiOperations: {
22339
22979
  readonly id: "roles.update";
22340
22980
  readonly method: "PATCH";
22341
22981
  readonly path: "/api/v1/instance/access/roles/:roleId";
22342
- readonly summary: "Change a role's name, description or grants. Only a superadmin edits `user` and `admin`; `superadmin` is never edited.";
22982
+ readonly summary: "Change a role's name, description or grants. Editing `user` and `admin` also needs `roles.edit_built_in`; `superadmin` is never edited.";
22343
22983
  readonly tag: "Access";
22344
22984
  readonly auth: "user";
22345
22985
  readonly scope: "user_admin:write";
@@ -22491,8 +23131,8 @@ declare const apiOperations: {
22491
23131
  scheduleId: zod.ZodString;
22492
23132
  }, zod_v4_core.$strip>], "kind">;
22493
23133
  target: zod.ZodEnum<{
22494
- test: "test";
22495
23134
  live: "live";
23135
+ test: "test";
22496
23136
  dry_run: "dry_run";
22497
23137
  }>;
22498
23138
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22683,8 +23323,8 @@ declare const apiOperations: {
22683
23323
  scheduleId: zod.ZodString;
22684
23324
  }, zod_v4_core.$strip>], "kind">;
22685
23325
  target: zod.ZodEnum<{
22686
- test: "test";
22687
23326
  live: "live";
23327
+ test: "test";
22688
23328
  dry_run: "dry_run";
22689
23329
  }>;
22690
23330
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22740,7 +23380,7 @@ declare const apiOperations: {
22740
23380
  readonly id: "roles.reset";
22741
23381
  readonly method: "POST";
22742
23382
  readonly path: "/api/v1/instance/access/roles/:roleId/reset";
22743
- readonly summary: "Reset `user` or `admin` to the release's default, which also settles every pending action. Only a superadmin resets.";
23383
+ readonly summary: "Reset `user` or `admin` to the release's default, which also settles every pending action. Needs `users.manage` and `roles.edit_built_in`.";
22744
23384
  readonly tag: "Access";
22745
23385
  readonly auth: "user";
22746
23386
  readonly scope: "user_admin:write";
@@ -22875,8 +23515,8 @@ declare const apiOperations: {
22875
23515
  scheduleId: zod.ZodString;
22876
23516
  }, zod_v4_core.$strip>], "kind">;
22877
23517
  target: zod.ZodEnum<{
22878
- test: "test";
22879
23518
  live: "live";
23519
+ test: "test";
22880
23520
  dry_run: "dry_run";
22881
23521
  }>;
22882
23522
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22932,7 +23572,7 @@ declare const apiOperations: {
22932
23572
  readonly id: "roles.pending.decide";
22933
23573
  readonly method: "POST";
22934
23574
  readonly path: "/api/v1/instance/access/roles/:roleId/pending";
22935
- readonly summary: "Decide one action a release changed in the default of an edited `user` or `admin`: apply it or dismiss it. Only a superadmin decides.";
23575
+ readonly summary: "Decide one action a release changed in the default of an edited `user` or `admin`: apply it or dismiss it. Needs `users.manage` and `roles.edit_built_in`.";
22936
23576
  readonly tag: "Access";
22937
23577
  readonly auth: "user";
22938
23578
  readonly scope: "user_admin:write";
@@ -23074,8 +23714,8 @@ declare const apiOperations: {
23074
23714
  scheduleId: zod.ZodString;
23075
23715
  }, zod_v4_core.$strip>], "kind">;
23076
23716
  target: zod.ZodEnum<{
23077
- test: "test";
23078
23717
  live: "live";
23718
+ test: "test";
23079
23719
  dry_run: "dry_run";
23080
23720
  }>;
23081
23721
  app: zod.ZodOptional<zod.ZodObject<{
@@ -23636,6 +24276,10 @@ declare const apiOperations: {
23636
24276
  en: "en";
23637
24277
  de: "de";
23638
24278
  }>>;
24279
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
24280
+ queue: "queue";
24281
+ steer: "steer";
24282
+ }>>;
23639
24283
  instanceAdminName: zod.ZodOptional<zod.ZodString>;
23640
24284
  roles: zod.ZodArray<zod.ZodString>;
23641
24285
  permissionRefs: zod.ZodArray<zod.ZodString>;
@@ -23713,6 +24357,10 @@ declare const apiOperations: {
23713
24357
  en: "en";
23714
24358
  de: "de";
23715
24359
  }>>>;
24360
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
24361
+ queue: "queue";
24362
+ steer: "steer";
24363
+ }>>;
23716
24364
  }, zod_v4_core.$strip>;
23717
24365
  readonly response: {
23718
24366
  readonly kind: "json";
@@ -23726,6 +24374,10 @@ declare const apiOperations: {
23726
24374
  en: "en";
23727
24375
  de: "de";
23728
24376
  }>>;
24377
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
24378
+ queue: "queue";
24379
+ steer: "steer";
24380
+ }>>;
23729
24381
  instanceAdminName: zod.ZodOptional<zod.ZodString>;
23730
24382
  roles: zod.ZodArray<zod.ZodString>;
23731
24383
  permissionRefs: zod.ZodArray<zod.ZodString>;
@@ -24597,8 +25249,8 @@ declare const apiOperations: {
24597
25249
  scheduleId: zod.ZodString;
24598
25250
  }, zod_v4_core.$strip>], "kind">;
24599
25251
  target: zod.ZodEnum<{
24600
- test: "test";
24601
25252
  live: "live";
25253
+ test: "test";
24602
25254
  dry_run: "dry_run";
24603
25255
  }>;
24604
25256
  app: zod.ZodOptional<zod.ZodObject<{
@@ -24771,8 +25423,8 @@ declare const apiOperations: {
24771
25423
  scheduleId: zod.ZodString;
24772
25424
  }, zod_v4_core.$strip>], "kind">;
24773
25425
  target: zod.ZodEnum<{
24774
- test: "test";
24775
25426
  live: "live";
25427
+ test: "test";
24776
25428
  dry_run: "dry_run";
24777
25429
  }>;
24778
25430
  app: zod.ZodOptional<zod.ZodObject<{
@@ -24945,8 +25597,8 @@ declare const apiOperations: {
24945
25597
  scheduleId: zod.ZodString;
24946
25598
  }, zod_v4_core.$strip>], "kind">;
24947
25599
  target: zod.ZodEnum<{
24948
- test: "test";
24949
25600
  live: "live";
25601
+ test: "test";
24950
25602
  dry_run: "dry_run";
24951
25603
  }>;
24952
25604
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25099,8 +25751,8 @@ declare const apiOperations: {
25099
25751
  scheduleId: zod.ZodString;
25100
25752
  }, zod_v4_core.$strip>], "kind">;
25101
25753
  target: zod.ZodEnum<{
25102
- test: "test";
25103
25754
  live: "live";
25755
+ test: "test";
25104
25756
  dry_run: "dry_run";
25105
25757
  }>;
25106
25758
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25253,8 +25905,8 @@ declare const apiOperations: {
25253
25905
  scheduleId: zod.ZodString;
25254
25906
  }, zod_v4_core.$strip>], "kind">;
25255
25907
  target: zod.ZodEnum<{
25256
- test: "test";
25257
25908
  live: "live";
25909
+ test: "test";
25258
25910
  dry_run: "dry_run";
25259
25911
  }>;
25260
25912
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25463,8 +26115,8 @@ declare const apiOperations: {
25463
26115
  scheduleId: zod.ZodString;
25464
26116
  }, zod_v4_core.$strip>], "kind">;
25465
26117
  target: zod.ZodEnum<{
25466
- test: "test";
25467
26118
  live: "live";
26119
+ test: "test";
25468
26120
  dry_run: "dry_run";
25469
26121
  }>;
25470
26122
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25525,10 +26177,10 @@ declare const assetSummarySchema: z.ZodObject<{
25525
26177
  isDefault: z.ZodOptional<z.ZodLiteral<true>>;
25526
26178
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
25527
26179
  allowed: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25528
- publish: "publish";
25529
26180
  read: "read";
25530
26181
  write: "write";
25531
26182
  delete: "delete";
26183
+ publish: "publish";
25532
26184
  }>>>;
25533
26185
  updatedAt: z.ZodISODateTime;
25534
26186
  agentDraft: z.ZodOptional<z.ZodObject<{
@@ -25563,11 +26215,11 @@ declare const assetSchema: z.ZodObject<{
25563
26215
  stepFacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25564
26216
  source: z.ZodOptional<z.ZodObject<{
25565
26217
  kind: z.ZodEnum<{
25566
- connection: "connection";
25567
- other: "other";
25568
26218
  workflow: "workflow";
26219
+ connection: "connection";
25569
26220
  data_store: "data_store";
25570
26221
  knowledge_base: "knowledge_base";
26222
+ other: "other";
25571
26223
  }>;
25572
26224
  title: z.ZodOptional<z.ZodString>;
25573
26225
  service: z.ZodOptional<z.ZodString>;
@@ -25588,11 +26240,11 @@ declare const assetSchema: z.ZodObject<{
25588
26240
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
25589
26241
  source: z.ZodObject<{
25590
26242
  kind: z.ZodEnum<{
25591
- connection: "connection";
25592
- other: "other";
25593
26243
  workflow: "workflow";
26244
+ connection: "connection";
25594
26245
  data_store: "data_store";
25595
26246
  knowledge_base: "knowledge_base";
26247
+ other: "other";
25596
26248
  }>;
25597
26249
  title: z.ZodOptional<z.ZodString>;
25598
26250
  service: z.ZodOptional<z.ZodString>;
@@ -25617,20 +26269,20 @@ declare const assetSchema: z.ZodObject<{
25617
26269
  appAudience: z.ZodOptional<z.ZodObject<{
25618
26270
  selected: z.ZodEnum<{
25619
26271
  instance: "instance";
25620
- workspace: "workspace";
25621
26272
  self: "self";
26273
+ workspace: "workspace";
25622
26274
  }>;
25623
26275
  live: z.ZodOptional<z.ZodEnum<{
25624
26276
  instance: "instance";
25625
- workspace: "workspace";
25626
26277
  self: "self";
26278
+ workspace: "workspace";
25627
26279
  }>>;
25628
26280
  liveLabel: z.ZodOptional<z.ZodString>;
25629
26281
  people: z.ZodOptional<z.ZodNumber>;
25630
26282
  choices: z.ZodArray<z.ZodEnum<{
25631
26283
  instance: "instance";
25632
- workspace: "workspace";
25633
26284
  self: "self";
26285
+ workspace: "workspace";
25634
26286
  }>>;
25635
26287
  label: z.ZodString;
25636
26288
  workspaceName: z.ZodOptional<z.ZodString>;
@@ -25702,10 +26354,10 @@ declare const assetSchema: z.ZodObject<{
25702
26354
  }, z.core.$strip>>>;
25703
26355
  chatAvailable: z.ZodOptional<z.ZodBoolean>;
25704
26356
  allowed: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25705
- publish: "publish";
25706
26357
  read: "read";
25707
26358
  write: "write";
25708
26359
  delete: "delete";
26360
+ publish: "publish";
25709
26361
  }>>>;
25710
26362
  saveApproval: z.ZodOptional<z.ZodObject<{
25711
26363
  approverNames: z.ZodArray<z.ZodString>;
@@ -26094,23 +26746,8 @@ declare function createUnifiedDiff(oldFile: DiffFile, newFile: DiffFile): string
26094
26746
  /** The skill file this CLI writes: the shipped skill with a mark of who wrote it. */
26095
26747
  declare function renderCatalystSkill(): Promise<string>;
26096
26748
 
26097
- interface CliRuntimeOptions {
26098
- cwd?: string;
26099
- stdin?: CommandInput;
26100
- fetchImpl?: typeof fetch;
26101
- env?: Readonly<Record<string, string | undefined>>;
26102
- stdout?: (text: string) => void;
26103
- stderr?: (text: string) => void;
26104
- /** Waits between tries. Tests pass one that does not wait. */
26105
- sleep?: (milliseconds: number) => Promise<void>;
26106
- /** Opens an address in a browser, as `setup` does. Tests pass one that opens nothing. */
26107
- openUrl?: (address: string) => void;
26108
- /**
26109
- * Asks the person at the terminal and answers what they typed. Left out, the terminal is
26110
- * asked where there is one, and nobody where there is none.
26111
- */
26112
- prompt?: (question: string) => Promise<string>;
26113
- }
26749
+ declare function commandNames(): string[];
26750
+
26114
26751
  declare function runCli(argv: string[], runtime?: CliRuntimeOptions): Promise<number>;
26115
26752
 
26116
- export { ApiKeyExchangeError, type AssetBaseline, type AssetProvenance, CANONICAL_FORM_VERSION, 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 };
26753
+ export { ApiKeyExchangeError, type AssetBaseline, type AssetProvenance, CANONICAL_FORM_VERSION, 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, commandNames, 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 };