volute 0.27.0 → 0.29.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 (81) hide show
  1. package/README.md +20 -10
  2. package/dist/accept-666DIZX2.js +41 -0
  3. package/dist/api.d.ts +342 -143
  4. package/dist/{chat-MHJ3L6JQ.js → chat-KTPOR2JT.js} +18 -8
  5. package/dist/chunk-A6TUJJ3L.js +19 -0
  6. package/dist/{chunk-OQZH4PBB.js → chunk-CMILSHZD.js} +199 -277
  7. package/dist/{chunk-K5NAC55T.js → chunk-CQ7SNKNI.js} +1 -1
  8. package/dist/{chunk-PHSAT7YL.js → chunk-EHZKEMMV.js} +5 -5
  9. package/dist/{chunk-IAYBDWVG.js → chunk-FLZGS4QH.js} +145 -0
  10. package/dist/{chunk-USUXRNVD.js → chunk-J4IBNXGJ.js} +0 -2
  11. package/dist/chunk-MD4C26II.js +128 -0
  12. package/dist/{chunk-4WXYUOAK.js → chunk-NI5FFCCS.js} +8 -1
  13. package/dist/{chunk-JKOWNZ4P.js → chunk-P72MVS4R.js} +1 -40
  14. package/dist/chunk-THUUIU3E.js +232 -0
  15. package/dist/cli.js +21 -30
  16. package/dist/clock-DGCBVGYA.js +259 -0
  17. package/dist/{cloud-sync-T7M3ESC3.js → cloud-sync-KILFGV5Q.js} +7 -7
  18. package/dist/connectors/discord-bridge.js +1 -1
  19. package/dist/connectors/slack-bridge.js +1 -1
  20. package/dist/connectors/telegram-bridge.js +1 -1
  21. package/dist/{conversations-M2K4253F.js → conversations-P5BL7RMX.js} +7 -1
  22. package/dist/create-DFCAGEE5.js +70 -0
  23. package/dist/{daemon-restart-M2QTYMEG.js → daemon-restart-UHOMICXT.js} +1 -1
  24. package/dist/daemon.js +715 -661
  25. package/dist/files-M546TKVN.js +46 -0
  26. package/dist/{login-XX37I52P.js → login-BKP3AFWN.js} +7 -17
  27. package/dist/logout-IQK7FNEK.js +20 -0
  28. package/dist/{message-delivery-LDXLGERA.js → message-delivery-Q7VUMIEI.js} +11 -9
  29. package/dist/{mind-DI33C74K.js → mind-S5V6CK5W.js} +8 -13
  30. package/dist/{mind-activity-tracker-EN6XNXPF.js → mind-activity-tracker-WRHFI3YW.js} +1 -1
  31. package/dist/mind-list-UPJ75GPI.js +29 -0
  32. package/dist/{mind-manager-M6EMUW5I.js → mind-manager-P66HQDNE.js} +2 -2
  33. package/dist/mind-status-TK5AETEM.js +55 -0
  34. package/dist/{package-7WY6VKU3.js → package-OFKXNKJF.js} +1 -1
  35. package/dist/{pages-6EBS6CBR.js → pages-EUJR52AH.js} +5 -5
  36. package/dist/pages-watcher-P7QECRE2.js +21 -0
  37. package/dist/{publish-66UB2ZFY.js → publish-ZZB33WP4.js} +6 -17
  38. package/dist/{register-6B2CXTYM.js → register-CHREOMJ3.js} +5 -24
  39. package/dist/reject-LXIZFJ4Q.js +39 -0
  40. package/dist/{sandbox-TGBX22DS.js → sandbox-5BW5HPXM.js} +1 -1
  41. package/dist/{send-ZNCJDSRP.js → send-TAOEZ4NH.js} +64 -6
  42. package/dist/skills/dreaming/references/INSTALL.md +3 -17
  43. package/dist/skills/shared-files/SKILL.md +44 -0
  44. package/dist/skills/shared-files/scripts/merge.ts +72 -0
  45. package/dist/skills/shared-files/scripts/pull.ts +52 -0
  46. package/dist/skills/volute-mind/SKILL.md +48 -22
  47. package/dist/{sleep-manager-MWYHM5HV.js → sleep-manager-G4B5GW5P.js} +7 -7
  48. package/dist/{sprout-IJVVKSJ2.js → sprout-UNT7LKKE.js} +1 -1
  49. package/dist/{status-77YEPHMW.js → status-NQJYR4BG.js} +45 -1
  50. package/dist/{status-THLOBLWG.js → status-S7UUPNRW.js} +3 -13
  51. package/dist/systems-SMEFSHTA.js +60 -0
  52. package/dist/{up-NKSMXBWR.js → up-W6VAK2XE.js} +1 -1
  53. package/dist/{version-notify-5Z4MNR6M.js → version-notify-WDHRO3XD.js} +11 -11
  54. package/dist/web-assets/assets/index-BmKDnWDB.css +1 -0
  55. package/dist/web-assets/assets/index-CLJMx-GA.js +71 -0
  56. package/dist/web-assets/index.html +2 -2
  57. package/package.json +1 -1
  58. package/templates/_base/src/lib/logger.ts +10 -53
  59. package/templates/_base/src/lib/router.ts +1 -9
  60. package/templates/claude/src/lib/stream-consumer.ts +1 -4
  61. package/templates/pi/src/lib/event-handler.ts +1 -14
  62. package/dist/auth-D3OT2ARB.js +0 -37
  63. package/dist/chunk-KDGS53OS.js +0 -50
  64. package/dist/chunk-RWKVSSLY.js +0 -26
  65. package/dist/chunk-T6HKBWXZ.js +0 -23
  66. package/dist/create-D7J73A6H.js +0 -45
  67. package/dist/file-CR36YUPD.js +0 -204
  68. package/dist/log-ABYNVYJ3.js +0 -39
  69. package/dist/logout-W4KOOBIT.js +0 -18
  70. package/dist/logs-U35JR2KE.js +0 -77
  71. package/dist/merge-LNSMSAOF.js +0 -46
  72. package/dist/pull-XCHJTM5M.js +0 -39
  73. package/dist/schedule-QTJMFATP.js +0 -154
  74. package/dist/service-6LIN3F3K.js +0 -122
  75. package/dist/shared-ML5I4Q2A.js +0 -39
  76. package/dist/status-7GA4SM4Y.js +0 -35
  77. package/dist/web-assets/assets/index-CI5wgghI.css +0 -1
  78. package/dist/web-assets/assets/index-is5CvJWH.js +0 -75
  79. package/dist/{chunk-GIE6CSN5.js → chunk-DUAUMCEE.js} +0 -0
  80. package/dist/{history-XKRTAFS2.js → history-ALPTNB3I.js} +0 -0
  81. package/dist/{setup-JG4QAEBV.js → setup-RXYVGGT7.js} +3 -3
package/dist/api.d.ts CHANGED
@@ -630,6 +630,80 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
630
630
  status: hono_utils_http_status.ContentfulStatusCode;
631
631
  };
632
632
  };
633
+ } & {
634
+ "/pages/publish/:name": {
635
+ $put: {
636
+ input: {
637
+ param: {
638
+ name: string;
639
+ };
640
+ };
641
+ output: {
642
+ error: string;
643
+ };
644
+ outputFormat: "json";
645
+ status: 400;
646
+ } | {
647
+ input: {
648
+ param: {
649
+ name: string;
650
+ };
651
+ };
652
+ output: {
653
+ [x: string]: hono_utils_types.JSONValue;
654
+ };
655
+ outputFormat: "json";
656
+ status: 100 | 403 | 102 | 103 | 200 | 201 | 202 | 203 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
657
+ } | {
658
+ input: {
659
+ param: {
660
+ name: string;
661
+ };
662
+ };
663
+ output: {
664
+ error: string;
665
+ };
666
+ outputFormat: "json";
667
+ status: 502;
668
+ };
669
+ };
670
+ } & {
671
+ "/pages/status/:name": {
672
+ $get: {
673
+ input: {
674
+ param: {
675
+ name: string;
676
+ };
677
+ };
678
+ output: {
679
+ [x: string]: hono_utils_types.JSONValue;
680
+ };
681
+ outputFormat: "json";
682
+ status: 100 | 403 | 102 | 103 | 200 | 201 | 202 | 203 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
683
+ } | {
684
+ input: {
685
+ param: {
686
+ name: string;
687
+ };
688
+ };
689
+ output: {
690
+ error: string;
691
+ };
692
+ outputFormat: "json";
693
+ status: 400;
694
+ } | {
695
+ input: {
696
+ param: {
697
+ name: string;
698
+ };
699
+ };
700
+ output: {
701
+ error: string;
702
+ };
703
+ outputFormat: "json";
704
+ status: 502;
705
+ };
706
+ };
633
707
  }, "/api/system"> | hono_types.MergeSchemaPath<{
634
708
  "/update": {
635
709
  $get: {
@@ -1375,6 +1449,121 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1375
1449
  status: hono_utils_http_status.ContentfulStatusCode;
1376
1450
  };
1377
1451
  };
1452
+ } & {
1453
+ "/:name/conversations": {
1454
+ $get: {
1455
+ input: {
1456
+ param: {
1457
+ name: string;
1458
+ };
1459
+ };
1460
+ output: {
1461
+ error: string;
1462
+ };
1463
+ outputFormat: "json";
1464
+ status: 404;
1465
+ } | {
1466
+ input: {
1467
+ param: {
1468
+ name: string;
1469
+ };
1470
+ };
1471
+ output: {
1472
+ id: string;
1473
+ mind_name: string | null;
1474
+ channel: string;
1475
+ type: "dm" | "channel";
1476
+ name: string | null;
1477
+ user_id: number | null;
1478
+ title: string | null;
1479
+ created_at: string;
1480
+ updated_at: string;
1481
+ participants: {
1482
+ userId: number;
1483
+ username: string;
1484
+ userType: "brain" | "mind" | "puppet";
1485
+ role: "owner" | "member";
1486
+ displayName?: string | null | undefined;
1487
+ description?: string | null | undefined;
1488
+ avatar?: string | null | undefined;
1489
+ }[];
1490
+ lastMessage?: {
1491
+ role: "user" | "assistant";
1492
+ senderName: string | null;
1493
+ text: string;
1494
+ createdAt: string;
1495
+ } | undefined;
1496
+ }[];
1497
+ outputFormat: "json";
1498
+ status: hono_utils_http_status.ContentfulStatusCode;
1499
+ };
1500
+ };
1501
+ } & {
1502
+ "/:name/conversations/:convId/messages": {
1503
+ $get: {
1504
+ input: {
1505
+ param: {
1506
+ name: string;
1507
+ } & {
1508
+ convId: string;
1509
+ };
1510
+ };
1511
+ output: {
1512
+ error: string;
1513
+ };
1514
+ outputFormat: "json";
1515
+ status: 404;
1516
+ } | {
1517
+ input: {
1518
+ param: {
1519
+ name: string;
1520
+ } & {
1521
+ convId: string;
1522
+ };
1523
+ };
1524
+ output: {
1525
+ error: string;
1526
+ };
1527
+ outputFormat: "json";
1528
+ status: 400;
1529
+ } | {
1530
+ input: {
1531
+ param: {
1532
+ name: string;
1533
+ } & {
1534
+ convId: string;
1535
+ };
1536
+ };
1537
+ output: {
1538
+ items: {
1539
+ id: number;
1540
+ conversation_id: string;
1541
+ role: "user" | "assistant";
1542
+ sender_name: string | null;
1543
+ content: ({
1544
+ type: "text";
1545
+ text: string;
1546
+ } | {
1547
+ type: "tool_use";
1548
+ name: string;
1549
+ input: hono_utils_types.JSONValue;
1550
+ } | {
1551
+ type: "tool_result";
1552
+ output: string;
1553
+ is_error?: boolean | undefined;
1554
+ } | {
1555
+ type: "image";
1556
+ media_type: string;
1557
+ data: string;
1558
+ })[];
1559
+ created_at: string;
1560
+ }[];
1561
+ hasMore: boolean;
1562
+ };
1563
+ outputFormat: "json";
1564
+ status: hono_utils_http_status.ContentfulStatusCode;
1565
+ };
1566
+ };
1378
1567
  } & {
1379
1568
  "/:name/budget": {
1380
1569
  $get: {
@@ -1693,6 +1882,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1693
1882
  media_type: string;
1694
1883
  data: string;
1695
1884
  }[] | undefined;
1885
+ files?: {
1886
+ filename: string;
1887
+ data: string;
1888
+ }[] | undefined;
1696
1889
  };
1697
1890
  } & {
1698
1891
  param: {
@@ -1714,6 +1907,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1714
1907
  media_type: string;
1715
1908
  data: string;
1716
1909
  }[] | undefined;
1910
+ files?: {
1911
+ filename: string;
1912
+ data: string;
1913
+ }[] | undefined;
1717
1914
  };
1718
1915
  } & {
1719
1916
  param: {
@@ -1735,6 +1932,35 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1735
1932
  media_type: string;
1736
1933
  data: string;
1737
1934
  }[] | undefined;
1935
+ files?: {
1936
+ filename: string;
1937
+ data: string;
1938
+ }[] | undefined;
1939
+ };
1940
+ } & {
1941
+ param: {
1942
+ name: string;
1943
+ };
1944
+ };
1945
+ output: {
1946
+ error: string;
1947
+ };
1948
+ outputFormat: "json";
1949
+ status: 413;
1950
+ } | {
1951
+ input: {
1952
+ json: {
1953
+ message?: string | undefined;
1954
+ conversationId?: string | undefined;
1955
+ sender?: string | undefined;
1956
+ images?: {
1957
+ media_type: string;
1958
+ data: string;
1959
+ }[] | undefined;
1960
+ files?: {
1961
+ filename: string;
1962
+ data: string;
1963
+ }[] | undefined;
1738
1964
  };
1739
1965
  } & {
1740
1966
  param: {
@@ -1765,6 +1991,72 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1765
1991
  };
1766
1992
  };
1767
1993
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
1994
+ "/:name/clock/status": {
1995
+ $get: {
1996
+ input: {
1997
+ param: {
1998
+ name: string;
1999
+ };
2000
+ };
2001
+ output: {
2002
+ error: string;
2003
+ };
2004
+ outputFormat: "json";
2005
+ status: 404;
2006
+ } | {
2007
+ input: {
2008
+ param: {
2009
+ name: string;
2010
+ };
2011
+ };
2012
+ output: {
2013
+ sleep: {
2014
+ sleeping: boolean;
2015
+ sleepingSince: string | null;
2016
+ scheduledWakeAt: string | null;
2017
+ wokenByTrigger: boolean;
2018
+ voluntaryWakeAt: string | null;
2019
+ queuedMessageCount: number;
2020
+ triggerWakeHistory: {
2021
+ channel: string;
2022
+ at: string;
2023
+ }[];
2024
+ } | null;
2025
+ sleepConfig: {
2026
+ enabled?: boolean | undefined;
2027
+ schedule?: {
2028
+ sleep: string;
2029
+ wake: string;
2030
+ } | undefined;
2031
+ wakeTriggers?: {
2032
+ mentions?: boolean | undefined;
2033
+ dms?: boolean | undefined;
2034
+ channels?: string[] | undefined;
2035
+ senders?: string[] | undefined;
2036
+ } | undefined;
2037
+ } | null;
2038
+ schedules: {
2039
+ id: string;
2040
+ cron?: string | undefined;
2041
+ fireAt?: string | undefined;
2042
+ message?: string | undefined;
2043
+ script?: string | undefined;
2044
+ enabled: boolean;
2045
+ whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
2046
+ skipWhenSleeping?: boolean | undefined;
2047
+ channel?: string | undefined;
2048
+ }[];
2049
+ upcoming: {
2050
+ id: string;
2051
+ at: string;
2052
+ type: "cron" | "timer";
2053
+ }[];
2054
+ };
2055
+ outputFormat: "json";
2056
+ status: hono_utils_http_status.ContentfulStatusCode;
2057
+ };
2058
+ };
2059
+ } & {
1768
2060
  "/:name/schedules": {
1769
2061
  $get: {
1770
2062
  input: {
@@ -1785,10 +2077,12 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1785
2077
  };
1786
2078
  output: {
1787
2079
  id: string;
1788
- cron: string;
2080
+ cron?: string | undefined;
2081
+ fireAt?: string | undefined;
1789
2082
  message?: string | undefined;
1790
2083
  script?: string | undefined;
1791
2084
  enabled: boolean;
2085
+ whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
1792
2086
  skipWhenSleeping?: boolean | undefined;
1793
2087
  channel?: string | undefined;
1794
2088
  }[];
@@ -2310,11 +2604,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2310
2604
  };
2311
2605
  };
2312
2606
  output: {
2313
- status: string;
2314
- destPath: string;
2607
+ error: string;
2315
2608
  };
2316
2609
  outputFormat: "json";
2317
- status: 200;
2610
+ status: 500;
2318
2611
  } | {
2319
2612
  input: {
2320
2613
  param: {
@@ -2458,7 +2751,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2458
2751
  };
2459
2752
  };
2460
2753
  } & {
2461
- "/:name/files/trust": {
2754
+ "/:name/files/stage": {
2462
2755
  $post: {
2463
2756
  input: {
2464
2757
  param: {
@@ -2487,41 +2780,23 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2487
2780
  name: string;
2488
2781
  };
2489
2782
  };
2490
- output: {
2491
- ok: true;
2492
- };
2493
- outputFormat: "json";
2494
- status: hono_utils_http_status.ContentfulStatusCode;
2495
- };
2496
- };
2497
- } & {
2498
- "/:name/files/trust/:sender": {
2499
- $delete: {
2500
- input: {
2501
- param: {
2502
- name: string;
2503
- } & {
2504
- sender: string;
2505
- };
2506
- };
2507
2783
  output: {
2508
2784
  error: string;
2509
2785
  };
2510
2786
  outputFormat: "json";
2511
- status: 404;
2787
+ status: 413;
2512
2788
  } | {
2513
2789
  input: {
2514
2790
  param: {
2515
2791
  name: string;
2516
- } & {
2517
- sender: string;
2518
2792
  };
2519
2793
  };
2520
2794
  output: {
2521
- ok: true;
2795
+ status: string;
2796
+ id: string;
2522
2797
  };
2523
2798
  outputFormat: "json";
2524
- status: hono_utils_http_status.ContentfulStatusCode;
2799
+ status: 200;
2525
2800
  };
2526
2801
  };
2527
2802
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
@@ -2906,114 +3181,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2906
3181
  status: 500;
2907
3182
  };
2908
3183
  };
2909
- } & {
2910
- "/:name/shared/pull": {
2911
- $post: {
2912
- input: {
2913
- param: {
2914
- name: string;
2915
- };
2916
- };
2917
- output: {
2918
- error: string;
2919
- };
2920
- outputFormat: "json";
2921
- status: 404;
2922
- } | {
2923
- input: {
2924
- param: {
2925
- name: string;
2926
- };
2927
- };
2928
- output: {
2929
- ok: boolean;
2930
- message?: string | undefined;
2931
- };
2932
- outputFormat: "json";
2933
- status: hono_utils_http_status.ContentfulStatusCode;
2934
- } | {
2935
- input: {
2936
- param: {
2937
- name: string;
2938
- };
2939
- };
2940
- output: {
2941
- error: string;
2942
- };
2943
- outputFormat: "json";
2944
- status: 500;
2945
- };
2946
- };
2947
- } & {
2948
- "/:name/shared/log": {
2949
- $get: {
2950
- input: {
2951
- param: {
2952
- name: string;
2953
- };
2954
- };
2955
- output: string;
2956
- outputFormat: "text";
2957
- status: hono_utils_http_status.ContentfulStatusCode;
2958
- } | {
2959
- input: {
2960
- param: {
2961
- name: string;
2962
- };
2963
- };
2964
- output: {
2965
- error: string;
2966
- };
2967
- outputFormat: "json";
2968
- status: 404;
2969
- } | {
2970
- input: {
2971
- param: {
2972
- name: string;
2973
- };
2974
- };
2975
- output: {
2976
- error: string;
2977
- };
2978
- outputFormat: "json";
2979
- status: 500;
2980
- };
2981
- };
2982
- } & {
2983
- "/:name/shared/status": {
2984
- $get: {
2985
- input: {
2986
- param: {
2987
- name: string;
2988
- };
2989
- };
2990
- output: string;
2991
- outputFormat: "text";
2992
- status: hono_utils_http_status.ContentfulStatusCode;
2993
- } | {
2994
- input: {
2995
- param: {
2996
- name: string;
2997
- };
2998
- };
2999
- output: {
3000
- error: string;
3001
- };
3002
- outputFormat: "json";
3003
- status: 404;
3004
- } | {
3005
- input: {
3006
- param: {
3007
- name: string;
3008
- };
3009
- };
3010
- output: {
3011
- error: string;
3012
- };
3013
- outputFormat: "json";
3014
- status: 500;
3015
- };
3016
- };
3017
3184
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
3018
3185
  "/:name/env": {
3019
3186
  $get: {
@@ -3397,7 +3564,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3397
3564
  id: string;
3398
3565
  mind_name: string | null;
3399
3566
  channel: string;
3400
- type: "dm" | "group" | "channel";
3567
+ type: "dm" | "channel";
3401
3568
  name: string | null;
3402
3569
  user_id: number | null;
3403
3570
  title: string | null;
@@ -3443,7 +3610,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3443
3610
  id: string;
3444
3611
  mind_name: string | null;
3445
3612
  channel: string;
3446
- type: "dm" | "group" | "channel";
3613
+ type: "dm" | "channel";
3447
3614
  name: string | null;
3448
3615
  user_id: number | null;
3449
3616
  title: string | null;
@@ -4303,7 +4470,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4303
4470
  id: string;
4304
4471
  mind_name: string | null;
4305
4472
  channel: string;
4306
- type: "dm" | "group" | "channel";
4473
+ type: "dm" | "channel";
4307
4474
  name: string | null;
4308
4475
  user_id: number | null;
4309
4476
  title: string | null;
@@ -4388,7 +4555,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4388
4555
  id: string;
4389
4556
  mind_name: string | null;
4390
4557
  channel: string;
4391
- type: "dm" | "group" | "channel";
4558
+ type: "dm" | "channel";
4392
4559
  name: string | null;
4393
4560
  user_id: number | null;
4394
4561
  title: string | null;
@@ -4460,7 +4627,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4460
4627
  id: string;
4461
4628
  mind_name: string | null;
4462
4629
  channel: string;
4463
- type: "dm" | "group" | "channel";
4630
+ type: "dm" | "channel";
4464
4631
  name: string | null;
4465
4632
  user_id: number | null;
4466
4633
  title: string | null;
@@ -4483,7 +4650,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4483
4650
  id: string;
4484
4651
  mind_name: string | null;
4485
4652
  channel: string;
4486
- type: "dm" | "group" | "channel";
4653
+ type: "dm" | "channel";
4487
4654
  name: string | null;
4488
4655
  user_id: number | null;
4489
4656
  title: string | null;
@@ -4650,6 +4817,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4650
4817
  media_type: string;
4651
4818
  data: string;
4652
4819
  }[] | undefined;
4820
+ files?: {
4821
+ filename: string;
4822
+ data: string;
4823
+ }[] | undefined;
4653
4824
  };
4654
4825
  };
4655
4826
  output: {
@@ -4666,6 +4837,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4666
4837
  media_type: string;
4667
4838
  data: string;
4668
4839
  }[] | undefined;
4840
+ files?: {
4841
+ filename: string;
4842
+ data: string;
4843
+ }[] | undefined;
4669
4844
  };
4670
4845
  };
4671
4846
  output: {
@@ -4682,6 +4857,30 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4682
4857
  media_type: string;
4683
4858
  data: string;
4684
4859
  }[] | undefined;
4860
+ files?: {
4861
+ filename: string;
4862
+ data: string;
4863
+ }[] | undefined;
4864
+ };
4865
+ };
4866
+ output: {
4867
+ error: string;
4868
+ };
4869
+ outputFormat: "json";
4870
+ status: 413;
4871
+ } | {
4872
+ input: {
4873
+ json: {
4874
+ conversationId: string;
4875
+ message?: string | undefined;
4876
+ images?: {
4877
+ media_type: string;
4878
+ data: string;
4879
+ }[] | undefined;
4880
+ files?: {
4881
+ filename: string;
4882
+ data: string;
4883
+ }[] | undefined;
4685
4884
  };
4686
4885
  };
4687
4886
  output: {
@@ -5002,7 +5201,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5002
5201
  id: string;
5003
5202
  mind_name: string | null;
5004
5203
  channel: string;
5005
- type: "dm" | "group" | "channel";
5204
+ type: "dm" | "channel";
5006
5205
  name: string | null;
5007
5206
  user_id: number | null;
5008
5207
  title: string | null;
@@ -5133,7 +5332,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5133
5332
  id: string;
5134
5333
  mind_name: string | null;
5135
5334
  channel: string;
5136
- type: "dm" | "group" | "channel";
5335
+ type: "dm" | "channel";
5137
5336
  name: string | null;
5138
5337
  user_id: number | null;
5139
5338
  title: string | null;
@@ -7,10 +7,7 @@ async function run(args) {
7
7
  const subArgs = args.slice(1);
8
8
  switch (subcommand) {
9
9
  case "send":
10
- await import("./send-ZNCJDSRP.js").then((m) => m.run(subArgs));
11
- break;
12
- case "history":
13
- await import("./history-XKRTAFS2.js").then((m) => m.run(subArgs));
10
+ await import("./send-TAOEZ4NH.js").then((m) => m.run(subArgs));
14
11
  break;
15
12
  case "list":
16
13
  await import("./list-R73GENNL.js").then((m) => m.run(subArgs));
@@ -19,23 +16,36 @@ async function run(args) {
19
16
  await import("./read-36UFXN3G.js").then((m) => m.run(subArgs));
20
17
  break;
21
18
  case "create":
22
- await import("./create-D7J73A6H.js").then((m) => m.run(subArgs));
19
+ await import("./create-DFCAGEE5.js").then((m) => m.run(subArgs));
23
20
  break;
24
21
  case "bridge":
25
22
  await import("./bridge-FQHZL3MC.js").then((m) => m.run(subArgs));
26
23
  break;
24
+ case "files":
25
+ await import("./files-M546TKVN.js").then((m) => m.run(subArgs));
26
+ break;
27
+ case "accept":
28
+ await import("./accept-666DIZX2.js").then((m) => m.run(subArgs));
29
+ break;
30
+ case "reject":
31
+ await import("./reject-LXIZFJ4Q.js").then((m) => m.run(subArgs));
32
+ break;
27
33
  case "--help":
28
34
  case "-h":
29
35
  case void 0:
30
- console.log(`volute chat \u2014 conversations and bridges
36
+ console.log(`volute chat \u2014 conversations, files, and bridges
31
37
 
32
38
  Messages:
33
- send <target> "<msg>" Send a message
34
- history [--mind] [--limit N] View activity history
39
+ send <target> "<msg>" Send a message (--image, --file)
35
40
  list List conversations
36
41
  read <conversation> [--limit] Read conversation messages
37
42
  create --participants u1,u2 Create a conversation
38
43
 
44
+ Files:
45
+ files [--mind <name>] List pending incoming files
46
+ accept <id> [--mind] [--dest] Accept a pending file
47
+ reject <id> [--mind] Reject a pending file
48
+
39
49
  Bridges:
40
50
  bridge add <platform> Set up a bridge
41
51
  bridge remove <platform> Remove a bridge