volute 0.24.0 → 0.26.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 (114) hide show
  1. package/README.md +15 -20
  2. package/dist/{activity-events-4O37J7PD.js → activity-events-ZMBAKLUF.js} +2 -2
  3. package/dist/api.d.ts +590 -10
  4. package/dist/{auth-HM2RSPY7.js → auth-4TV573WE.js} +2 -2
  5. package/dist/{channel-HZOSHGNF.js → channel-ZVZV42UD.js} +3 -3
  6. package/dist/{chunk-NOBRGACV.js → chunk-2VO7453N.js} +56 -19
  7. package/dist/{chunk-OOW675I3.js → chunk-3CFRE2VC.js} +931 -775
  8. package/dist/{chunk-PHHKNGA3.js → chunk-3TV4GLFO.js} +2 -2
  9. package/dist/{chunk-4TJ72QQ3.js → chunk-5Y3PBKW6.js} +3 -3
  10. package/dist/{chunk-BFK6SOEJ.js → chunk-J2CO4WEV.js} +1 -1
  11. package/dist/{chunk-TQDITGES.js → chunk-LX22GRG7.js} +10 -13
  12. package/dist/{chunk-E7GOKNOT.js → chunk-NWI2425I.js} +1 -1
  13. package/dist/{chunk-2767L2RZ.js → chunk-OZFKBXD6.js} +1 -1
  14. package/dist/{chunk-XLC342FO.js → chunk-SIAG3QMM.js} +14 -1
  15. package/dist/{chunk-RVKR2R7F.js → chunk-SSI47XP2.js} +10 -2
  16. package/dist/chunk-TZKJLDQN.js +78 -0
  17. package/dist/{chunk-P3W36ZGD.js → chunk-USNBKHYG.js} +33 -5
  18. package/dist/chunk-UTL75LP6.js +113 -0
  19. package/dist/{chunk-3AIBT4TW.js → chunk-V63B7DX3.js} +24 -1
  20. package/dist/{chunk-33XAVCS4.js → chunk-WBHMQ5OZ.js} +49 -0
  21. package/dist/{chunk-TRQEV3CD.js → chunk-WGOGUMPO.js} +22 -3
  22. package/dist/chunk-XOXLRRR2.js +176 -0
  23. package/dist/{chunk-JTDFJWI2.js → chunk-YJA7P64S.js} +1 -1
  24. package/dist/chunk-ZYGKG6VC.js +22 -0
  25. package/dist/cli.js +44 -20
  26. package/dist/{cloud-sync-DIU3OCPV.js → cloud-sync-NI2K3C7G.js} +11 -9
  27. package/dist/{connector-M6XFI6GM.js → connector-G722WXAU.js} +4 -4
  28. package/dist/{create-VDQJER52.js → create-4YBRTTJS.js} +1 -1
  29. package/dist/{daemon-client-JOVQZ52X.js → daemon-client-Z7FAJ6JW.js} +1 -1
  30. package/dist/{daemon-restart-YMPEATQH.js → daemon-restart-BJZ3O4U4.js} +6 -5
  31. package/dist/daemon.js +982 -340
  32. package/dist/{delete-2MRR4JX5.js → delete-27OYNK25.js} +1 -1
  33. package/dist/{down-674SX2IZ.js → down-7UKFMJJZ.js} +4 -4
  34. package/dist/{env-2FPOZK37.js → env-M336ONDP.js} +4 -4
  35. package/dist/{export-IKFAPRAO.js → export-HP4G5DQC.js} +1 -1
  36. package/dist/{file-KT3UIQM3.js → file-HUDKTRAS.js} +3 -3
  37. package/dist/{history-46WZN5CN.js → history-B64GTFTD.js} +3 -3
  38. package/dist/{import-FRDPQPJ2.js → import-XIB7UV4S.js} +2 -2
  39. package/dist/{log-6SGSSR3D.js → log-PBFNILJ4.js} +3 -3
  40. package/dist/{login-UO6AOVEA.js → login-6U7U6BNG.js} +1 -1
  41. package/dist/login-B5E7N7MY.js +46 -0
  42. package/dist/logout-XSJRYS3U.js +39 -0
  43. package/dist/{logs-HRBONI5I.js → logs-3CART7O7.js} +3 -3
  44. package/dist/{merge-KSFJKX6T.js → merge-VK2HSKMA.js} +3 -3
  45. package/dist/{message-delivery-S7BCNV6Y.js → message-delivery-MS5JYPZX.js} +11 -9
  46. package/dist/{mind-KPLCRKQA.js → mind-HZ3QSDDJ.js} +17 -17
  47. package/dist/{mind-activity-tracker-NMDDEV3K.js → mind-activity-tracker-4G6FURY2.js} +3 -3
  48. package/dist/{mind-manager-ZNRIYEK3.js → mind-manager-VVK67AY3.js} +6 -4
  49. package/dist/{mind-sleep-GHPTSAYN.js → mind-sleep-DTV7L44D.js} +3 -3
  50. package/dist/{mind-wake-BJDJFMDF.js → mind-wake-PFN4FN3T.js} +3 -3
  51. package/dist/notes-37FW2UR2.js +230 -0
  52. package/dist/{package-S5YF25XV.js → package-VZWLXPHV.js} +3 -1
  53. package/dist/{pages-TWR6U7DS.js → pages-DIIT5HMQ.js} +1 -1
  54. package/dist/{publish-BZNHKUUK.js → publish-HQV7YREB.js} +4 -4
  55. package/dist/{pull-D32SPFVU.js → pull-2MB4SK3C.js} +3 -3
  56. package/dist/{register-U2UO6TC4.js → register-EFND67FQ.js} +1 -1
  57. package/dist/{restart-5BMNV7KU.js → restart-CCK7D6TV.js} +3 -3
  58. package/dist/sandbox-EHGFF52K.js +19 -0
  59. package/dist/{schedule-YEFDLVMJ.js → schedule-6F7ELB2M.js} +3 -3
  60. package/dist/{seed-6FEKB3YC.js → seed-E5OQGWX3.js} +1 -1
  61. package/dist/{send-IISDYFCL.js → send-IH6XZKPC.js} +6 -20
  62. package/dist/service-LLBV3R7M.js +122 -0
  63. package/dist/setup-F6TWFYGQ.js +371 -0
  64. package/dist/setup-YGAAIKKZ.js +17 -0
  65. package/dist/{shared-LWMNTTZN.js → shared-UMO4S7CC.js} +4 -4
  66. package/dist/{skill-BQOFACEI.js → skill-42LGFBQC.js} +13 -5
  67. package/dist/skills/dreaming/SKILL.md +68 -0
  68. package/dist/skills/dreaming/references/INSTALL.md +56 -0
  69. package/dist/skills/dreaming/scripts/dream.ts +289 -0
  70. package/dist/skills/dreaming/scripts/wake-context-dreams.sh +30 -0
  71. package/dist/skills/imagegen/SKILL.md +37 -0
  72. package/dist/skills/imagegen/references/INSTALL.md +13 -0
  73. package/dist/skills/imagegen/scripts/imagegen.ts +136 -0
  74. package/dist/skills/notes/SKILL.md +34 -0
  75. package/dist/skills/resonance/SKILL.md +73 -0
  76. package/dist/skills/resonance/assets/default-config.json +21 -0
  77. package/dist/skills/resonance/references/INSTALL.md +23 -0
  78. package/dist/skills/resonance/scripts/resonance.ts +1250 -0
  79. package/dist/skills/volute-mind/SKILL.md +23 -3
  80. package/dist/{sleep-manager-XXSWQQLE.js → sleep-manager-EE4NRN2Q.js} +11 -9
  81. package/dist/{sprout-CGSW4CF5.js → sprout-QL74KR2X.js} +5 -5
  82. package/dist/{start-C7XITZ5O.js → start-O5JQASRC.js} +3 -3
  83. package/dist/{status-SIRPLEZC.js → status-FZBEBM7Q.js} +3 -3
  84. package/dist/{status-LYS4NUOZ.js → status-WXD4HXRL.js} +3 -3
  85. package/dist/{stop-CVKBSLXY.js → stop-2SOG5NYF.js} +3 -3
  86. package/dist/up-SDMCSVI3.js +17 -0
  87. package/dist/{update-7XCZMYBT.js → update-5VUDAI3D.js} +6 -6
  88. package/dist/{upgrade-7RUIXGOO.js → upgrade-QCCO33BK.js} +1 -1
  89. package/dist/{variant-UGREB4G5.js → variant-WWLDY6D5.js} +4 -4
  90. package/dist/{version-notify-SZ75QRGO.js → version-notify-USFZBWMG.js} +11 -9
  91. package/dist/web-assets/assets/index-CUQ31ieL.js +69 -0
  92. package/dist/web-assets/assets/index-CW8NSl1o.css +1 -0
  93. package/dist/web-assets/favicon.png +0 -0
  94. package/dist/web-assets/index.html +5 -4
  95. package/dist/web-assets/logo.png +0 -0
  96. package/drizzle/0015_notes.sql +23 -0
  97. package/drizzle/0016_note_reactions_and_replies.sql +15 -0
  98. package/drizzle/meta/_journal.json +14 -0
  99. package/package.json +3 -1
  100. package/templates/_base/.init/.config/hooks/wake-context.sh +7 -0
  101. package/templates/_base/home/public/.gitkeep +0 -0
  102. package/templates/_base/src/lib/startup.ts +8 -0
  103. package/templates/claude/src/agent.ts +51 -1
  104. package/templates/claude/src/server.ts +1 -0
  105. package/templates/pi/package.json.tmpl +1 -0
  106. package/templates/pi/src/agent.ts +48 -1
  107. package/templates/pi/src/lib/subagents.ts +150 -0
  108. package/templates/pi/src/server.ts +1 -0
  109. package/dist/chunk-NWPT4ASZ.js +0 -89
  110. package/dist/service-FASYWLTC.js +0 -247
  111. package/dist/setup-BMLM2UTK.js +0 -230
  112. package/dist/up-OMHACRJL.js +0 -15
  113. package/dist/web-assets/assets/index-Bx9WDoaQ.js +0 -69
  114. package/dist/web-assets/assets/index-Clz8OhmJ.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" | "mind" | "user" | "admin";
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" | "mind" | "user" | "admin";
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" | "mind" | "user" | "admin";
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" | "mind";
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" | "mind";
206
+ role: "admin" | "user" | "pending";
206
207
  user_type: "brain" | "mind";
207
208
  display_name: string | null;
208
209
  description: string | null;
@@ -522,6 +523,113 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
522
523
  status: hono_utils_http_status.ContentfulStatusCode;
523
524
  };
524
525
  };
526
+ } & {
527
+ "/register": {
528
+ $post: {
529
+ input: {
530
+ json: {
531
+ name: string;
532
+ };
533
+ };
534
+ output: {
535
+ error: string;
536
+ };
537
+ outputFormat: "json";
538
+ status: 400;
539
+ } | {
540
+ input: {
541
+ json: {
542
+ name: string;
543
+ };
544
+ };
545
+ output: {
546
+ error: string;
547
+ };
548
+ outputFormat: "json";
549
+ status: 502;
550
+ } | {
551
+ input: {
552
+ json: {
553
+ name: string;
554
+ };
555
+ };
556
+ output: {
557
+ error: string;
558
+ };
559
+ outputFormat: "json";
560
+ status: 500;
561
+ } | {
562
+ input: {
563
+ json: {
564
+ name: string;
565
+ };
566
+ };
567
+ output: {
568
+ system: string;
569
+ };
570
+ outputFormat: "json";
571
+ status: hono_utils_http_status.ContentfulStatusCode;
572
+ };
573
+ };
574
+ } & {
575
+ "/login": {
576
+ $post: {
577
+ input: {
578
+ json: {
579
+ key: string;
580
+ };
581
+ };
582
+ output: {
583
+ error: string;
584
+ };
585
+ outputFormat: "json";
586
+ status: 400;
587
+ } | {
588
+ input: {
589
+ json: {
590
+ key: string;
591
+ };
592
+ };
593
+ output: {
594
+ error: string;
595
+ };
596
+ outputFormat: "json";
597
+ status: 502;
598
+ } | {
599
+ input: {
600
+ json: {
601
+ key: string;
602
+ };
603
+ };
604
+ output: {
605
+ error: string;
606
+ };
607
+ outputFormat: "json";
608
+ status: 500;
609
+ } | {
610
+ input: {
611
+ json: {
612
+ key: string;
613
+ };
614
+ };
615
+ output: {
616
+ system: string;
617
+ };
618
+ outputFormat: "json";
619
+ status: hono_utils_http_status.ContentfulStatusCode;
620
+ };
621
+ };
622
+ } & {
623
+ "/logout": {
624
+ $post: {
625
+ input: {};
626
+ output: {
627
+ ok: true;
628
+ };
629
+ outputFormat: "json";
630
+ status: hono_utils_http_status.ContentfulStatusCode;
631
+ };
632
+ };
525
633
  }, "/api/system"> | hono_types.MergeSchemaPath<{
526
634
  "/update": {
527
635
  $get: {
@@ -917,6 +1025,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
917
1025
  wokenByTrigger: boolean;
918
1026
  voluntaryWakeAt: string | null;
919
1027
  queuedMessageCount: number;
1028
+ triggerWakeHistory: {
1029
+ channel: string;
1030
+ at: string;
1031
+ }[];
920
1032
  };
921
1033
  outputFormat: "json";
922
1034
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -1816,6 +1928,8 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
1816
1928
  message?: string | undefined;
1817
1929
  script?: string | undefined;
1818
1930
  enabled: boolean;
1931
+ skipWhenSleeping?: boolean | undefined;
1932
+ channel?: string | undefined;
1819
1933
  }[];
1820
1934
  outputFormat: "json";
1821
1935
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -3218,10 +3332,12 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3218
3332
  };
3219
3333
  };
3220
3334
  output: {
3221
- error: string;
3335
+ installNotes: string | null;
3336
+ npmInstalled: string[];
3337
+ ok: true;
3222
3338
  };
3223
3339
  outputFormat: "json";
3224
- status: 400;
3340
+ status: hono_utils_http_status.ContentfulStatusCode;
3225
3341
  } | {
3226
3342
  input: {
3227
3343
  json: {
@@ -3233,10 +3349,10 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3233
3349
  };
3234
3350
  };
3235
3351
  output: {
3236
- ok: true;
3352
+ error: string;
3237
3353
  };
3238
3354
  outputFormat: "json";
3239
- status: hono_utils_http_status.ContentfulStatusCode;
3355
+ status: 400;
3240
3356
  };
3241
3357
  };
3242
3358
  } & {
@@ -3640,6 +3756,470 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3640
3756
  };
3641
3757
  };
3642
3758
  }, "/api/env"> | hono_types.MergeSchemaPath<{
3759
+ "/": {
3760
+ $get: {
3761
+ input: {};
3762
+ output: {
3763
+ id: number;
3764
+ author_id: number;
3765
+ title: string;
3766
+ slug: string;
3767
+ content: string;
3768
+ created_at: string;
3769
+ updated_at: string;
3770
+ author_username: string;
3771
+ author_display_name: string | null;
3772
+ comment_count: number;
3773
+ reply_to?: {
3774
+ author_username: string;
3775
+ slug: string;
3776
+ title: string;
3777
+ } | null | undefined;
3778
+ reactions?: {
3779
+ emoji: string;
3780
+ count: number;
3781
+ usernames: string[];
3782
+ }[] | undefined;
3783
+ }[];
3784
+ outputFormat: "json";
3785
+ status: hono_utils_http_status.ContentfulStatusCode;
3786
+ };
3787
+ };
3788
+ } & {
3789
+ "/": {
3790
+ $post: {
3791
+ input: {
3792
+ json: {
3793
+ title: string;
3794
+ content: string;
3795
+ reply_to?: string | undefined;
3796
+ };
3797
+ };
3798
+ output: {
3799
+ error: string;
3800
+ };
3801
+ outputFormat: "json";
3802
+ status: 400;
3803
+ } | {
3804
+ input: {
3805
+ json: {
3806
+ title: string;
3807
+ content: string;
3808
+ reply_to?: string | undefined;
3809
+ };
3810
+ };
3811
+ output: {
3812
+ error: string;
3813
+ };
3814
+ outputFormat: "json";
3815
+ status: 404;
3816
+ } | {
3817
+ input: {
3818
+ json: {
3819
+ title: string;
3820
+ content: string;
3821
+ reply_to?: string | undefined;
3822
+ };
3823
+ };
3824
+ output: {
3825
+ id: number;
3826
+ author_id: number;
3827
+ title: string;
3828
+ slug: string;
3829
+ content: string;
3830
+ created_at: string;
3831
+ updated_at: string;
3832
+ author_username: string;
3833
+ author_display_name: string | null;
3834
+ comment_count: number;
3835
+ reply_to?: {
3836
+ author_username: string;
3837
+ slug: string;
3838
+ title: string;
3839
+ } | null | undefined;
3840
+ reactions?: {
3841
+ emoji: string;
3842
+ count: number;
3843
+ usernames: string[];
3844
+ }[] | undefined;
3845
+ };
3846
+ outputFormat: "json";
3847
+ status: 201;
3848
+ };
3849
+ };
3850
+ } & {
3851
+ "/:author/:slug": {
3852
+ $get: {
3853
+ input: {
3854
+ param: {
3855
+ author: string;
3856
+ } & {
3857
+ slug: string;
3858
+ };
3859
+ };
3860
+ output: {
3861
+ error: string;
3862
+ };
3863
+ outputFormat: "json";
3864
+ status: 404;
3865
+ } | {
3866
+ input: {
3867
+ param: {
3868
+ author: string;
3869
+ } & {
3870
+ slug: string;
3871
+ };
3872
+ };
3873
+ output: {
3874
+ id: number;
3875
+ author_id: number;
3876
+ title: string;
3877
+ slug: string;
3878
+ content: string;
3879
+ created_at: string;
3880
+ updated_at: string;
3881
+ author_username: string;
3882
+ author_display_name: string | null;
3883
+ comment_count: number;
3884
+ reply_to?: {
3885
+ author_username: string;
3886
+ slug: string;
3887
+ title: string;
3888
+ } | null | undefined;
3889
+ reactions?: {
3890
+ emoji: string;
3891
+ count: number;
3892
+ usernames: string[];
3893
+ }[] | undefined;
3894
+ comments: {
3895
+ id: number;
3896
+ note_id: number;
3897
+ author_id: number;
3898
+ content: string;
3899
+ created_at: string;
3900
+ author_username: string;
3901
+ author_display_name: string | null;
3902
+ }[];
3903
+ replies: {
3904
+ author_username: string;
3905
+ slug: string;
3906
+ title: string;
3907
+ created_at: string;
3908
+ }[];
3909
+ };
3910
+ outputFormat: "json";
3911
+ status: hono_utils_http_status.ContentfulStatusCode;
3912
+ };
3913
+ };
3914
+ } & {
3915
+ "/:author/:slug": {
3916
+ $put: {
3917
+ input: {
3918
+ json: {
3919
+ title?: string | undefined;
3920
+ content?: string | undefined;
3921
+ };
3922
+ } & {
3923
+ param: {
3924
+ author: string;
3925
+ } & {
3926
+ slug: string;
3927
+ };
3928
+ };
3929
+ output: {
3930
+ error: string;
3931
+ };
3932
+ outputFormat: "json";
3933
+ status: 400;
3934
+ } | {
3935
+ input: {
3936
+ json: {
3937
+ title?: string | undefined;
3938
+ content?: string | undefined;
3939
+ };
3940
+ } & {
3941
+ param: {
3942
+ author: string;
3943
+ } & {
3944
+ slug: string;
3945
+ };
3946
+ };
3947
+ output: {
3948
+ error: string;
3949
+ };
3950
+ outputFormat: "json";
3951
+ status: 403;
3952
+ } | {
3953
+ input: {
3954
+ json: {
3955
+ title?: string | undefined;
3956
+ content?: string | undefined;
3957
+ };
3958
+ } & {
3959
+ param: {
3960
+ author: string;
3961
+ } & {
3962
+ slug: string;
3963
+ };
3964
+ };
3965
+ output: {
3966
+ error: string;
3967
+ };
3968
+ outputFormat: "json";
3969
+ status: 404;
3970
+ } | {
3971
+ input: {
3972
+ json: {
3973
+ title?: string | undefined;
3974
+ content?: string | undefined;
3975
+ };
3976
+ } & {
3977
+ param: {
3978
+ author: string;
3979
+ } & {
3980
+ slug: string;
3981
+ };
3982
+ };
3983
+ output: {
3984
+ id: number;
3985
+ author_id: number;
3986
+ title: string;
3987
+ slug: string;
3988
+ content: string;
3989
+ created_at: string;
3990
+ updated_at: string;
3991
+ author_username: string;
3992
+ author_display_name: string | null;
3993
+ comment_count: number;
3994
+ reply_to?: {
3995
+ author_username: string;
3996
+ slug: string;
3997
+ title: string;
3998
+ } | null | undefined;
3999
+ reactions?: {
4000
+ emoji: string;
4001
+ count: number;
4002
+ usernames: string[];
4003
+ }[] | undefined;
4004
+ };
4005
+ outputFormat: "json";
4006
+ status: hono_utils_http_status.ContentfulStatusCode;
4007
+ };
4008
+ };
4009
+ } & {
4010
+ "/:author/:slug": {
4011
+ $delete: {
4012
+ input: {
4013
+ param: {
4014
+ author: string;
4015
+ } & {
4016
+ slug: string;
4017
+ };
4018
+ };
4019
+ output: {
4020
+ error: string;
4021
+ };
4022
+ outputFormat: "json";
4023
+ status: 400;
4024
+ } | {
4025
+ input: {
4026
+ param: {
4027
+ author: string;
4028
+ } & {
4029
+ slug: string;
4030
+ };
4031
+ };
4032
+ output: {
4033
+ error: string;
4034
+ };
4035
+ outputFormat: "json";
4036
+ status: 404;
4037
+ } | {
4038
+ input: {
4039
+ param: {
4040
+ author: string;
4041
+ } & {
4042
+ slug: string;
4043
+ };
4044
+ };
4045
+ output: {
4046
+ ok: true;
4047
+ };
4048
+ outputFormat: "json";
4049
+ status: hono_utils_http_status.ContentfulStatusCode;
4050
+ };
4051
+ };
4052
+ } & {
4053
+ "/:author/:slug/reactions": {
4054
+ $post: {
4055
+ input: {
4056
+ json: {
4057
+ emoji: string;
4058
+ };
4059
+ } & {
4060
+ param: {
4061
+ author: string;
4062
+ } & {
4063
+ slug: string;
4064
+ };
4065
+ };
4066
+ output: {
4067
+ error: string;
4068
+ };
4069
+ outputFormat: "json";
4070
+ status: 400;
4071
+ } | {
4072
+ input: {
4073
+ json: {
4074
+ emoji: string;
4075
+ };
4076
+ } & {
4077
+ param: {
4078
+ author: string;
4079
+ } & {
4080
+ slug: string;
4081
+ };
4082
+ };
4083
+ output: {
4084
+ error: string;
4085
+ };
4086
+ outputFormat: "json";
4087
+ status: 404;
4088
+ } | {
4089
+ input: {
4090
+ json: {
4091
+ emoji: string;
4092
+ };
4093
+ } & {
4094
+ param: {
4095
+ author: string;
4096
+ } & {
4097
+ slug: string;
4098
+ };
4099
+ };
4100
+ output: {
4101
+ reactions: {
4102
+ emoji: string;
4103
+ count: number;
4104
+ usernames: string[];
4105
+ }[];
4106
+ added: boolean;
4107
+ };
4108
+ outputFormat: "json";
4109
+ status: hono_utils_http_status.ContentfulStatusCode;
4110
+ };
4111
+ };
4112
+ } & {
4113
+ "/:author/:slug/comments": {
4114
+ $post: {
4115
+ input: {
4116
+ json: {
4117
+ content: string;
4118
+ };
4119
+ } & {
4120
+ param: {
4121
+ author: string;
4122
+ } & {
4123
+ slug: string;
4124
+ };
4125
+ };
4126
+ output: {
4127
+ error: string;
4128
+ };
4129
+ outputFormat: "json";
4130
+ status: 400;
4131
+ } | {
4132
+ input: {
4133
+ json: {
4134
+ content: string;
4135
+ };
4136
+ } & {
4137
+ param: {
4138
+ author: string;
4139
+ } & {
4140
+ slug: string;
4141
+ };
4142
+ };
4143
+ output: {
4144
+ error: string;
4145
+ };
4146
+ outputFormat: "json";
4147
+ status: 404;
4148
+ } | {
4149
+ input: {
4150
+ json: {
4151
+ content: string;
4152
+ };
4153
+ } & {
4154
+ param: {
4155
+ author: string;
4156
+ } & {
4157
+ slug: string;
4158
+ };
4159
+ };
4160
+ output: {
4161
+ id: number;
4162
+ note_id: number;
4163
+ author_id: number;
4164
+ content: string;
4165
+ created_at: string;
4166
+ author_username: string;
4167
+ author_display_name: string | null;
4168
+ };
4169
+ outputFormat: "json";
4170
+ status: 201;
4171
+ };
4172
+ };
4173
+ } & {
4174
+ "/:author/:slug/comments/:id": {
4175
+ $delete: {
4176
+ input: {
4177
+ param: {
4178
+ id: string;
4179
+ } & {
4180
+ author: string;
4181
+ } & {
4182
+ slug: string;
4183
+ };
4184
+ };
4185
+ output: {
4186
+ error: string;
4187
+ };
4188
+ outputFormat: "json";
4189
+ status: 400;
4190
+ } | {
4191
+ input: {
4192
+ param: {
4193
+ id: string;
4194
+ } & {
4195
+ author: string;
4196
+ } & {
4197
+ slug: string;
4198
+ };
4199
+ };
4200
+ output: {
4201
+ error: string;
4202
+ };
4203
+ outputFormat: "json";
4204
+ status: 404;
4205
+ } | {
4206
+ input: {
4207
+ param: {
4208
+ id: string;
4209
+ } & {
4210
+ author: string;
4211
+ } & {
4212
+ slug: string;
4213
+ };
4214
+ };
4215
+ output: {
4216
+ ok: true;
4217
+ };
4218
+ outputFormat: "json";
4219
+ status: hono_utils_http_status.ContentfulStatusCode;
4220
+ };
4221
+ };
4222
+ }, "/api/notes"> | hono_types.MergeSchemaPath<{
3643
4223
  "/": {
3644
4224
  $get: {
3645
4225
  input: {};
@@ -3651,7 +4231,7 @@ declare const routes: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.Bl
3651
4231
  } | {
3652
4232
  input: {};
3653
4233
  output: {
3654
- 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";
4234
+ 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";
3655
4235
  content: string;
3656
4236
  description: string;
3657
4237
  variables: string[];
@@ -6,10 +6,10 @@ async function run(args) {
6
6
  const subcommand = args[0];
7
7
  switch (subcommand) {
8
8
  case "register":
9
- await import("./register-U2UO6TC4.js").then((m) => m.run(args.slice(1)));
9
+ await import("./register-EFND67FQ.js").then((m) => m.run(args.slice(1)));
10
10
  break;
11
11
  case "login":
12
- await import("./login-UO6AOVEA.js").then((m) => m.run(args.slice(1)));
12
+ await import("./login-6U7U6BNG.js").then((m) => m.run(args.slice(1)));
13
13
  break;
14
14
  case "logout":
15
15
  await import("./logout-UKD5LA37.js").then((m) => m.run());
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ daemonFetch
4
+ } from "./chunk-WGOGUMPO.js";
2
5
  import {
3
6
  getClient,
4
7
  urlOf
@@ -9,9 +12,6 @@ import {
9
12
  import {
10
13
  parseArgs
11
14
  } from "./chunk-D424ZQGI.js";
12
- import {
13
- daemonFetch
14
- } from "./chunk-TRQEV3CD.js";
15
15
  import "./chunk-B2CPS4QU.js";
16
16
  import "./chunk-K3NQKI34.js";
17
17