volute 0.26.0 → 0.28.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 (141) hide show
  1. package/README.md +18 -18
  2. package/dist/accept-666DIZX2.js +41 -0
  3. package/dist/{activity-events-ZMBAKLUF.js → activity-events-BBIEA2F4.js} +2 -3
  4. package/dist/api.d.ts +510 -299
  5. package/dist/{archive-4ZQYK5MN.js → archive-UA4BDFXQ.js} +2 -2
  6. package/dist/bridge-FQHZL3MC.js +206 -0
  7. package/dist/chat-M4SX42JD.js +68 -0
  8. package/dist/{chunk-PHU4DEAJ.js → chunk-2WPW7OT6.js} +3 -3
  9. package/dist/{chunk-5Y3PBKW6.js → chunk-2YP2TVDT.js} +138 -56
  10. package/dist/{chunk-3CFRE2VC.js → chunk-AAPXKR5V.js} +435 -1090
  11. package/dist/{chunk-YJA7P64S.js → chunk-AW7PFDVN.js} +5 -5
  12. package/dist/{chunk-OZFKBXD6.js → chunk-EHYDTZTF.js} +6 -6
  13. package/dist/{chunk-WBHMQ5OZ.js → chunk-H7OZRFJB.js} +192 -12
  14. package/dist/{chunk-ON3FF5JA.js → chunk-HDN7MNGD.js} +3 -3
  15. package/dist/chunk-IAYBDWVG.js +477 -0
  16. package/dist/{chunk-TZKJLDQN.js → chunk-IKRVFPWU.js} +14 -9
  17. package/dist/{chunk-UTL75LP6.js → chunk-J4IBNXGJ.js} +20 -22
  18. package/dist/{chunk-WGOGUMPO.js → chunk-JGFVMROS.js} +13 -6
  19. package/dist/{chunk-NWI2425I.js → chunk-K5NAC55T.js} +1 -1
  20. package/dist/chunk-KTLFDYPT.js +61 -0
  21. package/dist/{chunk-V63B7DX3.js → chunk-LAC664WU.js} +7 -4
  22. package/dist/chunk-MD4C26II.js +128 -0
  23. package/dist/{chunk-USNBKHYG.js → chunk-NI5FFCCS.js} +12 -7
  24. package/dist/{chunk-3TV4GLFO.js → chunk-P72MVS4R.js} +4 -43
  25. package/dist/{chunk-2VO7453N.js → chunk-POSXWWTA.js} +30 -54
  26. package/dist/{chunk-XOXLRRR2.js → chunk-RKQEHRBB.js} +4 -3
  27. package/dist/{chunk-LX22GRG7.js → chunk-SGVNFZHW.js} +11 -8
  28. package/dist/chunk-T6HKBWXZ.js +23 -0
  29. package/dist/{chunk-J2CO4WEV.js → chunk-VIVMW2H2.js} +4 -4
  30. package/dist/{chunk-KTJGZ7M7.js → chunk-XBLSAVJF.js} +1 -1
  31. package/dist/cli.js +32 -49
  32. package/dist/{cloud-sync-NI2K3C7G.js → cloud-sync-HDL6PHZI.js} +14 -14
  33. package/dist/connectors/discord-bridge.js +158 -0
  34. package/dist/connectors/slack-bridge.js +119 -0
  35. package/dist/connectors/telegram-bridge.js +133 -0
  36. package/dist/conversations-M2K4253F.js +55 -0
  37. package/dist/create-D7J73A6H.js +45 -0
  38. package/dist/{create-4YBRTTJS.js → create-QWV73WXD.js} +1 -1
  39. package/dist/{daemon-client-Z7FAJ6JW.js → daemon-client-I42FK2BF.js} +2 -2
  40. package/dist/{daemon-restart-BJZ3O4U4.js → daemon-restart-G4B2OYAB.js} +7 -7
  41. package/dist/daemon.js +1889 -1216
  42. package/dist/db-IC4J52XQ.js +8 -0
  43. package/dist/{delete-27OYNK25.js → delete-4JYGD4VN.js} +1 -1
  44. package/dist/down-LVBXEULC.js +14 -0
  45. package/dist/{env-M336ONDP.js → env-YJMUMFIY.js} +2 -2
  46. package/dist/{export-HP4G5DQC.js → export-BOJQWBMA.js} +4 -4
  47. package/dist/files-M546TKVN.js +46 -0
  48. package/dist/{history-B64GTFTD.js → history-ALPTNB3I.js} +5 -5
  49. package/dist/{import-XIB7UV4S.js → import-SRTQXBGH.js} +4 -4
  50. package/dist/join-J4QU42DL.js +66 -0
  51. package/dist/list-R73GENNL.js +40 -0
  52. package/dist/{login-B5E7N7MY.js → login-3QZNR2DF.js} +4 -4
  53. package/dist/{login-6U7U6BNG.js → login-BKP3AFWN.js} +8 -18
  54. package/dist/logout-IQK7FNEK.js +20 -0
  55. package/dist/{logout-XSJRYS3U.js → logout-T53VKCPU.js} +4 -4
  56. package/dist/message-delivery-HV3S6HZV.js +24 -0
  57. package/dist/migrate-registry-to-db-XC7T5B7P.js +110 -0
  58. package/dist/{mind-HZ3QSDDJ.js → mind-S5V6CK5W.js} +29 -34
  59. package/dist/{mind-activity-tracker-4G6FURY2.js → mind-activity-tracker-EN6XNXPF.js} +3 -4
  60. package/dist/mind-list-UPJ75GPI.js +29 -0
  61. package/dist/mind-manager-S6ILZVX3.js +18 -0
  62. package/dist/{mind-sleep-DTV7L44D.js → mind-sleep-BTSWQNAC.js} +4 -4
  63. package/dist/mind-status-TK5AETEM.js +55 -0
  64. package/dist/{mind-wake-PFN4FN3T.js → mind-wake-SBAKIDVP.js} +4 -4
  65. package/dist/{notes-37FW2UR2.js → notes-XCER3I7M.js} +11 -21
  66. package/dist/{package-VZWLXPHV.js → package-CG4RWUGP.js} +1 -1
  67. package/dist/{pages-DIIT5HMQ.js → pages-KJDJX4TA.js} +5 -5
  68. package/dist/{publish-HQV7YREB.js → publish-ZZB33WP4.js} +9 -20
  69. package/dist/read-36UFXN3G.js +46 -0
  70. package/dist/{register-EFND67FQ.js → register-CHREOMJ3.js} +6 -25
  71. package/dist/{registry-D2BSQ2X5.js → registry-NDNOOYG4.js} +15 -9
  72. package/dist/reject-LXIZFJ4Q.js +39 -0
  73. package/dist/{restart-CCK7D6TV.js → restart-6ESL3NBO.js} +5 -5
  74. package/dist/{sandbox-EHGFF52K.js → sandbox-5BW5HPXM.js} +3 -3
  75. package/dist/{schedule-6F7ELB2M.js → schedule-QTJMFATP.js} +5 -5
  76. package/dist/{seed-E5OQGWX3.js → seed-SSUCYYDF.js} +2 -2
  77. package/dist/{send-IH6XZKPC.js → send-TAOEZ4NH.js} +87 -23
  78. package/dist/{setup-YGAAIKKZ.js → setup-JHL5ZEST.js} +2 -2
  79. package/dist/{setup-F6TWFYGQ.js → setup-RXYVGGT7.js} +9 -9
  80. package/dist/{skill-42LGFBQC.js → skill-AUAQTSP5.js} +5 -5
  81. package/dist/skills/dreaming/references/INSTALL.md +2 -2
  82. package/dist/skills/orientation/SKILL.md +3 -3
  83. package/dist/skills/shared-files/SKILL.md +44 -0
  84. package/dist/skills/shared-files/scripts/merge.ts +72 -0
  85. package/dist/skills/shared-files/scripts/pull.ts +52 -0
  86. package/dist/skills/volute-mind/SKILL.md +35 -34
  87. package/dist/sleep-manager-WMVG2VCL.js +28 -0
  88. package/dist/split-TKJ5OT3P.js +63 -0
  89. package/dist/{sprout-QL74KR2X.js → sprout-UNT7LKKE.js} +6 -7
  90. package/dist/{start-O5JQASRC.js → start-EUJSS5R4.js} +2 -2
  91. package/dist/status-NQJYR4BG.js +114 -0
  92. package/dist/{status-LV34BG6G.js → status-S7UUPNRW.js} +4 -14
  93. package/dist/{stop-2SOG5NYF.js → stop-3XAITBBF.js} +5 -5
  94. package/dist/systems-SMEFSHTA.js +60 -0
  95. package/dist/{tailscale-AJ4VL5XK.js → tailscale-NY5MUMY3.js} +1 -1
  96. package/dist/up-GM2JOH2Y.js +17 -0
  97. package/dist/{update-5VUDAI3D.js → update-PTSH22AZ.js} +9 -9
  98. package/dist/{update-check-F5Z3ALXX.js → update-check-64FWC4Y2.js} +2 -2
  99. package/dist/{upgrade-QCCO33BK.js → upgrade-HA47CS4C.js} +12 -5
  100. package/dist/variant-7TGZHOU3.js +41 -0
  101. package/dist/{version-notify-USFZBWMG.js → version-notify-JDUF4HQJ.js} +24 -29
  102. package/dist/web-assets/assets/index-BZGvToHi.css +1 -0
  103. package/dist/web-assets/assets/index-Cz4TrpzB.js +75 -0
  104. package/dist/web-assets/favicon.png +0 -0
  105. package/dist/web-assets/index.html +2 -2
  106. package/drizzle/0017_minds.sql +16 -0
  107. package/drizzle/meta/_journal.json +7 -0
  108. package/package.json +1 -1
  109. package/templates/_base/.init/.config/prompts.json +2 -2
  110. package/templates/_base/home/VOLUTE.md +5 -5
  111. package/templates/_base/src/lib/logger.ts +0 -4
  112. package/templates/_base/src/lib/startup.ts +2 -2
  113. package/dist/auth-4TV573WE.js +0 -37
  114. package/dist/channel-ZVZV42UD.js +0 -260
  115. package/dist/chunk-B2CPS4QU.js +0 -283
  116. package/dist/chunk-HFCBO2GL.js +0 -50
  117. package/dist/chunk-RWKVSSLY.js +0 -26
  118. package/dist/chunk-SIAG3QMM.js +0 -42
  119. package/dist/chunk-WSLPZF72.js +0 -173
  120. package/dist/connector-G722WXAU.js +0 -147
  121. package/dist/connectors/discord.js +0 -177
  122. package/dist/connectors/slack.js +0 -181
  123. package/dist/connectors/telegram.js +0 -187
  124. package/dist/down-7UKFMJJZ.js +0 -14
  125. package/dist/file-HUDKTRAS.js +0 -204
  126. package/dist/log-PBFNILJ4.js +0 -39
  127. package/dist/logout-UKD5LA37.js +0 -18
  128. package/dist/logs-3CART7O7.js +0 -77
  129. package/dist/merge-VK2HSKMA.js +0 -46
  130. package/dist/message-delivery-MS5JYPZX.js +0 -25
  131. package/dist/mind-manager-VVK67AY3.js +0 -19
  132. package/dist/pull-2MB4SK3C.js +0 -39
  133. package/dist/service-LLBV3R7M.js +0 -122
  134. package/dist/shared-UMO4S7CC.js +0 -39
  135. package/dist/sleep-manager-EE4NRN2Q.js +0 -29
  136. package/dist/status-FZBEBM7Q.js +0 -70
  137. package/dist/status-WXD4HXRL.js +0 -35
  138. package/dist/up-SDMCSVI3.js +0 -17
  139. package/dist/variant-WWLDY6D5.js +0 -207
  140. package/dist/web-assets/assets/index-CUQ31ieL.js +0 -69
  141. package/dist/web-assets/assets/index-CW8NSl1o.css +0 -1
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: {
@@ -758,6 +832,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
758
832
  stage?: "seed" | "sprouted" | undefined;
759
833
  template?: string | undefined;
760
834
  templateHash?: string | undefined;
835
+ parent?: string | undefined;
836
+ dir?: string | undefined;
837
+ branch?: string | undefined;
761
838
  }[];
762
839
  outputFormat: "json";
763
840
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -768,14 +845,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
768
845
  $get: {
769
846
  input: {};
770
847
  output: {
771
- name: string;
772
- label: string;
773
- pages: {
774
- file: string;
775
- modified: string;
776
- url: string;
777
- }[];
778
- }[];
848
+ then: never;
849
+ catch: never;
850
+ finally: never;
851
+ };
779
852
  outputFormat: "json";
780
853
  status: hono_utils_http_status.ContentfulStatusCode;
781
854
  };
@@ -785,11 +858,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
785
858
  $get: {
786
859
  input: {};
787
860
  output: {
788
- mind: string;
789
- file: string;
790
- modified: string;
791
- url: string;
792
- }[];
861
+ then: never;
862
+ catch: never;
863
+ finally: never;
864
+ };
793
865
  outputFormat: "json";
794
866
  status: hono_utils_http_status.ContentfulStatusCode;
795
867
  };
@@ -837,6 +909,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
837
909
  stage?: "seed" | "sprouted" | undefined;
838
910
  template?: string | undefined;
839
911
  templateHash?: string | undefined;
912
+ parent?: string | undefined;
913
+ dir?: string | undefined;
914
+ branch?: string | undefined;
840
915
  };
841
916
  outputFormat: "json";
842
917
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -1692,6 +1767,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1692
1767
  media_type: string;
1693
1768
  data: string;
1694
1769
  }[] | undefined;
1770
+ files?: {
1771
+ filename: string;
1772
+ data: string;
1773
+ }[] | undefined;
1695
1774
  };
1696
1775
  } & {
1697
1776
  param: {
@@ -1713,6 +1792,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1713
1792
  media_type: string;
1714
1793
  data: string;
1715
1794
  }[] | undefined;
1795
+ files?: {
1796
+ filename: string;
1797
+ data: string;
1798
+ }[] | undefined;
1716
1799
  };
1717
1800
  } & {
1718
1801
  param: {
@@ -1734,173 +1817,62 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1734
1817
  media_type: string;
1735
1818
  data: string;
1736
1819
  }[] | undefined;
1820
+ files?: {
1821
+ filename: string;
1822
+ data: string;
1823
+ }[] | undefined;
1737
1824
  };
1738
1825
  } & {
1739
1826
  param: {
1740
1827
  name: string;
1741
1828
  };
1742
1829
  };
1743
- output: {
1744
- ok: true;
1745
- conversationId: string;
1746
- };
1747
- outputFormat: "json";
1748
- status: hono_utils_http_status.ContentfulStatusCode;
1749
- };
1750
- };
1751
- } & {
1752
- "/:name/conversations/:id/events": {
1753
- $get: {
1754
- input: {
1755
- param: {
1756
- id: string;
1757
- } & {
1758
- name: string;
1759
- };
1760
- };
1761
- output: {};
1762
- outputFormat: string;
1763
- status: hono_utils_http_status.StatusCode;
1764
- };
1765
- };
1766
- }, "/api/minds"> | hono_types.MergeSchemaPath<{
1767
- "/:name/connectors": {
1768
- $get: {
1769
- input: {
1770
- param: {
1771
- name: string;
1772
- };
1773
- };
1774
- output: {
1775
- error: string;
1776
- };
1777
- outputFormat: "json";
1778
- status: 404;
1779
- } | {
1780
- input: {
1781
- param: {
1782
- name: string;
1783
- };
1784
- };
1785
- output: {
1786
- type: string;
1787
- running: boolean;
1788
- auto?: boolean | undefined;
1789
- }[];
1790
- outputFormat: "json";
1791
- status: hono_utils_http_status.ContentfulStatusCode;
1792
- };
1793
- };
1794
- } & {
1795
- "/:name/connectors/:type": {
1796
- $post: {
1797
- input: {
1798
- param: {
1799
- name: string;
1800
- } & {
1801
- type: string;
1802
- };
1803
- };
1804
- output: {
1805
- error: string;
1806
- };
1807
- outputFormat: "json";
1808
- status: 400;
1809
- } | {
1810
- input: {
1811
- param: {
1812
- name: string;
1813
- } & {
1814
- type: string;
1815
- };
1816
- };
1817
1830
  output: {
1818
1831
  error: string;
1819
1832
  };
1820
1833
  outputFormat: "json";
1821
- status: 404;
1834
+ status: 413;
1822
1835
  } | {
1823
1836
  input: {
1824
- param: {
1825
- name: string;
1826
- } & {
1827
- type: string;
1837
+ json: {
1838
+ message?: string | undefined;
1839
+ conversationId?: string | undefined;
1840
+ sender?: string | undefined;
1841
+ images?: {
1842
+ media_type: string;
1843
+ data: string;
1844
+ }[] | undefined;
1845
+ files?: {
1846
+ filename: string;
1847
+ data: string;
1848
+ }[] | undefined;
1828
1849
  };
1829
- };
1830
- output: {
1831
- error: string;
1832
- };
1833
- outputFormat: "json";
1834
- status: 403;
1835
- } | {
1836
- input: {
1850
+ } & {
1837
1851
  param: {
1838
1852
  name: string;
1839
- } & {
1840
- type: string;
1841
1853
  };
1842
1854
  };
1843
1855
  output: {
1844
1856
  ok: true;
1857
+ conversationId: string;
1845
1858
  };
1846
1859
  outputFormat: "json";
1847
1860
  status: hono_utils_http_status.ContentfulStatusCode;
1848
- } | {
1849
- input: {
1850
- param: {
1851
- name: string;
1852
- } & {
1853
- type: string;
1854
- };
1855
- };
1856
- output: {
1857
- error: string;
1858
- };
1859
- outputFormat: "json";
1860
- status: 500;
1861
1861
  };
1862
1862
  };
1863
1863
  } & {
1864
- "/:name/connectors/:type": {
1865
- $delete: {
1866
- input: {
1867
- param: {
1868
- name: string;
1869
- } & {
1870
- type: string;
1871
- };
1872
- };
1873
- output: {
1874
- error: string;
1875
- };
1876
- outputFormat: "json";
1877
- status: 400;
1878
- } | {
1864
+ "/:name/conversations/:id/events": {
1865
+ $get: {
1879
1866
  input: {
1880
1867
  param: {
1881
- name: string;
1868
+ id: string;
1882
1869
  } & {
1883
- type: string;
1884
- };
1885
- };
1886
- output: {
1887
- error: string;
1888
- };
1889
- outputFormat: "json";
1890
- status: 404;
1891
- } | {
1892
- input: {
1893
- param: {
1894
1870
  name: string;
1895
- } & {
1896
- type: string;
1897
1871
  };
1898
1872
  };
1899
- output: {
1900
- ok: true;
1901
- };
1902
- outputFormat: "json";
1903
- status: hono_utils_http_status.ContentfulStatusCode;
1873
+ output: {};
1874
+ outputFormat: string;
1875
+ status: hono_utils_http_status.StatusCode;
1904
1876
  };
1905
1877
  };
1906
1878
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
@@ -2217,11 +2189,15 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2217
2189
  output: {
2218
2190
  status: string;
2219
2191
  name: string;
2220
- branch: string;
2221
- path: string;
2222
2192
  port: number;
2223
2193
  created: string;
2224
- running?: boolean | undefined;
2194
+ running: boolean;
2195
+ stage?: "seed" | "sprouted" | undefined;
2196
+ template?: string | undefined;
2197
+ templateHash?: string | undefined;
2198
+ parent?: string | undefined;
2199
+ dir?: string | undefined;
2200
+ branch?: string | undefined;
2225
2201
  }[];
2226
2202
  outputFormat: "json";
2227
2203
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -2330,7 +2306,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2330
2306
  error: string;
2331
2307
  };
2332
2308
  outputFormat: "json";
2333
- status: 400;
2309
+ status: 500;
2334
2310
  } | {
2335
2311
  input: {
2336
2312
  param: {
@@ -2343,7 +2319,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2343
2319
  error: string;
2344
2320
  };
2345
2321
  outputFormat: "json";
2346
- status: 500;
2322
+ status: 400;
2347
2323
  } | {
2348
2324
  input: {
2349
2325
  param: {
@@ -2375,6 +2351,19 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2375
2351
  };
2376
2352
  outputFormat: "json";
2377
2353
  status: 404;
2354
+ } | {
2355
+ input: {
2356
+ param: {
2357
+ name: string;
2358
+ } & {
2359
+ variant: string;
2360
+ };
2361
+ };
2362
+ output: {
2363
+ error: string;
2364
+ };
2365
+ outputFormat: "json";
2366
+ status: 500;
2378
2367
  } | {
2379
2368
  input: {
2380
2369
  param: {
@@ -2432,11 +2421,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2432
2421
  };
2433
2422
  };
2434
2423
  output: {
2435
- status: string;
2436
- destPath: string;
2424
+ error: string;
2437
2425
  };
2438
2426
  outputFormat: "json";
2439
- status: 200;
2427
+ status: 500;
2440
2428
  } | {
2441
2429
  input: {
2442
2430
  param: {
@@ -2580,7 +2568,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2580
2568
  };
2581
2569
  };
2582
2570
  } & {
2583
- "/:name/files/trust": {
2571
+ "/:name/files/stage": {
2584
2572
  $post: {
2585
2573
  input: {
2586
2574
  param: {
@@ -2610,40 +2598,22 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2610
2598
  };
2611
2599
  };
2612
2600
  output: {
2613
- ok: true;
2601
+ error: string;
2614
2602
  };
2615
2603
  outputFormat: "json";
2616
- status: hono_utils_http_status.ContentfulStatusCode;
2617
- };
2618
- };
2619
- } & {
2620
- "/:name/files/trust/:sender": {
2621
- $delete: {
2622
- input: {
2623
- param: {
2624
- name: string;
2625
- } & {
2626
- sender: string;
2627
- };
2628
- };
2629
- output: {
2630
- error: string;
2631
- };
2632
- outputFormat: "json";
2633
- status: 404;
2604
+ status: 413;
2634
2605
  } | {
2635
2606
  input: {
2636
2607
  param: {
2637
2608
  name: string;
2638
- } & {
2639
- sender: string;
2640
2609
  };
2641
2610
  };
2642
2611
  output: {
2643
- ok: true;
2612
+ status: string;
2613
+ id: string;
2644
2614
  };
2645
2615
  outputFormat: "json";
2646
- status: hono_utils_http_status.ContentfulStatusCode;
2616
+ status: 200;
2647
2617
  };
2648
2618
  };
2649
2619
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
@@ -3028,114 +2998,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3028
2998
  status: 500;
3029
2999
  };
3030
3000
  };
3031
- } & {
3032
- "/:name/shared/pull": {
3033
- $post: {
3034
- input: {
3035
- param: {
3036
- name: string;
3037
- };
3038
- };
3039
- output: {
3040
- error: string;
3041
- };
3042
- outputFormat: "json";
3043
- status: 404;
3044
- } | {
3045
- input: {
3046
- param: {
3047
- name: string;
3048
- };
3049
- };
3050
- output: {
3051
- ok: boolean;
3052
- message?: string | undefined;
3053
- };
3054
- outputFormat: "json";
3055
- status: hono_utils_http_status.ContentfulStatusCode;
3056
- } | {
3057
- input: {
3058
- param: {
3059
- name: string;
3060
- };
3061
- };
3062
- output: {
3063
- error: string;
3064
- };
3065
- outputFormat: "json";
3066
- status: 500;
3067
- };
3068
- };
3069
- } & {
3070
- "/:name/shared/log": {
3071
- $get: {
3072
- input: {
3073
- param: {
3074
- name: string;
3075
- };
3076
- };
3077
- output: string;
3078
- outputFormat: "text";
3079
- status: hono_utils_http_status.ContentfulStatusCode;
3080
- } | {
3081
- input: {
3082
- param: {
3083
- name: string;
3084
- };
3085
- };
3086
- output: {
3087
- error: string;
3088
- };
3089
- outputFormat: "json";
3090
- status: 404;
3091
- } | {
3092
- input: {
3093
- param: {
3094
- name: string;
3095
- };
3096
- };
3097
- output: {
3098
- error: string;
3099
- };
3100
- outputFormat: "json";
3101
- status: 500;
3102
- };
3103
- };
3104
- } & {
3105
- "/:name/shared/status": {
3106
- $get: {
3107
- input: {
3108
- param: {
3109
- name: string;
3110
- };
3111
- };
3112
- output: string;
3113
- outputFormat: "text";
3114
- status: hono_utils_http_status.ContentfulStatusCode;
3115
- } | {
3116
- input: {
3117
- param: {
3118
- name: string;
3119
- };
3120
- };
3121
- output: {
3122
- error: string;
3123
- };
3124
- outputFormat: "json";
3125
- status: 404;
3126
- } | {
3127
- input: {
3128
- param: {
3129
- name: string;
3130
- };
3131
- };
3132
- output: {
3133
- error: string;
3134
- };
3135
- outputFormat: "json";
3136
- status: 500;
3137
- };
3138
- };
3139
3001
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
3140
3002
  "/:name/env": {
3141
3003
  $get: {
@@ -3652,7 +3514,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3652
3514
  output: {
3653
3515
  userId: number;
3654
3516
  username: string;
3655
- userType: "brain" | "mind";
3517
+ userType: "brain" | "mind" | "puppet";
3656
3518
  role: "owner" | "member";
3657
3519
  displayName?: string | null | undefined;
3658
3520
  description?: string | null | undefined;
@@ -3799,7 +3661,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3799
3661
  error: string;
3800
3662
  };
3801
3663
  outputFormat: "json";
3802
- status: 400;
3664
+ status: 401;
3803
3665
  } | {
3804
3666
  input: {
3805
3667
  json: {
@@ -3930,7 +3792,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3930
3792
  error: string;
3931
3793
  };
3932
3794
  outputFormat: "json";
3933
- status: 400;
3795
+ status: 401;
3934
3796
  } | {
3935
3797
  input: {
3936
3798
  json: {
@@ -4020,7 +3882,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4020
3882
  error: string;
4021
3883
  };
4022
3884
  outputFormat: "json";
4023
- status: 400;
3885
+ status: 401;
4024
3886
  } | {
4025
3887
  input: {
4026
3888
  param: {
@@ -4067,7 +3929,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4067
3929
  error: string;
4068
3930
  };
4069
3931
  outputFormat: "json";
4070
- status: 400;
3932
+ status: 401;
4071
3933
  } | {
4072
3934
  input: {
4073
3935
  json: {
@@ -4127,7 +3989,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4127
3989
  error: string;
4128
3990
  };
4129
3991
  outputFormat: "json";
4130
- status: 400;
3992
+ status: 401;
4131
3993
  } | {
4132
3994
  input: {
4133
3995
  json: {
@@ -4173,6 +4035,21 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4173
4035
  } & {
4174
4036
  "/:author/:slug/comments/:id": {
4175
4037
  $delete: {
4038
+ input: {
4039
+ param: {
4040
+ id: string;
4041
+ } & {
4042
+ author: string;
4043
+ } & {
4044
+ slug: string;
4045
+ };
4046
+ };
4047
+ output: {
4048
+ error: string;
4049
+ };
4050
+ outputFormat: "json";
4051
+ status: 401;
4052
+ } | {
4176
4053
  input: {
4177
4054
  param: {
4178
4055
  id: string;
@@ -4419,7 +4296,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4419
4296
  participants: {
4420
4297
  userId: number;
4421
4298
  username: string;
4422
- userType: "brain" | "mind";
4299
+ userType: "brain" | "mind" | "puppet";
4423
4300
  role: "owner" | "member";
4424
4301
  displayName?: string | null | undefined;
4425
4302
  description?: string | null | undefined;
@@ -4676,7 +4553,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4676
4553
  output: {
4677
4554
  userId: number;
4678
4555
  username: string;
4679
- userType: "brain" | "mind";
4556
+ userType: "brain" | "mind" | "puppet";
4680
4557
  role: "owner" | "member";
4681
4558
  displayName?: string | null | undefined;
4682
4559
  description?: string | null | undefined;
@@ -4757,6 +4634,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4757
4634
  media_type: string;
4758
4635
  data: string;
4759
4636
  }[] | undefined;
4637
+ files?: {
4638
+ filename: string;
4639
+ data: string;
4640
+ }[] | undefined;
4760
4641
  };
4761
4642
  };
4762
4643
  output: {
@@ -4773,6 +4654,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4773
4654
  media_type: string;
4774
4655
  data: string;
4775
4656
  }[] | undefined;
4657
+ files?: {
4658
+ filename: string;
4659
+ data: string;
4660
+ }[] | undefined;
4776
4661
  };
4777
4662
  };
4778
4663
  output: {
@@ -4789,6 +4674,30 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4789
4674
  media_type: string;
4790
4675
  data: string;
4791
4676
  }[] | undefined;
4677
+ files?: {
4678
+ filename: string;
4679
+ data: string;
4680
+ }[] | undefined;
4681
+ };
4682
+ };
4683
+ output: {
4684
+ error: string;
4685
+ };
4686
+ outputFormat: "json";
4687
+ status: 413;
4688
+ } | {
4689
+ input: {
4690
+ json: {
4691
+ conversationId: string;
4692
+ message?: string | undefined;
4693
+ images?: {
4694
+ media_type: string;
4695
+ data: string;
4696
+ }[] | undefined;
4697
+ files?: {
4698
+ filename: string;
4699
+ data: string;
4700
+ }[] | undefined;
4792
4701
  };
4793
4702
  };
4794
4703
  output: {
@@ -4800,6 +4709,308 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4800
4709
  };
4801
4710
  };
4802
4711
  }, "/api/volute"> | hono_types.MergeSchemaPath<{
4712
+ "/:platform/inbound": {
4713
+ $post: {
4714
+ input: {
4715
+ json: {
4716
+ content: ({
4717
+ type: "text";
4718
+ text: string;
4719
+ } | {
4720
+ type: "image";
4721
+ media_type: string;
4722
+ data: string;
4723
+ })[];
4724
+ platformUserId: string;
4725
+ displayName: string;
4726
+ externalChannel: string;
4727
+ isDM: boolean;
4728
+ targetMind?: string | undefined;
4729
+ };
4730
+ } & {
4731
+ param: {
4732
+ platform: string;
4733
+ };
4734
+ };
4735
+ output: {
4736
+ error: string;
4737
+ };
4738
+ outputFormat: "json";
4739
+ status: 403;
4740
+ } | {
4741
+ input: {
4742
+ json: {
4743
+ content: ({
4744
+ type: "text";
4745
+ text: string;
4746
+ } | {
4747
+ type: "image";
4748
+ media_type: string;
4749
+ data: string;
4750
+ })[];
4751
+ platformUserId: string;
4752
+ displayName: string;
4753
+ externalChannel: string;
4754
+ isDM: boolean;
4755
+ targetMind?: string | undefined;
4756
+ };
4757
+ } & {
4758
+ param: {
4759
+ platform: string;
4760
+ };
4761
+ };
4762
+ output: {
4763
+ error: string;
4764
+ };
4765
+ outputFormat: "json";
4766
+ status: 400;
4767
+ } | {
4768
+ input: {
4769
+ json: {
4770
+ content: ({
4771
+ type: "text";
4772
+ text: string;
4773
+ } | {
4774
+ type: "image";
4775
+ media_type: string;
4776
+ data: string;
4777
+ })[];
4778
+ platformUserId: string;
4779
+ displayName: string;
4780
+ externalChannel: string;
4781
+ isDM: boolean;
4782
+ targetMind?: string | undefined;
4783
+ };
4784
+ } & {
4785
+ param: {
4786
+ platform: string;
4787
+ };
4788
+ };
4789
+ output: {
4790
+ error: string;
4791
+ };
4792
+ outputFormat: "json";
4793
+ status: 404;
4794
+ } | {
4795
+ input: {
4796
+ json: {
4797
+ content: ({
4798
+ type: "text";
4799
+ text: string;
4800
+ } | {
4801
+ type: "image";
4802
+ media_type: string;
4803
+ data: string;
4804
+ })[];
4805
+ platformUserId: string;
4806
+ displayName: string;
4807
+ externalChannel: string;
4808
+ isDM: boolean;
4809
+ targetMind?: string | undefined;
4810
+ };
4811
+ } & {
4812
+ param: {
4813
+ platform: string;
4814
+ };
4815
+ };
4816
+ output: {
4817
+ ok: true;
4818
+ conversationId: string;
4819
+ };
4820
+ outputFormat: "json";
4821
+ status: hono_utils_http_status.ContentfulStatusCode;
4822
+ } | {
4823
+ input: {
4824
+ json: {
4825
+ content: ({
4826
+ type: "text";
4827
+ text: string;
4828
+ } | {
4829
+ type: "image";
4830
+ media_type: string;
4831
+ data: string;
4832
+ })[];
4833
+ platformUserId: string;
4834
+ displayName: string;
4835
+ externalChannel: string;
4836
+ isDM: boolean;
4837
+ targetMind?: string | undefined;
4838
+ };
4839
+ } & {
4840
+ param: {
4841
+ platform: string;
4842
+ };
4843
+ };
4844
+ output: {
4845
+ ok: true;
4846
+ unmapped: true;
4847
+ };
4848
+ outputFormat: "json";
4849
+ status: hono_utils_http_status.ContentfulStatusCode;
4850
+ };
4851
+ };
4852
+ } & {
4853
+ "/": {
4854
+ $get: {
4855
+ input: {};
4856
+ output: {
4857
+ platform: string;
4858
+ displayName: string;
4859
+ enabled: boolean;
4860
+ running: boolean;
4861
+ defaultMind: string;
4862
+ channelMappings: {
4863
+ [x: string]: string;
4864
+ };
4865
+ }[];
4866
+ outputFormat: "json";
4867
+ status: hono_utils_http_status.ContentfulStatusCode;
4868
+ };
4869
+ };
4870
+ } & {
4871
+ "/:platform": {
4872
+ $post: {
4873
+ input: {
4874
+ json: {
4875
+ defaultMind: string;
4876
+ };
4877
+ } & {
4878
+ param: {
4879
+ platform: string;
4880
+ };
4881
+ };
4882
+ output: {
4883
+ error: string;
4884
+ };
4885
+ outputFormat: "json";
4886
+ status: 400;
4887
+ } | {
4888
+ input: {
4889
+ json: {
4890
+ defaultMind: string;
4891
+ };
4892
+ } & {
4893
+ param: {
4894
+ platform: string;
4895
+ };
4896
+ };
4897
+ output: {
4898
+ error: string;
4899
+ };
4900
+ outputFormat: "json";
4901
+ status: 500;
4902
+ } | {
4903
+ input: {
4904
+ json: {
4905
+ defaultMind: string;
4906
+ };
4907
+ } & {
4908
+ param: {
4909
+ platform: string;
4910
+ };
4911
+ };
4912
+ output: {
4913
+ ok: true;
4914
+ };
4915
+ outputFormat: "json";
4916
+ status: hono_utils_http_status.ContentfulStatusCode;
4917
+ };
4918
+ };
4919
+ } & {
4920
+ "/:platform": {
4921
+ $delete: {
4922
+ input: {
4923
+ param: {
4924
+ platform: string;
4925
+ };
4926
+ };
4927
+ output: {
4928
+ ok: true;
4929
+ };
4930
+ outputFormat: "json";
4931
+ status: hono_utils_http_status.ContentfulStatusCode;
4932
+ };
4933
+ };
4934
+ } & {
4935
+ "/:platform/mappings": {
4936
+ $put: {
4937
+ input: {
4938
+ json: {
4939
+ externalChannel: string;
4940
+ voluteChannel: string;
4941
+ };
4942
+ } & {
4943
+ param: {
4944
+ platform: string;
4945
+ };
4946
+ };
4947
+ output: {
4948
+ ok: true;
4949
+ };
4950
+ outputFormat: "json";
4951
+ status: hono_utils_http_status.ContentfulStatusCode;
4952
+ } | {
4953
+ input: {
4954
+ json: {
4955
+ externalChannel: string;
4956
+ voluteChannel: string;
4957
+ };
4958
+ } & {
4959
+ param: {
4960
+ platform: string;
4961
+ };
4962
+ };
4963
+ output: {
4964
+ error: string;
4965
+ };
4966
+ outputFormat: "json";
4967
+ status: 400;
4968
+ };
4969
+ };
4970
+ } & {
4971
+ "/:platform/mappings/:channel": {
4972
+ $delete: {
4973
+ input: {
4974
+ param: {
4975
+ platform: string;
4976
+ } & {
4977
+ channel: string;
4978
+ };
4979
+ };
4980
+ output: {
4981
+ ok: true;
4982
+ };
4983
+ outputFormat: "json";
4984
+ status: hono_utils_http_status.ContentfulStatusCode;
4985
+ };
4986
+ };
4987
+ } & {
4988
+ "/:platform/mappings": {
4989
+ $get: {
4990
+ input: {
4991
+ param: {
4992
+ platform: string;
4993
+ };
4994
+ };
4995
+ output: {
4996
+ error: string;
4997
+ };
4998
+ outputFormat: "json";
4999
+ status: 404;
5000
+ } | {
5001
+ input: {
5002
+ param: {
5003
+ platform: string;
5004
+ };
5005
+ };
5006
+ output: {
5007
+ [x: string]: string;
5008
+ };
5009
+ outputFormat: "json";
5010
+ status: hono_utils_http_status.ContentfulStatusCode;
5011
+ };
5012
+ };
5013
+ }, "/api/bridges"> | hono_types.MergeSchemaPath<{
4803
5014
  "/": {
4804
5015
  $get: {
4805
5016
  input: {};
@@ -4816,7 +5027,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4816
5027
  participants: {
4817
5028
  userId: number;
4818
5029
  username: string;
4819
- userType: "brain" | "mind";
5030
+ userType: "brain" | "mind" | "puppet";
4820
5031
  role: "owner" | "member";
4821
5032
  displayName?: string | null | undefined;
4822
5033
  description?: string | null | undefined;
@@ -4904,7 +5115,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4904
5115
  output: {
4905
5116
  userId: number;
4906
5117
  username: string;
4907
- userType: "brain" | "mind";
5118
+ userType: "brain" | "mind" | "puppet";
4908
5119
  role: "owner" | "member";
4909
5120
  displayName?: string | null | undefined;
4910
5121
  description?: string | null | undefined;