@interactive-inc/claude-funnel 0.58.1 → 0.59.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,18 @@
1
1
  import { a as Settings } from "./settings-schema-1hh11jnN.js";
2
- import { n as FunnelClaude, t as FileProcessGuard } from "./file-process-guard-B3IFCj_G.js";
2
+ import { n as FunnelClaude, t as FileProcessGuard } from "./file-process-guard-JhFpmHYo.js";
3
3
  import { n as FunnelIdGenerator, t as FunnelSettingsReader } from "./settings-reader-DPwqOVUm.js";
4
4
  import { S as FunnelLogger, b as FunnelConnectorListener, c as ConnectorProcessedQuery, f as ConnectorRawQuery, g as StoredRawEvent, h as StoredProcessedEvent, i as ConnectorConnectionRecord, l as ConnectorProcessedRecord, m as StoredConnectionEvent, o as ConnectorDiagnosticLog, p as ConnectorRawRecord, r as ConnectorConnectionQuery } from "./diagnostic-log-Cb3v8P7p.js";
5
- import { a as RunOptions, i as ProcessSnapshot, n as DetachOptions, o as RunResult, r as FunnelProcessRunner, t as AttachOptions } from "./process-runner-Cx5O_fTf.js";
5
+ import { a as RunOptions, i as ProcessSnapshot, n as DetachOptions, o as RunResult, r as FunnelProcessRunner, t as AttachOptions } from "./process-runner-DIm1cy95.js";
6
6
  import { n as FunnelFileSystem, t as FileStat } from "./file-system-DxpnnUVb.js";
7
7
  import { t as FunnelProfiles } from "./profiles-g2qGVOWv.js";
8
- import { a as ChannelConnectorView, d as ConnectorConfig, i as FunnelTokenPrompter, l as ScheduleListenerOptions, m as FunnelLocalConfig, n as FunnelLocalConfigSync, o as FunnelChannels, s as FunnelClock, u as SlackListenerOptions } from "./local-config-sync--f739oCJ.js";
8
+ import { a as ChannelConnectorView, d as ConnectorConfig, i as FunnelTokenPrompter, l as ScheduleListenerOptions, m as FunnelLocalConfig, n as FunnelLocalConfigSync, o as FunnelChannels, s as FunnelClock, u as SlackListenerOptions } from "./local-config-sync-BGPAS9Be.js";
9
9
  import { c as FunnelDiagnostics } from "./funnel-diagnostics-K-wON25Y.js";
10
10
  import { n as FunnelDocs } from "./funnel-docs-DYBs1-H_.js";
11
11
  import { t as FunnelRecovery } from "./funnel-recovery-COExL9MD.js";
12
12
  import { r as FunnelDoctor } from "./funnel-doctor-vxO96TCA.js";
13
13
  import { a as HttpResponse, i as HttpRequest, r as FunnelHttpClient } from "./discord-connector-schema-CQyfDkLD.js";
14
14
  import { hc } from "hono/client";
15
+ import * as _$zod from "zod";
15
16
  import { z } from "zod";
16
17
  import * as _$hono_factory0 from "hono/factory";
17
18
  import { Hono } from "hono";
@@ -1084,9 +1085,12 @@ declare class NodeFunnelProcessRunner extends FunnelProcessRunner {
1084
1085
  kill(pid: number, signal?: string): void;
1085
1086
  isAlive(pid: number): boolean;
1086
1087
  listProcessesContaining(marker: string): ProcessSnapshot[];
1088
+ getStartTime(pid: number): string | null;
1087
1089
  private isAlivePosix;
1088
1090
  private isAliveWindows;
1089
1091
  private listProcessesContainingPosix;
1092
+ private getStartTimePosix;
1093
+ private getStartTimeWindows;
1090
1094
  private listProcessesContainingWindows;
1091
1095
  }
1092
1096
  //#endregion
@@ -1119,6 +1123,7 @@ type MemoryProcessCall = {
1119
1123
  };
1120
1124
  type AliveStub = (pid: number) => boolean;
1121
1125
  type ProcessListStub = (marker: string) => ProcessSnapshot[];
1126
+ type StartTimeStub = (pid: number) => string | null;
1122
1127
  declare class MemoryFunnelProcessRunner extends FunnelProcessRunner {
1123
1128
  readonly calls: MemoryProcessCall[];
1124
1129
  readonly killed: {
@@ -1129,10 +1134,12 @@ declare class MemoryFunnelProcessRunner extends FunnelProcessRunner {
1129
1134
  private syncHandler;
1130
1135
  private aliveStub;
1131
1136
  private listStub;
1137
+ private startTimeStub;
1132
1138
  on(handler: MemoryProcessHandler): this;
1133
1139
  onSync(handler: MemoryProcessSyncHandler): this;
1134
1140
  onIsAlive(stub: AliveStub): this;
1135
1141
  onListProcessesContaining(stub: ProcessListStub): this;
1142
+ onGetStartTime(stub: StartTimeStub): this;
1136
1143
  run(command: string[], options?: RunOptions): Promise<RunResult>;
1137
1144
  runSync(command: string[]): RunResult;
1138
1145
  attach(command: string[], options?: AttachOptions): Promise<number>;
@@ -1140,6 +1147,7 @@ declare class MemoryFunnelProcessRunner extends FunnelProcessRunner {
1140
1147
  kill(pid: number, signal?: string): void;
1141
1148
  isAlive(pid: number): boolean;
1142
1149
  listProcessesContaining(marker: string): ProcessSnapshot[];
1150
+ getStartTime(pid: number): string | null;
1143
1151
  }
1144
1152
  //#endregion
1145
1153
  //#region lib/engine/logger/node-logger.d.ts
@@ -1281,9 +1289,13 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1281
1289
  channel?: string | undefined;
1282
1290
  };
1283
1291
  };
1284
- output: string;
1285
- outputFormat: "text";
1286
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1292
+ output: _$zod.ZodSafeParseError<{
1293
+ [x: string]: unknown;
1294
+ profile?: string | undefined;
1295
+ channel?: string | undefined;
1296
+ }>;
1297
+ outputFormat: "json";
1298
+ status: 400;
1287
1299
  } | {
1288
1300
  input: {
1289
1301
  query: {
@@ -1300,9 +1312,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1300
1312
  } & {
1301
1313
  "/channels": {
1302
1314
  $get: {
1303
- input: {
1304
- query: Record<string, never>;
1305
- };
1315
+ input: {};
1306
1316
  output: string;
1307
1317
  outputFormat: "text";
1308
1318
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -1312,7 +1322,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1312
1322
  "/channels/add": {
1313
1323
  $post: {
1314
1324
  input: {};
1315
- output: "funnel channels add — add a channel\n\nusage: funnel channels add <name> [--delivery fanout|exclusive]\n\noptions:\n --delivery routing mode (default fanout):\n fanout every connected client receives every event\n exclusive each event delivered to exactly one client (round-robin)";
1325
+ output: "funnel channels add — add a channel\n\nusage: funnel channels add <name> [--delivery fanout|exclusive]\n\noptions:\n --delivery routing mode (default fanout):\n fanout every connected client receives every event\n exclusive each event delivered to exactly one client (round-robin)\n\nA channel is a named event stream. After creating it, add connectors\n(Slack, Discord, GitHub, schedule) to feed events into it, then connect\nClaude Code clients to consume them.\n\nexamples:\n funnel channels add production\n funnel channels add ci-events --delivery exclusive\n\nsee also: funnel channels, funnel channels <name> connectors add";
1316
1326
  outputFormat: "text";
1317
1327
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1318
1328
  };
@@ -1329,9 +1339,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1329
1339
  delivery?: "fanout" | "exclusive" | undefined;
1330
1340
  };
1331
1341
  };
1332
- output: string;
1333
- outputFormat: "text";
1334
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1342
+ output: _$zod.ZodSafeParseError<{
1343
+ channel: string;
1344
+ }>;
1345
+ outputFormat: "json";
1346
+ status: 400;
1347
+ } | {
1348
+ input: {
1349
+ param: {
1350
+ channel: string;
1351
+ };
1352
+ } & {
1353
+ query: {
1354
+ delivery?: "fanout" | "exclusive" | undefined;
1355
+ };
1356
+ };
1357
+ output: _$zod.ZodSafeParseError<{
1358
+ delivery?: "fanout" | "exclusive" | undefined;
1359
+ }>;
1360
+ outputFormat: "json";
1361
+ status: 400;
1335
1362
  } | {
1336
1363
  input: {
1337
1364
  param: {
@@ -1351,7 +1378,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1351
1378
  "/channels/remove": {
1352
1379
  $post: {
1353
1380
  input: {};
1354
- output: "funnel channels remove — remove a channel\n\nusage: funnel channels remove <name>";
1381
+ output: "funnel channels remove — remove a channel and all its connectors\n\nusage: funnel channels remove <name>\n\nThe channel, its connectors, and their schedules are deleted from the\nconfiguration file. The gateway drops the channel on the next reload.\nNo external resources (Slack apps, Discord bots, etc.) are touched.\n\nexamples:\n funnel channels remove staging\n\nsee also: funnel channels, funnel channels add";
1355
1382
  outputFormat: "text";
1356
1383
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1357
1384
  };
@@ -1366,9 +1393,22 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1366
1393
  } & {
1367
1394
  query: Record<string, never>;
1368
1395
  };
1369
- output: string;
1370
- outputFormat: "text";
1371
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1396
+ output: _$zod.ZodSafeParseError<{
1397
+ channel: string;
1398
+ }>;
1399
+ outputFormat: "json";
1400
+ status: 400;
1401
+ } | {
1402
+ input: {
1403
+ param: {
1404
+ channel: string;
1405
+ };
1406
+ } & {
1407
+ query: Record<string, never>;
1408
+ };
1409
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1410
+ outputFormat: "json";
1411
+ status: 400;
1372
1412
  } | {
1373
1413
  input: {
1374
1414
  param: {
@@ -1393,9 +1433,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1393
1433
  } & {
1394
1434
  query: Record<string, never>;
1395
1435
  };
1396
- output: string;
1397
- outputFormat: "text";
1398
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1436
+ output: _$zod.ZodSafeParseError<{
1437
+ channel: string;
1438
+ newName: string;
1439
+ }>;
1440
+ outputFormat: "json";
1441
+ status: 400;
1442
+ } | {
1443
+ input: {
1444
+ param: {
1445
+ channel: string;
1446
+ newName: string;
1447
+ };
1448
+ } & {
1449
+ query: Record<string, never>;
1450
+ };
1451
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1452
+ outputFormat: "json";
1453
+ status: 400;
1399
1454
  } | {
1400
1455
  input: {
1401
1456
  param: {
@@ -1421,9 +1476,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1421
1476
  } & {
1422
1477
  query: Record<string, never>;
1423
1478
  };
1424
- output: string;
1425
- outputFormat: "text";
1426
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1479
+ output: _$zod.ZodSafeParseError<{
1480
+ channel: string;
1481
+ newName: string;
1482
+ }>;
1483
+ outputFormat: "json";
1484
+ status: 400;
1485
+ } | {
1486
+ input: {
1487
+ param: {
1488
+ channel: string;
1489
+ newName: string;
1490
+ };
1491
+ } & {
1492
+ query: Record<string, never>;
1493
+ };
1494
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1495
+ outputFormat: "json";
1496
+ status: 400;
1427
1497
  } | {
1428
1498
  input: {
1429
1499
  param: {
@@ -1442,7 +1512,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1442
1512
  "/channels/rename": {
1443
1513
  $post: {
1444
1514
  input: {};
1445
- output: "funnel channels rename — rename a channel\n\nusage:\n funnel channels rename <old> <new>\n funnel channels <old> rename <new>";
1515
+ output: "funnel channels rename — rename a channel\n\nusage:\n funnel channels rename <old> <new>\n funnel channels <old> rename <new>\n\nRenames the channel in the configuration file. Connectors, schedules,\nand delivery mode are preserved. The gateway picks up the new name on\nthe next reload.\n\nexamples:\n funnel channels rename staging production\n funnel channels staging rename production\n\nsee also: funnel channels, funnel channels <name>";
1446
1516
  outputFormat: "text";
1447
1517
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1448
1518
  };
@@ -1469,9 +1539,12 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1469
1539
  mode: "fanout" | "exclusive";
1470
1540
  };
1471
1541
  };
1472
- output: string;
1473
- outputFormat: "text";
1474
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1542
+ output: _$zod.ZodSafeParseError<{
1543
+ channel: string;
1544
+ mode: "fanout" | "exclusive";
1545
+ }>;
1546
+ outputFormat: "json";
1547
+ status: 400;
1475
1548
  } | {
1476
1549
  input: {
1477
1550
  param: {
@@ -1507,9 +1580,30 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1507
1580
  connector?: string | undefined;
1508
1581
  };
1509
1582
  };
1510
- output: string;
1511
- outputFormat: "text";
1512
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1583
+ output: _$zod.ZodSafeParseError<{
1584
+ channel: string;
1585
+ }>;
1586
+ outputFormat: "json";
1587
+ status: 400;
1588
+ } | {
1589
+ input: {
1590
+ param: {
1591
+ channel: string;
1592
+ };
1593
+ } & {
1594
+ query: {
1595
+ [x: string]: string | string[];
1596
+ content: string | string[];
1597
+ connector?: string | undefined;
1598
+ };
1599
+ };
1600
+ output: _$zod.ZodSafeParseError<{
1601
+ [x: string]: unknown;
1602
+ content: string;
1603
+ connector?: string | undefined;
1604
+ }>;
1605
+ outputFormat: "json";
1606
+ status: 400;
1513
1607
  } | {
1514
1608
  input: {
1515
1609
  param: {
@@ -1540,6 +1634,30 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1540
1634
  output: string;
1541
1635
  outputFormat: "text";
1542
1636
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1637
+ } | {
1638
+ input: {
1639
+ param: {
1640
+ channel: string;
1641
+ };
1642
+ } & {
1643
+ query: Record<string, never>;
1644
+ };
1645
+ output: _$zod.ZodSafeParseError<{
1646
+ channel: string;
1647
+ }>;
1648
+ outputFormat: "json";
1649
+ status: 400;
1650
+ } | {
1651
+ input: {
1652
+ param: {
1653
+ channel: string;
1654
+ };
1655
+ } & {
1656
+ query: Record<string, never>;
1657
+ };
1658
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1659
+ outputFormat: "json";
1660
+ status: 400;
1543
1661
  };
1544
1662
  };
1545
1663
  } & {
@@ -1558,12 +1676,21 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1558
1676
  param: {
1559
1677
  channel: string;
1560
1678
  };
1561
- } & {
1562
- query: Record<string, never>;
1563
1679
  };
1564
1680
  output: string;
1565
1681
  outputFormat: "text";
1566
1682
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1683
+ } | {
1684
+ input: {
1685
+ param: {
1686
+ channel: string;
1687
+ };
1688
+ };
1689
+ output: _$zod.ZodSafeParseError<{
1690
+ channel: string;
1691
+ }>;
1692
+ outputFormat: "json";
1693
+ status: 400;
1567
1694
  };
1568
1695
  };
1569
1696
  } & {
@@ -1573,12 +1700,21 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1573
1700
  param: {
1574
1701
  channel: string;
1575
1702
  };
1576
- } & {
1577
- query: Record<string, never>;
1578
1703
  };
1579
1704
  output: string;
1580
1705
  outputFormat: "text";
1581
1706
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1707
+ } | {
1708
+ input: {
1709
+ param: {
1710
+ channel: string;
1711
+ };
1712
+ };
1713
+ output: _$zod.ZodSafeParseError<{
1714
+ channel: string;
1715
+ }>;
1716
+ outputFormat: "json";
1717
+ status: 400;
1582
1718
  };
1583
1719
  };
1584
1720
  } & {
@@ -1589,7 +1725,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1589
1725
  channel: string;
1590
1726
  };
1591
1727
  };
1592
- output: "funnel channels <channel> connectors add <connector> — add a connector to a channel\n\nusage:\n funnel channels <channel> connectors add <connector> --type=slack --bot-token=xoxb-... --app-token=xapp-...\n funnel channels <channel> connectors add <connector> --type=gh [--poll-interval=60]\n funnel channels <channel> connectors add <connector> --type=discord --bot-token=...\n funnel channels <channel> connectors add <connector> --type=schedule\n\nToken uniqueness is enforced across all channels.";
1728
+ output: "funnel channels <channel> connectors add <name> — add a connector to a channel\n\nusage:\n funnel channels <channel> connectors add <name> --type=slack --bot-token=xoxb-... --app-token=xapp-...\n funnel channels <channel> connectors add <name> --type=gh [--poll-interval=60]\n funnel channels <channel> connectors add <name> --type=discord --bot-token=...\n funnel channels <channel> connectors add <name> --type=schedule\n\nconnector types:\n slack Slack Socket Mode (requires bot-token + app-token)\n gh GitHub webhook polling\n discord Discord bot gateway\n schedule cron / one-shot timer (no external service)\n\nToken uniqueness is enforced across all channels — the same bot-token\ncannot appear in two connectors.\n\nexamples:\n funnel channels prod connectors add main-slack --type=slack --bot-token=xoxb-... --app-token=xapp-...\n funnel channels ci connectors add gh-events --type=gh --poll-interval=30\n funnel channels alerts connectors add daily --type=schedule\n\nsee also: funnel channels <channel> connectors, funnel channels <channel> connectors remove";
1593
1729
  outputFormat: "text";
1594
1730
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1595
1731
  };
@@ -1617,9 +1753,48 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1617
1753
  type: string | string[];
1618
1754
  };
1619
1755
  };
1620
- output: string;
1621
- outputFormat: "text";
1622
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1756
+ output: _$zod.ZodSafeParseError<{
1757
+ channel: string;
1758
+ connector: string;
1759
+ }>;
1760
+ outputFormat: "json";
1761
+ status: 400;
1762
+ } | {
1763
+ input: {
1764
+ param: {
1765
+ channel: string;
1766
+ connector: string;
1767
+ };
1768
+ } & {
1769
+ query: {
1770
+ type: string | string[];
1771
+ "bot-token": string | string[];
1772
+ "app-token": string | string[];
1773
+ } | {
1774
+ type: string | string[];
1775
+ "poll-interval"?: string | string[] | undefined;
1776
+ } | {
1777
+ type: string | string[];
1778
+ "bot-token": string | string[];
1779
+ } | {
1780
+ type: string | string[];
1781
+ };
1782
+ };
1783
+ output: _$zod.ZodSafeParseError<{
1784
+ type: "slack";
1785
+ "bot-token": string;
1786
+ "app-token": string;
1787
+ } | {
1788
+ type: "gh";
1789
+ "poll-interval"?: number | undefined;
1790
+ } | {
1791
+ type: "discord";
1792
+ "bot-token": string;
1793
+ } | {
1794
+ type: "schedule";
1795
+ }>;
1796
+ outputFormat: "json";
1797
+ status: 400;
1623
1798
  } | {
1624
1799
  input: {
1625
1800
  param: {
@@ -1726,7 +1901,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1726
1901
  channel: string;
1727
1902
  };
1728
1903
  };
1729
- output: "funnel channels <channel> connectors remove <connector> — remove a connector\n\nusage: funnel channels <channel> connectors remove <connector>";
1904
+ output: "funnel channels <channel> connectors remove <connector> — remove a connector\n\nusage: funnel channels <channel> connectors remove <connector>\n\nRemoves the connector from the channel configuration. The gateway drops\nit on the next reload. No external resources (Slack apps, Discord bots,\nGitHub webhooks) are touched.\n\nexamples:\n funnel channels production connectors remove slack-main\n\nsee also: funnel channels <channel> connectors, funnel channels <channel> connectors add";
1730
1905
  outputFormat: "text";
1731
1906
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1732
1907
  };
@@ -1742,9 +1917,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1742
1917
  } & {
1743
1918
  query: Record<string, never>;
1744
1919
  };
1745
- output: string;
1746
- outputFormat: "text";
1747
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1920
+ output: _$zod.ZodSafeParseError<{
1921
+ channel: string;
1922
+ connector: string;
1923
+ }>;
1924
+ outputFormat: "json";
1925
+ status: 400;
1926
+ } | {
1927
+ input: {
1928
+ param: {
1929
+ channel: string;
1930
+ connector: string;
1931
+ };
1932
+ } & {
1933
+ query: Record<string, never>;
1934
+ };
1935
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1936
+ outputFormat: "json";
1937
+ status: 400;
1748
1938
  } | {
1749
1939
  input: {
1750
1940
  param: {
@@ -1788,9 +1978,34 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1788
1978
  "poll-interval"?: string | string[] | undefined;
1789
1979
  };
1790
1980
  };
1791
- output: string;
1792
- outputFormat: "text";
1793
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1981
+ output: _$zod.ZodSafeParseError<{
1982
+ channel: string;
1983
+ connector: string;
1984
+ }>;
1985
+ outputFormat: "json";
1986
+ status: 400;
1987
+ } | {
1988
+ input: {
1989
+ param: {
1990
+ channel: string;
1991
+ connector: string;
1992
+ };
1993
+ } & {
1994
+ query: {
1995
+ [x: string]: string | string[];
1996
+ "bot-token"?: string | undefined;
1997
+ "app-token"?: string | undefined;
1998
+ "poll-interval"?: string | string[] | undefined;
1999
+ };
2000
+ };
2001
+ output: _$zod.ZodSafeParseError<{
2002
+ [x: string]: unknown;
2003
+ "bot-token"?: string | undefined;
2004
+ "app-token"?: string | undefined;
2005
+ "poll-interval"?: number | undefined;
2006
+ }>;
2007
+ outputFormat: "json";
2008
+ status: 400;
1794
2009
  } | {
1795
2010
  input: {
1796
2011
  param: {
@@ -1822,9 +2037,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1822
2037
  } & {
1823
2038
  query: Record<string, never>;
1824
2039
  };
1825
- output: string;
1826
- outputFormat: "text";
1827
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2040
+ output: _$zod.ZodSafeParseError<{
2041
+ channel: string;
2042
+ connector: string;
2043
+ newName: string;
2044
+ }>;
2045
+ outputFormat: "json";
2046
+ status: 400;
2047
+ } | {
2048
+ input: {
2049
+ param: {
2050
+ channel: string;
2051
+ connector: string;
2052
+ newName: string;
2053
+ };
2054
+ } & {
2055
+ query: Record<string, never>;
2056
+ };
2057
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2058
+ outputFormat: "json";
2059
+ status: 400;
1828
2060
  } | {
1829
2061
  input: {
1830
2062
  param: {
@@ -1852,9 +2084,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1852
2084
  } & {
1853
2085
  query: Record<string, never>;
1854
2086
  };
1855
- output: string;
1856
- outputFormat: "text";
1857
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2087
+ output: _$zod.ZodSafeParseError<{
2088
+ channel: string;
2089
+ connector: string;
2090
+ newName: string;
2091
+ }>;
2092
+ outputFormat: "json";
2093
+ status: 400;
2094
+ } | {
2095
+ input: {
2096
+ param: {
2097
+ channel: string;
2098
+ connector: string;
2099
+ newName: string;
2100
+ };
2101
+ } & {
2102
+ query: Record<string, never>;
2103
+ };
2104
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2105
+ outputFormat: "json";
2106
+ status: 400;
1858
2107
  } | {
1859
2108
  input: {
1860
2109
  param: {
@@ -1878,7 +2127,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1878
2127
  channel: string;
1879
2128
  };
1880
2129
  };
1881
- output: "funnel channels <channel> connectors rename <connector> <new-name>\n\nusage: funnel channels <channel> connectors rename <connector> <new-name>";
2130
+ output: "funnel channels <channel> connectors rename <old> <new> — rename a connector\n\nusage: funnel channels <channel> connectors rename <old> <new>\n\nRenames the connector in the configuration file. Tokens, type, and\nschedules are preserved. The gateway picks up the new name on the\nnext reload.\n\nexamples:\n funnel channels production connectors rename slack-1 slack-main\n\nsee also: funnel channels <channel> connectors";
1882
2131
  outputFormat: "text";
1883
2132
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1884
2133
  };
@@ -1916,25 +2165,75 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1916
2165
  output: string;
1917
2166
  outputFormat: "text";
1918
2167
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1919
- };
1920
- };
1921
- } & {
1922
- "/channels/:channel/connectors/:connector": {
1923
- $get: {
2168
+ } | {
1924
2169
  input: {
1925
2170
  param: {
1926
2171
  channel: string;
1927
2172
  connector: string;
1928
2173
  };
1929
2174
  } & {
1930
- query: Record<string, never>;
2175
+ query: {
2176
+ [x: string]: string | string[];
2177
+ method: string | string[];
2178
+ path?: string | undefined;
2179
+ };
1931
2180
  };
1932
- output: string;
1933
- outputFormat: "text";
1934
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1935
- };
1936
- };
1937
- } & {
2181
+ output: _$zod.ZodSafeParseError<{
2182
+ channel: string;
2183
+ connector: string;
2184
+ }>;
2185
+ outputFormat: "json";
2186
+ status: 400;
2187
+ } | {
2188
+ input: {
2189
+ param: {
2190
+ channel: string;
2191
+ connector: string;
2192
+ };
2193
+ } & {
2194
+ query: {
2195
+ [x: string]: string | string[];
2196
+ method: string | string[];
2197
+ path?: string | undefined;
2198
+ };
2199
+ };
2200
+ output: _$zod.ZodSafeParseError<{
2201
+ [x: string]: unknown;
2202
+ method: string;
2203
+ path?: string | undefined;
2204
+ }>;
2205
+ outputFormat: "json";
2206
+ status: 400;
2207
+ };
2208
+ };
2209
+ } & {
2210
+ "/channels/:channel/connectors/:connector": {
2211
+ $get: {
2212
+ input: {
2213
+ param: {
2214
+ channel: string;
2215
+ connector: string;
2216
+ };
2217
+ };
2218
+ output: string;
2219
+ outputFormat: "text";
2220
+ status: _$hono_utils_http_status0.ContentfulStatusCode;
2221
+ } | {
2222
+ input: {
2223
+ param: {
2224
+ channel: string;
2225
+ connector: string;
2226
+ };
2227
+ };
2228
+ output: _$zod.ZodSafeParseError<{
2229
+ channel: string;
2230
+ connector: string;
2231
+ }>;
2232
+ outputFormat: "json";
2233
+ status: 400;
2234
+ };
2235
+ };
2236
+ } & {
1938
2237
  "/channels/:channel/connectors/:connector/schedules": {
1939
2238
  $get: {
1940
2239
  input: {
@@ -1942,12 +2241,23 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1942
2241
  channel: string;
1943
2242
  connector: string;
1944
2243
  };
1945
- } & {
1946
- query: Record<string, never>;
1947
2244
  };
1948
2245
  output: string;
1949
2246
  outputFormat: "text";
1950
2247
  status: _$hono_utils_http_status0.ContentfulStatusCode;
2248
+ } | {
2249
+ input: {
2250
+ param: {
2251
+ channel: string;
2252
+ connector: string;
2253
+ };
2254
+ };
2255
+ output: _$zod.ZodSafeParseError<{
2256
+ channel: string;
2257
+ connector: string;
2258
+ }>;
2259
+ outputFormat: "json";
2260
+ status: 400;
1951
2261
  };
1952
2262
  };
1953
2263
  } & {
@@ -1982,9 +2292,36 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1982
2292
  "catchup-policy"?: "latest" | "all" | "skip" | undefined;
1983
2293
  };
1984
2294
  };
1985
- output: string;
1986
- outputFormat: "text";
1987
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2295
+ output: _$zod.ZodSafeParseError<{
2296
+ channel: string;
2297
+ connector: string;
2298
+ id: string;
2299
+ }>;
2300
+ outputFormat: "json";
2301
+ status: 400;
2302
+ } | {
2303
+ input: {
2304
+ param: {
2305
+ channel: string;
2306
+ connector: string;
2307
+ id: string;
2308
+ };
2309
+ } & {
2310
+ query: {
2311
+ cron: string;
2312
+ prompt: string;
2313
+ enabled?: "true" | "false" | undefined;
2314
+ "catchup-policy"?: "latest" | "all" | "skip" | undefined;
2315
+ };
2316
+ };
2317
+ output: _$zod.ZodSafeParseError<{
2318
+ cron: string;
2319
+ prompt: string;
2320
+ enabled?: "true" | "false" | undefined;
2321
+ "catchup-policy"?: "latest" | "all" | "skip" | undefined;
2322
+ }>;
2323
+ outputFormat: "json";
2324
+ status: 400;
1988
2325
  } | {
1989
2326
  input: {
1990
2327
  param: {
@@ -2032,9 +2369,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2032
2369
  } & {
2033
2370
  query: Record<string, never>;
2034
2371
  };
2035
- output: string;
2036
- outputFormat: "text";
2037
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2372
+ output: _$zod.ZodSafeParseError<{
2373
+ channel: string;
2374
+ connector: string;
2375
+ id: string;
2376
+ }>;
2377
+ outputFormat: "json";
2378
+ status: 400;
2379
+ } | {
2380
+ input: {
2381
+ param: {
2382
+ channel: string;
2383
+ connector: string;
2384
+ id: string;
2385
+ };
2386
+ } & {
2387
+ query: Record<string, never>;
2388
+ };
2389
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2390
+ outputFormat: "json";
2391
+ status: 400;
2038
2392
  } | {
2039
2393
  input: {
2040
2394
  param: {
@@ -2053,9 +2407,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2053
2407
  } & {
2054
2408
  "/profiles": {
2055
2409
  $get: {
2056
- input: {
2057
- query: Record<string, never>;
2058
- };
2410
+ input: {};
2059
2411
  output: string;
2060
2412
  outputFormat: "text";
2061
2413
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2088,9 +2440,38 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2088
2440
  "no-resume"?: string | undefined;
2089
2441
  };
2090
2442
  };
2091
- output: string;
2092
- outputFormat: "text";
2093
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2443
+ output: _$zod.ZodSafeParseError<{
2444
+ profile: string;
2445
+ }>;
2446
+ outputFormat: "json";
2447
+ status: 400;
2448
+ } | {
2449
+ input: {
2450
+ param: {
2451
+ profile: string;
2452
+ };
2453
+ } & {
2454
+ query: {
2455
+ path: string;
2456
+ channel: string;
2457
+ agent?: string | undefined;
2458
+ options?: string | undefined;
2459
+ env?: string | undefined;
2460
+ resume?: string | undefined;
2461
+ "no-resume"?: string | undefined;
2462
+ };
2463
+ };
2464
+ output: _$zod.ZodSafeParseError<{
2465
+ path: string;
2466
+ channel: string;
2467
+ agent?: string | undefined;
2468
+ options?: string | undefined;
2469
+ env?: string | undefined;
2470
+ resume?: string | undefined;
2471
+ "no-resume"?: string | undefined;
2472
+ }>;
2473
+ outputFormat: "json";
2474
+ status: 400;
2094
2475
  } | {
2095
2476
  input: {
2096
2477
  param: {
@@ -2139,9 +2520,38 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2139
2520
  "no-resume"?: string | undefined;
2140
2521
  };
2141
2522
  };
2142
- output: string;
2143
- outputFormat: "text";
2144
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2523
+ output: _$zod.ZodSafeParseError<{
2524
+ profile: string;
2525
+ }>;
2526
+ outputFormat: "json";
2527
+ status: 400;
2528
+ } | {
2529
+ input: {
2530
+ param: {
2531
+ profile: string;
2532
+ };
2533
+ } & {
2534
+ query: {
2535
+ path?: string | undefined;
2536
+ channel?: string | undefined;
2537
+ agent?: string | undefined;
2538
+ options?: string | undefined;
2539
+ env?: string | undefined;
2540
+ resume?: string | undefined;
2541
+ "no-resume"?: string | undefined;
2542
+ };
2543
+ };
2544
+ output: _$zod.ZodSafeParseError<{
2545
+ path?: string | undefined;
2546
+ channel?: string | undefined;
2547
+ agent?: string | undefined;
2548
+ options?: string | undefined;
2549
+ env?: string | undefined;
2550
+ resume?: string | undefined;
2551
+ "no-resume"?: string | undefined;
2552
+ }>;
2553
+ outputFormat: "json";
2554
+ status: 400;
2145
2555
  } | {
2146
2556
  input: {
2147
2557
  param: {
@@ -2182,9 +2592,22 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2182
2592
  } & {
2183
2593
  query: Record<string, never>;
2184
2594
  };
2185
- output: string;
2186
- outputFormat: "text";
2187
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2595
+ output: _$zod.ZodSafeParseError<{
2596
+ profile: string;
2597
+ }>;
2598
+ outputFormat: "json";
2599
+ status: 400;
2600
+ } | {
2601
+ input: {
2602
+ param: {
2603
+ profile: string;
2604
+ };
2605
+ } & {
2606
+ query: Record<string, never>;
2607
+ };
2608
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2609
+ outputFormat: "json";
2610
+ status: 400;
2188
2611
  } | {
2189
2612
  input: {
2190
2613
  param: {
@@ -2209,9 +2632,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2209
2632
  } & {
2210
2633
  query: Record<string, never>;
2211
2634
  };
2212
- output: string;
2213
- outputFormat: "text";
2214
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2635
+ output: _$zod.ZodSafeParseError<{
2636
+ profile: string;
2637
+ newName: string;
2638
+ }>;
2639
+ outputFormat: "json";
2640
+ status: 400;
2641
+ } | {
2642
+ input: {
2643
+ param: {
2644
+ profile: string;
2645
+ newName: string;
2646
+ };
2647
+ } & {
2648
+ query: Record<string, never>;
2649
+ };
2650
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2651
+ outputFormat: "json";
2652
+ status: 400;
2215
2653
  } | {
2216
2654
  input: {
2217
2655
  param: {
@@ -2237,9 +2675,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2237
2675
  } & {
2238
2676
  query: Record<string, never>;
2239
2677
  };
2240
- output: string;
2241
- outputFormat: "text";
2242
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2678
+ output: _$zod.ZodSafeParseError<{
2679
+ profile: string;
2680
+ newName: string;
2681
+ }>;
2682
+ outputFormat: "json";
2683
+ status: 400;
2684
+ } | {
2685
+ input: {
2686
+ param: {
2687
+ profile: string;
2688
+ newName: string;
2689
+ };
2690
+ } & {
2691
+ query: Record<string, never>;
2692
+ };
2693
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2694
+ outputFormat: "json";
2695
+ status: 400;
2243
2696
  } | {
2244
2697
  input: {
2245
2698
  param: {
@@ -2283,19 +2736,17 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2283
2736
  param: {
2284
2737
  profile: string;
2285
2738
  };
2286
- } & {
2287
- query: Record<string, never>;
2288
2739
  };
2289
- output: string;
2290
- outputFormat: "text";
2291
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2740
+ output: _$zod.ZodSafeParseError<{
2741
+ profile: string;
2742
+ }>;
2743
+ outputFormat: "json";
2744
+ status: 400;
2292
2745
  } | {
2293
2746
  input: {
2294
2747
  param: {
2295
2748
  profile: string;
2296
2749
  };
2297
- } & {
2298
- query: Record<string, never>;
2299
2750
  };
2300
2751
  output: `profile "${string}" is now the default`;
2301
2752
  outputFormat: "text";
@@ -2314,9 +2765,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2314
2765
  [x: string]: string | string[];
2315
2766
  };
2316
2767
  };
2317
- output: string;
2318
- outputFormat: "text";
2319
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2768
+ output: _$zod.ZodSafeParseError<{
2769
+ profile: string;
2770
+ }>;
2771
+ outputFormat: "json";
2772
+ status: 400;
2773
+ } | {
2774
+ input: {
2775
+ param: {
2776
+ profile: string;
2777
+ };
2778
+ } & {
2779
+ query: {
2780
+ [x: string]: string | string[];
2781
+ };
2782
+ };
2783
+ output: _$zod.ZodSafeParseError<{
2784
+ [x: string]: unknown;
2785
+ }>;
2786
+ outputFormat: "json";
2787
+ status: 400;
2320
2788
  } | {
2321
2789
  input: {
2322
2790
  param: {
@@ -2344,9 +2812,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2344
2812
  [x: string]: string | string[];
2345
2813
  };
2346
2814
  };
2347
- output: string;
2348
- outputFormat: "text";
2349
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2815
+ output: _$zod.ZodSafeParseError<{
2816
+ profile: string;
2817
+ }>;
2818
+ outputFormat: "json";
2819
+ status: 400;
2820
+ } | {
2821
+ input: {
2822
+ param: {
2823
+ profile: string;
2824
+ };
2825
+ } & {
2826
+ query: {
2827
+ [x: string]: string | string[];
2828
+ };
2829
+ };
2830
+ output: _$zod.ZodSafeParseError<{
2831
+ [x: string]: unknown;
2832
+ }>;
2833
+ outputFormat: "json";
2834
+ status: 400;
2350
2835
  } | {
2351
2836
  input: {
2352
2837
  param: {
@@ -2374,9 +2859,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2374
2859
  } & {
2375
2860
  "/gateway/status": {
2376
2861
  $get: {
2377
- input: {
2378
- query: Record<string, never>;
2379
- };
2862
+ input: {};
2380
2863
  output: string;
2381
2864
  outputFormat: "text";
2382
2865
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2390,9 +2873,11 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2390
2873
  "no-caffeine"?: string | undefined;
2391
2874
  };
2392
2875
  };
2393
- output: string;
2394
- outputFormat: "text";
2395
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2876
+ output: _$zod.ZodSafeParseError<{
2877
+ "no-caffeine"?: string | undefined;
2878
+ }>;
2879
+ outputFormat: "json";
2880
+ status: 400;
2396
2881
  } | {
2397
2882
  input: {
2398
2883
  query: {
@@ -2416,23 +2901,12 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2416
2901
  } & {
2417
2902
  "/gateway/stop": {
2418
2903
  $get: {
2419
- input: {
2420
- query: Record<string, never>;
2421
- };
2422
- output: string;
2423
- outputFormat: "text";
2424
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2425
- } | {
2426
- input: {
2427
- query: Record<string, never>;
2428
- };
2904
+ input: {};
2429
2905
  output: "funnel gateway: no running process";
2430
2906
  outputFormat: "text";
2431
2907
  status: _$hono_utils_http_status0.ContentfulStatusCode;
2432
2908
  } | {
2433
- input: {
2434
- query: Record<string, never>;
2435
- };
2909
+ input: {};
2436
2910
  output: "funnel gateway: stopped";
2437
2911
  outputFormat: "text";
2438
2912
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2449,6 +2923,17 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2449
2923
  output: string;
2450
2924
  outputFormat: "text";
2451
2925
  status: _$hono_utils_http_status0.ContentfulStatusCode;
2926
+ } | {
2927
+ input: {
2928
+ query: {
2929
+ "no-caffeine"?: string | undefined;
2930
+ };
2931
+ };
2932
+ output: _$zod.ZodSafeParseError<{
2933
+ "no-caffeine"?: string | undefined;
2934
+ }>;
2935
+ outputFormat: "json";
2936
+ status: 400;
2452
2937
  };
2453
2938
  };
2454
2939
  } & {
@@ -2459,18 +2944,20 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2459
2944
  "no-caffeine"?: string | undefined;
2460
2945
  };
2461
2946
  };
2462
- output: string;
2463
- outputFormat: "text";
2464
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2947
+ output: Promise<never>;
2948
+ outputFormat: "json";
2949
+ status: _$hono_utils_http_status0.StatusCode;
2465
2950
  } | {
2466
2951
  input: {
2467
2952
  query: {
2468
2953
  "no-caffeine"?: string | undefined;
2469
2954
  };
2470
2955
  };
2471
- output: Promise<never>;
2956
+ output: _$zod.ZodSafeParseError<{
2957
+ "no-caffeine"?: string | undefined;
2958
+ }>;
2472
2959
  outputFormat: "json";
2473
- status: _$hono_utils_http_status0.StatusCode;
2960
+ status: 400;
2474
2961
  };
2475
2962
  };
2476
2963
  } & {
@@ -2482,9 +2969,12 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2482
2969
  format?: "json" | "plain" | undefined;
2483
2970
  };
2484
2971
  };
2485
- output: string;
2486
- outputFormat: "text";
2487
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2972
+ output: _$zod.ZodSafeParseError<{
2973
+ n?: string | undefined;
2974
+ format?: "json" | "plain" | undefined;
2975
+ }>;
2976
+ outputFormat: "json";
2977
+ status: 400;
2488
2978
  } | {
2489
2979
  input: {
2490
2980
  query: {
@@ -2511,14 +3001,29 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2511
3001
  output: string;
2512
3002
  outputFormat: "text";
2513
3003
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3004
+ } | {
3005
+ input: {
3006
+ query: {
3007
+ query?: string | undefined;
3008
+ preset?: string | undefined;
3009
+ channel?: string | undefined;
3010
+ limit?: string | undefined;
3011
+ };
3012
+ };
3013
+ output: _$zod.ZodSafeParseError<{
3014
+ query?: string | undefined;
3015
+ preset?: string | undefined;
3016
+ channel?: string | undefined;
3017
+ limit?: string | undefined;
3018
+ }>;
3019
+ outputFormat: "json";
3020
+ status: 400;
2514
3021
  };
2515
3022
  };
2516
3023
  } & {
2517
3024
  "/gateway/listeners": {
2518
3025
  $get: {
2519
- input: {
2520
- query: Record<string, never>;
2521
- };
3026
+ input: {};
2522
3027
  output: string;
2523
3028
  outputFormat: "text";
2524
3029
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2537,6 +3042,21 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2537
3042
  output: string;
2538
3043
  outputFormat: "text";
2539
3044
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3045
+ } | {
3046
+ input: {
3047
+ query: {
3048
+ channel?: string | undefined;
3049
+ all?: "" | "true" | "false" | undefined;
3050
+ limit?: string | undefined;
3051
+ };
3052
+ };
3053
+ output: _$zod.ZodSafeParseError<{
3054
+ channel?: string | undefined;
3055
+ all?: "" | "true" | "false" | undefined;
3056
+ limit?: string | undefined;
3057
+ }>;
3058
+ outputFormat: "json";
3059
+ status: 400;
2540
3060
  };
2541
3061
  };
2542
3062
  } & {
@@ -2551,6 +3071,19 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2551
3071
  output: string;
2552
3072
  outputFormat: "text";
2553
3073
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3074
+ } | {
3075
+ input: {
3076
+ query: {
3077
+ channel?: string | undefined;
3078
+ limit?: string | undefined;
3079
+ };
3080
+ };
3081
+ output: _$zod.ZodSafeParseError<{
3082
+ channel?: string | undefined;
3083
+ limit?: string | undefined;
3084
+ }>;
3085
+ outputFormat: "json";
3086
+ status: 400;
2554
3087
  };
2555
3088
  };
2556
3089
  } & {
@@ -2565,6 +3098,19 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2565
3098
  output: string;
2566
3099
  outputFormat: "text";
2567
3100
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3101
+ } | {
3102
+ input: {
3103
+ query: {
3104
+ channel?: string | undefined;
3105
+ limit?: string | undefined;
3106
+ };
3107
+ };
3108
+ output: _$zod.ZodSafeParseError<{
3109
+ channel?: string | undefined;
3110
+ limit?: string | undefined;
3111
+ }>;
3112
+ outputFormat: "json";
3113
+ status: 400;
2568
3114
  };
2569
3115
  };
2570
3116
  } & {
@@ -2579,6 +3125,19 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2579
3125
  output: string;
2580
3126
  outputFormat: "text";
2581
3127
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3128
+ } | {
3129
+ input: {
3130
+ query: {
3131
+ channel?: string | undefined;
3132
+ limit?: string | undefined;
3133
+ };
3134
+ };
3135
+ output: _$zod.ZodSafeParseError<{
3136
+ channel?: string | undefined;
3137
+ limit?: string | undefined;
3138
+ }>;
3139
+ outputFormat: "json";
3140
+ status: 400;
2582
3141
  };
2583
3142
  };
2584
3143
  } & {
@@ -2593,14 +3152,25 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2593
3152
  output: string;
2594
3153
  outputFormat: "text";
2595
3154
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3155
+ } | {
3156
+ input: {
3157
+ query: {
3158
+ channel?: string | undefined;
3159
+ seq?: string | undefined;
3160
+ };
3161
+ };
3162
+ output: _$zod.ZodSafeParseError<{
3163
+ channel?: string | undefined;
3164
+ seq?: string | undefined;
3165
+ }>;
3166
+ outputFormat: "json";
3167
+ status: 400;
2596
3168
  };
2597
3169
  };
2598
3170
  } & {
2599
3171
  "/docs": {
2600
3172
  $get: {
2601
- input: {
2602
- query: Record<string, never>;
2603
- };
3173
+ input: {};
2604
3174
  output: string;
2605
3175
  outputFormat: "text";
2606
3176
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2617,6 +3187,17 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2617
3187
  output: string;
2618
3188
  outputFormat: "text";
2619
3189
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3190
+ } | {
3191
+ input: {
3192
+ param: {
3193
+ topic: string;
3194
+ };
3195
+ };
3196
+ output: _$zod.ZodSafeParseError<{
3197
+ topic: string;
3198
+ }>;
3199
+ outputFormat: "json";
3200
+ status: 400;
2620
3201
  };
2621
3202
  };
2622
3203
  } & {
@@ -2631,21 +3212,25 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2631
3212
  output: string;
2632
3213
  outputFormat: "text";
2633
3214
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3215
+ } | {
3216
+ input: {
3217
+ query: {
3218
+ fix?: "" | "true" | "false" | undefined;
3219
+ aggressive?: "" | "true" | "false" | undefined;
3220
+ };
3221
+ };
3222
+ output: _$zod.ZodSafeParseError<{
3223
+ fix?: "" | "true" | "false" | undefined;
3224
+ aggressive?: "" | "true" | "false" | undefined;
3225
+ }>;
3226
+ outputFormat: "json";
3227
+ status: 400;
2634
3228
  };
2635
3229
  };
2636
3230
  } & {
2637
3231
  "/schema": {
2638
3232
  $get: {
2639
- input: {
2640
- query: Record<string, never>;
2641
- };
2642
- output: string;
2643
- outputFormat: "text";
2644
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2645
- } | {
2646
- input: {
2647
- query: Record<string, never>;
2648
- };
3233
+ input: {};
2649
3234
  output: `${string}
2650
3235
  `;
2651
3236
  outputFormat: "text";
@@ -2664,21 +3249,25 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2664
3249
  output: string;
2665
3250
  outputFormat: "text";
2666
3251
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3252
+ } | {
3253
+ input: {
3254
+ query: {
3255
+ watch?: "" | "true" | "false" | undefined;
3256
+ interval?: string | undefined;
3257
+ };
3258
+ };
3259
+ output: _$zod.ZodSafeParseError<{
3260
+ watch?: "" | "true" | "false" | undefined;
3261
+ interval?: string | undefined;
3262
+ }>;
3263
+ outputFormat: "json";
3264
+ status: 400;
2667
3265
  };
2668
3266
  };
2669
3267
  } & {
2670
3268
  "/update": {
2671
3269
  $get: {
2672
- input: {
2673
- query: Record<string, never>;
2674
- };
2675
- output: string;
2676
- outputFormat: "text";
2677
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2678
- } | {
2679
- input: {
2680
- query: Record<string, never>;
2681
- };
3270
+ input: {};
2682
3271
  output: "updated @interactive-inc/claude-funnel";
2683
3272
  outputFormat: "text";
2684
3273
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -3010,4 +3599,4 @@ declare function buildGatewayRoutes(): _$hono_hono_base0.HonoBase<Env$1, {
3010
3599
  };
3011
3600
  }, "/", "/channels/:channel/publish">;
3012
3601
  //#endregion
3013
- export { PublishResult as $, NodeFunnelFileSystem as A, GatewayServerOptions as B, MemoryProcessCall as C, ProcessListStub as D, MemoryProcessSyncHandler as E, FunnelSettingsStore as F, FunnelGateway as G, ListListenersResult as H, SETTINGS_PATH as I, MemoryFunnelEventLog as J, MemoryConnectorDiagnosticLog as K, resolveFunnelDir as L, createSettings as M, DEFAULT_GATEWAY_PORT as N, NodeFunnelProcessRunner as O, FUNNEL_DIR as P, PublishResponse as Q, resolveFunnelPort as R, MemoryFunnelProcessRunner as S, OnFunnelError as St, MemoryProcessResponse as T, ListenerEntry as U, FunnelListenersClient as V, ListenerOpResult as W, FunnelChannelPublisher as X, SqliteFunnelEventLog as Y, PublishRequest as Z, NoopFunnelLogger as _, FunnelListenerSupervisor as _t, toRequest as a, ChannelWsUrlInput as at, NodeFunnelLogger as b, FunnelBroadcaster as bt, buildServiceRoutes as c, FunnelGatewayServer as ct, MemoryHttpResponse as d, FunnelEventLog as dt, publishRequestSchema as et, NodeFunnelHttpClient as f, FunnelEventRecord as ft, NodeFunnelClock as g, GatewayRouteDeps as gt, MemoryFunnelClock as h, GatewayEmitInput as ht, queryToCliArgs as i, gatewayLoopbackUrl as it, MockFunnelSettingsReader as j, MemoryFunnelFileSystem as k, MemoryFunnelHttpClient as l, GatewayEventStore as lt, NodeFunnelIdGenerator as m, Env$1 as mt, CliApp as n, DEFAULT_GATEWAY_TOKEN_PATH as nt, Env as o, channelWsProtocols as ot, MemoryFunnelIdGenerator as p, funnelEventSchema as pt, SqliteConnectorDiagnosticLog as q, routes as r, FunnelGatewayToken as rt, factory as s, channelWsUrl as st, GatewayApp as t, publishResponseSchema as tt, MemoryHttpHandler as u, FunnelEvent as ut, LogEntry as v, BroadcastEvent as vt, MemoryProcessHandler as w, AliveStub as x, ReplayableEvent as xt, MemoryFunnelLogger as y, BroadcastSubscriber as yt, Funnel as z };
3602
+ export { PublishResponse as $, MemoryFunnelFileSystem as A, Funnel as B, MemoryProcessCall as C, OnFunnelError as Ct, ProcessListStub as D, MemoryProcessSyncHandler as E, FUNNEL_DIR as F, ListenerOpResult as G, FunnelListenersClient as H, FunnelSettingsStore as I, SqliteConnectorDiagnosticLog as J, FunnelGateway as K, SETTINGS_PATH as L, MockFunnelSettingsReader as M, createSettings as N, StartTimeStub as O, DEFAULT_GATEWAY_PORT as P, PublishRequest as Q, resolveFunnelDir as R, MemoryFunnelProcessRunner as S, ReplayableEvent as St, MemoryProcessResponse as T, ListListenersResult as U, GatewayServerOptions as V, ListenerEntry as W, SqliteFunnelEventLog as X, MemoryFunnelEventLog as Y, FunnelChannelPublisher as Z, NoopFunnelLogger as _, GatewayRouteDeps as _t, toRequest as a, gatewayLoopbackUrl as at, NodeFunnelLogger as b, BroadcastSubscriber as bt, buildServiceRoutes as c, channelWsUrl as ct, MemoryHttpResponse as d, FunnelEvent as dt, PublishResult as et, NodeFunnelHttpClient as f, FunnelEventLog as ft, NodeFunnelClock as g, GatewayEmitInput as gt, MemoryFunnelClock as h, Env$1 as ht, queryToCliArgs as i, FunnelGatewayToken as it, NodeFunnelFileSystem as j, NodeFunnelProcessRunner as k, MemoryFunnelHttpClient as l, FunnelGatewayServer as lt, NodeFunnelIdGenerator as m, funnelEventSchema as mt, CliApp as n, publishResponseSchema as nt, Env as o, ChannelWsUrlInput as ot, MemoryFunnelIdGenerator as p, FunnelEventRecord as pt, MemoryConnectorDiagnosticLog as q, routes as r, DEFAULT_GATEWAY_TOKEN_PATH as rt, factory as s, channelWsProtocols as st, GatewayApp as t, publishRequestSchema as tt, MemoryHttpHandler as u, GatewayEventStore as ut, LogEntry as v, FunnelListenerSupervisor as vt, MemoryProcessHandler as w, AliveStub as x, FunnelBroadcaster as xt, MemoryFunnelLogger as y, BroadcastEvent as yt, resolveFunnelPort as z };