visual-living-plan 0.0.0-stage → 2.32.1

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 (608) hide show
  1. package/DESIGN.md +213 -0
  2. package/LICENSE +21 -0
  3. package/README.md +237 -2
  4. package/dist/AuthScreen.d.ts +9 -0
  5. package/dist/AuthScreen.js +7 -0
  6. package/dist/DesktopModeSwitch.d.ts +13 -0
  7. package/dist/DesktopModeSwitch.js +14 -0
  8. package/dist/OAuthMark.d.ts +6 -0
  9. package/dist/OAuthMark.js +8 -0
  10. package/dist/accountInitials.d.ts +5 -0
  11. package/dist/accountInitials.js +20 -0
  12. package/dist/accountLinking.d.ts +26 -0
  13. package/dist/accountLinking.js +46 -0
  14. package/dist/agentEvents.d.ts +31 -0
  15. package/dist/agentEvents.js +260 -0
  16. package/dist/agentPresence.d.ts +42 -0
  17. package/dist/agentPresence.js +69 -0
  18. package/dist/agentSkills.d.ts +35 -0
  19. package/dist/agentSkills.js +89 -0
  20. package/dist/agentStream.d.ts +35 -0
  21. package/dist/agentStream.js +133 -0
  22. package/dist/appearanceDom.d.ts +13 -0
  23. package/dist/appearanceDom.js +24 -0
  24. package/dist/appearanceSettings.d.ts +29 -0
  25. package/dist/appearanceSettings.js +293 -0
  26. package/dist/assets.d.ts +14 -0
  27. package/dist/assets.js +72 -0
  28. package/dist/authSearch.d.ts +11 -0
  29. package/dist/authSearch.js +30 -0
  30. package/dist/changelog.d.ts +11 -0
  31. package/dist/changelog.js +63 -0
  32. package/dist/changelogParse.d.ts +53 -0
  33. package/dist/changelogParse.js +226 -0
  34. package/dist/cli.d.ts +2 -0
  35. package/dist/cli.js +1684 -0
  36. package/dist/cliLauncher.d.ts +40 -0
  37. package/dist/cliLauncher.js +170 -0
  38. package/dist/cliToken.d.ts +11 -0
  39. package/dist/cliToken.js +15 -0
  40. package/dist/client/.vite/manifest.json +1780 -0
  41. package/dist/client/assets/BarChart-DtV3dIq4.js +1 -0
  42. package/dist/client/assets/BlockEditor-BklSUBjk.js +168 -0
  43. package/dist/client/assets/BlockEditor-K5h6xc4_.css +1 -0
  44. package/dist/client/assets/CodeBlock-BbI08MlQ.js +1 -0
  45. package/dist/client/assets/CodeBlock-BxRMnldw.js +175 -0
  46. package/dist/client/assets/LineChart-CQYMEbD6.js +1 -0
  47. package/dist/client/assets/Mermaid-Ciu9eIoG.js +1 -0
  48. package/dist/client/assets/Mermaid-jPWLXX7e.js +1 -0
  49. package/dist/client/assets/Popover-DbE4vUPG.js +1 -0
  50. package/dist/client/assets/ReactFlowExecutionCanvas-BhVs-adc.js +7 -0
  51. package/dist/client/assets/ReactFlowExecutionCanvas-DLioOiRN.css +1 -0
  52. package/dist/client/assets/StatusIcon-C_-Lm9b4.js +1 -0
  53. package/dist/client/assets/Workflow-C92OpLyf.js +1 -0
  54. package/dist/client/assets/agentPresence-D8asHrTp.js +1 -0
  55. package/dist/client/assets/andromeeda-DW8vo71h.js +1 -0
  56. package/dist/client/assets/andromeeda-vGVdxbeo.js +1 -0
  57. package/dist/client/assets/arrow-up-CEVVOXD5.js +1 -0
  58. package/dist/client/assets/arrow-up-down-BSjnQK2I.js +1 -0
  59. package/dist/client/assets/aurora-x-CDeNXAV0.js +1 -0
  60. package/dist/client/assets/aurora-x-rMvKqtYI.js +1 -0
  61. package/dist/client/assets/ayu-dark-CwczpL8O.js +1 -0
  62. package/dist/client/assets/ayu-dark-DluEY0Gj.js +1 -0
  63. package/dist/client/assets/ayu-light-C3h-C4tm.js +1 -0
  64. package/dist/client/assets/ayu-light-DSh22xiD.js +1 -0
  65. package/dist/client/assets/ayu-mirage-Bqwy1Gya.js +1 -0
  66. package/dist/client/assets/ayu-mirage-JE6hAyHG.js +1 -0
  67. package/dist/client/assets/browserStore-BDGKYoJj.js +435 -0
  68. package/dist/client/assets/button-BI07wqbi.css +1 -0
  69. package/dist/client/assets/button-DJWAGApe.js +1 -0
  70. package/dist/client/assets/catppuccin-frappe-C9Q5zVZY.js +1 -0
  71. package/dist/client/assets/catppuccin-frappe-pyXErRRU.js +1 -0
  72. package/dist/client/assets/catppuccin-latte-BILSUICr.js +1 -0
  73. package/dist/client/assets/catppuccin-latte-CtsyrtPq.js +1 -0
  74. package/dist/client/assets/catppuccin-macchiato-Ck60ZZQE.js +1 -0
  75. package/dist/client/assets/catppuccin-macchiato-R8nAf1vR.js +1 -0
  76. package/dist/client/assets/catppuccin-mocha-C_2G67cS.js +1 -0
  77. package/dist/client/assets/catppuccin-mocha-DjuaAJKi.js +1 -0
  78. package/dist/client/assets/ccount-nzzEXTrh.js +1 -0
  79. package/dist/client/assets/chartRows-CNjjLsAH.js +2 -0
  80. package/dist/client/assets/circle-x-BLGxA3gi.js +1 -0
  81. package/dist/client/assets/client-BsE_buVT.js +9 -0
  82. package/dist/client/assets/constants-CmGPilXJ.js +1 -0
  83. package/dist/client/assets/dark-plus-CHgc6GYj.js +1 -0
  84. package/dist/client/assets/dark-plus-Cs2F2srj.js +1 -0
  85. package/dist/client/assets/default-5FplaXL4.js +7 -0
  86. package/dist/client/assets/diffsTheme-PJJTu2Rq.js +1 -0
  87. package/dist/client/assets/dracula-BHWKrbxM.js +1 -0
  88. package/dist/client/assets/dracula-Cf1PG3MT.js +1 -0
  89. package/dist/client/assets/dracula-soft-5eyTD99u.js +1 -0
  90. package/dist/client/assets/dracula-soft-DXuNm1Kq.js +1 -0
  91. package/dist/client/assets/editSource-DQfw4nRm.js +1 -0
  92. package/dist/client/assets/editSource-U5AoD-Wo.js +14 -0
  93. package/dist/client/assets/engine-CLTPZlti.js +1 -0
  94. package/dist/client/assets/engine-DUyaiAMV.js +2 -0
  95. package/dist/client/assets/everforest-dark-CjdfwUBe.js +1 -0
  96. package/dist/client/assets/everforest-dark-sB-x3p7T.js +1 -0
  97. package/dist/client/assets/everforest-light-CfVwwCBP.js +1 -0
  98. package/dist/client/assets/everforest-light-Df2xbC6M.js +1 -0
  99. package/dist/client/assets/forgetDocuments-CIUBitCs.js +1 -0
  100. package/dist/client/assets/formatCSSVariablePrefix-KRh9vnZf.js +1 -0
  101. package/dist/client/assets/github-dark-BL6HSl_n.js +1 -0
  102. package/dist/client/assets/github-dark-C-LZuMrd.js +1 -0
  103. package/dist/client/assets/github-dark-default-DXG-b-1a.js +1 -0
  104. package/dist/client/assets/github-dark-default-zacuWV-M.js +1 -0
  105. package/dist/client/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
  106. package/dist/client/assets/github-dark-dimmed-Mc0P9idi.js +1 -0
  107. package/dist/client/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
  108. package/dist/client/assets/github-dark-high-contrast-IMKX2AVF.js +1 -0
  109. package/dist/client/assets/github-light-EUqPIrTm.js +1 -0
  110. package/dist/client/assets/github-light-default-BXViO-2h.js +1 -0
  111. package/dist/client/assets/github-light-default-DVlCqP3X.js +1 -0
  112. package/dist/client/assets/github-light-high-contrast-B68TUdTA.js +1 -0
  113. package/dist/client/assets/github-light-high-contrast-Dj6zTyWR.js +1 -0
  114. package/dist/client/assets/github-light-mYhEBkPo.js +1 -0
  115. package/dist/client/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
  116. package/dist/client/assets/gruvbox-dark-hard-QTgQQZn-.js +1 -0
  117. package/dist/client/assets/gruvbox-dark-medium-9d5YdCTx.js +1 -0
  118. package/dist/client/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
  119. package/dist/client/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
  120. package/dist/client/assets/gruvbox-dark-soft-XCkqeBhR.js +1 -0
  121. package/dist/client/assets/gruvbox-light-hard--5-nXqNp.js +1 -0
  122. package/dist/client/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
  123. package/dist/client/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
  124. package/dist/client/assets/gruvbox-light-medium-COA1PZW2.js +1 -0
  125. package/dist/client/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
  126. package/dist/client/assets/gruvbox-light-soft-CIJpzjAO.js +1 -0
  127. package/dist/client/assets/hastToHtml-Dj8rXue9.js +11 -0
  128. package/dist/client/assets/highlight-cB-PkhyE.js +1 -0
  129. package/dist/client/assets/highlights-LLBF1DTm.js +1 -0
  130. package/dist/client/assets/horizon-Ba2cwkSy.js +1 -0
  131. package/dist/client/assets/horizon-CE9ld1lL.js +1 -0
  132. package/dist/client/assets/horizon-bright-DSNQnXHK.js +1 -0
  133. package/dist/client/assets/horizon-bright-DaEDgBmR.js +1 -0
  134. package/dist/client/assets/houston-B6x0XVpU.js +1 -0
  135. package/dist/client/assets/houston-CsvMBhTu.js +1 -0
  136. package/dist/client/assets/jsx-runtime-DKj5X9O4.js +1 -0
  137. package/dist/client/assets/kanagawa-dragon-Bozd7klA.js +1 -0
  138. package/dist/client/assets/kanagawa-dragon-DhTFvBMT.js +1 -0
  139. package/dist/client/assets/kanagawa-lotus--m8sdOxn.js +1 -0
  140. package/dist/client/assets/kanagawa-lotus-BmuOG9ZW.js +1 -0
  141. package/dist/client/assets/kanagawa-wave-BML5mF2J.js +1 -0
  142. package/dist/client/assets/kanagawa-wave-D-tTv4k2.js +1 -0
  143. package/dist/client/assets/laserwave-C_8bwKvT.js +1 -0
  144. package/dist/client/assets/laserwave-HSLx0L75.js +1 -0
  145. package/dist/client/assets/lib-COgu-QLX.js +33 -0
  146. package/dist/client/assets/lib-CdRiGVUZ.js +1 -0
  147. package/dist/client/assets/light-plus-CUjWrTSi.js +1 -0
  148. package/dist/client/assets/light-plus-DVQuIRkW.js +1 -0
  149. package/dist/client/assets/loader-CjL04K29.js +1 -0
  150. package/dist/client/assets/main-BGMX_GnZ.js +2 -0
  151. package/dist/client/assets/main-BTko4EvJ.css +1 -0
  152. package/dist/client/assets/material-theme-Bm3Qr25_.js +1 -0
  153. package/dist/client/assets/material-theme-CnthUGfg.js +1 -0
  154. package/dist/client/assets/material-theme-darker-2IIEA8gg.js +1 -0
  155. package/dist/client/assets/material-theme-darker-DUi03Qre.js +1 -0
  156. package/dist/client/assets/material-theme-lighter-D2-qr5Vw.js +1 -0
  157. package/dist/client/assets/material-theme-lighter-uhdI0v04.js +1 -0
  158. package/dist/client/assets/material-theme-ocean-CHQ94UKr.js +1 -0
  159. package/dist/client/assets/material-theme-ocean-CWR-LogA.js +1 -0
  160. package/dist/client/assets/material-theme-palenight-B5W6OYN7.js +1 -0
  161. package/dist/client/assets/material-theme-palenight-Cnv8m1ra.js +1 -0
  162. package/dist/client/assets/mdxEntries-BNTMP8ct.css +1 -0
  163. package/dist/client/assets/mdxEntries-L-V7bB6i.js +1 -0
  164. package/dist/client/assets/mermaid-Bjhs-krb.js +1 -0
  165. package/dist/client/assets/mermaid-Di4j-zgD.js +146 -0
  166. package/dist/client/assets/min-dark-BSWPekZh.js +1 -0
  167. package/dist/client/assets/min-dark-EXoM-6Xo.js +1 -0
  168. package/dist/client/assets/min-light-DDpmG2fV.js +1 -0
  169. package/dist/client/assets/min-light-DVOTDhnA.js +1 -0
  170. package/dist/client/assets/monokai-BscAjiQZ.js +1 -0
  171. package/dist/client/assets/monokai-DkggTbGy.js +1 -0
  172. package/dist/client/assets/mountChrome-BVWpsDCy.js +122 -0
  173. package/dist/client/assets/mountChrome-DhTDH3YM.css +1 -0
  174. package/dist/client/assets/night-owl-Bdcs0PMi.js +1 -0
  175. package/dist/client/assets/night-owl-DhmEMT88.js +1 -0
  176. package/dist/client/assets/night-owl-light-RoU30LE0.js +1 -0
  177. package/dist/client/assets/night-owl-light-eJ-hLW7d.js +1 -0
  178. package/dist/client/assets/noShiki-DB8hQ_W3.js +1 -0
  179. package/dist/client/assets/noShiki-GTG3tT8x.js +1 -0
  180. package/dist/client/assets/nord-Cb4Vim4T.js +1 -0
  181. package/dist/client/assets/nord-u7hMircQ.js +1 -0
  182. package/dist/client/assets/offlineSync-Cv3FVIlJ.js +1 -0
  183. package/dist/client/assets/one-dark-pro-08PdtLzi.js +1 -0
  184. package/dist/client/assets/one-dark-pro-C6YyR8OD.js +1 -0
  185. package/dist/client/assets/one-light-D7Lr4KcI.js +1 -0
  186. package/dist/client/assets/one-light-DgvUEtgI.js +1 -0
  187. package/dist/client/assets/opfs-worker-DuTOCgWR.js +5919 -0
  188. package/dist/client/assets/pierre-dark-B2jZWvHG.js +1 -0
  189. package/dist/client/assets/pierre-dark-CpLgRqie.js +1 -0
  190. package/dist/client/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
  191. package/dist/client/assets/pierre-dark-protanopia-deuteranopia-CebgQdRf.js +1 -0
  192. package/dist/client/assets/pierre-dark-soft-DdE7dyP3.js +1 -0
  193. package/dist/client/assets/pierre-dark-soft-kZQmAZld.js +1 -0
  194. package/dist/client/assets/pierre-dark-tritanopia-CXimiT7X.js +1 -0
  195. package/dist/client/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
  196. package/dist/client/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
  197. package/dist/client/assets/pierre-dark-vibrant-DzBsxHvQ.js +1 -0
  198. package/dist/client/assets/pierre-light-CoaEpmwp.js +1 -0
  199. package/dist/client/assets/pierre-light-Vf__O3ev.js +1 -0
  200. package/dist/client/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
  201. package/dist/client/assets/pierre-light-protanopia-deuteranopia-BUtWcCQC.js +1 -0
  202. package/dist/client/assets/pierre-light-soft-C3QCXKvN.js +1 -0
  203. package/dist/client/assets/pierre-light-soft-lWLdNTOI.js +1 -0
  204. package/dist/client/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
  205. package/dist/client/assets/pierre-light-tritanopia-CKLy6XvA.js +1 -0
  206. package/dist/client/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
  207. package/dist/client/assets/pierre-light-vibrant-DDuTEIhH.js +1 -0
  208. package/dist/client/assets/planEditButton-CbWGczbi.js +45 -0
  209. package/dist/client/assets/planEvents-cuzv9ELr.js +1 -0
  210. package/dist/client/assets/planMdx-Db1ze_nN.js +110 -0
  211. package/dist/client/assets/plastic-B8mE6BxX.js +1 -0
  212. package/dist/client/assets/plastic-DQwYfKfQ.js +1 -0
  213. package/dist/client/assets/poimandres-DRFjx7u4.js +1 -0
  214. package/dist/client/assets/poimandres-DUFjrgxT.js +1 -0
  215. package/dist/client/assets/preload-helper-Dx0-lKy1.js +1 -0
  216. package/dist/client/assets/queryClient-Bs5tSUJh.js +1 -0
  217. package/dist/client/assets/react-dom-DpzJPrWF.js +1 -0
  218. package/dist/client/assets/rebaseDraft-B2--cj1c.js +19 -0
  219. package/dist/client/assets/red-BJvdDEUx.js +1 -0
  220. package/dist/client/assets/red-CYlAq2b0.js +1 -0
  221. package/dist/client/assets/register-hZEIk3A9.css +1 -0
  222. package/dist/client/assets/register-htm5s8o9.js +1 -0
  223. package/dist/client/assets/rolldown-runtime-Dd_uD5pT.js +1 -0
  224. package/dist/client/assets/rose-pine-BSqRqUae.js +1 -0
  225. package/dist/client/assets/rose-pine-aMsaMD1D.js +1 -0
  226. package/dist/client/assets/rose-pine-dawn-8PwUyIlP.js +1 -0
  227. package/dist/client/assets/rose-pine-dawn-U6TBE82u.js +1 -0
  228. package/dist/client/assets/rose-pine-moon-CAU7u1h4.js +1 -0
  229. package/dist/client/assets/rose-pine-moon-DO-qXg-I.js +1 -0
  230. package/dist/client/assets/routeEdges-B2z8v0di.js +24 -0
  231. package/dist/client/assets/selector-CDsXW7SO.css +1 -0
  232. package/dist/client/assets/selector-tlBGWtQl.js +1 -0
  233. package/dist/client/assets/settingsChrome-NGUDtEIp.js +1 -0
  234. package/dist/client/assets/shiki-BOXJeUHI.js +2 -0
  235. package/dist/client/assets/slack-dark-CMu0smFa.js +1 -0
  236. package/dist/client/assets/slack-dark-DnToyrRv.js +1 -0
  237. package/dist/client/assets/slack-ochin-B2OO5cIa.js +1 -0
  238. package/dist/client/assets/slack-ochin-BBne7cjw.js +1 -0
  239. package/dist/client/assets/snazzy-light-4G7pJPwS.js +1 -0
  240. package/dist/client/assets/snazzy-light-CV8HUEmk.js +1 -0
  241. package/dist/client/assets/solarized-dark-CmYmhSgI.js +1 -0
  242. package/dist/client/assets/solarized-dark-b97czJOk.js +1 -0
  243. package/dist/client/assets/solarized-light-CjLLwxRp.js +1 -0
  244. package/dist/client/assets/solarized-light-DFPxpIYQ.js +1 -0
  245. package/dist/client/assets/stampPlanParts-DVXYCykw.js +15 -0
  246. package/dist/client/assets/stampPlanParts-ctZzxWdw.css +1 -0
  247. package/dist/client/assets/stream-tokenizer-C3n8hi1h.js +4 -0
  248. package/dist/client/assets/synthwave-84-nFMaYfgc.js +1 -0
  249. package/dist/client/assets/synthwave-84-wQeDKbzQ.js +1 -0
  250. package/dist/client/assets/textChildren-ZDSs1dod.js +1 -0
  251. package/dist/client/assets/themes-CdTJhjZf.js +2 -0
  252. package/dist/client/assets/tokyo-night-D4ZgDiA7.js +1 -0
  253. package/dist/client/assets/tokyo-night-oM2G3aXe.js +1 -0
  254. package/dist/client/assets/triangle-alert-C9Sgr3jF.js +1 -0
  255. package/dist/client/assets/unwrapDefault-ByDmBtHB.js +1 -0
  256. package/dist/client/assets/utils-C9Glzetk.js +2 -0
  257. package/dist/client/assets/versionView-zkSROPw7.js +1 -0
  258. package/dist/client/assets/vesper-DdrHHSXu.js +1 -0
  259. package/dist/client/assets/vesper-sUHevyKv.js +1 -0
  260. package/dist/client/assets/vitesse-black-CfklMpOb.js +1 -0
  261. package/dist/client/assets/vitesse-black-fwtXNY1n.js +1 -0
  262. package/dist/client/assets/vitesse-dark-BZCL-v6S.js +1 -0
  263. package/dist/client/assets/vitesse-dark-CJkzwmKT.js +1 -0
  264. package/dist/client/assets/vitesse-light-BxMp8E1Y.js +1 -0
  265. package/dist/client/assets/vitesse-light-VbXTXTou.js +1 -0
  266. package/dist/client/assets/wa-sqlite-Ba70bhIr.wasm +0 -0
  267. package/dist/client/assets/warmPlans-CYFrLwcX.js +1 -0
  268. package/dist/client/assets/with-selector-HIcjK0_d.js +1 -0
  269. package/dist/client/assets/workflowSource-LMsRuqF_.js +3 -0
  270. package/dist/client/favicon.png +0 -0
  271. package/dist/client/icons/apple-touch-icon-180x180.png +0 -0
  272. package/dist/client/icons/favicon.ico +0 -0
  273. package/dist/client/icons/maskable-icon-192x192.png +0 -0
  274. package/dist/client/icons/maskable-icon-512x512.png +0 -0
  275. package/dist/client/icons/pwa-16x16.png +0 -0
  276. package/dist/client/icons/pwa-192x192.png +0 -0
  277. package/dist/client/icons/pwa-32x32.png +0 -0
  278. package/dist/client/icons/pwa-512x512.png +0 -0
  279. package/dist/client/icons/pwa-64x64.png +0 -0
  280. package/dist/clientLog.d.ts +5 -0
  281. package/dist/clientLog.js +64 -0
  282. package/dist/cloudClient.d.ts +38 -0
  283. package/dist/cloudClient.js +185 -0
  284. package/dist/cloudCommand.d.ts +23 -0
  285. package/dist/cloudCommand.js +159 -0
  286. package/dist/cloudFrontmatter.d.ts +4 -0
  287. package/dist/cloudFrontmatter.js +30 -0
  288. package/dist/cloudStore.d.ts +28 -0
  289. package/dist/cloudStore.js +70 -0
  290. package/dist/cloudWatch.d.ts +12 -0
  291. package/dist/cloudWatch.js +103 -0
  292. package/dist/commentReply.d.ts +25 -0
  293. package/dist/commentReply.js +17 -0
  294. package/dist/configHome.d.ts +34 -0
  295. package/dist/configHome.js +136 -0
  296. package/dist/dashboard.d.ts +67 -0
  297. package/dist/dashboard.js +86 -0
  298. package/dist/dashboardClientScript.d.ts +2 -0
  299. package/dist/dashboardClientScript.js +1006 -0
  300. package/dist/dashboardDocument.d.ts +13 -0
  301. package/dist/dashboardDocument.js +40 -0
  302. package/dist/dashboardFormat.d.ts +98 -0
  303. package/dist/dashboardFormat.js +199 -0
  304. package/dist/dashboardLoading.d.ts +19 -0
  305. package/dist/dashboardLoading.js +94 -0
  306. package/dist/dashboardOverview.d.ts +28 -0
  307. package/dist/dashboardOverview.js +333 -0
  308. package/dist/dashboardPage.d.ts +2 -0
  309. package/dist/dashboardPage.js +11 -0
  310. package/dist/dashboardParts.d.ts +4 -0
  311. package/dist/dashboardParts.js +367 -0
  312. package/dist/dashboardSearchView.d.ts +38 -0
  313. package/dist/dashboardSearchView.js +255 -0
  314. package/dist/desktopApp.d.ts +23 -0
  315. package/dist/desktopApp.js +110 -0
  316. package/dist/desktopBridge.d.ts +21 -0
  317. package/dist/desktopBridge.js +78 -0
  318. package/dist/desktopCommand.d.ts +61 -0
  319. package/dist/desktopCommand.js +172 -0
  320. package/dist/desktopConfig.d.ts +54 -0
  321. package/dist/desktopConfig.js +164 -0
  322. package/dist/desktopNotices.d.ts +105 -0
  323. package/dist/desktopNotices.js +427 -0
  324. package/dist/diff.d.ts +2 -0
  325. package/dist/diff.js +46 -0
  326. package/dist/diffsTheme.d.ts +51 -0
  327. package/dist/diffsTheme.js +86 -0
  328. package/dist/diffsThemeCatalog.d.ts +3 -0
  329. package/dist/diffsThemeCatalog.js +78 -0
  330. package/dist/elkRuntime.node.d.ts +7 -0
  331. package/dist/elkRuntime.node.js +63 -0
  332. package/dist/execution.d.ts +78 -0
  333. package/dist/execution.js +139 -0
  334. package/dist/expectedWorkflow.d.ts +11 -0
  335. package/dist/expectedWorkflow.js +99 -0
  336. package/dist/favicon.d.ts +4 -0
  337. package/dist/favicon.js +40 -0
  338. package/dist/favicon.png +0 -0
  339. package/dist/faviconBase64.d.ts +1 -0
  340. package/dist/faviconBase64.js +1 -0
  341. package/dist/fileVersion.d.ts +8 -0
  342. package/dist/fileVersion.js +20 -0
  343. package/dist/formatBytes.d.ts +2 -0
  344. package/dist/formatBytes.js +13 -0
  345. package/dist/gitStatus.d.ts +12 -0
  346. package/dist/gitStatus.js +88 -0
  347. package/dist/hostToolbar.d.ts +38 -0
  348. package/dist/hostToolbar.js +249 -0
  349. package/dist/http.d.ts +8 -0
  350. package/dist/http.js +38 -0
  351. package/dist/httpServer.d.ts +13 -0
  352. package/dist/httpServer.js +40 -0
  353. package/dist/icons/apple-touch-icon-180x180.png +0 -0
  354. package/dist/icons/favicon.ico +0 -0
  355. package/dist/icons/maskable-icon-192x192.png +0 -0
  356. package/dist/icons/maskable-icon-512x512.png +0 -0
  357. package/dist/icons/pwa-16x16.png +0 -0
  358. package/dist/icons/pwa-192x192.png +0 -0
  359. package/dist/icons/pwa-32x32.png +0 -0
  360. package/dist/icons/pwa-512x512.png +0 -0
  361. package/dist/icons/pwa-64x64.png +0 -0
  362. package/dist/lanAccess.d.ts +31 -0
  363. package/dist/lanAccess.js +110 -0
  364. package/dist/lanAddress.d.ts +24 -0
  365. package/dist/lanAddress.js +174 -0
  366. package/dist/lanCommand.d.ts +25 -0
  367. package/dist/lanCommand.js +159 -0
  368. package/dist/lanConfig.d.ts +40 -0
  369. package/dist/lanConfig.js +130 -0
  370. package/dist/lanFirewall.d.ts +17 -0
  371. package/dist/lanFirewall.js +221 -0
  372. package/dist/layoutGraph.d.ts +13 -0
  373. package/dist/layoutGraph.js +55 -0
  374. package/dist/localName.d.ts +9 -0
  375. package/dist/localName.js +28 -0
  376. package/dist/lockBanner.d.ts +2 -0
  377. package/dist/lockBanner.js +2 -0
  378. package/dist/mdnsPacket.d.ts +44 -0
  379. package/dist/mdnsPacket.js +384 -0
  380. package/dist/mdnsPublish.d.ts +12 -0
  381. package/dist/mdnsPublish.js +290 -0
  382. package/dist/offlineSync.d.ts +249 -0
  383. package/dist/offlineSync.js +477 -0
  384. package/dist/openUrl.d.ts +40 -0
  385. package/dist/openUrl.js +147 -0
  386. package/dist/openedPages.d.ts +14 -0
  387. package/dist/openedPages.js +48 -0
  388. package/dist/pageEditPull.d.ts +9 -0
  389. package/dist/pageEditPull.js +29 -0
  390. package/dist/pageRoutes.d.ts +3 -0
  391. package/dist/pageRoutes.js +34 -0
  392. package/dist/parse.d.ts +7 -0
  393. package/dist/parse.js +100 -0
  394. package/dist/pid.d.ts +2 -0
  395. package/dist/pid.js +13 -0
  396. package/dist/planArchive.d.ts +4 -0
  397. package/dist/planArchive.js +28 -0
  398. package/dist/planEntries.d.ts +12 -0
  399. package/dist/planEntries.js +117 -0
  400. package/dist/planHost.d.ts +31 -0
  401. package/dist/planHost.js +286 -0
  402. package/dist/planId.d.ts +2 -0
  403. package/dist/planId.js +6 -0
  404. package/dist/planMdx/blockEdit.d.ts +41 -0
  405. package/dist/planMdx/blockEdit.js +60 -0
  406. package/dist/planMdx/cellPart.d.ts +14 -0
  407. package/dist/planMdx/cellPart.js +26 -0
  408. package/dist/planMdx/compilePlanMdx.d.ts +3 -0
  409. package/dist/planMdx/compilePlanMdx.js +22 -0
  410. package/dist/planMdx/editSource.d.ts +39 -0
  411. package/dist/planMdx/editSource.js +327 -0
  412. package/dist/planMdx/frontmatter.d.ts +5 -0
  413. package/dist/planMdx/frontmatter.js +15 -0
  414. package/dist/planMdx/markdown.d.ts +6 -0
  415. package/dist/planMdx/markdown.js +470 -0
  416. package/dist/planMdx/outline.d.ts +8 -0
  417. package/dist/planMdx/outline.js +548 -0
  418. package/dist/planMdx/payload.d.ts +4 -0
  419. package/dist/planMdx/payload.js +18 -0
  420. package/dist/planMdx/rebaseDraft.d.ts +54 -0
  421. package/dist/planMdx/rebaseDraft.js +675 -0
  422. package/dist/planMdx/recmaPlanComponents.d.ts +18 -0
  423. package/dist/planMdx/recmaPlanComponents.js +52 -0
  424. package/dist/planMdx/remarkBlockRanges.d.ts +104 -0
  425. package/dist/planMdx/remarkBlockRanges.js +275 -0
  426. package/dist/planMdx/remarkCodeMeta.d.ts +16 -0
  427. package/dist/planMdx/remarkCodeMeta.js +25 -0
  428. package/dist/planMdx/remarkGfmTable.d.ts +5 -0
  429. package/dist/planMdx/remarkGfmTable.js +15 -0
  430. package/dist/planMdx/remarkGfmTaskList.d.ts +5 -0
  431. package/dist/planMdx/remarkGfmTaskList.js +15 -0
  432. package/dist/planMdx/remarkMermaid.d.ts +16 -0
  433. package/dist/planMdx/remarkMermaid.js +56 -0
  434. package/dist/planMdx/source.d.ts +11 -0
  435. package/dist/planMdx/source.js +131 -0
  436. package/dist/planMdx/titleEdit.d.ts +35 -0
  437. package/dist/planMdx/titleEdit.js +112 -0
  438. package/dist/planPage.css +2125 -0
  439. package/dist/planProgress.d.ts +17 -0
  440. package/dist/planProgress.js +78 -0
  441. package/dist/planReady.d.ts +8 -0
  442. package/dist/planReady.js +20 -0
  443. package/dist/planRefNavigation.d.ts +4 -0
  444. package/dist/planRefNavigation.js +8 -0
  445. package/dist/planRoutes.d.ts +12 -0
  446. package/dist/planRoutes.js +141 -0
  447. package/dist/planSearch.d.ts +166 -0
  448. package/dist/planSearch.js +462 -0
  449. package/dist/planSession.d.ts +130 -0
  450. package/dist/planSession.js +1182 -0
  451. package/dist/planSnapshots.d.ts +34 -0
  452. package/dist/planSnapshots.js +113 -0
  453. package/dist/planStatus.d.ts +26 -0
  454. package/dist/planStatus.js +46 -0
  455. package/dist/planStepHeading.d.ts +16 -0
  456. package/dist/planStepHeading.js +34 -0
  457. package/dist/planTarget.d.ts +16 -0
  458. package/dist/planTarget.js +92 -0
  459. package/dist/planToc.d.ts +24 -0
  460. package/dist/planToc.js +258 -0
  461. package/dist/planVersionMenu.d.ts +12 -0
  462. package/dist/planVersionMenu.js +23 -0
  463. package/dist/processRecord.d.ts +108 -0
  464. package/dist/processRecord.js +68 -0
  465. package/dist/processesPanel.d.ts +7 -0
  466. package/dist/processesPanel.js +636 -0
  467. package/dist/pwaIconFile.d.ts +2 -0
  468. package/dist/pwaIconFile.js +42 -0
  469. package/dist/pwaIcons.d.ts +28 -0
  470. package/dist/pwaIcons.js +46 -0
  471. package/dist/registerServiceWorker.d.ts +25 -0
  472. package/dist/registerServiceWorker.js +26 -0
  473. package/dist/registryClient.d.ts +94 -0
  474. package/dist/registryClient.js +490 -0
  475. package/dist/registryConstants.d.ts +9 -0
  476. package/dist/registryConstants.js +9 -0
  477. package/dist/registryLock.d.ts +19 -0
  478. package/dist/registryLock.js +48 -0
  479. package/dist/registryPage.d.ts +2 -0
  480. package/dist/registryPage.js +284 -0
  481. package/dist/registryService.d.ts +21 -0
  482. package/dist/registryService.js +562 -0
  483. package/dist/registryStore.d.ts +63 -0
  484. package/dist/registryStore.js +398 -0
  485. package/dist/releaseNotes.d.ts +35 -0
  486. package/dist/releaseNotes.js +62 -0
  487. package/dist/render.d.ts +50 -0
  488. package/dist/render.js +1506 -0
  489. package/dist/requestGuard.d.ts +21 -0
  490. package/dist/requestGuard.js +42 -0
  491. package/dist/reviewRound.d.ts +12 -0
  492. package/dist/reviewRound.js +19 -0
  493. package/dist/runFollow.d.ts +28 -0
  494. package/dist/runFollow.js +33 -0
  495. package/dist/searchMatch.d.ts +35 -0
  496. package/dist/searchMatch.js +270 -0
  497. package/dist/server.d.ts +24 -0
  498. package/dist/server.js +114 -0
  499. package/dist/serviceLog.d.ts +56 -0
  500. package/dist/serviceLog.js +481 -0
  501. package/dist/shellCache.d.ts +69 -0
  502. package/dist/shellCache.js +289 -0
  503. package/dist/shellWorker.js +322 -0
  504. package/dist/shellWorkerResponse.d.ts +4 -0
  505. package/dist/shellWorkerResponse.js +15 -0
  506. package/dist/startServer.d.ts +2 -0
  507. package/dist/startServer.js +2 -0
  508. package/dist/store/meta.d.ts +53 -0
  509. package/dist/store/meta.js +140 -0
  510. package/dist/store/migrate.d.ts +3 -0
  511. package/dist/store/migrate.js +408 -0
  512. package/dist/store/rows.d.ts +4 -0
  513. package/dist/store/rows.js +100 -0
  514. package/dist/store/schema.d.ts +5 -0
  515. package/dist/store/schema.js +5 -0
  516. package/dist/store/sqlite.d.ts +19 -0
  517. package/dist/store/sqlite.js +57 -0
  518. package/dist/store/tables.d.ts +1892 -0
  519. package/dist/store/tables.js +136 -0
  520. package/dist/theme.d.ts +174 -0
  521. package/dist/theme.js +444 -0
  522. package/dist/themeBootstrap.d.ts +2 -0
  523. package/dist/themeBootstrap.js +11 -0
  524. package/dist/tui/DashboardApp.d.ts +19 -0
  525. package/dist/tui/DashboardApp.js +237 -0
  526. package/dist/tui/PaletteProvider.d.ts +12 -0
  527. package/dist/tui/PaletteProvider.js +36 -0
  528. package/dist/tui/PlanActions.d.ts +7 -0
  529. package/dist/tui/PlanActions.js +9 -0
  530. package/dist/tui/PlanCard.d.ts +13 -0
  531. package/dist/tui/PlanCard.js +31 -0
  532. package/dist/tui/PlanRow.d.ts +13 -0
  533. package/dist/tui/PlanRow.js +31 -0
  534. package/dist/tui/PlanTable.d.ts +13 -0
  535. package/dist/tui/PlanTable.js +24 -0
  536. package/dist/tui/ProcessCard.d.ts +9 -0
  537. package/dist/tui/ProcessCard.js +24 -0
  538. package/dist/tui/ProcessList.d.ts +9 -0
  539. package/dist/tui/ProcessList.js +12 -0
  540. package/dist/tui/SegmentButton.d.ts +7 -0
  541. package/dist/tui/SegmentButton.js +18 -0
  542. package/dist/tui/StatCard.d.ts +6 -0
  543. package/dist/tui/StatCard.js +17 -0
  544. package/dist/tui/dashboardView.d.ts +45 -0
  545. package/dist/tui/dashboardView.js +192 -0
  546. package/dist/tui/openExternal.d.ts +2 -0
  547. package/dist/tui/openExternal.js +5 -0
  548. package/dist/tui/palette.d.ts +27 -0
  549. package/dist/tui/palette.js +66 -0
  550. package/dist/tui/planColumns.d.ts +38 -0
  551. package/dist/tui/planColumns.js +14 -0
  552. package/dist/tui/readDashboard.d.ts +3 -0
  553. package/dist/tui/readDashboard.js +15 -0
  554. package/dist/tui/readProcesses.d.ts +3 -0
  555. package/dist/tui/readProcesses.js +23 -0
  556. package/dist/tui/registryView.d.ts +11 -0
  557. package/dist/tui/registryView.js +56 -0
  558. package/dist/tui/runTui.d.ts +21 -0
  559. package/dist/tui/runTui.js +86 -0
  560. package/dist/tui/systemTheme.d.ts +28 -0
  561. package/dist/tui/systemTheme.js +141 -0
  562. package/dist/types.d.ts +191 -0
  563. package/dist/types.js +0 -0
  564. package/dist/webManifest.d.ts +39 -0
  565. package/dist/webManifest.js +48 -0
  566. package/dist/workflow.d.ts +8 -0
  567. package/dist/workflow.js +42 -0
  568. package/dist/workflowLayoutShared.d.ts +25 -0
  569. package/dist/workflowLayoutShared.js +33 -0
  570. package/dist/workflowSource.d.ts +31 -0
  571. package/dist/workflowSource.js +90 -0
  572. package/docs/changelogs/changelog-2026-10-27.md +203 -0
  573. package/docs/changelogs/changelog-2026-10-28.md +181 -0
  574. package/docs/changelogs/changelog-2026-10-29.md +349 -0
  575. package/docs/changelogs/changelog-2026-10-30.md +303 -0
  576. package/docs/changelogs/changelog-2026-10-31.md +129 -0
  577. package/docs/changelogs/changelog-2026-11-01.md +155 -0
  578. package/docs/changelogs/changelog-2026-11-02.md +195 -0
  579. package/docs/changelogs/changelog-2026-11-03.md +209 -0
  580. package/docs/changelogs/changelog-2026-11-04.md +243 -0
  581. package/docs/changelogs/changelog-2026-11-05.md +172 -0
  582. package/docs/changelogs/changelog-2026-11-06.md +123 -0
  583. package/docs/changelogs/changelog-2026-11-07.md +138 -0
  584. package/docs/changelogs/changelog-2026-11-08.md +47 -0
  585. package/docs/changelogs/changelog-2026-11-10.md +219 -0
  586. package/docs/changelogs/changelog-2026-11-11.md +205 -0
  587. package/docs/changelogs/changelog-2026-11-12.md +44 -0
  588. package/docs/changelogs/changelog-2026-11-13.md +48 -0
  589. package/docs/changelogs/changelog-2026-11-14.md +116 -0
  590. package/docs/changelogs/changelog-2026-11-15.md +31 -0
  591. package/docs/changelogs/changelog-2026-11-16.md +41 -0
  592. package/docs/changelogs/changelog-2026-11-17.md +25 -0
  593. package/docs/changelogs/changelog-2026-11-18.md +71 -0
  594. package/docs/changelogs/changelog-2026-11-19.md +19 -0
  595. package/examples/cloud-showcase.plan.md +181 -0
  596. package/examples/component-showcase.plan.md +378 -0
  597. package/examples/component-tour.plan.md +168 -0
  598. package/examples/data-table.plan.md +917 -0
  599. package/examples/execution-graph.json +50 -0
  600. package/examples/form-controls.plan.md +51 -0
  601. package/examples/live-plan.config.json +5 -0
  602. package/examples/rate-limit.plan.md +133 -0
  603. package/examples/submission-delivery-runbook.md +122 -0
  604. package/examples/submission-delivery.plan.md +107 -0
  605. package/examples/tables.plan.md +61 -0
  606. package/package.json +123 -4
  607. package/skills/live-plan/SKILL.md +381 -0
  608. package/skills/live-plan/primitives.md +738 -0
package/DESIGN.md ADDED
@@ -0,0 +1,213 @@
1
+ # MiniMax-inspired document design
2
+
3
+ ## Overview
4
+
5
+ MiniMax stages itself as a Chinese AI infrastructure brand with a sophisticated dual identity. Marketing surfaces and platform pages anchor in stark white canvas with deep-black typographic emphasis — the brand voice is confident, technical, almost editorial. But each model release gets its own vibrant gradient identity card: M2.7 in volcanic coral-red, Music 2.6 in magenta-pink, Hailuo in deep blue, Speech 2.8 in saturated orange-purple. Together these vibrant tiles read like album covers laid out on the homepage — each one declaring its own product personality.
6
+
7
+ DM Sans anchors every surface from oversized 80px hero displays down to 12px micro labels. The geometric, slightly humanist character of the face suits both the dense documentation surfaces (where 14px body type carries 1.5 line-height for long-form prose) and the high-impact marketing displays (where -2px letter-spacing tightens 80px headlines). Buttons are universally pill-shaped (`rounded-full`) with a sharp two-tier system: black-pill primary (the dominant CTA) and outline-pill secondary. Cards split into two distinct families: vibrant gradient product showcases (32px corner softening) and quiet white documentation cards (16px corner softening).
8
+
9
+ **Key Characteristics:**
10
+ - Stark monochrome palette — black (`colors.primary`) and white (`colors.canvas`) — broken open by saturated brand-color gradient cards
11
+ - Distinct product-color encoding: each model line has its own vibrant brand color (coral M2.7, magenta Music 2.6, blue Hailuo, orange Speech 2.8)
12
+ - DM Sans across the entire system; Inter as fallback
13
+ - Pill-shaped buttons (`rounded.full`) and pill-shaped tabs everywhere; rectangular forms only inside data tables and dense docs
14
+ - Hero typography uses tight 1.10 line-height with -2px letter-spacing for impact
15
+ - Documentation surfaces use a 3-column layout: left sidebar nav, center prose body, right table-of-contents
16
+ - Black promo banners (`colors.primary`) above the nav for time-bound brand moments
17
+
18
+ For this app, use the documentation family only. Do not paint plan cards as vibrant product gradients. Keep coral, magenta, blue, and purple as tokens, unused on the plan page.
19
+
20
+ ### Document-first plan page
21
+
22
+ The plan page reads as one document, not a stack of cards ([ADR 0039](docs/architecture/decisions/0039-document-first-page.md)). Six rules:
23
+
24
+ - **D1 · Flow.** One column of prose. Top-level blocks are separated by space. A phase and a question for the person also get a hairline above them.
25
+ - **D2 · Cards.** A card is only for a block whose content has its own format: code, diffs, diagrams, charts, tables, file trees, API contracts, schemas, JSON, and status updates. See *Card policy* under Layout.
26
+ - **D3 · Labels.** A small uppercase eyebrow names a block's kind (`RISK`, `NEEDS YOUR CHOICE`, `DONE WHEN`). The title or prompt under it is the heading.
27
+ - **D4 · State.** State is shape plus color, with one glyph set everywhere (`StatusIcon`): an empty ring is pending, a progress ring is active, a check disc is done, a ban is blocked, and an × is failed. Phases, checklist lines, and the editor's status picker use the same glyphs. Counts read `3/6` next to a segmented bar.
28
+ - **D5 · Code words.** Paths, symbols, and line ranges are mono. A file change carries a tag (NEW, MODIFY, DELETE, RENAME). A line reference is a cite chip (`L42–58`).
29
+ - **D6 · Editable in place.** There is no edit mode. Text opens where it reads with a click; a card opens its own editor where it sits, from its Edit pill, with no frame around it. + under a block adds an empty line below it. Leaving an editor keeps the change on the page; Apply changes makes the version. A block is read-only only when it carries `locked`, or is an answer card (form, questions) that has not set `locked="false"`.
30
+ - **D7 · Room.** No two blocks touch. A block after a block gets `--space-md` (a card after a card in a phase) or `--flow-gap` (at the top level); a heading after a data block starts a new part with `--space-xl`. Only endpoints in a row join into one card, on purpose.
31
+
32
+ ### Dashboard
33
+
34
+ The dashboards are an app screen, not a document, so they use cards where the plan page does not.
35
+
36
+ - **Summary.** Three surface cards, each with an eyebrow: *Plans* carries the page's one hero figure (48px, proportional digits), a thin 8px segmented bar of the period's plans by status with 2px gaps of the card between parts, and a legend of swatches, names, and counts. *Open now* and *Work* each lead with a 28px figure, then label and value rows split by hairlines, values in tabular figures. The rows sit at the card's foot so the three cards end level.
37
+ - **Status.** The bar, legend, pills, and meters share four colors: Active `#0094fc`, Idle `#a1a1aa` (dark `#737373`), Executed `#0a7a38` (dark `#22a855`), Interrupted `#c98a00` (dark `#e0b43a`). The dark steps keep neighbors in the bar apart for color-blind readers. A row's pill uses the change-tag tints and the D4 glyph: a progress ring for Active, a dashed ring for Idle, a check disc for Executed, a ban for Interrupted. A meter is blue while open, green when complete, and amber when stopped, on a track of its own hue.
38
+ - **Rows.** Open plans, then finished runs, under eyebrow headings. A plan's mode is an outline chip; folder and branch carry 13px icons; the plan file is mono. Below 720px a row reads as a card.
39
+
40
+ ## Colors
41
+
42
+ ### Brand & Accent
43
+ - **Brand Coral** (`colors.brand-coral`): `#ff502e`. Editorial emphasis only, such as a 2px left rule. Not a button fill. The older `#ff5a36` does not appear on the measured site.
44
+ - **Brand Magenta** (`colors.brand-magenta`): `#e83e8c`.
45
+ - **Brand Blue** (`colors.brand-blue`): `#2563eb`.
46
+ - **Focus Blue** (`colors.focus-blue`): `#0094fc`. Product focus rings and accent borders. Article links stay brand blue.
47
+ - **Brand Blue 700** (`colors.brand-blue-700`): `#1e40af`. Documentation tag and reference text.
48
+ - **Brand Cyan** (`colors.brand-cyan`): `#67e8f9`.
49
+ - **Brand Blue 200** (`colors.brand-blue-200`): `#dbeafe`. Code badges, info-tag backgrounds.
50
+ - **Brand Purple** (`colors.brand-purple`): `#7c3aed`.
51
+
52
+ ### Surface
53
+ - **Canvas White** (`colors.canvas`): `#ffffff`. Primary page background.
54
+ - **Surface** (`colors.surface`): `#f5f5f5`. Card background, distinct from the canvas. Subtle section backgrounds, search-pill rest, sidebar-nav active state.
55
+ - **Surface Soft** (`colors.surface-soft`): `#fafafa`. Quieter section divisions.
56
+ - **Hairline** (`colors.hairline`): `#e9e9e9`. 1px input border and primary divider. Solid form of black at about 9% on white.
57
+ - **Hairline Soft** (`colors.hairline-soft`): `#f0f0f1`. Quieter table-row divider.
58
+ - **Hairline Strong** (`colors.hairline-strong`): `#d4d4d8`. Outline (secondary) button border. Hover `#a1a1aa`. Never use ink for a button border: it reads as a heavy black ring in light mode and a white ring in dark mode.
59
+
60
+ ### Text
61
+ - **Ink** (`colors.ink`): `#181e25`. Primary headline and prose. The body reset before that class is `#18181b`.
62
+ - **Ink Strong** (`colors.ink-strong`): `#000000`.
63
+ - **Charcoal** (`colors.charcoal`): `#27272a`. Body text.
64
+ - **Slate** (`colors.slate`): `#3f3f46`. Secondary text, metadata.
65
+ - **Steel** (`colors.steel`): `#666666`. Secondary and tertiary text, table headers, sidebar inactive items.
66
+ - **Stone** (`colors.stone`): `#a1a1aa`. Muted captions and tab inactive labels.
67
+ - **Muted** (`colors.muted`): `#a1a1aa`. Footer link text.
68
+
69
+ ### Semantic
70
+ - **Success Background** (`colors.success-bg`): `#dcfce7`.
71
+ - **Success Text** (`colors.success-text`): `#166534`.
72
+ - **Error** (`colors.error`): `#ef4d3e`. Error text on light labels is `#c9322a` on `#fff4f0`.
73
+ - **Success** (`colors.success`): `#04b54b`. Success text `#0a7a38` on `#dcf5e2`.
74
+ - **Primary** (`colors.primary`): `#171717`. Near-black pill buttons. Hover `#242424`. Active `#000000`.
75
+ - **On primary** (`colors.on-primary`): `#ffffff`.
76
+ - **On dark** (`colors.on-dark`): `#ffffff`.
77
+ - **Footer bg** (`colors.footer-bg`): `#171717`.
78
+
79
+ ### Status and change tags
80
+
81
+ Tints for change tags, method and status badges, health, and status glyphs. Each pair is a background and its text. Every pair has a dark value; the text keeps 4.5:1 on its tint in both themes.
82
+
83
+ | Token | Light | Dark | Use |
84
+ |---|---|---|---|
85
+ | `--tag-add-bg` / `--tag-add-fg` | `#dcf5e2` / `#0a7a38` | `#0f2e1b` / `#4ade80` | NEW, GET, 2xx, On track |
86
+ | `--tag-mod-bg` / `--tag-mod-fg` | `#fff3d6` / `#8a5300` | `#33270a` / `#f5c451` | MODIFY, PUT and PATCH, 4xx, At risk, PK, note markers |
87
+ | `--tag-del-bg` / `--tag-del-fg` | `#fff4f0` / `#c9322a` | `#3a1612` / `#ff8a7a` | DELETE, the DELETE method, 5xx, Off track |
88
+ | `--tag-info-bg` / `--tag-info-fg` | `#dbeafe` / `#1e40af` | `#12294a` / `#a8cdff` | RENAME, POST, 3xx, cite and FK chips |
89
+ | `--tag-purple-fg` | `#6d3fd6` | `#a98bff` | JSON booleans |
90
+ | `--rule-note` · `--rule-tip` · `--rule-risk` · `--rule-warning` · `--rule-decision` | `#a1a1aa` · `#0a7a38` · `#c9322a` · `#c98a00` · `#0094fc` | `#6e6e6e` · `#4ade80` · `#ff8a7a` · `#f2c94c` · `#0094fc` | A callout's left rule and eyebrow |
91
+ | `--status-active` · `--status-blocked` | `#0094fc` · `#c98a00` | `#0094fc` · `#f2c94c` | Active and blocked glyphs and bar segments |
92
+ | `--data-head-bg` | `var(--surface)` | `#222222` | A data card's header strip, kept apart from the canvas in dark mode |
93
+ | `--mark` | `#fff1b8` | `#4a3d0a` | Marked lines and passages |
94
+
95
+ Dark document, measured on the product theme (`data-product-color-mode=dark`), not an inversion of the light page:
96
+ - Canvas `#171717`, surface `#1c1c1c`, elevated `#262626`, hairline `#2c2c2c`, hairline strong `#4a4a4a` (hover `#666666`), ink `#ededed`, secondary text `#949494`.
97
+ - The primary pill inverts: `#ffffff` fill, `#171717` label, same 36px height. Links and focus use `#0094fc`.
98
+
99
+ ## Typography
100
+
101
+ **DM Sans** for product UI and articles. Fallbacks: Helvetica Neue, Helvetica, Arial. Outfit is the marketing display face and stays off plan and account screens. No italic. Emphasis is weight 500/600/700. Code uses JetBrains Mono.
102
+
103
+ | Token | Size | Weight | Line Height | Letter Spacing | Use |
104
+ |---|---|---|---|---|---|
105
+ | hero-display | 80px | 600 | 1.10 | -2px | Homepage hero |
106
+ | display-lg | 56px | 600 | 1.10 | -1.5px | Section openers |
107
+ | heading-lg | 40px | 600 | 1.20 | -1px | Sub-page headlines |
108
+ | heading-md | 32px | 600 | 1.25 | -0.5px | Subsection headers |
109
+ | heading-sm | 24px | 600 | 1.30 | 0 | Card titles, feature headers |
110
+ | card-title | 20px | 600 | 1.40 | 0 | Product-card titles |
111
+ | subtitle | 18px | 500 | 1.50 | 0 | Section subtitles |
112
+ | body-md | 16px | 400 | 1.50 | 0 | Primary body |
113
+ | body-md-bold | 16px | 700 | 1.50 | 0 | Body emphasis |
114
+ | body-sm | 14px | 400 | 1.50 | 0 | Secondary body, table cells, navigation |
115
+ | body-sm-medium | 14px | 500 | 1.50 | 0 | Active sidebar nav, button labels |
116
+ | caption | 13px | 400 | 1.70 | 0 | Captions |
117
+ | caption-bold | 13px | 600 | 1.50 | 0 | Badge labels |
118
+ | micro | 12px | 400 | 1.50 | 0 | Chip labels |
119
+ | button-md | 14px | 500 | 1 | 0 | Pill button labels |
120
+ | eyebrow | 12px | 600 | 1.40 | 0.08em, uppercase | Block kind labels, data card captions, the plan header |
121
+
122
+ Plan titles use heading-sm or card-title, not hero-display. Body uses body-md.
123
+
124
+ ## Layout
125
+
126
+ - Base unit 4px. Tokens: xxs 4, xs 8, sm 12, md 16, lg 20, xl 24, xxl 32, xxxl 40, section-sm 48, section 64, section-lg 80, hero 96.
127
+ - Documentation cards pad 16px (`space-md`). A card nested inside another card pads 12px (`space-sm`). Entries sit 16px apart. A row gaps 12px (`space-sm`). The page column is 720px by default, 1120px when wide, or the available width when full. Cards and prose use that column. A pipe table wraps cell text between words and keeps inline code on one line. It scrolls sideways only when its columns still do not fit. A data-table cell, column, or whole table can wrap, or wrap inside a percentage of the table. Data-table cells without that stay on one line and still scroll.
128
+ - No blueprint grid. No noise overlay.
129
+ - Flow (`--flow-gap`): 24px between top-level blocks. 32px, a hairline, and 24px of padding above a phase and above a choice, form, questions block, or approval.
130
+
131
+ ### Card policy
132
+
133
+ | Block | Card | Treatment |
134
+ |---|---|---|
135
+ | phase | No | Hairline above, a 28px step circle that carries the status, 20px title, body aligned to the title |
136
+ | callout | No | 2px left rule in the kind's color, eyebrow `KIND · TITLE`, no fill |
137
+ | checklist | No | Eyebrow title, `n/m` count pill, segmented bar, rows split by soft hairlines |
138
+ | choice, form, questions, approve | No | Eyebrow kind, prompt heading, controls. Choice options are controls, so each keeps a hairline frame |
139
+ | Tabs, Compare, Properties | No | Layout only |
140
+ | Markdown table, DataTable | Yes | Hairline frame, surface header row |
141
+ | code, diff, AnnotatedCode | Yes | Data card |
142
+ | Mermaid, workflow, BarChart, LineChart | Yes | Data card |
143
+ | FileTree, Endpoint, DataModel, JsonView | Yes | Data card |
144
+ | Update | Yes | Canvas card with a health pill, no header strip |
145
+ | `Box surface="panel"` | Yes | The author asked for a panel |
146
+
147
+ A **data card** has a hairline frame, a 12px radius (`--data-card-radius`), a surface header strip with the title and its counts, and a canvas body. A **panel** (surface fill, 16px radius) stays for `<Box surface="panel">` and editor chrome. A card never sits inside another card.
148
+
149
+ ## Elevation
150
+
151
+ Flat by default. Hairline border, no shadow, on documentation cards. Level 2 shadow `rgba(0,0,0,0.08) 0px 4px 6px` only on popovers and dropdowns. Level 4 `rgba(36,36,36,0.08) 0px 12px 16px -4px` on modals.
152
+
153
+ ## Shapes
154
+
155
+ | Token | Value | Use |
156
+ |---|---|---|
157
+ | rounded.xs | 4px | Code chips |
158
+ | rounded.sm | 6px | Compact controls |
159
+ | rounded.md | 8px | Inputs |
160
+ | rounded.lg | 12px | Data cards, choice option rows, recommendation tiles |
161
+ | rounded.xl | 16px | Documentation cards |
162
+ | rounded.xxl | 20px | Larger panels |
163
+ | rounded.xxxl | 24px | Feature tiles |
164
+ | rounded.hero | 32px | Not used on the plan page |
165
+ | rounded.full | 9999px | Buttons, pill tabs, badges |
166
+
167
+ ## Components to apply
168
+
169
+ - **button-primary**: `#171717` pill, white text, 36px height, 14px medium, full pill. Hover `#242424`. Active `#000000`. On a dark canvas the fill inverts to white and the label to `#171717`.
170
+ - **button-secondary** (outline): transparent pill, ink text, 1px `hairline-strong` gray border (`#d4d4d8` light, `#4a4a4a` dark), 36px height. Hover fills with surface and steps the border to `hairline-strong-hover` (`#a1a1aa` light, `#666666` dark). The border stays gray in both themes, never ink or white.
171
+ - **button-accent** (Approve, Comment on, Send): `--accent-fill` pill with `--on-accent` label. Hover `--accent-fill-hover`, active `--accent-fill-active`. `src/theme.ts` derives all three from the accent. The label is white or a deep accent-tinted ink, whichever contrasts more, and each state stays at least 4.5:1. The default `#0094fc` takes the `#1b2b37` label in both themes. Never put `--paper` or a fixed white on an accent fill.
172
+ - **button-tertiary**: canvas fill, hairline border, 36px height, pill.
173
+ - **button-danger**: `#fff4f0` fill, `#c9322a` text, `#ef4d3e` border, 36px height, pill.
174
+ - **button-ghost**: transparent pill, no border, ink icon or label, 36px height. Hover mixes 6% ink into the background. An icon-only ghost is a 36px circle; an icon with a chevron keeps the pill and horizontal padding.
175
+ - **card-base**: a panel uses surface (`#f5f5f5`) so it is visibly different from the white page. 16px radius, 16px padding, 1px hairline. On the plan page only `<Box surface="panel">` and editor chrome use it; prose blocks have no card (see Card policy).
176
+ - **data-card**: hairline frame, 12px radius, surface header strip (40px, 13.5px, title in ink 600 plus steel counts), canvas body. Rows inside split by `hairline-soft`.
177
+ - **data-table-editor**: the data card in the block editor. The label sits in the `--data-head-bg` strip with the row count and a remove button. The header row is in `surface-soft`, and each header is an input with a chevron that opens the column menu. Rows are split by `hairline-soft`, with soft vertical hairlines between columns. The active cell has a 1px accent outline, like a markdown table's active cell. The add-row and add-column bars are add-bars, the same as the markdown table's; they show on hover or focus, and always on touch. A wide table scrolls sideways inside the card.
178
+ - **eyebrow**: the eyebrow type token in steel. A callout's eyebrow takes its rule color.
179
+ - **count-pill**: 22px tall, `hairline-strong` outline, mono 11.5px, `done/total`. Beside a segmented bar of 4px segments with 3px gaps, one per item, colored by the item's state.
180
+ - **change-tag**: mono 10.5px 600, 18px tall, 4px radius, on the tag tint. Text is NEW, MODIFY, DELETE, RENAME; a screen reader hears Added, Modified, Deleted, Renamed.
181
+ - **cite-chip**: mono 11px on `--tag-info-bg`, for line ranges and foreign keys.
182
+ - **code-inline**: mono at 0.9em on `--code-inline-bg`, 0.1rem by 0.35rem padding, 0.35rem radius. Wraps anywhere in prose and stays on one line in a table cell. One rule draws it on the page and in the block editor, so code in open text keeps its place, size, and type.
183
+ - **health-pill**: 24px pill with a trend glyph: On track, At risk, Off track.
184
+ - **fact-chip**: 28px outline pill with a bold number, for the plan header (`Phase 2 of 6`, `1/6 phases done`, `3 open questions`).
185
+ - **block-tools**: 26px outline pill, a pencil with *Edit*, beside a card's first line while the pointer or focus is on it (a tap on a touch screen) and the plan can be edited. Text has none: a click opens it. Never shown on a locked block, in comment mode, or in print.
186
+ - **add-bar**: an 8px gray bar with a 10px + (its cross about 6px), 6px radius, ink at 7% (13% on hover), in the middle of the gap under the block under the pointer and as wide as it: text, cards, and phases alike. Every + bar has this height, `--add-bar-size`: under a block, under a phase, and a table's add-row and add-column bars (a column bar's width), in a narrow gap too. Its click target reaches 3px past it where the gap has room, and no further than its own edges where it does not. One bar shows at a time: inside a phase it is under the block under the pointer, and the phase's own shows on its title row and in the gap under the phase. Not under an open editor or text that is opening, nor under the plan's last block (add-block is there). Never shown in comment mode or in print. The grip's menu has the same action as *Add below*, and A does it from the keyboard.
187
+ - **block-editor**: the block's editor in its place, with no frame, ring, wash, or bar: text keeps its look, and a card shows only its own editor, with the caret in its first field (in its code for a code block). Fields show focus by their border alone. The card's own delete is a 24px button with a 14px trash in `#ef4d3e`, inside the card's top right corner; its options keep muted ones. A pipe table opens as the same card it reads as, in the same place: hairline edge, 12px radius, steel 13px header on the data header fill, rules between rows only, the page's type; its column menus show over the header's right ends on hover. While a table or a data table is open, + for a row and + for a column show the whole time, as add-bars. A double click on text opens it with the word selected, a triple click with its line. A press or a Tab outside it, or Escape, keeps what was typed, and the first key counts in the apply-bar. A bar (Cancel, Done) shows only when the edit does not render. The empty line with the caret shows *Type / to add a block* in muted text; the line the editor keeps under a card does not show.
188
+ - **apply-bar**: sticky at the bottom of the plan column while changes are not applied: canvas, hairline-strong border, shadow, 16px radius. A count (`2 changes not applied`), a muted note, a ghost Discard, and a primary *Apply changes*. After the agent writes, the note reads *The agent updated the plan. Your changes are kept on top of it.* When changes overlap, the title is `N of your changes overlap the agent's`, and a list under the bar (hairline top border, scrolls past 32vh) has one row per block: its name in ink 600, `in <phase>` and `Yours: …` in steel, and two secondary pills, *Keep mine* and *Keep the agent's*. Apply stays disabled until every row is chosen. Below 1000px the bar sits above the corner buttons.
189
+ - **add-block**: full-width dashed hairline button, muted *+ Add a block*, after the plan's last block, with 32px under it.
190
+ - **text-input**: canvas fill, hairline border, 8px radius, 36px height. Focus ring is 2px `#0094fc` and appears on `:focus-visible` with no delay.
191
+ - **badge-success**, **badge-new**, **badge-beta** as specified, pill shaped.
192
+ - Tabs: underline segmented tabs or black pill tabs. Plan/Workflow/Settings can be pill tabs.
193
+
194
+ ## Do
195
+
196
+ - The near-black pill is the primary action. One primary button per form.
197
+ - Brand coral stays off body text, off plan cards, and off standard buttons.
198
+ - Pill buttons only. Icons inside a button are 16px, `currentColor`, and decorative unless they are the only label.
199
+ - DM Sans on product UI, JetBrains Mono for code. Outfit stays on marketing titles.
200
+ - Keep prose blocks flat. Give a card only to data with its own format.
201
+ - Show state with shape and color together, and give every tag and glyph a text name for screen readers.
202
+ - Let a wide tree, table, or code block scroll inside its own card, never the page.
203
+
204
+ ## Don't
205
+
206
+ - Don't use the blueprint background.
207
+ - Don't make cards the same color as the page.
208
+ - Don't put gradient backgrounds on standard buttons or plan cards.
209
+ - Don't introduce a second display typeface.
210
+ - Don't use heavy shadows on cards.
211
+ - Don't nest a card inside a card.
212
+ - Don't wrap a phase, callout, checklist, choice, form, questions block, or approval in a card.
213
+ - Don't put a fill behind a callout. Its rule and eyebrow carry the kind.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Marco Calderon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,238 @@
1
- # Temporary Holding Version
1
+ # Visual Living Plan
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Agent-authored visual plans for human interaction — closer to [Visual Plan](https://visualplan.dev/) than to a workflow builder.
4
+
5
+ The agent owns a `.plan.md` file. Humans open a browser URL to:
6
+
7
+ - see live status as phases update
8
+ - answer choices, forms, questions, and approval gates
9
+ - follow a **workflow diagram** (React Flow) that shows the expected execution plan before the run starts, then tracks the live run while plan forms are locked
10
+
11
+ Works for local agents (file + localhost URL) and is shaped so a cloud agent can host the same server and share the URL.
12
+
13
+ How the app is structured, with diagrams for the local Bun service, the TanStack Start app, the Worker, and plan-page rendering: [docs/architecture/README.md](docs/architecture/README.md). Decisions sit beside that page. Context for working in this repo: [docs/context.md](docs/context.md).
14
+
15
+ ## Quick start
16
+
17
+ The CLI and both HTTP servers run on [Bun](https://bun.sh). The plan page and the registry are [Elysia](https://elysiajs.com) apps. Sessions and finished runs are stored in SQLite.
18
+
19
+ ```bash
20
+ bun install
21
+ bun run serve -- examples/rate-limit.plan.md
22
+ ```
23
+
24
+ `examples/component-showcase.plan.md` shows every component a plan can hold on one page, grouped by kind: text and labels, callouts and checklists, code and diagrams, tables, charts and data views, layout, and the cards that ask the reader for an answer. `examples/tables.plan.md` is the table showcase: a pipe table in the plan text, and the same syntax inside a phase and a callout.
25
+
26
+ The command prints a URL and waits for a submission. Open the URL. Edit the example file, change a phase `status`, and the page reloads. Click a choice, submit a form, comment, or approve or deny. This command prints that JSON and exits. The page stays up. Run `events --url <printed-url>` again after each exit so a pending comment or verdict is delivered. After an approval, `watch --url <printed-url>` stays running while the plan executes. Stop it when execution is finished. `--detach` registers the plan and returns without waiting.
27
+
28
+ ### Running plans
29
+
30
+ One plan service on loopback hosts every plan. It listens on `127.0.0.1:9477`. `serve` registers a plan and prints undelivered submissions, then exits. The printed URL is `http://127.0.0.1:9477/plans/<id>/`. The page stays up after the command exits. Sessions are stored in SQLite (`~/.config/living-plan/registry.sqlite`) and come back if the service restarts. Every planner page has a **Plans** button that lists those plans: directory, git branch and dirty state, and a link that opens that plan. The service home page is the same list. **Dashboard** (`/dashboard`, or `live-plan dashboard`) summarizes the hosted plans and the ones that have finished, for the local day, week, and month. `live-plan logs` prints the development log of errors, warnings, and logs (`--level error`, `warn`, or `log`; `--day YYYY-MM-DD` for one registry day; `--url` for one plan). Those files live in `~/.config/living-plan/logs` and stay after a restart. That list is not on the page. `live-plan tui` is that registry in the terminal. It starts the service when none is running, lists running plans, and reads `GET /api/dashboard?period=day|week|month` (day by default) with active plans first. Quitting the terminal leaves the service up. A clean close is executed. An idle drop, or a private process whose heartbeat went stale, is interrupted. The plan file is copied into `~/.config/living-plan/plans/`.
31
+
32
+ A choice, form, question, approval, review, or comment is stored for that plan until a CLI prints it. `serve` and `events` print the ones not yet delivered and exit. `wait` uses the same stream and returns when one id is answered. A different plan does not see them.
33
+
34
+ ```bash
35
+ npm run processes
36
+ live-plan processes
37
+ ```
38
+
39
+ `--no-registry` serves that one plan in its own process instead. `--registry-port` changes the service port. `live-plan registry` runs the service in the foreground; `serve` and `review` start it when it is not already up. `live-plan close --url <plan-url>` drops a plan.
40
+
41
+ `serve --cloud` and `review --cloud` host that plan on a signed-in Worker instead. Sign in once with `live-plan account login --url https://host`. On a VM or cloud agent with no browser, add `--headless`, open the printed page on any device, and run the `--token` command it shows. The local service is unchanged when the flag is omitted. Deploy steps are in [docs/cloud-host.md](docs/cloud-host.md).
42
+
43
+ ### Install the command
44
+
45
+ This is the same kind of install as [Visual Plan](https://visualplan.dev/)'s `npm i -g vplan`. The package name on the registry is `visual-living-plan`. Publishing runs `prepack`, which compiles `dist/cli.js` into the tarball. `npm i -g` downloads that tarball and links the `live-plan` and `visual-living-plan` commands onto your PATH. It does not clone the repo and does not compile anything on your machine.
46
+
47
+ Bun has to be on `PATH`. The published command's shebang is `bun`.
48
+
49
+ ```bash
50
+ npm i -g visual-living-plan
51
+ live-plan --help
52
+ live-plan check "$(npm root -g)/visual-living-plan/examples/rate-limit.plan.md"
53
+ ```
54
+
55
+ `check` prints the workflow block. That block is required: it is the execution path. `serve` and `review` draw it on the Workflow tab before a run starts. The page opens in a browser the first time a plan is served. Serving or reviewing the same plan again leaves the open tab alone. Pass `--no-open` when a browser should not launch, or `--open` to open it again. On a Mac with the Living Plan app installed, a plan on this machine opens in that app (see Desktop app below). Otherwise, when Living Plan is installed as an app in Chrome, Edge, Brave, or Chromium, the page opens in that app window instead of a tab. Set `LIVE_PLAN_OPEN=browser` to always use a tab.
56
+
57
+ The name is not on the registry until it is published. From a checkout, `npm publish --access public` packs the built CLI and uploads it. A GitHub release runs the same publish through `.github/workflows/publish.yml`, after a trusted publisher for `visual-living-plan` is configured on npm.
58
+
59
+ ### Desktop app
60
+
61
+ Living Plan also runs as a Mac app, built with [Tauri](https://tauri.app) in `src-tauri/`. It opens the dashboard in its own window, and plans open from there. It needs no Bun, npm, or CLI install: the app ships the CLI and the Bun runtime, and starts the plan service when none is running. When agents already started one, the app uses it, whatever its version. The service keeps running after the app quits, as it does after `live-plan dashboard`. Pages on the service stay in the app, a plan opened from the **Plans** menu gets its own window, and other links open in your browser. It runs on macOS 13 or later, on Apple silicon and Intel. Linux and Windows builds come later.
62
+
63
+ When the app is installed, a plan an agent serves opens in it. `serve` and `review` hand the plan to the app with a `living-plan://plans/<id>` link, and `live-plan dashboard` uses `living-plan://dashboard`. The app focuses the window that already shows the plan, or opens one. Without the app, the plan opens in the Living Plan web app when you installed it from Chrome, Edge, Brave, or Chromium, and in a new browser tab otherwise. `LIVE_PLAN_DESKTOP=0` skips the Mac app, and `LIVE_PLAN_OPEN=browser` always uses a tab. A hosted plan (`--cloud`) opens in the Mac app too, once the app knows that host.
64
+
65
+ The first launch shows a short setup, one step at a time:
66
+
67
+ | Step | What you choose |
68
+ |---|---|
69
+ | Plans | This computer, or a cloud host you enter. The app opens there each time, and **Local** and **Cloud** in the toolbar switch between the two |
70
+ | Look | Color mode (system, light, dark), accent color, and syntax theme. They are also in Settings |
71
+ | Command line | Install `live-plan` on your PATH, running the copy inside the app. No Bun or npm needed |
72
+ | Agent skills | Install the live-plan skill into Claude Code, Codex, Cursor, Gemini CLI, OpenCode, or `~/.agents` |
73
+
74
+ Setup opens again from Settings on any page, and from **Plans**, then **Setup**, in the menu bar. The same installs work from a terminal: `live-plan skills install` copies the skill into every agent found on the machine (`--harness <id>` names one, `skills list` shows where it is), and `live-plan desktop install-cli` writes the launcher. On macOS the page toolbar is the window's title bar. Cloud mode needs a connection, and when the host does not answer the app offers the plans on this computer. In the app, sign in to a hosted Living Plan with email or GitHub; Google refuses sign-in from an embedded window.
75
+
76
+ The `.dmg` for each release is attached to the GitHub release by `.github/workflows/desktop.yml`. The app is signed ad hoc, not notarized, so the first launch asks you to allow it in System Settings, Privacy & Security.
77
+
78
+ After that the app updates itself. It checks the latest GitHub release shortly after it opens and every few hours and downloads a newer version in the background. A notice at the top right of the window shows the download's progress, then offers **Restart now**; **Later** keeps the new version for the next launch. **Living Plan > Check for Updates…**, or **Check for updates** in Settings, checks now and answers in the same notice. After an update to a new minor version, the app opens **What's new** once, with that release's new features, improvements, and fixes. Updates are signed, and the app checks each one against the public key it ships with. macOS does not ask you to allow the app again, because the app downloads the update itself rather than through a browser. The plan service keeps running through the restart.
79
+
80
+ Maintainers sign updates with an updater key, which is separate from Apple signing and needs no Apple account:
81
+
82
+ 1. Generate it on your own machine: `bun tauri signer generate -w ~/.tauri/living-plan.key`. Keep the private key and its password out of the repository.
83
+ 2. Put the contents of `~/.tauri/living-plan.key.pub` in `plugins.updater.pubkey` in `src-tauri/tauri.conf.json` and commit it.
84
+ 3. Add the repository secrets `TAURI_SIGNING_PRIVATE_KEY` (the contents of `~/.tauri/living-plan.key`) and `TAURI_SIGNING_PRIVATE_KEY_PASSWORD`.
85
+
86
+ From then on each published release gets `Living.Plan_<version>_<arch>.app.tar.gz`, its `.sig`, and `latest.json` beside the `.dmg` files ([ADR 0041](docs/architecture/decisions/0041-desktop-app-updates.md)).
87
+
88
+ To build the app on a Mac from a checkout you need Rust:
89
+
90
+ ```bash
91
+ bun install
92
+ bun run desktop # a development window
93
+ bun run desktop:build # Living Plan.app and a .dmg under src-tauri/target/release/bundle/
94
+ bun run desktop:install # build the .app for this Mac and install it into /Applications
95
+ ```
96
+
97
+ `desktop:install` quits a running Living Plan, replaces `/Applications/Living Plan.app`, checks its signature, registers it for `living-plan://` links, and opens it. `--dmg` also builds the disk image, `--no-launch` skips opening it, `--skip-build` installs the last build, and `--dest DIR` installs somewhere else.
98
+
99
+ Both run `bun run desktop:stage` first, which builds the package, bundles the CLI into `src-tauri/service/`, and copies this machine's Bun to `src-tauri/binaries/`. `bun run desktop:icons` redraws the app icon. Agents still use `npx --yes visual-living-plan`. How the app is put together: [ADR 0036](docs/architecture/decisions/0036-desktop-app.md), how plans reach it: [ADR 0037](docs/architecture/decisions/0037-plans-open-in-the-desktop-app.md), and setup, hosted plans, and the title bar: [ADR 0038](docs/architecture/decisions/0038-desktop-setup-and-cloud.md).
100
+
101
+ ### Review mode
102
+
103
+ ```bash
104
+ npm run review -- examples/rate-limit.plan.md --iteration 1
105
+ ```
106
+
107
+ Blocks until Approve (`0`), Deny (`1`), or Iterate (`2`).
108
+
109
+ ### Wait for one interaction
110
+
111
+ After `serve` prints a plan URL:
112
+
113
+ ```bash
114
+ npm run wait -- fail-mode --url <printed-plan-url>
115
+ ```
116
+
117
+ ### Workflow canvas
118
+
119
+ The page has **Plan** and **Workflow** tabs. The Workflow tab draws the required `workflow` block, which is the execution path, before the agent starts the run. Select a step to jump to the matching section in the plan. A plan with no workflow block yet shows the sample retry loop from `examples/execution-graph.json` until that block is present.
120
+
121
+ While execution is active, Plan forms/gates are disabled. The same Workflow tab then overlays the live [React Flow](https://reactflow.dev) graph the agent pushes. Node ids that match the plan keep their plan reference.
122
+
123
+ ```bash
124
+ npm run execution -- start --url <printed-plan-url> \
125
+ --step "Implement middleware" \
126
+ --detail "Editing gateway.ts" \
127
+ --graph examples/execution-graph.json
128
+
129
+ npm run execution -- push --url <printed-plan-url> \
130
+ --step "Add coverage" \
131
+ --graph examples/execution-graph.json
132
+
133
+ npm run execution -- stop --url <printed-plan-url>
134
+ ```
135
+
136
+ Agent payloads:
137
+
138
+ - `graph` — portable `{ nodes, edges }` (preferred; adapter-agnostic)
139
+ - `scene` — optional adapter-specific extras
140
+
141
+ React Flow draws cycles between different nodes. A self-loop (`from` and `to` are the same id) uses a custom arc, because the built-in edge paths collapse onto the node. A separate card can close a loop instead: give the return edge `fromSide` and `toSide` (`top`, `right`, `bottom`, or `left`) so it does not sit on the forward path. Optional edge `label` is drawn on the arc or the return edge. `examples/execution-graph.json` closes one loop with a Retry step: `tests → retry → implement`.
142
+
143
+ ## Why this exists
144
+
145
+ Visual builders optimize for humans drawing graphs. Living Plan optimizes for **agents communicating**:
146
+
147
+ | Need | Mechanism |
148
+ |------|-----------|
149
+ | Show current status | `phase` blocks + file watch reload |
150
+ | Ask for direction | `choice`, `form`, `questions`, `approve` |
151
+ | Converge on a plan | review bar + iteration diffs |
152
+ | Show the execution path | required `workflow` block, drawn on the Workflow tab before the run |
153
+ | Show a figure in the plan text | mermaid fence in the plan markdown or a block body |
154
+ | Show a table in the plan text | pipe table in the plan markdown or a block body |
155
+ | Show source in the plan text | fenced code block with a language, highlighted in the plan |
156
+ | Show live execution | Same Workflow tab, React Flow canvas via `/api/execution` |
157
+ | Local + cloud | same file + HTTP server URL |
158
+
159
+ ## Plan vocabulary
160
+
161
+ See `examples/rate-limit.plan.md`, `examples/form-controls.plan.md`, and `skills/live-plan/primitives.md`. A plan is MDX components.
162
+
163
+ - `<phase>` — status timeline
164
+ - `<callout>` — note / tip / risk / decision / warning. A callout can contain another component, such as a choice
165
+ - `<choice>` / `<form>` / `<questions>` / `<approve>` — human interactions. Options, fields, and question items are nested components. A form field is `text`, `number`, `textarea`, `select`, `checkbox`, or `stepper`. Checkbox and stepper forms save on each change. Text forms use Submit, then Edit.
166
+ - `<checklist>` — definition of done. Those done flags stay in the plan file.
167
+ - `<workflow>` — required execution path. The body is one line per step with the columns `id | label | ref | detail` (no header row), then `--`, then one `from -> to` line per edge. A `workflow` fence may wrap that table. `ref` is the plan block id a click jumps to. The Workflow tab draws this block before the run, and the live run follows it
168
+ - mermaid — a figure in the plan text. Use a fence whose language is `mermaid`, in the plan markdown or inside a phase, callout, or approve component. `<Mermaid>` draws the same figure
169
+ - table — a pipe table in the plan markdown or a block body. The row under the header is `| --- |`. Use `:---`, `---:`, or `:---:` in that separator to align a column left, right, or center. A blank line ends the table
170
+ - `<DataTable>` — an optional state filter. `search` and `sort` on a `<Column>` are off until set. Pagination appears at 100 rows. `<Cell wrap>` breaks a cell onto more than one line. `<Cell wrap="40%">` wraps it inside 40% of the table. `<Column wrap>` and `<DataTable wrap>` wrap every long cell in that column or table. Cells without `wrap` stay on one line, and the table scrolls sideways when those columns do not fit. Cells can hold chips, pills, lists, checkboxes, and other plan components. See `examples/data-table.plan.md`
171
+ - code — a highlighted source block with line numbers, starting at 1. Add `start=40` after the language to number the snippet from another line. Use any fence language other than `mermaid` (`ts`, `python`, `bash`, and so on), in the plan markdown or inside a phase, callout, or approve component. A fence with no language still renders as code
172
+ - diff — a unified diff rendered as hunks. Use a `diff` or `patch` fence, or add `diff` after the language (`ts diff`). Include `---` / `+++` file headers and `@@` hunk ranges; those ranges are the line numbers. A hunk without file headers still renders
173
+ - `<BarChart>` and `<LineChart>` — a chart. One `label, value` row per line
174
+ - `<Chip>` and `<Pill tone="success|warning|danger|neutral">` — short labels. They are not plan entries
175
+ - `<Stack>`, `<Row>`, `<Box>`, `<HStack>`, `<VStack>`, `<ResponsiveStack>` — layout only. They are not plan entries
176
+
177
+ ## Execution canvas adapters
178
+
179
+ Execution rendering goes through a small port/adapter layer:
180
+
181
+ - `client/execution-canvas/port.ts` — adapter contract
182
+ - `client/execution-canvas/toCanvasModel.ts` — maps `ExecutionState` → portable model
183
+ - `client/execution-canvas/adapters/reactFlow/` — current React Flow adapter
184
+ - `client/execution-canvas/registry.ts` — set `ACTIVE_EXECUTION_CANVAS_ADAPTER_ID`
185
+
186
+ To swap libraries later, add another adapter and change the active id. Keep agent payloads on `graph` so the API stays stable.
187
+
188
+ ## Theme
189
+
190
+ The **Settings** tab offers **8 accent presets** (teal, cyan, sky, blue, violet, magenta, rose, amber) plus a custom color picker. Presets are chosen to stay readable on both light and dark surfaces. The choice is saved to `live-plan.config.json` beside the plan file (see `examples/live-plan.config.json`). Agents can change it through the CLI:
191
+
192
+ ```bash
193
+ live-plan theme get --plan examples/rate-limit.plan.md
194
+ live-plan theme set --accent #0369a1 --plan examples/rate-limit.plan.md
195
+ live-plan theme set --accent #0369a1 --url <printed-plan-url>
196
+ ```
197
+
198
+ `serve` / `review` accept `--config path/to/live-plan.config.json`. While the server is up, prefer `--url` so the UI updates live; the config file is also watched on disk.
199
+
200
+ ## API
201
+
202
+ - `GET /` — interactive HTML page (Plan + Workflow + Settings tabs)
203
+ - `GET /api/plan` — plan metadata, responses, pending interaction ids, execution state, `planned` workflow graph, and `theme`
204
+ - `GET /api/execution` — current execution canvas state, including `planned` (the expected workflow from the plan) even while execution is idle
205
+ - `PUT /api/execution` — set execution state (`active`, `step`, `detail`, `graph`, `scene`)
206
+ - `POST /api/execution/start` / `push` / `stop` — what `execution start`, `push`, and `stop` call. Send any of `step`, `detail`, `graph`, `scene`; the host keeps the rest
207
+ - `GET /api/events` — browser SSE (`hello`, `reload`, `interaction`, `review`, `comment`, `mode`, `execution`, `theme`, `error`, `ping`). `hello` is first on every connection, so a page that reconnects catches up
208
+ - `GET /api/agent-events` — agent SSE. On the shared service this requires the plan token or the service token. `hello` includes responses, review, comments, execution, and `pending` (`plan_events` rows whose `delivered_at` is empty). A live submission arrives as `notice`.
209
+ - `POST /api/agent-events/ack` — `{ "ids": ["evt_..."] }` sets `delivered_at`. The CLI calls this after it prints.
210
+ - `POST /api/comments` — comment on one plan part. `live-plan addressing` (`POST /api/comments/:id/addressing`) marks it reviewing. `live-plan reply` (`POST /api/comments/:id/reply`) appends the reply text. `live-plan address` (`POST /api/comments/:id/address`) marks it answered with outcome `implemented` (default), `errored`, or `issues`.
211
+ - `POST /api/mode` — set the session to `watch`, `comment`, or `review`. The open tab follows.
212
+ - `GET /api/processes` — plans hosted by the service (directory, git status, site URL). `status` is `ok`, `offline`, or `disabled`
213
+ - `GET /dashboard` — registry page for running and executed plans: day, week, and month summaries, plus a table (status, completion, folder, files modified, start time, duration)
214
+ - `GET /api/dashboard?period=day|week|month` — the same summary and rows as JSON. `live-plan tui` reads this route.
215
+ - `GET /api/plans` — every stored plan run, including executed and interrupted
216
+ - `GET /api/theme` / `PUT /api/theme` — read or set accent color (`{ "accent": "#hex" }`), persisted to the theme config file
217
+ - `POST /api/interactions/:id` — submit an interaction response (409 while execution is live)
218
+ - `POST /api/review` — submit Approve / Deny / Iterate (review mode; 409 while execution is live). Approve and deny return the session to watch. Iterate leaves it in review.
219
+
220
+ ## For agents
221
+
222
+ Agents should invoke the published CLI with bunx, or `live-plan` when that command is installed. Bun has to be installed. Do not use the `npm run` scripts above unless you are developing this repository.
223
+
224
+ ```bash
225
+ bunx visual-living-plan serve path/to/work.plan.md
226
+ live-plan serve path/to/work.plan.md
227
+ live-plan events --url <printed-plan-url>
228
+ ```
229
+
230
+ - Guideline: [`docs/agent-guidelines.md`](docs/agent-guidelines.md)
231
+ - Skill: from this repo, `npm run skills:install` copies [`skills/live-plan/`](skills/live-plan/SKILL.md) and the other project skills into `~/.agents/skills`. Run it again to refresh those copies. [`skills/live-plan/SKILL.md`](skills/live-plan/SKILL.md)
232
+ - Primitive schemas: [`skills/live-plan/primitives.md`](skills/live-plan/primitives.md)
233
+
234
+ `npm install -g visual-living-plan` installs the `live-plan` command (`visual-living-plan` is the same program). Every plan includes a `workflow` block. That block is the execution path.
235
+
236
+ ## License
237
+
238
+ MIT
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from "react";
2
+ import "./hostToolbar.css";
3
+ type AuthScreenProps = {
4
+ title: string;
5
+ children: ReactNode;
6
+ };
7
+ /** Title bar and column shared by the hosted sign-in and sign-up pages. */
8
+ export declare function AuthScreen({ title, children }: AuthScreenProps): import("react").JSX.Element;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { DesktopModeSwitch } from "./DesktopModeSwitch";
3
+ import "./hostToolbar.css";
4
+ /** Title bar and column shared by the hosted sign-in and sign-up pages. */
5
+ export function AuthScreen({ title, children }) {
6
+ return (_jsxs(_Fragment, { children: [_jsxs("header", { className: "titlebar", children: [_jsx("a", { className: "logo-btn", href: "/dashboard", "aria-label": "Living Plan", children: _jsx("img", { className: "titlebar-logo", src: "/favicon.png", alt: "", width: 29, height: 29 }) }), _jsx("h1", { className: "brand", children: "Living Plan" }), _jsx("div", { className: "chrome-tools", children: _jsx(DesktopModeSwitch, { host: "cloud" }) })] }), _jsxs("main", { className: "account-card", children: [_jsx("h1", { children: title }), children] })] }));
7
+ }
@@ -0,0 +1,13 @@
1
+ import { type DesktopModeSide, type PlanHost } from './hostToolbar';
2
+ /** The laptop or cloud icon for one side of the switch. */
3
+ export declare function DesktopModeIcon({ side }: {
4
+ side: DesktopModeSide;
5
+ }): import("react").JSX.Element;
6
+ /**
7
+ * The Local and Cloud switch in a toolbar with no account menu. Same markup as
8
+ * `desktopModeSwitchHtml`: styles hide it in a browser, and inside the desktop app the other side is
9
+ * a `living-plan://switch/<mode>` link. With an account menu, the menu carries the switch instead.
10
+ */
11
+ export declare function DesktopModeSwitch({ host }: {
12
+ host: PlanHost;
13
+ }): import("react").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { DESKTOP_MODE_SIDES } from './hostToolbar';
3
+ /** The laptop or cloud icon for one side of the switch. */
4
+ export function DesktopModeIcon({ side }) {
5
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: side.paths.map((d) => (_jsx("path", { d: d }, d))) }));
6
+ }
7
+ /**
8
+ * The Local and Cloud switch in a toolbar with no account menu. Same markup as
9
+ * `desktopModeSwitchHtml`: styles hide it in a browser, and inside the desktop app the other side is
10
+ * a `living-plan://switch/<mode>` link. With an account menu, the menu carries the switch instead.
11
+ */
12
+ export function DesktopModeSwitch({ host }) {
13
+ return (_jsx("nav", { className: "desktop-mode", "aria-label": "Environment", children: DESKTOP_MODE_SIDES.map((side) => side.mode === host ? (_jsx("span", { "aria-current": "true", "aria-label": side.label, title: side.label, children: _jsx(DesktopModeIcon, { side: side }) }, side.mode)) : (_jsx("a", { href: `living-plan://switch/${side.mode}`, "aria-label": side.label, title: side.label, children: _jsx(DesktopModeIcon, { side: side }) }, side.mode))) }));
14
+ }
@@ -0,0 +1,6 @@
1
+ type OAuthMarkProps = {
2
+ provider: 'github' | 'google';
3
+ };
4
+ /** Provider mark for an OAuth pill. GitHub follows the button ink. Google keeps its four mark colors. */
5
+ export declare function OAuthMark({ provider }: OAuthMarkProps): import("react").JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /** Provider mark for an OAuth pill. GitHub follows the button ink. Google keeps its four mark colors. */
3
+ export function OAuthMark({ provider }) {
4
+ if (provider === 'github') {
5
+ return (_jsx("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: _jsx("path", { fill: "currentColor", d: "M12 .5C5.65.5.5 5.65.5 12.02c0 5.1 3.29 9.43 7.86 10.96.58.1.79-.25.79-.56 0-.28-.01-1.02-.02-2-3.2.7-3.88-1.54-3.88-1.54-.52-1.34-1.28-1.7-1.28-1.7-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.2 1.77 1.2 1.03 1.78 2.7 1.26 3.36.97.1-.75.4-1.26.73-1.55-2.55-.29-5.23-1.28-5.23-5.7 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.47.11-3.06 0 0 .97-.31 3.18 1.19a11.1 11.1 0 0 1 5.8 0c2.2-1.5 3.17-1.19 3.17-1.19.64 1.59.24 2.77.12 3.06.74.81 1.19 1.84 1.19 3.1 0 4.43-2.69 5.41-5.25 5.69.42.36.78 1.07.78 2.16 0 1.56-.01 2.81-.01 3.19 0 .31.21.67.8.56A11.52 11.52 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5z" }) }));
6
+ }
7
+ return (_jsxs("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: [_jsx("path", { fill: "var(--oauth-google-blue)", d: "M23.52 12.27c0-.79-.07-1.54-.2-2.27H12v4.3h6.46a5.53 5.53 0 0 1-2.4 3.63v3.01h3.88c2.27-2.09 3.58-5.17 3.58-8.67z" }), _jsx("path", { fill: "var(--oauth-google-green)", d: "M12 24c3.24 0 5.96-1.07 7.94-2.91l-3.88-3.01c-1.08.72-2.45 1.15-4.06 1.15-3.12 0-5.76-2.11-6.7-4.94H1.28v3.1A12 12 0 0 0 12 24z" }), _jsx("path", { fill: "var(--oauth-google-yellow)", d: "M5.3 14.29A7.2 7.2 0 0 1 4.92 12c0-.8.14-1.58.38-2.29V6.61H1.28A12 12 0 0 0 0 12c0 1.94.46 3.77 1.28 5.39l4.02-3.1z" }), _jsx("path", { fill: "var(--oauth-google-red)", d: "M12 4.77c1.76 0 3.34.61 4.58 1.8l3.44-3.44C17.95 1.19 15.24 0 12 0 7.31 0 3.26 2.69 1.28 6.61l4.02 3.1C6.24 6.88 8.88 4.77 12 4.77z" })] }));
8
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * One or two letters for an account, shown in place of its name where the toolbar is narrow.
3
+ * "Ada Lovelace" is "AL", "ada@example.com" is "A", and an empty label is "?".
4
+ */
5
+ export declare function accountInitials(label: string): string;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * One or two letters for an account, shown in place of its name where the toolbar is narrow.
3
+ * "Ada Lovelace" is "AL", "ada@example.com" is "A", and an empty label is "?".
4
+ */
5
+ export function accountInitials(label) {
6
+ const trimmed = label.trim();
7
+ const name = trimmed.includes('@') ? (trimmed.split('@')[0] ?? '') : trimmed;
8
+ const words = name.split(/[\s._-]+/).filter((word) => /\p{L}|\p{N}/u.test(word));
9
+ if (trimmed.includes('@'))
10
+ return firstLetter(words[0] ?? name);
11
+ if (words.length === 0)
12
+ return '?';
13
+ if (words.length === 1)
14
+ return firstLetter(words[0] ?? '');
15
+ return firstLetter(words[0] ?? '') + firstLetter(words[words.length - 1] ?? '');
16
+ }
17
+ function firstLetter(word) {
18
+ const letter = [...word].find((char) => /\p{L}|\p{N}/u.test(char));
19
+ return letter ? letter.toLocaleUpperCase() : '?';
20
+ }
@@ -0,0 +1,26 @@
1
+ export declare const LINKABLE_PROVIDERS: readonly ["github", "google"];
2
+ export type LinkableProvider = (typeof LINKABLE_PROVIDERS)[number];
3
+ export type AccountLinkingConfig = {
4
+ enabled: true;
5
+ trustedProviders: string[];
6
+ allowDifferentEmails: false;
7
+ updateUserInfoOnLink: false;
8
+ };
9
+ /** Trust only the providers this host is configured to run. A different email is never attached. */
10
+ export declare function accountLinkingConfig(providers: {
11
+ github: boolean;
12
+ google: boolean;
13
+ }): AccountLinkingConfig;
14
+ export declare function providerIsLinked(accounts: ReadonlyArray<{
15
+ providerId: string;
16
+ }>, provider: string): boolean;
17
+ export declare function providerLabel(provider: LinkableProvider): string;
18
+ /** Where Better Auth returns after the signed-in user finishes or abandons linking. */
19
+ export declare function linkSocialRequest(provider: LinkableProvider, email: string): {
20
+ provider: "github" | "google";
21
+ callbackURL: string;
22
+ errorCallbackURL: string;
23
+ loginHint: string;
24
+ };
25
+ /** Map Better Auth's OAuth callback `error` codes. Unknown codes stay generic. */
26
+ export declare function linkAccountErrorMessage(code: string | undefined): string;