codemini-cli 0.5.0 → 0.5.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 (404) hide show
  1. package/LICENSE +0 -0
  2. package/OPERATIONS.md +0 -0
  3. package/README.md +0 -0
  4. package/bin/coder.js +0 -0
  5. package/codemini-web/dist/assets/Geist-Italic_wght_-vKc54d3Z.woff2 +0 -0
  6. package/codemini-web/dist/assets/Geist-Variable-CrgPqtmy.woff2 +0 -0
  7. package/codemini-web/dist/assets/GeistMono-Variable-BNLlm6Cd.woff2 +0 -0
  8. package/codemini-web/dist/assets/abap-BRbAAyvE.js +0 -0
  9. package/codemini-web/dist/assets/actionscript-3-Cj-0sM4g.js +0 -0
  10. package/codemini-web/dist/assets/ada-DhEA_nP5.js +0 -0
  11. package/codemini-web/dist/assets/andromeeda-CWmR-N6V.js +0 -0
  12. package/codemini-web/dist/assets/angular-html-Cde9qVP5.js +0 -0
  13. package/codemini-web/dist/assets/angular-ts-DefScAWP.js +0 -0
  14. package/codemini-web/dist/assets/apache-D5R2GKIs.js +0 -0
  15. package/codemini-web/dist/assets/apex-Qu8W4hal.js +0 -0
  16. package/codemini-web/dist/assets/apl-w753UHCW.js +0 -0
  17. package/codemini-web/dist/assets/applescript-CBey3ErE.js +0 -0
  18. package/codemini-web/dist/assets/ara-CRKnUAN1.js +0 -0
  19. package/codemini-web/dist/assets/asciidoc-1KYZEB6-.js +0 -0
  20. package/codemini-web/dist/assets/asm-DAaViY0U.js +0 -0
  21. package/codemini-web/dist/assets/astro-DBA9Da7s.js +0 -0
  22. package/codemini-web/dist/assets/aurora-x-LPpmXm4i.js +0 -0
  23. package/codemini-web/dist/assets/awk-ButuPTaW.js +0 -0
  24. package/codemini-web/dist/assets/ayu-dark-Dv4ngVMP.js +0 -0
  25. package/codemini-web/dist/assets/ayu-light-CxeOePuA.js +0 -0
  26. package/codemini-web/dist/assets/ayu-mirage-i2YLXKmY.js +0 -0
  27. package/codemini-web/dist/assets/ballerina-DodmBVwR.js +0 -0
  28. package/codemini-web/dist/assets/bat-jA-YqDhG.js +0 -0
  29. package/codemini-web/dist/assets/beancount-BCkjWTs-.js +0 -0
  30. package/codemini-web/dist/assets/berry-DjEHm1kC.js +0 -0
  31. package/codemini-web/dist/assets/bibtex-aOfmXHFj.js +0 -0
  32. package/codemini-web/dist/assets/bicep-BZLx0b6B.js +0 -0
  33. package/codemini-web/dist/assets/bird2-Bs7YDhA3.js +0 -0
  34. package/codemini-web/dist/assets/blade-B-u5p0Rp.js +0 -0
  35. package/codemini-web/dist/assets/bsl-CPV9KqsG.js +0 -0
  36. package/codemini-web/dist/assets/c-Bv0tI3pq.js +0 -0
  37. package/codemini-web/dist/assets/c3-BDcFIiRd.js +0 -0
  38. package/codemini-web/dist/assets/cadence-DaglWUgA.js +0 -0
  39. package/codemini-web/dist/assets/cairo-CyiRuu7R.js +0 -0
  40. package/codemini-web/dist/assets/catppuccin-frappe-CSAC76is.js +0 -0
  41. package/codemini-web/dist/assets/catppuccin-latte-Jt6sqtds.js +0 -0
  42. package/codemini-web/dist/assets/catppuccin-macchiato-HM96_05s.js +0 -0
  43. package/codemini-web/dist/assets/catppuccin-mocha-CXgIAGBL.js +0 -0
  44. package/codemini-web/dist/assets/clarity-DS5YLe8G.js +0 -0
  45. package/codemini-web/dist/assets/clojure-BVGPdaE2.js +0 -0
  46. package/codemini-web/dist/assets/cmake-CCC7tP43.js +0 -0
  47. package/codemini-web/dist/assets/cobol-CkQrskif.js +0 -0
  48. package/codemini-web/dist/assets/codeowners-DXhoR5Ap.js +0 -0
  49. package/codemini-web/dist/assets/codeql-BGjlu3KC.js +0 -0
  50. package/codemini-web/dist/assets/coffee-rY-gkJy7.js +0 -0
  51. package/codemini-web/dist/assets/common-lisp-BE6wRQeA.js +0 -0
  52. package/codemini-web/dist/assets/coq-CRT8yML1.js +0 -0
  53. package/codemini-web/dist/assets/cpp-Bw-qV0P6.js +0 -0
  54. package/codemini-web/dist/assets/crystal-Dh09vXLx.js +0 -0
  55. package/codemini-web/dist/assets/csharp-Ca2kU4Te.js +0 -0
  56. package/codemini-web/dist/assets/css-BTi88BmP.js +0 -0
  57. package/codemini-web/dist/assets/csv-DUpZC5ZD.js +0 -0
  58. package/codemini-web/dist/assets/cue-DlXQ7arx.js +0 -0
  59. package/codemini-web/dist/assets/cypher-D6dhuZbo.js +0 -0
  60. package/codemini-web/dist/assets/d-BUgyoY6k.js +0 -0
  61. package/codemini-web/dist/assets/dark-plus-DNkJKrcZ.js +0 -0
  62. package/codemini-web/dist/assets/dart-Czrjv-nr.js +0 -0
  63. package/codemini-web/dist/assets/dax-sEzq00Tq.js +0 -0
  64. package/codemini-web/dist/assets/desktop-3VGbzlmJ.js +0 -0
  65. package/codemini-web/dist/assets/diff-D4HSRbRn.js +0 -0
  66. package/codemini-web/dist/assets/docker-DkLGgDMo.js +0 -0
  67. package/codemini-web/dist/assets/dotenv-BWp1FaLo.js +0 -0
  68. package/codemini-web/dist/assets/dracula-Donvxzd6.js +0 -0
  69. package/codemini-web/dist/assets/dracula-soft-BqL-kkUg.js +0 -0
  70. package/codemini-web/dist/assets/dream-maker-DtLD6KM3.js +0 -0
  71. package/codemini-web/dist/assets/edge-CCRtknu5.js +0 -0
  72. package/codemini-web/dist/assets/elixir-5EYbFEoC.js +0 -0
  73. package/codemini-web/dist/assets/elm-Cezz_HNz.js +0 -0
  74. package/codemini-web/dist/assets/emacs-lisp-D4W-_rAk.js +0 -0
  75. package/codemini-web/dist/assets/erb-C6pPz4fX.js +0 -0
  76. package/codemini-web/dist/assets/erlang-BC8wryba.js +0 -0
  77. package/codemini-web/dist/assets/everforest-dark-pZNhY4MK.js +0 -0
  78. package/codemini-web/dist/assets/everforest-light-BijKClkf.js +0 -0
  79. package/codemini-web/dist/assets/fennel-Cd-BhZ0S.js +0 -0
  80. package/codemini-web/dist/assets/fish-CpsjJ6FK.js +0 -0
  81. package/codemini-web/dist/assets/fluent-D1peBFgx.js +0 -0
  82. package/codemini-web/dist/assets/fortran-fixed-form-CyrImzNA.js +0 -0
  83. package/codemini-web/dist/assets/fortran-free-form-CIAQqF5W.js +0 -0
  84. package/codemini-web/dist/assets/fsharp-OCW_PZ4J.js +0 -0
  85. package/codemini-web/dist/assets/gdresource-Cl3bohRI.js +0 -0
  86. package/codemini-web/dist/assets/gdscript-B_XVILZe.js +0 -0
  87. package/codemini-web/dist/assets/gdshader-BOrkFM_X.js +0 -0
  88. package/codemini-web/dist/assets/genie-BE7nKhIq.js +0 -0
  89. package/codemini-web/dist/assets/gherkin-DzGJhdqS.js +0 -0
  90. package/codemini-web/dist/assets/git-commit-DJZpdBwB.js +0 -0
  91. package/codemini-web/dist/assets/git-rebase-BJE30GTP.js +0 -0
  92. package/codemini-web/dist/assets/github-dark-BB9G20EV.js +0 -0
  93. package/codemini-web/dist/assets/github-dark-default-CBFNEU03.js +0 -0
  94. package/codemini-web/dist/assets/github-dark-dimmed-sQhEp72S.js +0 -0
  95. package/codemini-web/dist/assets/github-dark-high-contrast-C8GVvrcM.js +0 -0
  96. package/codemini-web/dist/assets/github-light-default-iyEXWnoa.js +0 -0
  97. package/codemini-web/dist/assets/github-light-high-contrast-DLnsZL7l.js +0 -0
  98. package/codemini-web/dist/assets/github-light-pT7U8Cnd.js +0 -0
  99. package/codemini-web/dist/assets/gleam-B9ISJjDl.js +0 -0
  100. package/codemini-web/dist/assets/glimmer-js-C4PTXfaW.js +0 -0
  101. package/codemini-web/dist/assets/glimmer-ts-Df1V6YK_.js +0 -0
  102. package/codemini-web/dist/assets/glsl-C8VPaAWs.js +0 -0
  103. package/codemini-web/dist/assets/gn-RQRMslrP.js +0 -0
  104. package/codemini-web/dist/assets/gnuplot-CfIGZWjt.js +0 -0
  105. package/codemini-web/dist/assets/go-BTh90-YS.js +0 -0
  106. package/codemini-web/dist/assets/graphql-WZCiqIl-.js +0 -0
  107. package/codemini-web/dist/assets/groovy-lvGC2zUz.js +0 -0
  108. package/codemini-web/dist/assets/gruvbox-dark-hard-CC38iqQ4.js +0 -0
  109. package/codemini-web/dist/assets/gruvbox-dark-medium-DaS0IqFN.js +0 -0
  110. package/codemini-web/dist/assets/gruvbox-dark-soft-C4niJipy.js +0 -0
  111. package/codemini-web/dist/assets/gruvbox-light-hard-DTfv4LmB.js +0 -0
  112. package/codemini-web/dist/assets/gruvbox-light-medium-m1VBpvsE.js +0 -0
  113. package/codemini-web/dist/assets/gruvbox-light-soft-CiE1IJdk.js +0 -0
  114. package/codemini-web/dist/assets/hack-zJL_tEH0.js +0 -0
  115. package/codemini-web/dist/assets/haml-qjVLLTZk.js +0 -0
  116. package/codemini-web/dist/assets/handlebars-B3RyMMk0.js +0 -0
  117. package/codemini-web/dist/assets/haskell-DdaZtXdd.js +0 -0
  118. package/codemini-web/dist/assets/haxe-Df79h8x1.js +0 -0
  119. package/codemini-web/dist/assets/hcl-BibREsa1.js +0 -0
  120. package/codemini-web/dist/assets/{highlighted-body-OFNGDK62-CJHWad2r.js → highlighted-body-OFNGDK62-0FuBVb0_.js} +1 -1
  121. package/codemini-web/dist/assets/hjson-D-iSecYq.js +0 -0
  122. package/codemini-web/dist/assets/hlsl-CckLjo_3.js +0 -0
  123. package/codemini-web/dist/assets/horizon-BG-OH9yH.js +0 -0
  124. package/codemini-web/dist/assets/horizon-bright-CpoqdULz.js +0 -0
  125. package/codemini-web/dist/assets/houston-C8DdNIgg.js +0 -0
  126. package/codemini-web/dist/assets/html-DP-V-rfg.js +0 -0
  127. package/codemini-web/dist/assets/html-derivative-DB9UhNDN.js +0 -0
  128. package/codemini-web/dist/assets/http-Deln4Vyb.js +0 -0
  129. package/codemini-web/dist/assets/hurl-CYSuhGkj.js +0 -0
  130. package/codemini-web/dist/assets/hxml-BmF7ngDz.js +0 -0
  131. package/codemini-web/dist/assets/hy-6acR1htR.js +0 -0
  132. package/codemini-web/dist/assets/imba-I9bJJvhi.js +0 -0
  133. package/codemini-web/dist/assets/index-CSYMjBeT.css +2 -0
  134. package/codemini-web/dist/assets/{index-BZ01DHrh.js → index-DtiSt5vh.js} +64 -64
  135. package/codemini-web/dist/assets/ini-ovi-wMtM.js +0 -0
  136. package/codemini-web/dist/assets/java-X0I2c5Az.js +0 -0
  137. package/codemini-web/dist/assets/javascript-WC6XFf_S.js +0 -0
  138. package/codemini-web/dist/assets/jinja-BcRTlqOI.js +0 -0
  139. package/codemini-web/dist/assets/jison-DuNOGix6.js +0 -0
  140. package/codemini-web/dist/assets/json-CmuSmrUv.js +0 -0
  141. package/codemini-web/dist/assets/json5-JNG5kh3j.js +0 -0
  142. package/codemini-web/dist/assets/jsonc-Bo6bgSpa.js +0 -0
  143. package/codemini-web/dist/assets/jsonl-eDmbsRcr.js +0 -0
  144. package/codemini-web/dist/assets/jsonnet-BrmnmEy9.js +0 -0
  145. package/codemini-web/dist/assets/jssm-C-QfdDgD.js +0 -0
  146. package/codemini-web/dist/assets/jsx-Bl4e1-KE.js +0 -0
  147. package/codemini-web/dist/assets/julia-Cqc1ADyw.js +0 -0
  148. package/codemini-web/dist/assets/just-O9z-zIlY.js +0 -0
  149. package/codemini-web/dist/assets/kanagawa-dragon-Dc8jzBf8.js +0 -0
  150. package/codemini-web/dist/assets/kanagawa-lotus-DglQpAHb.js +0 -0
  151. package/codemini-web/dist/assets/kanagawa-wave-CTxJC692.js +0 -0
  152. package/codemini-web/dist/assets/kdl-CPujEk7a.js +0 -0
  153. package/codemini-web/dist/assets/kotlin-GNGS6f4G.js +0 -0
  154. package/codemini-web/dist/assets/kusto-ByPWIc1b.js +0 -0
  155. package/codemini-web/dist/assets/laserwave-BLDq6SCM.js +0 -0
  156. package/codemini-web/dist/assets/latex-BEPTKliI.js +0 -0
  157. package/codemini-web/dist/assets/lean-CQ4oht2M.js +0 -0
  158. package/codemini-web/dist/assets/less-DgluPI4Z.js +0 -0
  159. package/codemini-web/dist/assets/light-plus-Ce6vIMrA.js +0 -0
  160. package/codemini-web/dist/assets/liquid-BK2PyMjt.js +0 -0
  161. package/codemini-web/dist/assets/llvm-C_Bk8N51.js +0 -0
  162. package/codemini-web/dist/assets/log-Cqyx7kYB.js +0 -0
  163. package/codemini-web/dist/assets/logo-BMyACSNp.js +0 -0
  164. package/codemini-web/dist/assets/lua-BroxvhVt.js +0 -0
  165. package/codemini-web/dist/assets/luau-Dw3qkd4h.js +0 -0
  166. package/codemini-web/dist/assets/make-DRoG6w-e.js +0 -0
  167. package/codemini-web/dist/assets/markdown-DMIvNSB1.js +0 -0
  168. package/codemini-web/dist/assets/marko-CTEKS39A.js +0 -0
  169. package/codemini-web/dist/assets/material-theme-D1yzOeFY.js +0 -0
  170. package/codemini-web/dist/assets/material-theme-darker-DhWqiNtj.js +0 -0
  171. package/codemini-web/dist/assets/material-theme-lighter-PKoq0Soa.js +0 -0
  172. package/codemini-web/dist/assets/material-theme-ocean-TtH-ZZAj.js +0 -0
  173. package/codemini-web/dist/assets/material-theme-palenight-DPEAidnA.js +0 -0
  174. package/codemini-web/dist/assets/matlab-Buftnej6.js +0 -0
  175. package/codemini-web/dist/assets/mdc-BOaCYzzL.js +0 -0
  176. package/codemini-web/dist/assets/mdx-COL7Vpwq.js +0 -0
  177. package/codemini-web/dist/assets/mermaid-GHXKKRXX-BQrwnoIu.js +1 -0
  178. package/codemini-web/dist/assets/mermaid-tvyj1ZQ2.js +0 -0
  179. package/codemini-web/dist/assets/min-dark-D66g901Q.js +0 -0
  180. package/codemini-web/dist/assets/min-light-CMnDj2iG.js +0 -0
  181. package/codemini-web/dist/assets/mipsasm-C6fvALrw.js +0 -0
  182. package/codemini-web/dist/assets/mojo-B3qnM1a8.js +0 -0
  183. package/codemini-web/dist/assets/monokai-DCoxt20T.js +0 -0
  184. package/codemini-web/dist/assets/moonbit-Cjo3d0oi.js +0 -0
  185. package/codemini-web/dist/assets/move-BZSDQnwS.js +0 -0
  186. package/codemini-web/dist/assets/narrat-DY5cg5OF.js +0 -0
  187. package/codemini-web/dist/assets/nextflow-Cto1mpL3.js +0 -0
  188. package/codemini-web/dist/assets/nextflow-groovy-D1X5Yd05.js +0 -0
  189. package/codemini-web/dist/assets/nginx-Da_Uewgc.js +0 -0
  190. package/codemini-web/dist/assets/night-owl-DuMFo77c.js +0 -0
  191. package/codemini-web/dist/assets/night-owl-light-DihOYNub.js +0 -0
  192. package/codemini-web/dist/assets/nim-BZyx58NM.js +0 -0
  193. package/codemini-web/dist/assets/nix-C2G-gZoY.js +0 -0
  194. package/codemini-web/dist/assets/nord-CqZqLQaJ.js +0 -0
  195. package/codemini-web/dist/assets/nushell-S11HUHTG.js +0 -0
  196. package/codemini-web/dist/assets/objective-c-D9GKvYFi.js +0 -0
  197. package/codemini-web/dist/assets/objective-cpp-SqrtXFXh.js +0 -0
  198. package/codemini-web/dist/assets/ocaml-C_PTi_Pz.js +0 -0
  199. package/codemini-web/dist/assets/odin-BWpZDKBG.js +0 -0
  200. package/codemini-web/dist/assets/one-dark-pro-DpWTHpwg.js +0 -0
  201. package/codemini-web/dist/assets/one-light-Cu0d64Hp.js +0 -0
  202. package/codemini-web/dist/assets/openscad-BM4fjXzn.js +0 -0
  203. package/codemini-web/dist/assets/pascal-DYsRufgb.js +0 -0
  204. package/codemini-web/dist/assets/perl-BW8t13Xq.js +0 -0
  205. package/codemini-web/dist/assets/php-Cq5FOhfR.js +0 -0
  206. package/codemini-web/dist/assets/pkl-Djf8ANrI.js +0 -0
  207. package/codemini-web/dist/assets/plastic-CmjIC4JL.js +0 -0
  208. package/codemini-web/dist/assets/plsql-B1bmZxUF.js +0 -0
  209. package/codemini-web/dist/assets/po-BvnTR3_f.js +0 -0
  210. package/codemini-web/dist/assets/poimandres-BTndTogr.js +0 -0
  211. package/codemini-web/dist/assets/polar-CAj5SJyd.js +0 -0
  212. package/codemini-web/dist/assets/postcss-DrpvRGGG.js +0 -0
  213. package/codemini-web/dist/assets/powerquery-I1Ei5hrS.js +0 -0
  214. package/codemini-web/dist/assets/powershell-Coc0WruX.js +0 -0
  215. package/codemini-web/dist/assets/prisma-Ojgxt2lx.js +0 -0
  216. package/codemini-web/dist/assets/prolog-C1UOAv4v.js +0 -0
  217. package/codemini-web/dist/assets/proto-D07RTuB5.js +0 -0
  218. package/codemini-web/dist/assets/pug-B4WHazil.js +0 -0
  219. package/codemini-web/dist/assets/puppet-D_zyrMo2.js +0 -0
  220. package/codemini-web/dist/assets/purescript-CV-DVmZj.js +0 -0
  221. package/codemini-web/dist/assets/python-DcnbpNOV.js +0 -0
  222. package/codemini-web/dist/assets/qml-DWxWu28U.js +0 -0
  223. package/codemini-web/dist/assets/qmldir-BBNnU9RJ.js +0 -0
  224. package/codemini-web/dist/assets/qss-CC0PKRbL.js +0 -0
  225. package/codemini-web/dist/assets/r-B4lG5syH.js +0 -0
  226. package/codemini-web/dist/assets/racket-Cbwns2Cq.js +0 -0
  227. package/codemini-web/dist/assets/raku-CeV6tH_x.js +0 -0
  228. package/codemini-web/dist/assets/razor-CQPYUgex.js +0 -0
  229. package/codemini-web/dist/assets/red-CVEaJbMR.js +0 -0
  230. package/codemini-web/dist/assets/reg-C_WE1pkC.js +0 -0
  231. package/codemini-web/dist/assets/regexp-da3KYCEG.js +0 -0
  232. package/codemini-web/dist/assets/rel-CpHQF4b7.js +0 -0
  233. package/codemini-web/dist/assets/riscv-Co5eiPIZ.js +0 -0
  234. package/codemini-web/dist/assets/rolldown-runtime-S-ySWqyJ.js +0 -0
  235. package/codemini-web/dist/assets/ron-CgTit1dG.js +0 -0
  236. package/codemini-web/dist/assets/rose-pine-BDTwvYHf.js +0 -0
  237. package/codemini-web/dist/assets/rose-pine-dawn-CAIk_wLV.js +0 -0
  238. package/codemini-web/dist/assets/rose-pine-moon-C5gdiznP.js +0 -0
  239. package/codemini-web/dist/assets/rosmsg-C0tpzWlc.js +0 -0
  240. package/codemini-web/dist/assets/rst-B-OS2pa5.js +0 -0
  241. package/codemini-web/dist/assets/ruby-BM15fmxz.js +0 -0
  242. package/codemini-web/dist/assets/rust-BWAfVMY4.js +0 -0
  243. package/codemini-web/dist/assets/sas-DYNukvU9.js +0 -0
  244. package/codemini-web/dist/assets/sass-MovLey2R.js +0 -0
  245. package/codemini-web/dist/assets/scala-C2w7y2mZ.js +0 -0
  246. package/codemini-web/dist/assets/scheme-Bf85FNnm.js +0 -0
  247. package/codemini-web/dist/assets/scss-C0BQ8YVM.js +0 -0
  248. package/codemini-web/dist/assets/sdbl-DoQ_zDzo.js +0 -0
  249. package/codemini-web/dist/assets/shaderlab-TbUUdmUb.js +0 -0
  250. package/codemini-web/dist/assets/shellscript-KUJZnuCi.js +0 -0
  251. package/codemini-web/dist/assets/shellsession-BeWGuVoR.js +0 -0
  252. package/codemini-web/dist/assets/slack-dark-BnOYKTBJ.js +0 -0
  253. package/codemini-web/dist/assets/slack-ochin-43udxtUg.js +0 -0
  254. package/codemini-web/dist/assets/smalltalk-Mlf5-xbr.js +0 -0
  255. package/codemini-web/dist/assets/snazzy-light-kw-pZEiM.js +0 -0
  256. package/codemini-web/dist/assets/solarized-dark-BDezFa9V.js +0 -0
  257. package/codemini-web/dist/assets/solarized-light-CkoenhS2.js +0 -0
  258. package/codemini-web/dist/assets/solidity-DYHGECBw.js +0 -0
  259. package/codemini-web/dist/assets/soy-C6D0Ibo9.js +0 -0
  260. package/codemini-web/dist/assets/sparql-DIFvSn1n.js +0 -0
  261. package/codemini-web/dist/assets/splunk-DOdklC0I.js +0 -0
  262. package/codemini-web/dist/assets/sql-CZAMrWdL.js +0 -0
  263. package/codemini-web/dist/assets/ssh-config-DwwFW7AS.js +0 -0
  264. package/codemini-web/dist/assets/stata-C5mLa_ER.js +0 -0
  265. package/codemini-web/dist/assets/stylus-BO6mlOab.js +0 -0
  266. package/codemini-web/dist/assets/surrealql-DyoUfV6n.js +0 -0
  267. package/codemini-web/dist/assets/svelte-DJ-0FpL2.js +0 -0
  268. package/codemini-web/dist/assets/swift-D9A08YU9.js +0 -0
  269. package/codemini-web/dist/assets/synthwave-84-C69NN2j9.js +0 -0
  270. package/codemini-web/dist/assets/system-verilog-DjR3sN6w.js +0 -0
  271. package/codemini-web/dist/assets/systemd-CJWuVSJU.js +0 -0
  272. package/codemini-web/dist/assets/talonscript-CXqq0wX-.js +0 -0
  273. package/codemini-web/dist/assets/tasl-GVNf7pB7.js +0 -0
  274. package/codemini-web/dist/assets/tcl-DNlfRSl5.js +0 -0
  275. package/codemini-web/dist/assets/templ-7Bvm-rei.js +0 -0
  276. package/codemini-web/dist/assets/terraform-DUK0FOOj.js +0 -0
  277. package/codemini-web/dist/assets/tex-ezg8IclB.js +0 -0
  278. package/codemini-web/dist/assets/tokyo-night-DWTtuXS3.js +0 -0
  279. package/codemini-web/dist/assets/toml-X5n3zjEH.js +0 -0
  280. package/codemini-web/dist/assets/ts-tags-BfuR6EQ0.js +0 -0
  281. package/codemini-web/dist/assets/tsv-Bqs_rchc.js +0 -0
  282. package/codemini-web/dist/assets/tsx-CfyUE2pW.js +0 -0
  283. package/codemini-web/dist/assets/turtle-BsUuoeVK.js +0 -0
  284. package/codemini-web/dist/assets/twig-_uxJ-QmX.js +0 -0
  285. package/codemini-web/dist/assets/typescript-C6LvTgbf.js +0 -0
  286. package/codemini-web/dist/assets/typespec-8nkhqWz6.js +0 -0
  287. package/codemini-web/dist/assets/typst-CPL77SDw.js +0 -0
  288. package/codemini-web/dist/assets/v-CoJD3IPx.js +0 -0
  289. package/codemini-web/dist/assets/vala-C42IfotU.js +0 -0
  290. package/codemini-web/dist/assets/vb-CVMKTK26.js +0 -0
  291. package/codemini-web/dist/assets/verilog-P63PhzSt.js +0 -0
  292. package/codemini-web/dist/assets/vesper-BGr95374.js +0 -0
  293. package/codemini-web/dist/assets/vhdl-2WwUdgX8.js +0 -0
  294. package/codemini-web/dist/assets/viml-CGPGWJA6.js +0 -0
  295. package/codemini-web/dist/assets/vitesse-black-cI0k84-I.js +0 -0
  296. package/codemini-web/dist/assets/vitesse-dark-SouM0FMW.js +0 -0
  297. package/codemini-web/dist/assets/vitesse-light-WiCy6lDO.js +0 -0
  298. package/codemini-web/dist/assets/vue-DkOBu49o.js +0 -0
  299. package/codemini-web/dist/assets/vue-html-Bx2Sgp8M.js +0 -0
  300. package/codemini-web/dist/assets/vue-vine-veyFk6GJ.js +0 -0
  301. package/codemini-web/dist/assets/vyper-DP_vqZO9.js +0 -0
  302. package/codemini-web/dist/assets/wasm-Db7VBw0n.js +0 -0
  303. package/codemini-web/dist/assets/wasm-DiIFv9DE.js +0 -0
  304. package/codemini-web/dist/assets/wenyan-ZEcjghA1.js +0 -0
  305. package/codemini-web/dist/assets/wgsl-CdusuPLe.js +0 -0
  306. package/codemini-web/dist/assets/wikitext-CBIB6hmW.js +0 -0
  307. package/codemini-web/dist/assets/wit-ZhUbVeze.js +0 -0
  308. package/codemini-web/dist/assets/wolfram-HyMOyERF.js +0 -0
  309. package/codemini-web/dist/assets/xml-BkdunjRC.js +0 -0
  310. package/codemini-web/dist/assets/xsl-C66i1pDH.js +0 -0
  311. package/codemini-web/dist/assets/yaml-D_uvhEF7.js +0 -0
  312. package/codemini-web/dist/assets/zenscript-C6ZuzgrL.js +0 -0
  313. package/codemini-web/dist/assets/zig-Do2h8XKj.js +0 -0
  314. package/codemini-web/dist/index.html +2 -2
  315. package/codemini-web/lib/approval-manager.js +0 -0
  316. package/codemini-web/lib/runtime-bridge.js +0 -0
  317. package/codemini-web/server.js +49 -15
  318. package/deployment.md +5 -5
  319. package/package.json +1 -1
  320. package/skills/brainstorm/SKILL.md +3 -1
  321. package/skills/grill-me/SKILL.md +0 -0
  322. package/skills/project-requirements/SKILL.md +293 -291
  323. package/skills/superpowers-lite/SKILL.md +18 -32
  324. package/skills/writing-plans/SKILL.md +67 -67
  325. package/souls/anime.md +0 -0
  326. package/souls/caveman.md +0 -0
  327. package/souls/ceo.md +0 -0
  328. package/souls/default.md +0 -0
  329. package/souls/pirate.md +0 -0
  330. package/souls/playful.md +0 -0
  331. package/souls/professional.md +0 -0
  332. package/src/cli.js +0 -0
  333. package/src/commands/chat.js +0 -0
  334. package/src/commands/config.js +0 -0
  335. package/src/commands/doctor.js +0 -0
  336. package/src/commands/run.js +0 -0
  337. package/src/commands/skill.js +0 -0
  338. package/src/commands/web.js +0 -0
  339. package/src/core/agent-loop.js +0 -0
  340. package/src/core/ast.js +0 -0
  341. package/src/core/bounded-cache.js +0 -0
  342. package/src/core/chat-runtime.js +114 -6
  343. package/src/core/checkpoint-store.js +0 -0
  344. package/src/core/command-evaluator.js +0 -0
  345. package/src/core/command-loader.js +0 -0
  346. package/src/core/command-policy.js +0 -0
  347. package/src/core/command-risk.js +0 -0
  348. package/src/core/config-store.js +0 -0
  349. package/src/core/constants.js +0 -0
  350. package/src/core/context-compact.js +0 -0
  351. package/src/core/crypto-utils.js +0 -0
  352. package/src/core/default-system-prompt.js +0 -0
  353. package/src/core/dream-audit.js +0 -0
  354. package/src/core/dream-consolidate.js +0 -0
  355. package/src/core/dream-evaluator.js +0 -0
  356. package/src/core/fff-adapter.js +1 -1
  357. package/src/core/fs-utils.js +0 -0
  358. package/src/core/input-history-store.js +0 -0
  359. package/src/core/input-parser.js +0 -0
  360. package/src/core/memory-policy.js +0 -0
  361. package/src/core/memory-prompt.js +0 -0
  362. package/src/core/memory-store.js +0 -0
  363. package/src/core/paths.js +0 -0
  364. package/src/core/plan-state.js +0 -0
  365. package/src/core/project-index.js +0 -0
  366. package/src/core/provider/anthropic.js +0 -0
  367. package/src/core/provider/index.js +0 -0
  368. package/src/core/provider/openai-compatible.js +0 -0
  369. package/src/core/reflect-skill.js +0 -0
  370. package/src/core/reply-language.js +10 -1
  371. package/src/core/session-store.js +0 -0
  372. package/src/core/shell-profile.js +0 -0
  373. package/src/core/shell.js +0 -0
  374. package/src/core/skill-registry.js +0 -0
  375. package/src/core/soul.js +0 -0
  376. package/src/core/string-utils.js +0 -0
  377. package/src/core/todo-state.js +0 -0
  378. package/src/core/tool-args.js +0 -0
  379. package/src/core/tool-output.js +0 -0
  380. package/src/core/tool-result-store.js +0 -0
  381. package/src/core/tools.js +0 -0
  382. package/src/tui/chat-app.js +0 -0
  383. package/src/tui/input-escape.js +0 -0
  384. package/src/tui/skill-activity/index.js +0 -0
  385. package/src/tui/tool-activity/common.js +0 -0
  386. package/src/tui/tool-activity/index.js +0 -0
  387. package/src/tui/tool-activity/presenters/command.js +0 -0
  388. package/src/tui/tool-activity/presenters/files.js +0 -0
  389. package/src/tui/tool-activity/presenters/misc.js +0 -0
  390. package/src/tui/tool-activity/presenters/system.js +0 -0
  391. package/src/tui/tool-narration/common.js +0 -0
  392. package/src/tui/tool-narration/presenters/change.js +0 -0
  393. package/src/tui/tool-narration/presenters/edit.js +0 -0
  394. package/src/tui/tool-narration/presenters/generic.js +0 -0
  395. package/src/tui/tool-narration/presenters/glob.js +0 -0
  396. package/src/tui/tool-narration/presenters/grep.js +0 -0
  397. package/src/tui/tool-narration/presenters/list.js +0 -0
  398. package/src/tui/tool-narration/presenters/read.js +0 -0
  399. package/src/tui/tool-narration/presenters/run.js +0 -0
  400. package/src/tui/tool-narration/presenters/write.js +0 -0
  401. package/src/tui/tool-narration.js +0 -0
  402. package/templates/project-requirements/report-shell.html +46 -46
  403. package/codemini-web/dist/assets/index-Dq1mwNaQ.css +0 -2
  404. package/codemini-web/dist/assets/mermaid-GHXKKRXX-BuB6-G4r.js +0 -1
@@ -1,291 +1,293 @@
1
- ---
2
- name: project-requirements
3
- description: Generate an interactive project requirements report from an existing codebase. Use when the user asks for a PRD, requirements document, API-by-API breakdown, business flow, architecture map, dependency graph, flowchart, product requirements reverse-engineering, or detailed project demand analysis.
4
- version: 0.1.0
5
- ---
6
-
7
- Use this skill to reverse-engineer a project into a requirements document that product, engineering, and QA can navigate.
8
-
9
- Default to an HTML report with lightweight interactions. Produce Markdown only when the user asks for a text-first artifact, a PR-friendly source document, or an additional companion file.
10
-
11
- User request:
12
-
13
- ```text
14
- {{args}}
15
- ```
16
-
17
- Honor any concrete user request above, such as output format, report path, focus area, API subset, diagram style, or language. If it is empty, generate the default HTML requirements report for the current workspace.
18
-
19
- ## Output
20
-
21
- Create the primary report at:
22
-
23
- ```text
24
- docs/requirements/{{date}}-project-requirements.html
25
- ```
26
-
27
- If a companion Markdown file is useful, create:
28
-
29
- ```text
30
- docs/requirements/{{date}}-project-requirements.md
31
- ```
32
-
33
- The HTML should be self-contained: inline CSS, inline JavaScript, no build step, no required external assets.
34
-
35
- Use a clean, modern documentation style inspired by Notion and Linear unless the user asks otherwise:
36
-
37
- - White background, warm neutral palette (#37352f text, #e9e9e7 borders), blue accents (#2383e2).
38
- - Favor generous whitespace, clean typography, and subtle hover transitions over dense layouts.
39
- - Cards should have rounded corners, minimal borders, and subtle shadow on hover.
40
- - Tables should have uppercase header labels, no row background by default (only on hover).
41
- - Use pill-shaped badges for evidence and risk labels colored background + matching text, no emoji.
42
- - Diagrams should look like polished internal architecture or business process documentation.
43
- - Avoid playful palettes, strong gradients, decorative blobs, and visually loud illustrations.
44
-
45
- Evidence badge class names use `.tag` or `.badge` with these variants:
46
-
47
- | Variant | Use for | Visual |
48
- |---|---|---|
49
- | `.tag.extracted` / `.badge.extracted` | Behavior directly supported by source code | Green text on green background |
50
- | `.tag.inferred` / `.badge.inferred` | Reasonable inference from code relationships | Orange text on orange background |
51
- | `.tag.unknown` / `.badge.unknown` | Needs user confirmation | Gray text on gray background |
52
- | `.tag.warn` / `.badge.warn` | Medium risk or warning | Orange text on orange background |
53
- | `.tag.danger` / `.badge.danger` | Critical/high risk | Red text on red background |
54
- | `.tag.ok` / `.badge.ok` | Low risk or passed check | Green text on green background |
55
-
56
- Risk level indicators in tables must use the badge variants above, never emoji. For example: `<span class="badge danger">CRITICAL</span>` not `🔴 CRITICAL`.
57
-
58
- Wrap each requirement card in `<details class="card">` with a `<summary>` containing the API name and a one-line description. This makes all cards collapsible by default.
59
-
60
- When the target HTML file already exists and contains `REQUIREMENTS_*` marker sections, treat it as the canonical report shell. Edit those marker sections in place instead of replacing the whole file. Preserve the existing CSS, JavaScript, navigation, metadata, and surrounding structure unless the user explicitly asks to redesign the shell.
61
-
62
- Diagrams must be visible and polished when the HTML is opened directly from disk:
63
-
64
- - Prefer custom inline SVG, CSS grid/flex diagrams, timeline layouts, swimlanes, and styled cards for architecture maps, dependency graphs, flow summaries, and state/lifecycle diagrams.
65
- - Use semantic SVG groups, `<title>`/`<desc>`, readable labels, arrow markers, stable element ids, and source evidence links where useful.
66
- - Keep diagrams evidence-based and readable. Prefer fewer correct nodes over a dense speculative map.
67
- - Do not use Mermaid as the rendered diagram format unless the user explicitly asks for Mermaid source.
68
- - Avoid showing raw diagram source blocks in the final HTML unless the user explicitly asks for source-only diagrams.
69
-
70
- For medium or large projects, do not generate the entire HTML document in one model response or one huge `write` call. Create the report incrementally:
71
-
72
- 1. Write a complete HTML shell first: `doctype`, `<head>`, inline CSS, navigation container, empty main sections, inline script, and closing tags.
73
- 2. Add each major section with smaller `edit` insertions before a stable marker such as `<!-- REQUIREMENTS_SECTIONS -->`.
74
- 3. Keep each write/edit chunk focused: one section, one API group, or one diagram at a time.
75
- 4. After each chunk, preserve valid HTML and keep the marker in place until the final cleanup.
76
- 5. In the final pass, remove unused markers and verify the file can be opened directly from disk.
77
-
78
- This chunked approach is required for HTML reports because inline CSS, JavaScript, diagrams, and API cards can become much larger than Markdown. It also gives the user immediate visible tool progress instead of waiting for one giant generated tool call.
79
-
80
- ## Process
81
-
82
- 1. Inspect the project before writing:
83
- - Read top-level docs such as `README.md`, `OPERATIONS.md`, `docs/`, and deployment notes.
84
- - Identify the stack from package manifests, route files, command handlers, API clients, database modules, schemas, and tests.
85
- - Search with `rg` for routes, handlers, controllers, commands, schemas, migrations, HTTP verbs, RPC methods, queue handlers, and CLI subcommands.
86
- 2. Build an evidence map:
87
- - `EXTRACTED`: behavior directly supported by source code, docs, tests, config, or schemas.
88
- - `INFERRED`: reasonable product requirement inferred from code relationships.
89
- - `UNKNOWN`: requirement, owner, actor, edge case, or business rule that needs user confirmation.
90
- 3. Decompose by API or interface first:
91
- - HTTP API endpoints.
92
- - CLI commands and subcommands.
93
- - Tool calls, MCP handlers, RPC methods, queue jobs, scheduled tasks, or exported SDK functions.
94
- - UI flows only after the backend/interface layer is mapped, unless the project is frontend-only.
95
- 4. Connect each API/interface to requirements:
96
- - Business capability supported by the interface.
97
- - User goal and actor.
98
- - Trigger and entry point.
99
- - Request/input shape.
100
- - Response/output shape.
101
- - Business rules and decision points.
102
- - Validation and permission rules.
103
- - Data read/write behavior.
104
- - Internal modules called.
105
- - External services or files touched.
106
- - Error cases and retry/rollback behavior.
107
- - Observability, audit, and security notes.
108
- - Acceptance criteria.
109
- - Open questions that block final confirmation.
110
- 5. Generate diagrams:
111
- - Product flowchart for the main user journey.
112
- - API dependency graph linking endpoints/commands to modules, data stores, and external services.
113
- - Sequence diagram for at least one high-value flow.
114
- - State or lifecycle diagram when the domain has clear states.
115
- - Render each diagram as polished inline HTML/CSS or SVG that is visible offline without external JavaScript.
116
- 6. Write the report and preserve traceability:
117
- - Link sections with stable anchors.
118
- - Include code file paths for evidence.
119
- - Mark inferred or unknown content visibly.
120
- - Avoid pretending uncertain requirements are confirmed.
121
- - For HTML output, write the shell first, then append/insert sections incrementally instead of producing one large complete file in a single tool call.
122
-
123
- ## HTML Structure
124
-
125
- Use this structure unless the project suggests a better one:
126
-
127
- 1. Executive summary.
128
- 2. System map with a high-level static SVG or CSS architecture diagram.
129
- 3. API/interface inventory with filters or grouped navigation.
130
- 4. Per-API requirement cards.
131
- 5. Core user flows with diagrams.
132
- 6. Domain model and data ownership.
133
- 7. Permissions, security, and compliance notes.
134
- 8. Error handling and edge cases.
135
- 9. Non-functional requirements.
136
- 10. Open questions and `UNKNOWN` items.
137
- 11. Source evidence index.
138
-
139
- ## Interaction Guidelines
140
-
141
- Implement useful interactions with plain JavaScript:
142
-
143
- - Sticky table of contents.
144
- - Search/filter input for APIs, modules, and tags.
145
- - Expand/collapse details for each API.
146
- - Anchor links for every API and flow.
147
- - Evidence tags: `EXTRACTED`, `INFERRED`, `UNKNOWN`.
148
- - Back-to-top links for long reports.
149
- - Optional "show only open questions" toggle.
150
-
151
- Keep interactions accessible:
152
-
153
- - Use semantic headings, buttons, tables, and lists.
154
- - Make controls keyboard reachable.
155
- - Do not hide critical content behind JavaScript-only rendering.
156
- - Ensure the document remains readable if JavaScript is disabled.
157
-
158
- ## API Section Template
159
-
160
- For each API, command, handler, or externally visible interface, include:
161
-
162
- ```text
163
- Name:
164
- Type:
165
- Route/command/function:
166
- Evidence:
167
- Actor:
168
- Goal:
169
- Inputs:
170
- Outputs:
171
- Preconditions:
172
- Main flow:
173
- Alternative flows:
174
- Validation:
175
- Permissions:
176
- Data reads:
177
- Data writes:
178
- Internal dependencies:
179
- External dependencies:
180
- Errors:
181
- Observability:
182
- Acceptance criteria:
183
- Open questions:
184
- ```
185
-
186
- ## Diagram Patterns
187
-
188
- Use custom HTML/CSS/SVG diagrams when diagrams help compress complexity. The visual output should look intentional, readable, and report-quality, not like raw generated graph syntax.
189
-
190
- Inline SVG architecture map:
191
-
192
- ```html
193
- <figure class="diagram-card" id="system-architecture">
194
- <figcaption>System architecture</figcaption>
195
- <svg viewBox="0 0 960 380" role="img" aria-labelledby="arch-title arch-desc">
196
- <title id="arch-title">System architecture</title>
197
- <desc id="arch-desc">CLI entry points call the runtime, which coordinates tools and persisted session state.</desc>
198
- <defs>
199
- <marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto">
200
- <path d="M0,0 L0,6 L9,3 z"></path>
201
- </marker>
202
- </defs>
203
- <g class="node">
204
- <rect x="48" y="72" width="190" height="86" rx="10"></rect>
205
- <text x="72" y="122">CLI Entry</text>
206
- </g>
207
- <g class="node">
208
- <rect x="386" y="72" width="210" height="86" rx="10"></rect>
209
- <text x="410" y="122">Runtime</text>
210
- </g>
211
- <line x1="238" y1="115" x2="386" y2="115" marker-end="url(#arrow)"></line>
212
- </svg>
213
- </figure>
214
- ```
215
-
216
- CSS box architecture map:
217
-
218
- ```html
219
- <section class="dependency-map" aria-label="System architecture">
220
- <a class="dep-node" href="#api-chat">Chat command</a>
221
- <span class="dep-edge">→</span>
222
- <a class="dep-node" href="#runtime-agent-loop">Agent loop</a>
223
- <span class="dep-edge">→</span>
224
- <a class="dep-node" href="#tools-write">Tools</a>
225
- </section>
226
- ```
227
-
228
- Product flow:
229
-
230
- ```html
231
- <ol class="flow-steps" aria-label="Product flow">
232
- <li><strong>User starts task</strong><span>Input is collected from CLI or UI.</span></li>
233
- <li><strong>System validates input</strong><span>Policy, mode, and project context are checked.</span></li>
234
- <li><strong>System performs core action</strong><span>Runtime coordinates model calls and tools.</span></li>
235
- <li><strong>User receives result</strong><span>Final answer, artifacts, and evidence are returned.</span></li>
236
- </ol>
237
- ```
238
-
239
- API dependency map:
240
-
241
- ```html
242
- <section class="dependency-map" aria-label="API dependency map">
243
- <a class="dep-node" href="#api-command">API or command</a>
244
- <span class="dep-edge">→</span>
245
- <a class="dep-node" href="#handler">Handler</a>
246
- <span class="dep-edge">→</span>
247
- <a class="dep-node" href="#service">Service</a>
248
- <span class="dep-edge">→</span>
249
- <a class="dep-node" href="#store">Data store</a>
250
- </section>
251
- ```
252
-
253
- Sequence flow:
254
-
255
- ```html
256
- <table class="sequence-table">
257
- <thead><tr><th>Step</th><th>Sender</th><th>Receiver</th><th>Message</th></tr></thead>
258
- <tbody>
259
- <tr><td>1</td><td>User</td><td>API</td><td>Request</td></tr>
260
- <tr><td>2</td><td>API</td><td>Service</td><td>Validate and execute</td></tr>
261
- <tr><td>3</td><td>Service</td><td>Store</td><td>Read/write data</td></tr>
262
- <tr><td>4</td><td>API</td><td>User</td><td>Response</td></tr>
263
- </tbody>
264
- </table>
265
- ```
266
-
267
- ## Quality Bar
268
-
269
- The report is complete when:
270
-
271
- - A reader can find every major API or user-facing interface from the navigation.
272
- - Each interface has at least one source evidence path.
273
- - Main flows and dependencies are represented both in text and diagrams.
274
- - Inferred requirements are labeled instead of stated as facts.
275
- - Open questions are grouped so the user can resolve them later.
276
- - The HTML can be opened directly from disk in a browser.
277
-
278
- ## Content Guidelines
279
-
280
- Avoid duplication between sections:
281
-
282
- - The Executive Summary risk list should contain only the **top 2-3 most critical risks** with one-sentence descriptions. The full risk matrix belongs in the Security section only.
283
- - Key capabilities in the summary should be a concise table (name + one-liner + evidence). Detailed descriptions belong in the per-API requirement cards.
284
- - Non-functional findings should appear only in the Non-functional section, not duplicated in the summary.
285
-
286
- Open questions should be **actionable and specific**:
287
-
288
- - Do NOT list questions that can be answered by reading the source code (e.g. "What is the test coverage?", "Is there CI/CD?"). Instead, investigate and report the answer directly.
289
- - Do NOT list questions about whether a feature exists — check the code first and report what you find.
290
- - Only list questions that require **human decision-making**, **business context**, or **stakeholder input** that cannot be derived from the codebase.
291
- - Each open question should clearly state what decision or confirmation is needed and why it matters.
1
+ ---
2
+ name: project-requirements
3
+ description: Generate an interactive project requirements report from an existing codebase. Use when the user asks for a PRD, requirements document, API-by-API breakdown, business flow, architecture map, dependency graph, flowchart, product requirements reverse-engineering, or detailed project demand analysis.
4
+ version: 0.1.0
5
+ ---
6
+
7
+ Use this skill to reverse-engineer a project into a requirements document that product, engineering, and QA can navigate.
8
+
9
+ Default to an HTML report with lightweight interactions. Produce Markdown only when the user asks for a text-first artifact, a PR-friendly source document, or an additional companion file.
10
+
11
+ User request:
12
+
13
+ ```text
14
+ {{args}}
15
+ ```
16
+
17
+ Honor any concrete user request above, such as output format, report path, focus area, API subset, diagram style, or language. If it is empty, generate the default HTML requirements report for the current workspace.
18
+
19
+ Follow the active reply language from the system prompt for all generated report prose, user-facing labels, placeholder text, summaries, comments, and companion Markdown unless the user explicitly requests a different language. Do not translate source code identifiers, file paths, commands, API routes, or `REQUIREMENTS_*` marker names.
20
+
21
+ ## Output
22
+
23
+ Create the primary report at:
24
+
25
+ ```text
26
+ docs/requirements/{{date}}-project-requirements.html
27
+ ```
28
+
29
+ If a companion Markdown file is useful, create:
30
+
31
+ ```text
32
+ docs/requirements/{{date}}-project-requirements.md
33
+ ```
34
+
35
+ The HTML should be self-contained: inline CSS, inline JavaScript, no build step, no required external assets.
36
+
37
+ Use a clean, modern documentation style inspired by Notion and Linear unless the user asks otherwise:
38
+
39
+ - White background, warm neutral palette (#37352f text, #e9e9e7 borders), blue accents (#2383e2).
40
+ - Favor generous whitespace, clean typography, and subtle hover transitions over dense layouts.
41
+ - Cards should have rounded corners, minimal borders, and subtle shadow on hover.
42
+ - Tables should have uppercase header labels, no row background by default (only on hover).
43
+ - Use pill-shaped badges for evidence and risk labels colored background + matching text, no emoji.
44
+ - Diagrams should look like polished internal architecture or business process documentation.
45
+ - Avoid playful palettes, strong gradients, decorative blobs, and visually loud illustrations.
46
+
47
+ Evidence badge class names use `.tag` or `.badge` with these variants:
48
+
49
+ | Variant | Use for | Visual |
50
+ |---|---|---|
51
+ | `.tag.extracted` / `.badge.extracted` | Behavior directly supported by source code | Green text on green background |
52
+ | `.tag.inferred` / `.badge.inferred` | Reasonable inference from code relationships | Orange text on orange background |
53
+ | `.tag.unknown` / `.badge.unknown` | Needs user confirmation | Gray text on gray background |
54
+ | `.tag.warn` / `.badge.warn` | Medium risk or warning | Orange text on orange background |
55
+ | `.tag.danger` / `.badge.danger` | Critical/high risk | Red text on red background |
56
+ | `.tag.ok` / `.badge.ok` | Low risk or passed check | Green text on green background |
57
+
58
+ Risk level indicators in tables must use the badge variants above, never emoji. For example: `<span class="badge danger">CRITICAL</span>` not `🔴 CRITICAL`.
59
+
60
+ Wrap each requirement card in `<details class="card">` with a `<summary>` containing the API name and a one-line description. This makes all cards collapsible by default.
61
+
62
+ When the target HTML file already exists and contains `REQUIREMENTS_*` marker sections, treat it as the canonical report shell. Edit those marker sections in place instead of replacing the whole file. Preserve the existing CSS, JavaScript, navigation, metadata, and surrounding structure unless the user explicitly asks to redesign the shell.
63
+
64
+ Diagrams must be visible and polished when the HTML is opened directly from disk:
65
+
66
+ - Prefer custom inline SVG, CSS grid/flex diagrams, timeline layouts, swimlanes, and styled cards for architecture maps, dependency graphs, flow summaries, and state/lifecycle diagrams.
67
+ - Use semantic SVG groups, `<title>`/`<desc>`, readable labels, arrow markers, stable element ids, and source evidence links where useful.
68
+ - Keep diagrams evidence-based and readable. Prefer fewer correct nodes over a dense speculative map.
69
+ - Do not use Mermaid as the rendered diagram format unless the user explicitly asks for Mermaid source.
70
+ - Avoid showing raw diagram source blocks in the final HTML unless the user explicitly asks for source-only diagrams.
71
+
72
+ For medium or large projects, do not generate the entire HTML document in one model response or one huge `write` call. Create the report incrementally:
73
+
74
+ 1. Write a complete HTML shell first: `doctype`, `<head>`, inline CSS, navigation container, empty main sections, inline script, and closing tags.
75
+ 2. Add each major section with smaller `edit` insertions before a stable marker such as `<!-- REQUIREMENTS_SECTIONS -->`.
76
+ 3. Keep each write/edit chunk focused: one section, one API group, or one diagram at a time.
77
+ 4. After each chunk, preserve valid HTML and keep the marker in place until the final cleanup.
78
+ 5. In the final pass, remove unused markers and verify the file can be opened directly from disk.
79
+
80
+ This chunked approach is required for HTML reports because inline CSS, JavaScript, diagrams, and API cards can become much larger than Markdown. It also gives the user immediate visible tool progress instead of waiting for one giant generated tool call.
81
+
82
+ ## Process
83
+
84
+ 1. Inspect the project before writing:
85
+ - Read top-level docs such as `README.md`, `OPERATIONS.md`, `docs/`, and deployment notes.
86
+ - Identify the stack from package manifests, route files, command handlers, API clients, database modules, schemas, and tests.
87
+ - Search with `rg` for routes, handlers, controllers, commands, schemas, migrations, HTTP verbs, RPC methods, queue handlers, and CLI subcommands.
88
+ 2. Build an evidence map:
89
+ - `EXTRACTED`: behavior directly supported by source code, docs, tests, config, or schemas.
90
+ - `INFERRED`: reasonable product requirement inferred from code relationships.
91
+ - `UNKNOWN`: requirement, owner, actor, edge case, or business rule that needs user confirmation.
92
+ 3. Decompose by API or interface first:
93
+ - HTTP API endpoints.
94
+ - CLI commands and subcommands.
95
+ - Tool calls, MCP handlers, RPC methods, queue jobs, scheduled tasks, or exported SDK functions.
96
+ - UI flows only after the backend/interface layer is mapped, unless the project is frontend-only.
97
+ 4. Connect each API/interface to requirements:
98
+ - Business capability supported by the interface.
99
+ - User goal and actor.
100
+ - Trigger and entry point.
101
+ - Request/input shape.
102
+ - Response/output shape.
103
+ - Business rules and decision points.
104
+ - Validation and permission rules.
105
+ - Data read/write behavior.
106
+ - Internal modules called.
107
+ - External services or files touched.
108
+ - Error cases and retry/rollback behavior.
109
+ - Observability, audit, and security notes.
110
+ - Acceptance criteria.
111
+ - Open questions that block final confirmation.
112
+ 5. Generate diagrams:
113
+ - Product flowchart for the main user journey.
114
+ - API dependency graph linking endpoints/commands to modules, data stores, and external services.
115
+ - Sequence diagram for at least one high-value flow.
116
+ - State or lifecycle diagram when the domain has clear states.
117
+ - Render each diagram as polished inline HTML/CSS or SVG that is visible offline without external JavaScript.
118
+ 6. Write the report and preserve traceability:
119
+ - Link sections with stable anchors.
120
+ - Include code file paths for evidence.
121
+ - Mark inferred or unknown content visibly.
122
+ - Avoid pretending uncertain requirements are confirmed.
123
+ - For HTML output, write the shell first, then append/insert sections incrementally instead of producing one large complete file in a single tool call.
124
+
125
+ ## HTML Structure
126
+
127
+ Use this structure unless the project suggests a better one:
128
+
129
+ 1. Executive summary.
130
+ 2. System map with a high-level static SVG or CSS architecture diagram.
131
+ 3. API/interface inventory with filters or grouped navigation.
132
+ 4. Per-API requirement cards.
133
+ 5. Core user flows with diagrams.
134
+ 6. Domain model and data ownership.
135
+ 7. Permissions, security, and compliance notes.
136
+ 8. Error handling and edge cases.
137
+ 9. Non-functional requirements.
138
+ 10. Open questions and `UNKNOWN` items.
139
+ 11. Source evidence index.
140
+
141
+ ## Interaction Guidelines
142
+
143
+ Implement useful interactions with plain JavaScript:
144
+
145
+ - Sticky table of contents.
146
+ - Search/filter input for APIs, modules, and tags.
147
+ - Expand/collapse details for each API.
148
+ - Anchor links for every API and flow.
149
+ - Evidence tags: `EXTRACTED`, `INFERRED`, `UNKNOWN`.
150
+ - Back-to-top links for long reports.
151
+ - Optional "show only open questions" toggle.
152
+
153
+ Keep interactions accessible:
154
+
155
+ - Use semantic headings, buttons, tables, and lists.
156
+ - Make controls keyboard reachable.
157
+ - Do not hide critical content behind JavaScript-only rendering.
158
+ - Ensure the document remains readable if JavaScript is disabled.
159
+
160
+ ## API Section Template
161
+
162
+ For each API, command, handler, or externally visible interface, include:
163
+
164
+ ```text
165
+ Name:
166
+ Type:
167
+ Route/command/function:
168
+ Evidence:
169
+ Actor:
170
+ Goal:
171
+ Inputs:
172
+ Outputs:
173
+ Preconditions:
174
+ Main flow:
175
+ Alternative flows:
176
+ Validation:
177
+ Permissions:
178
+ Data reads:
179
+ Data writes:
180
+ Internal dependencies:
181
+ External dependencies:
182
+ Errors:
183
+ Observability:
184
+ Acceptance criteria:
185
+ Open questions:
186
+ ```
187
+
188
+ ## Diagram Patterns
189
+
190
+ Use custom HTML/CSS/SVG diagrams when diagrams help compress complexity. The visual output should look intentional, readable, and report-quality, not like raw generated graph syntax.
191
+
192
+ Inline SVG architecture map:
193
+
194
+ ```html
195
+ <figure class="diagram-card" id="system-architecture">
196
+ <figcaption>System architecture</figcaption>
197
+ <svg viewBox="0 0 960 380" role="img" aria-labelledby="arch-title arch-desc">
198
+ <title id="arch-title">System architecture</title>
199
+ <desc id="arch-desc">CLI entry points call the runtime, which coordinates tools and persisted session state.</desc>
200
+ <defs>
201
+ <marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto">
202
+ <path d="M0,0 L0,6 L9,3 z"></path>
203
+ </marker>
204
+ </defs>
205
+ <g class="node">
206
+ <rect x="48" y="72" width="190" height="86" rx="10"></rect>
207
+ <text x="72" y="122">CLI Entry</text>
208
+ </g>
209
+ <g class="node">
210
+ <rect x="386" y="72" width="210" height="86" rx="10"></rect>
211
+ <text x="410" y="122">Runtime</text>
212
+ </g>
213
+ <line x1="238" y1="115" x2="386" y2="115" marker-end="url(#arrow)"></line>
214
+ </svg>
215
+ </figure>
216
+ ```
217
+
218
+ CSS box architecture map:
219
+
220
+ ```html
221
+ <section class="dependency-map" aria-label="System architecture">
222
+ <a class="dep-node" href="#api-chat">Chat command</a>
223
+ <span class="dep-edge">→</span>
224
+ <a class="dep-node" href="#runtime-agent-loop">Agent loop</a>
225
+ <span class="dep-edge">→</span>
226
+ <a class="dep-node" href="#tools-write">Tools</a>
227
+ </section>
228
+ ```
229
+
230
+ Product flow:
231
+
232
+ ```html
233
+ <ol class="flow-steps" aria-label="Product flow">
234
+ <li><strong>User starts task</strong><span>Input is collected from CLI or UI.</span></li>
235
+ <li><strong>System validates input</strong><span>Policy, mode, and project context are checked.</span></li>
236
+ <li><strong>System performs core action</strong><span>Runtime coordinates model calls and tools.</span></li>
237
+ <li><strong>User receives result</strong><span>Final answer, artifacts, and evidence are returned.</span></li>
238
+ </ol>
239
+ ```
240
+
241
+ API dependency map:
242
+
243
+ ```html
244
+ <section class="dependency-map" aria-label="API dependency map">
245
+ <a class="dep-node" href="#api-command">API or command</a>
246
+ <span class="dep-edge">→</span>
247
+ <a class="dep-node" href="#handler">Handler</a>
248
+ <span class="dep-edge">→</span>
249
+ <a class="dep-node" href="#service">Service</a>
250
+ <span class="dep-edge">→</span>
251
+ <a class="dep-node" href="#store">Data store</a>
252
+ </section>
253
+ ```
254
+
255
+ Sequence flow:
256
+
257
+ ```html
258
+ <table class="sequence-table">
259
+ <thead><tr><th>Step</th><th>Sender</th><th>Receiver</th><th>Message</th></tr></thead>
260
+ <tbody>
261
+ <tr><td>1</td><td>User</td><td>API</td><td>Request</td></tr>
262
+ <tr><td>2</td><td>API</td><td>Service</td><td>Validate and execute</td></tr>
263
+ <tr><td>3</td><td>Service</td><td>Store</td><td>Read/write data</td></tr>
264
+ <tr><td>4</td><td>API</td><td>User</td><td>Response</td></tr>
265
+ </tbody>
266
+ </table>
267
+ ```
268
+
269
+ ## Quality Bar
270
+
271
+ The report is complete when:
272
+
273
+ - A reader can find every major API or user-facing interface from the navigation.
274
+ - Each interface has at least one source evidence path.
275
+ - Main flows and dependencies are represented both in text and diagrams.
276
+ - Inferred requirements are labeled instead of stated as facts.
277
+ - Open questions are grouped so the user can resolve them later.
278
+ - The HTML can be opened directly from disk in a browser.
279
+
280
+ ## Content Guidelines
281
+
282
+ Avoid duplication between sections:
283
+
284
+ - The Executive Summary risk list should contain only the **top 2-3 most critical risks** with one-sentence descriptions. The full risk matrix belongs in the Security section only.
285
+ - Key capabilities in the summary should be a concise table (name + one-liner + evidence). Detailed descriptions belong in the per-API requirement cards.
286
+ - Non-functional findings should appear only in the Non-functional section, not duplicated in the summary.
287
+
288
+ Open questions should be **actionable and specific**:
289
+
290
+ - Do NOT list questions that can be answered by reading the source code (e.g. "What is the test coverage?", "Is there CI/CD?"). Instead, investigate and report the answer directly.
291
+ - Do NOT list questions about whether a feature exists check the code first and report what you find.
292
+ - Only list questions that require **human decision-making**, **business context**, or **stakeholder input** that cannot be derived from the codebase.
293
+ - Each open question should clearly state what decision or confirmation is needed and why it matters.