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,656 @@
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>Aqua Glass 浅色 VI 识别样张</title>
7
+ <style>
8
+ :root {
9
+ --ink: #0a1222;
10
+ --ink-soft: #1d2b42;
11
+ --muted: #506176;
12
+ --paper: #f6fbff;
13
+ --paper-blue: #eaf6ff;
14
+ --surface: rgba(255, 255, 255, 0.68);
15
+ --surface-strong: rgba(255, 255, 255, 0.88);
16
+ --line: rgba(10, 18, 34, 0.1);
17
+ --highlight: rgba(255, 255, 255, 0.8);
18
+ --accent: #2f80ed;
19
+ --signal: #20b6aa;
20
+ --amber: #d89a24;
21
+ --danger: #d94a4a;
22
+ --shadow: rgba(31, 85, 139, 0.16);
23
+ --radius-lg: 22px;
24
+ --radius-md: 16px;
25
+ font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Inter", sans-serif;
26
+ }
27
+
28
+ * {
29
+ box-sizing: border-box;
30
+ }
31
+
32
+ body {
33
+ margin: 0;
34
+ min-height: 100vh;
35
+ background:
36
+ linear-gradient(115deg, rgba(255, 255, 255, 0.92), rgba(234, 246, 255, 0.78) 44%, rgba(246, 251, 255, 0.95)),
37
+ radial-gradient(circle at 18% 8%, rgba(47, 128, 237, 0.18), transparent 28%),
38
+ radial-gradient(circle at 88% 18%, rgba(32, 182, 170, 0.16), transparent 26%),
39
+ var(--paper);
40
+ color: var(--ink);
41
+ }
42
+
43
+ body::before {
44
+ content: "";
45
+ position: fixed;
46
+ inset: 0;
47
+ z-index: -1;
48
+ background-image:
49
+ linear-gradient(rgba(10, 18, 34, 0.045) 1px, transparent 1px),
50
+ linear-gradient(90deg, rgba(10, 18, 34, 0.045) 1px, transparent 1px);
51
+ background-size: 52px 52px;
52
+ mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
53
+ }
54
+
55
+ button,
56
+ input {
57
+ font: inherit;
58
+ }
59
+
60
+ .page {
61
+ width: min(1180px, calc(100vw - 32px));
62
+ margin: 0 auto;
63
+ padding: 28px 0 52px;
64
+ }
65
+
66
+ .glass {
67
+ border: 1px solid var(--line);
68
+ background: var(--surface);
69
+ backdrop-filter: blur(22px) saturate(1.16);
70
+ box-shadow: 0 22px 70px var(--shadow);
71
+ }
72
+
73
+ .nav {
74
+ position: sticky;
75
+ top: 16px;
76
+ z-index: 10;
77
+ display: flex;
78
+ align-items: center;
79
+ justify-content: space-between;
80
+ gap: 20px;
81
+ padding: 12px 14px;
82
+ border-radius: 999px;
83
+ }
84
+
85
+ .brand {
86
+ display: flex;
87
+ align-items: center;
88
+ gap: 11px;
89
+ min-width: 0;
90
+ }
91
+
92
+ .mark {
93
+ width: 38px;
94
+ height: 38px;
95
+ border-radius: 14px;
96
+ border: 1px solid rgba(10, 18, 34, 0.12);
97
+ background:
98
+ linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(206, 235, 255, 0.66)),
99
+ radial-gradient(circle at 65% 35%, var(--signal), transparent 22%);
100
+ box-shadow: inset 0 1px 0 var(--highlight), 0 12px 26px rgba(47, 128, 237, 0.16);
101
+ }
102
+
103
+ .brand strong {
104
+ display: block;
105
+ font-size: 15px;
106
+ letter-spacing: 0;
107
+ }
108
+
109
+ .brand span {
110
+ display: block;
111
+ margin-top: 2px;
112
+ color: var(--muted);
113
+ font-size: 12px;
114
+ }
115
+
116
+ .nav-links {
117
+ display: flex;
118
+ gap: 6px;
119
+ align-items: center;
120
+ color: var(--muted);
121
+ font-size: 13px;
122
+ }
123
+
124
+ .nav-links span,
125
+ .pill {
126
+ border: 1px solid rgba(10, 18, 34, 0.08);
127
+ border-radius: 999px;
128
+ background: rgba(255, 255, 255, 0.48);
129
+ padding: 8px 12px;
130
+ white-space: nowrap;
131
+ }
132
+
133
+ .hero {
134
+ display: grid;
135
+ grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
136
+ gap: 24px;
137
+ align-items: stretch;
138
+ margin-top: 26px;
139
+ }
140
+
141
+ .hero-main {
142
+ border-radius: 30px;
143
+ padding: clamp(28px, 5vw, 60px);
144
+ background: var(--surface-strong);
145
+ overflow: hidden;
146
+ position: relative;
147
+ }
148
+
149
+ .hero-main::after {
150
+ content: "";
151
+ position: absolute;
152
+ right: -90px;
153
+ bottom: -110px;
154
+ width: 320px;
155
+ height: 320px;
156
+ border: 1px solid rgba(47, 128, 237, 0.16);
157
+ border-radius: 50%;
158
+ background:
159
+ repeating-linear-gradient(135deg, rgba(47, 128, 237, 0.12) 0 8px, transparent 8px 18px);
160
+ opacity: 0.56;
161
+ }
162
+
163
+ .eyebrow {
164
+ margin: 0 0 18px;
165
+ color: var(--accent);
166
+ font-size: 12px;
167
+ font-weight: 800;
168
+ letter-spacing: 0.08em;
169
+ }
170
+
171
+ h1,
172
+ h2,
173
+ h3,
174
+ p {
175
+ margin-top: 0;
176
+ }
177
+
178
+ h1 {
179
+ max-width: 760px;
180
+ margin-bottom: 22px;
181
+ color: var(--ink);
182
+ font-size: clamp(44px, 7vw, 92px);
183
+ line-height: 0.98;
184
+ letter-spacing: 0;
185
+ }
186
+
187
+ .lead {
188
+ max-width: 660px;
189
+ margin-bottom: 30px;
190
+ color: var(--muted);
191
+ font-size: clamp(16px, 1.8vw, 20px);
192
+ line-height: 1.62;
193
+ font-weight: 600;
194
+ }
195
+
196
+ .actions {
197
+ position: relative;
198
+ z-index: 1;
199
+ display: flex;
200
+ flex-wrap: wrap;
201
+ gap: 12px;
202
+ align-items: center;
203
+ }
204
+
205
+ .button {
206
+ border: 0;
207
+ border-radius: 999px;
208
+ padding: 13px 18px;
209
+ cursor: pointer;
210
+ font-weight: 800;
211
+ }
212
+
213
+ .button.primary {
214
+ background: linear-gradient(135deg, var(--accent), #5ca7ff);
215
+ color: white;
216
+ box-shadow: 0 18px 32px rgba(47, 128, 237, 0.24);
217
+ }
218
+
219
+ .button.secondary {
220
+ border: 1px solid rgba(10, 18, 34, 0.11);
221
+ background: rgba(255, 255, 255, 0.62);
222
+ color: var(--ink);
223
+ }
224
+
225
+ .assistant-card {
226
+ border-radius: 30px;
227
+ padding: 24px;
228
+ display: grid;
229
+ align-content: space-between;
230
+ min-height: 100%;
231
+ }
232
+
233
+ .search-box {
234
+ border: 1px solid rgba(10, 18, 34, 0.1);
235
+ border-radius: 22px;
236
+ padding: 16px;
237
+ background: rgba(255, 255, 255, 0.72);
238
+ }
239
+
240
+ .search-box small {
241
+ color: var(--muted);
242
+ font-weight: 700;
243
+ }
244
+
245
+ .query {
246
+ margin: 12px 0 0;
247
+ color: var(--ink);
248
+ font-size: 18px;
249
+ font-weight: 850;
250
+ line-height: 1.4;
251
+ }
252
+
253
+ .answer {
254
+ margin-top: 18px;
255
+ display: grid;
256
+ gap: 10px;
257
+ }
258
+
259
+ .answer div {
260
+ border-radius: 16px;
261
+ background: rgba(255, 255, 255, 0.58);
262
+ padding: 13px 14px;
263
+ color: var(--ink-soft);
264
+ line-height: 1.45;
265
+ font-weight: 650;
266
+ }
267
+
268
+ .status-row {
269
+ display: grid;
270
+ grid-template-columns: repeat(3, 1fr);
271
+ gap: 10px;
272
+ margin-top: 22px;
273
+ }
274
+
275
+ .status {
276
+ border-radius: 18px;
277
+ background: rgba(255, 255, 255, 0.5);
278
+ padding: 14px;
279
+ min-width: 0;
280
+ }
281
+
282
+ .status b {
283
+ display: block;
284
+ color: var(--ink);
285
+ font-size: 24px;
286
+ line-height: 1;
287
+ }
288
+
289
+ .status span {
290
+ display: block;
291
+ margin-top: 8px;
292
+ color: var(--muted);
293
+ font-size: 12px;
294
+ font-weight: 700;
295
+ line-height: 1.35;
296
+ }
297
+
298
+ .section {
299
+ margin-top: 24px;
300
+ border-radius: 28px;
301
+ padding: clamp(22px, 3vw, 32px);
302
+ }
303
+
304
+ .section-head {
305
+ display: flex;
306
+ justify-content: space-between;
307
+ gap: 18px;
308
+ align-items: end;
309
+ margin-bottom: 20px;
310
+ }
311
+
312
+ .section-head h2 {
313
+ margin-bottom: 0;
314
+ font-size: clamp(26px, 3vw, 40px);
315
+ line-height: 1.08;
316
+ letter-spacing: 0;
317
+ }
318
+
319
+ .section-head p {
320
+ max-width: 420px;
321
+ margin-bottom: 0;
322
+ color: var(--muted);
323
+ line-height: 1.55;
324
+ font-weight: 600;
325
+ }
326
+
327
+ .palette {
328
+ display: grid;
329
+ grid-template-columns: repeat(6, 1fr);
330
+ gap: 12px;
331
+ }
332
+
333
+ .swatch {
334
+ min-height: 150px;
335
+ border-radius: 20px;
336
+ border: 1px solid rgba(10, 18, 34, 0.1);
337
+ padding: 14px;
338
+ display: grid;
339
+ align-content: end;
340
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
341
+ }
342
+
343
+ .swatch b {
344
+ font-size: 14px;
345
+ }
346
+
347
+ .swatch span {
348
+ margin-top: 4px;
349
+ color: rgba(10, 18, 34, 0.66);
350
+ font-size: 12px;
351
+ font-weight: 700;
352
+ }
353
+
354
+ .system-grid {
355
+ display: grid;
356
+ grid-template-columns: 1fr 1fr 1fr;
357
+ gap: 14px;
358
+ }
359
+
360
+ .system-card {
361
+ border-radius: 22px;
362
+ padding: 20px;
363
+ background: rgba(255, 255, 255, 0.56);
364
+ border: 1px solid rgba(10, 18, 34, 0.08);
365
+ min-height: 210px;
366
+ }
367
+
368
+ .system-card h3 {
369
+ margin-bottom: 12px;
370
+ font-size: 19px;
371
+ }
372
+
373
+ .system-card p {
374
+ color: var(--muted);
375
+ line-height: 1.55;
376
+ font-weight: 600;
377
+ }
378
+
379
+ .type-sample {
380
+ font-size: clamp(30px, 4vw, 54px);
381
+ line-height: 1.05;
382
+ font-weight: 850;
383
+ letter-spacing: 0;
384
+ color: var(--ink);
385
+ }
386
+
387
+ .component-stack {
388
+ display: grid;
389
+ gap: 12px;
390
+ }
391
+
392
+ .notice {
393
+ border-radius: 16px;
394
+ border: 1px solid rgba(47, 128, 237, 0.18);
395
+ background: rgba(234, 246, 255, 0.68);
396
+ padding: 14px;
397
+ color: var(--ink-soft);
398
+ font-weight: 650;
399
+ line-height: 1.45;
400
+ }
401
+
402
+ .progress {
403
+ height: 10px;
404
+ border-radius: 999px;
405
+ background: rgba(10, 18, 34, 0.08);
406
+ overflow: hidden;
407
+ }
408
+
409
+ .progress span {
410
+ display: block;
411
+ width: 72%;
412
+ height: 100%;
413
+ border-radius: inherit;
414
+ background: linear-gradient(90deg, var(--accent), var(--signal));
415
+ }
416
+
417
+ .footer-note {
418
+ margin: 22px 0 0;
419
+ color: var(--muted);
420
+ font-size: 13px;
421
+ font-weight: 650;
422
+ line-height: 1.55;
423
+ }
424
+
425
+ .tweaks-panel {
426
+ position: fixed;
427
+ right: 18px;
428
+ bottom: 18px;
429
+ z-index: 20;
430
+ width: min(300px, calc(100vw - 36px));
431
+ display: none;
432
+ gap: 12px;
433
+ padding: 16px;
434
+ border-radius: 18px;
435
+ border: 1px solid var(--line);
436
+ background: rgba(255, 255, 255, 0.86);
437
+ box-shadow: 0 18px 52px var(--shadow);
438
+ backdrop-filter: blur(18px);
439
+ }
440
+
441
+ .tweaks-panel label {
442
+ display: grid;
443
+ gap: 6px;
444
+ color: var(--muted);
445
+ font-size: 13px;
446
+ font-weight: 700;
447
+ }
448
+
449
+ @media (max-width: 860px) {
450
+ .page {
451
+ width: min(100% - 24px, 680px);
452
+ padding-top: 14px;
453
+ }
454
+
455
+ .nav {
456
+ position: static;
457
+ align-items: flex-start;
458
+ border-radius: 24px;
459
+ }
460
+
461
+ .nav-links {
462
+ flex-wrap: wrap;
463
+ justify-content: flex-end;
464
+ }
465
+
466
+ .hero,
467
+ .system-grid {
468
+ grid-template-columns: 1fr;
469
+ }
470
+
471
+ .hero-main,
472
+ .assistant-card,
473
+ .section {
474
+ border-radius: 24px;
475
+ }
476
+
477
+ .hero-main::after {
478
+ opacity: 0.28;
479
+ right: -160px;
480
+ }
481
+
482
+ .palette {
483
+ grid-template-columns: repeat(2, 1fr);
484
+ }
485
+
486
+ .section-head {
487
+ display: block;
488
+ }
489
+
490
+ .section-head p {
491
+ margin-top: 10px;
492
+ }
493
+ }
494
+
495
+ @media (max-width: 520px) {
496
+ .nav {
497
+ display: grid;
498
+ }
499
+
500
+ .nav-links {
501
+ justify-content: flex-start;
502
+ }
503
+
504
+ h1 {
505
+ font-size: clamp(38px, 13vw, 58px);
506
+ }
507
+
508
+ .status-row {
509
+ grid-template-columns: 1fr;
510
+ }
511
+
512
+ .palette {
513
+ grid-template-columns: 1fr;
514
+ }
515
+ }
516
+ </style>
517
+ </head>
518
+ <body>
519
+ <main class="page" data-screen-label="01 Aqua Glass 识别样张">
520
+ <nav class="nav glass" aria-label="主导航">
521
+ <div class="brand">
522
+ <div class="mark" aria-hidden="true"></div>
523
+ <div>
524
+ <strong>澄知云</strong>
525
+ <span>Aqua Glass 视觉识别</span>
526
+ </div>
527
+ </div>
528
+ <div class="nav-links" aria-label="状态">
529
+ <span>知识库同步 96%</span>
530
+ <span>团队空间 18 个</span>
531
+ <span>AI 摘要已开启</span>
532
+ </div>
533
+ </nav>
534
+
535
+ <section class="hero">
536
+ <div class="hero-main glass">
537
+ <p class="eyebrow">浅蓝白玻璃风测试</p>
538
+ <h1>把团队知识整理成一张清澈、可搜索、可行动的工作界面。</h1>
539
+ <p class="lead">这张样张用于检验 Aqua Glass 的核心质量:浅色背景不能发灰,半透明面板不能糊,近黑文字必须在长标题、长正文和移动端都保持清楚。</p>
540
+ <div class="actions">
541
+ <button class="button primary" type="button">创建知识空间</button>
542
+ <button class="button secondary" type="button">查看视觉规范</button>
543
+ <span class="pill">近黑文字 / 浅蓝白背景 / 半透明层级</span>
544
+ </div>
545
+ </div>
546
+
547
+ <aside class="assistant-card glass" aria-label="AI 知识助手示例">
548
+ <div class="search-box">
549
+ <small>知识搜索</small>
550
+ <p class="query">“帮我找到上季度客户反馈里关于权限协作的三条主要问题。”</p>
551
+ </div>
552
+ <div class="answer">
553
+ <div>已归纳 42 条反馈,优先展示权限继承、外部成员邀请和审批链路。</div>
554
+ <div>建议新增一个“共享前检查”浮层,减少误分享和重复沟通。</div>
555
+ </div>
556
+ <div class="status-row">
557
+ <div class="status"><b>42</b><span>相关反馈</span></div>
558
+ <div class="status"><b>8.6</b><span>摘要置信度</span></div>
559
+ <div class="status"><b>3</b><span>建议动作</span></div>
560
+ </div>
561
+ </aside>
562
+ </section>
563
+
564
+ <section class="section glass" aria-label="色彩识别">
565
+ <div class="section-head">
566
+ <h2>色彩要像空气一样轻,但文字要像墨一样稳。</h2>
567
+ <p>这个版本把主文字略微压黑、玻璃面板提高到 68% 白色,避免浅蓝背景穿透后影响阅读。</p>
568
+ </div>
569
+ <div class="palette">
570
+ <div class="swatch" style="background:#0a1222;color:white"><b>主文字</b><span style="color:rgba(255,255,255,.72)">#0a1222</span></div>
571
+ <div class="swatch" style="background:#f6fbff"><b>冰雾白</b><span>#f6fbff</span></div>
572
+ <div class="swatch" style="background:#eaf6ff"><b>背景冷蓝</b><span>#eaf6ff</span></div>
573
+ <div class="swatch" style="background:#2f80ed;color:white"><b>清透蓝</b><span style="color:rgba(255,255,255,.74)">#2f80ed</span></div>
574
+ <div class="swatch" style="background:#20b6aa;color:white"><b>薄荷青</b><span style="color:rgba(255,255,255,.74)">#20b6aa</span></div>
575
+ <div class="swatch" style="background:rgba(255,255,255,.68)"><b>玻璃面板</b><span>白色 68%</span></div>
576
+ </div>
577
+ </section>
578
+
579
+ <section class="section glass" aria-label="组件识别">
580
+ <div class="section-head">
581
+ <h2>组件不靠装饰取胜,靠层级、间距和状态说明建立信任。</h2>
582
+ <p>这里故意把字体、提醒、进度和卡片放在一起,测试浅色系统能否承载真实产品信息。</p>
583
+ </div>
584
+ <div class="system-grid">
585
+ <article class="system-card">
586
+ <h3>标题样张</h3>
587
+ <div class="type-sample">清晰、通透、可操作。</div>
588
+ <p class="footer-note">中文标题字距为 0,使用近黑蓝,不用纯灰标题制造“高级但虚”的感觉。</p>
589
+ </article>
590
+ <article class="system-card component-stack">
591
+ <h3>状态组件</h3>
592
+ <div class="notice">AI 已完成 12 篇文档摘要,发现 3 个重复流程和 1 个权限风险。</div>
593
+ <div class="progress" aria-label="同步进度"><span></span></div>
594
+ <button class="button primary" type="button">生成整理建议</button>
595
+ </article>
596
+ <article class="system-card">
597
+ <h3>玻璃层级</h3>
598
+ <p>主内容使用更强白底,辅助浮层使用半透明白。只在需要表达上下文时叠层,不把每个盒子都做成同一种毛玻璃。</p>
599
+ <p class="footer-note">功能判断:如果用户眯眼才能读,玻璃透明度就太低;如果层级看不出前后,边框和阴影就太弱。</p>
600
+ </article>
601
+ </div>
602
+ </section>
603
+ </main>
604
+
605
+ <aside class="tweaks-panel" aria-label="调整">
606
+ <strong>调整</strong>
607
+ <label>强调色 <input data-tweak-primary type="color" value="#2f80ed"></label>
608
+ <label>玻璃透明度 <input data-tweak-surface type="range" min="58" max="90" value="68"></label>
609
+ </aside>
610
+
611
+ <script>
612
+ const UI_DESIGN_TWEAKS = /*EDITMODE-BEGIN*/{
613
+ "primaryColor": "#2f80ed",
614
+ "surfaceOpacity": 68
615
+ }/*EDITMODE-END*/;
616
+
617
+ const root = document.documentElement;
618
+ const panel = document.querySelector('.tweaks-panel');
619
+
620
+ function applyTweaks(values) {
621
+ if (values.primaryColor) root.style.setProperty('--accent', values.primaryColor);
622
+ if (values.surfaceOpacity) {
623
+ const alpha = Number(values.surfaceOpacity) / 100;
624
+ root.style.setProperty('--surface', `rgba(255, 255, 255, ${alpha})`);
625
+ }
626
+ }
627
+
628
+ window.addEventListener('message', (event) => {
629
+ const data = event.data || {};
630
+ if (data.type === '__activate_edit_mode') {
631
+ panel.style.display = 'grid';
632
+ }
633
+ if (data.type === '__deactivate_edit_mode') {
634
+ panel.style.display = 'none';
635
+ }
636
+ if (data.type === '__edit_mode_set_keys' && data.keys) {
637
+ applyTweaks(data.keys);
638
+ }
639
+ });
640
+
641
+ document.querySelector('[data-tweak-primary]').addEventListener('input', (event) => {
642
+ const keys = { primaryColor: event.target.value };
643
+ applyTweaks(keys);
644
+ window.parent.postMessage({ type: '__edit_mode_set_keys', keys }, '*');
645
+ });
646
+
647
+ document.querySelector('[data-tweak-surface]').addEventListener('input', (event) => {
648
+ const keys = { surfaceOpacity: Number(event.target.value) };
649
+ applyTweaks(keys);
650
+ window.parent.postMessage({ type: '__edit_mode_set_keys', keys }, '*');
651
+ });
652
+
653
+ window.parent.postMessage({ type: '__edit_mode_available' }, '*');
654
+ </script>
655
+ </body>
656
+ </html>
@@ -0,0 +1,12 @@
1
+ # Aqua Glass 浅色 VI 测试题
2
+
3
+ 使用 `ui-design` skill 和 `references/vi-aqua-glass.md`,为一个 AI 知识库产品创建一个简单的中文 HTML 页面,用来测试浅蓝白玻璃风 VI 的视觉识别效果。
4
+
5
+ 要求:
6
+
7
+ - 页面必须使用简体中文,保留必要英文名称 `Aqua Glass` 和 `AI`。
8
+ - 风格要浅色、通透、现代、玻璃半透明、黑字高可读。
9
+ - 页面需要包含首屏、色彩识别、字体样张、组件样张和状态信息。
10
+ - 特意放入较长中文标题和正文,检查移动端是否可读、是否溢出。
11
+ - 暴露至少一个 Tweaks 设计维度,用于调整强调色或玻璃透明度。
12
+ - 运行 `check_ui_artifact.py`、`check_language_policy.py`,并用浏览器截图检查桌面和移动端。