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,556 @@
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>Nebula Console 星云控制台官网样张</title>
7
+ <style>
8
+ :root {
9
+ --ink: #eef6ff;
10
+ --ink-soft: #d9e8f7;
11
+ --muted: #9fb3c8;
12
+ --paper: #050812;
13
+ --paper-blue: #08111f;
14
+ --surface: rgba(13, 27, 48, 0.72);
15
+ --surface-raised: rgba(24, 45, 76, 0.78);
16
+ --line: rgba(174, 219, 255, 0.18);
17
+ --line-strong: rgba(174, 219, 255, 0.34);
18
+ --accent: #3aa7ff;
19
+ --signal: #39d6d6;
20
+ --violet: #7b61ff;
21
+ --amber: #f2b84b;
22
+ --shadow: rgba(0, 8, 24, 0.48);
23
+ --glass-alpha: 0.72;
24
+ --grid-alpha: 0.18;
25
+ --glow-strength: 0.32;
26
+ --mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
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 72% 16%, rgba(58, 167, 255, var(--glow-strength)), transparent 30%),
38
+ radial-gradient(circle at 18% 18%, rgba(57, 214, 214, 0.15), transparent 26%),
39
+ radial-gradient(circle at 52% 84%, rgba(123, 97, 255, 0.16), transparent 34%),
40
+ linear-gradient(135deg, var(--paper) 0%, var(--paper-blue) 46%, #0c1830 100%);
41
+ overflow-x: hidden;
42
+ }
43
+
44
+ body::before {
45
+ content: "";
46
+ position: fixed;
47
+ inset: 0;
48
+ z-index: -2;
49
+ background:
50
+ linear-gradient(rgba(174, 219, 255, var(--grid-alpha)) 1px, transparent 1px),
51
+ linear-gradient(90deg, rgba(174, 219, 255, calc(var(--grid-alpha) * 0.72)) 1px, transparent 1px);
52
+ background-size: 72px 72px;
53
+ mask-image: linear-gradient(180deg, rgba(0,0,0,0.82), transparent 88%);
54
+ }
55
+
56
+ body::after {
57
+ content: "";
58
+ position: fixed;
59
+ inset: 0;
60
+ z-index: -1;
61
+ pointer-events: none;
62
+ background: linear-gradient(110deg, transparent 0 42%, rgba(58, 167, 255, 0.08) 48%, transparent 56% 100%);
63
+ opacity: 0.75;
64
+ }
65
+
66
+ button, input { font: inherit; }
67
+
68
+ .page {
69
+ width: min(1180px, calc(100vw - 32px));
70
+ margin: 0 auto;
71
+ padding: 26px 0 58px;
72
+ }
73
+
74
+ .glass {
75
+ border: 1px solid var(--line);
76
+ background:
77
+ linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.018)),
78
+ rgba(13, 27, 48, var(--glass-alpha));
79
+ box-shadow: 0 24px 80px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.09);
80
+ backdrop-filter: blur(18px);
81
+ }
82
+
83
+ .nav {
84
+ display: flex;
85
+ align-items: center;
86
+ justify-content: space-between;
87
+ gap: 18px;
88
+ padding: 12px 14px;
89
+ border-radius: 18px;
90
+ }
91
+
92
+ .brand {
93
+ display: flex;
94
+ align-items: center;
95
+ gap: 12px;
96
+ min-width: 0;
97
+ }
98
+
99
+ .mark {
100
+ width: 42px;
101
+ height: 42px;
102
+ border-radius: 14px;
103
+ border: 1px solid var(--line-strong);
104
+ background:
105
+ radial-gradient(circle at 62% 32%, rgba(238,246,255,0.95), transparent 9%),
106
+ conic-gradient(from 220deg, rgba(58,167,255,0.18), var(--accent), var(--signal), rgba(123,97,255,0.38), rgba(58,167,255,0.18));
107
+ box-shadow: 0 0 34px rgba(58, 167, 255, 0.3);
108
+ }
109
+
110
+ .brand strong { display: block; font-size: 15px; }
111
+ .brand span, .chip, .eyebrow, .metric span {
112
+ color: var(--muted);
113
+ font-family: var(--mono);
114
+ font-size: 12px;
115
+ letter-spacing: 0.08em;
116
+ }
117
+
118
+ .nav-actions {
119
+ display: flex;
120
+ flex-wrap: wrap;
121
+ justify-content: flex-end;
122
+ gap: 8px;
123
+ }
124
+
125
+ .chip {
126
+ padding: 8px 11px;
127
+ border: 1px solid var(--line);
128
+ border-radius: 999px;
129
+ background: rgba(255,255,255,0.035);
130
+ white-space: nowrap;
131
+ }
132
+
133
+ .chip.online {
134
+ color: var(--signal);
135
+ border-color: rgba(57,214,214,0.36);
136
+ }
137
+
138
+ .hero {
139
+ display: grid;
140
+ grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
141
+ gap: 24px;
142
+ margin-top: 24px;
143
+ }
144
+
145
+ .hero-main, .system-panel, .section {
146
+ position: relative;
147
+ overflow: hidden;
148
+ border-radius: 22px;
149
+ }
150
+
151
+ .hero-main {
152
+ min-height: 610px;
153
+ padding: clamp(34px, 5vw, 58px);
154
+ }
155
+
156
+ .hero-main::after {
157
+ content: "";
158
+ position: absolute;
159
+ right: -150px;
160
+ bottom: -120px;
161
+ width: 420px;
162
+ height: 420px;
163
+ border-radius: 50%;
164
+ border: 1px solid rgba(174, 219, 255, 0.18);
165
+ background:
166
+ radial-gradient(circle, rgba(58,167,255,0.12), transparent 42%),
167
+ repeating-conic-gradient(from 12deg, rgba(174,219,255,0.12) 0deg 2deg, transparent 2deg 10deg);
168
+ opacity: 0.78;
169
+ }
170
+
171
+ .eyebrow {
172
+ position: relative;
173
+ z-index: 1;
174
+ margin: 0 0 18px;
175
+ color: var(--signal);
176
+ font-weight: 800;
177
+ }
178
+
179
+ h1, h2, h3, p { margin-top: 0; }
180
+
181
+ h1 {
182
+ position: relative;
183
+ z-index: 1;
184
+ max-width: 780px;
185
+ margin-bottom: 22px;
186
+ font-size: clamp(38px, 5.4vw, 72px);
187
+ line-height: 1.04;
188
+ letter-spacing: 0;
189
+ text-wrap: balance;
190
+ }
191
+
192
+ .nowrap {
193
+ white-space: nowrap;
194
+ }
195
+
196
+ .lead {
197
+ position: relative;
198
+ z-index: 1;
199
+ max-width: 650px;
200
+ margin-bottom: 30px;
201
+ color: var(--ink-soft);
202
+ font-size: clamp(16px, 1.7vw, 19px);
203
+ line-height: 1.62;
204
+ font-weight: 600;
205
+ }
206
+
207
+ .actions {
208
+ position: relative;
209
+ z-index: 1;
210
+ display: flex;
211
+ flex-wrap: wrap;
212
+ gap: 12px;
213
+ margin-bottom: 34px;
214
+ }
215
+
216
+ .button {
217
+ border: 0;
218
+ border-radius: 12px;
219
+ padding: 13px 18px;
220
+ color: #04101c;
221
+ font-weight: 800;
222
+ cursor: pointer;
223
+ background: linear-gradient(135deg, var(--accent), #76c8ff 56%, var(--signal));
224
+ box-shadow: 0 0 28px rgba(58, 167, 255, 0.32);
225
+ }
226
+
227
+ .button.secondary {
228
+ color: var(--ink);
229
+ border: 1px solid var(--line-strong);
230
+ background: rgba(255,255,255,0.045);
231
+ box-shadow: none;
232
+ }
233
+
234
+ .metrics {
235
+ position: relative;
236
+ z-index: 1;
237
+ display: grid;
238
+ grid-template-columns: repeat(3, 1fr);
239
+ gap: 12px;
240
+ margin-top: 26px;
241
+ }
242
+
243
+ .metric {
244
+ min-height: 112px;
245
+ padding: 18px;
246
+ border: 1px solid var(--line);
247
+ border-radius: 16px;
248
+ background: rgba(255,255,255,0.045);
249
+ }
250
+
251
+ .metric strong {
252
+ display: block;
253
+ margin-bottom: 8px;
254
+ font-size: 30px;
255
+ line-height: 1;
256
+ }
257
+
258
+ .system-panel {
259
+ min-height: 610px;
260
+ padding: 26px;
261
+ }
262
+
263
+ .orbit {
264
+ position: relative;
265
+ height: 330px;
266
+ border: 1px solid rgba(174,219,255,0.18);
267
+ border-radius: 20px;
268
+ background:
269
+ radial-gradient(circle at 50% 48%, rgba(58,167,255,0.28), transparent 19%),
270
+ radial-gradient(circle at 50% 48%, rgba(57,214,214,0.12), transparent 42%),
271
+ linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
272
+ overflow: hidden;
273
+ }
274
+
275
+ .orbit::before,
276
+ .orbit::after {
277
+ content: "";
278
+ position: absolute;
279
+ inset: 56px;
280
+ border-radius: 50%;
281
+ border: 1px solid rgba(174,219,255,0.22);
282
+ }
283
+
284
+ .orbit::after {
285
+ inset: 104px;
286
+ border-color: rgba(57,214,214,0.24);
287
+ box-shadow: 0 0 32px rgba(58,167,255,0.18);
288
+ }
289
+
290
+ .node {
291
+ position: absolute;
292
+ width: 12px;
293
+ height: 12px;
294
+ border-radius: 50%;
295
+ background: var(--signal);
296
+ box-shadow: 0 0 18px rgba(57,214,214,0.72);
297
+ }
298
+
299
+ .node:nth-child(1) { left: 20%; top: 30%; }
300
+ .node:nth-child(2) { right: 24%; top: 22%; background: var(--accent); }
301
+ .node:nth-child(3) { left: 56%; bottom: 20%; }
302
+
303
+ .readout {
304
+ display: grid;
305
+ gap: 12px;
306
+ margin-top: 18px;
307
+ }
308
+
309
+ .readout-row {
310
+ display: flex;
311
+ align-items: center;
312
+ justify-content: space-between;
313
+ gap: 14px;
314
+ padding: 14px 0;
315
+ border-bottom: 1px solid rgba(174,219,255,0.13);
316
+ color: var(--muted);
317
+ }
318
+
319
+ .readout-row strong {
320
+ color: var(--ink);
321
+ font-family: var(--mono);
322
+ font-size: 13px;
323
+ }
324
+
325
+ .scan {
326
+ height: 8px;
327
+ margin-top: 22px;
328
+ border-radius: 999px;
329
+ background: rgba(255,255,255,0.07);
330
+ overflow: hidden;
331
+ }
332
+
333
+ .scan span {
334
+ display: block;
335
+ width: 72%;
336
+ height: 100%;
337
+ border-radius: inherit;
338
+ background: linear-gradient(90deg, transparent, var(--accent), var(--signal));
339
+ box-shadow: 0 0 22px rgba(58,167,255,0.46);
340
+ }
341
+
342
+ .section {
343
+ margin-top: 24px;
344
+ padding: clamp(24px, 3vw, 34px);
345
+ }
346
+
347
+ .section-head {
348
+ display: grid;
349
+ grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
350
+ gap: 24px;
351
+ align-items: end;
352
+ margin-bottom: 24px;
353
+ }
354
+
355
+ h2 {
356
+ margin-bottom: 0;
357
+ font-size: clamp(28px, 3.4vw, 46px);
358
+ line-height: 1.12;
359
+ letter-spacing: 0;
360
+ text-wrap: balance;
361
+ }
362
+
363
+ .section-head p {
364
+ margin-bottom: 0;
365
+ color: var(--muted);
366
+ font-size: 16px;
367
+ line-height: 1.62;
368
+ font-weight: 600;
369
+ }
370
+
371
+ .cards {
372
+ display: grid;
373
+ grid-template-columns: repeat(3, 1fr);
374
+ gap: 14px;
375
+ }
376
+
377
+ .card {
378
+ min-height: 210px;
379
+ padding: 20px;
380
+ border: 1px solid var(--line);
381
+ border-radius: 16px;
382
+ background:
383
+ linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018)),
384
+ rgba(8,17,31,0.58);
385
+ }
386
+
387
+ .card h3 {
388
+ margin-bottom: 12px;
389
+ font-size: 20px;
390
+ }
391
+
392
+ .card p {
393
+ color: var(--muted);
394
+ line-height: 1.58;
395
+ font-weight: 600;
396
+ }
397
+
398
+ .tweaks-panel {
399
+ position: fixed;
400
+ right: 18px;
401
+ bottom: 18px;
402
+ z-index: 20;
403
+ display: none;
404
+ gap: 10px;
405
+ width: 250px;
406
+ padding: 14px;
407
+ border: 1px solid var(--line-strong);
408
+ border-radius: 16px;
409
+ color: var(--ink);
410
+ background: rgba(5, 8, 18, 0.88);
411
+ box-shadow: 0 18px 60px rgba(0,0,0,0.42);
412
+ }
413
+
414
+ .tweaks-panel label {
415
+ display: grid;
416
+ gap: 6px;
417
+ color: var(--muted);
418
+ font-size: 13px;
419
+ }
420
+
421
+ @media (max-width: 860px) {
422
+ .page { width: min(100vw - 24px, 680px); padding-top: 14px; }
423
+ .nav { align-items: flex-start; flex-direction: column; }
424
+ .nav-actions { justify-content: flex-start; }
425
+ .hero, .section-head { grid-template-columns: 1fr; }
426
+ .hero-main, .system-panel { min-height: auto; }
427
+ .metrics, .cards { grid-template-columns: 1fr; }
428
+ .orbit { height: 280px; }
429
+ h1 { font-size: clamp(38px, 10.5vw, 54px); }
430
+ body::before { background-size: 54px 54px; opacity: 0.62; }
431
+ }
432
+ </style>
433
+ </head>
434
+ <body>
435
+ <main class="page" data-screen-label="01 星云控制台官网">
436
+ <nav class="nav glass" aria-label="主导航">
437
+ <div class="brand">
438
+ <div class="mark" aria-hidden="true"></div>
439
+ <div>
440
+ <strong>澜核智能</strong>
441
+ <span>Nebula Console 星云控制台</span>
442
+ </div>
443
+ </div>
444
+ <div class="nav-actions">
445
+ <span class="chip online">系统在线</span>
446
+ <span class="chip">模型云</span>
447
+ <span class="chip">数据编排</span>
448
+ <span class="chip">安全边界</span>
449
+ </div>
450
+ </nav>
451
+
452
+ <section class="hero">
453
+ <div class="hero-main glass">
454
+ <p class="eyebrow">蓝黑科技 / 深玻璃产品界面</p>
455
+ <h1><span class="nowrap">企业 AI 平台,</span><span class="nowrap">进入实时</span><span class="nowrap">观测轨道。</span></h1>
456
+ <p class="lead">这张首页样张测试星云控制台 VI:科幻感必须服务信息结构,透明层必须保证中文可读,蓝光只用于行动、在线状态和系统焦点。</p>
457
+ <div class="actions">
458
+ <button class="button">预约平台演示</button>
459
+ <button class="button secondary">查看控制台样张</button>
460
+ </div>
461
+ <div class="metrics">
462
+ <div class="metric"><strong>42ms</strong><span>平均链路延迟</span></div>
463
+ <div class="metric"><strong>128</strong><span>在线推理节点</span></div>
464
+ <div class="metric"><strong>99.95%</strong><span>任务可用性</span></div>
465
+ </div>
466
+ </div>
467
+
468
+ <aside class="system-panel glass" aria-label="系统示意">
469
+ <div class="orbit">
470
+ <span class="node"></span>
471
+ <span class="node"></span>
472
+ <span class="node"></span>
473
+ </div>
474
+ <div class="readout">
475
+ <div class="readout-row"><span>数据入口</span><strong>12 条通道</strong></div>
476
+ <div class="readout-row"><span>模型编排</span><strong>7 个任务组</strong></div>
477
+ <div class="readout-row"><span>安全策略</span><strong>持续校验</strong></div>
478
+ <div class="readout-row"><span>部署状态</span><strong>可发布</strong></div>
479
+ </div>
480
+ <div class="scan"><span></span></div>
481
+ </aside>
482
+ </section>
483
+
484
+ <section class="section glass">
485
+ <div class="section-head">
486
+ <h2>透明感来自层级,不来自把文字变淡。</h2>
487
+ <p>首页使用深色 surface 承托内容,用网格和轨道线表达系统空间;主要阅读区保持稳定背景,避免普通屏幕上出现低对比科幻字。</p>
488
+ </div>
489
+ <div class="cards">
490
+ <article class="card">
491
+ <h3>系统观测</h3>
492
+ <p>把模型、任务、数据源和告警合成一张可读的运行图,而不是堆叠无意义的装饰线框。</p>
493
+ </article>
494
+ <article class="card">
495
+ <h3>可信编排</h3>
496
+ <p>用状态条、节点光和行动按钮突出当前动作,帮助团队判断下一步,而不是制造视觉噪声。</p>
497
+ </article>
498
+ <article class="card">
499
+ <h3>商用边界</h3>
500
+ <p>保留飞船控制台的透明层灵感,但页面结构仍是成熟科技公司的产品官网。</p>
501
+ </article>
502
+ </div>
503
+ </section>
504
+ </main>
505
+
506
+ <aside class="tweaks-panel" aria-label="调整">
507
+ <strong>调整</strong>
508
+ <label>主蓝色 <input data-tweak-accent type="color" value="#3aa7ff"></label>
509
+ <label>透明层级 <input data-tweak-glass type="range" min="58" max="86" value="72"></label>
510
+ <label>网格强度 <input data-tweak-grid type="range" min="8" max="28" value="18"></label>
511
+ </aside>
512
+
513
+ <script>
514
+ const initialTweaks = /*EDITMODE-BEGIN*/{
515
+ "accentColor": "#3aa7ff",
516
+ "glassAlpha": 72,
517
+ "gridStrength": 18
518
+ }/*EDITMODE-END*/;
519
+ window.UI_DESIGN_TWEAKS = initialTweaks;
520
+
521
+ const root = document.documentElement;
522
+ const panel = document.querySelector('.tweaks-panel');
523
+
524
+ function applyTweaks(values) {
525
+ if (values.accentColor) root.style.setProperty('--accent', values.accentColor);
526
+ if (values.glassAlpha) root.style.setProperty('--glass-alpha', String(Number(values.glassAlpha) / 100));
527
+ if (values.gridStrength) root.style.setProperty('--grid-alpha', String(Number(values.gridStrength) / 100));
528
+ }
529
+
530
+ window.addEventListener('message', (event) => {
531
+ const data = event.data || {};
532
+ if (data.type === '__activate_edit_mode') panel.style.display = 'grid';
533
+ if (data.type === '__deactivate_edit_mode') panel.style.display = 'none';
534
+ if (data.type === '__edit_mode_set_keys' && data.keys) applyTweaks(data.keys);
535
+ });
536
+
537
+ document.querySelector('[data-tweak-accent]').addEventListener('input', (event) => {
538
+ const keys = { accentColor: event.target.value };
539
+ applyTweaks(keys);
540
+ window.parent.postMessage({ type: '__edit_mode_set_keys', keys }, '*');
541
+ });
542
+ document.querySelector('[data-tweak-glass]').addEventListener('input', (event) => {
543
+ const keys = { glassAlpha: Number(event.target.value) };
544
+ applyTweaks(keys);
545
+ window.parent.postMessage({ type: '__edit_mode_set_keys', keys }, '*');
546
+ });
547
+ document.querySelector('[data-tweak-grid]').addEventListener('input', (event) => {
548
+ const keys = { gridStrength: Number(event.target.value) };
549
+ applyTweaks(keys);
550
+ window.parent.postMessage({ type: '__edit_mode_set_keys', keys }, '*');
551
+ });
552
+
553
+ window.parent.postMessage({ type: '__edit_mode_available' }, '*');
554
+ </script>
555
+ </body>
556
+ </html>
@@ -0,0 +1,29 @@
1
+ # 星云控制台端到端测试题
2
+
3
+ 使用 `Nebula Console / 星云控制台` VI,为一家原创中文科技公司“澜核智能”生成两个 HTML 样张:
4
+
5
+ 1. 官网首页:用于展示 AI 基础设施平台,首屏要有明确品牌、中文价值主张、行动按钮、能力模块和系统视觉母题。
6
+ 2. AI 控制台:用于展示模型部署、任务队列、节点状态、风险提示和实时监控,必须像可用产品界面,而不是电影道具。
7
+
8
+ 视觉要求:
9
+
10
+ - 蓝黑科技、深色半透明、冷白文字、电光蓝和青蓝信号。
11
+ - 可以借鉴透明显示器、飞船控制台、坐标网格、扫描状态条和星图节点,但必须落到普通网页与产品 UI。
12
+ - 不能像游戏 HUD、赛博朋克夜店风或纯电影道具界面。
13
+ - 半透明必须保证中文可读,不能让背景光和网格干扰文字。
14
+ - 移动端要减少装饰层,保证可读、可点、无横向溢出。
15
+
16
+ 内容要求:
17
+
18
+ - 所有用户可见文案默认简体中文。
19
+ - 不使用真实科技公司名称、标识、产品名或专有 UI。
20
+ - 两个 HTML 都包含 `data-screen-label`。
21
+ - 两个 HTML 都包含唯一合法的 `EDITMODE` JSON block。
22
+ - 暴露 Tweaks:主蓝色、透明层级、网格强度或发光强度。
23
+
24
+ 验证要求:
25
+
26
+ - 分别运行 `check_ui_artifact.py`。
27
+ - 对模板、测试题、评审报告和两个 HTML 运行 `check_language_policy.py`。
28
+ - 浏览器打开两个页面,保存桌面和移动端截图。
29
+ - 评审中明确回答:是否像成熟科技公司、是否过度 HUD、文字是否清楚、蓝黑层级是否成立。
@@ -0,0 +1,57 @@
1
+ # 星云控制台首轮端到端评审
2
+
3
+ ## 测试目标
4
+
5
+ 本轮验证第四个 VI 模板 `Nebula Console`,中文名“星云控制台”。目标是把“蓝黑科技、深色半透明、透明显示器灵感、飞船界面灵感”转译成真实科技公司可用的网页和产品控制台,而不是电影道具或游戏界面。
6
+
7
+ ## 执行结果
8
+
9
+ - 已新增 `references/vi-nebula-console.md`。
10
+ - 已更新 `SKILL.md` 的视觉模板库,加入星云控制台模板。
11
+ - 已在 `evals/evals.json` 增加星云控制台测试题。
12
+ - 已生成两个样张:`outputs/homepage.html` 和 `outputs/console.html`。
13
+ - 已保存四张截图:官网桌面、官网移动端、控制台桌面、控制台移动端。
14
+
15
+ ## 自动检查
16
+
17
+ - `quick_validate.py`:通过。
18
+ - `check_ui_artifact.py`:两个 HTML 均通过,无阻断问题;脚本提示低透明玻璃需要注意可读性,截图复核后文字仍清楚。
19
+ - `check_language_policy.py`:通过,界面和文档默认简体中文。
20
+ - 浏览器渲染:两个页面桌面和移动端均无控制台错误。
21
+ - 响应式检查:两个页面在 1280px 桌面和 390px 移动视口均无横向溢出。
22
+
23
+ ## 视觉评分
24
+
25
+ | 维度 | 官网首页 | AI 控制台 | 说明 |
26
+ | --- | ---: | ---: | --- |
27
+ | 指令对齐 | 9 | 9 | 蓝黑、半透明、冷蓝高光、飞船界面灵感都明确体现。 |
28
+ | 商用品质 | 8 | 9 | 控制台更成熟;官网首页更偏视觉展示,但仍像科技公司产品页。 |
29
+ | 中文可读性 | 8 | 9 | 主要文字清楚;首页 H1 已通过不换行片段修正中文断行。 |
30
+ | 蓝黑层级 | 9 | 9 | 深空背景、深玻璃面板、抬升区域和边线区分清楚。 |
31
+ | 科幻克制 | 8 | 9 | 网格、轨道和扫描光带有科技感,但没有堆成游戏界面。 |
32
+ | 移动端 | 8 | 8 | 无溢出,首屏信息可读;长页面仍可进一步压缩信息密度。 |
33
+
34
+ 综合评分:官网首页 8.3 / 10,AI 控制台 8.8 / 10。
35
+
36
+ ## 结论
37
+
38
+ 这版可以作为第四个 VI 模板进入模板库。它和 Aqua Glass 的区别清楚:Aqua 是浅色通透产品感,Nebula Console 是深色科技半透明系统感。它也不同于 Obsidian Optics:黑曜影像强调专业硬件和红色信号,星云控制台强调科技公司、AI 平台、云系统和蓝青在线状态。
39
+
40
+ 需要保留的关键规则:
41
+
42
+ - 半透明必须有稳定深色底,不让中文直接漂在复杂背景上。
43
+ - 蓝光和青蓝只服务行动、在线状态、扫描过程和关键节点。
44
+ - 网格、轨道、扫描线必须服务结构,不能变成满屏装饰。
45
+ - 移动端减少装饰层,优先保证中文阅读和点击目标。
46
+
47
+ ## 已发现并修正的问题
48
+
49
+ - 测试题里曾出现不必要英文 `review`,已改为“评审报告”。
50
+ - 官网首页移动端标题最初有中文断行风险,已使用不换行片段保护“企业 AI 平台”等关键词。
51
+ - 初次桌面截图受浏览器窗口影响只有 699px,已改用 1280px 明确桌面视口重拍。
52
+
53
+ ## 下一轮建议
54
+
55
+ - 给星云控制台增加一个 16:9 deck 样张,测试它是否适合科技发布会演示。
56
+ - 后续可以在检查脚本里增加“过度 HUD 风险”人工清单:过多准星、满屏线框、文字低对比、装饰多于信息。
57
+ - 如果要用于更严肃的 B2B 产品,可进一步降低背景网格强度,提高主面板不透明度。
@@ -0,0 +1,33 @@
1
+ {
2
+ "desktopInfo": {
3
+ "clientWidth": 1005,
4
+ "h1": "轻量机身,保留电影级画面控制。",
5
+ "h1Height": 179.0625,
6
+ "hasHorizontalOverflow": false,
7
+ "heroColumns": "493.477px 455.516px",
8
+ "lang": "zh-CN",
9
+ "panelCount": 15,
10
+ "screenLabel": "01 黑曜影像样张",
11
+ "scrollWidth": 1005,
12
+ "title": "Obsidian Optics 黑曜影像样张",
13
+ "tweakKeys": [],
14
+ "viewport": {
15
+ "height": 874,
16
+ "width": 1005
17
+ }
18
+ },
19
+ "desktopLogs": [],
20
+ "mobileInfo": {
21
+ "clientWidth": 390,
22
+ "h1Height": 145.9921875,
23
+ "hasHorizontalOverflow": false,
24
+ "note": "移动端最终截图使用首屏截图,避免当前浏览器 fullPage 拼接重复。",
25
+ "scrollWidth": 390,
26
+ "viewport": {
27
+ "height": 980,
28
+ "width": 390
29
+ }
30
+ },
31
+ "mobileLogs": [],
32
+ "runtimeNote": "当前 in-app browser 的只读 evaluate 环境缺少 Function/window.postMessage,并且无法读取自定义 window.UI_DESIGN_TWEAKS;HTML 静态检查已确认 EDITMODE JSON block 唯一合法。"
33
+ }
@@ -0,0 +1,6 @@
1
+ 通过: minimal-agent/skills/ui-design/SKILL.md
2
+ 通过: minimal-agent/skills/ui-design/references/vi-obsidian-optics.md
3
+ 通过: minimal-agent/skills/ui-design/evals/evals.json
4
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/prompt.md
5
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/outputs/index.html
6
+ 通过: minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/review.md