volute 0.28.0 → 0.30.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.
Files changed (134) hide show
  1. package/README.md +127 -18
  2. package/dist/{accept-666DIZX2.js → accept-E3PAH3QJ.js} +2 -2
  3. package/dist/{activity-events-BBIEA2F4.js → activity-events-BKBPPUBP.js} +2 -2
  4. package/dist/ai-service-VAJT5UBS.js +29 -0
  5. package/dist/api.d.ts +586 -529
  6. package/dist/{archive-UA4BDFXQ.js → archive-WWDBWYN2.js} +2 -2
  7. package/dist/{bridge-FQHZL3MC.js → bridge-RO37CUFM.js} +2 -2
  8. package/dist/{chat-M4SX42JD.js → chat-TCUNPFGO.js} +8 -8
  9. package/dist/{chunk-IAYBDWVG.js → chunk-2C2VXEBB.js} +147 -2
  10. package/dist/chunk-2NDZC3S7.js +1330 -0
  11. package/dist/{chunk-IKRVFPWU.js → chunk-7D47T4RB.js} +3 -2
  12. package/dist/chunk-A6TUJJ3L.js +19 -0
  13. package/dist/{chunk-AW7PFDVN.js → chunk-CVH6Y2YG.js} +1 -1
  14. package/dist/{chunk-XBLSAVJF.js → chunk-DTC6EH5I.js} +1 -1
  15. package/dist/chunk-EFP3PE6C.js +232 -0
  16. package/dist/{chunk-JGFVMROS.js → chunk-EFVHR7KH.js} +1 -1
  17. package/dist/{chunk-K5NAC55T.js → chunk-FSM45XD5.js} +2 -2
  18. package/dist/{chunk-LAC664WU.js → chunk-FXHXHI2A.js} +42 -24
  19. package/dist/{chunk-RKQEHRBB.js → chunk-G3GBKZGG.js} +1 -1
  20. package/dist/{chunk-H7OZRFJB.js → chunk-HHTXM4JT.js} +0 -49
  21. package/dist/{chunk-J4IBNXGJ.js → chunk-IKHDUZRH.js} +4 -3
  22. package/dist/{chunk-MD4C26II.js → chunk-JGFRDMR6.js} +1 -1
  23. package/dist/{chunk-POSXWWTA.js → chunk-LIRWLNAK.js} +26 -12
  24. package/dist/{chunk-NI5FFCCS.js → chunk-MDPCSXZ4.js} +35 -11
  25. package/dist/chunk-NSBFETWP.js +188 -0
  26. package/dist/{chunk-VIVMW2H2.js → chunk-P27RV5WM.js} +1 -1
  27. package/dist/{chunk-EHYDTZTF.js → chunk-P7VFDSSG.js} +2 -2
  28. package/dist/{chunk-AAPXKR5V.js → chunk-QVAQ5454.js} +181 -544
  29. package/dist/{chunk-HDN7MNGD.js → chunk-S5LR3XYJ.js} +1 -1
  30. package/dist/{chunk-2YP2TVDT.js → chunk-UPA6COHU.js} +5 -5
  31. package/dist/{chunk-AKPFNL7L.js → chunk-VGWJSNHS.js} +1 -1
  32. package/dist/{chunk-SGVNFZHW.js → chunk-W5OOPLNP.js} +3 -3
  33. package/dist/{chunk-2WPW7OT6.js → chunk-ZWKTUQEL.js} +1 -1
  34. package/dist/cli.js +25 -26
  35. package/dist/clock-G3ALCMLJ.js +263 -0
  36. package/dist/{cloud-sync-HDL6PHZI.js → cloud-sync-JV4LJOK3.js} +14 -12
  37. package/dist/connectors/discord-bridge.js +1 -1
  38. package/dist/connectors/slack-bridge.js +1 -1
  39. package/dist/connectors/telegram-bridge.js +1 -1
  40. package/dist/{conversations-M2K4253F.js → conversations-7KVQV7EZ.js} +9 -3
  41. package/dist/create-JTLS7GX3.js +70 -0
  42. package/dist/{create-QWV73WXD.js → create-VQSQHJQW.js} +1 -1
  43. package/dist/{daemon-client-I42FK2BF.js → daemon-client-BCTFGVCZ.js} +2 -2
  44. package/dist/{daemon-restart-G4B2OYAB.js → daemon-restart-4JGBHEJ4.js} +7 -7
  45. package/dist/daemon.js +1474 -1124
  46. package/dist/{db-IC4J52XQ.js → db-HMFPIRO2.js} +1 -1
  47. package/dist/{delete-4JYGD4VN.js → delete-JESHKE7F.js} +1 -1
  48. package/dist/down-NGBMGORS.js +14 -0
  49. package/dist/{env-YJMUMFIY.js → env-CLXXT7M2.js} +2 -2
  50. package/dist/{export-BOJQWBMA.js → export-EGA5M5PB.js} +3 -3
  51. package/dist/extension-WZ4SUPJB.js +174 -0
  52. package/dist/extensions-ECO4RPFQ.js +27 -0
  53. package/dist/{files-M546TKVN.js → files-4VEJDASH.js} +3 -3
  54. package/dist/{history-ALPTNB3I.js → history-EJMMLXDO.js} +17 -2
  55. package/dist/{import-SRTQXBGH.js → import-YCGPMBSI.js} +3 -3
  56. package/dist/{join-J4QU42DL.js → join-2GBJKZEN.js} +1 -1
  57. package/dist/{list-R73GENNL.js → list-Q6O7FGAN.js} +2 -2
  58. package/dist/{login-3QZNR2DF.js → login-RET5WESK.js} +2 -2
  59. package/dist/{login-BKP3AFWN.js → login-RL6AU2SM.js} +3 -3
  60. package/dist/{logout-T53VKCPU.js → logout-CGAGJN3L.js} +2 -2
  61. package/dist/{logout-IQK7FNEK.js → logout-JRPBEMMR.js} +3 -3
  62. package/dist/message-delivery-6YMVNOEC.js +28 -0
  63. package/dist/{migrate-registry-to-db-XC7T5B7P.js → migrate-registry-to-db-FK35IPEH.js} +1 -1
  64. package/dist/{mind-S5V6CK5W.js → mind-LUWRQUQ5.js} +17 -17
  65. package/dist/{mind-activity-tracker-EN6XNXPF.js → mind-activity-tracker-VYN2ZZ2M.js} +3 -3
  66. package/dist/{mind-list-UPJ75GPI.js → mind-list-V5WW5DUA.js} +2 -2
  67. package/dist/{mind-manager-S6ILZVX3.js → mind-manager-YFCOIAAX.js} +6 -6
  68. package/dist/{mind-sleep-BTSWQNAC.js → mind-sleep-R6PTNNW4.js} +2 -2
  69. package/dist/{mind-status-TK5AETEM.js → mind-status-I4ISFJ6I.js} +2 -2
  70. package/dist/{mind-wake-SBAKIDVP.js → mind-wake-67ZQEWAV.js} +2 -2
  71. package/dist/{package-CG4RWUGP.js → package-S2OAA5ZA.js} +11 -5
  72. package/dist/pages-watcher-Z3PKNROC.js +21 -0
  73. package/dist/{read-36UFXN3G.js → read-WQMPTSN2.js} +2 -2
  74. package/dist/{register-CHREOMJ3.js → register-NZDSTLP3.js} +3 -3
  75. package/dist/{registry-NDNOOYG4.js → registry-ODSALQQL.js} +1 -1
  76. package/dist/{reject-LXIZFJ4Q.js → reject-2HZOJEIJ.js} +2 -2
  77. package/dist/{restart-6ESL3NBO.js → restart-QHS3NT64.js} +2 -2
  78. package/dist/{sandbox-5BW5HPXM.js → sandbox-O5FUSF43.js} +3 -3
  79. package/dist/{seed-SSUCYYDF.js → seed-WUQMPLDM.js} +1 -1
  80. package/dist/{send-TAOEZ4NH.js → send-OAN3RYYY.js} +20 -6
  81. package/dist/{setup-JHL5ZEST.js → setup-QMDK5RZX.js} +2 -2
  82. package/dist/{setup-RXYVGGT7.js → setup-XJH3E7YM.js} +45 -14
  83. package/dist/{skill-AUAQTSP5.js → skill-FZIN4W4Q.js} +65 -3
  84. package/dist/skills/dreaming/references/INSTALL.md +3 -17
  85. package/dist/skills/volute-mind/SKILL.md +45 -27
  86. package/dist/sleep-manager-O7YQFCV5.js +30 -0
  87. package/dist/{split-TKJ5OT3P.js → split-EXYGGGQN.js} +1 -1
  88. package/dist/{sprout-UNT7LKKE.js → sprout-AXQ6H5DB.js} +8 -7
  89. package/dist/{start-EUJSS5R4.js → start-MTOVL6SY.js} +2 -2
  90. package/dist/{status-NQJYR4BG.js → status-ZRO37MWR.js} +5 -5
  91. package/dist/{stop-3XAITBBF.js → stop-OK5WEPVC.js} +2 -2
  92. package/dist/{systems-SMEFSHTA.js → systems-W3BBMSOZ.js} +5 -5
  93. package/dist/{tailscale-NY5MUMY3.js → tailscale-BM72RXCJ.js} +1 -1
  94. package/dist/{template-hash-BIMA4ILT.js → template-hash-3HOR4UAJ.js} +1 -1
  95. package/dist/up-BXUAIDXB.js +17 -0
  96. package/dist/{update-PTSH22AZ.js → update-PLPHMMZ2.js} +5 -5
  97. package/dist/{update-check-64FWC4Y2.js → update-check-CVCN7MF6.js} +2 -2
  98. package/dist/{upgrade-HA47CS4C.js → upgrade-I6NPCYUU.js} +1 -1
  99. package/dist/{version-notify-JDUF4HQJ.js → version-notify-2NTWVEHL.js} +18 -16
  100. package/dist/web-assets/assets/index--kREqKl9.js +72 -0
  101. package/dist/web-assets/assets/index-BXYTG0nJ.css +1 -0
  102. package/dist/web-assets/ext-theme.css +111 -0
  103. package/dist/web-assets/index.html +2 -2
  104. package/package.json +11 -5
  105. package/packages/extensions/notes/dist/ui/assets/index-DgawVO5g.css +1 -0
  106. package/packages/extensions/notes/dist/ui/assets/index-qUWoeC4c.js +2 -0
  107. package/packages/extensions/notes/dist/ui/index.html +14 -0
  108. package/packages/extensions/notes/skills/notes/SKILL.md +62 -0
  109. package/packages/extensions/notes/skills/notes/scripts/notes.mjs +185 -0
  110. package/packages/extensions/pages/dist/ui/assets/index-D0HyS-xQ.css +1 -0
  111. package/packages/extensions/pages/dist/ui/assets/index-tLTROSk5.js +2 -0
  112. package/packages/extensions/pages/dist/ui/index.html +14 -0
  113. package/packages/extensions/pages/skills/pages/SKILL.md +58 -0
  114. package/templates/_base/home/VOLUTE.md +1 -1
  115. package/templates/_base/src/lib/logger.ts +10 -49
  116. package/templates/_base/src/lib/router.ts +1 -9
  117. package/templates/claude/src/lib/stream-consumer.ts +1 -4
  118. package/templates/pi/src/lib/event-handler.ts +1 -14
  119. package/dist/chunk-P72MVS4R.js +0 -188
  120. package/dist/chunk-T6HKBWXZ.js +0 -23
  121. package/dist/chunk-ZYGKG6VC.js +0 -22
  122. package/dist/create-D7J73A6H.js +0 -45
  123. package/dist/down-LVBXEULC.js +0 -14
  124. package/dist/message-delivery-HV3S6HZV.js +0 -24
  125. package/dist/notes-XCER3I7M.js +0 -220
  126. package/dist/pages-KJDJX4TA.js +0 -36
  127. package/dist/publish-ZZB33WP4.js +0 -86
  128. package/dist/schedule-QTJMFATP.js +0 -154
  129. package/dist/skills/notes/SKILL.md +0 -34
  130. package/dist/sleep-manager-WMVG2VCL.js +0 -28
  131. package/dist/status-S7UUPNRW.js +0 -38
  132. package/dist/up-GM2JOH2Y.js +0 -17
  133. package/dist/web-assets/assets/index-BZGvToHi.css +0 -1
  134. package/dist/web-assets/assets/index-Cz4TrpzB.js +0 -75
package/dist/api.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as hono_hono_base from 'hono/hono-base';
2
+ import * as _mariozechner_pi_ai from '@mariozechner/pi-ai';
2
3
  import * as hono_utils_types from 'hono/utils/types';
3
4
  import * as hono_utils_http_status from 'hono/utils/http-status';
4
5
  import * as hono_types from 'hono/types';
@@ -144,11 +145,9 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
144
145
  filename: string;
145
146
  };
146
147
  };
147
- output: {
148
- error: string;
149
- };
150
- outputFormat: "json";
151
- status: 400;
148
+ output: NonSharedBuffer;
149
+ outputFormat: "body";
150
+ status: 200;
152
151
  } | {
153
152
  input: {
154
153
  param: {
@@ -159,16 +158,18 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
159
158
  error: string;
160
159
  };
161
160
  outputFormat: "json";
162
- status: 404;
161
+ status: 400;
163
162
  } | {
164
163
  input: {
165
164
  param: {
166
165
  filename: string;
167
166
  };
168
167
  };
169
- output: NonSharedBuffer;
170
- outputFormat: "body";
171
- status: 200;
168
+ output: {
169
+ error: string;
170
+ };
171
+ outputFormat: "json";
172
+ status: 404;
172
173
  };
173
174
  };
174
175
  }) | hono_types.MergeSchemaPath<{
@@ -704,6 +705,202 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
704
705
  status: 502;
705
706
  };
706
707
  };
708
+ } & {
709
+ "/ai/providers": {
710
+ $get: {
711
+ input: {};
712
+ output: {
713
+ id: _mariozechner_pi_ai.KnownProvider;
714
+ oauth: boolean;
715
+ oauthName: string | undefined;
716
+ usesCallbackServer: boolean;
717
+ configured: boolean;
718
+ authMethod: string | null;
719
+ }[];
720
+ outputFormat: "json";
721
+ status: hono_utils_http_status.ContentfulStatusCode;
722
+ };
723
+ };
724
+ } & {
725
+ "/ai/models": {
726
+ $get: {
727
+ input: {};
728
+ output: {
729
+ id: string;
730
+ name: string;
731
+ provider: string;
732
+ contextWindow: number;
733
+ maxTokens: number;
734
+ enabled: boolean;
735
+ }[];
736
+ outputFormat: "json";
737
+ status: hono_utils_http_status.ContentfulStatusCode;
738
+ };
739
+ };
740
+ } & {
741
+ "/ai/models": {
742
+ $put: {
743
+ input: {
744
+ json: {
745
+ models: string[];
746
+ };
747
+ };
748
+ output: {
749
+ ok: true;
750
+ };
751
+ outputFormat: "json";
752
+ status: hono_utils_http_status.ContentfulStatusCode;
753
+ };
754
+ };
755
+ } & {
756
+ "/ai/providers/:id": {
757
+ $put: {
758
+ input: {
759
+ json: {
760
+ apiKey: string;
761
+ };
762
+ } & {
763
+ param: {
764
+ id: string;
765
+ };
766
+ };
767
+ output: {
768
+ ok: true;
769
+ };
770
+ outputFormat: "json";
771
+ status: hono_utils_http_status.ContentfulStatusCode;
772
+ };
773
+ };
774
+ } & {
775
+ "/ai/providers/:id": {
776
+ $delete: {
777
+ input: {
778
+ param: {
779
+ id: string;
780
+ };
781
+ };
782
+ output: {
783
+ ok: true;
784
+ };
785
+ outputFormat: "json";
786
+ status: hono_utils_http_status.ContentfulStatusCode;
787
+ };
788
+ };
789
+ } & {
790
+ "/ai": {
791
+ $delete: {
792
+ input: {};
793
+ output: {
794
+ ok: true;
795
+ };
796
+ outputFormat: "json";
797
+ status: hono_utils_http_status.ContentfulStatusCode;
798
+ };
799
+ };
800
+ } & {
801
+ "/ai/oauth/start": {
802
+ $post: {
803
+ input: {
804
+ json: {
805
+ provider: string;
806
+ };
807
+ };
808
+ output: {
809
+ error: string;
810
+ };
811
+ outputFormat: "json";
812
+ status: 400;
813
+ } | {
814
+ input: {
815
+ json: {
816
+ provider: string;
817
+ };
818
+ };
819
+ output: {
820
+ flowId: `${string}-${string}-${string}-${string}-${string}`;
821
+ url: string | undefined;
822
+ instructions: string | undefined;
823
+ needsManualCode: boolean;
824
+ };
825
+ outputFormat: "json";
826
+ status: hono_utils_http_status.ContentfulStatusCode;
827
+ };
828
+ };
829
+ } & {
830
+ "/ai/oauth/code/:flowId": {
831
+ $post: {
832
+ input: {
833
+ json: {
834
+ code: string;
835
+ };
836
+ } & {
837
+ param: {
838
+ flowId: string;
839
+ };
840
+ };
841
+ output: {
842
+ error: string;
843
+ };
844
+ outputFormat: "json";
845
+ status: 404;
846
+ } | {
847
+ input: {
848
+ json: {
849
+ code: string;
850
+ };
851
+ } & {
852
+ param: {
853
+ flowId: string;
854
+ };
855
+ };
856
+ output: {
857
+ error: string;
858
+ };
859
+ outputFormat: "json";
860
+ status: 400;
861
+ } | {
862
+ input: {
863
+ json: {
864
+ code: string;
865
+ };
866
+ } & {
867
+ param: {
868
+ flowId: string;
869
+ };
870
+ };
871
+ output: {
872
+ ok: true;
873
+ };
874
+ outputFormat: "json";
875
+ status: hono_utils_http_status.ContentfulStatusCode;
876
+ };
877
+ };
878
+ } & {
879
+ "/ai/oauth/status/:flowId": {
880
+ $get: {
881
+ input: {
882
+ param: {
883
+ flowId: string;
884
+ };
885
+ };
886
+ output: {
887
+ error: string;
888
+ };
889
+ outputFormat: "json";
890
+ status: 404;
891
+ } | {
892
+ input: {
893
+ param: {
894
+ flowId: string;
895
+ };
896
+ };
897
+ output: {
898
+ [x: string]: hono_utils_types.JSONValue;
899
+ };
900
+ outputFormat: "json";
901
+ status: hono_utils_http_status.ContentfulStatusCode;
902
+ };
903
+ };
707
904
  }, "/api/system"> | hono_types.MergeSchemaPath<{
708
905
  "/update": {
709
906
  $get: {
@@ -1450,7 +1647,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1450
1647
  };
1451
1648
  };
1452
1649
  } & {
1453
- "/:name/budget": {
1650
+ "/:name/conversations": {
1454
1651
  $get: {
1455
1652
  input: {
1456
1653
  param: {
@@ -1469,23 +1666,43 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1469
1666
  };
1470
1667
  };
1471
1668
  output: {
1472
- tokensUsed: number;
1473
- tokenLimit: number;
1474
- periodMinutes: number;
1475
- periodStart: number;
1476
- queueLength: number;
1477
- percentUsed: number;
1478
- };
1669
+ id: string;
1670
+ mind_name: string | null;
1671
+ channel: string;
1672
+ type: "dm" | "channel";
1673
+ name: string | null;
1674
+ user_id: number | null;
1675
+ title: string | null;
1676
+ created_at: string;
1677
+ updated_at: string;
1678
+ participants: {
1679
+ userId: number;
1680
+ username: string;
1681
+ userType: "brain" | "mind" | "puppet";
1682
+ role: "owner" | "member";
1683
+ displayName?: string | null | undefined;
1684
+ description?: string | null | undefined;
1685
+ avatar?: string | null | undefined;
1686
+ }[];
1687
+ lastMessage?: {
1688
+ role: "user" | "assistant";
1689
+ senderName: string | null;
1690
+ text: string;
1691
+ createdAt: string;
1692
+ } | undefined;
1693
+ }[];
1479
1694
  outputFormat: "json";
1480
1695
  status: hono_utils_http_status.ContentfulStatusCode;
1481
1696
  };
1482
1697
  };
1483
1698
  } & {
1484
- "/:name/config": {
1699
+ "/:name/conversations/:convId/messages": {
1485
1700
  $get: {
1486
1701
  input: {
1487
1702
  param: {
1488
1703
  name: string;
1704
+ } & {
1705
+ convId: string;
1489
1706
  };
1490
1707
  };
1491
1708
  output: {
@@ -1497,53 +1714,148 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1497
1714
  input: {
1498
1715
  param: {
1499
1716
  name: string;
1717
+ } & {
1718
+ convId: string;
1500
1719
  };
1501
1720
  };
1502
1721
  output: {
1503
- registry: {
1504
- name: string;
1505
- port: number;
1506
- created: string;
1507
- stage: "seed" | "sprouted" | undefined;
1508
- template: string | undefined;
1509
- };
1510
- config: {
1511
- model: string | null;
1512
- thinkingLevel: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | null;
1513
- tokenBudget: number | null;
1514
- tokenBudgetPeriodMinutes: number | null;
1515
- };
1722
+ error: string;
1516
1723
  };
1517
1724
  outputFormat: "json";
1518
- status: hono_utils_http_status.ContentfulStatusCode;
1519
- };
1520
- };
1521
- } & {
1522
- "/:name/config": {
1523
- $put: {
1725
+ status: 400;
1726
+ } | {
1524
1727
  input: {
1525
- json: {
1526
- model?: string | undefined;
1527
- thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1528
- tokenBudget?: number | null | undefined;
1529
- tokenBudgetPeriodMinutes?: number | null | undefined;
1530
- };
1531
- } & {
1532
1728
  param: {
1533
1729
  name: string;
1730
+ } & {
1731
+ convId: string;
1534
1732
  };
1535
1733
  };
1536
1734
  output: {
1537
- error: string;
1538
- };
1539
- outputFormat: "json";
1540
- status: 404;
1541
- } | {
1542
- input: {
1543
- json: {
1544
- model?: string | undefined;
1545
- thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1546
- tokenBudget?: number | null | undefined;
1735
+ items: {
1736
+ id: number;
1737
+ conversation_id: string;
1738
+ role: "user" | "assistant";
1739
+ sender_name: string | null;
1740
+ content: ({
1741
+ type: "text";
1742
+ text: string;
1743
+ } | {
1744
+ type: "tool_use";
1745
+ name: string;
1746
+ input: hono_utils_types.JSONValue;
1747
+ } | {
1748
+ type: "tool_result";
1749
+ output: string;
1750
+ is_error?: boolean | undefined;
1751
+ } | {
1752
+ type: "image";
1753
+ media_type: string;
1754
+ data: string;
1755
+ })[];
1756
+ created_at: string;
1757
+ }[];
1758
+ hasMore: boolean;
1759
+ };
1760
+ outputFormat: "json";
1761
+ status: hono_utils_http_status.ContentfulStatusCode;
1762
+ };
1763
+ };
1764
+ } & {
1765
+ "/:name/budget": {
1766
+ $get: {
1767
+ input: {
1768
+ param: {
1769
+ name: string;
1770
+ };
1771
+ };
1772
+ output: {
1773
+ error: string;
1774
+ };
1775
+ outputFormat: "json";
1776
+ status: 404;
1777
+ } | {
1778
+ input: {
1779
+ param: {
1780
+ name: string;
1781
+ };
1782
+ };
1783
+ output: {
1784
+ tokensUsed: number;
1785
+ tokenLimit: number;
1786
+ periodMinutes: number;
1787
+ periodStart: number;
1788
+ queueLength: number;
1789
+ percentUsed: number;
1790
+ };
1791
+ outputFormat: "json";
1792
+ status: hono_utils_http_status.ContentfulStatusCode;
1793
+ };
1794
+ };
1795
+ } & {
1796
+ "/:name/config": {
1797
+ $get: {
1798
+ input: {
1799
+ param: {
1800
+ name: string;
1801
+ };
1802
+ };
1803
+ output: {
1804
+ error: string;
1805
+ };
1806
+ outputFormat: "json";
1807
+ status: 404;
1808
+ } | {
1809
+ input: {
1810
+ param: {
1811
+ name: string;
1812
+ };
1813
+ };
1814
+ output: {
1815
+ registry: {
1816
+ name: string;
1817
+ port: number;
1818
+ created: string;
1819
+ stage: "seed" | "sprouted" | undefined;
1820
+ template: string | undefined;
1821
+ };
1822
+ config: {
1823
+ model: string | null;
1824
+ thinkingLevel: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | null;
1825
+ tokenBudget: number | null;
1826
+ tokenBudgetPeriodMinutes: number | null;
1827
+ };
1828
+ };
1829
+ outputFormat: "json";
1830
+ status: hono_utils_http_status.ContentfulStatusCode;
1831
+ };
1832
+ };
1833
+ } & {
1834
+ "/:name/config": {
1835
+ $put: {
1836
+ input: {
1837
+ json: {
1838
+ model?: string | undefined;
1839
+ thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1840
+ tokenBudget?: number | null | undefined;
1841
+ tokenBudgetPeriodMinutes?: number | null | undefined;
1842
+ };
1843
+ } & {
1844
+ param: {
1845
+ name: string;
1846
+ };
1847
+ };
1848
+ output: {
1849
+ error: string;
1850
+ };
1851
+ outputFormat: "json";
1852
+ status: 404;
1853
+ } | {
1854
+ input: {
1855
+ json: {
1856
+ model?: string | undefined;
1857
+ thinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1858
+ tokenBudget?: number | null | undefined;
1547
1859
  tokenBudgetPeriodMinutes?: number | null | undefined;
1548
1860
  };
1549
1861
  } & {
@@ -1588,6 +1900,54 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1588
1900
  status: 500;
1589
1901
  };
1590
1902
  };
1903
+ } & {
1904
+ "/:name/ai/complete": {
1905
+ $post: {
1906
+ input: {
1907
+ param: {
1908
+ name: string;
1909
+ };
1910
+ };
1911
+ output: {
1912
+ error: string;
1913
+ };
1914
+ outputFormat: "json";
1915
+ status: 400;
1916
+ } | {
1917
+ input: {
1918
+ param: {
1919
+ name: string;
1920
+ };
1921
+ };
1922
+ output: {
1923
+ error: string;
1924
+ };
1925
+ outputFormat: "json";
1926
+ status: 503;
1927
+ } | {
1928
+ input: {
1929
+ param: {
1930
+ name: string;
1931
+ };
1932
+ };
1933
+ output: {
1934
+ error: string;
1935
+ };
1936
+ outputFormat: "json";
1937
+ status: 502;
1938
+ } | {
1939
+ input: {
1940
+ param: {
1941
+ name: string;
1942
+ };
1943
+ };
1944
+ output: {
1945
+ text: string;
1946
+ };
1947
+ outputFormat: "json";
1948
+ status: hono_utils_http_status.ContentfulStatusCode;
1949
+ };
1950
+ };
1591
1951
  } & {
1592
1952
  "/:name/events": {
1593
1953
  $post: {
@@ -1876,6 +2236,72 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1876
2236
  };
1877
2237
  };
1878
2238
  }, "/api/minds"> | hono_types.MergeSchemaPath<{
2239
+ "/:name/clock/status": {
2240
+ $get: {
2241
+ input: {
2242
+ param: {
2243
+ name: string;
2244
+ };
2245
+ };
2246
+ output: {
2247
+ error: string;
2248
+ };
2249
+ outputFormat: "json";
2250
+ status: 404;
2251
+ } | {
2252
+ input: {
2253
+ param: {
2254
+ name: string;
2255
+ };
2256
+ };
2257
+ output: {
2258
+ sleep: {
2259
+ sleeping: boolean;
2260
+ sleepingSince: string | null;
2261
+ scheduledWakeAt: string | null;
2262
+ wokenByTrigger: boolean;
2263
+ voluntaryWakeAt: string | null;
2264
+ queuedMessageCount: number;
2265
+ triggerWakeHistory: {
2266
+ channel: string;
2267
+ at: string;
2268
+ }[];
2269
+ } | null;
2270
+ sleepConfig: {
2271
+ enabled?: boolean | undefined;
2272
+ schedule?: {
2273
+ sleep: string;
2274
+ wake: string;
2275
+ } | undefined;
2276
+ wakeTriggers?: {
2277
+ mentions?: boolean | undefined;
2278
+ dms?: boolean | undefined;
2279
+ channels?: string[] | undefined;
2280
+ senders?: string[] | undefined;
2281
+ } | undefined;
2282
+ } | null;
2283
+ schedules: {
2284
+ id: string;
2285
+ cron?: string | undefined;
2286
+ fireAt?: string | undefined;
2287
+ message?: string | undefined;
2288
+ script?: string | undefined;
2289
+ enabled: boolean;
2290
+ whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
2291
+ skipWhenSleeping?: boolean | undefined;
2292
+ channel?: string | undefined;
2293
+ }[];
2294
+ upcoming: {
2295
+ id: string;
2296
+ at: string;
2297
+ type: "cron" | "timer";
2298
+ }[];
2299
+ };
2300
+ outputFormat: "json";
2301
+ status: hono_utils_http_status.ContentfulStatusCode;
2302
+ };
2303
+ };
2304
+ } & {
1879
2305
  "/:name/schedules": {
1880
2306
  $get: {
1881
2307
  input: {
@@ -1896,10 +2322,12 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1896
2322
  };
1897
2323
  output: {
1898
2324
  id: string;
1899
- cron: string;
2325
+ cron?: string | undefined;
2326
+ fireAt?: string | undefined;
1900
2327
  message?: string | undefined;
1901
2328
  script?: string | undefined;
1902
2329
  enabled: boolean;
2330
+ whileSleeping?: "skip" | "queue" | "trigger-wake" | undefined;
1903
2331
  skipWhenSleeping?: boolean | undefined;
1904
2332
  channel?: string | undefined;
1905
2333
  }[];
@@ -3381,7 +3809,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3381
3809
  id: string;
3382
3810
  mind_name: string | null;
3383
3811
  channel: string;
3384
- type: "dm" | "group" | "channel";
3812
+ type: "dm" | "channel";
3385
3813
  name: string | null;
3386
3814
  user_id: number | null;
3387
3815
  title: string | null;
@@ -3427,7 +3855,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3427
3855
  id: string;
3428
3856
  mind_name: string | null;
3429
3857
  channel: string;
3430
- type: "dm" | "group" | "channel";
3858
+ type: "dm" | "channel";
3431
3859
  name: string | null;
3432
3860
  user_id: number | null;
3433
3861
  title: string | null;
@@ -3622,52 +4050,34 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3622
4050
  $get: {
3623
4051
  input: {};
3624
4052
  output: {
3625
- id: number;
3626
- author_id: number;
3627
- title: string;
3628
- slug: string;
4053
+ error: string;
4054
+ };
4055
+ outputFormat: "json";
4056
+ status: 500;
4057
+ } | {
4058
+ input: {};
4059
+ output: {
4060
+ 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";
3629
4061
  content: string;
3630
- created_at: string;
3631
- updated_at: string;
3632
- author_username: string;
3633
- author_display_name: string | null;
3634
- comment_count: number;
3635
- reply_to?: {
3636
- author_username: string;
3637
- slug: string;
3638
- title: string;
3639
- } | null | undefined;
3640
- reactions?: {
3641
- emoji: string;
3642
- count: number;
3643
- usernames: string[];
3644
- }[] | undefined;
4062
+ description: string;
4063
+ variables: string[];
4064
+ isCustom: boolean;
4065
+ category: PromptCategory;
3645
4066
  }[];
3646
4067
  outputFormat: "json";
3647
4068
  status: hono_utils_http_status.ContentfulStatusCode;
3648
4069
  };
3649
4070
  };
3650
4071
  } & {
3651
- "/": {
3652
- $post: {
4072
+ "/:key": {
4073
+ $put: {
3653
4074
  input: {
3654
4075
  json: {
3655
- title: string;
3656
4076
  content: string;
3657
- reply_to?: string | undefined;
3658
4077
  };
3659
- };
3660
- output: {
3661
- error: string;
3662
- };
3663
- outputFormat: "json";
3664
- status: 401;
3665
- } | {
3666
- input: {
3667
- json: {
3668
- title: string;
3669
- content: string;
3670
- reply_to?: string | undefined;
4078
+ } & {
4079
+ param: {
4080
+ key: string;
3671
4081
  };
3672
4082
  };
3673
4083
  output: {
@@ -3678,45 +4088,26 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3678
4088
  } | {
3679
4089
  input: {
3680
4090
  json: {
3681
- title: string;
3682
4091
  content: string;
3683
- reply_to?: string | undefined;
4092
+ };
4093
+ } & {
4094
+ param: {
4095
+ key: string;
3684
4096
  };
3685
4097
  };
3686
4098
  output: {
3687
- id: number;
3688
- author_id: number;
3689
- title: string;
3690
- slug: string;
3691
- content: string;
3692
- created_at: string;
3693
- updated_at: string;
3694
- author_username: string;
3695
- author_display_name: string | null;
3696
- comment_count: number;
3697
- reply_to?: {
3698
- author_username: string;
3699
- slug: string;
3700
- title: string;
3701
- } | null | undefined;
3702
- reactions?: {
3703
- emoji: string;
3704
- count: number;
3705
- usernames: string[];
3706
- }[] | undefined;
4099
+ ok: true;
3707
4100
  };
3708
4101
  outputFormat: "json";
3709
- status: 201;
4102
+ status: hono_utils_http_status.ContentfulStatusCode;
3710
4103
  };
3711
4104
  };
3712
4105
  } & {
3713
- "/:author/:slug": {
3714
- $get: {
4106
+ "/:key": {
4107
+ $delete: {
3715
4108
  input: {
3716
4109
  param: {
3717
- author: string;
3718
- } & {
3719
- slug: string;
4110
+ key: string;
3720
4111
  };
3721
4112
  };
3722
4113
  output: {
@@ -3727,438 +4118,93 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3727
4118
  } | {
3728
4119
  input: {
3729
4120
  param: {
3730
- author: string;
3731
- } & {
3732
- slug: string;
4121
+ key: string;
3733
4122
  };
3734
4123
  };
3735
4124
  output: {
3736
- id: number;
3737
- author_id: number;
3738
- title: string;
3739
- slug: string;
3740
- content: string;
3741
- created_at: string;
3742
- updated_at: string;
3743
- author_username: string;
3744
- author_display_name: string | null;
3745
- comment_count: number;
3746
- reply_to?: {
3747
- author_username: string;
3748
- slug: string;
3749
- title: string;
3750
- } | null | undefined;
3751
- reactions?: {
3752
- emoji: string;
3753
- count: number;
3754
- usernames: string[];
3755
- }[] | undefined;
3756
- comments: {
3757
- id: number;
3758
- note_id: number;
3759
- author_id: number;
3760
- content: string;
3761
- created_at: string;
3762
- author_username: string;
3763
- author_display_name: string | null;
3764
- }[];
3765
- replies: {
3766
- author_username: string;
3767
- slug: string;
3768
- title: string;
3769
- created_at: string;
3770
- }[];
4125
+ ok: true;
3771
4126
  };
3772
4127
  outputFormat: "json";
3773
4128
  status: hono_utils_http_status.ContentfulStatusCode;
3774
4129
  };
3775
4130
  };
3776
- } & {
3777
- "/:author/:slug": {
3778
- $put: {
3779
- input: {
3780
- json: {
3781
- title?: string | undefined;
3782
- content?: string | undefined;
3783
- };
3784
- } & {
3785
- param: {
3786
- author: string;
3787
- } & {
3788
- slug: string;
3789
- };
3790
- };
3791
- output: {
3792
- error: string;
3793
- };
3794
- outputFormat: "json";
3795
- status: 401;
3796
- } | {
3797
- input: {
3798
- json: {
3799
- title?: string | undefined;
3800
- content?: string | undefined;
3801
- };
3802
- } & {
3803
- param: {
3804
- author: string;
3805
- } & {
3806
- slug: string;
3807
- };
3808
- };
3809
- output: {
3810
- error: string;
3811
- };
3812
- outputFormat: "json";
3813
- status: 403;
3814
- } | {
3815
- input: {
3816
- json: {
3817
- title?: string | undefined;
3818
- content?: string | undefined;
3819
- };
3820
- } & {
3821
- param: {
3822
- author: string;
3823
- } & {
3824
- slug: string;
3825
- };
3826
- };
3827
- output: {
3828
- error: string;
3829
- };
3830
- outputFormat: "json";
3831
- status: 404;
3832
- } | {
3833
- input: {
3834
- json: {
3835
- title?: string | undefined;
3836
- content?: string | undefined;
3837
- };
3838
- } & {
3839
- param: {
3840
- author: string;
3841
- } & {
3842
- slug: string;
3843
- };
3844
- };
4131
+ }, "/api/prompts"> | hono_types.MergeSchemaPath<{
4132
+ "/": {
4133
+ $get: {
4134
+ input: {};
3845
4135
  output: {
3846
- id: number;
3847
- author_id: number;
3848
- title: string;
3849
- slug: string;
3850
- content: string;
4136
+ id: string;
4137
+ name: string;
4138
+ description: string;
4139
+ author: string;
4140
+ version: number;
3851
4141
  created_at: string;
3852
4142
  updated_at: string;
3853
- author_username: string;
3854
- author_display_name: string | null;
3855
- comment_count: number;
3856
- reply_to?: {
3857
- author_username: string;
3858
- slug: string;
3859
- title: string;
3860
- } | null | undefined;
3861
- reactions?: {
3862
- emoji: string;
3863
- count: number;
3864
- usernames: string[];
3865
- }[] | undefined;
3866
- };
4143
+ }[];
3867
4144
  outputFormat: "json";
3868
4145
  status: hono_utils_http_status.ContentfulStatusCode;
3869
4146
  };
3870
4147
  };
3871
4148
  } & {
3872
- "/:author/:slug": {
3873
- $delete: {
3874
- input: {
3875
- param: {
3876
- author: string;
3877
- } & {
3878
- slug: string;
3879
- };
3880
- };
3881
- output: {
3882
- error: string;
3883
- };
3884
- outputFormat: "json";
3885
- status: 401;
3886
- } | {
3887
- input: {
3888
- param: {
3889
- author: string;
3890
- } & {
3891
- slug: string;
3892
- };
3893
- };
3894
- output: {
3895
- error: string;
3896
- };
3897
- outputFormat: "json";
3898
- status: 404;
3899
- } | {
3900
- input: {
3901
- param: {
3902
- author: string;
3903
- } & {
3904
- slug: string;
3905
- };
3906
- };
4149
+ "/defaults/list": {
4150
+ $get: {
4151
+ input: {};
3907
4152
  output: {
3908
- ok: true;
4153
+ skills: string[];
3909
4154
  };
3910
4155
  outputFormat: "json";
3911
4156
  status: hono_utils_http_status.ContentfulStatusCode;
3912
4157
  };
3913
4158
  };
3914
4159
  } & {
3915
- "/:author/:slug/reactions": {
3916
- $post: {
3917
- input: {
3918
- json: {
3919
- emoji: string;
3920
- };
3921
- } & {
3922
- param: {
3923
- author: string;
3924
- } & {
3925
- slug: string;
3926
- };
3927
- };
3928
- output: {
3929
- error: string;
3930
- };
3931
- outputFormat: "json";
3932
- status: 401;
3933
- } | {
3934
- input: {
3935
- json: {
3936
- emoji: string;
3937
- };
3938
- } & {
3939
- param: {
3940
- author: string;
3941
- } & {
3942
- slug: string;
3943
- };
3944
- };
4160
+ "/defaults/list": {
4161
+ $put: {
4162
+ input: {};
3945
4163
  output: {
3946
4164
  error: string;
3947
4165
  };
3948
4166
  outputFormat: "json";
3949
- status: 404;
4167
+ status: 400;
3950
4168
  } | {
3951
- input: {
3952
- json: {
3953
- emoji: string;
3954
- };
3955
- } & {
3956
- param: {
3957
- author: string;
3958
- } & {
3959
- slug: string;
3960
- };
3961
- };
4169
+ input: {};
3962
4170
  output: {
3963
- reactions: {
3964
- emoji: string;
3965
- count: number;
3966
- usernames: string[];
3967
- }[];
3968
- added: boolean;
4171
+ skills: string[];
3969
4172
  };
3970
4173
  outputFormat: "json";
3971
4174
  status: hono_utils_http_status.ContentfulStatusCode;
3972
4175
  };
3973
4176
  };
3974
4177
  } & {
3975
- "/:author/:slug/comments": {
4178
+ "/defaults/list": {
3976
4179
  $post: {
3977
- input: {
3978
- json: {
3979
- content: string;
3980
- };
3981
- } & {
3982
- param: {
3983
- author: string;
3984
- } & {
3985
- slug: string;
3986
- };
3987
- };
3988
- output: {
3989
- error: string;
3990
- };
3991
- outputFormat: "json";
3992
- status: 401;
3993
- } | {
3994
- input: {
3995
- json: {
3996
- content: string;
3997
- };
3998
- } & {
3999
- param: {
4000
- author: string;
4001
- } & {
4002
- slug: string;
4003
- };
4004
- };
4005
- output: {
4006
- error: string;
4007
- };
4008
- outputFormat: "json";
4009
- status: 404;
4010
- } | {
4011
- input: {
4012
- json: {
4013
- content: string;
4014
- };
4015
- } & {
4016
- param: {
4017
- author: string;
4018
- } & {
4019
- slug: string;
4020
- };
4021
- };
4022
- output: {
4023
- id: number;
4024
- note_id: number;
4025
- author_id: number;
4026
- content: string;
4027
- created_at: string;
4028
- author_username: string;
4029
- author_display_name: string | null;
4030
- };
4031
- outputFormat: "json";
4032
- status: 201;
4033
- };
4034
- };
4035
- } & {
4036
- "/:author/:slug/comments/:id": {
4037
- $delete: {
4038
- input: {
4039
- param: {
4040
- id: string;
4041
- } & {
4042
- author: string;
4043
- } & {
4044
- slug: string;
4045
- };
4046
- };
4047
- output: {
4048
- error: string;
4049
- };
4050
- outputFormat: "json";
4051
- status: 401;
4052
- } | {
4053
- input: {
4054
- param: {
4055
- id: string;
4056
- } & {
4057
- author: string;
4058
- } & {
4059
- slug: string;
4060
- };
4061
- };
4180
+ input: {};
4062
4181
  output: {
4063
4182
  error: string;
4064
4183
  };
4065
4184
  outputFormat: "json";
4066
4185
  status: 400;
4067
4186
  } | {
4068
- input: {
4069
- param: {
4070
- id: string;
4071
- } & {
4072
- author: string;
4073
- } & {
4074
- slug: string;
4075
- };
4076
- };
4077
- output: {
4078
- error: string;
4079
- };
4080
- outputFormat: "json";
4081
- status: 404;
4082
- } | {
4083
- input: {
4084
- param: {
4085
- id: string;
4086
- } & {
4087
- author: string;
4088
- } & {
4089
- slug: string;
4090
- };
4091
- };
4092
- output: {
4093
- ok: true;
4094
- };
4095
- outputFormat: "json";
4096
- status: hono_utils_http_status.ContentfulStatusCode;
4097
- };
4098
- };
4099
- }, "/api/notes"> | hono_types.MergeSchemaPath<{
4100
- "/": {
4101
- $get: {
4102
4187
  input: {};
4103
4188
  output: {
4104
4189
  error: string;
4105
4190
  };
4106
4191
  outputFormat: "json";
4107
- status: 500;
4192
+ status: 409;
4108
4193
  } | {
4109
4194
  input: {};
4110
4195
  output: {
4111
- 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";
4112
- content: string;
4113
- description: string;
4114
- variables: string[];
4115
- isCustom: boolean;
4116
- category: PromptCategory;
4117
- }[];
4118
- outputFormat: "json";
4119
- status: hono_utils_http_status.ContentfulStatusCode;
4120
- };
4121
- };
4122
- } & {
4123
- "/:key": {
4124
- $put: {
4125
- input: {
4126
- json: {
4127
- content: string;
4128
- };
4129
- } & {
4130
- param: {
4131
- key: string;
4132
- };
4133
- };
4134
- output: {
4135
- error: string;
4136
- };
4137
- outputFormat: "json";
4138
- status: 404;
4139
- } | {
4140
- input: {
4141
- json: {
4142
- content: string;
4143
- };
4144
- } & {
4145
- param: {
4146
- key: string;
4147
- };
4148
- };
4149
- output: {
4150
- ok: true;
4196
+ skills: string[];
4151
4197
  };
4152
4198
  outputFormat: "json";
4153
4199
  status: hono_utils_http_status.ContentfulStatusCode;
4154
4200
  };
4155
4201
  };
4156
4202
  } & {
4157
- "/:key": {
4203
+ "/defaults/list/:skill": {
4158
4204
  $delete: {
4159
4205
  input: {
4160
4206
  param: {
4161
- key: string;
4207
+ skill: string;
4162
4208
  };
4163
4209
  };
4164
4210
  output: {
@@ -4169,19 +4215,19 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4169
4215
  } | {
4170
4216
  input: {
4171
4217
  param: {
4172
- key: string;
4218
+ skill: string;
4173
4219
  };
4174
4220
  };
4175
4221
  output: {
4176
- ok: true;
4222
+ skills: string[];
4177
4223
  };
4178
4224
  outputFormat: "json";
4179
4225
  status: hono_utils_http_status.ContentfulStatusCode;
4180
4226
  };
4181
4227
  };
4182
- }, "/api/prompts"> | hono_types.MergeSchemaPath<{
4183
- "/": {
4184
- $get: {
4228
+ } & {
4229
+ "/upload": {
4230
+ $post: {
4185
4231
  input: {};
4186
4232
  output: {
4187
4233
  id: string;
@@ -4191,9 +4237,16 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4191
4237
  version: number;
4192
4238
  created_at: string;
4193
4239
  updated_at: string;
4194
- }[];
4240
+ };
4195
4241
  outputFormat: "json";
4196
4242
  status: hono_utils_http_status.ContentfulStatusCode;
4243
+ } | {
4244
+ input: {};
4245
+ output: {
4246
+ error: string;
4247
+ };
4248
+ outputFormat: "json";
4249
+ status: 400;
4197
4250
  };
4198
4251
  };
4199
4252
  } & {
@@ -4229,30 +4282,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4229
4282
  status: hono_utils_http_status.ContentfulStatusCode;
4230
4283
  };
4231
4284
  };
4232
- } & {
4233
- "/upload": {
4234
- $post: {
4235
- input: {};
4236
- output: {
4237
- id: string;
4238
- name: string;
4239
- description: string;
4240
- author: string;
4241
- version: number;
4242
- created_at: string;
4243
- updated_at: string;
4244
- };
4245
- outputFormat: "json";
4246
- status: hono_utils_http_status.ContentfulStatusCode;
4247
- } | {
4248
- input: {};
4249
- output: {
4250
- error: string;
4251
- };
4252
- outputFormat: "json";
4253
- status: 400;
4254
- };
4255
- };
4256
4285
  } & {
4257
4286
  "/:id": {
4258
4287
  $delete: {
@@ -4287,7 +4316,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4287
4316
  id: string;
4288
4317
  mind_name: string | null;
4289
4318
  channel: string;
4290
- type: "dm" | "group" | "channel";
4319
+ type: "dm" | "channel";
4291
4320
  name: string | null;
4292
4321
  user_id: number | null;
4293
4322
  title: string | null;
@@ -4372,7 +4401,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4372
4401
  id: string;
4373
4402
  mind_name: string | null;
4374
4403
  channel: string;
4375
- type: "dm" | "group" | "channel";
4404
+ type: "dm" | "channel";
4376
4405
  name: string | null;
4377
4406
  user_id: number | null;
4378
4407
  title: string | null;
@@ -4444,7 +4473,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4444
4473
  id: string;
4445
4474
  mind_name: string | null;
4446
4475
  channel: string;
4447
- type: "dm" | "group" | "channel";
4476
+ type: "dm" | "channel";
4448
4477
  name: string | null;
4449
4478
  user_id: number | null;
4450
4479
  title: string | null;
@@ -4467,7 +4496,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4467
4496
  id: string;
4468
4497
  mind_name: string | null;
4469
4498
  channel: string;
4470
- type: "dm" | "group" | "channel";
4499
+ type: "dm" | "channel";
4471
4500
  name: string | null;
4472
4501
  user_id: number | null;
4473
4502
  title: string | null;
@@ -5011,6 +5040,34 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5011
5040
  };
5012
5041
  };
5013
5042
  }, "/api/bridges"> | hono_types.MergeSchemaPath<{
5043
+ "/": {
5044
+ $get: {
5045
+ input: {};
5046
+ output: {
5047
+ id: string;
5048
+ name: string;
5049
+ version: string;
5050
+ description?: string | undefined;
5051
+ systemSection?: {
5052
+ id: string;
5053
+ label: string;
5054
+ urlPatterns?: string[] | undefined;
5055
+ } | undefined;
5056
+ mindSections?: {
5057
+ id: string;
5058
+ label: string;
5059
+ defaultPath?: string | undefined;
5060
+ }[] | undefined;
5061
+ feedSource?: {
5062
+ endpoint: string;
5063
+ kind?: string | undefined;
5064
+ } | undefined;
5065
+ }[];
5066
+ outputFormat: "json";
5067
+ status: hono_utils_http_status.ContentfulStatusCode;
5068
+ };
5069
+ };
5070
+ }, "/api/extensions"> | hono_types.MergeSchemaPath<{
5014
5071
  "/": {
5015
5072
  $get: {
5016
5073
  input: {};
@@ -5018,7 +5075,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5018
5075
  id: string;
5019
5076
  mind_name: string | null;
5020
5077
  channel: string;
5021
- type: "dm" | "group" | "channel";
5078
+ type: "dm" | "channel";
5022
5079
  name: string | null;
5023
5080
  user_id: number | null;
5024
5081
  title: string | null;
@@ -5149,7 +5206,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5149
5206
  id: string;
5150
5207
  mind_name: string | null;
5151
5208
  channel: string;
5152
- type: "dm" | "group" | "channel";
5209
+ type: "dm" | "channel";
5153
5210
  name: string | null;
5154
5211
  user_id: number | null;
5155
5212
  title: string | null;