@herdctl/core 2.1.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,47 +6,6 @@
6
6
  import { z } from "zod";
7
7
  import type { HostConfig } from "dockerode";
8
8
  export declare const PermissionModeSchema: z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>;
9
- export declare const BashPermissionsSchema: z.ZodObject<{
10
- allowed_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
- denied_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
- }, "strip", z.ZodTypeAny, {
13
- allowed_commands?: string[] | undefined;
14
- denied_patterns?: string[] | undefined;
15
- }, {
16
- allowed_commands?: string[] | undefined;
17
- denied_patterns?: string[] | undefined;
18
- }>;
19
- export declare const PermissionsSchema: z.ZodObject<{
20
- mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>>>;
21
- allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22
- denied_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
- bash: z.ZodOptional<z.ZodObject<{
24
- allowed_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25
- denied_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
- }, "strip", z.ZodTypeAny, {
27
- allowed_commands?: string[] | undefined;
28
- denied_patterns?: string[] | undefined;
29
- }, {
30
- allowed_commands?: string[] | undefined;
31
- denied_patterns?: string[] | undefined;
32
- }>>;
33
- }, "strip", z.ZodTypeAny, {
34
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
35
- allowed_tools?: string[] | undefined;
36
- denied_tools?: string[] | undefined;
37
- bash?: {
38
- allowed_commands?: string[] | undefined;
39
- denied_patterns?: string[] | undefined;
40
- } | undefined;
41
- }, {
42
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
43
- allowed_tools?: string[] | undefined;
44
- denied_tools?: string[] | undefined;
45
- bash?: {
46
- allowed_commands?: string[] | undefined;
47
- denied_patterns?: string[] | undefined;
48
- } | undefined;
49
- }>;
50
9
  export declare const WorkSourceTypeSchema: z.ZodEnum<["github"]>;
51
10
  export declare const WorkSourceLabelsSchema: z.ZodObject<{
52
11
  ready: z.ZodOptional<z.ZodString>;
@@ -1300,37 +1259,6 @@ export declare const DefaultsSchema: z.ZodObject<{
1300
1259
  base_image?: string | undefined;
1301
1260
  host_config?: HostConfig | undefined;
1302
1261
  }>>;
1303
- permissions: z.ZodOptional<z.ZodObject<{
1304
- mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>>>;
1305
- allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1306
- denied_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1307
- bash: z.ZodOptional<z.ZodObject<{
1308
- allowed_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1309
- denied_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1310
- }, "strip", z.ZodTypeAny, {
1311
- allowed_commands?: string[] | undefined;
1312
- denied_patterns?: string[] | undefined;
1313
- }, {
1314
- allowed_commands?: string[] | undefined;
1315
- denied_patterns?: string[] | undefined;
1316
- }>>;
1317
- }, "strip", z.ZodTypeAny, {
1318
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
1319
- allowed_tools?: string[] | undefined;
1320
- denied_tools?: string[] | undefined;
1321
- bash?: {
1322
- allowed_commands?: string[] | undefined;
1323
- denied_patterns?: string[] | undefined;
1324
- } | undefined;
1325
- }, {
1326
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
1327
- allowed_tools?: string[] | undefined;
1328
- denied_tools?: string[] | undefined;
1329
- bash?: {
1330
- allowed_commands?: string[] | undefined;
1331
- denied_patterns?: string[] | undefined;
1332
- } | undefined;
1333
- }>>;
1334
1262
  work_source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1335
1263
  type: z.ZodLiteral<"github">;
1336
1264
  /** GitHub repository in owner/repo format (required) */
@@ -1456,6 +1384,8 @@ export declare const DefaultsSchema: z.ZodObject<{
1456
1384
  model: z.ZodOptional<z.ZodString>;
1457
1385
  max_turns: z.ZodOptional<z.ZodNumber>;
1458
1386
  permission_mode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>>;
1387
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1388
+ denied_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1459
1389
  }, "strip", z.ZodTypeAny, {
1460
1390
  max_turns?: number | undefined;
1461
1391
  model?: string | undefined;
@@ -1480,15 +1410,6 @@ export declare const DefaultsSchema: z.ZodObject<{
1480
1410
  base_image?: string | undefined;
1481
1411
  host_config?: HostConfig | undefined;
1482
1412
  } | undefined;
1483
- permissions?: {
1484
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
1485
- allowed_tools?: string[] | undefined;
1486
- denied_tools?: string[] | undefined;
1487
- bash?: {
1488
- allowed_commands?: string[] | undefined;
1489
- denied_patterns?: string[] | undefined;
1490
- } | undefined;
1491
- } | undefined;
1492
1413
  work_source?: {
1493
1414
  type: "github";
1494
1415
  repo: string;
@@ -1525,6 +1446,8 @@ export declare const DefaultsSchema: z.ZodObject<{
1525
1446
  model?: string | undefined;
1526
1447
  } | undefined;
1527
1448
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
1449
+ allowed_tools?: string[] | undefined;
1450
+ denied_tools?: string[] | undefined;
1528
1451
  }, {
1529
1452
  max_turns?: number | undefined;
1530
1453
  model?: string | undefined;
@@ -1549,15 +1472,6 @@ export declare const DefaultsSchema: z.ZodObject<{
1549
1472
  base_image?: string | undefined;
1550
1473
  host_config?: HostConfig | undefined;
1551
1474
  } | undefined;
1552
- permissions?: {
1553
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
1554
- allowed_tools?: string[] | undefined;
1555
- denied_tools?: string[] | undefined;
1556
- bash?: {
1557
- allowed_commands?: string[] | undefined;
1558
- denied_patterns?: string[] | undefined;
1559
- } | undefined;
1560
- } | undefined;
1561
1475
  work_source?: {
1562
1476
  type: "github";
1563
1477
  repo: string;
@@ -1594,6 +1508,8 @@ export declare const DefaultsSchema: z.ZodObject<{
1594
1508
  model?: string | undefined;
1595
1509
  } | undefined;
1596
1510
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
1511
+ allowed_tools?: string[] | undefined;
1512
+ denied_tools?: string[] | undefined;
1597
1513
  }>;
1598
1514
  export declare const WorkingDirectorySchema: z.ZodObject<{
1599
1515
  root: z.ZodString;
@@ -1850,13 +1766,13 @@ export declare const DiscordDMSchema: z.ZodObject<{
1850
1766
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1851
1767
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1852
1768
  }, "strip", z.ZodTypeAny, {
1853
- mode: "mention" | "auto";
1854
1769
  enabled: boolean;
1770
+ mode: "mention" | "auto";
1855
1771
  allowlist?: string[] | undefined;
1856
1772
  blocklist?: string[] | undefined;
1857
1773
  }, {
1858
- mode?: "mention" | "auto" | undefined;
1859
1774
  enabled?: boolean | undefined;
1775
+ mode?: "mention" | "auto" | undefined;
1860
1776
  allowlist?: string[] | undefined;
1861
1777
  blocklist?: string[] | undefined;
1862
1778
  }>;
@@ -1884,8 +1800,8 @@ export declare const DiscordChannelSchema: z.ZodObject<{
1884
1800
  name?: string | undefined;
1885
1801
  }, {
1886
1802
  id: string;
1887
- mode?: "mention" | "auto" | undefined;
1888
1803
  name?: string | undefined;
1804
+ mode?: "mention" | "auto" | undefined;
1889
1805
  context_messages?: number | undefined;
1890
1806
  }>;
1891
1807
  /**
@@ -1918,8 +1834,8 @@ export declare const DiscordGuildSchema: z.ZodObject<{
1918
1834
  name?: string | undefined;
1919
1835
  }, {
1920
1836
  id: string;
1921
- mode?: "mention" | "auto" | undefined;
1922
1837
  name?: string | undefined;
1838
+ mode?: "mention" | "auto" | undefined;
1923
1839
  context_messages?: number | undefined;
1924
1840
  }>, "many">>;
1925
1841
  dm: z.ZodOptional<z.ZodObject<{
@@ -1928,13 +1844,13 @@ export declare const DiscordGuildSchema: z.ZodObject<{
1928
1844
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1929
1845
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1930
1846
  }, "strip", z.ZodTypeAny, {
1931
- mode: "mention" | "auto";
1932
1847
  enabled: boolean;
1848
+ mode: "mention" | "auto";
1933
1849
  allowlist?: string[] | undefined;
1934
1850
  blocklist?: string[] | undefined;
1935
1851
  }, {
1936
- mode?: "mention" | "auto" | undefined;
1937
1852
  enabled?: boolean | undefined;
1853
+ mode?: "mention" | "auto" | undefined;
1938
1854
  allowlist?: string[] | undefined;
1939
1855
  blocklist?: string[] | undefined;
1940
1856
  }>>;
@@ -1947,8 +1863,8 @@ export declare const DiscordGuildSchema: z.ZodObject<{
1947
1863
  name?: string | undefined;
1948
1864
  }[] | undefined;
1949
1865
  dm?: {
1950
- mode: "mention" | "auto";
1951
1866
  enabled: boolean;
1867
+ mode: "mention" | "auto";
1952
1868
  allowlist?: string[] | undefined;
1953
1869
  blocklist?: string[] | undefined;
1954
1870
  } | undefined;
@@ -1956,13 +1872,13 @@ export declare const DiscordGuildSchema: z.ZodObject<{
1956
1872
  id: string;
1957
1873
  channels?: {
1958
1874
  id: string;
1959
- mode?: "mention" | "auto" | undefined;
1960
1875
  name?: string | undefined;
1876
+ mode?: "mention" | "auto" | undefined;
1961
1877
  context_messages?: number | undefined;
1962
1878
  }[] | undefined;
1963
1879
  dm?: {
1964
- mode?: "mention" | "auto" | undefined;
1965
1880
  enabled?: boolean | undefined;
1881
+ mode?: "mention" | "auto" | undefined;
1966
1882
  allowlist?: string[] | undefined;
1967
1883
  blocklist?: string[] | undefined;
1968
1884
  } | undefined;
@@ -2024,8 +1940,8 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2024
1940
  name?: string | undefined;
2025
1941
  }, {
2026
1942
  id: string;
2027
- mode?: "mention" | "auto" | undefined;
2028
1943
  name?: string | undefined;
1944
+ mode?: "mention" | "auto" | undefined;
2029
1945
  context_messages?: number | undefined;
2030
1946
  }>, "many">>;
2031
1947
  dm: z.ZodOptional<z.ZodObject<{
@@ -2034,13 +1950,13 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2034
1950
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2035
1951
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2036
1952
  }, "strip", z.ZodTypeAny, {
2037
- mode: "mention" | "auto";
2038
1953
  enabled: boolean;
1954
+ mode: "mention" | "auto";
2039
1955
  allowlist?: string[] | undefined;
2040
1956
  blocklist?: string[] | undefined;
2041
1957
  }, {
2042
- mode?: "mention" | "auto" | undefined;
2043
1958
  enabled?: boolean | undefined;
1959
+ mode?: "mention" | "auto" | undefined;
2044
1960
  allowlist?: string[] | undefined;
2045
1961
  blocklist?: string[] | undefined;
2046
1962
  }>>;
@@ -2053,8 +1969,8 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2053
1969
  name?: string | undefined;
2054
1970
  }[] | undefined;
2055
1971
  dm?: {
2056
- mode: "mention" | "auto";
2057
1972
  enabled: boolean;
1973
+ mode: "mention" | "auto";
2058
1974
  allowlist?: string[] | undefined;
2059
1975
  blocklist?: string[] | undefined;
2060
1976
  } | undefined;
@@ -2062,13 +1978,13 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2062
1978
  id: string;
2063
1979
  channels?: {
2064
1980
  id: string;
2065
- mode?: "mention" | "auto" | undefined;
2066
1981
  name?: string | undefined;
1982
+ mode?: "mention" | "auto" | undefined;
2067
1983
  context_messages?: number | undefined;
2068
1984
  }[] | undefined;
2069
1985
  dm?: {
2070
- mode?: "mention" | "auto" | undefined;
2071
1986
  enabled?: boolean | undefined;
1987
+ mode?: "mention" | "auto" | undefined;
2072
1988
  allowlist?: string[] | undefined;
2073
1989
  blocklist?: string[] | undefined;
2074
1990
  } | undefined;
@@ -2080,13 +1996,13 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2080
1996
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2081
1997
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2082
1998
  }, "strip", z.ZodTypeAny, {
2083
- mode: "mention" | "auto";
2084
1999
  enabled: boolean;
2000
+ mode: "mention" | "auto";
2085
2001
  allowlist?: string[] | undefined;
2086
2002
  blocklist?: string[] | undefined;
2087
2003
  }, {
2088
- mode?: "mention" | "auto" | undefined;
2089
2004
  enabled?: boolean | undefined;
2005
+ mode?: "mention" | "auto" | undefined;
2090
2006
  allowlist?: string[] | undefined;
2091
2007
  blocklist?: string[] | undefined;
2092
2008
  }>>;
@@ -2103,15 +2019,15 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2103
2019
  name?: string | undefined;
2104
2020
  }[] | undefined;
2105
2021
  dm?: {
2106
- mode: "mention" | "auto";
2107
2022
  enabled: boolean;
2023
+ mode: "mention" | "auto";
2108
2024
  allowlist?: string[] | undefined;
2109
2025
  blocklist?: string[] | undefined;
2110
2026
  } | undefined;
2111
2027
  }[];
2112
2028
  dm?: {
2113
- mode: "mention" | "auto";
2114
2029
  enabled: boolean;
2030
+ mode: "mention" | "auto";
2115
2031
  allowlist?: string[] | undefined;
2116
2032
  blocklist?: string[] | undefined;
2117
2033
  } | undefined;
@@ -2125,20 +2041,20 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2125
2041
  id: string;
2126
2042
  channels?: {
2127
2043
  id: string;
2128
- mode?: "mention" | "auto" | undefined;
2129
2044
  name?: string | undefined;
2045
+ mode?: "mention" | "auto" | undefined;
2130
2046
  context_messages?: number | undefined;
2131
2047
  }[] | undefined;
2132
2048
  dm?: {
2133
- mode?: "mention" | "auto" | undefined;
2134
2049
  enabled?: boolean | undefined;
2050
+ mode?: "mention" | "auto" | undefined;
2135
2051
  allowlist?: string[] | undefined;
2136
2052
  blocklist?: string[] | undefined;
2137
2053
  } | undefined;
2138
2054
  }[];
2139
2055
  dm?: {
2140
- mode?: "mention" | "auto" | undefined;
2141
2056
  enabled?: boolean | undefined;
2057
+ mode?: "mention" | "auto" | undefined;
2142
2058
  allowlist?: string[] | undefined;
2143
2059
  blocklist?: string[] | undefined;
2144
2060
  } | undefined;
@@ -2183,8 +2099,8 @@ export declare const AgentChatSchema: z.ZodObject<{
2183
2099
  name?: string | undefined;
2184
2100
  }, {
2185
2101
  id: string;
2186
- mode?: "mention" | "auto" | undefined;
2187
2102
  name?: string | undefined;
2103
+ mode?: "mention" | "auto" | undefined;
2188
2104
  context_messages?: number | undefined;
2189
2105
  }>, "many">>;
2190
2106
  dm: z.ZodOptional<z.ZodObject<{
@@ -2193,13 +2109,13 @@ export declare const AgentChatSchema: z.ZodObject<{
2193
2109
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2194
2110
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2195
2111
  }, "strip", z.ZodTypeAny, {
2196
- mode: "mention" | "auto";
2197
2112
  enabled: boolean;
2113
+ mode: "mention" | "auto";
2198
2114
  allowlist?: string[] | undefined;
2199
2115
  blocklist?: string[] | undefined;
2200
2116
  }, {
2201
- mode?: "mention" | "auto" | undefined;
2202
2117
  enabled?: boolean | undefined;
2118
+ mode?: "mention" | "auto" | undefined;
2203
2119
  allowlist?: string[] | undefined;
2204
2120
  blocklist?: string[] | undefined;
2205
2121
  }>>;
@@ -2212,8 +2128,8 @@ export declare const AgentChatSchema: z.ZodObject<{
2212
2128
  name?: string | undefined;
2213
2129
  }[] | undefined;
2214
2130
  dm?: {
2215
- mode: "mention" | "auto";
2216
2131
  enabled: boolean;
2132
+ mode: "mention" | "auto";
2217
2133
  allowlist?: string[] | undefined;
2218
2134
  blocklist?: string[] | undefined;
2219
2135
  } | undefined;
@@ -2221,13 +2137,13 @@ export declare const AgentChatSchema: z.ZodObject<{
2221
2137
  id: string;
2222
2138
  channels?: {
2223
2139
  id: string;
2224
- mode?: "mention" | "auto" | undefined;
2225
2140
  name?: string | undefined;
2141
+ mode?: "mention" | "auto" | undefined;
2226
2142
  context_messages?: number | undefined;
2227
2143
  }[] | undefined;
2228
2144
  dm?: {
2229
- mode?: "mention" | "auto" | undefined;
2230
2145
  enabled?: boolean | undefined;
2146
+ mode?: "mention" | "auto" | undefined;
2231
2147
  allowlist?: string[] | undefined;
2232
2148
  blocklist?: string[] | undefined;
2233
2149
  } | undefined;
@@ -2239,13 +2155,13 @@ export declare const AgentChatSchema: z.ZodObject<{
2239
2155
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2240
2156
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2241
2157
  }, "strip", z.ZodTypeAny, {
2242
- mode: "mention" | "auto";
2243
2158
  enabled: boolean;
2159
+ mode: "mention" | "auto";
2244
2160
  allowlist?: string[] | undefined;
2245
2161
  blocklist?: string[] | undefined;
2246
2162
  }, {
2247
- mode?: "mention" | "auto" | undefined;
2248
2163
  enabled?: boolean | undefined;
2164
+ mode?: "mention" | "auto" | undefined;
2249
2165
  allowlist?: string[] | undefined;
2250
2166
  blocklist?: string[] | undefined;
2251
2167
  }>>;
@@ -2262,15 +2178,15 @@ export declare const AgentChatSchema: z.ZodObject<{
2262
2178
  name?: string | undefined;
2263
2179
  }[] | undefined;
2264
2180
  dm?: {
2265
- mode: "mention" | "auto";
2266
2181
  enabled: boolean;
2182
+ mode: "mention" | "auto";
2267
2183
  allowlist?: string[] | undefined;
2268
2184
  blocklist?: string[] | undefined;
2269
2185
  } | undefined;
2270
2186
  }[];
2271
2187
  dm?: {
2272
- mode: "mention" | "auto";
2273
2188
  enabled: boolean;
2189
+ mode: "mention" | "auto";
2274
2190
  allowlist?: string[] | undefined;
2275
2191
  blocklist?: string[] | undefined;
2276
2192
  } | undefined;
@@ -2284,20 +2200,20 @@ export declare const AgentChatSchema: z.ZodObject<{
2284
2200
  id: string;
2285
2201
  channels?: {
2286
2202
  id: string;
2287
- mode?: "mention" | "auto" | undefined;
2288
2203
  name?: string | undefined;
2204
+ mode?: "mention" | "auto" | undefined;
2289
2205
  context_messages?: number | undefined;
2290
2206
  }[] | undefined;
2291
2207
  dm?: {
2292
- mode?: "mention" | "auto" | undefined;
2293
2208
  enabled?: boolean | undefined;
2209
+ mode?: "mention" | "auto" | undefined;
2294
2210
  allowlist?: string[] | undefined;
2295
2211
  blocklist?: string[] | undefined;
2296
2212
  } | undefined;
2297
2213
  }[];
2298
2214
  dm?: {
2299
- mode?: "mention" | "auto" | undefined;
2300
2215
  enabled?: boolean | undefined;
2216
+ mode?: "mention" | "auto" | undefined;
2301
2217
  allowlist?: string[] | undefined;
2302
2218
  blocklist?: string[] | undefined;
2303
2219
  } | undefined;
@@ -2322,15 +2238,15 @@ export declare const AgentChatSchema: z.ZodObject<{
2322
2238
  name?: string | undefined;
2323
2239
  }[] | undefined;
2324
2240
  dm?: {
2325
- mode: "mention" | "auto";
2326
2241
  enabled: boolean;
2242
+ mode: "mention" | "auto";
2327
2243
  allowlist?: string[] | undefined;
2328
2244
  blocklist?: string[] | undefined;
2329
2245
  } | undefined;
2330
2246
  }[];
2331
2247
  dm?: {
2332
- mode: "mention" | "auto";
2333
2248
  enabled: boolean;
2249
+ mode: "mention" | "auto";
2334
2250
  allowlist?: string[] | undefined;
2335
2251
  blocklist?: string[] | undefined;
2336
2252
  } | undefined;
@@ -2346,20 +2262,20 @@ export declare const AgentChatSchema: z.ZodObject<{
2346
2262
  id: string;
2347
2263
  channels?: {
2348
2264
  id: string;
2349
- mode?: "mention" | "auto" | undefined;
2350
2265
  name?: string | undefined;
2266
+ mode?: "mention" | "auto" | undefined;
2351
2267
  context_messages?: number | undefined;
2352
2268
  }[] | undefined;
2353
2269
  dm?: {
2354
- mode?: "mention" | "auto" | undefined;
2355
2270
  enabled?: boolean | undefined;
2271
+ mode?: "mention" | "auto" | undefined;
2356
2272
  allowlist?: string[] | undefined;
2357
2273
  blocklist?: string[] | undefined;
2358
2274
  } | undefined;
2359
2275
  }[];
2360
2276
  dm?: {
2361
- mode?: "mention" | "auto" | undefined;
2362
2277
  enabled?: boolean | undefined;
2278
+ mode?: "mention" | "auto" | undefined;
2363
2279
  allowlist?: string[] | undefined;
2364
2280
  blocklist?: string[] | undefined;
2365
2281
  } | undefined;
@@ -3221,37 +3137,6 @@ export declare const AgentConfigSchema: z.ZodObject<{
3221
3137
  timeout?: string | undefined;
3222
3138
  model?: string | undefined;
3223
3139
  }>>;
3224
- permissions: z.ZodOptional<z.ZodObject<{
3225
- mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>>>;
3226
- allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3227
- denied_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3228
- bash: z.ZodOptional<z.ZodObject<{
3229
- allowed_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3230
- denied_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3231
- }, "strip", z.ZodTypeAny, {
3232
- allowed_commands?: string[] | undefined;
3233
- denied_patterns?: string[] | undefined;
3234
- }, {
3235
- allowed_commands?: string[] | undefined;
3236
- denied_patterns?: string[] | undefined;
3237
- }>>;
3238
- }, "strip", z.ZodTypeAny, {
3239
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
3240
- allowed_tools?: string[] | undefined;
3241
- denied_tools?: string[] | undefined;
3242
- bash?: {
3243
- allowed_commands?: string[] | undefined;
3244
- denied_patterns?: string[] | undefined;
3245
- } | undefined;
3246
- }, {
3247
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
3248
- allowed_tools?: string[] | undefined;
3249
- denied_tools?: string[] | undefined;
3250
- bash?: {
3251
- allowed_commands?: string[] | undefined;
3252
- denied_patterns?: string[] | undefined;
3253
- } | undefined;
3254
- }>>;
3255
3140
  mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3256
3141
  command: z.ZodOptional<z.ZodString>;
3257
3142
  args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3302,8 +3187,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
3302
3187
  name?: string | undefined;
3303
3188
  }, {
3304
3189
  id: string;
3305
- mode?: "mention" | "auto" | undefined;
3306
3190
  name?: string | undefined;
3191
+ mode?: "mention" | "auto" | undefined;
3307
3192
  context_messages?: number | undefined;
3308
3193
  }>, "many">>;
3309
3194
  dm: z.ZodOptional<z.ZodObject<{
@@ -3312,13 +3197,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
3312
3197
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3313
3198
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3314
3199
  }, "strip", z.ZodTypeAny, {
3315
- mode: "mention" | "auto";
3316
3200
  enabled: boolean;
3201
+ mode: "mention" | "auto";
3317
3202
  allowlist?: string[] | undefined;
3318
3203
  blocklist?: string[] | undefined;
3319
3204
  }, {
3320
- mode?: "mention" | "auto" | undefined;
3321
3205
  enabled?: boolean | undefined;
3206
+ mode?: "mention" | "auto" | undefined;
3322
3207
  allowlist?: string[] | undefined;
3323
3208
  blocklist?: string[] | undefined;
3324
3209
  }>>;
@@ -3331,8 +3216,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
3331
3216
  name?: string | undefined;
3332
3217
  }[] | undefined;
3333
3218
  dm?: {
3334
- mode: "mention" | "auto";
3335
3219
  enabled: boolean;
3220
+ mode: "mention" | "auto";
3336
3221
  allowlist?: string[] | undefined;
3337
3222
  blocklist?: string[] | undefined;
3338
3223
  } | undefined;
@@ -3340,13 +3225,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
3340
3225
  id: string;
3341
3226
  channels?: {
3342
3227
  id: string;
3343
- mode?: "mention" | "auto" | undefined;
3344
3228
  name?: string | undefined;
3229
+ mode?: "mention" | "auto" | undefined;
3345
3230
  context_messages?: number | undefined;
3346
3231
  }[] | undefined;
3347
3232
  dm?: {
3348
- mode?: "mention" | "auto" | undefined;
3349
3233
  enabled?: boolean | undefined;
3234
+ mode?: "mention" | "auto" | undefined;
3350
3235
  allowlist?: string[] | undefined;
3351
3236
  blocklist?: string[] | undefined;
3352
3237
  } | undefined;
@@ -3358,13 +3243,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
3358
3243
  allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3359
3244
  blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3360
3245
  }, "strip", z.ZodTypeAny, {
3361
- mode: "mention" | "auto";
3362
3246
  enabled: boolean;
3247
+ mode: "mention" | "auto";
3363
3248
  allowlist?: string[] | undefined;
3364
3249
  blocklist?: string[] | undefined;
3365
3250
  }, {
3366
- mode?: "mention" | "auto" | undefined;
3367
3251
  enabled?: boolean | undefined;
3252
+ mode?: "mention" | "auto" | undefined;
3368
3253
  allowlist?: string[] | undefined;
3369
3254
  blocklist?: string[] | undefined;
3370
3255
  }>>;
@@ -3381,15 +3266,15 @@ export declare const AgentConfigSchema: z.ZodObject<{
3381
3266
  name?: string | undefined;
3382
3267
  }[] | undefined;
3383
3268
  dm?: {
3384
- mode: "mention" | "auto";
3385
3269
  enabled: boolean;
3270
+ mode: "mention" | "auto";
3386
3271
  allowlist?: string[] | undefined;
3387
3272
  blocklist?: string[] | undefined;
3388
3273
  } | undefined;
3389
3274
  }[];
3390
3275
  dm?: {
3391
- mode: "mention" | "auto";
3392
3276
  enabled: boolean;
3277
+ mode: "mention" | "auto";
3393
3278
  allowlist?: string[] | undefined;
3394
3279
  blocklist?: string[] | undefined;
3395
3280
  } | undefined;
@@ -3403,20 +3288,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
3403
3288
  id: string;
3404
3289
  channels?: {
3405
3290
  id: string;
3406
- mode?: "mention" | "auto" | undefined;
3407
3291
  name?: string | undefined;
3292
+ mode?: "mention" | "auto" | undefined;
3408
3293
  context_messages?: number | undefined;
3409
3294
  }[] | undefined;
3410
3295
  dm?: {
3411
- mode?: "mention" | "auto" | undefined;
3412
3296
  enabled?: boolean | undefined;
3297
+ mode?: "mention" | "auto" | undefined;
3413
3298
  allowlist?: string[] | undefined;
3414
3299
  blocklist?: string[] | undefined;
3415
3300
  } | undefined;
3416
3301
  }[];
3417
3302
  dm?: {
3418
- mode?: "mention" | "auto" | undefined;
3419
3303
  enabled?: boolean | undefined;
3304
+ mode?: "mention" | "auto" | undefined;
3420
3305
  allowlist?: string[] | undefined;
3421
3306
  blocklist?: string[] | undefined;
3422
3307
  } | undefined;
@@ -3441,15 +3326,15 @@ export declare const AgentConfigSchema: z.ZodObject<{
3441
3326
  name?: string | undefined;
3442
3327
  }[] | undefined;
3443
3328
  dm?: {
3444
- mode: "mention" | "auto";
3445
3329
  enabled: boolean;
3330
+ mode: "mention" | "auto";
3446
3331
  allowlist?: string[] | undefined;
3447
3332
  blocklist?: string[] | undefined;
3448
3333
  } | undefined;
3449
3334
  }[];
3450
3335
  dm?: {
3451
- mode: "mention" | "auto";
3452
3336
  enabled: boolean;
3337
+ mode: "mention" | "auto";
3453
3338
  allowlist?: string[] | undefined;
3454
3339
  blocklist?: string[] | undefined;
3455
3340
  } | undefined;
@@ -3465,20 +3350,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
3465
3350
  id: string;
3466
3351
  channels?: {
3467
3352
  id: string;
3468
- mode?: "mention" | "auto" | undefined;
3469
3353
  name?: string | undefined;
3354
+ mode?: "mention" | "auto" | undefined;
3470
3355
  context_messages?: number | undefined;
3471
3356
  }[] | undefined;
3472
3357
  dm?: {
3473
- mode?: "mention" | "auto" | undefined;
3474
3358
  enabled?: boolean | undefined;
3359
+ mode?: "mention" | "auto" | undefined;
3475
3360
  allowlist?: string[] | undefined;
3476
3361
  blocklist?: string[] | undefined;
3477
3362
  } | undefined;
3478
3363
  }[];
3479
3364
  dm?: {
3480
- mode?: "mention" | "auto" | undefined;
3481
3365
  enabled?: boolean | undefined;
3366
+ mode?: "mention" | "auto" | undefined;
3482
3367
  allowlist?: string[] | undefined;
3483
3368
  blocklist?: string[] | undefined;
3484
3369
  } | undefined;
@@ -3914,6 +3799,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
3914
3799
  model: z.ZodOptional<z.ZodString>;
3915
3800
  max_turns: z.ZodOptional<z.ZodNumber>;
3916
3801
  permission_mode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>>;
3802
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3803
+ denied_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3917
3804
  /** Path to metadata JSON file written by agent (default: metadata.json in workspace) */
3918
3805
  metadata_file: z.ZodOptional<z.ZodString>;
3919
3806
  /**
@@ -3952,15 +3839,6 @@ export declare const AgentConfigSchema: z.ZodObject<{
3952
3839
  cpu_period?: number | undefined;
3953
3840
  cpu_quota?: number | undefined;
3954
3841
  } | undefined;
3955
- permissions?: {
3956
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
3957
- allowed_tools?: string[] | undefined;
3958
- denied_tools?: string[] | undefined;
3959
- bash?: {
3960
- allowed_commands?: string[] | undefined;
3961
- denied_patterns?: string[] | undefined;
3962
- } | undefined;
3963
- } | undefined;
3964
3842
  work_source?: {
3965
3843
  type: "github";
3966
3844
  repo: string;
@@ -3997,6 +3875,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
3997
3875
  model?: string | undefined;
3998
3876
  } | undefined;
3999
3877
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
3878
+ allowed_tools?: string[] | undefined;
3879
+ denied_tools?: string[] | undefined;
4000
3880
  chat?: {
4001
3881
  discord?: {
4002
3882
  bot_token_env: string;
@@ -4011,15 +3891,15 @@ export declare const AgentConfigSchema: z.ZodObject<{
4011
3891
  name?: string | undefined;
4012
3892
  }[] | undefined;
4013
3893
  dm?: {
4014
- mode: "mention" | "auto";
4015
3894
  enabled: boolean;
3895
+ mode: "mention" | "auto";
4016
3896
  allowlist?: string[] | undefined;
4017
3897
  blocklist?: string[] | undefined;
4018
3898
  } | undefined;
4019
3899
  }[];
4020
3900
  dm?: {
4021
- mode: "mention" | "auto";
4022
3901
  enabled: boolean;
3902
+ mode: "mention" | "auto";
4023
3903
  allowlist?: string[] | undefined;
4024
3904
  blocklist?: string[] | undefined;
4025
3905
  } | undefined;
@@ -4150,15 +4030,6 @@ export declare const AgentConfigSchema: z.ZodObject<{
4150
4030
  cpu_period?: number | undefined;
4151
4031
  cpu_quota?: number | undefined;
4152
4032
  } | undefined;
4153
- permissions?: {
4154
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
4155
- allowed_tools?: string[] | undefined;
4156
- denied_tools?: string[] | undefined;
4157
- bash?: {
4158
- allowed_commands?: string[] | undefined;
4159
- denied_patterns?: string[] | undefined;
4160
- } | undefined;
4161
- } | undefined;
4162
4033
  work_source?: {
4163
4034
  type: "github";
4164
4035
  repo: string;
@@ -4195,6 +4066,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
4195
4066
  model?: string | undefined;
4196
4067
  } | undefined;
4197
4068
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
4069
+ allowed_tools?: string[] | undefined;
4070
+ denied_tools?: string[] | undefined;
4198
4071
  chat?: {
4199
4072
  discord?: {
4200
4073
  bot_token_env: string;
@@ -4202,20 +4075,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
4202
4075
  id: string;
4203
4076
  channels?: {
4204
4077
  id: string;
4205
- mode?: "mention" | "auto" | undefined;
4206
4078
  name?: string | undefined;
4079
+ mode?: "mention" | "auto" | undefined;
4207
4080
  context_messages?: number | undefined;
4208
4081
  }[] | undefined;
4209
4082
  dm?: {
4210
- mode?: "mention" | "auto" | undefined;
4211
4083
  enabled?: boolean | undefined;
4084
+ mode?: "mention" | "auto" | undefined;
4212
4085
  allowlist?: string[] | undefined;
4213
4086
  blocklist?: string[] | undefined;
4214
4087
  } | undefined;
4215
4088
  }[];
4216
4089
  dm?: {
4217
- mode?: "mention" | "auto" | undefined;
4218
4090
  enabled?: boolean | undefined;
4091
+ mode?: "mention" | "auto" | undefined;
4219
4092
  allowlist?: string[] | undefined;
4220
4093
  blocklist?: string[] | undefined;
4221
4094
  } | undefined;
@@ -4683,37 +4556,6 @@ export declare const FleetConfigSchema: z.ZodObject<{
4683
4556
  base_image?: string | undefined;
4684
4557
  host_config?: HostConfig | undefined;
4685
4558
  }>>;
4686
- permissions: z.ZodOptional<z.ZodObject<{
4687
- mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>>>;
4688
- allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4689
- denied_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4690
- bash: z.ZodOptional<z.ZodObject<{
4691
- allowed_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4692
- denied_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4693
- }, "strip", z.ZodTypeAny, {
4694
- allowed_commands?: string[] | undefined;
4695
- denied_patterns?: string[] | undefined;
4696
- }, {
4697
- allowed_commands?: string[] | undefined;
4698
- denied_patterns?: string[] | undefined;
4699
- }>>;
4700
- }, "strip", z.ZodTypeAny, {
4701
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
4702
- allowed_tools?: string[] | undefined;
4703
- denied_tools?: string[] | undefined;
4704
- bash?: {
4705
- allowed_commands?: string[] | undefined;
4706
- denied_patterns?: string[] | undefined;
4707
- } | undefined;
4708
- }, {
4709
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
4710
- allowed_tools?: string[] | undefined;
4711
- denied_tools?: string[] | undefined;
4712
- bash?: {
4713
- allowed_commands?: string[] | undefined;
4714
- denied_patterns?: string[] | undefined;
4715
- } | undefined;
4716
- }>>;
4717
4559
  work_source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4718
4560
  type: z.ZodLiteral<"github">;
4719
4561
  /** GitHub repository in owner/repo format (required) */
@@ -4839,6 +4681,8 @@ export declare const FleetConfigSchema: z.ZodObject<{
4839
4681
  model: z.ZodOptional<z.ZodString>;
4840
4682
  max_turns: z.ZodOptional<z.ZodNumber>;
4841
4683
  permission_mode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "delegate", "dontAsk"]>>;
4684
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4685
+ denied_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4842
4686
  }, "strip", z.ZodTypeAny, {
4843
4687
  max_turns?: number | undefined;
4844
4688
  model?: string | undefined;
@@ -4863,15 +4707,6 @@ export declare const FleetConfigSchema: z.ZodObject<{
4863
4707
  base_image?: string | undefined;
4864
4708
  host_config?: HostConfig | undefined;
4865
4709
  } | undefined;
4866
- permissions?: {
4867
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
4868
- allowed_tools?: string[] | undefined;
4869
- denied_tools?: string[] | undefined;
4870
- bash?: {
4871
- allowed_commands?: string[] | undefined;
4872
- denied_patterns?: string[] | undefined;
4873
- } | undefined;
4874
- } | undefined;
4875
4710
  work_source?: {
4876
4711
  type: "github";
4877
4712
  repo: string;
@@ -4908,6 +4743,8 @@ export declare const FleetConfigSchema: z.ZodObject<{
4908
4743
  model?: string | undefined;
4909
4744
  } | undefined;
4910
4745
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
4746
+ allowed_tools?: string[] | undefined;
4747
+ denied_tools?: string[] | undefined;
4911
4748
  }, {
4912
4749
  max_turns?: number | undefined;
4913
4750
  model?: string | undefined;
@@ -4932,15 +4769,6 @@ export declare const FleetConfigSchema: z.ZodObject<{
4932
4769
  base_image?: string | undefined;
4933
4770
  host_config?: HostConfig | undefined;
4934
4771
  } | undefined;
4935
- permissions?: {
4936
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
4937
- allowed_tools?: string[] | undefined;
4938
- denied_tools?: string[] | undefined;
4939
- bash?: {
4940
- allowed_commands?: string[] | undefined;
4941
- denied_patterns?: string[] | undefined;
4942
- } | undefined;
4943
- } | undefined;
4944
4772
  work_source?: {
4945
4773
  type: "github";
4946
4774
  repo: string;
@@ -4977,6 +4805,8 @@ export declare const FleetConfigSchema: z.ZodObject<{
4977
4805
  model?: string | undefined;
4978
4806
  } | undefined;
4979
4807
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
4808
+ allowed_tools?: string[] | undefined;
4809
+ denied_tools?: string[] | undefined;
4980
4810
  }>>;
4981
4811
  working_directory: z.ZodOptional<z.ZodObject<{
4982
4812
  root: z.ZodString;
@@ -5395,15 +5225,6 @@ export declare const FleetConfigSchema: z.ZodObject<{
5395
5225
  base_image?: string | undefined;
5396
5226
  host_config?: HostConfig | undefined;
5397
5227
  } | undefined;
5398
- permissions?: {
5399
- mode: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk";
5400
- allowed_tools?: string[] | undefined;
5401
- denied_tools?: string[] | undefined;
5402
- bash?: {
5403
- allowed_commands?: string[] | undefined;
5404
- denied_patterns?: string[] | undefined;
5405
- } | undefined;
5406
- } | undefined;
5407
5228
  work_source?: {
5408
5229
  type: "github";
5409
5230
  repo: string;
@@ -5440,6 +5261,8 @@ export declare const FleetConfigSchema: z.ZodObject<{
5440
5261
  model?: string | undefined;
5441
5262
  } | undefined;
5442
5263
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
5264
+ allowed_tools?: string[] | undefined;
5265
+ denied_tools?: string[] | undefined;
5443
5266
  } | undefined;
5444
5267
  webhooks?: {
5445
5268
  enabled: boolean;
@@ -5509,15 +5332,6 @@ export declare const FleetConfigSchema: z.ZodObject<{
5509
5332
  base_image?: string | undefined;
5510
5333
  host_config?: HostConfig | undefined;
5511
5334
  } | undefined;
5512
- permissions?: {
5513
- mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
5514
- allowed_tools?: string[] | undefined;
5515
- denied_tools?: string[] | undefined;
5516
- bash?: {
5517
- allowed_commands?: string[] | undefined;
5518
- denied_patterns?: string[] | undefined;
5519
- } | undefined;
5520
- } | undefined;
5521
5335
  work_source?: {
5522
5336
  type: "github";
5523
5337
  repo: string;
@@ -5554,6 +5368,8 @@ export declare const FleetConfigSchema: z.ZodObject<{
5554
5368
  model?: string | undefined;
5555
5369
  } | undefined;
5556
5370
  permission_mode?: "default" | "acceptEdits" | "bypassPermissions" | "plan" | "delegate" | "dontAsk" | undefined;
5371
+ allowed_tools?: string[] | undefined;
5372
+ denied_tools?: string[] | undefined;
5557
5373
  } | undefined;
5558
5374
  agents?: {
5559
5375
  path: string;
@@ -5566,8 +5382,6 @@ export declare const FleetConfigSchema: z.ZodObject<{
5566
5382
  } | undefined;
5567
5383
  }>;
5568
5384
  export type PermissionMode = z.infer<typeof PermissionModeSchema>;
5569
- export type BashPermissions = z.infer<typeof BashPermissionsSchema>;
5570
- export type Permissions = z.infer<typeof PermissionsSchema>;
5571
5385
  export type WorkSourceType = z.infer<typeof WorkSourceTypeSchema>;
5572
5386
  export type WorkSourceLabels = z.infer<typeof WorkSourceLabelsSchema>;
5573
5387
  export type GitHubAuth = z.infer<typeof GitHubAuthSchema>;