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

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 +1595 -262
  2. package/dist/index.js +7186 -6031
  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", "agent.use", "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"];
@@ -743,8 +770,8 @@ declare const apiOperations: {
743
770
  draft_published: "draft_published";
744
771
  }>;
745
772
  representation: zod.ZodEnum<{
746
- config: "config";
747
773
  files: "files";
774
+ config: "config";
748
775
  }>;
749
776
  owners: zod.ZodArray<zod.ZodEnum<{
750
777
  instance: "instance";
@@ -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>;
@@ -1037,6 +1064,48 @@ declare const apiOperations: {
1037
1064
  readonly errors: readonly ["NOT_FOUND"];
1038
1065
  readonly rateClass: "read";
1039
1066
  }>;
1067
+ readonly "scope_assignments.overview": Operation<{
1068
+ readonly id: "scope_assignments.overview";
1069
+ readonly method: "GET";
1070
+ readonly path: "/api/v1/instance/access/scope-assignments/overview";
1071
+ readonly summary: "Read the declared data scope, every assignment the reader may see, and each active person's groups and effective values";
1072
+ readonly tag: "Access";
1073
+ readonly auth: "user";
1074
+ readonly scope: "user_admin:read";
1075
+ readonly requires: readonly ["users.manage"];
1076
+ readonly effect: "reading";
1077
+ readonly response: {
1078
+ readonly kind: "json";
1079
+ readonly schema: zod.ZodObject<{
1080
+ dimensions: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1081
+ label: zod.ZodString;
1082
+ valueType: zod.ZodLiteral<"text">;
1083
+ }, zod_v4_core.$strict>>;
1084
+ assignments: zod.ZodArray<zod.ZodObject<{
1085
+ dimension: zod.ZodString;
1086
+ holderKind: zod.ZodEnum<{
1087
+ user: "user";
1088
+ service_principal: "service_principal";
1089
+ group: "group";
1090
+ }>;
1091
+ holderId: zod.ZodString;
1092
+ effect: zod.ZodEnum<{
1093
+ allow: "allow";
1094
+ deny: "deny";
1095
+ }>;
1096
+ values: zod.ZodUnion<readonly [zod.ZodLiteral<"all">, zod.ZodArray<zod.ZodString>]>;
1097
+ }, zod_v4_core.$strict>>;
1098
+ people: zod.ZodArray<zod.ZodObject<{
1099
+ id: zod.ZodString;
1100
+ displayLabel: zod.ZodString;
1101
+ groups: zod.ZodArray<zod.ZodString>;
1102
+ effective: zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodLiteral<"all">, zod.ZodArray<zod.ZodString>]>>;
1103
+ }, zod_v4_core.$strip>>;
1104
+ }, zod_v4_core.$strip>;
1105
+ };
1106
+ readonly errors: readonly [];
1107
+ readonly rateClass: "read";
1108
+ }>;
1040
1109
  readonly "scope_assignments.set": Operation<{
1041
1110
  readonly id: "scope_assignments.set";
1042
1111
  readonly method: "PUT";
@@ -1163,8 +1232,8 @@ declare const apiOperations: {
1163
1232
  scheduleId: zod.ZodString;
1164
1233
  }, zod_v4_core.$strip>], "kind">;
1165
1234
  target: zod.ZodEnum<{
1166
- test: "test";
1167
1235
  live: "live";
1236
+ test: "test";
1168
1237
  dry_run: "dry_run";
1169
1238
  }>;
1170
1239
  app: zod.ZodOptional<zod.ZodObject<{
@@ -1362,8 +1431,8 @@ declare const apiOperations: {
1362
1431
  scheduleId: zod.ZodString;
1363
1432
  }, zod_v4_core.$strip>], "kind">;
1364
1433
  target: zod.ZodEnum<{
1365
- test: "test";
1366
1434
  live: "live";
1435
+ test: "test";
1367
1436
  dry_run: "dry_run";
1368
1437
  }>;
1369
1438
  app: zod.ZodOptional<zod.ZodObject<{
@@ -1541,8 +1610,8 @@ declare const apiOperations: {
1541
1610
  scheduleId: zod.ZodString;
1542
1611
  }, zod_v4_core.$strip>], "kind">;
1543
1612
  target: zod.ZodEnum<{
1544
- test: "test";
1545
1613
  live: "live";
1614
+ test: "test";
1546
1615
  dry_run: "dry_run";
1547
1616
  }>;
1548
1617
  app: zod.ZodOptional<zod.ZodObject<{
@@ -1707,6 +1776,221 @@ declare const apiOperations: {
1707
1776
  readonly errors: readonly ["NOT_FOUND"];
1708
1777
  readonly rateClass: "read";
1709
1778
  }>;
1779
+ readonly "permissions.rights": Operation<{
1780
+ readonly id: "permissions.rights";
1781
+ readonly method: "GET";
1782
+ readonly path: "/api/v1/instance/access/rights";
1783
+ readonly summary: "List what one holder holds and is refused, each right decided with where it comes from";
1784
+ readonly tag: "Access";
1785
+ readonly auth: "user";
1786
+ readonly scope: "user_admin:read";
1787
+ readonly requires: readonly [];
1788
+ readonly effect: "reading";
1789
+ readonly query: zod.ZodObject<{
1790
+ holderKind: zod.ZodEnum<{
1791
+ user: "user";
1792
+ service_principal: "service_principal";
1793
+ }>;
1794
+ holderId: zod.ZodString;
1795
+ }, zod_v4_core.$strip>;
1796
+ readonly response: {
1797
+ readonly kind: "json";
1798
+ readonly schema: zod.ZodObject<{
1799
+ holderActive: zod.ZodBoolean;
1800
+ roles: zod.ZodArray<zod.ZodObject<{
1801
+ id: zod.ZodString;
1802
+ name: zod.ZodString;
1803
+ builtIn: zod.ZodBoolean;
1804
+ }, zod_v4_core.$strip>>;
1805
+ rights: zod.ZodArray<zod.ZodObject<{
1806
+ action: zod.ZodString;
1807
+ scopeKind: zod.ZodEnum<{
1808
+ instance: "instance";
1809
+ workspace: "workspace";
1810
+ asset: "asset";
1811
+ }>;
1812
+ scopeId: zod.ZodOptional<zod.ZodString>;
1813
+ allowed: zod.ZodBoolean;
1814
+ reason: zod.ZodOptional<zod.ZodEnum<{
1815
+ denied: "denied";
1816
+ no_grant: "no_grant";
1817
+ holder_inactive: "holder_inactive";
1818
+ }>>;
1819
+ grantedBy: zod.ZodArray<zod.ZodObject<{
1820
+ source: zod.ZodEnum<{
1821
+ role: "role";
1822
+ legacy_ref: "legacy_ref";
1823
+ grant: "grant";
1824
+ membership: "membership";
1825
+ }>;
1826
+ effect: zod.ZodEnum<{
1827
+ allow: "allow";
1828
+ deny: "deny";
1829
+ }>;
1830
+ scopeKind: zod.ZodEnum<{
1831
+ instance: "instance";
1832
+ workspace: "workspace";
1833
+ asset: "asset";
1834
+ }>;
1835
+ scopeId: zod.ZodOptional<zod.ZodString>;
1836
+ roleId: zod.ZodOptional<zod.ZodString>;
1837
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1838
+ kind: zod.ZodString;
1839
+ name: zod.ZodOptional<zod.ZodString>;
1840
+ title: zod.ZodOptional<zod.ZodString>;
1841
+ active: zod.ZodBoolean;
1842
+ }, zod_v4_core.$strip>>;
1843
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1844
+ personal: zod.ZodBoolean;
1845
+ name: zod.ZodOptional<zod.ZodString>;
1846
+ }, zod_v4_core.$strip>>;
1847
+ }, zod_v4_core.$strip>>;
1848
+ deniedBy: zod.ZodOptional<zod.ZodObject<{
1849
+ source: zod.ZodEnum<{
1850
+ role: "role";
1851
+ legacy_ref: "legacy_ref";
1852
+ grant: "grant";
1853
+ membership: "membership";
1854
+ }>;
1855
+ effect: zod.ZodEnum<{
1856
+ allow: "allow";
1857
+ deny: "deny";
1858
+ }>;
1859
+ scopeKind: zod.ZodEnum<{
1860
+ instance: "instance";
1861
+ workspace: "workspace";
1862
+ asset: "asset";
1863
+ }>;
1864
+ scopeId: zod.ZodOptional<zod.ZodString>;
1865
+ roleId: zod.ZodOptional<zod.ZodString>;
1866
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1867
+ kind: zod.ZodString;
1868
+ name: zod.ZodOptional<zod.ZodString>;
1869
+ title: zod.ZodOptional<zod.ZodString>;
1870
+ active: zod.ZodBoolean;
1871
+ }, zod_v4_core.$strip>>;
1872
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1873
+ personal: zod.ZodBoolean;
1874
+ name: zod.ZodOptional<zod.ZodString>;
1875
+ }, zod_v4_core.$strip>>;
1876
+ }, zod_v4_core.$strip>>;
1877
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1878
+ kind: zod.ZodString;
1879
+ name: zod.ZodOptional<zod.ZodString>;
1880
+ title: zod.ZodOptional<zod.ZodString>;
1881
+ active: zod.ZodBoolean;
1882
+ }, zod_v4_core.$strip>>;
1883
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1884
+ personal: zod.ZodBoolean;
1885
+ name: zod.ZodOptional<zod.ZodString>;
1886
+ }, zod_v4_core.$strip>>;
1887
+ availability: zod.ZodOptional<zod.ZodEnum<{
1888
+ instance: "instance";
1889
+ self: "self";
1890
+ workspace: "workspace";
1891
+ }>>;
1892
+ onlyInWorkspaces: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1893
+ personal: zod.ZodBoolean;
1894
+ name: zod.ZodOptional<zod.ZodString>;
1895
+ }, zod_v4_core.$strip>>>;
1896
+ }, zod_v4_core.$strip>>;
1897
+ }, zod_v4_core.$strip>;
1898
+ };
1899
+ readonly errors: readonly ["NOT_FOUND"];
1900
+ readonly rateClass: "read";
1901
+ }>;
1902
+ readonly "permissions.check": Operation<{
1903
+ readonly id: "permissions.check";
1904
+ readonly method: "GET";
1905
+ readonly path: "/api/v1/instance/access/check";
1906
+ readonly summary: "Decide what one holder may do with one asset, with the entry that decides each right";
1907
+ readonly tag: "Access";
1908
+ readonly auth: "user";
1909
+ readonly scope: "user_admin:read";
1910
+ readonly requires: readonly [];
1911
+ readonly effect: "reading";
1912
+ readonly query: zod.ZodObject<{
1913
+ holderKind: zod.ZodEnum<{
1914
+ user: "user";
1915
+ service_principal: "service_principal";
1916
+ }>;
1917
+ holderId: zod.ZodString;
1918
+ kind: zod.ZodString;
1919
+ assetId: zod.ZodOptional<zod.ZodString>;
1920
+ }, zod_v4_core.$strip>;
1921
+ readonly response: {
1922
+ readonly kind: "json";
1923
+ readonly schema: zod.ZodObject<{
1924
+ holderActive: zod.ZodBoolean;
1925
+ roles: zod.ZodArray<zod.ZodObject<{
1926
+ id: zod.ZodString;
1927
+ name: zod.ZodString;
1928
+ builtIn: zod.ZodBoolean;
1929
+ }, zod_v4_core.$strip>>;
1930
+ actions: zod.ZodArray<zod.ZodObject<{
1931
+ availability: zod.ZodOptional<zod.ZodEnum<{
1932
+ instance: "instance";
1933
+ self: "self";
1934
+ workspace: "workspace";
1935
+ }>>;
1936
+ onlyInWorkspaces: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1937
+ personal: zod.ZodBoolean;
1938
+ name: zod.ZodOptional<zod.ZodString>;
1939
+ }, zod_v4_core.$strip>>>;
1940
+ verb: zod.ZodEnum<{
1941
+ read: "read";
1942
+ write: "write";
1943
+ delete: "delete";
1944
+ use: "use";
1945
+ }>;
1946
+ action: zod.ZodString;
1947
+ allowed: zod.ZodBoolean;
1948
+ reason: zod.ZodOptional<zod.ZodEnum<{
1949
+ denied: "denied";
1950
+ no_grant: "no_grant";
1951
+ holder_inactive: "holder_inactive";
1952
+ }>>;
1953
+ decidedBy: zod.ZodOptional<zod.ZodObject<{
1954
+ source: zod.ZodEnum<{
1955
+ role: "role";
1956
+ legacy_ref: "legacy_ref";
1957
+ grant: "grant";
1958
+ membership: "membership";
1959
+ }>;
1960
+ effect: zod.ZodEnum<{
1961
+ allow: "allow";
1962
+ deny: "deny";
1963
+ }>;
1964
+ scopeKind: zod.ZodEnum<{
1965
+ instance: "instance";
1966
+ workspace: "workspace";
1967
+ asset: "asset";
1968
+ }>;
1969
+ scopeId: zod.ZodOptional<zod.ZodString>;
1970
+ roleId: zod.ZodOptional<zod.ZodString>;
1971
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
1972
+ kind: zod.ZodString;
1973
+ name: zod.ZodOptional<zod.ZodString>;
1974
+ title: zod.ZodOptional<zod.ZodString>;
1975
+ active: zod.ZodBoolean;
1976
+ }, zod_v4_core.$strip>>;
1977
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
1978
+ personal: zod.ZodBoolean;
1979
+ name: zod.ZodOptional<zod.ZodString>;
1980
+ }, zod_v4_core.$strip>>;
1981
+ }, zod_v4_core.$strip>>;
1982
+ deniedThrough: zod.ZodOptional<zod.ZodEnum<{
1983
+ read: "read";
1984
+ write: "write";
1985
+ delete: "delete";
1986
+ use: "use";
1987
+ }>>;
1988
+ }, zod_v4_core.$strip>>;
1989
+ }, zod_v4_core.$strip>;
1990
+ };
1991
+ readonly errors: readonly ["NOT_FOUND"];
1992
+ readonly rateClass: "read";
1993
+ }>;
1710
1994
  readonly "workspaces.limits.list": Operation<{
1711
1995
  readonly id: "workspaces.limits.list";
1712
1996
  readonly method: "GET";
@@ -1846,8 +2130,8 @@ declare const apiOperations: {
1846
2130
  scheduleId: zod.ZodString;
1847
2131
  }, zod_v4_core.$strip>], "kind">;
1848
2132
  target: zod.ZodEnum<{
1849
- test: "test";
1850
2133
  live: "live";
2134
+ test: "test";
1851
2135
  dry_run: "dry_run";
1852
2136
  }>;
1853
2137
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2050,8 +2334,8 @@ declare const apiOperations: {
2050
2334
  scheduleId: zod.ZodString;
2051
2335
  }, zod_v4_core.$strip>], "kind">;
2052
2336
  target: zod.ZodEnum<{
2053
- test: "test";
2054
2337
  live: "live";
2338
+ test: "test";
2055
2339
  dry_run: "dry_run";
2056
2340
  }>;
2057
2341
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2218,8 +2502,8 @@ declare const apiOperations: {
2218
2502
  scheduleId: zod.ZodString;
2219
2503
  }, zod_v4_core.$strip>], "kind">;
2220
2504
  target: zod.ZodEnum<{
2221
- test: "test";
2222
2505
  live: "live";
2506
+ test: "test";
2223
2507
  dry_run: "dry_run";
2224
2508
  }>;
2225
2509
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2372,8 +2656,8 @@ declare const apiOperations: {
2372
2656
  scheduleId: zod.ZodString;
2373
2657
  }, zod_v4_core.$strip>], "kind">;
2374
2658
  target: zod.ZodEnum<{
2375
- test: "test";
2376
2659
  live: "live";
2660
+ test: "test";
2377
2661
  dry_run: "dry_run";
2378
2662
  }>;
2379
2663
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2709,8 +2993,8 @@ declare const apiOperations: {
2709
2993
  scheduleId: zod.ZodString;
2710
2994
  }, zod_v4_core.$strip>], "kind">;
2711
2995
  target: zod.ZodEnum<{
2712
- test: "test";
2713
2996
  live: "live";
2997
+ test: "test";
2714
2998
  dry_run: "dry_run";
2715
2999
  }>;
2716
3000
  app: zod.ZodOptional<zod.ZodObject<{
@@ -2907,8 +3191,8 @@ declare const apiOperations: {
2907
3191
  scheduleId: zod.ZodString;
2908
3192
  }, zod_v4_core.$strip>], "kind">;
2909
3193
  target: zod.ZodEnum<{
2910
- test: "test";
2911
3194
  live: "live";
3195
+ test: "test";
2912
3196
  dry_run: "dry_run";
2913
3197
  }>;
2914
3198
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3149,8 +3433,8 @@ declare const apiOperations: {
3149
3433
  scheduleId: zod.ZodString;
3150
3434
  }, zod_v4_core.$strip>], "kind">;
3151
3435
  target: zod.ZodEnum<{
3152
- test: "test";
3153
3436
  live: "live";
3437
+ test: "test";
3154
3438
  dry_run: "dry_run";
3155
3439
  }>;
3156
3440
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3329,8 +3613,8 @@ declare const apiOperations: {
3329
3613
  scheduleId: zod.ZodString;
3330
3614
  }, zod_v4_core.$strip>], "kind">;
3331
3615
  target: zod.ZodEnum<{
3332
- test: "test";
3333
3616
  live: "live";
3617
+ test: "test";
3334
3618
  dry_run: "dry_run";
3335
3619
  }>;
3336
3620
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3588,8 +3872,8 @@ declare const apiOperations: {
3588
3872
  scheduleId: zod.ZodString;
3589
3873
  }, zod_v4_core.$strip>], "kind">;
3590
3874
  target: zod.ZodEnum<{
3591
- test: "test";
3592
3875
  live: "live";
3876
+ test: "test";
3593
3877
  dry_run: "dry_run";
3594
3878
  }>;
3595
3879
  app: zod.ZodOptional<zod.ZodObject<{
@@ -3851,8 +4135,8 @@ declare const apiOperations: {
3851
4135
  scheduleId: zod.ZodString;
3852
4136
  }, zod_v4_core.$strip>], "kind">;
3853
4137
  target: zod.ZodEnum<{
3854
- test: "test";
3855
4138
  live: "live";
4139
+ test: "test";
3856
4140
  dry_run: "dry_run";
3857
4141
  }>;
3858
4142
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4051,8 +4335,8 @@ declare const apiOperations: {
4051
4335
  scheduleId: zod.ZodString;
4052
4336
  }, zod_v4_core.$strip>], "kind">;
4053
4337
  target: zod.ZodEnum<{
4054
- test: "test";
4055
4338
  live: "live";
4339
+ test: "test";
4056
4340
  dry_run: "dry_run";
4057
4341
  }>;
4058
4342
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4265,8 +4549,8 @@ declare const apiOperations: {
4265
4549
  scheduleId: zod.ZodString;
4266
4550
  }, zod_v4_core.$strip>], "kind">;
4267
4551
  target: zod.ZodEnum<{
4268
- test: "test";
4269
4552
  live: "live";
4553
+ test: "test";
4270
4554
  dry_run: "dry_run";
4271
4555
  }>;
4272
4556
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4513,8 +4797,8 @@ declare const apiOperations: {
4513
4797
  scheduleId: zod.ZodString;
4514
4798
  }, zod_v4_core.$strip>], "kind">;
4515
4799
  target: zod.ZodEnum<{
4516
- test: "test";
4517
4800
  live: "live";
4801
+ test: "test";
4518
4802
  dry_run: "dry_run";
4519
4803
  }>;
4520
4804
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4704,8 +4988,8 @@ declare const apiOperations: {
4704
4988
  scheduleId: zod.ZodString;
4705
4989
  }, zod_v4_core.$strip>], "kind">;
4706
4990
  target: zod.ZodEnum<{
4707
- test: "test";
4708
4991
  live: "live";
4992
+ test: "test";
4709
4993
  dry_run: "dry_run";
4710
4994
  }>;
4711
4995
  app: zod.ZodOptional<zod.ZodObject<{
@@ -4861,8 +5145,8 @@ declare const apiOperations: {
4861
5145
  scheduleId: zod.ZodString;
4862
5146
  }, zod_v4_core.$strip>], "kind">;
4863
5147
  target: zod.ZodEnum<{
4864
- test: "test";
4865
5148
  live: "live";
5149
+ test: "test";
4866
5150
  dry_run: "dry_run";
4867
5151
  }>;
4868
5152
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5048,8 +5332,8 @@ declare const apiOperations: {
5048
5332
  scheduleId: zod.ZodString;
5049
5333
  }, zod_v4_core.$strip>], "kind">;
5050
5334
  target: zod.ZodEnum<{
5051
- test: "test";
5052
5335
  live: "live";
5336
+ test: "test";
5053
5337
  dry_run: "dry_run";
5054
5338
  }>;
5055
5339
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5230,8 +5514,8 @@ declare const apiOperations: {
5230
5514
  scheduleId: zod.ZodString;
5231
5515
  }, zod_v4_core.$strip>], "kind">;
5232
5516
  target: zod.ZodEnum<{
5233
- test: "test";
5234
5517
  live: "live";
5518
+ test: "test";
5235
5519
  dry_run: "dry_run";
5236
5520
  }>;
5237
5521
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5410,8 +5694,8 @@ declare const apiOperations: {
5410
5694
  scheduleId: zod.ZodString;
5411
5695
  }, zod_v4_core.$strip>], "kind">;
5412
5696
  target: zod.ZodEnum<{
5413
- test: "test";
5414
5697
  live: "live";
5698
+ test: "test";
5415
5699
  dry_run: "dry_run";
5416
5700
  }>;
5417
5701
  app: zod.ZodOptional<zod.ZodObject<{
@@ -5630,8 +5914,8 @@ declare const apiOperations: {
5630
5914
  scheduleId: zod.ZodString;
5631
5915
  }, zod_v4_core.$strip>], "kind">;
5632
5916
  target: zod.ZodEnum<{
5633
- test: "test";
5634
5917
  live: "live";
5918
+ test: "test";
5635
5919
  dry_run: "dry_run";
5636
5920
  }>;
5637
5921
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6217,8 +6501,8 @@ declare const apiOperations: {
6217
6501
  scheduleId: zod.ZodString;
6218
6502
  }, zod_v4_core.$strip>], "kind">;
6219
6503
  target: zod.ZodEnum<{
6220
- test: "test";
6221
6504
  live: "live";
6505
+ test: "test";
6222
6506
  dry_run: "dry_run";
6223
6507
  }>;
6224
6508
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6437,8 +6721,8 @@ declare const apiOperations: {
6437
6721
  scheduleId: zod.ZodString;
6438
6722
  }, zod_v4_core.$strip>], "kind">;
6439
6723
  target: zod.ZodEnum<{
6440
- test: "test";
6441
6724
  live: "live";
6725
+ test: "test";
6442
6726
  dry_run: "dry_run";
6443
6727
  }>;
6444
6728
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6597,8 +6881,8 @@ declare const apiOperations: {
6597
6881
  scheduleId: zod.ZodString;
6598
6882
  }, zod_v4_core.$strip>], "kind">;
6599
6883
  target: zod.ZodEnum<{
6600
- test: "test";
6601
6884
  live: "live";
6885
+ test: "test";
6602
6886
  dry_run: "dry_run";
6603
6887
  }>;
6604
6888
  app: zod.ZodOptional<zod.ZodObject<{
@@ -6838,8 +7122,8 @@ declare const apiOperations: {
6838
7122
  scheduleId: zod.ZodString;
6839
7123
  }, zod_v4_core.$strip>], "kind">;
6840
7124
  target: zod.ZodEnum<{
6841
- test: "test";
6842
7125
  live: "live";
7126
+ test: "test";
6843
7127
  dry_run: "dry_run";
6844
7128
  }>;
6845
7129
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7034,8 +7318,8 @@ declare const apiOperations: {
7034
7318
  scheduleId: zod.ZodString;
7035
7319
  }, zod_v4_core.$strip>], "kind">;
7036
7320
  target: zod.ZodEnum<{
7037
- test: "test";
7038
7321
  live: "live";
7322
+ test: "test";
7039
7323
  dry_run: "dry_run";
7040
7324
  }>;
7041
7325
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7327,8 +7611,8 @@ declare const apiOperations: {
7327
7611
  scheduleId: zod.ZodString;
7328
7612
  }, zod_v4_core.$strip>], "kind">;
7329
7613
  target: zod.ZodEnum<{
7330
- test: "test";
7331
7614
  live: "live";
7615
+ test: "test";
7332
7616
  dry_run: "dry_run";
7333
7617
  }>;
7334
7618
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7489,8 +7773,8 @@ declare const apiOperations: {
7489
7773
  scheduleId: zod.ZodString;
7490
7774
  }, zod_v4_core.$strip>], "kind">;
7491
7775
  target: zod.ZodEnum<{
7492
- test: "test";
7493
7776
  live: "live";
7777
+ test: "test";
7494
7778
  dry_run: "dry_run";
7495
7779
  }>;
7496
7780
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7648,8 +7932,8 @@ declare const apiOperations: {
7648
7932
  scheduleId: zod.ZodString;
7649
7933
  }, zod_v4_core.$strip>], "kind">;
7650
7934
  target: zod.ZodEnum<{
7651
- test: "test";
7652
7935
  live: "live";
7936
+ test: "test";
7653
7937
  dry_run: "dry_run";
7654
7938
  }>;
7655
7939
  app: zod.ZodOptional<zod.ZodObject<{
@@ -7977,8 +8261,8 @@ declare const apiOperations: {
7977
8261
  app: zod.ZodOptional<zod.ZodObject<{
7978
8262
  audience: zod.ZodEnum<{
7979
8263
  instance: "instance";
7980
- workspace: "workspace";
7981
8264
  self: "self";
8265
+ workspace: "workspace";
7982
8266
  }>;
7983
8267
  people: zod.ZodNumber;
7984
8268
  }, zod_v4_core.$strip>>;
@@ -8023,8 +8307,8 @@ declare const apiOperations: {
8023
8307
  app: zod.ZodOptional<zod.ZodObject<{
8024
8308
  audience: zod.ZodEnum<{
8025
8309
  instance: "instance";
8026
- workspace: "workspace";
8027
8310
  self: "self";
8311
+ workspace: "workspace";
8028
8312
  }>;
8029
8313
  people: zod.ZodNumber;
8030
8314
  }, zod_v4_core.$strip>>;
@@ -8049,8 +8333,8 @@ declare const apiOperations: {
8049
8333
  app: zod.ZodOptional<zod.ZodObject<{
8050
8334
  audience: zod.ZodEnum<{
8051
8335
  instance: "instance";
8052
- workspace: "workspace";
8053
8336
  self: "self";
8337
+ workspace: "workspace";
8054
8338
  }>;
8055
8339
  people: zod.ZodNumber;
8056
8340
  }, zod_v4_core.$strip>>;
@@ -8131,8 +8415,8 @@ declare const apiOperations: {
8131
8415
  app: zod.ZodOptional<zod.ZodObject<{
8132
8416
  audience: zod.ZodEnum<{
8133
8417
  instance: "instance";
8134
- workspace: "workspace";
8135
8418
  self: "self";
8419
+ workspace: "workspace";
8136
8420
  }>;
8137
8421
  people: zod.ZodNumber;
8138
8422
  }, zod_v4_core.$strip>>;
@@ -8274,6 +8558,10 @@ declare const apiOperations: {
8274
8558
  readonly schema: zod.ZodObject<{
8275
8559
  draftRevision: zod.ZodNumber;
8276
8560
  unpublishedRevision: zod.ZodNumber;
8561
+ warnings: zod.ZodArray<zod.ZodObject<{
8562
+ code: zod.ZodString;
8563
+ message: zod.ZodString;
8564
+ }, zod_v4_core.$strip>>;
8277
8565
  }, zod_v4_core.$strip>;
8278
8566
  };
8279
8567
  readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED"];
@@ -8361,8 +8649,8 @@ declare const apiOperations: {
8361
8649
  scheduleId: zod.ZodString;
8362
8650
  }, zod_v4_core.$strip>], "kind">;
8363
8651
  target: zod.ZodEnum<{
8364
- test: "test";
8365
8652
  live: "live";
8653
+ test: "test";
8366
8654
  dry_run: "dry_run";
8367
8655
  }>;
8368
8656
  app: zod.ZodOptional<zod.ZodObject<{
@@ -8467,6 +8755,7 @@ declare const apiOperations: {
8467
8755
  name: zod.ZodString;
8468
8756
  description: zod.ZodOptional<zod.ZodString>;
8469
8757
  definitionRevisionId: zod.ZodString;
8758
+ workspaceId: zod.ZodOptional<zod.ZodString>;
8470
8759
  runnable: zod.ZodBoolean;
8471
8760
  reasons: zod.ZodArray<zod.ZodObject<{
8472
8761
  principalDisplayLabel: zod.ZodOptional<zod.ZodString>;
@@ -8475,6 +8764,7 @@ declare const apiOperations: {
8475
8764
  path: zod.ZodOptional<zod.ZodString>;
8476
8765
  }, zod_v4_core.$strip>>;
8477
8766
  inputs: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
8767
+ triggers: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
8478
8768
  runsAs: zod.ZodOptional<zod.ZodString>;
8479
8769
  actions: zod.ZodArray<zod.ZodString>;
8480
8770
  lastRun: zod.ZodOptional<zod.ZodObject<{
@@ -8528,8 +8818,8 @@ declare const apiOperations: {
8528
8818
  workflow: zod.ZodString;
8529
8819
  definitionRevisionId: zod.ZodString;
8530
8820
  mode: zod.ZodEnum<{
8531
- test: "test";
8532
8821
  live: "live";
8822
+ test: "test";
8533
8823
  }>;
8534
8824
  trigger: zod.ZodEnum<{
8535
8825
  schedule: "schedule";
@@ -8570,6 +8860,16 @@ declare const apiOperations: {
8570
8860
  number: zod.ZodNumber;
8571
8861
  }, zod_v4_core.$strip>>;
8572
8862
  operationRunId: zod.ZodOptional<zod.ZodString>;
8863
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
8864
+ kind: zod.ZodLiteral<"app">;
8865
+ app: zod.ZodString;
8866
+ appRevisionId: zod.ZodString;
8867
+ action: zod.ZodString;
8868
+ workflowRevision: zod.ZodEnum<{
8869
+ draft: "draft";
8870
+ published: "published";
8871
+ }>;
8872
+ }, zod_v4_core.$strip>>;
8573
8873
  parentRunId: zod.ZodOptional<zod.ZodString>;
8574
8874
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
8575
8875
  rootRunId: zod.ZodString;
@@ -8695,8 +8995,8 @@ declare const apiOperations: {
8695
8995
  scheduleId: zod.ZodString;
8696
8996
  }, zod_v4_core.$strip>], "kind">;
8697
8997
  target: zod.ZodEnum<{
8698
- test: "test";
8699
8998
  live: "live";
8999
+ test: "test";
8700
9000
  dry_run: "dry_run";
8701
9001
  }>;
8702
9002
  app: zod.ZodOptional<zod.ZodObject<{
@@ -8771,8 +9071,8 @@ declare const apiOperations: {
8771
9071
  workflow: zod.ZodString;
8772
9072
  definitionRevisionId: zod.ZodString;
8773
9073
  mode: zod.ZodEnum<{
8774
- test: "test";
8775
9074
  live: "live";
9075
+ test: "test";
8776
9076
  }>;
8777
9077
  trigger: zod.ZodEnum<{
8778
9078
  schedule: "schedule";
@@ -8813,6 +9113,16 @@ declare const apiOperations: {
8813
9113
  number: zod.ZodNumber;
8814
9114
  }, zod_v4_core.$strip>>;
8815
9115
  operationRunId: zod.ZodOptional<zod.ZodString>;
9116
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
9117
+ kind: zod.ZodLiteral<"app">;
9118
+ app: zod.ZodString;
9119
+ appRevisionId: zod.ZodString;
9120
+ action: zod.ZodString;
9121
+ workflowRevision: zod.ZodEnum<{
9122
+ draft: "draft";
9123
+ published: "published";
9124
+ }>;
9125
+ }, zod_v4_core.$strip>>;
8816
9126
  parentRunId: zod.ZodOptional<zod.ZodString>;
8817
9127
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
8818
9128
  rootRunId: zod.ZodString;
@@ -8938,8 +9248,8 @@ declare const apiOperations: {
8938
9248
  scheduleId: zod.ZodString;
8939
9249
  }, zod_v4_core.$strip>], "kind">;
8940
9250
  target: zod.ZodEnum<{
8941
- test: "test";
8942
9251
  live: "live";
9252
+ test: "test";
8943
9253
  dry_run: "dry_run";
8944
9254
  }>;
8945
9255
  app: zod.ZodOptional<zod.ZodObject<{
@@ -9017,8 +9327,8 @@ declare const apiOperations: {
9017
9327
  workflow: zod.ZodString;
9018
9328
  definitionRevisionId: zod.ZodString;
9019
9329
  mode: zod.ZodEnum<{
9020
- test: "test";
9021
9330
  live: "live";
9331
+ test: "test";
9022
9332
  }>;
9023
9333
  trigger: zod.ZodEnum<{
9024
9334
  schedule: "schedule";
@@ -9059,6 +9369,16 @@ declare const apiOperations: {
9059
9369
  number: zod.ZodNumber;
9060
9370
  }, zod_v4_core.$strip>>;
9061
9371
  operationRunId: zod.ZodOptional<zod.ZodString>;
9372
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
9373
+ kind: zod.ZodLiteral<"app">;
9374
+ app: zod.ZodString;
9375
+ appRevisionId: zod.ZodString;
9376
+ action: zod.ZodString;
9377
+ workflowRevision: zod.ZodEnum<{
9378
+ draft: "draft";
9379
+ published: "published";
9380
+ }>;
9381
+ }, zod_v4_core.$strip>>;
9062
9382
  parentRunId: zod.ZodOptional<zod.ZodString>;
9063
9383
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
9064
9384
  rootRunId: zod.ZodString;
@@ -9129,8 +9449,8 @@ declare const apiOperations: {
9129
9449
  workflow: zod.ZodString;
9130
9450
  definitionRevisionId: zod.ZodString;
9131
9451
  mode: zod.ZodEnum<{
9132
- test: "test";
9133
9452
  live: "live";
9453
+ test: "test";
9134
9454
  }>;
9135
9455
  trigger: zod.ZodEnum<{
9136
9456
  schedule: "schedule";
@@ -9171,6 +9491,16 @@ declare const apiOperations: {
9171
9491
  number: zod.ZodNumber;
9172
9492
  }, zod_v4_core.$strip>>;
9173
9493
  operationRunId: zod.ZodOptional<zod.ZodString>;
9494
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
9495
+ kind: zod.ZodLiteral<"app">;
9496
+ app: zod.ZodString;
9497
+ appRevisionId: zod.ZodString;
9498
+ action: zod.ZodString;
9499
+ workflowRevision: zod.ZodEnum<{
9500
+ draft: "draft";
9501
+ published: "published";
9502
+ }>;
9503
+ }, zod_v4_core.$strip>>;
9174
9504
  parentRunId: zod.ZodOptional<zod.ZodString>;
9175
9505
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
9176
9506
  rootRunId: zod.ZodString;
@@ -9254,13 +9584,13 @@ declare const apiOperations: {
9254
9584
  runId: zod.ZodString;
9255
9585
  stepId: zod.ZodString;
9256
9586
  stepType: zod.ZodEnum<{
9257
- output: "output";
9258
9587
  agent: "agent";
9259
9588
  workflow: "workflow";
9260
9589
  trigger: "trigger";
9261
9590
  operation: "operation";
9262
9591
  loop: "loop";
9263
9592
  code: "code";
9593
+ output: "output";
9264
9594
  notify: "notify";
9265
9595
  condition: "condition";
9266
9596
  parallel: "parallel";
@@ -9294,8 +9624,8 @@ declare const apiOperations: {
9294
9624
  }>>;
9295
9625
  source: zod.ZodOptional<zod.ZodString>;
9296
9626
  target: zod.ZodOptional<zod.ZodEnum<{
9297
- test: "test";
9298
9627
  live: "live";
9628
+ test: "test";
9299
9629
  dry_run: "dry_run";
9300
9630
  }>>;
9301
9631
  publishedWouldAsk: zod.ZodOptional<zod.ZodEnum<{
@@ -9432,8 +9762,8 @@ declare const apiOperations: {
9432
9762
  workflow: zod.ZodString;
9433
9763
  definitionRevisionId: zod.ZodString;
9434
9764
  mode: zod.ZodEnum<{
9435
- test: "test";
9436
9765
  live: "live";
9766
+ test: "test";
9437
9767
  }>;
9438
9768
  trigger: zod.ZodEnum<{
9439
9769
  schedule: "schedule";
@@ -9474,6 +9804,16 @@ declare const apiOperations: {
9474
9804
  number: zod.ZodNumber;
9475
9805
  }, zod_v4_core.$strip>>;
9476
9806
  operationRunId: zod.ZodOptional<zod.ZodString>;
9807
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
9808
+ kind: zod.ZodLiteral<"app">;
9809
+ app: zod.ZodString;
9810
+ appRevisionId: zod.ZodString;
9811
+ action: zod.ZodString;
9812
+ workflowRevision: zod.ZodEnum<{
9813
+ draft: "draft";
9814
+ published: "published";
9815
+ }>;
9816
+ }, zod_v4_core.$strip>>;
9477
9817
  parentRunId: zod.ZodOptional<zod.ZodString>;
9478
9818
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
9479
9819
  rootRunId: zod.ZodString;
@@ -9599,8 +9939,8 @@ declare const apiOperations: {
9599
9939
  scheduleId: zod.ZodString;
9600
9940
  }, zod_v4_core.$strip>], "kind">;
9601
9941
  target: zod.ZodEnum<{
9602
- test: "test";
9603
9942
  live: "live";
9943
+ test: "test";
9604
9944
  dry_run: "dry_run";
9605
9945
  }>;
9606
9946
  app: zod.ZodOptional<zod.ZodObject<{
@@ -9949,8 +10289,8 @@ declare const apiOperations: {
9949
10289
  scheduleId: zod.ZodString;
9950
10290
  }, zod_v4_core.$strip>], "kind">;
9951
10291
  target: zod.ZodEnum<{
9952
- test: "test";
9953
10292
  live: "live";
10293
+ test: "test";
9954
10294
  dry_run: "dry_run";
9955
10295
  }>;
9956
10296
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10104,8 +10444,8 @@ declare const apiOperations: {
10104
10444
  scheduleId: zod.ZodString;
10105
10445
  }, zod_v4_core.$strip>], "kind">;
10106
10446
  target: zod.ZodEnum<{
10107
- test: "test";
10108
10447
  live: "live";
10448
+ test: "test";
10109
10449
  dry_run: "dry_run";
10110
10450
  }>;
10111
10451
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10473,8 +10813,8 @@ declare const apiOperations: {
10473
10813
  scheduleId: zod.ZodString;
10474
10814
  }, zod_v4_core.$strip>], "kind">;
10475
10815
  target: zod.ZodEnum<{
10476
- test: "test";
10477
10816
  live: "live";
10817
+ test: "test";
10478
10818
  dry_run: "dry_run";
10479
10819
  }>;
10480
10820
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10540,6 +10880,7 @@ declare const apiOperations: {
10540
10880
  readonly body: zod.ZodObject<{
10541
10881
  value: zod.ZodString;
10542
10882
  expectedVersion: zod.ZodNullable<zod.ZodNumber>;
10883
+ expectedRevision: zod.ZodNumber;
10543
10884
  }, zod_v4_core.$strip>;
10544
10885
  readonly response: {
10545
10886
  readonly kind: "json";
@@ -10661,8 +11002,8 @@ declare const apiOperations: {
10661
11002
  scheduleId: zod.ZodString;
10662
11003
  }, zod_v4_core.$strip>], "kind">;
10663
11004
  target: zod.ZodEnum<{
10664
- test: "test";
10665
11005
  live: "live";
11006
+ test: "test";
10666
11007
  dry_run: "dry_run";
10667
11008
  }>;
10668
11009
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10728,6 +11069,7 @@ declare const apiOperations: {
10728
11069
  readonly response: {
10729
11070
  readonly kind: "json";
10730
11071
  readonly schema: zod.ZodObject<{
11072
+ signInId: zod.ZodString;
10731
11073
  authorizationUrl: zod.ZodString;
10732
11074
  providerHost: zod.ZodString;
10733
11075
  scopes: zod.ZodArray<zod.ZodString>;
@@ -10742,6 +11084,32 @@ declare const apiOperations: {
10742
11084
  readonly response: readonly ["Operation-Run-Id", "Idempotent-Replayed"];
10743
11085
  };
10744
11086
  }>;
11087
+ readonly "connections.oauth_sign_in": Operation<{
11088
+ readonly id: "connections.oauth_sign_in";
11089
+ readonly method: "GET";
11090
+ readonly path: "/api/v1/connections/:name/oauth/sign-ins/:signInId";
11091
+ readonly summary: "Read whether a shared OAuth sign-in the caller started still waits for the browser to come back";
11092
+ readonly tag: "Connections";
11093
+ readonly auth: "user";
11094
+ readonly scope: "config_assets:read";
11095
+ readonly requires: readonly [];
11096
+ readonly effect: "reading";
11097
+ readonly response: {
11098
+ readonly kind: "json";
11099
+ readonly schema: zod.ZodObject<{
11100
+ state: zod.ZodEnum<{
11101
+ waiting: "waiting";
11102
+ ended: "ended";
11103
+ }>;
11104
+ }, zod_v4_core.$strip>;
11105
+ };
11106
+ readonly errors: readonly ["NOT_FOUND"];
11107
+ readonly rateClass: "read";
11108
+ } & {
11109
+ readonly headers: {
11110
+ readonly response: readonly ["Operation-Run-Id"];
11111
+ };
11112
+ }>;
10745
11113
  readonly "connections.oauth_complete": Operation<{
10746
11114
  readonly id: "connections.oauth_complete";
10747
11115
  readonly method: "GET";
@@ -10881,8 +11249,8 @@ declare const apiOperations: {
10881
11249
  scheduleId: zod.ZodString;
10882
11250
  }, zod_v4_core.$strip>], "kind">;
10883
11251
  target: zod.ZodEnum<{
10884
- test: "test";
10885
11252
  live: "live";
11253
+ test: "test";
10886
11254
  dry_run: "dry_run";
10887
11255
  }>;
10888
11256
  app: zod.ZodOptional<zod.ZodObject<{
@@ -10934,6 +11302,141 @@ declare const apiOperations: {
10934
11302
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
10935
11303
  };
10936
11304
  }>;
11305
+ readonly "connections.connector_types": Operation<{
11306
+ readonly id: "connections.connector_types";
11307
+ readonly method: "GET";
11308
+ readonly path: "/api/v1/connector-types";
11309
+ readonly summary: "List the Connector types a person who may make a Connection can connect from a form";
11310
+ readonly tag: "Connections";
11311
+ readonly auth: "principal";
11312
+ readonly scope: "config_assets:read";
11313
+ readonly requires: readonly [];
11314
+ readonly effect: "reading";
11315
+ readonly response: {
11316
+ readonly kind: "json";
11317
+ readonly schema: zod.ZodObject<{
11318
+ types: zod.ZodArray<zod.ZodObject<{
11319
+ type: zod.ZodString;
11320
+ title: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11321
+ en: zod.ZodOptional<zod.ZodString>;
11322
+ de: zod.ZodOptional<zod.ZodString>;
11323
+ }, zod_v4_core.$strict>]>;
11324
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11325
+ en: zod.ZodOptional<zod.ZodString>;
11326
+ de: zod.ZodOptional<zod.ZodString>;
11327
+ }, zod_v4_core.$strict>]>;
11328
+ service: zod.ZodOptional<zod.ZodString>;
11329
+ documentSource: zod.ZodBoolean;
11330
+ authScheme: zod.ZodString;
11331
+ settings: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
11332
+ fields: zod.ZodArray<zod.ZodObject<{
11333
+ label: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11334
+ en: zod.ZodOptional<zod.ZodString>;
11335
+ de: zod.ZodOptional<zod.ZodString>;
11336
+ }, zod_v4_core.$strict>]>;
11337
+ help: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11338
+ en: zod.ZodOptional<zod.ZodString>;
11339
+ de: zod.ZodOptional<zod.ZodString>;
11340
+ }, zod_v4_core.$strict>]>>;
11341
+ optional: zod.ZodBoolean;
11342
+ setting: zod.ZodOptional<zod.ZodString>;
11343
+ secret: zod.ZodBoolean;
11344
+ }, zod_v4_core.$strip>>;
11345
+ }, zod_v4_core.$strip>>;
11346
+ entries: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
11347
+ id: zod.ZodString;
11348
+ version: zod.ZodNumber;
11349
+ service: zod.ZodString;
11350
+ title: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11351
+ en: zod.ZodOptional<zod.ZodString>;
11352
+ de: zod.ZodOptional<zod.ZodString>;
11353
+ }, zod_v4_core.$strict>]>;
11354
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11355
+ en: zod.ZodOptional<zod.ZodString>;
11356
+ de: zod.ZodOptional<zod.ZodString>;
11357
+ }, zod_v4_core.$strict>]>;
11358
+ category: zod.ZodEnum<{
11359
+ mail: "mail";
11360
+ files: "files";
11361
+ accounting: "accounting";
11362
+ databases: "databases";
11363
+ other: "other";
11364
+ }>;
11365
+ examplePrompts: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11366
+ en: zod.ZodOptional<zod.ZodString>;
11367
+ de: zod.ZodOptional<zod.ZodString>;
11368
+ }, zod_v4_core.$strict>]>>;
11369
+ mark: zod.ZodObject<{
11370
+ color: zod.ZodOptional<zod.ZodString>;
11371
+ logo: zod.ZodOptional<zod.ZodString>;
11372
+ }, zod_v4_core.$strip>;
11373
+ offered: zod.ZodBoolean;
11374
+ parts: zod.ZodArray<zod.ZodObject<{
11375
+ part: zod.ZodEnum<{
11376
+ tools: "tools";
11377
+ source: "source";
11378
+ }>;
11379
+ connectorType: zod.ZodString;
11380
+ name: zod.ZodString;
11381
+ title: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11382
+ en: zod.ZodOptional<zod.ZodString>;
11383
+ de: zod.ZodOptional<zod.ZodString>;
11384
+ }, zod_v4_core.$strict>]>>;
11385
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11386
+ en: zod.ZodOptional<zod.ZodString>;
11387
+ de: zod.ZodOptional<zod.ZodString>;
11388
+ }, zod_v4_core.$strict>]>;
11389
+ authScheme: zod.ZodString;
11390
+ settings: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
11391
+ fields: zod.ZodArray<zod.ZodObject<{
11392
+ label: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11393
+ en: zod.ZodOptional<zod.ZodString>;
11394
+ de: zod.ZodOptional<zod.ZodString>;
11395
+ }, zod_v4_core.$strict>]>;
11396
+ help: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11397
+ en: zod.ZodOptional<zod.ZodString>;
11398
+ de: zod.ZodOptional<zod.ZodString>;
11399
+ }, zod_v4_core.$strict>]>>;
11400
+ optional: zod.ZodBoolean;
11401
+ setting: zod.ZodOptional<zod.ZodString>;
11402
+ secret: zod.ZodBoolean;
11403
+ default: zod.ZodOptional<zod.ZodString>;
11404
+ }, zod_v4_core.$strip>>;
11405
+ prerequisites: zod.ZodArray<zod.ZodObject<{
11406
+ text: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11407
+ en: zod.ZodOptional<zod.ZodString>;
11408
+ de: zod.ZodOptional<zod.ZodString>;
11409
+ }, zod_v4_core.$strict>]>;
11410
+ value: zod.ZodOptional<zod.ZodString>;
11411
+ }, zod_v4_core.$strip>>;
11412
+ hosts: zod.ZodArray<zod.ZodString>;
11413
+ operations: zod.ZodArray<zod.ZodObject<{
11414
+ name: zod.ZodString;
11415
+ title: zod.ZodOptional<zod.ZodString>;
11416
+ description: zod.ZodOptional<zod.ZodString>;
11417
+ effect: zod.ZodEnum<{
11418
+ reading: "reading";
11419
+ changing: "changing";
11420
+ }>;
11421
+ recommended: zod.ZodBoolean;
11422
+ declaration: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
11423
+ }, zod_v4_core.$strip>>;
11424
+ sharedAccountNote: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
11425
+ en: zod.ZodOptional<zod.ZodString>;
11426
+ de: zod.ZodOptional<zod.ZodString>;
11427
+ }, zod_v4_core.$strict>]>;
11428
+ documentSource: zod.ZodBoolean;
11429
+ }, zod_v4_core.$strip>>;
11430
+ }, zod_v4_core.$strip>>>;
11431
+ }, zod_v4_core.$strip>;
11432
+ };
11433
+ readonly errors: readonly [];
11434
+ readonly rateClass: "read";
11435
+ } & {
11436
+ readonly headers: {
11437
+ readonly response: readonly ["Operation-Run-Id"];
11438
+ };
11439
+ }>;
10937
11440
  readonly "connections.list_tools": Operation<{
10938
11441
  readonly id: "connections.list_tools";
10939
11442
  readonly method: "GET";
@@ -11141,8 +11644,8 @@ declare const apiOperations: {
11141
11644
  scheduleId: zod.ZodString;
11142
11645
  }, zod_v4_core.$strip>], "kind">;
11143
11646
  target: zod.ZodEnum<{
11144
- test: "test";
11145
11647
  live: "live";
11648
+ test: "test";
11146
11649
  dry_run: "dry_run";
11147
11650
  }>;
11148
11651
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11194,47 +11697,33 @@ declare const apiOperations: {
11194
11697
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
11195
11698
  };
11196
11699
  }>;
11197
- readonly "agents.try.open": Operation<{
11198
- readonly id: "agents.try.open";
11199
- readonly method: "POST";
11200
- readonly path: "/api/v1/agents/:name/try";
11201
- readonly summary: "Open the private Try conversation of this agent and person";
11700
+ readonly "agents.use.set": Operation<{
11701
+ readonly id: "agents.use.set";
11702
+ readonly method: "PUT";
11703
+ readonly path: "/api/v1/agents/:name/use";
11704
+ readonly summary: "Set who uses one agent where it is available: everyone, or holders of agent.use";
11202
11705
  readonly tag: "Agents";
11203
11706
  readonly auth: "user";
11204
11707
  readonly scope: "config_assets:write";
11205
11708
  readonly requires: readonly [];
11206
11709
  readonly effect: "changing";
11207
- readonly query: zod.ZodObject<{
11208
- workspaceId: zod.ZodOptional<zod.ZodString>;
11710
+ readonly body: zod.ZodObject<{
11711
+ use: zod.ZodEnum<{
11712
+ everyone: "everyone";
11713
+ granted: "granted";
11714
+ }>;
11715
+ expectedAssetId: zod.ZodOptional<zod.ZodString>;
11209
11716
  }, zod_v4_core.$strip>;
11210
11717
  readonly response: {
11211
11718
  readonly kind: "json";
11212
11719
  readonly schema: zod.ZodObject<{
11213
- conversation: zod.ZodObject<{
11214
- id: zod.ZodString;
11215
- clientInstanceId: zod.ZodString;
11216
- collaborationWorkspaceId: zod.ZodString;
11217
- createdByUserId: zod.ZodString;
11218
- createdByExternalUserId: zod.ZodString;
11219
- visibility: zod.ZodEnum<{
11220
- workspace: "workspace";
11221
- private: "private";
11222
- }>;
11223
- title: zod.ZodString;
11224
- status: zod.ZodString;
11225
- createdAt: zod.ZodISODateTime;
11226
- updatedAt: zod.ZodISODateTime;
11227
- retainedUntil: zod.ZodISODateTime;
11228
- deletedAt: zod.ZodOptional<zod.ZodISODateTime>;
11229
- subject: zod.ZodOptional<zod.ZodObject<{
11230
- kind: zod.ZodString;
11231
- name: zod.ZodString;
11232
- }, zod_v4_core.$strip>>;
11233
- }, zod_v4_core.$strip>;
11234
- preview: zod.ZodLiteral<true>;
11720
+ use: zod.ZodEnum<{
11721
+ everyone: "everyone";
11722
+ granted: "granted";
11723
+ }>;
11235
11724
  }, zod_v4_core.$strip>;
11236
11725
  };
11237
- readonly errors: readonly ["NOT_FOUND"];
11726
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
11238
11727
  readonly rateClass: "write";
11239
11728
  } & {
11240
11729
  readonly accepted: zod.ZodObject<{
@@ -11319,8 +11808,8 @@ declare const apiOperations: {
11319
11808
  scheduleId: zod.ZodString;
11320
11809
  }, zod_v4_core.$strip>], "kind">;
11321
11810
  target: zod.ZodEnum<{
11322
- test: "test";
11323
11811
  live: "live";
11812
+ test: "test";
11324
11813
  dry_run: "dry_run";
11325
11814
  }>;
11326
11815
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11372,58 +11861,236 @@ declare const apiOperations: {
11372
11861
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
11373
11862
  };
11374
11863
  }>;
11375
- readonly "assets.list": Operation<{
11376
- readonly id: "assets.list";
11377
- readonly method: "GET";
11378
- readonly path: "/api/v1/assets/:kind";
11379
- readonly summary: "List the assets of one kind the caller may read, by name";
11380
- readonly tag: "Assets";
11381
- readonly auth: "principal";
11382
- readonly scope: "config_assets:read";
11864
+ readonly "agents.try.open": Operation<{
11865
+ readonly id: "agents.try.open";
11866
+ readonly method: "POST";
11867
+ readonly path: "/api/v1/agents/:name/try";
11868
+ readonly summary: "Open the private Try conversation of this agent and person";
11869
+ readonly tag: "Agents";
11870
+ readonly auth: "user";
11871
+ readonly scope: "config_assets:write";
11383
11872
  readonly requires: readonly [];
11384
- readonly effect: "reading";
11873
+ readonly effect: "changing";
11385
11874
  readonly query: zod.ZodObject<{
11386
- limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
11387
- cursor: zod.ZodOptional<zod.ZodString>;
11388
- prefix: zod.ZodOptional<zod.ZodString>;
11389
- text: zod.ZodOptional<zod.ZodString>;
11390
11875
  workspaceId: zod.ZodOptional<zod.ZodString>;
11391
- locale: zod.ZodOptional<zod.ZodString>;
11392
11876
  }, zod_v4_core.$strip>;
11393
11877
  readonly response: {
11394
- readonly kind: "page";
11878
+ readonly kind: "json";
11395
11879
  readonly schema: zod.ZodObject<{
11396
- items: zod.ZodArray<zod.ZodObject<{
11397
- isDefault: zod.ZodOptional<zod.ZodLiteral<true>>;
11398
- attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodString, zod.ZodBoolean]>>>;
11399
- allowed: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11400
- publish: "publish";
11401
- read: "read";
11402
- write: "write";
11403
- delete: "delete";
11404
- }>>>;
11405
- updatedAt: zod.ZodISODateTime;
11406
- agentDraft: zod.ZodOptional<zod.ZodObject<{
11407
- revision: zod.ZodNumber;
11408
- baseRevision: zod.ZodNumber;
11409
- author: zod.ZodObject<{
11410
- userId: zod.ZodOptional<zod.ZodString>;
11411
- displayLabel: zod.ZodOptional<zod.ZodString>;
11412
- conversationId: zod.ZodOptional<zod.ZodString>;
11413
- release: zod.ZodBoolean;
11414
- }, zod_v4_core.$strip>;
11415
- updatedAt: zod.ZodISODateTime;
11416
- }, zod_v4_core.$strip>>;
11417
- draftRevision: zod.ZodOptional<zod.ZodNumber>;
11418
- publishedRevision: zod.ZodOptional<zod.ZodNumber>;
11880
+ conversation: zod.ZodObject<{
11419
11881
  id: zod.ZodString;
11420
- kind: zod.ZodString;
11421
- name: zod.ZodString;
11422
- title: zod.ZodString;
11423
- description: zod.ZodOptional<zod.ZodString>;
11424
- scope: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
11425
- kind: zod.ZodLiteral<"instance">;
11426
- }, zod_v4_core.$strip>, zod.ZodObject<{
11882
+ clientInstanceId: zod.ZodString;
11883
+ collaborationWorkspaceId: zod.ZodString;
11884
+ createdByUserId: zod.ZodString;
11885
+ createdByExternalUserId: zod.ZodString;
11886
+ visibility: zod.ZodEnum<{
11887
+ workspace: "workspace";
11888
+ private: "private";
11889
+ }>;
11890
+ title: zod.ZodString;
11891
+ status: zod.ZodString;
11892
+ createdAt: zod.ZodISODateTime;
11893
+ updatedAt: zod.ZodISODateTime;
11894
+ retainedUntil: zod.ZodISODateTime;
11895
+ deletedAt: zod.ZodOptional<zod.ZodISODateTime>;
11896
+ subject: zod.ZodOptional<zod.ZodObject<{
11897
+ kind: zod.ZodString;
11898
+ name: zod.ZodString;
11899
+ }, zod_v4_core.$strip>>;
11900
+ }, zod_v4_core.$strip>;
11901
+ preview: zod.ZodLiteral<true>;
11902
+ }, zod_v4_core.$strip>;
11903
+ };
11904
+ readonly errors: readonly ["NOT_FOUND"];
11905
+ readonly rateClass: "write";
11906
+ } & {
11907
+ readonly accepted: zod.ZodObject<{
11908
+ id: zod.ZodString;
11909
+ operation: zod.ZodString;
11910
+ effect: zod.ZodEnum<{
11911
+ reading: "reading";
11912
+ changing: "changing";
11913
+ }>;
11914
+ status: zod.ZodEnum<{
11915
+ failed: "failed";
11916
+ running: "running";
11917
+ pending_confirmation: "pending_confirmation";
11918
+ pending_approval: "pending_approval";
11919
+ done: "done";
11920
+ denied: "denied";
11921
+ expired: "expired";
11922
+ }>;
11923
+ actor: zod.ZodObject<{
11924
+ kind: zod.ZodEnum<{
11925
+ user: "user";
11926
+ service_principal: "service_principal";
11927
+ }>;
11928
+ id: zod.ZodString;
11929
+ label: zod.ZodString;
11930
+ }, zod_v4_core.$strip>;
11931
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
11932
+ kind: zod.ZodLiteral<"agent">;
11933
+ agentRunId: zod.ZodString;
11934
+ conversationId: zod.ZodString;
11935
+ agentName: zod.ZodString;
11936
+ toolCallId: zod.ZodString;
11937
+ toolName: zod.ZodString;
11938
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
11939
+ boundBy: zod.ZodOptional<zod.ZodObject<{
11940
+ id: zod.ZodString;
11941
+ label: zod.ZodString;
11942
+ }, zod_v4_core.$strip>>;
11943
+ draft: zod.ZodOptional<zod.ZodObject<{
11944
+ kind: zod.ZodLiteral<"agent_preview">;
11945
+ asset: zod.ZodObject<{
11946
+ kind: zod.ZodString;
11947
+ id: zod.ZodString;
11948
+ name: zod.ZodString;
11949
+ }, zod_v4_core.$strip>;
11950
+ revisionId: zod.ZodString;
11951
+ part: zod.ZodString;
11952
+ }, zod_v4_core.$strip>>;
11953
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11954
+ kind: zod.ZodLiteral<"user">;
11955
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11956
+ kind: zod.ZodLiteral<"cli">;
11957
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
11958
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11959
+ kind: zod.ZodLiteral<"mcp">;
11960
+ clientName: zod.ZodOptional<zod.ZodString>;
11961
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11962
+ kind: zod.ZodLiteral<"app">;
11963
+ appName: zod.ZodOptional<zod.ZodString>;
11964
+ appRevisionId: zod.ZodString;
11965
+ actionName: zod.ZodString;
11966
+ pageSessionId: zod.ZodString;
11967
+ conversationId: zod.ZodOptional<zod.ZodString>;
11968
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
11969
+ connection: zod.ZodString;
11970
+ operation: zod.ZodString;
11971
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11972
+ dataStore: zod.ZodString;
11973
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11974
+ workflow: zod.ZodString;
11975
+ }, zod_v4_core.$strip>]>>;
11976
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11977
+ kind: zod.ZodLiteral<"workflow">;
11978
+ workflowRunId: zod.ZodString;
11979
+ stepRunId: zod.ZodString;
11980
+ boundBy: zod.ZodOptional<zod.ZodObject<{
11981
+ id: zod.ZodString;
11982
+ label: zod.ZodString;
11983
+ }, zod_v4_core.$strip>>;
11984
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11985
+ kind: zod.ZodLiteral<"schedule">;
11986
+ scheduleId: zod.ZodString;
11987
+ }, zod_v4_core.$strip>], "kind">;
11988
+ target: zod.ZodEnum<{
11989
+ live: "live";
11990
+ test: "test";
11991
+ dry_run: "dry_run";
11992
+ }>;
11993
+ app: zod.ZodOptional<zod.ZodObject<{
11994
+ title: zod.ZodOptional<zod.ZodString>;
11995
+ revision: zod.ZodOptional<zod.ZodNumber>;
11996
+ deleted: zod.ZodBoolean;
11997
+ }, zod_v4_core.$strip>>;
11998
+ workspaceId: zod.ZodOptional<zod.ZodString>;
11999
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
12000
+ inputHash: zod.ZodString;
12001
+ attempt: zod.ZodNumber;
12002
+ decision: zod.ZodOptional<zod.ZodObject<{
12003
+ mode: zod.ZodEnum<{
12004
+ direct: "direct";
12005
+ confirmed: "confirmed";
12006
+ approved: "approved";
12007
+ declined: "declined";
12008
+ }>;
12009
+ reason: zod.ZodOptional<zod.ZodEnum<{
12010
+ inherited_approval_not_applied: "inherited_approval_not_applied";
12011
+ workflow_publish: "workflow_publish";
12012
+ approved_by_caller: "approved_by_caller";
12013
+ }>>;
12014
+ by: zod.ZodString;
12015
+ byLabel: zod.ZodOptional<zod.ZodString>;
12016
+ at: zod.ZodISODateTime;
12017
+ comment: zod.ZodOptional<zod.ZodString>;
12018
+ }, zod_v4_core.$strip>>;
12019
+ error: zod.ZodOptional<zod.ZodObject<{
12020
+ code: zod.ZodString;
12021
+ message: zod.ZodString;
12022
+ reason: zod.ZodOptional<zod.ZodString>;
12023
+ }, zod_v4_core.$strip>>;
12024
+ usage: zod.ZodOptional<zod.ZodObject<{
12025
+ modelCalls: zod.ZodNumber;
12026
+ inputTokens: zod.ZodNumber;
12027
+ outputTokens: zod.ZodNumber;
12028
+ totalTokens: zod.ZodNumber;
12029
+ }, zod_v4_core.$strip>>;
12030
+ correlationId: zod.ZodString;
12031
+ createdAt: zod.ZodISODateTime;
12032
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
12033
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
12034
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
12035
+ href: zod.ZodString;
12036
+ }, zod_v4_core.$strip>;
12037
+ readonly headers: {
12038
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
12039
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
12040
+ };
12041
+ }>;
12042
+ readonly "assets.list": Operation<{
12043
+ readonly id: "assets.list";
12044
+ readonly method: "GET";
12045
+ readonly path: "/api/v1/assets/:kind";
12046
+ readonly summary: "List the assets of one kind the caller may read, by name";
12047
+ readonly tag: "Assets";
12048
+ readonly auth: "principal";
12049
+ readonly scope: "config_assets:read";
12050
+ readonly requires: readonly [];
12051
+ readonly effect: "reading";
12052
+ readonly query: zod.ZodObject<{
12053
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
12054
+ cursor: zod.ZodOptional<zod.ZodString>;
12055
+ prefix: zod.ZodOptional<zod.ZodString>;
12056
+ text: zod.ZodOptional<zod.ZodString>;
12057
+ workspaceId: zod.ZodOptional<zod.ZodString>;
12058
+ locale: zod.ZodOptional<zod.ZodString>;
12059
+ }, zod_v4_core.$strip>;
12060
+ readonly response: {
12061
+ readonly kind: "page";
12062
+ readonly schema: zod.ZodObject<{
12063
+ items: zod.ZodArray<zod.ZodObject<{
12064
+ isDefault: zod.ZodOptional<zod.ZodLiteral<true>>;
12065
+ attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodString, zod.ZodBoolean]>>>;
12066
+ allowed: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12067
+ read: "read";
12068
+ write: "write";
12069
+ delete: "delete";
12070
+ publish: "publish";
12071
+ }>>>;
12072
+ updatedAt: zod.ZodISODateTime;
12073
+ agentDraft: zod.ZodOptional<zod.ZodObject<{
12074
+ revision: zod.ZodNumber;
12075
+ baseRevision: zod.ZodNumber;
12076
+ author: zod.ZodObject<{
12077
+ userId: zod.ZodOptional<zod.ZodString>;
12078
+ displayLabel: zod.ZodOptional<zod.ZodString>;
12079
+ conversationId: zod.ZodOptional<zod.ZodString>;
12080
+ release: zod.ZodBoolean;
12081
+ }, zod_v4_core.$strip>;
12082
+ updatedAt: zod.ZodISODateTime;
12083
+ }, zod_v4_core.$strip>>;
12084
+ draftRevision: zod.ZodOptional<zod.ZodNumber>;
12085
+ publishedRevision: zod.ZodOptional<zod.ZodNumber>;
12086
+ id: zod.ZodString;
12087
+ kind: zod.ZodString;
12088
+ name: zod.ZodString;
12089
+ title: zod.ZodString;
12090
+ description: zod.ZodOptional<zod.ZodString>;
12091
+ scope: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
12092
+ kind: zod.ZodLiteral<"instance">;
12093
+ }, zod_v4_core.$strip>, zod.ZodObject<{
11427
12094
  kind: zod.ZodLiteral<"workspace">;
11428
12095
  workspaceId: zod.ZodString;
11429
12096
  }, zod_v4_core.$strip>], "kind">;
@@ -11584,8 +12251,8 @@ declare const apiOperations: {
11584
12251
  scheduleId: zod.ZodString;
11585
12252
  }, zod_v4_core.$strip>], "kind">;
11586
12253
  target: zod.ZodEnum<{
11587
- test: "test";
11588
12254
  live: "live";
12255
+ test: "test";
11589
12256
  dry_run: "dry_run";
11590
12257
  }>;
11591
12258
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11788,8 +12455,8 @@ declare const apiOperations: {
11788
12455
  scheduleId: zod.ZodString;
11789
12456
  }, zod_v4_core.$strip>], "kind">;
11790
12457
  target: zod.ZodEnum<{
11791
- test: "test";
11792
12458
  live: "live";
12459
+ test: "test";
11793
12460
  dry_run: "dry_run";
11794
12461
  }>;
11795
12462
  app: zod.ZodOptional<zod.ZodObject<{
@@ -11969,8 +12636,8 @@ declare const apiOperations: {
11969
12636
  availabilityWorkspaceIds: zod.ZodOptional<zod.ZodString>;
11970
12637
  audience: zod.ZodOptional<zod.ZodEnum<{
11971
12638
  instance: "instance";
11972
- workspace: "workspace";
11973
12639
  self: "self";
12640
+ workspace: "workspace";
11974
12641
  }>>;
11975
12642
  revision: zod.ZodOptional<zod.ZodString>;
11976
12643
  files: zod.ZodOptional<zod.ZodEnum<{
@@ -11986,9 +12653,9 @@ declare const apiOperations: {
11986
12653
  stepFacts: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
11987
12654
  source: zod.ZodOptional<zod.ZodObject<{
11988
12655
  kind: zod.ZodEnum<{
11989
- connection: "connection";
11990
- other: "other";
11991
12656
  workflow: "workflow";
12657
+ other: "other";
12658
+ connection: "connection";
11992
12659
  data_store: "data_store";
11993
12660
  knowledge_base: "knowledge_base";
11994
12661
  }>;
@@ -12011,9 +12678,9 @@ declare const apiOperations: {
12011
12678
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
12012
12679
  source: zod.ZodObject<{
12013
12680
  kind: zod.ZodEnum<{
12014
- connection: "connection";
12015
- other: "other";
12016
12681
  workflow: "workflow";
12682
+ other: "other";
12683
+ connection: "connection";
12017
12684
  data_store: "data_store";
12018
12685
  knowledge_base: "knowledge_base";
12019
12686
  }>;
@@ -12040,20 +12707,20 @@ declare const apiOperations: {
12040
12707
  appAudience: zod.ZodOptional<zod.ZodObject<{
12041
12708
  selected: zod.ZodEnum<{
12042
12709
  instance: "instance";
12043
- workspace: "workspace";
12044
12710
  self: "self";
12711
+ workspace: "workspace";
12045
12712
  }>;
12046
12713
  live: zod.ZodOptional<zod.ZodEnum<{
12047
12714
  instance: "instance";
12048
- workspace: "workspace";
12049
12715
  self: "self";
12716
+ workspace: "workspace";
12050
12717
  }>>;
12051
12718
  liveLabel: zod.ZodOptional<zod.ZodString>;
12052
12719
  people: zod.ZodOptional<zod.ZodNumber>;
12053
12720
  choices: zod.ZodArray<zod.ZodEnum<{
12054
12721
  instance: "instance";
12055
- workspace: "workspace";
12056
12722
  self: "self";
12723
+ workspace: "workspace";
12057
12724
  }>>;
12058
12725
  label: zod.ZodString;
12059
12726
  workspaceName: zod.ZodOptional<zod.ZodString>;
@@ -12102,6 +12769,10 @@ declare const apiOperations: {
12102
12769
  administrators: zod.ZodArray<zod.ZodString>;
12103
12770
  }, zod_v4_core.$strip>>;
12104
12771
  canSetAvailability: zod.ZodOptional<zod.ZodBoolean>;
12772
+ agentUse: zod.ZodOptional<zod.ZodEnum<{
12773
+ everyone: "everyone";
12774
+ granted: "granted";
12775
+ }>>;
12105
12776
  unavailableTools: zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
12106
12777
  name: zod.ZodString;
12107
12778
  reason: zod.ZodLiteral<"module_off">;
@@ -12125,10 +12796,10 @@ declare const apiOperations: {
12125
12796
  }, zod_v4_core.$strip>>>;
12126
12797
  chatAvailable: zod.ZodOptional<zod.ZodBoolean>;
12127
12798
  allowed: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12128
- publish: "publish";
12129
12799
  read: "read";
12130
12800
  write: "write";
12131
12801
  delete: "delete";
12802
+ publish: "publish";
12132
12803
  }>>>;
12133
12804
  saveApproval: zod.ZodOptional<zod.ZodObject<{
12134
12805
  approverNames: zod.ZodArray<zod.ZodString>;
@@ -12309,8 +12980,8 @@ declare const apiOperations: {
12309
12980
  scheduleId: zod.ZodString;
12310
12981
  }, zod_v4_core.$strip>], "kind">;
12311
12982
  target: zod.ZodEnum<{
12312
- test: "test";
12313
12983
  live: "live";
12984
+ test: "test";
12314
12985
  dry_run: "dry_run";
12315
12986
  }>;
12316
12987
  app: zod.ZodOptional<zod.ZodObject<{
@@ -12384,12 +13055,16 @@ declare const apiOperations: {
12384
13055
  }, zod_v4_core.$strip>>>;
12385
13056
  audience: zod.ZodOptional<zod.ZodEnum<{
12386
13057
  instance: "instance";
12387
- workspace: "workspace";
12388
13058
  self: "self";
13059
+ workspace: "workspace";
12389
13060
  }>>;
12390
13061
  confirmProcessing: zod.ZodOptional<zod.ZodString>;
12391
13062
  revision: zod.ZodNumber;
12392
13063
  workspaceId: zod.ZodOptional<zod.ZodString>;
13064
+ workflows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
13065
+ name: zod.ZodString;
13066
+ revision: zod.ZodNumber;
13067
+ }, zod_v4_core.$strict>>>;
12393
13068
  }, zod_v4_core.$strip>;
12394
13069
  readonly response: {
12395
13070
  readonly kind: "json";
@@ -12397,6 +13072,12 @@ declare const apiOperations: {
12397
13072
  draftRevision: zod.ZodNumber;
12398
13073
  publishedRevision: zod.ZodNumber;
12399
13074
  replacedRevision: zod.ZodOptional<zod.ZodNumber>;
13075
+ publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
13076
+ kind: zod.ZodLiteral<"workflow">;
13077
+ name: zod.ZodString;
13078
+ publishedRevision: zod.ZodNumber;
13079
+ replacedRevision: zod.ZodOptional<zod.ZodNumber>;
13080
+ }, zod_v4_core.$strip>>>;
12400
13081
  }, zod_v4_core.$strip>;
12401
13082
  };
12402
13083
  readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED", "CONFLICT", "PRECONDITION_REQUIRED"];
@@ -12484,8 +13165,8 @@ declare const apiOperations: {
12484
13165
  scheduleId: zod.ZodString;
12485
13166
  }, zod_v4_core.$strip>], "kind">;
12486
13167
  target: zod.ZodEnum<{
12487
- test: "test";
12488
13168
  live: "live";
13169
+ test: "test";
12489
13170
  dry_run: "dry_run";
12490
13171
  }>;
12491
13172
  app: zod.ZodOptional<zod.ZodObject<{
@@ -12557,6 +13238,12 @@ declare const apiOperations: {
12557
13238
  draftRevision: zod.ZodNumber;
12558
13239
  publishedRevision: zod.ZodNumber;
12559
13240
  replacedRevision: zod.ZodOptional<zod.ZodNumber>;
13241
+ publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
13242
+ kind: zod.ZodLiteral<"workflow">;
13243
+ name: zod.ZodString;
13244
+ publishedRevision: zod.ZodNumber;
13245
+ replacedRevision: zod.ZodOptional<zod.ZodNumber>;
13246
+ }, zod_v4_core.$strip>>>;
12560
13247
  }, zod_v4_core.$strip>;
12561
13248
  };
12562
13249
  readonly errors: readonly ["NOT_FOUND", "REVISION_CONFLICT", "PRECONDITION_REQUIRED"];
@@ -12644,8 +13331,8 @@ declare const apiOperations: {
12644
13331
  scheduleId: zod.ZodString;
12645
13332
  }, zod_v4_core.$strip>], "kind">;
12646
13333
  target: zod.ZodEnum<{
12647
- test: "test";
12648
13334
  live: "live";
13335
+ test: "test";
12649
13336
  dry_run: "dry_run";
12650
13337
  }>;
12651
13338
  app: zod.ZodOptional<zod.ZodObject<{
@@ -12804,8 +13491,8 @@ declare const apiOperations: {
12804
13491
  scheduleId: zod.ZodString;
12805
13492
  }, zod_v4_core.$strip>], "kind">;
12806
13493
  target: zod.ZodEnum<{
12807
- test: "test";
12808
13494
  live: "live";
13495
+ test: "test";
12809
13496
  dry_run: "dry_run";
12810
13497
  }>;
12811
13498
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13006,8 +13693,8 @@ declare const apiOperations: {
13006
13693
  scheduleId: zod.ZodString;
13007
13694
  }, zod_v4_core.$strip>], "kind">;
13008
13695
  target: zod.ZodEnum<{
13009
- test: "test";
13010
13696
  live: "live";
13697
+ test: "test";
13011
13698
  dry_run: "dry_run";
13012
13699
  }>;
13013
13700
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13184,8 +13871,8 @@ declare const apiOperations: {
13184
13871
  scheduleId: zod.ZodString;
13185
13872
  }, zod_v4_core.$strip>], "kind">;
13186
13873
  target: zod.ZodEnum<{
13187
- test: "test";
13188
13874
  live: "live";
13875
+ test: "test";
13189
13876
  dry_run: "dry_run";
13190
13877
  }>;
13191
13878
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13435,8 +14122,8 @@ declare const apiOperations: {
13435
14122
  scheduleId: zod.ZodString;
13436
14123
  }, zod_v4_core.$strip>], "kind">;
13437
14124
  target: zod.ZodEnum<{
13438
- test: "test";
13439
14125
  live: "live";
14126
+ test: "test";
13440
14127
  dry_run: "dry_run";
13441
14128
  }>;
13442
14129
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13551,11 +14238,11 @@ declare const apiOperations: {
13551
14238
  }, zod_v4_core.$strip>>;
13552
14239
  group: zod.ZodOptional<zod.ZodEnum<{
13553
14240
  instance: "instance";
13554
- skills: "skills";
13555
14241
  files: "files";
13556
14242
  documents: "documents";
13557
14243
  web: "web";
13558
14244
  results: "results";
14245
+ skills: "skills";
13559
14246
  platform: "platform";
13560
14247
  }>>;
13561
14248
  icon: zod.ZodOptional<zod.ZodString>;
@@ -13731,8 +14418,8 @@ declare const apiOperations: {
13731
14418
  scheduleId: zod.ZodString;
13732
14419
  }, zod_v4_core.$strip>], "kind">;
13733
14420
  target: zod.ZodEnum<{
13734
- test: "test";
13735
14421
  live: "live";
14422
+ test: "test";
13736
14423
  dry_run: "dry_run";
13737
14424
  }>;
13738
14425
  app: zod.ZodOptional<zod.ZodObject<{
@@ -13897,8 +14584,167 @@ declare const apiOperations: {
13897
14584
  scheduleId: zod.ZodString;
13898
14585
  }, zod_v4_core.$strip>], "kind">;
13899
14586
  target: zod.ZodEnum<{
14587
+ live: "live";
13900
14588
  test: "test";
14589
+ dry_run: "dry_run";
14590
+ }>;
14591
+ app: zod.ZodOptional<zod.ZodObject<{
14592
+ title: zod.ZodOptional<zod.ZodString>;
14593
+ revision: zod.ZodOptional<zod.ZodNumber>;
14594
+ deleted: zod.ZodBoolean;
14595
+ }, zod_v4_core.$strip>>;
14596
+ workspaceId: zod.ZodOptional<zod.ZodString>;
14597
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
14598
+ inputHash: zod.ZodString;
14599
+ attempt: zod.ZodNumber;
14600
+ decision: zod.ZodOptional<zod.ZodObject<{
14601
+ mode: zod.ZodEnum<{
14602
+ direct: "direct";
14603
+ confirmed: "confirmed";
14604
+ approved: "approved";
14605
+ declined: "declined";
14606
+ }>;
14607
+ reason: zod.ZodOptional<zod.ZodEnum<{
14608
+ inherited_approval_not_applied: "inherited_approval_not_applied";
14609
+ workflow_publish: "workflow_publish";
14610
+ approved_by_caller: "approved_by_caller";
14611
+ }>>;
14612
+ by: zod.ZodString;
14613
+ byLabel: zod.ZodOptional<zod.ZodString>;
14614
+ at: zod.ZodISODateTime;
14615
+ comment: zod.ZodOptional<zod.ZodString>;
14616
+ }, zod_v4_core.$strip>>;
14617
+ error: zod.ZodOptional<zod.ZodObject<{
14618
+ code: zod.ZodString;
14619
+ message: zod.ZodString;
14620
+ reason: zod.ZodOptional<zod.ZodString>;
14621
+ }, zod_v4_core.$strip>>;
14622
+ usage: zod.ZodOptional<zod.ZodObject<{
14623
+ modelCalls: zod.ZodNumber;
14624
+ inputTokens: zod.ZodNumber;
14625
+ outputTokens: zod.ZodNumber;
14626
+ totalTokens: zod.ZodNumber;
14627
+ }, zod_v4_core.$strip>>;
14628
+ correlationId: zod.ZodString;
14629
+ createdAt: zod.ZodISODateTime;
14630
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
14631
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
14632
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
14633
+ href: zod.ZodString;
14634
+ }, zod_v4_core.$strip>;
14635
+ readonly headers: {
14636
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
14637
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
14638
+ };
14639
+ }>;
14640
+ readonly "apps.allow_draft_host": Operation<{
14641
+ readonly id: "apps.allow_draft_host";
14642
+ readonly method: "POST";
14643
+ readonly path: "/api/v1/apps/draft-hosts";
14644
+ readonly summary: "Allow an outside host a draft lists for the caller's own view of that draft, before it is published";
14645
+ readonly tag: "Apps";
14646
+ readonly auth: "user";
14647
+ readonly scope: "config_assets:write";
14648
+ readonly requires: readonly [];
14649
+ readonly effect: "changing";
14650
+ readonly body: zod.ZodObject<{
14651
+ fileSetId: zod.ZodString;
14652
+ host: zod.ZodString;
14653
+ }, zod_v4_core.$strict>;
14654
+ readonly response: {
14655
+ readonly kind: "json";
14656
+ readonly schema: zod.ZodObject<{
14657
+ host: zod.ZodString;
14658
+ allowed: zod.ZodLiteral<true>;
14659
+ }, zod_v4_core.$strip>;
14660
+ };
14661
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "VALIDATION_FAILED"];
14662
+ readonly rateClass: "write";
14663
+ } & {
14664
+ readonly accepted: zod.ZodObject<{
14665
+ id: zod.ZodString;
14666
+ operation: zod.ZodString;
14667
+ effect: zod.ZodEnum<{
14668
+ reading: "reading";
14669
+ changing: "changing";
14670
+ }>;
14671
+ status: zod.ZodEnum<{
14672
+ failed: "failed";
14673
+ running: "running";
14674
+ pending_confirmation: "pending_confirmation";
14675
+ pending_approval: "pending_approval";
14676
+ done: "done";
14677
+ denied: "denied";
14678
+ expired: "expired";
14679
+ }>;
14680
+ actor: zod.ZodObject<{
14681
+ kind: zod.ZodEnum<{
14682
+ user: "user";
14683
+ service_principal: "service_principal";
14684
+ }>;
14685
+ id: zod.ZodString;
14686
+ label: zod.ZodString;
14687
+ }, zod_v4_core.$strip>;
14688
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
14689
+ kind: zod.ZodLiteral<"agent">;
14690
+ agentRunId: zod.ZodString;
14691
+ conversationId: zod.ZodString;
14692
+ agentName: zod.ZodString;
14693
+ toolCallId: zod.ZodString;
14694
+ toolName: zod.ZodString;
14695
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
14696
+ boundBy: zod.ZodOptional<zod.ZodObject<{
14697
+ id: zod.ZodString;
14698
+ label: zod.ZodString;
14699
+ }, zod_v4_core.$strip>>;
14700
+ draft: zod.ZodOptional<zod.ZodObject<{
14701
+ kind: zod.ZodLiteral<"agent_preview">;
14702
+ asset: zod.ZodObject<{
14703
+ kind: zod.ZodString;
14704
+ id: zod.ZodString;
14705
+ name: zod.ZodString;
14706
+ }, zod_v4_core.$strip>;
14707
+ revisionId: zod.ZodString;
14708
+ part: zod.ZodString;
14709
+ }, zod_v4_core.$strip>>;
14710
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14711
+ kind: zod.ZodLiteral<"user">;
14712
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14713
+ kind: zod.ZodLiteral<"cli">;
14714
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
14715
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14716
+ kind: zod.ZodLiteral<"mcp">;
14717
+ clientName: zod.ZodOptional<zod.ZodString>;
14718
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14719
+ kind: zod.ZodLiteral<"app">;
14720
+ appName: zod.ZodOptional<zod.ZodString>;
14721
+ appRevisionId: zod.ZodString;
14722
+ actionName: zod.ZodString;
14723
+ pageSessionId: zod.ZodString;
14724
+ conversationId: zod.ZodOptional<zod.ZodString>;
14725
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
14726
+ connection: zod.ZodString;
14727
+ operation: zod.ZodString;
14728
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14729
+ dataStore: zod.ZodString;
14730
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14731
+ workflow: zod.ZodString;
14732
+ }, zod_v4_core.$strip>]>>;
14733
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14734
+ kind: zod.ZodLiteral<"workflow">;
14735
+ workflowRunId: zod.ZodString;
14736
+ stepRunId: zod.ZodString;
14737
+ boundBy: zod.ZodOptional<zod.ZodObject<{
14738
+ id: zod.ZodString;
14739
+ label: zod.ZodString;
14740
+ }, zod_v4_core.$strip>>;
14741
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14742
+ kind: zod.ZodLiteral<"schedule">;
14743
+ scheduleId: zod.ZodString;
14744
+ }, zod_v4_core.$strip>], "kind">;
14745
+ target: zod.ZodEnum<{
13901
14746
  live: "live";
14747
+ test: "test";
13902
14748
  dry_run: "dry_run";
13903
14749
  }>;
13904
14750
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14014,6 +14860,10 @@ declare const apiOperations: {
14014
14860
  fileSetId: zod.ZodString;
14015
14861
  number: zod.ZodNumber;
14016
14862
  pageSessionId: zod.ZodString;
14863
+ draftHosts: zod.ZodOptional<zod.ZodObject<{
14864
+ allowable: zod.ZodArray<zod.ZodString>;
14865
+ readsData: zod.ZodBoolean;
14866
+ }, zod_v4_core.$strip>>;
14017
14867
  unassignedScopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
14018
14868
  revision: zod.ZodNumber;
14019
14869
  interfacePath: zod.ZodString;
@@ -14023,6 +14873,269 @@ declare const apiOperations: {
14023
14873
  readonly errors: readonly ["NOT_FOUND"];
14024
14874
  readonly rateClass: "read";
14025
14875
  }>;
14876
+ readonly "apps.try_action": Operation<{
14877
+ readonly id: "apps.try_action";
14878
+ readonly method: "POST";
14879
+ readonly path: "/api/v1/apps/:app/draft-actions/:action/tries";
14880
+ readonly summary: "Try one action of an App's draft as its button does: reads read, changes are simulated, and a workflow action starts a test run";
14881
+ readonly tag: "Apps";
14882
+ readonly auth: "user";
14883
+ readonly scope: "config_assets:write";
14884
+ readonly requires: readonly [];
14885
+ readonly effect: "changing";
14886
+ readonly body: zod.ZodObject<{
14887
+ input: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
14888
+ }, zod_v4_core.$strict>;
14889
+ readonly response: {
14890
+ readonly kind: "json";
14891
+ readonly schema: zod.ZodObject<{
14892
+ operationRunId: zod.ZodOptional<zod.ZodString>;
14893
+ status: zod.ZodEnum<{
14894
+ dry_run: "dry_run";
14895
+ pending_approval: "pending_approval";
14896
+ done: "done";
14897
+ }>;
14898
+ target: zod.ZodOptional<zod.ZodEnum<{
14899
+ live: "live";
14900
+ test: "test";
14901
+ dry_run: "dry_run";
14902
+ }>>;
14903
+ result: zod.ZodOptional<zod.ZodUnknown>;
14904
+ message: zod.ZodOptional<zod.ZodString>;
14905
+ workflowRun: zod.ZodOptional<zod.ZodObject<{
14906
+ runId: zod.ZodString;
14907
+ workflow: zod.ZodString;
14908
+ status: zod.ZodEnum<{
14909
+ failed: "failed";
14910
+ running: "running";
14911
+ done: "done";
14912
+ queued: "queued";
14913
+ cancelled: "cancelled";
14914
+ continued: "continued";
14915
+ waiting: "waiting";
14916
+ limit_reached: "limit_reached";
14917
+ }>;
14918
+ revision: zod.ZodObject<{
14919
+ kind: zod.ZodEnum<{
14920
+ draft: "draft";
14921
+ published: "published";
14922
+ }>;
14923
+ number: zod.ZodOptional<zod.ZodNumber>;
14924
+ }, zod_v4_core.$strip>;
14925
+ }, zod_v4_core.$strip>>;
14926
+ }, zod_v4_core.$strip>;
14927
+ };
14928
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT", "TIMEOUT", "VALIDATION_FAILED"];
14929
+ readonly rateClass: "write";
14930
+ } & {
14931
+ readonly accepted: zod.ZodObject<{
14932
+ id: zod.ZodString;
14933
+ operation: zod.ZodString;
14934
+ effect: zod.ZodEnum<{
14935
+ reading: "reading";
14936
+ changing: "changing";
14937
+ }>;
14938
+ status: zod.ZodEnum<{
14939
+ failed: "failed";
14940
+ running: "running";
14941
+ pending_confirmation: "pending_confirmation";
14942
+ pending_approval: "pending_approval";
14943
+ done: "done";
14944
+ denied: "denied";
14945
+ expired: "expired";
14946
+ }>;
14947
+ actor: zod.ZodObject<{
14948
+ kind: zod.ZodEnum<{
14949
+ user: "user";
14950
+ service_principal: "service_principal";
14951
+ }>;
14952
+ id: zod.ZodString;
14953
+ label: zod.ZodString;
14954
+ }, zod_v4_core.$strip>;
14955
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
14956
+ kind: zod.ZodLiteral<"agent">;
14957
+ agentRunId: zod.ZodString;
14958
+ conversationId: zod.ZodString;
14959
+ agentName: zod.ZodString;
14960
+ toolCallId: zod.ZodString;
14961
+ toolName: zod.ZodString;
14962
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
14963
+ boundBy: zod.ZodOptional<zod.ZodObject<{
14964
+ id: zod.ZodString;
14965
+ label: zod.ZodString;
14966
+ }, zod_v4_core.$strip>>;
14967
+ draft: zod.ZodOptional<zod.ZodObject<{
14968
+ kind: zod.ZodLiteral<"agent_preview">;
14969
+ asset: zod.ZodObject<{
14970
+ kind: zod.ZodString;
14971
+ id: zod.ZodString;
14972
+ name: zod.ZodString;
14973
+ }, zod_v4_core.$strip>;
14974
+ revisionId: zod.ZodString;
14975
+ part: zod.ZodString;
14976
+ }, zod_v4_core.$strip>>;
14977
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14978
+ kind: zod.ZodLiteral<"user">;
14979
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14980
+ kind: zod.ZodLiteral<"cli">;
14981
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
14982
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14983
+ kind: zod.ZodLiteral<"mcp">;
14984
+ clientName: zod.ZodOptional<zod.ZodString>;
14985
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14986
+ kind: zod.ZodLiteral<"app">;
14987
+ appName: zod.ZodOptional<zod.ZodString>;
14988
+ appRevisionId: zod.ZodString;
14989
+ actionName: zod.ZodString;
14990
+ pageSessionId: zod.ZodString;
14991
+ conversationId: zod.ZodOptional<zod.ZodString>;
14992
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
14993
+ connection: zod.ZodString;
14994
+ operation: zod.ZodString;
14995
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14996
+ dataStore: zod.ZodString;
14997
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14998
+ workflow: zod.ZodString;
14999
+ }, zod_v4_core.$strip>]>>;
15000
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15001
+ kind: zod.ZodLiteral<"workflow">;
15002
+ workflowRunId: zod.ZodString;
15003
+ stepRunId: zod.ZodString;
15004
+ boundBy: zod.ZodOptional<zod.ZodObject<{
15005
+ id: zod.ZodString;
15006
+ label: zod.ZodString;
15007
+ }, zod_v4_core.$strip>>;
15008
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15009
+ kind: zod.ZodLiteral<"schedule">;
15010
+ scheduleId: zod.ZodString;
15011
+ }, zod_v4_core.$strip>], "kind">;
15012
+ target: zod.ZodEnum<{
15013
+ live: "live";
15014
+ test: "test";
15015
+ dry_run: "dry_run";
15016
+ }>;
15017
+ app: zod.ZodOptional<zod.ZodObject<{
15018
+ title: zod.ZodOptional<zod.ZodString>;
15019
+ revision: zod.ZodOptional<zod.ZodNumber>;
15020
+ deleted: zod.ZodBoolean;
15021
+ }, zod_v4_core.$strip>>;
15022
+ workspaceId: zod.ZodOptional<zod.ZodString>;
15023
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
15024
+ inputHash: zod.ZodString;
15025
+ attempt: zod.ZodNumber;
15026
+ decision: zod.ZodOptional<zod.ZodObject<{
15027
+ mode: zod.ZodEnum<{
15028
+ direct: "direct";
15029
+ confirmed: "confirmed";
15030
+ approved: "approved";
15031
+ declined: "declined";
15032
+ }>;
15033
+ reason: zod.ZodOptional<zod.ZodEnum<{
15034
+ inherited_approval_not_applied: "inherited_approval_not_applied";
15035
+ workflow_publish: "workflow_publish";
15036
+ approved_by_caller: "approved_by_caller";
15037
+ }>>;
15038
+ by: zod.ZodString;
15039
+ byLabel: zod.ZodOptional<zod.ZodString>;
15040
+ at: zod.ZodISODateTime;
15041
+ comment: zod.ZodOptional<zod.ZodString>;
15042
+ }, zod_v4_core.$strip>>;
15043
+ error: zod.ZodOptional<zod.ZodObject<{
15044
+ code: zod.ZodString;
15045
+ message: zod.ZodString;
15046
+ reason: zod.ZodOptional<zod.ZodString>;
15047
+ }, zod_v4_core.$strip>>;
15048
+ usage: zod.ZodOptional<zod.ZodObject<{
15049
+ modelCalls: zod.ZodNumber;
15050
+ inputTokens: zod.ZodNumber;
15051
+ outputTokens: zod.ZodNumber;
15052
+ totalTokens: zod.ZodNumber;
15053
+ }, zod_v4_core.$strip>>;
15054
+ correlationId: zod.ZodString;
15055
+ createdAt: zod.ZodISODateTime;
15056
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
15057
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
15058
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
15059
+ href: zod.ZodString;
15060
+ }, zod_v4_core.$strip>;
15061
+ readonly headers: {
15062
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
15063
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
15064
+ };
15065
+ }>;
15066
+ readonly "apps.publish_review": Operation<{
15067
+ readonly id: "apps.publish_review";
15068
+ readonly method: "GET";
15069
+ readonly path: "/api/v1/apps/:app/publish-review";
15070
+ readonly summary: "Read what publishing an App's draft comes to: the App and the Workflows it calls, their pending drafts, publish questions and what would refuse them";
15071
+ readonly tag: "Apps";
15072
+ readonly auth: "user";
15073
+ readonly scope: "config_assets:read";
15074
+ readonly requires: readonly [];
15075
+ readonly effect: "reading";
15076
+ readonly response: {
15077
+ readonly kind: "json";
15078
+ readonly schema: zod.ZodObject<{
15079
+ app: zod.ZodObject<{
15080
+ name: zod.ZodString;
15081
+ title: zod.ZodString;
15082
+ draftRevision: zod.ZodNumber;
15083
+ publishedRevision: zod.ZodOptional<zod.ZodNumber>;
15084
+ pending: zod.ZodBoolean;
15085
+ narrative: zod.ZodOptional<zod.ZodObject<{
15086
+ summary: zod.ZodString;
15087
+ warnings: zod.ZodArray<zod.ZodString>;
15088
+ }, zod_v4_core.$strip>>;
15089
+ lastChangedBy: zod.ZodOptional<zod.ZodString>;
15090
+ refusals: zod.ZodArray<zod.ZodObject<{
15091
+ reason: zod.ZodString;
15092
+ message: zod.ZodString;
15093
+ right: zod.ZodOptional<zod.ZodString>;
15094
+ }, zod_v4_core.$strip>>;
15095
+ }, zod_v4_core.$strip>;
15096
+ workflows: zod.ZodArray<zod.ZodObject<{
15097
+ name: zod.ZodString;
15098
+ title: zod.ZodString;
15099
+ draftRevision: zod.ZodNumber;
15100
+ publishedRevision: zod.ZodOptional<zod.ZodNumber>;
15101
+ pending: zod.ZodBoolean;
15102
+ narrative: zod.ZodOptional<zod.ZodObject<{
15103
+ summary: zod.ZodString;
15104
+ warnings: zod.ZodArray<zod.ZodString>;
15105
+ }, zod_v4_core.$strip>>;
15106
+ lastChangedBy: zod.ZodOptional<zod.ZodString>;
15107
+ refusals: zod.ZodArray<zod.ZodObject<{
15108
+ reason: zod.ZodString;
15109
+ message: zod.ZodString;
15110
+ right: zod.ZodOptional<zod.ZodString>;
15111
+ }, zod_v4_core.$strip>>;
15112
+ actions: zod.ZodArray<zod.ZodString>;
15113
+ lastTestRun: zod.ZodOptional<zod.ZodObject<{
15114
+ runId: zod.ZodString;
15115
+ status: zod.ZodEnum<{
15116
+ failed: "failed";
15117
+ running: "running";
15118
+ done: "done";
15119
+ queued: "queued";
15120
+ cancelled: "cancelled";
15121
+ continued: "continued";
15122
+ waiting: "waiting";
15123
+ limit_reached: "limit_reached";
15124
+ }>;
15125
+ at: zod.ZodString;
15126
+ }, zod_v4_core.$strip>>;
15127
+ }, zod_v4_core.$strip>>;
15128
+ publishesTogether: zod.ZodBoolean;
15129
+ ready: zod.ZodBoolean;
15130
+ }, zod_v4_core.$strip>;
15131
+ };
15132
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN"];
15133
+ readonly rateClass: "read";
15134
+ } & {
15135
+ readonly headers: {
15136
+ readonly response: readonly ["Operation-Run-Id"];
15137
+ };
15138
+ }>;
14026
15139
  readonly "apps.sessions.context": Operation<{
14027
15140
  readonly id: "apps.sessions.context";
14028
15141
  readonly method: "POST";
@@ -14170,8 +15283,8 @@ declare const apiOperations: {
14170
15283
  scheduleId: zod.ZodString;
14171
15284
  }, zod_v4_core.$strip>], "kind">;
14172
15285
  target: zod.ZodEnum<{
14173
- test: "test";
14174
15286
  live: "live";
15287
+ test: "test";
14175
15288
  dry_run: "dry_run";
14176
15289
  }>;
14177
15290
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14278,8 +15391,8 @@ declare const apiOperations: {
14278
15391
  approval: "approval";
14279
15392
  }>;
14280
15393
  target: zod.ZodOptional<zod.ZodEnum<{
14281
- test: "test";
14282
15394
  live: "live";
15395
+ test: "test";
14283
15396
  dry_run: "dry_run";
14284
15397
  }>>;
14285
15398
  agentTool: zod.ZodBoolean;
@@ -14307,8 +15420,8 @@ declare const apiOperations: {
14307
15420
  approval: "approval";
14308
15421
  }>;
14309
15422
  target: zod.ZodOptional<zod.ZodEnum<{
14310
- test: "test";
14311
15423
  live: "live";
15424
+ test: "test";
14312
15425
  dry_run: "dry_run";
14313
15426
  }>>;
14314
15427
  agentTool: zod.ZodBoolean;
@@ -14335,8 +15448,8 @@ declare const apiOperations: {
14335
15448
  approval: "approval";
14336
15449
  }>;
14337
15450
  target: zod.ZodOptional<zod.ZodEnum<{
14338
- test: "test";
14339
15451
  live: "live";
15452
+ test: "test";
14340
15453
  dry_run: "dry_run";
14341
15454
  }>>;
14342
15455
  agentTool: zod.ZodBoolean;
@@ -14440,6 +15553,15 @@ declare const apiOperations: {
14440
15553
  }, zod_v4_core.$strict>>;
14441
15554
  startedAt: zod.ZodOptional<zod.ZodString>;
14442
15555
  finishedAt: zod.ZodOptional<zod.ZodString>;
15556
+ mode: zod.ZodOptional<zod.ZodLiteral<"test">>;
15557
+ workflowRevision: zod.ZodOptional<zod.ZodObject<{
15558
+ kind: zod.ZodEnum<{
15559
+ draft: "draft";
15560
+ published: "published";
15561
+ }>;
15562
+ number: zod.ZodOptional<zod.ZodNumber>;
15563
+ }, zod_v4_core.$strict>>;
15564
+ simulatedSteps: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
14443
15565
  }, zod_v4_core.$strict>;
14444
15566
  };
14445
15567
  readonly errors: readonly ["NOT_FOUND"];
@@ -14573,6 +15695,11 @@ declare const apiOperations: {
14573
15695
  fileSetId: zod.ZodString;
14574
15696
  number: zod.ZodNumber;
14575
15697
  pageSessionId: zod.ZodString;
15698
+ heldBackHosts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
15699
+ draftHosts: zod.ZodOptional<zod.ZodObject<{
15700
+ allowable: zod.ZodArray<zod.ZodString>;
15701
+ readsData: zod.ZodBoolean;
15702
+ }, zod_v4_core.$strip>>;
14576
15703
  }, zod_v4_core.$strip>;
14577
15704
  };
14578
15705
  readonly errors: readonly ["NOT_FOUND"];
@@ -14678,8 +15805,8 @@ declare const apiOperations: {
14678
15805
  scheduleId: zod.ZodString;
14679
15806
  }, zod_v4_core.$strip>], "kind">;
14680
15807
  target: zod.ZodEnum<{
14681
- test: "test";
14682
15808
  live: "live";
15809
+ test: "test";
14683
15810
  dry_run: "dry_run";
14684
15811
  }>;
14685
15812
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14855,8 +15982,8 @@ declare const apiOperations: {
14855
15982
  scheduleId: zod.ZodString;
14856
15983
  }, zod_v4_core.$strip>], "kind">;
14857
15984
  target: zod.ZodEnum<{
14858
- test: "test";
14859
15985
  live: "live";
15986
+ test: "test";
14860
15987
  dry_run: "dry_run";
14861
15988
  }>;
14862
15989
  app: zod.ZodOptional<zod.ZodObject<{
@@ -14875,41 +16002,96 @@ declare const apiOperations: {
14875
16002
  approved: "approved";
14876
16003
  declined: "declined";
14877
16004
  }>;
14878
- reason: zod.ZodOptional<zod.ZodEnum<{
14879
- inherited_approval_not_applied: "inherited_approval_not_applied";
14880
- workflow_publish: "workflow_publish";
14881
- approved_by_caller: "approved_by_caller";
14882
- }>>;
14883
- by: zod.ZodString;
14884
- byLabel: zod.ZodOptional<zod.ZodString>;
14885
- at: zod.ZodISODateTime;
14886
- comment: zod.ZodOptional<zod.ZodString>;
14887
- }, zod_v4_core.$strip>>;
14888
- error: zod.ZodOptional<zod.ZodObject<{
14889
- code: zod.ZodString;
14890
- message: zod.ZodString;
14891
- reason: zod.ZodOptional<zod.ZodString>;
14892
- }, zod_v4_core.$strip>>;
14893
- usage: zod.ZodOptional<zod.ZodObject<{
14894
- modelCalls: zod.ZodNumber;
14895
- inputTokens: zod.ZodNumber;
14896
- outputTokens: zod.ZodNumber;
14897
- totalTokens: zod.ZodNumber;
14898
- }, zod_v4_core.$strip>>;
14899
- correlationId: zod.ZodString;
14900
- createdAt: zod.ZodISODateTime;
14901
- startedAt: zod.ZodOptional<zod.ZodISODateTime>;
14902
- finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
14903
- expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
14904
- href: zod.ZodString;
16005
+ reason: zod.ZodOptional<zod.ZodEnum<{
16006
+ inherited_approval_not_applied: "inherited_approval_not_applied";
16007
+ workflow_publish: "workflow_publish";
16008
+ approved_by_caller: "approved_by_caller";
16009
+ }>>;
16010
+ by: zod.ZodString;
16011
+ byLabel: zod.ZodOptional<zod.ZodString>;
16012
+ at: zod.ZodISODateTime;
16013
+ comment: zod.ZodOptional<zod.ZodString>;
16014
+ }, zod_v4_core.$strip>>;
16015
+ error: zod.ZodOptional<zod.ZodObject<{
16016
+ code: zod.ZodString;
16017
+ message: zod.ZodString;
16018
+ reason: zod.ZodOptional<zod.ZodString>;
16019
+ }, zod_v4_core.$strip>>;
16020
+ usage: zod.ZodOptional<zod.ZodObject<{
16021
+ modelCalls: zod.ZodNumber;
16022
+ inputTokens: zod.ZodNumber;
16023
+ outputTokens: zod.ZodNumber;
16024
+ totalTokens: zod.ZodNumber;
16025
+ }, zod_v4_core.$strip>>;
16026
+ correlationId: zod.ZodString;
16027
+ createdAt: zod.ZodISODateTime;
16028
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
16029
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
16030
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
16031
+ href: zod.ZodString;
16032
+ }, zod_v4_core.$strip>>;
16033
+ nextCursor: zod.ZodOptional<zod.ZodString>;
16034
+ }, zod_v4_core.$strip>;
16035
+ readonly order: readonly string[];
16036
+ readonly descending: boolean;
16037
+ };
16038
+ readonly errors: readonly [];
16039
+ readonly rateClass: "read";
16040
+ }>;
16041
+ readonly "operations.list_callable": Operation<{
16042
+ readonly id: "operations.list_callable";
16043
+ readonly method: "GET";
16044
+ readonly path: "/api/v1/operations/callable";
16045
+ readonly summary: "List a page of the operations a step of a Workflow may call, as far as the caller may call them";
16046
+ readonly tag: "Operations";
16047
+ readonly auth: "principal";
16048
+ readonly scope: "config_assets:read";
16049
+ readonly requires: readonly [];
16050
+ readonly effect: "reading";
16051
+ readonly query: zod.ZodObject<{
16052
+ for: zod.ZodDefault<zod.ZodEnum<{
16053
+ workflow: "workflow";
16054
+ }>>;
16055
+ cursor: zod.ZodOptional<zod.ZodString>;
16056
+ name: zod.ZodOptional<zod.ZodString>;
16057
+ prefix: zod.ZodOptional<zod.ZodString>;
16058
+ }, zod_v4_core.$strip>;
16059
+ readonly response: {
16060
+ readonly kind: "json";
16061
+ readonly schema: zod.ZodObject<{
16062
+ operations: zod.ZodArray<zod.ZodObject<{
16063
+ name: zod.ZodString;
16064
+ effect: zod.ZodEnum<{
16065
+ reading: "reading";
16066
+ changing: "changing";
16067
+ }>;
16068
+ title: zod.ZodString;
16069
+ description: zod.ZodOptional<zod.ZodString>;
16070
+ source: zod.ZodObject<{
16071
+ kind: zod.ZodEnum<{
16072
+ workflow: "workflow";
16073
+ other: "other";
16074
+ connection: "connection";
16075
+ data_store: "data_store";
16076
+ knowledge_base: "knowledge_base";
16077
+ }>;
16078
+ title: zod.ZodOptional<zod.ZodString>;
16079
+ service: zod.ZodOptional<zod.ZodString>;
16080
+ }, zod_v4_core.$strip>;
16081
+ available: zod.ZodBoolean;
16082
+ inputSchema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
16083
+ outputSchema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
14905
16084
  }, zod_v4_core.$strip>>;
14906
16085
  nextCursor: zod.ZodOptional<zod.ZodString>;
16086
+ truncated: zod.ZodBoolean;
14907
16087
  }, zod_v4_core.$strip>;
14908
- readonly order: readonly string[];
14909
- readonly descending: boolean;
14910
16088
  };
14911
16089
  readonly errors: readonly [];
14912
16090
  readonly rateClass: "read";
16091
+ } & {
16092
+ readonly headers: {
16093
+ readonly response: readonly ["Operation-Run-Id"];
16094
+ };
14913
16095
  }>;
14914
16096
  readonly "operations.decide": Operation<{
14915
16097
  readonly id: "operations.decide";
@@ -14928,8 +16110,8 @@ declare const apiOperations: {
14928
16110
  }>;
14929
16111
  audience: zod.ZodOptional<zod.ZodEnum<{
14930
16112
  instance: "instance";
14931
- workspace: "workspace";
14932
16113
  self: "self";
16114
+ workspace: "workspace";
14933
16115
  }>>;
14934
16116
  reason: zod.ZodOptional<zod.ZodString>;
14935
16117
  }, zod_v4_core.$strip>;
@@ -15018,8 +16200,8 @@ declare const apiOperations: {
15018
16200
  scheduleId: zod.ZodString;
15019
16201
  }, zod_v4_core.$strip>], "kind">;
15020
16202
  target: zod.ZodEnum<{
15021
- test: "test";
15022
16203
  live: "live";
16204
+ test: "test";
15023
16205
  dry_run: "dry_run";
15024
16206
  }>;
15025
16207
  app: zod.ZodOptional<zod.ZodObject<{
@@ -15167,8 +16349,8 @@ declare const apiOperations: {
15167
16349
  scheduleId: zod.ZodString;
15168
16350
  }, zod_v4_core.$strip>], "kind">;
15169
16351
  target: zod.ZodEnum<{
15170
- test: "test";
15171
16352
  live: "live";
16353
+ test: "test";
15172
16354
  dry_run: "dry_run";
15173
16355
  }>;
15174
16356
  app: zod.ZodOptional<zod.ZodObject<{
@@ -15413,8 +16595,8 @@ declare const apiOperations: {
15413
16595
  scheduleId: zod.ZodString;
15414
16596
  }, zod_v4_core.$strip>], "kind">;
15415
16597
  target: zod.ZodEnum<{
15416
- test: "test";
15417
16598
  live: "live";
16599
+ test: "test";
15418
16600
  dry_run: "dry_run";
15419
16601
  }>;
15420
16602
  app: zod.ZodOptional<zod.ZodObject<{
@@ -15543,7 +16725,8 @@ declare const apiOperations: {
15543
16725
  items: zod.ZodArray<zod.ZodObject<{
15544
16726
  correlationId: zod.ZodString;
15545
16727
  at: zod.ZodISODateTime;
15546
- label: zod.ZodString;
16728
+ type: zod.ZodString;
16729
+ action: zod.ZodOptional<zod.ZodString>;
15547
16730
  tier: zod.ZodEnum<{
15548
16731
  workflow: "workflow";
15549
16732
  governance: "governance";
@@ -16712,8 +17895,8 @@ declare const apiOperations: {
16712
17895
  scheduleId: zod.ZodString;
16713
17896
  }, zod_v4_core.$strip>], "kind">;
16714
17897
  target: zod.ZodEnum<{
16715
- test: "test";
16716
17898
  live: "live";
17899
+ test: "test";
16717
17900
  dry_run: "dry_run";
16718
17901
  }>;
16719
17902
  app: zod.ZodOptional<zod.ZodObject<{
@@ -16831,10 +18014,12 @@ declare const apiOperations: {
16831
18014
  text: zod.ZodString;
16832
18015
  mode: zod.ZodEnum<{
16833
18016
  queue: "queue";
18017
+ steer: "steer";
16834
18018
  }>;
16835
18019
  status: zod.ZodEnum<{
16836
18020
  pending: "pending";
16837
18021
  dispatched: "dispatched";
18022
+ consumed: "consumed";
16838
18023
  cancelled: "cancelled";
16839
18024
  }>;
16840
18025
  position: zod.ZodNumber;
@@ -16879,10 +18064,10 @@ declare const apiOperations: {
16879
18064
  conversationId: zod.ZodString;
16880
18065
  clientInstanceId: zod.ZodString;
16881
18066
  role: zod.ZodEnum<{
16882
- tool: "tool";
16883
18067
  user: "user";
16884
18068
  system: "system";
16885
18069
  assistant: "assistant";
18070
+ tool: "tool";
16886
18071
  }>;
16887
18072
  text: zod.ZodString;
16888
18073
  createdAt: zod.ZodISODateTime;
@@ -16926,6 +18111,12 @@ declare const apiOperations: {
16926
18111
  }>;
16927
18112
  }, zod_v4_core.$strip>>;
16928
18113
  attachmentManifest: zod.ZodUnknown;
18114
+ steered: zod.ZodOptional<zod.ZodObject<{
18115
+ runId: zod.ZodString;
18116
+ followUpId: zod.ZodString;
18117
+ authorUserId: zod.ZodString;
18118
+ typedAt: zod.ZodISODateTime;
18119
+ }, zod_v4_core.$strip>>;
16929
18120
  }, zod_v4_core.$strip>, zod.ZodObject<{
16930
18121
  version: zod.ZodLiteral<1>;
16931
18122
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -17036,6 +18227,11 @@ declare const apiOperations: {
17036
18227
  id: zod.ZodString;
17037
18228
  text: zod.ZodString;
17038
18229
  open: zod.ZodBoolean;
18230
+ }, zod_v4_core.$strip>, zod.ZodObject<{
18231
+ type: zod.ZodLiteral<"user_message">;
18232
+ messageId: zod.ZodString;
18233
+ text: zod.ZodString;
18234
+ createdAt: zod.ZodISODateTime;
17039
18235
  }, zod_v4_core.$strip>, zod.ZodObject<{
17040
18236
  type: zod.ZodLiteral<"tool_call">;
17041
18237
  toolCallId: zod.ZodString;
@@ -17128,8 +18324,8 @@ declare const apiOperations: {
17128
18324
  month: "month";
17129
18325
  }>;
17130
18326
  metric: zod.ZodEnum<{
17131
- tokens: "tokens";
17132
18327
  modelCallCount: "modelCallCount";
18328
+ tokens: "tokens";
17133
18329
  costMicros: "costMicros";
17134
18330
  }>;
17135
18331
  scope: zod.ZodEnum<{
@@ -17185,6 +18381,11 @@ declare const apiOperations: {
17185
18381
  id: zod.ZodString;
17186
18382
  text: zod.ZodString;
17187
18383
  open: zod.ZodBoolean;
18384
+ }, zod_v4_core.$strip>, zod.ZodObject<{
18385
+ type: zod.ZodLiteral<"user_message">;
18386
+ messageId: zod.ZodString;
18387
+ text: zod.ZodString;
18388
+ createdAt: zod.ZodISODateTime;
17188
18389
  }, zod_v4_core.$strip>, zod.ZodObject<{
17189
18390
  type: zod.ZodLiteral<"tool_call">;
17190
18391
  toolCallId: zod.ZodString;
@@ -17277,8 +18478,8 @@ declare const apiOperations: {
17277
18478
  month: "month";
17278
18479
  }>;
17279
18480
  metric: zod.ZodEnum<{
17280
- tokens: "tokens";
17281
18481
  modelCallCount: "modelCallCount";
18482
+ tokens: "tokens";
17282
18483
  costMicros: "costMicros";
17283
18484
  }>;
17284
18485
  scope: zod.ZodEnum<{
@@ -17339,10 +18540,10 @@ declare const apiOperations: {
17339
18540
  conversationId: zod.ZodString;
17340
18541
  clientInstanceId: zod.ZodString;
17341
18542
  role: zod.ZodEnum<{
17342
- tool: "tool";
17343
18543
  user: "user";
17344
18544
  system: "system";
17345
18545
  assistant: "assistant";
18546
+ tool: "tool";
17346
18547
  }>;
17347
18548
  text: zod.ZodString;
17348
18549
  createdAt: zod.ZodISODateTime;
@@ -17386,6 +18587,12 @@ declare const apiOperations: {
17386
18587
  }>;
17387
18588
  }, zod_v4_core.$strip>>;
17388
18589
  attachmentManifest: zod.ZodUnknown;
18590
+ steered: zod.ZodOptional<zod.ZodObject<{
18591
+ runId: zod.ZodString;
18592
+ followUpId: zod.ZodString;
18593
+ authorUserId: zod.ZodString;
18594
+ typedAt: zod.ZodISODateTime;
18595
+ }, zod_v4_core.$strip>>;
17389
18596
  }, zod_v4_core.$strip>, zod.ZodObject<{
17390
18597
  version: zod.ZodLiteral<1>;
17391
18598
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -17721,8 +18928,8 @@ declare const apiOperations: {
17721
18928
  month: "month";
17722
18929
  }>;
17723
18930
  metric: zod.ZodEnum<{
17724
- tokens: "tokens";
17725
18931
  modelCallCount: "modelCallCount";
18932
+ tokens: "tokens";
17726
18933
  costMicros: "costMicros";
17727
18934
  }>;
17728
18935
  scope: zod.ZodEnum<{
@@ -17765,10 +18972,64 @@ declare const apiOperations: {
17765
18972
  text: zod.ZodString;
17766
18973
  mode: zod.ZodEnum<{
17767
18974
  queue: "queue";
18975
+ steer: "steer";
18976
+ }>;
18977
+ status: zod.ZodEnum<{
18978
+ pending: "pending";
18979
+ dispatched: "dispatched";
18980
+ consumed: "consumed";
18981
+ cancelled: "cancelled";
18982
+ }>;
18983
+ position: zod.ZodNumber;
18984
+ agentName: zod.ZodString;
18985
+ modelBindingId: zod.ZodOptional<zod.ZodString>;
18986
+ reasoningEffort: zod.ZodOptional<zod.ZodEnum<{
18987
+ none: "none";
18988
+ low: "low";
18989
+ medium: "medium";
18990
+ high: "high";
18991
+ xhigh: "xhigh";
18992
+ max: "max";
18993
+ }>>;
18994
+ idempotencyKey: zod.ZodOptional<zod.ZodString>;
18995
+ createdAt: zod.ZodISODateTime;
18996
+ updatedAt: zod.ZodISODateTime;
18997
+ dispatchedRunId: zod.ZodOptional<zod.ZodString>;
18998
+ }, zod_v4_core.$strip>;
18999
+ }, zod_v4_core.$strip>;
19000
+ };
19001
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT"];
19002
+ readonly rateClass: "write";
19003
+ }>;
19004
+ readonly "conversations.follow_ups.steer": Operation<{
19005
+ readonly id: "conversations.follow_ups.steer";
19006
+ readonly method: "POST";
19007
+ readonly path: "/api/v1/conversations/:conversationId/follow-ups/:followUpId/steer";
19008
+ readonly summary: "Hand your pending follow-up message to your running turn after its current step";
19009
+ readonly tag: "Conversations";
19010
+ readonly auth: "user";
19011
+ readonly scope: "conversation:write";
19012
+ readonly requires: readonly [];
19013
+ readonly effect: "changing";
19014
+ readonly body: zod.ZodObject<{}, zod_v4_core.$strip>;
19015
+ readonly response: {
19016
+ readonly kind: "json";
19017
+ readonly schema: zod.ZodObject<{
19018
+ followUp: zod.ZodObject<{
19019
+ id: zod.ZodString;
19020
+ clientInstanceId: zod.ZodString;
19021
+ conversationId: zod.ZodString;
19022
+ authorUserId: zod.ZodString;
19023
+ authorDisplayLabel: zod.ZodOptional<zod.ZodString>;
19024
+ text: zod.ZodString;
19025
+ mode: zod.ZodEnum<{
19026
+ queue: "queue";
19027
+ steer: "steer";
17768
19028
  }>;
17769
19029
  status: zod.ZodEnum<{
17770
19030
  pending: "pending";
17771
19031
  dispatched: "dispatched";
19032
+ consumed: "consumed";
17772
19033
  cancelled: "cancelled";
17773
19034
  }>;
17774
19035
  position: zod.ZodNumber;
@@ -17821,7 +19082,10 @@ declare const apiOperations: {
17821
19082
  readonly requires: readonly [];
17822
19083
  readonly effect: "changing";
17823
19084
  readonly body: zod.ZodObject<{
17824
- followUp: zod.ZodOptional<zod.ZodLiteral<"queue">>;
19085
+ followUp: zod.ZodOptional<zod.ZodEnum<{
19086
+ queue: "queue";
19087
+ steer: "steer";
19088
+ }>>;
17825
19089
  idempotencyKey: zod.ZodString;
17826
19090
  agentName: zod.ZodOptional<zod.ZodString>;
17827
19091
  modelBindingId: zod.ZodOptional<zod.ZodString>;
@@ -17870,10 +19134,10 @@ declare const apiOperations: {
17870
19134
  conversationId: zod.ZodString;
17871
19135
  clientInstanceId: zod.ZodString;
17872
19136
  role: zod.ZodEnum<{
17873
- tool: "tool";
17874
19137
  user: "user";
17875
19138
  system: "system";
17876
19139
  assistant: "assistant";
19140
+ tool: "tool";
17877
19141
  }>;
17878
19142
  text: zod.ZodString;
17879
19143
  createdAt: zod.ZodISODateTime;
@@ -17917,6 +19181,12 @@ declare const apiOperations: {
17917
19181
  }>;
17918
19182
  }, zod_v4_core.$strip>>;
17919
19183
  attachmentManifest: zod.ZodUnknown;
19184
+ steered: zod.ZodOptional<zod.ZodObject<{
19185
+ runId: zod.ZodString;
19186
+ followUpId: zod.ZodString;
19187
+ authorUserId: zod.ZodString;
19188
+ typedAt: zod.ZodISODateTime;
19189
+ }, zod_v4_core.$strip>>;
17920
19190
  }, zod_v4_core.$strip>, zod.ZodObject<{
17921
19191
  version: zod.ZodLiteral<1>;
17922
19192
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -18044,8 +19314,8 @@ declare const apiOperations: {
18044
19314
  month: "month";
18045
19315
  }>;
18046
19316
  metric: zod.ZodEnum<{
18047
- tokens: "tokens";
18048
19317
  modelCallCount: "modelCallCount";
19318
+ tokens: "tokens";
18049
19319
  costMicros: "costMicros";
18050
19320
  }>;
18051
19321
  scope: zod.ZodEnum<{
@@ -18070,10 +19340,12 @@ declare const apiOperations: {
18070
19340
  text: zod.ZodString;
18071
19341
  mode: zod.ZodEnum<{
18072
19342
  queue: "queue";
19343
+ steer: "steer";
18073
19344
  }>;
18074
19345
  status: zod.ZodEnum<{
18075
19346
  pending: "pending";
18076
19347
  dispatched: "dispatched";
19348
+ consumed: "consumed";
18077
19349
  cancelled: "cancelled";
18078
19350
  }>;
18079
19351
  position: zod.ZodNumber;
@@ -18118,10 +19390,10 @@ declare const apiOperations: {
18118
19390
  conversationId: zod.ZodString;
18119
19391
  clientInstanceId: zod.ZodString;
18120
19392
  role: zod.ZodEnum<{
18121
- tool: "tool";
18122
19393
  user: "user";
18123
19394
  system: "system";
18124
19395
  assistant: "assistant";
19396
+ tool: "tool";
18125
19397
  }>;
18126
19398
  text: zod.ZodString;
18127
19399
  createdAt: zod.ZodISODateTime;
@@ -18165,6 +19437,12 @@ declare const apiOperations: {
18165
19437
  }>;
18166
19438
  }, zod_v4_core.$strip>>;
18167
19439
  attachmentManifest: zod.ZodUnknown;
19440
+ steered: zod.ZodOptional<zod.ZodObject<{
19441
+ runId: zod.ZodString;
19442
+ followUpId: zod.ZodString;
19443
+ authorUserId: zod.ZodString;
19444
+ typedAt: zod.ZodISODateTime;
19445
+ }, zod_v4_core.$strip>>;
18168
19446
  }, zod_v4_core.$strip>, zod.ZodObject<{
18169
19447
  version: zod.ZodLiteral<1>;
18170
19448
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -18275,6 +19553,11 @@ declare const apiOperations: {
18275
19553
  id: zod.ZodString;
18276
19554
  text: zod.ZodString;
18277
19555
  open: zod.ZodBoolean;
19556
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19557
+ type: zod.ZodLiteral<"user_message">;
19558
+ messageId: zod.ZodString;
19559
+ text: zod.ZodString;
19560
+ createdAt: zod.ZodISODateTime;
18278
19561
  }, zod_v4_core.$strip>, zod.ZodObject<{
18279
19562
  type: zod.ZodLiteral<"tool_call">;
18280
19563
  toolCallId: zod.ZodString;
@@ -18367,8 +19650,8 @@ declare const apiOperations: {
18367
19650
  month: "month";
18368
19651
  }>;
18369
19652
  metric: zod.ZodEnum<{
18370
- tokens: "tokens";
18371
19653
  modelCallCount: "modelCallCount";
19654
+ tokens: "tokens";
18372
19655
  costMicros: "costMicros";
18373
19656
  }>;
18374
19657
  scope: zod.ZodEnum<{
@@ -18424,6 +19707,11 @@ declare const apiOperations: {
18424
19707
  id: zod.ZodString;
18425
19708
  text: zod.ZodString;
18426
19709
  open: zod.ZodBoolean;
19710
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19711
+ type: zod.ZodLiteral<"user_message">;
19712
+ messageId: zod.ZodString;
19713
+ text: zod.ZodString;
19714
+ createdAt: zod.ZodISODateTime;
18427
19715
  }, zod_v4_core.$strip>, zod.ZodObject<{
18428
19716
  type: zod.ZodLiteral<"tool_call">;
18429
19717
  toolCallId: zod.ZodString;
@@ -18516,8 +19804,8 @@ declare const apiOperations: {
18516
19804
  month: "month";
18517
19805
  }>;
18518
19806
  metric: zod.ZodEnum<{
18519
- tokens: "tokens";
18520
19807
  modelCallCount: "modelCallCount";
19808
+ tokens: "tokens";
18521
19809
  costMicros: "costMicros";
18522
19810
  }>;
18523
19811
  scope: zod.ZodEnum<{
@@ -18563,10 +19851,12 @@ declare const apiOperations: {
18563
19851
  text: zod.ZodString;
18564
19852
  mode: zod.ZodEnum<{
18565
19853
  queue: "queue";
19854
+ steer: "steer";
18566
19855
  }>;
18567
19856
  status: zod.ZodEnum<{
18568
19857
  pending: "pending";
18569
19858
  dispatched: "dispatched";
19859
+ consumed: "consumed";
18570
19860
  cancelled: "cancelled";
18571
19861
  }>;
18572
19862
  position: zod.ZodNumber;
@@ -18601,7 +19891,10 @@ declare const apiOperations: {
18601
19891
  readonly requires: readonly [];
18602
19892
  readonly effect: "changing";
18603
19893
  readonly body: zod.ZodObject<{
18604
- followUp: zod.ZodOptional<zod.ZodLiteral<"queue">>;
19894
+ followUp: zod.ZodOptional<zod.ZodEnum<{
19895
+ queue: "queue";
19896
+ steer: "steer";
19897
+ }>>;
18605
19898
  idempotencyKey: zod.ZodString;
18606
19899
  agentName: zod.ZodOptional<zod.ZodString>;
18607
19900
  modelBindingId: zod.ZodOptional<zod.ZodString>;
@@ -18663,10 +19956,10 @@ declare const apiOperations: {
18663
19956
  conversationId: zod.ZodString;
18664
19957
  clientInstanceId: zod.ZodString;
18665
19958
  role: zod.ZodEnum<{
18666
- tool: "tool";
18667
19959
  user: "user";
18668
19960
  system: "system";
18669
19961
  assistant: "assistant";
19962
+ tool: "tool";
18670
19963
  }>;
18671
19964
  text: zod.ZodString;
18672
19965
  createdAt: zod.ZodISODateTime;
@@ -18710,6 +20003,12 @@ declare const apiOperations: {
18710
20003
  }>;
18711
20004
  }, zod_v4_core.$strip>>;
18712
20005
  attachmentManifest: zod.ZodUnknown;
20006
+ steered: zod.ZodOptional<zod.ZodObject<{
20007
+ runId: zod.ZodString;
20008
+ followUpId: zod.ZodString;
20009
+ authorUserId: zod.ZodString;
20010
+ typedAt: zod.ZodISODateTime;
20011
+ }, zod_v4_core.$strip>>;
18713
20012
  }, zod_v4_core.$strip>, zod.ZodObject<{
18714
20013
  version: zod.ZodLiteral<1>;
18715
20014
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -18837,8 +20136,8 @@ declare const apiOperations: {
18837
20136
  month: "month";
18838
20137
  }>;
18839
20138
  metric: zod.ZodEnum<{
18840
- tokens: "tokens";
18841
20139
  modelCallCount: "modelCallCount";
20140
+ tokens: "tokens";
18842
20141
  costMicros: "costMicros";
18843
20142
  }>;
18844
20143
  scope: zod.ZodEnum<{
@@ -18863,10 +20162,12 @@ declare const apiOperations: {
18863
20162
  text: zod.ZodString;
18864
20163
  mode: zod.ZodEnum<{
18865
20164
  queue: "queue";
20165
+ steer: "steer";
18866
20166
  }>;
18867
20167
  status: zod.ZodEnum<{
18868
20168
  pending: "pending";
18869
20169
  dispatched: "dispatched";
20170
+ consumed: "consumed";
18870
20171
  cancelled: "cancelled";
18871
20172
  }>;
18872
20173
  position: zod.ZodNumber;
@@ -18911,10 +20212,10 @@ declare const apiOperations: {
18911
20212
  conversationId: zod.ZodString;
18912
20213
  clientInstanceId: zod.ZodString;
18913
20214
  role: zod.ZodEnum<{
18914
- tool: "tool";
18915
20215
  user: "user";
18916
20216
  system: "system";
18917
20217
  assistant: "assistant";
20218
+ tool: "tool";
18918
20219
  }>;
18919
20220
  text: zod.ZodString;
18920
20221
  createdAt: zod.ZodISODateTime;
@@ -18958,6 +20259,12 @@ declare const apiOperations: {
18958
20259
  }>;
18959
20260
  }, zod_v4_core.$strip>>;
18960
20261
  attachmentManifest: zod.ZodUnknown;
20262
+ steered: zod.ZodOptional<zod.ZodObject<{
20263
+ runId: zod.ZodString;
20264
+ followUpId: zod.ZodString;
20265
+ authorUserId: zod.ZodString;
20266
+ typedAt: zod.ZodISODateTime;
20267
+ }, zod_v4_core.$strip>>;
18961
20268
  }, zod_v4_core.$strip>, zod.ZodObject<{
18962
20269
  version: zod.ZodLiteral<1>;
18963
20270
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -19068,6 +20375,11 @@ declare const apiOperations: {
19068
20375
  id: zod.ZodString;
19069
20376
  text: zod.ZodString;
19070
20377
  open: zod.ZodBoolean;
20378
+ }, zod_v4_core.$strip>, zod.ZodObject<{
20379
+ type: zod.ZodLiteral<"user_message">;
20380
+ messageId: zod.ZodString;
20381
+ text: zod.ZodString;
20382
+ createdAt: zod.ZodISODateTime;
19071
20383
  }, zod_v4_core.$strip>, zod.ZodObject<{
19072
20384
  type: zod.ZodLiteral<"tool_call">;
19073
20385
  toolCallId: zod.ZodString;
@@ -19160,8 +20472,8 @@ declare const apiOperations: {
19160
20472
  month: "month";
19161
20473
  }>;
19162
20474
  metric: zod.ZodEnum<{
19163
- tokens: "tokens";
19164
20475
  modelCallCount: "modelCallCount";
20476
+ tokens: "tokens";
19165
20477
  costMicros: "costMicros";
19166
20478
  }>;
19167
20479
  scope: zod.ZodEnum<{
@@ -19217,6 +20529,11 @@ declare const apiOperations: {
19217
20529
  id: zod.ZodString;
19218
20530
  text: zod.ZodString;
19219
20531
  open: zod.ZodBoolean;
20532
+ }, zod_v4_core.$strip>, zod.ZodObject<{
20533
+ type: zod.ZodLiteral<"user_message">;
20534
+ messageId: zod.ZodString;
20535
+ text: zod.ZodString;
20536
+ createdAt: zod.ZodISODateTime;
19220
20537
  }, zod_v4_core.$strip>, zod.ZodObject<{
19221
20538
  type: zod.ZodLiteral<"tool_call">;
19222
20539
  toolCallId: zod.ZodString;
@@ -19309,8 +20626,8 @@ declare const apiOperations: {
19309
20626
  month: "month";
19310
20627
  }>;
19311
20628
  metric: zod.ZodEnum<{
19312
- tokens: "tokens";
19313
20629
  modelCallCount: "modelCallCount";
20630
+ tokens: "tokens";
19314
20631
  costMicros: "costMicros";
19315
20632
  }>;
19316
20633
  scope: zod.ZodEnum<{
@@ -19387,10 +20704,12 @@ declare const apiOperations: {
19387
20704
  text: zod.ZodString;
19388
20705
  mode: zod.ZodEnum<{
19389
20706
  queue: "queue";
20707
+ steer: "steer";
19390
20708
  }>;
19391
20709
  status: zod.ZodEnum<{
19392
20710
  pending: "pending";
19393
20711
  dispatched: "dispatched";
20712
+ consumed: "consumed";
19394
20713
  cancelled: "cancelled";
19395
20714
  }>;
19396
20715
  position: zod.ZodNumber;
@@ -19433,6 +20752,19 @@ declare const apiOperations: {
19433
20752
  text: zod.ZodString;
19434
20753
  metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
19435
20754
  }, zod_v4_core.$strip>;
20755
+ }, zod_v4_core.$strip>, zod.ZodObject<{
20756
+ type: zod.ZodLiteral<"user_message_steered">;
20757
+ runId: zod.ZodString;
20758
+ sequence: zod.ZodNumber;
20759
+ createdAt: zod.ZodISODateTime;
20760
+ followUpId: zod.ZodString;
20761
+ message: zod.ZodObject<{
20762
+ id: zod.ZodString;
20763
+ role: zod.ZodLiteral<"user">;
20764
+ text: zod.ZodString;
20765
+ createdAt: zod.ZodISODateTime;
20766
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
20767
+ }, zod_v4_core.$strip>;
19436
20768
  }, zod_v4_core.$strip>, zod.ZodObject<{
19437
20769
  type: zod.ZodLiteral<"tool_call_preparing">;
19438
20770
  runId: zod.ZodString;
@@ -19549,8 +20881,8 @@ declare const apiOperations: {
19549
20881
  month: "month";
19550
20882
  }>;
19551
20883
  metric: zod.ZodEnum<{
19552
- tokens: "tokens";
19553
20884
  modelCallCount: "modelCallCount";
20885
+ tokens: "tokens";
19554
20886
  costMicros: "costMicros";
19555
20887
  }>;
19556
20888
  scope: zod.ZodEnum<{
@@ -19634,8 +20966,8 @@ declare const apiOperations: {
19634
20966
  month: "month";
19635
20967
  }>;
19636
20968
  metric: zod.ZodEnum<{
19637
- tokens: "tokens";
19638
20969
  modelCallCount: "modelCallCount";
20970
+ tokens: "tokens";
19639
20971
  costMicros: "costMicros";
19640
20972
  }>;
19641
20973
  scope: zod.ZodEnum<{
@@ -20026,8 +21358,8 @@ declare const apiOperations: {
20026
21358
  scheduleId: zod.ZodString;
20027
21359
  }, zod_v4_core.$strip>], "kind">;
20028
21360
  target: zod.ZodEnum<{
20029
- test: "test";
20030
21361
  live: "live";
21362
+ test: "test";
20031
21363
  dry_run: "dry_run";
20032
21364
  }>;
20033
21365
  app: zod.ZodOptional<zod.ZodObject<{
@@ -20539,8 +21871,8 @@ declare const apiOperations: {
20539
21871
  scheduleId: zod.ZodString;
20540
21872
  }, zod_v4_core.$strip>], "kind">;
20541
21873
  target: zod.ZodEnum<{
20542
- test: "test";
20543
21874
  live: "live";
21875
+ test: "test";
20544
21876
  dry_run: "dry_run";
20545
21877
  }>;
20546
21878
  app: zod.ZodOptional<zod.ZodObject<{
@@ -20720,8 +22052,8 @@ declare const apiOperations: {
20720
22052
  scheduleId: zod.ZodString;
20721
22053
  }, zod_v4_core.$strip>], "kind">;
20722
22054
  target: zod.ZodEnum<{
20723
- test: "test";
20724
22055
  live: "live";
22056
+ test: "test";
20725
22057
  dry_run: "dry_run";
20726
22058
  }>;
20727
22059
  app: zod.ZodOptional<zod.ZodObject<{
@@ -20951,8 +22283,8 @@ declare const apiOperations: {
20951
22283
  scheduleId: zod.ZodString;
20952
22284
  }, zod_v4_core.$strip>], "kind">;
20953
22285
  target: zod.ZodEnum<{
20954
- test: "test";
20955
22286
  live: "live";
22287
+ test: "test";
20956
22288
  dry_run: "dry_run";
20957
22289
  }>;
20958
22290
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21121,8 +22453,8 @@ declare const apiOperations: {
21121
22453
  scheduleId: zod.ZodString;
21122
22454
  }, zod_v4_core.$strip>], "kind">;
21123
22455
  target: zod.ZodEnum<{
21124
- test: "test";
21125
22456
  live: "live";
22457
+ test: "test";
21126
22458
  dry_run: "dry_run";
21127
22459
  }>;
21128
22460
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21284,8 +22616,8 @@ declare const apiOperations: {
21284
22616
  scheduleId: zod.ZodString;
21285
22617
  }, zod_v4_core.$strip>], "kind">;
21286
22618
  target: zod.ZodEnum<{
21287
- test: "test";
21288
22619
  live: "live";
22620
+ test: "test";
21289
22621
  dry_run: "dry_run";
21290
22622
  }>;
21291
22623
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21447,8 +22779,8 @@ declare const apiOperations: {
21447
22779
  scheduleId: zod.ZodString;
21448
22780
  }, zod_v4_core.$strip>], "kind">;
21449
22781
  target: zod.ZodEnum<{
21450
- test: "test";
21451
22782
  live: "live";
22783
+ test: "test";
21452
22784
  dry_run: "dry_run";
21453
22785
  }>;
21454
22786
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21605,8 +22937,8 @@ declare const apiOperations: {
21605
22937
  scheduleId: zod.ZodString;
21606
22938
  }, zod_v4_core.$strip>], "kind">;
21607
22939
  target: zod.ZodEnum<{
21608
- test: "test";
21609
22940
  live: "live";
22941
+ test: "test";
21610
22942
  dry_run: "dry_run";
21611
22943
  }>;
21612
22944
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21799,8 +23131,8 @@ declare const apiOperations: {
21799
23131
  scheduleId: zod.ZodString;
21800
23132
  }, zod_v4_core.$strip>], "kind">;
21801
23133
  target: zod.ZodEnum<{
21802
- test: "test";
21803
23134
  live: "live";
23135
+ test: "test";
21804
23136
  dry_run: "dry_run";
21805
23137
  }>;
21806
23138
  app: zod.ZodOptional<zod.ZodObject<{
@@ -21957,8 +23289,8 @@ declare const apiOperations: {
21957
23289
  scheduleId: zod.ZodString;
21958
23290
  }, zod_v4_core.$strip>], "kind">;
21959
23291
  target: zod.ZodEnum<{
21960
- test: "test";
21961
23292
  live: "live";
23293
+ test: "test";
21962
23294
  dry_run: "dry_run";
21963
23295
  }>;
21964
23296
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22282,8 +23614,8 @@ declare const apiOperations: {
22282
23614
  scheduleId: zod.ZodString;
22283
23615
  }, zod_v4_core.$strip>], "kind">;
22284
23616
  target: zod.ZodEnum<{
22285
- test: "test";
22286
23617
  live: "live";
23618
+ test: "test";
22287
23619
  dry_run: "dry_run";
22288
23620
  }>;
22289
23621
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22339,7 +23671,7 @@ declare const apiOperations: {
22339
23671
  readonly id: "roles.update";
22340
23672
  readonly method: "PATCH";
22341
23673
  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.";
23674
+ 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
23675
  readonly tag: "Access";
22344
23676
  readonly auth: "user";
22345
23677
  readonly scope: "user_admin:write";
@@ -22491,8 +23823,8 @@ declare const apiOperations: {
22491
23823
  scheduleId: zod.ZodString;
22492
23824
  }, zod_v4_core.$strip>], "kind">;
22493
23825
  target: zod.ZodEnum<{
22494
- test: "test";
22495
23826
  live: "live";
23827
+ test: "test";
22496
23828
  dry_run: "dry_run";
22497
23829
  }>;
22498
23830
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22683,8 +24015,8 @@ declare const apiOperations: {
22683
24015
  scheduleId: zod.ZodString;
22684
24016
  }, zod_v4_core.$strip>], "kind">;
22685
24017
  target: zod.ZodEnum<{
22686
- test: "test";
22687
24018
  live: "live";
24019
+ test: "test";
22688
24020
  dry_run: "dry_run";
22689
24021
  }>;
22690
24022
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22740,7 +24072,7 @@ declare const apiOperations: {
22740
24072
  readonly id: "roles.reset";
22741
24073
  readonly method: "POST";
22742
24074
  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.";
24075
+ 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
24076
  readonly tag: "Access";
22745
24077
  readonly auth: "user";
22746
24078
  readonly scope: "user_admin:write";
@@ -22875,8 +24207,8 @@ declare const apiOperations: {
22875
24207
  scheduleId: zod.ZodString;
22876
24208
  }, zod_v4_core.$strip>], "kind">;
22877
24209
  target: zod.ZodEnum<{
22878
- test: "test";
22879
24210
  live: "live";
24211
+ test: "test";
22880
24212
  dry_run: "dry_run";
22881
24213
  }>;
22882
24214
  app: zod.ZodOptional<zod.ZodObject<{
@@ -22932,7 +24264,7 @@ declare const apiOperations: {
22932
24264
  readonly id: "roles.pending.decide";
22933
24265
  readonly method: "POST";
22934
24266
  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.";
24267
+ 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
24268
  readonly tag: "Access";
22937
24269
  readonly auth: "user";
22938
24270
  readonly scope: "user_admin:write";
@@ -23074,8 +24406,8 @@ declare const apiOperations: {
23074
24406
  scheduleId: zod.ZodString;
23075
24407
  }, zod_v4_core.$strip>], "kind">;
23076
24408
  target: zod.ZodEnum<{
23077
- test: "test";
23078
24409
  live: "live";
24410
+ test: "test";
23079
24411
  dry_run: "dry_run";
23080
24412
  }>;
23081
24413
  app: zod.ZodOptional<zod.ZodObject<{
@@ -23636,6 +24968,10 @@ declare const apiOperations: {
23636
24968
  en: "en";
23637
24969
  de: "de";
23638
24970
  }>>;
24971
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
24972
+ queue: "queue";
24973
+ steer: "steer";
24974
+ }>>;
23639
24975
  instanceAdminName: zod.ZodOptional<zod.ZodString>;
23640
24976
  roles: zod.ZodArray<zod.ZodString>;
23641
24977
  permissionRefs: zod.ZodArray<zod.ZodString>;
@@ -23713,6 +25049,10 @@ declare const apiOperations: {
23713
25049
  en: "en";
23714
25050
  de: "de";
23715
25051
  }>>>;
25052
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
25053
+ queue: "queue";
25054
+ steer: "steer";
25055
+ }>>;
23716
25056
  }, zod_v4_core.$strip>;
23717
25057
  readonly response: {
23718
25058
  readonly kind: "json";
@@ -23726,6 +25066,10 @@ declare const apiOperations: {
23726
25066
  en: "en";
23727
25067
  de: "de";
23728
25068
  }>>;
25069
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
25070
+ queue: "queue";
25071
+ steer: "steer";
25072
+ }>>;
23729
25073
  instanceAdminName: zod.ZodOptional<zod.ZodString>;
23730
25074
  roles: zod.ZodArray<zod.ZodString>;
23731
25075
  permissionRefs: zod.ZodArray<zod.ZodString>;
@@ -24597,8 +25941,8 @@ declare const apiOperations: {
24597
25941
  scheduleId: zod.ZodString;
24598
25942
  }, zod_v4_core.$strip>], "kind">;
24599
25943
  target: zod.ZodEnum<{
24600
- test: "test";
24601
25944
  live: "live";
25945
+ test: "test";
24602
25946
  dry_run: "dry_run";
24603
25947
  }>;
24604
25948
  app: zod.ZodOptional<zod.ZodObject<{
@@ -24771,8 +26115,8 @@ declare const apiOperations: {
24771
26115
  scheduleId: zod.ZodString;
24772
26116
  }, zod_v4_core.$strip>], "kind">;
24773
26117
  target: zod.ZodEnum<{
24774
- test: "test";
24775
26118
  live: "live";
26119
+ test: "test";
24776
26120
  dry_run: "dry_run";
24777
26121
  }>;
24778
26122
  app: zod.ZodOptional<zod.ZodObject<{
@@ -24945,8 +26289,8 @@ declare const apiOperations: {
24945
26289
  scheduleId: zod.ZodString;
24946
26290
  }, zod_v4_core.$strip>], "kind">;
24947
26291
  target: zod.ZodEnum<{
24948
- test: "test";
24949
26292
  live: "live";
26293
+ test: "test";
24950
26294
  dry_run: "dry_run";
24951
26295
  }>;
24952
26296
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25099,8 +26443,8 @@ declare const apiOperations: {
25099
26443
  scheduleId: zod.ZodString;
25100
26444
  }, zod_v4_core.$strip>], "kind">;
25101
26445
  target: zod.ZodEnum<{
25102
- test: "test";
25103
26446
  live: "live";
26447
+ test: "test";
25104
26448
  dry_run: "dry_run";
25105
26449
  }>;
25106
26450
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25253,8 +26597,8 @@ declare const apiOperations: {
25253
26597
  scheduleId: zod.ZodString;
25254
26598
  }, zod_v4_core.$strip>], "kind">;
25255
26599
  target: zod.ZodEnum<{
25256
- test: "test";
25257
26600
  live: "live";
26601
+ test: "test";
25258
26602
  dry_run: "dry_run";
25259
26603
  }>;
25260
26604
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25463,8 +26807,8 @@ declare const apiOperations: {
25463
26807
  scheduleId: zod.ZodString;
25464
26808
  }, zod_v4_core.$strip>], "kind">;
25465
26809
  target: zod.ZodEnum<{
25466
- test: "test";
25467
26810
  live: "live";
26811
+ test: "test";
25468
26812
  dry_run: "dry_run";
25469
26813
  }>;
25470
26814
  app: zod.ZodOptional<zod.ZodObject<{
@@ -25525,10 +26869,10 @@ declare const assetSummarySchema: z.ZodObject<{
25525
26869
  isDefault: z.ZodOptional<z.ZodLiteral<true>>;
25526
26870
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
25527
26871
  allowed: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25528
- publish: "publish";
25529
26872
  read: "read";
25530
26873
  write: "write";
25531
26874
  delete: "delete";
26875
+ publish: "publish";
25532
26876
  }>>>;
25533
26877
  updatedAt: z.ZodISODateTime;
25534
26878
  agentDraft: z.ZodOptional<z.ZodObject<{
@@ -25563,9 +26907,9 @@ declare const assetSchema: z.ZodObject<{
25563
26907
  stepFacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25564
26908
  source: z.ZodOptional<z.ZodObject<{
25565
26909
  kind: z.ZodEnum<{
25566
- connection: "connection";
25567
- other: "other";
25568
26910
  workflow: "workflow";
26911
+ other: "other";
26912
+ connection: "connection";
25569
26913
  data_store: "data_store";
25570
26914
  knowledge_base: "knowledge_base";
25571
26915
  }>;
@@ -25588,9 +26932,9 @@ declare const assetSchema: z.ZodObject<{
25588
26932
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
25589
26933
  source: z.ZodObject<{
25590
26934
  kind: z.ZodEnum<{
25591
- connection: "connection";
25592
- other: "other";
25593
26935
  workflow: "workflow";
26936
+ other: "other";
26937
+ connection: "connection";
25594
26938
  data_store: "data_store";
25595
26939
  knowledge_base: "knowledge_base";
25596
26940
  }>;
@@ -25617,20 +26961,20 @@ declare const assetSchema: z.ZodObject<{
25617
26961
  appAudience: z.ZodOptional<z.ZodObject<{
25618
26962
  selected: z.ZodEnum<{
25619
26963
  instance: "instance";
25620
- workspace: "workspace";
25621
26964
  self: "self";
26965
+ workspace: "workspace";
25622
26966
  }>;
25623
26967
  live: z.ZodOptional<z.ZodEnum<{
25624
26968
  instance: "instance";
25625
- workspace: "workspace";
25626
26969
  self: "self";
26970
+ workspace: "workspace";
25627
26971
  }>>;
25628
26972
  liveLabel: z.ZodOptional<z.ZodString>;
25629
26973
  people: z.ZodOptional<z.ZodNumber>;
25630
26974
  choices: z.ZodArray<z.ZodEnum<{
25631
26975
  instance: "instance";
25632
- workspace: "workspace";
25633
26976
  self: "self";
26977
+ workspace: "workspace";
25634
26978
  }>>;
25635
26979
  label: z.ZodString;
25636
26980
  workspaceName: z.ZodOptional<z.ZodString>;
@@ -25679,6 +27023,10 @@ declare const assetSchema: z.ZodObject<{
25679
27023
  administrators: z.ZodArray<z.ZodString>;
25680
27024
  }, z.core.$strip>>;
25681
27025
  canSetAvailability: z.ZodOptional<z.ZodBoolean>;
27026
+ agentUse: z.ZodOptional<z.ZodEnum<{
27027
+ everyone: "everyone";
27028
+ granted: "granted";
27029
+ }>>;
25682
27030
  unavailableTools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25683
27031
  name: z.ZodString;
25684
27032
  reason: z.ZodLiteral<"module_off">;
@@ -25702,10 +27050,10 @@ declare const assetSchema: z.ZodObject<{
25702
27050
  }, z.core.$strip>>>;
25703
27051
  chatAvailable: z.ZodOptional<z.ZodBoolean>;
25704
27052
  allowed: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25705
- publish: "publish";
25706
27053
  read: "read";
25707
27054
  write: "write";
25708
27055
  delete: "delete";
27056
+ publish: "publish";
25709
27057
  }>>>;
25710
27058
  saveApproval: z.ZodOptional<z.ZodObject<{
25711
27059
  approverNames: z.ZodArray<z.ZodString>;
@@ -26094,23 +27442,8 @@ declare function createUnifiedDiff(oldFile: DiffFile, newFile: DiffFile): string
26094
27442
  /** The skill file this CLI writes: the shipped skill with a mark of who wrote it. */
26095
27443
  declare function renderCatalystSkill(): Promise<string>;
26096
27444
 
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
- }
27445
+ declare function commandNames(): string[];
27446
+
26114
27447
  declare function runCli(argv: string[], runtime?: CliRuntimeOptions): Promise<number>;
26115
27448
 
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 };
27449
+ 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 };