volute 0.49.0 → 0.51.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-KYNC5X3U.js → accept-5NK5XJB5.js} +2 -1
- package/dist/{activity-events-GJJAI2WT.js → activity-events-LQII6PZS.js} +3 -3
- package/dist/{ai-service-A7FS7EC3.js → ai-service-YW5SWCSB.js} +9 -4
- package/dist/{archive-7E3YE6VF.js → archive-FOHGXHPT.js} +3 -3
- package/dist/{auth-ABYLOEZ7.js → auth-X6EMNEGB.js} +10 -6
- package/dist/{avatar-image-6ATV2IOZ.js → avatar-image-52WGXLHV.js} +3 -3
- package/dist/{backup-XYAMT4CU.js → backup-YVGV2ZNM.js} +11 -12
- package/dist/{bridge-3FNSWLNQ.js → bridge-YK7NTRU5.js} +2 -1
- package/dist/{channels-SGQZHNQJ.js → channels-FSAHOQWI.js} +2 -1
- package/dist/{chat-OGXAEXMV.js → chat-VAZ25KVT.js} +9 -9
- package/dist/{chunk-P4LHVRNE.js → chunk-2RNMBXD2.js} +43 -19
- package/dist/{chunk-6HGEZJDH.js → chunk-5N32EN4O.js} +2 -2
- package/dist/{chunk-JCWB2ITW.js → chunk-5Y54AE3L.js} +35 -5
- package/dist/{chunk-HCYQRME2.js → chunk-6NLW72HP.js} +2 -2
- package/dist/chunk-7HN63Q7J.js +1317 -0
- package/dist/chunk-7YJY3F2R.js +38 -0
- package/dist/{chunk-EADX54RG.js → chunk-AI47FDGL.js} +6 -7
- package/dist/{chunk-IH5TKXX6.js → chunk-BSHZ23MS.js} +12 -11
- package/dist/{chunk-K3JOLGWF.js → chunk-CDKQJWGK.js} +76 -63
- package/dist/{chunk-L27YYONJ.js → chunk-CV6BNGFK.js} +3 -3
- package/dist/{chunk-NOIAHMJB.js → chunk-DMK5ASKV.js} +1 -1
- package/dist/chunk-DN3LKLYR.js +109 -0
- package/dist/{chunk-JBIFXB6I.js → chunk-EDR47UE2.js} +3 -5
- package/dist/{chunk-SHKM5RGD.js → chunk-EEOMA4DX.js} +1 -1
- package/dist/{chunk-YIJGKHIS.js → chunk-EGV6R6UF.js} +43 -20
- package/dist/{chunk-KHCKZ36O.js → chunk-FLIEXG2T.js} +1 -1
- package/dist/chunk-FNJCBRD3.js +31 -0
- package/dist/{chunk-JPGHSXSV.js → chunk-FXWBFDQR.js} +23 -9
- package/dist/{chunk-JCBPU57A.js → chunk-G7A5LEVI.js} +6 -6
- package/dist/{chunk-PY24ZL62.js → chunk-GLM7TVWP.js} +1 -1
- package/dist/{chunk-RSBL3FAD.js → chunk-H6X6CKDN.js} +235 -24
- package/dist/{chunk-4DSGN4FL.js → chunk-HKP6OAJP.js} +43 -13
- package/dist/{chunk-C3KLHJDB.js → chunk-HTRSSOHY.js} +1 -1
- package/dist/{chunk-EG5LSKHU.js → chunk-I7U5EEZC.js} +2 -2
- package/dist/chunk-ICL6T4SN.js +562 -0
- package/dist/{chunk-FBBS4BVR.js → chunk-ICXY54ZC.js} +1 -1
- package/dist/{chunk-DAIIMBLB.js → chunk-IWAVIJO2.js} +3 -5
- package/dist/{chunk-TXJL36ZQ.js → chunk-JHKBALS2.js} +2 -2
- package/dist/{chunk-MG3Z34YE.js → chunk-L7BKTZ5U.js} +1 -1
- package/dist/{chunk-SX72DOO3.js → chunk-LAUCO2HC.js} +1 -1
- package/dist/chunk-LNNI3MS4.js +54 -0
- package/dist/{chunk-BCG45AQB.js → chunk-M74I3HHF.js} +15 -5
- package/dist/{chunk-DVN6DNMI.js → chunk-M77B73VV.js} +17 -2
- package/dist/{chunk-4B62E4CG.js → chunk-OXWUEU5V.js} +2 -2
- package/dist/chunk-Q7XQLKZB.js +289 -0
- package/dist/{chunk-GWVFDUNB.js → chunk-QT4D5XCI.js} +8 -10
- package/dist/{chunk-VNRSXEBF.js → chunk-TPX6E6PL.js} +38 -5
- package/dist/{chunk-3B427GUK.js → chunk-U54PJPTB.js} +2 -2
- package/dist/{chunk-EFT2OALG.js → chunk-UDZLPR34.js} +20 -5
- package/dist/{chunk-ZX46PGCC.js → chunk-UFTDRTCP.js} +1 -1
- package/dist/chunk-VAEZCIJC.js +1058 -0
- package/dist/chunk-VP5PFNZO.js +2905 -0
- package/dist/{chunk-VIUH5CHQ.js → chunk-VSBMLB2W.js} +51 -34
- package/dist/{chunk-RRZ4RQQU.js → chunk-X67BDDZR.js} +5 -7
- package/dist/cli.js +34 -27
- package/dist/{clock-6JZL2FS6.js → clock-ZT5YT6HA.js} +4 -3
- package/dist/{cloud-sync-VFDTNNCA.js → cloud-sync-GPXYPTIC.js} +23 -20
- package/dist/{config-RPSLA2HX.js → config-UGJS57VT.js} +3 -3
- package/dist/{conversations-TUM5PJJ4.js → conversations-ZL6PHROD.js} +8 -4
- package/dist/{create-Z5FSDNVZ.js → create-G2RIKQYK.js} +2 -2
- package/dist/{create-VIQVP3QB.js → create-M727VUDF.js} +2 -1
- package/dist/{daemon-client-ZFY5MOAL.js → daemon-client-VVYFZI2D.js} +2 -1
- package/dist/{daemon-restart-54L4B6AQ.js → daemon-restart-2EWBRTN5.js} +6 -7
- package/dist/daemon.js +2005 -762
- package/dist/{db-F6UMFRYD.js → db-BONH4SUG.js} +2 -2
- package/dist/{delete-ESEP7NGQ.js → delete-O7PEFQDF.js} +1 -1
- package/dist/delivery-manager-HGVZSEES.js +35 -0
- package/dist/{delivery-router-VUOL5YSA.js → delivery-router-RHANNTAC.js} +7 -5
- package/dist/{down-6X7KX7BZ.js → down-QSNEMTTX.js} +5 -5
- package/dist/echo-text-6ANI5HHN.js +39 -0
- package/dist/{env-ZYMSCB7B.js → env-IBW2QI6K.js} +3 -2
- package/dist/{env-KUL4XKN2.js → env-SQFCWW52.js} +3 -3
- package/dist/{exec-FBXA3CM4.js → exec-ABD3DYA2.js} +3 -3
- package/dist/{export-TNBPDH77.js → export-VBNWM7I4.js} +4 -4
- package/dist/{extension-J4ZQ2GHV.js → extension-MRYJWSMV.js} +2 -1
- package/dist/{extensions-AWNO3SZF.js → extensions-NY6WST33.js} +23 -20
- package/dist/{files-BVBRJJ2P.js → files-BRY5RRIM.js} +5 -4
- package/dist/{import-ZUNKMCKC.js → import-DB2KULRO.js} +8 -8
- package/dist/{isolation-OPCZQRTH.js → isolation-GVV2IBAU.js} +5 -3
- package/dist/{join-34TR2GXQ.js → join-PYA36HEC.js} +1 -1
- package/dist/{list-PMUXZNAM.js → list-UQGIW7OF.js} +8 -3
- package/dist/{login-LKNLCJPA.js → login-RJJTCVR3.js} +2 -1
- package/dist/{login-KAKNFCW5.js → login-SB5OENMV.js} +4 -3
- package/dist/{logout-YZRMZ3O2.js → logout-BYV433X6.js} +2 -1
- package/dist/{logout-RLT62RQP.js → logout-YFZAJRPY.js} +4 -3
- package/dist/message-delivery-JHMAJ2GU.js +43 -0
- package/dist/migrate-thread-config-EQSEP2XG.js +90 -0
- package/dist/{mind-IF6CGMFW.js → mind-WF6QIXWV.js} +19 -19
- package/dist/{mind-activity-tracker-YMMERB6B.js → mind-activity-tracker-QF6DCX2X.js} +4 -4
- package/dist/{mind-contacts-BKUFPUCU.js → mind-contacts-QYU4TPEA.js} +3 -2
- package/dist/{mind-history-WI5OI3BW.js → mind-history-OGNR4L7W.js} +30 -7
- package/dist/{mind-list-OTHV4ZO4.js → mind-list-SYRA7CH5.js} +3 -2
- package/dist/{mind-profile-LUG353ZT.js → mind-profile-MRCVZPYT.js} +1 -1
- package/dist/mind-service-DZCUUC7J.js +47 -0
- package/dist/{mind-sleep-VBV7YRSU.js → mind-sleep-LZAFBDZD.js} +4 -3
- package/dist/{mind-status-BJNPGXKC.js → mind-status-Z2LQFA6F.js} +3 -2
- package/dist/{mind-wake-LVTZ55EZ.js → mind-wake-LDGPRA42.js} +2 -1
- package/dist/{package-PD67VPHB.js → package-B6O5APCZ.js} +23 -23
- package/dist/{prompts-MDHDLWEX.js → prompts-NBO3HRK3.js} +3 -3
- package/dist/{read-YSWUXYL7.js → read-RJ5NAW5J.js} +5 -14
- package/dist/{register-TWQDKQRT.js → register-OX4HRSGC.js} +2 -1
- package/dist/{registry-3ELJPUGJ.js → registry-TRC2HJXR.js} +6 -4
- package/dist/{reject-SXGCYN4A.js → reject-TWB4QJHG.js} +2 -1
- package/dist/{restart-5F5QDBOG.js → restart-AGEGNSYQ.js} +2 -1
- package/dist/{sandbox-XPYA7UIF.js → sandbox-NNWCTHRI.js} +7 -4
- package/dist/scheduler-TNBN54ZK.js +25 -0
- package/dist/{schema-6YONVTKZ.js → schema-ZZQVM4GR.js} +5 -3
- package/dist/{seed-NQED7PSX.js → seed-K2LYODIH.js} +1 -1
- package/dist/{seed-check-TYD7RRZY.js → seed-check-NRJEQZST.js} +14 -5
- package/dist/{seed-cmd-QF3F2G4S.js → seed-cmd-2EWBTR6P.js} +3 -3
- package/dist/{seed-create-XOO4N2OE.js → seed-create-VGTLU5FD.js} +4 -4
- package/dist/{seed-readiness-3LRYASA4.js → seed-readiness-DYOVCYHN.js} +4 -5
- package/dist/{seed-sprout-HSBBGSS2.js → seed-sprout-PILHJ3YS.js} +9 -9
- package/dist/{send-IHRJYNXA.js → send-2YKOZJJ5.js} +108 -54
- package/dist/{service-YCOPCTSZ.js → service-XQPMZAGI.js} +4 -4
- package/dist/{service-install-Y46OTF55.js → service-install-2EWD7KXD.js} +5 -5
- package/dist/{setup-F4TE64YI.js → setup-MDPSK2XG.js} +6 -7
- package/dist/{setup-TCN7VH5U.js → setup-WZSXHHRJ.js} +10 -3
- package/dist/{skill-4CYJLYVY.js → skill-B5OJEQUA.js} +3 -2
- package/dist/skills/dreaming/references/INSTALL.md +2 -2
- package/dist/skills/imagegen/SKILL.md +21 -4
- package/dist/skills/imagegen/scripts/imagegen.ts +124 -21
- package/dist/skills/tending/SKILL.md +7 -7
- package/dist/skills/volute-mind/SKILL.md +3 -3
- package/dist/skills/volute-mind/references/integrations.md +2 -2
- package/dist/skills/volute-mind/references/routing.md +15 -15
- package/dist/{skills-NN5UZCUU.js → skills-NH2GQKAF.js} +4 -5
- package/dist/sleep-manager-7JXEQQ2P.js +41 -0
- package/dist/{spirit-SSJMYC6A.js → spirit-25JVAL3M.js} +11 -8
- package/dist/spirit-availability-PJDWZJ3J.js +42 -0
- package/dist/{split-JF2VWTXA.js → split-BU5VWX6P.js} +1 -1
- package/dist/{sprout-AXA2SECQ.js → sprout-EXUZMIOR.js} +1 -1
- package/dist/{src-YH6PQ7LJ.js → src-HGNE2XG4.js} +7 -1
- package/dist/{src-ZN4LXMPI.js → src-LCSOQY6Z.js} +57 -51
- package/dist/{src-JAOVXO5W.js → src-UDMJZ6MH.js} +8 -8
- package/dist/{start-BTVMTP3K.js → start-MUMNFR52.js} +2 -1
- package/dist/{status-VJGXMQ4L.js → status-MWLE3RVC.js} +7 -6
- package/dist/{stop-YORESK4U.js → stop-EKERNYTX.js} +2 -1
- package/dist/system-events-ZPSH63QX.js +46 -0
- package/dist/system-install-YZSWCPDK.js +8 -0
- package/dist/{systems-5MH2ELQE.js → systems-VDRUZXNF.js} +5 -4
- package/dist/{tailscale-AMMVKDXB.js → tailscale-KHNZFC7L.js} +2 -2
- package/dist/{template-hash-GSOUARW4.js → template-hash-YKWMVYMM.js} +2 -2
- package/dist/{template-staleness-HKGCTS3H.js → template-staleness-PY2CULH6.js} +5 -5
- package/dist/{turn-tracker-JQ2YUUY2.js → turn-tracker-TAT2HGK6.js} +6 -6
- package/dist/{up-SDLTLPAO.js → up-J7XCAH7P.js} +5 -6
- package/dist/{update-WEA4N2TR.js → update-CIWI2JYA.js} +5 -5
- package/dist/{update-check-DZOTONII.js → update-check-SZ7B5IFI.js} +3 -3
- package/dist/{upgrade-K5FIQPQD.js → upgrade-LIE46UBB.js} +1 -1
- package/dist/variant-cleanup-YXN25ZVW.js +22 -0
- package/dist/{version-notify-WFA5XB5A.js → version-notify-EN3KJ7HH.js} +11 -28
- package/dist/web-assets/assets/index-BOyJ4Gqs.css +1 -0
- package/dist/web-assets/assets/index-CrxBwnzp.js +95 -0
- package/dist/web-assets/index.html +2 -2
- package/dist/xai-P42CRCZA.js +129 -0
- package/drizzle/0014_system_events.sql +26 -0
- package/drizzle/0015_rename_session_to_thread.sql +12 -0
- package/drizzle/0016_brain_to_human.sql +4 -0
- package/drizzle/0017_event_history_rows.sql +9 -0
- package/drizzle/0018_api_tokens.sql +20 -0
- package/drizzle/meta/_journal.json +35 -0
- package/package.json +23 -23
- package/packages/extensions/notes/dist/ui/assets/index-BBs8pyel.js +67 -0
- package/packages/extensions/notes/dist/ui/index.html +1 -1
- package/packages/extensions/pages/dist/ui/assets/index-B589e8Xe.js +2 -0
- package/packages/extensions/pages/dist/ui/index.html +1 -1
- package/packages/extensions/plan/dist/ui/assets/index-B8s8wxyt.js +67 -0
- package/packages/extensions/plan/dist/ui/index.html +1 -1
- package/templates/_base/.init/.config/prompts.json +1 -0
- package/templates/_base/.init/.local/hooks/startup-context.ts +24 -9
- package/templates/_base/{biome.json.tmpl → biome.json} +2 -1
- package/templates/_base/gitignore +44 -0
- package/templates/_base/home/.config/routes.json +2 -2
- package/templates/_base/home/VOLUTE.md +18 -5
- package/templates/_base/home/public/.gitkeep +0 -0
- package/templates/_base/src/lib/daemon-client.ts +1 -1
- package/templates/_base/src/lib/event-turn.ts +39 -0
- package/templates/_base/src/lib/format-prefix.ts +36 -10
- package/templates/_base/src/lib/router.ts +19 -10
- package/templates/_base/src/lib/routing.ts +8 -8
- package/templates/_base/src/lib/startup.ts +9 -1
- package/templates/_base/src/lib/types.ts +7 -1
- package/templates/_base/src/lib/volute-server.ts +30 -1
- package/templates/claude/.init/.config/routes.json +3 -3
- package/templates/claude/.init/CLAUDE.md +1 -1
- package/templates/claude/{package.json.tmpl → package.json} +4 -4
- package/templates/claude/src/agent.ts +4 -1
- package/templates/claude/src/lib/hooks/reply-instructions.ts +26 -1
- package/templates/claude/volute-template.json +1 -3
- package/templates/codex/.init/.config/routes.json +3 -3
- package/templates/codex/.init/AGENTS.md +1 -1
- package/templates/codex/{package.json.tmpl → package.json} +4 -4
- package/templates/codex/src/agent.ts +11 -11
- package/templates/codex/src/lib/turn-context.ts +51 -0
- package/templates/codex/volute-template.json +1 -3
- package/templates/pi/.init/.config/routes.json +3 -3
- package/templates/pi/.init/MINDS.md +1 -1
- package/templates/pi/{package.json.tmpl → package.json} +6 -6
- package/templates/pi/src/agent.ts +9 -1
- package/templates/pi/src/lib/event-handler.ts +1 -1
- package/templates/pi/src/lib/reply-instructions-extension.ts +28 -1
- package/templates/pi/volute-template.json +1 -3
- package/dist/chunk-5T5YMX6S.js +0 -23
- package/dist/chunk-NJHN6IRB.js +0 -177
- package/dist/chunk-QQBOI3QA.js +0 -5345
- package/dist/chunk-XTEKINWG.js +0 -158
- package/dist/delivery-manager-RBXBPVWM.js +0 -36
- package/dist/echo-text-B6NZ5FGE.js +0 -36
- package/dist/message-delivery-ABPV76EA.js +0 -42
- package/dist/mind-service-42GDO4KH.js +0 -44
- package/dist/notices-N6BCGHFV.js +0 -25
- package/dist/scheduler-K7Y7Z7FQ.js +0 -34
- package/dist/sleep-manager-DSPXFHGX.js +0 -38
- package/dist/system-chat-M2XOBKEM.js +0 -40
- package/dist/variant-cleanup-P4MBNLJD.js +0 -33
- package/dist/web-assets/assets/index-BostMFoR.css +0 -1
- package/dist/web-assets/assets/index-CKlqUkyG.js +0 -92
- package/packages/extensions/notes/dist/ui/assets/index-D0-DgYyj.js +0 -67
- package/packages/extensions/pages/dist/ui/assets/index-DtzftuPA.js +0 -2
- package/packages/extensions/plan/dist/ui/assets/index-Cfzs-0G9.js +0 -67
- /package/templates/_base/home/.config/{config.json.tmpl → config.json} +0 -0
- /package/templates/codex/home/.config/{config.json.tmpl → config.json} +0 -0
- /package/templates/pi/home/.config/{config.json.tmpl → config.json} +0 -0
|
@@ -450,7 +450,11 @@ function createCommands() {
|
|
|
450
450
|
type: "page_published",
|
|
451
451
|
mind: mindName,
|
|
452
452
|
summary: `${mindName} published ${file}`,
|
|
453
|
-
metadata: {
|
|
453
|
+
metadata: {
|
|
454
|
+
file,
|
|
455
|
+
url: `/minds/${mindName}/pages/${file}`,
|
|
456
|
+
iframeUrl: `/ext/pages/public/${mindName}/${file}`
|
|
457
|
+
}
|
|
454
458
|
});
|
|
455
459
|
}
|
|
456
460
|
for (const file of diff.removed) {
|
|
@@ -717,54 +721,56 @@ var Le = d(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[
|
|
|
717
721
|
var _e = d(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, j).getRegex();
|
|
718
722
|
var H = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";
|
|
719
723
|
var K = /<!--(?:-?>|[\s\S]*?(?:-->|$))/;
|
|
720
|
-
var ze = d("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(
|
|
721
|
-
var le = d(F).replace("hr", B).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list",
|
|
722
|
-
var Me =
|
|
723
|
-
var
|
|
724
|
+
var ze = d("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n+|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n+|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n+|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", K).replace("tag", H).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();
|
|
725
|
+
var le = (l3) => d(F).replace("hr", B).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", l3).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", H).getRegex();
|
|
726
|
+
var Me = le(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/);
|
|
727
|
+
var Ee = le(/ {0,3}(?:[*+-]|\d{1,9}[.)])[ \t]+[^ \t\n]/);
|
|
728
|
+
var Ie = d(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ee).getRegex();
|
|
729
|
+
var W = { blockquote: Ie, code: we, def: Le, fences: ye, heading: Pe, hr: B, html: ze, lheading: ae, list: _e, newline: Oe, paragraph: Me, table: _, text: $e };
|
|
724
730
|
var se = d("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", B).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", H).getRegex();
|
|
725
|
-
var
|
|
726
|
-
var
|
|
731
|
+
var Ae = { ...W, lheading: Se, table: se, paragraph: d(F).replace("hr", B).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", se).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", H).getRegex() };
|
|
732
|
+
var Ce = { ...W, html: d(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", K).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: _, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: d(F).replace("hr", B).replace("heading", ` *#{1,6} *[^
|
|
727
733
|
]`).replace("lheading", ae).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() };
|
|
728
|
-
var
|
|
729
|
-
var
|
|
734
|
+
var Be = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/;
|
|
735
|
+
var qe = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/;
|
|
730
736
|
var ue = /^( {2,}|\\)\n(?!\s*$)/;
|
|
731
|
-
var
|
|
737
|
+
var De = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/;
|
|
732
738
|
var I = /[\p{P}\p{S}]/u;
|
|
733
739
|
var Z = /[\s\p{P}\p{S}]/u;
|
|
734
740
|
var X = /[^\s\p{P}\p{S}]/u;
|
|
735
|
-
var
|
|
741
|
+
var ve = d(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Z).getRegex();
|
|
736
742
|
var pe = /(?!~)[\p{P}\p{S}]/u;
|
|
737
|
-
var
|
|
738
|
-
var
|
|
739
|
-
var
|
|
743
|
+
var He = /(?!~)[\s\p{P}\p{S}]/u;
|
|
744
|
+
var Ze = /(?:[^\s\p{P}\p{S}]|~)/u;
|
|
745
|
+
var Ge = d(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Te ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex();
|
|
740
746
|
var ce = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/;
|
|
741
|
-
var
|
|
742
|
-
var
|
|
747
|
+
var Ne = d(ce, "u").replace(/punct/g, I).getRegex();
|
|
748
|
+
var Qe = d(ce, "u").replace(/punct/g, pe).getRegex();
|
|
743
749
|
var he = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)";
|
|
744
|
-
var
|
|
745
|
-
var
|
|
746
|
-
var
|
|
747
|
-
var
|
|
748
|
-
var
|
|
749
|
-
var
|
|
750
|
-
var
|
|
751
|
-
var
|
|
752
|
-
var
|
|
753
|
-
var
|
|
750
|
+
var je = d(he, "gu").replace(/notPunctSpace/g, X).replace(/punctSpace/g, Z).replace(/punct/g, I).getRegex();
|
|
751
|
+
var Fe = d(he, "gu").replace(/notPunctSpace/g, Ze).replace(/punctSpace/g, He).replace(/punct/g, pe).getRegex();
|
|
752
|
+
var Ue = d("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, X).replace(/punctSpace/g, Z).replace(/punct/g, I).getRegex();
|
|
753
|
+
var Ke = d(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, I).getRegex();
|
|
754
|
+
var We = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)";
|
|
755
|
+
var Xe = d(We, "gu").replace(/notPunctSpace/g, X).replace(/punctSpace/g, Z).replace(/punct/g, I).getRegex();
|
|
756
|
+
var Je = d(/\\(punct)/, "gu").replace(/punct/g, I).getRegex();
|
|
757
|
+
var Ve = d(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex();
|
|
758
|
+
var Ye = d(K).replace("(?:-->|$)", "-->").getRegex();
|
|
759
|
+
var et = d("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Ye).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex();
|
|
754
760
|
var v = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/;
|
|
755
|
-
var
|
|
761
|
+
var tt = d(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", v).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex();
|
|
756
762
|
var ke = d(/^!?\[(label)\]\[(ref)\]/).replace("label", v).replace("ref", U).getRegex();
|
|
757
763
|
var de = d(/^!?\[(ref)\](?:\[\])?/).replace("ref", U).getRegex();
|
|
758
|
-
var
|
|
764
|
+
var nt = d("reflink|nolink(?!\\()", "g").replace("reflink", ke).replace("nolink", de).getRegex();
|
|
759
765
|
var ie = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/;
|
|
760
|
-
var J = { _backpedal: _, anyPunctuation:
|
|
761
|
-
var
|
|
762
|
-
var Q = { ...J, emStrongRDelimAst:
|
|
763
|
-
var
|
|
764
|
-
var
|
|
765
|
-
var A = { normal: J, gfm: Q, breaks:
|
|
766
|
-
var
|
|
767
|
-
var ge = (l3) =>
|
|
766
|
+
var J = { _backpedal: _, anyPunctuation: Je, autolink: Ve, blockSkip: Ge, br: ue, code: qe, del: _, delLDelim: _, delRDelim: _, emStrongLDelim: Ne, emStrongRDelimAst: je, emStrongRDelimUnd: Ue, escape: Be, link: tt, nolink: de, punctuation: ve, reflink: ke, reflinkSearch: nt, tag: et, text: De, url: _ };
|
|
767
|
+
var rt = { ...J, link: d(/^!?\[(label)\]\((.*?)\)/).replace("label", v).getRegex(), reflink: d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", v).getRegex() };
|
|
768
|
+
var Q = { ...J, emStrongRDelimAst: Fe, emStrongLDelim: Qe, delLDelim: Ke, delRDelim: Xe, url: d(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", ie).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: d(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", ie).getRegex() };
|
|
769
|
+
var st = { ...Q, br: d(ue).replace("{2,}", "*").getRegex(), text: d(Q.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() };
|
|
770
|
+
var q = { normal: W, gfm: Ae, pedantic: Ce };
|
|
771
|
+
var A = { normal: J, gfm: Q, breaks: st, pedantic: rt };
|
|
772
|
+
var it = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" };
|
|
773
|
+
var ge = (l3) => it[l3];
|
|
768
774
|
function O(l3, e) {
|
|
769
775
|
if (e) {
|
|
770
776
|
if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ge);
|
|
@@ -831,7 +837,7 @@ function xe(l3, e, t, n, s) {
|
|
|
831
837
|
let u = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: r, title: i, text: o, tokens: n.inlineTokens(o) };
|
|
832
838
|
return n.state.inLink = false, u;
|
|
833
839
|
}
|
|
834
|
-
function
|
|
840
|
+
function ot(l3, e, t) {
|
|
835
841
|
let n = l3.match(t.other.indentCodeCompensation);
|
|
836
842
|
if (n === null) return e;
|
|
837
843
|
let s = n[1];
|
|
@@ -865,7 +871,7 @@ var w = class {
|
|
|
865
871
|
fences(e) {
|
|
866
872
|
let t = this.rules.block.fences.exec(e);
|
|
867
873
|
if (t) {
|
|
868
|
-
let n = t[0], s =
|
|
874
|
+
let n = t[0], s = ot(n, t[3] || "", this.rules);
|
|
869
875
|
return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: s };
|
|
870
876
|
}
|
|
871
877
|
}
|
|
@@ -1174,11 +1180,11 @@ var x = class l {
|
|
|
1174
1180
|
tokenizer;
|
|
1175
1181
|
constructor(e) {
|
|
1176
1182
|
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || T, this.options.tokenizer = this.options.tokenizer || new w(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
|
|
1177
|
-
let t = { other: m, block:
|
|
1178
|
-
this.options.pedantic ? (t.block =
|
|
1183
|
+
let t = { other: m, block: q.normal, inline: A.normal };
|
|
1184
|
+
this.options.pedantic ? (t.block = q.pedantic, t.inline = A.pedantic) : this.options.gfm && (t.block = q.gfm, this.options.breaks ? t.inline = A.breaks : t.inline = A.gfm), this.tokenizer.rules = t;
|
|
1179
1185
|
}
|
|
1180
1186
|
static get rules() {
|
|
1181
|
-
return { block:
|
|
1187
|
+
return { block: q, inline: A };
|
|
1182
1188
|
}
|
|
1183
1189
|
static lex(e, t) {
|
|
1184
1190
|
return new l(t).lex(e);
|
|
@@ -1715,7 +1721,7 @@ var P = class {
|
|
|
1715
1721
|
return e ? b.parse : b.parseInline;
|
|
1716
1722
|
}
|
|
1717
1723
|
};
|
|
1718
|
-
var
|
|
1724
|
+
var D = class {
|
|
1719
1725
|
defaults = M();
|
|
1720
1726
|
options = this.setOptions;
|
|
1721
1727
|
parse = this.parseMarkdown(true);
|
|
@@ -1876,7 +1882,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
1876
1882
|
};
|
|
1877
1883
|
}
|
|
1878
1884
|
};
|
|
1879
|
-
var z = new
|
|
1885
|
+
var z = new D();
|
|
1880
1886
|
function g(l3, e) {
|
|
1881
1887
|
return z.parse(l3, e);
|
|
1882
1888
|
}
|
|
@@ -1901,16 +1907,16 @@ g.lexer = x.lex;
|
|
|
1901
1907
|
g.Tokenizer = w;
|
|
1902
1908
|
g.Hooks = P;
|
|
1903
1909
|
g.parse = g;
|
|
1904
|
-
var
|
|
1905
|
-
var
|
|
1906
|
-
var
|
|
1907
|
-
var
|
|
1908
|
-
var
|
|
1909
|
-
var
|
|
1910
|
-
var
|
|
1910
|
+
var Kt = g.options;
|
|
1911
|
+
var Wt = g.setOptions;
|
|
1912
|
+
var Xt = g.use;
|
|
1913
|
+
var Jt = g.walkTokens;
|
|
1914
|
+
var Vt = g.parseInline;
|
|
1915
|
+
var en = b.parse;
|
|
1916
|
+
var tn = x.lex;
|
|
1911
1917
|
|
|
1912
1918
|
// packages/extensions/pages/src/markdown.ts
|
|
1913
|
-
var marked = new
|
|
1919
|
+
var marked = new D({ gfm: true });
|
|
1914
1920
|
var BASE_STYLES = `
|
|
1915
1921
|
*, *::before, *::after { box-sizing: border-box; }
|
|
1916
1922
|
body {
|
|
@@ -117,7 +117,7 @@ function createCommands() {
|
|
|
117
117
|
type: "plan_started",
|
|
118
118
|
mind: user.username,
|
|
119
119
|
summary: `${user.username} started plan: "${title}"`,
|
|
120
|
-
metadata: { planId: plan.id, title }
|
|
120
|
+
metadata: { planId: plan.id, title, url: "/plan" }
|
|
121
121
|
});
|
|
122
122
|
return { output: `Plan started: ${plan.title}` };
|
|
123
123
|
}
|
|
@@ -138,7 +138,7 @@ function createCommands() {
|
|
|
138
138
|
type: "plan_message",
|
|
139
139
|
mind: mindName,
|
|
140
140
|
summary: `Plan message: "${content.slice(0, 100)}"`,
|
|
141
|
-
metadata: { planId: plan.id, messageId: msg.id }
|
|
141
|
+
metadata: { planId: plan.id, messageId: msg.id, url: "/plan" }
|
|
142
142
|
});
|
|
143
143
|
const announced = await announceToSystem(`[Plan: ${plan.title}] ${content}`, ctx);
|
|
144
144
|
return {
|
|
@@ -162,7 +162,7 @@ function createCommands() {
|
|
|
162
162
|
type: "plan_progress",
|
|
163
163
|
mind: mindName,
|
|
164
164
|
summary: `${mindName} logged progress: "${content.slice(0, 100)}"`,
|
|
165
|
-
metadata: { planId: plan.id, logId: log.id }
|
|
165
|
+
metadata: { planId: plan.id, logId: log.id, url: "/plan" }
|
|
166
166
|
});
|
|
167
167
|
return { output: "Progress logged." };
|
|
168
168
|
}
|
|
@@ -227,7 +227,7 @@ function createCommands() {
|
|
|
227
227
|
type: "plan_finished",
|
|
228
228
|
mind: mindName,
|
|
229
229
|
summary: `${mindName} finished plan: "${plan.title}"`,
|
|
230
|
-
metadata: { planId: plan.id }
|
|
230
|
+
metadata: { planId: plan.id, url: "/plan" }
|
|
231
231
|
});
|
|
232
232
|
const announcement = message ? `[Plan finished: ${plan.title}] ${message}` : `[Plan finished: ${plan.title}]`;
|
|
233
233
|
const announced = await announceToSystem(announcement, ctx);
|
|
@@ -320,7 +320,7 @@ function createRoutes(ctx) {
|
|
|
320
320
|
type: "plan_started",
|
|
321
321
|
mind: actor.username,
|
|
322
322
|
summary: `${actor.username} started plan: "${body.title}"`,
|
|
323
|
-
metadata: { planId: plan.id, title: body.title }
|
|
323
|
+
metadata: { planId: plan.id, title: body.title, url: "/plan" }
|
|
324
324
|
});
|
|
325
325
|
return c.json(plan, 201);
|
|
326
326
|
}).post("/:id{[0-9]+}/message", async (c) => {
|
|
@@ -338,7 +338,7 @@ function createRoutes(ctx) {
|
|
|
338
338
|
type: "plan_message",
|
|
339
339
|
mind: actor.username,
|
|
340
340
|
summary: `Plan message: "${body.content.slice(0, 100)}"`,
|
|
341
|
-
metadata: { planId, messageId: msg.id }
|
|
341
|
+
metadata: { planId, messageId: msg.id, url: "/plan" }
|
|
342
342
|
});
|
|
343
343
|
return c.json(msg, 201);
|
|
344
344
|
}).post("/:id{[0-9]+}/log", async (c) => {
|
|
@@ -356,7 +356,7 @@ function createRoutes(ctx) {
|
|
|
356
356
|
type: "plan_progress",
|
|
357
357
|
mind: actor.username,
|
|
358
358
|
summary: `${actor.username} logged progress: "${body.content.slice(0, 100)}"`,
|
|
359
|
-
metadata: { planId, logId: log.id }
|
|
359
|
+
metadata: { planId, logId: log.id, url: "/plan" }
|
|
360
360
|
});
|
|
361
361
|
return c.json(log, 201);
|
|
362
362
|
}).patch("/:id{[0-9]+}/finish", async (c) => {
|
|
@@ -375,7 +375,7 @@ function createRoutes(ctx) {
|
|
|
375
375
|
type: "plan_finished",
|
|
376
376
|
mind: actor.username,
|
|
377
377
|
summary: `${actor.username} finished a plan`,
|
|
378
|
-
metadata: { planId }
|
|
378
|
+
metadata: { planId, url: "/plan" }
|
|
379
379
|
});
|
|
380
380
|
return c.json({ ok: true });
|
|
381
381
|
}).get("/feed", async (c) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
daemonFetch
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M74I3HHF.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient,
|
|
7
7
|
urlOf
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
command
|
|
11
11
|
} from "./chunk-TXSA4Q3V.js";
|
|
12
12
|
import "./chunk-O7IGP7ZW.js";
|
|
13
|
+
import "./chunk-FNJCBRD3.js";
|
|
13
14
|
import "./chunk-K3NQKI34.js";
|
|
14
15
|
|
|
15
16
|
// packages/cli/src/commands/start.ts
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
getAuthToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M74I3HHF.js";
|
|
5
5
|
import {
|
|
6
6
|
command
|
|
7
7
|
} from "./chunk-TXSA4Q3V.js";
|
|
8
8
|
import "./chunk-O7IGP7ZW.js";
|
|
9
|
+
import "./chunk-FNJCBRD3.js";
|
|
9
10
|
import {
|
|
10
11
|
checkForUpdate
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LAUCO2HC.js";
|
|
12
13
|
import {
|
|
13
14
|
LAUNCHD_PLIST_LABEL,
|
|
14
15
|
LAUNCHD_PLIST_PATH,
|
|
@@ -20,10 +21,10 @@ import {
|
|
|
20
21
|
getServiceMode,
|
|
21
22
|
modeLabel,
|
|
22
23
|
readDaemonConfig
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-6NLW72HP.js";
|
|
25
|
+
import "./chunk-M77B73VV.js";
|
|
26
|
+
import "./chunk-H6X6CKDN.js";
|
|
27
|
+
import "./chunk-2RNMBXD2.js";
|
|
27
28
|
import "./chunk-K3NQKI34.js";
|
|
28
29
|
|
|
29
30
|
// src/commands/status.ts
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-BTY4WNFE.js";
|
|
5
5
|
import {
|
|
6
6
|
daemonFetch
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M74I3HHF.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient,
|
|
10
10
|
urlOf
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
command
|
|
14
14
|
} from "./chunk-TXSA4Q3V.js";
|
|
15
15
|
import "./chunk-O7IGP7ZW.js";
|
|
16
|
+
import "./chunk-FNJCBRD3.js";
|
|
16
17
|
import "./chunk-K3NQKI34.js";
|
|
17
18
|
|
|
18
19
|
// packages/cli/src/commands/stop.ts
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
MIND_LEVEL_THREAD,
|
|
4
|
+
captureReflection,
|
|
5
|
+
clearDeliveredEvents,
|
|
6
|
+
deliverEvent,
|
|
7
|
+
drainEvents,
|
|
8
|
+
eventChannel,
|
|
9
|
+
eventLabel,
|
|
10
|
+
flushQueuedEvents,
|
|
11
|
+
formatEvents,
|
|
12
|
+
hasUndeliveredEvent,
|
|
13
|
+
latestEvent,
|
|
14
|
+
latestFailureEvent,
|
|
15
|
+
listEvents,
|
|
16
|
+
parseMeta,
|
|
17
|
+
pendingEventCount,
|
|
18
|
+
pendingEventsLine,
|
|
19
|
+
recordNotice,
|
|
20
|
+
recordReflection
|
|
21
|
+
} from "./chunk-ICL6T4SN.js";
|
|
22
|
+
import "./chunk-LNNI3MS4.js";
|
|
23
|
+
import "./chunk-QUSMYGNQ.js";
|
|
24
|
+
import "./chunk-H6X6CKDN.js";
|
|
25
|
+
import "./chunk-2RNMBXD2.js";
|
|
26
|
+
import "./chunk-K3NQKI34.js";
|
|
27
|
+
export {
|
|
28
|
+
MIND_LEVEL_THREAD,
|
|
29
|
+
captureReflection,
|
|
30
|
+
clearDeliveredEvents,
|
|
31
|
+
deliverEvent,
|
|
32
|
+
drainEvents,
|
|
33
|
+
eventChannel,
|
|
34
|
+
eventLabel,
|
|
35
|
+
flushQueuedEvents,
|
|
36
|
+
formatEvents,
|
|
37
|
+
hasUndeliveredEvent,
|
|
38
|
+
latestEvent,
|
|
39
|
+
latestFailureEvent,
|
|
40
|
+
listEvents,
|
|
41
|
+
parseMeta,
|
|
42
|
+
pendingEventCount,
|
|
43
|
+
pendingEventsLine,
|
|
44
|
+
recordNotice,
|
|
45
|
+
recordReflection
|
|
46
|
+
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
daemonFetch
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M74I3HHF.js";
|
|
5
5
|
import {
|
|
6
6
|
subcommands
|
|
7
7
|
} from "./chunk-TXSA4Q3V.js";
|
|
8
8
|
import "./chunk-O7IGP7ZW.js";
|
|
9
|
+
import "./chunk-FNJCBRD3.js";
|
|
9
10
|
import "./chunk-K3NQKI34.js";
|
|
10
11
|
|
|
11
12
|
// packages/cli/src/commands/systems.ts
|
|
@@ -34,15 +35,15 @@ var cmd = subcommands({
|
|
|
34
35
|
},
|
|
35
36
|
register: {
|
|
36
37
|
description: "Register a system on volute.systems",
|
|
37
|
-
run: (args) => import("./register-
|
|
38
|
+
run: (args) => import("./register-OX4HRSGC.js").then((m) => m.run(args))
|
|
38
39
|
},
|
|
39
40
|
login: {
|
|
40
41
|
description: "Log in with an existing API key",
|
|
41
|
-
run: (args) => import("./login-
|
|
42
|
+
run: (args) => import("./login-RJJTCVR3.js").then((m) => m.run(args))
|
|
42
43
|
},
|
|
43
44
|
logout: {
|
|
44
45
|
description: "Remove stored credentials",
|
|
45
|
-
run: (args) => import("./logout-
|
|
46
|
+
run: (args) => import("./logout-BYV433X6.js").then((m) => m.run(args))
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
});
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-QUSMYGNQ.js";
|
|
5
5
|
import {
|
|
6
6
|
voluteHome
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-H6X6CKDN.js";
|
|
8
|
+
import "./chunk-2RNMBXD2.js";
|
|
9
9
|
import "./chunk-K3NQKI34.js";
|
|
10
10
|
|
|
11
11
|
// packages/daemon/src/lib/tailscale.ts
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computeMindTemplateHash,
|
|
4
4
|
isTemplateStale
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-CV6BNGFK.js";
|
|
6
|
+
import "./chunk-HTRSSOHY.js";
|
|
7
|
+
import "./chunk-X67BDDZR.js";
|
|
8
8
|
import "./chunk-QUSMYGNQ.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-H6X6CKDN.js";
|
|
10
|
+
import "./chunk-2RNMBXD2.js";
|
|
11
11
|
import "./chunk-K3NQKI34.js";
|
|
12
12
|
export {
|
|
13
13
|
computeMindTemplateHash,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
sweepWedgedTurns,
|
|
15
15
|
takeErrored,
|
|
16
16
|
trackToolUse
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-CDKQJWGK.js";
|
|
18
|
+
import "./chunk-LNNI3MS4.js";
|
|
19
|
+
import "./chunk-FXWBFDQR.js";
|
|
20
|
+
import "./chunk-EGV6R6UF.js";
|
|
21
21
|
import "./chunk-QUSMYGNQ.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-H6X6CKDN.js";
|
|
23
|
+
import "./chunk-2RNMBXD2.js";
|
|
24
24
|
import "./chunk-K3NQKI34.js";
|
|
25
25
|
export {
|
|
26
26
|
assignSession,
|
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
formatStartupFailure,
|
|
4
4
|
run
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IWAVIJO2.js";
|
|
6
6
|
import "./chunk-TXSA4Q3V.js";
|
|
7
7
|
import "./chunk-O7IGP7ZW.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6NLW72HP.js";
|
|
9
|
+
import "./chunk-M77B73VV.js";
|
|
10
10
|
import {
|
|
11
11
|
readGlobalConfig
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-P4LHVRNE.js";
|
|
12
|
+
} from "./chunk-H6X6CKDN.js";
|
|
13
|
+
import "./chunk-2RNMBXD2.js";
|
|
15
14
|
import "./chunk-K3NQKI34.js";
|
|
16
15
|
export {
|
|
17
16
|
formatStartupFailure,
|
|
@@ -7,23 +7,23 @@ import {
|
|
|
7
7
|
checkForUpdate,
|
|
8
8
|
getResolvedVersion,
|
|
9
9
|
resolveVoluteInstall
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LAUCO2HC.js";
|
|
11
11
|
import {
|
|
12
12
|
getServiceMode,
|
|
13
13
|
modeLabel,
|
|
14
14
|
pollHealth,
|
|
15
15
|
readDaemonConfig,
|
|
16
16
|
restartService
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6NLW72HP.js";
|
|
18
18
|
import {
|
|
19
19
|
exec,
|
|
20
20
|
execInherit,
|
|
21
21
|
resolveVoluteBin
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-M77B73VV.js";
|
|
23
23
|
import {
|
|
24
24
|
voluteSystemDir
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-H6X6CKDN.js";
|
|
26
|
+
import "./chunk-2RNMBXD2.js";
|
|
27
27
|
import "./chunk-K3NQKI34.js";
|
|
28
28
|
|
|
29
29
|
// src/commands/update.ts
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
getResolvedVersion,
|
|
9
9
|
isNewer,
|
|
10
10
|
resolveVoluteInstall
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LAUCO2HC.js";
|
|
12
|
+
import "./chunk-H6X6CKDN.js";
|
|
13
|
+
import "./chunk-2RNMBXD2.js";
|
|
14
14
|
import "./chunk-K3NQKI34.js";
|
|
15
15
|
export {
|
|
16
16
|
analyzeInstallPath,
|
|
@@ -21,7 +21,7 @@ var cmd = command({
|
|
|
21
21
|
},
|
|
22
22
|
run: async ({ args, flags }) => {
|
|
23
23
|
const mindName = resolveMindName({ mind: args.name });
|
|
24
|
-
const { daemonFetch } = await import("./daemon-client-
|
|
24
|
+
const { daemonFetch } = await import("./daemon-client-VVYFZI2D.js");
|
|
25
25
|
const { getClient, urlOf } = await import("./api-client-LC5YRA32.js");
|
|
26
26
|
const client = getClient();
|
|
27
27
|
const res = await daemonFetch(
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
cleanupVariant,
|
|
4
|
+
reconcileVariants
|
|
5
|
+
} from "./chunk-AI47FDGL.js";
|
|
6
|
+
import "./chunk-VAEZCIJC.js";
|
|
7
|
+
import "./chunk-CDKQJWGK.js";
|
|
8
|
+
import "./chunk-ICL6T4SN.js";
|
|
9
|
+
import "./chunk-LNNI3MS4.js";
|
|
10
|
+
import "./chunk-FXWBFDQR.js";
|
|
11
|
+
import "./chunk-5Y54AE3L.js";
|
|
12
|
+
import "./chunk-M77B73VV.js";
|
|
13
|
+
import "./chunk-GLM7TVWP.js";
|
|
14
|
+
import "./chunk-EGV6R6UF.js";
|
|
15
|
+
import "./chunk-QUSMYGNQ.js";
|
|
16
|
+
import "./chunk-H6X6CKDN.js";
|
|
17
|
+
import "./chunk-2RNMBXD2.js";
|
|
18
|
+
import "./chunk-K3NQKI34.js";
|
|
19
|
+
export {
|
|
20
|
+
cleanupVariant,
|
|
21
|
+
reconcileVariants
|
|
22
|
+
};
|