volute 0.31.0 → 0.32.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 +15 -22
- package/dist/{accept-GAKQ3MEH.js → accept-74M7I4RZ.js} +3 -2
- package/dist/{activity-events-T5ZRCVAL.js → activity-events-HETAODOK.js} +3 -2
- package/dist/{ai-service-UWUPM4T6.js → ai-service-ZIPCV3MX.js} +18 -5
- package/dist/api.d.ts +98 -281
- package/dist/{archive-YBNSJYZZ.js → archive-INXYFVCW.js} +3 -2
- package/dist/{auth-T5AW2USD.js → auth-6DMGES3I.js} +4 -3
- package/dist/{bridge-4AJ3EY26.js → bridge-BVCBTGPF.js} +3 -2
- package/dist/{chat-7YLT7FI3.js → chat-XT4OBJBU.js} +8 -8
- package/dist/{chunk-BNC43CSY.js → chunk-2FLJ63GU.js} +2 -2
- package/dist/{chunk-NV3TYNWX.js → chunk-2NGTS5UU.js} +1 -1
- package/dist/{chunk-LX6T3GKQ.js → chunk-ALEF47VT.js} +1 -1
- package/dist/{chunk-S2TZLSDH.js → chunk-D5G5YOPL.js} +163 -15
- package/dist/{chunk-VGWJSNHS.js → chunk-G53F3JA4.js} +1 -35
- package/dist/{chunk-A6TUJJ3L.js → chunk-G6BSYHPK.js} +2 -2
- package/dist/{chunk-BC3P3QCK.js → chunk-I5KY25PQ.js} +1 -9
- package/dist/{chunk-PNQCXLSV.js → chunk-IYDIE3HG.js} +58 -1
- package/dist/{chunk-HDKY4TWU.js → chunk-JJ7W6WSB.js} +3 -3
- package/dist/{chunk-57OKQMP3.js → chunk-LGB6JBHI.js} +1 -1
- package/dist/chunk-LRCG2JLP.js +251 -0
- package/dist/{chunk-SNVPRRT7.js → chunk-LSGWR54X.js} +2 -2
- package/dist/{chunk-EMPFLFTG.js → chunk-M7UL5S3Q.js} +1 -1
- package/dist/chunk-PB65JZK2.js +85 -0
- package/dist/chunk-PVY5W6QN.js +41 -0
- package/dist/{chunk-BWKIHH7B.js → chunk-QBQ424EM.js} +318 -418
- package/dist/{chunk-EKDWA7E4.js → chunk-QZANELPX.js} +4 -2
- package/dist/{chunk-AAO77TZX.js → chunk-R7E6CRVQ.js} +1 -1
- package/dist/{chunk-X62AXPR7.js → chunk-RPZZSXV3.js} +8 -196
- package/dist/{chunk-WRS3B556.js → chunk-RSX4OPZY.js} +5 -5
- package/dist/{chunk-FAHDKPEH.js → chunk-S6NFERDC.js} +5 -3
- package/dist/chunk-SKLSMHXO.js +208 -0
- package/dist/{chunk-DAXJKPHZ.js → chunk-SX5TKJBZ.js} +2 -2
- package/dist/{chunk-R5QJBZZG.js → chunk-TDRYEPH4.js} +20 -10
- package/dist/{chunk-6QIUN46C.js → chunk-TSXLLQZW.js} +11 -3
- package/dist/{chunk-4OUOFS23.js → chunk-UKVWJRKN.js} +1 -1
- package/dist/{chunk-NOWVQ7AL.js → chunk-WKF5FEFK.js} +318 -167
- package/dist/cli.js +38 -20
- package/dist/{clock-LJCG426D.js → clock-2UOZ6JPU.js} +5 -4
- package/dist/{cloud-sync-O3LXIRN6.js → cloud-sync-JN3NWKEM.js} +16 -14
- package/dist/config-H2H4UIF7.js +72 -0
- 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-RKKGP5IA.js → conversations-3O5O6AS3.js} +4 -3
- package/dist/{create-WUTIIRI2.js → create-RNLNCORE.js} +3 -2
- package/dist/{create-TL623TFC.js → create-WBBYI6V7.js} +6 -2
- package/dist/{daemon-client-CVGM25DM.js → daemon-client-6QXHZ7US.js} +3 -2
- package/dist/{daemon-restart-EZP7XH3V.js → daemon-restart-NGFHFAUF.js} +7 -6
- package/dist/daemon.js +907 -612
- package/dist/{db-SW5PL6QA.js → db-F34YLV7D.js} +2 -1
- package/dist/db-RA45JBFG.js +16 -0
- package/dist/{delete-Z6HAG35F.js → delete-QTGWEDBI.js} +1 -1
- package/dist/delivery-manager-SDVXFD4W.js +28 -0
- package/dist/delivery-router-FL45JL7N.js +21 -0
- package/dist/down-TB3ESMNP.js +14 -0
- package/dist/{env-NHESNNSP.js → env-RLYQBOOP.js} +3 -2
- package/dist/{export-EVMP7GWY.js → export-SUYRLI5Q.js} +4 -3
- package/dist/{extension-LR7EW3JF.js → extension-FQ5D3NCC.js} +4 -3
- package/dist/{extensions-NGEJI7JH.js → extensions-GDYWQXC4.js} +9 -7
- package/dist/{files-3SM7V33S.js → files-EAMPO2SJ.js} +4 -3
- package/dist/{history-PQD3LXEP.js → history-FO5PHBQ5.js} +7 -2
- package/dist/{import-PR2OCGQJ.js → import-DDUFE7AY.js} +4 -3
- package/dist/{join-R4EN5CWQ.js → join-I5QEE3LG.js} +1 -1
- package/dist/{list-B4XNUOFO.js → list-DW2VRTOZ.js} +3 -2
- package/dist/{login-62JVY6A2.js → login-7CHPW2PN.js} +3 -2
- package/dist/{login-URWP6S2N.js → login-RIJF2F4G.js} +3 -2
- package/dist/{logout-NXJQJDLI.js → logout-5MLHZALK.js} +3 -2
- package/dist/{logout-ZK2N62T3.js → logout-UZJRGY4Z.js} +3 -2
- package/dist/message-delivery-2FIM7QKO.js +32 -0
- package/dist/{mind-E2ZV2WRX.js → mind-2B6M7Y25.js} +18 -18
- package/dist/{mind-activity-tracker-ASNZBMLC.js → mind-activity-tracker-NZZT2NTT.js} +4 -3
- package/dist/{mind-list-BEI7E5WY.js → mind-list-WUPMQDYQ.js} +3 -2
- package/dist/mind-manager-BNCMGYXW.js +28 -0
- package/dist/mind-service-AV273WT4.js +34 -0
- package/dist/{mind-sleep-CANABWJI.js → mind-sleep-B7BHJLH7.js} +3 -2
- package/dist/{mind-status-6WKZVUOP.js → mind-status-L3EFFRPR.js} +3 -2
- package/dist/{mind-wake-RZKLH2IN.js → mind-wake-GY3RFX7Y.js} +3 -2
- package/dist/{package-NU4CA7OU.js → package-PK6JUFL3.js} +1 -1
- package/dist/{read-THL362EI.js → read-5AMJRO3D.js} +3 -2
- package/dist/{register-QAQELAS6.js → register-V2JZZKFK.js} +3 -2
- package/dist/{registry-ASXCQCNH.js → registry-PJ4S5PHQ.js} +8 -1
- package/dist/{reject-AYPBNPNL.js → reject-33HEZMZ4.js} +3 -2
- package/dist/{restart-6SKPV3T2.js → restart-3UCMRUVC.js} +3 -2
- package/dist/{sandbox-6ZEWQDVU.js → sandbox-JANNTX6U.js} +4 -3
- package/dist/schema-PA3M5ZKH.js +32 -0
- package/dist/{seed-OWX2AW75.js → seed-ALUQ55FF.js} +26 -9
- package/dist/{send-ZO4BTWXK.js → send-3MI36LEF.js} +56 -67
- package/dist/{setup-7CFITEQN.js → setup-SZIARWI6.js} +5 -2
- package/dist/{setup-ZXBXG7E4.js → setup-WENLVPVP.js} +8 -6
- package/dist/{skill-YFXP67A2.js → skill-TUVOTW4Z.js} +3 -2
- package/dist/skills/dreaming/SKILL.md +6 -4
- package/dist/skills/dreaming/references/INSTALL.md +2 -2
- package/dist/skills/dreaming/scripts/dream.ts +2 -2
- package/dist/skills/dreaming/scripts/wake-context-dreams.sh +1 -1
- package/dist/skills/imagegen/SKILL.md +6 -5
- package/dist/skills/imagegen/references/INSTALL.md +1 -1
- package/dist/skills/resonance/SKILL.md +4 -1
- package/dist/skills/resonance/references/INSTALL.md +2 -2
- package/dist/skills/resonance/scripts/resonance-hook.sh +2 -0
- package/dist/skills/resonance/scripts/resonance.ts +35 -5
- package/dist/skills/volute-admin/SKILL.md +83 -0
- package/dist/skills/volute-mind/SKILL.md +11 -11
- package/dist/skills-XNZK6P4K.js +61 -0
- package/dist/sleep-manager-53DZOWW7.js +32 -0
- package/dist/spirit-N4W4UQRH.js +217 -0
- package/dist/{split-MI62KJUU.js → split-STOROBYJ.js} +1 -1
- package/dist/{sprout-FDVI2CGN.js → sprout-L2GFOVF7.js} +9 -7
- package/dist/{start-D64BRKPH.js → start-K2NCUUCG.js} +3 -2
- package/dist/{status-ZZWBYFGE.js → status-TCUMUO6M.js} +5 -4
- package/dist/{stop-OP2CTXCO.js → stop-H26JZDXF.js} +3 -2
- package/dist/system-chat-NPYFYZVI.js +32 -0
- package/dist/{systems-EQPPT4B7.js → systems-DHBKVYEY.js} +6 -5
- package/dist/{tailscale-6DJKUMNF.js → tailscale-XHQBZROW.js} +2 -1
- package/dist/{template-hash-3HOR4UAJ.js → template-hash-A6VVKOXJ.js} +2 -1
- package/dist/up-6I6BHRTO.js +17 -0
- package/dist/{update-KUJXATRS.js → update-QVPRF6GR.js} +5 -4
- package/dist/{update-check-5WVSU37T.js → update-check-ZD6OOIYQ.js} +3 -2
- package/dist/{upgrade-KBHCWX6T.js → upgrade-O4Q7WJM3.js} +12 -14
- package/dist/{version-notify-75ELVKPV.js → version-notify-TCKWBZZG.js} +21 -18
- package/dist/web-assets/assets/index-Bui7U9Uu.css +1 -0
- package/dist/web-assets/assets/index-e36DIo1b.js +73 -0
- package/dist/web-assets/ext-theme.css +93 -0
- package/dist/web-assets/index.html +2 -2
- package/drizzle/0004_spirits.sql +5 -0
- package/drizzle/meta/0004_snapshot.json +7 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/packages/extensions/notes/dist/ui/assets/index-8jWEv9SA.js +61 -0
- package/packages/extensions/notes/dist/ui/assets/index-DkaB7Ytd.css +1 -0
- package/packages/extensions/notes/dist/ui/index.html +2 -2
- package/packages/extensions/pages/skills/pages/SKILL.md +16 -46
- package/templates/_base/.init/.config/hooks/pre-prompt/session-activity.ts +40 -0
- package/templates/_base/.init/{.config → .local}/bin/volute +1 -1
- package/templates/_base/.init/.local/hooks/pre-prompt/session-activity.ts +40 -0
- package/templates/_base/.init/.local/hooks/startup-context.ts +58 -0
- package/templates/_base/home/.config/routes.json +1 -1
- package/templates/_base/src/lib/daemon-client.ts +21 -13
- package/templates/_base/src/lib/format-prefix.ts +1 -0
- package/templates/_base/src/lib/hook-loader.ts +155 -0
- package/templates/_base/src/lib/startup.ts +11 -4
- package/templates/_base/src/lib/transparency.ts +2 -2
- package/templates/claude/.init/.claude/settings.json +1 -1
- package/templates/claude/.init/.config/routes.json +2 -2
- package/templates/claude/src/agent.ts +95 -13
- package/templates/claude/src/lib/message-channel.ts +7 -2
- package/templates/codex/.init/.config/routes.json +11 -0
- package/templates/codex/.init/AGENTS.md +29 -0
- package/templates/codex/home/.config/config.json.tmpl +7 -0
- package/templates/codex/package.json.tmpl +20 -0
- package/templates/codex/src/agent.ts +553 -0
- package/templates/codex/src/lib/content.ts +16 -0
- package/templates/codex/src/lib/session-store.ts +56 -0
- package/templates/codex/src/server.ts +59 -0
- package/templates/codex/volute-template.json +8 -0
- package/templates/pi/.init/.config/routes.json +2 -2
- package/templates/pi/src/agent.ts +62 -8
- package/templates/pi/src/lib/event-handler.ts +1 -1
- package/templates/pi/src/lib/reply-instructions-extension.ts +32 -11
- package/dist/chunk-HR5JKIDG.js +0 -222
- package/dist/down-TS4XQBA4.js +0 -13
- package/dist/message-delivery-UJHCLVU4.js +0 -30
- package/dist/mind-manager-IPA6DZXD.js +0 -26
- package/dist/pages-watcher-72OVPRMH.js +0 -22
- package/dist/skills/sessions/SKILL.md +0 -49
- package/dist/sleep-manager-TPS6OGCA.js +0 -30
- package/dist/system-chat-B43GIXQU.js +0 -30
- package/dist/up-TDXEP3VA.js +0 -16
- package/dist/web-assets/assets/index-BM1cTzBg.js +0 -72
- package/dist/web-assets/assets/index-BfJkKTPF.css +0 -1
- package/packages/extensions/notes/dist/ui/assets/index-B8GdTnXs.css +0 -1
- package/packages/extensions/notes/dist/ui/assets/index-CDpGTCWb.js +0 -2
- package/packages/extensions/pages/skills/pages/scripts/pages.mjs +0 -58
- package/templates/_base/.init/.config/hooks/startup-context.sh +0 -46
- package/templates/_base/.init/.config/scripts/session-reader.ts +0 -59
- package/templates/_base/src/lib/session-monitor.ts +0 -400
- package/templates/claude/src/lib/hooks/session-context.ts +0 -32
- package/templates/pi/src/lib/session-context-extension.ts +0 -35
- /package/templates/_base/.init/{.config → .local}/hooks/wake-context.sh +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import * as hono_types from 'hono/types';
|
|
|
6
6
|
|
|
7
7
|
type PromptCategory = "creation" | "system" | "mind";
|
|
8
8
|
|
|
9
|
+
type MindType = "mind" | "spirit";
|
|
10
|
+
|
|
9
11
|
declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.BlankSchema | hono_types.MergeSchemaPath<{
|
|
10
12
|
"/events": {
|
|
11
13
|
$get: {
|
|
@@ -66,7 +68,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
66
68
|
output: {
|
|
67
69
|
id: number;
|
|
68
70
|
username: string;
|
|
69
|
-
role: "pending" | "user" | "admin";
|
|
71
|
+
role: "system" | "pending" | "user" | "admin";
|
|
70
72
|
};
|
|
71
73
|
outputFormat: "json";
|
|
72
74
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -96,7 +98,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
96
98
|
output: {
|
|
97
99
|
id: number;
|
|
98
100
|
username: string;
|
|
99
|
-
role: "pending" | "user" | "admin";
|
|
101
|
+
role: "system" | "pending" | "user" | "admin";
|
|
100
102
|
sessionId: string;
|
|
101
103
|
};
|
|
102
104
|
outputFormat: "json";
|
|
@@ -128,7 +130,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
128
130
|
output: {
|
|
129
131
|
id: number;
|
|
130
132
|
username: string;
|
|
131
|
-
role: "pending" | "user" | "admin";
|
|
133
|
+
role: "system" | "pending" | "user" | "admin";
|
|
132
134
|
display_name: string | null;
|
|
133
135
|
description: string | null;
|
|
134
136
|
avatar: string | null;
|
|
@@ -186,7 +188,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
186
188
|
output: {
|
|
187
189
|
id: number;
|
|
188
190
|
username: string;
|
|
189
|
-
role: "admin" | "user" | "pending";
|
|
191
|
+
role: "admin" | "user" | "pending" | "system";
|
|
190
192
|
user_type: "brain" | "mind" | "system";
|
|
191
193
|
display_name: string | null;
|
|
192
194
|
description: string | null;
|
|
@@ -204,7 +206,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
204
206
|
output: {
|
|
205
207
|
id: number;
|
|
206
208
|
username: string;
|
|
207
|
-
role: "admin" | "user" | "pending";
|
|
209
|
+
role: "admin" | "user" | "pending" | "system";
|
|
208
210
|
user_type: "brain" | "mind" | "system";
|
|
209
211
|
display_name: string | null;
|
|
210
212
|
description: string | null;
|
|
@@ -965,6 +967,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
965
967
|
model?: string | undefined;
|
|
966
968
|
seedSoul?: string | undefined;
|
|
967
969
|
skills?: string[] | undefined;
|
|
970
|
+
createdBy?: string | undefined;
|
|
968
971
|
};
|
|
969
972
|
};
|
|
970
973
|
output: {
|
|
@@ -982,6 +985,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
982
985
|
model?: string | undefined;
|
|
983
986
|
seedSoul?: string | undefined;
|
|
984
987
|
skills?: string[] | undefined;
|
|
988
|
+
createdBy?: string | undefined;
|
|
985
989
|
};
|
|
986
990
|
};
|
|
987
991
|
output: {
|
|
@@ -999,6 +1003,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
999
1003
|
model?: string | undefined;
|
|
1000
1004
|
seedSoul?: string | undefined;
|
|
1001
1005
|
skills?: string[] | undefined;
|
|
1006
|
+
createdBy?: string | undefined;
|
|
1002
1007
|
};
|
|
1003
1008
|
};
|
|
1004
1009
|
output: {
|
|
@@ -1022,6 +1027,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1022
1027
|
model?: string | undefined;
|
|
1023
1028
|
seedSoul?: string | undefined;
|
|
1024
1029
|
skills?: string[] | undefined;
|
|
1030
|
+
createdBy?: string | undefined;
|
|
1025
1031
|
};
|
|
1026
1032
|
};
|
|
1027
1033
|
output: {
|
|
@@ -1043,7 +1049,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1043
1049
|
name: string;
|
|
1044
1050
|
displayName: string;
|
|
1045
1051
|
status: "connected" | "disconnected";
|
|
1046
|
-
showToolCalls: boolean;
|
|
1047
1052
|
}[];
|
|
1048
1053
|
displayName: string | undefined;
|
|
1049
1054
|
description: string | undefined;
|
|
@@ -1058,37 +1063,13 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1058
1063
|
parent?: string | undefined;
|
|
1059
1064
|
dir?: string | undefined;
|
|
1060
1065
|
branch?: string | undefined;
|
|
1066
|
+
mindType: MindType;
|
|
1067
|
+
createdBy?: string | undefined;
|
|
1061
1068
|
}[];
|
|
1062
1069
|
outputFormat: "json";
|
|
1063
1070
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1064
1071
|
};
|
|
1065
1072
|
};
|
|
1066
|
-
} & {
|
|
1067
|
-
"/pages/sites": {
|
|
1068
|
-
$get: {
|
|
1069
|
-
input: {};
|
|
1070
|
-
output: {
|
|
1071
|
-
then: never;
|
|
1072
|
-
catch: never;
|
|
1073
|
-
finally: never;
|
|
1074
|
-
};
|
|
1075
|
-
outputFormat: "json";
|
|
1076
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1077
|
-
};
|
|
1078
|
-
};
|
|
1079
|
-
} & {
|
|
1080
|
-
"/pages/recent": {
|
|
1081
|
-
$get: {
|
|
1082
|
-
input: {};
|
|
1083
|
-
output: {
|
|
1084
|
-
then: never;
|
|
1085
|
-
catch: never;
|
|
1086
|
-
finally: never;
|
|
1087
|
-
};
|
|
1088
|
-
outputFormat: "json";
|
|
1089
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
1092
1073
|
} & {
|
|
1093
1074
|
"/:name": {
|
|
1094
1075
|
$get: {
|
|
@@ -1120,7 +1101,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1120
1101
|
name: string;
|
|
1121
1102
|
displayName: string;
|
|
1122
1103
|
status: "connected" | "disconnected";
|
|
1123
|
-
showToolCalls: boolean;
|
|
1124
1104
|
}[];
|
|
1125
1105
|
displayName: string | undefined;
|
|
1126
1106
|
description: string | undefined;
|
|
@@ -1135,6 +1115,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1135
1115
|
parent?: string | undefined;
|
|
1136
1116
|
dir?: string | undefined;
|
|
1137
1117
|
branch?: string | undefined;
|
|
1118
|
+
mindType: MindType;
|
|
1119
|
+
createdBy?: string | undefined;
|
|
1138
1120
|
};
|
|
1139
1121
|
outputFormat: "json";
|
|
1140
1122
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -2152,6 +2134,32 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2152
2134
|
status: 400;
|
|
2153
2135
|
};
|
|
2154
2136
|
};
|
|
2137
|
+
} & {
|
|
2138
|
+
"/:name/history/cross-session": {
|
|
2139
|
+
$get: {
|
|
2140
|
+
input: {
|
|
2141
|
+
param: {
|
|
2142
|
+
name: string;
|
|
2143
|
+
};
|
|
2144
|
+
};
|
|
2145
|
+
output: {
|
|
2146
|
+
context: null;
|
|
2147
|
+
};
|
|
2148
|
+
outputFormat: "json";
|
|
2149
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2150
|
+
} | {
|
|
2151
|
+
input: {
|
|
2152
|
+
param: {
|
|
2153
|
+
name: string;
|
|
2154
|
+
};
|
|
2155
|
+
};
|
|
2156
|
+
output: {
|
|
2157
|
+
context: string;
|
|
2158
|
+
};
|
|
2159
|
+
outputFormat: "json";
|
|
2160
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2161
|
+
};
|
|
2162
|
+
};
|
|
2155
2163
|
} & {
|
|
2156
2164
|
"/:name/history": {
|
|
2157
2165
|
$get: {
|
|
@@ -2594,20 +2602,20 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2594
2602
|
name: string;
|
|
2595
2603
|
};
|
|
2596
2604
|
};
|
|
2597
|
-
output:
|
|
2598
|
-
|
|
2599
|
-
|
|
2605
|
+
output: {
|
|
2606
|
+
error: string;
|
|
2607
|
+
};
|
|
2608
|
+
outputFormat: "json";
|
|
2609
|
+
status: 404;
|
|
2600
2610
|
} | {
|
|
2601
2611
|
input: {
|
|
2602
2612
|
param: {
|
|
2603
2613
|
name: string;
|
|
2604
2614
|
};
|
|
2605
2615
|
};
|
|
2606
|
-
output:
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
outputFormat: "json";
|
|
2610
|
-
status: 404;
|
|
2616
|
+
output: string;
|
|
2617
|
+
outputFormat: "text";
|
|
2618
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2611
2619
|
};
|
|
2612
2620
|
};
|
|
2613
2621
|
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
@@ -2688,6 +2696,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2688
2696
|
parent?: string | undefined;
|
|
2689
2697
|
dir?: string | undefined;
|
|
2690
2698
|
branch?: string | undefined;
|
|
2699
|
+
mindType: MindType;
|
|
2700
|
+
createdBy?: string | undefined;
|
|
2691
2701
|
}[];
|
|
2692
2702
|
outputFormat: "json";
|
|
2693
2703
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -3152,245 +3162,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3152
3162
|
status: 500;
|
|
3153
3163
|
};
|
|
3154
3164
|
};
|
|
3155
|
-
} & {
|
|
3156
|
-
"/:name/files": {
|
|
3157
|
-
$get: {
|
|
3158
|
-
input: {
|
|
3159
|
-
param: {
|
|
3160
|
-
name: string;
|
|
3161
|
-
};
|
|
3162
|
-
};
|
|
3163
|
-
output: {
|
|
3164
|
-
error: string;
|
|
3165
|
-
};
|
|
3166
|
-
outputFormat: "json";
|
|
3167
|
-
status: 404;
|
|
3168
|
-
} | {
|
|
3169
|
-
input: {
|
|
3170
|
-
param: {
|
|
3171
|
-
name: string;
|
|
3172
|
-
};
|
|
3173
|
-
};
|
|
3174
|
-
output: string[];
|
|
3175
|
-
outputFormat: "json";
|
|
3176
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3177
|
-
};
|
|
3178
|
-
};
|
|
3179
|
-
} & {
|
|
3180
|
-
"/:name/files/:filename": {
|
|
3181
|
-
$get: {
|
|
3182
|
-
input: {
|
|
3183
|
-
param: {
|
|
3184
|
-
filename: string;
|
|
3185
|
-
} & {
|
|
3186
|
-
name: string;
|
|
3187
|
-
};
|
|
3188
|
-
};
|
|
3189
|
-
output: {
|
|
3190
|
-
error: string;
|
|
3191
|
-
};
|
|
3192
|
-
outputFormat: "json";
|
|
3193
|
-
status: 403;
|
|
3194
|
-
} | {
|
|
3195
|
-
input: {
|
|
3196
|
-
param: {
|
|
3197
|
-
filename: string;
|
|
3198
|
-
} & {
|
|
3199
|
-
name: string;
|
|
3200
|
-
};
|
|
3201
|
-
};
|
|
3202
|
-
output: {
|
|
3203
|
-
error: string;
|
|
3204
|
-
};
|
|
3205
|
-
outputFormat: "json";
|
|
3206
|
-
status: 404;
|
|
3207
|
-
} | {
|
|
3208
|
-
input: {
|
|
3209
|
-
param: {
|
|
3210
|
-
filename: string;
|
|
3211
|
-
} & {
|
|
3212
|
-
name: string;
|
|
3213
|
-
};
|
|
3214
|
-
};
|
|
3215
|
-
output: {
|
|
3216
|
-
filename: string;
|
|
3217
|
-
content: string;
|
|
3218
|
-
};
|
|
3219
|
-
outputFormat: "json";
|
|
3220
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3221
|
-
};
|
|
3222
|
-
};
|
|
3223
3165
|
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
3224
|
-
"/:name/channels/send": {
|
|
3225
|
-
$post: {
|
|
3226
|
-
input: {
|
|
3227
|
-
param: {
|
|
3228
|
-
name: string;
|
|
3229
|
-
};
|
|
3230
|
-
};
|
|
3231
|
-
output: {
|
|
3232
|
-
error: string;
|
|
3233
|
-
};
|
|
3234
|
-
outputFormat: "json";
|
|
3235
|
-
status: 404;
|
|
3236
|
-
} | {
|
|
3237
|
-
input: {
|
|
3238
|
-
param: {
|
|
3239
|
-
name: string;
|
|
3240
|
-
};
|
|
3241
|
-
};
|
|
3242
|
-
output: {
|
|
3243
|
-
error: string;
|
|
3244
|
-
};
|
|
3245
|
-
outputFormat: "json";
|
|
3246
|
-
status: 400;
|
|
3247
|
-
} | {
|
|
3248
|
-
input: {
|
|
3249
|
-
param: {
|
|
3250
|
-
name: string;
|
|
3251
|
-
};
|
|
3252
|
-
};
|
|
3253
|
-
output: {
|
|
3254
|
-
ok: true;
|
|
3255
|
-
};
|
|
3256
|
-
outputFormat: "json";
|
|
3257
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3258
|
-
} | {
|
|
3259
|
-
input: {
|
|
3260
|
-
param: {
|
|
3261
|
-
name: string;
|
|
3262
|
-
};
|
|
3263
|
-
};
|
|
3264
|
-
output: {
|
|
3265
|
-
error: string;
|
|
3266
|
-
};
|
|
3267
|
-
outputFormat: "json";
|
|
3268
|
-
status: 500;
|
|
3269
|
-
};
|
|
3270
|
-
};
|
|
3271
|
-
} & {
|
|
3272
|
-
"/:name/channels/read": {
|
|
3273
|
-
$get: {
|
|
3274
|
-
input: {
|
|
3275
|
-
param: {
|
|
3276
|
-
name: string;
|
|
3277
|
-
};
|
|
3278
|
-
};
|
|
3279
|
-
output: {
|
|
3280
|
-
error: string;
|
|
3281
|
-
};
|
|
3282
|
-
outputFormat: "json";
|
|
3283
|
-
status: 404;
|
|
3284
|
-
} | {
|
|
3285
|
-
input: {
|
|
3286
|
-
param: {
|
|
3287
|
-
name: string;
|
|
3288
|
-
};
|
|
3289
|
-
};
|
|
3290
|
-
output: {
|
|
3291
|
-
error: string;
|
|
3292
|
-
};
|
|
3293
|
-
outputFormat: "json";
|
|
3294
|
-
status: 400;
|
|
3295
|
-
} | {
|
|
3296
|
-
input: {
|
|
3297
|
-
param: {
|
|
3298
|
-
name: string;
|
|
3299
|
-
};
|
|
3300
|
-
};
|
|
3301
|
-
output: string;
|
|
3302
|
-
outputFormat: "text";
|
|
3303
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3304
|
-
} | {
|
|
3305
|
-
input: {
|
|
3306
|
-
param: {
|
|
3307
|
-
name: string;
|
|
3308
|
-
};
|
|
3309
|
-
};
|
|
3310
|
-
output: {
|
|
3311
|
-
error: string;
|
|
3312
|
-
};
|
|
3313
|
-
outputFormat: "json";
|
|
3314
|
-
status: 500;
|
|
3315
|
-
};
|
|
3316
|
-
};
|
|
3317
|
-
} & {
|
|
3318
|
-
"/:name/channels/list": {
|
|
3319
|
-
$get: {
|
|
3320
|
-
input: {
|
|
3321
|
-
param: {
|
|
3322
|
-
name: string;
|
|
3323
|
-
};
|
|
3324
|
-
};
|
|
3325
|
-
output: {
|
|
3326
|
-
error: string;
|
|
3327
|
-
};
|
|
3328
|
-
outputFormat: "json";
|
|
3329
|
-
status: 404;
|
|
3330
|
-
} | {
|
|
3331
|
-
input: {
|
|
3332
|
-
param: {
|
|
3333
|
-
name: string;
|
|
3334
|
-
};
|
|
3335
|
-
};
|
|
3336
|
-
output: {
|
|
3337
|
-
[x: string]: hono_utils_types.JSONValue[];
|
|
3338
|
-
};
|
|
3339
|
-
outputFormat: "json";
|
|
3340
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3341
|
-
};
|
|
3342
|
-
};
|
|
3343
|
-
} & {
|
|
3344
|
-
"/:name/channels/users": {
|
|
3345
|
-
$get: {
|
|
3346
|
-
input: {
|
|
3347
|
-
param: {
|
|
3348
|
-
name: string;
|
|
3349
|
-
};
|
|
3350
|
-
};
|
|
3351
|
-
output: {
|
|
3352
|
-
error: string;
|
|
3353
|
-
};
|
|
3354
|
-
outputFormat: "json";
|
|
3355
|
-
status: 404;
|
|
3356
|
-
} | {
|
|
3357
|
-
input: {
|
|
3358
|
-
param: {
|
|
3359
|
-
name: string;
|
|
3360
|
-
};
|
|
3361
|
-
};
|
|
3362
|
-
output: {
|
|
3363
|
-
error: string;
|
|
3364
|
-
};
|
|
3365
|
-
outputFormat: "json";
|
|
3366
|
-
status: 400;
|
|
3367
|
-
} | {
|
|
3368
|
-
input: {
|
|
3369
|
-
param: {
|
|
3370
|
-
name: string;
|
|
3371
|
-
};
|
|
3372
|
-
};
|
|
3373
|
-
output: {
|
|
3374
|
-
id: string;
|
|
3375
|
-
username: string;
|
|
3376
|
-
type?: string | undefined;
|
|
3377
|
-
}[];
|
|
3378
|
-
outputFormat: "json";
|
|
3379
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3380
|
-
} | {
|
|
3381
|
-
input: {
|
|
3382
|
-
param: {
|
|
3383
|
-
name: string;
|
|
3384
|
-
};
|
|
3385
|
-
};
|
|
3386
|
-
output: {
|
|
3387
|
-
error: string;
|
|
3388
|
-
};
|
|
3389
|
-
outputFormat: "json";
|
|
3390
|
-
status: 500;
|
|
3391
|
-
};
|
|
3392
|
-
};
|
|
3393
|
-
} & {
|
|
3394
3166
|
"/:name/channels/create": {
|
|
3395
3167
|
$post: {
|
|
3396
3168
|
input: {
|
|
@@ -3422,6 +3194,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3422
3194
|
};
|
|
3423
3195
|
output: {
|
|
3424
3196
|
slug: string;
|
|
3197
|
+
conversationId: string;
|
|
3425
3198
|
};
|
|
3426
3199
|
outputFormat: "json";
|
|
3427
3200
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -4137,7 +3910,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4137
3910
|
} | {
|
|
4138
3911
|
input: {};
|
|
4139
3912
|
output: {
|
|
4140
|
-
key: "seed_soul" | "default_soul" | "default_memory" | "sprout_message" | "restart_message" | "merge_message" | "compaction_warning" | "compaction_instructions" | "reply_instructions" | "channel_invite" | "pre_sleep" | "wake_summary" | "turn_summary";
|
|
3913
|
+
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";
|
|
4141
3914
|
content: string;
|
|
4142
3915
|
description: string;
|
|
4143
3916
|
variables: string[];
|
|
@@ -4636,6 +4409,50 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4636
4409
|
status: 409;
|
|
4637
4410
|
};
|
|
4638
4411
|
};
|
|
4412
|
+
} & {
|
|
4413
|
+
"/:name": {
|
|
4414
|
+
$get: {
|
|
4415
|
+
input: {
|
|
4416
|
+
param: {
|
|
4417
|
+
name: string;
|
|
4418
|
+
};
|
|
4419
|
+
};
|
|
4420
|
+
output: {
|
|
4421
|
+
error: string;
|
|
4422
|
+
};
|
|
4423
|
+
outputFormat: "json";
|
|
4424
|
+
status: 404;
|
|
4425
|
+
} | {
|
|
4426
|
+
input: {
|
|
4427
|
+
param: {
|
|
4428
|
+
name: string;
|
|
4429
|
+
};
|
|
4430
|
+
};
|
|
4431
|
+
output: {
|
|
4432
|
+
participants: {
|
|
4433
|
+
userId: number;
|
|
4434
|
+
username: string;
|
|
4435
|
+
userType: "brain" | "mind" | "puppet" | "system";
|
|
4436
|
+
role: "owner" | "member";
|
|
4437
|
+
displayName?: string | null | undefined;
|
|
4438
|
+
description?: string | null | undefined;
|
|
4439
|
+
avatar?: string | null | undefined;
|
|
4440
|
+
}[];
|
|
4441
|
+
id: string;
|
|
4442
|
+
mind_name: string | null;
|
|
4443
|
+
channel: string;
|
|
4444
|
+
type: "dm" | "channel";
|
|
4445
|
+
name: string | null;
|
|
4446
|
+
user_id: number | null;
|
|
4447
|
+
title: string | null;
|
|
4448
|
+
private: number;
|
|
4449
|
+
created_at: string;
|
|
4450
|
+
updated_at: string;
|
|
4451
|
+
};
|
|
4452
|
+
outputFormat: "json";
|
|
4453
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4454
|
+
};
|
|
4455
|
+
};
|
|
4639
4456
|
} & {
|
|
4640
4457
|
"/:name/join": {
|
|
4641
4458
|
$post: {
|
|
@@ -5166,6 +4983,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5166
4983
|
name: string;
|
|
5167
4984
|
version: string;
|
|
5168
4985
|
description?: string | undefined;
|
|
4986
|
+
icon?: string | undefined;
|
|
5169
4987
|
systemSection?: {
|
|
5170
4988
|
id: string;
|
|
5171
4989
|
label: string;
|
|
@@ -5175,7 +4993,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5175
4993
|
id: string;
|
|
5176
4994
|
label: string;
|
|
5177
4995
|
defaultPath?: string | undefined;
|
|
5178
|
-
icon?: string | undefined;
|
|
5179
4996
|
}[] | undefined;
|
|
5180
4997
|
feedSource?: {
|
|
5181
4998
|
endpoint: string;
|
|
@@ -5,8 +5,9 @@ import {
|
|
|
5
5
|
extractArchive,
|
|
6
6
|
isHomeOnlyArchive,
|
|
7
7
|
readManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-I5KY25PQ.js";
|
|
9
|
+
import "./chunk-LRCG2JLP.js";
|
|
10
|
+
import "./chunk-RPZZSXV3.js";
|
|
10
11
|
import "./chunk-K3NQKI34.js";
|
|
11
12
|
export {
|
|
12
13
|
addHistoryToArchive,
|
|
@@ -17,10 +17,11 @@ import {
|
|
|
17
17
|
syncMindProfile,
|
|
18
18
|
updateUserProfile,
|
|
19
19
|
verifyUser
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-TDRYEPH4.js";
|
|
21
|
+
import "./chunk-QZANELPX.js";
|
|
22
22
|
import "./chunk-YUIHSKR6.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-LRCG2JLP.js";
|
|
24
|
+
import "./chunk-RPZZSXV3.js";
|
|
24
25
|
import "./chunk-K3NQKI34.js";
|
|
25
26
|
export {
|
|
26
27
|
approveUser,
|
|
@@ -4,8 +4,9 @@ import {
|
|
|
4
4
|
} from "./chunk-D424ZQGI.js";
|
|
5
5
|
import {
|
|
6
6
|
daemonFetch
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-UKVWJRKN.js";
|
|
8
|
+
import "./chunk-LRCG2JLP.js";
|
|
9
|
+
import "./chunk-RPZZSXV3.js";
|
|
9
10
|
import "./chunk-K3NQKI34.js";
|
|
10
11
|
|
|
11
12
|
// src/commands/chat/bridge.ts
|
|
@@ -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-3MI36LEF.js").then((m) => m.run(subArgs));
|
|
11
11
|
break;
|
|
12
12
|
case "list":
|
|
13
|
-
await import("./list-
|
|
13
|
+
await import("./list-DW2VRTOZ.js").then((m) => m.run(subArgs));
|
|
14
14
|
break;
|
|
15
15
|
case "read":
|
|
16
|
-
await import("./read-
|
|
16
|
+
await import("./read-5AMJRO3D.js").then((m) => m.run(subArgs));
|
|
17
17
|
break;
|
|
18
18
|
case "create":
|
|
19
|
-
await import("./create-
|
|
19
|
+
await import("./create-RNLNCORE.js").then((m) => m.run(subArgs));
|
|
20
20
|
break;
|
|
21
21
|
case "bridge":
|
|
22
|
-
await import("./bridge-
|
|
22
|
+
await import("./bridge-BVCBTGPF.js").then((m) => m.run(subArgs));
|
|
23
23
|
break;
|
|
24
24
|
case "files":
|
|
25
|
-
await import("./files-
|
|
25
|
+
await import("./files-EAMPO2SJ.js").then((m) => m.run(subArgs));
|
|
26
26
|
break;
|
|
27
27
|
case "accept":
|
|
28
|
-
await import("./accept-
|
|
28
|
+
await import("./accept-74M7I4RZ.js").then((m) => m.run(subArgs));
|
|
29
29
|
break;
|
|
30
30
|
case "reject":
|
|
31
|
-
await import("./reject-
|
|
31
|
+
await import("./reject-33HEZMZ4.js").then((m) => m.run(subArgs));
|
|
32
32
|
break;
|
|
33
33
|
case "--help":
|
|
34
34
|
case "-h":
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
pollHealthDown,
|
|
6
6
|
readDaemonConfig,
|
|
7
7
|
stopService
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LSGWR54X.js";
|
|
9
9
|
import {
|
|
10
10
|
voluteSystemDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LRCG2JLP.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/down.ts
|
|
14
14
|
import { existsSync, readFileSync, unlinkSync } from "fs";
|