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.
- package/dist/{accept-AHAOUFBK.js → accept-IVHOHXQS.js} +1 -1
- package/dist/{activity-events-OJZ7G5CG.js → activity-events-DS4QRWBY.js} +4 -4
- package/dist/{ai-service-JMV4KZN4.js → ai-service-AUWIPWLP.js} +5 -5
- package/dist/{api-client-LC5YRA32.js → api-client-NFM6GX2N.js} +1 -1
- package/dist/{archive-BC2MTNPV.js → archive-UDHFZN4G.js} +4 -4
- package/dist/{auth-2IMZ6N5G.js → auth-X6ZITZ7D.js} +5 -5
- package/dist/{bridge-F3ZJEKDN.js → bridge-MSZC4HUT.js} +1 -1
- package/dist/{chat-O5QCGCUG.js → chat-JD3TJINV.js} +9 -9
- package/dist/{chunk-MHFAWJCC.js → chunk-2HZRJ35V.js} +1 -1
- package/dist/{chunk-B7YJUWMM.js → chunk-3Y7UDHO7.js} +3 -3
- package/dist/{chunk-SGC6CDXB.js → chunk-4UMXOMZ6.js} +2 -2
- package/dist/{chunk-43PVCF4V.js → chunk-5EVW4KOD.js} +3 -3
- package/dist/{chunk-FBV22PFY.js → chunk-6SYHHEQ7.js} +1 -1
- package/dist/{chunk-3XSFMN3H.js → chunk-AEAZRTEV.js} +1 -1
- package/dist/{chunk-RMZSICLS.js → chunk-ANSTTB55.js} +1 -1
- package/dist/{chunk-PDSA3ILI.js → chunk-B4WPXYPI.js} +1 -1
- package/dist/{chunk-XUJR6NZW.js → chunk-BLAXARBZ.js} +32 -32
- package/dist/{chunk-2AQCEQYN.js → chunk-DNU6XLE2.js} +1 -1
- package/dist/{chunk-PHR4XQPL.js → chunk-E25SO3QW.js} +3 -3
- package/dist/{chunk-76Q6YLJL.js → chunk-I57LLNAQ.js} +1 -1
- package/dist/{chunk-HAJHDGBV.js → chunk-ITH5ZLZJ.js} +1 -1
- package/dist/{chunk-SOPMVTTW.js → chunk-JYQQDI3M.js} +2 -2
- package/dist/{chunk-PIRL2HAO.js → chunk-KMHC36CA.js} +1 -1
- package/dist/chunk-LMMQX4CK.js +49 -0
- package/dist/{chunk-JSITYTIL.js → chunk-LZ6CQYRO.js} +7 -7
- package/dist/{chunk-FRJ73IWR.js → chunk-MNUXL4XN.js} +67 -3
- package/dist/{chunk-PC55DGNX.js → chunk-NERYUSER.js} +1 -1
- package/dist/{chunk-S4YO5OWV.js → chunk-PKGA23XM.js} +1 -1
- package/dist/{chunk-T26YLQPU.js → chunk-QV7P3TYO.js} +5 -5
- package/dist/{chunk-5VBXKFPO.js → chunk-QYI65HCL.js} +2 -2
- package/dist/{chunk-PGX52NFO.js → chunk-S4SXBQ7F.js} +1 -1
- package/dist/{chunk-HEZM5GCV.js → chunk-SVXOBKQY.js} +2 -2
- package/dist/{chunk-PZTVQL3J.js → chunk-TOANT6FD.js} +2 -2
- package/dist/{chunk-DNQPHLGM.js → chunk-YHWGN4FX.js} +1 -1
- package/dist/{chunk-WGRMLXTH.js → chunk-YTNBO7S6.js} +8 -8
- package/dist/cli.js +24 -24
- package/dist/{clock-BMLJ2TR6.js → clock-YLDJUKBW.js} +3 -3
- package/dist/{cloud-sync-5JF2Z7VM.js → cloud-sync-MAQCJEFJ.js} +17 -17
- package/dist/{config-QB7W3Z7P.js → config-PO4EZLIK.js} +4 -4
- package/dist/connectors/discord-bridge.js +1 -1
- package/dist/connectors/slack-bridge.js +1 -1
- package/dist/connectors/telegram-bridge.js +1 -1
- package/dist/{conversations-LUVHGQSS.js → conversations-AYLXPOGC.js} +5 -5
- package/dist/{create-TDQM3SHV.js → create-T4UJ64WB.js} +4 -4
- package/dist/{create-C3BBFYV7.js → create-ZMTGINV3.js} +1 -1
- package/dist/{daemon-client-2MIPKY3E.js → daemon-client-H6MEKK2W.js} +1 -1
- package/dist/{daemon-restart-XHDJDOPQ.js → daemon-restart-LP2DR24J.js} +9 -9
- package/dist/daemon.js +275 -248
- package/dist/{db-IJL6B26S.js → db-FSYOTHSN.js} +1 -1
- package/dist/db-ZEPKEJJD.js +9 -0
- package/dist/{delete-NLXES2C7.js → delete-TXVOH2OC.js} +3 -3
- package/dist/delivery-manager-VNHLQTTO.js +30 -0
- package/dist/{delivery-router-IU4OMVKZ.js → delivery-router-T6CYTS3M.js} +4 -4
- package/dist/down-6DYO2QV7.js +17 -0
- package/dist/echo-text-QFCH3H6G.js +31 -0
- package/dist/{env-IQ6Q2333.js → env-77IOWG4U.js} +1 -1
- package/dist/exec-5DGKQ5V3.js +17 -0
- package/dist/{export-RKUWSQSG.js → export-TZKOCSCE.js} +6 -6
- package/dist/{extension-LZYHBNLV.js → extension-35NB6GHW.js} +1 -1
- package/dist/{extensions-VN5SEVRP.js → extensions-LQX2N7TI.js} +17 -17
- package/dist/{files-J2CKZ6PK.js → files-WNNVJWJB.js} +4 -4
- package/dist/{import-KVY6BYXG.js → import-BNNFCQ7U.js} +11 -11
- package/dist/{isolation-MM7YHK6J.js → isolation-4Q4P7HRV.js} +4 -4
- package/dist/{join-6SZCA5FX.js → join-E2EJEXZO.js} +3 -3
- package/dist/{list-KHJZJPEJ.js → list-BYCEDASJ.js} +1 -1
- package/dist/{login-GYTH67ES.js → login-JNSIYFVH.js} +1 -1
- package/dist/{login-OHM32QVD.js → login-Y6UAYQVO.js} +3 -3
- package/dist/{logout-YHQLOFLR.js → logout-M6FI62BL.js} +1 -1
- package/dist/{logout-74WBDMOE.js → logout-VHGWVH63.js} +3 -3
- package/dist/message-delivery-7BCYJLH2.js +40 -0
- package/dist/{mind-PUPXDIYQ.js → mind-ELPD6VBP.js} +19 -19
- package/dist/{mind-activity-tracker-7GE24YZE.js → mind-activity-tracker-XFRVGXFS.js} +5 -5
- package/dist/{mind-history-WHCNZ6I5.js → mind-history-W4JPTPTV.js} +1 -1
- package/dist/{mind-list-H3HC2ZRG.js → mind-list-QROHCLGT.js} +1 -1
- package/dist/mind-manager-EDCLALBF.js +30 -0
- package/dist/{mind-profile-7VYRJGFZ.js → mind-profile-3LNKXNPA.js} +2 -2
- package/dist/mind-service-WTOFVNLW.js +36 -0
- package/dist/{mind-sleep-ZL5ZXFTM.js → mind-sleep-PVCMLTAH.js} +1 -1
- package/dist/{mind-status-ZWULKOUO.js → mind-status-RAJFLRCN.js} +1 -1
- package/dist/{mind-wake-HK5ORGUK.js → mind-wake-HZUOVE7J.js} +1 -1
- package/dist/{package-6YPVWGD3.js → package-GO3PHHUF.js} +28 -27
- package/dist/{read-CP7MYMJQ.js → read-OOINVR2H.js} +1 -1
- package/dist/{read-stdin-4B5UYPPM.js → read-stdin-P6HCZUAA.js} +1 -1
- package/dist/{register-XOBFEMI4.js → register-ISOH34RF.js} +1 -1
- package/dist/{registry-L272BZJR.js → registry-GV35XFT7.js} +3 -3
- package/dist/{reject-43AGXB6B.js → reject-ZBWP62X5.js} +1 -1
- package/dist/{restart-O5QIYQJT.js → restart-QBJV5455.js} +1 -1
- package/dist/{sandbox-BQAFYHLE.js → sandbox-5R32QKWQ.js} +5 -5
- package/dist/scheduler-GQBDCGLU.js +30 -0
- package/dist/{schema-HHYJDG7B.js → schema-LYQUDL7G.js} +2 -2
- package/dist/{seed-4V2O7FQE.js → seed-MO2C7CWC.js} +2 -2
- package/dist/{seed-check-HZPVFJKZ.js → seed-check-3WXXRHTC.js} +2 -2
- package/dist/{seed-cmd-JKDEW4MP.js → seed-cmd-ETIF4WD6.js} +4 -4
- package/dist/{seed-create-EPAO3H5F.js → seed-create-BPQC2IOR.js} +6 -6
- package/dist/{seed-sprout-EONCL4DU.js → seed-sprout-TX72K33T.js} +11 -11
- package/dist/{send-232RAHPX.js → send-WO3CVG73.js} +4 -4
- package/dist/{service-AG5BKRUV.js → service-WMV6R6VJ.js} +6 -6
- package/dist/service-install-W3FQXJKB.js +17 -0
- package/dist/{setup-IL7QJZN4.js → setup-OTEC3ZPM.js} +4 -4
- package/dist/{setup-PSA7LJ5U.js → setup-ZTW4FVMQ.js} +9 -9
- package/dist/{skill-ICN6Y2ZF.js → skill-QHACP7EU.js} +1 -1
- package/dist/{skills-SLEY5X6W.js → skills-JEWMHIIE.js} +7 -7
- package/dist/sleep-manager-5277OBHI.js +34 -0
- package/dist/{spirit-7BUHSEO2.js → spirit-NVXWSVKM.js} +9 -9
- package/dist/{split-5YBEQTBF.js → split-7AO4IO42.js} +3 -3
- package/dist/{sprout-JWQ57KF3.js → sprout-NFJZKYEW.js} +2 -2
- package/dist/{src-OYWRPLC6.js → src-2IMB3V27.js} +1 -1
- package/dist/src-OS75U2O7.js +241910 -0
- package/dist/{src-O4PRLMKM.js → src-XNUXP2FP.js} +1 -1
- package/dist/{start-LMXXRR3X.js → start-2U57BBK7.js} +1 -1
- package/dist/{status-6GSOSYOD.js → status-BRYYYO7C.js} +7 -7
- package/dist/{stop-TWDKVEUX.js → stop-QILBDUAR.js} +1 -1
- package/dist/system-chat-LQSJVY55.js +34 -0
- package/dist/{systems-Y2WZV2K4.js → systems-3XTAHA35.js} +4 -4
- package/dist/{tailscale-6MHNLBAX.js → tailscale-X4HRKRTW.js} +3 -3
- package/dist/{template-hash-SSIBEEYK.js → template-hash-DMHSLRDX.js} +1 -1
- package/dist/up-4H7TL6WB.js +19 -0
- package/dist/{update-BT2PY73H.js → update-OY2JYXYK.js} +61 -14
- package/dist/update-check-IUB7QHAF.js +24 -0
- package/dist/{upgrade-RXFZR5FI.js → upgrade-25J6AE47.js} +3 -3
- package/dist/{variant-HHDTW74J.js → variant-5LQOPCQA.js} +1 -1
- package/dist/{version-notify-NFQMI5IY.js → version-notify-N37N2C4G.js} +18 -18
- package/dist/{volute-config-TS62GS6A.js → volute-config-7FO6QKWU.js} +1 -1
- package/dist/web-assets/assets/index-DaUp9iE2.js +79 -0
- package/dist/web-assets/index.html +1 -1
- package/package.json +27 -26
- package/packages/extensions/notes/dist/ui/assets/index-BbgANhFm.js +67 -0
- package/packages/extensions/notes/dist/ui/index.html +1 -1
- package/packages/extensions/pages/dist/ui/assets/index-Dxk-DYrf.js +2 -0
- package/packages/extensions/pages/dist/ui/index.html +1 -1
- package/packages/extensions/plan/dist/ui/assets/index-Cfzs-0G9.js +67 -0
- package/packages/extensions/plan/dist/ui/index.html +1 -1
- package/templates/claude/package.json.tmpl +5 -5
- package/templates/codex/package.json.tmpl +5 -5
- package/templates/pi/package.json.tmpl +6 -6
- package/templates/pi/src/agent.ts +2 -0
- package/templates/pi/src/lib/subagents.ts +19 -17
- package/dist/chunk-K3NQKI34.js +0 -10
- package/dist/db-2GIS7HSG.js +0 -9
- package/dist/delivery-manager-L5WFP2ND.js +0 -30
- package/dist/down-KIJVZ3OC.js +0 -17
- package/dist/echo-text-TJWCUBPB.js +0 -31
- package/dist/exec-BGMU7VXR.js +0 -17
- package/dist/message-delivery-VBBAJX3J.js +0 -40
- package/dist/mind-manager-4Q6KGZHL.js +0 -30
- package/dist/mind-service-7OD4PRO5.js +0 -36
- package/dist/scheduler-7E22Q7IC.js +0 -30
- package/dist/service-install-HVAEUBAH.js +0 -17
- package/dist/sleep-manager-27S7MKJO.js +0 -34
- package/dist/src-6Z4XYDH5.js +0 -2164
- package/dist/system-chat-EIINIHFB.js +0 -34
- package/dist/up-4XS3RCPP.js +0 -19
- package/dist/update-check-Y3HBEMF2.js +0 -18
- package/dist/web-assets/assets/index-Jluza4c-.js +0 -73
- package/packages/extensions/notes/dist/ui/assets/index-Dsua7alJ.js +0 -61
- package/packages/extensions/pages/dist/ui/assets/index-BM7gRdg7.js +0 -2
- package/packages/extensions/plan/dist/ui/assets/index-DWiqtzBv.js +0 -61
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
broadcast,
|
|
4
4
|
publish,
|
|
5
5
|
subscribe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QYI65HCL.js";
|
|
7
7
|
import "./chunk-T2TP6ZC6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
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-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-S4SXBQ7F.js";
|
|
23
|
+
import "./chunk-DNU6XLE2.js";
|
|
24
24
|
import "./chunk-T2TP6ZC6.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-B4WPXYPI.js";
|
|
26
|
+
import "./chunk-2HZRJ35V.js";
|
|
27
|
+
import "./chunk-LMMQX4CK.js";
|
|
28
28
|
export {
|
|
29
29
|
aiComplete,
|
|
30
30
|
aiCompleteUtility,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
extractArchive,
|
|
6
6
|
isHomeOnlyArchive,
|
|
7
7
|
readManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
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-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-E25SO3QW.js";
|
|
21
|
+
import "./chunk-QYI65HCL.js";
|
|
22
22
|
import "./chunk-T2TP6ZC6.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-B4WPXYPI.js";
|
|
24
|
+
import "./chunk-2HZRJ35V.js";
|
|
25
|
+
import "./chunk-LMMQX4CK.js";
|
|
26
26
|
export {
|
|
27
27
|
approveUser,
|
|
28
28
|
changePassword,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
subcommands
|
|
4
4
|
} from "./chunk-TXSA4Q3V.js";
|
|
5
5
|
import "./chunk-O7IGP7ZW.js";
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
subscribe
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
+
} from "./chunk-AEAZRTEV.js";
|
|
6
6
|
import {
|
|
7
7
|
voluteSystemDir
|
|
8
|
-
} from "./chunk-
|
|
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-
|
|
10
|
+
} from "./chunk-4UMXOMZ6.js";
|
|
11
11
|
import {
|
|
12
12
|
readGlobalConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DNU6XLE2.js";
|
|
14
14
|
import {
|
|
15
15
|
voluteHome,
|
|
16
16
|
voluteSystemDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-B4WPXYPI.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/up.ts
|
|
20
20
|
import { spawn } from "child_process";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
loadMergedEnv
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ITH5ZLZJ.js";
|
|
5
5
|
import {
|
|
6
6
|
spiritDir
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YTNBO7S6.js";
|
|
8
8
|
import {
|
|
9
9
|
hashSkillDir,
|
|
10
10
|
importSkillFromDir,
|
|
11
11
|
removeSharedSkill,
|
|
12
12
|
sharedSkillsDir
|
|
13
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
31
|
+
} from "./chunk-KMHC36CA.js";
|
|
32
32
|
import {
|
|
33
33
|
markIdle,
|
|
34
34
|
onMindEvent
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ANSTTB55.js";
|
|
36
36
|
import {
|
|
37
37
|
extractTextContent,
|
|
38
38
|
getRoutingConfig,
|
|
39
39
|
resolveDeliveryMode,
|
|
40
40
|
resolveRoute
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NERYUSER.js";
|
|
42
42
|
import {
|
|
43
43
|
exec
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-AEAZRTEV.js";
|
|
45
45
|
import {
|
|
46
46
|
chownMindDir,
|
|
47
47
|
isIsolationEnabled,
|
|
48
48
|
mindUserName,
|
|
49
49
|
wrapForIsolation
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-6SYHHEQ7.js";
|
|
51
51
|
import {
|
|
52
52
|
aiCompleteUtility,
|
|
53
53
|
getAiConfig,
|
|
54
54
|
resolveApiKey
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-S4SXBQ7F.js";
|
|
56
56
|
import {
|
|
57
57
|
readGlobalConfig,
|
|
58
58
|
writeGlobalConfig
|
|
59
|
-
} from "./chunk-
|
|
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-
|
|
66
|
+
} from "./chunk-E25SO3QW.js";
|
|
67
67
|
import {
|
|
68
68
|
publish,
|
|
69
69
|
subscribe
|
|
70
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
1945
|
-
import("./activity-events-
|
|
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-
|
|
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-
|
|
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-
|
|
2488
|
-
{ id: "pages", load: async () => (await import("./src-
|
|
2489
|
-
{ id: "plan", load: async () => (await import("./src-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
3566
|
-
const { findDMConversation: findDMConversation2, createConversation: createConversation2 } = await import("./conversations-
|
|
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-
|
|
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-
|
|
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-
|
|
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,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
broadcast
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QYI65HCL.js";
|
|
5
5
|
import {
|
|
6
6
|
getDb
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B4WPXYPI.js";
|
|
8
8
|
import {
|
|
9
9
|
users
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2HZRJ35V.js";
|
|
11
11
|
|
|
12
12
|
// packages/daemon/src/lib/auth.ts
|
|
13
13
|
import { compareSync, hashSync } from "bcryptjs";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
pollHealthDown,
|
|
9
9
|
readDaemonConfig,
|
|
10
10
|
stopService
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4UMXOMZ6.js";
|
|
12
12
|
import {
|
|
13
13
|
voluteSystemDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-B4WPXYPI.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/down.ts
|
|
17
17
|
import { existsSync, readFileSync, unlinkSync } from "fs";
|
|
@@ -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-
|
|
5
|
+
} from "./chunk-PKGA23XM.js";
|
|
6
6
|
import {
|
|
7
7
|
publish,
|
|
8
8
|
recordOutbound
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BLAXARBZ.js";
|
|
10
10
|
import {
|
|
11
11
|
readEnv,
|
|
12
12
|
sharedEnvPath
|
|
13
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
38
|
+
} from "./chunk-B4WPXYPI.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LMMQX4CK.js";
|
|
42
42
|
|
|
43
43
|
// packages/platforms/src/drivers/discord.ts
|
|
44
44
|
var discord_exports = {};
|