volute 0.41.0 → 0.42.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/dist/{accept-AHAOUFBK.js → accept-7YVHZKRD.js} +1 -1
- package/dist/{activity-events-EQGBUEZ7.js → activity-events-KFKVRZE3.js} +2 -2
- package/dist/{ai-service-ZHEPFC3U.js → ai-service-3GBOJGUA.js} +11 -3
- package/dist/{archive-LJAXDDEY.js → archive-4PPYF7LL.js} +2 -2
- package/dist/{auth-VYW2ECCE.js → auth-EAASQPTN.js} +3 -3
- package/dist/{bridge-F3ZJEKDN.js → bridge-WPYSOQKR.js} +1 -1
- package/dist/{chat-FO722GU2.js → chat-7DOENBY2.js} +8 -8
- package/dist/{chunk-AXNAK3HT.js → chunk-2YRTSK5K.js} +7 -7
- package/dist/{chunk-VK2YD7VJ.js → chunk-4ZSUUBG5.js} +97 -2
- package/dist/{chunk-W5Z2H3LU.js → chunk-52NMCDBS.js} +290 -71
- package/dist/{chunk-6TPRURK5.js → chunk-5QG36RV7.js} +2 -2
- package/dist/{chunk-GMFCSXWB.js → chunk-62ICA2FF.js} +1 -1
- package/dist/{chunk-6ZAT5PYV.js → chunk-BLOAJLGI.js} +1 -1
- package/dist/{chunk-2I7OKOYV.js → chunk-CGPESELY.js} +2 -2
- package/dist/{chunk-FEQPNCXB.js → chunk-E7XWFDZL.js} +1 -1
- package/dist/{chunk-V67XMNGP.js → chunk-G777ME4L.js} +2 -2
- package/dist/{chunk-Y2XLASFJ.js → chunk-GN52E2DP.js} +1 -1
- package/dist/{chunk-ZX7EAV5J.js → chunk-IFNSAOA4.js} +9 -2
- package/dist/{chunk-VDODEQSJ.js → chunk-IUZ3EV2D.js} +4 -0
- package/dist/{chunk-JIGVTFIR.js → chunk-JLX3GC7T.js} +43 -14
- package/dist/{chunk-2RQIIKFC.js → chunk-K547QOCM.js} +1 -1
- package/dist/{chunk-OQ7UEW67.js → chunk-KUJVCDWT.js} +2 -2
- package/dist/chunk-KZAL7HEQ.js +141 -0
- package/dist/{chunk-GSOEUMVO.js → chunk-M2YMNTHK.js} +1 -1
- package/dist/{chunk-MU2B7A3L.js → chunk-OEJFZHZZ.js} +1 -1
- package/dist/{chunk-SWY4DJ67.js → chunk-OSUF75I7.js} +2 -2
- package/dist/{chunk-WSRGS4XP.js → chunk-QLWG3C2Z.js} +10 -0
- package/dist/{chunk-UU3Q65US.js → chunk-QMJCNZ6C.js} +1 -1
- package/dist/{chunk-CYUNO4BM.js → chunk-QPTQKGGF.js} +1 -1
- package/dist/{chunk-FU5YDH6Q.js → chunk-RKBYFLOR.js} +3 -3
- package/dist/{chunk-4ED2DBNC.js → chunk-TFBQESH7.js} +1 -1
- package/dist/{chunk-YATR5BXD.js → chunk-TKOWXAHG.js} +4 -4
- package/dist/{chunk-PP5CGT2P.js → chunk-VBKRZCR7.js} +1 -1
- package/dist/{chunk-YN6ISG7A.js → chunk-VSUZE2PD.js} +14 -13
- package/dist/{chunk-U7UASV36.js → chunk-WR7CSHQ4.js} +43 -10
- package/dist/{chunk-2R4JIZCB.js → chunk-YLTIEEVL.js} +2 -2
- package/dist/cli.js +22 -22
- package/dist/{clock-BMLJ2TR6.js → clock-HP2TGMG5.js} +3 -3
- package/dist/{cloud-sync-GV6O2HN2.js → cloud-sync-3OPHFOYQ.js} +17 -17
- package/dist/{config-QB7W3Z7P.js → config-W7MS3PWY.js} +3 -3
- package/dist/{conversations-KW7IYESK.js → conversations-FSZCUUYO.js} +3 -3
- package/dist/{create-C3BBFYV7.js → create-CJ2SR4EU.js} +1 -1
- package/dist/{create-CTPXWFTL.js → create-YNBZWD34.js} +2 -2
- package/dist/{daemon-client-2MIPKY3E.js → daemon-client-EWDPOOHC.js} +3 -1
- package/dist/{daemon-restart-W47YDE5E.js → daemon-restart-RAKGR56L.js} +7 -7
- package/dist/daemon.js +258 -302
- package/dist/{db-D4FVCA5I.js → db-ZJJJYJBU.js} +1 -1
- package/dist/{delete-NLXES2C7.js → delete-4ND5PLE7.js} +1 -1
- package/dist/delivery-manager-5Y35DOX3.js +33 -0
- package/dist/{delivery-router-Y66OXJPM.js → delivery-router-FDBZJQOY.js} +2 -2
- package/dist/{down-JVHNXOFU.js → down-DS6WCT34.js} +5 -5
- package/dist/echo-text-YP3JVLNA.js +32 -0
- package/dist/{env-IQ6Q2333.js → env-XX2MBZCZ.js} +1 -1
- package/dist/{exec-R2WWZ6FH.js → exec-ZDD7NEB4.js} +3 -3
- package/dist/{export-ZZ5WWBUH.js → export-5DOQV2WM.js} +3 -3
- package/dist/{extension-LZYHBNLV.js → extension-BCFYXI7A.js} +4 -1
- package/dist/{extensions-AGANCIQA.js → extensions-BTNIUS5J.js} +17 -17
- package/dist/{files-Q2Z4LQZP.js → files-K2MEMV3W.js} +3 -3
- package/dist/{import-MFYCBS4K.js → import-V6QEHMPQ.js} +7 -7
- package/dist/{isolation-7F3MA4G7.js → isolation-F7ABZMDA.js} +2 -2
- package/dist/{join-6SZCA5FX.js → join-4S3KT7NE.js} +1 -1
- package/dist/{list-KHJZJPEJ.js → list-XJB5WII6.js} +1 -1
- package/dist/{login-WY3DADVB.js → login-PHMTLNUF.js} +2 -2
- package/dist/{login-GYTH67ES.js → login-YWD6PUOT.js} +1 -1
- package/dist/{logout-TFZHWNVL.js → logout-BP3R3CAA.js} +2 -2
- package/dist/{logout-YHQLOFLR.js → logout-Q2WICH4V.js} +1 -1
- package/dist/message-delivery-FPIL26WV.js +41 -0
- package/dist/{mind-XIKEPJNS.js → mind-VXV6ZYZY.js} +18 -18
- package/dist/{mind-activity-tracker-RSIWUUJK.js → mind-activity-tracker-HWVFE533.js} +3 -3
- package/dist/{mind-history-WHCNZ6I5.js → mind-history-TDUQFYAG.js} +1 -1
- package/dist/{mind-list-H3HC2ZRG.js → mind-list-2T353Q5G.js} +1 -1
- package/dist/mind-manager-OYOIBGK6.js +33 -0
- package/dist/{mind-profile-7VYRJGFZ.js → mind-profile-2HHR7LZ7.js} +1 -1
- package/dist/mind-service-PR4PR4XI.js +37 -0
- package/dist/{mind-sleep-ZL5ZXFTM.js → mind-sleep-4NXV4J4U.js} +1 -1
- package/dist/{mind-status-ZWULKOUO.js → mind-status-CG66OXDK.js} +1 -1
- package/dist/{mind-wake-HK5ORGUK.js → mind-wake-TNB54DBR.js} +1 -1
- package/dist/{package-2X7UNSTQ.js → package-UWH5IM76.js} +2 -1
- package/dist/{read-CP7MYMJQ.js → read-JLR4NQXU.js} +1 -1
- package/dist/{register-XOBFEMI4.js → register-IQ2M4UO6.js} +1 -1
- package/dist/{registry-RAXNFN7K.js → registry-MDLNPTTI.js} +3 -1
- package/dist/{reject-43AGXB6B.js → reject-N2D4CZND.js} +1 -1
- package/dist/{restart-O5QIYQJT.js → restart-43A5MBGV.js} +1 -1
- package/dist/{sandbox-O3GZTS7J.js → sandbox-E7RWZDVG.js} +7 -3
- package/dist/scheduler-KXUY2I7W.js +31 -0
- package/dist/{seed-I4CNKTKZ.js → seed-YQAOIXIY.js} +1 -1
- package/dist/{seed-check-HZPVFJKZ.js → seed-check-N5ALJBT6.js} +1 -1
- package/dist/{seed-cmd-YTQYWCZF.js → seed-cmd-7KJS4LCA.js} +3 -3
- package/dist/{seed-create-MDBTVADS.js → seed-create-Z7NDRRGP.js} +4 -4
- package/dist/{seed-sprout-N6O5FBPY.js → seed-sprout-PYDMVVUL.js} +8 -8
- package/dist/{send-5XA7LRNB.js → send-KQECN2EL.js} +3 -3
- package/dist/{service-AY5TGWJX.js → service-Q5OVY5AK.js} +4 -4
- package/dist/{service-install-NLGAVTQS.js → service-install-GTDUHP6R.js} +5 -5
- package/dist/{setup-3434PQ5Q.js → setup-IYOUPCIK.js} +6 -2
- package/dist/{setup-47NBOCZL.js → setup-VARJ7N6Z.js} +7 -7
- package/dist/{skill-ICN6Y2ZF.js → skill-E43BI34Y.js} +1 -1
- package/dist/skills/imagegen/scripts/imagegen.ts +1 -1
- package/dist/{skills-YTLBAF32.js → skills-YBCYVOPQ.js} +5 -5
- package/dist/sleep-manager-FJLASHHW.js +35 -0
- package/dist/{spirit-KTBHLULO.js → spirit-NJFAY5CZ.js} +8 -8
- package/dist/{split-5YBEQTBF.js → split-5IBUODEE.js} +1 -1
- package/dist/{sprout-4ZUJUNDQ.js → sprout-B27C2WGE.js} +1 -1
- package/dist/{src-OYWRPLC6.js → src-L2Z7X5UT.js} +5 -8
- package/dist/{src-4LFGGNW7.js → src-TJ7RBU5H.js} +2 -12
- package/dist/{start-LMXXRR3X.js → start-5AYFGNS7.js} +1 -1
- package/dist/{status-VMOZUIZ2.js → status-ECZHHSY5.js} +5 -5
- package/dist/{stop-TWDKVEUX.js → stop-WJ6IG6OK.js} +1 -1
- package/dist/system-chat-P6KVGW4T.js +35 -0
- package/dist/{systems-Y2WZV2K4.js → systems-5MA57Q7G.js} +4 -4
- package/dist/{tailscale-PK3AI5EV.js → tailscale-TIRTGM6E.js} +1 -1
- package/dist/{template-hash-JARTCRGS.js → template-hash-446HHH5V.js} +2 -2
- package/dist/{turn-tracker-SZBSL7LK.js → turn-tracker-W4TASMR7.js} +4 -4
- package/dist/{up-VGVPOB6J.js → up-POJX6S5Y.js} +6 -6
- package/dist/{update-3ANTQO54.js → update-OPR4KU4M.js} +5 -5
- package/dist/{update-check-4O6DKUOF.js → update-check-OG27AL4Z.js} +2 -2
- package/dist/{upgrade-RXFZR5FI.js → upgrade-QB7AHIKX.js} +1 -1
- package/dist/{version-notify-SSNAWZMX.js → version-notify-TCKAX7ZA.js} +19 -19
- package/dist/web-assets/assets/{index-DaUp9iE2.js → index-CrFAsfiE.js} +10 -10
- package/dist/web-assets/assets/{index-DqHSW9Fr.css → index-D7udpBCx.css} +1 -1
- package/dist/web-assets/index.html +2 -2
- package/package.json +2 -1
- package/packages/extensions/plan/skills/plan/scripts/plan-hook.sh +2 -2
- package/templates/_base/.init/.config/hooks/pre-prompt/session-activity.ts +3 -3
- package/templates/_base/.init/.local/hooks/pre-prompt/notices.ts +3 -3
- package/templates/_base/.init/.local/hooks/pre-prompt/session-activity.ts +3 -3
- package/templates/_base/src/lib/daemon-client.ts +1 -1
- package/templates/_base/src/lib/volute-server.ts +1 -1
- package/templates/codex/src/server.ts +8 -2
- package/templates/pi/src/lib/resolve-model.ts +50 -12
- package/dist/chunk-N64Q7FMP.js +0 -70
- package/dist/delivery-manager-EB52CQ5X.js +0 -33
- package/dist/echo-text-QVPS6QDM.js +0 -32
- package/dist/message-delivery-X4CZE2L6.js +0 -41
- package/dist/mind-manager-VU3RGCXD.js +0 -31
- package/dist/mind-service-L7LMMDYJ.js +0 -37
- package/dist/scheduler-SXELVRWO.js +0 -31
- package/dist/sleep-manager-T3AXQB3R.js +0 -35
- package/dist/system-chat-HCPHUQGI.js +0 -35
|
@@ -4,7 +4,7 @@ import "./chunk-K3NQKI34.js";
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "volute",
|
|
7
|
-
version: "0.
|
|
7
|
+
version: "0.42.0",
|
|
8
8
|
description: "CLI for creating and managing self-modifying AI minds powered by the Claude Agent SDK",
|
|
9
9
|
type: "module",
|
|
10
10
|
license: "MIT",
|
|
@@ -84,6 +84,7 @@ var package_default = {
|
|
|
84
84
|
libsql: "^0.5.29",
|
|
85
85
|
replicate: "^1.4.0",
|
|
86
86
|
telegraf: "^4.16.3",
|
|
87
|
+
undici: "^6.24.1",
|
|
87
88
|
zod: "^4.4.3"
|
|
88
89
|
},
|
|
89
90
|
devDependencies: {
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
findVariants,
|
|
11
11
|
getBaseName,
|
|
12
12
|
mindDir,
|
|
13
|
+
mindTmpDir,
|
|
13
14
|
nextPort,
|
|
14
15
|
readAllMinds,
|
|
15
16
|
readRegistry,
|
|
@@ -25,7 +26,7 @@ import {
|
|
|
25
26
|
voluteHome,
|
|
26
27
|
voluteSystemDir,
|
|
27
28
|
voluteUserHome
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IUZ3EV2D.js";
|
|
29
30
|
import "./chunk-MHFAWJCC.js";
|
|
30
31
|
import "./chunk-K3NQKI34.js";
|
|
31
32
|
export {
|
|
@@ -39,6 +40,7 @@ export {
|
|
|
39
40
|
findVariants,
|
|
40
41
|
getBaseName,
|
|
41
42
|
mindDir,
|
|
43
|
+
mindTmpDir,
|
|
42
44
|
nextPort,
|
|
43
45
|
readAllMinds,
|
|
44
46
|
readRegistry,
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
+
SandboxUnavailableError,
|
|
3
4
|
buildSandboxReadConfig,
|
|
4
5
|
initSandbox,
|
|
5
6
|
isSandboxEnabled,
|
|
7
|
+
isSandboxOptional,
|
|
6
8
|
shellEscape,
|
|
7
9
|
wrapForSandbox
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-WR7CSHQ4.js";
|
|
11
|
+
import "./chunk-KZAL7HEQ.js";
|
|
10
12
|
import "./chunk-T2TP6ZC6.js";
|
|
11
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-IUZ3EV2D.js";
|
|
12
14
|
import "./chunk-MHFAWJCC.js";
|
|
13
15
|
import "./chunk-K3NQKI34.js";
|
|
14
16
|
export {
|
|
17
|
+
SandboxUnavailableError,
|
|
15
18
|
buildSandboxReadConfig,
|
|
16
19
|
initSandbox,
|
|
17
20
|
isSandboxEnabled,
|
|
21
|
+
isSandboxOptional,
|
|
18
22
|
shellEscape,
|
|
19
23
|
wrapForSandbox
|
|
20
24
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
Scheduler,
|
|
4
|
+
getScheduler,
|
|
5
|
+
initScheduler
|
|
6
|
+
} from "./chunk-52NMCDBS.js";
|
|
7
|
+
import "./chunk-BLOAJLGI.js";
|
|
8
|
+
import "./chunk-VSUZE2PD.js";
|
|
9
|
+
import "./chunk-QLWG3C2Z.js";
|
|
10
|
+
import "./chunk-JLX3GC7T.js";
|
|
11
|
+
import "./chunk-YLTIEEVL.js";
|
|
12
|
+
import "./chunk-CU6OFXMM.js";
|
|
13
|
+
import "./chunk-WR7CSHQ4.js";
|
|
14
|
+
import "./chunk-VBKRZCR7.js";
|
|
15
|
+
import "./chunk-62ICA2FF.js";
|
|
16
|
+
import "./chunk-TKOWXAHG.js";
|
|
17
|
+
import "./chunk-GN52E2DP.js";
|
|
18
|
+
import "./chunk-TFBQESH7.js";
|
|
19
|
+
import "./chunk-4ZSUUBG5.js";
|
|
20
|
+
import "./chunk-KZAL7HEQ.js";
|
|
21
|
+
import "./chunk-5QG36RV7.js";
|
|
22
|
+
import "./chunk-K547QOCM.js";
|
|
23
|
+
import "./chunk-T2TP6ZC6.js";
|
|
24
|
+
import "./chunk-IUZ3EV2D.js";
|
|
25
|
+
import "./chunk-MHFAWJCC.js";
|
|
26
|
+
import "./chunk-K3NQKI34.js";
|
|
27
|
+
export {
|
|
28
|
+
Scheduler,
|
|
29
|
+
getScheduler,
|
|
30
|
+
initScheduler
|
|
31
|
+
};
|
|
@@ -4,7 +4,7 @@ import "./chunk-K3NQKI34.js";
|
|
|
4
4
|
// packages/cli/src/commands/seed.ts
|
|
5
5
|
async function run(args) {
|
|
6
6
|
console.error("Note: `volute mind seed` is now `volute seed create`");
|
|
7
|
-
await import("./seed-create-
|
|
7
|
+
await import("./seed-create-Z7NDRRGP.js").then((m) => m.run(args));
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
10
10
|
run
|
|
@@ -13,7 +13,7 @@ var cmd = command({
|
|
|
13
13
|
flags: {},
|
|
14
14
|
run: async ({ args }) => {
|
|
15
15
|
const name = args.name;
|
|
16
|
-
const { daemonFetch } = await import("./daemon-client-
|
|
16
|
+
const { daemonFetch } = await import("./daemon-client-EWDPOOHC.js");
|
|
17
17
|
const res = await daemonFetch(`/api/minds/${encodeURIComponent(name)}/seed-check`);
|
|
18
18
|
if (!res.ok) {
|
|
19
19
|
if (res.status === 404) {
|
|
@@ -12,15 +12,15 @@ var cmd = subcommands({
|
|
|
12
12
|
commands: {
|
|
13
13
|
create: {
|
|
14
14
|
description: "Plant a new seed",
|
|
15
|
-
run: (args) => import("./seed-create-
|
|
15
|
+
run: (args) => import("./seed-create-Z7NDRRGP.js").then((m) => m.run(args))
|
|
16
16
|
},
|
|
17
17
|
sprout: {
|
|
18
18
|
description: "Complete orientation and become a full mind",
|
|
19
|
-
run: (args) => import("./seed-sprout-
|
|
19
|
+
run: (args) => import("./seed-sprout-PYDMVVUL.js").then((m) => m.run(args))
|
|
20
20
|
},
|
|
21
21
|
check: {
|
|
22
22
|
description: "Check seed readiness",
|
|
23
|
-
run: (args) => import("./seed-check-
|
|
23
|
+
run: (args) => import("./seed-check-N5ALJBT6.js").then((m) => m.run(args))
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
});
|
|
@@ -47,19 +47,19 @@ var cmd = command({
|
|
|
47
47
|
const name = args.name;
|
|
48
48
|
const skills = flags.skills === "none" ? [] : flags.skills ? flags.skills.split(",") : void 0;
|
|
49
49
|
const createdBy = flags["created-by"];
|
|
50
|
-
const { daemonFetch } = await import("./daemon-client-
|
|
50
|
+
const { daemonFetch } = await import("./daemon-client-EWDPOOHC.js");
|
|
51
51
|
const { getClient, urlOf } = await import("./api-client-LC5YRA32.js");
|
|
52
52
|
const client = getClient();
|
|
53
53
|
let model = flags.model;
|
|
54
54
|
let template = flags.template;
|
|
55
55
|
if (!template) {
|
|
56
|
-
const { resolveTemplate } = await import("./ai-service-
|
|
56
|
+
const { resolveTemplate } = await import("./ai-service-3GBOJGUA.js");
|
|
57
57
|
template = await resolveTemplate(model);
|
|
58
58
|
}
|
|
59
59
|
if (template !== "claude" && !model) {
|
|
60
60
|
if (process.env.VOLUTE_MIND || !process.stdin.isTTY) {
|
|
61
|
-
const { getSpiritModel } = await import("./spirit-
|
|
62
|
-
const { qualifyModelId } = await import("./ai-service-
|
|
61
|
+
const { getSpiritModel } = await import("./spirit-NJFAY5CZ.js");
|
|
62
|
+
const { qualifyModelId } = await import("./ai-service-3GBOJGUA.js");
|
|
63
63
|
const spiritModel = getSpiritModel();
|
|
64
64
|
if (spiritModel) {
|
|
65
65
|
model = template === "pi" ? qualifyModelId(spiritModel) : spiritModel;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
daemonFetch
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IFNSAOA4.js";
|
|
5
5
|
import {
|
|
6
6
|
command
|
|
7
7
|
} from "./chunk-TXSA4Q3V.js";
|
|
8
8
|
import "./chunk-O7IGP7ZW.js";
|
|
9
9
|
import {
|
|
10
10
|
getStandardSkillsWithExtensions
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-JLX3GC7T.js";
|
|
12
|
+
import "./chunk-GN52E2DP.js";
|
|
13
|
+
import "./chunk-TFBQESH7.js";
|
|
14
|
+
import "./chunk-KZAL7HEQ.js";
|
|
15
15
|
import "./chunk-T2TP6ZC6.js";
|
|
16
16
|
import {
|
|
17
17
|
mindDir
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IUZ3EV2D.js";
|
|
19
19
|
import "./chunk-MHFAWJCC.js";
|
|
20
20
|
import "./chunk-K3NQKI34.js";
|
|
21
21
|
|
|
@@ -61,7 +61,7 @@ var cmd = command({
|
|
|
61
61
|
console.error("Write your MEMORY.md before sprouting.");
|
|
62
62
|
process.exit(1);
|
|
63
63
|
}
|
|
64
|
-
const { isImagegenEnabled } = await import("./setup-
|
|
64
|
+
const { isImagegenEnabled } = await import("./setup-IYOUPCIK.js");
|
|
65
65
|
if (isImagegenEnabled()) {
|
|
66
66
|
const { readVoluteConfig } = await import("./volute-config-TS62GS6A.js");
|
|
67
67
|
const config = readVoluteConfig(dir);
|
|
@@ -74,7 +74,7 @@ var cmd = command({
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
const { getClient, urlOf } = await import("./api-client-LC5YRA32.js");
|
|
77
|
-
const { mindSkillsDir } = await import("./skills-
|
|
77
|
+
const { mindSkillsDir } = await import("./skills-YBCYVOPQ.js");
|
|
78
78
|
const client = getClient();
|
|
79
79
|
const failedSkills = [];
|
|
80
80
|
for (const skillId of getStandardSkillsWithExtensions()) {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-5T5YMX6S.js";
|
|
8
8
|
import {
|
|
9
9
|
daemonFetch
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IFNSAOA4.js";
|
|
11
11
|
import {
|
|
12
12
|
getClient,
|
|
13
13
|
urlOf
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
import "./chunk-O7IGP7ZW.js";
|
|
19
19
|
import {
|
|
20
20
|
formatFileSize
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-M2YMNTHK.js";
|
|
22
|
+
import "./chunk-IUZ3EV2D.js";
|
|
23
23
|
import "./chunk-MHFAWJCC.js";
|
|
24
24
|
import "./chunk-K3NQKI34.js";
|
|
25
25
|
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
SYSTEM_LAUNCHD_PLIST_PATH,
|
|
10
10
|
SYSTEM_SERVICE_PATH,
|
|
11
11
|
USER_SYSTEMD_UNIT
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-CGPESELY.js";
|
|
13
|
+
import "./chunk-GN52E2DP.js";
|
|
14
|
+
import "./chunk-TFBQESH7.js";
|
|
15
|
+
import "./chunk-IUZ3EV2D.js";
|
|
16
16
|
import "./chunk-MHFAWJCC.js";
|
|
17
17
|
import "./chunk-K3NQKI34.js";
|
|
18
18
|
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
generateUserPlist,
|
|
4
4
|
generateUserUnit,
|
|
5
5
|
installUserService
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OSUF75I7.js";
|
|
7
|
+
import "./chunk-CGPESELY.js";
|
|
8
|
+
import "./chunk-GN52E2DP.js";
|
|
9
|
+
import "./chunk-TFBQESH7.js";
|
|
10
|
+
import "./chunk-IUZ3EV2D.js";
|
|
11
11
|
import "./chunk-MHFAWJCC.js";
|
|
12
12
|
import "./chunk-K3NQKI34.js";
|
|
13
13
|
export {
|
|
@@ -4,11 +4,13 @@ import {
|
|
|
4
4
|
configPath,
|
|
5
5
|
isImagegenEnabled,
|
|
6
6
|
isSetupComplete,
|
|
7
|
+
migrateConfigSecrets,
|
|
7
8
|
migrateSetupCompleted,
|
|
8
9
|
readGlobalConfig,
|
|
10
|
+
secretsPath,
|
|
9
11
|
writeGlobalConfig
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-KZAL7HEQ.js";
|
|
13
|
+
import "./chunk-IUZ3EV2D.js";
|
|
12
14
|
import "./chunk-MHFAWJCC.js";
|
|
13
15
|
import "./chunk-K3NQKI34.js";
|
|
14
16
|
export {
|
|
@@ -16,7 +18,9 @@ export {
|
|
|
16
18
|
configPath,
|
|
17
19
|
isImagegenEnabled,
|
|
18
20
|
isSetupComplete,
|
|
21
|
+
migrateConfigSecrets,
|
|
19
22
|
migrateSetupCompleted,
|
|
20
23
|
readGlobalConfig,
|
|
24
|
+
secretsPath,
|
|
21
25
|
writeGlobalConfig
|
|
22
26
|
};
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
import "./chunk-O7IGP7ZW.js";
|
|
9
9
|
import {
|
|
10
10
|
installUserService
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OSUF75I7.js";
|
|
12
12
|
import {
|
|
13
13
|
LAUNCHD_PLIST_LABEL,
|
|
14
14
|
SYSTEM_LAUNCHD_PLIST_PATH,
|
|
15
15
|
SYSTEM_SERVICE_PATH
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CGPESELY.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveVoluteBin
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GN52E2DP.js";
|
|
20
20
|
import {
|
|
21
21
|
ensureVoluteGroup
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TFBQESH7.js";
|
|
23
23
|
import {
|
|
24
24
|
readGlobalConfig,
|
|
25
25
|
writeGlobalConfig
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-KZAL7HEQ.js";
|
|
27
|
+
import "./chunk-IUZ3EV2D.js";
|
|
28
28
|
import "./chunk-MHFAWJCC.js";
|
|
29
29
|
import "./chunk-K3NQKI34.js";
|
|
30
30
|
|
|
@@ -223,7 +223,7 @@ async function startDaemonAndOpenBrowser(port, host) {
|
|
|
223
223
|
const url = `http://${displayHost === "0.0.0.0" || displayHost === "::" ? "localhost" : displayHost}:${displayPort}`;
|
|
224
224
|
console.log("\nStarting daemon...");
|
|
225
225
|
try {
|
|
226
|
-
const { run: runUp } = await import("./up-
|
|
226
|
+
const { run: runUp } = await import("./up-POJX6S5Y.js");
|
|
227
227
|
await runUp([
|
|
228
228
|
...port != null ? ["--port", String(port)] : [],
|
|
229
229
|
...host ? ["--host", host] : []
|
|
@@ -41,7 +41,7 @@ function getDaemonUrl(): string | undefined {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
function getDaemonToken(): string | undefined {
|
|
44
|
-
return process.env.
|
|
44
|
+
return process.env.VOLUTE_MIND_TOKEN;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/** Returns null only when the daemon is unreachable or imagegen is not configured. */
|
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
syncBuiltinSkills,
|
|
28
28
|
uninstallSkill,
|
|
29
29
|
updateSkill
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-JLX3GC7T.js";
|
|
31
|
+
import "./chunk-GN52E2DP.js";
|
|
32
|
+
import "./chunk-TFBQESH7.js";
|
|
33
|
+
import "./chunk-KZAL7HEQ.js";
|
|
34
34
|
import "./chunk-T2TP6ZC6.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-IUZ3EV2D.js";
|
|
36
36
|
import "./chunk-MHFAWJCC.js";
|
|
37
37
|
import "./chunk-K3NQKI34.js";
|
|
38
38
|
export {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
SleepManager,
|
|
4
|
+
getSleepManager,
|
|
5
|
+
getSleepManagerIfReady,
|
|
6
|
+
initSleepManager,
|
|
7
|
+
matchesGlob
|
|
8
|
+
} from "./chunk-52NMCDBS.js";
|
|
9
|
+
import "./chunk-BLOAJLGI.js";
|
|
10
|
+
import "./chunk-VSUZE2PD.js";
|
|
11
|
+
import "./chunk-QLWG3C2Z.js";
|
|
12
|
+
import "./chunk-JLX3GC7T.js";
|
|
13
|
+
import "./chunk-YLTIEEVL.js";
|
|
14
|
+
import "./chunk-CU6OFXMM.js";
|
|
15
|
+
import "./chunk-WR7CSHQ4.js";
|
|
16
|
+
import "./chunk-VBKRZCR7.js";
|
|
17
|
+
import "./chunk-62ICA2FF.js";
|
|
18
|
+
import "./chunk-TKOWXAHG.js";
|
|
19
|
+
import "./chunk-GN52E2DP.js";
|
|
20
|
+
import "./chunk-TFBQESH7.js";
|
|
21
|
+
import "./chunk-4ZSUUBG5.js";
|
|
22
|
+
import "./chunk-KZAL7HEQ.js";
|
|
23
|
+
import "./chunk-5QG36RV7.js";
|
|
24
|
+
import "./chunk-K547QOCM.js";
|
|
25
|
+
import "./chunk-T2TP6ZC6.js";
|
|
26
|
+
import "./chunk-IUZ3EV2D.js";
|
|
27
|
+
import "./chunk-MHFAWJCC.js";
|
|
28
|
+
import "./chunk-K3NQKI34.js";
|
|
29
|
+
export {
|
|
30
|
+
SleepManager,
|
|
31
|
+
getSleepManager,
|
|
32
|
+
getSleepManagerIfReady,
|
|
33
|
+
initSleepManager,
|
|
34
|
+
matchesGlob
|
|
35
|
+
};
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
getSpiritModel,
|
|
5
5
|
spiritDir,
|
|
6
6
|
syncSpiritTemplate
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-VSUZE2PD.js";
|
|
8
|
+
import "./chunk-QLWG3C2Z.js";
|
|
9
|
+
import "./chunk-JLX3GC7T.js";
|
|
10
10
|
import "./chunk-CU6OFXMM.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-GN52E2DP.js";
|
|
12
|
+
import "./chunk-TFBQESH7.js";
|
|
13
|
+
import "./chunk-4ZSUUBG5.js";
|
|
14
|
+
import "./chunk-KZAL7HEQ.js";
|
|
15
15
|
import "./chunk-T2TP6ZC6.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-IUZ3EV2D.js";
|
|
17
17
|
import "./chunk-MHFAWJCC.js";
|
|
18
18
|
import "./chunk-K3NQKI34.js";
|
|
19
19
|
export {
|
|
@@ -26,7 +26,7 @@ var cmd = command({
|
|
|
26
26
|
const { soul, port, json } = flags;
|
|
27
27
|
const noStart = flags["no-start"];
|
|
28
28
|
if (!json) console.log("Creating variant via daemon...");
|
|
29
|
-
const { daemonFetch } = await import("./daemon-client-
|
|
29
|
+
const { daemonFetch } = await import("./daemon-client-EWDPOOHC.js");
|
|
30
30
|
const { getClient, urlOf } = await import("./api-client-LC5YRA32.js");
|
|
31
31
|
const client = getClient();
|
|
32
32
|
const res = await daemonFetch(
|
|
@@ -4,7 +4,7 @@ import "./chunk-K3NQKI34.js";
|
|
|
4
4
|
// packages/cli/src/commands/sprout.ts
|
|
5
5
|
async function run(args) {
|
|
6
6
|
console.error("Note: `volute mind sprout` is now `volute seed sprout`");
|
|
7
|
-
await import("./seed-sprout-
|
|
7
|
+
await import("./seed-sprout-PYDMVVUL.js").then((m) => m.run(args));
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
10
10
|
run
|
|
@@ -515,21 +515,18 @@ function createRoutes(ctx) {
|
|
|
515
515
|
const note = await getNote(db, getUser, getUserByUsername, author, slug);
|
|
516
516
|
if (!note) return c.json({ error: "Note not found" }, 404);
|
|
517
517
|
return c.json(note);
|
|
518
|
-
}).put("/:author/:slug", async (c) => {
|
|
519
|
-
const actor = resolveUserId(c);
|
|
520
|
-
if (!actor) return c.json({ error: "Unauthorized" }, 401);
|
|
518
|
+
}).put("/:author/:slug", ctx.requireSelf("author"), async (c) => {
|
|
521
519
|
const { author, slug } = c.req.param();
|
|
522
|
-
if (actor.username !== author) return c.json({ error: "Forbidden" }, 403);
|
|
523
520
|
const body = await parseJson(c);
|
|
524
521
|
if (!body) return c.json({ error: "Invalid JSON body" }, 400);
|
|
525
522
|
const note = await updateNote(db, getUser, getUserByUsername, author, slug, body);
|
|
526
523
|
if (!note) return c.json({ error: "Note not found" }, 404);
|
|
527
524
|
return c.json(note);
|
|
528
|
-
}).delete("/:author/:slug", async (c) => {
|
|
529
|
-
const actor = resolveUserId(c);
|
|
530
|
-
if (!actor) return c.json({ error: "Unauthorized" }, 401);
|
|
525
|
+
}).delete("/:author/:slug", ctx.requireSelf("author"), async (c) => {
|
|
531
526
|
const { author, slug } = c.req.param();
|
|
532
|
-
const
|
|
527
|
+
const authorUser = await getUserByUsername(author);
|
|
528
|
+
if (!authorUser) return c.json({ error: "Note not found" }, 404);
|
|
529
|
+
const deleted = await deleteNote(db, getUserByUsername, author, slug, authorUser.id);
|
|
533
530
|
if (!deleted) return c.json({ error: "Note not found or not authorized" }, 404);
|
|
534
531
|
return c.json({ ok: true });
|
|
535
532
|
}).post("/:author/:slug/reactions", async (c) => {
|
|
@@ -2028,13 +2028,8 @@ function createRoutes(ctx) {
|
|
|
2028
2028
|
color: "purple"
|
|
2029
2029
|
}))
|
|
2030
2030
|
);
|
|
2031
|
-
}).put("/publish/:name", async (c) => {
|
|
2032
|
-
const user = ctx.resolveUser(c);
|
|
2033
|
-
if (!user) return c.json({ error: "Unauthorized" }, 401);
|
|
2031
|
+
}).put("/publish/:name", ctx.requireSelf("name"), async (c) => {
|
|
2034
2032
|
const name = c.req.param("name");
|
|
2035
|
-
if (user.role !== "admin" && user.username !== name) {
|
|
2036
|
-
return c.json({ error: "Forbidden" }, 403);
|
|
2037
|
-
}
|
|
2038
2033
|
const config = ctx.getSystemsConfig();
|
|
2039
2034
|
if (!config) return c.json({ error: "Not connected to volute.systems" }, 400);
|
|
2040
2035
|
const body = await c.req.text();
|
|
@@ -2052,13 +2047,8 @@ function createRoutes(ctx) {
|
|
|
2052
2047
|
} catch (err) {
|
|
2053
2048
|
return c.json({ error: `Connection failed: ${err.message}` }, 502);
|
|
2054
2049
|
}
|
|
2055
|
-
}).get("/status/:name", async (c) => {
|
|
2056
|
-
const user = ctx.resolveUser(c);
|
|
2057
|
-
if (!user) return c.json({ error: "Unauthorized" }, 401);
|
|
2050
|
+
}).get("/status/:name", ctx.requireSelf("name"), async (c) => {
|
|
2058
2051
|
const name = c.req.param("name");
|
|
2059
|
-
if (user.role !== "admin" && user.username !== name) {
|
|
2060
|
-
return c.json({ error: "Forbidden" }, 403);
|
|
2061
|
-
}
|
|
2062
2052
|
const config = ctx.getSystemsConfig();
|
|
2063
2053
|
if (!config) return c.json({ error: "Not connected to volute.systems" }, 400);
|
|
2064
2054
|
try {
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
getServiceMode,
|
|
14
14
|
modeLabel,
|
|
15
15
|
readDaemonConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CGPESELY.js";
|
|
17
17
|
import {
|
|
18
18
|
checkForUpdate
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-E7XWFDZL.js";
|
|
20
|
+
import "./chunk-GN52E2DP.js";
|
|
21
|
+
import "./chunk-TFBQESH7.js";
|
|
22
|
+
import "./chunk-IUZ3EV2D.js";
|
|
23
23
|
import "./chunk-MHFAWJCC.js";
|
|
24
24
|
import "./chunk-K3NQKI34.js";
|
|
25
25
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ensureSystemDM,
|
|
4
|
+
generateSystemReply,
|
|
5
|
+
resetSystemDMCache,
|
|
6
|
+
sendSystemMessage,
|
|
7
|
+
sendSystemMessageDirect
|
|
8
|
+
} from "./chunk-52NMCDBS.js";
|
|
9
|
+
import "./chunk-BLOAJLGI.js";
|
|
10
|
+
import "./chunk-VSUZE2PD.js";
|
|
11
|
+
import "./chunk-QLWG3C2Z.js";
|
|
12
|
+
import "./chunk-JLX3GC7T.js";
|
|
13
|
+
import "./chunk-YLTIEEVL.js";
|
|
14
|
+
import "./chunk-CU6OFXMM.js";
|
|
15
|
+
import "./chunk-WR7CSHQ4.js";
|
|
16
|
+
import "./chunk-VBKRZCR7.js";
|
|
17
|
+
import "./chunk-62ICA2FF.js";
|
|
18
|
+
import "./chunk-TKOWXAHG.js";
|
|
19
|
+
import "./chunk-GN52E2DP.js";
|
|
20
|
+
import "./chunk-TFBQESH7.js";
|
|
21
|
+
import "./chunk-4ZSUUBG5.js";
|
|
22
|
+
import "./chunk-KZAL7HEQ.js";
|
|
23
|
+
import "./chunk-5QG36RV7.js";
|
|
24
|
+
import "./chunk-K547QOCM.js";
|
|
25
|
+
import "./chunk-T2TP6ZC6.js";
|
|
26
|
+
import "./chunk-IUZ3EV2D.js";
|
|
27
|
+
import "./chunk-MHFAWJCC.js";
|
|
28
|
+
import "./chunk-K3NQKI34.js";
|
|
29
|
+
export {
|
|
30
|
+
ensureSystemDM,
|
|
31
|
+
generateSystemReply,
|
|
32
|
+
resetSystemDMCache,
|
|
33
|
+
sendSystemMessage,
|
|
34
|
+
sendSystemMessageDirect
|
|
35
|
+
};
|