volute 0.26.0 → 0.27.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 (127) hide show
  1. package/README.md +13 -13
  2. package/dist/{activity-events-ZMBAKLUF.js → activity-events-BBIEA2F4.js} +2 -3
  3. package/dist/api.d.ts +363 -168
  4. package/dist/{archive-4ZQYK5MN.js → archive-UA4BDFXQ.js} +2 -2
  5. package/dist/{auth-4TV573WE.js → auth-D3OT2ARB.js} +3 -3
  6. package/dist/bridge-FQHZL3MC.js +206 -0
  7. package/dist/chat-MHJ3L6JQ.js +58 -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-USNBKHYG.js → chunk-4WXYUOAK.js} +4 -6
  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-LX22GRG7.js → chunk-GIE6CSN5.js} +11 -8
  14. package/dist/{chunk-WBHMQ5OZ.js → chunk-H7OZRFJB.js} +192 -12
  15. package/dist/{chunk-ON3FF5JA.js → chunk-HDN7MNGD.js} +3 -3
  16. package/dist/chunk-IAYBDWVG.js +477 -0
  17. package/dist/{chunk-TZKJLDQN.js → chunk-IKRVFPWU.js} +14 -9
  18. package/dist/{chunk-WGOGUMPO.js → chunk-JGFVMROS.js} +13 -6
  19. package/dist/{chunk-3TV4GLFO.js → chunk-JKOWNZ4P.js} +3 -3
  20. package/dist/{chunk-NWI2425I.js → chunk-K5NAC55T.js} +1 -1
  21. package/dist/{chunk-HFCBO2GL.js → chunk-KDGS53OS.js} +4 -4
  22. package/dist/chunk-KTLFDYPT.js +61 -0
  23. package/dist/{chunk-V63B7DX3.js → chunk-LAC664WU.js} +7 -4
  24. package/dist/{chunk-3CFRE2VC.js → chunk-OQZH4PBB.js} +337 -1061
  25. package/dist/{chunk-2VO7453N.js → chunk-PHSAT7YL.js} +30 -54
  26. package/dist/{chunk-XOXLRRR2.js → chunk-RKQEHRBB.js} +4 -3
  27. package/dist/chunk-T6HKBWXZ.js +23 -0
  28. package/dist/{chunk-UTL75LP6.js → chunk-USUXRNVD.js} +22 -22
  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 +31 -36
  32. package/dist/{cloud-sync-NI2K3C7G.js → cloud-sync-T7M3ESC3.js} +15 -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-M2QTYMEG.js} +7 -7
  41. package/dist/daemon.js +1758 -1024
  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/{file-HUDKTRAS.js → file-CR36YUPD.js} +4 -4
  48. package/dist/{history-B64GTFTD.js → history-XKRTAFS2.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/{log-PBFNILJ4.js → log-ABYNVYJ3.js} +4 -4
  53. package/dist/{login-B5E7N7MY.js → login-3QZNR2DF.js} +4 -4
  54. package/dist/{login-6U7U6BNG.js → login-XX37I52P.js} +2 -2
  55. package/dist/{logout-XSJRYS3U.js → logout-T53VKCPU.js} +4 -4
  56. package/dist/{logout-UKD5LA37.js → logout-W4KOOBIT.js} +2 -2
  57. package/dist/{logs-3CART7O7.js → logs-U35JR2KE.js} +5 -5
  58. package/dist/{merge-VK2HSKMA.js → merge-LNSMSAOF.js} +4 -4
  59. package/dist/message-delivery-LDXLGERA.js +25 -0
  60. package/dist/migrate-registry-to-db-XC7T5B7P.js +110 -0
  61. package/dist/{mind-HZ3QSDDJ.js → mind-DI33C74K.js} +25 -25
  62. package/dist/{mind-activity-tracker-4G6FURY2.js → mind-activity-tracker-EN6XNXPF.js} +3 -4
  63. package/dist/mind-manager-M6EMUW5I.js +18 -0
  64. package/dist/{mind-sleep-DTV7L44D.js → mind-sleep-BTSWQNAC.js} +4 -4
  65. package/dist/{mind-wake-PFN4FN3T.js → mind-wake-SBAKIDVP.js} +4 -4
  66. package/dist/{notes-37FW2UR2.js → notes-XCER3I7M.js} +11 -21
  67. package/dist/{package-VZWLXPHV.js → package-7WY6VKU3.js} +1 -1
  68. package/dist/{pages-DIIT5HMQ.js → pages-6EBS6CBR.js} +2 -2
  69. package/dist/{publish-HQV7YREB.js → publish-66UB2ZFY.js} +5 -5
  70. package/dist/{pull-2MB4SK3C.js → pull-XCHJTM5M.js} +4 -4
  71. package/dist/read-36UFXN3G.js +46 -0
  72. package/dist/{register-EFND67FQ.js → register-6B2CXTYM.js} +2 -2
  73. package/dist/{registry-D2BSQ2X5.js → registry-NDNOOYG4.js} +15 -9
  74. package/dist/{restart-CCK7D6TV.js → restart-6ESL3NBO.js} +5 -5
  75. package/dist/{sandbox-EHGFF52K.js → sandbox-TGBX22DS.js} +3 -3
  76. package/dist/{schedule-6F7ELB2M.js → schedule-QTJMFATP.js} +5 -5
  77. package/dist/{seed-E5OQGWX3.js → seed-SSUCYYDF.js} +2 -2
  78. package/dist/{send-IH6XZKPC.js → send-ZNCJDSRP.js} +25 -19
  79. package/dist/{service-LLBV3R7M.js → service-6LIN3F3K.js} +4 -4
  80. package/dist/{setup-F6TWFYGQ.js → setup-JG4QAEBV.js} +12 -12
  81. package/dist/{setup-YGAAIKKZ.js → setup-JHL5ZEST.js} +2 -2
  82. package/dist/{shared-UMO4S7CC.js → shared-ML5I4Q2A.js} +4 -4
  83. package/dist/{skill-42LGFBQC.js → skill-AUAQTSP5.js} +5 -5
  84. package/dist/skills/dreaming/references/INSTALL.md +2 -2
  85. package/dist/skills/orientation/SKILL.md +3 -3
  86. package/dist/skills/volute-mind/SKILL.md +32 -30
  87. package/dist/sleep-manager-MWYHM5HV.js +29 -0
  88. package/dist/split-TKJ5OT3P.js +63 -0
  89. package/dist/{sprout-QL74KR2X.js → sprout-IJVVKSJ2.js} +6 -7
  90. package/dist/{start-O5JQASRC.js → start-EUJSS5R4.js} +2 -2
  91. package/dist/{status-FZBEBM7Q.js → status-77YEPHMW.js} +5 -5
  92. package/dist/{status-WXD4HXRL.js → status-7GA4SM4Y.js} +4 -4
  93. package/dist/{status-LV34BG6G.js → status-THLOBLWG.js} +2 -2
  94. package/dist/{stop-2SOG5NYF.js → stop-3XAITBBF.js} +5 -5
  95. package/dist/{tailscale-AJ4VL5XK.js → tailscale-NY5MUMY3.js} +1 -1
  96. package/dist/up-NKSMXBWR.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-5Z4MNR6M.js} +26 -30
  102. package/dist/web-assets/assets/index-CI5wgghI.css +1 -0
  103. package/dist/web-assets/assets/index-is5CvJWH.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/startup.ts +2 -2
  112. package/dist/channel-ZVZV42UD.js +0 -260
  113. package/dist/chunk-B2CPS4QU.js +0 -283
  114. package/dist/chunk-SIAG3QMM.js +0 -42
  115. package/dist/chunk-WSLPZF72.js +0 -173
  116. package/dist/connector-G722WXAU.js +0 -147
  117. package/dist/connectors/discord.js +0 -177
  118. package/dist/connectors/slack.js +0 -181
  119. package/dist/connectors/telegram.js +0 -187
  120. package/dist/down-7UKFMJJZ.js +0 -14
  121. package/dist/message-delivery-MS5JYPZX.js +0 -25
  122. package/dist/mind-manager-VVK67AY3.js +0 -19
  123. package/dist/sleep-manager-EE4NRN2Q.js +0 -29
  124. package/dist/up-SDMCSVI3.js +0 -17
  125. package/dist/variant-WWLDY6D5.js +0 -207
  126. package/dist/web-assets/assets/index-CUQ31ieL.js +0 -69
  127. package/dist/web-assets/assets/index-CW8NSl1o.css +0 -1
package/dist/api.d.ts CHANGED
@@ -758,6 +758,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
758
758
  stage?: "seed" | "sprouted" | undefined;
759
759
  template?: string | undefined;
760
760
  templateHash?: string | undefined;
761
+ parent?: string | undefined;
762
+ dir?: string | undefined;
763
+ branch?: string | undefined;
761
764
  }[];
762
765
  outputFormat: "json";
763
766
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -768,14 +771,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
768
771
  $get: {
769
772
  input: {};
770
773
  output: {
771
- name: string;
772
- label: string;
773
- pages: {
774
- file: string;
775
- modified: string;
776
- url: string;
777
- }[];
778
- }[];
774
+ then: never;
775
+ catch: never;
776
+ finally: never;
777
+ };
779
778
  outputFormat: "json";
780
779
  status: hono_utils_http_status.ContentfulStatusCode;
781
780
  };
@@ -785,11 +784,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
785
784
  $get: {
786
785
  input: {};
787
786
  output: {
788
- mind: string;
789
- file: string;
790
- modified: string;
791
- url: string;
792
- }[];
787
+ then: never;
788
+ catch: never;
789
+ finally: never;
790
+ };
793
791
  outputFormat: "json";
794
792
  status: hono_utils_http_status.ContentfulStatusCode;
795
793
  };
@@ -837,6 +835,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
837
835
  stage?: "seed" | "sprouted" | undefined;
838
836
  template?: string | undefined;
839
837
  templateHash?: string | undefined;
838
+ parent?: string | undefined;
839
+ dir?: string | undefined;
840
+ branch?: string | undefined;
840
841
  };
841
842
  outputFormat: "json";
842
843
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -1763,146 +1764,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1763
1764
  status: hono_utils_http_status.StatusCode;
1764
1765
  };
1765
1766
  };
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
- output: {
1818
- error: string;
1819
- };
1820
- outputFormat: "json";
1821
- status: 404;
1822
- } | {
1823
- input: {
1824
- param: {
1825
- name: string;
1826
- } & {
1827
- type: string;
1828
- };
1829
- };
1830
- output: {
1831
- error: string;
1832
- };
1833
- outputFormat: "json";
1834
- status: 403;
1835
- } | {
1836
- input: {
1837
- param: {
1838
- name: string;
1839
- } & {
1840
- type: string;
1841
- };
1842
- };
1843
- output: {
1844
- ok: true;
1845
- };
1846
- outputFormat: "json";
1847
- 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
- };
1862
- };
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
- } | {
1879
- input: {
1880
- param: {
1881
- name: string;
1882
- } & {
1883
- type: string;
1884
- };
1885
- };
1886
- output: {
1887
- error: string;
1888
- };
1889
- outputFormat: "json";
1890
- status: 404;
1891
- } | {
1892
- input: {
1893
- param: {
1894
- name: string;
1895
- } & {
1896
- type: string;
1897
- };
1898
- };
1899
- output: {
1900
- ok: true;
1901
- };
1902
- outputFormat: "json";
1903
- status: hono_utils_http_status.ContentfulStatusCode;
1904
- };
1905
- };
1906
1767
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
1907
1768
  "/:name/schedules": {
1908
1769
  $get: {
@@ -2217,11 +2078,15 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2217
2078
  output: {
2218
2079
  status: string;
2219
2080
  name: string;
2220
- branch: string;
2221
- path: string;
2222
2081
  port: number;
2223
2082
  created: string;
2224
- running?: boolean | undefined;
2083
+ running: boolean;
2084
+ stage?: "seed" | "sprouted" | undefined;
2085
+ template?: string | undefined;
2086
+ templateHash?: string | undefined;
2087
+ parent?: string | undefined;
2088
+ dir?: string | undefined;
2089
+ branch?: string | undefined;
2225
2090
  }[];
2226
2091
  outputFormat: "json";
2227
2092
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -2330,7 +2195,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2330
2195
  error: string;
2331
2196
  };
2332
2197
  outputFormat: "json";
2333
- status: 400;
2198
+ status: 500;
2334
2199
  } | {
2335
2200
  input: {
2336
2201
  param: {
@@ -2343,7 +2208,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2343
2208
  error: string;
2344
2209
  };
2345
2210
  outputFormat: "json";
2346
- status: 500;
2211
+ status: 400;
2347
2212
  } | {
2348
2213
  input: {
2349
2214
  param: {
@@ -2375,6 +2240,19 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2375
2240
  };
2376
2241
  outputFormat: "json";
2377
2242
  status: 404;
2243
+ } | {
2244
+ input: {
2245
+ param: {
2246
+ name: string;
2247
+ } & {
2248
+ variant: string;
2249
+ };
2250
+ };
2251
+ output: {
2252
+ error: string;
2253
+ };
2254
+ outputFormat: "json";
2255
+ status: 500;
2378
2256
  } | {
2379
2257
  input: {
2380
2258
  param: {
@@ -3652,7 +3530,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3652
3530
  output: {
3653
3531
  userId: number;
3654
3532
  username: string;
3655
- userType: "brain" | "mind";
3533
+ userType: "brain" | "mind" | "puppet";
3656
3534
  role: "owner" | "member";
3657
3535
  displayName?: string | null | undefined;
3658
3536
  description?: string | null | undefined;
@@ -3799,7 +3677,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3799
3677
  error: string;
3800
3678
  };
3801
3679
  outputFormat: "json";
3802
- status: 400;
3680
+ status: 401;
3803
3681
  } | {
3804
3682
  input: {
3805
3683
  json: {
@@ -3930,7 +3808,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3930
3808
  error: string;
3931
3809
  };
3932
3810
  outputFormat: "json";
3933
- status: 400;
3811
+ status: 401;
3934
3812
  } | {
3935
3813
  input: {
3936
3814
  json: {
@@ -4020,7 +3898,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4020
3898
  error: string;
4021
3899
  };
4022
3900
  outputFormat: "json";
4023
- status: 400;
3901
+ status: 401;
4024
3902
  } | {
4025
3903
  input: {
4026
3904
  param: {
@@ -4067,7 +3945,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4067
3945
  error: string;
4068
3946
  };
4069
3947
  outputFormat: "json";
4070
- status: 400;
3948
+ status: 401;
4071
3949
  } | {
4072
3950
  input: {
4073
3951
  json: {
@@ -4127,7 +4005,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4127
4005
  error: string;
4128
4006
  };
4129
4007
  outputFormat: "json";
4130
- status: 400;
4008
+ status: 401;
4131
4009
  } | {
4132
4010
  input: {
4133
4011
  json: {
@@ -4173,6 +4051,21 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4173
4051
  } & {
4174
4052
  "/:author/:slug/comments/:id": {
4175
4053
  $delete: {
4054
+ input: {
4055
+ param: {
4056
+ id: string;
4057
+ } & {
4058
+ author: string;
4059
+ } & {
4060
+ slug: string;
4061
+ };
4062
+ };
4063
+ output: {
4064
+ error: string;
4065
+ };
4066
+ outputFormat: "json";
4067
+ status: 401;
4068
+ } | {
4176
4069
  input: {
4177
4070
  param: {
4178
4071
  id: string;
@@ -4419,7 +4312,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4419
4312
  participants: {
4420
4313
  userId: number;
4421
4314
  username: string;
4422
- userType: "brain" | "mind";
4315
+ userType: "brain" | "mind" | "puppet";
4423
4316
  role: "owner" | "member";
4424
4317
  displayName?: string | null | undefined;
4425
4318
  description?: string | null | undefined;
@@ -4676,7 +4569,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4676
4569
  output: {
4677
4570
  userId: number;
4678
4571
  username: string;
4679
- userType: "brain" | "mind";
4572
+ userType: "brain" | "mind" | "puppet";
4680
4573
  role: "owner" | "member";
4681
4574
  displayName?: string | null | undefined;
4682
4575
  description?: string | null | undefined;
@@ -4800,6 +4693,308 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4800
4693
  };
4801
4694
  };
4802
4695
  }, "/api/volute"> | hono_types.MergeSchemaPath<{
4696
+ "/:platform/inbound": {
4697
+ $post: {
4698
+ input: {
4699
+ json: {
4700
+ content: ({
4701
+ type: "text";
4702
+ text: string;
4703
+ } | {
4704
+ type: "image";
4705
+ media_type: string;
4706
+ data: string;
4707
+ })[];
4708
+ platformUserId: string;
4709
+ displayName: string;
4710
+ externalChannel: string;
4711
+ isDM: boolean;
4712
+ targetMind?: string | undefined;
4713
+ };
4714
+ } & {
4715
+ param: {
4716
+ platform: string;
4717
+ };
4718
+ };
4719
+ output: {
4720
+ error: string;
4721
+ };
4722
+ outputFormat: "json";
4723
+ status: 403;
4724
+ } | {
4725
+ input: {
4726
+ json: {
4727
+ content: ({
4728
+ type: "text";
4729
+ text: string;
4730
+ } | {
4731
+ type: "image";
4732
+ media_type: string;
4733
+ data: string;
4734
+ })[];
4735
+ platformUserId: string;
4736
+ displayName: string;
4737
+ externalChannel: string;
4738
+ isDM: boolean;
4739
+ targetMind?: string | undefined;
4740
+ };
4741
+ } & {
4742
+ param: {
4743
+ platform: string;
4744
+ };
4745
+ };
4746
+ output: {
4747
+ error: string;
4748
+ };
4749
+ outputFormat: "json";
4750
+ status: 400;
4751
+ } | {
4752
+ input: {
4753
+ json: {
4754
+ content: ({
4755
+ type: "text";
4756
+ text: string;
4757
+ } | {
4758
+ type: "image";
4759
+ media_type: string;
4760
+ data: string;
4761
+ })[];
4762
+ platformUserId: string;
4763
+ displayName: string;
4764
+ externalChannel: string;
4765
+ isDM: boolean;
4766
+ targetMind?: string | undefined;
4767
+ };
4768
+ } & {
4769
+ param: {
4770
+ platform: string;
4771
+ };
4772
+ };
4773
+ output: {
4774
+ error: string;
4775
+ };
4776
+ outputFormat: "json";
4777
+ status: 404;
4778
+ } | {
4779
+ input: {
4780
+ json: {
4781
+ content: ({
4782
+ type: "text";
4783
+ text: string;
4784
+ } | {
4785
+ type: "image";
4786
+ media_type: string;
4787
+ data: string;
4788
+ })[];
4789
+ platformUserId: string;
4790
+ displayName: string;
4791
+ externalChannel: string;
4792
+ isDM: boolean;
4793
+ targetMind?: string | undefined;
4794
+ };
4795
+ } & {
4796
+ param: {
4797
+ platform: string;
4798
+ };
4799
+ };
4800
+ output: {
4801
+ ok: true;
4802
+ conversationId: string;
4803
+ };
4804
+ outputFormat: "json";
4805
+ status: hono_utils_http_status.ContentfulStatusCode;
4806
+ } | {
4807
+ input: {
4808
+ json: {
4809
+ content: ({
4810
+ type: "text";
4811
+ text: string;
4812
+ } | {
4813
+ type: "image";
4814
+ media_type: string;
4815
+ data: string;
4816
+ })[];
4817
+ platformUserId: string;
4818
+ displayName: string;
4819
+ externalChannel: string;
4820
+ isDM: boolean;
4821
+ targetMind?: string | undefined;
4822
+ };
4823
+ } & {
4824
+ param: {
4825
+ platform: string;
4826
+ };
4827
+ };
4828
+ output: {
4829
+ ok: true;
4830
+ unmapped: true;
4831
+ };
4832
+ outputFormat: "json";
4833
+ status: hono_utils_http_status.ContentfulStatusCode;
4834
+ };
4835
+ };
4836
+ } & {
4837
+ "/": {
4838
+ $get: {
4839
+ input: {};
4840
+ output: {
4841
+ platform: string;
4842
+ displayName: string;
4843
+ enabled: boolean;
4844
+ running: boolean;
4845
+ defaultMind: string;
4846
+ channelMappings: {
4847
+ [x: string]: string;
4848
+ };
4849
+ }[];
4850
+ outputFormat: "json";
4851
+ status: hono_utils_http_status.ContentfulStatusCode;
4852
+ };
4853
+ };
4854
+ } & {
4855
+ "/:platform": {
4856
+ $post: {
4857
+ input: {
4858
+ json: {
4859
+ defaultMind: string;
4860
+ };
4861
+ } & {
4862
+ param: {
4863
+ platform: string;
4864
+ };
4865
+ };
4866
+ output: {
4867
+ error: string;
4868
+ };
4869
+ outputFormat: "json";
4870
+ status: 400;
4871
+ } | {
4872
+ input: {
4873
+ json: {
4874
+ defaultMind: string;
4875
+ };
4876
+ } & {
4877
+ param: {
4878
+ platform: string;
4879
+ };
4880
+ };
4881
+ output: {
4882
+ error: string;
4883
+ };
4884
+ outputFormat: "json";
4885
+ status: 500;
4886
+ } | {
4887
+ input: {
4888
+ json: {
4889
+ defaultMind: string;
4890
+ };
4891
+ } & {
4892
+ param: {
4893
+ platform: string;
4894
+ };
4895
+ };
4896
+ output: {
4897
+ ok: true;
4898
+ };
4899
+ outputFormat: "json";
4900
+ status: hono_utils_http_status.ContentfulStatusCode;
4901
+ };
4902
+ };
4903
+ } & {
4904
+ "/:platform": {
4905
+ $delete: {
4906
+ input: {
4907
+ param: {
4908
+ platform: string;
4909
+ };
4910
+ };
4911
+ output: {
4912
+ ok: true;
4913
+ };
4914
+ outputFormat: "json";
4915
+ status: hono_utils_http_status.ContentfulStatusCode;
4916
+ };
4917
+ };
4918
+ } & {
4919
+ "/:platform/mappings": {
4920
+ $put: {
4921
+ input: {
4922
+ json: {
4923
+ externalChannel: string;
4924
+ voluteChannel: string;
4925
+ };
4926
+ } & {
4927
+ param: {
4928
+ platform: string;
4929
+ };
4930
+ };
4931
+ output: {
4932
+ ok: true;
4933
+ };
4934
+ outputFormat: "json";
4935
+ status: hono_utils_http_status.ContentfulStatusCode;
4936
+ } | {
4937
+ input: {
4938
+ json: {
4939
+ externalChannel: string;
4940
+ voluteChannel: string;
4941
+ };
4942
+ } & {
4943
+ param: {
4944
+ platform: string;
4945
+ };
4946
+ };
4947
+ output: {
4948
+ error: string;
4949
+ };
4950
+ outputFormat: "json";
4951
+ status: 400;
4952
+ };
4953
+ };
4954
+ } & {
4955
+ "/:platform/mappings/:channel": {
4956
+ $delete: {
4957
+ input: {
4958
+ param: {
4959
+ platform: string;
4960
+ } & {
4961
+ channel: string;
4962
+ };
4963
+ };
4964
+ output: {
4965
+ ok: true;
4966
+ };
4967
+ outputFormat: "json";
4968
+ status: hono_utils_http_status.ContentfulStatusCode;
4969
+ };
4970
+ };
4971
+ } & {
4972
+ "/:platform/mappings": {
4973
+ $get: {
4974
+ input: {
4975
+ param: {
4976
+ platform: string;
4977
+ };
4978
+ };
4979
+ output: {
4980
+ error: string;
4981
+ };
4982
+ outputFormat: "json";
4983
+ status: 404;
4984
+ } | {
4985
+ input: {
4986
+ param: {
4987
+ platform: string;
4988
+ };
4989
+ };
4990
+ output: {
4991
+ [x: string]: string;
4992
+ };
4993
+ outputFormat: "json";
4994
+ status: hono_utils_http_status.ContentfulStatusCode;
4995
+ };
4996
+ };
4997
+ }, "/api/bridges"> | hono_types.MergeSchemaPath<{
4803
4998
  "/": {
4804
4999
  $get: {
4805
5000
  input: {};
@@ -4816,7 +5011,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4816
5011
  participants: {
4817
5012
  userId: number;
4818
5013
  username: string;
4819
- userType: "brain" | "mind";
5014
+ userType: "brain" | "mind" | "puppet";
4820
5015
  role: "owner" | "member";
4821
5016
  displayName?: string | null | undefined;
4822
5017
  description?: string | null | undefined;
@@ -4904,7 +5099,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4904
5099
  output: {
4905
5100
  userId: number;
4906
5101
  username: string;
4907
- userType: "brain" | "mind";
5102
+ userType: "brain" | "mind" | "puppet";
4908
5103
  role: "owner" | "member";
4909
5104
  displayName?: string | null | undefined;
4910
5105
  description?: string | null | undefined;
@@ -5,8 +5,8 @@ import {
5
5
  extractArchive,
6
6
  isHomeOnlyArchive,
7
7
  readManifest
8
- } from "./chunk-KTJGZ7M7.js";
9
- import "./chunk-B2CPS4QU.js";
8
+ } from "./chunk-XBLSAVJF.js";
9
+ import "./chunk-H7OZRFJB.js";
10
10
  import "./chunk-K3NQKI34.js";
11
11
  export {
12
12
  addHistoryToArchive,
@@ -6,13 +6,13 @@ async function run(args) {
6
6
  const subcommand = args[0];
7
7
  switch (subcommand) {
8
8
  case "register":
9
- await import("./register-EFND67FQ.js").then((m) => m.run(args.slice(1)));
9
+ await import("./register-6B2CXTYM.js").then((m) => m.run(args.slice(1)));
10
10
  break;
11
11
  case "login":
12
- await import("./login-6U7U6BNG.js").then((m) => m.run(args.slice(1)));
12
+ await import("./login-XX37I52P.js").then((m) => m.run(args.slice(1)));
13
13
  break;
14
14
  case "logout":
15
- await import("./logout-UKD5LA37.js").then((m) => m.run());
15
+ await import("./logout-W4KOOBIT.js").then((m) => m.run());
16
16
  break;
17
17
  case "--help":
18
18
  case "-h":