volute 0.40.0 → 0.40.1

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 (157) hide show
  1. package/dist/{accept-AHAOUFBK.js → accept-IVHOHXQS.js} +1 -1
  2. package/dist/{activity-events-OJZ7G5CG.js → activity-events-DS4QRWBY.js} +4 -4
  3. package/dist/{ai-service-JMV4KZN4.js → ai-service-AUWIPWLP.js} +5 -5
  4. package/dist/{api-client-LC5YRA32.js → api-client-NFM6GX2N.js} +1 -1
  5. package/dist/{archive-BC2MTNPV.js → archive-UDHFZN4G.js} +4 -4
  6. package/dist/{auth-2IMZ6N5G.js → auth-X6ZITZ7D.js} +5 -5
  7. package/dist/{bridge-F3ZJEKDN.js → bridge-MSZC4HUT.js} +1 -1
  8. package/dist/{chat-O5QCGCUG.js → chat-JD3TJINV.js} +9 -9
  9. package/dist/{chunk-MHFAWJCC.js → chunk-2HZRJ35V.js} +1 -1
  10. package/dist/{chunk-B7YJUWMM.js → chunk-3Y7UDHO7.js} +3 -3
  11. package/dist/{chunk-SGC6CDXB.js → chunk-4UMXOMZ6.js} +2 -2
  12. package/dist/{chunk-43PVCF4V.js → chunk-5EVW4KOD.js} +3 -3
  13. package/dist/{chunk-FBV22PFY.js → chunk-6SYHHEQ7.js} +1 -1
  14. package/dist/{chunk-3XSFMN3H.js → chunk-AEAZRTEV.js} +1 -1
  15. package/dist/{chunk-RMZSICLS.js → chunk-ANSTTB55.js} +1 -1
  16. package/dist/{chunk-PDSA3ILI.js → chunk-B4WPXYPI.js} +1 -1
  17. package/dist/{chunk-XUJR6NZW.js → chunk-BLAXARBZ.js} +32 -32
  18. package/dist/{chunk-2AQCEQYN.js → chunk-DNU6XLE2.js} +1 -1
  19. package/dist/{chunk-PHR4XQPL.js → chunk-E25SO3QW.js} +3 -3
  20. package/dist/{chunk-76Q6YLJL.js → chunk-I57LLNAQ.js} +1 -1
  21. package/dist/{chunk-HAJHDGBV.js → chunk-ITH5ZLZJ.js} +1 -1
  22. package/dist/{chunk-SOPMVTTW.js → chunk-JYQQDI3M.js} +2 -2
  23. package/dist/{chunk-PIRL2HAO.js → chunk-KMHC36CA.js} +1 -1
  24. package/dist/chunk-LMMQX4CK.js +49 -0
  25. package/dist/{chunk-JSITYTIL.js → chunk-LZ6CQYRO.js} +7 -7
  26. package/dist/{chunk-FRJ73IWR.js → chunk-MNUXL4XN.js} +67 -3
  27. package/dist/{chunk-PC55DGNX.js → chunk-NERYUSER.js} +1 -1
  28. package/dist/{chunk-S4YO5OWV.js → chunk-PKGA23XM.js} +1 -1
  29. package/dist/{chunk-T26YLQPU.js → chunk-QV7P3TYO.js} +5 -5
  30. package/dist/{chunk-5VBXKFPO.js → chunk-QYI65HCL.js} +2 -2
  31. package/dist/{chunk-PGX52NFO.js → chunk-S4SXBQ7F.js} +1 -1
  32. package/dist/{chunk-HEZM5GCV.js → chunk-SVXOBKQY.js} +2 -2
  33. package/dist/{chunk-PZTVQL3J.js → chunk-TOANT6FD.js} +2 -2
  34. package/dist/{chunk-DNQPHLGM.js → chunk-YHWGN4FX.js} +1 -1
  35. package/dist/{chunk-WGRMLXTH.js → chunk-YTNBO7S6.js} +8 -8
  36. package/dist/cli.js +24 -24
  37. package/dist/{clock-BMLJ2TR6.js → clock-YLDJUKBW.js} +3 -3
  38. package/dist/{cloud-sync-5JF2Z7VM.js → cloud-sync-MAQCJEFJ.js} +17 -17
  39. package/dist/{config-QB7W3Z7P.js → config-PO4EZLIK.js} +4 -4
  40. package/dist/connectors/discord-bridge.js +1 -1
  41. package/dist/connectors/slack-bridge.js +1 -1
  42. package/dist/connectors/telegram-bridge.js +1 -1
  43. package/dist/{conversations-LUVHGQSS.js → conversations-AYLXPOGC.js} +5 -5
  44. package/dist/{create-TDQM3SHV.js → create-T4UJ64WB.js} +4 -4
  45. package/dist/{create-C3BBFYV7.js → create-ZMTGINV3.js} +1 -1
  46. package/dist/{daemon-client-2MIPKY3E.js → daemon-client-H6MEKK2W.js} +1 -1
  47. package/dist/{daemon-restart-XHDJDOPQ.js → daemon-restart-LP2DR24J.js} +9 -9
  48. package/dist/daemon.js +275 -248
  49. package/dist/{db-IJL6B26S.js → db-FSYOTHSN.js} +1 -1
  50. package/dist/db-ZEPKEJJD.js +9 -0
  51. package/dist/{delete-NLXES2C7.js → delete-TXVOH2OC.js} +3 -3
  52. package/dist/delivery-manager-VNHLQTTO.js +30 -0
  53. package/dist/{delivery-router-IU4OMVKZ.js → delivery-router-T6CYTS3M.js} +4 -4
  54. package/dist/down-6DYO2QV7.js +17 -0
  55. package/dist/echo-text-QFCH3H6G.js +31 -0
  56. package/dist/{env-IQ6Q2333.js → env-77IOWG4U.js} +1 -1
  57. package/dist/exec-5DGKQ5V3.js +17 -0
  58. package/dist/{export-RKUWSQSG.js → export-TZKOCSCE.js} +6 -6
  59. package/dist/{extension-LZYHBNLV.js → extension-35NB6GHW.js} +1 -1
  60. package/dist/{extensions-VN5SEVRP.js → extensions-LQX2N7TI.js} +17 -17
  61. package/dist/{files-J2CKZ6PK.js → files-WNNVJWJB.js} +4 -4
  62. package/dist/{import-KVY6BYXG.js → import-BNNFCQ7U.js} +11 -11
  63. package/dist/{isolation-MM7YHK6J.js → isolation-4Q4P7HRV.js} +4 -4
  64. package/dist/{join-6SZCA5FX.js → join-E2EJEXZO.js} +3 -3
  65. package/dist/{list-KHJZJPEJ.js → list-BYCEDASJ.js} +1 -1
  66. package/dist/{login-GYTH67ES.js → login-JNSIYFVH.js} +1 -1
  67. package/dist/{login-OHM32QVD.js → login-Y6UAYQVO.js} +3 -3
  68. package/dist/{logout-YHQLOFLR.js → logout-M6FI62BL.js} +1 -1
  69. package/dist/{logout-74WBDMOE.js → logout-VHGWVH63.js} +3 -3
  70. package/dist/message-delivery-7BCYJLH2.js +40 -0
  71. package/dist/{mind-PUPXDIYQ.js → mind-ELPD6VBP.js} +19 -19
  72. package/dist/{mind-activity-tracker-7GE24YZE.js → mind-activity-tracker-XFRVGXFS.js} +5 -5
  73. package/dist/{mind-history-WHCNZ6I5.js → mind-history-W4JPTPTV.js} +1 -1
  74. package/dist/{mind-list-H3HC2ZRG.js → mind-list-QROHCLGT.js} +1 -1
  75. package/dist/mind-manager-EDCLALBF.js +30 -0
  76. package/dist/{mind-profile-7VYRJGFZ.js → mind-profile-3LNKXNPA.js} +2 -2
  77. package/dist/mind-service-WTOFVNLW.js +36 -0
  78. package/dist/{mind-sleep-ZL5ZXFTM.js → mind-sleep-PVCMLTAH.js} +1 -1
  79. package/dist/{mind-status-ZWULKOUO.js → mind-status-RAJFLRCN.js} +1 -1
  80. package/dist/{mind-wake-HK5ORGUK.js → mind-wake-HZUOVE7J.js} +1 -1
  81. package/dist/{package-6YPVWGD3.js → package-GO3PHHUF.js} +28 -27
  82. package/dist/{read-CP7MYMJQ.js → read-OOINVR2H.js} +1 -1
  83. package/dist/{read-stdin-4B5UYPPM.js → read-stdin-P6HCZUAA.js} +1 -1
  84. package/dist/{register-XOBFEMI4.js → register-ISOH34RF.js} +1 -1
  85. package/dist/{registry-L272BZJR.js → registry-GV35XFT7.js} +3 -3
  86. package/dist/{reject-43AGXB6B.js → reject-ZBWP62X5.js} +1 -1
  87. package/dist/{restart-O5QIYQJT.js → restart-QBJV5455.js} +1 -1
  88. package/dist/{sandbox-BQAFYHLE.js → sandbox-5R32QKWQ.js} +5 -5
  89. package/dist/scheduler-GQBDCGLU.js +30 -0
  90. package/dist/{schema-HHYJDG7B.js → schema-LYQUDL7G.js} +2 -2
  91. package/dist/{seed-4V2O7FQE.js → seed-MO2C7CWC.js} +2 -2
  92. package/dist/{seed-check-HZPVFJKZ.js → seed-check-3WXXRHTC.js} +2 -2
  93. package/dist/{seed-cmd-JKDEW4MP.js → seed-cmd-ETIF4WD6.js} +4 -4
  94. package/dist/{seed-create-EPAO3H5F.js → seed-create-BPQC2IOR.js} +6 -6
  95. package/dist/{seed-sprout-EONCL4DU.js → seed-sprout-TX72K33T.js} +11 -11
  96. package/dist/{send-232RAHPX.js → send-WO3CVG73.js} +4 -4
  97. package/dist/{service-AG5BKRUV.js → service-WMV6R6VJ.js} +6 -6
  98. package/dist/service-install-W3FQXJKB.js +17 -0
  99. package/dist/{setup-IL7QJZN4.js → setup-OTEC3ZPM.js} +4 -4
  100. package/dist/{setup-PSA7LJ5U.js → setup-ZTW4FVMQ.js} +9 -9
  101. package/dist/{skill-ICN6Y2ZF.js → skill-QHACP7EU.js} +1 -1
  102. package/dist/{skills-SLEY5X6W.js → skills-JEWMHIIE.js} +7 -7
  103. package/dist/sleep-manager-5277OBHI.js +34 -0
  104. package/dist/{spirit-7BUHSEO2.js → spirit-NVXWSVKM.js} +9 -9
  105. package/dist/{split-5YBEQTBF.js → split-7AO4IO42.js} +3 -3
  106. package/dist/{sprout-JWQ57KF3.js → sprout-NFJZKYEW.js} +2 -2
  107. package/dist/{src-OYWRPLC6.js → src-2IMB3V27.js} +1 -1
  108. package/dist/src-OS75U2O7.js +241910 -0
  109. package/dist/{src-O4PRLMKM.js → src-XNUXP2FP.js} +1 -1
  110. package/dist/{start-LMXXRR3X.js → start-2U57BBK7.js} +1 -1
  111. package/dist/{status-6GSOSYOD.js → status-BRYYYO7C.js} +7 -7
  112. package/dist/{stop-TWDKVEUX.js → stop-QILBDUAR.js} +1 -1
  113. package/dist/system-chat-LQSJVY55.js +34 -0
  114. package/dist/{systems-Y2WZV2K4.js → systems-3XTAHA35.js} +4 -4
  115. package/dist/{tailscale-6MHNLBAX.js → tailscale-X4HRKRTW.js} +3 -3
  116. package/dist/{template-hash-SSIBEEYK.js → template-hash-DMHSLRDX.js} +1 -1
  117. package/dist/up-4H7TL6WB.js +19 -0
  118. package/dist/{update-BT2PY73H.js → update-OY2JYXYK.js} +61 -14
  119. package/dist/update-check-IUB7QHAF.js +24 -0
  120. package/dist/{upgrade-RXFZR5FI.js → upgrade-25J6AE47.js} +3 -3
  121. package/dist/{variant-HHDTW74J.js → variant-5LQOPCQA.js} +1 -1
  122. package/dist/{version-notify-NFQMI5IY.js → version-notify-N37N2C4G.js} +18 -18
  123. package/dist/{volute-config-TS62GS6A.js → volute-config-7FO6QKWU.js} +1 -1
  124. package/dist/web-assets/assets/index-DaUp9iE2.js +79 -0
  125. package/dist/web-assets/index.html +1 -1
  126. package/package.json +27 -26
  127. package/packages/extensions/notes/dist/ui/assets/index-BbgANhFm.js +67 -0
  128. package/packages/extensions/notes/dist/ui/index.html +1 -1
  129. package/packages/extensions/pages/dist/ui/assets/index-Dxk-DYrf.js +2 -0
  130. package/packages/extensions/pages/dist/ui/index.html +1 -1
  131. package/packages/extensions/plan/dist/ui/assets/index-Cfzs-0G9.js +67 -0
  132. package/packages/extensions/plan/dist/ui/index.html +1 -1
  133. package/templates/claude/package.json.tmpl +5 -5
  134. package/templates/codex/package.json.tmpl +5 -5
  135. package/templates/pi/package.json.tmpl +6 -6
  136. package/templates/pi/src/agent.ts +2 -0
  137. package/templates/pi/src/lib/subagents.ts +19 -17
  138. package/dist/chunk-K3NQKI34.js +0 -10
  139. package/dist/db-2GIS7HSG.js +0 -9
  140. package/dist/delivery-manager-L5WFP2ND.js +0 -30
  141. package/dist/down-KIJVZ3OC.js +0 -17
  142. package/dist/echo-text-TJWCUBPB.js +0 -31
  143. package/dist/exec-BGMU7VXR.js +0 -17
  144. package/dist/message-delivery-VBBAJX3J.js +0 -40
  145. package/dist/mind-manager-4Q6KGZHL.js +0 -30
  146. package/dist/mind-service-7OD4PRO5.js +0 -36
  147. package/dist/scheduler-7E22Q7IC.js +0 -30
  148. package/dist/service-install-HVAEUBAH.js +0 -17
  149. package/dist/sleep-manager-27S7MKJO.js +0 -34
  150. package/dist/src-6Z4XYDH5.js +0 -2164
  151. package/dist/system-chat-EIINIHFB.js +0 -34
  152. package/dist/up-4XS3RCPP.js +0 -19
  153. package/dist/update-check-Y3HBEMF2.js +0 -18
  154. package/dist/web-assets/assets/index-Jluza4c-.js +0 -73
  155. package/packages/extensions/notes/dist/ui/assets/index-Dsua7alJ.js +0 -61
  156. package/packages/extensions/pages/dist/ui/assets/index-BM7gRdg7.js +0 -2
  157. package/packages/extensions/plan/dist/ui/assets/index-DWiqtzBv.js +0 -61
@@ -9,7 +9,7 @@ import {
9
9
  command
10
10
  } from "./chunk-TXSA4Q3V.js";
11
11
  import "./chunk-O7IGP7ZW.js";
12
- import "./chunk-K3NQKI34.js";
12
+ import "./chunk-LMMQX4CK.js";
13
13
 
14
14
  // packages/cli/src/commands/chat/accept.ts
15
15
  var cmd = command({
@@ -3,11 +3,11 @@ import {
3
3
  broadcast,
4
4
  publish,
5
5
  subscribe
6
- } from "./chunk-5VBXKFPO.js";
6
+ } from "./chunk-QYI65HCL.js";
7
7
  import "./chunk-T2TP6ZC6.js";
8
- import "./chunk-PDSA3ILI.js";
9
- import "./chunk-MHFAWJCC.js";
10
- import "./chunk-K3NQKI34.js";
8
+ import "./chunk-B4WPXYPI.js";
9
+ import "./chunk-2HZRJ35V.js";
10
+ import "./chunk-LMMQX4CK.js";
11
11
  export {
12
12
  broadcast,
13
13
  publish,
@@ -19,12 +19,12 @@ import {
19
19
  setProviderRefreshHook,
20
20
  setUtilityModel,
21
21
  unqualifyModelId
22
- } from "./chunk-PGX52NFO.js";
23
- import "./chunk-2AQCEQYN.js";
22
+ } from "./chunk-S4SXBQ7F.js";
23
+ import "./chunk-DNU6XLE2.js";
24
24
  import "./chunk-T2TP6ZC6.js";
25
- import "./chunk-PDSA3ILI.js";
26
- import "./chunk-MHFAWJCC.js";
27
- import "./chunk-K3NQKI34.js";
25
+ import "./chunk-B4WPXYPI.js";
26
+ import "./chunk-2HZRJ35V.js";
27
+ import "./chunk-LMMQX4CK.js";
28
28
  export {
29
29
  aiComplete,
30
30
  aiCompleteUtility,
@@ -3,7 +3,7 @@ import {
3
3
  getClient,
4
4
  urlOf
5
5
  } from "./chunk-LOPXTW6H.js";
6
- import "./chunk-K3NQKI34.js";
6
+ import "./chunk-LMMQX4CK.js";
7
7
  export {
8
8
  getClient,
9
9
  urlOf
@@ -5,10 +5,10 @@ import {
5
5
  extractArchive,
6
6
  isHomeOnlyArchive,
7
7
  readManifest
8
- } from "./chunk-76Q6YLJL.js";
9
- import "./chunk-PDSA3ILI.js";
10
- import "./chunk-MHFAWJCC.js";
11
- import "./chunk-K3NQKI34.js";
8
+ } from "./chunk-I57LLNAQ.js";
9
+ import "./chunk-B4WPXYPI.js";
10
+ import "./chunk-2HZRJ35V.js";
11
+ import "./chunk-LMMQX4CK.js";
12
12
  export {
13
13
  addHistoryToArchive,
14
14
  createExportArchive,
@@ -17,12 +17,12 @@ import {
17
17
  syncMindProfile,
18
18
  updateUserProfile,
19
19
  verifyUser
20
- } from "./chunk-PHR4XQPL.js";
21
- import "./chunk-5VBXKFPO.js";
20
+ } from "./chunk-E25SO3QW.js";
21
+ import "./chunk-QYI65HCL.js";
22
22
  import "./chunk-T2TP6ZC6.js";
23
- import "./chunk-PDSA3ILI.js";
24
- import "./chunk-MHFAWJCC.js";
25
- import "./chunk-K3NQKI34.js";
23
+ import "./chunk-B4WPXYPI.js";
24
+ import "./chunk-2HZRJ35V.js";
25
+ import "./chunk-LMMQX4CK.js";
26
26
  export {
27
27
  approveUser,
28
28
  changePassword,
@@ -7,7 +7,7 @@ import {
7
7
  subcommands
8
8
  } from "./chunk-TXSA4Q3V.js";
9
9
  import "./chunk-O7IGP7ZW.js";
10
- import "./chunk-K3NQKI34.js";
10
+ import "./chunk-LMMQX4CK.js";
11
11
 
12
12
  // packages/cli/src/commands/chat/bridge.ts
13
13
  var bridgeAddCmd = command({
@@ -3,7 +3,7 @@ import {
3
3
  subcommands
4
4
  } from "./chunk-TXSA4Q3V.js";
5
5
  import "./chunk-O7IGP7ZW.js";
6
- import "./chunk-K3NQKI34.js";
6
+ import "./chunk-LMMQX4CK.js";
7
7
 
8
8
  // packages/cli/src/commands/chat.ts
9
9
  var cmd = subcommands({
@@ -12,35 +12,35 @@ var cmd = subcommands({
12
12
  commands: {
13
13
  send: {
14
14
  description: "Send a message",
15
- run: (args) => import("./send-232RAHPX.js").then((m) => m.run(args))
15
+ run: (args) => import("./send-WO3CVG73.js").then((m) => m.run(args))
16
16
  },
17
17
  list: {
18
18
  description: "List conversations",
19
- run: (args) => import("./list-KHJZJPEJ.js").then((m) => m.run(args))
19
+ run: (args) => import("./list-BYCEDASJ.js").then((m) => m.run(args))
20
20
  },
21
21
  read: {
22
22
  description: "Read conversation messages",
23
- run: (args) => import("./read-CP7MYMJQ.js").then((m) => m.run(args))
23
+ run: (args) => import("./read-OOINVR2H.js").then((m) => m.run(args))
24
24
  },
25
25
  create: {
26
26
  description: "Create a conversation",
27
- run: (args) => import("./create-C3BBFYV7.js").then((m) => m.run(args))
27
+ run: (args) => import("./create-ZMTGINV3.js").then((m) => m.run(args))
28
28
  },
29
29
  bridge: {
30
30
  description: "Manage platform bridges",
31
- run: (args) => import("./bridge-F3ZJEKDN.js").then((m) => m.run(args))
31
+ run: (args) => import("./bridge-MSZC4HUT.js").then((m) => m.run(args))
32
32
  },
33
33
  files: {
34
34
  description: "List pending incoming files",
35
- run: (args) => import("./files-J2CKZ6PK.js").then((m) => m.run(args))
35
+ run: (args) => import("./files-WNNVJWJB.js").then((m) => m.run(args))
36
36
  },
37
37
  accept: {
38
38
  description: "Accept a pending file",
39
- run: (args) => import("./accept-AHAOUFBK.js").then((m) => m.run(args))
39
+ run: (args) => import("./accept-IVHOHXQS.js").then((m) => m.run(args))
40
40
  },
41
41
  reject: {
42
42
  description: "Reject a pending file",
43
- run: (args) => import("./reject-43AGXB6B.js").then((m) => m.run(args))
43
+ run: (args) => import("./reject-ZBWP62X5.js").then((m) => m.run(args))
44
44
  }
45
45
  },
46
46
  footer: "Use --mind <name> or VOLUTE_MIND to identify the mind."
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  __export
4
- } from "./chunk-K3NQKI34.js";
4
+ } from "./chunk-LMMQX4CK.js";
5
5
 
6
6
  // packages/daemon/src/lib/schema.ts
7
7
  var schema_exports = {};
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  subscribe
4
- } from "./chunk-5VBXKFPO.js";
4
+ } from "./chunk-QYI65HCL.js";
5
5
  import {
6
6
  logger_default
7
7
  } from "./chunk-T2TP6ZC6.js";
8
8
  import {
9
9
  getDb
10
- } from "./chunk-PDSA3ILI.js";
10
+ } from "./chunk-B4WPXYPI.js";
11
11
  import {
12
12
  channels,
13
13
  conversationParticipants,
@@ -15,7 +15,7 @@ import {
15
15
  conversations,
16
16
  messages,
17
17
  users
18
- } from "./chunk-MHFAWJCC.js";
18
+ } from "./chunk-2HZRJ35V.js";
19
19
 
20
20
  // packages/daemon/src/lib/events/conversations.ts
21
21
  import { randomUUID } from "crypto";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  exec,
4
4
  execInherit
5
- } from "./chunk-3XSFMN3H.js";
5
+ } from "./chunk-AEAZRTEV.js";
6
6
  import {
7
7
  voluteSystemDir
8
- } from "./chunk-PDSA3ILI.js";
8
+ } from "./chunk-B4WPXYPI.js";
9
9
 
10
10
  // packages/daemon/src/lib/config/service-mode.ts
11
11
  import { execFileSync } from "child_process";
@@ -7,14 +7,14 @@ import {
7
7
  modeLabel,
8
8
  pollHealth,
9
9
  startService
10
- } from "./chunk-SGC6CDXB.js";
10
+ } from "./chunk-4UMXOMZ6.js";
11
11
  import {
12
12
  readGlobalConfig
13
- } from "./chunk-2AQCEQYN.js";
13
+ } from "./chunk-DNU6XLE2.js";
14
14
  import {
15
15
  voluteHome,
16
16
  voluteSystemDir
17
- } from "./chunk-PDSA3ILI.js";
17
+ } from "./chunk-B4WPXYPI.js";
18
18
 
19
19
  // src/commands/up.ts
20
20
  import { spawn } from "child_process";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getBaseName,
4
4
  validateMindName
5
- } from "./chunk-PDSA3ILI.js";
5
+ } from "./chunk-B4WPXYPI.js";
6
6
 
7
7
  // packages/daemon/src/lib/mind/isolation.ts
8
8
  import { execFileSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  wrapForIsolation
4
- } from "./chunk-FBV22PFY.js";
4
+ } from "./chunk-6SYHHEQ7.js";
5
5
 
6
6
  // packages/daemon/src/lib/util/exec.ts
7
7
  import { execFile as execFileCb, execFileSync, spawn } from "child_process";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  publish
4
- } from "./chunk-5VBXKFPO.js";
4
+ } from "./chunk-QYI65HCL.js";
5
5
  import {
6
6
  logger_default
7
7
  } from "./chunk-T2TP6ZC6.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  minds,
4
4
  schema_exports
5
- } from "./chunk-MHFAWJCC.js";
5
+ } from "./chunk-2HZRJ35V.js";
6
6
 
7
7
  // packages/daemon/src/lib/db.ts
8
8
  import { chmodSync, existsSync } from "fs";
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  loadMergedEnv
4
- } from "./chunk-HAJHDGBV.js";
4
+ } from "./chunk-ITH5ZLZJ.js";
5
5
  import {
6
6
  spiritDir
7
- } from "./chunk-WGRMLXTH.js";
7
+ } from "./chunk-YTNBO7S6.js";
8
8
  import {
9
9
  hashSkillDir,
10
10
  importSkillFromDir,
11
11
  removeSharedSkill,
12
12
  sharedSkillsDir
13
- } from "./chunk-T26YLQPU.js";
13
+ } from "./chunk-QV7P3TYO.js";
14
14
  import {
15
15
  addMessage,
16
16
  createChannel,
@@ -20,7 +20,7 @@ import {
20
20
  getParticipants,
21
21
  joinChannel,
22
22
  publish as publish2
23
- } from "./chunk-B7YJUWMM.js";
23
+ } from "./chunk-3Y7UDHO7.js";
24
24
  import {
25
25
  readVoluteConfig,
26
26
  writeVoluteConfig
@@ -28,46 +28,46 @@ import {
28
28
  import {
29
29
  isSandboxEnabled,
30
30
  wrapForSandbox
31
- } from "./chunk-PIRL2HAO.js";
31
+ } from "./chunk-KMHC36CA.js";
32
32
  import {
33
33
  markIdle,
34
34
  onMindEvent
35
- } from "./chunk-RMZSICLS.js";
35
+ } from "./chunk-ANSTTB55.js";
36
36
  import {
37
37
  extractTextContent,
38
38
  getRoutingConfig,
39
39
  resolveDeliveryMode,
40
40
  resolveRoute
41
- } from "./chunk-PC55DGNX.js";
41
+ } from "./chunk-NERYUSER.js";
42
42
  import {
43
43
  exec
44
- } from "./chunk-3XSFMN3H.js";
44
+ } from "./chunk-AEAZRTEV.js";
45
45
  import {
46
46
  chownMindDir,
47
47
  isIsolationEnabled,
48
48
  mindUserName,
49
49
  wrapForIsolation
50
- } from "./chunk-FBV22PFY.js";
50
+ } from "./chunk-6SYHHEQ7.js";
51
51
  import {
52
52
  aiCompleteUtility,
53
53
  getAiConfig,
54
54
  resolveApiKey
55
- } from "./chunk-PGX52NFO.js";
55
+ } from "./chunk-S4SXBQ7F.js";
56
56
  import {
57
57
  readGlobalConfig,
58
58
  writeGlobalConfig
59
- } from "./chunk-2AQCEQYN.js";
59
+ } from "./chunk-DNU6XLE2.js";
60
60
  import {
61
61
  getOrCreateMindUser,
62
62
  getOrCreateSystemUser,
63
63
  getUser,
64
64
  getUserByUsername,
65
65
  syncMindProfile
66
- } from "./chunk-PHR4XQPL.js";
66
+ } from "./chunk-E25SO3QW.js";
67
67
  import {
68
68
  publish,
69
69
  subscribe
70
- } from "./chunk-5VBXKFPO.js";
70
+ } from "./chunk-QYI65HCL.js";
71
71
  import {
72
72
  logger_default
73
73
  } from "./chunk-T2TP6ZC6.js";
@@ -80,7 +80,7 @@ import {
80
80
  stateDir,
81
81
  voluteHome,
82
82
  voluteSystemDir
83
- } from "./chunk-PDSA3ILI.js";
83
+ } from "./chunk-B4WPXYPI.js";
84
84
  import {
85
85
  activity,
86
86
  conversationParticipants,
@@ -92,7 +92,7 @@ import {
92
92
  systemPrompts,
93
93
  turns,
94
94
  users
95
- } from "./chunk-MHFAWJCC.js";
95
+ } from "./chunk-2HZRJ35V.js";
96
96
 
97
97
  // packages/daemon/src/lib/delivery/message-delivery.ts
98
98
  import { and as and5, desc as desc2, eq as eq7, inArray as inArray3, sql as sql4 } from "drizzle-orm";
@@ -1910,7 +1910,7 @@ var MindManager = class {
1910
1910
  if (this.shuttingDown || this.stopping.has(name)) return;
1911
1911
  mlog.error(`mind ${name} exited with code ${code}`);
1912
1912
  try {
1913
- const { getSleepManagerIfReady: getSleepManagerIfReady2 } = await import("./sleep-manager-27S7MKJO.js");
1913
+ const { getSleepManagerIfReady: getSleepManagerIfReady2 } = await import("./sleep-manager-5277OBHI.js");
1914
1914
  const sleepState = getSleepManagerIfReady2()?.getState(name);
1915
1915
  if (sleepState?.sleeping) {
1916
1916
  mlog.info(`${name} is sleeping \u2014 skipping crash recovery`);
@@ -1934,15 +1934,15 @@ var MindManager = class {
1934
1934
  (err) => mlog.warn(`failed to clear turn state for ${name} after crash`, logger_default.errorData(err))
1935
1935
  );
1936
1936
  try {
1937
- const { getDeliveryManager: getDeliveryManager2 } = await import("./delivery-manager-L5WFP2ND.js");
1937
+ const { getDeliveryManager: getDeliveryManager2 } = await import("./delivery-manager-VNHLQTTO.js");
1938
1938
  getDeliveryManager2().clearMindSessions(name);
1939
1939
  } catch (err) {
1940
1940
  if (!(err instanceof Error && err.message.includes("not initialized"))) {
1941
1941
  mlog.warn(`failed to clear delivery state for ${name} after crash`, logger_default.errorData(err));
1942
1942
  }
1943
1943
  }
1944
- import("./mind-activity-tracker-7GE24YZE.js").then(({ markIdle: markIdle2 }) => markIdle2(name)).catch((err) => mlog.warn(`failed to mark ${name} idle after crash`, logger_default.errorData(err)));
1945
- import("./activity-events-OJZ7G5CG.js").then(
1944
+ import("./mind-activity-tracker-XFRVGXFS.js").then(({ markIdle: markIdle2 }) => markIdle2(name)).catch((err) => mlog.warn(`failed to mark ${name} idle after crash`, logger_default.errorData(err)));
1945
+ import("./activity-events-DS4QRWBY.js").then(
1946
1946
  ({ publish: publish4 }) => publish4({ type: "mind_stopped", mind: name, summary: `${name} crashed (exit ${code})` })
1947
1947
  ).catch((err) => mlog.warn(`failed to publish crash event for ${name}`, logger_default.errorData(err)));
1948
1948
  const { shouldRestart, delay, attempt } = this.restartTracker.recordCrash(name);
@@ -1993,7 +1993,7 @@ var MindManager = class {
1993
1993
  mlog.warn(`failed to clear turn state for ${name} on stop`, logger_default.errorData(err));
1994
1994
  }
1995
1995
  try {
1996
- const { getDeliveryManager: getDeliveryManager2 } = await import("./delivery-manager-L5WFP2ND.js");
1996
+ const { getDeliveryManager: getDeliveryManager2 } = await import("./delivery-manager-VNHLQTTO.js");
1997
1997
  getDeliveryManager2().clearMindSessions(name);
1998
1998
  } catch (err) {
1999
1999
  if (!(err instanceof Error && err.message.includes("not initialized"))) {
@@ -2001,7 +2001,7 @@ var MindManager = class {
2001
2001
  }
2002
2002
  }
2003
2003
  try {
2004
- const { clearEchoTextCache } = await import("./echo-text-TJWCUBPB.js");
2004
+ const { clearEchoTextCache } = await import("./echo-text-QFCH3H6G.js");
2005
2005
  clearEchoTextCache(name);
2006
2006
  } catch (err) {
2007
2007
  mlog.debug(`failed to clear echo-text cache for ${name}`, logger_default.errorData(err));
@@ -2484,9 +2484,9 @@ function resolveSkillsDir(manifest) {
2484
2484
  }
2485
2485
  async function discoverBuiltinExtensions(disabledIds) {
2486
2486
  const builtins = [
2487
- { id: "notes", load: async () => (await import("./src-OYWRPLC6.js")).default },
2488
- { id: "pages", load: async () => (await import("./src-6Z4XYDH5.js")).default },
2489
- { id: "plan", load: async () => (await import("./src-O4PRLMKM.js")).default }
2487
+ { id: "notes", load: async () => (await import("./src-2IMB3V27.js")).default },
2488
+ { id: "pages", load: async () => (await import("./src-OS75U2O7.js")).default },
2489
+ { id: "plan", load: async () => (await import("./src-XNUXP2FP.js")).default }
2490
2490
  ];
2491
2491
  const results = [];
2492
2492
  for (const { id, load } of builtins) {
@@ -2726,7 +2726,7 @@ async function installNpmExtension(pkg) {
2726
2726
  throw new Error(`Extension "${pkg}" is already installed`);
2727
2727
  }
2728
2728
  const dir = ensureExtensionsNpmDir();
2729
- const { exec: exec2 } = await import("./exec-BGMU7VXR.js");
2729
+ const { exec: exec2 } = await import("./exec-5DGKQ5V3.js");
2730
2730
  try {
2731
2731
  await exec2("npm", ["install", pkg], { cwd: dir });
2732
2732
  } catch (err) {
@@ -2747,7 +2747,7 @@ async function uninstallNpmExtension(pkg) {
2747
2747
  packages.splice(idx, 1);
2748
2748
  writeExtensionsConfig(packages);
2749
2749
  try {
2750
- const { exec: exec2 } = await import("./exec-BGMU7VXR.js");
2750
+ const { exec: exec2 } = await import("./exec-5DGKQ5V3.js");
2751
2751
  await exec2("npm", ["uninstall", pkg], { cwd: extensionsNpmDir() });
2752
2752
  } catch (err) {
2753
2753
  logger_default.warn(
@@ -3540,7 +3540,7 @@ async function wakeMind(name) {
3540
3540
  async function startSpiritFull(name) {
3541
3541
  const entry = await findMind(name);
3542
3542
  if (entry?.dir) {
3543
- const { registerMindDir } = await import("./delivery-router-IU4OMVKZ.js");
3543
+ const { registerMindDir } = await import("./delivery-router-T6CYTS3M.js");
3544
3544
  registerMindDir(name, entry.dir);
3545
3545
  }
3546
3546
  await getMindManager().startMind(name);
@@ -3562,8 +3562,8 @@ async function stopSpiritFull(name) {
3562
3562
  }).catch((err) => logger_default.error("failed to publish spirit_stopped activity", logger_default.errorData(err)));
3563
3563
  }
3564
3564
  async function ensureCreatorDM(mindName, creatorUsername) {
3565
- const { getOrCreateMindUser: getOrCreateMindUser2, getUserByUsername: getUserByUsername2 } = await import("./auth-2IMZ6N5G.js");
3566
- const { findDMConversation: findDMConversation2, createConversation: createConversation2 } = await import("./conversations-LUVHGQSS.js");
3565
+ const { getOrCreateMindUser: getOrCreateMindUser2, getUserByUsername: getUserByUsername2 } = await import("./auth-X6ZITZ7D.js");
3566
+ const { findDMConversation: findDMConversation2, createConversation: createConversation2 } = await import("./conversations-AYLXPOGC.js");
3567
3567
  const mindUser = await getOrCreateMindUser2(mindName);
3568
3568
  const creatorUser = await getUserByUsername2(creatorUsername);
3569
3569
  if (!creatorUser) {
@@ -3907,7 +3907,7 @@ var SleepManager = class {
3907
3907
  const db = await getDb();
3908
3908
  const rows = await db.select().from(deliveryQueue).where(and3(eq5(deliveryQueue.mind, name), eq5(deliveryQueue.status, "sleep-queued"))).all();
3909
3909
  if (rows.length === 0) return 0;
3910
- const { deliverMessage: deliverMessage2 } = await import("./message-delivery-VBBAJX3J.js");
3910
+ const { deliverMessage: deliverMessage2 } = await import("./message-delivery-7BCYJLH2.js");
3911
3911
  const delivered = [];
3912
3912
  for (const row of rows) {
3913
3913
  try {
@@ -4818,7 +4818,7 @@ var DeliveryManager = class {
4818
4818
  `To accept this channel, add a routing rule for "${channel}" to your routes.json.`,
4819
4819
  `Messages are being held until a route is configured.`
4820
4820
  ].filter((line) => line !== null).join("\n");
4821
- const { sendSystemMessage: sendSystemMessage2 } = await import("./system-chat-EIINIHFB.js");
4821
+ const { sendSystemMessage: sendSystemMessage2 } = await import("./system-chat-LQSJVY55.js");
4822
4822
  await sendSystemMessage2(mindName, notification);
4823
4823
  }
4824
4824
  async persistToQueue(mindName, session, payload, status = "pending") {
@@ -5341,7 +5341,7 @@ async function generateSystemReply(conversationId, mindName, message) {
5341
5341
  if (config.sleep.schedule?.wake) contextParts.push(`Wake cron: ${config.sleep.schedule.wake}`);
5342
5342
  }
5343
5343
  try {
5344
- const { getSleepManagerIfReady: getSleepManagerIfReady2 } = await import("./sleep-manager-27S7MKJO.js");
5344
+ const { getSleepManagerIfReady: getSleepManagerIfReady2 } = await import("./sleep-manager-5277OBHI.js");
5345
5345
  const sm = getSleepManagerIfReady2();
5346
5346
  if (sm) {
5347
5347
  const state = sm.getState(mindName);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  voluteSystemDir
4
- } from "./chunk-PDSA3ILI.js";
4
+ } from "./chunk-B4WPXYPI.js";
5
5
 
6
6
  // packages/daemon/src/lib/config/setup.ts
7
7
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  broadcast
4
- } from "./chunk-5VBXKFPO.js";
4
+ } from "./chunk-QYI65HCL.js";
5
5
  import {
6
6
  getDb
7
- } from "./chunk-PDSA3ILI.js";
7
+ } from "./chunk-B4WPXYPI.js";
8
8
  import {
9
9
  users
10
- } from "./chunk-MHFAWJCC.js";
10
+ } from "./chunk-2HZRJ35V.js";
11
11
 
12
12
  // packages/daemon/src/lib/auth.ts
13
13
  import { compareSync, hashSync } from "bcryptjs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  mindDir,
4
4
  stateDir
5
- } from "./chunk-PDSA3ILI.js";
5
+ } from "./chunk-B4WPXYPI.js";
6
6
 
7
7
  // packages/daemon/src/lib/mind/archive.ts
8
8
  import { execFileSync } from "child_process";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  stateDir,
4
4
  voluteSystemDir
5
- } from "./chunk-PDSA3ILI.js";
5
+ } from "./chunk-B4WPXYPI.js";
6
6
 
7
7
  // packages/daemon/src/lib/config/env.ts
8
8
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -8,10 +8,10 @@ import {
8
8
  pollHealthDown,
9
9
  readDaemonConfig,
10
10
  stopService
11
- } from "./chunk-SGC6CDXB.js";
11
+ } from "./chunk-4UMXOMZ6.js";
12
12
  import {
13
13
  voluteSystemDir
14
- } from "./chunk-PDSA3ILI.js";
14
+ } from "./chunk-B4WPXYPI.js";
15
15
 
16
16
  // src/commands/down.ts
17
17
  import { existsSync, readFileSync, unlinkSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readGlobalConfig
4
- } from "./chunk-2AQCEQYN.js";
4
+ } from "./chunk-DNU6XLE2.js";
5
5
  import {
6
6
  logger_default
7
7
  } from "./chunk-T2TP6ZC6.js";
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env node
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
+ }) : x)(function(x) {
11
+ if (typeof require !== "undefined") return require.apply(this, arguments);
12
+ throw Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __esm = (fn, res) => function __init() {
15
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
16
+ };
17
+ var __commonJS = (cb, mod) => function __require2() {
18
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
+ };
20
+ var __export = (target, all) => {
21
+ for (var name in all)
22
+ __defProp(target, name, { get: all[name], enumerable: true });
23
+ };
24
+ var __copyProps = (to, from, except, desc) => {
25
+ if (from && typeof from === "object" || typeof from === "function") {
26
+ for (let key of __getOwnPropNames(from))
27
+ if (!__hasOwnProp.call(to, key) && key !== except)
28
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
29
+ }
30
+ return to;
31
+ };
32
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
33
+ // If the importer is in node compatibility mode or this is not an ESM
34
+ // file that has been converted to a CommonJS file using a Babel-
35
+ // compatible transform (i.e. "__esModule" has not been set), then set
36
+ // "default" to the CommonJS "module.exports" for node compatibility.
37
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
38
+ mod
39
+ ));
40
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
+
42
+ export {
43
+ __require,
44
+ __esm,
45
+ __commonJS,
46
+ __export,
47
+ __toESM,
48
+ __toCommonJS
49
+ };
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  findBridgeForChannel,
4
4
  getBridgeConfig
5
- } from "./chunk-S4YO5OWV.js";
5
+ } from "./chunk-PKGA23XM.js";
6
6
  import {
7
7
  publish,
8
8
  recordOutbound
9
- } from "./chunk-XUJR6NZW.js";
9
+ } from "./chunk-BLAXARBZ.js";
10
10
  import {
11
11
  readEnv,
12
12
  sharedEnvPath
13
- } from "./chunk-HAJHDGBV.js";
13
+ } from "./chunk-ITH5ZLZJ.js";
14
14
  import {
15
15
  addMessage,
16
16
  findDMConversation,
@@ -18,14 +18,14 @@ import {
18
18
  getChannelName,
19
19
  getConversation,
20
20
  getParticipants
21
- } from "./chunk-B7YJUWMM.js";
21
+ } from "./chunk-3Y7UDHO7.js";
22
22
  import {
23
23
  readVoluteConfig
24
24
  } from "./chunk-CU6OFXMM.js";
25
25
  import {
26
26
  getOrCreateMindUser,
27
27
  getUserByUsername
28
- } from "./chunk-PHR4XQPL.js";
28
+ } from "./chunk-E25SO3QW.js";
29
29
  import {
30
30
  logger_default
31
31
  } from "./chunk-T2TP6ZC6.js";
@@ -35,10 +35,10 @@ import {
35
35
  import {
36
36
  mindDir,
37
37
  voluteSystemDir
38
- } from "./chunk-PDSA3ILI.js";
38
+ } from "./chunk-B4WPXYPI.js";
39
39
  import {
40
40
  __export
41
- } from "./chunk-K3NQKI34.js";
41
+ } from "./chunk-LMMQX4CK.js";
42
42
 
43
43
  // packages/platforms/src/drivers/discord.ts
44
44
  var discord_exports = {};