volute 0.40.1 → 0.41.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.
- package/README.md +2 -2
- package/dist/{accept-IVHOHXQS.js → accept-AHAOUFBK.js} +1 -1
- package/dist/{activity-events-DS4QRWBY.js → activity-events-EQGBUEZ7.js} +4 -4
- package/dist/{ai-service-AUWIPWLP.js → ai-service-ZHEPFC3U.js} +5 -5
- package/dist/{api-client-NFM6GX2N.js → api-client-LC5YRA32.js} +1 -1
- package/dist/{archive-UDHFZN4G.js → archive-LJAXDDEY.js} +4 -4
- package/dist/{auth-X6ZITZ7D.js → auth-VYW2ECCE.js} +5 -5
- package/dist/{bridge-MSZC4HUT.js → bridge-F3ZJEKDN.js} +1 -1
- package/dist/{chat-JD3TJINV.js → chat-FO722GU2.js} +9 -9
- package/dist/{chunk-4UMXOMZ6.js → chunk-2I7OKOYV.js} +2 -2
- package/dist/{chunk-3Y7UDHO7.js → chunk-2R4JIZCB.js} +3 -3
- package/dist/{chunk-QYI65HCL.js → chunk-2RQIIKFC.js} +2 -2
- package/dist/{chunk-6SYHHEQ7.js → chunk-4ED2DBNC.js} +1 -1
- package/dist/{chunk-E25SO3QW.js → chunk-6TPRURK5.js} +3 -3
- package/dist/{chunk-ITH5ZLZJ.js → chunk-6ZAT5PYV.js} +1 -1
- package/dist/{chunk-LZ6CQYRO.js → chunk-AXNAK3HT.js} +10 -8
- package/dist/{chunk-PKGA23XM.js → chunk-CYUNO4BM.js} +1 -1
- package/dist/{chunk-MNUXL4XN.js → chunk-FEQPNCXB.js} +1 -1
- package/dist/{chunk-5EVW4KOD.js → chunk-FU5YDH6Q.js} +3 -3
- package/dist/{chunk-NERYUSER.js → chunk-GMFCSXWB.js} +1 -1
- package/dist/{chunk-YHWGN4FX.js → chunk-GSOEUMVO.js} +1 -1
- package/dist/{chunk-QV7P3TYO.js → chunk-JIGVTFIR.js} +5 -5
- package/dist/chunk-K3NQKI34.js +10 -0
- package/dist/{chunk-2HZRJ35V.js → chunk-MHFAWJCC.js} +1 -1
- package/dist/{chunk-I57LLNAQ.js → chunk-MU2B7A3L.js} +1 -1
- package/dist/{chunk-DNU6XLE2.js → chunk-N64Q7FMP.js} +1 -1
- package/dist/{chunk-SVXOBKQY.js → chunk-OQ7UEW67.js} +2 -2
- package/dist/{chunk-ANSTTB55.js → chunk-PP5CGT2P.js} +20 -21
- package/dist/{chunk-TOANT6FD.js → chunk-SWY4DJ67.js} +2 -2
- package/dist/{chunk-KMHC36CA.js → chunk-U7UASV36.js} +1 -1
- package/dist/{chunk-KAB6UGOL.js → chunk-UU3Q65US.js} +1 -1
- package/dist/{chunk-JYQQDI3M.js → chunk-V67XMNGP.js} +2 -2
- package/dist/{chunk-B4WPXYPI.js → chunk-VDODEQSJ.js} +6 -1
- package/dist/{chunk-S4SXBQ7F.js → chunk-VK2YD7VJ.js} +43 -35
- package/dist/{chunk-BLAXARBZ.js → chunk-W5Z2H3LU.js} +194 -1313
- package/dist/{chunk-46DYYHN6.js → chunk-WSRGS4XP.js} +34 -0
- package/dist/{chunk-AEAZRTEV.js → chunk-Y2XLASFJ.js} +1 -1
- package/dist/chunk-YATR5BXD.js +1212 -0
- package/dist/{chunk-YTNBO7S6.js → chunk-YN6ISG7A.js} +11 -11
- package/dist/cli.js +24 -24
- package/dist/{clock-YLDJUKBW.js → clock-BMLJ2TR6.js} +3 -3
- package/dist/{cloud-sync-MAQCJEFJ.js → cloud-sync-GV6O2HN2.js} +19 -18
- package/dist/{config-PO4EZLIK.js → config-QB7W3Z7P.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-AYLXPOGC.js → conversations-KW7IYESK.js} +5 -5
- package/dist/{create-ZMTGINV3.js → create-C3BBFYV7.js} +1 -1
- package/dist/{create-T4UJ64WB.js → create-CTPXWFTL.js} +5 -5
- package/dist/{daemon-client-H6MEKK2W.js → daemon-client-2MIPKY3E.js} +1 -1
- package/dist/{daemon-restart-LP2DR24J.js → daemon-restart-W47YDE5E.js} +9 -9
- package/dist/daemon.js +155 -111
- package/dist/db-D4FVCA5I.js +9 -0
- package/dist/{db-FSYOTHSN.js → db-IJL6B26S.js} +1 -1
- package/dist/{delete-TXVOH2OC.js → delete-NLXES2C7.js} +3 -3
- package/dist/delivery-manager-EB52CQ5X.js +33 -0
- package/dist/{delivery-router-T6CYTS3M.js → delivery-router-Y66OXJPM.js} +4 -4
- package/dist/down-JVHNXOFU.js +17 -0
- package/dist/echo-text-QVPS6QDM.js +32 -0
- package/dist/{env-77IOWG4U.js → env-IQ6Q2333.js} +1 -1
- package/dist/exec-R2WWZ6FH.js +17 -0
- package/dist/{export-TZKOCSCE.js → export-ZZ5WWBUH.js} +6 -6
- package/dist/{extension-35NB6GHW.js → extension-LZYHBNLV.js} +1 -1
- package/dist/{extensions-LQX2N7TI.js → extensions-AGANCIQA.js} +19 -18
- package/dist/{files-WNNVJWJB.js → files-Q2Z4LQZP.js} +4 -4
- package/dist/{import-BNNFCQ7U.js → import-MFYCBS4K.js} +11 -11
- package/dist/{isolation-4Q4P7HRV.js → isolation-7F3MA4G7.js} +4 -4
- package/dist/{join-E2EJEXZO.js → join-6SZCA5FX.js} +3 -3
- package/dist/{list-BYCEDASJ.js → list-KHJZJPEJ.js} +1 -1
- package/dist/{login-JNSIYFVH.js → login-GYTH67ES.js} +1 -1
- package/dist/{login-Y6UAYQVO.js → login-WY3DADVB.js} +3 -3
- package/dist/{logout-VHGWVH63.js → logout-TFZHWNVL.js} +3 -3
- package/dist/{logout-M6FI62BL.js → logout-YHQLOFLR.js} +1 -1
- package/dist/message-delivery-X4CZE2L6.js +41 -0
- package/dist/{mind-ELPD6VBP.js → mind-XIKEPJNS.js} +19 -19
- package/dist/{mind-activity-tracker-XFRVGXFS.js → mind-activity-tracker-RSIWUUJK.js} +5 -5
- package/dist/{mind-history-W4JPTPTV.js → mind-history-WHCNZ6I5.js} +1 -1
- package/dist/{mind-list-QROHCLGT.js → mind-list-H3HC2ZRG.js} +1 -1
- package/dist/mind-manager-VU3RGCXD.js +31 -0
- package/dist/{mind-profile-3LNKXNPA.js → mind-profile-7VYRJGFZ.js} +2 -2
- package/dist/mind-service-L7LMMDYJ.js +37 -0
- package/dist/{mind-sleep-PVCMLTAH.js → mind-sleep-ZL5ZXFTM.js} +1 -1
- package/dist/{mind-status-RAJFLRCN.js → mind-status-ZWULKOUO.js} +1 -1
- package/dist/{mind-wake-HZUOVE7J.js → mind-wake-HK5ORGUK.js} +1 -1
- package/dist/{package-GO3PHHUF.js → package-2X7UNSTQ.js} +6 -5
- package/dist/{read-OOINVR2H.js → read-CP7MYMJQ.js} +1 -1
- package/dist/{read-stdin-P6HCZUAA.js → read-stdin-4B5UYPPM.js} +1 -1
- package/dist/{register-ISOH34RF.js → register-XOBFEMI4.js} +1 -1
- package/dist/{registry-GV35XFT7.js → registry-RAXNFN7K.js} +5 -3
- package/dist/{reject-ZBWP62X5.js → reject-43AGXB6B.js} +1 -1
- package/dist/{restart-QBJV5455.js → restart-O5QIYQJT.js} +1 -1
- package/dist/{sandbox-5R32QKWQ.js → sandbox-O3GZTS7J.js} +5 -5
- package/dist/scheduler-SXELVRWO.js +31 -0
- package/dist/{schema-LYQUDL7G.js → schema-HHYJDG7B.js} +2 -2
- package/dist/{seed-MO2C7CWC.js → seed-I4CNKTKZ.js} +2 -2
- package/dist/{seed-check-3WXXRHTC.js → seed-check-HZPVFJKZ.js} +2 -2
- package/dist/{seed-cmd-ETIF4WD6.js → seed-cmd-YTQYWCZF.js} +4 -4
- package/dist/{seed-create-BPQC2IOR.js → seed-create-MDBTVADS.js} +7 -7
- package/dist/{seed-sprout-TX72K33T.js → seed-sprout-N6O5FBPY.js} +11 -11
- package/dist/{send-WO3CVG73.js → send-5XA7LRNB.js} +4 -4
- package/dist/{service-WMV6R6VJ.js → service-AY5TGWJX.js} +6 -6
- package/dist/service-install-NLGAVTQS.js +17 -0
- package/dist/{setup-OTEC3ZPM.js → setup-3434PQ5Q.js} +4 -4
- package/dist/{setup-ZTW4FVMQ.js → setup-47NBOCZL.js} +9 -9
- package/dist/{skill-QHACP7EU.js → skill-ICN6Y2ZF.js} +1 -1
- package/dist/{skills-JEWMHIIE.js → skills-YTLBAF32.js} +7 -7
- package/dist/sleep-manager-T3AXQB3R.js +35 -0
- package/dist/spirit-KTBHLULO.js +24 -0
- package/dist/{split-7AO4IO42.js → split-5YBEQTBF.js} +3 -3
- package/dist/{sprout-NFJZKYEW.js → sprout-4ZUJUNDQ.js} +2 -2
- package/dist/src-4LFGGNW7.js +2201 -0
- package/dist/{src-XNUXP2FP.js → src-O4PRLMKM.js} +1 -1
- package/dist/{src-2IMB3V27.js → src-OYWRPLC6.js} +1 -1
- package/dist/{start-2U57BBK7.js → start-LMXXRR3X.js} +1 -1
- package/dist/{status-BRYYYO7C.js → status-VMOZUIZ2.js} +7 -7
- package/dist/{stop-QILBDUAR.js → stop-TWDKVEUX.js} +1 -1
- package/dist/system-chat-HCPHUQGI.js +35 -0
- package/dist/{systems-3XTAHA35.js → systems-Y2WZV2K4.js} +4 -4
- package/dist/{tailscale-X4HRKRTW.js → tailscale-PK3AI5EV.js} +3 -3
- package/dist/template-hash-JARTCRGS.js +9 -0
- package/dist/turn-tracker-SZBSL7LK.js +35 -0
- package/dist/up-VGVPOB6J.js +19 -0
- package/dist/{update-OY2JYXYK.js → update-3ANTQO54.js} +7 -7
- package/dist/{update-check-IUB7QHAF.js → update-check-4O6DKUOF.js} +4 -4
- package/dist/{upgrade-25J6AE47.js → upgrade-RXFZR5FI.js} +3 -3
- package/dist/{variant-5LQOPCQA.js → variant-HHDTW74J.js} +1 -1
- package/dist/{version-notify-N37N2C4G.js → version-notify-SSNAWZMX.js} +21 -20
- package/dist/{volute-config-7FO6QKWU.js → volute-config-TS62GS6A.js} +1 -1
- package/package.json +5 -4
- package/templates/claude/package.json.tmpl +1 -1
- package/templates/codex/package.json.tmpl +1 -1
- package/templates/pi/package.json.tmpl +2 -1
- package/templates/pi/src/agent.ts +1 -1
- package/templates/pi/src/lib/content.ts +1 -1
- package/templates/pi/src/lib/event-handler.ts +1 -1
- package/templates/pi/src/lib/reply-instructions-extension.ts +1 -1
- package/templates/pi/src/lib/resolve-model.ts +4 -4
- package/templates/pi/src/lib/subagents.ts +2 -2
- package/dist/chunk-LMMQX4CK.js +0 -49
- package/dist/db-ZEPKEJJD.js +0 -9
- package/dist/delivery-manager-VNHLQTTO.js +0 -30
- package/dist/down-6DYO2QV7.js +0 -17
- package/dist/echo-text-QFCH3H6G.js +0 -31
- package/dist/exec-5DGKQ5V3.js +0 -17
- package/dist/message-delivery-7BCYJLH2.js +0 -40
- package/dist/mind-manager-EDCLALBF.js +0 -30
- package/dist/mind-service-WTOFVNLW.js +0 -36
- package/dist/scheduler-GQBDCGLU.js +0 -30
- package/dist/service-install-W3FQXJKB.js +0 -17
- package/dist/sleep-manager-5277OBHI.js +0 -34
- package/dist/spirit-NVXWSVKM.js +0 -24
- package/dist/src-OS75U2O7.js +0 -241910
- package/dist/system-chat-LQSJVY55.js +0 -34
- package/dist/template-hash-DMHSLRDX.js +0 -9
- package/dist/up-4H7TL6WB.js +0 -19
package/README.md
CHANGED
|
@@ -342,7 +342,7 @@ Your mind's `SOUL.md` and `MEMORY.md` are never overwritten.
|
|
|
342
342
|
Three built-in templates:
|
|
343
343
|
|
|
344
344
|
- **`claude`** (default) — Anthropic Claude Agent SDK
|
|
345
|
-
- **`pi`** — [pi-coding-agent](https://github.com/
|
|
345
|
+
- **`pi`** — [pi-coding-agent](https://github.com/earendil-works/pi) for multi-provider LLM support
|
|
346
346
|
- **`codex`** — OpenAI Codex models
|
|
347
347
|
|
|
348
348
|
```sh
|
|
@@ -351,7 +351,7 @@ volute mind create atlas --template pi
|
|
|
351
351
|
|
|
352
352
|
## AI Service
|
|
353
353
|
|
|
354
|
-
Volute has an optional system-level AI service for features like automatic turn summaries. It uses [`@
|
|
354
|
+
Volute has an optional system-level AI service for features like automatic turn summaries. It uses [`@earendil-works/pi-ai`](https://github.com/earendil-works/pi) for multi-provider support — configure any combination of Anthropic, OpenAI, Google, GitHub Copilot, and others.
|
|
355
355
|
|
|
356
356
|
Configure via the web dashboard (Settings → AI Service) or during `volute setup`. Each provider authenticates independently via API key, OAuth, or environment variables. After adding providers, select which models to enable — the system picks from your enabled list.
|
|
357
357
|
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
broadcast,
|
|
4
4
|
publish,
|
|
5
5
|
subscribe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2RQIIKFC.js";
|
|
7
7
|
import "./chunk-T2TP6ZC6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-VDODEQSJ.js";
|
|
9
|
+
import "./chunk-MHFAWJCC.js";
|
|
10
|
+
import "./chunk-K3NQKI34.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-VK2YD7VJ.js";
|
|
23
|
+
import "./chunk-N64Q7FMP.js";
|
|
24
24
|
import "./chunk-T2TP6ZC6.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VDODEQSJ.js";
|
|
26
|
+
import "./chunk-MHFAWJCC.js";
|
|
27
|
+
import "./chunk-K3NQKI34.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-MU2B7A3L.js";
|
|
9
|
+
import "./chunk-VDODEQSJ.js";
|
|
10
|
+
import "./chunk-MHFAWJCC.js";
|
|
11
|
+
import "./chunk-K3NQKI34.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-6TPRURK5.js";
|
|
21
|
+
import "./chunk-2RQIIKFC.js";
|
|
22
22
|
import "./chunk-T2TP6ZC6.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-VDODEQSJ.js";
|
|
24
|
+
import "./chunk-MHFAWJCC.js";
|
|
25
|
+
import "./chunk-K3NQKI34.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-K3NQKI34.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-5XA7LRNB.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-KHJZJPEJ.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-CP7MYMJQ.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-C3BBFYV7.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-F3ZJEKDN.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-Q2Z4LQZP.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-AHAOUFBK.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-43AGXB6B.js").then((m) => m.run(args))
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
footer: "Use --mind <name> or VOLUTE_MIND to identify the mind."
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
exec,
|
|
4
4
|
execInherit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y2XLASFJ.js";
|
|
6
6
|
import {
|
|
7
7
|
voluteSystemDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VDODEQSJ.js";
|
|
9
9
|
|
|
10
10
|
// packages/daemon/src/lib/config/service-mode.ts
|
|
11
11
|
import { execFileSync } from "child_process";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
subscribe
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2RQIIKFC.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-VDODEQSJ.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-MHFAWJCC.js";
|
|
19
19
|
|
|
20
20
|
// packages/daemon/src/lib/events/conversations.ts
|
|
21
21
|
import { randomUUID } from "crypto";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-T2TP6ZC6.js";
|
|
5
5
|
import {
|
|
6
6
|
getDb
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VDODEQSJ.js";
|
|
8
8
|
import {
|
|
9
9
|
activity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MHFAWJCC.js";
|
|
11
11
|
|
|
12
12
|
// packages/daemon/src/lib/events/activity-events.ts
|
|
13
13
|
var subscribers = /* @__PURE__ */ new Set();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
broadcast
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2RQIIKFC.js";
|
|
5
5
|
import {
|
|
6
6
|
getDb
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VDODEQSJ.js";
|
|
8
8
|
import {
|
|
9
9
|
users
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MHFAWJCC.js";
|
|
11
11
|
|
|
12
12
|
// packages/daemon/src/lib/auth.ts
|
|
13
13
|
import { compareSync, hashSync } from "bcryptjs";
|
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findBridgeForChannel,
|
|
4
4
|
getBridgeConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CYUNO4BM.js";
|
|
6
6
|
import {
|
|
7
|
-
publish,
|
|
8
7
|
recordOutbound
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W5Z2H3LU.js";
|
|
10
9
|
import {
|
|
11
10
|
readEnv,
|
|
12
11
|
sharedEnvPath
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6ZAT5PYV.js";
|
|
14
13
|
import {
|
|
15
14
|
addMessage,
|
|
16
15
|
findDMConversation,
|
|
@@ -18,14 +17,17 @@ import {
|
|
|
18
17
|
getChannelName,
|
|
19
18
|
getConversation,
|
|
20
19
|
getParticipants
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2R4JIZCB.js";
|
|
22
21
|
import {
|
|
23
22
|
readVoluteConfig
|
|
24
23
|
} from "./chunk-CU6OFXMM.js";
|
|
24
|
+
import {
|
|
25
|
+
publish
|
|
26
|
+
} from "./chunk-YATR5BXD.js";
|
|
25
27
|
import {
|
|
26
28
|
getOrCreateMindUser,
|
|
27
29
|
getUserByUsername
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6TPRURK5.js";
|
|
29
31
|
import {
|
|
30
32
|
logger_default
|
|
31
33
|
} from "./chunk-T2TP6ZC6.js";
|
|
@@ -35,10 +37,10 @@ import {
|
|
|
35
37
|
import {
|
|
36
38
|
mindDir,
|
|
37
39
|
voluteSystemDir
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VDODEQSJ.js";
|
|
39
41
|
import {
|
|
40
42
|
__export
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-K3NQKI34.js";
|
|
42
44
|
|
|
43
45
|
// packages/platforms/src/drivers/discord.ts
|
|
44
46
|
var discord_exports = {};
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
modeLabel,
|
|
8
8
|
pollHealth,
|
|
9
9
|
startService
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2I7OKOYV.js";
|
|
11
11
|
import {
|
|
12
12
|
readGlobalConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N64Q7FMP.js";
|
|
14
14
|
import {
|
|
15
15
|
voluteHome,
|
|
16
16
|
voluteSystemDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VDODEQSJ.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/up.ts
|
|
20
20
|
import { spawn } from "child_process";
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
exec,
|
|
4
4
|
gitExec
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y2XLASFJ.js";
|
|
6
6
|
import {
|
|
7
7
|
readGlobalConfig,
|
|
8
8
|
writeGlobalConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N64Q7FMP.js";
|
|
10
10
|
import {
|
|
11
11
|
logger_default
|
|
12
12
|
} from "./chunk-T2TP6ZC6.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
mindDir,
|
|
16
16
|
readRegistry,
|
|
17
17
|
voluteHome
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VDODEQSJ.js";
|
|
19
19
|
import {
|
|
20
20
|
sharedSkills
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MHFAWJCC.js";
|
|
22
22
|
|
|
23
23
|
// packages/daemon/src/lib/skills.ts
|
|
24
24
|
import { createHash } from "crypto";
|
|
@@ -46,7 +46,7 @@ async function initDefaultSkills() {
|
|
|
46
46
|
const config = readGlobalConfig();
|
|
47
47
|
let extensionSkills = [];
|
|
48
48
|
try {
|
|
49
|
-
const { getExtensionStandardSkills } = await import("./extensions-
|
|
49
|
+
const { getExtensionStandardSkills } = await import("./extensions-AGANCIQA.js");
|
|
50
50
|
extensionSkills = getExtensionStandardSkills();
|
|
51
51
|
} catch (err) {
|
|
52
52
|
logger_default.warn("failed to load extension standard skills during init", logger_default.errorData(err));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
setBridgeConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CYUNO4BM.js";
|
|
5
5
|
import {
|
|
6
6
|
readEnv,
|
|
7
7
|
sharedEnvPath,
|
|
8
8
|
writeEnv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6ZAT5PYV.js";
|
|
10
10
|
|
|
11
11
|
// packages/daemon/src/lib/template/import-utils.ts
|
|
12
12
|
import { existsSync, mkdirSync, readdirSync, readFileSync, statSync, writeFileSync } from "fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
publish
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2RQIIKFC.js";
|
|
5
5
|
import {
|
|
6
6
|
logger_default
|
|
7
7
|
} from "./chunk-T2TP6ZC6.js";
|
|
@@ -17,31 +17,30 @@ function getState(mind) {
|
|
|
17
17
|
}
|
|
18
18
|
return state;
|
|
19
19
|
}
|
|
20
|
-
var IGNORED_EVENTS = /* @__PURE__ */ new Set(["
|
|
20
|
+
var IGNORED_EVENTS = /* @__PURE__ */ new Set(["session_start", "usage", "log"]);
|
|
21
|
+
function armIdleTimer(mind, state) {
|
|
22
|
+
if (state.idleTimer) {
|
|
23
|
+
clearTimeout(state.idleTimer);
|
|
24
|
+
}
|
|
25
|
+
state.idleTimer = setTimeout(() => {
|
|
26
|
+
state.idleTimer = null;
|
|
27
|
+
state.active = false;
|
|
28
|
+
publish({
|
|
29
|
+
type: "mind_idle",
|
|
30
|
+
mind,
|
|
31
|
+
summary: `${mind} is idle`
|
|
32
|
+
}).catch((err) => {
|
|
33
|
+
logger_default.error("[mind-activity] failed to publish mind_idle", logger_default.errorData(err));
|
|
34
|
+
});
|
|
35
|
+
}, IDLE_TIMEOUT_MS);
|
|
36
|
+
}
|
|
21
37
|
function onMindEvent(mind, type, channel) {
|
|
22
38
|
const state = getState(mind);
|
|
23
39
|
if (type === "done") {
|
|
24
40
|
state.active = false;
|
|
25
|
-
|
|
26
|
-
clearTimeout(state.idleTimer);
|
|
27
|
-
}
|
|
28
|
-
state.idleTimer = setTimeout(() => {
|
|
29
|
-
state.idleTimer = null;
|
|
30
|
-
if (!state.active) {
|
|
31
|
-
publish({
|
|
32
|
-
type: "mind_idle",
|
|
33
|
-
mind,
|
|
34
|
-
summary: `${mind} is idle`
|
|
35
|
-
}).catch((err) => {
|
|
36
|
-
logger_default.error("[mind-activity] failed to publish mind_idle", logger_default.errorData(err));
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}, IDLE_TIMEOUT_MS);
|
|
41
|
+
armIdleTimer(mind, state);
|
|
40
42
|
} else if (!IGNORED_EVENTS.has(type)) {
|
|
41
|
-
|
|
42
|
-
clearTimeout(state.idleTimer);
|
|
43
|
-
state.idleTimer = null;
|
|
44
|
-
}
|
|
43
|
+
armIdleTimer(mind, state);
|
|
45
44
|
if (!state.active) {
|
|
46
45
|
state.active = true;
|
|
47
46
|
state.channel = channel;
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
LAUNCHD_PLIST_LABEL,
|
|
4
4
|
LAUNCHD_PLIST_PATH,
|
|
5
5
|
USER_SYSTEMD_UNIT
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2I7OKOYV.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveVoluteBin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y2XLASFJ.js";
|
|
10
10
|
|
|
11
11
|
// packages/daemon/src/lib/config/service-install.ts
|
|
12
12
|
import { execFile } from "child_process";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
pollHealthDown,
|
|
9
9
|
readDaemonConfig,
|
|
10
10
|
stopService
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2I7OKOYV.js";
|
|
12
12
|
import {
|
|
13
13
|
voluteSystemDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VDODEQSJ.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/down.ts
|
|
17
17
|
import { existsSync, readFileSync, unlinkSync } from "fs";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
minds,
|
|
4
4
|
schema_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MHFAWJCC.js";
|
|
6
6
|
|
|
7
7
|
// packages/daemon/src/lib/db.ts
|
|
8
8
|
import { chmodSync, existsSync } from "fs";
|
|
@@ -147,6 +147,10 @@ async function setMindTemplateHash(name, hash) {
|
|
|
147
147
|
const db2 = await getDb();
|
|
148
148
|
await db2.update(minds).set({ template_hash: hash }).where(eq(minds.name, name));
|
|
149
149
|
}
|
|
150
|
+
async function setMindTemplate(name, template) {
|
|
151
|
+
const db2 = await getDb();
|
|
152
|
+
await db2.update(minds).set({ template }).where(eq(minds.name, name));
|
|
153
|
+
}
|
|
150
154
|
async function findMind(name) {
|
|
151
155
|
const db2 = await getDb();
|
|
152
156
|
const rows = await db2.select().from(minds).where(eq(minds.name, name));
|
|
@@ -255,6 +259,7 @@ export {
|
|
|
255
259
|
setMindRunning,
|
|
256
260
|
setMindStage,
|
|
257
261
|
setMindTemplateHash,
|
|
262
|
+
setMindTemplate,
|
|
258
263
|
findMind,
|
|
259
264
|
findVariants,
|
|
260
265
|
getBaseName,
|