volute 0.25.0 → 0.27.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 +28 -33
- package/dist/{activity-events-4O37J7PD.js → activity-events-BBIEA2F4.js} +2 -3
- package/dist/api.d.ts +886 -220
- package/dist/{archive-4ZQYK5MN.js → archive-UA4BDFXQ.js} +2 -2
- package/dist/{auth-HM2RSPY7.js → auth-D3OT2ARB.js} +3 -3
- package/dist/bridge-FQHZL3MC.js +206 -0
- package/dist/chat-MHJ3L6JQ.js +58 -0
- package/dist/{chunk-PHU4DEAJ.js → chunk-2WPW7OT6.js} +3 -3
- package/dist/{chunk-BOTQ25QT.js → chunk-2YP2TVDT.js} +138 -56
- package/dist/{chunk-DG7TO7EE.js → chunk-4WXYUOAK.js} +5 -7
- package/dist/{chunk-JTDFJWI2.js → chunk-AW7PFDVN.js} +5 -5
- package/dist/{chunk-2767L2RZ.js → chunk-EHYDTZTF.js} +6 -6
- package/dist/{chunk-ZSH4G2P5.js → chunk-GIE6CSN5.js} +17 -17
- package/dist/chunk-H7OZRFJB.js +432 -0
- package/dist/{chunk-ON3FF5JA.js → chunk-HDN7MNGD.js} +3 -3
- package/dist/chunk-IAYBDWVG.js +477 -0
- package/dist/chunk-IKRVFPWU.js +83 -0
- package/dist/{chunk-TRQEV3CD.js → chunk-JGFVMROS.js} +32 -6
- package/dist/{chunk-PHHKNGA3.js → chunk-JKOWNZ4P.js} +3 -3
- package/dist/{chunk-E7GOKNOT.js → chunk-K5NAC55T.js} +1 -1
- package/dist/{chunk-HFCBO2GL.js → chunk-KDGS53OS.js} +4 -4
- package/dist/chunk-KTLFDYPT.js +61 -0
- package/dist/{chunk-3AIBT4TW.js → chunk-LAC664WU.js} +30 -4
- package/dist/{chunk-PMX4EIJK.js → chunk-OQZH4PBB.js} +467 -1054
- package/dist/{chunk-SHSWYG2J.js → chunk-PHSAT7YL.js} +71 -58
- package/dist/chunk-RKQEHRBB.js +177 -0
- package/dist/{chunk-RVKR2R7F.js → chunk-SSI47XP2.js} +10 -2
- package/dist/chunk-T6HKBWXZ.js +23 -0
- package/dist/chunk-USUXRNVD.js +113 -0
- package/dist/{chunk-BFK6SOEJ.js → chunk-VIVMW2H2.js} +4 -4
- package/dist/{chunk-KTJGZ7M7.js → chunk-XBLSAVJF.js} +1 -1
- package/dist/chunk-ZYGKG6VC.js +22 -0
- package/dist/cli.js +51 -32
- package/dist/{cloud-sync-PPBBJDY6.js → cloud-sync-T7M3ESC3.js} +15 -12
- package/dist/connectors/discord-bridge.js +158 -0
- package/dist/connectors/slack-bridge.js +119 -0
- package/dist/connectors/telegram-bridge.js +133 -0
- package/dist/conversations-M2K4253F.js +55 -0
- package/dist/create-D7J73A6H.js +45 -0
- package/dist/{create-VDQJER52.js → create-QWV73WXD.js} +1 -1
- package/dist/{daemon-client-JOVQZ52X.js → daemon-client-I42FK2BF.js} +2 -2
- package/dist/{daemon-restart-FDNOZEAD.js → daemon-restart-M2QTYMEG.js} +7 -6
- package/dist/daemon.js +2247 -1085
- package/dist/db-IC4J52XQ.js +8 -0
- package/dist/{delete-2MRR4JX5.js → delete-4JYGD4VN.js} +1 -1
- package/dist/down-LVBXEULC.js +14 -0
- package/dist/{env-2FPOZK37.js → env-YJMUMFIY.js} +5 -5
- package/dist/{export-IKFAPRAO.js → export-BOJQWBMA.js} +4 -4
- package/dist/{file-KT3UIQM3.js → file-CR36YUPD.js} +4 -4
- package/dist/{history-46WZN5CN.js → history-XKRTAFS2.js} +7 -7
- package/dist/{import-TH26J76F.js → import-SRTQXBGH.js} +4 -4
- package/dist/join-J4QU42DL.js +66 -0
- package/dist/list-R73GENNL.js +40 -0
- package/dist/{log-6SGSSR3D.js → log-ABYNVYJ3.js} +4 -4
- package/dist/login-3QZNR2DF.js +46 -0
- package/dist/{login-UO6AOVEA.js → login-XX37I52P.js} +3 -3
- package/dist/logout-T53VKCPU.js +39 -0
- package/dist/{logout-UKD5LA37.js → logout-W4KOOBIT.js} +2 -2
- package/dist/{logs-HRBONI5I.js → logs-U35JR2KE.js} +7 -7
- package/dist/{merge-KSFJKX6T.js → merge-LNSMSAOF.js} +4 -4
- package/dist/message-delivery-LDXLGERA.js +25 -0
- package/dist/migrate-registry-to-db-XC7T5B7P.js +110 -0
- package/dist/{mind-YVWAHL2A.js → mind-DI33C74K.js} +25 -25
- package/dist/{mind-activity-tracker-NMDDEV3K.js → mind-activity-tracker-EN6XNXPF.js} +3 -4
- package/dist/{mind-manager-4NDNAYAB.js → mind-manager-M6EMUW5I.js} +6 -5
- package/dist/{mind-sleep-GHPTSAYN.js → mind-sleep-BTSWQNAC.js} +4 -4
- package/dist/{mind-wake-BJDJFMDF.js → mind-wake-SBAKIDVP.js} +4 -4
- package/dist/notes-XCER3I7M.js +220 -0
- package/dist/{package-3HF5MXU2.js → package-7WY6VKU3.js} +2 -1
- package/dist/{pages-Y6DRWUOJ.js → pages-6EBS6CBR.js} +2 -2
- package/dist/{publish-EEKTZBHW.js → publish-66UB2ZFY.js} +5 -5
- package/dist/{pull-D32SPFVU.js → pull-XCHJTM5M.js} +4 -4
- package/dist/read-36UFXN3G.js +46 -0
- package/dist/{register-U2UO6TC4.js → register-6B2CXTYM.js} +3 -3
- package/dist/{registry-D2BSQ2X5.js → registry-NDNOOYG4.js} +15 -9
- package/dist/{restart-5BMNV7KU.js → restart-6ESL3NBO.js} +6 -6
- package/dist/sandbox-TGBX22DS.js +19 -0
- package/dist/{schedule-YEFDLVMJ.js → schedule-QTJMFATP.js} +7 -7
- package/dist/{seed-6FEKB3YC.js → seed-SSUCYYDF.js} +2 -2
- package/dist/{send-IISDYFCL.js → send-ZNCJDSRP.js} +28 -36
- package/dist/service-6LIN3F3K.js +122 -0
- package/dist/setup-JG4QAEBV.js +371 -0
- package/dist/setup-JHL5ZEST.js +17 -0
- package/dist/{shared-LWMNTTZN.js → shared-ML5I4Q2A.js} +4 -4
- package/dist/{skill-T3EMR6IR.js → skill-AUAQTSP5.js} +7 -7
- package/dist/skills/dreaming/SKILL.md +68 -0
- package/dist/skills/dreaming/references/INSTALL.md +56 -0
- package/dist/skills/dreaming/scripts/dream.ts +289 -0
- package/dist/skills/dreaming/scripts/wake-context-dreams.sh +30 -0
- package/dist/skills/notes/SKILL.md +34 -0
- package/dist/skills/orientation/SKILL.md +3 -3
- package/dist/skills/volute-mind/SKILL.md +32 -30
- package/dist/sleep-manager-MWYHM5HV.js +29 -0
- package/dist/split-TKJ5OT3P.js +63 -0
- package/dist/{sprout-QJVGJDSH.js → sprout-IJVVKSJ2.js} +6 -7
- package/dist/{start-C7XITZ5O.js → start-EUJSS5R4.js} +4 -4
- package/dist/{status-SIRPLEZC.js → status-77YEPHMW.js} +5 -5
- package/dist/{status-LYS4NUOZ.js → status-7GA4SM4Y.js} +4 -4
- package/dist/{status-LV34BG6G.js → status-THLOBLWG.js} +2 -2
- package/dist/{stop-CVKBSLXY.js → stop-3XAITBBF.js} +6 -6
- package/dist/{tailscale-AJ4VL5XK.js → tailscale-NY5MUMY3.js} +1 -1
- package/dist/up-NKSMXBWR.js +17 -0
- package/dist/{update-7XCZMYBT.js → update-PTSH22AZ.js} +11 -11
- package/dist/{update-check-F5Z3ALXX.js → update-check-64FWC4Y2.js} +2 -2
- package/dist/{upgrade-7RUIXGOO.js → upgrade-HA47CS4C.js} +12 -5
- package/dist/variant-7TGZHOU3.js +41 -0
- package/dist/{version-notify-AZQMC32A.js → version-notify-5Z4MNR6M.js} +26 -28
- package/dist/web-assets/assets/index-CI5wgghI.css +1 -0
- package/dist/web-assets/assets/index-is5CvJWH.js +75 -0
- package/dist/web-assets/favicon.png +0 -0
- package/dist/web-assets/index.html +2 -2
- package/drizzle/0015_notes.sql +23 -0
- package/drizzle/0016_note_reactions_and_replies.sql +15 -0
- package/drizzle/0017_minds.sql +16 -0
- package/drizzle/meta/_journal.json +21 -0
- package/package.json +2 -1
- package/templates/_base/.init/.config/hooks/wake-context.sh +7 -0
- package/templates/_base/.init/.config/prompts.json +2 -2
- package/templates/_base/home/VOLUTE.md +5 -5
- package/templates/_base/src/lib/startup.ts +10 -2
- package/templates/claude/src/agent.ts +51 -1
- package/templates/claude/src/server.ts +1 -0
- package/templates/pi/package.json.tmpl +1 -0
- package/templates/pi/src/agent.ts +48 -1
- package/templates/pi/src/lib/subagents.ts +150 -0
- package/templates/pi/src/server.ts +1 -0
- package/dist/channel-HZOSHGNF.js +0 -260
- package/dist/chunk-33XAVCS4.js +0 -203
- package/dist/chunk-B2CPS4QU.js +0 -283
- package/dist/chunk-NWPT4ASZ.js +0 -89
- package/dist/chunk-SIAG3QMM.js +0 -42
- package/dist/chunk-WSLPZF72.js +0 -173
- package/dist/connector-M6XFI6GM.js +0 -147
- package/dist/connectors/discord.js +0 -177
- package/dist/connectors/slack.js +0 -181
- package/dist/connectors/telegram.js +0 -187
- package/dist/down-674SX2IZ.js +0 -14
- package/dist/message-delivery-XMGV3FUM.js +0 -23
- package/dist/service-FASYWLTC.js +0 -247
- package/dist/setup-BMLM2UTK.js +0 -230
- package/dist/sleep-manager-RKTFZPD3.js +0 -27
- package/dist/up-CJ26KQLN.js +0 -15
- package/dist/variant-UGREB4G5.js +0 -207
- package/dist/web-assets/assets/index-CGPSVu19.js +0 -69
- package/dist/web-assets/assets/index-V_rNDsM8.css +0 -1
package/dist/api.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
65
65
|
output: {
|
|
66
66
|
id: number;
|
|
67
67
|
username: string;
|
|
68
|
-
role: "pending" | "
|
|
68
|
+
role: "pending" | "user" | "admin";
|
|
69
69
|
};
|
|
70
70
|
outputFormat: "json";
|
|
71
71
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -95,7 +95,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
95
95
|
output: {
|
|
96
96
|
id: number;
|
|
97
97
|
username: string;
|
|
98
|
-
role: "pending" | "
|
|
98
|
+
role: "pending" | "user" | "admin";
|
|
99
|
+
sessionId: string;
|
|
99
100
|
};
|
|
100
101
|
outputFormat: "json";
|
|
101
102
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -126,7 +127,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
126
127
|
output: {
|
|
127
128
|
id: number;
|
|
128
129
|
username: string;
|
|
129
|
-
role: "pending" | "
|
|
130
|
+
role: "pending" | "user" | "admin";
|
|
130
131
|
display_name: string | null;
|
|
131
132
|
description: string | null;
|
|
132
133
|
avatar: string | null;
|
|
@@ -184,7 +185,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
184
185
|
output: {
|
|
185
186
|
id: number;
|
|
186
187
|
username: string;
|
|
187
|
-
role: "admin" | "user" | "pending"
|
|
188
|
+
role: "admin" | "user" | "pending";
|
|
188
189
|
user_type: "brain" | "mind";
|
|
189
190
|
display_name: string | null;
|
|
190
191
|
description: string | null;
|
|
@@ -202,7 +203,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
202
203
|
output: {
|
|
203
204
|
id: number;
|
|
204
205
|
username: string;
|
|
205
|
-
role: "admin" | "user" | "pending"
|
|
206
|
+
role: "admin" | "user" | "pending";
|
|
206
207
|
user_type: "brain" | "mind";
|
|
207
208
|
display_name: string | null;
|
|
208
209
|
description: string | null;
|
|
@@ -757,6 +758,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
757
758
|
stage?: "seed" | "sprouted" | undefined;
|
|
758
759
|
template?: string | undefined;
|
|
759
760
|
templateHash?: string | undefined;
|
|
761
|
+
parent?: string | undefined;
|
|
762
|
+
dir?: string | undefined;
|
|
763
|
+
branch?: string | undefined;
|
|
760
764
|
}[];
|
|
761
765
|
outputFormat: "json";
|
|
762
766
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -767,14 +771,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
767
771
|
$get: {
|
|
768
772
|
input: {};
|
|
769
773
|
output: {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
modified: string;
|
|
775
|
-
url: string;
|
|
776
|
-
}[];
|
|
777
|
-
}[];
|
|
774
|
+
then: never;
|
|
775
|
+
catch: never;
|
|
776
|
+
finally: never;
|
|
777
|
+
};
|
|
778
778
|
outputFormat: "json";
|
|
779
779
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
780
780
|
};
|
|
@@ -784,11 +784,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
784
784
|
$get: {
|
|
785
785
|
input: {};
|
|
786
786
|
output: {
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
}[];
|
|
787
|
+
then: never;
|
|
788
|
+
catch: never;
|
|
789
|
+
finally: never;
|
|
790
|
+
};
|
|
792
791
|
outputFormat: "json";
|
|
793
792
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
794
793
|
};
|
|
@@ -836,6 +835,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
836
835
|
stage?: "seed" | "sprouted" | undefined;
|
|
837
836
|
template?: string | undefined;
|
|
838
837
|
templateHash?: string | undefined;
|
|
838
|
+
parent?: string | undefined;
|
|
839
|
+
dir?: string | undefined;
|
|
840
|
+
branch?: string | undefined;
|
|
839
841
|
};
|
|
840
842
|
outputFormat: "json";
|
|
841
843
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -1024,6 +1026,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1024
1026
|
wokenByTrigger: boolean;
|
|
1025
1027
|
voluntaryWakeAt: string | null;
|
|
1026
1028
|
queuedMessageCount: number;
|
|
1029
|
+
triggerWakeHistory: {
|
|
1030
|
+
channel: string;
|
|
1031
|
+
at: string;
|
|
1032
|
+
}[];
|
|
1027
1033
|
};
|
|
1028
1034
|
outputFormat: "json";
|
|
1029
1035
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -1758,146 +1764,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1758
1764
|
status: hono_utils_http_status.StatusCode;
|
|
1759
1765
|
};
|
|
1760
1766
|
};
|
|
1761
|
-
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
1762
|
-
"/:name/connectors": {
|
|
1763
|
-
$get: {
|
|
1764
|
-
input: {
|
|
1765
|
-
param: {
|
|
1766
|
-
name: string;
|
|
1767
|
-
};
|
|
1768
|
-
};
|
|
1769
|
-
output: {
|
|
1770
|
-
error: string;
|
|
1771
|
-
};
|
|
1772
|
-
outputFormat: "json";
|
|
1773
|
-
status: 404;
|
|
1774
|
-
} | {
|
|
1775
|
-
input: {
|
|
1776
|
-
param: {
|
|
1777
|
-
name: string;
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
|
-
output: {
|
|
1781
|
-
type: string;
|
|
1782
|
-
running: boolean;
|
|
1783
|
-
auto?: boolean | undefined;
|
|
1784
|
-
}[];
|
|
1785
|
-
outputFormat: "json";
|
|
1786
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1787
|
-
};
|
|
1788
|
-
};
|
|
1789
|
-
} & {
|
|
1790
|
-
"/:name/connectors/:type": {
|
|
1791
|
-
$post: {
|
|
1792
|
-
input: {
|
|
1793
|
-
param: {
|
|
1794
|
-
name: string;
|
|
1795
|
-
} & {
|
|
1796
|
-
type: string;
|
|
1797
|
-
};
|
|
1798
|
-
};
|
|
1799
|
-
output: {
|
|
1800
|
-
error: string;
|
|
1801
|
-
};
|
|
1802
|
-
outputFormat: "json";
|
|
1803
|
-
status: 400;
|
|
1804
|
-
} | {
|
|
1805
|
-
input: {
|
|
1806
|
-
param: {
|
|
1807
|
-
name: string;
|
|
1808
|
-
} & {
|
|
1809
|
-
type: string;
|
|
1810
|
-
};
|
|
1811
|
-
};
|
|
1812
|
-
output: {
|
|
1813
|
-
error: string;
|
|
1814
|
-
};
|
|
1815
|
-
outputFormat: "json";
|
|
1816
|
-
status: 404;
|
|
1817
|
-
} | {
|
|
1818
|
-
input: {
|
|
1819
|
-
param: {
|
|
1820
|
-
name: string;
|
|
1821
|
-
} & {
|
|
1822
|
-
type: string;
|
|
1823
|
-
};
|
|
1824
|
-
};
|
|
1825
|
-
output: {
|
|
1826
|
-
error: string;
|
|
1827
|
-
};
|
|
1828
|
-
outputFormat: "json";
|
|
1829
|
-
status: 403;
|
|
1830
|
-
} | {
|
|
1831
|
-
input: {
|
|
1832
|
-
param: {
|
|
1833
|
-
name: string;
|
|
1834
|
-
} & {
|
|
1835
|
-
type: string;
|
|
1836
|
-
};
|
|
1837
|
-
};
|
|
1838
|
-
output: {
|
|
1839
|
-
ok: true;
|
|
1840
|
-
};
|
|
1841
|
-
outputFormat: "json";
|
|
1842
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1843
|
-
} | {
|
|
1844
|
-
input: {
|
|
1845
|
-
param: {
|
|
1846
|
-
name: string;
|
|
1847
|
-
} & {
|
|
1848
|
-
type: string;
|
|
1849
|
-
};
|
|
1850
|
-
};
|
|
1851
|
-
output: {
|
|
1852
|
-
error: string;
|
|
1853
|
-
};
|
|
1854
|
-
outputFormat: "json";
|
|
1855
|
-
status: 500;
|
|
1856
|
-
};
|
|
1857
|
-
};
|
|
1858
|
-
} & {
|
|
1859
|
-
"/:name/connectors/:type": {
|
|
1860
|
-
$delete: {
|
|
1861
|
-
input: {
|
|
1862
|
-
param: {
|
|
1863
|
-
name: string;
|
|
1864
|
-
} & {
|
|
1865
|
-
type: string;
|
|
1866
|
-
};
|
|
1867
|
-
};
|
|
1868
|
-
output: {
|
|
1869
|
-
error: string;
|
|
1870
|
-
};
|
|
1871
|
-
outputFormat: "json";
|
|
1872
|
-
status: 400;
|
|
1873
|
-
} | {
|
|
1874
|
-
input: {
|
|
1875
|
-
param: {
|
|
1876
|
-
name: string;
|
|
1877
|
-
} & {
|
|
1878
|
-
type: string;
|
|
1879
|
-
};
|
|
1880
|
-
};
|
|
1881
|
-
output: {
|
|
1882
|
-
error: string;
|
|
1883
|
-
};
|
|
1884
|
-
outputFormat: "json";
|
|
1885
|
-
status: 404;
|
|
1886
|
-
} | {
|
|
1887
|
-
input: {
|
|
1888
|
-
param: {
|
|
1889
|
-
name: string;
|
|
1890
|
-
} & {
|
|
1891
|
-
type: string;
|
|
1892
|
-
};
|
|
1893
|
-
};
|
|
1894
|
-
output: {
|
|
1895
|
-
ok: true;
|
|
1896
|
-
};
|
|
1897
|
-
outputFormat: "json";
|
|
1898
|
-
status: hono_utils_http_status.ContentfulStatusCode;
|
|
1899
|
-
};
|
|
1900
|
-
};
|
|
1901
1767
|
}, "/api/minds"> | hono_types.MergeSchemaPath<{
|
|
1902
1768
|
"/:name/schedules": {
|
|
1903
1769
|
$get: {
|
|
@@ -1923,6 +1789,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
1923
1789
|
message?: string | undefined;
|
|
1924
1790
|
script?: string | undefined;
|
|
1925
1791
|
enabled: boolean;
|
|
1792
|
+
skipWhenSleeping?: boolean | undefined;
|
|
1793
|
+
channel?: string | undefined;
|
|
1926
1794
|
}[];
|
|
1927
1795
|
outputFormat: "json";
|
|
1928
1796
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -2210,11 +2078,15 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2210
2078
|
output: {
|
|
2211
2079
|
status: string;
|
|
2212
2080
|
name: string;
|
|
2213
|
-
branch: string;
|
|
2214
|
-
path: string;
|
|
2215
2081
|
port: number;
|
|
2216
2082
|
created: string;
|
|
2217
|
-
running
|
|
2083
|
+
running: boolean;
|
|
2084
|
+
stage?: "seed" | "sprouted" | undefined;
|
|
2085
|
+
template?: string | undefined;
|
|
2086
|
+
templateHash?: string | undefined;
|
|
2087
|
+
parent?: string | undefined;
|
|
2088
|
+
dir?: string | undefined;
|
|
2089
|
+
branch?: string | undefined;
|
|
2218
2090
|
}[];
|
|
2219
2091
|
outputFormat: "json";
|
|
2220
2092
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -2323,7 +2195,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2323
2195
|
error: string;
|
|
2324
2196
|
};
|
|
2325
2197
|
outputFormat: "json";
|
|
2326
|
-
status:
|
|
2198
|
+
status: 500;
|
|
2327
2199
|
} | {
|
|
2328
2200
|
input: {
|
|
2329
2201
|
param: {
|
|
@@ -2336,7 +2208,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2336
2208
|
error: string;
|
|
2337
2209
|
};
|
|
2338
2210
|
outputFormat: "json";
|
|
2339
|
-
status:
|
|
2211
|
+
status: 400;
|
|
2340
2212
|
} | {
|
|
2341
2213
|
input: {
|
|
2342
2214
|
param: {
|
|
@@ -2368,6 +2240,19 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
2368
2240
|
};
|
|
2369
2241
|
outputFormat: "json";
|
|
2370
2242
|
status: 404;
|
|
2243
|
+
} | {
|
|
2244
|
+
input: {
|
|
2245
|
+
param: {
|
|
2246
|
+
name: string;
|
|
2247
|
+
} & {
|
|
2248
|
+
variant: string;
|
|
2249
|
+
};
|
|
2250
|
+
};
|
|
2251
|
+
output: {
|
|
2252
|
+
error: string;
|
|
2253
|
+
};
|
|
2254
|
+
outputFormat: "json";
|
|
2255
|
+
status: 500;
|
|
2371
2256
|
} | {
|
|
2372
2257
|
input: {
|
|
2373
2258
|
param: {
|
|
@@ -3645,7 +3530,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3645
3530
|
output: {
|
|
3646
3531
|
userId: number;
|
|
3647
3532
|
username: string;
|
|
3648
|
-
userType: "brain" | "mind";
|
|
3533
|
+
userType: "brain" | "mind" | "puppet";
|
|
3649
3534
|
role: "owner" | "member";
|
|
3650
3535
|
displayName?: string | null | undefined;
|
|
3651
3536
|
description?: string | null | undefined;
|
|
@@ -3753,34 +3638,52 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3753
3638
|
$get: {
|
|
3754
3639
|
input: {};
|
|
3755
3640
|
output: {
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
} | {
|
|
3761
|
-
input: {};
|
|
3762
|
-
output: {
|
|
3763
|
-
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" | "wake_trigger_summary";
|
|
3641
|
+
id: number;
|
|
3642
|
+
author_id: number;
|
|
3643
|
+
title: string;
|
|
3644
|
+
slug: string;
|
|
3764
3645
|
content: string;
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3646
|
+
created_at: string;
|
|
3647
|
+
updated_at: string;
|
|
3648
|
+
author_username: string;
|
|
3649
|
+
author_display_name: string | null;
|
|
3650
|
+
comment_count: number;
|
|
3651
|
+
reply_to?: {
|
|
3652
|
+
author_username: string;
|
|
3653
|
+
slug: string;
|
|
3654
|
+
title: string;
|
|
3655
|
+
} | null | undefined;
|
|
3656
|
+
reactions?: {
|
|
3657
|
+
emoji: string;
|
|
3658
|
+
count: number;
|
|
3659
|
+
usernames: string[];
|
|
3660
|
+
}[] | undefined;
|
|
3769
3661
|
}[];
|
|
3770
3662
|
outputFormat: "json";
|
|
3771
3663
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3772
3664
|
};
|
|
3773
3665
|
};
|
|
3774
3666
|
} & {
|
|
3775
|
-
"
|
|
3776
|
-
$
|
|
3667
|
+
"/": {
|
|
3668
|
+
$post: {
|
|
3777
3669
|
input: {
|
|
3778
3670
|
json: {
|
|
3671
|
+
title: string;
|
|
3779
3672
|
content: string;
|
|
3673
|
+
reply_to?: string | undefined;
|
|
3780
3674
|
};
|
|
3781
|
-
}
|
|
3782
|
-
|
|
3783
|
-
|
|
3675
|
+
};
|
|
3676
|
+
output: {
|
|
3677
|
+
error: string;
|
|
3678
|
+
};
|
|
3679
|
+
outputFormat: "json";
|
|
3680
|
+
status: 401;
|
|
3681
|
+
} | {
|
|
3682
|
+
input: {
|
|
3683
|
+
json: {
|
|
3684
|
+
title: string;
|
|
3685
|
+
content: string;
|
|
3686
|
+
reply_to?: string | undefined;
|
|
3784
3687
|
};
|
|
3785
3688
|
};
|
|
3786
3689
|
output: {
|
|
@@ -3791,26 +3694,45 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3791
3694
|
} | {
|
|
3792
3695
|
input: {
|
|
3793
3696
|
json: {
|
|
3697
|
+
title: string;
|
|
3794
3698
|
content: string;
|
|
3795
|
-
|
|
3796
|
-
} & {
|
|
3797
|
-
param: {
|
|
3798
|
-
key: string;
|
|
3699
|
+
reply_to?: string | undefined;
|
|
3799
3700
|
};
|
|
3800
3701
|
};
|
|
3801
3702
|
output: {
|
|
3802
|
-
|
|
3703
|
+
id: number;
|
|
3704
|
+
author_id: number;
|
|
3705
|
+
title: string;
|
|
3706
|
+
slug: string;
|
|
3707
|
+
content: string;
|
|
3708
|
+
created_at: string;
|
|
3709
|
+
updated_at: string;
|
|
3710
|
+
author_username: string;
|
|
3711
|
+
author_display_name: string | null;
|
|
3712
|
+
comment_count: number;
|
|
3713
|
+
reply_to?: {
|
|
3714
|
+
author_username: string;
|
|
3715
|
+
slug: string;
|
|
3716
|
+
title: string;
|
|
3717
|
+
} | null | undefined;
|
|
3718
|
+
reactions?: {
|
|
3719
|
+
emoji: string;
|
|
3720
|
+
count: number;
|
|
3721
|
+
usernames: string[];
|
|
3722
|
+
}[] | undefined;
|
|
3803
3723
|
};
|
|
3804
3724
|
outputFormat: "json";
|
|
3805
|
-
status:
|
|
3725
|
+
status: 201;
|
|
3806
3726
|
};
|
|
3807
3727
|
};
|
|
3808
3728
|
} & {
|
|
3809
|
-
"/:
|
|
3810
|
-
$
|
|
3729
|
+
"/:author/:slug": {
|
|
3730
|
+
$get: {
|
|
3811
3731
|
input: {
|
|
3812
3732
|
param: {
|
|
3813
|
-
|
|
3733
|
+
author: string;
|
|
3734
|
+
} & {
|
|
3735
|
+
slug: string;
|
|
3814
3736
|
};
|
|
3815
3737
|
};
|
|
3816
3738
|
output: {
|
|
@@ -3821,56 +3743,498 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3821
3743
|
} | {
|
|
3822
3744
|
input: {
|
|
3823
3745
|
param: {
|
|
3824
|
-
|
|
3746
|
+
author: string;
|
|
3747
|
+
} & {
|
|
3748
|
+
slug: string;
|
|
3825
3749
|
};
|
|
3826
3750
|
};
|
|
3827
3751
|
output: {
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
};
|
|
3834
|
-
}, "/api/prompts"> | hono_types.MergeSchemaPath<{
|
|
3835
|
-
"/": {
|
|
3836
|
-
$get: {
|
|
3837
|
-
input: {};
|
|
3838
|
-
output: {
|
|
3839
|
-
id: string;
|
|
3840
|
-
name: string;
|
|
3841
|
-
description: string;
|
|
3842
|
-
author: string;
|
|
3843
|
-
version: number;
|
|
3752
|
+
id: number;
|
|
3753
|
+
author_id: number;
|
|
3754
|
+
title: string;
|
|
3755
|
+
slug: string;
|
|
3756
|
+
content: string;
|
|
3844
3757
|
created_at: string;
|
|
3845
3758
|
updated_at: string;
|
|
3846
|
-
|
|
3759
|
+
author_username: string;
|
|
3760
|
+
author_display_name: string | null;
|
|
3761
|
+
comment_count: number;
|
|
3762
|
+
reply_to?: {
|
|
3763
|
+
author_username: string;
|
|
3764
|
+
slug: string;
|
|
3765
|
+
title: string;
|
|
3766
|
+
} | null | undefined;
|
|
3767
|
+
reactions?: {
|
|
3768
|
+
emoji: string;
|
|
3769
|
+
count: number;
|
|
3770
|
+
usernames: string[];
|
|
3771
|
+
}[] | undefined;
|
|
3772
|
+
comments: {
|
|
3773
|
+
id: number;
|
|
3774
|
+
note_id: number;
|
|
3775
|
+
author_id: number;
|
|
3776
|
+
content: string;
|
|
3777
|
+
created_at: string;
|
|
3778
|
+
author_username: string;
|
|
3779
|
+
author_display_name: string | null;
|
|
3780
|
+
}[];
|
|
3781
|
+
replies: {
|
|
3782
|
+
author_username: string;
|
|
3783
|
+
slug: string;
|
|
3784
|
+
title: string;
|
|
3785
|
+
created_at: string;
|
|
3786
|
+
}[];
|
|
3787
|
+
};
|
|
3847
3788
|
outputFormat: "json";
|
|
3848
3789
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3849
3790
|
};
|
|
3850
3791
|
};
|
|
3851
3792
|
} & {
|
|
3852
|
-
"/:
|
|
3853
|
-
$
|
|
3793
|
+
"/:author/:slug": {
|
|
3794
|
+
$put: {
|
|
3854
3795
|
input: {
|
|
3796
|
+
json: {
|
|
3797
|
+
title?: string | undefined;
|
|
3798
|
+
content?: string | undefined;
|
|
3799
|
+
};
|
|
3800
|
+
} & {
|
|
3855
3801
|
param: {
|
|
3856
|
-
|
|
3802
|
+
author: string;
|
|
3803
|
+
} & {
|
|
3804
|
+
slug: string;
|
|
3857
3805
|
};
|
|
3858
3806
|
};
|
|
3859
3807
|
output: {
|
|
3860
3808
|
error: string;
|
|
3861
3809
|
};
|
|
3862
3810
|
outputFormat: "json";
|
|
3863
|
-
status:
|
|
3811
|
+
status: 401;
|
|
3864
3812
|
} | {
|
|
3865
3813
|
input: {
|
|
3814
|
+
json: {
|
|
3815
|
+
title?: string | undefined;
|
|
3816
|
+
content?: string | undefined;
|
|
3817
|
+
};
|
|
3818
|
+
} & {
|
|
3866
3819
|
param: {
|
|
3867
|
-
|
|
3820
|
+
author: string;
|
|
3821
|
+
} & {
|
|
3822
|
+
slug: string;
|
|
3868
3823
|
};
|
|
3869
3824
|
};
|
|
3870
3825
|
output: {
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3826
|
+
error: string;
|
|
3827
|
+
};
|
|
3828
|
+
outputFormat: "json";
|
|
3829
|
+
status: 403;
|
|
3830
|
+
} | {
|
|
3831
|
+
input: {
|
|
3832
|
+
json: {
|
|
3833
|
+
title?: string | undefined;
|
|
3834
|
+
content?: string | undefined;
|
|
3835
|
+
};
|
|
3836
|
+
} & {
|
|
3837
|
+
param: {
|
|
3838
|
+
author: string;
|
|
3839
|
+
} & {
|
|
3840
|
+
slug: string;
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
|
+
output: {
|
|
3844
|
+
error: string;
|
|
3845
|
+
};
|
|
3846
|
+
outputFormat: "json";
|
|
3847
|
+
status: 404;
|
|
3848
|
+
} | {
|
|
3849
|
+
input: {
|
|
3850
|
+
json: {
|
|
3851
|
+
title?: string | undefined;
|
|
3852
|
+
content?: string | undefined;
|
|
3853
|
+
};
|
|
3854
|
+
} & {
|
|
3855
|
+
param: {
|
|
3856
|
+
author: string;
|
|
3857
|
+
} & {
|
|
3858
|
+
slug: string;
|
|
3859
|
+
};
|
|
3860
|
+
};
|
|
3861
|
+
output: {
|
|
3862
|
+
id: number;
|
|
3863
|
+
author_id: number;
|
|
3864
|
+
title: string;
|
|
3865
|
+
slug: string;
|
|
3866
|
+
content: string;
|
|
3867
|
+
created_at: string;
|
|
3868
|
+
updated_at: string;
|
|
3869
|
+
author_username: string;
|
|
3870
|
+
author_display_name: string | null;
|
|
3871
|
+
comment_count: number;
|
|
3872
|
+
reply_to?: {
|
|
3873
|
+
author_username: string;
|
|
3874
|
+
slug: string;
|
|
3875
|
+
title: string;
|
|
3876
|
+
} | null | undefined;
|
|
3877
|
+
reactions?: {
|
|
3878
|
+
emoji: string;
|
|
3879
|
+
count: number;
|
|
3880
|
+
usernames: string[];
|
|
3881
|
+
}[] | undefined;
|
|
3882
|
+
};
|
|
3883
|
+
outputFormat: "json";
|
|
3884
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3885
|
+
};
|
|
3886
|
+
};
|
|
3887
|
+
} & {
|
|
3888
|
+
"/:author/:slug": {
|
|
3889
|
+
$delete: {
|
|
3890
|
+
input: {
|
|
3891
|
+
param: {
|
|
3892
|
+
author: string;
|
|
3893
|
+
} & {
|
|
3894
|
+
slug: string;
|
|
3895
|
+
};
|
|
3896
|
+
};
|
|
3897
|
+
output: {
|
|
3898
|
+
error: string;
|
|
3899
|
+
};
|
|
3900
|
+
outputFormat: "json";
|
|
3901
|
+
status: 401;
|
|
3902
|
+
} | {
|
|
3903
|
+
input: {
|
|
3904
|
+
param: {
|
|
3905
|
+
author: string;
|
|
3906
|
+
} & {
|
|
3907
|
+
slug: string;
|
|
3908
|
+
};
|
|
3909
|
+
};
|
|
3910
|
+
output: {
|
|
3911
|
+
error: string;
|
|
3912
|
+
};
|
|
3913
|
+
outputFormat: "json";
|
|
3914
|
+
status: 404;
|
|
3915
|
+
} | {
|
|
3916
|
+
input: {
|
|
3917
|
+
param: {
|
|
3918
|
+
author: string;
|
|
3919
|
+
} & {
|
|
3920
|
+
slug: string;
|
|
3921
|
+
};
|
|
3922
|
+
};
|
|
3923
|
+
output: {
|
|
3924
|
+
ok: true;
|
|
3925
|
+
};
|
|
3926
|
+
outputFormat: "json";
|
|
3927
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3928
|
+
};
|
|
3929
|
+
};
|
|
3930
|
+
} & {
|
|
3931
|
+
"/:author/:slug/reactions": {
|
|
3932
|
+
$post: {
|
|
3933
|
+
input: {
|
|
3934
|
+
json: {
|
|
3935
|
+
emoji: string;
|
|
3936
|
+
};
|
|
3937
|
+
} & {
|
|
3938
|
+
param: {
|
|
3939
|
+
author: string;
|
|
3940
|
+
} & {
|
|
3941
|
+
slug: string;
|
|
3942
|
+
};
|
|
3943
|
+
};
|
|
3944
|
+
output: {
|
|
3945
|
+
error: string;
|
|
3946
|
+
};
|
|
3947
|
+
outputFormat: "json";
|
|
3948
|
+
status: 401;
|
|
3949
|
+
} | {
|
|
3950
|
+
input: {
|
|
3951
|
+
json: {
|
|
3952
|
+
emoji: string;
|
|
3953
|
+
};
|
|
3954
|
+
} & {
|
|
3955
|
+
param: {
|
|
3956
|
+
author: string;
|
|
3957
|
+
} & {
|
|
3958
|
+
slug: string;
|
|
3959
|
+
};
|
|
3960
|
+
};
|
|
3961
|
+
output: {
|
|
3962
|
+
error: string;
|
|
3963
|
+
};
|
|
3964
|
+
outputFormat: "json";
|
|
3965
|
+
status: 404;
|
|
3966
|
+
} | {
|
|
3967
|
+
input: {
|
|
3968
|
+
json: {
|
|
3969
|
+
emoji: string;
|
|
3970
|
+
};
|
|
3971
|
+
} & {
|
|
3972
|
+
param: {
|
|
3973
|
+
author: string;
|
|
3974
|
+
} & {
|
|
3975
|
+
slug: string;
|
|
3976
|
+
};
|
|
3977
|
+
};
|
|
3978
|
+
output: {
|
|
3979
|
+
reactions: {
|
|
3980
|
+
emoji: string;
|
|
3981
|
+
count: number;
|
|
3982
|
+
usernames: string[];
|
|
3983
|
+
}[];
|
|
3984
|
+
added: boolean;
|
|
3985
|
+
};
|
|
3986
|
+
outputFormat: "json";
|
|
3987
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
3988
|
+
};
|
|
3989
|
+
};
|
|
3990
|
+
} & {
|
|
3991
|
+
"/:author/:slug/comments": {
|
|
3992
|
+
$post: {
|
|
3993
|
+
input: {
|
|
3994
|
+
json: {
|
|
3995
|
+
content: string;
|
|
3996
|
+
};
|
|
3997
|
+
} & {
|
|
3998
|
+
param: {
|
|
3999
|
+
author: string;
|
|
4000
|
+
} & {
|
|
4001
|
+
slug: string;
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
output: {
|
|
4005
|
+
error: string;
|
|
4006
|
+
};
|
|
4007
|
+
outputFormat: "json";
|
|
4008
|
+
status: 401;
|
|
4009
|
+
} | {
|
|
4010
|
+
input: {
|
|
4011
|
+
json: {
|
|
4012
|
+
content: string;
|
|
4013
|
+
};
|
|
4014
|
+
} & {
|
|
4015
|
+
param: {
|
|
4016
|
+
author: string;
|
|
4017
|
+
} & {
|
|
4018
|
+
slug: string;
|
|
4019
|
+
};
|
|
4020
|
+
};
|
|
4021
|
+
output: {
|
|
4022
|
+
error: string;
|
|
4023
|
+
};
|
|
4024
|
+
outputFormat: "json";
|
|
4025
|
+
status: 404;
|
|
4026
|
+
} | {
|
|
4027
|
+
input: {
|
|
4028
|
+
json: {
|
|
4029
|
+
content: string;
|
|
4030
|
+
};
|
|
4031
|
+
} & {
|
|
4032
|
+
param: {
|
|
4033
|
+
author: string;
|
|
4034
|
+
} & {
|
|
4035
|
+
slug: string;
|
|
4036
|
+
};
|
|
4037
|
+
};
|
|
4038
|
+
output: {
|
|
4039
|
+
id: number;
|
|
4040
|
+
note_id: number;
|
|
4041
|
+
author_id: number;
|
|
4042
|
+
content: string;
|
|
4043
|
+
created_at: string;
|
|
4044
|
+
author_username: string;
|
|
4045
|
+
author_display_name: string | null;
|
|
4046
|
+
};
|
|
4047
|
+
outputFormat: "json";
|
|
4048
|
+
status: 201;
|
|
4049
|
+
};
|
|
4050
|
+
};
|
|
4051
|
+
} & {
|
|
4052
|
+
"/:author/:slug/comments/:id": {
|
|
4053
|
+
$delete: {
|
|
4054
|
+
input: {
|
|
4055
|
+
param: {
|
|
4056
|
+
id: string;
|
|
4057
|
+
} & {
|
|
4058
|
+
author: string;
|
|
4059
|
+
} & {
|
|
4060
|
+
slug: string;
|
|
4061
|
+
};
|
|
4062
|
+
};
|
|
4063
|
+
output: {
|
|
4064
|
+
error: string;
|
|
4065
|
+
};
|
|
4066
|
+
outputFormat: "json";
|
|
4067
|
+
status: 401;
|
|
4068
|
+
} | {
|
|
4069
|
+
input: {
|
|
4070
|
+
param: {
|
|
4071
|
+
id: string;
|
|
4072
|
+
} & {
|
|
4073
|
+
author: string;
|
|
4074
|
+
} & {
|
|
4075
|
+
slug: string;
|
|
4076
|
+
};
|
|
4077
|
+
};
|
|
4078
|
+
output: {
|
|
4079
|
+
error: string;
|
|
4080
|
+
};
|
|
4081
|
+
outputFormat: "json";
|
|
4082
|
+
status: 400;
|
|
4083
|
+
} | {
|
|
4084
|
+
input: {
|
|
4085
|
+
param: {
|
|
4086
|
+
id: string;
|
|
4087
|
+
} & {
|
|
4088
|
+
author: string;
|
|
4089
|
+
} & {
|
|
4090
|
+
slug: string;
|
|
4091
|
+
};
|
|
4092
|
+
};
|
|
4093
|
+
output: {
|
|
4094
|
+
error: string;
|
|
4095
|
+
};
|
|
4096
|
+
outputFormat: "json";
|
|
4097
|
+
status: 404;
|
|
4098
|
+
} | {
|
|
4099
|
+
input: {
|
|
4100
|
+
param: {
|
|
4101
|
+
id: string;
|
|
4102
|
+
} & {
|
|
4103
|
+
author: string;
|
|
4104
|
+
} & {
|
|
4105
|
+
slug: string;
|
|
4106
|
+
};
|
|
4107
|
+
};
|
|
4108
|
+
output: {
|
|
4109
|
+
ok: true;
|
|
4110
|
+
};
|
|
4111
|
+
outputFormat: "json";
|
|
4112
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4113
|
+
};
|
|
4114
|
+
};
|
|
4115
|
+
}, "/api/notes"> | hono_types.MergeSchemaPath<{
|
|
4116
|
+
"/": {
|
|
4117
|
+
$get: {
|
|
4118
|
+
input: {};
|
|
4119
|
+
output: {
|
|
4120
|
+
error: string;
|
|
4121
|
+
};
|
|
4122
|
+
outputFormat: "json";
|
|
4123
|
+
status: 500;
|
|
4124
|
+
} | {
|
|
4125
|
+
input: {};
|
|
4126
|
+
output: {
|
|
4127
|
+
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";
|
|
4128
|
+
content: string;
|
|
4129
|
+
description: string;
|
|
4130
|
+
variables: string[];
|
|
4131
|
+
isCustom: boolean;
|
|
4132
|
+
category: PromptCategory;
|
|
4133
|
+
}[];
|
|
4134
|
+
outputFormat: "json";
|
|
4135
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4136
|
+
};
|
|
4137
|
+
};
|
|
4138
|
+
} & {
|
|
4139
|
+
"/:key": {
|
|
4140
|
+
$put: {
|
|
4141
|
+
input: {
|
|
4142
|
+
json: {
|
|
4143
|
+
content: string;
|
|
4144
|
+
};
|
|
4145
|
+
} & {
|
|
4146
|
+
param: {
|
|
4147
|
+
key: string;
|
|
4148
|
+
};
|
|
4149
|
+
};
|
|
4150
|
+
output: {
|
|
4151
|
+
error: string;
|
|
4152
|
+
};
|
|
4153
|
+
outputFormat: "json";
|
|
4154
|
+
status: 404;
|
|
4155
|
+
} | {
|
|
4156
|
+
input: {
|
|
4157
|
+
json: {
|
|
4158
|
+
content: string;
|
|
4159
|
+
};
|
|
4160
|
+
} & {
|
|
4161
|
+
param: {
|
|
4162
|
+
key: string;
|
|
4163
|
+
};
|
|
4164
|
+
};
|
|
4165
|
+
output: {
|
|
4166
|
+
ok: true;
|
|
4167
|
+
};
|
|
4168
|
+
outputFormat: "json";
|
|
4169
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4170
|
+
};
|
|
4171
|
+
};
|
|
4172
|
+
} & {
|
|
4173
|
+
"/:key": {
|
|
4174
|
+
$delete: {
|
|
4175
|
+
input: {
|
|
4176
|
+
param: {
|
|
4177
|
+
key: string;
|
|
4178
|
+
};
|
|
4179
|
+
};
|
|
4180
|
+
output: {
|
|
4181
|
+
error: string;
|
|
4182
|
+
};
|
|
4183
|
+
outputFormat: "json";
|
|
4184
|
+
status: 404;
|
|
4185
|
+
} | {
|
|
4186
|
+
input: {
|
|
4187
|
+
param: {
|
|
4188
|
+
key: string;
|
|
4189
|
+
};
|
|
4190
|
+
};
|
|
4191
|
+
output: {
|
|
4192
|
+
ok: true;
|
|
4193
|
+
};
|
|
4194
|
+
outputFormat: "json";
|
|
4195
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
}, "/api/prompts"> | hono_types.MergeSchemaPath<{
|
|
4199
|
+
"/": {
|
|
4200
|
+
$get: {
|
|
4201
|
+
input: {};
|
|
4202
|
+
output: {
|
|
4203
|
+
id: string;
|
|
4204
|
+
name: string;
|
|
4205
|
+
description: string;
|
|
4206
|
+
author: string;
|
|
4207
|
+
version: number;
|
|
4208
|
+
created_at: string;
|
|
4209
|
+
updated_at: string;
|
|
4210
|
+
}[];
|
|
4211
|
+
outputFormat: "json";
|
|
4212
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4213
|
+
};
|
|
4214
|
+
};
|
|
4215
|
+
} & {
|
|
4216
|
+
"/:id": {
|
|
4217
|
+
$get: {
|
|
4218
|
+
input: {
|
|
4219
|
+
param: {
|
|
4220
|
+
id: string;
|
|
4221
|
+
};
|
|
4222
|
+
};
|
|
4223
|
+
output: {
|
|
4224
|
+
error: string;
|
|
4225
|
+
};
|
|
4226
|
+
outputFormat: "json";
|
|
4227
|
+
status: 404;
|
|
4228
|
+
} | {
|
|
4229
|
+
input: {
|
|
4230
|
+
param: {
|
|
4231
|
+
id: string;
|
|
4232
|
+
};
|
|
4233
|
+
};
|
|
4234
|
+
output: {
|
|
4235
|
+
files: string[];
|
|
4236
|
+
id: string;
|
|
4237
|
+
name: string;
|
|
3874
4238
|
description: string;
|
|
3875
4239
|
author: string;
|
|
3876
4240
|
version: number;
|
|
@@ -3948,7 +4312,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
3948
4312
|
participants: {
|
|
3949
4313
|
userId: number;
|
|
3950
4314
|
username: string;
|
|
3951
|
-
userType: "brain" | "mind";
|
|
4315
|
+
userType: "brain" | "mind" | "puppet";
|
|
3952
4316
|
role: "owner" | "member";
|
|
3953
4317
|
displayName?: string | null | undefined;
|
|
3954
4318
|
description?: string | null | undefined;
|
|
@@ -4205,7 +4569,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4205
4569
|
output: {
|
|
4206
4570
|
userId: number;
|
|
4207
4571
|
username: string;
|
|
4208
|
-
userType: "brain" | "mind";
|
|
4572
|
+
userType: "brain" | "mind" | "puppet";
|
|
4209
4573
|
role: "owner" | "member";
|
|
4210
4574
|
displayName?: string | null | undefined;
|
|
4211
4575
|
description?: string | null | undefined;
|
|
@@ -4329,6 +4693,308 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4329
4693
|
};
|
|
4330
4694
|
};
|
|
4331
4695
|
}, "/api/volute"> | hono_types.MergeSchemaPath<{
|
|
4696
|
+
"/:platform/inbound": {
|
|
4697
|
+
$post: {
|
|
4698
|
+
input: {
|
|
4699
|
+
json: {
|
|
4700
|
+
content: ({
|
|
4701
|
+
type: "text";
|
|
4702
|
+
text: string;
|
|
4703
|
+
} | {
|
|
4704
|
+
type: "image";
|
|
4705
|
+
media_type: string;
|
|
4706
|
+
data: string;
|
|
4707
|
+
})[];
|
|
4708
|
+
platformUserId: string;
|
|
4709
|
+
displayName: string;
|
|
4710
|
+
externalChannel: string;
|
|
4711
|
+
isDM: boolean;
|
|
4712
|
+
targetMind?: string | undefined;
|
|
4713
|
+
};
|
|
4714
|
+
} & {
|
|
4715
|
+
param: {
|
|
4716
|
+
platform: string;
|
|
4717
|
+
};
|
|
4718
|
+
};
|
|
4719
|
+
output: {
|
|
4720
|
+
error: string;
|
|
4721
|
+
};
|
|
4722
|
+
outputFormat: "json";
|
|
4723
|
+
status: 403;
|
|
4724
|
+
} | {
|
|
4725
|
+
input: {
|
|
4726
|
+
json: {
|
|
4727
|
+
content: ({
|
|
4728
|
+
type: "text";
|
|
4729
|
+
text: string;
|
|
4730
|
+
} | {
|
|
4731
|
+
type: "image";
|
|
4732
|
+
media_type: string;
|
|
4733
|
+
data: string;
|
|
4734
|
+
})[];
|
|
4735
|
+
platformUserId: string;
|
|
4736
|
+
displayName: string;
|
|
4737
|
+
externalChannel: string;
|
|
4738
|
+
isDM: boolean;
|
|
4739
|
+
targetMind?: string | undefined;
|
|
4740
|
+
};
|
|
4741
|
+
} & {
|
|
4742
|
+
param: {
|
|
4743
|
+
platform: string;
|
|
4744
|
+
};
|
|
4745
|
+
};
|
|
4746
|
+
output: {
|
|
4747
|
+
error: string;
|
|
4748
|
+
};
|
|
4749
|
+
outputFormat: "json";
|
|
4750
|
+
status: 400;
|
|
4751
|
+
} | {
|
|
4752
|
+
input: {
|
|
4753
|
+
json: {
|
|
4754
|
+
content: ({
|
|
4755
|
+
type: "text";
|
|
4756
|
+
text: string;
|
|
4757
|
+
} | {
|
|
4758
|
+
type: "image";
|
|
4759
|
+
media_type: string;
|
|
4760
|
+
data: string;
|
|
4761
|
+
})[];
|
|
4762
|
+
platformUserId: string;
|
|
4763
|
+
displayName: string;
|
|
4764
|
+
externalChannel: string;
|
|
4765
|
+
isDM: boolean;
|
|
4766
|
+
targetMind?: string | undefined;
|
|
4767
|
+
};
|
|
4768
|
+
} & {
|
|
4769
|
+
param: {
|
|
4770
|
+
platform: string;
|
|
4771
|
+
};
|
|
4772
|
+
};
|
|
4773
|
+
output: {
|
|
4774
|
+
error: string;
|
|
4775
|
+
};
|
|
4776
|
+
outputFormat: "json";
|
|
4777
|
+
status: 404;
|
|
4778
|
+
} | {
|
|
4779
|
+
input: {
|
|
4780
|
+
json: {
|
|
4781
|
+
content: ({
|
|
4782
|
+
type: "text";
|
|
4783
|
+
text: string;
|
|
4784
|
+
} | {
|
|
4785
|
+
type: "image";
|
|
4786
|
+
media_type: string;
|
|
4787
|
+
data: string;
|
|
4788
|
+
})[];
|
|
4789
|
+
platformUserId: string;
|
|
4790
|
+
displayName: string;
|
|
4791
|
+
externalChannel: string;
|
|
4792
|
+
isDM: boolean;
|
|
4793
|
+
targetMind?: string | undefined;
|
|
4794
|
+
};
|
|
4795
|
+
} & {
|
|
4796
|
+
param: {
|
|
4797
|
+
platform: string;
|
|
4798
|
+
};
|
|
4799
|
+
};
|
|
4800
|
+
output: {
|
|
4801
|
+
ok: true;
|
|
4802
|
+
conversationId: string;
|
|
4803
|
+
};
|
|
4804
|
+
outputFormat: "json";
|
|
4805
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4806
|
+
} | {
|
|
4807
|
+
input: {
|
|
4808
|
+
json: {
|
|
4809
|
+
content: ({
|
|
4810
|
+
type: "text";
|
|
4811
|
+
text: string;
|
|
4812
|
+
} | {
|
|
4813
|
+
type: "image";
|
|
4814
|
+
media_type: string;
|
|
4815
|
+
data: string;
|
|
4816
|
+
})[];
|
|
4817
|
+
platformUserId: string;
|
|
4818
|
+
displayName: string;
|
|
4819
|
+
externalChannel: string;
|
|
4820
|
+
isDM: boolean;
|
|
4821
|
+
targetMind?: string | undefined;
|
|
4822
|
+
};
|
|
4823
|
+
} & {
|
|
4824
|
+
param: {
|
|
4825
|
+
platform: string;
|
|
4826
|
+
};
|
|
4827
|
+
};
|
|
4828
|
+
output: {
|
|
4829
|
+
ok: true;
|
|
4830
|
+
unmapped: true;
|
|
4831
|
+
};
|
|
4832
|
+
outputFormat: "json";
|
|
4833
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4834
|
+
};
|
|
4835
|
+
};
|
|
4836
|
+
} & {
|
|
4837
|
+
"/": {
|
|
4838
|
+
$get: {
|
|
4839
|
+
input: {};
|
|
4840
|
+
output: {
|
|
4841
|
+
platform: string;
|
|
4842
|
+
displayName: string;
|
|
4843
|
+
enabled: boolean;
|
|
4844
|
+
running: boolean;
|
|
4845
|
+
defaultMind: string;
|
|
4846
|
+
channelMappings: {
|
|
4847
|
+
[x: string]: string;
|
|
4848
|
+
};
|
|
4849
|
+
}[];
|
|
4850
|
+
outputFormat: "json";
|
|
4851
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4852
|
+
};
|
|
4853
|
+
};
|
|
4854
|
+
} & {
|
|
4855
|
+
"/:platform": {
|
|
4856
|
+
$post: {
|
|
4857
|
+
input: {
|
|
4858
|
+
json: {
|
|
4859
|
+
defaultMind: string;
|
|
4860
|
+
};
|
|
4861
|
+
} & {
|
|
4862
|
+
param: {
|
|
4863
|
+
platform: string;
|
|
4864
|
+
};
|
|
4865
|
+
};
|
|
4866
|
+
output: {
|
|
4867
|
+
error: string;
|
|
4868
|
+
};
|
|
4869
|
+
outputFormat: "json";
|
|
4870
|
+
status: 400;
|
|
4871
|
+
} | {
|
|
4872
|
+
input: {
|
|
4873
|
+
json: {
|
|
4874
|
+
defaultMind: string;
|
|
4875
|
+
};
|
|
4876
|
+
} & {
|
|
4877
|
+
param: {
|
|
4878
|
+
platform: string;
|
|
4879
|
+
};
|
|
4880
|
+
};
|
|
4881
|
+
output: {
|
|
4882
|
+
error: string;
|
|
4883
|
+
};
|
|
4884
|
+
outputFormat: "json";
|
|
4885
|
+
status: 500;
|
|
4886
|
+
} | {
|
|
4887
|
+
input: {
|
|
4888
|
+
json: {
|
|
4889
|
+
defaultMind: string;
|
|
4890
|
+
};
|
|
4891
|
+
} & {
|
|
4892
|
+
param: {
|
|
4893
|
+
platform: string;
|
|
4894
|
+
};
|
|
4895
|
+
};
|
|
4896
|
+
output: {
|
|
4897
|
+
ok: true;
|
|
4898
|
+
};
|
|
4899
|
+
outputFormat: "json";
|
|
4900
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4901
|
+
};
|
|
4902
|
+
};
|
|
4903
|
+
} & {
|
|
4904
|
+
"/:platform": {
|
|
4905
|
+
$delete: {
|
|
4906
|
+
input: {
|
|
4907
|
+
param: {
|
|
4908
|
+
platform: string;
|
|
4909
|
+
};
|
|
4910
|
+
};
|
|
4911
|
+
output: {
|
|
4912
|
+
ok: true;
|
|
4913
|
+
};
|
|
4914
|
+
outputFormat: "json";
|
|
4915
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4916
|
+
};
|
|
4917
|
+
};
|
|
4918
|
+
} & {
|
|
4919
|
+
"/:platform/mappings": {
|
|
4920
|
+
$put: {
|
|
4921
|
+
input: {
|
|
4922
|
+
json: {
|
|
4923
|
+
externalChannel: string;
|
|
4924
|
+
voluteChannel: string;
|
|
4925
|
+
};
|
|
4926
|
+
} & {
|
|
4927
|
+
param: {
|
|
4928
|
+
platform: string;
|
|
4929
|
+
};
|
|
4930
|
+
};
|
|
4931
|
+
output: {
|
|
4932
|
+
ok: true;
|
|
4933
|
+
};
|
|
4934
|
+
outputFormat: "json";
|
|
4935
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4936
|
+
} | {
|
|
4937
|
+
input: {
|
|
4938
|
+
json: {
|
|
4939
|
+
externalChannel: string;
|
|
4940
|
+
voluteChannel: string;
|
|
4941
|
+
};
|
|
4942
|
+
} & {
|
|
4943
|
+
param: {
|
|
4944
|
+
platform: string;
|
|
4945
|
+
};
|
|
4946
|
+
};
|
|
4947
|
+
output: {
|
|
4948
|
+
error: string;
|
|
4949
|
+
};
|
|
4950
|
+
outputFormat: "json";
|
|
4951
|
+
status: 400;
|
|
4952
|
+
};
|
|
4953
|
+
};
|
|
4954
|
+
} & {
|
|
4955
|
+
"/:platform/mappings/:channel": {
|
|
4956
|
+
$delete: {
|
|
4957
|
+
input: {
|
|
4958
|
+
param: {
|
|
4959
|
+
platform: string;
|
|
4960
|
+
} & {
|
|
4961
|
+
channel: string;
|
|
4962
|
+
};
|
|
4963
|
+
};
|
|
4964
|
+
output: {
|
|
4965
|
+
ok: true;
|
|
4966
|
+
};
|
|
4967
|
+
outputFormat: "json";
|
|
4968
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4969
|
+
};
|
|
4970
|
+
};
|
|
4971
|
+
} & {
|
|
4972
|
+
"/:platform/mappings": {
|
|
4973
|
+
$get: {
|
|
4974
|
+
input: {
|
|
4975
|
+
param: {
|
|
4976
|
+
platform: string;
|
|
4977
|
+
};
|
|
4978
|
+
};
|
|
4979
|
+
output: {
|
|
4980
|
+
error: string;
|
|
4981
|
+
};
|
|
4982
|
+
outputFormat: "json";
|
|
4983
|
+
status: 404;
|
|
4984
|
+
} | {
|
|
4985
|
+
input: {
|
|
4986
|
+
param: {
|
|
4987
|
+
platform: string;
|
|
4988
|
+
};
|
|
4989
|
+
};
|
|
4990
|
+
output: {
|
|
4991
|
+
[x: string]: string;
|
|
4992
|
+
};
|
|
4993
|
+
outputFormat: "json";
|
|
4994
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
4995
|
+
};
|
|
4996
|
+
};
|
|
4997
|
+
}, "/api/bridges"> | hono_types.MergeSchemaPath<{
|
|
4332
4998
|
"/": {
|
|
4333
4999
|
$get: {
|
|
4334
5000
|
input: {};
|
|
@@ -4345,7 +5011,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4345
5011
|
participants: {
|
|
4346
5012
|
userId: number;
|
|
4347
5013
|
username: string;
|
|
4348
|
-
userType: "brain" | "mind";
|
|
5014
|
+
userType: "brain" | "mind" | "puppet";
|
|
4349
5015
|
role: "owner" | "member";
|
|
4350
5016
|
displayName?: string | null | undefined;
|
|
4351
5017
|
description?: string | null | undefined;
|
|
@@ -4433,7 +5099,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
|
|
|
4433
5099
|
output: {
|
|
4434
5100
|
userId: number;
|
|
4435
5101
|
username: string;
|
|
4436
|
-
userType: "brain" | "mind";
|
|
5102
|
+
userType: "brain" | "mind" | "puppet";
|
|
4437
5103
|
role: "owner" | "member";
|
|
4438
5104
|
displayName?: string | null | undefined;
|
|
4439
5105
|
description?: string | null | undefined;
|