visual-living-plan 0.1.0 → 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/README.md +155 -28
  3. package/dist/AuthScreen.d.ts +9 -0
  4. package/dist/AuthScreen.js +7 -0
  5. package/dist/DesktopModeSwitch.d.ts +13 -0
  6. package/dist/DesktopModeSwitch.js +14 -0
  7. package/dist/OAuthMark.d.ts +6 -0
  8. package/dist/OAuthMark.js +8 -0
  9. package/dist/accountInitials.d.ts +5 -0
  10. package/dist/accountInitials.js +20 -0
  11. package/dist/accountLinking.d.ts +26 -0
  12. package/dist/accountLinking.js +46 -0
  13. package/dist/agentEvents.d.ts +31 -0
  14. package/dist/agentEvents.js +260 -0
  15. package/dist/agentPresence.d.ts +42 -0
  16. package/dist/agentPresence.js +69 -0
  17. package/dist/agentSkills.d.ts +35 -0
  18. package/dist/agentSkills.js +89 -0
  19. package/dist/agentStream.d.ts +35 -0
  20. package/dist/agentStream.js +133 -0
  21. package/dist/appearanceDom.d.ts +13 -0
  22. package/dist/appearanceDom.js +24 -0
  23. package/dist/appearanceSettings.d.ts +29 -0
  24. package/dist/appearanceSettings.js +293 -0
  25. package/dist/assets.d.ts +14 -0
  26. package/dist/assets.js +72 -0
  27. package/dist/authSearch.d.ts +11 -0
  28. package/dist/authSearch.js +30 -0
  29. package/dist/changelog.d.ts +11 -0
  30. package/dist/changelog.js +63 -0
  31. package/dist/changelogParse.d.ts +53 -0
  32. package/dist/changelogParse.js +226 -0
  33. package/dist/cli.d.ts +2 -0
  34. package/dist/cli.js +1684 -0
  35. package/dist/cliLauncher.d.ts +40 -0
  36. package/dist/cliLauncher.js +170 -0
  37. package/dist/cliToken.d.ts +11 -0
  38. package/dist/cliToken.js +15 -0
  39. package/dist/client/.vite/manifest.json +1780 -0
  40. package/dist/client/assets/BarChart-DtV3dIq4.js +1 -0
  41. package/dist/client/assets/BlockEditor-BklSUBjk.js +168 -0
  42. package/dist/client/assets/BlockEditor-K5h6xc4_.css +1 -0
  43. package/dist/client/assets/CodeBlock-BbI08MlQ.js +1 -0
  44. package/dist/client/assets/CodeBlock-BxRMnldw.js +175 -0
  45. package/dist/client/assets/LineChart-CQYMEbD6.js +1 -0
  46. package/dist/client/assets/Mermaid-Ciu9eIoG.js +1 -0
  47. package/dist/client/assets/Mermaid-jPWLXX7e.js +1 -0
  48. package/dist/client/assets/Popover-DbE4vUPG.js +1 -0
  49. package/dist/client/assets/ReactFlowExecutionCanvas-BhVs-adc.js +7 -0
  50. package/dist/client/assets/ReactFlowExecutionCanvas-DLioOiRN.css +1 -0
  51. package/dist/client/assets/StatusIcon-C_-Lm9b4.js +1 -0
  52. package/dist/client/assets/Workflow-C92OpLyf.js +1 -0
  53. package/dist/client/assets/agentPresence-D8asHrTp.js +1 -0
  54. package/dist/client/assets/andromeeda-DW8vo71h.js +1 -0
  55. package/dist/client/assets/andromeeda-vGVdxbeo.js +1 -0
  56. package/dist/client/assets/arrow-up-CEVVOXD5.js +1 -0
  57. package/dist/client/assets/arrow-up-down-BSjnQK2I.js +1 -0
  58. package/dist/client/assets/aurora-x-CDeNXAV0.js +1 -0
  59. package/dist/client/assets/aurora-x-rMvKqtYI.js +1 -0
  60. package/dist/client/assets/ayu-dark-CwczpL8O.js +1 -0
  61. package/dist/client/assets/ayu-dark-DluEY0Gj.js +1 -0
  62. package/dist/client/assets/ayu-light-C3h-C4tm.js +1 -0
  63. package/dist/client/assets/ayu-light-DSh22xiD.js +1 -0
  64. package/dist/client/assets/ayu-mirage-Bqwy1Gya.js +1 -0
  65. package/dist/client/assets/ayu-mirage-JE6hAyHG.js +1 -0
  66. package/dist/client/assets/browserStore-BDGKYoJj.js +435 -0
  67. package/dist/client/assets/button-BI07wqbi.css +1 -0
  68. package/dist/client/assets/button-DJWAGApe.js +1 -0
  69. package/dist/client/assets/catppuccin-frappe-C9Q5zVZY.js +1 -0
  70. package/dist/client/assets/catppuccin-frappe-pyXErRRU.js +1 -0
  71. package/dist/client/assets/catppuccin-latte-BILSUICr.js +1 -0
  72. package/dist/client/assets/catppuccin-latte-CtsyrtPq.js +1 -0
  73. package/dist/client/assets/catppuccin-macchiato-Ck60ZZQE.js +1 -0
  74. package/dist/client/assets/catppuccin-macchiato-R8nAf1vR.js +1 -0
  75. package/dist/client/assets/catppuccin-mocha-C_2G67cS.js +1 -0
  76. package/dist/client/assets/catppuccin-mocha-DjuaAJKi.js +1 -0
  77. package/dist/client/assets/ccount-nzzEXTrh.js +1 -0
  78. package/dist/client/assets/chartRows-CNjjLsAH.js +2 -0
  79. package/dist/client/assets/circle-x-BLGxA3gi.js +1 -0
  80. package/dist/client/assets/client-BsE_buVT.js +9 -0
  81. package/dist/client/assets/constants-CmGPilXJ.js +1 -0
  82. package/dist/client/assets/dark-plus-CHgc6GYj.js +1 -0
  83. package/dist/client/assets/dark-plus-Cs2F2srj.js +1 -0
  84. package/dist/client/assets/default-5FplaXL4.js +7 -0
  85. package/dist/client/assets/diffsTheme-PJJTu2Rq.js +1 -0
  86. package/dist/client/assets/dracula-BHWKrbxM.js +1 -0
  87. package/dist/client/assets/dracula-Cf1PG3MT.js +1 -0
  88. package/dist/client/assets/dracula-soft-5eyTD99u.js +1 -0
  89. package/dist/client/assets/dracula-soft-DXuNm1Kq.js +1 -0
  90. package/dist/client/assets/editSource-DQfw4nRm.js +1 -0
  91. package/dist/client/assets/editSource-U5AoD-Wo.js +14 -0
  92. package/dist/client/assets/engine-CLTPZlti.js +1 -0
  93. package/dist/client/assets/engine-DUyaiAMV.js +2 -0
  94. package/dist/client/assets/everforest-dark-CjdfwUBe.js +1 -0
  95. package/dist/client/assets/everforest-dark-sB-x3p7T.js +1 -0
  96. package/dist/client/assets/everforest-light-CfVwwCBP.js +1 -0
  97. package/dist/client/assets/everforest-light-Df2xbC6M.js +1 -0
  98. package/dist/client/assets/forgetDocuments-CIUBitCs.js +1 -0
  99. package/dist/client/assets/formatCSSVariablePrefix-KRh9vnZf.js +1 -0
  100. package/dist/client/assets/github-dark-BL6HSl_n.js +1 -0
  101. package/dist/client/assets/github-dark-C-LZuMrd.js +1 -0
  102. package/dist/client/assets/github-dark-default-DXG-b-1a.js +1 -0
  103. package/dist/client/assets/github-dark-default-zacuWV-M.js +1 -0
  104. package/dist/client/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
  105. package/dist/client/assets/github-dark-dimmed-Mc0P9idi.js +1 -0
  106. package/dist/client/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
  107. package/dist/client/assets/github-dark-high-contrast-IMKX2AVF.js +1 -0
  108. package/dist/client/assets/github-light-EUqPIrTm.js +1 -0
  109. package/dist/client/assets/github-light-default-BXViO-2h.js +1 -0
  110. package/dist/client/assets/github-light-default-DVlCqP3X.js +1 -0
  111. package/dist/client/assets/github-light-high-contrast-B68TUdTA.js +1 -0
  112. package/dist/client/assets/github-light-high-contrast-Dj6zTyWR.js +1 -0
  113. package/dist/client/assets/github-light-mYhEBkPo.js +1 -0
  114. package/dist/client/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
  115. package/dist/client/assets/gruvbox-dark-hard-QTgQQZn-.js +1 -0
  116. package/dist/client/assets/gruvbox-dark-medium-9d5YdCTx.js +1 -0
  117. package/dist/client/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
  118. package/dist/client/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
  119. package/dist/client/assets/gruvbox-dark-soft-XCkqeBhR.js +1 -0
  120. package/dist/client/assets/gruvbox-light-hard--5-nXqNp.js +1 -0
  121. package/dist/client/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
  122. package/dist/client/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
  123. package/dist/client/assets/gruvbox-light-medium-COA1PZW2.js +1 -0
  124. package/dist/client/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
  125. package/dist/client/assets/gruvbox-light-soft-CIJpzjAO.js +1 -0
  126. package/dist/client/assets/hastToHtml-Dj8rXue9.js +11 -0
  127. package/dist/client/assets/highlight-cB-PkhyE.js +1 -0
  128. package/dist/client/assets/highlights-LLBF1DTm.js +1 -0
  129. package/dist/client/assets/horizon-Ba2cwkSy.js +1 -0
  130. package/dist/client/assets/horizon-CE9ld1lL.js +1 -0
  131. package/dist/client/assets/horizon-bright-DSNQnXHK.js +1 -0
  132. package/dist/client/assets/horizon-bright-DaEDgBmR.js +1 -0
  133. package/dist/client/assets/houston-B6x0XVpU.js +1 -0
  134. package/dist/client/assets/houston-CsvMBhTu.js +1 -0
  135. package/dist/client/assets/jsx-runtime-DKj5X9O4.js +1 -0
  136. package/dist/client/assets/kanagawa-dragon-Bozd7klA.js +1 -0
  137. package/dist/client/assets/kanagawa-dragon-DhTFvBMT.js +1 -0
  138. package/dist/client/assets/kanagawa-lotus--m8sdOxn.js +1 -0
  139. package/dist/client/assets/kanagawa-lotus-BmuOG9ZW.js +1 -0
  140. package/dist/client/assets/kanagawa-wave-BML5mF2J.js +1 -0
  141. package/dist/client/assets/kanagawa-wave-D-tTv4k2.js +1 -0
  142. package/dist/client/assets/laserwave-C_8bwKvT.js +1 -0
  143. package/dist/client/assets/laserwave-HSLx0L75.js +1 -0
  144. package/dist/client/assets/lib-COgu-QLX.js +33 -0
  145. package/dist/client/assets/lib-CdRiGVUZ.js +1 -0
  146. package/dist/client/assets/light-plus-CUjWrTSi.js +1 -0
  147. package/dist/client/assets/light-plus-DVQuIRkW.js +1 -0
  148. package/dist/client/assets/loader-CjL04K29.js +1 -0
  149. package/dist/client/assets/main-BGMX_GnZ.js +2 -0
  150. package/dist/client/assets/main-BTko4EvJ.css +1 -0
  151. package/dist/client/assets/material-theme-Bm3Qr25_.js +1 -0
  152. package/dist/client/assets/material-theme-CnthUGfg.js +1 -0
  153. package/dist/client/assets/material-theme-darker-2IIEA8gg.js +1 -0
  154. package/dist/client/assets/material-theme-darker-DUi03Qre.js +1 -0
  155. package/dist/client/assets/material-theme-lighter-D2-qr5Vw.js +1 -0
  156. package/dist/client/assets/material-theme-lighter-uhdI0v04.js +1 -0
  157. package/dist/client/assets/material-theme-ocean-CHQ94UKr.js +1 -0
  158. package/dist/client/assets/material-theme-ocean-CWR-LogA.js +1 -0
  159. package/dist/client/assets/material-theme-palenight-B5W6OYN7.js +1 -0
  160. package/dist/client/assets/material-theme-palenight-Cnv8m1ra.js +1 -0
  161. package/dist/client/assets/mdxEntries-BNTMP8ct.css +1 -0
  162. package/dist/client/assets/mdxEntries-L-V7bB6i.js +1 -0
  163. package/dist/client/assets/mermaid-Bjhs-krb.js +1 -0
  164. package/dist/client/assets/mermaid-Di4j-zgD.js +146 -0
  165. package/dist/client/assets/min-dark-BSWPekZh.js +1 -0
  166. package/dist/client/assets/min-dark-EXoM-6Xo.js +1 -0
  167. package/dist/client/assets/min-light-DDpmG2fV.js +1 -0
  168. package/dist/client/assets/min-light-DVOTDhnA.js +1 -0
  169. package/dist/client/assets/monokai-BscAjiQZ.js +1 -0
  170. package/dist/client/assets/monokai-DkggTbGy.js +1 -0
  171. package/dist/client/assets/mountChrome-BVWpsDCy.js +122 -0
  172. package/dist/client/assets/mountChrome-DhTDH3YM.css +1 -0
  173. package/dist/client/assets/night-owl-Bdcs0PMi.js +1 -0
  174. package/dist/client/assets/night-owl-DhmEMT88.js +1 -0
  175. package/dist/client/assets/night-owl-light-RoU30LE0.js +1 -0
  176. package/dist/client/assets/night-owl-light-eJ-hLW7d.js +1 -0
  177. package/dist/client/assets/noShiki-DB8hQ_W3.js +1 -0
  178. package/dist/client/assets/noShiki-GTG3tT8x.js +1 -0
  179. package/dist/client/assets/nord-Cb4Vim4T.js +1 -0
  180. package/dist/client/assets/nord-u7hMircQ.js +1 -0
  181. package/dist/client/assets/offlineSync-Cv3FVIlJ.js +1 -0
  182. package/dist/client/assets/one-dark-pro-08PdtLzi.js +1 -0
  183. package/dist/client/assets/one-dark-pro-C6YyR8OD.js +1 -0
  184. package/dist/client/assets/one-light-D7Lr4KcI.js +1 -0
  185. package/dist/client/assets/one-light-DgvUEtgI.js +1 -0
  186. package/dist/client/assets/opfs-worker-DuTOCgWR.js +5919 -0
  187. package/dist/client/assets/pierre-dark-B2jZWvHG.js +1 -0
  188. package/dist/client/assets/pierre-dark-CpLgRqie.js +1 -0
  189. package/dist/client/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
  190. package/dist/client/assets/pierre-dark-protanopia-deuteranopia-CebgQdRf.js +1 -0
  191. package/dist/client/assets/pierre-dark-soft-DdE7dyP3.js +1 -0
  192. package/dist/client/assets/pierre-dark-soft-kZQmAZld.js +1 -0
  193. package/dist/client/assets/pierre-dark-tritanopia-CXimiT7X.js +1 -0
  194. package/dist/client/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
  195. package/dist/client/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
  196. package/dist/client/assets/pierre-dark-vibrant-DzBsxHvQ.js +1 -0
  197. package/dist/client/assets/pierre-light-CoaEpmwp.js +1 -0
  198. package/dist/client/assets/pierre-light-Vf__O3ev.js +1 -0
  199. package/dist/client/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
  200. package/dist/client/assets/pierre-light-protanopia-deuteranopia-BUtWcCQC.js +1 -0
  201. package/dist/client/assets/pierre-light-soft-C3QCXKvN.js +1 -0
  202. package/dist/client/assets/pierre-light-soft-lWLdNTOI.js +1 -0
  203. package/dist/client/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
  204. package/dist/client/assets/pierre-light-tritanopia-CKLy6XvA.js +1 -0
  205. package/dist/client/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
  206. package/dist/client/assets/pierre-light-vibrant-DDuTEIhH.js +1 -0
  207. package/dist/client/assets/planEditButton-CbWGczbi.js +45 -0
  208. package/dist/client/assets/planEvents-cuzv9ELr.js +1 -0
  209. package/dist/client/assets/planMdx-Db1ze_nN.js +110 -0
  210. package/dist/client/assets/plastic-B8mE6BxX.js +1 -0
  211. package/dist/client/assets/plastic-DQwYfKfQ.js +1 -0
  212. package/dist/client/assets/poimandres-DRFjx7u4.js +1 -0
  213. package/dist/client/assets/poimandres-DUFjrgxT.js +1 -0
  214. package/dist/client/assets/preload-helper-Dx0-lKy1.js +1 -0
  215. package/dist/client/assets/queryClient-Bs5tSUJh.js +1 -0
  216. package/dist/client/assets/react-dom-DpzJPrWF.js +1 -0
  217. package/dist/client/assets/rebaseDraft-B2--cj1c.js +19 -0
  218. package/dist/client/assets/red-BJvdDEUx.js +1 -0
  219. package/dist/client/assets/red-CYlAq2b0.js +1 -0
  220. package/dist/client/assets/register-hZEIk3A9.css +1 -0
  221. package/dist/client/assets/register-htm5s8o9.js +1 -0
  222. package/dist/client/assets/rolldown-runtime-Dd_uD5pT.js +1 -0
  223. package/dist/client/assets/rose-pine-BSqRqUae.js +1 -0
  224. package/dist/client/assets/rose-pine-aMsaMD1D.js +1 -0
  225. package/dist/client/assets/rose-pine-dawn-8PwUyIlP.js +1 -0
  226. package/dist/client/assets/rose-pine-dawn-U6TBE82u.js +1 -0
  227. package/dist/client/assets/rose-pine-moon-CAU7u1h4.js +1 -0
  228. package/dist/client/assets/rose-pine-moon-DO-qXg-I.js +1 -0
  229. package/dist/client/assets/routeEdges-B2z8v0di.js +24 -0
  230. package/dist/client/assets/selector-CDsXW7SO.css +1 -0
  231. package/dist/client/assets/selector-tlBGWtQl.js +1 -0
  232. package/dist/client/assets/settingsChrome-NGUDtEIp.js +1 -0
  233. package/dist/client/assets/shiki-BOXJeUHI.js +2 -0
  234. package/dist/client/assets/slack-dark-CMu0smFa.js +1 -0
  235. package/dist/client/assets/slack-dark-DnToyrRv.js +1 -0
  236. package/dist/client/assets/slack-ochin-B2OO5cIa.js +1 -0
  237. package/dist/client/assets/slack-ochin-BBne7cjw.js +1 -0
  238. package/dist/client/assets/snazzy-light-4G7pJPwS.js +1 -0
  239. package/dist/client/assets/snazzy-light-CV8HUEmk.js +1 -0
  240. package/dist/client/assets/solarized-dark-CmYmhSgI.js +1 -0
  241. package/dist/client/assets/solarized-dark-b97czJOk.js +1 -0
  242. package/dist/client/assets/solarized-light-CjLLwxRp.js +1 -0
  243. package/dist/client/assets/solarized-light-DFPxpIYQ.js +1 -0
  244. package/dist/client/assets/stampPlanParts-DVXYCykw.js +15 -0
  245. package/dist/client/assets/stampPlanParts-ctZzxWdw.css +1 -0
  246. package/dist/client/assets/stream-tokenizer-C3n8hi1h.js +4 -0
  247. package/dist/client/assets/synthwave-84-nFMaYfgc.js +1 -0
  248. package/dist/client/assets/synthwave-84-wQeDKbzQ.js +1 -0
  249. package/dist/client/assets/textChildren-ZDSs1dod.js +1 -0
  250. package/dist/client/assets/themes-CdTJhjZf.js +2 -0
  251. package/dist/client/assets/tokyo-night-D4ZgDiA7.js +1 -0
  252. package/dist/client/assets/tokyo-night-oM2G3aXe.js +1 -0
  253. package/dist/client/assets/triangle-alert-C9Sgr3jF.js +1 -0
  254. package/dist/client/assets/unwrapDefault-ByDmBtHB.js +1 -0
  255. package/dist/client/assets/utils-C9Glzetk.js +2 -0
  256. package/dist/client/assets/versionView-zkSROPw7.js +1 -0
  257. package/dist/client/assets/vesper-DdrHHSXu.js +1 -0
  258. package/dist/client/assets/vesper-sUHevyKv.js +1 -0
  259. package/dist/client/assets/vitesse-black-CfklMpOb.js +1 -0
  260. package/dist/client/assets/vitesse-black-fwtXNY1n.js +1 -0
  261. package/dist/client/assets/vitesse-dark-BZCL-v6S.js +1 -0
  262. package/dist/client/assets/vitesse-dark-CJkzwmKT.js +1 -0
  263. package/dist/client/assets/vitesse-light-BxMp8E1Y.js +1 -0
  264. package/dist/client/assets/vitesse-light-VbXTXTou.js +1 -0
  265. package/dist/client/assets/wa-sqlite-Ba70bhIr.wasm +0 -0
  266. package/dist/client/assets/warmPlans-CYFrLwcX.js +1 -0
  267. package/dist/client/assets/with-selector-HIcjK0_d.js +1 -0
  268. package/dist/client/assets/workflowSource-LMsRuqF_.js +3 -0
  269. package/dist/client/favicon.png +0 -0
  270. package/dist/client/icons/apple-touch-icon-180x180.png +0 -0
  271. package/dist/client/icons/favicon.ico +0 -0
  272. package/dist/client/icons/maskable-icon-192x192.png +0 -0
  273. package/dist/client/icons/maskable-icon-512x512.png +0 -0
  274. package/dist/client/icons/pwa-16x16.png +0 -0
  275. package/dist/client/icons/pwa-192x192.png +0 -0
  276. package/dist/client/icons/pwa-32x32.png +0 -0
  277. package/dist/client/icons/pwa-512x512.png +0 -0
  278. package/dist/client/icons/pwa-64x64.png +0 -0
  279. package/dist/clientLog.d.ts +5 -0
  280. package/dist/clientLog.js +64 -0
  281. package/dist/cloudClient.d.ts +38 -0
  282. package/dist/cloudClient.js +185 -0
  283. package/dist/cloudCommand.d.ts +23 -0
  284. package/dist/cloudCommand.js +159 -0
  285. package/dist/cloudFrontmatter.d.ts +4 -0
  286. package/dist/cloudFrontmatter.js +30 -0
  287. package/dist/cloudStore.d.ts +28 -0
  288. package/dist/cloudStore.js +70 -0
  289. package/dist/cloudWatch.d.ts +12 -0
  290. package/dist/cloudWatch.js +103 -0
  291. package/dist/commentReply.d.ts +25 -0
  292. package/dist/commentReply.js +17 -0
  293. package/dist/configHome.d.ts +34 -0
  294. package/dist/configHome.js +136 -0
  295. package/dist/dashboard.d.ts +67 -0
  296. package/dist/dashboard.js +86 -0
  297. package/dist/dashboardClientScript.d.ts +2 -0
  298. package/dist/dashboardClientScript.js +1006 -0
  299. package/dist/dashboardDocument.d.ts +13 -0
  300. package/dist/dashboardDocument.js +40 -0
  301. package/dist/dashboardFormat.d.ts +98 -0
  302. package/dist/dashboardFormat.js +199 -0
  303. package/dist/dashboardLoading.d.ts +19 -0
  304. package/dist/dashboardLoading.js +94 -0
  305. package/dist/dashboardOverview.d.ts +28 -0
  306. package/dist/dashboardOverview.js +333 -0
  307. package/dist/dashboardPage.d.ts +2 -0
  308. package/dist/dashboardPage.js +11 -0
  309. package/dist/dashboardParts.d.ts +4 -0
  310. package/dist/dashboardParts.js +367 -0
  311. package/dist/dashboardSearchView.d.ts +38 -0
  312. package/dist/dashboardSearchView.js +255 -0
  313. package/dist/desktopApp.d.ts +23 -0
  314. package/dist/desktopApp.js +110 -0
  315. package/dist/desktopBridge.d.ts +21 -0
  316. package/dist/desktopBridge.js +78 -0
  317. package/dist/desktopCommand.d.ts +61 -0
  318. package/dist/desktopCommand.js +172 -0
  319. package/dist/desktopConfig.d.ts +54 -0
  320. package/dist/desktopConfig.js +164 -0
  321. package/dist/desktopNotices.d.ts +105 -0
  322. package/dist/desktopNotices.js +427 -0
  323. package/dist/diff.d.ts +2 -0
  324. package/dist/diff.js +46 -0
  325. package/dist/diffsTheme.d.ts +51 -0
  326. package/dist/diffsTheme.js +86 -0
  327. package/dist/diffsThemeCatalog.d.ts +3 -0
  328. package/dist/diffsThemeCatalog.js +78 -0
  329. package/dist/elkRuntime.node.d.ts +7 -0
  330. package/dist/elkRuntime.node.js +63 -0
  331. package/dist/execution.d.ts +78 -0
  332. package/dist/execution.js +139 -0
  333. package/dist/expectedWorkflow.d.ts +11 -0
  334. package/dist/expectedWorkflow.js +99 -0
  335. package/dist/favicon.d.ts +4 -0
  336. package/dist/favicon.js +40 -0
  337. package/dist/favicon.png +0 -0
  338. package/dist/faviconBase64.d.ts +1 -0
  339. package/dist/faviconBase64.js +1 -0
  340. package/dist/fileVersion.d.ts +8 -0
  341. package/dist/fileVersion.js +20 -0
  342. package/dist/formatBytes.d.ts +2 -0
  343. package/dist/formatBytes.js +13 -0
  344. package/dist/gitStatus.d.ts +12 -0
  345. package/dist/gitStatus.js +88 -0
  346. package/dist/hostToolbar.d.ts +38 -0
  347. package/dist/hostToolbar.js +249 -0
  348. package/dist/http.d.ts +8 -0
  349. package/dist/http.js +38 -0
  350. package/dist/httpServer.d.ts +13 -0
  351. package/dist/httpServer.js +40 -0
  352. package/dist/icons/apple-touch-icon-180x180.png +0 -0
  353. package/dist/icons/favicon.ico +0 -0
  354. package/dist/icons/maskable-icon-192x192.png +0 -0
  355. package/dist/icons/maskable-icon-512x512.png +0 -0
  356. package/dist/icons/pwa-16x16.png +0 -0
  357. package/dist/icons/pwa-192x192.png +0 -0
  358. package/dist/icons/pwa-32x32.png +0 -0
  359. package/dist/icons/pwa-512x512.png +0 -0
  360. package/dist/icons/pwa-64x64.png +0 -0
  361. package/dist/lanAccess.d.ts +31 -0
  362. package/dist/lanAccess.js +110 -0
  363. package/dist/lanAddress.d.ts +24 -0
  364. package/dist/lanAddress.js +174 -0
  365. package/dist/lanCommand.d.ts +25 -0
  366. package/dist/lanCommand.js +159 -0
  367. package/dist/lanConfig.d.ts +40 -0
  368. package/dist/lanConfig.js +130 -0
  369. package/dist/lanFirewall.d.ts +17 -0
  370. package/dist/lanFirewall.js +221 -0
  371. package/dist/layoutGraph.d.ts +13 -0
  372. package/dist/layoutGraph.js +55 -0
  373. package/dist/localName.d.ts +9 -0
  374. package/dist/localName.js +28 -0
  375. package/dist/lockBanner.d.ts +2 -0
  376. package/dist/lockBanner.js +2 -0
  377. package/dist/mdnsPacket.d.ts +44 -0
  378. package/dist/mdnsPacket.js +384 -0
  379. package/dist/mdnsPublish.d.ts +12 -0
  380. package/dist/mdnsPublish.js +290 -0
  381. package/dist/offlineSync.d.ts +249 -0
  382. package/dist/offlineSync.js +477 -0
  383. package/dist/openUrl.d.ts +40 -0
  384. package/dist/openUrl.js +147 -0
  385. package/dist/openedPages.d.ts +14 -0
  386. package/dist/openedPages.js +48 -0
  387. package/dist/pageEditPull.d.ts +9 -0
  388. package/dist/pageEditPull.js +29 -0
  389. package/dist/pageRoutes.d.ts +3 -0
  390. package/dist/pageRoutes.js +34 -0
  391. package/dist/parse.d.ts +7 -0
  392. package/dist/parse.js +100 -0
  393. package/dist/pid.d.ts +2 -0
  394. package/dist/pid.js +13 -0
  395. package/dist/planArchive.d.ts +4 -0
  396. package/dist/planArchive.js +28 -0
  397. package/dist/planEntries.d.ts +12 -0
  398. package/dist/planEntries.js +117 -0
  399. package/dist/planHost.d.ts +31 -0
  400. package/dist/planHost.js +286 -0
  401. package/dist/planId.d.ts +2 -0
  402. package/dist/planId.js +6 -0
  403. package/dist/planMdx/blockEdit.d.ts +41 -0
  404. package/dist/planMdx/blockEdit.js +60 -0
  405. package/dist/planMdx/cellPart.d.ts +14 -0
  406. package/dist/planMdx/cellPart.js +26 -0
  407. package/dist/planMdx/compilePlanMdx.d.ts +3 -0
  408. package/dist/planMdx/compilePlanMdx.js +22 -0
  409. package/dist/planMdx/editSource.d.ts +39 -0
  410. package/dist/planMdx/editSource.js +327 -0
  411. package/dist/planMdx/frontmatter.d.ts +5 -0
  412. package/dist/planMdx/frontmatter.js +15 -0
  413. package/dist/planMdx/markdown.d.ts +6 -0
  414. package/dist/planMdx/markdown.js +470 -0
  415. package/dist/planMdx/outline.d.ts +8 -0
  416. package/dist/planMdx/outline.js +548 -0
  417. package/dist/planMdx/payload.d.ts +4 -0
  418. package/dist/planMdx/payload.js +18 -0
  419. package/dist/planMdx/rebaseDraft.d.ts +54 -0
  420. package/dist/planMdx/rebaseDraft.js +675 -0
  421. package/dist/planMdx/recmaPlanComponents.d.ts +18 -0
  422. package/dist/planMdx/recmaPlanComponents.js +52 -0
  423. package/dist/planMdx/remarkBlockRanges.d.ts +104 -0
  424. package/dist/planMdx/remarkBlockRanges.js +275 -0
  425. package/dist/planMdx/remarkCodeMeta.d.ts +16 -0
  426. package/dist/planMdx/remarkCodeMeta.js +25 -0
  427. package/dist/planMdx/remarkGfmTable.d.ts +5 -0
  428. package/dist/planMdx/remarkGfmTable.js +15 -0
  429. package/dist/planMdx/remarkGfmTaskList.d.ts +5 -0
  430. package/dist/planMdx/remarkGfmTaskList.js +15 -0
  431. package/dist/planMdx/remarkMermaid.d.ts +16 -0
  432. package/dist/planMdx/remarkMermaid.js +56 -0
  433. package/dist/planMdx/source.d.ts +11 -0
  434. package/dist/planMdx/source.js +131 -0
  435. package/dist/planMdx/titleEdit.d.ts +35 -0
  436. package/dist/planMdx/titleEdit.js +112 -0
  437. package/dist/planPage.css +2125 -0
  438. package/dist/planProgress.d.ts +17 -0
  439. package/dist/planProgress.js +78 -0
  440. package/dist/planReady.d.ts +8 -0
  441. package/dist/planReady.js +20 -0
  442. package/dist/planRefNavigation.d.ts +4 -0
  443. package/dist/planRefNavigation.js +8 -0
  444. package/dist/planRoutes.d.ts +12 -0
  445. package/dist/planRoutes.js +141 -0
  446. package/dist/planSearch.d.ts +166 -0
  447. package/dist/planSearch.js +462 -0
  448. package/dist/planSession.d.ts +130 -0
  449. package/dist/planSession.js +1182 -0
  450. package/dist/planSnapshots.d.ts +34 -0
  451. package/dist/planSnapshots.js +113 -0
  452. package/dist/planStatus.d.ts +26 -0
  453. package/dist/planStatus.js +46 -0
  454. package/dist/planStepHeading.d.ts +16 -0
  455. package/dist/planStepHeading.js +34 -0
  456. package/dist/planTarget.d.ts +16 -0
  457. package/dist/planTarget.js +92 -0
  458. package/dist/planToc.d.ts +24 -0
  459. package/dist/planToc.js +258 -0
  460. package/dist/planVersionMenu.d.ts +12 -0
  461. package/dist/planVersionMenu.js +23 -0
  462. package/dist/processRecord.d.ts +108 -0
  463. package/dist/processRecord.js +68 -0
  464. package/dist/processesPanel.d.ts +7 -0
  465. package/dist/processesPanel.js +636 -0
  466. package/dist/pwaIconFile.d.ts +2 -0
  467. package/dist/pwaIconFile.js +42 -0
  468. package/dist/pwaIcons.d.ts +28 -0
  469. package/dist/pwaIcons.js +46 -0
  470. package/dist/registerServiceWorker.d.ts +25 -0
  471. package/dist/registerServiceWorker.js +26 -0
  472. package/dist/registryClient.d.ts +94 -0
  473. package/dist/registryClient.js +490 -0
  474. package/dist/registryConstants.d.ts +9 -0
  475. package/dist/registryConstants.js +9 -0
  476. package/dist/registryLock.d.ts +19 -0
  477. package/dist/registryLock.js +48 -0
  478. package/dist/registryPage.d.ts +2 -0
  479. package/dist/registryPage.js +284 -0
  480. package/dist/registryService.d.ts +21 -0
  481. package/dist/registryService.js +562 -0
  482. package/dist/registryStore.d.ts +63 -0
  483. package/dist/registryStore.js +398 -0
  484. package/dist/releaseNotes.d.ts +35 -0
  485. package/dist/releaseNotes.js +62 -0
  486. package/dist/render.d.ts +50 -0
  487. package/dist/render.js +1506 -0
  488. package/dist/requestGuard.d.ts +21 -0
  489. package/dist/requestGuard.js +42 -0
  490. package/dist/reviewRound.d.ts +12 -0
  491. package/dist/reviewRound.js +19 -0
  492. package/dist/runFollow.d.ts +28 -0
  493. package/dist/runFollow.js +33 -0
  494. package/dist/searchMatch.d.ts +35 -0
  495. package/dist/searchMatch.js +270 -0
  496. package/dist/server.d.ts +24 -0
  497. package/dist/server.js +114 -0
  498. package/dist/serviceLog.d.ts +56 -0
  499. package/dist/serviceLog.js +481 -0
  500. package/dist/shellCache.d.ts +69 -0
  501. package/dist/shellCache.js +289 -0
  502. package/dist/shellWorker.js +322 -0
  503. package/dist/shellWorkerResponse.d.ts +4 -0
  504. package/dist/shellWorkerResponse.js +15 -0
  505. package/dist/startServer.d.ts +2 -0
  506. package/dist/startServer.js +2 -0
  507. package/dist/store/meta.d.ts +53 -0
  508. package/dist/store/meta.js +140 -0
  509. package/dist/store/migrate.d.ts +3 -0
  510. package/dist/store/migrate.js +408 -0
  511. package/dist/store/rows.d.ts +4 -0
  512. package/dist/store/rows.js +100 -0
  513. package/dist/store/schema.d.ts +5 -0
  514. package/dist/store/schema.js +5 -0
  515. package/dist/store/sqlite.d.ts +19 -0
  516. package/dist/store/sqlite.js +57 -0
  517. package/dist/store/tables.d.ts +1892 -0
  518. package/dist/store/tables.js +136 -0
  519. package/dist/theme.d.ts +174 -0
  520. package/dist/theme.js +444 -0
  521. package/dist/themeBootstrap.d.ts +2 -0
  522. package/dist/themeBootstrap.js +11 -0
  523. package/dist/tui/DashboardApp.d.ts +19 -0
  524. package/dist/tui/DashboardApp.js +237 -0
  525. package/dist/tui/PaletteProvider.d.ts +12 -0
  526. package/dist/tui/PaletteProvider.js +36 -0
  527. package/dist/tui/PlanActions.d.ts +7 -0
  528. package/dist/tui/PlanActions.js +9 -0
  529. package/dist/tui/PlanCard.d.ts +13 -0
  530. package/dist/tui/PlanCard.js +31 -0
  531. package/dist/tui/PlanRow.d.ts +13 -0
  532. package/dist/tui/PlanRow.js +31 -0
  533. package/dist/tui/PlanTable.d.ts +13 -0
  534. package/dist/tui/PlanTable.js +24 -0
  535. package/dist/tui/ProcessCard.d.ts +9 -0
  536. package/dist/tui/ProcessCard.js +24 -0
  537. package/dist/tui/ProcessList.d.ts +9 -0
  538. package/dist/tui/ProcessList.js +12 -0
  539. package/dist/tui/SegmentButton.d.ts +7 -0
  540. package/dist/tui/SegmentButton.js +18 -0
  541. package/dist/tui/StatCard.d.ts +6 -0
  542. package/dist/tui/StatCard.js +17 -0
  543. package/dist/tui/dashboardView.d.ts +45 -0
  544. package/dist/tui/dashboardView.js +192 -0
  545. package/dist/tui/openExternal.d.ts +2 -0
  546. package/dist/tui/openExternal.js +5 -0
  547. package/dist/tui/palette.d.ts +27 -0
  548. package/dist/tui/palette.js +66 -0
  549. package/dist/tui/planColumns.d.ts +38 -0
  550. package/dist/tui/planColumns.js +14 -0
  551. package/dist/tui/readDashboard.d.ts +3 -0
  552. package/dist/tui/readDashboard.js +15 -0
  553. package/dist/tui/readProcesses.d.ts +3 -0
  554. package/dist/tui/readProcesses.js +23 -0
  555. package/dist/tui/registryView.d.ts +11 -0
  556. package/dist/tui/registryView.js +56 -0
  557. package/dist/tui/runTui.d.ts +21 -0
  558. package/dist/tui/runTui.js +86 -0
  559. package/dist/tui/systemTheme.d.ts +28 -0
  560. package/dist/tui/systemTheme.js +141 -0
  561. package/dist/types.d.ts +191 -0
  562. package/dist/types.js +0 -0
  563. package/dist/webManifest.d.ts +39 -0
  564. package/dist/webManifest.js +48 -0
  565. package/dist/workflow.d.ts +8 -0
  566. package/dist/workflow.js +42 -0
  567. package/dist/workflowLayoutShared.d.ts +25 -0
  568. package/dist/workflowLayoutShared.js +33 -0
  569. package/dist/workflowSource.d.ts +31 -0
  570. package/dist/workflowSource.js +90 -0
  571. package/docs/changelogs/changelog-2026-10-27.md +203 -0
  572. package/docs/changelogs/changelog-2026-10-28.md +181 -0
  573. package/docs/changelogs/changelog-2026-10-29.md +349 -0
  574. package/docs/changelogs/changelog-2026-10-30.md +303 -0
  575. package/docs/changelogs/changelog-2026-10-31.md +129 -0
  576. package/docs/changelogs/changelog-2026-11-01.md +155 -0
  577. package/docs/changelogs/changelog-2026-11-02.md +195 -0
  578. package/docs/changelogs/changelog-2026-11-03.md +209 -0
  579. package/docs/changelogs/changelog-2026-11-04.md +243 -0
  580. package/docs/changelogs/changelog-2026-11-05.md +172 -0
  581. package/docs/changelogs/changelog-2026-11-06.md +123 -0
  582. package/docs/changelogs/changelog-2026-11-07.md +138 -0
  583. package/docs/changelogs/changelog-2026-11-08.md +47 -0
  584. package/docs/changelogs/changelog-2026-11-10.md +219 -0
  585. package/docs/changelogs/changelog-2026-11-11.md +205 -0
  586. package/docs/changelogs/changelog-2026-11-12.md +44 -0
  587. package/docs/changelogs/changelog-2026-11-13.md +48 -0
  588. package/docs/changelogs/changelog-2026-11-14.md +116 -0
  589. package/docs/changelogs/changelog-2026-11-15.md +31 -0
  590. package/docs/changelogs/changelog-2026-11-16.md +41 -0
  591. package/docs/changelogs/changelog-2026-11-17.md +25 -0
  592. package/docs/changelogs/changelog-2026-11-18.md +71 -0
  593. package/docs/changelogs/changelog-2026-11-19.md +19 -0
  594. package/examples/cloud-showcase.plan.md +181 -0
  595. package/examples/component-showcase.plan.md +378 -0
  596. package/examples/component-tour.plan.md +168 -0
  597. package/examples/data-table.plan.md +917 -0
  598. package/examples/execution-graph.json +15 -5
  599. package/examples/form-controls.plan.md +51 -0
  600. package/examples/live-plan.config.json +5 -0
  601. package/examples/rate-limit.plan.md +110 -78
  602. package/examples/submission-delivery-runbook.md +122 -0
  603. package/examples/submission-delivery.plan.md +107 -0
  604. package/examples/tables.plan.md +61 -0
  605. package/package.json +86 -15
  606. package/skills/live-plan/SKILL.md +381 -0
  607. package/skills/live-plan/primitives.md +738 -0
  608. package/skills/living-plan/SKILL.md +0 -71
@@ -0,0 +1,738 @@
1
+ # Live Plan primitives
2
+
3
+ Author each entry as an MDX component. The component name is the entry type (`phase`, `callout`, `choice`, `form`, `questions`, `approve`, `checklist`, `workflow`). Anything outside those components is markdown. A pipe table in that markdown renders as a markdown table: cell text wraps between words to fit the column, and the table scrolls sideways only when it still does not fit. A `<DataTable>` is a separate table. A task list (`- [ ]`, `- [x]`) shows a box per item, checked for `[x]`. The person cannot tick it; you change the file. Use `<checklist>` for the plan's definition of done. A mermaid fence draws a figure. Any other fence is highlighted source.
4
+
5
+ A component can contain another component. A callout can contain a choice.
6
+
7
+ `{% tags %}` are not plan entries. A fence whose language is an entry type (` ```phase `, and the rest) is not a plan entry. `check` rejects both.
8
+
9
+ Put short fields on the component (`id`, `title`, `status`, `prompt`). A workflow graph is a pipe table in the component body. That table may sit in a `workflow` fence inside `<workflow>`. It is the execution path, not an entry by itself.
10
+
11
+ Every plan includes one `workflow` component. That block is the execution path.
12
+
13
+ `live-plan wait <id>` prints one interaction response as JSON. `live-plan review` prints the review result.
14
+
15
+ The page uses the document design in [DESIGN.md](../../DESIGN.md). Light and dark share that system. An accent color tints swatches and node highlights. It does not repaint the canvas, cards, or body text.
16
+
17
+ ## Frontmatter
18
+
19
+ ```yaml
20
+ ---
21
+ title: Rate limiting rollout
22
+ summary: One sentence a person can scan.
23
+ agent: local-cursor
24
+ mode: watch
25
+ ---
26
+ ```
27
+
28
+ `mode` is `watch` or `review`. The CLI command (`serve` vs `review`) selects the server mode; frontmatter `mode` is recorded on the parsed plan.
29
+
30
+ ## phase
31
+
32
+ Status timeline. Use one block per major step. Set exactly one phase to `active` while work is underway.
33
+
34
+ `status`: `pending` | `active` | `blocked` | `done` | `failed`. Unknown values become `pending`.
35
+
36
+ `id` defaults to a slug of `title`.
37
+
38
+ ```mdx
39
+ <phase id="implement" title="Implement gateway middleware" status="active">
40
+ Wire the limiter into the request path. Default the flag to off.
41
+ </phase>
42
+ ```
43
+
44
+ ## callout
45
+
46
+ `kind`: `note` | `tip` | `risk` | `decision` | `warning`. Unknown values become `note`.
47
+
48
+ ```mdx
49
+ <callout kind="risk" title="Redis dependency">
50
+ A Redis outage must not take down the API.
51
+ </callout>
52
+ ```
53
+
54
+ ### Card icons
55
+
56
+ `callout`, `choice`, `form`, `questions`, and `approve` take an optional `icon`. The icon sits in an outlined square at the top left of the card, and the card label follows it in capitals. A callout tints the square by `kind`. Without `icon`, or with an unknown name, the card shows its plain label.
57
+
58
+ `icon`: `alert` | `branch` | `bug` | `check` | `clock` | `database` | `decision` | `file` | `flag` | `globe` | `help` | `idea` | `info` | `key` | `list` | `lock` | `message` | `package` | `rocket` | `server` | `shield` | `sparkles` | `users` | `wrench` | `zap`.
59
+
60
+ An optional `color` tints the square instead, and wins over a callout's `kind` tint. Without `icon` it does nothing. An unknown name keeps the card's own tint.
61
+
62
+ `color`: `blue` | `green` | `orange` | `red` | `pink` | `purple`.
63
+
64
+ ```mdx
65
+ <callout kind="risk" title="Redis dependency" icon="alert">
66
+ A Redis outage must not take down the API.
67
+ </callout>
68
+
69
+ <approve id="launch" prompt="Ship on Friday?" icon="rocket" color="purple">
70
+ Approve when the release checks pass.
71
+ </approve>
72
+ ```
73
+
74
+ ## choice
75
+
76
+ The human picks one option. `wait` prints:
77
+
78
+ ```json
79
+ { "kind": "choice", "id": "fail-mode", "optionId": "open", "label": "Fail open" }
80
+ ```
81
+
82
+ ```mdx
83
+ <choice id="fail-mode" prompt="If Redis is unreachable, how should the limiter behave?">
84
+ <option id="open" label="Fail open">
85
+ Allow traffic if Redis is down.
86
+ </option>
87
+ <option id="closed" label="Fail closed">
88
+ Reject traffic if Redis is down.
89
+ </option>
90
+ </choice>
91
+ ```
92
+
93
+ Give every option an `id`. The option body is the description. A bare `recommended` on an option marks the one you suggest with a Recommended label. It does not pick it for the human, and the event is the same. The page shows each option as a radio choice card. One selection posts the response above and is restored after a refresh. Picking another option posts again and replaces the answer, so the agent receives a new `choice` event. The choice locks only while execution is active. A checkbox field is a different control: it can select several values.
94
+
95
+ ## form
96
+
97
+ Each `<field>` has `name`, `label`, and `type`: `text` | `number` | `textarea` | `select` | `checkbox` | `stepper`. Anything else becomes `text`.
98
+
99
+ `select` needs `options`, a comma-separated string. `checkbox` uses the same `options` string and renders one box per option. The saved value is an array of the checked option strings, in option order. A checkbox field with no `options` is one box; the saved value is `"true"` or `"false"`. `default` for a checkbox group is a comma-separated list of options that start checked. On a single checkbox, `default="true"` starts checked. `default` on any other field is a string. On a number or stepper field it is stored as a number. `placeholder` is optional. `required="true"` or a bare `required` marks the field required. A required checkbox group on a form that uses Submit needs at least one box checked.
100
+
101
+ `stepper` is a number with decrease and increase buttons. Optional `min`, `max`, and `step` are numbers. `default` is the starting number. The saved value is a number.
102
+
103
+ A form whose fields are only `checkbox` and `stepper` saves immediately. Checking a box, or pressing decrease or increase, posts to that form's interaction and replaces the stored values. That form has no Submit button. On a checkbox list, the prompt is the card title. When the field `label` matches the prompt, the title is shown once, with the checked count on the right (`2/6`).
104
+
105
+ A form that includes `text`, `number`, `textarea`, or `select` keeps Submit on the right. After it is submitted, Submit is replaced by Edit. Edit unlocks the fields, including checkbox groups, and submitting again replaces the stored response.
106
+
107
+ This is not `<checklist>`. Checklist rows are `done` flags in the plan file. A person does not submit them. A checkbox field is a form interaction, saved like text, number, textarea, select, and stepper.
108
+
109
+ `wait` prints values keyed by `name`. `number` and `stepper` fields come back as numbers. A `checkbox` group comes back as an array of strings. A single checkbox comes back as `"true"` or `"false"`. Other types come back as strings. A later submit for the same id replaces `values`.
110
+
111
+ A form can sit inside another plan component, such as a callout, a phase, `<Stack>`, or `<Row>`. A field can sit inside a layout component, such as `<VStack>`, inside that form. The response is still the form interaction.
112
+
113
+ ```json
114
+ {
115
+ "kind": "form",
116
+ "id": "limits",
117
+ "values": { "max_rps": 120, "window_s": 60, "rollout": "5", "channels": ["email", "slack"] }
118
+ }
119
+ ```
120
+
121
+ ```mdx
122
+ <form id="limits" prompt="Set the initial production limits">
123
+ <field name="max_rps" label="Max requests per window" type="number" required="true" default="120" />
124
+ <field name="window_s" label="Window seconds" type="number" required="true" default="60" />
125
+ <field name="rollout" label="Initial rollout percentage" type="select" required="true" default="5" options="1, 5, 25, 100" />
126
+ <field name="channels" label="Alert channels" type="checkbox" options="email, slack, pager" default="email, slack" />
127
+ </form>
128
+ ```
129
+
130
+ A checkbox list in a row of cards. Each card posts on its own as boxes are checked. There is no Submit button:
131
+
132
+ ```mdx
133
+ <Row>
134
+ <form id="prod-switch" prompt="Prod switch">
135
+ <field name="windows" label="Prod switch" type="checkbox" options="Window 1: budgets live, Window 2: pause the copy" />
136
+ </form>
137
+ <form id="watch" prompt="Watch">
138
+ <field name="checks" label="Watch" type="checkbox" options="Day 1: sample budgets, No unexplained FAILED operation" />
139
+ </form>
140
+ </Row>
141
+ ```
142
+
143
+ A stepper posts when the number changes:
144
+
145
+ ```mdx
146
+ <form id="copies" prompt="Copies">
147
+ <field name="copies" label="Copies" type="stepper" default="2" min="1" max="8" step="1" />
148
+ </form>
149
+ ```
150
+
151
+ The same field composed inside a callout:
152
+
153
+ ```mdx
154
+ <callout id="access" kind="note" title="Access">
155
+ <form id="scopes" prompt="Which scopes should this key have?">
156
+ <VStack>
157
+ <field name="scopes" label="Scopes" type="checkbox" required="true" options="read, write, admin" />
158
+ </VStack>
159
+ </form>
160
+ </callout>
161
+ ```
162
+
163
+ `name` is the key in `values`. Do not rename it after the form is on screen.
164
+
165
+ ## questions
166
+
167
+ One free-text answer per item. Answer keys are the item index as a string (`"0"`, `"1"`, …), in the order of the `<item>` components.
168
+
169
+ `wait` prints:
170
+
171
+ ```json
172
+ {
173
+ "kind": "questions",
174
+ "id": "rollout-notes",
175
+ "answers": {
176
+ "0": "staging, then production",
177
+ "1": "Extend the existing gateway dashboard"
178
+ }
179
+ }
180
+ ```
181
+
182
+ ```mdx
183
+ <questions id="rollout-notes" prompt="Anything else before coding?">
184
+ <item>
185
+ Which environments should receive the flag first?
186
+ </item>
187
+ <item>
188
+ Is there an existing dashboard to extend?
189
+ </item>
190
+ </questions>
191
+ ```
192
+
193
+ `prompt` is optional. `id` is required in practice so `wait` has a stable target (it otherwise slugs from `prompt` or `"questions"`).
194
+
195
+ ## approve
196
+
197
+ Yes/no gate. `wait` prints:
198
+
199
+ ```json
200
+ { "kind": "approve", "id": "proceed-implement", "approved": true, "note": "Ship behind the flag" }
201
+ ```
202
+
203
+ `note` is omitted when the human leaves it blank.
204
+
205
+ ```mdx
206
+ <approve id="proceed-implement" prompt="Proceed with implementation using the answers above?">
207
+ Phase statuses in this file will update as the work proceeds.
208
+ </approve>
209
+ ```
210
+
211
+ ## checklist
212
+
213
+ Not an interaction. You flip `done` as you finish. `done` is true only for `done="true"` or `done={true}`.
214
+
215
+ The page shows that state as an icon. A finished line is a filled circle with a check, dimmed and struck through. A line still to do is an empty ring. The item text stays beside the icon. The words "done" and "todo" are not printed on the row. The human cannot toggle the icon. This is not a `<field type="checkbox">`.
216
+
217
+ An item can also say where it stands with `status`: `pending`, `active`, `blocked`, `done`, or `failed`. `status` wins over `done`. An active line shows a progress ring and bold text, a blocked line a ban, a failed line an ×, the same marks a phase uses. Set one line `active` while you work on it.
218
+
219
+ The title is a small label over the list. Beside it the page counts the done lines (`1/4`) and draws one bar segment per line in that line's state.
220
+
221
+ ```mdx
222
+ <checklist title="Done when">
223
+ <item done="true">429 + Retry-After covered by tests</item>
224
+ <item status="active">Middleware behind a flag</item>
225
+ <item status="blocked">Load test in staging</item>
226
+ <item>Document the limits</item>
227
+ </checklist>
228
+ ```
229
+
230
+ ## workflow
231
+
232
+ Required. This component is the execution path. The Workflow tab draws it before the run starts, and the live run follows it. Each node `ref` is the plan block id a click jumps to. `ref` defaults to `id` when that block exists. Give phases, callouts, and checklist items ids when a node should point at them.
233
+
234
+ `check` exits 1 when this component is missing or has no nodes.
235
+
236
+ The body is a pipe table. Node lines come first. A line that is only `--` separates nodes from edges. A `workflow` fence may wrap that table. It is not an entry by itself.
237
+
238
+ ```mdx
239
+ <workflow id="rollout" title="Expected execution">
240
+ ```workflow
241
+ design | Confirm limiter design | design
242
+ implement | Implement gateway middleware | implement | Editing gateway.ts
243
+ --
244
+ design -> implement
245
+ implement -> implement @ right>right | retry
246
+ ```
247
+ </workflow>
248
+ ```
249
+
250
+ Node columns are `id | label | ref | detail`. `ref` and `detail` are optional. Write one line per step and no header row. A header row (`id | label | …`), a `---` separator row, and outer pipes (`| a | A |`) are ignored if present.
251
+
252
+ Edge lines are `from -> to`, optionally `from -> to @ fromSide>toSide`, then `| label`. Sides are `top`, `right`, `bottom`, or `left`. An edge that points at its own node is drawn as an arc.
253
+
254
+ ## Layout
255
+
256
+ These components only arrange their children. They are not plan entries, and they do not need an `id`.
257
+
258
+ - `<Box surface="panel" padding="md">` — `surface` is `plain`, `panel`, `soft`, or `inset`. `padding` is `none`, `sm`, `md`, or `lg`.
259
+ - `<HStack gap="md">` and `<VStack gap="md">` — `gap` is `xs`, `sm`, `md`, or `lg`. Optional `align`, `justify`, and `wrap`.
260
+ - `<Stack gap={16}>` and `<Row gap={16}>` — vertical and horizontal stacks. `gap` is a pixel number. In a plan that contains `<DataTable>`, `<Row>` is a table row, not this stack. Use `<HStack>` there.
261
+ - `<ResponsiveStack>` — a row that wraps on a narrow window.
262
+
263
+ ## Labels
264
+
265
+ `<Chip>` and `<Pill>` are short labels. They are not plan entries, and they do not need an `id`. Use them in prose, a phase, a callout, or a data table cell.
266
+
267
+ - `<Chip>gateway</Chip>` — a compact label.
268
+ - `<Pill tone="success">succeeded</Pill>` — `tone` is `success`, `warning`, `danger`, or `neutral`. Omit `tone` for neutral.
269
+
270
+ ## Figures
271
+
272
+ `<Mermaid>` takes the diagram as its children, the same source a `mermaid` fence uses.
273
+
274
+ `<BarChart ariaLabel="Rejects">` and `<LineChart ariaLabel="Latency">` take one `label, value` row per line:
275
+
276
+ ```mdx
277
+ <BarChart ariaLabel="Rejects by window">
278
+ 1s, 12
279
+ 5s, 40
280
+ </BarChart>
281
+ ```
282
+
283
+ A mermaid fence in the plan markdown, or inside a phase, callout, or approve component, draws the same kind of figure. A diagram that cannot be parsed stays as source with a short error under it.
284
+
285
+ ## Markdown table
286
+
287
+ A pipe table in the plan markdown, or inside a phase, callout, or approve body, renders as a table. It is not `<DataTable>`. It does not sort, search, filter, or page.
288
+
289
+ The row under the header is a separator such as `| --- |`. `:---`, `---:`, and `:---:` align that column left, right, and center. A blank line ends the table. Cell text wraps between words to fit the page column. Inline code stays on one line, and a word is never split. When the columns still do not fit, the table scrolls sideways. Inline code, emphasis, and links inside a cell still render.
290
+
291
+ ```markdown
292
+ | Route | State | Owner |
293
+ | --- | :---: | --- |
294
+ | `GET /health` | succeeded | gateway |
295
+ ```
296
+
297
+ ## Data table
298
+
299
+ `<DataTable>` is a data table, not a markdown pipe table. A pipe table still renders as a plain table. `<DataTable>` pages only when the table has 100 or more rows (ten rows per page). Below 100 rows there is no pagination control.
300
+
301
+ `search` and `sort` are off until a column turns them on. A column with `search` is included in the search field, and the field is hidden when no column sets `search`. A column with `sort` gets a header button that sorts it. Other headers stay plain.
302
+
303
+ One column may set `filter`. That column gets a select of its values, plus All. If more than one column sets `filter`, the first one is the select.
304
+
305
+ `value` on `<Cell>` is the sort key and, on the filter column, the select value. Search also matches the visible text, a checkbox's checked state, and a checkbox field's label. Omit `value` to sort and filter by that visible text.
306
+
307
+ `wrap` on `<Cell>` lets that cell break onto more than one line. `wrap="40%"` or `wrap={40}` wraps it inside 40% of the table, which is that column's share, and the header wraps inside the same share. A cell without `wrap` stays on one line. The table still scrolls sideways when those columns do not fit.
308
+
309
+ `wrap` on `<Column>` gives that `wrap` to every cell in the column. `wrap` on `<DataTable>` gives it to every column. Use them when a column holds sentences, so the reader does not scroll sideways. Under a column or table `wrap`, a cell with less than 20 characters of text stays on one line at its own width. A column or a cell can set its own `wrap`, and `wrap={false}` keeps it on one line.
310
+
311
+ A cell's children can be text, a `<Chip>`, a `<Pill>`, a markdown list, `<Checkbox checked />`, a `<field type="checkbox">`, or any other plan component. Chip and pill are the label primitives above.
312
+
313
+ ```mdx
314
+ <DataTable label="Operations">
315
+ <Column id="route" header="Route" search sort />
316
+ <Column id="state" header="State" filter sort />
317
+ <Column id="owner" header="Owner" />
318
+ <Column id="checks" header="Checks" />
319
+ <Row>
320
+ <Cell>GET /health</Cell>
321
+ <Cell value="succeeded"><Pill tone="success">succeeded</Pill></Cell>
322
+ <Cell><Chip>gateway</Chip></Cell>
323
+ <Cell value="checked">
324
+ <Checkbox checked />
325
+ <ul>
326
+ <li>lease</li>
327
+ <li>retry</li>
328
+ </ul>
329
+ </Cell>
330
+ </Row>
331
+ </DataTable>
332
+ ```
333
+
334
+ `label` is the accessible name. `placeholder` changes the search field (default `Search`) when a column sets `search`. `<Column header>` is the header label. `<Checkbox checked />` renders the form checkbox control. It does not submit a form unless it sits inside `<form>`. A `<field type="checkbox">` in a cell is that same field. `<Checkbox>`, `<Column>`, `<Row>`, and `<Cell>` are available in a plan that contains `<DataTable>`.
335
+
336
+ The table body scrolls sideways when the columns are wider than the page column. Search, sort, and the state select apply to the loaded rows. They do not ask the agent for another page of data.
337
+
338
+ ```mdx
339
+ <Cell wrap>The gateway retries while the previous worker holds the lease.</Cell>
340
+ <Cell wrap="40%">Hourly copy stays in this share of the table.</Cell>
341
+ ```
342
+
343
+ ```mdx
344
+ <DataTable label="Risks" wrap>
345
+ <Column id="risk" header="Risk" />
346
+ <Column id="state" header="State" />
347
+ <Column id="mitigation" header="Mitigation" />
348
+ <Row>
349
+ <Cell>Two workers copy the same hourly window when the lease clock drifts.</Cell>
350
+ <Cell value="open"><Pill tone="warning">open</Pill></Cell>
351
+ <Cell>Renew the lease before each retry and compare the window id.</Cell>
352
+ </Row>
353
+ </DataTable>
354
+ ```
355
+
356
+ `<Column id="notes" header="Notes" wrap />` wraps one column the same way.
357
+
358
+ ## Locking a block
359
+
360
+ The human can edit every block on the page. Add `locked` to a component the human should not change: the page shows no Edit on it, and the editor shows it as written, lets it move, and does not let it change or go away. A form and a questions block are locked by default, because they are questions for the human; `locked="false"` unlocks one.
361
+
362
+ ```mdx
363
+ <callout kind="decision" title="Bucket store" locked>
364
+ Agreed with the gateway team on 12 November.
365
+ </callout>
366
+ ```
367
+
368
+ ## Document blocks
369
+
370
+ Data views that sit inside the prose. They are not plan entries: they need no `id`, send no events, and do not join the workflow. Use them in the plan markdown or inside a phase, callout, or approve body. Each one with a frame is a card; Tabs, Compare, and Properties are layout. Every one takes `locked`. Boolean attributes are bare (`pk`), `"true"`, or `{true}`.
371
+
372
+ A file, an entity, an attribute, an endpoint, and a path take `change`: `added`, `modified`, `deleted`, `renamed`, or `unchanged`. The page shows NEW, MODIFY, DELETE, or RENAME. `added` also accepts `new`, `deleted` accepts `removed`, and `renamed` accepts `moved`.
373
+
374
+ ### FileTree
375
+
376
+ The files a change touches, as a tree. Folders come from the paths, and a folder that holds only one folder joins it on one row (`src/gateway`). The header counts the files and each kind of change. A folder row folds and unfolds.
377
+
378
+ ```mdx
379
+ <FileTree title="Files touched">
380
+ <File path="src/gateway/limiter.ts" change="added">Token bucket per API key.</File>
381
+ <File path="src/gateway/middleware.ts" change="modified">Calls the limiter first.</File>
382
+ <File path="src/gateway/throttle.ts" change="deleted">Replaced by the limiter.</File>
383
+ <File path="docs/limits.md" from="docs/rate-limits.md" change="renamed" />
384
+ </FileTree>
385
+ ```
386
+
387
+ `title` defaults to Files. `File` needs `path`; `change` defaults to `modified`; `from` is the old path of a renamed file. The body is a short note.
388
+
389
+ ### Endpoint
390
+
391
+ An API contract. It starts folded as one row: method, path, change, the first line of the body, and a lock when `auth` is set. `open` starts it unfolded. Endpoints written one after another share one card.
392
+
393
+ ````mdx
394
+ <Endpoint method="POST" path="/api/keys/{keyId}/limit" change="added" auth="API key">
395
+ Set the request limit for one key.
396
+
397
+ <Param name="keyId" in="path" type="string" required>Key to update.</Param>
398
+ <Param name="perMinute" in="body" type="integer" required>1–10000.</Param>
399
+
400
+ <Request>
401
+ ```json
402
+ { "perMinute": 600 }
403
+ ```
404
+ </Request>
405
+
406
+ <Response status="200">Limit saved.</Response>
407
+ <Response status="404">No key with this id.</Response>
408
+ </Endpoint>
409
+ ````
410
+
411
+ `method` defaults to GET. `summary` replaces the first line of the body in the folded row. `Param` takes `name`, `in` (`path`, `query`, `header`, `body`, `cookie`), `type`, and `required`. `Request` holds an example, usually a fence. `Response` takes `status`; its body can hold a fence too. A `change` word the page does not know shows as written.
412
+
413
+ ### DataModel
414
+
415
+ Tables or types with their fields, keys, and links. Each `Entity` folds; `collapsed` starts it folded.
416
+
417
+ ```mdx
418
+ <DataModel title="Limiter tables">
419
+ <Entity name="rate_limits" change="added">
420
+ <Attr name="key_id" type="text" pk fk="api_keys.id" />
421
+ <Attr name="per_minute" type="integer" />
422
+ <Attr name="updated_at" type="timestamptz" nullable />
423
+ </Entity>
424
+ <Relation from="api_keys" to="rate_limits" kind="1-1" />
425
+ </DataModel>
426
+ ```
427
+
428
+ `Attr` takes `name`, `type`, `pk`, `fk` (the table and field it points at), `nullable`, `change`, and an optional note as its body. `Relation` takes `from`, `to`, and `kind` (`1-1`, `1-n`, `n-1`, `n-n`).
429
+
430
+ ### JsonView
431
+
432
+ A JSON payload as a tree that folds. Put the JSON in a `json` fence: in plain MDX text a `{` starts an expression. Objects and arrays below `depth` start folded. The default, 1, opens the top level and folds what is inside it. JSON that does not parse shows as code with the reason under it.
433
+
434
+ ````mdx
435
+ <JsonView title="429 response" depth="1">
436
+ ```json
437
+ { "error": "rate_limited", "retryAfter": 12, "limit": { "perMinute": 600 } }
438
+ ```
439
+ </JsonView>
440
+ ````
441
+
442
+ ### AnnotatedCode
443
+
444
+ One fence with numbered notes on its lines. Each note shows under its last line in the code and again in a list below. `lines` is `42` or `42-44`. Set `start` on `AnnotatedCode`, or `start=` after the fence's language, to number the fence from that line; `lines` uses the same numbers. A note on lines the fence does not have says so in the list.
445
+
446
+ ````mdx
447
+ <AnnotatedCode title="src/gateway/middleware.ts" start="40">
448
+ ```ts
449
+ export async function gate(req, reply) {
450
+ const key = req.headers['x-api-key']
451
+ if (await limiter.over(key)) {
452
+ return reply.code(429).send()
453
+ }
454
+ }
455
+ ```
456
+ <Note lines="42" label="Before auth">Runs before the session lookup.</Note>
457
+ <Note lines="43">The reply carries Retry-After.</Note>
458
+ </AnnotatedCode>
459
+ ````
460
+
461
+ ### Tabs
462
+
463
+ Several views, one at a time: a walkthrough of three files, or a config per environment. Any blocks go in a tab. Arrow keys move between tabs, and find in page opens a tab that holds the match.
464
+
465
+ ```mdx
466
+ <Tabs label="Limiter files">
467
+ <Tab label="limiter.ts">The bucket refills every second.</Tab>
468
+ <Tab label="limiter.test.ts">Tests cover the 429 path.</Tab>
469
+ </Tabs>
470
+ ```
471
+
472
+ ### Compare
473
+
474
+ Two or three panes side by side, such as before and after. The panes stack on a narrow screen.
475
+
476
+ ```mdx
477
+ <Compare>
478
+ <Pane label="Before">Every request reaches the handler.</Pane>
479
+ <Pane label="After">Over the limit returns `429`.</Pane>
480
+ </Compare>
481
+ ```
482
+
483
+ ### Update
484
+
485
+ A dated status note with a health level. Put one at the top of a long plan, or after a phase that changed course. `health` is `on-track`, `at-risk`, or `off-track`. A `date` in `YYYY-MM-DD` form also shows how many days ago it was (today, yesterday, 3d ago); with a time, it shows hours.
486
+
487
+ ```mdx
488
+ <Update health="on-track" by="Agent" date="2026-11-13">
489
+ The limiter is merged behind a flag. The load test is next.
490
+ </Update>
491
+ ```
492
+
493
+ ### Properties
494
+
495
+ Labels and values: owner, flag, target date, links. A value can hold a chip or a pill.
496
+
497
+ ```mdx
498
+ <Properties>
499
+ <Prop label="Owner">Gateway team</Prop>
500
+ <Prop label="Flag"><Chip>rate-limit-v2</Chip></Prop>
501
+ </Properties>
502
+ ```
503
+
504
+ ### Path
505
+
506
+ A file inside a sentence, with an optional change and line range.
507
+
508
+ ```mdx
509
+ The gate lives in <Path change="modified" lines="42-58">src/gateway/middleware.ts</Path>.
510
+ ```
511
+
512
+ ## code
513
+
514
+ Highlighted source. Use this when the human should read the code as it stands. Use [diff](#diff) when they should see a change.
515
+
516
+ The fence language is the syntax (`ts`, `python`, `bash`, `json`, and the rest). `mermaid` is a figure, not code.
517
+
518
+ Put the fence in the plan markdown:
519
+
520
+ ````markdown
521
+ ```ts
522
+ if (!flag.enabled) return next()
523
+ ```
524
+ ````
525
+
526
+ The same fence works inside a phase, callout, or approve component:
527
+
528
+ ````mdx
529
+ <phase id="implement" title="Implement gateway middleware" status="active">
530
+ The limiter, as it stands:
531
+
532
+ ```ts
533
+ if (!flag.enabled) return next()
534
+ ```
535
+ </phase>
536
+ ````
537
+
538
+ A fence with no language still renders as code, without a language label. An unknown language stays readable as plain text. Every block shows line numbers, starting at 1, so a note can point at a line.
539
+
540
+ To number a slice of a larger file, add `start=` after the language. The first line of the fence uses that number, and the following lines count up from there. Omit it to start at 1. Do not put `start=` on a diff.
541
+
542
+ ````markdown
543
+ ```ts start=40
544
+ export function gate(req: Request) {
545
+ return reply.code(429).send()
546
+ }
547
+ ```
548
+ ````
549
+
550
+ That block shows lines 40 and 41.
551
+
552
+ ## diff
553
+
554
+ A change rendered as hunks. Use this when the human should see what changed or what you propose to change. Do not paste the whole file for that.
555
+
556
+ Fence language is `diff` or `patch`. `start=` does not apply. The `@@` header is the line numbers.
557
+
558
+ ````markdown
559
+ ```diff
560
+ --- a/gate.ts
561
+ +++ b/gate.ts
562
+ @@ -3,1 +3,3 @@
563
+ - if (await limiter.over(req)) return reply.code(429).send()
564
+ + if (await limiter.over(req)) {
565
+ + return reply.code(429).send()
566
+ + }
567
+ ```
568
+ ````
569
+
570
+ That hunk shows one removed line at line 3 and three added lines at lines 3–5. The card header reads `gate.ts`.
571
+
572
+ Count the body lines so the `@@` header matches:
573
+
574
+ - A line starting with `-` counts only toward the old count.
575
+ - A line starting with `+` counts only toward the new count.
576
+ - A line starting with a space is context and counts toward both.
577
+
578
+ ````markdown
579
+ ```diff
580
+ --- a/gate.ts
581
+ +++ b/gate.ts
582
+ @@ -2,2 +2,2 @@
583
+ if (!flag.enabled) return next()
584
+ - return next()
585
+ + return reply.code(429).send()
586
+ ```
587
+ ````
588
+
589
+ Old count is 2 (the context line plus the deletion). New count is 2 (the context line plus the addition). The context line begins with a space.
590
+
591
+ A hunk with no `---` / `+++` headers still renders. Put a language before `diff` so the hunk is highlighted as that language:
592
+
593
+ ````markdown
594
+ ```ts diff
595
+ @@ -3,1 +3,1 @@
596
+ - return next()
597
+ + return reply.code(429).send()
598
+ ```
599
+ ````
600
+
601
+ Put a diff fence in the component body the same way as a source fence.
602
+
603
+ ## review result
604
+
605
+ `live-plan review` prints this and exits `0` approve, `1` deny, `2` iterate, `3` timeout:
606
+
607
+ ```json
608
+ {
609
+ "decision": "iterate",
610
+ "note": "Drop the 100% rollout option",
611
+ "comments": [],
612
+ "responses": [],
613
+ "iteration": 1
614
+ }
615
+ ```
616
+
617
+ `responses` is every interaction answered during that server process, in submission order. `iteration` is the `--iteration` you passed.
618
+
619
+ ## comment
620
+
621
+ `events` prints a comment as one JSON line. `data` is the comment. Answer it with `addressing`, then `reply`, then `address`. Those three commands are in [SKILL.md](SKILL.md). They do not create another `events` line.
622
+
623
+ ```json
624
+ {
625
+ "event": "comment",
626
+ "id": "evt_example",
627
+ "seq": 4,
628
+ "data": {
629
+ "id": "cmt_example",
630
+ "partId": "phase:implement/paragraph:1",
631
+ "kind": "paragraph",
632
+ "blockId": "implement",
633
+ "excerpt": "Wire the limiter",
634
+ "text": "Default the flag on in staging.",
635
+ "createdAt": 1761600000000,
636
+ "addressingAt": null,
637
+ "addressedAt": null,
638
+ "replies": []
639
+ }
640
+ }
641
+ ```
642
+
643
+ A message from the minibar uses `kind` `message` and `partId` `review:message`. The same three commands apply.
644
+
645
+ | Field | Who writes it | What the page shows |
646
+ |---|---|---|
647
+ | `addressingAt` | `addressing`. A number while the comment is being reviewed. Empty before that. Iterate sets it on comments that are not yet answered. | Reviewing. A part comment shows the Addressing spinner, and the corner icon switches to that spinner. A minibar message shows Working. |
648
+ | `replies[].text` | `reply --text`. Each reply is `{ "id", "text", "createdAt" }`. The id starts with `rpl_`. | The reply text. A minibar message shows it on the tray. Any other comment shows it in that part's thread, labeled Agent. |
649
+ | `addressedAt` | `address`. A number when the comment is answered. Clears `addressingAt`. | Answered. A part comment says Addressed and the corner icon clears. |
650
+ | `outcome` | `address --outcome`. `implemented` (the default), `errored`, or `issues`. | On a minibar message: Implemented, Errored, or Had issues. A part comment still says Addressed. |
651
+
652
+ Until `addressingAt` or `addressedAt` is set, a part comment shows Mark addressed and a minibar message shows no state. Until `reply` runs, no reply text is shown.
653
+
654
+ ## execution graph
655
+
656
+ `execution start` and `execution push` accept `--graph` (preferred) and optional `--scene`.
657
+
658
+ ```json
659
+ {
660
+ "nodes": [
661
+ {
662
+ "id": "design",
663
+ "label": "Confirm design",
664
+ "detail": "Fail-open chosen",
665
+ "status": "done",
666
+ "x": 40,
667
+ "y": 80
668
+ },
669
+ {
670
+ "id": "implement",
671
+ "label": "Implement middleware",
672
+ "status": "active",
673
+ "x": 320,
674
+ "y": 80
675
+ }
676
+ ],
677
+ "edges": [
678
+ { "from": "design", "to": "implement" },
679
+ { "from": "implement", "to": "design", "label": "retry", "fromSide": "bottom", "toSide": "bottom" }
680
+ ]
681
+ }
682
+ ```
683
+
684
+ Node `status`: `pending` | `active` | `blocked` | `done` | `failed`. `detail`, `x`, and `y` are optional. Reuse the plan block id so the live overlay keeps the plan reference. `fromSide` and `toSide` are `top`, `right`, `bottom`, or `left`.
685
+
686
+ `execution push` keeps the current `step`, `detail`, `graph`, and `scene` when you omit that flag. `execution stop` sets `active` to false and leaves the last graph on screen. Plan interactions stay locked until execution is stopped.
687
+
688
+ ## Page
689
+
690
+ These are part of the open plan. You do not author them as components.
691
+
692
+ ### Plan header
693
+
694
+ The plan's first `#` heading gets a small label above it (Living plan, the mode, and the `agent` from the front matter) and a row of facts under it: the active phase and its place (`Phase 2 of 6`), how many phases are done, and how many questions wait for an answer. Keep phase statuses current and these stay true.
695
+
696
+ ### Edit
697
+
698
+ When the human can edit the plan, the page is the editor. Text opens where it reads with a click. A card under the pointer shows Edit, which opens its own editor where it sits, and every block shows a + under it that opens a new line below it. E edits the block that has focus, and A adds a line below it. Leaving the editor keeps the change on the human's device and shows it on the page; nothing reaches your file until they press Apply changes, which saves a version and sends you an `edit` event. Only the edited block's text changes in the file. A locked block has no Edit. The human sets page width and code wrapping on the Settings tab. Both are saved in `live-plan.config.json` beside the plan:
699
+
700
+ ```json
701
+ {
702
+ "theme": {
703
+ "accent": "#0f766e",
704
+ "pageWidth": "default",
705
+ "wrapCode": false
706
+ }
707
+ }
708
+ ```
709
+
710
+ `pageWidth` is `default`, `wide`, or `full`. `wrapCode` is `true` or `false`. `theme get` prints the saved theme. `theme set` changes `accent` only.
711
+
712
+ ### Page width
713
+
714
+ | `pageWidth` | Column |
715
+ |---|---|
716
+ | `default` | 720px. This is the width a new plan uses. |
717
+ | `wide` | 1120px |
718
+ | `full` | the available width, with no pixel cap |
719
+
720
+ Plan, Workflow, and Settings share that column. A saved `narrow` opens as `default`. A legacy `fullWidth: true` opens as `wide`. Cards, prose, and code stay inside the column. A markdown table or a `<DataTable>` scrolls sideways when its columns do not fit.
721
+
722
+ ### Contents
723
+
724
+ The page lists sections and the Workflow page. On a wide enough window the list sits in the gutter to the left of the column and stays there while the page scrolls. It does not change the column width. On a smaller window the list is hidden, and a floating Contents button opens it as a sidebar. Full width keeps that sidebar. Default docks beside the column once the window is at least 1224px wide. Wide docks at 1624px.
725
+
726
+ A section link scrolls to that part. A Workflow link opens the Workflow tab. A workflow step link opens that step.
727
+
728
+ A phase is listed from its title. A choice, form, questions block, or approve gate is listed from its prompt. A callout or a checklist is listed only when you set `id`. Markdown headings in the plan, and headings inside a phase, callout, or approve body, are listed too.
729
+
730
+ Each row has a mark for that entry, in a small rounded square. A phase mark follows `status`: an open circle for pending, a progress ring for active, a check for done, a pause for blocked, and an x for failed. A workflow step that points at a phase uses that phase's mark. It updates when the phase or the live run changes. Choices, forms, questions, approvals, checklists, callouts, and Workflow have their own marks. A heading has no square.
731
+
732
+ ### File version
733
+
734
+ Hover or click the logo to open the description card. A second click closes it. The card shows the summary, the mode, the agent, and the current file version, such as `v1`. The accessible name is `Version · v1`. The number is the latest saved copy of this plan file. It increases when the hosted file changes. The card does not list older copies and it does not restore one.
735
+
736
+ ### Code wrap
737
+
738
+ Settings includes Wrap text in code. `wrapCode` starts `false`: long lines in a source fence or a diff scroll sideways. `true` wraps those lines, in light and dark. A mermaid figure does not wrap.