minimal-agent 0.8.2 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (484) hide show
  1. package/README.md +14 -12
  2. package/package.json +34 -1
  3. package/plugins/cron-runner/.claude-plugin/plugin.json +5 -0
  4. package/plugins/cron-runner/commands/cron.md +26 -0
  5. package/plugins/cron-runner/commands/crons.md +7 -0
  6. package/plugins/cron-runner/plugin.js +34 -0
  7. package/plugins/cron-runner/src/commands.js +348 -0
  8. package/plugins/cron-runner/src/cronTime.js +148 -0
  9. package/plugins/cron-runner/src/lock.js +68 -0
  10. package/plugins/cron-runner/src/runs.js +89 -0
  11. package/plugins/cron-runner/src/scheduleEngine.js +72 -0
  12. package/plugins/cron-runner/src/scheduler.js +355 -0
  13. package/plugins/cron-runner/src/schema.js +140 -0
  14. package/plugins/cron-runner/src/service.js +167 -0
  15. package/plugins/cron-runner/src/store.js +298 -0
  16. package/plugins/cron-runner/src/types.js +1 -0
  17. package/plugins/workflow-runner/commands/workflow.md +4 -4
  18. package/plugins/workflow-runner/commands/workflows.md +1 -1
  19. package/plugins/workflow-runner/plugin.js +3 -1
  20. package/plugins/workflow-runner/src/agentCommon.js +249 -51
  21. package/plugins/workflow-runner/src/dslManifest.js +72 -0
  22. package/plugins/workflow-runner/src/expressions.js +198 -15
  23. package/plugins/workflow-runner/src/index.js +40 -8
  24. package/plugins/workflow-runner/src/jsonPayload.js +1 -1
  25. package/plugins/workflow-runner/src/loader.js +286 -72
  26. package/plugins/workflow-runner/src/multimodal.js +37 -0
  27. package/plugins/workflow-runner/src/recovery.js +49 -39
  28. package/plugins/workflow-runner/src/runner.js +802 -287
  29. package/plugins/workflow-runner/src/stepExecutors/agent.js +157 -39
  30. package/plugins/workflow-runner/src/stepExecutors/assert.js +16 -3
  31. package/plugins/workflow-runner/src/stepExecutors/llm.js +60 -111
  32. package/plugins/workflow-runner/src/stepExecutors/skill.js +47 -47
  33. package/plugins/workflow-runner/src/stepExecutors/tool.js +76 -10
  34. package/plugins/workflow-runner/src/stepExecutors/verify.js +27 -10
  35. package/plugins/workflow-runner/src/taskIdentity.js +296 -0
  36. package/plugins/workflow-runner/src/types.js +19 -9
  37. package/plugins/workflow-runner/src/workflowState.js +516 -33
  38. package/skills/adversarial-review/SKILL.md +0 -1
  39. package/skills/ai-image/SKILL.md +89 -0
  40. package/skills/ai-image/scripts/generate.mjs +497 -0
  41. package/skills/ai-image/scripts/generate_from_plan.mjs +469 -0
  42. package/skills/ai-image/scripts/generate_from_plan_test.mjs +223 -0
  43. package/skills/ai-image/scripts/generate_test.mjs +74 -0
  44. package/skills/browser-automation/SKILL.md +47 -0
  45. package/skills/docx/SKILL.md +25 -3
  46. package/skills/docx/scripts/office/helpers/__pycache__/__init__.cpython-314.pyc +0 -0
  47. package/skills/docx/scripts/office/helpers/__pycache__/merge_runs.cpython-314.pyc +0 -0
  48. package/skills/docx/scripts/office/helpers/__pycache__/simplify_redlines.cpython-314.pyc +0 -0
  49. package/skills/docx/scripts/office/validators/__pycache__/__init__.cpython-314.pyc +0 -0
  50. package/skills/docx/scripts/office/validators/__pycache__/base.cpython-314.pyc +0 -0
  51. package/skills/docx/scripts/office/validators/__pycache__/docx.cpython-314.pyc +0 -0
  52. package/skills/docx/scripts/office/validators/__pycache__/pptx.cpython-314.pyc +0 -0
  53. package/skills/docx/scripts/office/validators/__pycache__/redlining.cpython-314.pyc +0 -0
  54. package/skills/docx/scripts/opc_check.py +253 -0
  55. package/skills/image-gen-openrouter/SKILL.md +10 -2
  56. package/skills/image-stats/SKILL.md +65 -0
  57. package/skills/image-stats/scripts/__pycache__/image_stats.cpython-314.pyc +0 -0
  58. package/skills/image-stats/scripts/__pycache__/image_stats_test.cpython-314.pyc +0 -0
  59. package/skills/image-stats/scripts/image_stats.py +368 -0
  60. package/skills/image-stats/scripts/image_stats_test.py +181 -0
  61. package/skills/pptx/SKILL.md +123 -95
  62. package/skills/pptx/design.md +82 -0
  63. package/skills/pptx/examples/README.md +29 -0
  64. package/skills/pptx/examples/hybrid_example.mjs +107 -0
  65. package/skills/pptx/examples/hybrid_example.pptx +0 -0
  66. package/skills/pptx/pptxgenjs.md +41 -0
  67. package/skills/pptx/scripts/deck_helpers.mjs +224 -0
  68. package/skills/pptx/scripts/layout_lint.py +293 -0
  69. package/skills/pptx/scripts/layout_lint_test.py +160 -0
  70. package/skills/pptx/scripts/opc_check.py +339 -0
  71. package/skills/pptx/scripts/svg_fallback.mjs +145 -0
  72. package/skills/pptx/svg.md +67 -0
  73. package/skills/tts-zh/SKILL.md +19 -2
  74. package/skills/ui-design/SKILL.md +158 -0
  75. package/skills/ui-design/claude_design.md +309 -0
  76. package/skills/ui-design/evals/evals.json +254 -0
  77. package/skills/ui-design/references/aesthetic-direction.md +83 -0
  78. package/skills/ui-design/references/claude-design-protocol.md +36 -0
  79. package/skills/ui-design/references/design-context.md +53 -0
  80. package/skills/ui-design/references/design-execution-playbook.md +82 -0
  81. package/skills/ui-design/references/export-pptx.md +124 -0
  82. package/skills/ui-design/references/layout-composition.md +654 -0
  83. package/skills/ui-design/references/preview-feedback.md +37 -0
  84. package/skills/ui-design/references/source-image-layout.md +189 -0
  85. package/skills/ui-design/references/starter-components.md +78 -0
  86. package/skills/ui-design/references/vi-aegis-vector.md +144 -0
  87. package/skills/ui-design/references/vi-amber-prism.md +133 -0
  88. package/skills/ui-design/references/vi-aqua-glass.md +200 -0
  89. package/skills/ui-design/references/vi-comfort-vision.md +147 -0
  90. package/skills/ui-design/references/vi-ember-prism.md +140 -0
  91. package/skills/ui-design/references/vi-nebula-console.md +151 -0
  92. package/skills/ui-design/references/vi-obsidian-optics.md +139 -0
  93. package/skills/ui-design/references/vi-obsidian-xui.md +143 -0
  94. package/skills/ui-design/references/vi-precision-horizon-dark.md +117 -0
  95. package/skills/ui-design/references/vi-precision-horizon.md +215 -0
  96. package/skills/ui-design/references/vi-solar-relay.md +130 -0
  97. package/skills/ui-design/references/vi-template-workflow.md +48 -0
  98. package/skills/ui-design/references/vi-verdant-grid.md +141 -0
  99. package/skills/ui-design/references/vi-violet-meridian.md +172 -0
  100. package/skills/ui-design/scripts/__pycache__/assemble_material.cpython-314.pyc +0 -0
  101. package/skills/ui-design/scripts/__pycache__/assemble_material_test.cpython-314.pyc +0 -0
  102. package/skills/ui-design/scripts/__pycache__/chart_sanity_check.cpython-314.pyc +0 -0
  103. package/skills/ui-design/scripts/__pycache__/check_language_policy.cpython-314.pyc +0 -0
  104. package/skills/ui-design/scripts/__pycache__/check_ui_artifact.cpython-314.pyc +0 -0
  105. package/skills/ui-design/scripts/__pycache__/check_ui_artifact_pptx_test.cpython-314.pyc +0 -0
  106. package/skills/ui-design/scripts/__pycache__/deck_pages_check.cpython-314.pyc +0 -0
  107. package/skills/ui-design/scripts/__pycache__/deck_pages_check_test.cpython-314.pyc +0 -0
  108. package/skills/ui-design/scripts/__pycache__/deck_visual_style_check.cpython-314.pyc +0 -0
  109. package/skills/ui-design/scripts/__pycache__/deck_visual_style_check_test.cpython-314.pyc +0 -0
  110. package/skills/ui-design/scripts/__pycache__/design_budget_check.cpython-314.pyc +0 -0
  111. package/skills/ui-design/scripts/__pycache__/design_budget_check_test.cpython-314.pyc +0 -0
  112. package/skills/ui-design/scripts/__pycache__/design_repair_hints.cpython-314.pyc +0 -0
  113. package/skills/ui-design/scripts/__pycache__/design_repair_hints_test.cpython-314.pyc +0 -0
  114. package/skills/ui-design/scripts/__pycache__/design_style_check.cpython-314.pyc +0 -0
  115. package/skills/ui-design/scripts/__pycache__/design_style_check_test.cpython-314.pyc +0 -0
  116. package/skills/ui-design/scripts/__pycache__/draft_coverage_check.cpython-314.pyc +0 -0
  117. package/skills/ui-design/scripts/__pycache__/extract_source_assets.cpython-314.pyc +0 -0
  118. package/skills/ui-design/scripts/__pycache__/extract_source_assets_test.cpython-314.pyc +0 -0
  119. package/skills/ui-design/scripts/__pycache__/generated_image_review_collect.cpython-314.pyc +0 -0
  120. package/skills/ui-design/scripts/__pycache__/generated_image_review_collect_test.cpython-314.pyc +0 -0
  121. package/skills/ui-design/scripts/__pycache__/image_plan_lint.cpython-314.pyc +0 -0
  122. package/skills/ui-design/scripts/__pycache__/image_plan_lint_test.cpython-314.pyc +0 -0
  123. package/skills/ui-design/scripts/__pycache__/image_prompt_rewrite.cpython-314.pyc +0 -0
  124. package/skills/ui-design/scripts/__pycache__/image_prompt_rewrite_test.cpython-314.pyc +0 -0
  125. package/skills/ui-design/scripts/__pycache__/layout_balance.cpython-314.pyc +0 -0
  126. package/skills/ui-design/scripts/__pycache__/layout_balance_test.cpython-314.pyc +0 -0
  127. package/skills/ui-design/scripts/__pycache__/normalize_design_json.cpython-314.pyc +0 -0
  128. package/skills/ui-design/scripts/__pycache__/normalize_design_json_test.cpython-314.pyc +0 -0
  129. package/skills/ui-design/scripts/__pycache__/plan_source_layout.cpython-314.pyc +0 -0
  130. package/skills/ui-design/scripts/__pycache__/plan_source_layout_test.cpython-314.pyc +0 -0
  131. package/skills/ui-design/scripts/__pycache__/resolve_source_hint.cpython-314.pyc +0 -0
  132. package/skills/ui-design/scripts/__pycache__/resolve_source_hint_test.cpython-314.pyc +0 -0
  133. package/skills/ui-design/scripts/__pycache__/resolve_source_input.cpython-314.pyc +0 -0
  134. package/skills/ui-design/scripts/__pycache__/resolve_source_input_test.cpython-314.pyc +0 -0
  135. package/skills/ui-design/scripts/__pycache__/scaffold_ui_artifact.cpython-314.pyc +0 -0
  136. package/skills/ui-design/scripts/__pycache__/source_usage_check.cpython-314.pyc +0 -0
  137. package/skills/ui-design/scripts/__pycache__/source_usage_check_test.cpython-314.pyc +0 -0
  138. package/skills/ui-design/scripts/__pycache__/text_readability_pixel.cpython-314.pyc +0 -0
  139. package/skills/ui-design/scripts/__pycache__/visual_quality_gate.cpython-314.pyc +0 -0
  140. package/skills/ui-design/scripts/__pycache__/visual_quality_gate_test.cpython-314.pyc +0 -0
  141. package/skills/ui-design/scripts/assemble_material.py +217 -0
  142. package/skills/ui-design/scripts/assemble_material_test.py +149 -0
  143. package/skills/ui-design/scripts/browser_check_ui_artifact.mjs +221 -0
  144. package/skills/ui-design/scripts/chart_sanity_check.py +261 -0
  145. package/skills/ui-design/scripts/chart_sanity_check_test.py +165 -0
  146. package/skills/ui-design/scripts/check_language_policy.py +351 -0
  147. package/skills/ui-design/scripts/check_ui_artifact.py +435 -0
  148. package/skills/ui-design/scripts/check_ui_artifact_pptx_test.py +251 -0
  149. package/skills/ui-design/scripts/deck_pages_check.py +158 -0
  150. package/skills/ui-design/scripts/deck_pages_check_test.py +134 -0
  151. package/skills/ui-design/scripts/deck_visual_style_check.py +767 -0
  152. package/skills/ui-design/scripts/deck_visual_style_check_test.py +713 -0
  153. package/skills/ui-design/scripts/design_budget_check.py +271 -0
  154. package/skills/ui-design/scripts/design_budget_check_test.py +183 -0
  155. package/skills/ui-design/scripts/design_repair_hints.py +162 -0
  156. package/skills/ui-design/scripts/design_repair_hints_test.py +54 -0
  157. package/skills/ui-design/scripts/design_style_check.py +397 -0
  158. package/skills/ui-design/scripts/design_style_check_test.py +233 -0
  159. package/skills/ui-design/scripts/draft_coverage_check.py +184 -0
  160. package/skills/ui-design/scripts/draft_coverage_check_test.py +131 -0
  161. package/skills/ui-design/scripts/export_pptx_from_html.mjs +2367 -0
  162. package/skills/ui-design/scripts/extract_source_assets.py +607 -0
  163. package/skills/ui-design/scripts/extract_source_assets_test.py +256 -0
  164. package/skills/ui-design/scripts/generated_image_review_collect.py +206 -0
  165. package/skills/ui-design/scripts/generated_image_review_collect_test.py +91 -0
  166. package/skills/ui-design/scripts/image_plan_lint.py +571 -0
  167. package/skills/ui-design/scripts/image_plan_lint_test.py +515 -0
  168. package/skills/ui-design/scripts/image_prompt_rewrite.py +713 -0
  169. package/skills/ui-design/scripts/image_prompt_rewrite_test.py +966 -0
  170. package/skills/ui-design/scripts/layout_balance.py +881 -0
  171. package/skills/ui-design/scripts/layout_balance_test.py +927 -0
  172. package/skills/ui-design/scripts/normalize_design_json.py +272 -0
  173. package/skills/ui-design/scripts/normalize_design_json_test.py +119 -0
  174. package/skills/ui-design/scripts/plan_source_layout.py +1450 -0
  175. package/skills/ui-design/scripts/plan_source_layout_test.py +1136 -0
  176. package/skills/ui-design/scripts/resolve_source_input.py +270 -0
  177. package/skills/ui-design/scripts/resolve_source_input_test.py +98 -0
  178. package/skills/ui-design/scripts/scaffold_ui_artifact.py +377 -0
  179. package/skills/ui-design/scripts/source_usage_check.py +581 -0
  180. package/skills/ui-design/scripts/source_usage_check_test.py +427 -0
  181. package/skills/ui-design/scripts/text_readability_pixel.py +340 -0
  182. package/skills/ui-design/scripts/text_readability_pixel_test.py +219 -0
  183. package/skills/ui-design/scripts/visual_quality_gate.py +301 -0
  184. package/skills/ui-design/scripts/visual_quality_gate_test.py +233 -0
  185. package/skills/ui-design/tests/e2e/prompts/deck.md +19 -0
  186. package/skills/ui-design/tests/e2e/prompts/webpage.md +17 -0
  187. package/skills/ui-design/tests/e2e/render_check.mjs +101 -0
  188. package/skills/ui-design/tests/e2e/rubric.json +54 -0
  189. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/checks/browser-check.json +49 -0
  190. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/checks/language-check.txt +12 -0
  191. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/checks/static-check.txt +15 -0
  192. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/outputs/index.html +837 -0
  193. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/prompt.md +12 -0
  194. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/review.md +21 -0
  195. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/screenshots/desktop.png +0 -0
  196. package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/screenshots/mobile.png +0 -0
  197. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/outputs/homepage.html +373 -0
  198. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/outputs/platform.html +378 -0
  199. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/prompt.md +13 -0
  200. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/review.md +26 -0
  201. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/homepage/browser-check.json +49 -0
  202. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/homepage/desktop.png +0 -0
  203. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/homepage/mobile.png +0 -0
  204. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/platform/browser-check.json +49 -0
  205. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/platform/desktop.png +0 -0
  206. package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/platform/mobile.png +0 -0
  207. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/checks/static-check.txt +2 -0
  208. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/outputs/index.html +656 -0
  209. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/prompt.md +12 -0
  210. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/render_check.mjs +67 -0
  211. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/checks/static-check.txt +2 -0
  212. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/outputs/index.html +587 -0
  213. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/prompt.md +12 -0
  214. package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/review.md +36 -0
  215. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/checks/browser-check.json +49 -0
  216. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/checks/language-check.txt +8 -0
  217. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/checks/static-check.txt +16 -0
  218. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/outputs/index.html +739 -0
  219. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/prompt.md +11 -0
  220. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/review.md +22 -0
  221. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/screenshots/desktop.png +0 -0
  222. package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/screenshots/mobile.png +0 -0
  223. package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/checks/browser-check.json +52 -0
  224. package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/outputs/index.html +641 -0
  225. package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/screenshots/desktop.png +0 -0
  226. package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/screenshots/mobile.png +0 -0
  227. package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/outputs/index.html +467 -0
  228. package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/screenshots/browser-check.json +49 -0
  229. package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/screenshots/desktop.png +0 -0
  230. package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/screenshots/mobile.png +0 -0
  231. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/outputs/homepage.html +373 -0
  232. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/outputs/platform.html +378 -0
  233. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/prompt.md +13 -0
  234. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/review.md +26 -0
  235. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/browser-check.json +49 -0
  236. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/desktop.png +0 -0
  237. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/mobile.png +0 -0
  238. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/browser-check.json +49 -0
  239. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/desktop.png +0 -0
  240. package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/mobile.png +0 -0
  241. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/checks/browser-check.json +49 -0
  242. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/checks/language-check.txt +4 -0
  243. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/checks/static-check.txt +2 -0
  244. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/execution_notes.md +10 -0
  245. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/outputs/index.html +587 -0
  246. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/prompt.md +14 -0
  247. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/review.md +13 -0
  248. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/screenshots/desktop.png +0 -0
  249. package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/screenshots/mobile.png +0 -0
  250. package/skills/ui-design/tests/e2e/runs/iteration-1/deck/checks/browser-check.json +24 -0
  251. package/skills/ui-design/tests/e2e/runs/iteration-1/deck/checks/static-check.txt +2 -0
  252. package/skills/ui-design/tests/e2e/runs/iteration-1/deck/execution_notes.md +21 -0
  253. package/skills/ui-design/tests/e2e/runs/iteration-1/deck/outputs/deck.html +451 -0
  254. package/skills/ui-design/tests/e2e/runs/iteration-1/deck/screenshots/slide-01.png +0 -0
  255. package/skills/ui-design/tests/e2e/runs/iteration-1/deck/screenshots/slide-02.png +0 -0
  256. package/skills/ui-design/tests/e2e/runs/iteration-1/review.md +79 -0
  257. package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/checks/browser-check.json +26 -0
  258. package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/checks/static-check.txt +2 -0
  259. package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/execution_notes.md +20 -0
  260. package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/outputs/index.html +534 -0
  261. package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/screenshots/desktop.png +0 -0
  262. package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/screenshots/mobile.png +0 -0
  263. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/browser-check.json +64 -0
  264. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/language-check.txt +7 -0
  265. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/quick-validate.txt +1 -0
  266. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/static-console.txt +2 -0
  267. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/static-homepage.txt +2 -0
  268. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/outputs/console.html +600 -0
  269. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/outputs/homepage.html +556 -0
  270. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/prompt.md +29 -0
  271. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/review.md +57 -0
  272. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/console-desktop.png +0 -0
  273. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/console-mobile.png +0 -0
  274. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/homepage-desktop.png +0 -0
  275. package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/homepage-mobile.png +0 -0
  276. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/browser-check.json +33 -0
  277. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/language-check.txt +6 -0
  278. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/quick-validate.txt +1 -0
  279. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/static-check.txt +2 -0
  280. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/outputs/index.html +682 -0
  281. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/prompt.md +13 -0
  282. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/review.md +59 -0
  283. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/screenshots/desktop.png +0 -0
  284. package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/screenshots/mobile.png +0 -0
  285. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/outputs/page-01.html +466 -0
  286. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/outputs/page-02.html +433 -0
  287. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/prompt.md +13 -0
  288. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/browser-check.json +49 -0
  289. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/desktop.png +0 -0
  290. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/mobile.png +0 -0
  291. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/browser-check.json +49 -0
  292. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/desktop.png +0 -0
  293. package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/mobile.png +0 -0
  294. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/browser-check.json +49 -0
  295. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/language-check.txt +3 -0
  296. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/static-check.txt +2 -0
  297. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/execution_notes.md +24 -0
  298. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/outputs/index.html +723 -0
  299. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/prompt.md +15 -0
  300. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/review.md +26 -0
  301. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/screenshots/desktop.png +0 -0
  302. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/screenshots/mobile.png +0 -0
  303. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/browser-dark.json +49 -0
  304. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/browser-light.json +49 -0
  305. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/language-check.txt +11 -0
  306. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/static-dark.txt +2 -0
  307. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/static-light.txt +3 -0
  308. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/execution_notes.md +23 -0
  309. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/outputs/dark.html +392 -0
  310. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/outputs/light.html +476 -0
  311. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/prompt.md +23 -0
  312. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/review.md +41 -0
  313. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/dark/desktop.png +0 -0
  314. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/dark/mobile.png +0 -0
  315. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/light/desktop.png +0 -0
  316. package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/light/mobile.png +0 -0
  317. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/browser-check.json +54 -0
  318. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/language-check.txt +5 -0
  319. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/quick-validate.txt +1 -0
  320. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/static-check.txt +2 -0
  321. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/outputs/index.html +765 -0
  322. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/prompt.md +15 -0
  323. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/review.md +59 -0
  324. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/screenshots/desktop.png +0 -0
  325. package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/screenshots/mobile.png +0 -0
  326. package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/outputs/index.html +508 -0
  327. package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/screenshots/browser-check.json +49 -0
  328. package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/screenshots/desktop.png +0 -0
  329. package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/screenshots/mobile.png +0 -0
  330. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/browser-check.json +54 -0
  331. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/language-check.txt +6 -0
  332. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/quick-validate.txt +1 -0
  333. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/static-check.txt +2 -0
  334. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/outputs/index.html +788 -0
  335. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/prompt.md +14 -0
  336. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/review.md +60 -0
  337. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/screenshots/desktop.png +0 -0
  338. package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/screenshots/mobile.png +0 -0
  339. package/skills/video-compose/SKILL.md +8 -1
  340. package/skills/web-crawler/SKILL.md +70 -0
  341. package/skills/web-crawler/scripts/crawl.mjs +538 -0
  342. package/skills/web-crawler/scripts/crawl.test.mjs +204 -0
  343. package/skills/xlsx/SKILL.md +12 -0
  344. package/skills/xlsx/scripts/opc_check.py +253 -0
  345. package/src/advisorState.js +22 -0
  346. package/src/askBridge.js +97 -3
  347. package/src/bootstrap/workingDir.js +12 -1
  348. package/src/cli/args.js +17 -1
  349. package/src/cli/configMenu.js +236 -0
  350. package/src/cli/configWizard.js +7 -5
  351. package/src/cli/print.js +37 -4
  352. package/src/cli/streamJson.js +77 -24
  353. package/src/cli/wizards/advisorWizard.js +147 -0
  354. package/src/cli/wizards/fieldForm.js +149 -0
  355. package/src/cli/wizards/imageWizard.js +60 -0
  356. package/src/cli/wizards/openRouterWizard.js +23 -0
  357. package/src/cli/wizards/providerPresets.js +95 -0
  358. package/src/cli/wizards/providerWizard.js +219 -0
  359. package/src/cli/wizards/searchWizard.js +23 -0
  360. package/src/cli/wizards/ttsWizard.js +34 -0
  361. package/src/config/configFile.js +441 -83
  362. package/src/config/configService.js +446 -0
  363. package/src/config.js +24 -64
  364. package/src/context/agentHome.js +9 -0
  365. package/src/context/archive.js +7 -2
  366. package/src/context/compact.js +8 -5
  367. package/src/context/contextLock.js +81 -0
  368. package/src/context/persistContext.js +30 -11
  369. package/src/context/reactiveCompact.js +4 -2
  370. package/src/context/recentDirs.js +21 -61
  371. package/src/context/sessionPath.js +97 -23
  372. package/src/context/sessionRegistry.js +303 -24
  373. package/src/context/tokenCounter.js +18 -0
  374. package/src/context/workspaceIndex.js +731 -0
  375. package/src/infra/verification.js +28 -15
  376. package/src/llm/client.js +394 -159
  377. package/src/llm/providers/anthropicFormat.js +241 -0
  378. package/src/llm/providers/openaiFormat.js +190 -0
  379. package/src/loop.js +219 -32
  380. package/src/main.js +61 -11
  381. package/src/messageQueue.js +97 -0
  382. package/src/multimodal.js +203 -0
  383. package/src/plugin-sdk.js +15 -0
  384. package/src/plugins/commandRouter.js +3 -0
  385. package/src/plugins/hookEngine.js +5 -1
  386. package/src/plugins/pluginLifecycle.js +28 -0
  387. package/src/plugins/pluginLoader.js +2 -1
  388. package/src/plugins/pluginRunner.js +49 -21
  389. package/src/plugins/transcript.js +4 -3
  390. package/src/prompts/pluginList.js +5 -5
  391. package/src/prompts/projectInstructions.js +3 -3
  392. package/src/prompts/promptAssembly.js +133 -144
  393. package/src/prompts/skillList.js +12 -22
  394. package/src/prompts/system.js +0 -1
  395. package/src/session/runAgentTurn.js +70 -0
  396. package/src/session/runTurn.js +41 -6
  397. package/src/toolGate.js +17 -0
  398. package/src/tools/advisor/advisor.js +379 -0
  399. package/src/tools/agent/agent.js +555 -0
  400. package/src/tools/agent/agentTypes.js +59 -0
  401. package/src/tools/agent/coordinator.js +93 -0
  402. package/src/tools/agent/worktree.js +270 -0
  403. package/src/tools/ask/ask.js +7 -2
  404. package/src/tools/bash/bash.js +112 -18
  405. package/src/tools/download/download.js +144 -0
  406. package/src/tools/edit/edit.js +1 -0
  407. package/src/tools/edit/multi-edit.js +1 -0
  408. package/src/tools/genimage/genimage.js +242 -0
  409. package/src/tools/genspeech/genspeech.js +67 -0
  410. package/src/tools/glob/glob.js +1 -0
  411. package/src/tools/grep/grep.js +3 -0
  412. package/src/tools/grep/rgPath.js +2 -0
  413. package/src/tools/index.js +25 -2
  414. package/src/tools/read/read.js +1 -0
  415. package/src/tools/shared/killTree.js +52 -0
  416. package/src/tools/toolProgressBridge.js +48 -0
  417. package/src/tools/webbrowser/agentBrowserPath.js +258 -0
  418. package/src/tools/webbrowser/browser.js +59 -42
  419. package/src/tools/webbrowser/browserControl.js +118 -0
  420. package/src/tools/webbrowser/browserDaemon.js +97 -0
  421. package/src/tools/webbrowser/browserService.js +27 -0
  422. package/src/tools/webbrowser/browserStream.js +119 -0
  423. package/src/tools/webbrowser/webbrowser.js +699 -130
  424. package/src/tools/webfetch/webfetch.js +1 -0
  425. package/src/tools/websearch/websearch.js +134 -51
  426. package/src/tools/write/write.js +1 -0
  427. package/src/ui/App.js +249 -22
  428. package/src/ui/AskQuestion.js +29 -10
  429. package/src/ui/InputBox.js +104 -12
  430. package/src/ui/LiveArea.js +112 -19
  431. package/src/ui/MessageList.js +100 -14
  432. package/src/ui/ModelPicker.js +56 -0
  433. package/src/ui/QueuedMessagesBanner.js +14 -0
  434. package/src/ui/Root.js +18 -10
  435. package/src/ui/SessionPicker.js +102 -0
  436. package/src/ui/StatusLine.js +13 -4
  437. package/src/ui/WorkspacePicker.js +55 -0
  438. package/src/ui/figures.js +44 -0
  439. package/src/ui/hooks/askSlot.js +82 -0
  440. package/src/ui/hooks/useChat.js +358 -64
  441. package/src/ui/hooks/usePasteHandler.js +11 -1
  442. package/src/ui/hooks/useTextBuffer.js +1 -3
  443. package/src/ui/liveViewport.js +5 -1
  444. package/src/ui/markdown.js +206 -0
  445. package/src/ui/textBuffer.js +0 -7
  446. package/src/ui/theme.js +32 -0
  447. package/src/utils/debugLog.js +0 -4
  448. package/src/utils/resourcePaths.js +2 -2
  449. package/src/utils/stripThink.js +50 -0
  450. package/src/web/browserBridge.js +447 -0
  451. package/src/web/protocol.js +19 -0
  452. package/workflows/adaptive-research.yaml +13 -5
  453. package/workflows/book-review-short.yaml +36 -10
  454. package/workflows/e2e-write-greet.yaml +6 -2
  455. package/workflows/illustrate.yaml +227 -0
  456. package/workflows/plan.yaml +460 -179
  457. package/workflows/ppt.yaml +1659 -0
  458. package/workflows/ralph-loop.yaml +199 -0
  459. package/workflows/schema.json +81 -23
  460. package/workflows/webppt.yaml +496 -0
  461. package/workflows/word.yaml +710 -0
  462. package/workflows/youtube-shorts.yaml +46 -15
  463. package/MINIMAL-TRACE.md +0 -77
  464. package/plugins/HOW-TO-WRITE-A-PLUGIN.md +0 -186
  465. package/plugins/ralph-wiggum/.claude-plugin/plugin.json +0 -9
  466. package/plugins/ralph-wiggum/README.md +0 -197
  467. package/plugins/ralph-wiggum/commands/cancel-ralph.md +0 -18
  468. package/plugins/ralph-wiggum/commands/help.md +0 -137
  469. package/plugins/ralph-wiggum/commands/ralph-loop.md +0 -85
  470. package/plugins/ralph-wiggum/hooks/hooks.json +0 -15
  471. package/plugins/ralph-wiggum/hooks/stop-hook.sh +0 -191
  472. package/plugins/ralph-wiggum/plugin.js +0 -280
  473. package/plugins/ralph-wiggum/src/goalState.js +0 -258
  474. package/plugins/ralph-wiggum/src/sentinels.js +0 -76
  475. package/plugins/ralph-wiggum/src/stopHookRunner.js +0 -104
  476. package/plugins/ralph-wiggum/src/verificationGate.js +0 -202
  477. package/plugins/workflow-runner/src/miniReAct.js +0 -223
  478. package/plugins/workflow-runner/src/voteHelpers.js +0 -110
  479. package/skills/config/SKILL.md +0 -123
  480. package/skills/frontend-design/LICENSE.txt +0 -177
  481. package/skills/frontend-design/SKILL.md +0 -42
  482. package/src/ui/ProgressPanel.js +0 -54
  483. package/src/ui/StreamingBlock.js +0 -11
  484. package/src/ui/ToolStatus.js +0 -11
@@ -0,0 +1,378 @@
1
+ <!doctype html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>棱焰智能测试:平台</title>
7
+ <style>
8
+ :root {
9
+ --ink: #101014;
10
+ --ink-soft: #2b2b33;
11
+ --muted: #636574;
12
+ --paper: #fffdfb;
13
+ --paper-cool: #f7f9ff;
14
+ --surface: #ffffff;
15
+ --surface-warm: #fff0ed;
16
+ --line: rgba(16, 16, 20, 0.10);
17
+ --line-warm: rgba(255, 92, 56, 0.22);
18
+ --accent: #ff3f3a;
19
+ --accent-orange: #e21d2f;
20
+ --accent-gold: #ff8a00;
21
+ --blue: #2563eb;
22
+ --violet: #7c3aed;
23
+ --cyan: #14b8c8;
24
+ --shadow: rgba(255, 63, 58, 0.18);
25
+ font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Inter, sans-serif;
26
+ color: var(--ink);
27
+ background: var(--paper);
28
+ }
29
+
30
+ * { box-sizing: border-box; }
31
+
32
+ body {
33
+ margin: 0;
34
+ min-height: 100vh;
35
+ overflow-x: hidden;
36
+ background:
37
+ radial-gradient(circle at 82% 12%, rgba(124, 58, 237, 0.12), transparent 24%),
38
+ radial-gradient(circle at 22% 18%, rgba(240, 68, 47, 0.16), transparent 26%),
39
+ linear-gradient(180deg, #fffdfb 0%, #f7f9ff 100%);
40
+ }
41
+
42
+ .page {
43
+ width: min(1440px, 100%);
44
+ margin: 0 auto;
45
+ padding: 34px clamp(18px, 4vw, 64px) 64px;
46
+ }
47
+
48
+ .top {
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: space-between;
52
+ gap: 18px;
53
+ min-height: 58px;
54
+ margin-bottom: 34px;
55
+ }
56
+
57
+ .brand {
58
+ display: flex;
59
+ align-items: center;
60
+ gap: 12px;
61
+ font-weight: 850;
62
+ }
63
+
64
+ .mark {
65
+ width: 38px;
66
+ height: 38px;
67
+ border-radius: 13px;
68
+ background: conic-gradient(from 220deg, var(--accent), var(--accent-orange), var(--accent), var(--blue), var(--violet), var(--accent));
69
+ box-shadow: 0 14px 30px rgba(240, 68, 47, 0.16);
70
+ }
71
+
72
+ .status {
73
+ display: flex;
74
+ flex-wrap: wrap;
75
+ justify-content: flex-end;
76
+ gap: 10px;
77
+ }
78
+
79
+ .pill {
80
+ display: inline-flex;
81
+ align-items: center;
82
+ min-height: 36px;
83
+ padding: 0 12px;
84
+ border-radius: 999px;
85
+ border: 1px solid var(--line);
86
+ background: rgba(255, 255, 255, 0.78);
87
+ color: var(--muted);
88
+ font-size: 13px;
89
+ font-weight: 720;
90
+ white-space: nowrap;
91
+ }
92
+
93
+ .layout {
94
+ display: grid;
95
+ grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
96
+ gap: 24px;
97
+ align-items: stretch;
98
+ }
99
+
100
+ .intro {
101
+ padding: 34px;
102
+ border: 1px solid var(--line);
103
+ border-radius: 28px;
104
+ background: rgba(255, 255, 255, 0.86);
105
+ box-shadow: 0 26px 68px rgba(16, 16, 20, 0.08);
106
+ }
107
+
108
+ .eyebrow {
109
+ display: inline-flex;
110
+ min-height: 34px;
111
+ align-items: center;
112
+ padding: 0 12px;
113
+ border-radius: 999px;
114
+ color: var(--accent);
115
+ background: var(--surface-warm);
116
+ border: 1px solid var(--line-warm);
117
+ font-size: 13px;
118
+ font-weight: 760;
119
+ }
120
+
121
+ h1 {
122
+ margin: 22px 0 18px;
123
+ font-size: clamp(44px, 6vw, 78px);
124
+ line-height: 1.05;
125
+ letter-spacing: 0;
126
+ }
127
+
128
+ .lead {
129
+ max-width: 610px;
130
+ color: var(--muted);
131
+ font-size: clamp(16px, 1.5vw, 18px);
132
+ line-height: 1.7;
133
+ }
134
+
135
+ .stats {
136
+ display: grid;
137
+ grid-template-columns: repeat(3, minmax(0, 1fr));
138
+ gap: 12px;
139
+ margin-top: 30px;
140
+ }
141
+
142
+ .stat {
143
+ min-height: 118px;
144
+ padding: 16px;
145
+ border: 1px solid var(--line);
146
+ border-radius: 18px;
147
+ background: #fff;
148
+ }
149
+
150
+ .stat span {
151
+ display: block;
152
+ color: var(--muted);
153
+ font-size: 13px;
154
+ }
155
+
156
+ .stat strong {
157
+ display: block;
158
+ margin-top: 14px;
159
+ font-size: 30px;
160
+ line-height: 1;
161
+ }
162
+
163
+ .workspace {
164
+ display: grid;
165
+ grid-template-columns: minmax(0, 1fr);
166
+ gap: 16px;
167
+ }
168
+
169
+ .code {
170
+ position: relative;
171
+ min-height: 342px;
172
+ overflow: hidden;
173
+ border-radius: 28px;
174
+ color: #fff;
175
+ background:
176
+ radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.22), transparent 28%),
177
+ linear-gradient(145deg, #101014, #1b1720);
178
+ box-shadow: 0 30px 80px rgba(16, 16, 20, 0.18);
179
+ }
180
+
181
+ .code-head {
182
+ display: flex;
183
+ align-items: center;
184
+ justify-content: space-between;
185
+ min-height: 58px;
186
+ padding: 0 20px;
187
+ border-bottom: 1px solid rgba(255, 255, 255, 0.10);
188
+ color: rgba(255, 255, 255, 0.68);
189
+ font-size: 13px;
190
+ }
191
+
192
+ .code pre {
193
+ margin: 0;
194
+ padding: 24px;
195
+ color: rgba(255, 255, 255, 0.82);
196
+ font: 14px/1.75 "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
197
+ white-space: pre-wrap;
198
+ }
199
+
200
+ .code b { color: #ffb37b; }
201
+ .code em { color: #9fb7ff; font-style: normal; }
202
+ .code strong { color: #d1b2ff; }
203
+
204
+ .cards {
205
+ display: grid;
206
+ grid-template-columns: repeat(3, minmax(0, 1fr));
207
+ gap: 14px;
208
+ }
209
+
210
+ .card {
211
+ min-height: 178px;
212
+ padding: 18px;
213
+ border: 1px solid var(--line);
214
+ border-radius: 20px;
215
+ background: #fff;
216
+ box-shadow: 0 18px 46px rgba(16, 16, 20, 0.06);
217
+ }
218
+
219
+ .bar {
220
+ height: 7px;
221
+ width: 48px;
222
+ margin-bottom: 18px;
223
+ border-radius: 999px;
224
+ background: var(--accent);
225
+ }
226
+
227
+ .card:nth-child(2) .bar { background: var(--blue); }
228
+ .card:nth-child(3) .bar { background: var(--violet); }
229
+
230
+ .card h2 {
231
+ margin: 0 0 10px;
232
+ font-size: 20px;
233
+ line-height: 1.25;
234
+ }
235
+
236
+ .card p {
237
+ margin: 0;
238
+ color: var(--muted);
239
+ font-size: 14px;
240
+ line-height: 1.62;
241
+ }
242
+
243
+ .plans {
244
+ display: grid;
245
+ grid-template-columns: 1fr 1fr;
246
+ gap: 16px;
247
+ margin-top: 24px;
248
+ }
249
+
250
+ .plan {
251
+ padding: 22px;
252
+ border: 1px solid var(--line);
253
+ border-radius: 22px;
254
+ background: #fff;
255
+ }
256
+
257
+ .plan.hot {
258
+ border-color: var(--line-warm);
259
+ background: linear-gradient(145deg, #fff, var(--surface-warm));
260
+ }
261
+
262
+ .plan h3 {
263
+ margin: 0 0 12px;
264
+ font-size: 22px;
265
+ }
266
+
267
+ .plan p {
268
+ margin: 0;
269
+ color: var(--muted);
270
+ line-height: 1.6;
271
+ }
272
+
273
+ .plan button {
274
+ width: 100%;
275
+ min-height: 46px;
276
+ margin-top: 18px;
277
+ border: 0;
278
+ border-radius: 14px;
279
+ color: #fff;
280
+ background: linear-gradient(135deg, var(--accent), var(--accent-orange));
281
+ font: inherit;
282
+ font-weight: 780;
283
+ }
284
+
285
+ .plan:not(.hot) button {
286
+ color: var(--ink);
287
+ background: #fff;
288
+ border: 1px solid var(--line);
289
+ }
290
+
291
+ @media (max-width: 1000px) {
292
+ .layout { grid-template-columns: 1fr; }
293
+ .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
294
+ }
295
+
296
+ @media (max-width: 640px) {
297
+ .page { padding: 18px 14px 42px; }
298
+ .top { align-items: flex-start; flex-direction: column; }
299
+ .status { justify-content: flex-start; }
300
+ .intro { padding: 24px 18px; border-radius: 22px; }
301
+ h1 { font-size: clamp(38px, 12vw, 50px); line-height: 1.08; }
302
+ .lead { font-size: 15px; }
303
+ .stats { grid-template-columns: 1fr; }
304
+ .cards { grid-template-columns: 1fr; }
305
+ .plans { grid-template-columns: 1fr; }
306
+ .code pre { font-size: 12px; line-height: 1.72; padding: 18px; }
307
+ }
308
+ </style>
309
+ </head>
310
+ <body>
311
+ <main class="page" data-screen-label="02 模型平台能力页">
312
+ <header class="top">
313
+ <div class="brand"><span class="mark" aria-hidden="true"></span><span>棱焰智能</span></div>
314
+ <div class="status">
315
+ <span class="pill">模型延迟 480 毫秒</span>
316
+ <span class="pill">接口可用率 99.95%</span>
317
+ <span class="pill">中文优先</span>
318
+ </div>
319
+ </header>
320
+
321
+ <section class="layout">
322
+ <div>
323
+ <article class="intro">
324
+ <span class="eyebrow">开发者与产品团队共用</span>
325
+ <h1>评测工作台。</h1>
326
+ <p class="lead">棱焰智能用黑色代码面板呈现工程可信度,用白色卡片整理业务能力,红色推动关键转化,蓝紫负责区分技术模块。</p>
327
+ <div class="stats">
328
+ <div class="stat"><span>上下文长度</span><strong>256K</strong></div>
329
+ <div class="stat"><span>任务模板</span><strong>48</strong></div>
330
+ <div class="stat"><span>评测维度</span><strong>12</strong></div>
331
+ </div>
332
+ </article>
333
+
334
+ <section class="plans" aria-label="套餐入口">
335
+ <article class="plan hot"><h3>团队版</h3><p>适合原型验证、知识库接入和多模型对比。</p><button>开始部署</button></article>
336
+ <article class="plan"><h3>企业版</h3><p>支持私有知识、权限审计和高级评测流程。</p><button>预约顾问</button></article>
337
+ </section>
338
+ </div>
339
+
340
+ <div class="workspace">
341
+ <section class="code" aria-label="代码调用示例">
342
+ <div class="code-head"><span>接口调用示例</span><span>稳定版</span></div>
343
+ <pre><b>请求</b>:生成产品发布摘要
344
+ <em>模型</em>:棱焰大模型
345
+ <em>输入</em>:用户访谈、竞品记录、研发日志
346
+ <strong>输出</strong>:要点、风险、下一步
347
+
348
+ 结果:返回结构化内容
349
+ 评估:事实一致、语气稳定、风险可追踪
350
+ 动作:生成发布稿并同步到评测看板</pre>
351
+ </section>
352
+
353
+ <section class="cards" aria-label="平台能力">
354
+ <article class="card"><div class="bar"></div><h2>红橙行动</h2><p>用于发布、购买、部署和关键转化,面积克制但足够醒目。</p></article>
355
+ <article class="card"><div class="bar"></div><h2>蓝色工程</h2><p>承载 API、参数、文档和开发者入口,增强技术可信度。</p></article>
356
+ <article class="card"><div class="bar"></div><h2>紫色多模态</h2><p>只标记图像、语音、视频和创作能力,不抢主色。</p></article>
357
+ </section>
358
+ </div>
359
+ </section>
360
+ </main>
361
+ <script>
362
+ window.addEventListener("message", (event) => {
363
+ if (event.data && event.data.type === "__edit_mode_set_keys") {
364
+ const edits = event.data.edits || {};
365
+ if (edits.accent) document.documentElement.style.setProperty("--accent", edits.accent);
366
+ if (edits.orange) document.documentElement.style.setProperty("--accent-orange", edits.orange);
367
+ if (edits.blue) document.documentElement.style.setProperty("--blue", edits.blue);
368
+ }
369
+ });
370
+ const UI_DESIGN_TWEAKS = /*EDITMODE-BEGIN*/{
371
+ "accent": "#ff3f3a",
372
+ "orange": "#e21d2f",
373
+ "blue": "#2563eb"
374
+ }/*EDITMODE-END*/;
375
+ window.parent.postMessage({ type: "__edit_mode_available", edits: UI_DESIGN_TWEAKS }, "*");
376
+ </script>
377
+ </body>
378
+ </html>
@@ -0,0 +1,13 @@
1
+ # 棱焰智能两页视觉测试提示
2
+
3
+ 使用 `Ember Prism / 棱焰智能` VI,为一个原创中文 AI 产品品牌设计两页 HTML 样张。
4
+
5
+ 要求:
6
+
7
+ - 页面 1 是官网首页,体现白底、黑字、红色主导行动、少量橙色火花和蓝紫能力点缀。
8
+ - 页面 2 是模型平台/开发者能力页,体现产品矩阵、代码面板、模型能力与套餐信息。
9
+ - 用户可见文案必须是简体中文。
10
+ - 不出现真实 AI 公司名称、标识、产品名、页面结构或原始文案。
11
+ - 每页包含 `data-screen-label` 和唯一合法 `EDITMODE` JSON block。
12
+ - Tweaks 使用 `edits`,可调主红色、橙色能量和彩色点缀强度。
13
+ - 跑静态检查、语言检查、浏览器截图,并评审配色、构图、中文排版和沟通文案。
@@ -0,0 +1,26 @@
1
+ # 棱焰智能两页样张评审
2
+
3
+ ## 检查结果
4
+
5
+ - 静态检查:两页通过,无阻断错误。保留 Tweaks 激活监听与渐变/玻璃可读性的非阻断提示。
6
+ - 语言检查:两页通过。代码面板已从英文代码改为中文伪代码式说明。
7
+ - 浏览器检查:两页通过,console 无错误,无横向溢出,无低于 44px 的按钮目标。
8
+
9
+ ## 视觉判断
10
+
11
+ - 首页配色符合 `Ember Prism / 棱焰智能`:暖白背景、黑色标题、红色主行动、少量橙色火花、蓝紫能力点缀,整体明亮、有 AI 公司产品矩阵感。
12
+ - 平台页的黑色代码面板增强了工程可信度,红橙、蓝、紫三类能力卡有清晰角色,没有变成彩虹装饰。
13
+ - 沟通文字基本具体:模型、接口、评测、上下文、调用统计、风险提示都有实际含义,不是空泛口号。
14
+ - 移动端纵向结构清楚,按钮足够大,视觉元素没有横向溢出。
15
+
16
+ ## 已修正问题
17
+
18
+ - 首页初版标题把“产品矩阵”拆成“产品矩 / 阵”,已改成短标题并让渐变关键词整体换行。
19
+ - 首页导航主按钮高度不足 44px,已调到 46px。
20
+ - 平台页初版黑色代码面板过空,已补充评估与动作信息。
21
+ - 平台页标题多次出现中文孤字或不自然断行,最终改为“评测工作台。”。
22
+ - 英文代码片段被语言检查标记,已改为中文可见文案。
23
+
24
+ ## 结论
25
+
26
+ 这版可以作为 `Ember Prism` 的红色主导样张:配色比早期版本更偏红,黑色模块能压住专业感,蓝紫没有抢主色,中文排版经过截图修正后比较稳。下一轮如果继续优化,建议把首页主视觉进一步做成红色横向发布带和白色浮动信息卡。
@@ -0,0 +1,49 @@
1
+ {
2
+ "html": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/outputs/homepage.html",
3
+ "desktop": {
4
+ "viewport": {
5
+ "width": 1440,
6
+ "height": 980
7
+ },
8
+ "screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/desktop.png",
9
+ "console": [],
10
+ "inspection": {
11
+ "title": "棱焰智能测试:首页",
12
+ "screenLabels": [
13
+ "01 棱焰智能首页"
14
+ ],
15
+ "editModeBlocks": 1,
16
+ "hasEditModeAvailable": true,
17
+ "hasEditModeSetKeys": true,
18
+ "hasEditsPayload": true,
19
+ "documentWidth": 1440,
20
+ "viewportWidth": 1440,
21
+ "horizontalOverflow": false,
22
+ "smallTargets": []
23
+ }
24
+ },
25
+ "mobile": {
26
+ "viewport": {
27
+ "width": 390,
28
+ "height": 844
29
+ },
30
+ "screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/mobile.png",
31
+ "console": [],
32
+ "inspection": {
33
+ "title": "棱焰智能测试:首页",
34
+ "screenLabels": [
35
+ "01 棱焰智能首页"
36
+ ],
37
+ "editModeBlocks": 1,
38
+ "hasEditModeAvailable": true,
39
+ "hasEditModeSetKeys": true,
40
+ "hasEditsPayload": true,
41
+ "documentWidth": 390,
42
+ "viewportWidth": 390,
43
+ "horizontalOverflow": false,
44
+ "smallTargets": []
45
+ }
46
+ },
47
+ "issues": [],
48
+ "pass": true
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "html": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/outputs/platform.html",
3
+ "desktop": {
4
+ "viewport": {
5
+ "width": 1440,
6
+ "height": 980
7
+ },
8
+ "screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/desktop.png",
9
+ "console": [],
10
+ "inspection": {
11
+ "title": "棱焰智能测试:平台",
12
+ "screenLabels": [
13
+ "02 模型平台能力页"
14
+ ],
15
+ "editModeBlocks": 1,
16
+ "hasEditModeAvailable": true,
17
+ "hasEditModeSetKeys": true,
18
+ "hasEditsPayload": true,
19
+ "documentWidth": 1440,
20
+ "viewportWidth": 1440,
21
+ "horizontalOverflow": false,
22
+ "smallTargets": []
23
+ }
24
+ },
25
+ "mobile": {
26
+ "viewport": {
27
+ "width": 390,
28
+ "height": 844
29
+ },
30
+ "screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/mobile.png",
31
+ "console": [],
32
+ "inspection": {
33
+ "title": "棱焰智能测试:平台",
34
+ "screenLabels": [
35
+ "02 模型平台能力页"
36
+ ],
37
+ "editModeBlocks": 1,
38
+ "hasEditModeAvailable": true,
39
+ "hasEditModeSetKeys": true,
40
+ "hasEditsPayload": true,
41
+ "documentWidth": 390,
42
+ "viewportWidth": 390,
43
+ "horizontalOverflow": false,
44
+ "smallTargets": []
45
+ }
46
+ },
47
+ "issues": [],
48
+ "pass": true
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "html": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/outputs/index.html",
3
+ "desktop": {
4
+ "viewport": {
5
+ "width": 1440,
6
+ "height": 980
7
+ },
8
+ "screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/screenshots/desktop.png",
9
+ "console": [],
10
+ "inspection": {
11
+ "title": "云策助手 - 空白 AI 协议回归样张",
12
+ "screenLabels": [
13
+ "01 云策助手首页"
14
+ ],
15
+ "editModeBlocks": 1,
16
+ "hasEditModeAvailable": true,
17
+ "hasEditModeSetKeys": true,
18
+ "hasEditsPayload": true,
19
+ "documentWidth": 1440,
20
+ "viewportWidth": 1440,
21
+ "horizontalOverflow": false,
22
+ "smallTargets": []
23
+ }
24
+ },
25
+ "mobile": {
26
+ "viewport": {
27
+ "width": 390,
28
+ "height": 844
29
+ },
30
+ "screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/screenshots/mobile.png",
31
+ "console": [],
32
+ "inspection": {
33
+ "title": "云策助手 - 空白 AI 协议回归样张",
34
+ "screenLabels": [
35
+ "01 云策助手首页"
36
+ ],
37
+ "editModeBlocks": 1,
38
+ "hasEditModeAvailable": true,
39
+ "hasEditModeSetKeys": true,
40
+ "hasEditsPayload": true,
41
+ "documentWidth": 390,
42
+ "viewportWidth": 390,
43
+ "horizontalOverflow": false,
44
+ "smallTargets": []
45
+ }
46
+ },
47
+ "issues": [],
48
+ "pass": true
49
+ }
@@ -0,0 +1,4 @@
1
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/prompt.md
2
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/execution_notes.md
3
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/review.md
4
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/outputs/index.html
@@ -0,0 +1,2 @@
1
+ ui-design artifact check: minimal-agent/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/outputs/index.html
2
+ OK: no issues found.
@@ -0,0 +1,10 @@
1
+ # 设计执行声明
2
+
3
+ - 需求复述:为一个没有现成品牌资料的中文 AI 工具生成官网首页 HTML,目标是成熟、清爽、有设计感,并验证 `ui-design` 是否能约束空白执行者。
4
+ - 上下文来源:读取 `SKILL.md` 的强执行轨道;读取 `references/design-execution-playbook.md` 的生成前声明和评审格式;选择 `references/vi-violet-meridian.md` 作为视觉起点,因为它适合中文 AI 工具、白底、紫蓝、清晰科技和智能工作台。
5
+ - 设计路线:使用 VI 模板迁移,不复制 `Codex`、`OpenAI` 或任何真实品牌;将紫蓝经线、路径节点、智能建议卡迁移到原创产品“云策助手”。
6
+ - 视觉系统:冷白背景承载长时间阅读,近黑紫文字保证清晰,主紫用于核心行动,蓝紫用于路径光轨,青蓝用于在线状态,淡紫边框用于卡片层级。
7
+ - 中文排版:标题控制在 2 到 3 行内,桌面最大 68px,移动端自然断行;正文 16 到 18px,行高约 1.65;按钮和导航触达不低于 44px。
8
+ - 结构语言:顶部导航、首屏价值表达、右侧工作台预览、能力卡片、流程路径和行动区,强调“输入目标到可执行计划”的产品路径。
9
+ - Tweaks 计划:暴露主紫色、光轨强度、界面密度,通过 `edits` 载荷持久化。
10
+ - 输出与验证:输出 `outputs/index.html`;运行静态检查、语言检查和浏览器桌面/移动截图;评审写入 `review.md`。