nolune 0.4.2 → 0.6.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 (937) hide show
  1. package/DESIGN.md +850 -40
  2. package/README.md +21 -11
  3. package/dist/chunks/chunk-2Z3QOLXA.js +19934 -0
  4. package/dist/chunks/chunk-YK5257ON.js +116 -0
  5. package/dist/chunks/run-UUFOUO2T.js +44529 -0
  6. package/dist/chunks/zod-EQ7NYDR4.js +524 -0
  7. package/dist/cli.js +2 -2
  8. package/package.json +1 -1
  9. package/packages/core/drizzle/0022_push_devices.sql +12 -0
  10. package/packages/core/drizzle/0023_background_command_pid.sql +2 -0
  11. package/packages/core/drizzle/meta/0022_snapshot.json +2509 -0
  12. package/packages/core/drizzle/meta/0023_snapshot.json +2523 -0
  13. package/packages/core/drizzle/meta/_journal.json +14 -0
  14. package/packages/core/skills/generate-images/SKILL.md +7 -2
  15. package/packages/core/skills/nolune/SKILL.md +41 -8
  16. package/packages/core/skills/subagents/SKILL.md +3 -1
  17. package/packages/web/build/client/_app/immutable/assets/0.DTPxyIYr.css +2 -0
  18. package/packages/web/build/client/_app/immutable/assets/0.DTPxyIYr.css.br +0 -0
  19. package/packages/web/build/client/_app/immutable/assets/0.DTPxyIYr.css.gz +0 -0
  20. package/packages/web/build/client/_app/immutable/assets/13.BMz9yqHy.css +1 -0
  21. package/packages/web/build/client/_app/immutable/assets/13.BMz9yqHy.css.br +0 -0
  22. package/packages/web/build/client/_app/immutable/assets/13.BMz9yqHy.css.gz +0 -0
  23. package/packages/web/build/client/_app/immutable/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
  24. package/packages/web/build/client/_app/immutable/assets/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
  25. package/packages/web/build/client/_app/immutable/assets/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
  26. package/packages/web/build/client/_app/immutable/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
  27. package/packages/web/build/client/_app/immutable/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
  28. package/packages/web/build/client/_app/immutable/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
  29. package/packages/web/build/client/_app/immutable/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
  30. package/packages/web/build/client/_app/immutable/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
  31. package/packages/web/build/client/_app/immutable/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
  32. package/packages/web/build/client/_app/immutable/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
  33. package/packages/web/build/client/_app/immutable/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
  34. package/packages/web/build/client/_app/immutable/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
  35. package/packages/web/build/client/_app/immutable/assets/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
  36. package/packages/web/build/client/_app/immutable/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
  37. package/packages/web/build/client/_app/immutable/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
  38. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
  39. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
  40. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
  41. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
  42. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
  43. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
  44. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
  45. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
  46. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
  47. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
  48. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
  49. package/packages/web/build/client/_app/immutable/assets/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
  50. package/packages/web/build/client/_app/immutable/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
  51. package/packages/web/build/client/_app/immutable/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
  52. package/packages/web/build/client/_app/immutable/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
  53. package/packages/web/build/client/_app/immutable/assets/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
  54. package/packages/web/build/client/_app/immutable/assets/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
  55. package/packages/web/build/client/_app/immutable/assets/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
  56. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
  57. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
  58. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
  59. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
  60. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
  61. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
  62. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
  63. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
  64. package/packages/web/build/client/_app/immutable/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
  65. package/packages/web/build/client/_app/immutable/assets/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
  66. package/packages/web/build/client/_app/immutable/assets/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
  67. package/packages/web/build/client/_app/immutable/assets/KaTeX_Script-Regular.D5yQViql.woff +0 -0
  68. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size1-Regular.C195tn64.woff +0 -0
  69. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf +0 -0
  70. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2 +0 -0
  71. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf +0 -0
  72. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2 +0 -0
  73. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size2-Regular.oD1tc_U0.woff +0 -0
  74. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size3-Regular.CTq5MqoE.woff +0 -0
  75. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf +0 -0
  76. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size4-Regular.BF-4gkZK.woff +0 -0
  77. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size4-Regular.DWFBv043.ttf +0 -0
  78. package/packages/web/build/client/_app/immutable/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2 +0 -0
  79. package/packages/web/build/client/_app/immutable/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff +0 -0
  80. package/packages/web/build/client/_app/immutable/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2 +0 -0
  81. package/packages/web/build/client/_app/immutable/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf +0 -0
  82. package/packages/web/build/client/_app/immutable/assets/MemoryChangeItem.BWIhbozZ.css +1 -0
  83. package/packages/web/build/client/_app/immutable/assets/MemoryChangeItem.BWIhbozZ.css.br +0 -0
  84. package/packages/web/build/client/_app/immutable/assets/MemoryChangeItem.BWIhbozZ.css.gz +0 -0
  85. package/packages/web/build/client/_app/immutable/chunks/4PUAD6Hn.js +1 -0
  86. package/packages/web/build/client/_app/immutable/chunks/4PUAD6Hn.js.br +0 -0
  87. package/packages/web/build/client/_app/immutable/chunks/4PUAD6Hn.js.gz +0 -0
  88. package/packages/web/build/client/_app/immutable/chunks/5DnhI3WV.js +1 -0
  89. package/packages/web/build/client/_app/immutable/chunks/5DnhI3WV.js.br +0 -0
  90. package/packages/web/build/client/_app/immutable/chunks/5DnhI3WV.js.gz +0 -0
  91. package/packages/web/build/client/_app/immutable/chunks/9KY5PuID.js +1 -0
  92. package/packages/web/build/client/_app/immutable/chunks/9KY5PuID.js.br +0 -0
  93. package/packages/web/build/client/_app/immutable/chunks/9KY5PuID.js.gz +0 -0
  94. package/packages/web/build/client/_app/immutable/chunks/B3B6Llhi.js +1 -0
  95. package/packages/web/build/client/_app/immutable/chunks/B3B6Llhi.js.br +0 -0
  96. package/packages/web/build/client/_app/immutable/chunks/B3B6Llhi.js.gz +0 -0
  97. package/packages/web/build/client/_app/immutable/chunks/BEiyvTDv.js +2 -0
  98. package/packages/web/build/client/_app/immutable/chunks/BEiyvTDv.js.br +0 -0
  99. package/packages/web/build/client/_app/immutable/chunks/BEiyvTDv.js.gz +0 -0
  100. package/packages/web/build/client/_app/immutable/chunks/BEuWFR46.js +1 -0
  101. package/packages/web/build/client/_app/immutable/chunks/BEuWFR46.js.br +0 -0
  102. package/packages/web/build/client/_app/immutable/chunks/BEuWFR46.js.gz +0 -0
  103. package/packages/web/build/client/_app/immutable/chunks/BFs5OywM.js +1 -0
  104. package/packages/web/build/client/_app/immutable/chunks/BFs5OywM.js.br +2 -0
  105. package/packages/web/build/client/_app/immutable/chunks/BFs5OywM.js.gz +0 -0
  106. package/packages/web/build/client/_app/immutable/chunks/BHlj8PXn.js +1 -0
  107. package/packages/web/build/client/_app/immutable/chunks/BHlj8PXn.js.br +0 -0
  108. package/packages/web/build/client/_app/immutable/chunks/BHlj8PXn.js.gz +0 -0
  109. package/packages/web/build/client/_app/immutable/chunks/BNRbPhhf.js +1 -0
  110. package/packages/web/build/client/_app/immutable/chunks/BNRbPhhf.js.br +0 -0
  111. package/packages/web/build/client/_app/immutable/chunks/BNRbPhhf.js.gz +0 -0
  112. package/packages/web/build/client/_app/immutable/chunks/BOat6vK8.js +1 -0
  113. package/packages/web/build/client/_app/immutable/chunks/BOat6vK8.js.br +0 -0
  114. package/packages/web/build/client/_app/immutable/chunks/BOat6vK8.js.gz +0 -0
  115. package/packages/web/build/client/_app/immutable/chunks/BV31-W0q.js +1 -0
  116. package/packages/web/build/client/_app/immutable/chunks/BV31-W0q.js.br +0 -0
  117. package/packages/web/build/client/_app/immutable/chunks/BV31-W0q.js.gz +0 -0
  118. package/packages/web/build/client/_app/immutable/chunks/BX510Kfl.js +1 -0
  119. package/packages/web/build/client/_app/immutable/chunks/BX510Kfl.js.br +0 -0
  120. package/packages/web/build/client/_app/immutable/chunks/BX510Kfl.js.gz +0 -0
  121. package/packages/web/build/client/_app/immutable/chunks/BiJmfCpk.js +5 -0
  122. package/packages/web/build/client/_app/immutable/chunks/BiJmfCpk.js.br +0 -0
  123. package/packages/web/build/client/_app/immutable/chunks/BiJmfCpk.js.gz +0 -0
  124. package/packages/web/build/client/_app/immutable/chunks/Bj1mFvu3.js +1 -0
  125. package/packages/web/build/client/_app/immutable/chunks/Bj1mFvu3.js.br +0 -0
  126. package/packages/web/build/client/_app/immutable/chunks/Bj1mFvu3.js.gz +0 -0
  127. package/packages/web/build/client/_app/immutable/chunks/Bm7dan1t.js +31 -0
  128. package/packages/web/build/client/_app/immutable/chunks/Bm7dan1t.js.br +0 -0
  129. package/packages/web/build/client/_app/immutable/chunks/Bm7dan1t.js.gz +0 -0
  130. package/packages/web/build/client/_app/immutable/chunks/Bo_rsWL9.js +1 -0
  131. package/packages/web/build/client/_app/immutable/chunks/Bo_rsWL9.js.br +0 -0
  132. package/packages/web/build/client/_app/immutable/chunks/Bo_rsWL9.js.gz +0 -0
  133. package/packages/web/build/client/_app/immutable/chunks/BqRUHvKF.js +1 -0
  134. package/packages/web/build/client/_app/immutable/chunks/BqRUHvKF.js.br +0 -0
  135. package/packages/web/build/client/_app/immutable/chunks/BqRUHvKF.js.gz +0 -0
  136. package/packages/web/build/client/_app/immutable/chunks/BvYIXZ8H.js +1 -0
  137. package/packages/web/build/client/_app/immutable/chunks/BvYIXZ8H.js.br +0 -0
  138. package/packages/web/build/client/_app/immutable/chunks/BvYIXZ8H.js.gz +0 -0
  139. package/packages/web/build/client/_app/immutable/chunks/BxvcrS4t.js +1 -0
  140. package/packages/web/build/client/_app/immutable/chunks/BxvcrS4t.js.br +0 -0
  141. package/packages/web/build/client/_app/immutable/chunks/BxvcrS4t.js.gz +0 -0
  142. package/packages/web/build/client/_app/immutable/chunks/CDTqLtoU.js +1 -0
  143. package/packages/web/build/client/_app/immutable/chunks/CDTqLtoU.js.br +0 -0
  144. package/packages/web/build/client/_app/immutable/chunks/CDTqLtoU.js.gz +0 -0
  145. package/packages/web/build/client/_app/immutable/chunks/CGBW4BXA.js +1 -0
  146. package/packages/web/build/client/_app/immutable/chunks/CGBW4BXA.js.br +0 -0
  147. package/packages/web/build/client/_app/immutable/chunks/CGBW4BXA.js.gz +0 -0
  148. package/packages/web/build/client/_app/immutable/chunks/CGQ98Bzn.js +1 -0
  149. package/packages/web/build/client/_app/immutable/chunks/CGQ98Bzn.js.br +0 -0
  150. package/packages/web/build/client/_app/immutable/chunks/CGQ98Bzn.js.gz +0 -0
  151. package/packages/web/build/client/_app/immutable/chunks/CZifjVB9.js +67 -0
  152. package/packages/web/build/client/_app/immutable/chunks/CZifjVB9.js.br +0 -0
  153. package/packages/web/build/client/_app/immutable/chunks/CZifjVB9.js.gz +0 -0
  154. package/packages/web/build/client/_app/immutable/chunks/CcGIu5Vq.js +1 -0
  155. package/packages/web/build/client/_app/immutable/chunks/CcGIu5Vq.js.br +0 -0
  156. package/packages/web/build/client/_app/immutable/chunks/CcGIu5Vq.js.gz +0 -0
  157. package/packages/web/build/client/_app/immutable/chunks/Ck2bNKM1.js +1 -0
  158. package/packages/web/build/client/_app/immutable/chunks/Ck2bNKM1.js.br +0 -0
  159. package/packages/web/build/client/_app/immutable/chunks/Ck2bNKM1.js.gz +0 -0
  160. package/packages/web/build/client/_app/immutable/chunks/Cke9De8L.js +9 -0
  161. package/packages/web/build/client/_app/immutable/chunks/Cke9De8L.js.br +0 -0
  162. package/packages/web/build/client/_app/immutable/chunks/Cke9De8L.js.gz +0 -0
  163. package/packages/web/build/client/_app/immutable/chunks/CokZjUvP.js +327 -0
  164. package/packages/web/build/client/_app/immutable/chunks/CokZjUvP.js.br +0 -0
  165. package/packages/web/build/client/_app/immutable/chunks/CokZjUvP.js.gz +0 -0
  166. package/packages/web/build/client/_app/immutable/chunks/Cq-Be9D4.js +1 -0
  167. package/packages/web/build/client/_app/immutable/chunks/Cq-Be9D4.js.br +0 -0
  168. package/packages/web/build/client/_app/immutable/chunks/Cq-Be9D4.js.gz +0 -0
  169. package/packages/web/build/client/_app/immutable/chunks/CwTujmI2.js +1 -0
  170. package/packages/web/build/client/_app/immutable/chunks/CwTujmI2.js.br +0 -0
  171. package/packages/web/build/client/_app/immutable/chunks/CwTujmI2.js.gz +0 -0
  172. package/packages/web/build/client/_app/immutable/chunks/D-qajCIk.js +1 -0
  173. package/packages/web/build/client/_app/immutable/chunks/D-qajCIk.js.br +0 -0
  174. package/packages/web/build/client/_app/immutable/chunks/D-qajCIk.js.gz +0 -0
  175. package/packages/web/build/client/_app/immutable/chunks/D0gG26QQ.js +1 -0
  176. package/packages/web/build/client/_app/immutable/chunks/D0gG26QQ.js.br +0 -0
  177. package/packages/web/build/client/_app/immutable/chunks/D0gG26QQ.js.gz +0 -0
  178. package/packages/web/build/client/_app/immutable/chunks/D6PEWnLY.js +1 -0
  179. package/packages/web/build/client/_app/immutable/chunks/D6PEWnLY.js.br +0 -0
  180. package/packages/web/build/client/_app/immutable/chunks/D6PEWnLY.js.gz +0 -0
  181. package/packages/web/build/client/_app/immutable/chunks/D6S7I_wu.js +1 -0
  182. package/packages/web/build/client/_app/immutable/chunks/D6S7I_wu.js.br +0 -0
  183. package/packages/web/build/client/_app/immutable/chunks/D6S7I_wu.js.gz +0 -0
  184. package/packages/web/build/client/_app/immutable/chunks/DC4U80pb.js +1 -0
  185. package/packages/web/build/client/_app/immutable/chunks/DC4U80pb.js.br +3 -0
  186. package/packages/web/build/client/_app/immutable/chunks/DC4U80pb.js.gz +0 -0
  187. package/packages/web/build/client/_app/immutable/chunks/DIcXkfTb.js +1 -0
  188. package/packages/web/build/client/_app/immutable/chunks/DIcXkfTb.js.br +1 -0
  189. package/packages/web/build/client/_app/immutable/chunks/DIcXkfTb.js.gz +0 -0
  190. package/packages/web/build/client/_app/immutable/chunks/DJaeCx-L.js +1 -0
  191. package/packages/web/build/client/_app/immutable/chunks/DJaeCx-L.js.br +4 -0
  192. package/packages/web/build/client/_app/immutable/chunks/DJaeCx-L.js.gz +0 -0
  193. package/packages/web/build/client/_app/immutable/chunks/DMj7Nf4H.js +1 -0
  194. package/packages/web/build/client/_app/immutable/chunks/DMj7Nf4H.js.br +0 -0
  195. package/packages/web/build/client/_app/immutable/chunks/DMj7Nf4H.js.gz +0 -0
  196. package/packages/web/build/client/_app/immutable/chunks/DOvq77PD.js +1 -0
  197. package/packages/web/build/client/_app/immutable/chunks/DOvq77PD.js.br +0 -0
  198. package/packages/web/build/client/_app/immutable/chunks/DOvq77PD.js.gz +0 -0
  199. package/packages/web/build/client/_app/immutable/chunks/DTFYOzqo.js +1 -0
  200. package/packages/web/build/client/_app/immutable/chunks/DTFYOzqo.js.br +0 -0
  201. package/packages/web/build/client/_app/immutable/chunks/DTFYOzqo.js.gz +0 -0
  202. package/packages/web/build/client/_app/immutable/chunks/DcDwQDix.js +1 -0
  203. package/packages/web/build/client/_app/immutable/chunks/DcDwQDix.js.br +0 -0
  204. package/packages/web/build/client/_app/immutable/chunks/DcDwQDix.js.gz +0 -0
  205. package/packages/web/build/client/_app/immutable/chunks/DgZpnHfl.js +1 -0
  206. package/packages/web/build/client/_app/immutable/chunks/DgZpnHfl.js.br +0 -0
  207. package/packages/web/build/client/_app/immutable/chunks/DgZpnHfl.js.gz +0 -0
  208. package/packages/web/build/client/_app/immutable/chunks/DhgCoR6K.js +261 -0
  209. package/packages/web/build/client/_app/immutable/chunks/DhgCoR6K.js.br +0 -0
  210. package/packages/web/build/client/_app/immutable/chunks/DhgCoR6K.js.gz +0 -0
  211. package/packages/web/build/client/_app/immutable/chunks/DlQYf8zG.js +1 -0
  212. package/packages/web/build/client/_app/immutable/chunks/DlQYf8zG.js.br +0 -0
  213. package/packages/web/build/client/_app/immutable/chunks/DlQYf8zG.js.gz +0 -0
  214. package/packages/web/build/client/_app/immutable/chunks/Doe9BmDt.js +1 -0
  215. package/packages/web/build/client/_app/immutable/chunks/Doe9BmDt.js.br +0 -0
  216. package/packages/web/build/client/_app/immutable/chunks/Doe9BmDt.js.gz +0 -0
  217. package/packages/web/build/client/_app/immutable/chunks/Dtntqkaz.js +1 -0
  218. package/packages/web/build/client/_app/immutable/chunks/Dtntqkaz.js.br +0 -0
  219. package/packages/web/build/client/_app/immutable/chunks/Dtntqkaz.js.gz +0 -0
  220. package/packages/web/build/client/_app/immutable/chunks/DvW6dDDr.js +1 -0
  221. package/packages/web/build/client/_app/immutable/chunks/DvW6dDDr.js.br +0 -0
  222. package/packages/web/build/client/_app/immutable/chunks/DvW6dDDr.js.gz +0 -0
  223. package/packages/web/build/client/_app/immutable/chunks/DvwwtGJX.js +1 -0
  224. package/packages/web/build/client/_app/immutable/chunks/DvwwtGJX.js.br +0 -0
  225. package/packages/web/build/client/_app/immutable/chunks/DvwwtGJX.js.gz +0 -0
  226. package/packages/web/build/client/_app/immutable/chunks/GB5YcQWH.js +1 -0
  227. package/packages/web/build/client/_app/immutable/chunks/GB5YcQWH.js.br +0 -0
  228. package/packages/web/build/client/_app/immutable/chunks/GB5YcQWH.js.gz +0 -0
  229. package/packages/web/build/client/_app/immutable/chunks/N5ZTPF8d.js +1 -0
  230. package/packages/web/build/client/_app/immutable/chunks/N5ZTPF8d.js.br +0 -0
  231. package/packages/web/build/client/_app/immutable/chunks/N5ZTPF8d.js.gz +0 -0
  232. package/packages/web/build/client/_app/immutable/chunks/OszGRQS8.js +1 -0
  233. package/packages/web/build/client/_app/immutable/chunks/OszGRQS8.js.br +5 -0
  234. package/packages/web/build/client/_app/immutable/chunks/OszGRQS8.js.gz +0 -0
  235. package/packages/web/build/client/_app/immutable/chunks/PbrvVWdR.js +1 -0
  236. package/packages/web/build/client/_app/immutable/chunks/PbrvVWdR.js.br +0 -0
  237. package/packages/web/build/client/_app/immutable/chunks/PbrvVWdR.js.gz +0 -0
  238. package/packages/web/build/client/_app/immutable/chunks/crM_JIeq.js +1 -0
  239. package/packages/web/build/client/_app/immutable/chunks/crM_JIeq.js.br +0 -0
  240. package/packages/web/build/client/_app/immutable/chunks/crM_JIeq.js.gz +0 -0
  241. package/packages/web/build/client/_app/immutable/chunks/dJUISQ0D.js +1 -0
  242. package/packages/web/build/client/_app/immutable/chunks/dJUISQ0D.js.br +0 -0
  243. package/packages/web/build/client/_app/immutable/chunks/dJUISQ0D.js.gz +0 -0
  244. package/packages/web/build/client/_app/immutable/chunks/dp9f0HTI.js +1 -0
  245. package/packages/web/build/client/_app/immutable/chunks/dp9f0HTI.js.br +0 -0
  246. package/packages/web/build/client/_app/immutable/chunks/dp9f0HTI.js.gz +0 -0
  247. package/packages/web/build/client/_app/immutable/chunks/eVN8j5Zj.js +1 -0
  248. package/packages/web/build/client/_app/immutable/chunks/eVN8j5Zj.js.br +0 -0
  249. package/packages/web/build/client/_app/immutable/chunks/eVN8j5Zj.js.gz +0 -0
  250. package/packages/web/build/client/_app/immutable/chunks/m-CsyuMo.js +1 -0
  251. package/packages/web/build/client/_app/immutable/chunks/m-CsyuMo.js.br +0 -0
  252. package/packages/web/build/client/_app/immutable/chunks/m-CsyuMo.js.gz +0 -0
  253. package/packages/web/build/client/_app/immutable/chunks/nCUftdRl.js +1 -0
  254. package/packages/web/build/client/_app/immutable/chunks/nCUftdRl.js.br +0 -0
  255. package/packages/web/build/client/_app/immutable/chunks/nCUftdRl.js.gz +0 -0
  256. package/packages/web/build/client/_app/immutable/chunks/xWImVVsw.js +1 -0
  257. package/packages/web/build/client/_app/immutable/chunks/xWImVVsw.js.br +0 -0
  258. package/packages/web/build/client/_app/immutable/chunks/xWImVVsw.js.gz +0 -0
  259. package/packages/web/build/client/_app/immutable/chunks/zo8EncEu.js +1 -0
  260. package/packages/web/build/client/_app/immutable/chunks/zo8EncEu.js.br +0 -0
  261. package/packages/web/build/client/_app/immutable/chunks/zo8EncEu.js.gz +0 -0
  262. package/packages/web/build/client/_app/immutable/chunks/zuA9NU4f.js +1 -0
  263. package/packages/web/build/client/_app/immutable/chunks/zuA9NU4f.js.br +0 -0
  264. package/packages/web/build/client/_app/immutable/chunks/zuA9NU4f.js.gz +0 -0
  265. package/packages/web/build/client/_app/immutable/entry/app.D-KOuAJD.js +2 -0
  266. package/packages/web/build/client/_app/immutable/entry/app.D-KOuAJD.js.br +0 -0
  267. package/packages/web/build/client/_app/immutable/entry/app.D-KOuAJD.js.gz +0 -0
  268. package/packages/web/build/client/_app/immutable/entry/start.IVIfXqZa.js +1 -0
  269. package/packages/web/build/client/_app/immutable/entry/start.IVIfXqZa.js.br +0 -0
  270. package/packages/web/build/client/_app/immutable/entry/start.IVIfXqZa.js.gz +0 -0
  271. package/packages/web/build/client/_app/immutable/nodes/0.Dl7QTsEW.js +1 -0
  272. package/packages/web/build/client/_app/immutable/nodes/0.Dl7QTsEW.js.br +0 -0
  273. package/packages/web/build/client/_app/immutable/nodes/0.Dl7QTsEW.js.gz +0 -0
  274. package/packages/web/build/client/_app/immutable/nodes/1.C3FY3xx7.js +1 -0
  275. package/packages/web/build/client/_app/immutable/nodes/1.C3FY3xx7.js.br +3 -0
  276. package/packages/web/build/client/_app/immutable/nodes/1.C3FY3xx7.js.gz +0 -0
  277. package/packages/web/build/client/_app/immutable/nodes/10.DU8uzpk3.js +2 -0
  278. package/packages/web/build/client/_app/immutable/nodes/10.DU8uzpk3.js.br +0 -0
  279. package/packages/web/build/client/_app/immutable/nodes/10.DU8uzpk3.js.gz +0 -0
  280. package/packages/web/build/client/_app/immutable/nodes/11.CWXGNZsH.js +1 -0
  281. package/packages/web/build/client/_app/immutable/nodes/11.CWXGNZsH.js.br +0 -0
  282. package/packages/web/build/client/_app/immutable/nodes/11.CWXGNZsH.js.gz +0 -0
  283. package/packages/web/build/client/_app/immutable/nodes/12.D8oPN9It.js +1 -0
  284. package/packages/web/build/client/_app/immutable/nodes/12.D8oPN9It.js.br +0 -0
  285. package/packages/web/build/client/_app/immutable/nodes/12.D8oPN9It.js.gz +0 -0
  286. package/packages/web/build/client/_app/immutable/nodes/13.DlmupEgK.js +4 -0
  287. package/packages/web/build/client/_app/immutable/nodes/13.DlmupEgK.js.br +0 -0
  288. package/packages/web/build/client/_app/immutable/nodes/13.DlmupEgK.js.gz +0 -0
  289. package/packages/web/build/client/_app/immutable/nodes/14.DYXttXGs.js +1 -0
  290. package/packages/web/build/client/_app/immutable/nodes/14.DYXttXGs.js.br +0 -0
  291. package/packages/web/build/client/_app/immutable/nodes/14.DYXttXGs.js.gz +0 -0
  292. package/packages/web/build/client/_app/immutable/nodes/15.EZnTFds4.js +1 -0
  293. package/packages/web/build/client/_app/immutable/nodes/15.EZnTFds4.js.br +0 -0
  294. package/packages/web/build/client/_app/immutable/nodes/15.EZnTFds4.js.gz +0 -0
  295. package/packages/web/build/client/_app/immutable/nodes/16.DAKM59ho.js +2 -0
  296. package/packages/web/build/client/_app/immutable/nodes/16.DAKM59ho.js.br +0 -0
  297. package/packages/web/build/client/_app/immutable/nodes/16.DAKM59ho.js.gz +0 -0
  298. package/packages/web/build/client/_app/immutable/nodes/17.PkgTK81g.js +1 -0
  299. package/packages/web/build/client/_app/immutable/nodes/17.PkgTK81g.js.br +0 -0
  300. package/packages/web/build/client/_app/immutable/nodes/17.PkgTK81g.js.gz +0 -0
  301. package/packages/web/build/client/_app/immutable/nodes/18.vRqsEe52.js +1 -0
  302. package/packages/web/build/client/_app/immutable/nodes/18.vRqsEe52.js.br +0 -0
  303. package/packages/web/build/client/_app/immutable/nodes/18.vRqsEe52.js.gz +0 -0
  304. package/packages/web/build/client/_app/immutable/nodes/19.DBdb0Lg_.js +46 -0
  305. package/packages/web/build/client/_app/immutable/nodes/19.DBdb0Lg_.js.br +0 -0
  306. package/packages/web/build/client/_app/immutable/nodes/19.DBdb0Lg_.js.gz +0 -0
  307. package/packages/web/build/client/_app/immutable/nodes/2.DPQ3zIod.js +1 -0
  308. package/packages/web/build/client/_app/immutable/nodes/2.DPQ3zIod.js.br +0 -0
  309. package/packages/web/build/client/_app/immutable/nodes/2.DPQ3zIod.js.gz +0 -0
  310. package/packages/web/build/client/_app/immutable/nodes/20.BCcqHCci.js +1 -0
  311. package/packages/web/build/client/_app/immutable/nodes/20.BCcqHCci.js.br +0 -0
  312. package/packages/web/build/client/_app/immutable/nodes/20.BCcqHCci.js.gz +0 -0
  313. package/packages/web/build/client/_app/immutable/nodes/4.Gll3vIPZ.js +2 -0
  314. package/packages/web/build/client/_app/immutable/nodes/4.Gll3vIPZ.js.br +0 -0
  315. package/packages/web/build/client/_app/immutable/nodes/4.Gll3vIPZ.js.gz +0 -0
  316. package/packages/web/build/client/_app/immutable/nodes/5.CKcOR7bM.js +1 -0
  317. package/packages/web/build/client/_app/immutable/nodes/5.CKcOR7bM.js.br +0 -0
  318. package/packages/web/build/client/_app/immutable/nodes/5.CKcOR7bM.js.gz +0 -0
  319. package/packages/web/build/client/_app/immutable/nodes/6.BEyvFFIp.js +1 -0
  320. package/packages/web/build/client/_app/immutable/nodes/6.BEyvFFIp.js.br +0 -0
  321. package/packages/web/build/client/_app/immutable/nodes/6.BEyvFFIp.js.gz +0 -0
  322. package/packages/web/build/client/_app/immutable/nodes/7.B-JUQ_Vr.js +2 -0
  323. package/packages/web/build/client/_app/immutable/nodes/7.B-JUQ_Vr.js.br +0 -0
  324. package/packages/web/build/client/_app/immutable/nodes/7.B-JUQ_Vr.js.gz +0 -0
  325. package/packages/web/build/client/_app/immutable/nodes/8.DhFg-aY8.js +1 -0
  326. package/packages/web/build/client/_app/immutable/nodes/8.DhFg-aY8.js.br +0 -0
  327. package/packages/web/build/client/_app/immutable/nodes/8.DhFg-aY8.js.gz +0 -0
  328. package/packages/web/build/client/_app/immutable/nodes/9.DjKCQ1l3.js +1 -0
  329. package/packages/web/build/client/_app/immutable/nodes/9.DjKCQ1l3.js.br +0 -0
  330. package/packages/web/build/client/_app/immutable/nodes/9.DjKCQ1l3.js.gz +0 -0
  331. package/packages/web/build/client/_app/version.json +1 -1
  332. package/packages/web/build/client/_app/version.json.br +0 -0
  333. package/packages/web/build/client/_app/version.json.gz +0 -0
  334. package/packages/web/build/handler.js +4 -4
  335. package/packages/web/build/index.js +4 -4
  336. package/packages/web/build/server/chunks/chunks/AssistantAvatar.js-DiCVVVOX.js +293 -0
  337. package/packages/web/build/server/chunks/chunks/AvatarPicker.js-DfQIN8YI.js +135 -0
  338. package/packages/web/build/server/chunks/chunks/Composer.js-BD9XUuTX.js +332 -0
  339. package/packages/web/build/server/chunks/chunks/ComposerDock.js-DTvu7Y-J.js +58 -0
  340. package/packages/web/build/server/chunks/chunks/CopyButton.js-3lPgmWGZ.js +81 -0
  341. package/packages/web/build/server/chunks/chunks/DotGrid.js-DhkaOwvR.js +108 -0
  342. package/packages/web/build/server/chunks/chunks/MemoryChangeItem.js-CszZww43.js +15975 -0
  343. package/packages/web/build/server/chunks/chunks/ModelMenu.js--hauzhKu.js +684 -0
  344. package/packages/web/build/server/chunks/chunks/MoveToFolderMenu.js-C3-ONxWK.js +289 -0
  345. package/packages/web/build/server/chunks/chunks/NewChatForm.js-41aer8-y.js +306 -0
  346. package/packages/web/build/server/chunks/chunks/NewFolderDialog.js-BLDWgamm.js +193 -0
  347. package/packages/web/build/server/chunks/chunks/Notifications.js-D2m19ylY.js +763 -0
  348. package/packages/web/build/server/chunks/chunks/PageHeader.js-BTQt3nN6.js +70 -0
  349. package/packages/web/build/server/chunks/chunks/PlanUsageBars.js-Bjg4JeO1.js +111 -0
  350. package/packages/web/build/server/chunks/chunks/RenameFolderDialog.js-C4A6RwYh.js +259 -0
  351. package/packages/web/build/server/chunks/chunks/StepIcon.js-B1rGP1yW.js +38 -0
  352. package/packages/web/build/server/chunks/chunks/TopBar.js-iFEw-ZP1.js +37 -0
  353. package/packages/web/build/server/chunks/chunks/TypedText.js-CBDH4RYQ.js +62 -0
  354. package/packages/web/build/server/chunks/chunks/UserAvatar.js-DY0XLih9.js +23 -0
  355. package/packages/web/build/server/chunks/chunks/UserMenu.js-D2M71Qwt.js +1539 -0
  356. package/packages/web/build/server/chunks/chunks/access.js-BLcZsmEF.js +40 -0
  357. package/packages/web/build/server/chunks/chunks/accounts.js-7I_MmVRG.js +26 -0
  358. package/packages/web/build/server/chunks/chunks/alert-dialog.js-dXbEUmyf.js +504 -0
  359. package/packages/web/build/server/chunks/chunks/api.js-b7cn5PbW.js +40 -0
  360. package/packages/web/build/server/chunks/chunks/auth.js-D3TBJ-bo.js +20064 -0
  361. package/packages/web/build/server/chunks/chunks/automations.js-PTpqQWo0.js +198 -0
  362. package/packages/web/build/server/chunks/chunks/avatars.js-C3tB5SlK.js +506 -0
  363. package/packages/web/build/server/chunks/chunks/badge.js-CV8ujLk7.js +37 -0
  364. package/packages/web/build/server/chunks/chunks/button.js-DgaDzlsw.js +4025 -0
  365. package/packages/web/build/server/chunks/chunks/camera.js-D9wejCUZ.js +19 -0
  366. package/packages/web/build/server/chunks/chunks/chats.js-C_ParQQi.js +62 -0
  367. package/packages/web/build/server/chunks/chunks/check.js-CWziLHT9.js +15 -0
  368. package/packages/web/build/server/chunks/chunks/chevron-left.js-C0GGjrDT.js +15 -0
  369. package/packages/web/build/server/chunks/chunks/chevron-right.js-DAWR16mM.js +15 -0
  370. package/packages/web/build/server/chunks/chunks/chevrons-up-down.js-DEP-qqg4.js +15 -0
  371. package/packages/web/build/server/chunks/chunks/client.js-UAJMOZ3E.js +120 -0
  372. package/packages/web/build/server/chunks/chunks/clock.js-DoLCyX6L.js +19 -0
  373. package/packages/web/build/server/chunks/chunks/coerce.js-DyM7nUNl.js +8477 -0
  374. package/packages/web/build/server/chunks/chunks/collapsible.js-CWSyjrbz.js +410 -0
  375. package/packages/web/build/server/chunks/chunks/command.js-CIlfdltM.js +2231 -0
  376. package/packages/web/build/server/chunks/chunks/dialog.js-CuTPiEih.js +543 -0
  377. package/packages/web/build/server/chunks/chunks/dist.js-BmWeTHnS.js +600 -0
  378. package/packages/web/build/server/chunks/chunks/dist2.js-BbxQLlSx.js +347 -0
  379. package/packages/web/build/server/chunks/chunks/dist3.js-GCNglsxk.js +19547 -0
  380. package/packages/web/build/server/chunks/chunks/download.js-Dw_s_V8T.js +19 -0
  381. package/packages/web/build/server/chunks/chunks/dropdown-menu.js-klnL3AVI.js +2395 -0
  382. package/packages/web/build/server/chunks/chunks/eraser.js-B8-m3VQ3.js +15 -0
  383. package/packages/web/build/server/chunks/chunks/factory.js-DwhAilJf.js +2344 -0
  384. package/packages/web/build/server/chunks/chunks/folder-input.js-xU4i7Wj1.js +19 -0
  385. package/packages/web/build/server/chunks/chunks/forms.js-0RsYOm25.js +32 -0
  386. package/packages/web/build/server/chunks/chunks/hidden-input.js-DQrYkjSR.js +47 -0
  387. package/packages/web/build/server/chunks/chunks/i18n.js-DOMtD7OV.js +7498 -0
  388. package/packages/web/build/server/chunks/chunks/images.js-Cw521alT.js +124 -0
  389. package/packages/web/build/server/chunks/chunks/internal2.js-BmQF3qCw.js +1135 -0
  390. package/packages/web/build/server/chunks/chunks/ios.js-Dc1DLp61.js +12 -0
  391. package/packages/web/build/server/chunks/chunks/list-collapse.js-BHdkhU7D.js +21 -0
  392. package/packages/web/build/server/chunks/chunks/memory.js-cU4wowLn.js +42 -0
  393. package/packages/web/build/server/chunks/chunks/memory2.js-B4MEEi_Z.js +26 -0
  394. package/packages/web/build/server/chunks/chunks/message-circle.js-BZjpL54j.js +15 -0
  395. package/packages/web/build/server/chunks/chunks/moon-star.js-DATlVG-W.js +34 -0
  396. package/packages/web/build/server/chunks/chunks/motion.js-CtOKcu-x.js +224 -0
  397. package/packages/web/build/server/chunks/chunks/navigation.js-BgKL4O5J.js +2 -0
  398. package/packages/web/build/server/chunks/chunks/paths.js-CSblJkdx.js +19 -0
  399. package/packages/web/build/server/chunks/chunks/pencil.js-BBP970JE.js +15 -0
  400. package/packages/web/build/server/chunks/chunks/plan-usage.svelte.js-CuVZYFIH.js +27 -0
  401. package/packages/web/build/server/chunks/chunks/plus.js-AAFvEbhZ.js +15 -0
  402. package/packages/web/build/server/chunks/chunks/sdk.js-Jx-nl9-6.js +42918 -0
  403. package/packages/web/build/server/chunks/chunks/select.js-Cy8QwqOr.js +1964 -0
  404. package/packages/web/build/server/chunks/chunks/sidebar.js-f3cS5ugL.js +1498 -0
  405. package/packages/web/build/server/chunks/chunks/square-pen.js-BiHIfF48.js +20 -0
  406. package/packages/web/build/server/chunks/chunks/src.js-OCqmpAMD.js +43095 -0
  407. package/packages/web/build/server/chunks/chunks/state.js-DWKXB_zq.js +67 -0
  408. package/packages/web/build/server/chunks/chunks/switch.js-BO_aEltM.js +282 -0
  409. package/packages/web/build/server/chunks/chunks/terminal.js-W_lgKCde.js +15 -0
  410. package/packages/web/build/server/chunks/chunks/textarea.js-G8C1SPzx.js +24 -0
  411. package/packages/web/build/server/chunks/chunks/tint.js-CQnYLySf.js +146 -0
  412. package/packages/web/build/server/chunks/chunks/tooltip.js-CNshopM4.js +5862 -0
  413. package/packages/web/build/server/chunks/chunks/transcript.js-BZDJbNRI.js +267 -0
  414. package/packages/web/build/server/chunks/chunks/utils2.js-7mvaj0Jt.js +1165 -0
  415. package/packages/web/build/server/chunks/chunks/zod.js-CKsfx39Z.js +10352 -0
  416. package/packages/web/build/server/chunks/chunks/zod2.js-Ccq3O23H.js +5 -0
  417. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/_server.ts.js-BDDKHG1l.js +60 -0
  418. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/activity/_server.ts.js-GDXhPCE8.js +62 -0
  419. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/commands/_server.ts.js-Dw4dM1cn.js +56 -0
  420. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/compact/_server.ts.js-DIlzvAaT.js +54 -0
  421. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/continue/_server.ts.js-ClVUaSCp.js +47 -0
  422. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/effort/_server.ts.js-vchFw6_5.js +48 -0
  423. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/events/_server.ts.js-BD_hfnT_.js +75 -0
  424. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/folder/_server.ts.js-Hg5sAdUd.js +56 -0
  425. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/media/_mediaId_/_server.ts.js-BltgwP2L.js +53 -0
  426. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/messages/_server.ts.js-CcH8Kxjp.js +59 -0
  427. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/preset/_server.ts.js-DUVNriIz.js +52 -0
  428. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/stop/_server.ts.js--3yx-DoO.js +45 -0
  429. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/tools/_server.ts.js-6-x8ZmEo.js +53 -0
  430. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/transcript/_server.ts.js-DAu9zOJy.js +74 -0
  431. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/typing/_server.ts.js-BRyNNa9m.js +51 -0
  432. package/packages/web/build/server/chunks/entries/endpoints/api/card/changes/_id_/keep/_server.ts.js-CB_T-S_a.js +60 -0
  433. package/packages/web/build/server/chunks/entries/endpoints/api/chatgpt/sign-in/_server.ts.js-BxvRvNbI.js +75 -0
  434. package/packages/web/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DUNvDYk9.js +89 -0
  435. package/packages/web/build/server/chunks/entries/endpoints/api/hooks/_token_/_server.ts.js-hZxLZWb8.js +51 -0
  436. package/packages/web/build/server/chunks/entries/endpoints/api/me/_server.ts.js-Dqb5Fu2v.js +66 -0
  437. package/packages/web/build/server/chunks/entries/endpoints/api/me/picture/_server.ts.js--PNClZau.js +62 -0
  438. package/packages/web/build/server/chunks/entries/endpoints/api/models/_server.ts.js-DOZpKrMU.js +58 -0
  439. package/packages/web/build/server/chunks/entries/endpoints/api/nolune-plan/sign-in/_server.ts.js-BmoDszdu.js +78 -0
  440. package/packages/web/build/server/chunks/entries/endpoints/api/nolune-plan/usage/_server.ts.js-BA1Jw8lm.js +49 -0
  441. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/_id_/continue/_server.ts.js-DEIKGp_x.js +52 -0
  442. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/_id_/dismiss/_server.ts.js-rdqvWXF-.js +44 -0
  443. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/_server.ts.js-ElmEZbXP.js +42 -0
  444. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/clear/_server.ts.js-B2WJwUC1.js +45 -0
  445. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/seen/_server.ts.js-eo_dP1CX.js +45 -0
  446. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/_server.ts.js-Ddx3D0-M.js +46 -0
  447. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/automations/_id_/_server.ts.js-DO-1Nz4W.js +85 -0
  448. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/automations/_id_/run/_server.ts.js-C9HdWdoG.js +60 -0
  449. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/automations/_server.ts.js-CXt08BQW.js +49 -0
  450. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/chats/_server.ts.js-Cg31SY8j.js +91 -0
  451. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_folder_/_server.ts.js-Apm3R_Oc.js +96 -0
  452. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_folder_/files/_file_/_server.ts.js-DFvf5pAy.js +64 -0
  453. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_folder_/files/_server.ts.js-CvJ1he2a.js +69 -0
  454. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_server.ts.js-epz6RwOJ.js +67 -0
  455. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/images/_server.ts.js-6IqNsR8x.js +74 -0
  456. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/members/_server.ts.js-BD5lTTiu.js +62 -0
  457. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/members/_user_/_server.ts.js-BixJY3H5.js +67 -0
  458. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/memory/_id_/undo/_server.ts.js-c82dPky5.js +60 -0
  459. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/memory/_server.ts.js-y_nNK3OY.js +49 -0
  460. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/memory/learning/_server.ts.js-B1tP4nh8.js +48 -0
  461. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/memory/moves/_server.ts.js-CeRKDlWx.js +62 -0
  462. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/memory/notes/_server.ts.js-CJ1evniS.js +72 -0
  463. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/new-chat/_server.ts.js-CWoRuJ_a.js +67 -0
  464. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/running/_server.ts.js-Bh_cQWoi.js +81 -0
  465. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/settings/_server.ts.js-BqbDWift.js +79 -0
  466. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/skills/_server.ts.js-Bzr7Ln8I.js +66 -0
  467. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/suggestions/_server.ts.js-CebVSt0Y.js +55 -0
  468. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/templates/_id_/cover/_server.ts.js-OzVH7VFf.js +61 -0
  469. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_id_/_server.ts.js-CMxAdbsX.js +46 -0
  470. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_server.ts.js-CXouE2I7.js +73 -0
  471. package/packages/web/build/server/chunks/entries/endpoints/api/pictures/_sha256_/_server.ts.js-B2XdyrbF.js +56 -0
  472. package/packages/web/build/server/chunks/entries/endpoints/api/profiles/_server.ts.js-Dt2xMSgK.js +55 -0
  473. package/packages/web/build/server/chunks/entries/endpoints/api/push/_server.ts.js-c2JeodvM.js +63 -0
  474. package/packages/web/build/server/chunks/entries/endpoints/api/version/_server.ts.js-Begjkqmv.js +47 -0
  475. package/packages/web/build/server/chunks/entries/endpoints/logout/_server.ts.js-idjrT7dp.js +47 -0
  476. package/packages/web/build/server/chunks/entries/fallbacks/error.svelte.js-DlgTQda6.js +22 -0
  477. package/packages/web/build/server/chunks/entries/hooks.server.js-DGIhty0N.js +3463 -0
  478. package/packages/web/build/server/chunks/entries/pages/_layout.server.ts.js-CaMWskO2.js +45 -0
  479. package/packages/web/build/server/chunks/entries/pages/_layout.svelte.js-CInBfTlO.js +92 -0
  480. package/packages/web/build/server/chunks/entries/pages/_page.server.ts.js-hcuICfdX.js +27 -0
  481. package/packages/web/build/server/chunks/entries/pages/admin/_page.server.ts.js-BdH0Fb0C.js +414 -0
  482. package/packages/web/build/server/chunks/entries/pages/admin/_page.svelte.js-C-LvOC0D.js +2723 -0
  483. package/packages/web/build/server/chunks/entries/pages/admin/people/_page.server.ts.js-D3x7CWA2.js +130 -0
  484. package/packages/web/build/server/chunks/entries/pages/admin/people/_page.svelte.js-C-JgZqfh.js +575 -0
  485. package/packages/web/build/server/chunks/entries/pages/admin/services/_page.server.ts.js-DByyMwVK.js +223 -0
  486. package/packages/web/build/server/chunks/entries/pages/admin/services/_page.svelte.js-CkWT7WWB.js +745 -0
  487. package/packages/web/build/server/chunks/entries/pages/card/_page.server.ts.js-CSM5MY1g.js +75 -0
  488. package/packages/web/build/server/chunks/entries/pages/card/_page.svelte.js-DEUN4aif.js +373 -0
  489. package/packages/web/build/server/chunks/entries/pages/invite/_token_/_page.server.ts.js-Hg8pdoM0.js +63 -0
  490. package/packages/web/build/server/chunks/entries/pages/invite/_token_/_page.svelte.js-CdBKzpks.js +126 -0
  491. package/packages/web/build/server/chunks/entries/pages/login/_page.server.ts.js-BBCDF3vx.js +42 -0
  492. package/packages/web/build/server/chunks/entries/pages/login/_page.svelte.js-Rz05sb7N.js +77 -0
  493. package/packages/web/build/server/chunks/entries/pages/mcp/oauth/callback/_page.server.ts.js-DH5rfB74.js +59 -0
  494. package/packages/web/build/server/chunks/entries/pages/mcp/oauth/callback/_page.svelte.js-DIU0dKwJ.js +41 -0
  495. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_layout.server.ts.js-D4_Irj4x.js +53 -0
  496. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_layout.svelte.js-Bt_yKsQy.js +1901 -0
  497. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_page.server.ts.js-WsLnbCGo.js +58 -0
  498. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_page.svelte.js-BPNqXA7_.js +154 -0
  499. package/packages/web/build/server/chunks/entries/pages/p/_slug_/automations/_page.server.ts.js-BBByFA1j.js +85 -0
  500. package/packages/web/build/server/chunks/entries/pages/p/_slug_/automations/_page.svelte.js-V4mkZPcq.js +414 -0
  501. package/packages/web/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.server.ts.js-DU5DMrJo.js +73 -0
  502. package/packages/web/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.svelte.js-Dy4VZ3vg.js +2545 -0
  503. package/packages/web/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.server.ts.js-Cxg3_T_H.js +103 -0
  504. package/packages/web/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.svelte.js-7cnMQFtg.js +325 -0
  505. package/packages/web/build/server/chunks/entries/pages/p/_slug_/images/_page.server.ts.js-6r7H1qwP.js +45 -0
  506. package/packages/web/build/server/chunks/entries/pages/p/_slug_/images/_page.svelte.js-9Y_iZaMK.js +513 -0
  507. package/packages/web/build/server/chunks/entries/pages/p/_slug_/memory/_page.server.ts.js-DlMyiCYF.js +85 -0
  508. package/packages/web/build/server/chunks/entries/pages/p/_slug_/memory/_page.svelte.js-DawB9d5u.js +969 -0
  509. package/packages/web/build/server/chunks/entries/pages/p/_slug_/settings/_page.server.ts.js-CGL1lDNf.js +106 -0
  510. package/packages/web/build/server/chunks/entries/pages/p/_slug_/settings/_page.svelte.js-BXmRl2tD.js +585 -0
  511. package/packages/web/build/server/chunks/entries/pages/p/_slug_/skills/_page.server.ts.js-BOvkYTur.js +45 -0
  512. package/packages/web/build/server/chunks/entries/pages/p/_slug_/skills/_page.svelte.js-D1DRakEJ.js +132 -0
  513. package/packages/web/build/server/chunks/entries/pages/p/_slug_/welcome/_page.server.ts.js-C6gnoXOT.js +142 -0
  514. package/packages/web/build/server/chunks/entries/pages/p/_slug_/welcome/_page@.svelte.js-BG65rcFm.js +223 -0
  515. package/packages/web/build/server/chunks/entries/pages/profiles/_page.server.ts.js-DmWovIst.js +47 -0
  516. package/packages/web/build/server/chunks/entries/pages/profiles/_page.svelte.js-DVKymUZe.js +241 -0
  517. package/packages/web/build/server/chunks/handler-DYe7c_gy.js +1735 -0
  518. package/packages/web/build/server/chunks/index.js-jS0dbO4t.js +3700 -0
  519. package/packages/web/build/server/chunks/manifest.js-BgqcFT5h.js +599 -0
  520. package/packages/web/build/server/chunks/nodes/0.js-CX9FLBmF.js +46 -0
  521. package/packages/web/build/server/chunks/nodes/1.js-DRqBnMU0.js +9 -0
  522. package/packages/web/build/server/chunks/nodes/10.js-BVWgcD9i.js +44 -0
  523. package/packages/web/build/server/chunks/nodes/11.js-DwelFuZ4.js +50 -0
  524. package/packages/web/build/server/chunks/nodes/12.js-BJfkvADe.js +48 -0
  525. package/packages/web/build/server/chunks/nodes/13.js-CoDVyc7U.js +48 -0
  526. package/packages/web/build/server/chunks/nodes/14.js-D1QRfYIT.js +47 -0
  527. package/packages/web/build/server/chunks/nodes/15.js-CCAQV2IA.js +48 -0
  528. package/packages/web/build/server/chunks/nodes/16.js-CV5zTaaO.js +48 -0
  529. package/packages/web/build/server/chunks/nodes/17.js-9iB6Scpy.js +47 -0
  530. package/packages/web/build/server/chunks/nodes/18.js-CwnmxqR9.js +47 -0
  531. package/packages/web/build/server/chunks/nodes/19.js-ROtMXSrs.js +47 -0
  532. package/packages/web/build/server/chunks/nodes/2.js-Crv2kihA.js +49 -0
  533. package/packages/web/build/server/chunks/nodes/20.js-C25dCNsU.js +47 -0
  534. package/packages/web/build/server/chunks/nodes/3.js-BMHnrrJk.js +48 -0
  535. package/packages/web/build/server/chunks/nodes/4.js-CL0tEcdg.js +48 -0
  536. package/packages/web/build/server/chunks/nodes/5.js-CbwL2pfa.js +49 -0
  537. package/packages/web/build/server/chunks/nodes/6.js-DY4caScP.js +47 -0
  538. package/packages/web/build/server/chunks/nodes/7.js-BQpO5-aZ.js +47 -0
  539. package/packages/web/build/server/chunks/nodes/8.js-DNN_HejS.js +52 -0
  540. package/packages/web/build/server/chunks/nodes/9.js-DiPBM89-.js +51 -0
  541. package/dist/chunks/chunk-SAHRBQRY.js +0 -110
  542. package/dist/chunks/run-XM7YIEAW.js +0 -24454
  543. package/dist/chunks/zod-H7KMPIPH.js +0 -19934
  544. package/packages/web/build/client/_app/immutable/assets/0.DTnuPoms.css +0 -2
  545. package/packages/web/build/client/_app/immutable/assets/0.DTnuPoms.css.br +0 -0
  546. package/packages/web/build/client/_app/immutable/assets/0.DTnuPoms.css.gz +0 -0
  547. package/packages/web/build/client/_app/immutable/assets/11.DZmZHLub.css +0 -1
  548. package/packages/web/build/client/_app/immutable/assets/11.DZmZHLub.css.br +0 -6
  549. package/packages/web/build/client/_app/immutable/assets/11.DZmZHLub.css.gz +0 -0
  550. package/packages/web/build/client/_app/immutable/chunks/AwlnAPt_.js +0 -31
  551. package/packages/web/build/client/_app/immutable/chunks/AwlnAPt_.js.br +0 -0
  552. package/packages/web/build/client/_app/immutable/chunks/AwlnAPt_.js.gz +0 -0
  553. package/packages/web/build/client/_app/immutable/chunks/B0psERp-.js +0 -1
  554. package/packages/web/build/client/_app/immutable/chunks/B0psERp-.js.br +0 -0
  555. package/packages/web/build/client/_app/immutable/chunks/B0psERp-.js.gz +0 -0
  556. package/packages/web/build/client/_app/immutable/chunks/B4dOTQGI.js +0 -1
  557. package/packages/web/build/client/_app/immutable/chunks/B4dOTQGI.js.br +0 -3
  558. package/packages/web/build/client/_app/immutable/chunks/B4dOTQGI.js.gz +0 -0
  559. package/packages/web/build/client/_app/immutable/chunks/B6dKebLF.js +0 -1
  560. package/packages/web/build/client/_app/immutable/chunks/B6dKebLF.js.br +0 -0
  561. package/packages/web/build/client/_app/immutable/chunks/B6dKebLF.js.gz +0 -0
  562. package/packages/web/build/client/_app/immutable/chunks/B7tXsaud.js +0 -1
  563. package/packages/web/build/client/_app/immutable/chunks/B7tXsaud.js.br +0 -0
  564. package/packages/web/build/client/_app/immutable/chunks/B7tXsaud.js.gz +0 -0
  565. package/packages/web/build/client/_app/immutable/chunks/BCb2FcX-.js +0 -1
  566. package/packages/web/build/client/_app/immutable/chunks/BCb2FcX-.js.br +0 -0
  567. package/packages/web/build/client/_app/immutable/chunks/BCb2FcX-.js.gz +0 -0
  568. package/packages/web/build/client/_app/immutable/chunks/BEHPE67f.js +0 -1
  569. package/packages/web/build/client/_app/immutable/chunks/BEHPE67f.js.br +0 -4
  570. package/packages/web/build/client/_app/immutable/chunks/BEHPE67f.js.gz +0 -0
  571. package/packages/web/build/client/_app/immutable/chunks/BGRx4LH4.js +0 -1
  572. package/packages/web/build/client/_app/immutable/chunks/BGRx4LH4.js.br +0 -2
  573. package/packages/web/build/client/_app/immutable/chunks/BGRx4LH4.js.gz +0 -0
  574. package/packages/web/build/client/_app/immutable/chunks/BQcXnbnC.js +0 -1
  575. package/packages/web/build/client/_app/immutable/chunks/BQcXnbnC.js.br +0 -0
  576. package/packages/web/build/client/_app/immutable/chunks/BQcXnbnC.js.gz +0 -0
  577. package/packages/web/build/client/_app/immutable/chunks/BU1lfrAt.js +0 -1
  578. package/packages/web/build/client/_app/immutable/chunks/BU1lfrAt.js.br +0 -0
  579. package/packages/web/build/client/_app/immutable/chunks/BU1lfrAt.js.gz +0 -0
  580. package/packages/web/build/client/_app/immutable/chunks/BUCG0TDu.js +0 -1
  581. package/packages/web/build/client/_app/immutable/chunks/BUCG0TDu.js.br +0 -0
  582. package/packages/web/build/client/_app/immutable/chunks/BUCG0TDu.js.gz +0 -0
  583. package/packages/web/build/client/_app/immutable/chunks/BVy43h-D.js +0 -1
  584. package/packages/web/build/client/_app/immutable/chunks/BVy43h-D.js.br +0 -0
  585. package/packages/web/build/client/_app/immutable/chunks/BVy43h-D.js.gz +0 -0
  586. package/packages/web/build/client/_app/immutable/chunks/BhOcmMP6.js +0 -67
  587. package/packages/web/build/client/_app/immutable/chunks/BhOcmMP6.js.br +0 -0
  588. package/packages/web/build/client/_app/immutable/chunks/BhOcmMP6.js.gz +0 -0
  589. package/packages/web/build/client/_app/immutable/chunks/BnPnx1BS.js +0 -1
  590. package/packages/web/build/client/_app/immutable/chunks/BnPnx1BS.js.br +0 -0
  591. package/packages/web/build/client/_app/immutable/chunks/BnPnx1BS.js.gz +0 -0
  592. package/packages/web/build/client/_app/immutable/chunks/BtJh6BW0.js +0 -1
  593. package/packages/web/build/client/_app/immutable/chunks/BtJh6BW0.js.br +0 -0
  594. package/packages/web/build/client/_app/immutable/chunks/BtJh6BW0.js.gz +0 -0
  595. package/packages/web/build/client/_app/immutable/chunks/C238of6k.js +0 -1
  596. package/packages/web/build/client/_app/immutable/chunks/C238of6k.js.br +0 -0
  597. package/packages/web/build/client/_app/immutable/chunks/C238of6k.js.gz +0 -0
  598. package/packages/web/build/client/_app/immutable/chunks/C3AiOJdj.js +0 -5
  599. package/packages/web/build/client/_app/immutable/chunks/C3AiOJdj.js.br +0 -0
  600. package/packages/web/build/client/_app/immutable/chunks/C3AiOJdj.js.gz +0 -0
  601. package/packages/web/build/client/_app/immutable/chunks/C4Xqr7Fj.js +0 -1
  602. package/packages/web/build/client/_app/immutable/chunks/C4Xqr7Fj.js.br +0 -0
  603. package/packages/web/build/client/_app/immutable/chunks/C4Xqr7Fj.js.gz +0 -0
  604. package/packages/web/build/client/_app/immutable/chunks/C5iI_OsH.js +0 -1
  605. package/packages/web/build/client/_app/immutable/chunks/C5iI_OsH.js.br +0 -0
  606. package/packages/web/build/client/_app/immutable/chunks/C5iI_OsH.js.gz +0 -0
  607. package/packages/web/build/client/_app/immutable/chunks/CA_XVn89.js +0 -1
  608. package/packages/web/build/client/_app/immutable/chunks/CA_XVn89.js.br +0 -2
  609. package/packages/web/build/client/_app/immutable/chunks/CA_XVn89.js.gz +0 -0
  610. package/packages/web/build/client/_app/immutable/chunks/CAz7hU5S.js +0 -1
  611. package/packages/web/build/client/_app/immutable/chunks/CAz7hU5S.js.br +0 -0
  612. package/packages/web/build/client/_app/immutable/chunks/CAz7hU5S.js.gz +0 -0
  613. package/packages/web/build/client/_app/immutable/chunks/CCibcuvE.js +0 -1
  614. package/packages/web/build/client/_app/immutable/chunks/CCibcuvE.js.br +0 -0
  615. package/packages/web/build/client/_app/immutable/chunks/CCibcuvE.js.gz +0 -0
  616. package/packages/web/build/client/_app/immutable/chunks/CE2DpKar.js +0 -2
  617. package/packages/web/build/client/_app/immutable/chunks/CE2DpKar.js.br +0 -0
  618. package/packages/web/build/client/_app/immutable/chunks/CE2DpKar.js.gz +0 -0
  619. package/packages/web/build/client/_app/immutable/chunks/CGiFplSA.js +0 -1
  620. package/packages/web/build/client/_app/immutable/chunks/CGiFplSA.js.br +0 -0
  621. package/packages/web/build/client/_app/immutable/chunks/CGiFplSA.js.gz +0 -0
  622. package/packages/web/build/client/_app/immutable/chunks/CQSR9BkJ.js +0 -1
  623. package/packages/web/build/client/_app/immutable/chunks/CQSR9BkJ.js.br +0 -0
  624. package/packages/web/build/client/_app/immutable/chunks/CQSR9BkJ.js.gz +0 -0
  625. package/packages/web/build/client/_app/immutable/chunks/CXS58JOV.js +0 -1
  626. package/packages/web/build/client/_app/immutable/chunks/CXS58JOV.js.br +0 -0
  627. package/packages/web/build/client/_app/immutable/chunks/CXS58JOV.js.gz +0 -0
  628. package/packages/web/build/client/_app/immutable/chunks/C_rGKciz.js +0 -9
  629. package/packages/web/build/client/_app/immutable/chunks/C_rGKciz.js.br +0 -0
  630. package/packages/web/build/client/_app/immutable/chunks/C_rGKciz.js.gz +0 -0
  631. package/packages/web/build/client/_app/immutable/chunks/CaahyXtC.js +0 -1
  632. package/packages/web/build/client/_app/immutable/chunks/CaahyXtC.js.br +0 -0
  633. package/packages/web/build/client/_app/immutable/chunks/CaahyXtC.js.gz +0 -0
  634. package/packages/web/build/client/_app/immutable/chunks/CfHYzoiD.js +0 -1
  635. package/packages/web/build/client/_app/immutable/chunks/CfHYzoiD.js.br +0 -0
  636. package/packages/web/build/client/_app/immutable/chunks/CfHYzoiD.js.gz +0 -0
  637. package/packages/web/build/client/_app/immutable/chunks/ClEpdm9X.js +0 -1
  638. package/packages/web/build/client/_app/immutable/chunks/ClEpdm9X.js.br +0 -3
  639. package/packages/web/build/client/_app/immutable/chunks/ClEpdm9X.js.gz +0 -0
  640. package/packages/web/build/client/_app/immutable/chunks/ClSwhmjL.js +0 -1
  641. package/packages/web/build/client/_app/immutable/chunks/ClSwhmjL.js.br +0 -0
  642. package/packages/web/build/client/_app/immutable/chunks/ClSwhmjL.js.gz +0 -0
  643. package/packages/web/build/client/_app/immutable/chunks/ClppYdjP.js +0 -1
  644. package/packages/web/build/client/_app/immutable/chunks/ClppYdjP.js.br +0 -0
  645. package/packages/web/build/client/_app/immutable/chunks/ClppYdjP.js.gz +0 -0
  646. package/packages/web/build/client/_app/immutable/chunks/CmM-4RFG.js +0 -1
  647. package/packages/web/build/client/_app/immutable/chunks/CmM-4RFG.js.br +0 -0
  648. package/packages/web/build/client/_app/immutable/chunks/CmM-4RFG.js.gz +0 -0
  649. package/packages/web/build/client/_app/immutable/chunks/CpXfakoi.js +0 -1
  650. package/packages/web/build/client/_app/immutable/chunks/CpXfakoi.js.br +0 -0
  651. package/packages/web/build/client/_app/immutable/chunks/CpXfakoi.js.gz +0 -0
  652. package/packages/web/build/client/_app/immutable/chunks/CrCk-NyX.js +0 -1
  653. package/packages/web/build/client/_app/immutable/chunks/CrCk-NyX.js.br +0 -0
  654. package/packages/web/build/client/_app/immutable/chunks/CrCk-NyX.js.gz +0 -0
  655. package/packages/web/build/client/_app/immutable/chunks/CywApwhc.js +0 -1
  656. package/packages/web/build/client/_app/immutable/chunks/CywApwhc.js.br +0 -0
  657. package/packages/web/build/client/_app/immutable/chunks/CywApwhc.js.gz +0 -0
  658. package/packages/web/build/client/_app/immutable/chunks/D31s_g8n.js +0 -5
  659. package/packages/web/build/client/_app/immutable/chunks/D31s_g8n.js.br +0 -0
  660. package/packages/web/build/client/_app/immutable/chunks/D31s_g8n.js.gz +0 -0
  661. package/packages/web/build/client/_app/immutable/chunks/DDRoGIP9.js +0 -1
  662. package/packages/web/build/client/_app/immutable/chunks/DDRoGIP9.js.br +0 -0
  663. package/packages/web/build/client/_app/immutable/chunks/DDRoGIP9.js.gz +0 -0
  664. package/packages/web/build/client/_app/immutable/chunks/DGcS8KSS.js +0 -1
  665. package/packages/web/build/client/_app/immutable/chunks/DGcS8KSS.js.br +0 -0
  666. package/packages/web/build/client/_app/immutable/chunks/DGcS8KSS.js.gz +0 -0
  667. package/packages/web/build/client/_app/immutable/chunks/DK1UHLR-.js +0 -1
  668. package/packages/web/build/client/_app/immutable/chunks/DK1UHLR-.js.br +0 -0
  669. package/packages/web/build/client/_app/immutable/chunks/DK1UHLR-.js.gz +0 -0
  670. package/packages/web/build/client/_app/immutable/chunks/DZk-gkAU.js +0 -1
  671. package/packages/web/build/client/_app/immutable/chunks/DZk-gkAU.js.br +0 -0
  672. package/packages/web/build/client/_app/immutable/chunks/DZk-gkAU.js.gz +0 -0
  673. package/packages/web/build/client/_app/immutable/chunks/DeP17kbD.js +0 -318
  674. package/packages/web/build/client/_app/immutable/chunks/DeP17kbD.js.br +0 -0
  675. package/packages/web/build/client/_app/immutable/chunks/DeP17kbD.js.gz +0 -0
  676. package/packages/web/build/client/_app/immutable/chunks/DelhG4NG.js +0 -1
  677. package/packages/web/build/client/_app/immutable/chunks/DelhG4NG.js.br +0 -0
  678. package/packages/web/build/client/_app/immutable/chunks/DelhG4NG.js.gz +0 -0
  679. package/packages/web/build/client/_app/immutable/chunks/DmAdEzQs.js +0 -1
  680. package/packages/web/build/client/_app/immutable/chunks/DmAdEzQs.js.br +0 -0
  681. package/packages/web/build/client/_app/immutable/chunks/DmAdEzQs.js.gz +0 -0
  682. package/packages/web/build/client/_app/immutable/chunks/DuG8sfLq.js +0 -1
  683. package/packages/web/build/client/_app/immutable/chunks/DuG8sfLq.js.br +0 -0
  684. package/packages/web/build/client/_app/immutable/chunks/DuG8sfLq.js.gz +0 -0
  685. package/packages/web/build/client/_app/immutable/chunks/GTRzOEzD.js +0 -1
  686. package/packages/web/build/client/_app/immutable/chunks/GTRzOEzD.js.br +0 -0
  687. package/packages/web/build/client/_app/immutable/chunks/GTRzOEzD.js.gz +0 -0
  688. package/packages/web/build/client/_app/immutable/chunks/IjF4KE1B.js +0 -1
  689. package/packages/web/build/client/_app/immutable/chunks/IjF4KE1B.js.br +0 -0
  690. package/packages/web/build/client/_app/immutable/chunks/IjF4KE1B.js.gz +0 -0
  691. package/packages/web/build/client/_app/immutable/chunks/MApZQR0b.js +0 -1
  692. package/packages/web/build/client/_app/immutable/chunks/MApZQR0b.js.br +0 -0
  693. package/packages/web/build/client/_app/immutable/chunks/MApZQR0b.js.gz +0 -0
  694. package/packages/web/build/client/_app/immutable/chunks/N3oV-8Ie.js +0 -1
  695. package/packages/web/build/client/_app/immutable/chunks/N3oV-8Ie.js.br +0 -0
  696. package/packages/web/build/client/_app/immutable/chunks/N3oV-8Ie.js.gz +0 -0
  697. package/packages/web/build/client/_app/immutable/chunks/iiqQqDMt.js +0 -1
  698. package/packages/web/build/client/_app/immutable/chunks/iiqQqDMt.js.br +0 -0
  699. package/packages/web/build/client/_app/immutable/chunks/iiqQqDMt.js.gz +0 -0
  700. package/packages/web/build/client/_app/immutable/chunks/k3ZB4WVm.js +0 -1
  701. package/packages/web/build/client/_app/immutable/chunks/k3ZB4WVm.js.br +0 -0
  702. package/packages/web/build/client/_app/immutable/chunks/k3ZB4WVm.js.gz +0 -0
  703. package/packages/web/build/client/_app/immutable/chunks/pAzEohwE.js +0 -1
  704. package/packages/web/build/client/_app/immutable/chunks/pAzEohwE.js.br +0 -3
  705. package/packages/web/build/client/_app/immutable/chunks/pAzEohwE.js.gz +0 -0
  706. package/packages/web/build/client/_app/immutable/chunks/vmc6srO5.js +0 -1
  707. package/packages/web/build/client/_app/immutable/chunks/vmc6srO5.js.br +0 -4
  708. package/packages/web/build/client/_app/immutable/chunks/vmc6srO5.js.gz +0 -0
  709. package/packages/web/build/client/_app/immutable/chunks/ypBpP4nr.js +0 -1
  710. package/packages/web/build/client/_app/immutable/chunks/ypBpP4nr.js.br +0 -0
  711. package/packages/web/build/client/_app/immutable/chunks/ypBpP4nr.js.gz +0 -0
  712. package/packages/web/build/client/_app/immutable/entry/app.D9io9O7v.js +0 -2
  713. package/packages/web/build/client/_app/immutable/entry/app.D9io9O7v.js.br +0 -0
  714. package/packages/web/build/client/_app/immutable/entry/app.D9io9O7v.js.gz +0 -0
  715. package/packages/web/build/client/_app/immutable/entry/start.BgaOwPMP.js +0 -1
  716. package/packages/web/build/client/_app/immutable/entry/start.BgaOwPMP.js.br +0 -1
  717. package/packages/web/build/client/_app/immutable/entry/start.BgaOwPMP.js.gz +0 -0
  718. package/packages/web/build/client/_app/immutable/nodes/0.C9CR-5kd.js +0 -1
  719. package/packages/web/build/client/_app/immutable/nodes/0.C9CR-5kd.js.br +0 -0
  720. package/packages/web/build/client/_app/immutable/nodes/0.C9CR-5kd.js.gz +0 -0
  721. package/packages/web/build/client/_app/immutable/nodes/1.DikBrROv.js +0 -1
  722. package/packages/web/build/client/_app/immutable/nodes/1.DikBrROv.js.br +0 -0
  723. package/packages/web/build/client/_app/immutable/nodes/1.DikBrROv.js.gz +0 -0
  724. package/packages/web/build/client/_app/immutable/nodes/10.3t9WnHvs.js +0 -1
  725. package/packages/web/build/client/_app/immutable/nodes/10.3t9WnHvs.js.br +0 -0
  726. package/packages/web/build/client/_app/immutable/nodes/10.3t9WnHvs.js.gz +0 -0
  727. package/packages/web/build/client/_app/immutable/nodes/11.Op2wvZXP.js +0 -4
  728. package/packages/web/build/client/_app/immutable/nodes/11.Op2wvZXP.js.br +0 -0
  729. package/packages/web/build/client/_app/immutable/nodes/11.Op2wvZXP.js.gz +0 -0
  730. package/packages/web/build/client/_app/immutable/nodes/12.CjrjNFKj.js +0 -1
  731. package/packages/web/build/client/_app/immutable/nodes/12.CjrjNFKj.js.br +0 -0
  732. package/packages/web/build/client/_app/immutable/nodes/12.CjrjNFKj.js.gz +0 -0
  733. package/packages/web/build/client/_app/immutable/nodes/13.CiddqUIq.js +0 -1
  734. package/packages/web/build/client/_app/immutable/nodes/13.CiddqUIq.js.br +0 -0
  735. package/packages/web/build/client/_app/immutable/nodes/13.CiddqUIq.js.gz +0 -0
  736. package/packages/web/build/client/_app/immutable/nodes/14.D189pX_R.js +0 -2
  737. package/packages/web/build/client/_app/immutable/nodes/14.D189pX_R.js.br +0 -0
  738. package/packages/web/build/client/_app/immutable/nodes/14.D189pX_R.js.gz +0 -0
  739. package/packages/web/build/client/_app/immutable/nodes/15.L9U9QVzo.js +0 -1
  740. package/packages/web/build/client/_app/immutable/nodes/15.L9U9QVzo.js.br +0 -0
  741. package/packages/web/build/client/_app/immutable/nodes/15.L9U9QVzo.js.gz +0 -0
  742. package/packages/web/build/client/_app/immutable/nodes/16.DSMrlY8n.js +0 -1
  743. package/packages/web/build/client/_app/immutable/nodes/16.DSMrlY8n.js.br +0 -0
  744. package/packages/web/build/client/_app/immutable/nodes/16.DSMrlY8n.js.gz +0 -0
  745. package/packages/web/build/client/_app/immutable/nodes/17.Bbk_u6OJ.js +0 -46
  746. package/packages/web/build/client/_app/immutable/nodes/17.Bbk_u6OJ.js.br +0 -0
  747. package/packages/web/build/client/_app/immutable/nodes/17.Bbk_u6OJ.js.gz +0 -0
  748. package/packages/web/build/client/_app/immutable/nodes/18.DV_cA_3-.js +0 -1
  749. package/packages/web/build/client/_app/immutable/nodes/18.DV_cA_3-.js.br +0 -0
  750. package/packages/web/build/client/_app/immutable/nodes/18.DV_cA_3-.js.gz +0 -0
  751. package/packages/web/build/client/_app/immutable/nodes/2.DJvpS8CT.js +0 -1
  752. package/packages/web/build/client/_app/immutable/nodes/2.DJvpS8CT.js.br +0 -0
  753. package/packages/web/build/client/_app/immutable/nodes/2.DJvpS8CT.js.gz +0 -0
  754. package/packages/web/build/client/_app/immutable/nodes/4.v0gFXgkE.js +0 -2
  755. package/packages/web/build/client/_app/immutable/nodes/4.v0gFXgkE.js.br +0 -0
  756. package/packages/web/build/client/_app/immutable/nodes/4.v0gFXgkE.js.gz +0 -0
  757. package/packages/web/build/client/_app/immutable/nodes/5.CvNd-aT1.js +0 -1
  758. package/packages/web/build/client/_app/immutable/nodes/5.CvNd-aT1.js.br +0 -0
  759. package/packages/web/build/client/_app/immutable/nodes/5.CvNd-aT1.js.gz +0 -0
  760. package/packages/web/build/client/_app/immutable/nodes/6.Cwb-H-e-.js +0 -2
  761. package/packages/web/build/client/_app/immutable/nodes/6.Cwb-H-e-.js.br +0 -0
  762. package/packages/web/build/client/_app/immutable/nodes/6.Cwb-H-e-.js.gz +0 -0
  763. package/packages/web/build/client/_app/immutable/nodes/7.BesKsRyM.js +0 -1
  764. package/packages/web/build/client/_app/immutable/nodes/7.BesKsRyM.js.br +0 -0
  765. package/packages/web/build/client/_app/immutable/nodes/7.BesKsRyM.js.gz +0 -0
  766. package/packages/web/build/client/_app/immutable/nodes/8.IWTTmi0T.js +0 -1
  767. package/packages/web/build/client/_app/immutable/nodes/8.IWTTmi0T.js.br +0 -0
  768. package/packages/web/build/client/_app/immutable/nodes/8.IWTTmi0T.js.gz +0 -0
  769. package/packages/web/build/client/_app/immutable/nodes/9.BksbXEiN.js +0 -1
  770. package/packages/web/build/client/_app/immutable/nodes/9.BksbXEiN.js.br +0 -0
  771. package/packages/web/build/client/_app/immutable/nodes/9.BksbXEiN.js.gz +0 -0
  772. package/packages/web/build/server/chunks/chunks/AssistantAvatar.js-BOElnrYl.js +0 -294
  773. package/packages/web/build/server/chunks/chunks/AvatarPicker.js-CLhSkMaB.js +0 -136
  774. package/packages/web/build/server/chunks/chunks/Composer.js-BbcT-FLv.js +0 -333
  775. package/packages/web/build/server/chunks/chunks/ComposerDock.js-B26-qji-.js +0 -58
  776. package/packages/web/build/server/chunks/chunks/CopyButton.js-Bg6aJO9i.js +0 -81
  777. package/packages/web/build/server/chunks/chunks/DotGrid.js-DEty8Ftx.js +0 -108
  778. package/packages/web/build/server/chunks/chunks/MemoryChangeItem.js-XSzCkKCr.js +0 -2588
  779. package/packages/web/build/server/chunks/chunks/ModelMenu.js-DyvxWk4C.js +0 -650
  780. package/packages/web/build/server/chunks/chunks/MoveToFolderMenu.js-BkRCW9eh.js +0 -288
  781. package/packages/web/build/server/chunks/chunks/NewChatForm.js-40tqChFh.js +0 -307
  782. package/packages/web/build/server/chunks/chunks/NewFolderDialog.js-C6CjVSY0.js +0 -192
  783. package/packages/web/build/server/chunks/chunks/Notifications.js-CQqL8zeJ.js +0 -762
  784. package/packages/web/build/server/chunks/chunks/PageHeader.js-BgCv8CGm.js +0 -59
  785. package/packages/web/build/server/chunks/chunks/RenameFolderDialog.js-BgF-2T2D.js +0 -258
  786. package/packages/web/build/server/chunks/chunks/StepIcon.js-ClUo5irL.js +0 -38
  787. package/packages/web/build/server/chunks/chunks/TopBar.js-nYKfnv4T.js +0 -34
  788. package/packages/web/build/server/chunks/chunks/TypedText.js-DM0Ozjdc.js +0 -62
  789. package/packages/web/build/server/chunks/chunks/UserAvatar.js-DKnmWp86.js +0 -24
  790. package/packages/web/build/server/chunks/chunks/UserMenu.js-CLVbCOpM.js +0 -1499
  791. package/packages/web/build/server/chunks/chunks/access.js-CMaS81rW.js +0 -40
  792. package/packages/web/build/server/chunks/chunks/accounts.js--GU4-Jf5.js +0 -26
  793. package/packages/web/build/server/chunks/chunks/alert-dialog.js-CZD6TyzD.js +0 -505
  794. package/packages/web/build/server/chunks/chunks/auth.js-CjtH41kh.js +0 -20064
  795. package/packages/web/build/server/chunks/chunks/avatars.js-qKyBQC6I.js +0 -496
  796. package/packages/web/build/server/chunks/chunks/badge.js-DhrZz9tJ.js +0 -38
  797. package/packages/web/build/server/chunks/chunks/camera.js-DMildJpv.js +0 -19
  798. package/packages/web/build/server/chunks/chunks/check.js-CgqvmEKJ.js +0 -15
  799. package/packages/web/build/server/chunks/chunks/chevron-left.js-DrLivp1c.js +0 -15
  800. package/packages/web/build/server/chunks/chunks/chevron-right.js-BVi8OuAb.js +0 -15
  801. package/packages/web/build/server/chunks/chunks/chevrons-up-down.js-BKkCIwCT.js +0 -15
  802. package/packages/web/build/server/chunks/chunks/client.js-Dg5neIp5.js +0 -120
  803. package/packages/web/build/server/chunks/chunks/clock.js-BK9UDxCS.js +0 -19
  804. package/packages/web/build/server/chunks/chunks/collapsible.js-QcUf1Ekr.js +0 -410
  805. package/packages/web/build/server/chunks/chunks/command.js-qzkTIb4n.js +0 -2231
  806. package/packages/web/build/server/chunks/chunks/dialog.js-DATXmio9.js +0 -544
  807. package/packages/web/build/server/chunks/chunks/dist.js-CHzkIw-w.js +0 -600
  808. package/packages/web/build/server/chunks/chunks/dist2.js-BypRVH9n.js +0 -347
  809. package/packages/web/build/server/chunks/chunks/dist3.js-uSfOYmy-.js +0 -19547
  810. package/packages/web/build/server/chunks/chunks/download.js-CrFy9e4X.js +0 -19
  811. package/packages/web/build/server/chunks/chunks/dropdown-menu.js-BMbh502s.js +0 -2396
  812. package/packages/web/build/server/chunks/chunks/eraser.js-BU4dlvFH.js +0 -15
  813. package/packages/web/build/server/chunks/chunks/factory.js-CQLK42R-.js +0 -2344
  814. package/packages/web/build/server/chunks/chunks/folder-input.js-DkjPvOkW.js +0 -19
  815. package/packages/web/build/server/chunks/chunks/forms.js-JM_GpxQF.js +0 -4052
  816. package/packages/web/build/server/chunks/chunks/hidden-input.js-CIt9W_5y.js +0 -47
  817. package/packages/web/build/server/chunks/chunks/i18n.js-Cakuk6U0.js +0 -6543
  818. package/packages/web/build/server/chunks/chunks/internal2.js-CM6RC5j4.js +0 -1135
  819. package/packages/web/build/server/chunks/chunks/key-round.js-BFVR2_CE.js +0 -20
  820. package/packages/web/build/server/chunks/chunks/memory.js-B4MEEi_Z.js +0 -26
  821. package/packages/web/build/server/chunks/chunks/message-circle.js-D49Sk0Wt.js +0 -15
  822. package/packages/web/build/server/chunks/chunks/motion.js-BGVcte_O.js +0 -224
  823. package/packages/web/build/server/chunks/chunks/paths.js-vTKfgV_W.js +0 -19
  824. package/packages/web/build/server/chunks/chunks/pencil.js-DrsRjIqk.js +0 -15
  825. package/packages/web/build/server/chunks/chunks/plus.js-E-pmHa3v.js +0 -15
  826. package/packages/web/build/server/chunks/chunks/sdk.js-B2ztN1Lk.js +0 -42918
  827. package/packages/web/build/server/chunks/chunks/select.js-CADiX1B7.js +0 -1965
  828. package/packages/web/build/server/chunks/chunks/shield-check.js-CifO8sPn.js +0 -29
  829. package/packages/web/build/server/chunks/chunks/sidebar.js-CjZAbET4.js +0 -1498
  830. package/packages/web/build/server/chunks/chunks/square-pen.js-CMKwoVdr.js +0 -20
  831. package/packages/web/build/server/chunks/chunks/src.js-DlynI0hv.js +0 -27000
  832. package/packages/web/build/server/chunks/chunks/state.js-DjG_xJ6v.js +0 -67
  833. package/packages/web/build/server/chunks/chunks/switch.js-BykxjriZ.js +0 -283
  834. package/packages/web/build/server/chunks/chunks/terminal.js-D6dBIpDn.js +0 -15
  835. package/packages/web/build/server/chunks/chunks/textarea.js-B5-NW0l1.js +0 -25
  836. package/packages/web/build/server/chunks/chunks/tint.js-DjJ-o_oc.js +0 -165
  837. package/packages/web/build/server/chunks/chunks/tooltip.js-CefNT6DH.js +0 -5863
  838. package/packages/web/build/server/chunks/chunks/usage.js-DNQuJpUU.js +0 -27
  839. package/packages/web/build/server/chunks/chunks/utils2.js-D1jvsxxx.js +0 -1167
  840. package/packages/web/build/server/chunks/chunks/zod.js-CWybfdic.js +0 -18824
  841. package/packages/web/build/server/chunks/chunks/zod2.js-D_b3bp3T.js +0 -4
  842. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/commands/_server.ts.js-DkJz0GER.js +0 -53
  843. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/continue/_server.ts.js-DwqrktqL.js +0 -44
  844. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/effort/_server.ts.js-BmjT-Ztn.js +0 -45
  845. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/events/_server.ts.js-B5EB81bi.js +0 -72
  846. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/folder/_server.ts.js-Dw0QpRlp.js +0 -53
  847. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/media/_mediaId_/_server.ts.js-Bx0OedB1.js +0 -51
  848. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/messages/_server.ts.js-DDYKj9gS.js +0 -56
  849. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/preset/_server.ts.js-DEJaoQV0.js +0 -49
  850. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/stop/_server.ts.js-Dw7fPXTJ.js +0 -42
  851. package/packages/web/build/server/chunks/entries/endpoints/api/c/_id_/typing/_server.ts.js-KhlfQb5X.js +0 -48
  852. package/packages/web/build/server/chunks/entries/endpoints/api/card/changes/_id_/keep/_server.ts.js-CpO5Tw0v.js +0 -57
  853. package/packages/web/build/server/chunks/entries/endpoints/api/chatgpt/sign-in/_server.ts.js-CGa-3Tfb.js +0 -72
  854. package/packages/web/build/server/chunks/entries/endpoints/api/events/_server.ts.js-BBNo5Duy.js +0 -83
  855. package/packages/web/build/server/chunks/entries/endpoints/api/hooks/_token_/_server.ts.js-DB0HkrPc.js +0 -48
  856. package/packages/web/build/server/chunks/entries/endpoints/api/me/_server.ts.js-b6-lm_Ed.js +0 -51
  857. package/packages/web/build/server/chunks/entries/endpoints/api/me/picture/_server.ts.js-CXaSRFEH.js +0 -59
  858. package/packages/web/build/server/chunks/entries/endpoints/api/models/_server.ts.js-lvH7AJAs.js +0 -55
  859. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/_id_/continue/_server.ts.js-DApMRDk0.js +0 -49
  860. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/_id_/dismiss/_server.ts.js-CrvUxZUu.js +0 -41
  861. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/clear/_server.ts.js-UXu_qsCl.js +0 -42
  862. package/packages/web/build/server/chunks/entries/endpoints/api/notifications/seen/_server.ts.js-DtA3xn3g.js +0 -42
  863. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_folder_/files/_file_/_server.ts.js-DysFASqZ.js +0 -55
  864. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_server.ts.js-BDEdyBpH.js +0 -56
  865. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/memory/_id_/undo/_server.ts.js-BZEyhdCW.js +0 -57
  866. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/running/_server.ts.js-NEH54dIz.js +0 -78
  867. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/suggestions/_server.ts.js-BhqMxAjp.js +0 -52
  868. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/templates/_id_/cover/_server.ts.js-rw9q81We.js +0 -58
  869. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_id_/_server.ts.js-B9fQriGr.js +0 -43
  870. package/packages/web/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_server.ts.js-D4v_ixwU.js +0 -71
  871. package/packages/web/build/server/chunks/entries/endpoints/api/pictures/_sha256_/_server.ts.js-YGGiBW89.js +0 -54
  872. package/packages/web/build/server/chunks/entries/endpoints/logout/_server.ts.js-D85x_95g.js +0 -45
  873. package/packages/web/build/server/chunks/entries/fallbacks/error.svelte.js-Cb-94Mjg.js +0 -22
  874. package/packages/web/build/server/chunks/entries/hooks.server.js-b1SYQXEi.js +0 -2983
  875. package/packages/web/build/server/chunks/entries/pages/_layout.server.ts.js-vgQ7FD_z.js +0 -41
  876. package/packages/web/build/server/chunks/entries/pages/_layout.svelte.js-BhzEqF95.js +0 -77
  877. package/packages/web/build/server/chunks/entries/pages/_page.server.ts.js-BybKXqua.js +0 -27
  878. package/packages/web/build/server/chunks/entries/pages/admin/_page.server.ts.js-Co8N9XsI.js +0 -345
  879. package/packages/web/build/server/chunks/entries/pages/admin/_page.svelte.js-C9m37bww.js +0 -2307
  880. package/packages/web/build/server/chunks/entries/pages/admin/people/_page.server.ts.js-DsxljIFN.js +0 -130
  881. package/packages/web/build/server/chunks/entries/pages/admin/people/_page.svelte.js-CL25VFst.js +0 -574
  882. package/packages/web/build/server/chunks/entries/pages/card/_page.server.ts.js-fZyd9NoG.js +0 -75
  883. package/packages/web/build/server/chunks/entries/pages/card/_page.svelte.js-BtRHLxTx.js +0 -372
  884. package/packages/web/build/server/chunks/entries/pages/invite/_token_/_page.server.ts.js-B8OQFrQp.js +0 -63
  885. package/packages/web/build/server/chunks/entries/pages/invite/_token_/_page.svelte.js-hd2quW3N.js +0 -125
  886. package/packages/web/build/server/chunks/entries/pages/login/_page.server.ts.js-DOcT1tgp.js +0 -42
  887. package/packages/web/build/server/chunks/entries/pages/login/_page.svelte.js-C5Auxspy.js +0 -74
  888. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_layout.server.ts.js-BvbpH7aa.js +0 -53
  889. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_layout.svelte.js-B10sZUKN.js +0 -1900
  890. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_page.server.ts.js-C3Y9wk8O.js +0 -78
  891. package/packages/web/build/server/chunks/entries/pages/p/_slug_/_page.svelte.js-CoRMdrPQ.js +0 -152
  892. package/packages/web/build/server/chunks/entries/pages/p/_slug_/automations/_page.server.ts.js-BbMLCUDA.js +0 -269
  893. package/packages/web/build/server/chunks/entries/pages/p/_slug_/automations/_page.svelte.js-DPU6YXHJ.js +0 -414
  894. package/packages/web/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.server.ts.js-DRgVXOxV.js +0 -73
  895. package/packages/web/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.svelte.js-Ck3wDf_F.js +0 -2392
  896. package/packages/web/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.server.ts.js-DJVR3n50.js +0 -102
  897. package/packages/web/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.svelte.js-CLG-0wVy.js +0 -323
  898. package/packages/web/build/server/chunks/entries/pages/p/_slug_/images/_page.server.ts.js-BbBFc7eX.js +0 -145
  899. package/packages/web/build/server/chunks/entries/pages/p/_slug_/images/_page.svelte.js-Ta37_M_i.js +0 -513
  900. package/packages/web/build/server/chunks/entries/pages/p/_slug_/memory/_page.server.ts.js-CkQszCsV.js +0 -113
  901. package/packages/web/build/server/chunks/entries/pages/p/_slug_/memory/_page.svelte.js-DxgpLCGC.js +0 -968
  902. package/packages/web/build/server/chunks/entries/pages/p/_slug_/settings/_page.server.ts.js-ryYts05B.js +0 -106
  903. package/packages/web/build/server/chunks/entries/pages/p/_slug_/settings/_page.svelte.js-BvTcTRJQ.js +0 -584
  904. package/packages/web/build/server/chunks/entries/pages/p/_slug_/skills/_page.server.ts.js-BzVe8LHd.js +0 -45
  905. package/packages/web/build/server/chunks/entries/pages/p/_slug_/skills/_page.svelte.js-CJHcqQH5.js +0 -132
  906. package/packages/web/build/server/chunks/entries/pages/p/_slug_/welcome/_page.server.ts.js-onzZAX1Z.js +0 -134
  907. package/packages/web/build/server/chunks/entries/pages/p/_slug_/welcome/_page@.svelte.js-BnGdU_h4.js +0 -223
  908. package/packages/web/build/server/chunks/entries/pages/profiles/_page.server.ts.js-hGcjHBhU.js +0 -47
  909. package/packages/web/build/server/chunks/entries/pages/profiles/_page.svelte.js-BzuBRwOF.js +0 -240
  910. package/packages/web/build/server/chunks/handler-D2eW2iLl.js +0 -1735
  911. package/packages/web/build/server/chunks/index.js-DqF1GLH4.js +0 -3700
  912. package/packages/web/build/server/chunks/manifest.js-B7llprKy.js +0 -387
  913. package/packages/web/build/server/chunks/nodes/0.js-CIzCXL5D.js +0 -42
  914. package/packages/web/build/server/chunks/nodes/1.js-DRjbmxYH.js +0 -9
  915. package/packages/web/build/server/chunks/nodes/10.js-CDm72w6Y.js +0 -44
  916. package/packages/web/build/server/chunks/nodes/11.js-OnJr6Cw4.js +0 -44
  917. package/packages/web/build/server/chunks/nodes/12.js-CSZo_AVI.js +0 -44
  918. package/packages/web/build/server/chunks/nodes/13.js-B4R788aB.js +0 -44
  919. package/packages/web/build/server/chunks/nodes/14.js-l-KO8B-h.js +0 -44
  920. package/packages/web/build/server/chunks/nodes/15.js-CAtECzGW.js +0 -44
  921. package/packages/web/build/server/chunks/nodes/16.js-CmTEXhAq.js +0 -44
  922. package/packages/web/build/server/chunks/nodes/17.js-Gg-NPBzB.js +0 -44
  923. package/packages/web/build/server/chunks/nodes/18.js-BLTnO9SS.js +0 -44
  924. package/packages/web/build/server/chunks/nodes/2.js-CDq1qE_r.js +0 -46
  925. package/packages/web/build/server/chunks/nodes/3.js-BVsDtBU2.js +0 -45
  926. package/packages/web/build/server/chunks/nodes/4.js-Cpe8-dWC.js +0 -45
  927. package/packages/web/build/server/chunks/nodes/5.js-DFdbH2Du.js +0 -46
  928. package/packages/web/build/server/chunks/nodes/6.js-yJdLU7lq.js +0 -44
  929. package/packages/web/build/server/chunks/nodes/7.js-BoganRn1.js +0 -50
  930. package/packages/web/build/server/chunks/nodes/8.js-Diubq0AZ.js +0 -49
  931. package/packages/web/build/server/chunks/nodes/9.js-DXoagKbS.js +0 -46
  932. /package/packages/web/build/client/_app/immutable/assets/{13.DiHYpJ-g.css → 15.DiHYpJ-g.css} +0 -0
  933. /package/packages/web/build/client/_app/immutable/assets/{13.DiHYpJ-g.css.br → 15.DiHYpJ-g.css.br} +0 -0
  934. /package/packages/web/build/client/_app/immutable/assets/{13.DiHYpJ-g.css.gz → 15.DiHYpJ-g.css.gz} +0 -0
  935. /package/packages/web/build/client/_app/immutable/assets/{17.D8mCg27h.css → 19.D8mCg27h.css} +0 -0
  936. /package/packages/web/build/client/_app/immutable/assets/{17.D8mCg27h.css.br → 19.D8mCg27h.css.br} +0 -0
  937. /package/packages/web/build/client/_app/immutable/assets/{17.D8mCg27h.css.gz → 19.D8mCg27h.css.gz} +0 -0
package/DESIGN.md CHANGED
@@ -9,7 +9,7 @@ folder, skills and memory. The agent has a single tool, `run_command`.
9
9
  | Area | Decision |
10
10
  | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11
11
  | Execution | Commands run as the gateway's macOS user with full access to the disk. There is no sandbox. The profile folder is only the default working folder. In auto mode (the default) a model checks each command before it runs and blocks what could do harm nobody asked for, in place of a person approving each one; unrestricted runs them unchecked. See [Auto mode](#auto-mode). |
12
- | Clients | Family members use the web UI only. The CLI is for the owner and for the agent itself (skill templates, self-configuration, which the built-in `nolune` skill explains). |
12
+ | Clients | Family members use the web UI: in a browser, or in nolune for iOS (`ios/`), which shows it in an app of its own with the bell's notifications on the lock screen (see [The iOS app](#the-ios-app)). The CLI is for the owner and for the agent itself (skill templates, self-configuration, which the built-in `nolune` skill explains). |
13
13
  | Exposure | Public through nolune's relay (`<name>.nolune.family`, see [The relay](#the-relay)) or the family's own tunnel. Every route requires login, except the invite links an admin sends. The sign-up endpoint is disabled: admins make accounts on the People page or with the local CLI, or send a single-use invite link, and passwords must be long and strong. |
14
14
  | Profiles | Any user can create a profile. Any member can add or remove members, rename the profile, or delete it. Deleting moves the folder to `~/.nolune/trash/` instead of erasing it. |
15
15
  | Conversations | Shared by every member of the profile. Messages go through a queue, and a message sent while the agent is working is fed into its next step (steering). Anyone can press Stop. |
@@ -18,7 +18,7 @@ folder, skills and memory. The agent has a single tool, `run_command`.
18
18
  | Providers | Anthropic, OpenAI, xAI and OpenRouter (API keys), custom providers (your own model servers), and two plans, someone's subscription instead of a key (see [Plans](#plans)): `claude-plan`, a Pro or Max plan in Claude Code, which nolune runs on this machine, and `chatgpt-plan`, a ChatGPT Plus or Pro plan, through Sign in with ChatGPT. Keys, custom providers and presets are global, managed by the admin with the CLI or the `/admin` page (Models & keys). A preset has a name (default `<model> (<provider>)`), a provider, a model and an optional window override. One preset is the default (the oldest until an admin picks one): new chats and automations without one use it. See [Model providers](#model-providers). |
19
19
  | Preset switching | Allowed at any time, from the model chip in a chat's composer (or `nolune agent run <id> --preset` for a subagent). The next model call uses the new model, and another provider gets the history translated. See [Switching models](#switching-models). |
20
20
  | Reasoning | Chosen per conversation (`low` / `medium` / `high` / `xhigh` / `max`, default `medium`). It can be changed later, but on Claude that rebuilds the conversation's cache once, so the chat asks first. |
21
- | System prompt | Built once when the conversation is created: instructions, the profile's soul, the skills catalog and, for a chat in a folder, the folder's instructions and file paths. **It is not changed afterwards, and no update notices are added,** with one exception: when the chat moves to another folder, or its folder or the soul changes, it is built again at the start of the next turn (one cache miss). If skills change in another conversation, this conversation only sees it by running commands. Of memory, only `core` and the note names are in it: chats outside folders share a prompt. |
21
+ | System prompt | Built once when the conversation is created: instructions, the profile's soul, the skills catalog and, for a chat in a folder, the folder's instructions and file paths. **It is not changed afterwards,** with two exceptions, each one cache miss: when the chat moves to another folder, or its folder or the soul changes, it is built again at the start of the next turn; and when someone presses **Reload tools** in the chat, which gives it the profile's skills and MCP servers' tools as they are now. Of memory, only `core` and the note names are in it: chats outside folders share a prompt. |
22
22
  | Memory | Short Markdown notes per profile, in fixed categories (a note each, or one per person or project), that the agent searches, reads and changes with `nolune memory`, like any other command. The system prompt has the pinned `core` note in full and lists the others by name; the facts that share words with a message go along with it, and once a chat goes quiet its model looks it over and saves what the agent missed. The family sees and edits them on the Memory page. See [Memory](#memory). Each member also has a card, a note about them that goes with them into all their profiles, copied whole into the prompt like core; only what they say about themselves goes on it. See [Cards](#cards). |
23
23
  | Soul | Who nolune is for a profile (character, values, tone), in `soul.md` in its folder, at most 4,000 characters. It opens every chat's system prompt. The family edits it in the profile's settings; the agent changes it itself with `nolune soul write` and says so. See [Soul](#soul). |
24
24
  | Folders | Group a profile's chats, like ChatGPT's projects. A folder has instructions and files; its chats get the instructions and the files' paths (never the files themselves) in their system prompt. Chats are dragged into folders in the sidebar or started in one. See [Folders](#folders). |
@@ -27,7 +27,8 @@ folder, skills and memory. The agent has a single tool, `run_command`.
27
27
  | Web search | `nolune web search` and `nolune web read`, through Firecrawl's SDK, which the built-in `web` skill explains. Without a key they use Firecrawl's free tier, limited per IP address a day; a Firecrawl key in Models & keys lifts that. No tool: the agent runs them like any other command. See [The web](#the-web). |
28
28
  | Background work | `run_command` takes `run_in_background` (new chats): the call returns at once, and the command's output joins the conversation as a message when it ends. See [Background commands](#background-commands). |
29
29
  | Subagents | `nolune agent run` starts another agent in a hidden conversation of its own that starts with only its task, and caches its prompt for 5 minutes. The agent hears back by running `nolune agent watch` in the background, and can steer it and read its log. No new tool. See [Subagents](#subagents). |
30
- | Making pictures | The agent runs `nolune generate image` (OpenAI's Image API, `gpt-image-2.5-flare` by default; each other provider would be one more module). Templates belong to the Images page, which turns one and its settings into a finished prompt in the message it sends; the CLI knows nothing about them. |
30
+ | MCP servers | Other apps' and services' tools, from the MCP servers an admin connects: a command this computer runs or an address, kept in config.json the way MCP clients write them. A chat gets its profile's servers' tools next to `run_command` (`mcp__<server>__<tool>`), saved with it like `run_command`; a chat already going gets changes when someone reloads its tools (one cache miss). One at an address can be signed in to (OAuth). Auto mode checks every call. A server can be kept to some profiles. See [MCP servers](#mcp-servers). |
31
+ | Making pictures | The agent runs `nolune generate image` (`gpt-image-2.5-flare` by default, through OpenAI's Image API with an OpenAI key, or OpenRouter's with an OpenRouter key or on the nolune plan). Templates belong to the Images page, which turns one and its settings into a finished prompt in the message it sends; the CLI knows nothing about them. |
31
32
 
32
33
  ## Files on disk
33
34
 
@@ -35,10 +36,13 @@ folder, skills and memory. The agent has a single tool, `run_command`.
35
36
  ~/.nolune/ (override with NOLUNE_HOME)
36
37
  config.json auth secret, API keys (Anthropic, OpenAI, OpenRouter, xAI, Firecrawl), custom providers
37
38
  (name, API, address, key), image model,
38
- extra env vars for commands, where Claude Code is if set, the
39
+ extra env vars for commands, MCP servers (with their keys), where Claude Code is if set, the
39
40
  command mode and the preset that checks commands (mode 600)
40
41
  chatgpt.json the ChatGPT sign-in for the ChatGPT plan: this computer's host id,
41
42
  each account's registration and the signed-in one's tokens (mode 600)
43
+ mcp-tools.json what each MCP server last said its tools are, for chats' tools
44
+ mcp-auth.json MCP servers' sign-ins (OAuth): nolune's registrations with their
45
+ authorization servers, the tokens, a sign-in being made (mode 600)
42
46
  latest-release.json nolune's newest release, as the gateway last heard from GitHub, and
43
47
  when (Distribution); the macOS app's menu reads it too
44
48
  nolune.db SQLite: users, sessions, profiles, presets, folders, conversations,
@@ -80,7 +84,9 @@ gets the one its slug picks; see [Assistant avatars](#assistant-avatars).
80
84
  Every skill is on in every profile until someone turns it off, on the profile's Skills page or with
81
85
  `nolune skill disable`. The profile stores the names it turned off (`profile.disabled_skills`), so skills
82
86
  added later start out on. Skills that are off are left out of the catalog when a conversation is
83
- created; conversations already running keep the catalog they started with.
87
+ created. A conversation already going keeps the catalog it has until its prompt is built again: for
88
+ a folder or soul change, or when someone presses **Reload tools** (see
89
+ [Reloading tools](#reloading-tools)).
84
90
 
85
91
  ## Prompt caching
86
92
 
@@ -93,6 +99,9 @@ The rule: **the request prefix must stay byte-identical, so history is only ever
93
99
  400 on accounts created since 2026-08-31). So a new version of nolune that changes a tool only
94
100
  reaches new chats. Chats from before tools were saved send the first `run_command`
95
101
  (`RUN_COMMAND_TOOL_V1`, which must never change); new ones get the one with `run_in_background`.
102
+ After nolune's own come the tools of the profile's MCP servers, as they were when the prompt was
103
+ last built: a chat gets newer ones when someone reloads its tools, which costs the cache miss and
104
+ the thinking the rule otherwise saves (see [Reloading tools](#reloading-tools)).
96
105
  - Each assistant response is stored as the exact `content` JSON the API returned, thinking blocks and
97
106
  their signatures included, and is sent back unchanged to the model that wrote it. nolune's own rows
98
107
  are stored in its own format and turned into the provider's the same way on every call (see
@@ -104,8 +113,9 @@ The rule: **the request prefix must stay byte-identical, so history is only ever
104
113
  per conversation (`conversation.cache_ttl`): an hour for chats, where people answer minutes
105
114
  apart, and 5 minutes for subagents, whose steps follow each other within seconds, so the
106
115
  cheaper 5-minute write (1.25x the input price, against 2x for an hour) is enough.
107
- - Tool definitions, cache TTL and system prompt are fixed per conversation (the prompt is built
108
- again only when the chat's folder changes; see [Folders](#folders)), and the model changes only
116
+ - Tool definitions, cache TTL and system prompt are fixed per conversation (the prompt and tools
117
+ are built again only when the chat's folder, the soul or its MCP servers' tools change; see
118
+ [Folders](#folders) and [MCP servers](#mcp-servers)), and the model changes only
109
119
  when someone switches it (see [Switching models](#switching-models)). Thinking uses
110
120
  `adaptive` with `display: "summarized"`, the same for every conversation. The only per-conversation
111
121
  knob is `effort`.
@@ -119,9 +129,10 @@ The rule: **the request prefix must stay byte-identical, so history is only ever
119
129
  still aren't edited, and a summary is one more row (or the start of one).
120
130
  - Every assistant row stores `usage`, and the gateway logs `cache_read` / `cache_write` and the hit
121
131
  rate for every call. The chat header shows the hit rate (tooltip: last reply and whole conversation),
122
- and a reply is marked as a cache miss when it read less than the previous call read or wrote, with
123
- the likely cause: over an hour idle (the TTL) or a changed request such as a new model or
124
- reasoning level.
132
+ and a reply is marked as a cache miss when it read less than the previous call read or wrote (on
133
+ OpenAI, less than the previous call's whole prompt; see below), with the likely cause: over an
134
+ hour idle (the TTL), a changed request such as a new model or reasoning level, or on OpenAI with
135
+ the same model, a server without the chat's cache.
125
136
 
126
137
  ### On OpenAI
127
138
 
@@ -132,6 +143,15 @@ OpenAI's prompt cache is automatic, and the rule above is what keeps it working:
132
143
  newer models, `cache_write_tokens`) inside `input_tokens`; nolune subtracts them, so the chat's
133
144
  numbers mean the same for both providers.
134
145
 
146
+ OpenAI caches every call's whole prompt whether or not usage reports the write, and the ChatGPT
147
+ plan never reports one. So on OpenAI, with a key or on the plan, a call is expected to read back
148
+ the previous call's whole prompt (`cacheMissTokens` in `usage.ts`, from the previous reply's
149
+ `message.provider`), or a miss right after another would go unmarked. The cache lives on one of
150
+ OpenAI's servers, and `prompt_cache_key` doesn't always keep a chat on it: on the plan, calls
151
+ seconds apart within a turn have read nothing, or exactly the prompt of a call made many calls
152
+ earlier, with the prefix unchanged. With the model unchanged, the chat says so instead of blaming
153
+ a switch.
154
+
135
155
  ### On OpenRouter
136
156
 
137
157
  The same rule, over Chat Completions: the system message, the tools, then the messages, with only
@@ -342,7 +362,8 @@ read nolune's format.
342
362
  ### Plans
343
363
 
344
364
  `claude-plan` and `chatgpt-plan` run chats on someone's own subscription instead of an API key.
345
- They get there differently:
365
+ (A third, `nolune-plan`, a subscription to nolune itself that covers pictures and embeddings too,
366
+ is in [The nolune plan](#the-nolune-plan).) They get there differently:
346
367
 
347
368
  - **The Claude plan** runs Anthropic's own agent. Anthropic doesn't let other apps sign in to
348
369
  Claude accounts, so nolune doesn't: Claude Code, installed on this computer and unmodified, signs
@@ -400,10 +421,13 @@ automations and subagents on an API key preset.
400
421
  is dropped.
401
422
  - **Who runs the loop.** Claude Code. Each turn is a `query()` that resumes the chat's Claude Code
402
423
  session, whose id nolune picks: at first the chat's own.
403
- - **What the model gets.** nolune's system prompt and the chat's saved `run_command` definition, as an
404
- in-process MCP tool (`mcp__nolune__run_command` to the model). Claude Code's built-in tools, settings
405
- files, CLAUDE.md, skills and MCP servers are left out (`tools: []`, `settingSources: []`,
406
- `strictMcpConfig`, `dontAsk` permissions with only that tool allowed). Claude Code adds a short
424
+ - **What the model gets.** nolune's system prompt and the chat's saved tools (`run_command`, and
425
+ its MCP servers' tools), as an in-process MCP server's (`mcp__nolune__run_command`,
426
+ `mcp__nolune__mcp__github__search_issues` to the model; a tool's properties that are only a type
427
+ and a description become the same zod types as always, and the rest go through
428
+ `z.fromJSONSchema`, so a server's lists and choices arrive as they are). Claude Code's built-in
429
+ tools, settings files, CLAUDE.md, skills and MCP servers of its own are left out (`tools: []`,
430
+ `settingSources: []`, `strictMcpConfig`, `dontAsk` permissions with only nolune's tools allowed). Claude Code adds a short
407
431
  line of its own to the system prompt and an environment note (working folder, date). The
408
432
  working folder is the profile's, like commands'.
409
433
  - **The same rows.** nolune turns the stream into its own rows and live events: each model call's
@@ -509,9 +533,13 @@ chatgpt-plan setup` at a terminal (`finishChatGptSignIn`). An address from anoth
509
533
  - **Models** are the plan's catalog, `GET /v1/models` with the plan's token, which answers with
510
534
  `models` (`slug`, `display_name`, `visibility`, supported reasoning levels and a context window
511
535
  when it says): the admin page offers those with `visibility: "list"`, in ChatGPT's order, and
512
- adding a preset checks the model is there. A preset's window is the catalog's, or unknown: the
513
- API's windows may not be the plan's. A chat's effort goes as it is, or as the nearest below it
514
- the model takes.
536
+ adding a preset checks the model is there. The catalog is Codex's: it shows a model only to a
537
+ `client_version` at or past the model's `minimal_client_version`, and without one it answers
538
+ with an older list that misses new models. So nolune asks as Codex's latest release, which npm
539
+ says (looked up at most hourly), or as the release it knows when npm doesn't say a newer one;
540
+ should OpenAI turn the version down (400), it asks again without it. A preset's window is the
541
+ catalog's, or unknown: the API's windows may not be the plan's. A chat's effort goes as it is, or
542
+ as the nearest below it the model takes.
515
543
  - **Errors.** What the plan says goes wrong is said in words (`describeFailure`): its usage limit
516
544
  (the plan's own or the weekly one set for nolune, linking to ChatGPT's usage settings), an
517
545
  account that can't use its plan in other apps (it takes Plus or Pro), a check that couldn't be
@@ -580,7 +608,7 @@ kick(conversation): one loop per conversation at a time
580
608
  if the last committed row isn't a user row: stop
581
609
  stream a model call → append an assistant row
582
610
  if it contains tool_use blocks:
583
- run them one after another (run_command, or a memory operation) → append one user row with
611
+ run them one after another (run_command, or a tool of an MCP server) → append one user row with
584
612
  every tool_result
585
613
  (if stop_reason isn't tool_use, the calls are answered with "not run" instead)
586
614
  ```
@@ -622,12 +650,35 @@ conversation: a chat no longer stops for good when it outgrows its model.
622
650
  shows what the model reads now.
623
651
  - **Other models' chats are summarized by the runner**, before a call, when the latest call read
624
652
  and wrote 85% of the window or more (`needsCompaction`): it sends the conversation's next request
625
- with one more message asking for a summary (`SUMMARY_REQUEST`), so the provider's cache holds all
653
+ with one more message asking for a summary (`summaryRequest`), so the provider's cache holds all
626
654
  the rest, and saves the summary as a `compaction` row, which the model reads as a message
627
655
  (`[Earlier in this conversation, summarized to fit the context window:]`). Never right after a
628
656
  summary (a window the summary itself doesn't leave room in would only get one after another),
629
657
  and never without a known window. A model that writes no summary ends the turn with an error,
630
658
  as a failed call does.
659
+ - **On request.** Anyone in the chat can have the model summarize it now, from the chat's menu
660
+ (Summarize the chat, after a dialog saying what that does; `POST /api/c/<id>/compact`,
661
+ `compactConversation`): the runner's summary, on any model, Claude's included, whatever the
662
+ window, with an ask that says someone asked (`summaryRequest`). It runs like a turn of the agent:
663
+ everyone with the chat open sees it, Stop ends it, and messages sent meanwhile start a turn once
664
+ it's done, from the summary. Not while the agent works, not on the Claude plan or in a
665
+ subagent's chat, and only with a reply since the latest summary. Asked for after a reply, it
666
+ needs no answer of its own (`awaitsReply`: a summary at the end counts as what came before it,
667
+ so Continue doesn't answer it), and the chat shows it as a card of its own rather than a step of
668
+ that reply. The context meter then shows the summary's size until the next call.
669
+ - **When a chat goes quiet**, if Models & keys says so (Quiet chats; `compactWhenIdle` in
670
+ config.json, `nolune config set compact-when-idle <minutes|off>`, off by default): after that many
671
+ minutes without a message, the runner summarizes it the same way, with an ask that says why, so
672
+ the next reply reads the summary rather than the whole chat. Under an hour, the summary reads the
673
+ chat from the prompt cache (the form suggests 55 minutes). `idle-compaction.ts` starts a timer
674
+ for a chat when the agent's turn ends, which a new turn cancels, and again on start for chats
675
+ quiet less long than that; when it fires, `compactIdle` checks the chat is still quiet and worth
676
+ it (`idleCompactable`): one people see, not on the Claude plan, waiting on nobody's answer, with
677
+ a reply since the latest summary, and past `MIN_IDLE_CONTEXT` (20k tokens), under which a summary
678
+ saves little and costs a call and the chat's details. A failure only goes to the log: nobody
679
+ asked for it. The chat shows it as a card after the reply, saying the chat went quiet; a summary
680
+ someone asked for keeps their name (`message.sender_name`) and says they asked. A summary runs
681
+ like a turn without ending one, so memory's quiet-chat timer starts again when it's done.
631
682
  - **Switching models** keeps the summary: Claude's block goes back only to the model that wrote
632
683
  it, while it compacts on the server; any other model gets its text as a message before the
633
684
  reply (`withoutCompaction`). A chat that comes to a plan with history sends the transcript from
@@ -1199,13 +1250,24 @@ in the system prompt beyond the skills catalog. The built-in `generate-images` s
1199
1250
  how to write prompts, and how to run the Images page's messages.
1200
1251
 
1201
1252
  - **Providers** (`packages/core/src/image-generation.ts`). Models are named `<provider>/<model>`
1202
- (`openai/gpt-image-2.5-flare`, the default; `nolune config set image-model`). Each provider is one
1203
- module with the same shape, registered in `PROVIDERS`: its key check, its qualities, how many
1204
- input pictures it takes and which formats, and `generate`. `openai.ts` is the only one today:
1205
- `/v1/images/generations` for a prompt, `/v1/images/edits` (multipart) when pictures are given,
1206
- with plain `fetch` rather than the SDK. OpenRouter, fal or Higgsfield would each add a module;
1207
- shapes (`square`, `portrait`, `landscape`, `auto`) are provider-neutral and each module maps them
1208
- to its own sizes.
1253
+ (`openai/gpt-image-2.5-flare`, `openrouter/black-forest-labs/flux.2-pro`,
1254
+ `nolune-plan/openai/gpt-image-2.5-flare`; `nolune config set image-model`). Each provider is one
1255
+ module with the same shape, registered in `PROVIDERS`: what it lacks before it can work (a key,
1256
+ or the plan's link), its qualities, how many input pictures it takes and which formats, and
1257
+ `generate`. With none set, the model is `gpt-image-2.5-flare` on the first of an OpenAI key, an
1258
+ OpenRouter key and the nolune plan that nolune has (keys first: they're paid for already).
1259
+ Shapes (`square`, `portrait`, `landscape`, `auto`) are provider-neutral and each module maps
1260
+ them to its own sizes.
1261
+ - **OpenAI** (`openai.ts`): `/v1/images/generations` for a prompt, `/v1/images/edits` (multipart)
1262
+ when pictures are given, with plain `fetch` rather than the SDK.
1263
+ - **OpenRouter's Image API** (`openrouter-images.ts`), for `openrouter` and `nolune-plan` alike (an
1264
+ `ImageApi` each, as chats have a `ChatApi`): `POST /images` with the prompt, pictures to start
1265
+ from as data URLs (`input_references`), and the picture back as base64 with its type; 55 models
1266
+ in October 2026, FLUX.2, Seedream, Gemini, Recraft, Qwen and gpt-image among them. Models take
1267
+ different parameters, which `GET /images/models` lists for each, so a request is fitted to its
1268
+ model first (`fitImageRequest`): the nearest aspect ratio it makes, as many requests as its `n`
1269
+ allows, and a plain no for what it can't do (a transparent background, a quality it lacks, more
1270
+ input pictures than it takes) before anything is paid for.
1209
1271
  - **Keys** live in `config.json` (`nolune key set openai` or Models & keys), with `OPENAI_API_KEY` as a
1210
1272
  fallback, and are read by the CLI, so the gateway itself never calls the image API.
1211
1273
  `OPENAI_BASE_URL` points it at a proxy or a compatible server, as in OpenAI's SDKs.
@@ -1372,7 +1434,8 @@ into conversations.
1372
1434
  - **Notifications** belong to the profile, like conversations. Dismissing is per person
1373
1435
  (`notification_dismissal`), and unread means newer than when that person last opened the menu
1374
1436
  (`notification_seen`). Pages listen on `/api/events` (SSE), which also carries profile renames and
1375
- avatar changes, and reload the bell on change.
1437
+ avatar changes, and reload the bell on change. Each new one also goes to the members' iPhones
1438
+ (see [The iOS app](#the-ios-app)).
1376
1439
  - **Continue in chat** unhides the run's conversation, which moves into the sidebar with its whole
1377
1440
  transcript; sending a message into a hidden run does the same. A notification without a
1378
1441
  conversation (script failures, or the run was deleted) starts a new conversation whose first
@@ -1427,6 +1490,130 @@ automations, it's a CLI command and a built-in skill (`subagents`), not a tool.
1427
1490
  usual result). A deleted chat takes its subagents' conversations with it; subagents are hidden
1428
1491
  conversations, so they're also deleted after 30 idle days.
1429
1492
 
1493
+ ## MCP servers
1494
+
1495
+ Other apps' and services' tools (a calendar, GitHub, Notion, the smart home), from the MCP servers
1496
+ an admin connects. A chat gets its profile's servers' tools as tools of its own, next to
1497
+ `run_command`, and the runner calls them on the servers.
1498
+
1499
+ - **Saved with the chat, like `run_command`.** A chat's tools are saved with it (see
1500
+ [Prompt caching](#prompt-caching)): a server connected or changed later reaches new chats, and a
1501
+ chat already going when someone reloads its tools, or its prompt is built again for a folder or
1502
+ soul change (see [Reloading tools](#reloading-tools)). The cost is in every request: a server's tool
1503
+ definitions (a big one has dozens) go with each call of each chat that has them. A chat gets at
1504
+ most 120 tools of servers (`MAX_CHAT_MCP_TOOLS`; OpenAI takes 128 in a request), each server's
1505
+ whole or not at all.
1506
+ - **Names.** `mcp__<server>__<tool>`, at most 51 characters, so that Claude Code's
1507
+ `mcp__nolune__` in front stays within the 64 providers take. A tool whose name has other
1508
+ characters, or would be longer, is cut and ends in a short hash of its own name
1509
+ (`mcp__home__lights_turn_on_3f2a1c`); `findMcpTool` finds it again among the server's tools.
1510
+ Servers' names have no `__` in them, so the first one ends the server's. Each definition is the
1511
+ tool's description (at most 2,048 characters) and its input schema without `$schema`.
1512
+ - **Known before a chat starts.** A chat is created at once, without waiting for servers, from what
1513
+ each server last said its tools are (`~/.nolune/mcp-tools.json`, with the instructions it gave
1514
+ and the settings it was asked with). That's written whenever nolune lists a server's tools:
1515
+ adding or checking it, `nolune mcp tools`, each connection the gateway opens, and at the
1516
+ gateway's start for servers it doesn't know yet or knew with other settings. A new chat in a
1517
+ profile with a server it doesn't know yet starts without that server's tools, and the gateway
1518
+ asks the server for the chats after (or a reload).
1519
+ - **In the prompt**, built from the chat's saved tools (also when it's built again for a new
1520
+ folder or soul, so it never names tools the chat doesn't have): a `# Connected services`
1521
+ section after the skills, saying the `mcp__` tools act outside the computer, often in someone's
1522
+ account, and listing their servers with the description an admin gave (or the first sentence
1523
+ of the server's instructions) and the server's own instructions (at most 1,500 characters).
1524
+ Servers of the profile whose tools the chat lacks are named, with how to reach them with
1525
+ `nolune mcp`.
1526
+ - **A call** (`runMcpCall` in the runner): the arguments must be an object; the server must still
1527
+ be there and the profile's; auto mode checks it; then `callMcpTool` on the gateway's open
1528
+ connection. Its text is capped like a command's output; pictures go through `nolune view`'s
1529
+ folder and limits and are attached the same way, other files are saved and named. A result the
1530
+ tool marks as an error is an error result; a server that's down or turned the call down says so.
1531
+ Stop cancels it at the server. The Claude plan's calls come through the same `runToolCall`.
1532
+ - **In the chat** a call shows as what it does, from the tool's name ("Search issues (github)"),
1533
+ with a plug, and the call itself in technical details: the model writes no summary for these.
1534
+ - **Auto mode** checks every call to a server's tool, whatever the server says of it: its read-only
1535
+ and destructive hints are the server's own claim, and a read-only tool's arguments can still
1536
+ carry private things out (a search sent to a service on the web). The check reads the server,
1537
+ the tool, those hints and the arguments, and earlier calls appear in its transcript like
1538
+ commands.
1539
+ - **Settings** are config.json's `mcpServers`, by name, the way MCP clients write them (`command`,
1540
+ `args`, `env`, `cwd`; or `type` `http` or `sse`, `url`, `headers`), so a server's README snippet
1541
+ can be pasted (`nolune mcp add-json`, `"mcpServers"` and all), plus nolune's own: a `description`
1542
+ for the agent, the `profiles` (slugs) that have it, every profile when left out, and for one at
1543
+ an address `oauth` (`clientId`, `clientSecret`, `scope`), the app its sign-in uses when the
1544
+ service wants one registered by hand. The name is
1545
+ what tools are called by: lowercase letters and digits, with `-` or `_` between words. The
1546
+ Connected services page and `nolune mcp list` show the names of its keys, never their values; a
1547
+ form that leaves them empty keeps them.
1548
+ - **Connecting** (`mcp.ts`, with the MCP TypeScript SDK's client). A server this computer runs is
1549
+ started as a program, not through a shell, with the agent's commands' environment (the
1550
+ gateway's minus its secrets, plus `nolune env`'s) and its own `env`, and the PATH of a login shell
1551
+ (`$SHELL -lc`), asked for at each connection, so `npx`, `uvx` and `docker` are found under a
1552
+ LaunchAgent too. Its stderr is kept (the last 2,000 characters) to say why it stopped. One at an
1553
+ address speaks Streamable HTTP or the older SSE, with its headers. Adding a server, on the page or
1554
+ with the CLI, connects to it to check it and lists its tools; one that can't be reached is saved
1555
+ with why, since what it needs may come later.
1556
+ - **Signing in** (`mcp-auth.ts`), for a server at an address that wants it (OAuth, as MCP has it;
1557
+ the SDK's `auth` does the protocol, nolune's `McpSignIn` is its `OAuthClientProvider`). A
1558
+ connection to a server without an Authorization header can sign in: when the server turns it
1559
+ away (401) and says where its authorization server is (RFC 9728, RFC 8414), nolune notes that it
1560
+ needs a sign-in, and the server waits for one (its tools aren't asked for, nor go to chats).
1561
+ - **Sign in** on Connected services (an admin) or `nolune mcp login <name>` (`startMcpSignIn`)
1562
+ registers nolune with the authorization server (RFC 7591) unless the server has an app of its
1563
+ own (`oauth.clientId`), and gives the page to sign in at, with PKCE and a state. The browser
1564
+ comes back to `MCP_SIGN_IN_PATH` (`/mcp/oauth/callback`) on the address nolune is open at (the
1565
+ page's origin; `publicOrigin` from the CLI), a public route that the state alone lets in, since
1566
+ `nolune mcp login`'s browser may not be signed in to nolune. `finishMcpSignIn` trades the code
1567
+ for tokens, lists the server's tools for chats, and an admin goes back to the page.
1568
+ - A registration is kept per redirect address (nolune opened at another address registers
1569
+ again), and the tokens with the client they were given to, which refreshes them wherever
1570
+ someone signed in from. The SDK refreshes them when the server turns a request away; when that
1571
+ fails, the call fails saying someone has to sign in again, and the server waits for it.
1572
+ - A connection never starts a sign-in someone is in the middle of, nor replaces one: only a
1573
+ sign-in someone asked for keeps a state and verifier, for 15 minutes, used once.
1574
+ - **Sign out** (`signOutMcpServer`, `nolune mcp logout`) forgets the tokens and closes the
1575
+ connection. Another address for the server, or removing it, forgets its sign-in.
1576
+ - The sign-in is the server's, for every profile that has it: someone's own account goes in a
1577
+ server kept to their profile. A server that doesn't say where an authorization server is
1578
+ gets the old answer, that it wants a key as a header.
1579
+ - **In the gateway** a server's connection stays open between calls (a command's server keeps
1580
+ running) and is shared by the ones that run at once. It closes after 10 minutes unused, and is
1581
+ replaced when the settings it depends on change (its description and profiles don't count).
1582
+ The servers the gateway ran stop when it does. A `nolune` that runs a command itself connects
1583
+ for it and closes after it.
1584
+ - **`nolune mcp`** lists and calls the same tools from a command, for scripts and automations'
1585
+ scripts, and for servers connected after a chat started: `tools [<server> [<tool>]]` lists them
1586
+ as `name(arg, optional?)` with the first line of their description and the server's
1587
+ instructions, or one tool's whole description and schema; `call <server> <tool> '<json>'` (`-`
1588
+ reads stdin) prints the result as a chat's call gets it; `login <name>` prints a sign-in page to
1589
+ pass on, and `logout <name>` signs out. `nolune mcp`, `list` and `tools` only look and run
1590
+ unchecked; `call`, `add`, `rm`, `login` and `logout` go to the check like any command.
1591
+ - **Profiles.** A chat gets only its profile's servers' tools, and `nolune mcp` in the agent's
1592
+ commands (`NOLUNE_PROFILE`) reaches only those. As everywhere on the computer, that organizes
1593
+ rather than isolates: the agent runs as the same account.
1594
+
1595
+ ### Reloading tools
1596
+
1597
+ A chat's tools and prompt stay as they are while it goes on (see [Prompt caching](#prompt-caching)),
1598
+ so skills and MCP servers added, changed, turned off or disconnected later reach it only when
1599
+ someone asks: **Reload tools**, in the chat's menu, and in a line above the composer that says what
1600
+ changed ("Connected: github · New skills: tax-forms") whenever the chat is behind.
1601
+
1602
+ - **What changed** (`toolChanges`): the profile's skills (`catalogSkills`) against the ones the
1603
+ chat's prompt lists (`skillsInPrompt` reads the catalog back), and its servers' tools
1604
+ (`currentTools`: the chat's own tools, then `mcpChatTools`) against the ones it saved, by server.
1605
+ The chat gets it with its snapshot, and again when a turn ends (the agent may have made a skill),
1606
+ as a `tools` event.
1607
+ - **Reloading** (`reloadTools`) builds the prompt again with `rebuildSystemPrompt`, as a folder
1608
+ change does: nolune's own tools stay as the chat saved them, the servers' are as they are now,
1609
+ and the replies before are marked (`promptChangedAtSeq`) so their thinking is left out. The next
1610
+ request reads the whole chat again once, without the cache. When the prompt and tools would come
1611
+ out the same, nothing is saved and the cache stays.
1612
+ - **Not while it works**, nor when the chat stopped in the middle of a step: the model's thinking
1613
+ must go back with the step's results. The button is off then, and the endpoint says why.
1614
+ - A folder or soul change builds the prompt again anyway, so it brings the tools and skills along
1615
+ at no further cost.
1616
+
1430
1617
  ## Pictures and files
1431
1618
 
1432
1619
  The agent shows a picture by writing a Markdown image, `![what it shows](path)`, and hands over a
@@ -1500,7 +1687,15 @@ composer. Most of the family doesn't read shell, so the default view hides the m
1500
1687
  settings. Colors are CSS variables in `packages/web/src/routes/layout.css`, with a dark theme
1501
1688
  (`mode-watcher`: system, light or dark). The fonts, Figtree and Fira Mono, are bundled from
1502
1689
  Fontsource and served by the app, so they don't depend on the OS or a font CDN.
1503
- - **Replies** are built by `buildTranscript` (`packages/web/src/lib/transcript.ts`): text blocks are shown as
1690
+ - **A phone's edges.** The page fills the screen (`viewport-fit=cover` in `app.html`), so the
1691
+ `env(safe-area-inset-*)` paddings work, in Safari and from the Home Screen alike. The root
1692
+ (`routes/+layout.svelte`) keeps everything below the status bar and, in landscape, beside the
1693
+ notch, with the page's color around it, as Safari does on its own. The bottom is each part's: the
1694
+ sidebar, the composer, a sheet's buttons and the end of what scrolls pad themselves above the home
1695
+ indicator, so the page still runs under it. In the iOS app all of these are zero, since the app
1696
+ keeps the page inside the safe area itself.
1697
+ - **Replies** are built by `buildTranscript` (`packages/core/src/transcript.ts`, which pages import as
1698
+ `@nolune/core/transcript`, and the gateway builds for apps too): text blocks are shown as
1504
1699
  Markdown (`marked` + DOMPurify), and every run of thinking and commands between two texts is one
1505
1700
  collapsible group, "Worked for 12s" when done and a live "Thinking" / current step while running.
1506
1701
  Durations come from row timestamps, so they're approximate. The profile's assistant avatar sits at
@@ -1662,6 +1857,13 @@ composer. Most of the family doesn't read shell, so the default view hides the m
1662
1857
  source once
1663
1858
  (`embeddingProblem`) and says if it didn't answer, and a source that works starts embedding every
1664
1859
  profile's facts in the background.
1860
+ - **Connected services** (`/admin/services`, admins only, between Models & keys and People in the
1861
+ user menu) lists the MCP servers (see [MCP servers](#mcp-servers)) and does what `nolune mcp add`,
1862
+ `rm` and `list` do: **Connect a server** takes a name, a command or an address (Streamable HTTP
1863
+ or SSE), its environment variables or headers (a line each), what it's for and the profiles that
1864
+ have it, connects to check it, and saves it either way, saying how many tools it has or why it
1865
+ couldn't connect. **Change** starts from what's saved, keys aside: left empty, they stay.
1866
+ **Check** connects again. The form is open from the start while there are no servers.
1665
1867
  - **People** (`/admin/people`, admins only, next to Models & keys in the user menu) lists every
1666
1868
  account and does what `nolune user` does. **Add a person** takes a name, an email and whether
1667
1869
  they're an admin, checks them as `nolune user create` does, and shows the address and a password
@@ -1748,7 +1950,8 @@ picture, or their initial on a colored circle (see [Web UI](#web-ui), "Your name
1748
1950
  character select: the pick up close on a starry stage lit in its color, which pops in with a
1749
1951
  squash when it changes, next to the roster, whose tiles take their avatar's color and show its
1750
1952
  working motion on hover.
1751
- - **Tint.** A profile's pages take on its avatar's hue: `packages/web/src/lib/tint.ts` gives the page, sidebar,
1953
+ - **Tint.** A profile's pages take on its avatar's hue: `packages/core/src/tint.ts` (which
1954
+ `packages/web/src/lib/tint.ts` and nolune for iOS use) gives the page, sidebar,
1752
1955
  bubbles, hover and (in dark) card, menu and composer greys a little OKLCH chroma in the avatar
1753
1956
  color's hue, at each grey's own luminance, so text and avatars keep their contrast. The root
1754
1957
  layout renders it into the head as a `<style>` that outranks `layout.css`, so the first paint and
@@ -1943,6 +2146,15 @@ A family shouldn't need a tunnel, an open port or a domain to open nolune away f
1943
2146
  removes addresses over a Unix socket (`packages/relay/src/admin.ts`), never over the web; a
1944
2147
  blocked address shows a page saying so, and its gateway is told why and stops. Traffic is counted
1945
2148
  in memory and written with the gateways file once a minute.
2149
+ - **Notifications on iPhones.** Apple takes notifications for the iOS app only from whoever
2150
+ holds the app's key, so the relay holds it (`APNS_KEY`) and gateways send through it:
2151
+ `POST /api/gateways/<name>/push` with the gateway's token, the notification and the tokens Apple
2152
+ gave the family's iPhones (`packages/relay/src/push.ts`). The relay signs a token for Apple with
2153
+ the key (ES256, made again every 50 minutes) and passes each notification on over HTTP/2, with
2154
+ the family's address added, to Apple's sandbox for a development build's iPhone. It cuts the
2155
+ text to fit Apple's 4 KB, keeps none of it, and answers with the iPhones Apple says are gone.
2156
+ Each address may send 600 notifications an hour, one for each iPhone. A relay without the key
2157
+ answers 501, and an address its operator blocked can't send any.
1946
2158
  - **Trust.** TLS ends at the relay (Caddy in front, with a wildcard certificate), so its operator
1947
2159
  could read the traffic, as with any hosted tunnel; the relay logs only registrations and
1948
2160
  connections. End-to-end encryption would need each gateway to hold the certificate for its own
@@ -1950,6 +2162,351 @@ A family shouldn't need a tunnel, an open port or a domain to open nolune away f
1950
2162
  Encrypt's per-domain limits until the domain is on the Public Suffix List. Families who want
1951
2163
  nobody in between use their own tunnel, or their own relay (`nolune relay enable --server`).
1952
2164
 
2165
+ ## The nolune plan
2166
+
2167
+ _Open since 0.5.0._ nolune's API (`packages/api`) signs people in, links gateways, keeps the
2168
+ limits, passes chats and embeddings on to OpenRouter, and sells the plan through Stripe (its
2169
+ account page and webhook); nolune's side links to it and runs chats, memory search and their
2170
+ errors on it, and makes pictures on it. The API runs next to the relay (`compose.api.yaml`), at
2171
+ `api.nolune.dev`, on Stripe's live mode with Managed Payments. Still to come: automations that
2172
+ wait out a limit. One switch opens it (`NOLUNE_PLAN_OPEN`, in `nolune-plan-open.ts`): closed, the
2173
+ web UI offers the plan only when `NOLUNE_PLAN_API_URL` points nolune at an API
2174
+ (`nolunePlanOffered`), the CLI still has it, nolune.dev's Pricing shows only on previews, and the
2175
+ API lets in only the addresses in `ALLOWED_EMAILS`.
2176
+
2177
+ The two plans run chats on a subscription someone already has, and nothing else: pictures still
2178
+ need an OpenAI key, and search by meaning an OpenAI or OpenRouter one. The nolune plan is a
2179
+ subscription to nolune itself that covers all three, chats, pictures and embeddings, with no key to
2180
+ get: the admin signs in once, and a new profile's welcome has nothing else to ask. It works the way
2181
+ [Nous Portal](https://hermes-agent.nousresearch.com/docs/integrations/nous-portal) does for Hermes
2182
+ Agent: one sign-in, one OpenAI-compatible address in front, OpenRouter behind it.
2183
+
2184
+ - **What it is.** `nolune-plan`, a third plan in `plans.ts`. As on the ChatGPT plan, nolune runs the
2185
+ loop and makes the requests itself. They go to nolune's API (`https://api.nolune.dev/v1`), a
2186
+ service of nolune's own like the relay, which checks the plan's token, counts what each request
2187
+ costs and passes it on. Upstream is OpenRouter for all three, chats, pictures and embeddings, on
2188
+ nolune's account there, rather than nolune reselling its own accounts with each model's maker.
2189
+ The service is a package of its own (`packages/api`), not part of the npm package: a SvelteKit
2190
+ app (adapter-node, like the gateway's) for both the API and its few pages, on Postgres. Only
2191
+ the API: nolune itself, on the family's computer, keeps its SQLite file and needs no database
2192
+ server, and nothing of the API's (Postgres's drivers included) is in the npm package.
2193
+ - **Next to the relay, not in it.** The API runs on the relay's server, behind its Caddy, as a
2194
+ container of its own, with Postgres in another. They do different jobs: the relay passes bytes
2195
+ and keeps a JSON file, the API keeps money, which wants a database's transactions, and Postgres
2196
+ rather than SQLite so more than one process can serve it. The OpenRouter key and Stripe's secret
2197
+ stay out of the process every family's traffic goes through, and deploying one restarts nothing
2198
+ in the other: a relay restart holds every family's requests for a moment, and the API changes
2199
+ more often. Each also keeps working when the other is down. The gateway reaches the API
2200
+ directly, as it reaches OpenRouter, never through the relay.
2201
+ - **How it's run** (`packages/relay/README.md`, "nolune's API next to it"). `compose.api.yaml`,
2202
+ which `.env`'s `COMPOSE_FILE` adds to the relay's `compose.yaml`, so a relay alone stays as it
2203
+ was: the API's image (`packages/api/Dockerfile`, built from the repository's root with only the
2204
+ API's files; the build bundles everything but `pg` and `stripe`), which GitHub Actions builds
2205
+ into `ghcr.io/triangle-int/nolune-api` and the server pulls, since the build wants close to a
2206
+ gigabyte of memory and the relay's 1 GB server has about half that free, Postgres 17, and a service that
2207
+ dumps the database when it starts and each day after into `backups/`, kept two weeks. The
2208
+ relay's Caddyfile imports `sites/*.caddy`, and `compose.api.yaml` mounts `api.caddy` there: the
2209
+ API's address, with its certificate through Cloudflare's DNS like the relay's, and streams
2210
+ flushed as they come. Its secrets are in `api.env`, read by its container alone; Postgres's
2211
+ password is in `.env`, for both. It migrates its database as it starts, and `/health` answers
2212
+ `ok` while Postgres does, for the container's health check and `check.sh`. Updating it
2213
+ rebuilds and restarts the API only. About 40 MB for the API and 55 MB for Postgres, idle.
2214
+ - **Accounts** are better-auth's, with no password: the sign-in page emails a 6-digit code (through
2215
+ Resend's API, with plain fetch, from `account@mail.nolune.dev`: a subdomain, so what it sends
2216
+ doesn't weigh on `nolune.dev`'s own reputation), good for 5 minutes and 5 tries, and the first sign-in makes the
2217
+ account. Since anyone can ask for a code to any address, the page sends at most 3 to an address
2218
+ and 10 to a network every 10 minutes, and takes 20 tries at codes from a network (its own limits:
2219
+ better-auth's apply to requests through its handler, not to the calls form actions make).
2220
+ The page makes the code (better-auth's `createVerificationOTP`) and sends it itself, so it can
2221
+ say when Resend refused it: better-auth's own sending logs a failure and says the code went.
2222
+ - **Until the plan opens**, only the addresses in `ALLOWED_EMAILS` can sign in: Stripe's test mode
2223
+ takes test cards, so anyone else could get a plan for nothing and spend nolune's OpenRouter
2224
+ credit. Others are sent no code, by the page or by better-auth's own endpoint, and no account is
2225
+ made for them however it's asked for (a hook on making users). Without the list, anyone can.
2226
+ - **Linking a gateway** is a device code (OAuth's device authorization grant, better-auth's
2227
+ plugin): nolune (`nolune-plan.ts`) asks `POST /api/auth/device/code` as client `nolune` and shows
2228
+ the 8-letter code, read in fours (`FXGY-BXJD`), with the API's link page
2229
+ (`https://api.nolune.dev/link?user_code=…`, the code already in it). The person opens it on any
2230
+ device, signs in, sees the code (which makes it theirs to approve) and links it, while nolune
2231
+ asks `/api/auth/device/token` every 5 seconds until it's linked, for 15 minutes at most; one link
2232
+ at a time, which every page that starts one follows. Unlike the ChatGPT plan's sign-in, nothing
2233
+ comes back to `127.0.0.1`, so it works the same from a phone through the relay. It's started
2234
+ from `nolune nolune-plan setup` (which prints the page and the code), from the plan's row in
2235
+ Models & keys (which shows them and asks until it's linked), or from the welcome's model step.
2236
+ There the plan is the first screen on its own, one large choice, with "Other providers" under it
2237
+ opening the rest (the Claude and ChatGPT plans and the API keys). A key that's set already opens
2238
+ them straight away, picked, since it's the likely choice.
2239
+ - **Linked, with no plan yet.** Someone can link an account they haven't subscribed with. Models &
2240
+ keys and the welcome then say so and offer Subscribe, which opens the account page in a new tab
2241
+ (`nolunePlanAccountUrl`); the welcome waits there, asking every 4 seconds, and carries on to the
2242
+ models once there's a plan, rather than linking the same account again. The API's "no plan" is
2243
+ kept for a minute (a usage for ten), and pages hear it once, when it's news: they ask again when
2244
+ they hear, so telling them on every answer would have them ask on and on.
2245
+ - **What's kept** is `~/.nolune/nolune-plan.json` (mode 600, written whole and renamed into place),
2246
+ as `chatgpt.json` is: the account's email and the token the link gave, never shown or logged. The
2247
+ token is a better-auth session, sent as a bearer token on every request to `/v1`. It lasts 90
2248
+ days and is renewed as it's used, so a gateway that's running stays linked; signing out, in
2249
+ nolune or on the account page, ends it, and nolune forgets a token the API answers `401` to.
2250
+ One token rather than a refresh token and short-lived ones: the API looks the plan up on every
2251
+ request anyway, so a session lookup costs next to nothing, and there's no refresh to run one at a
2252
+ time. The token goes only to the API it was given by: a file from another `NOLUNE_PLAN_API_URL`
2253
+ is read as no link.
2254
+ - **One subscription per gateway.** The whole family draws on it, as on the keys, and its limits are
2255
+ the family's (below).
2256
+
2257
+ ### Chats, pictures and embeddings on it
2258
+
2259
+ - **Chats** speak OpenRouter's Chat Completions, so `openrouter.ts` runs them. Each of its functions
2260
+ takes the API it calls (a `ChatApi`), as `openai-chat.ts`'s take a `ResponsesApi`: `OPENROUTER`,
2261
+ with its key and address, the default, and the plan's `NOLUNE_PLAN` (in `nolune-plan.ts`), with
2262
+ nolune's API and the plan's token, which the SDK asks for on every request, as `CHATGPT_PLAN`'s
2263
+ does, and never an OpenAI organization or project from the environment. Each keeps its own client
2264
+ and model list. What the plan's calls throw becomes a `PlanError` (`planErrorOf`), a stop aside.
2265
+ Models are OpenRouter's ids (`anthropic/claude-sonnet-5.5`), from the plan's own list
2266
+ (`GET /v1/models`: OpenRouter's list in its shape, with prices, kept for an hour, and only the
2267
+ models that call tools, since nolune's agent works through one, and none of the free ones, whose
2268
+ limits every family would share: 381 of 464 in October 2026). The list puts the API's pick first
2269
+ (`RECOMMENDED_MODEL`, Claude Sonnet 5.5), then the newest, and nolune keeps its order (`ordered`
2270
+ on the plan's `ChatApi`; an OpenRouter key's list is sorted newest first), so the model a new
2271
+ preset starts on changes with the API rather than a release of nolune. The
2272
+ plan's replies are stored as `nolune-plan`'s, so moving a chat between it and an OpenRouter key is
2273
+ a switch of provider like any other.
2274
+ - **What each request is for.** The plan's requests say so in two headers the API reads (OpenRouter
2275
+ gets neither). `X-Nolune-Use: background` for a hidden chat's turn (automations' and subagents'
2276
+ runs, which the runner knows) and for the short exchanges nobody waits on, which `quickReply`
2277
+ takes as the default (a title, the note-taker, suggestions); `person` for everything else,
2278
+ memories brought over in the welcome included. `X-Nolune-Turn: continue` when the conversation's
2279
+ last message carries command results, which only a turn that's going sends, and on auto mode's
2280
+ checks of a command, which are part of the turn that asked for it.
2281
+ - **Unchanged on the way.** The API passes a request to OpenRouter as it came, with only the key
2282
+ replaced, and `max_tokens` (or `max_completion_tokens`, when that's the one it uses) set to
2283
+ 32,000 when it asks for more or doesn't say. A body that asks for less goes byte for byte; one
2284
+ that's changed is the same JSON written again. `cache_control`, `session_id` and
2285
+ the replies' `reasoning_details` go through byte for byte, so the cache works as it does on
2286
+ OpenRouter (see [On OpenRouter](#on-openrouter)). Nous Portal's API may ignore OpenRouter's
2287
+ extensions, which is why nolune runs its own rather than offering Nous Portal as a provider.
2288
+ - **No Files API**, as on the other plans: every family's files would be on nolune's one OpenRouter
2289
+ account, where one family could name another's `file_id`. Pictures and PDFs go inline.
2290
+ - **Pictures.** `nolune-plan` in `image-generation.ts`'s `PROVIDERS`: OpenRouter's Image API
2291
+ (`openrouter-images.ts`) at nolune's address with the plan's token (`NOLUNE_PLAN_IMAGES`), which
2292
+ passes requests on as it does chats, and lists OpenRouter's image models
2293
+ (`GET /v1/images/models`). Rather than FAL, as first planned: OpenRouter's catalog has the same
2294
+ models, says what each request cost as chats do, and is one account and one ledger. Image models
2295
+ are `nolune-plan/<OpenRouter's id>`, and the plan's `gpt-image-2.5-flare` is used when none is set
2296
+ and there's no key. The command is part of the turn that ran it (`X-Nolune-Turn: continue`), and
2297
+ background work in a hidden chat or a trigger's script (`NOLUNE_USE`, which the runner and the
2298
+ scheduler set for commands). At most 4 pictures a request and none streamed; and a picture goes
2299
+ on to the end and is charged even when whoever asked went away, since OpenRouter makes, and
2300
+ bills, it anyway.
2301
+ - **Embeddings.** `nolune-plan` joins `EMBEDDING_PROVIDERS`, with `text-embedding-3-small` through
2302
+ OpenRouter. Auto picks it last, after the keys, which are paid for already and don't count
2303
+ against the plan's limits. A source is its address and model, so moving onto the plan makes every
2304
+ fact's vector once more, which costs cents.
2305
+
2306
+ ### Credits and limits
2307
+
2308
+ The plan is credits, not unlimited use, and the month's credits are the one limit people meet:
2309
+ they're paid for already, so a family spends them as it likes. The agent works in the background
2310
+ too (automations, subagents, the note-taker, titles, auto mode's checks), and one automation in a
2311
+ loop would otherwise spend the month overnight, so background work may spend a tenth of the
2312
+ credits a day. A tier may also have a 5-hour limit and a weekly one, as Claude's plans do; Family
2313
+ has neither: on a plan that's paid in credits at cost, a window would only stop people while
2314
+ they still had credits left. The rules are `limits.ts` (in `packages/api/src/lib/server`): pure functions over an
2315
+ account's state (`admit` before a request, `charge` after it, `grantPeriod` and `addExtra` from
2316
+ Stripe's events), which the API runs inside one Postgres transaction each (`accounts.ts`, which
2317
+ locks the person's row first, so requests that end together each add what they spent).
2318
+
2319
+ - **Counted in dollars**, not tokens: models' prices differ fifty times over, and pictures cost too.
2320
+ OpenRouter says what each request cost in its usage, in the reply or a stream's last chunk
2321
+ without being asked. A request that went on a provider key of nolune's at OpenRouter (BYOK) has
2322
+ `cost` 0 and what the provider billed in `cost_details.upstream_inference_cost`, so a request's
2323
+ cost is the two together (`costOf` in `openrouter.ts`). A stream cut off before its last chunk
2324
+ (someone pressed Stop, the gateway went away) cancels OpenRouter's too, and is charged from
2325
+ OpenRouter's record of the generation (`GET /generation?id=`), asked 5 s, 20 s, 1 min and 3 min
2326
+ later: it isn't there at once, and was in about 25 s when tried. Pictures are charged the same
2327
+ way, from their reply's usage (or their generation, by the `x-generation-id` header), and count
2328
+ against the month and the limits like chats: a FLUX.2 klein picture costs $0.015, one of
2329
+ `gpt-image-2.5-flare`'s at low quality about the same.
2330
+ - **The limits.** The month's credits and what carries over are set on the plan's product in
2331
+ Stripe (see [Payments](#payments)), and so are a tier's windows, when it has them
2332
+ (`limit_5h_cents`, `limit_week_cents`; null in `Limits` without). Background work's day is a
2333
+ tenth of the period's credits (`BACKGROUND_DAY_SHARE`). The one plan to start with, Family, is
2334
+ $20 a month for $25 of credits:
2335
+
2336
+ | Limit | Family | Starts again |
2337
+ | ---------- | --------- | ------------------------------------------------------------- |
2338
+ | Month | $25 | with each payment; up to $12.50 of what's left carries over |
2339
+ | Background | $2.50/day | a day after the background request that opened the day |
2340
+ | 5 hours | none | (on a tier with one) 5 hours after the request that opened it |
2341
+ | Week | none | (on a tier with one) each week, on the plan's day and hour |
2342
+
2343
+ - **Why a tenth.** An automation in a loop then takes ten days to spend what a family has, and the
2344
+ bell has said so long before; the people in the family meet no limit but the month. Background
2345
+ work that's busy on purpose (a big import, a long research run) waits a day rather than failing:
2346
+ the refusal says when it may go on (`background_limit`).
2347
+ - **Windows, not sliding sums.** A window opens with the first request after the last one closed,
2348
+ so nolune can say exactly when it starts again ("again at 18:40"). A sliding sum is fairer by a
2349
+ few minutes but can't.
2350
+ - **Checked before, counted after.** A request is refused when any limit is spent. What it costs is
2351
+ known only once it's done, so the last one may go a little over, which counts. `max_tokens` keeps
2352
+ that bounded, and a request whose input alone (its size times the model's price) is more than
2353
+ what's left is refused before it's sent.
2354
+ - **A turn may finish.** An agent turn is many requests, and stopping one between a reply and its
2355
+ commands' results leaves the chat on an error. Requests that go on with a turn that started
2356
+ within the limit (the reply's commands' results, auto mode's check of a command it's about to
2357
+ run), which the gateway marks `X-Nolune-Turn: continue`, may go over by 10% of the 5-hour limit,
2358
+ or on a plan without one, of the day's background limit; new turns wait. A client that marks
2359
+ every request gains only that 10%.
2360
+ - **Background gets a day's share.** Hidden conversations (automations' and subagents' runs) and
2361
+ the short exchanges nobody waits on (titles, the note-taker, suggestions) are marked
2362
+ `X-Nolune-Use: background` and spend at most the day's background limit, so the people in the
2363
+ family always have the rest of the month for their chats; on a tier with windows, they also stop
2364
+ at 80% of each. It's the family's own budget, so the gateway has no reason to mark them wrong.
2365
+ - **Embeddings count only against the month.** They cost next to nothing, and search by meaning
2366
+ shouldn't stop with a window: recall would get worse just when someone is told to wait.
2367
+ - **Extra credits** are bought on their own, on top of a plan, kept for a year, and spent only past
2368
+ a limit, once whoever pays has turned that on on the account page, next to where they're bought.
2369
+ The windows don't apply to them, so a family can go on now rather than at 18:40. Background work
2370
+ never spends them: they were bought for people. A plan that ends keeps them for the next one,
2371
+ and spends nothing until then: the API answers `no_plan`.
2372
+ - **A period's credits don't run out by date.** The next paid period replaces them (with what
2373
+ carries over), so while Stripe retries a failed payment the family still has what was left.
2374
+ Packs do, a year after they were bought. A subscription that ends takes the period's credits and
2375
+ leaves the packs.
2376
+ - **Rate limits.** 8 requests at once and 120 a minute, per account, in memory (a `429` the SDKs
2377
+ retry after 5 s). The token works outside nolune too,
2378
+ and the plan's credits cost less than OpenRouter's (see [Payments](#payments)), which makes them
2379
+ worth reselling: one subscription per account and per card (Radar's card fingerprint), and the
2380
+ month's credits keep what one subscription can pass on to what it was given.
2381
+
2382
+ ### What the family sees
2383
+
2384
+ - **Over a limit**, the API answers `429` with OpenAI's error shape, the limit and when it starts
2385
+ again: `{ "error": { "code": "credits_spent", "message": …, "resets_at": … } }` (or
2386
+ `background_limit`, and on a tier with windows `five_hour_limit`, `weekly_limit`,
2387
+ `background_share`). It adds `x-should-retry: false`, since the SDKs retry a 429 themselves and
2388
+ don't wait out a `Retry-After` of hours. nolune makes it a `PlanError` with that `kind`, in
2389
+ words, as the ChatGPT plan's usage limit is said: "The nolune plan's credits are spent until
2390
+ the next payment, 1 November."
2391
+ - **Other errors.** OpenRouter's go on as they came (a request it can't take, a model that's down,
2392
+ input its moderation flagged), except a `401` or `402`, which are about nolune's own key or
2393
+ credits: those are logged for the operator and the family gets a `503` (`upstream_unavailable`).
2394
+ An account with no plan gets a `402` (`no_plan`), a model the plan doesn't offer a `400`
2395
+ (`model_not_offered`); neither asks OpenRouter anything.
2396
+ - **Usage, live.** Every response carries how much of each limit is used and when it starts again
2397
+ (`x-nolune-usage`): after the request, or for a stream, whose headers go first, before it.
2398
+ `GET /v1/usage` says the same, and is what the gateway reads: 1.5 s after a request of the
2399
+ plan's ends (the API charges a stream once it's done, and requests that end together are asked
2400
+ about once), and when it's read and unknown or ten minutes old (`nolunePlanUsage` in
2401
+ `nolune-plan.ts`). When it moves, `/api/events` tells every open page (the whole family draws on
2402
+ the plan), which asks `/api/nolune-plan/usage` again (`plan-usage.svelte.ts`). It shows as bars,
2403
+ the month (how much of the period's credits is spent, and when it renews) and on a tier with
2404
+ them the 5-hour window and the week, in this browser's time, and the credits left
2405
+ (`PlanUsageBars`, over `planLimits`): in the model menu of a chat on the plan, and in the plan's
2406
+ row in Models & keys. From 80% of a limit, the line under the composer (nolune's disclaimer
2407
+ otherwise) says the fullest with a short bar, amber, then red once it's reached: "nolune plan
2408
+ ▬ This month: 85% used · renews 1 Nov" (`PlanUsageNote`).
2409
+ - **Automations** refused by a limit don't fail: the run waits and starts again when the limit
2410
+ does, and the bell says so once. A subagent refused by one ends with the error, which its parent
2411
+ hears from `nolune agent watch`.
2412
+ - **Pictures.** A refused picture is said at once, in the same words as a chat's limit: the API
2413
+ refuses before asking OpenRouter, so nothing waits for a picture that won't come.
2414
+
2415
+ ### Trust and terms
2416
+
2417
+ - **Who sees the chats.** With a key, requests go from this computer to the provider; on the plan
2418
+ they pass through nolune's API, which could read them, as the relay could (see
2419
+ [The relay](#the-relay)). It keeps only what each request cost, added to the plan's totals,
2420
+ never what was said; OpenRouter and the model's maker see requests as they do with an OpenRouter
2421
+ key. The welcome and Models & keys say so where the plan is offered.
2422
+ - **Regions.** The API serves only the countries its upstreams serve, and refuses others with a
2423
+ page saying so. The plan isn't a way around a provider's regions, and one family's misuse would
2424
+ cost every family its access.
2425
+
2426
+ ### Payments
2427
+
2428
+ Triangle Interactive, LLC sells the plan, through Stripe.
2429
+
2430
+ - **The catalog.** Two products, in the same Stripe account as Gensprite's and named the same way:
2431
+ `nolune Family` ($20 a month, its price's lookup key `nolune-plan-family`) and
2432
+ `nolune extra credits` ($10 once, `nolune-pack-10`). What each grants is in its metadata, in
2433
+ cents: `credits_cents` (2500 and 1000), the plan's `rollover_cap_cents` (and on a tier with
2434
+ windows, `limit_5h_cents` and `limit_week_cents`), the pack's `expires_in_days`, and
2435
+ `offer: launch` while the launch offer
2436
+ lasts (below). The API reads them from the product of what
2437
+ was paid, so another tier is another product rather than new code. Checkout finds prices by their
2438
+ lookup keys.
2439
+ - **A launch offer.** Credits are model use at OpenRouter's prices, and to win families they start
2440
+ out worth more than they cost: $25 for a $20 plan, $10 for a $10 pack. With Stripe's and Managed
2441
+ Payments' fees and OpenRouter's on buying credits, a family that spends every credit costs about
2442
+ $8 a month more than it pays, and a pack about $1.50; credits nobody spends cost nothing. It's
2443
+ called what it is everywhere it's sold: the products' descriptions at Checkout, the account page,
2444
+ and Models & keys ("Launch offer: $25 of credits for $20"), from `offer: launch`. Ending it is
2445
+ the products' metadata, not new prices: families are told a month ahead, and their periods after
2446
+ that get the new amounts. Credits already given and packs already bought keep theirs.
2447
+ - **Buying.** The account page (`/` on the API) opens Stripe Checkout for the plan (one per
2448
+ account) and for a pack of extra credits (a one-time payment, once there's a plan), and Stripe's
2449
+ customer portal (Manage) for the card, invoices and cancelling. Each person's Stripe customer is
2450
+ made at their first Checkout and kept (the `customer` table), and Stripe's events find people by
2451
+ it. Back from Checkout (`?checkout=plan&session=…`), the page waits for the event that grants
2452
+ what was paid for, for up to a minute. Nothing is billed for use afterwards: the month's credits
2453
+ come with the subscription and extra credits are paid before they're spent, so there's never an
2454
+ invoice for tokens already used, or one that fails after they were. `billing.ts` is all of it.
2455
+ - **nolune's own portal.** The account's default portal configuration is Gensprite's too, and lets
2456
+ people switch prices, so nolune's (`STRIPE_PORTAL_CONFIGURATION`) offers cancelling at the
2457
+ period's end, cards and invoices, and no switching. On flexible billing (this API version), a
2458
+ cancellation sets the subscription's `cancel_at` rather than `cancel_at_period_end`; the page
2459
+ reads both ("Cancelled: the plan ends on November 1").
2460
+ - **Credits follow Stripe's events**, at `/stripe/webhook` (API version `2026-09-30.endive`, the
2461
+ SDK's). `invoice.paid` for a subscription's first period starts the plan, and each one after
2462
+ grants the period's credits (with what carries over) and the product's limits; one for anything
2463
+ else (a prorated change, once there's more than one tier) grants nothing and is logged, and so
2464
+ does one for a subscription that has run out since. `checkout.session.completed` (or
2465
+ `async_payment_succeeded`, for a payment that comes later) adds a pack's credits.
2466
+ `customer.subscription.deleted`, sent when a cancelled subscription runs out, ends the plan
2467
+ unless another subscription holds it. `charge.refunded` for a payment refunded in full (from
2468
+ the Dashboard, or by Stripe itself, which under Managed Payments may refund within 60 days)
2469
+ takes back what's left of what it paid for, found by its payment intent (the invoice's payment,
2470
+ or the pack's Checkout Session): spent credits stay spent, and those carried over from an
2471
+ earlier period stay. A refund of part of a payment takes nothing and is logged. Each event is checked by its signature, and each grant is
2472
+ keyed by what paid for it (the invoice, the Checkout Session), so an event Stripe sends twice
2473
+ grants once. The account sells Gensprite too, and the endpoint hears its events as well: an
2474
+ event is nolune's when its subscription or Checkout says whose it is (`userId`, which Checkout
2475
+ puts in both), or its customer is one the API keeps; the rest are passed over before Stripe is
2476
+ asked anything, and logged nowhere. Events come in the endpoint's API version, else the account's default
2477
+ (`2026-01-28.clover` in October 2026); what the API reads of them is the same in both. Checked
2478
+ end to end in test mode: Checkout for the plan and a pack, cancelling in the portal, a
2479
+ subscription's end, and on a test clock a renewal, a failed payment and its recovery.
2480
+ - **A failed payment** leaves the plan what's left of its credits but gives it no new ones while
2481
+ Stripe retries. The account page says so (the subscription is `past_due` or `unpaid`), and
2482
+ Manage changes the card. Models & keys says it too, with Change card opening the account page:
2483
+ `/v1/usage` adds `paymentFailed`. Each paid period moves the account's `renewsAt` on, so the API
2484
+ asks Stripe only once a period has ended with no new one paid, and keeps the answer five
2485
+ minutes; the usage it sends with each response (`x-nolune-usage`) doesn't carry it.
2486
+ - **The API keeps its own ledger.** Stripe knows money, not limits: the credits and background
2487
+ work's day are checked before every request, so the API keeps them and what each request cost
2488
+ itself, and Stripe never sees tokens. Stripe's LLM token billing (a private preview in 2026,
2489
+ which meters tokens through OpenRouter with a markup) bills use afterwards, which a prepaid plan
2490
+ doesn't need.
2491
+ - **Sales tax and VAT.** The EU and the UK tax digital services sold to people there from the
2492
+ first sale, for a seller outside them. Stripe Managed Payments makes Stripe the merchant of
2493
+ record, which collects and pays those in over 80 countries: it's switched on in the Dashboard,
2494
+ and each Checkout Session sets `managed_payments[enabled]`. It takes AI services since June 2026,
2495
+ so both products have the tax code `txcd_10105001` (AI as a service, cloud based, personal use).
2496
+ It sells to nobody in the countries Stripe restricts, Russia among them, which fits the API's
2497
+ regions.
2498
+ - **Stripe and OpenRouter.** Stripe agreed to buy OpenRouter in August 2026. Gateways only know
2499
+ nolune's API, so whatever changes at OpenRouter is the API's to follow.
2500
+
2501
+ ### Open questions
2502
+
2503
+ - More tiers, once Family's use is known.
2504
+ - Shares for each member of a family. The API knows only the gateway, so the gateway would count
2505
+ them (it knows who started each turn), from what each response says it cost (`x-nolune-cost`).
2506
+ - Whether background work's share should be an admin's setting.
2507
+ - When the launch offer ends, and whether packs need a cap a month meanwhile: each one costs more
2508
+ than it brings in, and nothing limits how many one account buys.
2509
+
1953
2510
  ## Code layout
1954
2511
 
1955
2512
  ```
@@ -1962,16 +2519,19 @@ packages/core @nolune/core. Schema + migrations, config, skills, prompt, run_c
1962
2519
  request, and custom-providers.ts, your own servers in either API),
1963
2520
  plans (plans.ts: the Claude plan's turns through Claude Code in claude-plan.ts; the
1964
2521
  ChatGPT plan's requests in chatgpt-plan.ts, signed in with Sign in with ChatGPT in
1965
- chatgpt-sign-in.ts), provider
1966
- file cache, runner, compaction (compaction.ts), media, users/invites/profiles/presets, API
2522
+ chatgpt-sign-in.ts; the nolune plan's link and errors in nolune-plan.ts, its chats
2523
+ openrouter.ts's on nolune's API), provider
2524
+ file cache, runner, compaction (compaction.ts, quiet chats in
2525
+ idle-compaction.ts), media, users/invites/profiles/presets, API
1967
2526
  keys, chat folders, triggers, scheduler, subagents (subagents.ts, and
1968
- subagent-host.ts in the gateway), notifications, image generation (providers:
1969
- openai.ts), the web (web.ts), image templates and assistant avatars.
2527
+ subagent-host.ts in the gateway), MCP servers (mcp.ts), notifications, image
2528
+ generation (providers: openai.ts, and openrouter-images.ts for OpenRouter and the
2529
+ nolune plan), the web (web.ts), image templates and assistant avatars.
1970
2530
  Built-in skills in packages/core/skills, built-in templates in
1971
2531
  packages/core/image-templates. Plain TypeScript run by Node with type stripping
1972
2532
  (no enums or parameter properties; imports use .ts extensions).
1973
2533
  packages/cli nolune: setup, start, service, relay (relay.ts), config, key, claude-plan, chatgpt-plan (plans.ts), env,
1974
- user, preset, profile, skill, trigger, wake, view, memory, card, generate, web, agent. `runCli(argv, io)` in run.ts runs a command and returns
2534
+ user, preset, profile, skill, mcp, trigger, wake, view, memory, card, generate, web, agent. `runCli(argv, io)` in run.ts runs a command and returns
1975
2535
  its exit code; index.ts calls it with this process's io. Commands print, read stdin,
1976
2536
  the environment (NOLUNE_PROFILE, …) and the working folder only through `io` (io.ts),
1977
2537
  never `process`, and end in an error rather than `process.exit`, so the agent's
@@ -1983,14 +2543,29 @@ packages/web SvelteKit gateway (adapter-node). @nolune/core is bundled into t
1983
2543
  UI components in src/lib/components (shadcn-svelte primitives in ui/, a new
1984
2544
  profile's welcome in welcome/, its sounds in src/lib/welcome), the interface's
1985
2545
  languages in src/lib/i18n.
2546
+ packages/api @nolune/api. nolune's API for the nolune plan (see [The nolune
2547
+ plan](#the-nolune-plan)), a SvelteKit app (adapter-node) on Postgres with
2548
+ drizzle (migrations in packages/api/drizzle, run when it starts). So far: accounts
2549
+ with better-auth (auth.ts: codes by email, email.ts through Resend; device codes
2550
+ for gateways; bearer tokens), the plan's credits and limits (limits.ts, kept by
2551
+ accounts.ts), selling it through Stripe (billing.ts: Checkout, the portal, the
2552
+ webhook), the pages (sign-in, link, the plan), and /v1: usage, models, and
2553
+ chats, pictures and embeddings passed on to OpenRouter (proxy.ts, openrouter.ts, with
2554
+ stream.ts reading a stream's usage as it goes on). Its tests run on
2555
+ PGlite, Postgres in the test's own process. Run next to the relay
2556
+ (Dockerfile, and compose.api.yaml in packages/relay), not part of the npm package.
1986
2557
  packages/relay @nolune/relay. The relay server (relay.ts, with its gateways file, store.ts, and its
1987
2558
  pages), and what the gateway shares with it: the protocol (protocol.ts), a WebSocket
1988
2559
  as a byte stream (stream.ts) and the headers that go on to the next hop
1989
- (headers.ts). Deployed on its own (Dockerfile, compose.yaml with Caddy), not
1990
- part of the npm package; the CLI bundles only the shared files.
2560
+ (headers.ts). It sends the gateways' notifications on to Apple for the family's
2561
+ iPhones (push.ts). Deployed on its own (Dockerfile, compose.yaml with Caddy), not
2562
+ part of the npm package; the CLI and core bundle only the shared files.
1991
2563
  scripts/ build-cli.mjs bundles the CLI and core into dist/cli.js with esbuild.
1992
2564
  macos/ nolune.app: the SwiftUI onboarding, the gateway's keeper and the menu bar
1993
2565
  extra (see [The macOS app](#the-macos-app)); scripts/build-app.sh bundles it.
2566
+ ios/ nolune for iPhone and iPad (Nolune.xcodeproj): UIKit around a WKWebView, and a
2567
+ SwiftUI first screen that builds in the macOS app's Sky.swift and Theme.swift (see
2568
+ [The iOS app](#the-ios-app)).
1994
2569
  ```
1995
2570
 
1996
2571
  Core finds the package root by walking up to the `package.json` named `nolune`. That works
@@ -2099,6 +2674,227 @@ signing.
2099
2674
  edge, a mid-tone both read on. dmgbuild writes the window's layout into the image's `.DS_Store`
2100
2675
  rather than scripting Finder, which needs a logged-in session.
2101
2676
 
2677
+ ## The API for apps
2678
+
2679
+ Apps of their own, like nolune for iOS, read JSON instead of pages. Families update their nolune
2680
+ when they like, so an app asks each one what it serves.
2681
+
2682
+ - **`GET /api/version`** answers anyone with `{ version, api }`: nolune's version and the level of
2683
+ this JSON (`API_LEVEL` in `packages/web/src/lib/server/api.ts`). Signed in, it adds
2684
+ `capabilities`: what an app can show natively: `chats`, `notifications`, `transcript`, a
2685
+ profile's pages (`memory`, `automations`, `skills`, `profile`, `folders`, `images`), and Live
2686
+ Activities (`activities`). A change an app
2687
+ would notice, to an endpoint below or to what it answers, raises the level, and an app shows
2688
+ natively only what a nolune's level and capabilities cover, the web page otherwise. Adding a
2689
+ field doesn't raise it: apps ignore what they don't know.
2690
+ - **Signing in** is better-auth's `POST /api/auth/sign-in/email`, as the sign-in page does; the app
2691
+ keeps the session cookie it sets. It sends no cookies and no `Origin` with it: better-auth checks
2692
+ the origin of requests that carry either against the address the nolune was set up with, which
2693
+ an app may reach it by another of (a computer on this network). The pages sign in and out on the
2694
+ server, which it doesn't check, and an app signs out as they do, with `POST /logout`.
2695
+ - **Who's signed in.** `GET /api/me` says who, as the account menu shows them: their id, name,
2696
+ email, picture and whether they're an admin; `PATCH /api/me` renames them.
2697
+ - **Profiles and chats.** `GET /api/profiles` lists the person's profiles with their members;
2698
+ `GET /api/p/<slug>/folders` a profile's folders, which `POST` makes, and `PATCH` (`{ name }`)
2699
+ and `DELETE /api/p/<slug>/folders/<id>` rename and delete, its chats staying, out of any folder. `GET /api/p/<slug>/chats` pages through its
2700
+ chats, most recently active first: `limit` (50, at most 100), and `after`, the `next` the page
2701
+ before gave, opaque to the app (`<updatedAt ms>.<id>`, so pages neither skip nor repeat a chat
2702
+ active at the same moment as another). Each chat has its title (empty until it has one: apps say
2703
+ "New chat" in their own words), model, folder, last activity and whether nolune is working in it.
2704
+ - **Changing chats.** `POST /api/p/<slug>/chats` starts one as the new chat's page does
2705
+ (`startChat` in `packages/web/src/lib/server/chats.ts`, shared with its form action): the default
2706
+ model unless `preset` names one, `effort`, `folder`, `commands` (how its commands run), and
2707
+ `text` and `uploads` for its first message. `GET /api/p/<slug>/new-chat` says what that page
2708
+ loads: the person's chips (`suggestions`; `suggestionsStale` when `/suggestions` would make new
2709
+ ones), the models a chat can use and the default one, the reasoning levels, and how commands run
2710
+ unless a chat says otherwise. A file for a message is its bytes, posted to
2711
+ `/api/p/<slug>/uploads` with its name in `x-file-name` (`encodeURIComponent`), as the composer
2712
+ uploads it. `PATCH /api/c/<id>` renames it, answering with the title as kept; `DELETE /api/c/<id>`
2713
+ deletes it, as its menu does. The rest of a chat (its events, sending, stopping, its model) was
2714
+ JSON already, under `/api/c/<id>/`.
2715
+ - **The bell.** `GET /api/notifications` lists it, with when the person last opened it; dismissing,
2716
+ clearing and marking it seen were JSON already.
2717
+ - **A chat's transcript** comes built, so an app doesn't group steps into replies itself:
2718
+ `GET /api/c/<id>/transcript` is a chat's event stream like `/events`, whose snapshot carries the
2719
+ transcript (`entries`, as `buildTranscript` makes them, and `results`, the commands' output by
2720
+ call) in place of the rows and live blocks it's built from. After it, `transcript` events carry
2721
+ what changed: the entries' keys in `order`, the entries that are new or differ, and results the
2722
+ app doesn't have; an entry whose key is no longer in `order` is gone. A reply's key follows what
2723
+ it answers, so it stays the same while the reply streams and once it's saved. A streaming reply goes out at most every 100 ms, and anything
2724
+ waiting goes before the chat's other events (its status, title, who's typing…), which come as
2725
+ they are. The gateway keeps each stream's chat in a `ChatView` (`packages/core/src/chat-view.ts`),
2726
+ as a page keeps its ChatState. Its capability is `transcript`.
2727
+ - **Errors** are JSON too, `{ message }` in the person's language where the pages have the words,
2728
+ with the status: 400 for what doesn't check out, 401 signed out, 403 for what isn't theirs to do,
2729
+ 404 for what isn't there or isn't theirs to see.
2730
+ - **Changes** reach apps as they reach pages, through `/api/events`.
2731
+ - **A profile's pages.** Each page's load is JSON too, from the same code (`lib/server/memory.ts`,
2732
+ `automations.ts`, `images.ts`), and each of its forms an endpoint, under `/api/p/<slug>/`:
2733
+ `memory` (with `notes`, `PUT` to write one against the `updatedAt` it opened with, 409 when it
2734
+ changed since, and `DELETE`; `moves`; `learning`), `automations` (`?month=`; `PATCH`, `DELETE`
2735
+ and `/run` on one), `skills` (`PATCH` turns some on or off), `settings` (the profile's name,
2736
+ avatar and soul, its members with whose note is theirs; `PATCH`), `members` (`POST` adds
2737
+ someone, answering `{ choose }` when memory may know them already; `PATCH` and `DELETE` on one),
2738
+ `DELETE /api/p/<slug>` for the profile, a folder's instructions and `files`, and `images` (its
2739
+ templates; `POST` starts a picture's chat, answering with it).
2740
+ - **Live Activities.** An iPhone gives its activity's token for a chat (`POST /api/c/<id>/activity`,
2741
+ `DELETE` once it's over) and the gateway follows the chat (`live-activities.ts` in core), sending
2742
+ what nolune does through the relay (`POST /api/gateways/<name>/activity`, an ActivityKit push) at
2743
+ most every 10 seconds, then the reply's first words once it's done. An automation's `/run`
2744
+ answers with the chat its agent works in, when it started right away, for the same.
2745
+ - **Pages inside an app.** An app can show a page of the family's nolune inside its own screens
2746
+ until it has a native one. Its web view adds `nolune-embedded` to the user agent
2747
+ (`isEmbedded` in `packages/web/src/lib/ios.ts`), and the page then leaves out its top bar,
2748
+ sidebar and title, keeping its header's actions, and makes its links full navigations
2749
+ (`data-sveltekit-reload`), so the app can open the ones it shows natively.
2750
+
2751
+ ## The iOS app
2752
+
2753
+ `ios/` is nolune for iPhone and iPad: the family's nolune in an app of its own, with the bell's
2754
+ notifications on the lock screen. Its screens are SwiftUI, reading the [API for
2755
+ apps](#the-api-for-apps) (the native screens, below); pages it has no screen of its own for yet
2756
+ are the web app's, in a WKWebView, and a nolune from before that API gets today's web app whole.
2757
+ It's built with Xcode 26 (`ios/Nolune.xcodeproj`, whose
2758
+ folders Xcode reads as they are, so a new file needs no change to the project: `Nolune` for the
2759
+ app, `NoluneWidgets` and `NoluneShare` for its extensions, `Shared` for what all three build),
2760
+ checked by
2761
+ `.github/workflows/ios.yml`, and published to the App Store from Xcode: see `ios/README.md`. It
2762
+ runs on iOS 16 and later, and iOS 26's SDK gives it that version's look there, Liquid Glass: the
2763
+ system's own parts (bars, sheets, alerts, menus) wear it by themselves, so native screens use them
2764
+ rather than chrome of their own, and controls of their own that float over content use
2765
+ `glassEffect` on iOS 26.
2766
+
2767
+ - **Connecting.** The first screen (`ConnectView.swift`) wears the macOS onboarding: its sky,
2768
+ type and controls, `Sky.swift` and `Theme.swift`, are built into both apps. It asks which nolune
2769
+ to open: a name on the relay (`smiths` is `https://smiths.nolune.family`), an address, or any
2770
+ link from it, like an invite, whose page opens first (`Address.swift`). It checks that a nolune
2771
+ answers there (`/api/version`, or for one from before it, its sign-in page; the relay's page for
2772
+ a computer that's off counts) and keeps the address it answered at, after any redirect
2773
+ (`example.com` to `www.example.com`), since pages on any other address go to Safari. Plain http only on this network (localhost, `.local`, private IPv4), as App
2774
+ Transport Security allows with `NSAllowsLocalNetworking`.
2775
+ - **The web app** (`BrowserController.swift`) is as Safari shows it, with `nolune/<version>` at the
2776
+ end of the user agent. It stays inside the safe area and above the keyboard, so the composer is
2777
+ always in sight, and the page's background fills the edges, with a status bar that reads on it: a
2778
+ script the app adds to the family's pages says the color of `<body>` (WebKit's own
2779
+ `underPageBackgroundColor` reads clear there), and again when the theme changes. That's why the
2780
+ app is UIKit at the root: SwiftUI can't choose the status bar's style. Links elsewhere open in
2781
+ Safari, and new windows of the family's own pages load in place. Files the agent hands over (downloads) open in Quick Look, which shares or saves
2782
+ them; `alert`, `confirm` and `prompt` are native alerts; the file picker and camera are WebKit's.
2783
+ - **Notifications** (`Push.swift`). Once someone has signed in (a page of the family's has
2784
+ loaded, or the web app moved to one, that isn't the sign-in or an invite page, an error, or a
2785
+ profile's welcome), the app asks to show notifications and registers with Apple. Not as a page
2786
+ starts to load: its address changes before a redirect to the sign-in page says nobody is. The token goes to the gateway from the page, as whoever
2787
+ is signed in (`POST /api/push`, run with `callAsyncJavaScript`), and belongs to their session
2788
+ (`push_device`, `packages/core/src/push.ts`): signing out stops it, and whoever signs in next on
2789
+ that iPhone takes it over. A development build's token is for Apple's sandbox, as the build's
2790
+ provisioning profile says. Each new notification goes to the iPhones of the profile's members
2791
+ through [the relay](#the-relay): its title, the profile's name, its text as plain text
2792
+ (`notificationText`: pictures as their description, links as their label, no Markdown), a thread
2793
+ for each profile, and the page to open, `/p/<slug>?notification=<id>`, where the bell opens with
2794
+ it in full. The app opens a tapped one only on the nolune it has open, by the address the relay
2795
+ adds. A nolune without the relay sends none; the bell still has them.
2796
+ - **Elsewhere.** In the app, the sign-in page and the menu under the person's name have "Connect to
2797
+ another nolune" (`packages/web/src/lib/ios.ts`, a `nolune` message to the app). The app first
2798
+ tells the nolune to stop sending that iPhone notifications (`DELETE /api/push`), then shows the
2799
+ first screen, which offers going back.
2800
+ - **Native screens** are on unless the app is launched with `-native NO`, which opens today's web
2801
+ app instead (`AppModel.native`). `NativeController.swift` asks the nolune which it is
2802
+ (`/api/version`). One with the API for apps signs in natively (`SignInView.swift`, through
2803
+ `Client.swift`), with the sign-in page's words and errors, then shows the native screens
2804
+ (`MainView.swift`); one from before, today's web app, with a line above it, "Update nolune for
2805
+ the full app"; one that didn't answer, the web app, and it asks again when the app comes back to
2806
+ the front. The session is better-auth's cookie, which `Cookies.swift` keeps in
2807
+ both of the app's cookie stores, URLSession's and the web views': copied to the web views'
2808
+ after signing in natively, and from them after an invite, or at launch when the app has no
2809
+ session of its own (after the sign-in shows: WebKit's store is slow to answer at first), so
2810
+ either signs in for both. An invite link makes the account on its page, in a sheet over the sign-in
2811
+ (`InviteController.swift`), which hands over the page it went on to. Signing out in the web app
2812
+ (its `/logout` goes on to the sign-in page, which the app doesn't show) signs the app's session
2813
+ out too, after telling the nolune to stop sending that iPhone notifications, and the native
2814
+ sign-in comes back.
2815
+ - **The native screens** are a split view (`MainView.swift`): the sidebar beside what it opens on
2816
+ an iPad, pushed on an iPhone. `Family.swift` keeps the family's nolune for them: who's signed in,
2817
+ their profiles, the open profile's chats and folders, the bell, all live from `/api/events` and
2818
+ the profile's `/running`, followed again after they drop and when the app comes back to the
2819
+ front. They wear the web's colors (`Palette.swift`): its page, sidebar, bubble, composer and
2820
+ border greys, a near-black primary (a light grey in the dark) for links, buttons and what's
2821
+ picked, and the open profile's tint of them, as its pages have on the web. Lists and forms are
2822
+ the web's page with its `muted` tiles for rows. `scripts/ios-avatars.ts` writes the values from
2823
+ `layout.css` and `tint.ts` (`Palettes.swift`), and a test keeps them current.
2824
+ - **The sidebar** (`SidebarView.swift`) is the web sidebar's: a new chat, the profile's pages,
2825
+ its folders with their chats, its other chats a page at a time with a spinner on the ones
2826
+ nolune works in, and search through all of them. A chat renames, moves and deletes from a
2827
+ swipe or its menu. The toolbar switches profiles, opens the bell, and has the account menu.
2828
+ The profiles' assistants are drawn as the web draws them: `scripts/ios-avatars.ts` turns the
2829
+ glyphs in `packages/core/src/avatars.ts` and their colors into Swift (`Avatars.swift`), and a
2830
+ test keeps it current.
2831
+ - **A chat** (`ChatView.swift`) follows `/api/c/<id>/transcript` (`Conversation.swift`, keeping
2832
+ it as the page keeps its ChatState: `Transcript.swift`). Replies are Markdown, read in blocks
2833
+ as `marked` reads them (`Markdown.swift`: paragraphs, headings, lists and tasks, quotes, rules,
2834
+ code with a copy button, tables that scroll sideways, pictures), with Foundation's inline
2835
+ Markdown in each block (`MarkdownView.swift`), so a reply that streams draws again only the
2836
+ blocks that changed. Pictures and files a reply or command shows come from the copies nolune
2837
+ kept, as on the web, and open in Quick Look. Work between texts folds into "Thinking" or
2838
+ "Worked for 12s" (`ActivityView.swift`), each command with its icon: Lucide's, fetched from
2839
+ `/api/icons/<name>` and drawn from its SVG (`SVG.swift`, `LucideIcon.swift`). The view follows
2840
+ the newest message unless the person scrolled up, then offers to jump back.
2841
+ - **The composer** (`Composer.swift`, `ChatComposer.swift`) grows with its text; Return sends
2842
+ from a hardware keyboard and Shift-Return starts a line. Files from Photos, the camera and
2843
+ Files upload as they're added. Its menus are the web's: the model and reasoning (asking first
2844
+ in a chat with replies, whose cache a switch loses), how commands run, and for a new chat
2845
+ (`NewChatView.swift`, with a greeting for the time of day and the person's chips) its folder.
2846
+ It tells the chat the person is typing, as the web does.
2847
+ - **The bell** (`BellView.swift`) is a sheet, the new ones first; a tapped notification opens it
2848
+ with that one in full. **Settings** (`Settings.swift`) has the person's name and the pages'
2849
+ preferences, kept in the `nolune-prefs` cookie the pages read.
2850
+ - **A profile's pages** are native when the nolune serves them (its capabilities): Memory
2851
+ (`MemoryView.swift`: the notes by category, to edit, move or merge and forget, the cards, and
2852
+ what was saved from chats, to undo), Automations (`AutomationsView.swift`: the month's
2853
+ calendar, and each one to run, pause, change or delete), Skills, People & profile
2854
+ (`ProfileView.swift`), a folder (`FolderView.swift`), and Images (`ImagesView.swift`: the
2855
+ templates, a drawing on PencilKit's canvas, or a description). Their models are in
2856
+ `ProfilePages.swift`.
2857
+ - **Pages without a native screen** (your card, all profiles, the admin's) are the web app's,
2858
+ inside the native navigation (`WebScreen.swift`, as [pages inside an app](#the-api-for-apps)):
2859
+ a link in one to a chat or another screen opens it natively.
2860
+ - **Beyond the app** ([#138](https://github.com/triangle-int/nolune/issues/138)). The app leaves
2861
+ what its extensions need in their app group, `group.dev.nolune.app` (`Shared/Shared.swift`,
2862
+ written by `Sharing.swift`): the session's cookies in the group's keychain, the person's
2863
+ profiles, the last one open first, and the bell's latest notifications as text, and takes them
2864
+ away when someone signs out. A widget or a Live Activity opens a page with
2865
+ `nolune://open?path=…`, which the app opens as it opens a tapped notification.
2866
+ - **Widgets** (`NoluneWidgets/`): the bell's latest notifications, on the Home Screen and the
2867
+ lock screen, and "Ask nolune", a new chat in the profile last open. The app draws them again
2868
+ when what they show changes.
2869
+ - **Live Activities.** Sending a message (or a new chat's first, or running an automation) starts
2870
+ one on the lock screen and in the Dynamic Island, if the nolune serves them (`activities`) and
2871
+ the person allows them: the profile's assistant, the chat's title, and the command nolune runs,
2872
+ in the model's words (`ReplyActivity` in `Shared/`, drawn in `NoluneWidgets/`). Its token goes
2873
+ to the nolune, which sends the changes through the relay ([the API for
2874
+ apps](#the-api-for-apps)), as the app does itself while the chat is open
2875
+ (`LiveActivities.swift`); once the reply is done it shows its first words, for a while on the
2876
+ lock screen, or not at all when the person watched it in the app. One a scheduled automation
2877
+ starts by itself would need push-to-start tokens (iOS 17.2) and, as it would wake every
2878
+ member's lock screen for every run, isn't done: the run's notification says when it's done.
2879
+ - **The share sheet** (`NoluneShare/`): photos, videos, files (ten, as a message takes), a link or
2880
+ text from any app, into a new chat or one of the latest, in any of the person's profiles. It
2881
+ sends as the person, with the app's cookies, and uploads as the composer does.
2882
+ - **Siri and Shortcuts** (`AskNolune.swift`): "Ask nolune" asks what to ask, then opens the app
2883
+ on a new chat with it, in the profile last open.
2884
+ - **When it can't be reached** (no network, an address that's gone), a screen says so, with Try
2885
+ again and Connect to another nolune, and it tries again when the app comes back to the front. A
2886
+ family computer that's off is the relay's page, which reloads itself.
2887
+ - **Privacy.** The app collects nothing and tracks no one (`PrivacyInfo.xcprivacy`): what people
2888
+ write goes to their family's nolune. A notification's text, and a Live Activity's, passes through
2889
+ the relay and Apple, as any app's notifications pass through Apple; neither keeps it. The
2890
+ privacy policy, at `nolune.dev/privacy` (`site/src/routes/privacy`), covers nolune, the apps, the
2891
+ relay, the nolune plan's API and the site; the first screen links it, as the App Store asks.
2892
+ Keep it to what the code does. The plan's terms, at `nolune.dev/terms`, say what a subscription
2893
+ gives, how it renews, ends and is refunded, and how it may be used. The account page notes them
2894
+ by Subscribe and Buy, and nolune's portal configuration links them; Checkout can't, since under
2895
+ Managed Payments it takes neither its own text (`custom_text`) nor a terms checkbox without the
2896
+ Stripe account's terms URL, which every product's Checkout would show, Gensprite's too.
2897
+
2102
2898
  ## Not done yet
2103
2899
 
2104
2900
  - Cards: notes shared on purpose between profiles, for people who aren't users (a grandmother in
@@ -2115,12 +2911,26 @@ signing.
2115
2911
  Sign in with ChatGPT allows).
2116
2912
  - The web: reading a page here, without Firecrawl, once its free tier is used up for the day, and
2117
2913
  search providers other than Firecrawl.
2118
- - Other image providers (OpenRouter, fal, Higgsfield): a module each next to `openai.ts` and an entry
2119
- in `PROVIDERS`, plus one in `API_KEYS` (config.ts) and a check request in `api-keys.ts`.
2914
+ - Other image providers (fal, Higgsfield): a module each next to `openai.ts` and an entry in
2915
+ `PROVIDERS`, plus one in `API_KEYS` (config.ts) and a check request in `api-keys.ts`.
2120
2916
  - Auto mode: house rules an admin writes for the check (Claude Code's environment, block and allow
2121
2917
  slots), a probe that warns the agent about prompt injection in what its commands print, and a
2122
2918
  look at everything a subagent did when it hands back its result.
2919
+ - MCP servers: adding a server's tools to chats already going without a cache miss (Claude's
2920
+ mid-conversation tool changes, where the model takes them); each member signing in to a server
2921
+ with their own account, used in the chats they're in, rather than one sign-in per server; a
2922
+ client ID metadata document (instead of registering) for services that prefer one; choosing
2923
+ which of a server's tools chats get, and for big servers, sending a chat only the ones it looks
2924
+ up (a tool search) rather than every definition in every request; their resources and prompts,
2925
+ not only tools; and a server asking things back (sampling, elicitation).
2123
2926
  - Refusal fallbacks (`fallbacks: "default"`) for models that support them. Refusals are shown in the UI today.
2124
- - Push notifications (Web Push) for the bell. Today it only updates while a page is open.
2927
+ - Web Push for the bell in browsers. Today only the iOS app gets notifications; a page gets them
2928
+ while it's open.
2929
+ - The iOS app: a share extension (a photo or a PDF from another app into a chat), a notification
2930
+ when the reply someone is waiting for comes, and a badge; universal links on the family's
2931
+ addresses, so an invite link opens in it; and notifications for a nolune on a tunnel of its own,
2932
+ which has no relay to send them.
2125
2933
  - A `nolune notify` command for scripts that only need to say something, without waking the agent.
2126
2934
  - End-to-end encryption through the relay (see [The relay](#the-relay)).
2935
+ - The nolune plan (see [The nolune plan](#the-nolune-plan)): automations that wait out a limit
2936
+ rather than fail, and a failed payment shown in Models & keys.