volute 0.31.0 → 0.33.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 +31 -22
- package/dist/{accept-GAKQ3MEH.js → accept-D5VBM7JW.js} +5 -4
- package/dist/{activity-events-T5ZRCVAL.js → activity-events-XJO3P4RR.js} +3 -2
- package/dist/{ai-service-UWUPM4T6.js → ai-service-SBY2WG7O.js} +18 -5
- package/dist/api.d.ts +703 -1068
- package/dist/{archive-YBNSJYZZ.js → archive-INXYFVCW.js} +3 -2
- package/dist/{auth-T5AW2USD.js → auth-GKCDSO4T.js} +4 -3
- package/dist/{bridge-4AJ3EY26.js → bridge-TXWWPPOJ.js} +5 -4
- package/dist/{chat-7YLT7FI3.js → chat-U5ZOME3O.js} +8 -8
- package/dist/{chunk-NV3TYNWX.js → chunk-2NGTS5UU.js} +1 -1
- package/dist/{chunk-BWKIHH7B.js → chunk-3Z2DPESO.js} +662 -508
- package/dist/chunk-6LXAAQ43.js +22 -0
- package/dist/chunk-7J3HEVR7.js +220 -0
- package/dist/{chunk-NOWVQ7AL.js → chunk-A2A4KLFE.js} +351 -301
- package/dist/{chunk-LX6T3GKQ.js → chunk-ALEF47VT.js} +1 -1
- package/dist/{chunk-S2TZLSDH.js → chunk-C7I35G4R.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-DAXJKPHZ.js → chunk-GY5HBI7A.js} +2 -2
- package/dist/{chunk-BC3P3QCK.js → chunk-I5KY25PQ.js} +1 -9
- package/dist/{chunk-BNC43CSY.js → chunk-JUKK7FPS.js} +2 -2
- package/dist/{chunk-R5QJBZZG.js → chunk-JYVGHWEJ.js} +21 -11
- package/dist/chunk-KIEPMIM5.js +59 -0
- package/dist/{chunk-EKDWA7E4.js → chunk-KVK2DLWI.js} +5 -2
- package/dist/{chunk-AAO77TZX.js → chunk-LOEJ4HPQ.js} +1 -1
- package/dist/chunk-LRCG2JLP.js +251 -0
- package/dist/{chunk-EMPFLFTG.js → chunk-M7UL5S3Q.js} +1 -1
- package/dist/{chunk-6QIUN46C.js → chunk-N432I7QH.js} +20 -3
- package/dist/{chunk-SNVPRRT7.js → chunk-NNB4WIG7.js} +2 -2
- package/dist/{chunk-HDKY4TWU.js → chunk-NPKSDYA2.js} +3 -3
- package/dist/chunk-OYAKCAVY.js +29 -0
- package/dist/chunk-PB65JZK2.js +85 -0
- package/dist/chunk-PVY5W6QN.js +41 -0
- package/dist/{chunk-PNQCXLSV.js → chunk-QTUVYI7W.js} +58 -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-RVGLDGMI.js} +5 -3
- package/dist/chunk-SKLSMHXO.js +208 -0
- package/dist/{chunk-4OUOFS23.js → chunk-UKVWJRKN.js} +1 -1
- package/dist/{chunk-57OKQMP3.js → chunk-VH33ZWMW.js} +5 -55
- package/dist/cli.js +49 -23
- package/dist/{clock-LJCG426D.js → clock-BVH3V6E3.js} +7 -6
- package/dist/{cloud-sync-O3LXIRN6.js → cloud-sync-4NWLMFVH.js} +20 -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-AWI5SZW2.js} +4 -3
- package/dist/{create-TL623TFC.js → create-2FK7Z46Y.js} +6 -2
- package/dist/{create-WUTIIRI2.js → create-YWD2TIP4.js} +6 -5
- package/dist/{daemon-client-CVGM25DM.js → daemon-client-6QXHZ7US.js} +3 -2
- package/dist/{daemon-restart-EZP7XH3V.js → daemon-restart-GOBUKLX7.js} +8 -6
- package/dist/daemon.js +1918 -1472
- 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-PFAKEJTC.js +32 -0
- package/dist/delivery-router-FL45JL7N.js +21 -0
- package/dist/down-FWWTEKXM.js +15 -0
- package/dist/{env-NHESNNSP.js → env-JCOF2222.js} +5 -4
- package/dist/{export-EVMP7GWY.js → export-SUYRLI5Q.js} +4 -3
- package/dist/{extension-LR7EW3JF.js → extension-OBTGKQQD.js} +5 -3
- package/dist/{extensions-NGEJI7JH.js → extensions-KYNTVTMO.js} +10 -7
- package/dist/{files-3SM7V33S.js → files-65PMW5IK.js} +6 -5
- package/dist/{history-PQD3LXEP.js → history-DKCDI3JO.js} +9 -4
- package/dist/{import-PR2OCGQJ.js → import-DDUFE7AY.js} +4 -3
- package/dist/isolation-LLAYQYDY.js +22 -0
- package/dist/{join-R4EN5CWQ.js → join-I5QEE3LG.js} +1 -1
- package/dist/{list-B4XNUOFO.js → list-JQ463EDA.js} +5 -4
- package/dist/{login-62JVY6A2.js → login-D7ETSU4R.js} +5 -4
- 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-DFF5SJRM.js +42 -0
- package/dist/{mind-E2ZV2WRX.js → mind-IOJFLEM5.js} +25 -19
- package/dist/{mind-activity-tracker-ASNZBMLC.js → mind-activity-tracker-F6O4Q2SL.js} +4 -3
- package/dist/{mind-list-BEI7E5WY.js → mind-list-WUPMQDYQ.js} +3 -2
- package/dist/mind-manager-NBJF5D26.js +32 -0
- package/dist/mind-profile-P67FEHOY.js +47 -0
- package/dist/mind-service-2MQ6UK5N.js +38 -0
- package/dist/{mind-sleep-CANABWJI.js → mind-sleep-WW2IX7JT.js} +5 -4
- package/dist/{mind-status-6WKZVUOP.js → mind-status-L3EFFRPR.js} +3 -2
- package/dist/{mind-wake-RZKLH2IN.js → mind-wake-VSSGW465.js} +5 -4
- package/dist/{package-NU4CA7OU.js → package-U3VFO273.js} +2 -1
- package/dist/{read-THL362EI.js → read-EBY56C33.js} +5 -4
- package/dist/read-stdin-HQJ7774D.js +8 -0
- package/dist/{register-QAQELAS6.js → register-HD74C4TT.js} +5 -4
- package/dist/{registry-ASXCQCNH.js → registry-PJ4S5PHQ.js} +8 -1
- package/dist/{reject-AYPBNPNL.js → reject-UJKFBHRO.js} +5 -4
- package/dist/{restart-6SKPV3T2.js → restart-3UCMRUVC.js} +3 -2
- package/dist/{sandbox-6ZEWQDVU.js → sandbox-GJOK4QLQ.js} +4 -3
- package/dist/scheduler-ZZ7XGQG6.js +32 -0
- package/dist/schema-PA3M5ZKH.js +32 -0
- package/dist/seed-QDYVLG74.js +11 -0
- package/dist/seed-check-S2IX25RL.js +32 -0
- package/dist/seed-cmd-DKOUFEAU.js +36 -0
- package/dist/{seed-OWX2AW75.js → seed-create-4XBBOLRH.js} +27 -10
- package/dist/{sprout-FDVI2CGN.js → seed-sprout-GQEIIQRT.js} +24 -9
- package/dist/{send-ZO4BTWXK.js → send-QIV2INHB.js} +92 -101
- package/dist/{setup-7CFITEQN.js → setup-TISPCO22.js} +7 -2
- package/dist/{setup-ZXBXG7E4.js → setup-XMCBE3LF.js} +11 -7
- package/dist/{skill-YFXP67A2.js → skill-PSQGRRJX.js} +5 -4
- 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 +16 -11
- package/dist/skills/imagegen/references/INSTALL.md +1 -1
- package/dist/skills/imagegen/scripts/imagegen.ts +146 -25
- package/dist/skills/orientation/SKILL.md +9 -2
- 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/seed-nurture/SKILL.md +42 -0
- package/dist/skills/volute-admin/SKILL.md +83 -0
- package/dist/skills/volute-mind/SKILL.md +15 -11
- package/dist/skills-7FV7EJTE.js +62 -0
- package/dist/sleep-manager-JTXSN7NV.js +36 -0
- package/dist/spirit-VRONKFMF.js +23 -0
- package/dist/{split-MI62KJUU.js → split-STOROBYJ.js} +1 -1
- package/dist/sprout-WKLZXUIQ.js +11 -0
- package/dist/{start-D64BRKPH.js → start-K2NCUUCG.js} +3 -2
- package/dist/{status-ZZWBYFGE.js → status-3JBTFSMI.js} +6 -4
- package/dist/{stop-OP2CTXCO.js → stop-H26JZDXF.js} +3 -2
- package/dist/system-chat-JAPOJ3KE.js +36 -0
- package/dist/{systems-EQPPT4B7.js → systems-XRI52VCH.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-M5AS6SBV.js +18 -0
- package/dist/{update-KUJXATRS.js → update-UD543CXX.js} +6 -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-NBI2MTJO.js} +22 -16
- package/dist/volute-config-HD7WWUQC.js +10 -0
- package/dist/web-assets/assets/index-CWJrVveV.css +1 -0
- package/dist/web-assets/assets/index-DJt14FRI.js +75 -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 +2 -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/claude/src/lib/stream-consumer.ts +38 -0
- 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 +554 -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;
|
|
@@ -705,6 +707,142 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
705
707
|
status: 502;
|
|
706
708
|
};
|
|
707
709
|
};
|
|
710
|
+
} & {
|
|
711
|
+
"/imagegen/providers": {
|
|
712
|
+
$get: {
|
|
713
|
+
input: {};
|
|
714
|
+
output: {
|
|
715
|
+
id: string;
|
|
716
|
+
configured: boolean;
|
|
717
|
+
authMethod: "api_key" | "env_var" | null;
|
|
718
|
+
}[];
|
|
719
|
+
outputFormat: "json";
|
|
720
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
} & {
|
|
724
|
+
"/imagegen/providers/:id": {
|
|
725
|
+
$put: {
|
|
726
|
+
input: {
|
|
727
|
+
json: {
|
|
728
|
+
apiKey: string;
|
|
729
|
+
};
|
|
730
|
+
} & {
|
|
731
|
+
param: {
|
|
732
|
+
id: string;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
output: {
|
|
736
|
+
error: string;
|
|
737
|
+
};
|
|
738
|
+
outputFormat: "json";
|
|
739
|
+
status: 400;
|
|
740
|
+
} | {
|
|
741
|
+
input: {
|
|
742
|
+
json: {
|
|
743
|
+
apiKey: string;
|
|
744
|
+
};
|
|
745
|
+
} & {
|
|
746
|
+
param: {
|
|
747
|
+
id: string;
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
output: {
|
|
751
|
+
ok: true;
|
|
752
|
+
};
|
|
753
|
+
outputFormat: "json";
|
|
754
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
} & {
|
|
758
|
+
"/imagegen/providers/:id": {
|
|
759
|
+
$delete: {
|
|
760
|
+
input: {
|
|
761
|
+
param: {
|
|
762
|
+
id: string;
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
output: {
|
|
766
|
+
error: string;
|
|
767
|
+
};
|
|
768
|
+
outputFormat: "json";
|
|
769
|
+
status: 400;
|
|
770
|
+
} | {
|
|
771
|
+
input: {
|
|
772
|
+
param: {
|
|
773
|
+
id: string;
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
output: {
|
|
777
|
+
ok: true;
|
|
778
|
+
};
|
|
779
|
+
outputFormat: "json";
|
|
780
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
} & {
|
|
784
|
+
"/imagegen/models": {
|
|
785
|
+
$get: {
|
|
786
|
+
input: {};
|
|
787
|
+
output: {
|
|
788
|
+
models: string[];
|
|
789
|
+
defaultModel: string | null;
|
|
790
|
+
};
|
|
791
|
+
outputFormat: "json";
|
|
792
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
} & {
|
|
796
|
+
"/imagegen/models": {
|
|
797
|
+
$put: {
|
|
798
|
+
input: {
|
|
799
|
+
json: {
|
|
800
|
+
models: string[];
|
|
801
|
+
defaultModel?: string | null | undefined;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
output: {
|
|
805
|
+
ok: true;
|
|
806
|
+
};
|
|
807
|
+
outputFormat: "json";
|
|
808
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
} & {
|
|
812
|
+
"/imagegen/models/search": {
|
|
813
|
+
$get: {
|
|
814
|
+
input: {};
|
|
815
|
+
output: {
|
|
816
|
+
id: string;
|
|
817
|
+
name: string;
|
|
818
|
+
description?: string | undefined;
|
|
819
|
+
owner: string;
|
|
820
|
+
}[];
|
|
821
|
+
outputFormat: "json";
|
|
822
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
823
|
+
} | {
|
|
824
|
+
input: {};
|
|
825
|
+
output: {
|
|
826
|
+
error: string;
|
|
827
|
+
};
|
|
828
|
+
outputFormat: "json";
|
|
829
|
+
status: 500;
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
} & {
|
|
833
|
+
"/imagegen/generate": {
|
|
834
|
+
$post: {
|
|
835
|
+
input: {
|
|
836
|
+
json: {
|
|
837
|
+
model: string;
|
|
838
|
+
prompt: string;
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
output: {};
|
|
842
|
+
outputFormat: string;
|
|
843
|
+
status: hono_utils_http_status.StatusCode;
|
|
844
|
+
};
|
|
845
|
+
};
|
|
708
846
|
} & {
|
|
709
847
|
"/ai/key/:provider": {
|
|
710
848
|
$get: {
|
|
@@ -778,6 +916,34 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
778
916
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
779
917
|
};
|
|
780
918
|
};
|
|
919
|
+
} & {
|
|
920
|
+
"/ai/defaults": {
|
|
921
|
+
$get: {
|
|
922
|
+
input: {};
|
|
923
|
+
output: {
|
|
924
|
+
spiritModel: string | null;
|
|
925
|
+
utilityModel: string | null;
|
|
926
|
+
};
|
|
927
|
+
outputFormat: "json";
|
|
928
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
} & {
|
|
932
|
+
"/ai/defaults": {
|
|
933
|
+
$put: {
|
|
934
|
+
input: {
|
|
935
|
+
json: {
|
|
936
|
+
spiritModel: string | null;
|
|
937
|
+
utilityModel: string | null;
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
output: {
|
|
941
|
+
ok: true;
|
|
942
|
+
};
|
|
943
|
+
outputFormat: "json";
|
|
944
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
945
|
+
};
|
|
946
|
+
};
|
|
781
947
|
} & {
|
|
782
948
|
"/ai/providers/:id": {
|
|
783
949
|
$put: {
|
|
@@ -965,6 +1131,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
965
1131
|
model?: string | undefined;
|
|
966
1132
|
seedSoul?: string | undefined;
|
|
967
1133
|
skills?: string[] | undefined;
|
|
1134
|
+
createdBy?: string | undefined;
|
|
968
1135
|
};
|
|
969
1136
|
};
|
|
970
1137
|
output: {
|
|
@@ -982,6 +1149,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
982
1149
|
model?: string | undefined;
|
|
983
1150
|
seedSoul?: string | undefined;
|
|
984
1151
|
skills?: string[] | undefined;
|
|
1152
|
+
createdBy?: string | undefined;
|
|
985
1153
|
};
|
|
986
1154
|
};
|
|
987
1155
|
output: {
|
|
@@ -999,6 +1167,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
999
1167
|
model?: string | undefined;
|
|
1000
1168
|
seedSoul?: string | undefined;
|
|
1001
1169
|
skills?: string[] | undefined;
|
|
1170
|
+
createdBy?: string | undefined;
|
|
1002
1171
|
};
|
|
1003
1172
|
};
|
|
1004
1173
|
output: {
|
|
@@ -1022,6 +1191,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1022
1191
|
model?: string | undefined;
|
|
1023
1192
|
seedSoul?: string | undefined;
|
|
1024
1193
|
skills?: string[] | undefined;
|
|
1194
|
+
createdBy?: string | undefined;
|
|
1025
1195
|
};
|
|
1026
1196
|
};
|
|
1027
1197
|
output: {
|
|
@@ -1043,7 +1213,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1043
1213
|
name: string;
|
|
1044
1214
|
displayName: string;
|
|
1045
1215
|
status: "connected" | "disconnected";
|
|
1046
|
-
showToolCalls: boolean;
|
|
1047
1216
|
}[];
|
|
1048
1217
|
displayName: string | undefined;
|
|
1049
1218
|
description: string | undefined;
|
|
@@ -1058,37 +1227,13 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1058
1227
|
parent?: string | undefined;
|
|
1059
1228
|
dir?: string | undefined;
|
|
1060
1229
|
branch?: string | undefined;
|
|
1230
|
+
mindType: MindType;
|
|
1231
|
+
createdBy?: string | undefined;
|
|
1061
1232
|
}[];
|
|
1062
1233
|
outputFormat: "json";
|
|
1063
1234
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1064
1235
|
};
|
|
1065
1236
|
};
|
|
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
1237
|
} & {
|
|
1093
1238
|
"/:name": {
|
|
1094
1239
|
$get: {
|
|
@@ -1120,7 +1265,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1120
1265
|
name: string;
|
|
1121
1266
|
displayName: string;
|
|
1122
1267
|
status: "connected" | "disconnected";
|
|
1123
|
-
showToolCalls: boolean;
|
|
1124
1268
|
}[];
|
|
1125
1269
|
displayName: string | undefined;
|
|
1126
1270
|
description: string | undefined;
|
|
@@ -1135,6 +1279,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1135
1279
|
parent?: string | undefined;
|
|
1136
1280
|
dir?: string | undefined;
|
|
1137
1281
|
branch?: string | undefined;
|
|
1282
|
+
mindType: MindType;
|
|
1283
|
+
createdBy?: string | undefined;
|
|
1138
1284
|
};
|
|
1139
1285
|
outputFormat: "json";
|
|
1140
1286
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -1477,6 +1623,58 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1477
1623
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1478
1624
|
};
|
|
1479
1625
|
};
|
|
1626
|
+
} & {
|
|
1627
|
+
"/:name/profile": {
|
|
1628
|
+
$patch: {
|
|
1629
|
+
input: {
|
|
1630
|
+
param: {
|
|
1631
|
+
name: string;
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
output: {
|
|
1635
|
+
error: string;
|
|
1636
|
+
};
|
|
1637
|
+
outputFormat: "json";
|
|
1638
|
+
status: 404;
|
|
1639
|
+
} | {
|
|
1640
|
+
input: {
|
|
1641
|
+
param: {
|
|
1642
|
+
name: string;
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
output: {
|
|
1646
|
+
ok: true;
|
|
1647
|
+
};
|
|
1648
|
+
outputFormat: "json";
|
|
1649
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1650
|
+
};
|
|
1651
|
+
};
|
|
1652
|
+
} & {
|
|
1653
|
+
"/:name/seed-check": {
|
|
1654
|
+
$get: {
|
|
1655
|
+
input: {
|
|
1656
|
+
param: {
|
|
1657
|
+
name: string;
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
output: {
|
|
1661
|
+
error: string;
|
|
1662
|
+
};
|
|
1663
|
+
outputFormat: "json";
|
|
1664
|
+
status: 404;
|
|
1665
|
+
} | {
|
|
1666
|
+
input: {
|
|
1667
|
+
param: {
|
|
1668
|
+
name: string;
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
output: {
|
|
1672
|
+
output: string;
|
|
1673
|
+
};
|
|
1674
|
+
outputFormat: "json";
|
|
1675
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1676
|
+
};
|
|
1677
|
+
};
|
|
1480
1678
|
} & {
|
|
1481
1679
|
"/:name/sprout": {
|
|
1482
1680
|
$post: {
|
|
@@ -2068,7 +2266,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2068
2266
|
};
|
|
2069
2267
|
};
|
|
2070
2268
|
} & {
|
|
2071
|
-
"/:name/history/
|
|
2269
|
+
"/:name/history/turn": {
|
|
2072
2270
|
$get: {
|
|
2073
2271
|
input: {
|
|
2074
2272
|
param: {
|
|
@@ -2076,69 +2274,46 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2076
2274
|
};
|
|
2077
2275
|
};
|
|
2078
2276
|
output: {
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
summary_meta: {
|
|
2082
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
2083
|
-
} | null;
|
|
2084
|
-
status: string;
|
|
2085
|
-
created_at: string;
|
|
2086
|
-
trigger: {
|
|
2087
|
-
channel: string | null;
|
|
2088
|
-
sender: string | null;
|
|
2089
|
-
content: string | null;
|
|
2090
|
-
} | null;
|
|
2091
|
-
conversations: {
|
|
2092
|
-
id: string;
|
|
2093
|
-
label: string;
|
|
2094
|
-
type: "dm" | "channel";
|
|
2095
|
-
messages: {
|
|
2096
|
-
id: number;
|
|
2097
|
-
role: string;
|
|
2098
|
-
sender_name: string | null;
|
|
2099
|
-
content: hono_utils_types.JSONValue[];
|
|
2100
|
-
source_event_id: number | null;
|
|
2101
|
-
created_at: string;
|
|
2102
|
-
}[];
|
|
2103
|
-
}[];
|
|
2104
|
-
activities: {
|
|
2105
|
-
id: number;
|
|
2106
|
-
type: string;
|
|
2107
|
-
summary: string;
|
|
2108
|
-
metadata: {
|
|
2109
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
2110
|
-
} | null;
|
|
2111
|
-
source_event_id: number | null;
|
|
2112
|
-
created_at: string;
|
|
2113
|
-
}[];
|
|
2114
|
-
}[];
|
|
2277
|
+
error: string;
|
|
2278
|
+
};
|
|
2115
2279
|
outputFormat: "json";
|
|
2116
|
-
status:
|
|
2117
|
-
}
|
|
2118
|
-
};
|
|
2119
|
-
} & {
|
|
2120
|
-
"/:name/history/turn": {
|
|
2121
|
-
$get: {
|
|
2280
|
+
status: 400;
|
|
2281
|
+
} | {
|
|
2122
2282
|
input: {
|
|
2123
2283
|
param: {
|
|
2124
2284
|
name: string;
|
|
2125
2285
|
};
|
|
2126
2286
|
};
|
|
2127
2287
|
output: {
|
|
2128
|
-
id: number;
|
|
2129
2288
|
mind: string;
|
|
2130
|
-
|
|
2289
|
+
created_at: string;
|
|
2290
|
+
id: number;
|
|
2291
|
+
channel: string | null;
|
|
2292
|
+
type: string;
|
|
2131
2293
|
session: string | null;
|
|
2132
2294
|
sender: string | null;
|
|
2133
2295
|
message_id: string | null;
|
|
2134
|
-
type: string;
|
|
2135
2296
|
content: string | null;
|
|
2136
2297
|
metadata: string | null;
|
|
2137
2298
|
turn_id: string | null;
|
|
2138
|
-
created_at: string;
|
|
2139
2299
|
}[];
|
|
2140
2300
|
outputFormat: "json";
|
|
2141
2301
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2302
|
+
};
|
|
2303
|
+
};
|
|
2304
|
+
} & {
|
|
2305
|
+
"/:name/history/cross-session": {
|
|
2306
|
+
$get: {
|
|
2307
|
+
input: {
|
|
2308
|
+
param: {
|
|
2309
|
+
name: string;
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
output: {
|
|
2313
|
+
context: null;
|
|
2314
|
+
};
|
|
2315
|
+
outputFormat: "json";
|
|
2316
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2142
2317
|
} | {
|
|
2143
2318
|
input: {
|
|
2144
2319
|
param: {
|
|
@@ -2146,10 +2321,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2146
2321
|
};
|
|
2147
2322
|
};
|
|
2148
2323
|
output: {
|
|
2149
|
-
|
|
2324
|
+
context: string;
|
|
2150
2325
|
};
|
|
2151
2326
|
outputFormat: "json";
|
|
2152
|
-
status:
|
|
2327
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2153
2328
|
};
|
|
2154
2329
|
};
|
|
2155
2330
|
} & {
|
|
@@ -2178,111 +2353,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2178
2353
|
};
|
|
2179
2354
|
};
|
|
2180
2355
|
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
2181
|
-
"/:name/chat": {
|
|
2182
|
-
$post: {
|
|
2183
|
-
input: {
|
|
2184
|
-
json: {
|
|
2185
|
-
message?: string | undefined;
|
|
2186
|
-
conversationId?: string | undefined;
|
|
2187
|
-
sender?: string | undefined;
|
|
2188
|
-
images?: {
|
|
2189
|
-
media_type: string;
|
|
2190
|
-
data: string;
|
|
2191
|
-
}[] | undefined;
|
|
2192
|
-
files?: {
|
|
2193
|
-
filename: string;
|
|
2194
|
-
data: string;
|
|
2195
|
-
}[] | undefined;
|
|
2196
|
-
};
|
|
2197
|
-
} & {
|
|
2198
|
-
param: {
|
|
2199
|
-
name: string;
|
|
2200
|
-
};
|
|
2201
|
-
};
|
|
2202
|
-
output: {
|
|
2203
|
-
error: string;
|
|
2204
|
-
};
|
|
2205
|
-
outputFormat: "json";
|
|
2206
|
-
status: 404;
|
|
2207
|
-
} | {
|
|
2208
|
-
input: {
|
|
2209
|
-
json: {
|
|
2210
|
-
message?: string | undefined;
|
|
2211
|
-
conversationId?: string | undefined;
|
|
2212
|
-
sender?: string | undefined;
|
|
2213
|
-
images?: {
|
|
2214
|
-
media_type: string;
|
|
2215
|
-
data: string;
|
|
2216
|
-
}[] | undefined;
|
|
2217
|
-
files?: {
|
|
2218
|
-
filename: string;
|
|
2219
|
-
data: string;
|
|
2220
|
-
}[] | undefined;
|
|
2221
|
-
};
|
|
2222
|
-
} & {
|
|
2223
|
-
param: {
|
|
2224
|
-
name: string;
|
|
2225
|
-
};
|
|
2226
|
-
};
|
|
2227
|
-
output: {
|
|
2228
|
-
error: string;
|
|
2229
|
-
};
|
|
2230
|
-
outputFormat: "json";
|
|
2231
|
-
status: 400;
|
|
2232
|
-
} | {
|
|
2233
|
-
input: {
|
|
2234
|
-
json: {
|
|
2235
|
-
message?: string | undefined;
|
|
2236
|
-
conversationId?: string | undefined;
|
|
2237
|
-
sender?: string | undefined;
|
|
2238
|
-
images?: {
|
|
2239
|
-
media_type: string;
|
|
2240
|
-
data: string;
|
|
2241
|
-
}[] | undefined;
|
|
2242
|
-
files?: {
|
|
2243
|
-
filename: string;
|
|
2244
|
-
data: string;
|
|
2245
|
-
}[] | undefined;
|
|
2246
|
-
};
|
|
2247
|
-
} & {
|
|
2248
|
-
param: {
|
|
2249
|
-
name: string;
|
|
2250
|
-
};
|
|
2251
|
-
};
|
|
2252
|
-
output: {
|
|
2253
|
-
error: string;
|
|
2254
|
-
};
|
|
2255
|
-
outputFormat: "json";
|
|
2256
|
-
status: 413;
|
|
2257
|
-
} | {
|
|
2258
|
-
input: {
|
|
2259
|
-
json: {
|
|
2260
|
-
message?: string | undefined;
|
|
2261
|
-
conversationId?: string | undefined;
|
|
2262
|
-
sender?: string | undefined;
|
|
2263
|
-
images?: {
|
|
2264
|
-
media_type: string;
|
|
2265
|
-
data: string;
|
|
2266
|
-
}[] | undefined;
|
|
2267
|
-
files?: {
|
|
2268
|
-
filename: string;
|
|
2269
|
-
data: string;
|
|
2270
|
-
}[] | undefined;
|
|
2271
|
-
};
|
|
2272
|
-
} & {
|
|
2273
|
-
param: {
|
|
2274
|
-
name: string;
|
|
2275
|
-
};
|
|
2276
|
-
};
|
|
2277
|
-
output: {
|
|
2278
|
-
ok: true;
|
|
2279
|
-
conversationId: string;
|
|
2280
|
-
};
|
|
2281
|
-
outputFormat: "json";
|
|
2282
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2283
|
-
};
|
|
2284
|
-
};
|
|
2285
|
-
} & {
|
|
2286
2356
|
"/:name/conversations/:id/events": {
|
|
2287
2357
|
$get: {
|
|
2288
2358
|
input: {
|
|
@@ -2358,6 +2428,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2358
2428
|
at: string;
|
|
2359
2429
|
type: "cron" | "timer";
|
|
2360
2430
|
}[];
|
|
2431
|
+
previous: {
|
|
2432
|
+
id: string;
|
|
2433
|
+
at: string;
|
|
2434
|
+
}[];
|
|
2361
2435
|
};
|
|
2362
2436
|
outputFormat: "json";
|
|
2363
2437
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -2594,20 +2668,20 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2594
2668
|
name: string;
|
|
2595
2669
|
};
|
|
2596
2670
|
};
|
|
2597
|
-
output:
|
|
2598
|
-
|
|
2599
|
-
|
|
2671
|
+
output: {
|
|
2672
|
+
error: string;
|
|
2673
|
+
};
|
|
2674
|
+
outputFormat: "json";
|
|
2675
|
+
status: 404;
|
|
2600
2676
|
} | {
|
|
2601
2677
|
input: {
|
|
2602
2678
|
param: {
|
|
2603
2679
|
name: string;
|
|
2604
2680
|
};
|
|
2605
2681
|
};
|
|
2606
|
-
output:
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
outputFormat: "json";
|
|
2610
|
-
status: 404;
|
|
2682
|
+
output: string;
|
|
2683
|
+
outputFormat: "text";
|
|
2684
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
2611
2685
|
};
|
|
2612
2686
|
};
|
|
2613
2687
|
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
@@ -2688,6 +2762,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2688
2762
|
parent?: string | undefined;
|
|
2689
2763
|
dir?: string | undefined;
|
|
2690
2764
|
branch?: string | undefined;
|
|
2765
|
+
mindType: MindType;
|
|
2766
|
+
createdBy?: string | undefined;
|
|
2691
2767
|
}[];
|
|
2692
2768
|
outputFormat: "json";
|
|
2693
2769
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -3152,9 +3228,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3152
3228
|
status: 500;
|
|
3153
3229
|
};
|
|
3154
3230
|
};
|
|
3155
|
-
}
|
|
3156
|
-
"/:name/
|
|
3157
|
-
$
|
|
3231
|
+
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
3232
|
+
"/:name/channels/create": {
|
|
3233
|
+
$post: {
|
|
3158
3234
|
input: {
|
|
3159
3235
|
param: {
|
|
3160
3236
|
name: string;
|
|
@@ -3171,57 +3247,38 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3171
3247
|
name: string;
|
|
3172
3248
|
};
|
|
3173
3249
|
};
|
|
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
3250
|
output: {
|
|
3190
3251
|
error: string;
|
|
3191
3252
|
};
|
|
3192
3253
|
outputFormat: "json";
|
|
3193
|
-
status:
|
|
3254
|
+
status: 400;
|
|
3194
3255
|
} | {
|
|
3195
3256
|
input: {
|
|
3196
3257
|
param: {
|
|
3197
|
-
filename: string;
|
|
3198
|
-
} & {
|
|
3199
3258
|
name: string;
|
|
3200
3259
|
};
|
|
3201
3260
|
};
|
|
3202
3261
|
output: {
|
|
3203
|
-
|
|
3262
|
+
slug: string;
|
|
3263
|
+
conversationId: string;
|
|
3204
3264
|
};
|
|
3205
3265
|
outputFormat: "json";
|
|
3206
|
-
status:
|
|
3266
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3207
3267
|
} | {
|
|
3208
3268
|
input: {
|
|
3209
3269
|
param: {
|
|
3210
|
-
filename: string;
|
|
3211
|
-
} & {
|
|
3212
3270
|
name: string;
|
|
3213
3271
|
};
|
|
3214
3272
|
};
|
|
3215
3273
|
output: {
|
|
3216
|
-
|
|
3217
|
-
content: string;
|
|
3274
|
+
error: string;
|
|
3218
3275
|
};
|
|
3219
3276
|
outputFormat: "json";
|
|
3220
|
-
status:
|
|
3277
|
+
status: 500;
|
|
3221
3278
|
};
|
|
3222
3279
|
};
|
|
3223
3280
|
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
3224
|
-
"/:name/
|
|
3281
|
+
"/:name/shared/merge": {
|
|
3225
3282
|
$post: {
|
|
3226
3283
|
input: {
|
|
3227
3284
|
param: {
|
|
@@ -3251,7 +3308,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3251
3308
|
};
|
|
3252
3309
|
};
|
|
3253
3310
|
output: {
|
|
3254
|
-
ok:
|
|
3311
|
+
ok: boolean;
|
|
3312
|
+
conflicts?: boolean | undefined;
|
|
3313
|
+
message?: string | undefined;
|
|
3255
3314
|
};
|
|
3256
3315
|
outputFormat: "json";
|
|
3257
3316
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -3268,8 +3327,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3268
3327
|
status: 500;
|
|
3269
3328
|
};
|
|
3270
3329
|
};
|
|
3271
|
-
}
|
|
3272
|
-
"/:name/
|
|
3330
|
+
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
3331
|
+
"/:name/env": {
|
|
3273
3332
|
$get: {
|
|
3274
3333
|
input: {
|
|
3275
3334
|
param: {
|
|
@@ -3288,38 +3347,25 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3288
3347
|
};
|
|
3289
3348
|
};
|
|
3290
3349
|
output: {
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
outputFormat: "json";
|
|
3294
|
-
status: 400;
|
|
3295
|
-
} | {
|
|
3296
|
-
input: {
|
|
3297
|
-
param: {
|
|
3298
|
-
name: string;
|
|
3350
|
+
shared: {
|
|
3351
|
+
[x: string]: string;
|
|
3299
3352
|
};
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
outputFormat: "text";
|
|
3303
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3304
|
-
} | {
|
|
3305
|
-
input: {
|
|
3306
|
-
param: {
|
|
3307
|
-
name: string;
|
|
3353
|
+
mind: {
|
|
3354
|
+
[x: string]: string;
|
|
3308
3355
|
};
|
|
3309
3356
|
};
|
|
3310
|
-
output: {
|
|
3311
|
-
error: string;
|
|
3312
|
-
};
|
|
3313
3357
|
outputFormat: "json";
|
|
3314
|
-
status:
|
|
3358
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3315
3359
|
};
|
|
3316
3360
|
};
|
|
3317
3361
|
} & {
|
|
3318
|
-
"/:name/
|
|
3362
|
+
"/:name/env/:key": {
|
|
3319
3363
|
$get: {
|
|
3320
3364
|
input: {
|
|
3321
3365
|
param: {
|
|
3322
3366
|
name: string;
|
|
3367
|
+
} & {
|
|
3368
|
+
key: string;
|
|
3323
3369
|
};
|
|
3324
3370
|
};
|
|
3325
3371
|
output: {
|
|
@@ -3331,21 +3377,25 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3331
3377
|
input: {
|
|
3332
3378
|
param: {
|
|
3333
3379
|
name: string;
|
|
3380
|
+
} & {
|
|
3381
|
+
key: string;
|
|
3334
3382
|
};
|
|
3335
3383
|
};
|
|
3336
3384
|
output: {
|
|
3337
|
-
|
|
3385
|
+
value: string;
|
|
3338
3386
|
};
|
|
3339
3387
|
outputFormat: "json";
|
|
3340
3388
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3341
3389
|
};
|
|
3342
3390
|
};
|
|
3343
3391
|
} & {
|
|
3344
|
-
"/:name/
|
|
3345
|
-
$
|
|
3392
|
+
"/:name/env/:key": {
|
|
3393
|
+
$put: {
|
|
3346
3394
|
input: {
|
|
3347
3395
|
param: {
|
|
3348
3396
|
name: string;
|
|
3397
|
+
} & {
|
|
3398
|
+
key: string;
|
|
3349
3399
|
};
|
|
3350
3400
|
};
|
|
3351
3401
|
output: {
|
|
@@ -3357,6 +3407,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3357
3407
|
input: {
|
|
3358
3408
|
param: {
|
|
3359
3409
|
name: string;
|
|
3410
|
+
} & {
|
|
3411
|
+
key: string;
|
|
3360
3412
|
};
|
|
3361
3413
|
};
|
|
3362
3414
|
output: {
|
|
@@ -3368,34 +3420,25 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3368
3420
|
input: {
|
|
3369
3421
|
param: {
|
|
3370
3422
|
name: string;
|
|
3423
|
+
} & {
|
|
3424
|
+
key: string;
|
|
3371
3425
|
};
|
|
3372
3426
|
};
|
|
3373
3427
|
output: {
|
|
3374
|
-
|
|
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;
|
|
3428
|
+
ok: true;
|
|
3388
3429
|
};
|
|
3389
3430
|
outputFormat: "json";
|
|
3390
|
-
status:
|
|
3431
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3391
3432
|
};
|
|
3392
3433
|
};
|
|
3393
3434
|
} & {
|
|
3394
|
-
"/:name/
|
|
3395
|
-
$
|
|
3435
|
+
"/:name/env/:key": {
|
|
3436
|
+
$delete: {
|
|
3396
3437
|
input: {
|
|
3397
3438
|
param: {
|
|
3398
3439
|
name: string;
|
|
3440
|
+
} & {
|
|
3441
|
+
key: string;
|
|
3399
3442
|
};
|
|
3400
3443
|
};
|
|
3401
3444
|
output: {
|
|
@@ -3407,216 +3450,12 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3407
3450
|
input: {
|
|
3408
3451
|
param: {
|
|
3409
3452
|
name: string;
|
|
3453
|
+
} & {
|
|
3454
|
+
key: string;
|
|
3410
3455
|
};
|
|
3411
3456
|
};
|
|
3412
3457
|
output: {
|
|
3413
|
-
|
|
3414
|
-
};
|
|
3415
|
-
outputFormat: "json";
|
|
3416
|
-
status: 400;
|
|
3417
|
-
} | {
|
|
3418
|
-
input: {
|
|
3419
|
-
param: {
|
|
3420
|
-
name: string;
|
|
3421
|
-
};
|
|
3422
|
-
};
|
|
3423
|
-
output: {
|
|
3424
|
-
slug: string;
|
|
3425
|
-
};
|
|
3426
|
-
outputFormat: "json";
|
|
3427
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3428
|
-
} | {
|
|
3429
|
-
input: {
|
|
3430
|
-
param: {
|
|
3431
|
-
name: string;
|
|
3432
|
-
};
|
|
3433
|
-
};
|
|
3434
|
-
output: {
|
|
3435
|
-
error: string;
|
|
3436
|
-
};
|
|
3437
|
-
outputFormat: "json";
|
|
3438
|
-
status: 500;
|
|
3439
|
-
};
|
|
3440
|
-
};
|
|
3441
|
-
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
3442
|
-
"/:name/shared/merge": {
|
|
3443
|
-
$post: {
|
|
3444
|
-
input: {
|
|
3445
|
-
param: {
|
|
3446
|
-
name: string;
|
|
3447
|
-
};
|
|
3448
|
-
};
|
|
3449
|
-
output: {
|
|
3450
|
-
error: string;
|
|
3451
|
-
};
|
|
3452
|
-
outputFormat: "json";
|
|
3453
|
-
status: 404;
|
|
3454
|
-
} | {
|
|
3455
|
-
input: {
|
|
3456
|
-
param: {
|
|
3457
|
-
name: string;
|
|
3458
|
-
};
|
|
3459
|
-
};
|
|
3460
|
-
output: {
|
|
3461
|
-
error: string;
|
|
3462
|
-
};
|
|
3463
|
-
outputFormat: "json";
|
|
3464
|
-
status: 400;
|
|
3465
|
-
} | {
|
|
3466
|
-
input: {
|
|
3467
|
-
param: {
|
|
3468
|
-
name: string;
|
|
3469
|
-
};
|
|
3470
|
-
};
|
|
3471
|
-
output: {
|
|
3472
|
-
ok: boolean;
|
|
3473
|
-
conflicts?: boolean | undefined;
|
|
3474
|
-
message?: string | undefined;
|
|
3475
|
-
};
|
|
3476
|
-
outputFormat: "json";
|
|
3477
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3478
|
-
} | {
|
|
3479
|
-
input: {
|
|
3480
|
-
param: {
|
|
3481
|
-
name: string;
|
|
3482
|
-
};
|
|
3483
|
-
};
|
|
3484
|
-
output: {
|
|
3485
|
-
error: string;
|
|
3486
|
-
};
|
|
3487
|
-
outputFormat: "json";
|
|
3488
|
-
status: 500;
|
|
3489
|
-
};
|
|
3490
|
-
};
|
|
3491
|
-
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
3492
|
-
"/:name/env": {
|
|
3493
|
-
$get: {
|
|
3494
|
-
input: {
|
|
3495
|
-
param: {
|
|
3496
|
-
name: string;
|
|
3497
|
-
};
|
|
3498
|
-
};
|
|
3499
|
-
output: {
|
|
3500
|
-
error: string;
|
|
3501
|
-
};
|
|
3502
|
-
outputFormat: "json";
|
|
3503
|
-
status: 404;
|
|
3504
|
-
} | {
|
|
3505
|
-
input: {
|
|
3506
|
-
param: {
|
|
3507
|
-
name: string;
|
|
3508
|
-
};
|
|
3509
|
-
};
|
|
3510
|
-
output: {
|
|
3511
|
-
shared: {
|
|
3512
|
-
[x: string]: string;
|
|
3513
|
-
};
|
|
3514
|
-
mind: {
|
|
3515
|
-
[x: string]: string;
|
|
3516
|
-
};
|
|
3517
|
-
};
|
|
3518
|
-
outputFormat: "json";
|
|
3519
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3520
|
-
};
|
|
3521
|
-
};
|
|
3522
|
-
} & {
|
|
3523
|
-
"/:name/env/:key": {
|
|
3524
|
-
$get: {
|
|
3525
|
-
input: {
|
|
3526
|
-
param: {
|
|
3527
|
-
name: string;
|
|
3528
|
-
} & {
|
|
3529
|
-
key: string;
|
|
3530
|
-
};
|
|
3531
|
-
};
|
|
3532
|
-
output: {
|
|
3533
|
-
error: string;
|
|
3534
|
-
};
|
|
3535
|
-
outputFormat: "json";
|
|
3536
|
-
status: 404;
|
|
3537
|
-
} | {
|
|
3538
|
-
input: {
|
|
3539
|
-
param: {
|
|
3540
|
-
name: string;
|
|
3541
|
-
} & {
|
|
3542
|
-
key: string;
|
|
3543
|
-
};
|
|
3544
|
-
};
|
|
3545
|
-
output: {
|
|
3546
|
-
value: string;
|
|
3547
|
-
};
|
|
3548
|
-
outputFormat: "json";
|
|
3549
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3550
|
-
};
|
|
3551
|
-
};
|
|
3552
|
-
} & {
|
|
3553
|
-
"/:name/env/:key": {
|
|
3554
|
-
$put: {
|
|
3555
|
-
input: {
|
|
3556
|
-
param: {
|
|
3557
|
-
name: string;
|
|
3558
|
-
} & {
|
|
3559
|
-
key: string;
|
|
3560
|
-
};
|
|
3561
|
-
};
|
|
3562
|
-
output: {
|
|
3563
|
-
error: string;
|
|
3564
|
-
};
|
|
3565
|
-
outputFormat: "json";
|
|
3566
|
-
status: 404;
|
|
3567
|
-
} | {
|
|
3568
|
-
input: {
|
|
3569
|
-
param: {
|
|
3570
|
-
name: string;
|
|
3571
|
-
} & {
|
|
3572
|
-
key: string;
|
|
3573
|
-
};
|
|
3574
|
-
};
|
|
3575
|
-
output: {
|
|
3576
|
-
error: string;
|
|
3577
|
-
};
|
|
3578
|
-
outputFormat: "json";
|
|
3579
|
-
status: 400;
|
|
3580
|
-
} | {
|
|
3581
|
-
input: {
|
|
3582
|
-
param: {
|
|
3583
|
-
name: string;
|
|
3584
|
-
} & {
|
|
3585
|
-
key: string;
|
|
3586
|
-
};
|
|
3587
|
-
};
|
|
3588
|
-
output: {
|
|
3589
|
-
ok: true;
|
|
3590
|
-
};
|
|
3591
|
-
outputFormat: "json";
|
|
3592
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3593
|
-
};
|
|
3594
|
-
};
|
|
3595
|
-
} & {
|
|
3596
|
-
"/:name/env/:key": {
|
|
3597
|
-
$delete: {
|
|
3598
|
-
input: {
|
|
3599
|
-
param: {
|
|
3600
|
-
name: string;
|
|
3601
|
-
} & {
|
|
3602
|
-
key: string;
|
|
3603
|
-
};
|
|
3604
|
-
};
|
|
3605
|
-
output: {
|
|
3606
|
-
error: string;
|
|
3607
|
-
};
|
|
3608
|
-
outputFormat: "json";
|
|
3609
|
-
status: 404;
|
|
3610
|
-
} | {
|
|
3611
|
-
input: {
|
|
3612
|
-
param: {
|
|
3613
|
-
name: string;
|
|
3614
|
-
} & {
|
|
3615
|
-
key: string;
|
|
3616
|
-
};
|
|
3617
|
-
};
|
|
3618
|
-
output: {
|
|
3619
|
-
ok: true;
|
|
3458
|
+
ok: true;
|
|
3620
3459
|
};
|
|
3621
3460
|
outputFormat: "json";
|
|
3622
3461
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -4137,7 +3976,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4137
3976
|
} | {
|
|
4138
3977
|
input: {};
|
|
4139
3978
|
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";
|
|
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";
|
|
4141
3980
|
content: string;
|
|
4142
3981
|
description: string;
|
|
4143
3982
|
variables: string[];
|
|
@@ -4389,475 +4228,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4389
4228
|
};
|
|
4390
4229
|
};
|
|
4391
4230
|
}, "/api/skills"> | hono_types.MergeSchemaPath<{
|
|
4392
|
-
"/": {
|
|
4393
|
-
$
|
|
4394
|
-
input: {};
|
|
4395
|
-
output: {
|
|
4396
|
-
id: string;
|
|
4397
|
-
mind_name: string | null;
|
|
4398
|
-
channel: string;
|
|
4399
|
-
type: "dm" | "channel";
|
|
4400
|
-
name: string | null;
|
|
4401
|
-
user_id: number | null;
|
|
4402
|
-
title: string | null;
|
|
4403
|
-
private: number;
|
|
4404
|
-
created_at: string;
|
|
4405
|
-
updated_at: string;
|
|
4406
|
-
participants: {
|
|
4407
|
-
userId: number;
|
|
4408
|
-
username: string;
|
|
4409
|
-
userType: "brain" | "mind" | "puppet" | "system";
|
|
4410
|
-
role: "owner" | "member";
|
|
4411
|
-
displayName?: string | null | undefined;
|
|
4412
|
-
description?: string | null | undefined;
|
|
4413
|
-
avatar?: string | null | undefined;
|
|
4414
|
-
}[];
|
|
4415
|
-
lastMessage?: {
|
|
4416
|
-
role: "user" | "assistant";
|
|
4417
|
-
senderName: string | null;
|
|
4418
|
-
text: string;
|
|
4419
|
-
createdAt: string;
|
|
4420
|
-
} | undefined;
|
|
4421
|
-
}[];
|
|
4422
|
-
outputFormat: "json";
|
|
4423
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4424
|
-
};
|
|
4425
|
-
};
|
|
4426
|
-
} & {
|
|
4427
|
-
"/:id/messages": {
|
|
4428
|
-
$get: {
|
|
4429
|
-
input: {
|
|
4430
|
-
param: {
|
|
4431
|
-
id: string;
|
|
4432
|
-
};
|
|
4433
|
-
};
|
|
4434
|
-
output: {
|
|
4435
|
-
error: string;
|
|
4436
|
-
};
|
|
4437
|
-
outputFormat: "json";
|
|
4438
|
-
status: 404;
|
|
4439
|
-
} | {
|
|
4440
|
-
input: {
|
|
4441
|
-
param: {
|
|
4442
|
-
id: string;
|
|
4443
|
-
};
|
|
4444
|
-
};
|
|
4445
|
-
output: {
|
|
4446
|
-
id: number;
|
|
4447
|
-
conversation_id: string;
|
|
4448
|
-
role: "user" | "assistant";
|
|
4449
|
-
sender_name: string | null;
|
|
4450
|
-
content: ({
|
|
4451
|
-
type: "text";
|
|
4452
|
-
text: string;
|
|
4453
|
-
} | {
|
|
4454
|
-
type: "tool_use";
|
|
4455
|
-
name: string;
|
|
4456
|
-
input: hono_utils_types.JSONValue;
|
|
4457
|
-
} | {
|
|
4458
|
-
type: "tool_result";
|
|
4459
|
-
output: string;
|
|
4460
|
-
is_error?: boolean | undefined;
|
|
4461
|
-
} | {
|
|
4462
|
-
type: "image";
|
|
4463
|
-
media_type: string;
|
|
4464
|
-
data: string;
|
|
4465
|
-
})[];
|
|
4466
|
-
created_at: string;
|
|
4467
|
-
}[];
|
|
4468
|
-
outputFormat: "json";
|
|
4469
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4470
|
-
};
|
|
4471
|
-
};
|
|
4472
|
-
} & {
|
|
4473
|
-
"/": {
|
|
4474
|
-
$post: {
|
|
4475
|
-
input: {
|
|
4476
|
-
json: {
|
|
4477
|
-
participantNames: string[];
|
|
4478
|
-
title?: string | undefined;
|
|
4479
|
-
};
|
|
4480
|
-
};
|
|
4481
|
-
output: {
|
|
4482
|
-
id: string;
|
|
4483
|
-
mind_name: string | null;
|
|
4484
|
-
channel: string;
|
|
4485
|
-
type: "dm" | "channel";
|
|
4486
|
-
name: string | null;
|
|
4487
|
-
user_id: number | null;
|
|
4488
|
-
title: string | null;
|
|
4489
|
-
private: number;
|
|
4490
|
-
created_at: string;
|
|
4491
|
-
updated_at: string;
|
|
4492
|
-
};
|
|
4493
|
-
outputFormat: "json";
|
|
4494
|
-
status: 201;
|
|
4495
|
-
} | {
|
|
4496
|
-
input: {
|
|
4497
|
-
json: {
|
|
4498
|
-
participantNames: string[];
|
|
4499
|
-
title?: string | undefined;
|
|
4500
|
-
};
|
|
4501
|
-
};
|
|
4502
|
-
output: {
|
|
4503
|
-
error: string;
|
|
4504
|
-
};
|
|
4505
|
-
outputFormat: "json";
|
|
4506
|
-
status: 400;
|
|
4507
|
-
};
|
|
4508
|
-
};
|
|
4509
|
-
} & {
|
|
4510
|
-
"/:id/events": {
|
|
4511
|
-
$get: {
|
|
4512
|
-
input: {
|
|
4513
|
-
param: {
|
|
4514
|
-
id: string;
|
|
4515
|
-
};
|
|
4516
|
-
};
|
|
4517
|
-
output: {};
|
|
4518
|
-
outputFormat: string;
|
|
4519
|
-
status: hono_utils_http_status.StatusCode;
|
|
4520
|
-
};
|
|
4521
|
-
};
|
|
4522
|
-
} & {
|
|
4523
|
-
"/:id/private": {
|
|
4524
|
-
$put: {
|
|
4525
|
-
input: {
|
|
4526
|
-
json: {
|
|
4527
|
-
private: boolean;
|
|
4528
|
-
};
|
|
4529
|
-
} & {
|
|
4530
|
-
param: {
|
|
4531
|
-
id: string;
|
|
4532
|
-
};
|
|
4533
|
-
};
|
|
4534
|
-
output: {
|
|
4535
|
-
error: string;
|
|
4536
|
-
};
|
|
4537
|
-
outputFormat: "json";
|
|
4538
|
-
status: 403;
|
|
4539
|
-
} | {
|
|
4540
|
-
input: {
|
|
4541
|
-
json: {
|
|
4542
|
-
private: boolean;
|
|
4543
|
-
};
|
|
4544
|
-
} & {
|
|
4545
|
-
param: {
|
|
4546
|
-
id: string;
|
|
4547
|
-
};
|
|
4548
|
-
};
|
|
4549
|
-
output: {
|
|
4550
|
-
ok: true;
|
|
4551
|
-
};
|
|
4552
|
-
outputFormat: "json";
|
|
4553
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4554
|
-
};
|
|
4555
|
-
};
|
|
4556
|
-
} & {
|
|
4557
|
-
"/:id": {
|
|
4558
|
-
$delete: {
|
|
4559
|
-
input: {
|
|
4560
|
-
param: {
|
|
4561
|
-
id: string;
|
|
4562
|
-
};
|
|
4563
|
-
};
|
|
4564
|
-
output: {
|
|
4565
|
-
error: string;
|
|
4566
|
-
};
|
|
4567
|
-
outputFormat: "json";
|
|
4568
|
-
status: 404;
|
|
4569
|
-
} | {
|
|
4570
|
-
input: {
|
|
4571
|
-
param: {
|
|
4572
|
-
id: string;
|
|
4573
|
-
};
|
|
4574
|
-
};
|
|
4575
|
-
output: {
|
|
4576
|
-
ok: true;
|
|
4577
|
-
};
|
|
4578
|
-
outputFormat: "json";
|
|
4579
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4580
|
-
};
|
|
4581
|
-
};
|
|
4582
|
-
}, "/api/conversations"> | hono_types.MergeSchemaPath<{
|
|
4583
|
-
"/": {
|
|
4584
|
-
$get: {
|
|
4585
|
-
input: {};
|
|
4586
|
-
output: {
|
|
4587
|
-
participantCount: number;
|
|
4588
|
-
isMember: boolean;
|
|
4589
|
-
id: string;
|
|
4590
|
-
mind_name: string | null;
|
|
4591
|
-
channel: string;
|
|
4592
|
-
type: "dm" | "channel";
|
|
4593
|
-
name: string | null;
|
|
4594
|
-
user_id: number | null;
|
|
4595
|
-
title: string | null;
|
|
4596
|
-
private: number;
|
|
4597
|
-
created_at: string;
|
|
4598
|
-
updated_at: string;
|
|
4599
|
-
}[];
|
|
4600
|
-
outputFormat: "json";
|
|
4601
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4602
|
-
};
|
|
4603
|
-
};
|
|
4604
|
-
} & {
|
|
4605
|
-
"/": {
|
|
4606
|
-
$post: {
|
|
4607
|
-
input: {
|
|
4608
|
-
json: {
|
|
4609
|
-
name: string;
|
|
4610
|
-
};
|
|
4611
|
-
};
|
|
4612
|
-
output: {
|
|
4613
|
-
id: string;
|
|
4614
|
-
mind_name: string | null;
|
|
4615
|
-
channel: string;
|
|
4616
|
-
type: "dm" | "channel";
|
|
4617
|
-
name: string | null;
|
|
4618
|
-
user_id: number | null;
|
|
4619
|
-
title: string | null;
|
|
4620
|
-
private: number;
|
|
4621
|
-
created_at: string;
|
|
4622
|
-
updated_at: string;
|
|
4623
|
-
};
|
|
4624
|
-
outputFormat: "json";
|
|
4625
|
-
status: 201;
|
|
4626
|
-
} | {
|
|
4627
|
-
input: {
|
|
4628
|
-
json: {
|
|
4629
|
-
name: string;
|
|
4630
|
-
};
|
|
4631
|
-
};
|
|
4632
|
-
output: {
|
|
4633
|
-
error: string;
|
|
4634
|
-
};
|
|
4635
|
-
outputFormat: "json";
|
|
4636
|
-
status: 409;
|
|
4637
|
-
};
|
|
4638
|
-
};
|
|
4639
|
-
} & {
|
|
4640
|
-
"/:name/join": {
|
|
4641
|
-
$post: {
|
|
4642
|
-
input: {
|
|
4643
|
-
param: {
|
|
4644
|
-
name: string;
|
|
4645
|
-
};
|
|
4646
|
-
};
|
|
4647
|
-
output: {
|
|
4648
|
-
error: string;
|
|
4649
|
-
};
|
|
4650
|
-
outputFormat: "json";
|
|
4651
|
-
status: 404;
|
|
4652
|
-
} | {
|
|
4653
|
-
input: {
|
|
4654
|
-
param: {
|
|
4655
|
-
name: string;
|
|
4656
|
-
};
|
|
4657
|
-
};
|
|
4658
|
-
output: {
|
|
4659
|
-
ok: true;
|
|
4660
|
-
conversationId: string;
|
|
4661
|
-
};
|
|
4662
|
-
outputFormat: "json";
|
|
4663
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4664
|
-
};
|
|
4665
|
-
};
|
|
4666
|
-
} & {
|
|
4667
|
-
"/:name/leave": {
|
|
4668
|
-
$post: {
|
|
4669
|
-
input: {
|
|
4670
|
-
param: {
|
|
4671
|
-
name: string;
|
|
4672
|
-
};
|
|
4673
|
-
};
|
|
4674
|
-
output: {
|
|
4675
|
-
error: string;
|
|
4676
|
-
};
|
|
4677
|
-
outputFormat: "json";
|
|
4678
|
-
status: 404;
|
|
4679
|
-
} | {
|
|
4680
|
-
input: {
|
|
4681
|
-
param: {
|
|
4682
|
-
name: string;
|
|
4683
|
-
};
|
|
4684
|
-
};
|
|
4685
|
-
output: {
|
|
4686
|
-
ok: true;
|
|
4687
|
-
};
|
|
4688
|
-
outputFormat: "json";
|
|
4689
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4690
|
-
};
|
|
4691
|
-
};
|
|
4692
|
-
} & {
|
|
4693
|
-
"/:name/members": {
|
|
4694
|
-
$get: {
|
|
4695
|
-
input: {
|
|
4696
|
-
param: {
|
|
4697
|
-
name: string;
|
|
4698
|
-
};
|
|
4699
|
-
};
|
|
4700
|
-
output: {
|
|
4701
|
-
userId: number;
|
|
4702
|
-
username: string;
|
|
4703
|
-
userType: "brain" | "mind" | "puppet" | "system";
|
|
4704
|
-
role: "owner" | "member";
|
|
4705
|
-
displayName?: string | null | undefined;
|
|
4706
|
-
description?: string | null | undefined;
|
|
4707
|
-
avatar?: string | null | undefined;
|
|
4708
|
-
}[];
|
|
4709
|
-
outputFormat: "json";
|
|
4710
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4711
|
-
} | {
|
|
4712
|
-
input: {
|
|
4713
|
-
param: {
|
|
4714
|
-
name: string;
|
|
4715
|
-
};
|
|
4716
|
-
};
|
|
4717
|
-
output: {
|
|
4718
|
-
error: string;
|
|
4719
|
-
};
|
|
4720
|
-
outputFormat: "json";
|
|
4721
|
-
status: 404;
|
|
4722
|
-
};
|
|
4723
|
-
};
|
|
4724
|
-
} & {
|
|
4725
|
-
"/:name/invite": {
|
|
4726
|
-
$post: {
|
|
4727
|
-
input: {
|
|
4728
|
-
json: {
|
|
4729
|
-
username: string;
|
|
4730
|
-
};
|
|
4731
|
-
} & {
|
|
4732
|
-
param: {
|
|
4733
|
-
name: string;
|
|
4734
|
-
};
|
|
4735
|
-
};
|
|
4736
|
-
output: {
|
|
4737
|
-
error: string;
|
|
4738
|
-
};
|
|
4739
|
-
outputFormat: "json";
|
|
4740
|
-
status: 404;
|
|
4741
|
-
} | {
|
|
4742
|
-
input: {
|
|
4743
|
-
json: {
|
|
4744
|
-
username: string;
|
|
4745
|
-
};
|
|
4746
|
-
} & {
|
|
4747
|
-
param: {
|
|
4748
|
-
name: string;
|
|
4749
|
-
};
|
|
4750
|
-
};
|
|
4751
|
-
output: {
|
|
4752
|
-
error: string;
|
|
4753
|
-
};
|
|
4754
|
-
outputFormat: "json";
|
|
4755
|
-
status: 409;
|
|
4756
|
-
} | {
|
|
4757
|
-
input: {
|
|
4758
|
-
json: {
|
|
4759
|
-
username: string;
|
|
4760
|
-
};
|
|
4761
|
-
} & {
|
|
4762
|
-
param: {
|
|
4763
|
-
name: string;
|
|
4764
|
-
};
|
|
4765
|
-
};
|
|
4766
|
-
output: {
|
|
4767
|
-
ok: true;
|
|
4768
|
-
};
|
|
4769
|
-
outputFormat: "json";
|
|
4770
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4771
|
-
};
|
|
4772
|
-
};
|
|
4773
|
-
}, "/api/volute/channels"> | hono_types.MergeSchemaPath<{
|
|
4774
|
-
"/chat": {
|
|
4775
|
-
$post: {
|
|
4776
|
-
input: {
|
|
4777
|
-
json: {
|
|
4778
|
-
conversationId: string;
|
|
4779
|
-
message?: string | undefined;
|
|
4780
|
-
images?: {
|
|
4781
|
-
media_type: string;
|
|
4782
|
-
data: string;
|
|
4783
|
-
}[] | undefined;
|
|
4784
|
-
files?: {
|
|
4785
|
-
filename: string;
|
|
4786
|
-
data: string;
|
|
4787
|
-
}[] | undefined;
|
|
4788
|
-
};
|
|
4789
|
-
};
|
|
4790
|
-
output: {
|
|
4791
|
-
error: string;
|
|
4792
|
-
};
|
|
4793
|
-
outputFormat: "json";
|
|
4794
|
-
status: 400;
|
|
4795
|
-
} | {
|
|
4796
|
-
input: {
|
|
4797
|
-
json: {
|
|
4798
|
-
conversationId: string;
|
|
4799
|
-
message?: string | undefined;
|
|
4800
|
-
images?: {
|
|
4801
|
-
media_type: string;
|
|
4802
|
-
data: string;
|
|
4803
|
-
}[] | undefined;
|
|
4804
|
-
files?: {
|
|
4805
|
-
filename: string;
|
|
4806
|
-
data: string;
|
|
4807
|
-
}[] | undefined;
|
|
4808
|
-
};
|
|
4809
|
-
};
|
|
4810
|
-
output: {
|
|
4811
|
-
error: string;
|
|
4812
|
-
};
|
|
4813
|
-
outputFormat: "json";
|
|
4814
|
-
status: 404;
|
|
4815
|
-
} | {
|
|
4816
|
-
input: {
|
|
4817
|
-
json: {
|
|
4818
|
-
conversationId: string;
|
|
4819
|
-
message?: string | undefined;
|
|
4820
|
-
images?: {
|
|
4821
|
-
media_type: string;
|
|
4822
|
-
data: string;
|
|
4823
|
-
}[] | undefined;
|
|
4824
|
-
files?: {
|
|
4825
|
-
filename: string;
|
|
4826
|
-
data: string;
|
|
4827
|
-
}[] | undefined;
|
|
4828
|
-
};
|
|
4829
|
-
};
|
|
4830
|
-
output: {
|
|
4831
|
-
error: string;
|
|
4832
|
-
};
|
|
4833
|
-
outputFormat: "json";
|
|
4834
|
-
status: 413;
|
|
4835
|
-
} | {
|
|
4836
|
-
input: {
|
|
4837
|
-
json: {
|
|
4838
|
-
conversationId: string;
|
|
4839
|
-
message?: string | undefined;
|
|
4840
|
-
images?: {
|
|
4841
|
-
media_type: string;
|
|
4842
|
-
data: string;
|
|
4843
|
-
}[] | undefined;
|
|
4844
|
-
files?: {
|
|
4845
|
-
filename: string;
|
|
4846
|
-
data: string;
|
|
4847
|
-
}[] | undefined;
|
|
4848
|
-
};
|
|
4849
|
-
};
|
|
4850
|
-
output: {
|
|
4851
|
-
ok: true;
|
|
4852
|
-
conversationId: string;
|
|
4853
|
-
};
|
|
4854
|
-
outputFormat: "json";
|
|
4855
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4856
|
-
};
|
|
4857
|
-
};
|
|
4858
|
-
}, "/api/volute"> | hono_types.MergeSchemaPath<{
|
|
4859
|
-
"/:platform/inbound": {
|
|
4860
|
-
$post: {
|
|
4231
|
+
"/:platform/inbound": {
|
|
4232
|
+
$post: {
|
|
4861
4233
|
input: {
|
|
4862
4234
|
json: {
|
|
4863
4235
|
content: ({
|
|
@@ -5166,6 +4538,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5166
4538
|
name: string;
|
|
5167
4539
|
version: string;
|
|
5168
4540
|
description?: string | undefined;
|
|
4541
|
+
icon?: string | undefined;
|
|
5169
4542
|
systemSection?: {
|
|
5170
4543
|
id: string;
|
|
5171
4544
|
label: string;
|
|
@@ -5175,7 +4548,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5175
4548
|
id: string;
|
|
5176
4549
|
label: string;
|
|
5177
4550
|
defaultPath?: string | undefined;
|
|
5178
|
-
icon?: string | undefined;
|
|
5179
4551
|
}[] | undefined;
|
|
5180
4552
|
feedSource?: {
|
|
5181
4553
|
endpoint: string;
|
|
@@ -5287,36 +4659,262 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5287
4659
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5288
4660
|
};
|
|
5289
4661
|
};
|
|
5290
|
-
} & {
|
|
5291
|
-
"/:id/participants": {
|
|
4662
|
+
} & {
|
|
4663
|
+
"/:id/participants": {
|
|
4664
|
+
$get: {
|
|
4665
|
+
input: {
|
|
4666
|
+
param: {
|
|
4667
|
+
id: string;
|
|
4668
|
+
};
|
|
4669
|
+
};
|
|
4670
|
+
output: {
|
|
4671
|
+
userId: number;
|
|
4672
|
+
username: string;
|
|
4673
|
+
userType: "brain" | "mind" | "puppet" | "system";
|
|
4674
|
+
role: "owner" | "member";
|
|
4675
|
+
displayName?: string | null | undefined;
|
|
4676
|
+
description?: string | null | undefined;
|
|
4677
|
+
avatar?: string | null | undefined;
|
|
4678
|
+
}[];
|
|
4679
|
+
outputFormat: "json";
|
|
4680
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4681
|
+
} | {
|
|
4682
|
+
input: {
|
|
4683
|
+
param: {
|
|
4684
|
+
id: string;
|
|
4685
|
+
};
|
|
4686
|
+
};
|
|
4687
|
+
output: {
|
|
4688
|
+
error: string;
|
|
4689
|
+
};
|
|
4690
|
+
outputFormat: "json";
|
|
4691
|
+
status: 404;
|
|
4692
|
+
};
|
|
4693
|
+
};
|
|
4694
|
+
} & {
|
|
4695
|
+
"/": {
|
|
4696
|
+
$post: {
|
|
4697
|
+
input: {
|
|
4698
|
+
json: {
|
|
4699
|
+
participantNames: string[];
|
|
4700
|
+
title?: string | undefined;
|
|
4701
|
+
};
|
|
4702
|
+
};
|
|
4703
|
+
output: {
|
|
4704
|
+
id: string;
|
|
4705
|
+
mind_name: string | null;
|
|
4706
|
+
channel: string;
|
|
4707
|
+
type: "dm" | "channel";
|
|
4708
|
+
name: string | null;
|
|
4709
|
+
user_id: number | null;
|
|
4710
|
+
title: string | null;
|
|
4711
|
+
private: number;
|
|
4712
|
+
created_at: string;
|
|
4713
|
+
updated_at: string;
|
|
4714
|
+
};
|
|
4715
|
+
outputFormat: "json";
|
|
4716
|
+
status: 201;
|
|
4717
|
+
} | {
|
|
4718
|
+
input: {
|
|
4719
|
+
json: {
|
|
4720
|
+
participantNames: string[];
|
|
4721
|
+
title?: string | undefined;
|
|
4722
|
+
};
|
|
4723
|
+
};
|
|
4724
|
+
output: {
|
|
4725
|
+
error: string;
|
|
4726
|
+
};
|
|
4727
|
+
outputFormat: "json";
|
|
4728
|
+
status: 400;
|
|
4729
|
+
};
|
|
4730
|
+
};
|
|
4731
|
+
} & {
|
|
4732
|
+
"/:id/read": {
|
|
4733
|
+
$post: {
|
|
4734
|
+
input: {
|
|
4735
|
+
param: {
|
|
4736
|
+
id: string;
|
|
4737
|
+
};
|
|
4738
|
+
};
|
|
4739
|
+
output: {
|
|
4740
|
+
ok: true;
|
|
4741
|
+
};
|
|
4742
|
+
outputFormat: "json";
|
|
4743
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4744
|
+
} | {
|
|
4745
|
+
input: {
|
|
4746
|
+
param: {
|
|
4747
|
+
id: string;
|
|
4748
|
+
};
|
|
4749
|
+
};
|
|
4750
|
+
output: {
|
|
4751
|
+
error: string;
|
|
4752
|
+
};
|
|
4753
|
+
outputFormat: "json";
|
|
4754
|
+
status: 404;
|
|
4755
|
+
};
|
|
4756
|
+
};
|
|
4757
|
+
} & {
|
|
4758
|
+
"/:id/private": {
|
|
4759
|
+
$put: {
|
|
4760
|
+
input: {
|
|
4761
|
+
json: {
|
|
4762
|
+
private: boolean;
|
|
4763
|
+
};
|
|
4764
|
+
} & {
|
|
4765
|
+
param: {
|
|
4766
|
+
id: string;
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4769
|
+
output: {
|
|
4770
|
+
error: string;
|
|
4771
|
+
};
|
|
4772
|
+
outputFormat: "json";
|
|
4773
|
+
status: 403;
|
|
4774
|
+
} | {
|
|
4775
|
+
input: {
|
|
4776
|
+
json: {
|
|
4777
|
+
private: boolean;
|
|
4778
|
+
};
|
|
4779
|
+
} & {
|
|
4780
|
+
param: {
|
|
4781
|
+
id: string;
|
|
4782
|
+
};
|
|
4783
|
+
};
|
|
4784
|
+
output: {
|
|
4785
|
+
ok: true;
|
|
4786
|
+
};
|
|
4787
|
+
outputFormat: "json";
|
|
4788
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4789
|
+
};
|
|
4790
|
+
};
|
|
4791
|
+
} & {
|
|
4792
|
+
"/:id": {
|
|
4793
|
+
$delete: {
|
|
4794
|
+
input: {
|
|
4795
|
+
param: {
|
|
4796
|
+
id: string;
|
|
4797
|
+
};
|
|
4798
|
+
};
|
|
4799
|
+
output: {
|
|
4800
|
+
error: string;
|
|
4801
|
+
};
|
|
4802
|
+
outputFormat: "json";
|
|
4803
|
+
status: 404;
|
|
4804
|
+
} | {
|
|
4805
|
+
input: {
|
|
4806
|
+
param: {
|
|
4807
|
+
id: string;
|
|
4808
|
+
};
|
|
4809
|
+
};
|
|
4810
|
+
output: {
|
|
4811
|
+
ok: true;
|
|
4812
|
+
};
|
|
4813
|
+
outputFormat: "json";
|
|
4814
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4815
|
+
};
|
|
4816
|
+
};
|
|
4817
|
+
}, "/api/v1/conversations"> | hono_types.MergeSchemaPath<{
|
|
4818
|
+
"/": {
|
|
4819
|
+
$get: {
|
|
4820
|
+
input: {};
|
|
4821
|
+
output: {};
|
|
4822
|
+
outputFormat: string;
|
|
4823
|
+
status: hono_utils_http_status.StatusCode;
|
|
4824
|
+
};
|
|
4825
|
+
};
|
|
4826
|
+
}, "/api/v1/events"> | hono_types.MergeSchemaPath<{
|
|
4827
|
+
"/chat": {
|
|
4828
|
+
$post: {
|
|
4829
|
+
input: {
|
|
4830
|
+
json: {
|
|
4831
|
+
message?: string | undefined;
|
|
4832
|
+
conversationId?: string | undefined;
|
|
4833
|
+
targetMind?: string | undefined;
|
|
4834
|
+
sender?: string | undefined;
|
|
4835
|
+
images?: {
|
|
4836
|
+
media_type: string;
|
|
4837
|
+
data: string;
|
|
4838
|
+
}[] | undefined;
|
|
4839
|
+
files?: {
|
|
4840
|
+
filename: string;
|
|
4841
|
+
data: string;
|
|
4842
|
+
}[] | undefined;
|
|
4843
|
+
};
|
|
4844
|
+
};
|
|
4845
|
+
output: {
|
|
4846
|
+
error: string;
|
|
4847
|
+
};
|
|
4848
|
+
outputFormat: "json";
|
|
4849
|
+
status: 404;
|
|
4850
|
+
} | {
|
|
4851
|
+
input: {
|
|
4852
|
+
json: {
|
|
4853
|
+
message?: string | undefined;
|
|
4854
|
+
conversationId?: string | undefined;
|
|
4855
|
+
targetMind?: string | undefined;
|
|
4856
|
+
sender?: string | undefined;
|
|
4857
|
+
images?: {
|
|
4858
|
+
media_type: string;
|
|
4859
|
+
data: string;
|
|
4860
|
+
}[] | undefined;
|
|
4861
|
+
files?: {
|
|
4862
|
+
filename: string;
|
|
4863
|
+
data: string;
|
|
4864
|
+
}[] | undefined;
|
|
4865
|
+
};
|
|
4866
|
+
};
|
|
4867
|
+
output: {
|
|
4868
|
+
error: string;
|
|
4869
|
+
};
|
|
4870
|
+
outputFormat: "json";
|
|
4871
|
+
status: 400 | 413;
|
|
4872
|
+
} | {
|
|
4873
|
+
input: {
|
|
4874
|
+
json: {
|
|
4875
|
+
message?: string | undefined;
|
|
4876
|
+
conversationId?: string | undefined;
|
|
4877
|
+
targetMind?: string | undefined;
|
|
4878
|
+
sender?: string | undefined;
|
|
4879
|
+
images?: {
|
|
4880
|
+
media_type: string;
|
|
4881
|
+
data: string;
|
|
4882
|
+
}[] | undefined;
|
|
4883
|
+
files?: {
|
|
4884
|
+
filename: string;
|
|
4885
|
+
data: string;
|
|
4886
|
+
}[] | undefined;
|
|
4887
|
+
};
|
|
4888
|
+
};
|
|
4889
|
+
output: {
|
|
4890
|
+
ok: true;
|
|
4891
|
+
conversationId: string | undefined;
|
|
4892
|
+
outboundId: number | undefined;
|
|
4893
|
+
};
|
|
4894
|
+
outputFormat: "json";
|
|
4895
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4896
|
+
};
|
|
4897
|
+
};
|
|
4898
|
+
}, "/api/v1"> | hono_types.MergeSchemaPath<{
|
|
4899
|
+
"/": {
|
|
5292
4900
|
$get: {
|
|
5293
|
-
input: {
|
|
5294
|
-
param: {
|
|
5295
|
-
id: string;
|
|
5296
|
-
};
|
|
5297
|
-
};
|
|
4901
|
+
input: {};
|
|
5298
4902
|
output: {
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
4903
|
+
participantCount: number;
|
|
4904
|
+
isMember: boolean;
|
|
4905
|
+
id: string;
|
|
4906
|
+
mind_name: string | null;
|
|
4907
|
+
channel: string;
|
|
4908
|
+
type: "dm" | "channel";
|
|
4909
|
+
name: string | null;
|
|
4910
|
+
user_id: number | null;
|
|
4911
|
+
title: string | null;
|
|
4912
|
+
private: number;
|
|
4913
|
+
created_at: string;
|
|
4914
|
+
updated_at: string;
|
|
5306
4915
|
}[];
|
|
5307
4916
|
outputFormat: "json";
|
|
5308
4917
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5309
|
-
} | {
|
|
5310
|
-
input: {
|
|
5311
|
-
param: {
|
|
5312
|
-
id: string;
|
|
5313
|
-
};
|
|
5314
|
-
};
|
|
5315
|
-
output: {
|
|
5316
|
-
error: string;
|
|
5317
|
-
};
|
|
5318
|
-
outputFormat: "json";
|
|
5319
|
-
status: 404;
|
|
5320
4918
|
};
|
|
5321
4919
|
};
|
|
5322
4920
|
} & {
|
|
@@ -5324,8 +4922,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5324
4922
|
$post: {
|
|
5325
4923
|
input: {
|
|
5326
4924
|
json: {
|
|
5327
|
-
|
|
5328
|
-
title?: string | undefined;
|
|
4925
|
+
name: string;
|
|
5329
4926
|
};
|
|
5330
4927
|
};
|
|
5331
4928
|
output: {
|
|
@@ -5345,49 +4942,66 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5345
4942
|
} | {
|
|
5346
4943
|
input: {
|
|
5347
4944
|
json: {
|
|
5348
|
-
|
|
5349
|
-
title?: string | undefined;
|
|
4945
|
+
name: string;
|
|
5350
4946
|
};
|
|
5351
4947
|
};
|
|
5352
4948
|
output: {
|
|
5353
4949
|
error: string;
|
|
5354
4950
|
};
|
|
5355
4951
|
outputFormat: "json";
|
|
5356
|
-
status:
|
|
4952
|
+
status: 409;
|
|
5357
4953
|
};
|
|
5358
4954
|
};
|
|
5359
4955
|
} & {
|
|
5360
|
-
"/:
|
|
5361
|
-
$
|
|
4956
|
+
"/:name": {
|
|
4957
|
+
$get: {
|
|
5362
4958
|
input: {
|
|
5363
4959
|
param: {
|
|
5364
|
-
|
|
4960
|
+
name: string;
|
|
5365
4961
|
};
|
|
5366
4962
|
};
|
|
5367
4963
|
output: {
|
|
5368
|
-
|
|
4964
|
+
error: string;
|
|
5369
4965
|
};
|
|
5370
4966
|
outputFormat: "json";
|
|
5371
|
-
status:
|
|
4967
|
+
status: 404;
|
|
5372
4968
|
} | {
|
|
5373
4969
|
input: {
|
|
5374
4970
|
param: {
|
|
5375
|
-
|
|
4971
|
+
name: string;
|
|
5376
4972
|
};
|
|
5377
4973
|
};
|
|
5378
4974
|
output: {
|
|
5379
|
-
|
|
4975
|
+
participants: {
|
|
4976
|
+
userId: number;
|
|
4977
|
+
username: string;
|
|
4978
|
+
userType: "brain" | "mind" | "puppet" | "system";
|
|
4979
|
+
role: "owner" | "member";
|
|
4980
|
+
displayName?: string | null | undefined;
|
|
4981
|
+
description?: string | null | undefined;
|
|
4982
|
+
avatar?: string | null | undefined;
|
|
4983
|
+
}[];
|
|
4984
|
+
id: string;
|
|
4985
|
+
mind_name: string | null;
|
|
4986
|
+
channel: string;
|
|
4987
|
+
type: "dm" | "channel";
|
|
4988
|
+
name: string | null;
|
|
4989
|
+
user_id: number | null;
|
|
4990
|
+
title: string | null;
|
|
4991
|
+
private: number;
|
|
4992
|
+
created_at: string;
|
|
4993
|
+
updated_at: string;
|
|
5380
4994
|
};
|
|
5381
4995
|
outputFormat: "json";
|
|
5382
|
-
status:
|
|
4996
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5383
4997
|
};
|
|
5384
4998
|
};
|
|
5385
4999
|
} & {
|
|
5386
|
-
"/:
|
|
5387
|
-
$
|
|
5000
|
+
"/:name/join": {
|
|
5001
|
+
$post: {
|
|
5388
5002
|
input: {
|
|
5389
5003
|
param: {
|
|
5390
|
-
|
|
5004
|
+
name: string;
|
|
5391
5005
|
};
|
|
5392
5006
|
};
|
|
5393
5007
|
output: {
|
|
@@ -5398,39 +5012,21 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5398
5012
|
} | {
|
|
5399
5013
|
input: {
|
|
5400
5014
|
param: {
|
|
5401
|
-
|
|
5015
|
+
name: string;
|
|
5402
5016
|
};
|
|
5403
5017
|
};
|
|
5404
5018
|
output: {
|
|
5405
5019
|
ok: true;
|
|
5020
|
+
conversationId: string;
|
|
5406
5021
|
};
|
|
5407
5022
|
outputFormat: "json";
|
|
5408
5023
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5409
5024
|
};
|
|
5410
5025
|
};
|
|
5411
|
-
}
|
|
5412
|
-
"/": {
|
|
5413
|
-
$get: {
|
|
5414
|
-
input: {};
|
|
5415
|
-
output: {};
|
|
5416
|
-
outputFormat: string;
|
|
5417
|
-
status: hono_utils_http_status.StatusCode;
|
|
5418
|
-
};
|
|
5419
|
-
};
|
|
5420
|
-
}, "/api/v1/events"> | hono_types.MergeSchemaPath<{
|
|
5421
|
-
"/minds/:name/chat": {
|
|
5026
|
+
} & {
|
|
5027
|
+
"/:name/leave": {
|
|
5422
5028
|
$post: {
|
|
5423
5029
|
input: {
|
|
5424
|
-
json: {
|
|
5425
|
-
message?: string | undefined;
|
|
5426
|
-
conversationId?: string | undefined;
|
|
5427
|
-
sender?: string | undefined;
|
|
5428
|
-
images?: {
|
|
5429
|
-
media_type: string;
|
|
5430
|
-
data: string;
|
|
5431
|
-
}[] | undefined;
|
|
5432
|
-
};
|
|
5433
|
-
} & {
|
|
5434
5030
|
param: {
|
|
5435
5031
|
name: string;
|
|
5436
5032
|
};
|
|
@@ -5442,118 +5038,157 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
5442
5038
|
status: 404;
|
|
5443
5039
|
} | {
|
|
5444
5040
|
input: {
|
|
5445
|
-
json: {
|
|
5446
|
-
message?: string | undefined;
|
|
5447
|
-
conversationId?: string | undefined;
|
|
5448
|
-
sender?: string | undefined;
|
|
5449
|
-
images?: {
|
|
5450
|
-
media_type: string;
|
|
5451
|
-
data: string;
|
|
5452
|
-
}[] | undefined;
|
|
5453
|
-
};
|
|
5454
|
-
} & {
|
|
5455
5041
|
param: {
|
|
5456
5042
|
name: string;
|
|
5457
5043
|
};
|
|
5458
5044
|
};
|
|
5459
5045
|
output: {
|
|
5460
|
-
|
|
5046
|
+
ok: true;
|
|
5461
5047
|
};
|
|
5462
5048
|
outputFormat: "json";
|
|
5463
|
-
status:
|
|
5464
|
-
}
|
|
5049
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5050
|
+
};
|
|
5051
|
+
};
|
|
5052
|
+
} & {
|
|
5053
|
+
"/:name/members": {
|
|
5054
|
+
$get: {
|
|
5465
5055
|
input: {
|
|
5466
|
-
json: {
|
|
5467
|
-
message?: string | undefined;
|
|
5468
|
-
conversationId?: string | undefined;
|
|
5469
|
-
sender?: string | undefined;
|
|
5470
|
-
images?: {
|
|
5471
|
-
media_type: string;
|
|
5472
|
-
data: string;
|
|
5473
|
-
}[] | undefined;
|
|
5474
|
-
};
|
|
5475
|
-
} & {
|
|
5476
5056
|
param: {
|
|
5477
5057
|
name: string;
|
|
5478
5058
|
};
|
|
5479
5059
|
};
|
|
5480
5060
|
output: {
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5061
|
+
userId: number;
|
|
5062
|
+
username: string;
|
|
5063
|
+
userType: "brain" | "mind" | "puppet" | "system";
|
|
5064
|
+
role: "owner" | "member";
|
|
5065
|
+
displayName?: string | null | undefined;
|
|
5066
|
+
description?: string | null | undefined;
|
|
5067
|
+
avatar?: string | null | undefined;
|
|
5068
|
+
}[];
|
|
5484
5069
|
outputFormat: "json";
|
|
5485
5070
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5486
|
-
}
|
|
5487
|
-
};
|
|
5488
|
-
} & {
|
|
5489
|
-
"/minds/:name/conversations/:id/events": {
|
|
5490
|
-
$get: {
|
|
5071
|
+
} | {
|
|
5491
5072
|
input: {
|
|
5492
5073
|
param: {
|
|
5493
|
-
id: string;
|
|
5494
|
-
} & {
|
|
5495
5074
|
name: string;
|
|
5496
5075
|
};
|
|
5497
5076
|
};
|
|
5498
|
-
output: {
|
|
5499
|
-
|
|
5500
|
-
|
|
5077
|
+
output: {
|
|
5078
|
+
error: string;
|
|
5079
|
+
};
|
|
5080
|
+
outputFormat: "json";
|
|
5081
|
+
status: 404;
|
|
5501
5082
|
};
|
|
5502
5083
|
};
|
|
5503
5084
|
} & {
|
|
5504
|
-
"/
|
|
5085
|
+
"/:name/invite": {
|
|
5505
5086
|
$post: {
|
|
5506
5087
|
input: {
|
|
5507
5088
|
json: {
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
}[] | undefined;
|
|
5089
|
+
username: string;
|
|
5090
|
+
};
|
|
5091
|
+
} & {
|
|
5092
|
+
param: {
|
|
5093
|
+
name: string;
|
|
5514
5094
|
};
|
|
5515
5095
|
};
|
|
5516
5096
|
output: {
|
|
5517
5097
|
error: string;
|
|
5518
5098
|
};
|
|
5519
5099
|
outputFormat: "json";
|
|
5520
|
-
status:
|
|
5100
|
+
status: 404;
|
|
5521
5101
|
} | {
|
|
5522
5102
|
input: {
|
|
5523
5103
|
json: {
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
}[] | undefined;
|
|
5104
|
+
username: string;
|
|
5105
|
+
};
|
|
5106
|
+
} & {
|
|
5107
|
+
param: {
|
|
5108
|
+
name: string;
|
|
5530
5109
|
};
|
|
5531
5110
|
};
|
|
5532
5111
|
output: {
|
|
5533
5112
|
error: string;
|
|
5534
5113
|
};
|
|
5535
5114
|
outputFormat: "json";
|
|
5536
|
-
status:
|
|
5115
|
+
status: 409;
|
|
5537
5116
|
} | {
|
|
5538
5117
|
input: {
|
|
5539
5118
|
json: {
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
}[] | undefined;
|
|
5119
|
+
username: string;
|
|
5120
|
+
};
|
|
5121
|
+
} & {
|
|
5122
|
+
param: {
|
|
5123
|
+
name: string;
|
|
5546
5124
|
};
|
|
5547
5125
|
};
|
|
5548
5126
|
output: {
|
|
5549
5127
|
ok: true;
|
|
5550
|
-
conversationId: string;
|
|
5551
5128
|
};
|
|
5552
5129
|
outputFormat: "json";
|
|
5553
5130
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5554
5131
|
};
|
|
5555
5132
|
};
|
|
5556
|
-
}, "/api/v1
|
|
5133
|
+
}, "/api/v1/channels"> | hono_types.MergeSchemaPath<{
|
|
5134
|
+
"/turns": {
|
|
5135
|
+
$get: {
|
|
5136
|
+
input: {};
|
|
5137
|
+
output: {
|
|
5138
|
+
id: string;
|
|
5139
|
+
mind: string;
|
|
5140
|
+
summary: string | null;
|
|
5141
|
+
summary_meta: {
|
|
5142
|
+
[x: string]: hono_utils_types.JSONValue;
|
|
5143
|
+
} | null;
|
|
5144
|
+
status: string;
|
|
5145
|
+
created_at: string;
|
|
5146
|
+
trigger: {
|
|
5147
|
+
channel: string | null;
|
|
5148
|
+
sender: string | null;
|
|
5149
|
+
content: string | null;
|
|
5150
|
+
} | null;
|
|
5151
|
+
conversations: {
|
|
5152
|
+
id: string;
|
|
5153
|
+
label: string;
|
|
5154
|
+
type: "channel" | "dm";
|
|
5155
|
+
messages: {
|
|
5156
|
+
id: number;
|
|
5157
|
+
role: string;
|
|
5158
|
+
sender_name: string | null;
|
|
5159
|
+
content: {
|
|
5160
|
+
type: string;
|
|
5161
|
+
text: string;
|
|
5162
|
+
}[];
|
|
5163
|
+
source_event_id: number;
|
|
5164
|
+
created_at: string | null;
|
|
5165
|
+
}[];
|
|
5166
|
+
}[];
|
|
5167
|
+
activities: {
|
|
5168
|
+
id: number;
|
|
5169
|
+
type: string;
|
|
5170
|
+
summary: string;
|
|
5171
|
+
metadata: {
|
|
5172
|
+
[x: string]: hono_utils_types.JSONValue;
|
|
5173
|
+
} | null;
|
|
5174
|
+
source_event_id: number | null;
|
|
5175
|
+
created_at: string;
|
|
5176
|
+
}[];
|
|
5177
|
+
}[];
|
|
5178
|
+
outputFormat: "json";
|
|
5179
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5180
|
+
};
|
|
5181
|
+
};
|
|
5182
|
+
} & {
|
|
5183
|
+
"/events": {
|
|
5184
|
+
$get: {
|
|
5185
|
+
input: {};
|
|
5186
|
+
output: {};
|
|
5187
|
+
outputFormat: string;
|
|
5188
|
+
status: hono_utils_http_status.StatusCode;
|
|
5189
|
+
};
|
|
5190
|
+
};
|
|
5191
|
+
}, "/api/v1/history">, "/", "/">;
|
|
5557
5192
|
|
|
5558
5193
|
type AppType = typeof routes;
|
|
5559
5194
|
|