@interactive-inc/claude-funnel 0.58.0 → 0.59.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.
Files changed (43) hide show
  1. package/dist/bin.js +354 -293
  2. package/dist/claude.d.ts +5 -5
  3. package/dist/claude.js +1 -1
  4. package/dist/connectors/discord.d.ts +3 -3
  5. package/dist/connectors/gh.d.ts +4 -4
  6. package/dist/connectors/schedule.d.ts +1 -1
  7. package/dist/connectors/slack.d.ts +2 -2
  8. package/dist/diagnostics.d.ts +1 -1
  9. package/dist/docs.d.ts +1 -1
  10. package/dist/doctor.d.ts +1 -1
  11. package/dist/{file-process-guard-DI1742H5.d.ts → file-process-guard-B3IFCj_G.d.ts} +5 -5
  12. package/dist/{funnel-diagnostics-qWy5tPSq.d.ts → funnel-diagnostics-K-wON25Y.d.ts} +1 -1
  13. package/dist/{funnel-doctor-BF3Rdgk0.d.ts → funnel-doctor-vxO96TCA.d.ts} +2 -2
  14. package/dist/funnel-log-sqlite-sink-B_5_4ybn.js +301 -0
  15. package/dist/{funnel-recovery-BUBsu7WX.d.ts → funnel-recovery-COExL9MD.d.ts} +1 -1
  16. package/dist/gateway.d.ts +2 -2
  17. package/dist/gateway.js +1 -1
  18. package/dist/{index-tP67P1Sy.d.ts → index-Conbxl5O.d.ts} +748 -166
  19. package/dist/index.d.ts +16 -16
  20. package/dist/index.js +142 -83
  21. package/dist/{local-config-sync-BY20ixEV.d.ts → local-config-sync--f739oCJ.d.ts} +8 -8
  22. package/dist/local-config.d.ts +2 -2
  23. package/dist/local-config.js +1 -1
  24. package/dist/logger.d.ts +384 -0
  25. package/dist/logger.js +281 -0
  26. package/dist/{memory-diagnostic-log-CvqobDDs.js → memory-diagnostic-log-5LzwJ_F7.js} +1 -298
  27. package/dist/{memory-token-prompter-DOgptiIb.d.ts → memory-token-prompter-BlFwK9k7.d.ts} +2 -2
  28. package/dist/{profiles-EHTeCOqB.d.ts → profiles-g2qGVOWv.d.ts} +3 -3
  29. package/dist/profiles.d.ts +1 -1
  30. package/dist/recovery.d.ts +1 -1
  31. package/dist/{schedule-listener-DKh0hnkK.d.ts → schedule-listener-DoMPjHZj.d.ts} +2 -2
  32. package/dist/{settings-reader-CBrgz01o.d.ts → settings-reader-DPwqOVUm.d.ts} +1 -1
  33. package/dist/{slack-listener-DFW9vck4.d.ts → slack-listener-Dj9NFbAJ.d.ts} +1 -1
  34. package/package.json +2 -2
  35. /package/dist/{connector-adapter-BkYC6qiK.d.ts → connector-adapter-DGacCppE.d.ts} +0 -0
  36. /package/dist/{diagnostic-log-Bxe7Bbvw.d.ts → diagnostic-log-Cb3v8P7p.d.ts} +0 -0
  37. /package/dist/{discord-connector-schema-CWHVNIcB.d.ts → discord-connector-schema-CQyfDkLD.d.ts} +0 -0
  38. /package/dist/{file-system-Wub9Nto4.d.ts → file-system-DxpnnUVb.d.ts} +0 -0
  39. /package/dist/{funnel-docs-dXPokzr5.d.ts → funnel-docs-DYBs1-H_.d.ts} +0 -0
  40. /package/dist/{gh-connector-schema-CU1ojfIF.d.ts → gh-connector-schema-CZzwzvqY.d.ts} +0 -0
  41. /package/dist/{memory-token-prompter-vBXxY20-.js → memory-token-prompter-C7vREzCL.js} +0 -0
  42. /package/dist/{process-runner-D5I_jhYQ.d.ts → process-runner-Cx5O_fTf.d.ts} +0 -0
  43. /package/dist/{settings-schema-zhnMIa8I.d.ts → settings-schema-1hh11jnN.d.ts} +0 -0
@@ -1,17 +1,18 @@
1
- import { a as Settings } from "./settings-schema-zhnMIa8I.js";
2
- import { n as FunnelClaude, t as FileProcessGuard } from "./file-process-guard-DI1742H5.js";
3
- import { n as FunnelIdGenerator, t as FunnelSettingsReader } from "./settings-reader-CBrgz01o.js";
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-Bxe7Bbvw.js";
5
- import { a as RunOptions, i as ProcessSnapshot, n as DetachOptions, o as RunResult, r as FunnelProcessRunner, t as AttachOptions } from "./process-runner-D5I_jhYQ.js";
6
- import { n as FunnelFileSystem, t as FileStat } from "./file-system-Wub9Nto4.js";
7
- import { t as FunnelProfiles } from "./profiles-EHTeCOqB.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-BY20ixEV.js";
9
- import { c as FunnelDiagnostics } from "./funnel-diagnostics-qWy5tPSq.js";
10
- import { n as FunnelDocs } from "./funnel-docs-dXPokzr5.js";
11
- import { t as FunnelRecovery } from "./funnel-recovery-BUBsu7WX.js";
12
- import { r as FunnelDoctor } from "./funnel-doctor-BF3Rdgk0.js";
13
- import { a as HttpResponse, i as HttpRequest, r as FunnelHttpClient } from "./discord-connector-schema-CWHVNIcB.js";
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";
3
+ import { n as FunnelIdGenerator, t as FunnelSettingsReader } from "./settings-reader-DPwqOVUm.js";
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";
6
+ import { n as FunnelFileSystem, t as FileStat } from "./file-system-DxpnnUVb.js";
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";
9
+ import { c as FunnelDiagnostics } from "./funnel-diagnostics-K-wON25Y.js";
10
+ import { n as FunnelDocs } from "./funnel-docs-DYBs1-H_.js";
11
+ import { t as FunnelRecovery } from "./funnel-recovery-COExL9MD.js";
12
+ import { r as FunnelDoctor } from "./funnel-doctor-vxO96TCA.js";
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";
@@ -1281,9 +1282,13 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1281
1282
  channel?: string | undefined;
1282
1283
  };
1283
1284
  };
1284
- output: string;
1285
- outputFormat: "text";
1286
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1285
+ output: _$zod.ZodSafeParseError<{
1286
+ [x: string]: unknown;
1287
+ profile?: string | undefined;
1288
+ channel?: string | undefined;
1289
+ }>;
1290
+ outputFormat: "json";
1291
+ status: 400;
1287
1292
  } | {
1288
1293
  input: {
1289
1294
  query: {
@@ -1300,9 +1305,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1300
1305
  } & {
1301
1306
  "/channels": {
1302
1307
  $get: {
1303
- input: {
1304
- query: Record<string, never>;
1305
- };
1308
+ input: {};
1306
1309
  output: string;
1307
1310
  outputFormat: "text";
1308
1311
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -1312,7 +1315,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1312
1315
  "/channels/add": {
1313
1316
  $post: {
1314
1317
  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)";
1318
+ 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
1319
  outputFormat: "text";
1317
1320
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1318
1321
  };
@@ -1329,9 +1332,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1329
1332
  delivery?: "fanout" | "exclusive" | undefined;
1330
1333
  };
1331
1334
  };
1332
- output: string;
1333
- outputFormat: "text";
1334
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1335
+ output: _$zod.ZodSafeParseError<{
1336
+ channel: string;
1337
+ }>;
1338
+ outputFormat: "json";
1339
+ status: 400;
1340
+ } | {
1341
+ input: {
1342
+ param: {
1343
+ channel: string;
1344
+ };
1345
+ } & {
1346
+ query: {
1347
+ delivery?: "fanout" | "exclusive" | undefined;
1348
+ };
1349
+ };
1350
+ output: _$zod.ZodSafeParseError<{
1351
+ delivery?: "fanout" | "exclusive" | undefined;
1352
+ }>;
1353
+ outputFormat: "json";
1354
+ status: 400;
1335
1355
  } | {
1336
1356
  input: {
1337
1357
  param: {
@@ -1351,7 +1371,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1351
1371
  "/channels/remove": {
1352
1372
  $post: {
1353
1373
  input: {};
1354
- output: "funnel channels remove — remove a channel\n\nusage: funnel channels remove <name>";
1374
+ 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
1375
  outputFormat: "text";
1356
1376
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1357
1377
  };
@@ -1366,9 +1386,22 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1366
1386
  } & {
1367
1387
  query: Record<string, never>;
1368
1388
  };
1369
- output: string;
1370
- outputFormat: "text";
1371
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1389
+ output: _$zod.ZodSafeParseError<{
1390
+ channel: string;
1391
+ }>;
1392
+ outputFormat: "json";
1393
+ status: 400;
1394
+ } | {
1395
+ input: {
1396
+ param: {
1397
+ channel: string;
1398
+ };
1399
+ } & {
1400
+ query: Record<string, never>;
1401
+ };
1402
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1403
+ outputFormat: "json";
1404
+ status: 400;
1372
1405
  } | {
1373
1406
  input: {
1374
1407
  param: {
@@ -1393,9 +1426,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1393
1426
  } & {
1394
1427
  query: Record<string, never>;
1395
1428
  };
1396
- output: string;
1397
- outputFormat: "text";
1398
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1429
+ output: _$zod.ZodSafeParseError<{
1430
+ channel: string;
1431
+ newName: string;
1432
+ }>;
1433
+ outputFormat: "json";
1434
+ status: 400;
1435
+ } | {
1436
+ input: {
1437
+ param: {
1438
+ channel: string;
1439
+ newName: string;
1440
+ };
1441
+ } & {
1442
+ query: Record<string, never>;
1443
+ };
1444
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1445
+ outputFormat: "json";
1446
+ status: 400;
1399
1447
  } | {
1400
1448
  input: {
1401
1449
  param: {
@@ -1421,9 +1469,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1421
1469
  } & {
1422
1470
  query: Record<string, never>;
1423
1471
  };
1424
- output: string;
1425
- outputFormat: "text";
1426
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1472
+ output: _$zod.ZodSafeParseError<{
1473
+ channel: string;
1474
+ newName: string;
1475
+ }>;
1476
+ outputFormat: "json";
1477
+ status: 400;
1478
+ } | {
1479
+ input: {
1480
+ param: {
1481
+ channel: string;
1482
+ newName: string;
1483
+ };
1484
+ } & {
1485
+ query: Record<string, never>;
1486
+ };
1487
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1488
+ outputFormat: "json";
1489
+ status: 400;
1427
1490
  } | {
1428
1491
  input: {
1429
1492
  param: {
@@ -1442,7 +1505,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1442
1505
  "/channels/rename": {
1443
1506
  $post: {
1444
1507
  input: {};
1445
- output: "funnel channels rename — rename a channel\n\nusage:\n funnel channels rename <old> <new>\n funnel channels <old> rename <new>";
1508
+ 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
1509
  outputFormat: "text";
1447
1510
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1448
1511
  };
@@ -1469,9 +1532,12 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1469
1532
  mode: "fanout" | "exclusive";
1470
1533
  };
1471
1534
  };
1472
- output: string;
1473
- outputFormat: "text";
1474
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1535
+ output: _$zod.ZodSafeParseError<{
1536
+ channel: string;
1537
+ mode: "fanout" | "exclusive";
1538
+ }>;
1539
+ outputFormat: "json";
1540
+ status: 400;
1475
1541
  } | {
1476
1542
  input: {
1477
1543
  param: {
@@ -1507,9 +1573,30 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1507
1573
  connector?: string | undefined;
1508
1574
  };
1509
1575
  };
1510
- output: string;
1511
- outputFormat: "text";
1512
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1576
+ output: _$zod.ZodSafeParseError<{
1577
+ channel: string;
1578
+ }>;
1579
+ outputFormat: "json";
1580
+ status: 400;
1581
+ } | {
1582
+ input: {
1583
+ param: {
1584
+ channel: string;
1585
+ };
1586
+ } & {
1587
+ query: {
1588
+ [x: string]: string | string[];
1589
+ content: string | string[];
1590
+ connector?: string | undefined;
1591
+ };
1592
+ };
1593
+ output: _$zod.ZodSafeParseError<{
1594
+ [x: string]: unknown;
1595
+ content: string;
1596
+ connector?: string | undefined;
1597
+ }>;
1598
+ outputFormat: "json";
1599
+ status: 400;
1513
1600
  } | {
1514
1601
  input: {
1515
1602
  param: {
@@ -1540,6 +1627,30 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1540
1627
  output: string;
1541
1628
  outputFormat: "text";
1542
1629
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1630
+ } | {
1631
+ input: {
1632
+ param: {
1633
+ channel: string;
1634
+ };
1635
+ } & {
1636
+ query: Record<string, never>;
1637
+ };
1638
+ output: _$zod.ZodSafeParseError<{
1639
+ channel: string;
1640
+ }>;
1641
+ outputFormat: "json";
1642
+ status: 400;
1643
+ } | {
1644
+ input: {
1645
+ param: {
1646
+ channel: string;
1647
+ };
1648
+ } & {
1649
+ query: Record<string, never>;
1650
+ };
1651
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1652
+ outputFormat: "json";
1653
+ status: 400;
1543
1654
  };
1544
1655
  };
1545
1656
  } & {
@@ -1558,12 +1669,21 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1558
1669
  param: {
1559
1670
  channel: string;
1560
1671
  };
1561
- } & {
1562
- query: Record<string, never>;
1563
1672
  };
1564
1673
  output: string;
1565
1674
  outputFormat: "text";
1566
1675
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1676
+ } | {
1677
+ input: {
1678
+ param: {
1679
+ channel: string;
1680
+ };
1681
+ };
1682
+ output: _$zod.ZodSafeParseError<{
1683
+ channel: string;
1684
+ }>;
1685
+ outputFormat: "json";
1686
+ status: 400;
1567
1687
  };
1568
1688
  };
1569
1689
  } & {
@@ -1573,12 +1693,21 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1573
1693
  param: {
1574
1694
  channel: string;
1575
1695
  };
1576
- } & {
1577
- query: Record<string, never>;
1578
1696
  };
1579
1697
  output: string;
1580
1698
  outputFormat: "text";
1581
1699
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1700
+ } | {
1701
+ input: {
1702
+ param: {
1703
+ channel: string;
1704
+ };
1705
+ };
1706
+ output: _$zod.ZodSafeParseError<{
1707
+ channel: string;
1708
+ }>;
1709
+ outputFormat: "json";
1710
+ status: 400;
1582
1711
  };
1583
1712
  };
1584
1713
  } & {
@@ -1589,7 +1718,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1589
1718
  channel: string;
1590
1719
  };
1591
1720
  };
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.";
1721
+ 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
1722
  outputFormat: "text";
1594
1723
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1595
1724
  };
@@ -1617,9 +1746,48 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1617
1746
  type: string | string[];
1618
1747
  };
1619
1748
  };
1620
- output: string;
1621
- outputFormat: "text";
1622
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1749
+ output: _$zod.ZodSafeParseError<{
1750
+ channel: string;
1751
+ connector: string;
1752
+ }>;
1753
+ outputFormat: "json";
1754
+ status: 400;
1755
+ } | {
1756
+ input: {
1757
+ param: {
1758
+ channel: string;
1759
+ connector: string;
1760
+ };
1761
+ } & {
1762
+ query: {
1763
+ type: string | string[];
1764
+ "bot-token": string | string[];
1765
+ "app-token": string | string[];
1766
+ } | {
1767
+ type: string | string[];
1768
+ "poll-interval"?: string | string[] | undefined;
1769
+ } | {
1770
+ type: string | string[];
1771
+ "bot-token": string | string[];
1772
+ } | {
1773
+ type: string | string[];
1774
+ };
1775
+ };
1776
+ output: _$zod.ZodSafeParseError<{
1777
+ type: "slack";
1778
+ "bot-token": string;
1779
+ "app-token": string;
1780
+ } | {
1781
+ type: "gh";
1782
+ "poll-interval"?: number | undefined;
1783
+ } | {
1784
+ type: "discord";
1785
+ "bot-token": string;
1786
+ } | {
1787
+ type: "schedule";
1788
+ }>;
1789
+ outputFormat: "json";
1790
+ status: 400;
1623
1791
  } | {
1624
1792
  input: {
1625
1793
  param: {
@@ -1726,7 +1894,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1726
1894
  channel: string;
1727
1895
  };
1728
1896
  };
1729
- output: "funnel channels <channel> connectors remove <connector> — remove a connector\n\nusage: funnel channels <channel> connectors remove <connector>";
1897
+ 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
1898
  outputFormat: "text";
1731
1899
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1732
1900
  };
@@ -1742,9 +1910,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1742
1910
  } & {
1743
1911
  query: Record<string, never>;
1744
1912
  };
1745
- output: string;
1746
- outputFormat: "text";
1747
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1913
+ output: _$zod.ZodSafeParseError<{
1914
+ channel: string;
1915
+ connector: string;
1916
+ }>;
1917
+ outputFormat: "json";
1918
+ status: 400;
1919
+ } | {
1920
+ input: {
1921
+ param: {
1922
+ channel: string;
1923
+ connector: string;
1924
+ };
1925
+ } & {
1926
+ query: Record<string, never>;
1927
+ };
1928
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
1929
+ outputFormat: "json";
1930
+ status: 400;
1748
1931
  } | {
1749
1932
  input: {
1750
1933
  param: {
@@ -1788,9 +1971,34 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1788
1971
  "poll-interval"?: string | string[] | undefined;
1789
1972
  };
1790
1973
  };
1791
- output: string;
1792
- outputFormat: "text";
1793
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1974
+ output: _$zod.ZodSafeParseError<{
1975
+ channel: string;
1976
+ connector: string;
1977
+ }>;
1978
+ outputFormat: "json";
1979
+ status: 400;
1980
+ } | {
1981
+ input: {
1982
+ param: {
1983
+ channel: string;
1984
+ connector: string;
1985
+ };
1986
+ } & {
1987
+ query: {
1988
+ [x: string]: string | string[];
1989
+ "bot-token"?: string | undefined;
1990
+ "app-token"?: string | undefined;
1991
+ "poll-interval"?: string | string[] | undefined;
1992
+ };
1993
+ };
1994
+ output: _$zod.ZodSafeParseError<{
1995
+ [x: string]: unknown;
1996
+ "bot-token"?: string | undefined;
1997
+ "app-token"?: string | undefined;
1998
+ "poll-interval"?: number | undefined;
1999
+ }>;
2000
+ outputFormat: "json";
2001
+ status: 400;
1794
2002
  } | {
1795
2003
  input: {
1796
2004
  param: {
@@ -1822,9 +2030,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1822
2030
  } & {
1823
2031
  query: Record<string, never>;
1824
2032
  };
1825
- output: string;
1826
- outputFormat: "text";
1827
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2033
+ output: _$zod.ZodSafeParseError<{
2034
+ channel: string;
2035
+ connector: string;
2036
+ newName: string;
2037
+ }>;
2038
+ outputFormat: "json";
2039
+ status: 400;
2040
+ } | {
2041
+ input: {
2042
+ param: {
2043
+ channel: string;
2044
+ connector: string;
2045
+ newName: string;
2046
+ };
2047
+ } & {
2048
+ query: Record<string, never>;
2049
+ };
2050
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2051
+ outputFormat: "json";
2052
+ status: 400;
1828
2053
  } | {
1829
2054
  input: {
1830
2055
  param: {
@@ -1852,9 +2077,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1852
2077
  } & {
1853
2078
  query: Record<string, never>;
1854
2079
  };
1855
- output: string;
1856
- outputFormat: "text";
1857
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2080
+ output: _$zod.ZodSafeParseError<{
2081
+ channel: string;
2082
+ connector: string;
2083
+ newName: string;
2084
+ }>;
2085
+ outputFormat: "json";
2086
+ status: 400;
2087
+ } | {
2088
+ input: {
2089
+ param: {
2090
+ channel: string;
2091
+ connector: string;
2092
+ newName: string;
2093
+ };
2094
+ } & {
2095
+ query: Record<string, never>;
2096
+ };
2097
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2098
+ outputFormat: "json";
2099
+ status: 400;
1858
2100
  } | {
1859
2101
  input: {
1860
2102
  param: {
@@ -1878,7 +2120,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1878
2120
  channel: string;
1879
2121
  };
1880
2122
  };
1881
- output: "funnel channels <channel> connectors rename <connector> <new-name>\n\nusage: funnel channels <channel> connectors rename <connector> <new-name>";
2123
+ 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
2124
  outputFormat: "text";
1883
2125
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1884
2126
  };
@@ -1916,25 +2158,75 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1916
2158
  output: string;
1917
2159
  outputFormat: "text";
1918
2160
  status: _$hono_utils_http_status0.ContentfulStatusCode;
1919
- };
1920
- };
1921
- } & {
1922
- "/channels/:channel/connectors/:connector": {
1923
- $get: {
2161
+ } | {
1924
2162
  input: {
1925
2163
  param: {
1926
2164
  channel: string;
1927
2165
  connector: string;
1928
2166
  };
1929
2167
  } & {
1930
- query: Record<string, never>;
2168
+ query: {
2169
+ [x: string]: string | string[];
2170
+ method: string | string[];
2171
+ path?: string | undefined;
2172
+ };
1931
2173
  };
1932
- output: string;
1933
- outputFormat: "text";
1934
- status: _$hono_utils_http_status0.ContentfulStatusCode;
1935
- };
1936
- };
1937
- } & {
2174
+ output: _$zod.ZodSafeParseError<{
2175
+ channel: string;
2176
+ connector: string;
2177
+ }>;
2178
+ outputFormat: "json";
2179
+ status: 400;
2180
+ } | {
2181
+ input: {
2182
+ param: {
2183
+ channel: string;
2184
+ connector: string;
2185
+ };
2186
+ } & {
2187
+ query: {
2188
+ [x: string]: string | string[];
2189
+ method: string | string[];
2190
+ path?: string | undefined;
2191
+ };
2192
+ };
2193
+ output: _$zod.ZodSafeParseError<{
2194
+ [x: string]: unknown;
2195
+ method: string;
2196
+ path?: string | undefined;
2197
+ }>;
2198
+ outputFormat: "json";
2199
+ status: 400;
2200
+ };
2201
+ };
2202
+ } & {
2203
+ "/channels/:channel/connectors/:connector": {
2204
+ $get: {
2205
+ input: {
2206
+ param: {
2207
+ channel: string;
2208
+ connector: string;
2209
+ };
2210
+ };
2211
+ output: string;
2212
+ outputFormat: "text";
2213
+ status: _$hono_utils_http_status0.ContentfulStatusCode;
2214
+ } | {
2215
+ input: {
2216
+ param: {
2217
+ channel: string;
2218
+ connector: string;
2219
+ };
2220
+ };
2221
+ output: _$zod.ZodSafeParseError<{
2222
+ channel: string;
2223
+ connector: string;
2224
+ }>;
2225
+ outputFormat: "json";
2226
+ status: 400;
2227
+ };
2228
+ };
2229
+ } & {
1938
2230
  "/channels/:channel/connectors/:connector/schedules": {
1939
2231
  $get: {
1940
2232
  input: {
@@ -1942,12 +2234,23 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1942
2234
  channel: string;
1943
2235
  connector: string;
1944
2236
  };
1945
- } & {
1946
- query: Record<string, never>;
1947
2237
  };
1948
2238
  output: string;
1949
2239
  outputFormat: "text";
1950
2240
  status: _$hono_utils_http_status0.ContentfulStatusCode;
2241
+ } | {
2242
+ input: {
2243
+ param: {
2244
+ channel: string;
2245
+ connector: string;
2246
+ };
2247
+ };
2248
+ output: _$zod.ZodSafeParseError<{
2249
+ channel: string;
2250
+ connector: string;
2251
+ }>;
2252
+ outputFormat: "json";
2253
+ status: 400;
1951
2254
  };
1952
2255
  };
1953
2256
  } & {
@@ -1982,9 +2285,36 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
1982
2285
  "catchup-policy"?: "latest" | "all" | "skip" | undefined;
1983
2286
  };
1984
2287
  };
1985
- output: string;
1986
- outputFormat: "text";
1987
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2288
+ output: _$zod.ZodSafeParseError<{
2289
+ channel: string;
2290
+ connector: string;
2291
+ id: string;
2292
+ }>;
2293
+ outputFormat: "json";
2294
+ status: 400;
2295
+ } | {
2296
+ input: {
2297
+ param: {
2298
+ channel: string;
2299
+ connector: string;
2300
+ id: string;
2301
+ };
2302
+ } & {
2303
+ query: {
2304
+ cron: string;
2305
+ prompt: string;
2306
+ enabled?: "true" | "false" | undefined;
2307
+ "catchup-policy"?: "latest" | "all" | "skip" | undefined;
2308
+ };
2309
+ };
2310
+ output: _$zod.ZodSafeParseError<{
2311
+ cron: string;
2312
+ prompt: string;
2313
+ enabled?: "true" | "false" | undefined;
2314
+ "catchup-policy"?: "latest" | "all" | "skip" | undefined;
2315
+ }>;
2316
+ outputFormat: "json";
2317
+ status: 400;
1988
2318
  } | {
1989
2319
  input: {
1990
2320
  param: {
@@ -2032,9 +2362,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2032
2362
  } & {
2033
2363
  query: Record<string, never>;
2034
2364
  };
2035
- output: string;
2036
- outputFormat: "text";
2037
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2365
+ output: _$zod.ZodSafeParseError<{
2366
+ channel: string;
2367
+ connector: string;
2368
+ id: string;
2369
+ }>;
2370
+ outputFormat: "json";
2371
+ status: 400;
2372
+ } | {
2373
+ input: {
2374
+ param: {
2375
+ channel: string;
2376
+ connector: string;
2377
+ id: string;
2378
+ };
2379
+ } & {
2380
+ query: Record<string, never>;
2381
+ };
2382
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2383
+ outputFormat: "json";
2384
+ status: 400;
2038
2385
  } | {
2039
2386
  input: {
2040
2387
  param: {
@@ -2053,9 +2400,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2053
2400
  } & {
2054
2401
  "/profiles": {
2055
2402
  $get: {
2056
- input: {
2057
- query: Record<string, never>;
2058
- };
2403
+ input: {};
2059
2404
  output: string;
2060
2405
  outputFormat: "text";
2061
2406
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2088,9 +2433,38 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2088
2433
  "no-resume"?: string | undefined;
2089
2434
  };
2090
2435
  };
2091
- output: string;
2092
- outputFormat: "text";
2093
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2436
+ output: _$zod.ZodSafeParseError<{
2437
+ profile: string;
2438
+ }>;
2439
+ outputFormat: "json";
2440
+ status: 400;
2441
+ } | {
2442
+ input: {
2443
+ param: {
2444
+ profile: string;
2445
+ };
2446
+ } & {
2447
+ query: {
2448
+ path: string;
2449
+ channel: string;
2450
+ agent?: string | undefined;
2451
+ options?: string | undefined;
2452
+ env?: string | undefined;
2453
+ resume?: string | undefined;
2454
+ "no-resume"?: string | undefined;
2455
+ };
2456
+ };
2457
+ output: _$zod.ZodSafeParseError<{
2458
+ path: string;
2459
+ channel: string;
2460
+ agent?: string | undefined;
2461
+ options?: string | undefined;
2462
+ env?: string | undefined;
2463
+ resume?: string | undefined;
2464
+ "no-resume"?: string | undefined;
2465
+ }>;
2466
+ outputFormat: "json";
2467
+ status: 400;
2094
2468
  } | {
2095
2469
  input: {
2096
2470
  param: {
@@ -2139,9 +2513,38 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2139
2513
  "no-resume"?: string | undefined;
2140
2514
  };
2141
2515
  };
2142
- output: string;
2143
- outputFormat: "text";
2144
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2516
+ output: _$zod.ZodSafeParseError<{
2517
+ profile: string;
2518
+ }>;
2519
+ outputFormat: "json";
2520
+ status: 400;
2521
+ } | {
2522
+ input: {
2523
+ param: {
2524
+ profile: string;
2525
+ };
2526
+ } & {
2527
+ query: {
2528
+ path?: string | undefined;
2529
+ channel?: string | undefined;
2530
+ agent?: string | undefined;
2531
+ options?: string | undefined;
2532
+ env?: string | undefined;
2533
+ resume?: string | undefined;
2534
+ "no-resume"?: string | undefined;
2535
+ };
2536
+ };
2537
+ output: _$zod.ZodSafeParseError<{
2538
+ path?: string | undefined;
2539
+ channel?: string | undefined;
2540
+ agent?: string | undefined;
2541
+ options?: string | undefined;
2542
+ env?: string | undefined;
2543
+ resume?: string | undefined;
2544
+ "no-resume"?: string | undefined;
2545
+ }>;
2546
+ outputFormat: "json";
2547
+ status: 400;
2145
2548
  } | {
2146
2549
  input: {
2147
2550
  param: {
@@ -2182,9 +2585,22 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2182
2585
  } & {
2183
2586
  query: Record<string, never>;
2184
2587
  };
2185
- output: string;
2186
- outputFormat: "text";
2187
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2588
+ output: _$zod.ZodSafeParseError<{
2589
+ profile: string;
2590
+ }>;
2591
+ outputFormat: "json";
2592
+ status: 400;
2593
+ } | {
2594
+ input: {
2595
+ param: {
2596
+ profile: string;
2597
+ };
2598
+ } & {
2599
+ query: Record<string, never>;
2600
+ };
2601
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2602
+ outputFormat: "json";
2603
+ status: 400;
2188
2604
  } | {
2189
2605
  input: {
2190
2606
  param: {
@@ -2209,9 +2625,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2209
2625
  } & {
2210
2626
  query: Record<string, never>;
2211
2627
  };
2212
- output: string;
2213
- outputFormat: "text";
2214
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2628
+ output: _$zod.ZodSafeParseError<{
2629
+ profile: string;
2630
+ newName: string;
2631
+ }>;
2632
+ outputFormat: "json";
2633
+ status: 400;
2634
+ } | {
2635
+ input: {
2636
+ param: {
2637
+ profile: string;
2638
+ newName: string;
2639
+ };
2640
+ } & {
2641
+ query: Record<string, never>;
2642
+ };
2643
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2644
+ outputFormat: "json";
2645
+ status: 400;
2215
2646
  } | {
2216
2647
  input: {
2217
2648
  param: {
@@ -2237,9 +2668,24 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2237
2668
  } & {
2238
2669
  query: Record<string, never>;
2239
2670
  };
2240
- output: string;
2241
- outputFormat: "text";
2242
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2671
+ output: _$zod.ZodSafeParseError<{
2672
+ profile: string;
2673
+ newName: string;
2674
+ }>;
2675
+ outputFormat: "json";
2676
+ status: 400;
2677
+ } | {
2678
+ input: {
2679
+ param: {
2680
+ profile: string;
2681
+ newName: string;
2682
+ };
2683
+ } & {
2684
+ query: Record<string, never>;
2685
+ };
2686
+ output: _$zod.ZodSafeParseError<Record<string, never>>;
2687
+ outputFormat: "json";
2688
+ status: 400;
2243
2689
  } | {
2244
2690
  input: {
2245
2691
  param: {
@@ -2283,19 +2729,17 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2283
2729
  param: {
2284
2730
  profile: string;
2285
2731
  };
2286
- } & {
2287
- query: Record<string, never>;
2288
2732
  };
2289
- output: string;
2290
- outputFormat: "text";
2291
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2733
+ output: _$zod.ZodSafeParseError<{
2734
+ profile: string;
2735
+ }>;
2736
+ outputFormat: "json";
2737
+ status: 400;
2292
2738
  } | {
2293
2739
  input: {
2294
2740
  param: {
2295
2741
  profile: string;
2296
2742
  };
2297
- } & {
2298
- query: Record<string, never>;
2299
2743
  };
2300
2744
  output: `profile "${string}" is now the default`;
2301
2745
  outputFormat: "text";
@@ -2314,9 +2758,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2314
2758
  [x: string]: string | string[];
2315
2759
  };
2316
2760
  };
2317
- output: string;
2318
- outputFormat: "text";
2319
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2761
+ output: _$zod.ZodSafeParseError<{
2762
+ profile: string;
2763
+ }>;
2764
+ outputFormat: "json";
2765
+ status: 400;
2766
+ } | {
2767
+ input: {
2768
+ param: {
2769
+ profile: string;
2770
+ };
2771
+ } & {
2772
+ query: {
2773
+ [x: string]: string | string[];
2774
+ };
2775
+ };
2776
+ output: _$zod.ZodSafeParseError<{
2777
+ [x: string]: unknown;
2778
+ }>;
2779
+ outputFormat: "json";
2780
+ status: 400;
2320
2781
  } | {
2321
2782
  input: {
2322
2783
  param: {
@@ -2344,9 +2805,26 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2344
2805
  [x: string]: string | string[];
2345
2806
  };
2346
2807
  };
2347
- output: string;
2348
- outputFormat: "text";
2349
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2808
+ output: _$zod.ZodSafeParseError<{
2809
+ profile: string;
2810
+ }>;
2811
+ outputFormat: "json";
2812
+ status: 400;
2813
+ } | {
2814
+ input: {
2815
+ param: {
2816
+ profile: string;
2817
+ };
2818
+ } & {
2819
+ query: {
2820
+ [x: string]: string | string[];
2821
+ };
2822
+ };
2823
+ output: _$zod.ZodSafeParseError<{
2824
+ [x: string]: unknown;
2825
+ }>;
2826
+ outputFormat: "json";
2827
+ status: 400;
2350
2828
  } | {
2351
2829
  input: {
2352
2830
  param: {
@@ -2374,9 +2852,7 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2374
2852
  } & {
2375
2853
  "/gateway/status": {
2376
2854
  $get: {
2377
- input: {
2378
- query: Record<string, never>;
2379
- };
2855
+ input: {};
2380
2856
  output: string;
2381
2857
  outputFormat: "text";
2382
2858
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2390,9 +2866,11 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2390
2866
  "no-caffeine"?: string | undefined;
2391
2867
  };
2392
2868
  };
2393
- output: string;
2394
- outputFormat: "text";
2395
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2869
+ output: _$zod.ZodSafeParseError<{
2870
+ "no-caffeine"?: string | undefined;
2871
+ }>;
2872
+ outputFormat: "json";
2873
+ status: 400;
2396
2874
  } | {
2397
2875
  input: {
2398
2876
  query: {
@@ -2416,23 +2894,12 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2416
2894
  } & {
2417
2895
  "/gateway/stop": {
2418
2896
  $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
- };
2897
+ input: {};
2429
2898
  output: "funnel gateway: no running process";
2430
2899
  outputFormat: "text";
2431
2900
  status: _$hono_utils_http_status0.ContentfulStatusCode;
2432
2901
  } | {
2433
- input: {
2434
- query: Record<string, never>;
2435
- };
2902
+ input: {};
2436
2903
  output: "funnel gateway: stopped";
2437
2904
  outputFormat: "text";
2438
2905
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2449,6 +2916,17 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2449
2916
  output: string;
2450
2917
  outputFormat: "text";
2451
2918
  status: _$hono_utils_http_status0.ContentfulStatusCode;
2919
+ } | {
2920
+ input: {
2921
+ query: {
2922
+ "no-caffeine"?: string | undefined;
2923
+ };
2924
+ };
2925
+ output: _$zod.ZodSafeParseError<{
2926
+ "no-caffeine"?: string | undefined;
2927
+ }>;
2928
+ outputFormat: "json";
2929
+ status: 400;
2452
2930
  };
2453
2931
  };
2454
2932
  } & {
@@ -2459,18 +2937,20 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2459
2937
  "no-caffeine"?: string | undefined;
2460
2938
  };
2461
2939
  };
2462
- output: string;
2463
- outputFormat: "text";
2464
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2940
+ output: Promise<never>;
2941
+ outputFormat: "json";
2942
+ status: _$hono_utils_http_status0.StatusCode;
2465
2943
  } | {
2466
2944
  input: {
2467
2945
  query: {
2468
2946
  "no-caffeine"?: string | undefined;
2469
2947
  };
2470
2948
  };
2471
- output: Promise<never>;
2949
+ output: _$zod.ZodSafeParseError<{
2950
+ "no-caffeine"?: string | undefined;
2951
+ }>;
2472
2952
  outputFormat: "json";
2473
- status: _$hono_utils_http_status0.StatusCode;
2953
+ status: 400;
2474
2954
  };
2475
2955
  };
2476
2956
  } & {
@@ -2482,9 +2962,12 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2482
2962
  format?: "json" | "plain" | undefined;
2483
2963
  };
2484
2964
  };
2485
- output: string;
2486
- outputFormat: "text";
2487
- status: _$hono_utils_http_status0.ContentfulStatusCode;
2965
+ output: _$zod.ZodSafeParseError<{
2966
+ n?: string | undefined;
2967
+ format?: "json" | "plain" | undefined;
2968
+ }>;
2969
+ outputFormat: "json";
2970
+ status: 400;
2488
2971
  } | {
2489
2972
  input: {
2490
2973
  query: {
@@ -2511,14 +2994,29 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2511
2994
  output: string;
2512
2995
  outputFormat: "text";
2513
2996
  status: _$hono_utils_http_status0.ContentfulStatusCode;
2997
+ } | {
2998
+ input: {
2999
+ query: {
3000
+ query?: string | undefined;
3001
+ preset?: string | undefined;
3002
+ channel?: string | undefined;
3003
+ limit?: string | undefined;
3004
+ };
3005
+ };
3006
+ output: _$zod.ZodSafeParseError<{
3007
+ query?: string | undefined;
3008
+ preset?: string | undefined;
3009
+ channel?: string | undefined;
3010
+ limit?: string | undefined;
3011
+ }>;
3012
+ outputFormat: "json";
3013
+ status: 400;
2514
3014
  };
2515
3015
  };
2516
3016
  } & {
2517
3017
  "/gateway/listeners": {
2518
3018
  $get: {
2519
- input: {
2520
- query: Record<string, never>;
2521
- };
3019
+ input: {};
2522
3020
  output: string;
2523
3021
  outputFormat: "text";
2524
3022
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2537,6 +3035,21 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2537
3035
  output: string;
2538
3036
  outputFormat: "text";
2539
3037
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3038
+ } | {
3039
+ input: {
3040
+ query: {
3041
+ channel?: string | undefined;
3042
+ all?: "" | "true" | "false" | undefined;
3043
+ limit?: string | undefined;
3044
+ };
3045
+ };
3046
+ output: _$zod.ZodSafeParseError<{
3047
+ channel?: string | undefined;
3048
+ all?: "" | "true" | "false" | undefined;
3049
+ limit?: string | undefined;
3050
+ }>;
3051
+ outputFormat: "json";
3052
+ status: 400;
2540
3053
  };
2541
3054
  };
2542
3055
  } & {
@@ -2551,6 +3064,19 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2551
3064
  output: string;
2552
3065
  outputFormat: "text";
2553
3066
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3067
+ } | {
3068
+ input: {
3069
+ query: {
3070
+ channel?: string | undefined;
3071
+ limit?: string | undefined;
3072
+ };
3073
+ };
3074
+ output: _$zod.ZodSafeParseError<{
3075
+ channel?: string | undefined;
3076
+ limit?: string | undefined;
3077
+ }>;
3078
+ outputFormat: "json";
3079
+ status: 400;
2554
3080
  };
2555
3081
  };
2556
3082
  } & {
@@ -2565,6 +3091,19 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2565
3091
  output: string;
2566
3092
  outputFormat: "text";
2567
3093
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3094
+ } | {
3095
+ input: {
3096
+ query: {
3097
+ channel?: string | undefined;
3098
+ limit?: string | undefined;
3099
+ };
3100
+ };
3101
+ output: _$zod.ZodSafeParseError<{
3102
+ channel?: string | undefined;
3103
+ limit?: string | undefined;
3104
+ }>;
3105
+ outputFormat: "json";
3106
+ status: 400;
2568
3107
  };
2569
3108
  };
2570
3109
  } & {
@@ -2579,6 +3118,19 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2579
3118
  output: string;
2580
3119
  outputFormat: "text";
2581
3120
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3121
+ } | {
3122
+ input: {
3123
+ query: {
3124
+ channel?: string | undefined;
3125
+ limit?: string | undefined;
3126
+ };
3127
+ };
3128
+ output: _$zod.ZodSafeParseError<{
3129
+ channel?: string | undefined;
3130
+ limit?: string | undefined;
3131
+ }>;
3132
+ outputFormat: "json";
3133
+ status: 400;
2582
3134
  };
2583
3135
  };
2584
3136
  } & {
@@ -2593,14 +3145,25 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2593
3145
  output: string;
2594
3146
  outputFormat: "text";
2595
3147
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3148
+ } | {
3149
+ input: {
3150
+ query: {
3151
+ channel?: string | undefined;
3152
+ seq?: string | undefined;
3153
+ };
3154
+ };
3155
+ output: _$zod.ZodSafeParseError<{
3156
+ channel?: string | undefined;
3157
+ seq?: string | undefined;
3158
+ }>;
3159
+ outputFormat: "json";
3160
+ status: 400;
2596
3161
  };
2597
3162
  };
2598
3163
  } & {
2599
3164
  "/docs": {
2600
3165
  $get: {
2601
- input: {
2602
- query: Record<string, never>;
2603
- };
3166
+ input: {};
2604
3167
  output: string;
2605
3168
  outputFormat: "text";
2606
3169
  status: _$hono_utils_http_status0.ContentfulStatusCode;
@@ -2617,6 +3180,17 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2617
3180
  output: string;
2618
3181
  outputFormat: "text";
2619
3182
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3183
+ } | {
3184
+ input: {
3185
+ param: {
3186
+ topic: string;
3187
+ };
3188
+ };
3189
+ output: _$zod.ZodSafeParseError<{
3190
+ topic: string;
3191
+ }>;
3192
+ outputFormat: "json";
3193
+ status: 400;
2620
3194
  };
2621
3195
  };
2622
3196
  } & {
@@ -2631,21 +3205,25 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2631
3205
  output: string;
2632
3206
  outputFormat: "text";
2633
3207
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3208
+ } | {
3209
+ input: {
3210
+ query: {
3211
+ fix?: "" | "true" | "false" | undefined;
3212
+ aggressive?: "" | "true" | "false" | undefined;
3213
+ };
3214
+ };
3215
+ output: _$zod.ZodSafeParseError<{
3216
+ fix?: "" | "true" | "false" | undefined;
3217
+ aggressive?: "" | "true" | "false" | undefined;
3218
+ }>;
3219
+ outputFormat: "json";
3220
+ status: 400;
2634
3221
  };
2635
3222
  };
2636
3223
  } & {
2637
3224
  "/schema": {
2638
3225
  $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
- };
3226
+ input: {};
2649
3227
  output: `${string}
2650
3228
  `;
2651
3229
  outputFormat: "text";
@@ -2664,21 +3242,25 @@ declare const routes: _$hono_hono_base0.HonoBase<Env, {
2664
3242
  output: string;
2665
3243
  outputFormat: "text";
2666
3244
  status: _$hono_utils_http_status0.ContentfulStatusCode;
3245
+ } | {
3246
+ input: {
3247
+ query: {
3248
+ watch?: "" | "true" | "false" | undefined;
3249
+ interval?: string | undefined;
3250
+ };
3251
+ };
3252
+ output: _$zod.ZodSafeParseError<{
3253
+ watch?: "" | "true" | "false" | undefined;
3254
+ interval?: string | undefined;
3255
+ }>;
3256
+ outputFormat: "json";
3257
+ status: 400;
2667
3258
  };
2668
3259
  };
2669
3260
  } & {
2670
3261
  "/update": {
2671
3262
  $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
- };
3263
+ input: {};
2682
3264
  output: "updated @interactive-inc/claude-funnel";
2683
3265
  outputFormat: "text";
2684
3266
  status: _$hono_utils_http_status0.ContentfulStatusCode;