volute 0.33.0 → 0.34.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-D5VBM7JW.js → accept-TW6V4WI4.js} +6 -6
- package/dist/{activity-events-XJO3P4RR.js → activity-events-BN7V6KCC.js} +4 -4
- package/dist/{ai-service-SBY2WG7O.js → ai-service-PSILB5WD.js} +5 -5
- package/dist/{api-client-YPKOZP2O.js → api-client-XUXOB7LI.js} +1 -1
- package/dist/api.d.ts +426 -3
- package/dist/{archive-INXYFVCW.js → archive-C2VEMQOR.js} +4 -4
- package/dist/{auth-GKCDSO4T.js → auth-ZFZXJZDQ.js} +5 -5
- package/dist/{bridge-TXWWPPOJ.js → bridge-O753D5F4.js} +6 -6
- package/dist/{chat-U5ZOME3O.js → chat-BHYX7DJ4.js} +9 -9
- package/dist/{chunk-M7UL5S3Q.js → chunk-2IOP6PHB.js} +1 -1
- package/dist/{chunk-NPKSDYA2.js → chunk-47XDEWWV.js} +5 -5
- package/dist/{chunk-RSX4OPZY.js → chunk-47ZPNLF4.js} +7 -7
- package/dist/{chunk-RPZZSXV3.js → chunk-4JSR7YO7.js} +20 -1
- package/dist/{chunk-N432I7QH.js → chunk-6OWJXUAR.js} +1 -1
- package/dist/{chunk-I5KY25PQ.js → chunk-6WAWMWR5.js} +1 -1
- package/dist/{chunk-NNB4WIG7.js → chunk-7F2SW2KD.js} +2 -2
- package/dist/chunk-7KJOFUNN.js +22 -0
- package/dist/{chunk-7J3HEVR7.js → chunk-B2BVAIZ4.js} +15 -9
- package/dist/{chunk-VH33ZWMW.js → chunk-BDK73LK6.js} +1 -1
- package/dist/{chunk-QTUVYI7W.js → chunk-BFWHBQK4.js} +1 -1
- package/dist/{chunk-JYVGHWEJ.js → chunk-BM474GX6.js} +3 -3
- package/dist/{chunk-LOEJ4HPQ.js → chunk-BTWAGDV5.js} +1 -1
- package/dist/{chunk-A2A4KLFE.js → chunk-CVL5IGIR.js} +596 -40
- package/dist/{chunk-RVGLDGMI.js → chunk-E5C7OWZ2.js} +20 -22
- package/dist/chunk-FYCALD4Q.js +23 -0
- package/dist/{chunk-SKLSMHXO.js → chunk-IS7WJ56Q.js} +1 -1
- package/dist/{chunk-2NGTS5UU.js → chunk-M3K5AARV.js} +1 -1
- package/dist/{chunk-ALEF47VT.js → chunk-MLOQKQNB.js} +1 -1
- package/dist/{chunk-C7I35G4R.js → chunk-N3DNFPVA.js} +41 -5
- package/dist/{chunk-LRCG2JLP.js → chunk-N7BLAHNE.js} +5 -1
- package/dist/{chunk-UKVWJRKN.js → chunk-PLDWHR4D.js} +1 -1
- package/dist/{chunk-3Z2DPESO.js → chunk-TAHX36HZ.js} +126 -81
- package/dist/{chunk-KIEPMIM5.js → chunk-U5BTYSAL.js} +1 -1
- package/dist/{chunk-GY5HBI7A.js → chunk-V45JXOWY.js} +2 -2
- package/dist/{chunk-JUKK7FPS.js → chunk-V6ZCNULL.js} +2 -2
- package/dist/{chunk-KVK2DLWI.js → chunk-XWXBJQBE.js} +2 -2
- package/dist/cli.js +23 -23
- package/dist/{clock-BVH3V6E3.js → clock-3X4DSC2N.js} +40 -25
- package/dist/{cloud-sync-4NWLMFVH.js → cloud-sync-TG3TIX5H.js} +21 -21
- package/dist/{config-H2H4UIF7.js → config-OROA5DUA.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-AWI5SZW2.js → conversations-HL2JP5GI.js} +5 -5
- package/dist/{create-YWD2TIP4.js → create-3SEKKI6P.js} +6 -6
- package/dist/{create-2FK7Z46Y.js → create-UOSOQ2HN.js} +4 -4
- package/dist/daemon-client-WOAQXXBM.js +12 -0
- package/dist/{daemon-restart-GOBUKLX7.js → daemon-restart-5ABHNXJZ.js} +9 -9
- package/dist/daemon.js +1747 -688
- package/dist/{db-RA45JBFG.js → db-PLEDCBHZ.js} +1 -1
- package/dist/db-RYX3SS2W.js +9 -0
- package/dist/{delete-QTGWEDBI.js → delete-KYOVWR23.js} +3 -3
- package/dist/delivery-manager-2BR5NZKF.js +32 -0
- package/dist/{delivery-router-FL45JL7N.js → delivery-router-D5ELDMS2.js} +4 -4
- package/dist/down-QVFN4UPK.js +15 -0
- package/dist/{env-JCOF2222.js → env-R34DT7XL.js} +12 -8
- package/dist/exec-DVLXKRIO.js +17 -0
- package/dist/{export-SUYRLI5Q.js → export-6ZXAXATG.js} +6 -6
- package/dist/extension-PM42QCID.js +97 -0
- package/dist/extensions-BBGVL5JC.js +38 -0
- package/dist/{files-65PMW5IK.js → files-VQV2VZQO.js} +7 -7
- package/dist/{import-DDUFE7AY.js → import-MK2I2T6F.js} +5 -5
- package/dist/{isolation-LLAYQYDY.js → isolation-62MKDZN3.js} +4 -4
- package/dist/{join-I5QEE3LG.js → join-DGYHTJUH.js} +3 -3
- package/dist/lib-DYEZMGW7.js +6588 -0
- package/dist/{list-JQ463EDA.js → list-C644WTHV.js} +18 -10
- package/dist/{login-D7ETSU4R.js → login-IIGEQPHL.js} +6 -6
- package/dist/{login-RIJF2F4G.js → login-KZQLMAWE.js} +4 -4
- package/dist/{logout-5MLHZALK.js → logout-AGTZVRGP.js} +4 -4
- package/dist/{logout-UZJRGY4Z.js → logout-KD6GXIJJ.js} +4 -4
- package/dist/message-delivery-V3R6NXJP.js +42 -0
- package/dist/{mind-IOJFLEM5.js → mind-BI4EPBVZ.js} +19 -19
- package/dist/{mind-activity-tracker-F6O4Q2SL.js → mind-activity-tracker-2ACNHA7B.js} +5 -5
- package/dist/mind-history-WOYFLQAI.js +264 -0
- package/dist/{mind-list-WUPMQDYQ.js → mind-list-6VPM7GUQ.js} +4 -4
- package/dist/mind-manager-MWW3BTS4.js +32 -0
- package/dist/{mind-profile-P67FEHOY.js → mind-profile-WPG42U5Y.js} +2 -2
- package/dist/mind-service-VIKZJK2M.js +38 -0
- package/dist/{mind-sleep-WW2IX7JT.js → mind-sleep-XDISJY74.js} +6 -6
- package/dist/{mind-status-L3EFFRPR.js → mind-status-7FTZWPZF.js} +4 -4
- package/dist/{mind-wake-VSSGW465.js → mind-wake-KIIKEI3A.js} +6 -6
- package/dist/{package-U3VFO273.js → package-V2WHWVG6.js} +8 -5
- package/dist/{read-EBY56C33.js → read-H5C26YO7.js} +20 -10
- package/dist/{read-stdin-HQJ7774D.js → read-stdin-PIRM6A2Y.js} +1 -1
- package/dist/{register-HD74C4TT.js → register-J27WP33N.js} +6 -6
- package/dist/{registry-PJ4S5PHQ.js → registry-UYV5S6QT.js} +3 -3
- package/dist/{reject-UJKFBHRO.js → reject-OEANJYIA.js} +6 -6
- package/dist/{restart-3UCMRUVC.js → restart-V5EGYBJG.js} +4 -4
- package/dist/{sandbox-GJOK4QLQ.js → sandbox-SI5HMBP3.js} +5 -5
- package/dist/scheduler-AGG3L2FO.js +32 -0
- package/dist/{schema-PA3M5ZKH.js → schema-ETMABTW4.js} +4 -2
- package/dist/{seed-QDYVLG74.js → seed-WNGI6PNW.js} +2 -2
- package/dist/{seed-check-S2IX25RL.js → seed-check-PXTH7YXS.js} +2 -2
- package/dist/{seed-cmd-DKOUFEAU.js → seed-cmd-VENFTGS3.js} +4 -4
- package/dist/{seed-create-4XBBOLRH.js → seed-create-663ALOKH.js} +6 -6
- package/dist/{seed-sprout-GQEIIQRT.js → seed-sprout-EH3AGKAI.js} +12 -12
- package/dist/{send-QIV2INHB.js → send-7FUUUZZH.js} +23 -10
- package/dist/{setup-TISPCO22.js → setup-GGMKENLN.js} +4 -4
- package/dist/{setup-XMCBE3LF.js → setup-Z3DEVWV7.js} +11 -11
- package/dist/{skill-PSQGRRJX.js → skill-DKNYJS4P.js} +14 -10
- package/dist/skills/plan-coordinator/SKILL.md +60 -0
- package/dist/skills/volute-mind/SKILL.md +7 -221
- package/dist/skills/volute-mind/references/extensions.md +37 -0
- package/dist/skills/volute-mind/references/integrations.md +48 -0
- package/dist/skills/volute-mind/references/routing.md +86 -0
- package/dist/skills/volute-mind/references/sleep.md +33 -0
- package/dist/skills/volute-mind/references/variants.md +31 -0
- package/dist/{skills-7FV7EJTE.js → skills-Q6VZ2UGD.js} +11 -7
- package/dist/sleep-manager-BJK2ROPX.js +36 -0
- package/dist/spirit-4JP4TY4C.js +23 -0
- package/dist/{split-STOROBYJ.js → split-3YPMS2CL.js} +3 -3
- package/dist/{sprout-WKLZXUIQ.js → sprout-E3HJIV2Z.js} +2 -2
- package/dist/{start-K2NCUUCG.js → start-W3TPKX4D.js} +4 -4
- package/dist/{status-3JBTFSMI.js → status-4OVFXFEJ.js} +7 -7
- package/dist/{stop-H26JZDXF.js → stop-GTT6YWYO.js} +4 -4
- package/dist/system-channel-DXD2JBOU.js +36 -0
- package/dist/system-chat-TYLOL7SX.js +36 -0
- package/dist/{systems-XRI52VCH.js → systems-AYLO727G.js} +7 -7
- package/dist/{tailscale-XHQBZROW.js → tailscale-ZEUK7GKZ.js} +3 -3
- package/dist/{template-hash-A6VVKOXJ.js → template-hash-EJRTKE36.js} +1 -1
- package/dist/up-PA7F2CXE.js +18 -0
- package/dist/{update-UD543CXX.js → update-HG4LCUSG.js} +7 -7
- package/dist/{update-check-ZD6OOIYQ.js → update-check-X3YG4WVP.js} +4 -4
- package/dist/{upgrade-O4Q7WJM3.js → upgrade-YGNIDICG.js} +3 -3
- package/dist/{variant-7TGZHOU3.js → variant-MZUMRTQO.js} +1 -1
- package/dist/{version-notify-NBI2MTJO.js → version-notify-YCH4UVQ2.js} +19 -19
- package/dist/{volute-config-HD7WWUQC.js → volute-config-WBKYJGYQ.js} +1 -1
- package/dist/web-assets/assets/index-DiiwC-CZ.css +1 -0
- package/dist/web-assets/assets/index-d6y5b9Ij.js +75 -0
- package/dist/web-assets/ext-theme.css +48 -9
- package/dist/web-assets/index.html +2 -2
- package/drizzle/0005_meta_summaries.sql +15 -0
- package/drizzle/meta/0005_snapshot.json +7 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +7 -4
- package/packages/extensions/plan/dist/ui/assets/index-CJj2gZnZ.css +1 -0
- package/packages/extensions/plan/dist/ui/assets/index-FMEJmvQz.js +61 -0
- package/packages/extensions/plan/dist/ui/index.html +14 -0
- package/packages/extensions/plan/skills/plan/SKILL.md +43 -0
- package/packages/extensions/plan/skills/plan/scripts/plan-hook.sh +37 -0
- package/templates/_base/home/VOLUTE.md +12 -19
- package/templates/_base/src/lib/context-breakdown.ts +450 -0
- package/templates/_base/src/lib/format-prefix.ts +17 -0
- package/templates/_base/src/lib/hook-loader.ts +8 -2
- package/templates/_base/src/lib/router.ts +75 -33
- package/templates/_base/src/lib/routing.ts +4 -1
- package/templates/_base/src/lib/startup.ts +16 -8
- package/templates/_base/src/lib/types.ts +2 -1
- package/templates/_base/src/lib/volute-server.ts +69 -8
- package/templates/claude/.init/CLAUDE.md +4 -10
- package/templates/claude/package.json.tmpl +1 -0
- package/templates/claude/src/agent.ts +100 -32
- package/templates/claude/src/lib/hooks/reply-instructions.ts +27 -7
- package/templates/claude/src/lib/stream-consumer.ts +2 -2
- package/templates/claude/src/server.ts +1 -0
- package/templates/codex/package.json.tmpl +1 -0
- package/templates/codex/src/agent.ts +80 -8
- package/templates/codex/src/server.ts +1 -4
- package/templates/pi/package.json.tmpl +1 -0
- package/templates/pi/src/agent.ts +115 -36
- package/templates/pi/src/lib/event-handler.ts +22 -7
- package/templates/pi/src/lib/reply-instructions-extension.ts +23 -4
- package/templates/pi/src/lib/subagents.ts +20 -17
- package/templates/pi/src/server.ts +2 -5
- package/dist/chunk-K3NQKI34.js +0 -10
- package/dist/daemon-client-6QXHZ7US.js +0 -12
- package/dist/db-F34YLV7D.js +0 -9
- package/dist/delivery-manager-PFAKEJTC.js +0 -32
- package/dist/down-FWWTEKXM.js +0 -15
- package/dist/extension-OBTGKQQD.js +0 -175
- package/dist/extensions-KYNTVTMO.js +0 -30
- package/dist/history-DKCDI3JO.js +0 -128
- package/dist/message-delivery-DFF5SJRM.js +0 -42
- package/dist/mind-manager-NBJF5D26.js +0 -32
- package/dist/mind-service-2MQ6UK5N.js +0 -38
- package/dist/scheduler-ZZ7XGQG6.js +0 -32
- package/dist/sleep-manager-JTXSN7NV.js +0 -36
- package/dist/spirit-VRONKFMF.js +0 -23
- package/dist/system-chat-JAPOJ3KE.js +0 -36
- package/dist/up-M5AS6SBV.js +0 -18
- package/dist/web-assets/assets/index-CWJrVveV.css +0 -1
- package/dist/web-assets/assets/index-DJt14FRI.js +0 -75
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resolveMindName
|
|
4
4
|
} from "./chunk-NAOW2CLO.js";
|
|
5
|
-
import {
|
|
6
|
-
daemonFetch
|
|
7
|
-
} from "./chunk-UKVWJRKN.js";
|
|
8
5
|
import {
|
|
9
6
|
parseArgs
|
|
10
7
|
} from "./chunk-D424ZQGI.js";
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
import {
|
|
9
|
+
daemonFetch
|
|
10
|
+
} from "./chunk-PLDWHR4D.js";
|
|
11
|
+
import "./chunk-N7BLAHNE.js";
|
|
12
|
+
import "./chunk-4JSR7YO7.js";
|
|
13
|
+
import "./chunk-7KJOFUNN.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/chat/accept.ts
|
|
16
16
|
async function run(args) {
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
broadcast,
|
|
4
4
|
publish,
|
|
5
5
|
subscribe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XWXBJQBE.js";
|
|
7
7
|
import "./chunk-YUIHSKR6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-N7BLAHNE.js";
|
|
9
|
+
import "./chunk-4JSR7YO7.js";
|
|
10
|
+
import "./chunk-7KJOFUNN.js";
|
|
11
11
|
export {
|
|
12
12
|
broadcast,
|
|
13
13
|
publish,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
setEnabledModels,
|
|
18
18
|
setUtilityModel,
|
|
19
19
|
unqualifyModelId
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BFWHBQK4.js";
|
|
21
21
|
import "./chunk-YUIHSKR6.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-6OWJXUAR.js";
|
|
23
|
+
import "./chunk-N7BLAHNE.js";
|
|
24
|
+
import "./chunk-4JSR7YO7.js";
|
|
25
|
+
import "./chunk-7KJOFUNN.js";
|
|
26
26
|
export {
|
|
27
27
|
aiComplete,
|
|
28
28
|
aiCompleteUtility,
|
package/dist/api.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import * as hono_utils_types from 'hono/utils/types';
|
|
|
4
4
|
import * as hono_utils_http_status from 'hono/utils/http-status';
|
|
5
5
|
import * as hono_types from 'hono/types';
|
|
6
6
|
|
|
7
|
+
type ExtensionSource = "builtin" | "npm" | "local";
|
|
8
|
+
|
|
7
9
|
type PromptCategory = "creation" | "system" | "mind";
|
|
8
10
|
|
|
9
11
|
type MindType = "mind" | "spirit";
|
|
@@ -521,6 +523,22 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
521
523
|
input: {};
|
|
522
524
|
output: {
|
|
523
525
|
system: string | null;
|
|
526
|
+
name: string | null;
|
|
527
|
+
};
|
|
528
|
+
outputFormat: "json";
|
|
529
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
} & {
|
|
533
|
+
"/info": {
|
|
534
|
+
$put: {
|
|
535
|
+
input: {
|
|
536
|
+
json: {
|
|
537
|
+
name: string;
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
output: {
|
|
541
|
+
name: string | null;
|
|
524
542
|
};
|
|
525
543
|
outputFormat: "json";
|
|
526
544
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -933,8 +951,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
933
951
|
$put: {
|
|
934
952
|
input: {
|
|
935
953
|
json: {
|
|
936
|
-
spiritModel: string | null;
|
|
937
954
|
utilityModel: string | null;
|
|
955
|
+
spiritModel?: string | null | undefined;
|
|
938
956
|
};
|
|
939
957
|
};
|
|
940
958
|
output: {
|
|
@@ -1093,6 +1111,96 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1093
1111
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1094
1112
|
};
|
|
1095
1113
|
};
|
|
1114
|
+
} & {
|
|
1115
|
+
"/mind-defaults": {
|
|
1116
|
+
$get: {
|
|
1117
|
+
input: {};
|
|
1118
|
+
output: {
|
|
1119
|
+
cognition?: {
|
|
1120
|
+
model?: string | undefined;
|
|
1121
|
+
thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1122
|
+
maxThinkingTokens?: number | undefined;
|
|
1123
|
+
tokenBudget?: number | undefined;
|
|
1124
|
+
tokenBudgetPeriodMinutes?: number | undefined;
|
|
1125
|
+
compaction?: {
|
|
1126
|
+
maxContextTokens?: number | undefined;
|
|
1127
|
+
} | undefined;
|
|
1128
|
+
} | undefined;
|
|
1129
|
+
sleep?: {
|
|
1130
|
+
enabled?: boolean | undefined;
|
|
1131
|
+
schedule?: {
|
|
1132
|
+
sleep: string;
|
|
1133
|
+
wake: string;
|
|
1134
|
+
} | undefined;
|
|
1135
|
+
wakeTriggers?: {
|
|
1136
|
+
mentions?: boolean | undefined;
|
|
1137
|
+
dms?: boolean | undefined;
|
|
1138
|
+
channels?: string[] | undefined;
|
|
1139
|
+
senders?: string[] | undefined;
|
|
1140
|
+
} | undefined;
|
|
1141
|
+
} | undefined;
|
|
1142
|
+
schedules?: {
|
|
1143
|
+
id: string;
|
|
1144
|
+
cron?: string | undefined;
|
|
1145
|
+
fireAt?: string | undefined;
|
|
1146
|
+
message?: string | undefined;
|
|
1147
|
+
script?: string | undefined;
|
|
1148
|
+
enabled: boolean;
|
|
1149
|
+
whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
|
|
1150
|
+
channel?: string | undefined;
|
|
1151
|
+
session?: string | undefined;
|
|
1152
|
+
}[] | undefined;
|
|
1153
|
+
};
|
|
1154
|
+
outputFormat: "json";
|
|
1155
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
} & {
|
|
1159
|
+
"/mind-defaults": {
|
|
1160
|
+
$put: {
|
|
1161
|
+
input: {
|
|
1162
|
+
json: {
|
|
1163
|
+
cognition?: {
|
|
1164
|
+
model?: string | undefined;
|
|
1165
|
+
thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1166
|
+
maxThinkingTokens?: number | undefined;
|
|
1167
|
+
tokenBudget?: number | undefined;
|
|
1168
|
+
tokenBudgetPeriodMinutes?: number | undefined;
|
|
1169
|
+
compaction?: {
|
|
1170
|
+
maxContextTokens?: number | undefined;
|
|
1171
|
+
} | undefined;
|
|
1172
|
+
} | undefined;
|
|
1173
|
+
sleep?: {
|
|
1174
|
+
enabled?: boolean | undefined;
|
|
1175
|
+
schedule?: {
|
|
1176
|
+
sleep: string;
|
|
1177
|
+
wake: string;
|
|
1178
|
+
} | undefined;
|
|
1179
|
+
wakeTriggers?: {
|
|
1180
|
+
mentions?: boolean | undefined;
|
|
1181
|
+
dms?: boolean | undefined;
|
|
1182
|
+
channels?: string[] | undefined;
|
|
1183
|
+
senders?: string[] | undefined;
|
|
1184
|
+
} | undefined;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
schedules?: {
|
|
1187
|
+
id: string;
|
|
1188
|
+
enabled: boolean;
|
|
1189
|
+
cron?: string | undefined;
|
|
1190
|
+
message?: string | undefined;
|
|
1191
|
+
script?: string | undefined;
|
|
1192
|
+
session?: string | undefined;
|
|
1193
|
+
whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
|
|
1194
|
+
}[] | undefined;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
output: {
|
|
1198
|
+
ok: true;
|
|
1199
|
+
};
|
|
1200
|
+
outputFormat: "json";
|
|
1201
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1096
1204
|
}, "/api/system"> | hono_types.MergeSchemaPath<{
|
|
1097
1205
|
"/update": {
|
|
1098
1206
|
$get: {
|
|
@@ -1286,6 +1394,41 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1286
1394
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1287
1395
|
};
|
|
1288
1396
|
};
|
|
1397
|
+
} & {
|
|
1398
|
+
"/:name/context": {
|
|
1399
|
+
$get: {
|
|
1400
|
+
input: {
|
|
1401
|
+
param: {
|
|
1402
|
+
name: string;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
output: {
|
|
1406
|
+
error: string;
|
|
1407
|
+
};
|
|
1408
|
+
outputFormat: "json";
|
|
1409
|
+
status: 503;
|
|
1410
|
+
} | {
|
|
1411
|
+
input: {
|
|
1412
|
+
param: {
|
|
1413
|
+
name: string;
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1416
|
+
output: {
|
|
1417
|
+
error: string;
|
|
1418
|
+
};
|
|
1419
|
+
outputFormat: "json";
|
|
1420
|
+
status: 404 | 502;
|
|
1421
|
+
} | {
|
|
1422
|
+
input: {
|
|
1423
|
+
param: {
|
|
1424
|
+
name: string;
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1427
|
+
output: hono_utils_types.JSONValue;
|
|
1428
|
+
outputFormat: "json";
|
|
1429
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1289
1432
|
} & {
|
|
1290
1433
|
"/:name/start": {
|
|
1291
1434
|
$post: {
|
|
@@ -1994,9 +2137,13 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1994
2137
|
};
|
|
1995
2138
|
config: {
|
|
1996
2139
|
model: string | null;
|
|
1997
|
-
thinkingLevel:
|
|
2140
|
+
thinkingLevel: null;
|
|
2141
|
+
maxThinkingTokens: number | null;
|
|
1998
2142
|
tokenBudget: number | null;
|
|
1999
2143
|
tokenBudgetPeriodMinutes: number | null;
|
|
2144
|
+
compaction: {
|
|
2145
|
+
maxContextTokens?: number | undefined;
|
|
2146
|
+
} | null;
|
|
2000
2147
|
};
|
|
2001
2148
|
};
|
|
2002
2149
|
outputFormat: "json";
|
|
@@ -2010,8 +2157,12 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2010
2157
|
json: {
|
|
2011
2158
|
model?: string | undefined;
|
|
2012
2159
|
thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2160
|
+
maxThinkingTokens?: number | null | undefined;
|
|
2013
2161
|
tokenBudget?: number | null | undefined;
|
|
2014
2162
|
tokenBudgetPeriodMinutes?: number | null | undefined;
|
|
2163
|
+
compaction?: {
|
|
2164
|
+
maxContextTokens?: number | null | undefined;
|
|
2165
|
+
} | null | undefined;
|
|
2015
2166
|
};
|
|
2016
2167
|
} & {
|
|
2017
2168
|
param: {
|
|
@@ -2028,8 +2179,12 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2028
2179
|
json: {
|
|
2029
2180
|
model?: string | undefined;
|
|
2030
2181
|
thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2182
|
+
maxThinkingTokens?: number | null | undefined;
|
|
2031
2183
|
tokenBudget?: number | null | undefined;
|
|
2032
2184
|
tokenBudgetPeriodMinutes?: number | null | undefined;
|
|
2185
|
+
compaction?: {
|
|
2186
|
+
maxContextTokens?: number | null | undefined;
|
|
2187
|
+
} | null | undefined;
|
|
2033
2188
|
};
|
|
2034
2189
|
} & {
|
|
2035
2190
|
param: {
|
|
@@ -2437,6 +2592,79 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2437
2592
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2438
2593
|
};
|
|
2439
2594
|
};
|
|
2595
|
+
} & {
|
|
2596
|
+
"/:name/sleep/config": {
|
|
2597
|
+
$get: {
|
|
2598
|
+
input: {
|
|
2599
|
+
param: {
|
|
2600
|
+
name: string;
|
|
2601
|
+
};
|
|
2602
|
+
};
|
|
2603
|
+
output: {
|
|
2604
|
+
error: string;
|
|
2605
|
+
};
|
|
2606
|
+
outputFormat: "json";
|
|
2607
|
+
status: 404;
|
|
2608
|
+
} | {
|
|
2609
|
+
input: {
|
|
2610
|
+
param: {
|
|
2611
|
+
name: string;
|
|
2612
|
+
};
|
|
2613
|
+
};
|
|
2614
|
+
output: {
|
|
2615
|
+
enabled?: boolean | undefined;
|
|
2616
|
+
schedule?: {
|
|
2617
|
+
sleep: string;
|
|
2618
|
+
wake: string;
|
|
2619
|
+
} | undefined;
|
|
2620
|
+
wakeTriggers?: {
|
|
2621
|
+
mentions?: boolean | undefined;
|
|
2622
|
+
dms?: boolean | undefined;
|
|
2623
|
+
channels?: string[] | undefined;
|
|
2624
|
+
senders?: string[] | undefined;
|
|
2625
|
+
} | undefined;
|
|
2626
|
+
};
|
|
2627
|
+
outputFormat: "json";
|
|
2628
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2631
|
+
} & {
|
|
2632
|
+
"/:name/sleep/config": {
|
|
2633
|
+
$put: {
|
|
2634
|
+
input: {
|
|
2635
|
+
param: {
|
|
2636
|
+
name: string;
|
|
2637
|
+
};
|
|
2638
|
+
};
|
|
2639
|
+
output: {
|
|
2640
|
+
error: string;
|
|
2641
|
+
};
|
|
2642
|
+
outputFormat: "json";
|
|
2643
|
+
status: 404;
|
|
2644
|
+
} | {
|
|
2645
|
+
input: {
|
|
2646
|
+
param: {
|
|
2647
|
+
name: string;
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
output: {
|
|
2651
|
+
error: string;
|
|
2652
|
+
};
|
|
2653
|
+
outputFormat: "json";
|
|
2654
|
+
status: 400;
|
|
2655
|
+
} | {
|
|
2656
|
+
input: {
|
|
2657
|
+
param: {
|
|
2658
|
+
name: string;
|
|
2659
|
+
};
|
|
2660
|
+
};
|
|
2661
|
+
output: {
|
|
2662
|
+
ok: true;
|
|
2663
|
+
};
|
|
2664
|
+
outputFormat: "json";
|
|
2665
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2666
|
+
};
|
|
2667
|
+
};
|
|
2440
2668
|
} & {
|
|
2441
2669
|
"/:name/schedules": {
|
|
2442
2670
|
$get: {
|
|
@@ -3183,6 +3411,44 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3183
3411
|
};
|
|
3184
3412
|
};
|
|
3185
3413
|
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
3414
|
+
"/:name/avatar": {
|
|
3415
|
+
$post: {
|
|
3416
|
+
input: {
|
|
3417
|
+
param: {
|
|
3418
|
+
name: string;
|
|
3419
|
+
};
|
|
3420
|
+
};
|
|
3421
|
+
output: {
|
|
3422
|
+
error: string;
|
|
3423
|
+
};
|
|
3424
|
+
outputFormat: "json";
|
|
3425
|
+
status: 404;
|
|
3426
|
+
} | {
|
|
3427
|
+
input: {
|
|
3428
|
+
param: {
|
|
3429
|
+
name: string;
|
|
3430
|
+
};
|
|
3431
|
+
};
|
|
3432
|
+
output: {
|
|
3433
|
+
error: string;
|
|
3434
|
+
};
|
|
3435
|
+
outputFormat: "json";
|
|
3436
|
+
status: 400;
|
|
3437
|
+
} | {
|
|
3438
|
+
input: {
|
|
3439
|
+
param: {
|
|
3440
|
+
name: string;
|
|
3441
|
+
};
|
|
3442
|
+
};
|
|
3443
|
+
output: {
|
|
3444
|
+
ok: true;
|
|
3445
|
+
avatar: string;
|
|
3446
|
+
};
|
|
3447
|
+
outputFormat: "json";
|
|
3448
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3449
|
+
};
|
|
3450
|
+
};
|
|
3451
|
+
} & {
|
|
3186
3452
|
"/:name/avatar": {
|
|
3187
3453
|
$get: {
|
|
3188
3454
|
input: {
|
|
@@ -3976,7 +4242,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3976
4242
|
} | {
|
|
3977
4243
|
input: {};
|
|
3978
4244
|
output: {
|
|
3979
|
-
key: "seed_soul" | "default_soul" | "default_memory" | "sprout_message" | "restart_message" | "merge_message" | "upgrade_message" | "compaction_warning" | "compaction_instructions" | "reply_instructions" | "channel_invite" | "pre_sleep" | "wake_summary" | "turn_summary";
|
|
4245
|
+
key: "seed_soul" | "default_soul" | "default_memory" | "sprout_message" | "restart_message" | "merge_message" | "upgrade_message" | "compaction_warning" | "compaction_instructions" | "reply_instructions" | "channel_invite" | "pre_sleep" | "wake_summary" | "turn_summary" | "meta_summary_hour" | "meta_summary_day" | "meta_summary_week" | "meta_summary_month";
|
|
3980
4246
|
content: string;
|
|
3981
4247
|
description: string;
|
|
3982
4248
|
variables: string[];
|
|
@@ -4144,6 +4410,35 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4144
4410
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4145
4411
|
};
|
|
4146
4412
|
};
|
|
4413
|
+
} & {
|
|
4414
|
+
"/auto-update": {
|
|
4415
|
+
$get: {
|
|
4416
|
+
input: {};
|
|
4417
|
+
output: {
|
|
4418
|
+
enabled: boolean;
|
|
4419
|
+
};
|
|
4420
|
+
outputFormat: "json";
|
|
4421
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4422
|
+
};
|
|
4423
|
+
};
|
|
4424
|
+
} & {
|
|
4425
|
+
"/auto-update": {
|
|
4426
|
+
$put: {
|
|
4427
|
+
input: {};
|
|
4428
|
+
output: {
|
|
4429
|
+
error: string;
|
|
4430
|
+
};
|
|
4431
|
+
outputFormat: "json";
|
|
4432
|
+
status: 400;
|
|
4433
|
+
} | {
|
|
4434
|
+
input: {};
|
|
4435
|
+
output: {
|
|
4436
|
+
enabled: boolean;
|
|
4437
|
+
};
|
|
4438
|
+
outputFormat: "json";
|
|
4439
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4440
|
+
};
|
|
4441
|
+
};
|
|
4147
4442
|
} & {
|
|
4148
4443
|
"/upload": {
|
|
4149
4444
|
$post: {
|
|
@@ -4564,6 +4859,108 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4564
4859
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4565
4860
|
};
|
|
4566
4861
|
};
|
|
4862
|
+
} & {
|
|
4863
|
+
"/all": {
|
|
4864
|
+
$get: {
|
|
4865
|
+
input: {};
|
|
4866
|
+
output: {
|
|
4867
|
+
id: string;
|
|
4868
|
+
name: string;
|
|
4869
|
+
version: string;
|
|
4870
|
+
description?: string | undefined;
|
|
4871
|
+
icon?: string | undefined;
|
|
4872
|
+
source: ExtensionSource;
|
|
4873
|
+
enabled: boolean;
|
|
4874
|
+
package?: string | undefined;
|
|
4875
|
+
}[];
|
|
4876
|
+
outputFormat: "json";
|
|
4877
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4878
|
+
};
|
|
4879
|
+
};
|
|
4880
|
+
} & {
|
|
4881
|
+
"/:id/enabled": {
|
|
4882
|
+
$put: {
|
|
4883
|
+
input: {
|
|
4884
|
+
param: {
|
|
4885
|
+
id: string;
|
|
4886
|
+
};
|
|
4887
|
+
};
|
|
4888
|
+
output: {
|
|
4889
|
+
error: string;
|
|
4890
|
+
};
|
|
4891
|
+
outputFormat: "json";
|
|
4892
|
+
status: 400;
|
|
4893
|
+
} | {
|
|
4894
|
+
input: {
|
|
4895
|
+
param: {
|
|
4896
|
+
id: string;
|
|
4897
|
+
};
|
|
4898
|
+
};
|
|
4899
|
+
output: {
|
|
4900
|
+
error: string;
|
|
4901
|
+
};
|
|
4902
|
+
outputFormat: "json";
|
|
4903
|
+
status: 404;
|
|
4904
|
+
} | {
|
|
4905
|
+
input: {
|
|
4906
|
+
param: {
|
|
4907
|
+
id: string;
|
|
4908
|
+
};
|
|
4909
|
+
};
|
|
4910
|
+
output: {
|
|
4911
|
+
ok: true;
|
|
4912
|
+
requiresRestart: true;
|
|
4913
|
+
};
|
|
4914
|
+
outputFormat: "json";
|
|
4915
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4916
|
+
};
|
|
4917
|
+
};
|
|
4918
|
+
} & {
|
|
4919
|
+
"/install": {
|
|
4920
|
+
$post: {
|
|
4921
|
+
input: {};
|
|
4922
|
+
output: {
|
|
4923
|
+
ok: true;
|
|
4924
|
+
requiresRestart: true;
|
|
4925
|
+
};
|
|
4926
|
+
outputFormat: "json";
|
|
4927
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4928
|
+
} | {
|
|
4929
|
+
input: {};
|
|
4930
|
+
output: {
|
|
4931
|
+
error: string;
|
|
4932
|
+
};
|
|
4933
|
+
outputFormat: "json";
|
|
4934
|
+
status: 400 | 500;
|
|
4935
|
+
};
|
|
4936
|
+
};
|
|
4937
|
+
} & {
|
|
4938
|
+
"/uninstall/:package": {
|
|
4939
|
+
$delete: {
|
|
4940
|
+
input: {
|
|
4941
|
+
param: {
|
|
4942
|
+
package: string;
|
|
4943
|
+
};
|
|
4944
|
+
};
|
|
4945
|
+
output: {
|
|
4946
|
+
ok: true;
|
|
4947
|
+
requiresRestart: true;
|
|
4948
|
+
};
|
|
4949
|
+
outputFormat: "json";
|
|
4950
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4951
|
+
} | {
|
|
4952
|
+
input: {
|
|
4953
|
+
param: {
|
|
4954
|
+
package: string;
|
|
4955
|
+
};
|
|
4956
|
+
};
|
|
4957
|
+
output: {
|
|
4958
|
+
error: string;
|
|
4959
|
+
};
|
|
4960
|
+
outputFormat: "json";
|
|
4961
|
+
status: 400 | 500;
|
|
4962
|
+
};
|
|
4963
|
+
};
|
|
4567
4964
|
}, "/api/extensions"> | hono_types.MergeSchemaPath<{
|
|
4568
4965
|
"/": {
|
|
4569
4966
|
$get: {
|
|
@@ -5188,6 +5585,32 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5188
5585
|
status: hono_utils_http_status.StatusCode;
|
|
5189
5586
|
};
|
|
5190
5587
|
};
|
|
5588
|
+
} & {
|
|
5589
|
+
"/summaries": {
|
|
5590
|
+
$get: {
|
|
5591
|
+
input: {};
|
|
5592
|
+
output: {
|
|
5593
|
+
metadata: {
|
|
5594
|
+
[x: string]: hono_utils_types.JSONValue;
|
|
5595
|
+
} | null;
|
|
5596
|
+
id: number;
|
|
5597
|
+
mind: string;
|
|
5598
|
+
period: string;
|
|
5599
|
+
period_key: string;
|
|
5600
|
+
content: string;
|
|
5601
|
+
created_at: string;
|
|
5602
|
+
}[];
|
|
5603
|
+
outputFormat: "json";
|
|
5604
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5605
|
+
} | {
|
|
5606
|
+
input: {};
|
|
5607
|
+
output: {
|
|
5608
|
+
error: string;
|
|
5609
|
+
};
|
|
5610
|
+
outputFormat: "json";
|
|
5611
|
+
status: 400;
|
|
5612
|
+
};
|
|
5613
|
+
};
|
|
5191
5614
|
}, "/api/v1/history">, "/", "/">;
|
|
5192
5615
|
|
|
5193
5616
|
type AppType = typeof routes;
|
|
@@ -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-6WAWMWR5.js";
|
|
9
|
+
import "./chunk-N7BLAHNE.js";
|
|
10
|
+
import "./chunk-4JSR7YO7.js";
|
|
11
|
+
import "./chunk-7KJOFUNN.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-BM474GX6.js";
|
|
21
|
+
import "./chunk-XWXBJQBE.js";
|
|
22
22
|
import "./chunk-YUIHSKR6.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-N7BLAHNE.js";
|
|
24
|
+
import "./chunk-4JSR7YO7.js";
|
|
25
|
+
import "./chunk-7KJOFUNN.js";
|
|
26
26
|
export {
|
|
27
27
|
approveUser,
|
|
28
28
|
changePassword,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
daemonFetch
|
|
4
|
-
} from "./chunk-UKVWJRKN.js";
|
|
5
2
|
import {
|
|
6
3
|
parseArgs
|
|
7
4
|
} from "./chunk-D424ZQGI.js";
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
import {
|
|
6
|
+
daemonFetch
|
|
7
|
+
} from "./chunk-PLDWHR4D.js";
|
|
8
|
+
import "./chunk-N7BLAHNE.js";
|
|
9
|
+
import "./chunk-4JSR7YO7.js";
|
|
10
|
+
import "./chunk-7KJOFUNN.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/chat/bridge.ts
|
|
13
13
|
async function run(args) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-7KJOFUNN.js";
|
|
3
3
|
|
|
4
4
|
// src/commands/chat.ts
|
|
5
5
|
async function run(args) {
|
|
@@ -7,28 +7,28 @@ async function run(args) {
|
|
|
7
7
|
const subArgs = args.slice(1);
|
|
8
8
|
switch (subcommand) {
|
|
9
9
|
case "send":
|
|
10
|
-
await import("./send-
|
|
10
|
+
await import("./send-7FUUUZZH.js").then((m) => m.run(subArgs));
|
|
11
11
|
break;
|
|
12
12
|
case "list":
|
|
13
|
-
await import("./list-
|
|
13
|
+
await import("./list-C644WTHV.js").then((m) => m.run(subArgs));
|
|
14
14
|
break;
|
|
15
15
|
case "read":
|
|
16
|
-
await import("./read-
|
|
16
|
+
await import("./read-H5C26YO7.js").then((m) => m.run(subArgs));
|
|
17
17
|
break;
|
|
18
18
|
case "create":
|
|
19
|
-
await import("./create-
|
|
19
|
+
await import("./create-3SEKKI6P.js").then((m) => m.run(subArgs));
|
|
20
20
|
break;
|
|
21
21
|
case "bridge":
|
|
22
|
-
await import("./bridge-
|
|
22
|
+
await import("./bridge-O753D5F4.js").then((m) => m.run(subArgs));
|
|
23
23
|
break;
|
|
24
24
|
case "files":
|
|
25
|
-
await import("./files-
|
|
25
|
+
await import("./files-VQV2VZQO.js").then((m) => m.run(subArgs));
|
|
26
26
|
break;
|
|
27
27
|
case "accept":
|
|
28
|
-
await import("./accept-
|
|
28
|
+
await import("./accept-TW6V4WI4.js").then((m) => m.run(subArgs));
|
|
29
29
|
break;
|
|
30
30
|
case "reject":
|
|
31
|
-
await import("./reject-
|
|
31
|
+
await import("./reject-OEANJYIA.js").then((m) => m.run(subArgs));
|
|
32
32
|
break;
|
|
33
33
|
case "--help":
|
|
34
34
|
case "-h":
|