volute 0.30.1 → 0.32.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 (227) hide show
  1. package/README.md +15 -22
  2. package/dist/{accept-E3PAH3QJ.js → accept-74M7I4RZ.js} +5 -4
  3. package/dist/{activity-events-BKBPPUBP.js → activity-events-HETAODOK.js} +3 -2
  4. package/dist/{ai-service-VAJT5UBS.js → ai-service-ZIPCV3MX.js} +20 -5
  5. package/dist/api.d.ts +341 -397
  6. package/dist/{archive-WWDBWYN2.js → archive-INXYFVCW.js} +3 -2
  7. package/dist/auth-6DMGES3I.js +44 -0
  8. package/dist/{bridge-RO37CUFM.js → bridge-BVCBTGPF.js} +5 -4
  9. package/dist/{chat-TCUNPFGO.js → chat-XT4OBJBU.js} +8 -8
  10. package/dist/{chunk-P7VFDSSG.js → chunk-2FLJ63GU.js} +2 -2
  11. package/dist/{chunk-ZWKTUQEL.js → chunk-2NGTS5UU.js} +1 -1
  12. package/dist/{chunk-JGFRDMR6.js → chunk-ALEF47VT.js} +1 -1
  13. package/dist/{chunk-MDPCSXZ4.js → chunk-D5G5YOPL.js} +163 -15
  14. package/dist/{chunk-VGWJSNHS.js → chunk-G53F3JA4.js} +1 -35
  15. package/dist/{chunk-A6TUJJ3L.js → chunk-G6BSYHPK.js} +2 -2
  16. package/dist/{chunk-DTC6EH5I.js → chunk-I5KY25PQ.js} +1 -9
  17. package/dist/{chunk-NSBFETWP.js → chunk-IYDIE3HG.js} +64 -26
  18. package/dist/{chunk-W5OOPLNP.js → chunk-JJ7W6WSB.js} +3 -3
  19. package/dist/{chunk-G3GBKZGG.js → chunk-LGB6JBHI.js} +54 -2
  20. package/dist/chunk-LRCG2JLP.js +251 -0
  21. package/dist/{chunk-FXHXHI2A.js → chunk-LSGWR54X.js} +3 -6
  22. package/dist/{chunk-S5LR3XYJ.js → chunk-M7UL5S3Q.js} +1 -1
  23. package/dist/chunk-PB65JZK2.js +85 -0
  24. package/dist/chunk-PVY5W6QN.js +41 -0
  25. package/dist/{chunk-QVAQ5454.js → chunk-QBQ424EM.js} +3007 -2126
  26. package/dist/{chunk-P27RV5WM.js → chunk-QZANELPX.js} +6 -2
  27. package/dist/{chunk-FSM45XD5.js → chunk-R7E6CRVQ.js} +1 -1
  28. package/dist/{chunk-HHTXM4JT.js → chunk-RPZZSXV3.js} +39 -195
  29. package/dist/{chunk-UPA6COHU.js → chunk-RSX4OPZY.js} +5 -5
  30. package/dist/{chunk-2C2VXEBB.js → chunk-S6NFERDC.js} +21 -57
  31. package/dist/chunk-SKLSMHXO.js +208 -0
  32. package/dist/{chunk-IKHDUZRH.js → chunk-SX5TKJBZ.js} +2 -2
  33. package/dist/chunk-TDRYEPH4.js +185 -0
  34. package/dist/chunk-TSXLLQZW.js +46 -0
  35. package/dist/{chunk-EFVHR7KH.js → chunk-UKVWJRKN.js} +24 -5
  36. package/dist/{chunk-2NDZC3S7.js → chunk-WKF5FEFK.js} +688 -389
  37. package/dist/cli.js +93 -24
  38. package/dist/{clock-G3ALCMLJ.js → clock-2UOZ6JPU.js} +11 -8
  39. package/dist/{cloud-sync-JV4LJOK3.js → cloud-sync-JN3NWKEM.js} +16 -14
  40. package/dist/config-H2H4UIF7.js +72 -0
  41. package/dist/connectors/discord-bridge.js +1 -1
  42. package/dist/connectors/slack-bridge.js +1 -1
  43. package/dist/connectors/telegram-bridge.js +1 -1
  44. package/dist/{conversations-7KVQV7EZ.js → conversations-3O5O6AS3.js} +8 -7
  45. package/dist/{create-JTLS7GX3.js → create-RNLNCORE.js} +5 -4
  46. package/dist/{create-VQSQHJQW.js → create-WBBYI6V7.js} +6 -2
  47. package/dist/daemon-client-6QXHZ7US.js +12 -0
  48. package/dist/{daemon-restart-4JGBHEJ4.js → daemon-restart-NGFHFAUF.js} +7 -7
  49. package/dist/daemon.js +2446 -1999
  50. package/dist/{db-HMFPIRO2.js → db-F34YLV7D.js} +2 -1
  51. package/dist/db-RA45JBFG.js +16 -0
  52. package/dist/{delete-JESHKE7F.js → delete-QTGWEDBI.js} +1 -1
  53. package/dist/delivery-manager-SDVXFD4W.js +28 -0
  54. package/dist/delivery-router-FL45JL7N.js +21 -0
  55. package/dist/down-TB3ESMNP.js +14 -0
  56. package/dist/{env-CLXXT7M2.js → env-RLYQBOOP.js} +5 -4
  57. package/dist/{export-EGA5M5PB.js → export-SUYRLI5Q.js} +4 -3
  58. package/dist/{extension-WZ4SUPJB.js → extension-FQ5D3NCC.js} +6 -6
  59. package/dist/{extensions-ECO4RPFQ.js → extensions-GDYWQXC4.js} +9 -7
  60. package/dist/{files-4VEJDASH.js → files-EAMPO2SJ.js} +6 -5
  61. package/dist/{history-EJMMLXDO.js → history-FO5PHBQ5.js} +9 -4
  62. package/dist/{import-YCGPMBSI.js → import-DDUFE7AY.js} +4 -3
  63. package/dist/{join-2GBJKZEN.js → join-I5QEE3LG.js} +1 -1
  64. package/dist/{list-Q6O7FGAN.js → list-DW2VRTOZ.js} +5 -4
  65. package/dist/{login-RL6AU2SM.js → login-7CHPW2PN.js} +5 -4
  66. package/dist/{login-RET5WESK.js → login-RIJF2F4G.js} +3 -2
  67. package/dist/{logout-CGAGJN3L.js → logout-5MLHZALK.js} +3 -2
  68. package/dist/{logout-JRPBEMMR.js → logout-UZJRGY4Z.js} +3 -2
  69. package/dist/message-delivery-2FIM7QKO.js +32 -0
  70. package/dist/{mind-LUWRQUQ5.js → mind-2B6M7Y25.js} +18 -18
  71. package/dist/{mind-activity-tracker-VYN2ZZ2M.js → mind-activity-tracker-NZZT2NTT.js} +4 -3
  72. package/dist/{mind-list-V5WW5DUA.js → mind-list-WUPMQDYQ.js} +3 -2
  73. package/dist/mind-manager-BNCMGYXW.js +28 -0
  74. package/dist/mind-service-AV273WT4.js +34 -0
  75. package/dist/{mind-sleep-R6PTNNW4.js → mind-sleep-B7BHJLH7.js} +5 -4
  76. package/dist/{mind-status-I4ISFJ6I.js → mind-status-L3EFFRPR.js} +3 -2
  77. package/dist/{mind-wake-67ZQEWAV.js → mind-wake-GY3RFX7Y.js} +5 -4
  78. package/dist/{package-OYUD4ZJ4.js → package-PK6JUFL3.js} +3 -3
  79. package/dist/read-5AMJRO3D.js +75 -0
  80. package/dist/{register-NZDSTLP3.js → register-V2JZZKFK.js} +5 -4
  81. package/dist/{registry-ODSALQQL.js → registry-PJ4S5PHQ.js} +8 -1
  82. package/dist/{reject-2HZOJEIJ.js → reject-33HEZMZ4.js} +5 -4
  83. package/dist/{restart-QHS3NT64.js → restart-3UCMRUVC.js} +5 -4
  84. package/dist/{sandbox-O5FUSF43.js → sandbox-JANNTX6U.js} +4 -3
  85. package/dist/schema-PA3M5ZKH.js +32 -0
  86. package/dist/seed-ALUQ55FF.js +112 -0
  87. package/dist/{send-OAN3RYYY.js → send-3MI36LEF.js} +58 -69
  88. package/dist/{setup-QMDK5RZX.js → setup-SZIARWI6.js} +5 -4
  89. package/dist/{setup-XJH3E7YM.js → setup-WENLVPVP.js} +9 -9
  90. package/dist/{skill-FZIN4W4Q.js → skill-TUVOTW4Z.js} +5 -4
  91. package/dist/skills/dreaming/SKILL.md +6 -4
  92. package/dist/skills/dreaming/references/INSTALL.md +4 -5
  93. package/dist/skills/dreaming/scripts/dream.ts +5 -27
  94. package/dist/skills/dreaming/scripts/wake-context-dreams.sh +1 -1
  95. package/dist/skills/imagegen/SKILL.md +6 -5
  96. package/dist/skills/imagegen/references/INSTALL.md +1 -1
  97. package/dist/skills/resonance/SKILL.md +4 -1
  98. package/dist/skills/resonance/references/INSTALL.md +2 -2
  99. package/dist/skills/resonance/scripts/resonance-hook.sh +2 -0
  100. package/dist/skills/resonance/scripts/resonance.ts +35 -5
  101. package/dist/skills/volute-admin/SKILL.md +83 -0
  102. package/dist/skills/volute-mind/SKILL.md +12 -12
  103. package/dist/skills-XNZK6P4K.js +61 -0
  104. package/dist/sleep-manager-53DZOWW7.js +32 -0
  105. package/dist/spirit-N4W4UQRH.js +217 -0
  106. package/dist/{split-EXYGGGQN.js → split-STOROBYJ.js} +1 -1
  107. package/dist/{sprout-AXQ6H5DB.js → sprout-L2GFOVF7.js} +9 -8
  108. package/dist/{start-MTOVL6SY.js → start-K2NCUUCG.js} +5 -4
  109. package/dist/{status-ZRO37MWR.js → status-TCUMUO6M.js} +5 -5
  110. package/dist/{stop-OK5WEPVC.js → stop-H26JZDXF.js} +5 -4
  111. package/dist/system-chat-NPYFYZVI.js +32 -0
  112. package/dist/{systems-W3BBMSOZ.js → systems-DHBKVYEY.js} +6 -5
  113. package/dist/{tailscale-BM72RXCJ.js → tailscale-XHQBZROW.js} +2 -1
  114. package/dist/{template-hash-3HOR4UAJ.js → template-hash-A6VVKOXJ.js} +2 -1
  115. package/dist/up-6I6BHRTO.js +17 -0
  116. package/dist/{update-PLPHMMZ2.js → update-QVPRF6GR.js} +5 -5
  117. package/dist/{update-check-CVCN7MF6.js → update-check-ZD6OOIYQ.js} +3 -2
  118. package/dist/{upgrade-I6NPCYUU.js → upgrade-O4Q7WJM3.js} +12 -14
  119. package/dist/{version-notify-2NTWVEHL.js → version-notify-TCKWBZZG.js} +22 -23
  120. package/dist/web-assets/assets/index-Bui7U9Uu.css +1 -0
  121. package/dist/web-assets/assets/index-e36DIo1b.js +73 -0
  122. package/dist/web-assets/ext-theme.css +94 -0
  123. package/dist/web-assets/index.html +2 -2
  124. package/drizzle/0000_baseline.sql +152 -0
  125. package/drizzle/0001_add_conversation_private.sql +1 -0
  126. package/drizzle/0002_turns.sql +21 -0
  127. package/drizzle/0003_turn_feed_links.sql +11 -0
  128. package/drizzle/0004_spirits.sql +5 -0
  129. package/drizzle/meta/0000_snapshot.json +3 -223
  130. package/drizzle/meta/0001_snapshot.json +3 -294
  131. package/drizzle/meta/0002_snapshot.json +3 -335
  132. package/drizzle/meta/0003_snapshot.json +3 -413
  133. package/drizzle/meta/0004_snapshot.json +3 -406
  134. package/drizzle/meta/_journal.json +10 -101
  135. package/package.json +3 -3
  136. package/packages/extensions/notes/dist/ui/assets/index-8jWEv9SA.js +61 -0
  137. package/packages/extensions/notes/dist/ui/assets/index-DkaB7Ytd.css +1 -0
  138. package/packages/extensions/notes/dist/ui/index.html +2 -2
  139. package/packages/extensions/notes/skills/notes/SKILL.md +8 -8
  140. package/packages/extensions/pages/skills/pages/SKILL.md +17 -44
  141. package/templates/_base/.init/.config/hooks/pre-prompt/session-activity.ts +40 -0
  142. package/templates/_base/.init/.local/bin/volute +27 -0
  143. package/templates/_base/.init/.local/hooks/pre-prompt/session-activity.ts +40 -0
  144. package/templates/_base/.init/.local/hooks/startup-context.ts +58 -0
  145. package/templates/_base/home/.config/routes.json +1 -1
  146. package/templates/_base/src/lib/auto-commit.ts +82 -43
  147. package/templates/_base/src/lib/daemon-client.ts +40 -36
  148. package/templates/_base/src/lib/format-prefix.ts +1 -0
  149. package/templates/_base/src/lib/hook-loader.ts +155 -0
  150. package/templates/_base/src/lib/router.ts +17 -1
  151. package/templates/_base/src/lib/startup.ts +17 -12
  152. package/templates/_base/src/lib/transparency.ts +2 -2
  153. package/templates/_base/src/lib/volute-server.ts +2 -5
  154. package/templates/claude/.init/.claude/settings.json +1 -1
  155. package/templates/claude/.init/.config/routes.json +2 -2
  156. package/templates/claude/src/agent.ts +97 -14
  157. package/templates/claude/src/lib/hooks/auto-commit.ts +7 -3
  158. package/templates/claude/src/lib/message-channel.ts +7 -2
  159. package/templates/claude/src/server.ts +0 -9
  160. package/templates/codex/.init/.config/routes.json +11 -0
  161. package/templates/codex/.init/AGENTS.md +29 -0
  162. package/templates/codex/home/.config/config.json.tmpl +7 -0
  163. package/templates/codex/package.json.tmpl +20 -0
  164. package/templates/codex/src/agent.ts +553 -0
  165. package/templates/codex/src/lib/content.ts +16 -0
  166. package/templates/codex/src/lib/session-store.ts +56 -0
  167. package/templates/codex/src/server.ts +59 -0
  168. package/templates/codex/volute-template.json +8 -0
  169. package/templates/pi/.init/.config/routes.json +2 -2
  170. package/templates/pi/package.json.tmpl +1 -1
  171. package/templates/pi/src/agent.ts +63 -9
  172. package/templates/pi/src/lib/event-handler.ts +6 -4
  173. package/templates/pi/src/lib/reply-instructions-extension.ts +32 -11
  174. package/dist/chunk-7D47T4RB.js +0 -84
  175. package/dist/chunk-CVH6Y2YG.js +0 -59
  176. package/dist/chunk-EFP3PE6C.js +0 -232
  177. package/dist/chunk-LIRWLNAK.js +0 -729
  178. package/dist/daemon-client-BCTFGVCZ.js +0 -9
  179. package/dist/down-NGBMGORS.js +0 -14
  180. package/dist/message-delivery-6YMVNOEC.js +0 -28
  181. package/dist/migrate-registry-to-db-FK35IPEH.js +0 -110
  182. package/dist/mind-manager-YFCOIAAX.js +0 -18
  183. package/dist/pages-watcher-Z3PKNROC.js +0 -21
  184. package/dist/read-WQMPTSN2.js +0 -46
  185. package/dist/seed-WUQMPLDM.js +0 -71
  186. package/dist/skills/sessions/SKILL.md +0 -49
  187. package/dist/sleep-manager-O7YQFCV5.js +0 -30
  188. package/dist/up-BXUAIDXB.js +0 -17
  189. package/dist/web-assets/assets/index--kREqKl9.js +0 -72
  190. package/dist/web-assets/assets/index-BXYTG0nJ.css +0 -1
  191. package/drizzle/0000_flaky_mariko_yashida.sql +0 -34
  192. package/drizzle/0001_careless_warpath.sql +0 -12
  193. package/drizzle/0002_wealthy_the_call.sql +0 -6
  194. package/drizzle/0003_clean_ego.sql +0 -12
  195. package/drizzle/0004_magical_silverclaw.sql +0 -1
  196. package/drizzle/0005_rename_agents_to_minds.sql +0 -11
  197. package/drizzle/0006_mind_history.sql +0 -20
  198. package/drizzle/0007_system_prompts.sql +0 -5
  199. package/drizzle/0008_volute_channels.sql +0 -24
  200. package/drizzle/0009_shared_skills.sql +0 -9
  201. package/drizzle/0010_delivery_queue.sql +0 -12
  202. package/drizzle/0011_rename_human_to_brain.sql +0 -1
  203. package/drizzle/0012_activity.sql +0 -11
  204. package/drizzle/0013_user_profiles.sql +0 -3
  205. package/drizzle/0014_conversation_reads.sql +0 -7
  206. package/drizzle/0015_notes.sql +0 -23
  207. package/drizzle/0016_note_reactions_and_replies.sql +0 -15
  208. package/drizzle/0017_minds.sql +0 -16
  209. package/drizzle/meta/0005_snapshot.json +0 -410
  210. package/drizzle/meta/0006_snapshot.json +0 -7
  211. package/drizzle/meta/0007_snapshot.json +0 -7
  212. package/drizzle/meta/0008_snapshot.json +0 -7
  213. package/drizzle/meta/0009_snapshot.json +0 -7
  214. package/drizzle/meta/0010_snapshot.json +0 -7
  215. package/drizzle/meta/0011_snapshot.json +0 -7
  216. package/drizzle/meta/0012_snapshot.json +0 -7
  217. package/drizzle/meta/0013_snapshot.json +0 -7
  218. package/packages/extensions/notes/dist/ui/assets/index-DgawVO5g.css +0 -1
  219. package/packages/extensions/notes/dist/ui/assets/index-qUWoeC4c.js +0 -2
  220. package/packages/extensions/notes/skills/notes/scripts/notes.mjs +0 -185
  221. package/templates/_base/.init/.config/hooks/startup-context.sh +0 -46
  222. package/templates/_base/.init/.config/scripts/session-reader.ts +0 -59
  223. package/templates/_base/home/public/.gitkeep +0 -0
  224. package/templates/_base/src/lib/session-monitor.ts +0 -400
  225. package/templates/claude/src/lib/hooks/session-context.ts +0 -32
  226. package/templates/pi/src/lib/session-context-extension.ts +0 -35
  227. /package/templates/_base/.init/{.config → .local}/hooks/wake-context.sh +0 -0
package/dist/api.d.ts CHANGED
@@ -6,6 +6,8 @@ import * as hono_types from 'hono/types';
6
6
 
7
7
  type PromptCategory = "creation" | "system" | "mind";
8
8
 
9
+ type MindType = "mind" | "spirit";
10
+
9
11
  declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.BlankSchema | hono_types.MergeSchemaPath<{
10
12
  "/events": {
11
13
  $get: {
@@ -66,7 +68,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
66
68
  output: {
67
69
  id: number;
68
70
  username: string;
69
- role: "pending" | "user" | "admin";
71
+ role: "system" | "pending" | "user" | "admin";
70
72
  };
71
73
  outputFormat: "json";
72
74
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -96,7 +98,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
96
98
  output: {
97
99
  id: number;
98
100
  username: string;
99
- role: "pending" | "user" | "admin";
101
+ role: "system" | "pending" | "user" | "admin";
100
102
  sessionId: string;
101
103
  };
102
104
  outputFormat: "json";
@@ -128,7 +130,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
128
130
  output: {
129
131
  id: number;
130
132
  username: string;
131
- role: "pending" | "user" | "admin";
133
+ role: "system" | "pending" | "user" | "admin";
132
134
  display_name: string | null;
133
135
  description: string | null;
134
136
  avatar: string | null;
@@ -186,8 +188,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
186
188
  output: {
187
189
  id: number;
188
190
  username: string;
189
- role: "admin" | "user" | "pending";
190
- user_type: "brain" | "mind";
191
+ role: "admin" | "user" | "pending" | "system";
192
+ user_type: "brain" | "mind" | "system";
191
193
  display_name: string | null;
192
194
  description: string | null;
193
195
  avatar: string | null;
@@ -204,8 +206,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
204
206
  output: {
205
207
  id: number;
206
208
  username: string;
207
- role: "admin" | "user" | "pending";
208
- user_type: "brain" | "mind";
209
+ role: "admin" | "user" | "pending" | "system";
210
+ user_type: "brain" | "mind" | "system";
209
211
  display_name: string | null;
210
212
  description: string | null;
211
213
  avatar: string | null;
@@ -705,6 +707,32 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
705
707
  status: 502;
706
708
  };
707
709
  };
710
+ } & {
711
+ "/ai/key/:provider": {
712
+ $get: {
713
+ input: {
714
+ param: {
715
+ provider: string;
716
+ };
717
+ };
718
+ output: {
719
+ error: string;
720
+ };
721
+ outputFormat: "json";
722
+ status: 404;
723
+ } | {
724
+ input: {
725
+ param: {
726
+ provider: string;
727
+ };
728
+ };
729
+ output: {
730
+ key: string;
731
+ };
732
+ outputFormat: "json";
733
+ status: hono_utils_http_status.ContentfulStatusCode;
734
+ };
735
+ };
708
736
  } & {
709
737
  "/ai/providers": {
710
738
  $get: {
@@ -939,6 +967,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
939
967
  model?: string | undefined;
940
968
  seedSoul?: string | undefined;
941
969
  skills?: string[] | undefined;
970
+ createdBy?: string | undefined;
942
971
  };
943
972
  };
944
973
  output: {
@@ -956,6 +985,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
956
985
  model?: string | undefined;
957
986
  seedSoul?: string | undefined;
958
987
  skills?: string[] | undefined;
988
+ createdBy?: string | undefined;
959
989
  };
960
990
  };
961
991
  output: {
@@ -973,6 +1003,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
973
1003
  model?: string | undefined;
974
1004
  seedSoul?: string | undefined;
975
1005
  skills?: string[] | undefined;
1006
+ createdBy?: string | undefined;
976
1007
  };
977
1008
  };
978
1009
  output: {
@@ -996,6 +1027,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
996
1027
  model?: string | undefined;
997
1028
  seedSoul?: string | undefined;
998
1029
  skills?: string[] | undefined;
1030
+ createdBy?: string | undefined;
999
1031
  };
1000
1032
  };
1001
1033
  output: {
@@ -1017,7 +1049,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1017
1049
  name: string;
1018
1050
  displayName: string;
1019
1051
  status: "connected" | "disconnected";
1020
- showToolCalls: boolean;
1021
1052
  }[];
1022
1053
  displayName: string | undefined;
1023
1054
  description: string | undefined;
@@ -1032,37 +1063,13 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1032
1063
  parent?: string | undefined;
1033
1064
  dir?: string | undefined;
1034
1065
  branch?: string | undefined;
1066
+ mindType: MindType;
1067
+ createdBy?: string | undefined;
1035
1068
  }[];
1036
1069
  outputFormat: "json";
1037
1070
  status: hono_utils_http_status.ContentfulStatusCode;
1038
1071
  };
1039
1072
  };
1040
- } & {
1041
- "/pages/sites": {
1042
- $get: {
1043
- input: {};
1044
- output: {
1045
- then: never;
1046
- catch: never;
1047
- finally: never;
1048
- };
1049
- outputFormat: "json";
1050
- status: hono_utils_http_status.ContentfulStatusCode;
1051
- };
1052
- };
1053
- } & {
1054
- "/pages/recent": {
1055
- $get: {
1056
- input: {};
1057
- output: {
1058
- then: never;
1059
- catch: never;
1060
- finally: never;
1061
- };
1062
- outputFormat: "json";
1063
- status: hono_utils_http_status.ContentfulStatusCode;
1064
- };
1065
- };
1066
1073
  } & {
1067
1074
  "/:name": {
1068
1075
  $get: {
@@ -1094,7 +1101,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1094
1101
  name: string;
1095
1102
  displayName: string;
1096
1103
  status: "connected" | "disconnected";
1097
- showToolCalls: boolean;
1098
1104
  }[];
1099
1105
  displayName: string | undefined;
1100
1106
  description: string | undefined;
@@ -1109,6 +1115,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1109
1115
  parent?: string | undefined;
1110
1116
  dir?: string | undefined;
1111
1117
  branch?: string | undefined;
1118
+ mindType: MindType;
1119
+ createdBy?: string | undefined;
1112
1120
  };
1113
1121
  outputFormat: "json";
1114
1122
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -1587,65 +1595,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1587
1595
  status: hono_utils_http_status.ContentfulStatusCode;
1588
1596
  };
1589
1597
  };
1590
- } & {
1591
- "/:name/message": {
1592
- $post: {
1593
- input: {
1594
- param: {
1595
- name: string;
1596
- };
1597
- };
1598
- output: {
1599
- error: string;
1600
- };
1601
- outputFormat: "json";
1602
- status: 404;
1603
- } | {
1604
- input: {
1605
- param: {
1606
- name: string;
1607
- };
1608
- };
1609
- output: {
1610
- error: string;
1611
- };
1612
- outputFormat: "json";
1613
- status: 400;
1614
- } | {
1615
- input: {
1616
- param: {
1617
- name: string;
1618
- };
1619
- };
1620
- output: {
1621
- error: string;
1622
- };
1623
- outputFormat: "json";
1624
- status: 409;
1625
- } | {
1626
- input: {
1627
- param: {
1628
- name: string;
1629
- };
1630
- };
1631
- output: {
1632
- error: string;
1633
- };
1634
- outputFormat: "json";
1635
- status: 429;
1636
- } | {
1637
- input: {
1638
- param: {
1639
- name: string;
1640
- };
1641
- };
1642
- output: {
1643
- ok: true;
1644
- };
1645
- outputFormat: "json";
1646
- status: hono_utils_http_status.ContentfulStatusCode;
1647
- };
1648
- };
1649
1598
  } & {
1650
1599
  "/:name/conversations": {
1651
1600
  $get: {
@@ -1673,23 +1622,18 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1673
1622
  name: string | null;
1674
1623
  user_id: number | null;
1675
1624
  title: string | null;
1625
+ private: number;
1676
1626
  created_at: string;
1677
1627
  updated_at: string;
1678
1628
  participants: {
1679
1629
  userId: number;
1680
1630
  username: string;
1681
- userType: "brain" | "mind" | "puppet";
1631
+ userType: "brain" | "mind" | "puppet" | "system";
1682
1632
  role: "owner" | "member";
1683
1633
  displayName?: string | null | undefined;
1684
1634
  description?: string | null | undefined;
1685
1635
  avatar?: string | null | undefined;
1686
1636
  }[];
1687
- lastMessage?: {
1688
- role: "user" | "assistant";
1689
- senderName: string | null;
1690
- text: string;
1691
- createdAt: string;
1692
- } | undefined;
1693
1637
  }[];
1694
1638
  outputFormat: "json";
1695
1639
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -1710,6 +1654,19 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1710
1654
  };
1711
1655
  outputFormat: "json";
1712
1656
  status: 404;
1657
+ } | {
1658
+ input: {
1659
+ param: {
1660
+ name: string;
1661
+ } & {
1662
+ convId: string;
1663
+ };
1664
+ };
1665
+ output: {
1666
+ error: string;
1667
+ };
1668
+ outputFormat: "json";
1669
+ status: 403;
1713
1670
  } | {
1714
1671
  input: {
1715
1672
  param: {
@@ -2074,6 +2031,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2074
2031
  type: string;
2075
2032
  content: string | null;
2076
2033
  metadata: string | null;
2034
+ turn_id: string | null;
2077
2035
  created_at: string;
2078
2036
  }[];
2079
2037
  outputFormat: "json";
@@ -2091,6 +2049,117 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2091
2049
  status: 404;
2092
2050
  };
2093
2051
  };
2052
+ } & {
2053
+ "/:name/history/turns": {
2054
+ $get: {
2055
+ input: {
2056
+ param: {
2057
+ name: string;
2058
+ };
2059
+ };
2060
+ output: {
2061
+ id: string;
2062
+ summary: string | null;
2063
+ summary_meta: {
2064
+ [x: string]: hono_utils_types.JSONValue;
2065
+ } | null;
2066
+ status: string;
2067
+ created_at: string;
2068
+ trigger: {
2069
+ channel: string | null;
2070
+ sender: string | null;
2071
+ content: string | null;
2072
+ } | null;
2073
+ conversations: {
2074
+ id: string;
2075
+ label: string;
2076
+ type: "dm" | "channel";
2077
+ messages: {
2078
+ id: number;
2079
+ role: string;
2080
+ sender_name: string | null;
2081
+ content: hono_utils_types.JSONValue[];
2082
+ source_event_id: number | null;
2083
+ created_at: string;
2084
+ }[];
2085
+ }[];
2086
+ activities: {
2087
+ id: number;
2088
+ type: string;
2089
+ summary: string;
2090
+ metadata: {
2091
+ [x: string]: hono_utils_types.JSONValue;
2092
+ } | null;
2093
+ source_event_id: number | null;
2094
+ created_at: string;
2095
+ }[];
2096
+ }[];
2097
+ outputFormat: "json";
2098
+ status: hono_utils_http_status.ContentfulStatusCode;
2099
+ };
2100
+ };
2101
+ } & {
2102
+ "/:name/history/turn": {
2103
+ $get: {
2104
+ input: {
2105
+ param: {
2106
+ name: string;
2107
+ };
2108
+ };
2109
+ output: {
2110
+ id: number;
2111
+ mind: string;
2112
+ channel: string | null;
2113
+ session: string | null;
2114
+ sender: string | null;
2115
+ message_id: string | null;
2116
+ type: string;
2117
+ content: string | null;
2118
+ metadata: string | null;
2119
+ turn_id: string | null;
2120
+ created_at: string;
2121
+ }[];
2122
+ outputFormat: "json";
2123
+ status: hono_utils_http_status.ContentfulStatusCode;
2124
+ } | {
2125
+ input: {
2126
+ param: {
2127
+ name: string;
2128
+ };
2129
+ };
2130
+ output: {
2131
+ error: string;
2132
+ };
2133
+ outputFormat: "json";
2134
+ status: 400;
2135
+ };
2136
+ };
2137
+ } & {
2138
+ "/:name/history/cross-session": {
2139
+ $get: {
2140
+ input: {
2141
+ param: {
2142
+ name: string;
2143
+ };
2144
+ };
2145
+ output: {
2146
+ context: null;
2147
+ };
2148
+ outputFormat: "json";
2149
+ status: hono_utils_http_status.ContentfulStatusCode;
2150
+ } | {
2151
+ input: {
2152
+ param: {
2153
+ name: string;
2154
+ };
2155
+ };
2156
+ output: {
2157
+ context: string;
2158
+ };
2159
+ outputFormat: "json";
2160
+ status: hono_utils_http_status.ContentfulStatusCode;
2161
+ };
2162
+ };
2094
2163
  } & {
2095
2164
  "/:name/history": {
2096
2165
  $get: {
@@ -2109,6 +2178,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2109
2178
  type: string;
2110
2179
  content: string | null;
2111
2180
  metadata: string | null;
2181
+ turn_id: string | null;
2112
2182
  created_at: string;
2113
2183
  }[];
2114
2184
  outputFormat: "json";
@@ -2288,8 +2358,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2288
2358
  script?: string | undefined;
2289
2359
  enabled: boolean;
2290
2360
  whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
2291
- skipWhenSleeping?: boolean | undefined;
2292
2361
  channel?: string | undefined;
2362
+ session?: string | undefined;
2293
2363
  }[];
2294
2364
  upcoming: {
2295
2365
  id: string;
@@ -2328,8 +2398,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2328
2398
  script?: string | undefined;
2329
2399
  enabled: boolean;
2330
2400
  whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
2331
- skipWhenSleeping?: boolean | undefined;
2332
2401
  channel?: string | undefined;
2402
+ session?: string | undefined;
2333
2403
  }[];
2334
2404
  outputFormat: "json";
2335
2405
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -2492,10 +2562,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2492
2562
  };
2493
2563
  };
2494
2564
  output: {
2495
- error: string;
2565
+ ok: true;
2496
2566
  };
2497
2567
  outputFormat: "json";
2498
- status: 502;
2568
+ status: hono_utils_http_status.ContentfulStatusCode;
2499
2569
  } | {
2500
2570
  input: {
2501
2571
  param: {
@@ -2505,10 +2575,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2505
2575
  };
2506
2576
  };
2507
2577
  output: {
2508
- ok: true;
2578
+ error: string;
2509
2579
  };
2510
2580
  outputFormat: "json";
2511
- status: hono_utils_http_status.ContentfulStatusCode;
2581
+ status: 502;
2512
2582
  };
2513
2583
  };
2514
2584
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
@@ -2532,20 +2602,20 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2532
2602
  name: string;
2533
2603
  };
2534
2604
  };
2535
- output: string;
2536
- outputFormat: "text";
2537
- status: hono_utils_http_status.ContentfulStatusCode;
2605
+ output: {
2606
+ error: string;
2607
+ };
2608
+ outputFormat: "json";
2609
+ status: 404;
2538
2610
  } | {
2539
2611
  input: {
2540
2612
  param: {
2541
2613
  name: string;
2542
2614
  };
2543
2615
  };
2544
- output: {
2545
- error: string;
2546
- };
2547
- outputFormat: "json";
2548
- status: 404;
2616
+ output: string;
2617
+ outputFormat: "text";
2618
+ status: hono_utils_http_status.ContentfulStatusCode;
2549
2619
  };
2550
2620
  };
2551
2621
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
@@ -2626,6 +2696,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
2626
2696
  parent?: string | undefined;
2627
2697
  dir?: string | undefined;
2628
2698
  branch?: string | undefined;
2699
+ mindType: MindType;
2700
+ createdBy?: string | undefined;
2629
2701
  }[];
2630
2702
  outputFormat: "json";
2631
2703
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -3090,9 +3162,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3090
3162
  status: 500;
3091
3163
  };
3092
3164
  };
3093
- } & {
3094
- "/:name/files": {
3095
- $get: {
3165
+ }, "/api/minds"> | hono_types.MergeSchemaPath<{
3166
+ "/:name/channels/create": {
3167
+ $post: {
3096
3168
  input: {
3097
3169
  param: {
3098
3170
  name: string;
@@ -3109,260 +3181,23 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3109
3181
  name: string;
3110
3182
  };
3111
3183
  };
3112
- output: string[];
3113
- outputFormat: "json";
3114
- status: hono_utils_http_status.ContentfulStatusCode;
3115
- };
3116
- };
3117
- } & {
3118
- "/:name/files/:filename": {
3119
- $get: {
3120
- input: {
3121
- param: {
3122
- filename: string;
3123
- } & {
3124
- name: string;
3125
- };
3126
- };
3127
3184
  output: {
3128
3185
  error: string;
3129
3186
  };
3130
3187
  outputFormat: "json";
3131
- status: 403;
3188
+ status: 400;
3132
3189
  } | {
3133
3190
  input: {
3134
3191
  param: {
3135
- filename: string;
3136
- } & {
3137
3192
  name: string;
3138
3193
  };
3139
3194
  };
3140
3195
  output: {
3141
- error: string;
3196
+ slug: string;
3197
+ conversationId: string;
3142
3198
  };
3143
3199
  outputFormat: "json";
3144
- status: 404;
3145
- } | {
3146
- input: {
3147
- param: {
3148
- filename: string;
3149
- } & {
3150
- name: string;
3151
- };
3152
- };
3153
- output: {
3154
- filename: string;
3155
- content: string;
3156
- };
3157
- outputFormat: "json";
3158
- status: hono_utils_http_status.ContentfulStatusCode;
3159
- };
3160
- };
3161
- }, "/api/minds"> | hono_types.MergeSchemaPath<{
3162
- "/:name/channels/send": {
3163
- $post: {
3164
- input: {
3165
- param: {
3166
- name: string;
3167
- };
3168
- };
3169
- output: {
3170
- error: string;
3171
- };
3172
- outputFormat: "json";
3173
- status: 404;
3174
- } | {
3175
- input: {
3176
- param: {
3177
- name: string;
3178
- };
3179
- };
3180
- output: {
3181
- error: string;
3182
- };
3183
- outputFormat: "json";
3184
- status: 400;
3185
- } | {
3186
- input: {
3187
- param: {
3188
- name: string;
3189
- };
3190
- };
3191
- output: {
3192
- ok: true;
3193
- };
3194
- outputFormat: "json";
3195
- status: hono_utils_http_status.ContentfulStatusCode;
3196
- } | {
3197
- input: {
3198
- param: {
3199
- name: string;
3200
- };
3201
- };
3202
- output: {
3203
- error: string;
3204
- };
3205
- outputFormat: "json";
3206
- status: 500;
3207
- };
3208
- };
3209
- } & {
3210
- "/:name/channels/read": {
3211
- $get: {
3212
- input: {
3213
- param: {
3214
- name: string;
3215
- };
3216
- };
3217
- output: {
3218
- error: string;
3219
- };
3220
- outputFormat: "json";
3221
- status: 404;
3222
- } | {
3223
- input: {
3224
- param: {
3225
- name: string;
3226
- };
3227
- };
3228
- output: {
3229
- error: string;
3230
- };
3231
- outputFormat: "json";
3232
- status: 400;
3233
- } | {
3234
- input: {
3235
- param: {
3236
- name: string;
3237
- };
3238
- };
3239
- output: string;
3240
- outputFormat: "text";
3241
- status: hono_utils_http_status.ContentfulStatusCode;
3242
- } | {
3243
- input: {
3244
- param: {
3245
- name: string;
3246
- };
3247
- };
3248
- output: {
3249
- error: string;
3250
- };
3251
- outputFormat: "json";
3252
- status: 500;
3253
- };
3254
- };
3255
- } & {
3256
- "/:name/channels/list": {
3257
- $get: {
3258
- input: {
3259
- param: {
3260
- name: string;
3261
- };
3262
- };
3263
- output: {
3264
- error: string;
3265
- };
3266
- outputFormat: "json";
3267
- status: 404;
3268
- } | {
3269
- input: {
3270
- param: {
3271
- name: string;
3272
- };
3273
- };
3274
- output: {
3275
- [x: string]: hono_utils_types.JSONValue[];
3276
- };
3277
- outputFormat: "json";
3278
- status: hono_utils_http_status.ContentfulStatusCode;
3279
- };
3280
- };
3281
- } & {
3282
- "/:name/channels/users": {
3283
- $get: {
3284
- input: {
3285
- param: {
3286
- name: string;
3287
- };
3288
- };
3289
- output: {
3290
- error: string;
3291
- };
3292
- outputFormat: "json";
3293
- status: 404;
3294
- } | {
3295
- input: {
3296
- param: {
3297
- name: string;
3298
- };
3299
- };
3300
- output: {
3301
- error: string;
3302
- };
3303
- outputFormat: "json";
3304
- status: 400;
3305
- } | {
3306
- input: {
3307
- param: {
3308
- name: string;
3309
- };
3310
- };
3311
- output: {
3312
- id: string;
3313
- username: string;
3314
- type?: string | undefined;
3315
- }[];
3316
- outputFormat: "json";
3317
- status: hono_utils_http_status.ContentfulStatusCode;
3318
- } | {
3319
- input: {
3320
- param: {
3321
- name: string;
3322
- };
3323
- };
3324
- output: {
3325
- error: string;
3326
- };
3327
- outputFormat: "json";
3328
- status: 500;
3329
- };
3330
- };
3331
- } & {
3332
- "/:name/channels/create": {
3333
- $post: {
3334
- input: {
3335
- param: {
3336
- name: string;
3337
- };
3338
- };
3339
- output: {
3340
- error: string;
3341
- };
3342
- outputFormat: "json";
3343
- status: 404;
3344
- } | {
3345
- input: {
3346
- param: {
3347
- name: string;
3348
- };
3349
- };
3350
- output: {
3351
- error: string;
3352
- };
3353
- outputFormat: "json";
3354
- status: 400;
3355
- } | {
3356
- input: {
3357
- param: {
3358
- name: string;
3359
- };
3360
- };
3361
- output: {
3362
- slug: string;
3363
- };
3364
- outputFormat: "json";
3365
- status: hono_utils_http_status.ContentfulStatusCode;
3200
+ status: hono_utils_http_status.ContentfulStatusCode;
3366
3201
  } | {
3367
3202
  input: {
3368
3203
  param: {
@@ -3813,6 +3648,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3813
3648
  name: string | null;
3814
3649
  user_id: number | null;
3815
3650
  title: string | null;
3651
+ private: number;
3816
3652
  created_at: string;
3817
3653
  updated_at: string;
3818
3654
  }[];
@@ -3859,6 +3695,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3859
3695
  name: string | null;
3860
3696
  user_id: number | null;
3861
3697
  title: string | null;
3698
+ private: number;
3862
3699
  created_at: string;
3863
3700
  updated_at: string;
3864
3701
  };
@@ -3890,28 +3727,44 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3890
3727
  };
3891
3728
  };
3892
3729
  output: {
3893
- id: number;
3894
- conversation_id: string;
3895
- role: "user" | "assistant";
3896
- sender_name: string | null;
3897
- content: ({
3898
- type: "text";
3899
- text: string;
3900
- } | {
3901
- type: "tool_use";
3730
+ error: string;
3731
+ };
3732
+ outputFormat: "json";
3733
+ status: 400;
3734
+ } | {
3735
+ input: {
3736
+ param: {
3737
+ id: string;
3738
+ } & {
3902
3739
  name: string;
3903
- input: hono_utils_types.JSONValue;
3904
- } | {
3905
- type: "tool_result";
3906
- output: string;
3907
- is_error?: boolean | undefined;
3908
- } | {
3909
- type: "image";
3910
- media_type: string;
3911
- data: string;
3912
- })[];
3913
- created_at: string;
3914
- }[];
3740
+ };
3741
+ };
3742
+ output: {
3743
+ items: {
3744
+ id: number;
3745
+ conversation_id: string;
3746
+ role: "user" | "assistant";
3747
+ sender_name: string | null;
3748
+ content: ({
3749
+ type: "text";
3750
+ text: string;
3751
+ } | {
3752
+ type: "tool_use";
3753
+ name: string;
3754
+ input: hono_utils_types.JSONValue;
3755
+ } | {
3756
+ type: "tool_result";
3757
+ output: string;
3758
+ is_error?: boolean | undefined;
3759
+ } | {
3760
+ type: "image";
3761
+ media_type: string;
3762
+ data: string;
3763
+ })[];
3764
+ created_at: string;
3765
+ }[];
3766
+ hasMore: boolean;
3767
+ };
3915
3768
  outputFormat: "json";
3916
3769
  status: hono_utils_http_status.ContentfulStatusCode;
3917
3770
  };
@@ -3942,7 +3795,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3942
3795
  output: {
3943
3796
  userId: number;
3944
3797
  username: string;
3945
- userType: "brain" | "mind" | "puppet";
3798
+ userType: "brain" | "mind" | "puppet" | "system";
3946
3799
  role: "owner" | "member";
3947
3800
  displayName?: string | null | undefined;
3948
3801
  description?: string | null | undefined;
@@ -4057,7 +3910,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4057
3910
  } | {
4058
3911
  input: {};
4059
3912
  output: {
4060
- key: "seed_soul" | "default_soul" | "default_memory" | "sprout_message" | "restart_message" | "merge_message" | "compaction_warning" | "compaction_instructions" | "reply_instructions" | "channel_invite" | "pre_sleep" | "wake_summary" | "turn_summary";
3913
+ key: "seed_soul" | "default_soul" | "default_memory" | "sprout_message" | "restart_message" | "merge_message" | "upgrade_message" | "compaction_warning" | "compaction_instructions" | "reply_instructions" | "channel_invite" | "pre_sleep" | "wake_summary" | "turn_summary";
4061
3914
  content: string;
4062
3915
  description: string;
4063
3916
  variables: string[];
@@ -4320,12 +4173,13 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4320
4173
  name: string | null;
4321
4174
  user_id: number | null;
4322
4175
  title: string | null;
4176
+ private: number;
4323
4177
  created_at: string;
4324
4178
  updated_at: string;
4325
4179
  participants: {
4326
4180
  userId: number;
4327
4181
  username: string;
4328
- userType: "brain" | "mind" | "puppet";
4182
+ userType: "brain" | "mind" | "puppet" | "system";
4329
4183
  role: "owner" | "member";
4330
4184
  displayName?: string | null | undefined;
4331
4185
  description?: string | null | undefined;
@@ -4345,6 +4199,17 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4345
4199
  } & {
4346
4200
  "/:id/messages": {
4347
4201
  $get: {
4202
+ input: {
4203
+ param: {
4204
+ id: string;
4205
+ };
4206
+ };
4207
+ output: {
4208
+ error: string;
4209
+ };
4210
+ outputFormat: "json";
4211
+ status: 404;
4212
+ } | {
4348
4213
  input: {
4349
4214
  param: {
4350
4215
  id: string;
@@ -4375,17 +4240,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4375
4240
  }[];
4376
4241
  outputFormat: "json";
4377
4242
  status: hono_utils_http_status.ContentfulStatusCode;
4378
- } | {
4379
- input: {
4380
- param: {
4381
- id: string;
4382
- };
4383
- };
4384
- output: {
4385
- error: string;
4386
- };
4387
- outputFormat: "json";
4388
- status: 404;
4389
4243
  };
4390
4244
  };
4391
4245
  } & {
@@ -4405,6 +4259,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4405
4259
  name: string | null;
4406
4260
  user_id: number | null;
4407
4261
  title: string | null;
4262
+ private: number;
4408
4263
  created_at: string;
4409
4264
  updated_at: string;
4410
4265
  };
@@ -4437,6 +4292,40 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4437
4292
  status: hono_utils_http_status.StatusCode;
4438
4293
  };
4439
4294
  };
4295
+ } & {
4296
+ "/:id/private": {
4297
+ $put: {
4298
+ input: {
4299
+ json: {
4300
+ private: boolean;
4301
+ };
4302
+ } & {
4303
+ param: {
4304
+ id: string;
4305
+ };
4306
+ };
4307
+ output: {
4308
+ error: string;
4309
+ };
4310
+ outputFormat: "json";
4311
+ status: 403;
4312
+ } | {
4313
+ input: {
4314
+ json: {
4315
+ private: boolean;
4316
+ };
4317
+ } & {
4318
+ param: {
4319
+ id: string;
4320
+ };
4321
+ };
4322
+ output: {
4323
+ ok: true;
4324
+ };
4325
+ outputFormat: "json";
4326
+ status: hono_utils_http_status.ContentfulStatusCode;
4327
+ };
4328
+ };
4440
4329
  } & {
4441
4330
  "/:id": {
4442
4331
  $delete: {
@@ -4477,6 +4366,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4477
4366
  name: string | null;
4478
4367
  user_id: number | null;
4479
4368
  title: string | null;
4369
+ private: number;
4480
4370
  created_at: string;
4481
4371
  updated_at: string;
4482
4372
  }[];
@@ -4500,6 +4390,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4500
4390
  name: string | null;
4501
4391
  user_id: number | null;
4502
4392
  title: string | null;
4393
+ private: number;
4503
4394
  created_at: string;
4504
4395
  updated_at: string;
4505
4396
  };
@@ -4518,6 +4409,50 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4518
4409
  status: 409;
4519
4410
  };
4520
4411
  };
4412
+ } & {
4413
+ "/:name": {
4414
+ $get: {
4415
+ input: {
4416
+ param: {
4417
+ name: string;
4418
+ };
4419
+ };
4420
+ output: {
4421
+ error: string;
4422
+ };
4423
+ outputFormat: "json";
4424
+ status: 404;
4425
+ } | {
4426
+ input: {
4427
+ param: {
4428
+ name: string;
4429
+ };
4430
+ };
4431
+ output: {
4432
+ participants: {
4433
+ userId: number;
4434
+ username: string;
4435
+ userType: "brain" | "mind" | "puppet" | "system";
4436
+ role: "owner" | "member";
4437
+ displayName?: string | null | undefined;
4438
+ description?: string | null | undefined;
4439
+ avatar?: string | null | undefined;
4440
+ }[];
4441
+ id: string;
4442
+ mind_name: string | null;
4443
+ channel: string;
4444
+ type: "dm" | "channel";
4445
+ name: string | null;
4446
+ user_id: number | null;
4447
+ title: string | null;
4448
+ private: number;
4449
+ created_at: string;
4450
+ updated_at: string;
4451
+ };
4452
+ outputFormat: "json";
4453
+ status: hono_utils_http_status.ContentfulStatusCode;
4454
+ };
4455
+ };
4521
4456
  } & {
4522
4457
  "/:name/join": {
4523
4458
  $post: {
@@ -4582,7 +4517,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4582
4517
  output: {
4583
4518
  userId: number;
4584
4519
  username: string;
4585
- userType: "brain" | "mind" | "puppet";
4520
+ userType: "brain" | "mind" | "puppet" | "system";
4586
4521
  role: "owner" | "member";
4587
4522
  displayName?: string | null | undefined;
4588
4523
  description?: string | null | undefined;
@@ -5048,6 +4983,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5048
4983
  name: string;
5049
4984
  version: string;
5050
4985
  description?: string | undefined;
4986
+ icon?: string | undefined;
5051
4987
  systemSection?: {
5052
4988
  id: string;
5053
4989
  label: string;
@@ -5062,6 +4998,12 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5062
4998
  endpoint: string;
5063
4999
  kind?: string | undefined;
5064
5000
  } | undefined;
5001
+ commands?: {
5002
+ [x: string]: {
5003
+ description: string;
5004
+ usage?: string | undefined;
5005
+ };
5006
+ } | undefined;
5065
5007
  }[];
5066
5008
  outputFormat: "json";
5067
5009
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -5079,12 +5021,13 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5079
5021
  name: string | null;
5080
5022
  user_id: number | null;
5081
5023
  title: string | null;
5024
+ private: number;
5082
5025
  created_at: string;
5083
5026
  updated_at: string;
5084
5027
  participants: {
5085
5028
  userId: number;
5086
5029
  username: string;
5087
- userType: "brain" | "mind" | "puppet";
5030
+ userType: "brain" | "mind" | "puppet" | "system";
5088
5031
  role: "owner" | "member";
5089
5032
  displayName?: string | null | undefined;
5090
5033
  description?: string | null | undefined;
@@ -5172,7 +5115,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5172
5115
  output: {
5173
5116
  userId: number;
5174
5117
  username: string;
5175
- userType: "brain" | "mind" | "puppet";
5118
+ userType: "brain" | "mind" | "puppet" | "system";
5176
5119
  role: "owner" | "member";
5177
5120
  displayName?: string | null | undefined;
5178
5121
  description?: string | null | undefined;
@@ -5210,6 +5153,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5210
5153
  name: string | null;
5211
5154
  user_id: number | null;
5212
5155
  title: string | null;
5156
+ private: number;
5213
5157
  created_at: string;
5214
5158
  updated_at: string;
5215
5159
  };