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,433 @@
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>黑曜界面测试 02</title>
7
+ <style>
8
+ :root {
9
+ --ink: #f2f7ff;
10
+ --ink-soft: #d5e2f2;
11
+ --muted: #91a3b7;
12
+ --paper: #03050a;
13
+ --paper-blue: #060d18;
14
+ --surface: rgba(10, 18, 30, 0.84);
15
+ --surface-glass: rgba(16, 32, 52, 0.64);
16
+ --surface-raised: rgba(24, 42, 66, 0.9);
17
+ --line: rgba(148, 213, 255, 0.20);
18
+ --line-strong: rgba(148, 213, 255, 0.42);
19
+ --accent: #33b8ff;
20
+ --signal: #2ee8d6;
21
+ --matrix: #8dffb4;
22
+ --violet: #8b5cf6;
23
+ --amber: #f5b84b;
24
+ --danger: #ff4d5e;
25
+ --shadow: rgba(0, 10, 28, 0.68);
26
+ color-scheme: dark;
27
+ font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Inter, sans-serif;
28
+ }
29
+
30
+ * { box-sizing: border-box; }
31
+
32
+ body {
33
+ margin: 0;
34
+ min-height: 100vh;
35
+ color: var(--ink);
36
+ background:
37
+ radial-gradient(circle at 78% 18%, rgba(46, 232, 214, 0.18), transparent 26%),
38
+ radial-gradient(circle at 36% 10%, rgba(51, 184, 255, 0.30), transparent 30%),
39
+ radial-gradient(circle at 50% 92%, rgba(139, 92, 246, 0.22), transparent 34%),
40
+ linear-gradient(160deg, #020309, var(--paper-blue) 48%, #010207);
41
+ overflow-x: hidden;
42
+ }
43
+
44
+ body::before {
45
+ content: "";
46
+ position: fixed;
47
+ inset: 0;
48
+ pointer-events: none;
49
+ background:
50
+ linear-gradient(115deg, transparent 0 42%, rgba(51, 184, 255, 0.10) 42% 43%, transparent 43%),
51
+ repeating-linear-gradient(0deg, transparent 0 27px, rgba(148, 213, 255, 0.035) 28px 29px);
52
+ opacity: 0.7;
53
+ }
54
+
55
+ .screen {
56
+ position: relative;
57
+ width: min(1440px, 100%);
58
+ min-height: 100vh;
59
+ margin: 0 auto;
60
+ padding: 34px clamp(18px, 4vw, 64px) 40px;
61
+ }
62
+
63
+ .shell {
64
+ display: grid;
65
+ grid-template-columns: 280px minmax(0, 1fr) 330px;
66
+ gap: 18px;
67
+ min-height: calc(100vh - 74px);
68
+ }
69
+
70
+ .panel,
71
+ .dock,
72
+ .viewport,
73
+ .module,
74
+ .glass-button {
75
+ border: 1px solid var(--line);
76
+ background: linear-gradient(145deg, rgba(24, 42, 66, 0.74), rgba(7, 14, 25, 0.70));
77
+ box-shadow: 0 26px 80px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
78
+ backdrop-filter: blur(22px);
79
+ }
80
+
81
+ .panel {
82
+ border-radius: 20px;
83
+ padding: 18px;
84
+ }
85
+
86
+ .panel h2,
87
+ .module h3 {
88
+ margin: 0;
89
+ font-size: 18px;
90
+ letter-spacing: 0;
91
+ }
92
+
93
+ .panel p,
94
+ .module p {
95
+ color: var(--muted);
96
+ line-height: 1.62;
97
+ font-size: 14px;
98
+ }
99
+
100
+ .logo {
101
+ display: flex;
102
+ align-items: center;
103
+ gap: 12px;
104
+ margin-bottom: 24px;
105
+ }
106
+
107
+ .logo i {
108
+ width: 44px;
109
+ height: 44px;
110
+ border-radius: 11px;
111
+ border: 1px solid rgba(148, 213, 255, 0.32);
112
+ background:
113
+ linear-gradient(135deg, rgba(51, 184, 255, 0.92), rgba(139, 92, 246, 0.42)),
114
+ radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.96), transparent 15%);
115
+ box-shadow: 0 0 30px rgba(51, 184, 255, 0.42);
116
+ }
117
+
118
+ .nav-item {
119
+ display: flex;
120
+ align-items: center;
121
+ justify-content: space-between;
122
+ min-height: 46px;
123
+ margin: 10px 0;
124
+ padding: 0 13px;
125
+ border: 1px solid rgba(148, 213, 255, 0.12);
126
+ border-radius: 12px;
127
+ color: var(--ink-soft);
128
+ background: rgba(3, 5, 10, 0.34);
129
+ }
130
+
131
+ .nav-item.active {
132
+ border-color: rgba(51, 184, 255, 0.54);
133
+ color: var(--ink);
134
+ background: linear-gradient(135deg, rgba(51, 184, 255, 0.20), rgba(46, 232, 214, 0.08));
135
+ box-shadow: inset 0 0 18px rgba(51, 184, 255, 0.12);
136
+ }
137
+
138
+ .viewport {
139
+ position: relative;
140
+ overflow: hidden;
141
+ border-radius: 24px;
142
+ padding: clamp(22px, 3vw, 34px);
143
+ }
144
+
145
+ .viewport::before {
146
+ content: "";
147
+ position: absolute;
148
+ inset: 22px;
149
+ pointer-events: none;
150
+ border: 1px solid rgba(148, 213, 255, 0.16);
151
+ clip-path: polygon(6% 0, 100% 0, 100% 90%, 92% 100%, 0 100%, 0 8%);
152
+ background:
153
+ radial-gradient(circle at 50% 44%, rgba(51, 184, 255, 0.16), transparent 28%),
154
+ repeating-linear-gradient(90deg, transparent 0 52px, rgba(148, 213, 255, 0.045) 53px 54px),
155
+ repeating-linear-gradient(0deg, transparent 0 52px, rgba(148, 213, 255, 0.045) 53px 54px);
156
+ }
157
+
158
+ .viewport-content {
159
+ position: relative;
160
+ z-index: 1;
161
+ display: grid;
162
+ min-height: 100%;
163
+ grid-template-rows: auto 1fr auto;
164
+ gap: 20px;
165
+ }
166
+
167
+ .title-row {
168
+ display: flex;
169
+ align-items: flex-start;
170
+ justify-content: space-between;
171
+ gap: 18px;
172
+ }
173
+
174
+ h1 {
175
+ margin: 0;
176
+ max-width: 640px;
177
+ font-size: clamp(38px, 5vw, 68px);
178
+ line-height: 1.06;
179
+ letter-spacing: 0;
180
+ }
181
+
182
+ .chip {
183
+ display: inline-flex;
184
+ align-items: center;
185
+ min-height: 38px;
186
+ padding: 0 13px;
187
+ border: 1px solid rgba(46, 232, 214, 0.36);
188
+ border-radius: 999px;
189
+ color: #c7fffb;
190
+ background: rgba(46, 232, 214, 0.10);
191
+ white-space: nowrap;
192
+ font-size: 13px;
193
+ }
194
+
195
+ .core {
196
+ position: relative;
197
+ display: grid;
198
+ place-items: center;
199
+ min-height: 390px;
200
+ }
201
+
202
+ .core-ring {
203
+ position: absolute;
204
+ width: min(52vw, 560px);
205
+ aspect-ratio: 1;
206
+ border: 1px solid rgba(51, 184, 255, 0.24);
207
+ border-radius: 50%;
208
+ box-shadow:
209
+ inset 0 0 42px rgba(51, 184, 255, 0.10),
210
+ 0 0 70px rgba(51, 184, 255, 0.10);
211
+ }
212
+
213
+ .core-ring:nth-child(2) {
214
+ width: min(39vw, 420px);
215
+ border-style: dashed;
216
+ border-color: rgba(46, 232, 214, 0.28);
217
+ transform: rotate(18deg);
218
+ }
219
+
220
+ .core-card {
221
+ position: relative;
222
+ width: min(420px, 88%);
223
+ border: 1px solid var(--line-strong);
224
+ border-radius: 22px;
225
+ padding: 24px;
226
+ background: rgba(3, 5, 10, 0.78);
227
+ box-shadow: 0 26px 70px rgba(0, 10, 28, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
228
+ backdrop-filter: blur(24px);
229
+ text-align: center;
230
+ }
231
+
232
+ .core-card strong {
233
+ display: block;
234
+ margin-top: 4px;
235
+ font-size: clamp(46px, 6vw, 78px);
236
+ line-height: 1;
237
+ }
238
+
239
+ .core-card span {
240
+ color: var(--muted);
241
+ font-size: 14px;
242
+ }
243
+
244
+ .button-row {
245
+ display: grid;
246
+ grid-template-columns: repeat(4, minmax(0, 1fr));
247
+ gap: 12px;
248
+ }
249
+
250
+ .glass-button {
251
+ min-height: 58px;
252
+ border-radius: 16px;
253
+ color: var(--ink);
254
+ font: inherit;
255
+ font-weight: 750;
256
+ }
257
+
258
+ .glass-button.primary {
259
+ border-color: rgba(111, 217, 255, 0.72);
260
+ background: linear-gradient(135deg, rgba(51, 184, 255, 0.92), rgba(46, 232, 214, 0.42));
261
+ box-shadow: 0 0 34px rgba(51, 184, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
262
+ }
263
+
264
+ .modules {
265
+ display: grid;
266
+ gap: 14px;
267
+ }
268
+
269
+ .module {
270
+ border-radius: 18px;
271
+ padding: 18px;
272
+ }
273
+
274
+ .module-row {
275
+ display: flex;
276
+ align-items: center;
277
+ justify-content: space-between;
278
+ gap: 12px;
279
+ margin-top: 14px;
280
+ color: var(--ink-soft);
281
+ font-size: 14px;
282
+ }
283
+
284
+ .dot {
285
+ width: 10px;
286
+ height: 10px;
287
+ border-radius: 50%;
288
+ background: var(--matrix);
289
+ box-shadow: 0 0 18px var(--matrix);
290
+ }
291
+
292
+ .dock {
293
+ position: absolute;
294
+ left: 50%;
295
+ bottom: 28px;
296
+ z-index: 2;
297
+ display: flex;
298
+ gap: 10px;
299
+ transform: translateX(-50%);
300
+ border-radius: 999px;
301
+ padding: 10px;
302
+ }
303
+
304
+ .dock button {
305
+ min-width: 92px;
306
+ min-height: 44px;
307
+ border: 1px solid rgba(148, 213, 255, 0.18);
308
+ border-radius: 999px;
309
+ color: var(--ink-soft);
310
+ background: rgba(3, 5, 10, 0.52);
311
+ font: inherit;
312
+ font-weight: 700;
313
+ }
314
+
315
+ .dock button:first-child {
316
+ color: var(--ink);
317
+ background: linear-gradient(135deg, rgba(51, 184, 255, 0.42), rgba(46, 232, 214, 0.16));
318
+ }
319
+
320
+ @media (max-width: 1100px) {
321
+ .shell { grid-template-columns: 1fr; }
322
+ .panel.side { display: none; }
323
+ .viewport { min-height: 760px; }
324
+ }
325
+
326
+ @media (max-width: 640px) {
327
+ .screen { padding: 16px 12px 28px; }
328
+ .panel { border-radius: 16px; }
329
+ .viewport { min-height: 740px; padding: 20px 16px; border-radius: 18px; }
330
+ .title-row { flex-direction: column; }
331
+ h1 { font-size: clamp(36px, 12vw, 48px); line-height: 1.08; }
332
+ .core { min-height: 340px; }
333
+ .core-ring { width: 86vw; }
334
+ .core-ring:nth-child(2) { width: 66vw; }
335
+ .button-row { grid-template-columns: 1fr 1fr; }
336
+ .glass-button { min-height: 52px; }
337
+ .dock {
338
+ position: static;
339
+ flex-wrap: wrap;
340
+ justify-content: center;
341
+ margin-top: 18px;
342
+ transform: none;
343
+ border-radius: 18px;
344
+ }
345
+ .dock button { flex: 1 1 120px; }
346
+ }
347
+ </style>
348
+ </head>
349
+ <body>
350
+ <main class="screen" data-screen-label="02 玻璃操作台">
351
+ <section class="shell">
352
+ <aside class="panel side" aria-label="系统侧栏">
353
+ <div class="logo">
354
+ <i aria-hidden="true"></i>
355
+ <div>
356
+ <h2>玄穹 XUI</h2>
357
+ <p style="margin: 4px 0 0">透明任务窗口</p>
358
+ </div>
359
+ </div>
360
+ <div class="nav-item active"><span>核心监看</span><span>01</span></div>
361
+ <div class="nav-item"><span>航道控制</span><span>02</span></div>
362
+ <div class="nav-item"><span>节点校验</span><span>03</span></div>
363
+ <div class="nav-item"><span>风险复核</span><span>04</span></div>
364
+ </aside>
365
+
366
+ <section class="viewport" aria-label="主操作窗口">
367
+ <div class="viewport-content">
368
+ <div class="title-row">
369
+ <h1>深色玻璃窗口里的可操作按钮。</h1>
370
+ <span class="chip">当前窗口 · 可操作</span>
371
+ </div>
372
+
373
+ <div class="core" aria-label="核心状态">
374
+ <div class="core-ring"></div>
375
+ <div class="core-ring"></div>
376
+ <article class="core-card">
377
+ <span>系统稳定指数</span>
378
+ <strong>97.4</strong>
379
+ <p>阅读信息始终落在稳定深色面,背景光只提供空间感。</p>
380
+ </article>
381
+ </div>
382
+
383
+ <div class="button-row" aria-label="玻璃按钮组">
384
+ <button class="glass-button primary">同步</button>
385
+ <button class="glass-button">锁定</button>
386
+ <button class="glass-button">切换</button>
387
+ <button class="glass-button">复核</button>
388
+ </div>
389
+ </div>
390
+ <div class="dock" aria-label="悬浮工具条">
391
+ <button>总览</button>
392
+ <button>轨道</button>
393
+ <button>日志</button>
394
+ </div>
395
+ </section>
396
+
397
+ <aside class="modules" aria-label="右侧状态模块">
398
+ <article class="module">
399
+ <h3>窗口透明度</h3>
400
+ <p>外层保持玻璃质感,内层阅读面控制文字对比。</p>
401
+ <div class="module-row"><span>玻璃强度</span><strong>64%</strong></div>
402
+ </article>
403
+ <article class="module">
404
+ <h3>信号队列</h3>
405
+ <p>青蓝用于在线与传输,紫色仅提示预测层。</p>
406
+ <div class="module-row"><span>在线同步</span><i class="dot"></i></div>
407
+ </article>
408
+ <article class="module">
409
+ <h3>告警纪律</h3>
410
+ <p>琥珀和红色只在异常处出现,不参与装饰。</p>
411
+ <div class="module-row"><span>待复核事件</span><strong style="color: var(--amber)">2</strong></div>
412
+ </article>
413
+ </aside>
414
+ </section>
415
+ </main>
416
+ <script>
417
+ window.addEventListener("message", (event) => {
418
+ if (event.data && event.data.type === "__edit_mode_set_keys") {
419
+ const edits = event.data.edits || {};
420
+ if (edits.accent) document.documentElement.style.setProperty("--accent", edits.accent);
421
+ if (edits.glass) document.documentElement.style.setProperty("--surface-glass", edits.glass);
422
+ if (edits.grid) document.body.style.setProperty("--grid-opacity", edits.grid);
423
+ }
424
+ });
425
+ const UI_DESIGN_TWEAKS = /*EDITMODE-BEGIN*/{
426
+ "accent": "#33b8ff",
427
+ "glass": "rgba(16, 32, 52, 0.64)",
428
+ "grid": "0.70"
429
+ }/*EDITMODE-END*/;
430
+ window.parent.postMessage({ type: "__edit_mode_available", edits: UI_DESIGN_TWEAKS }, "*");
431
+ </script>
432
+ </body>
433
+ </html>
@@ -0,0 +1,13 @@
1
+ # 黑曜界面两页视觉测试提示
2
+
3
+ 使用 `Obsidian XUI / 黑曜界面` VI,为一个原创中文空间智能系统设计两页 HTML 样张截图。
4
+
5
+ 要求:
6
+
7
+ - 整体像科幻电影里的透明控制界面,但必须是普通网页上可读、可点、可商用的界面。
8
+ - 按钮、窗口、状态栏使用半透明或玻璃效果。
9
+ - 黑色有层次,蓝青渐变和少量紫色只服务结构,不做廉价满屏霓虹。
10
+ - 用户可见文案全部使用简体中文。
11
+ - 每页包含 `data-screen-label` 和唯一合法 `EDITMODE` JSON block。
12
+ - 暴露可调 Tweaks:主蓝色、玻璃强度、网格强度。
13
+ - 跑静态检查、语言检查、浏览器桌面/移动截图,并写简短评审。
@@ -0,0 +1,49 @@
1
+ {
2
+ "html": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/outputs/page-01.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/obsidian-xui-screenshot-check-1/screenshots/page-01/desktop.png",
9
+ "console": [],
10
+ "inspection": {
11
+ "title": "黑曜界面测试 01",
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/obsidian-xui-screenshot-check-1/screenshots/page-01/mobile.png",
31
+ "console": [],
32
+ "inspection": {
33
+ "title": "黑曜界面测试 01",
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/obsidian-xui-screenshot-check-1/outputs/page-02.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/obsidian-xui-screenshot-check-1/screenshots/page-02/desktop.png",
9
+ "console": [],
10
+ "inspection": {
11
+ "title": "黑曜界面测试 02",
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/obsidian-xui-screenshot-check-1/screenshots/page-02/mobile.png",
31
+ "console": [],
32
+ "inspection": {
33
+ "title": "黑曜界面测试 02",
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/precision-horizon-iteration-1/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/precision-horizon-iteration-1/screenshots/desktop.png",
9
+ "console": [],
10
+ "inspection": {
11
+ "title": "岚镜 S1 产品展示",
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/precision-horizon-iteration-1/screenshots/mobile.png",
31
+ "console": [],
32
+ "inspection": {
33
+ "title": "岚镜 S1 产品展示",
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,3 @@
1
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/prompt.md
2
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/execution_notes.md
3
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/outputs/index.html
@@ -0,0 +1,2 @@
1
+ 静态检查目标:minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/outputs/index.html
2
+ 结果:通过,未发现问题。
@@ -0,0 +1,24 @@
1
+ # 设计执行声明
2
+
3
+ ## 任务类型
4
+
5
+ 高端产品展示官网首页,输出单文件中文 HTML。
6
+
7
+ ## 使用 VI
8
+
9
+ 使用 `Precision Horizon / 精密地平线`。选择理由:本任务是智能硬件产品展示,需要产品主角、材质光、参数视觉化、发布页节奏和克制黑白灰色盘。
10
+
11
+ ## 视觉系统策略
12
+
13
+ - 背景策略:冷雾科技 + 材料同色系。页面以冷白、雾蓝、石墨灰为主,少量科技蓝用于行动和参数焦点。
14
+ - 产品表现:用原创抽象设备渲染表达云台相机,不使用真实品牌图片。
15
+ - 结构语言:首屏产品镜头最大,后续用大数字参数、材质特写、使用场景和型号对比逐层展开。
16
+ - 中文排版:标题大而短,正文 16-18px,行高约 1.55,不使用负字距。
17
+
18
+ ## Tweaks 设计
19
+
20
+ 暴露主强调色、背景模式和光感强度,使用 `{ edits: patch }` 持久化。
21
+
22
+ ## 验证计划
23
+
24
+ 运行 `check_ui_artifact.py`、`check_language_policy.py` 和 `browser_check_ui_artifact.mjs`,再人工查看桌面与移动截图,重点检查产品是否是主角、参数是否清晰、中文断行是否自然、移动端是否无横向溢出。