volute 0.29.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 (122) hide show
  1. package/README.md +112 -13
  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 +351 -477
  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-KTPOR2JT.js → chat-TCUNPFGO.js} +8 -8
  9. package/dist/{chunk-FLZGS4QH.js → chunk-2C2VXEBB.js} +2 -2
  10. package/dist/chunk-2NDZC3S7.js +1330 -0
  11. package/dist/{chunk-IKRVFPWU.js → chunk-7D47T4RB.js} +3 -2
  12. package/dist/{chunk-AW7PFDVN.js → chunk-CVH6Y2YG.js} +1 -1
  13. package/dist/{chunk-XBLSAVJF.js → chunk-DTC6EH5I.js} +1 -1
  14. package/dist/{chunk-THUUIU3E.js → chunk-EFP3PE6C.js} +5 -5
  15. package/dist/{chunk-JGFVMROS.js → chunk-EFVHR7KH.js} +1 -1
  16. package/dist/{chunk-CQ7SNKNI.js → chunk-FSM45XD5.js} +1 -1
  17. package/dist/{chunk-LAC664WU.js → chunk-FXHXHI2A.js} +42 -24
  18. package/dist/{chunk-RKQEHRBB.js → chunk-G3GBKZGG.js} +1 -1
  19. package/dist/{chunk-H7OZRFJB.js → chunk-HHTXM4JT.js} +0 -49
  20. package/dist/{chunk-J4IBNXGJ.js → chunk-IKHDUZRH.js} +4 -3
  21. package/dist/{chunk-MD4C26II.js → chunk-JGFRDMR6.js} +1 -1
  22. package/dist/{chunk-EHZKEMMV.js → chunk-LIRWLNAK.js} +24 -10
  23. package/dist/{chunk-NI5FFCCS.js → chunk-MDPCSXZ4.js} +35 -11
  24. package/dist/chunk-NSBFETWP.js +188 -0
  25. package/dist/{chunk-VIVMW2H2.js → chunk-P27RV5WM.js} +1 -1
  26. package/dist/{chunk-EHYDTZTF.js → chunk-P7VFDSSG.js} +2 -2
  27. package/dist/{chunk-CMILSHZD.js → chunk-QVAQ5454.js} +84 -300
  28. package/dist/{chunk-HDN7MNGD.js → chunk-S5LR3XYJ.js} +1 -1
  29. package/dist/{chunk-2YP2TVDT.js → chunk-UPA6COHU.js} +5 -5
  30. package/dist/{chunk-AKPFNL7L.js → chunk-VGWJSNHS.js} +1 -1
  31. package/dist/{chunk-DUAUMCEE.js → chunk-W5OOPLNP.js} +3 -3
  32. package/dist/{chunk-2WPW7OT6.js → chunk-ZWKTUQEL.js} +1 -1
  33. package/dist/cli.js +22 -26
  34. package/dist/{clock-DGCBVGYA.js → clock-G3ALCMLJ.js} +10 -6
  35. package/dist/{cloud-sync-KILFGV5Q.js → cloud-sync-JV4LJOK3.js} +13 -12
  36. package/dist/{conversations-P5BL7RMX.js → conversations-7KVQV7EZ.js} +3 -3
  37. package/dist/{create-DFCAGEE5.js → create-JTLS7GX3.js} +2 -2
  38. package/dist/{create-QWV73WXD.js → create-VQSQHJQW.js} +1 -1
  39. package/dist/{daemon-client-I42FK2BF.js → daemon-client-BCTFGVCZ.js} +2 -2
  40. package/dist/{daemon-restart-UHOMICXT.js → daemon-restart-4JGBHEJ4.js} +7 -7
  41. package/dist/daemon.js +1257 -1022
  42. package/dist/{db-IC4J52XQ.js → db-HMFPIRO2.js} +1 -1
  43. package/dist/{delete-4JYGD4VN.js → delete-JESHKE7F.js} +1 -1
  44. package/dist/down-NGBMGORS.js +14 -0
  45. package/dist/{env-YJMUMFIY.js → env-CLXXT7M2.js} +2 -2
  46. package/dist/{export-BOJQWBMA.js → export-EGA5M5PB.js} +3 -3
  47. package/dist/extension-WZ4SUPJB.js +174 -0
  48. package/dist/extensions-ECO4RPFQ.js +27 -0
  49. package/dist/{files-M546TKVN.js → files-4VEJDASH.js} +3 -3
  50. package/dist/{history-ALPTNB3I.js → history-EJMMLXDO.js} +17 -2
  51. package/dist/{import-SRTQXBGH.js → import-YCGPMBSI.js} +3 -3
  52. package/dist/{join-J4QU42DL.js → join-2GBJKZEN.js} +1 -1
  53. package/dist/{list-R73GENNL.js → list-Q6O7FGAN.js} +2 -2
  54. package/dist/{login-3QZNR2DF.js → login-RET5WESK.js} +2 -2
  55. package/dist/{login-BKP3AFWN.js → login-RL6AU2SM.js} +3 -3
  56. package/dist/{logout-T53VKCPU.js → logout-CGAGJN3L.js} +2 -2
  57. package/dist/{logout-IQK7FNEK.js → logout-JRPBEMMR.js} +3 -3
  58. package/dist/message-delivery-6YMVNOEC.js +28 -0
  59. package/dist/{migrate-registry-to-db-XC7T5B7P.js → migrate-registry-to-db-FK35IPEH.js} +1 -1
  60. package/dist/{mind-S5V6CK5W.js → mind-LUWRQUQ5.js} +17 -17
  61. package/dist/{mind-activity-tracker-WRHFI3YW.js → mind-activity-tracker-VYN2ZZ2M.js} +3 -3
  62. package/dist/{mind-list-UPJ75GPI.js → mind-list-V5WW5DUA.js} +2 -2
  63. package/dist/{mind-manager-P66HQDNE.js → mind-manager-YFCOIAAX.js} +6 -6
  64. package/dist/{mind-sleep-BTSWQNAC.js → mind-sleep-R6PTNNW4.js} +2 -2
  65. package/dist/{mind-status-TK5AETEM.js → mind-status-I4ISFJ6I.js} +2 -2
  66. package/dist/{mind-wake-SBAKIDVP.js → mind-wake-67ZQEWAV.js} +2 -2
  67. package/dist/{package-OFKXNKJF.js → package-S2OAA5ZA.js} +11 -5
  68. package/dist/{pages-watcher-P7QECRE2.js → pages-watcher-Z3PKNROC.js} +3 -3
  69. package/dist/{read-36UFXN3G.js → read-WQMPTSN2.js} +2 -2
  70. package/dist/{register-CHREOMJ3.js → register-NZDSTLP3.js} +3 -3
  71. package/dist/{registry-NDNOOYG4.js → registry-ODSALQQL.js} +1 -1
  72. package/dist/{reject-LXIZFJ4Q.js → reject-2HZOJEIJ.js} +2 -2
  73. package/dist/{restart-6ESL3NBO.js → restart-QHS3NT64.js} +2 -2
  74. package/dist/{sandbox-5BW5HPXM.js → sandbox-O5FUSF43.js} +3 -3
  75. package/dist/{seed-SSUCYYDF.js → seed-WUQMPLDM.js} +1 -1
  76. package/dist/{send-TAOEZ4NH.js → send-OAN3RYYY.js} +20 -6
  77. package/dist/{setup-JHL5ZEST.js → setup-QMDK5RZX.js} +2 -2
  78. package/dist/{setup-RXYVGGT7.js → setup-XJH3E7YM.js} +45 -14
  79. package/dist/{skill-AUAQTSP5.js → skill-FZIN4W4Q.js} +65 -3
  80. package/dist/skills/volute-mind/SKILL.md +10 -19
  81. package/dist/sleep-manager-O7YQFCV5.js +30 -0
  82. package/dist/{split-TKJ5OT3P.js → split-EXYGGGQN.js} +1 -1
  83. package/dist/{sprout-UNT7LKKE.js → sprout-AXQ6H5DB.js} +8 -7
  84. package/dist/{start-EUJSS5R4.js → start-MTOVL6SY.js} +2 -2
  85. package/dist/{status-NQJYR4BG.js → status-ZRO37MWR.js} +5 -5
  86. package/dist/{stop-3XAITBBF.js → stop-OK5WEPVC.js} +2 -2
  87. package/dist/{systems-SMEFSHTA.js → systems-W3BBMSOZ.js} +5 -5
  88. package/dist/{tailscale-NY5MUMY3.js → tailscale-BM72RXCJ.js} +1 -1
  89. package/dist/{template-hash-BIMA4ILT.js → template-hash-3HOR4UAJ.js} +1 -1
  90. package/dist/up-BXUAIDXB.js +17 -0
  91. package/dist/{update-PTSH22AZ.js → update-PLPHMMZ2.js} +5 -5
  92. package/dist/{update-check-64FWC4Y2.js → update-check-CVCN7MF6.js} +2 -2
  93. package/dist/{upgrade-HA47CS4C.js → upgrade-I6NPCYUU.js} +1 -1
  94. package/dist/{version-notify-WDHRO3XD.js → version-notify-2NTWVEHL.js} +15 -14
  95. package/dist/web-assets/assets/index--kREqKl9.js +72 -0
  96. package/dist/web-assets/assets/index-BXYTG0nJ.css +1 -0
  97. package/dist/web-assets/ext-theme.css +111 -0
  98. package/dist/web-assets/index.html +2 -2
  99. package/package.json +11 -5
  100. package/packages/extensions/notes/dist/ui/assets/index-DgawVO5g.css +1 -0
  101. package/packages/extensions/notes/dist/ui/assets/index-qUWoeC4c.js +2 -0
  102. package/packages/extensions/notes/dist/ui/index.html +14 -0
  103. package/packages/extensions/notes/skills/notes/SKILL.md +62 -0
  104. package/packages/extensions/notes/skills/notes/scripts/notes.mjs +185 -0
  105. package/packages/extensions/pages/dist/ui/assets/index-D0HyS-xQ.css +1 -0
  106. package/packages/extensions/pages/dist/ui/assets/index-tLTROSk5.js +2 -0
  107. package/packages/extensions/pages/dist/ui/index.html +14 -0
  108. package/packages/extensions/pages/skills/pages/SKILL.md +58 -0
  109. package/templates/_base/home/VOLUTE.md +1 -1
  110. package/dist/chunk-P72MVS4R.js +0 -188
  111. package/dist/chunk-ZYGKG6VC.js +0 -22
  112. package/dist/down-LVBXEULC.js +0 -14
  113. package/dist/message-delivery-Q7VUMIEI.js +0 -27
  114. package/dist/notes-XCER3I7M.js +0 -220
  115. package/dist/pages-EUJR52AH.js +0 -36
  116. package/dist/publish-ZZB33WP4.js +0 -86
  117. package/dist/skills/notes/SKILL.md +0 -34
  118. package/dist/sleep-manager-G4B5GW5P.js +0 -29
  119. package/dist/status-S7UUPNRW.js +0 -38
  120. package/dist/up-W6VAK2XE.js +0 -17
  121. package/dist/web-assets/assets/index-BmKDnWDB.css +0 -1
  122. package/dist/web-assets/assets/index-CLJMx-GA.js +0 -71
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: {
@@ -1703,6 +1900,54 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1703
1900
  status: 500;
1704
1901
  };
1705
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
+ };
1706
1951
  } & {
1707
1952
  "/:name/events": {
1708
1953
  $post: {
@@ -3805,101 +4050,64 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3805
4050
  $get: {
3806
4051
  input: {};
3807
4052
  output: {
3808
- id: number;
3809
- author_id: number;
3810
- title: string;
3811
- 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";
3812
4061
  content: string;
3813
- created_at: string;
3814
- updated_at: string;
3815
- author_username: string;
3816
- author_display_name: string | null;
3817
- comment_count: number;
3818
- reply_to?: {
3819
- author_username: string;
3820
- slug: string;
3821
- title: string;
3822
- } | null | undefined;
3823
- reactions?: {
3824
- emoji: string;
3825
- count: number;
3826
- usernames: string[];
3827
- }[] | undefined;
4062
+ description: string;
4063
+ variables: string[];
4064
+ isCustom: boolean;
4065
+ category: PromptCategory;
3828
4066
  }[];
3829
4067
  outputFormat: "json";
3830
4068
  status: hono_utils_http_status.ContentfulStatusCode;
3831
4069
  };
3832
4070
  };
3833
4071
  } & {
3834
- "/": {
3835
- $post: {
4072
+ "/:key": {
4073
+ $put: {
3836
4074
  input: {
3837
4075
  json: {
3838
- title: string;
3839
4076
  content: string;
3840
- reply_to?: string | undefined;
4077
+ };
4078
+ } & {
4079
+ param: {
4080
+ key: string;
3841
4081
  };
3842
4082
  };
3843
4083
  output: {
3844
4084
  error: string;
3845
4085
  };
3846
4086
  outputFormat: "json";
3847
- status: 401;
4087
+ status: 404;
3848
4088
  } | {
3849
4089
  input: {
3850
4090
  json: {
3851
- title: string;
3852
4091
  content: string;
3853
- reply_to?: string | undefined;
4092
+ };
4093
+ } & {
4094
+ param: {
4095
+ key: string;
3854
4096
  };
3855
4097
  };
3856
4098
  output: {
3857
- error: string;
3858
- };
3859
- outputFormat: "json";
3860
- status: 404;
3861
- } | {
3862
- input: {
3863
- json: {
3864
- title: string;
3865
- content: string;
3866
- reply_to?: string | undefined;
3867
- };
3868
- };
3869
- output: {
3870
- id: number;
3871
- author_id: number;
3872
- title: string;
3873
- slug: string;
3874
- content: string;
3875
- created_at: string;
3876
- updated_at: string;
3877
- author_username: string;
3878
- author_display_name: string | null;
3879
- comment_count: number;
3880
- reply_to?: {
3881
- author_username: string;
3882
- slug: string;
3883
- title: string;
3884
- } | null | undefined;
3885
- reactions?: {
3886
- emoji: string;
3887
- count: number;
3888
- usernames: string[];
3889
- }[] | undefined;
4099
+ ok: true;
3890
4100
  };
3891
4101
  outputFormat: "json";
3892
- status: 201;
4102
+ status: hono_utils_http_status.ContentfulStatusCode;
3893
4103
  };
3894
4104
  };
3895
4105
  } & {
3896
- "/:author/:slug": {
3897
- $get: {
4106
+ "/:key": {
4107
+ $delete: {
3898
4108
  input: {
3899
4109
  param: {
3900
- author: string;
3901
- } & {
3902
- slug: string;
4110
+ key: string;
3903
4111
  };
3904
4112
  };
3905
4113
  output: {
@@ -3910,438 +4118,93 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3910
4118
  } | {
3911
4119
  input: {
3912
4120
  param: {
3913
- author: string;
3914
- } & {
3915
- slug: string;
4121
+ key: string;
3916
4122
  };
3917
4123
  };
3918
4124
  output: {
3919
- id: number;
3920
- author_id: number;
3921
- title: string;
3922
- slug: string;
3923
- content: string;
3924
- created_at: string;
3925
- updated_at: string;
3926
- author_username: string;
3927
- author_display_name: string | null;
3928
- comment_count: number;
3929
- reply_to?: {
3930
- author_username: string;
3931
- slug: string;
3932
- title: string;
3933
- } | null | undefined;
3934
- reactions?: {
3935
- emoji: string;
3936
- count: number;
3937
- usernames: string[];
3938
- }[] | undefined;
3939
- comments: {
3940
- id: number;
3941
- note_id: number;
3942
- author_id: number;
3943
- content: string;
3944
- created_at: string;
3945
- author_username: string;
3946
- author_display_name: string | null;
3947
- }[];
3948
- replies: {
3949
- author_username: string;
3950
- slug: string;
3951
- title: string;
3952
- created_at: string;
3953
- }[];
4125
+ ok: true;
3954
4126
  };
3955
4127
  outputFormat: "json";
3956
4128
  status: hono_utils_http_status.ContentfulStatusCode;
3957
4129
  };
3958
4130
  };
3959
- } & {
3960
- "/:author/:slug": {
3961
- $put: {
3962
- input: {
3963
- json: {
3964
- title?: string | undefined;
3965
- content?: string | undefined;
3966
- };
3967
- } & {
3968
- param: {
3969
- author: string;
3970
- } & {
3971
- slug: string;
3972
- };
3973
- };
3974
- output: {
3975
- error: string;
3976
- };
3977
- outputFormat: "json";
3978
- status: 401;
3979
- } | {
3980
- input: {
3981
- json: {
3982
- title?: string | undefined;
3983
- content?: string | undefined;
3984
- };
3985
- } & {
3986
- param: {
3987
- author: string;
3988
- } & {
3989
- slug: string;
3990
- };
3991
- };
3992
- output: {
3993
- error: string;
3994
- };
3995
- outputFormat: "json";
3996
- status: 403;
3997
- } | {
3998
- input: {
3999
- json: {
4000
- title?: string | undefined;
4001
- content?: string | undefined;
4002
- };
4003
- } & {
4004
- param: {
4005
- author: string;
4006
- } & {
4007
- slug: string;
4008
- };
4009
- };
4010
- output: {
4011
- error: string;
4012
- };
4013
- outputFormat: "json";
4014
- status: 404;
4015
- } | {
4016
- input: {
4017
- json: {
4018
- title?: string | undefined;
4019
- content?: string | undefined;
4020
- };
4021
- } & {
4022
- param: {
4023
- author: string;
4024
- } & {
4025
- slug: string;
4026
- };
4027
- };
4131
+ }, "/api/prompts"> | hono_types.MergeSchemaPath<{
4132
+ "/": {
4133
+ $get: {
4134
+ input: {};
4028
4135
  output: {
4029
- id: number;
4030
- author_id: number;
4031
- title: string;
4032
- slug: string;
4033
- content: string;
4136
+ id: string;
4137
+ name: string;
4138
+ description: string;
4139
+ author: string;
4140
+ version: number;
4034
4141
  created_at: string;
4035
4142
  updated_at: string;
4036
- author_username: string;
4037
- author_display_name: string | null;
4038
- comment_count: number;
4039
- reply_to?: {
4040
- author_username: string;
4041
- slug: string;
4042
- title: string;
4043
- } | null | undefined;
4044
- reactions?: {
4045
- emoji: string;
4046
- count: number;
4047
- usernames: string[];
4048
- }[] | undefined;
4049
- };
4143
+ }[];
4050
4144
  outputFormat: "json";
4051
4145
  status: hono_utils_http_status.ContentfulStatusCode;
4052
4146
  };
4053
4147
  };
4054
4148
  } & {
4055
- "/:author/:slug": {
4056
- $delete: {
4057
- input: {
4058
- param: {
4059
- author: string;
4060
- } & {
4061
- slug: string;
4062
- };
4063
- };
4064
- output: {
4065
- error: string;
4066
- };
4067
- outputFormat: "json";
4068
- status: 401;
4069
- } | {
4070
- input: {
4071
- param: {
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
- author: string;
4086
- } & {
4087
- slug: string;
4088
- };
4089
- };
4149
+ "/defaults/list": {
4150
+ $get: {
4151
+ input: {};
4090
4152
  output: {
4091
- ok: true;
4153
+ skills: string[];
4092
4154
  };
4093
4155
  outputFormat: "json";
4094
4156
  status: hono_utils_http_status.ContentfulStatusCode;
4095
4157
  };
4096
4158
  };
4097
4159
  } & {
4098
- "/:author/:slug/reactions": {
4099
- $post: {
4100
- input: {
4101
- json: {
4102
- emoji: string;
4103
- };
4104
- } & {
4105
- param: {
4106
- author: string;
4107
- } & {
4108
- slug: string;
4109
- };
4110
- };
4111
- output: {
4112
- error: string;
4113
- };
4114
- outputFormat: "json";
4115
- status: 401;
4116
- } | {
4117
- input: {
4118
- json: {
4119
- emoji: string;
4120
- };
4121
- } & {
4122
- param: {
4123
- author: string;
4124
- } & {
4125
- slug: string;
4126
- };
4127
- };
4160
+ "/defaults/list": {
4161
+ $put: {
4162
+ input: {};
4128
4163
  output: {
4129
4164
  error: string;
4130
4165
  };
4131
4166
  outputFormat: "json";
4132
- status: 404;
4167
+ status: 400;
4133
4168
  } | {
4134
- input: {
4135
- json: {
4136
- emoji: string;
4137
- };
4138
- } & {
4139
- param: {
4140
- author: string;
4141
- } & {
4142
- slug: string;
4143
- };
4144
- };
4169
+ input: {};
4145
4170
  output: {
4146
- reactions: {
4147
- emoji: string;
4148
- count: number;
4149
- usernames: string[];
4150
- }[];
4151
- added: boolean;
4171
+ skills: string[];
4152
4172
  };
4153
4173
  outputFormat: "json";
4154
4174
  status: hono_utils_http_status.ContentfulStatusCode;
4155
4175
  };
4156
4176
  };
4157
4177
  } & {
4158
- "/:author/:slug/comments": {
4178
+ "/defaults/list": {
4159
4179
  $post: {
4160
- input: {
4161
- json: {
4162
- content: string;
4163
- };
4164
- } & {
4165
- param: {
4166
- author: string;
4167
- } & {
4168
- slug: string;
4169
- };
4170
- };
4171
- output: {
4172
- error: string;
4173
- };
4174
- outputFormat: "json";
4175
- status: 401;
4176
- } | {
4177
- input: {
4178
- json: {
4179
- content: string;
4180
- };
4181
- } & {
4182
- param: {
4183
- author: string;
4184
- } & {
4185
- slug: string;
4186
- };
4187
- };
4188
- output: {
4189
- error: string;
4190
- };
4191
- outputFormat: "json";
4192
- status: 404;
4193
- } | {
4194
- input: {
4195
- json: {
4196
- content: string;
4197
- };
4198
- } & {
4199
- param: {
4200
- author: string;
4201
- } & {
4202
- slug: string;
4203
- };
4204
- };
4205
- output: {
4206
- id: number;
4207
- note_id: number;
4208
- author_id: number;
4209
- content: string;
4210
- created_at: string;
4211
- author_username: string;
4212
- author_display_name: string | null;
4213
- };
4214
- outputFormat: "json";
4215
- status: 201;
4216
- };
4217
- };
4218
- } & {
4219
- "/:author/:slug/comments/:id": {
4220
- $delete: {
4221
- input: {
4222
- param: {
4223
- id: string;
4224
- } & {
4225
- author: string;
4226
- } & {
4227
- slug: string;
4228
- };
4229
- };
4230
- output: {
4231
- error: string;
4232
- };
4233
- outputFormat: "json";
4234
- status: 401;
4235
- } | {
4236
- input: {
4237
- param: {
4238
- id: string;
4239
- } & {
4240
- author: string;
4241
- } & {
4242
- slug: string;
4243
- };
4244
- };
4180
+ input: {};
4245
4181
  output: {
4246
4182
  error: string;
4247
4183
  };
4248
4184
  outputFormat: "json";
4249
4185
  status: 400;
4250
4186
  } | {
4251
- input: {
4252
- param: {
4253
- id: string;
4254
- } & {
4255
- author: string;
4256
- } & {
4257
- slug: string;
4258
- };
4259
- };
4260
- output: {
4261
- error: string;
4262
- };
4263
- outputFormat: "json";
4264
- status: 404;
4265
- } | {
4266
- input: {
4267
- param: {
4268
- id: string;
4269
- } & {
4270
- author: string;
4271
- } & {
4272
- slug: string;
4273
- };
4274
- };
4275
- output: {
4276
- ok: true;
4277
- };
4278
- outputFormat: "json";
4279
- status: hono_utils_http_status.ContentfulStatusCode;
4280
- };
4281
- };
4282
- }, "/api/notes"> | hono_types.MergeSchemaPath<{
4283
- "/": {
4284
- $get: {
4285
4187
  input: {};
4286
4188
  output: {
4287
4189
  error: string;
4288
4190
  };
4289
4191
  outputFormat: "json";
4290
- status: 500;
4192
+ status: 409;
4291
4193
  } | {
4292
4194
  input: {};
4293
4195
  output: {
4294
- 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";
4295
- content: string;
4296
- description: string;
4297
- variables: string[];
4298
- isCustom: boolean;
4299
- category: PromptCategory;
4300
- }[];
4301
- outputFormat: "json";
4302
- status: hono_utils_http_status.ContentfulStatusCode;
4303
- };
4304
- };
4305
- } & {
4306
- "/:key": {
4307
- $put: {
4308
- input: {
4309
- json: {
4310
- content: string;
4311
- };
4312
- } & {
4313
- param: {
4314
- key: string;
4315
- };
4316
- };
4317
- output: {
4318
- error: string;
4319
- };
4320
- outputFormat: "json";
4321
- status: 404;
4322
- } | {
4323
- input: {
4324
- json: {
4325
- content: string;
4326
- };
4327
- } & {
4328
- param: {
4329
- key: string;
4330
- };
4331
- };
4332
- output: {
4333
- ok: true;
4196
+ skills: string[];
4334
4197
  };
4335
4198
  outputFormat: "json";
4336
4199
  status: hono_utils_http_status.ContentfulStatusCode;
4337
4200
  };
4338
4201
  };
4339
4202
  } & {
4340
- "/:key": {
4203
+ "/defaults/list/:skill": {
4341
4204
  $delete: {
4342
4205
  input: {
4343
4206
  param: {
4344
- key: string;
4207
+ skill: string;
4345
4208
  };
4346
4209
  };
4347
4210
  output: {
@@ -4352,19 +4215,19 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4352
4215
  } | {
4353
4216
  input: {
4354
4217
  param: {
4355
- key: string;
4218
+ skill: string;
4356
4219
  };
4357
4220
  };
4358
4221
  output: {
4359
- ok: true;
4222
+ skills: string[];
4360
4223
  };
4361
4224
  outputFormat: "json";
4362
4225
  status: hono_utils_http_status.ContentfulStatusCode;
4363
4226
  };
4364
4227
  };
4365
- }, "/api/prompts"> | hono_types.MergeSchemaPath<{
4366
- "/": {
4367
- $get: {
4228
+ } & {
4229
+ "/upload": {
4230
+ $post: {
4368
4231
  input: {};
4369
4232
  output: {
4370
4233
  id: string;
@@ -4374,9 +4237,16 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4374
4237
  version: number;
4375
4238
  created_at: string;
4376
4239
  updated_at: string;
4377
- }[];
4240
+ };
4378
4241
  outputFormat: "json";
4379
4242
  status: hono_utils_http_status.ContentfulStatusCode;
4243
+ } | {
4244
+ input: {};
4245
+ output: {
4246
+ error: string;
4247
+ };
4248
+ outputFormat: "json";
4249
+ status: 400;
4380
4250
  };
4381
4251
  };
4382
4252
  } & {
@@ -4412,30 +4282,6 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
4412
4282
  status: hono_utils_http_status.ContentfulStatusCode;
4413
4283
  };
4414
4284
  };
4415
- } & {
4416
- "/upload": {
4417
- $post: {
4418
- input: {};
4419
- output: {
4420
- id: string;
4421
- name: string;
4422
- description: string;
4423
- author: string;
4424
- version: number;
4425
- created_at: string;
4426
- updated_at: string;
4427
- };
4428
- outputFormat: "json";
4429
- status: hono_utils_http_status.ContentfulStatusCode;
4430
- } | {
4431
- input: {};
4432
- output: {
4433
- error: string;
4434
- };
4435
- outputFormat: "json";
4436
- status: 400;
4437
- };
4438
- };
4439
4285
  } & {
4440
4286
  "/:id": {
4441
4287
  $delete: {
@@ -5194,6 +5040,34 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
5194
5040
  };
5195
5041
  };
5196
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<{
5197
5071
  "/": {
5198
5072
  $get: {
5199
5073
  input: {};