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.
- package/README.md +14 -12
- package/package.json +34 -1
- package/plugins/cron-runner/.claude-plugin/plugin.json +5 -0
- package/plugins/cron-runner/commands/cron.md +26 -0
- package/plugins/cron-runner/commands/crons.md +7 -0
- package/plugins/cron-runner/plugin.js +34 -0
- package/plugins/cron-runner/src/commands.js +348 -0
- package/plugins/cron-runner/src/cronTime.js +148 -0
- package/plugins/cron-runner/src/lock.js +68 -0
- package/plugins/cron-runner/src/runs.js +89 -0
- package/plugins/cron-runner/src/scheduleEngine.js +72 -0
- package/plugins/cron-runner/src/scheduler.js +355 -0
- package/plugins/cron-runner/src/schema.js +140 -0
- package/plugins/cron-runner/src/service.js +167 -0
- package/plugins/cron-runner/src/store.js +298 -0
- package/plugins/cron-runner/src/types.js +1 -0
- package/plugins/workflow-runner/commands/workflow.md +4 -4
- package/plugins/workflow-runner/commands/workflows.md +1 -1
- package/plugins/workflow-runner/plugin.js +3 -1
- package/plugins/workflow-runner/src/agentCommon.js +249 -51
- package/plugins/workflow-runner/src/dslManifest.js +72 -0
- package/plugins/workflow-runner/src/expressions.js +198 -15
- package/plugins/workflow-runner/src/index.js +40 -8
- package/plugins/workflow-runner/src/jsonPayload.js +1 -1
- package/plugins/workflow-runner/src/loader.js +286 -72
- package/plugins/workflow-runner/src/multimodal.js +37 -0
- package/plugins/workflow-runner/src/recovery.js +49 -39
- package/plugins/workflow-runner/src/runner.js +802 -287
- package/plugins/workflow-runner/src/stepExecutors/agent.js +157 -39
- package/plugins/workflow-runner/src/stepExecutors/assert.js +16 -3
- package/plugins/workflow-runner/src/stepExecutors/llm.js +60 -111
- package/plugins/workflow-runner/src/stepExecutors/skill.js +47 -47
- package/plugins/workflow-runner/src/stepExecutors/tool.js +76 -10
- package/plugins/workflow-runner/src/stepExecutors/verify.js +27 -10
- package/plugins/workflow-runner/src/taskIdentity.js +296 -0
- package/plugins/workflow-runner/src/types.js +19 -9
- package/plugins/workflow-runner/src/workflowState.js +516 -33
- package/skills/adversarial-review/SKILL.md +0 -1
- package/skills/ai-image/SKILL.md +89 -0
- package/skills/ai-image/scripts/generate.mjs +497 -0
- package/skills/ai-image/scripts/generate_from_plan.mjs +469 -0
- package/skills/ai-image/scripts/generate_from_plan_test.mjs +223 -0
- package/skills/ai-image/scripts/generate_test.mjs +74 -0
- package/skills/browser-automation/SKILL.md +47 -0
- package/skills/docx/SKILL.md +25 -3
- package/skills/docx/scripts/office/helpers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/skills/docx/scripts/office/helpers/__pycache__/merge_runs.cpython-314.pyc +0 -0
- package/skills/docx/scripts/office/helpers/__pycache__/simplify_redlines.cpython-314.pyc +0 -0
- package/skills/docx/scripts/office/validators/__pycache__/__init__.cpython-314.pyc +0 -0
- package/skills/docx/scripts/office/validators/__pycache__/base.cpython-314.pyc +0 -0
- package/skills/docx/scripts/office/validators/__pycache__/docx.cpython-314.pyc +0 -0
- package/skills/docx/scripts/office/validators/__pycache__/pptx.cpython-314.pyc +0 -0
- package/skills/docx/scripts/office/validators/__pycache__/redlining.cpython-314.pyc +0 -0
- package/skills/docx/scripts/opc_check.py +253 -0
- package/skills/image-gen-openrouter/SKILL.md +10 -2
- package/skills/image-stats/SKILL.md +65 -0
- package/skills/image-stats/scripts/__pycache__/image_stats.cpython-314.pyc +0 -0
- package/skills/image-stats/scripts/__pycache__/image_stats_test.cpython-314.pyc +0 -0
- package/skills/image-stats/scripts/image_stats.py +368 -0
- package/skills/image-stats/scripts/image_stats_test.py +181 -0
- package/skills/pptx/SKILL.md +123 -95
- package/skills/pptx/design.md +82 -0
- package/skills/pptx/examples/README.md +29 -0
- package/skills/pptx/examples/hybrid_example.mjs +107 -0
- package/skills/pptx/examples/hybrid_example.pptx +0 -0
- package/skills/pptx/pptxgenjs.md +41 -0
- package/skills/pptx/scripts/deck_helpers.mjs +224 -0
- package/skills/pptx/scripts/layout_lint.py +293 -0
- package/skills/pptx/scripts/layout_lint_test.py +160 -0
- package/skills/pptx/scripts/opc_check.py +339 -0
- package/skills/pptx/scripts/svg_fallback.mjs +145 -0
- package/skills/pptx/svg.md +67 -0
- package/skills/tts-zh/SKILL.md +19 -2
- package/skills/ui-design/SKILL.md +158 -0
- package/skills/ui-design/claude_design.md +309 -0
- package/skills/ui-design/evals/evals.json +254 -0
- package/skills/ui-design/references/aesthetic-direction.md +83 -0
- package/skills/ui-design/references/claude-design-protocol.md +36 -0
- package/skills/ui-design/references/design-context.md +53 -0
- package/skills/ui-design/references/design-execution-playbook.md +82 -0
- package/skills/ui-design/references/export-pptx.md +124 -0
- package/skills/ui-design/references/layout-composition.md +654 -0
- package/skills/ui-design/references/preview-feedback.md +37 -0
- package/skills/ui-design/references/source-image-layout.md +189 -0
- package/skills/ui-design/references/starter-components.md +78 -0
- package/skills/ui-design/references/vi-aegis-vector.md +144 -0
- package/skills/ui-design/references/vi-amber-prism.md +133 -0
- package/skills/ui-design/references/vi-aqua-glass.md +200 -0
- package/skills/ui-design/references/vi-comfort-vision.md +147 -0
- package/skills/ui-design/references/vi-ember-prism.md +140 -0
- package/skills/ui-design/references/vi-nebula-console.md +151 -0
- package/skills/ui-design/references/vi-obsidian-optics.md +139 -0
- package/skills/ui-design/references/vi-obsidian-xui.md +143 -0
- package/skills/ui-design/references/vi-precision-horizon-dark.md +117 -0
- package/skills/ui-design/references/vi-precision-horizon.md +215 -0
- package/skills/ui-design/references/vi-solar-relay.md +130 -0
- package/skills/ui-design/references/vi-template-workflow.md +48 -0
- package/skills/ui-design/references/vi-verdant-grid.md +141 -0
- package/skills/ui-design/references/vi-violet-meridian.md +172 -0
- package/skills/ui-design/scripts/__pycache__/assemble_material.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/assemble_material_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/chart_sanity_check.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/check_language_policy.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/check_ui_artifact.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/check_ui_artifact_pptx_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/deck_pages_check.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/deck_pages_check_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/deck_visual_style_check.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/deck_visual_style_check_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/design_budget_check.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/design_budget_check_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/design_repair_hints.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/design_repair_hints_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/design_style_check.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/design_style_check_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/draft_coverage_check.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/extract_source_assets.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/extract_source_assets_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/generated_image_review_collect.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/generated_image_review_collect_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/image_plan_lint.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/image_plan_lint_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/image_prompt_rewrite.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/image_prompt_rewrite_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/layout_balance.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/layout_balance_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/normalize_design_json.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/normalize_design_json_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/plan_source_layout.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/plan_source_layout_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/resolve_source_hint.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/resolve_source_hint_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/resolve_source_input.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/resolve_source_input_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/scaffold_ui_artifact.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/source_usage_check.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/source_usage_check_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/text_readability_pixel.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/visual_quality_gate.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/__pycache__/visual_quality_gate_test.cpython-314.pyc +0 -0
- package/skills/ui-design/scripts/assemble_material.py +217 -0
- package/skills/ui-design/scripts/assemble_material_test.py +149 -0
- package/skills/ui-design/scripts/browser_check_ui_artifact.mjs +221 -0
- package/skills/ui-design/scripts/chart_sanity_check.py +261 -0
- package/skills/ui-design/scripts/chart_sanity_check_test.py +165 -0
- package/skills/ui-design/scripts/check_language_policy.py +351 -0
- package/skills/ui-design/scripts/check_ui_artifact.py +435 -0
- package/skills/ui-design/scripts/check_ui_artifact_pptx_test.py +251 -0
- package/skills/ui-design/scripts/deck_pages_check.py +158 -0
- package/skills/ui-design/scripts/deck_pages_check_test.py +134 -0
- package/skills/ui-design/scripts/deck_visual_style_check.py +767 -0
- package/skills/ui-design/scripts/deck_visual_style_check_test.py +713 -0
- package/skills/ui-design/scripts/design_budget_check.py +271 -0
- package/skills/ui-design/scripts/design_budget_check_test.py +183 -0
- package/skills/ui-design/scripts/design_repair_hints.py +162 -0
- package/skills/ui-design/scripts/design_repair_hints_test.py +54 -0
- package/skills/ui-design/scripts/design_style_check.py +397 -0
- package/skills/ui-design/scripts/design_style_check_test.py +233 -0
- package/skills/ui-design/scripts/draft_coverage_check.py +184 -0
- package/skills/ui-design/scripts/draft_coverage_check_test.py +131 -0
- package/skills/ui-design/scripts/export_pptx_from_html.mjs +2367 -0
- package/skills/ui-design/scripts/extract_source_assets.py +607 -0
- package/skills/ui-design/scripts/extract_source_assets_test.py +256 -0
- package/skills/ui-design/scripts/generated_image_review_collect.py +206 -0
- package/skills/ui-design/scripts/generated_image_review_collect_test.py +91 -0
- package/skills/ui-design/scripts/image_plan_lint.py +571 -0
- package/skills/ui-design/scripts/image_plan_lint_test.py +515 -0
- package/skills/ui-design/scripts/image_prompt_rewrite.py +713 -0
- package/skills/ui-design/scripts/image_prompt_rewrite_test.py +966 -0
- package/skills/ui-design/scripts/layout_balance.py +881 -0
- package/skills/ui-design/scripts/layout_balance_test.py +927 -0
- package/skills/ui-design/scripts/normalize_design_json.py +272 -0
- package/skills/ui-design/scripts/normalize_design_json_test.py +119 -0
- package/skills/ui-design/scripts/plan_source_layout.py +1450 -0
- package/skills/ui-design/scripts/plan_source_layout_test.py +1136 -0
- package/skills/ui-design/scripts/resolve_source_input.py +270 -0
- package/skills/ui-design/scripts/resolve_source_input_test.py +98 -0
- package/skills/ui-design/scripts/scaffold_ui_artifact.py +377 -0
- package/skills/ui-design/scripts/source_usage_check.py +581 -0
- package/skills/ui-design/scripts/source_usage_check_test.py +427 -0
- package/skills/ui-design/scripts/text_readability_pixel.py +340 -0
- package/skills/ui-design/scripts/text_readability_pixel_test.py +219 -0
- package/skills/ui-design/scripts/visual_quality_gate.py +301 -0
- package/skills/ui-design/scripts/visual_quality_gate_test.py +233 -0
- package/skills/ui-design/tests/e2e/prompts/deck.md +19 -0
- package/skills/ui-design/tests/e2e/prompts/webpage.md +17 -0
- package/skills/ui-design/tests/e2e/render_check.mjs +101 -0
- package/skills/ui-design/tests/e2e/rubric.json +54 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/checks/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/checks/language-check.txt +12 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/checks/static-check.txt +15 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/outputs/index.html +837 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/prompt.md +12 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/review.md +21 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/aegis-vector-preview-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/outputs/homepage.html +373 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/outputs/platform.html +378 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/prompt.md +13 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/review.md +26 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/homepage/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/homepage/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/homepage/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/platform/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/platform/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/amber-prism-screenshot-check-1/screenshots/platform/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/outputs/index.html +656 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/prompt.md +12 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-1/render_check.mjs +67 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/outputs/index.html +587 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/prompt.md +12 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-iteration-2/review.md +36 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/checks/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/checks/language-check.txt +8 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/checks/static-check.txt +16 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/outputs/index.html +739 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/prompt.md +11 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/review.md +22 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/aqua-glass-volcano-refresh-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/checks/browser-check.json +52 -0
- package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/outputs/index.html +641 -0
- package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/comfort-vision-preview-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/outputs/index.html +467 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/screenshots/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-red-preview-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/outputs/homepage.html +373 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/outputs/platform.html +378 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/prompt.md +13 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/review.md +26 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/homepage/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/ember-prism-screenshot-check-1/screenshots/platform/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/checks/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/checks/language-check.txt +4 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/execution_notes.md +10 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/outputs/index.html +587 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/prompt.md +14 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/review.md +13 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/empty-agent-protocol-check/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/deck/checks/browser-check.json +24 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/deck/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/deck/execution_notes.md +21 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/deck/outputs/deck.html +451 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/deck/screenshots/slide-01.png +0 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/deck/screenshots/slide-02.png +0 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/review.md +79 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/checks/browser-check.json +26 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/execution_notes.md +20 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/outputs/index.html +534 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/iteration-1/webpage/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/browser-check.json +64 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/language-check.txt +7 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/quick-validate.txt +1 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/static-console.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/checks/static-homepage.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/outputs/console.html +600 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/outputs/homepage.html +556 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/prompt.md +29 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/review.md +57 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/console-desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/console-mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/homepage-desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/nebula-console-iteration-1/screenshots/homepage-mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/browser-check.json +33 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/language-check.txt +6 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/quick-validate.txt +1 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/outputs/index.html +682 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/prompt.md +13 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/review.md +59 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-optics-iteration-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/outputs/page-01.html +466 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/outputs/page-02.html +433 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/prompt.md +13 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/language-check.txt +3 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/execution_notes.md +24 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/outputs/index.html +723 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/prompt.md +15 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/review.md +26 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/browser-dark.json +49 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/browser-light.json +49 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/language-check.txt +11 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/static-dark.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/checks/static-light.txt +3 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/execution_notes.md +23 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/outputs/dark.html +392 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/outputs/light.html +476 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/prompt.md +23 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/review.md +41 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/dark/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/dark/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/light/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-2/screenshots/light/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/browser-check.json +54 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/language-check.txt +5 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/quick-validate.txt +1 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/outputs/index.html +765 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/prompt.md +15 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/review.md +59 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/solar-relay-iteration-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/outputs/index.html +508 -0
- package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/screenshots/browser-check.json +49 -0
- package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/verdant-grid-preview-1/screenshots/mobile.png +0 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/browser-check.json +54 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/language-check.txt +6 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/quick-validate.txt +1 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/checks/static-check.txt +2 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/outputs/index.html +788 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/prompt.md +14 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/review.md +60 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/screenshots/desktop.png +0 -0
- package/skills/ui-design/tests/e2e/runs/violet-meridian-iteration-1/screenshots/mobile.png +0 -0
- package/skills/video-compose/SKILL.md +8 -1
- package/skills/web-crawler/SKILL.md +70 -0
- package/skills/web-crawler/scripts/crawl.mjs +538 -0
- package/skills/web-crawler/scripts/crawl.test.mjs +204 -0
- package/skills/xlsx/SKILL.md +12 -0
- package/skills/xlsx/scripts/opc_check.py +253 -0
- package/src/advisorState.js +22 -0
- package/src/askBridge.js +97 -3
- package/src/bootstrap/workingDir.js +12 -1
- package/src/cli/args.js +17 -1
- package/src/cli/configMenu.js +236 -0
- package/src/cli/configWizard.js +7 -5
- package/src/cli/print.js +37 -4
- package/src/cli/streamJson.js +77 -24
- package/src/cli/wizards/advisorWizard.js +147 -0
- package/src/cli/wizards/fieldForm.js +149 -0
- package/src/cli/wizards/imageWizard.js +60 -0
- package/src/cli/wizards/openRouterWizard.js +23 -0
- package/src/cli/wizards/providerPresets.js +95 -0
- package/src/cli/wizards/providerWizard.js +219 -0
- package/src/cli/wizards/searchWizard.js +23 -0
- package/src/cli/wizards/ttsWizard.js +34 -0
- package/src/config/configFile.js +441 -83
- package/src/config/configService.js +446 -0
- package/src/config.js +24 -64
- package/src/context/agentHome.js +9 -0
- package/src/context/archive.js +7 -2
- package/src/context/compact.js +8 -5
- package/src/context/contextLock.js +81 -0
- package/src/context/persistContext.js +30 -11
- package/src/context/reactiveCompact.js +4 -2
- package/src/context/recentDirs.js +21 -61
- package/src/context/sessionPath.js +97 -23
- package/src/context/sessionRegistry.js +303 -24
- package/src/context/tokenCounter.js +18 -0
- package/src/context/workspaceIndex.js +731 -0
- package/src/infra/verification.js +28 -15
- package/src/llm/client.js +394 -159
- package/src/llm/providers/anthropicFormat.js +241 -0
- package/src/llm/providers/openaiFormat.js +190 -0
- package/src/loop.js +219 -32
- package/src/main.js +61 -11
- package/src/messageQueue.js +97 -0
- package/src/multimodal.js +203 -0
- package/src/plugin-sdk.js +15 -0
- package/src/plugins/commandRouter.js +3 -0
- package/src/plugins/hookEngine.js +5 -1
- package/src/plugins/pluginLifecycle.js +28 -0
- package/src/plugins/pluginLoader.js +2 -1
- package/src/plugins/pluginRunner.js +49 -21
- package/src/plugins/transcript.js +4 -3
- package/src/prompts/pluginList.js +5 -5
- package/src/prompts/projectInstructions.js +3 -3
- package/src/prompts/promptAssembly.js +133 -144
- package/src/prompts/skillList.js +12 -22
- package/src/prompts/system.js +0 -1
- package/src/session/runAgentTurn.js +70 -0
- package/src/session/runTurn.js +41 -6
- package/src/toolGate.js +17 -0
- package/src/tools/advisor/advisor.js +379 -0
- package/src/tools/agent/agent.js +555 -0
- package/src/tools/agent/agentTypes.js +59 -0
- package/src/tools/agent/coordinator.js +93 -0
- package/src/tools/agent/worktree.js +270 -0
- package/src/tools/ask/ask.js +7 -2
- package/src/tools/bash/bash.js +112 -18
- package/src/tools/download/download.js +144 -0
- package/src/tools/edit/edit.js +1 -0
- package/src/tools/edit/multi-edit.js +1 -0
- package/src/tools/genimage/genimage.js +242 -0
- package/src/tools/genspeech/genspeech.js +67 -0
- package/src/tools/glob/glob.js +1 -0
- package/src/tools/grep/grep.js +3 -0
- package/src/tools/grep/rgPath.js +2 -0
- package/src/tools/index.js +25 -2
- package/src/tools/read/read.js +1 -0
- package/src/tools/shared/killTree.js +52 -0
- package/src/tools/toolProgressBridge.js +48 -0
- package/src/tools/webbrowser/agentBrowserPath.js +258 -0
- package/src/tools/webbrowser/browser.js +59 -42
- package/src/tools/webbrowser/browserControl.js +118 -0
- package/src/tools/webbrowser/browserDaemon.js +97 -0
- package/src/tools/webbrowser/browserService.js +27 -0
- package/src/tools/webbrowser/browserStream.js +119 -0
- package/src/tools/webbrowser/webbrowser.js +699 -130
- package/src/tools/webfetch/webfetch.js +1 -0
- package/src/tools/websearch/websearch.js +134 -51
- package/src/tools/write/write.js +1 -0
- package/src/ui/App.js +249 -22
- package/src/ui/AskQuestion.js +29 -10
- package/src/ui/InputBox.js +104 -12
- package/src/ui/LiveArea.js +112 -19
- package/src/ui/MessageList.js +100 -14
- package/src/ui/ModelPicker.js +56 -0
- package/src/ui/QueuedMessagesBanner.js +14 -0
- package/src/ui/Root.js +18 -10
- package/src/ui/SessionPicker.js +102 -0
- package/src/ui/StatusLine.js +13 -4
- package/src/ui/WorkspacePicker.js +55 -0
- package/src/ui/figures.js +44 -0
- package/src/ui/hooks/askSlot.js +82 -0
- package/src/ui/hooks/useChat.js +358 -64
- package/src/ui/hooks/usePasteHandler.js +11 -1
- package/src/ui/hooks/useTextBuffer.js +1 -3
- package/src/ui/liveViewport.js +5 -1
- package/src/ui/markdown.js +206 -0
- package/src/ui/textBuffer.js +0 -7
- package/src/ui/theme.js +32 -0
- package/src/utils/debugLog.js +0 -4
- package/src/utils/resourcePaths.js +2 -2
- package/src/utils/stripThink.js +50 -0
- package/src/web/browserBridge.js +447 -0
- package/src/web/protocol.js +19 -0
- package/workflows/adaptive-research.yaml +13 -5
- package/workflows/book-review-short.yaml +36 -10
- package/workflows/e2e-write-greet.yaml +6 -2
- package/workflows/illustrate.yaml +227 -0
- package/workflows/plan.yaml +460 -179
- package/workflows/ppt.yaml +1659 -0
- package/workflows/ralph-loop.yaml +199 -0
- package/workflows/schema.json +81 -23
- package/workflows/webppt.yaml +496 -0
- package/workflows/word.yaml +710 -0
- package/workflows/youtube-shorts.yaml +46 -15
- package/MINIMAL-TRACE.md +0 -77
- package/plugins/HOW-TO-WRITE-A-PLUGIN.md +0 -186
- package/plugins/ralph-wiggum/.claude-plugin/plugin.json +0 -9
- package/plugins/ralph-wiggum/README.md +0 -197
- package/plugins/ralph-wiggum/commands/cancel-ralph.md +0 -18
- package/plugins/ralph-wiggum/commands/help.md +0 -137
- package/plugins/ralph-wiggum/commands/ralph-loop.md +0 -85
- package/plugins/ralph-wiggum/hooks/hooks.json +0 -15
- package/plugins/ralph-wiggum/hooks/stop-hook.sh +0 -191
- package/plugins/ralph-wiggum/plugin.js +0 -280
- package/plugins/ralph-wiggum/src/goalState.js +0 -258
- package/plugins/ralph-wiggum/src/sentinels.js +0 -76
- package/plugins/ralph-wiggum/src/stopHookRunner.js +0 -104
- package/plugins/ralph-wiggum/src/verificationGate.js +0 -202
- package/plugins/workflow-runner/src/miniReAct.js +0 -223
- package/plugins/workflow-runner/src/voteHelpers.js +0 -110
- package/skills/config/SKILL.md +0 -123
- package/skills/frontend-design/LICENSE.txt +0 -177
- package/skills/frontend-design/SKILL.md +0 -42
- package/src/ui/ProgressPanel.js +0 -54
- package/src/ui/StreamingBlock.js +0 -11
- package/src/ui/ToolStatus.js +0 -11
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>黑曜界面测试 02</title>
|
|
7
|
+
<style>
|
|
8
|
+
:root {
|
|
9
|
+
--ink: #f2f7ff;
|
|
10
|
+
--ink-soft: #d5e2f2;
|
|
11
|
+
--muted: #91a3b7;
|
|
12
|
+
--paper: #03050a;
|
|
13
|
+
--paper-blue: #060d18;
|
|
14
|
+
--surface: rgba(10, 18, 30, 0.84);
|
|
15
|
+
--surface-glass: rgba(16, 32, 52, 0.64);
|
|
16
|
+
--surface-raised: rgba(24, 42, 66, 0.9);
|
|
17
|
+
--line: rgba(148, 213, 255, 0.20);
|
|
18
|
+
--line-strong: rgba(148, 213, 255, 0.42);
|
|
19
|
+
--accent: #33b8ff;
|
|
20
|
+
--signal: #2ee8d6;
|
|
21
|
+
--matrix: #8dffb4;
|
|
22
|
+
--violet: #8b5cf6;
|
|
23
|
+
--amber: #f5b84b;
|
|
24
|
+
--danger: #ff4d5e;
|
|
25
|
+
--shadow: rgba(0, 10, 28, 0.68);
|
|
26
|
+
color-scheme: dark;
|
|
27
|
+
font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Inter, sans-serif;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
* { box-sizing: border-box; }
|
|
31
|
+
|
|
32
|
+
body {
|
|
33
|
+
margin: 0;
|
|
34
|
+
min-height: 100vh;
|
|
35
|
+
color: var(--ink);
|
|
36
|
+
background:
|
|
37
|
+
radial-gradient(circle at 78% 18%, rgba(46, 232, 214, 0.18), transparent 26%),
|
|
38
|
+
radial-gradient(circle at 36% 10%, rgba(51, 184, 255, 0.30), transparent 30%),
|
|
39
|
+
radial-gradient(circle at 50% 92%, rgba(139, 92, 246, 0.22), transparent 34%),
|
|
40
|
+
linear-gradient(160deg, #020309, var(--paper-blue) 48%, #010207);
|
|
41
|
+
overflow-x: hidden;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
body::before {
|
|
45
|
+
content: "";
|
|
46
|
+
position: fixed;
|
|
47
|
+
inset: 0;
|
|
48
|
+
pointer-events: none;
|
|
49
|
+
background:
|
|
50
|
+
linear-gradient(115deg, transparent 0 42%, rgba(51, 184, 255, 0.10) 42% 43%, transparent 43%),
|
|
51
|
+
repeating-linear-gradient(0deg, transparent 0 27px, rgba(148, 213, 255, 0.035) 28px 29px);
|
|
52
|
+
opacity: 0.7;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.screen {
|
|
56
|
+
position: relative;
|
|
57
|
+
width: min(1440px, 100%);
|
|
58
|
+
min-height: 100vh;
|
|
59
|
+
margin: 0 auto;
|
|
60
|
+
padding: 34px clamp(18px, 4vw, 64px) 40px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.shell {
|
|
64
|
+
display: grid;
|
|
65
|
+
grid-template-columns: 280px minmax(0, 1fr) 330px;
|
|
66
|
+
gap: 18px;
|
|
67
|
+
min-height: calc(100vh - 74px);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.panel,
|
|
71
|
+
.dock,
|
|
72
|
+
.viewport,
|
|
73
|
+
.module,
|
|
74
|
+
.glass-button {
|
|
75
|
+
border: 1px solid var(--line);
|
|
76
|
+
background: linear-gradient(145deg, rgba(24, 42, 66, 0.74), rgba(7, 14, 25, 0.70));
|
|
77
|
+
box-shadow: 0 26px 80px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
78
|
+
backdrop-filter: blur(22px);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.panel {
|
|
82
|
+
border-radius: 20px;
|
|
83
|
+
padding: 18px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.panel h2,
|
|
87
|
+
.module h3 {
|
|
88
|
+
margin: 0;
|
|
89
|
+
font-size: 18px;
|
|
90
|
+
letter-spacing: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.panel p,
|
|
94
|
+
.module p {
|
|
95
|
+
color: var(--muted);
|
|
96
|
+
line-height: 1.62;
|
|
97
|
+
font-size: 14px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.logo {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: 12px;
|
|
104
|
+
margin-bottom: 24px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.logo i {
|
|
108
|
+
width: 44px;
|
|
109
|
+
height: 44px;
|
|
110
|
+
border-radius: 11px;
|
|
111
|
+
border: 1px solid rgba(148, 213, 255, 0.32);
|
|
112
|
+
background:
|
|
113
|
+
linear-gradient(135deg, rgba(51, 184, 255, 0.92), rgba(139, 92, 246, 0.42)),
|
|
114
|
+
radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.96), transparent 15%);
|
|
115
|
+
box-shadow: 0 0 30px rgba(51, 184, 255, 0.42);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.nav-item {
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
justify-content: space-between;
|
|
122
|
+
min-height: 46px;
|
|
123
|
+
margin: 10px 0;
|
|
124
|
+
padding: 0 13px;
|
|
125
|
+
border: 1px solid rgba(148, 213, 255, 0.12);
|
|
126
|
+
border-radius: 12px;
|
|
127
|
+
color: var(--ink-soft);
|
|
128
|
+
background: rgba(3, 5, 10, 0.34);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.nav-item.active {
|
|
132
|
+
border-color: rgba(51, 184, 255, 0.54);
|
|
133
|
+
color: var(--ink);
|
|
134
|
+
background: linear-gradient(135deg, rgba(51, 184, 255, 0.20), rgba(46, 232, 214, 0.08));
|
|
135
|
+
box-shadow: inset 0 0 18px rgba(51, 184, 255, 0.12);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.viewport {
|
|
139
|
+
position: relative;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
border-radius: 24px;
|
|
142
|
+
padding: clamp(22px, 3vw, 34px);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.viewport::before {
|
|
146
|
+
content: "";
|
|
147
|
+
position: absolute;
|
|
148
|
+
inset: 22px;
|
|
149
|
+
pointer-events: none;
|
|
150
|
+
border: 1px solid rgba(148, 213, 255, 0.16);
|
|
151
|
+
clip-path: polygon(6% 0, 100% 0, 100% 90%, 92% 100%, 0 100%, 0 8%);
|
|
152
|
+
background:
|
|
153
|
+
radial-gradient(circle at 50% 44%, rgba(51, 184, 255, 0.16), transparent 28%),
|
|
154
|
+
repeating-linear-gradient(90deg, transparent 0 52px, rgba(148, 213, 255, 0.045) 53px 54px),
|
|
155
|
+
repeating-linear-gradient(0deg, transparent 0 52px, rgba(148, 213, 255, 0.045) 53px 54px);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.viewport-content {
|
|
159
|
+
position: relative;
|
|
160
|
+
z-index: 1;
|
|
161
|
+
display: grid;
|
|
162
|
+
min-height: 100%;
|
|
163
|
+
grid-template-rows: auto 1fr auto;
|
|
164
|
+
gap: 20px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.title-row {
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: flex-start;
|
|
170
|
+
justify-content: space-between;
|
|
171
|
+
gap: 18px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
h1 {
|
|
175
|
+
margin: 0;
|
|
176
|
+
max-width: 640px;
|
|
177
|
+
font-size: clamp(38px, 5vw, 68px);
|
|
178
|
+
line-height: 1.06;
|
|
179
|
+
letter-spacing: 0;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.chip {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
min-height: 38px;
|
|
186
|
+
padding: 0 13px;
|
|
187
|
+
border: 1px solid rgba(46, 232, 214, 0.36);
|
|
188
|
+
border-radius: 999px;
|
|
189
|
+
color: #c7fffb;
|
|
190
|
+
background: rgba(46, 232, 214, 0.10);
|
|
191
|
+
white-space: nowrap;
|
|
192
|
+
font-size: 13px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.core {
|
|
196
|
+
position: relative;
|
|
197
|
+
display: grid;
|
|
198
|
+
place-items: center;
|
|
199
|
+
min-height: 390px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.core-ring {
|
|
203
|
+
position: absolute;
|
|
204
|
+
width: min(52vw, 560px);
|
|
205
|
+
aspect-ratio: 1;
|
|
206
|
+
border: 1px solid rgba(51, 184, 255, 0.24);
|
|
207
|
+
border-radius: 50%;
|
|
208
|
+
box-shadow:
|
|
209
|
+
inset 0 0 42px rgba(51, 184, 255, 0.10),
|
|
210
|
+
0 0 70px rgba(51, 184, 255, 0.10);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.core-ring:nth-child(2) {
|
|
214
|
+
width: min(39vw, 420px);
|
|
215
|
+
border-style: dashed;
|
|
216
|
+
border-color: rgba(46, 232, 214, 0.28);
|
|
217
|
+
transform: rotate(18deg);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.core-card {
|
|
221
|
+
position: relative;
|
|
222
|
+
width: min(420px, 88%);
|
|
223
|
+
border: 1px solid var(--line-strong);
|
|
224
|
+
border-radius: 22px;
|
|
225
|
+
padding: 24px;
|
|
226
|
+
background: rgba(3, 5, 10, 0.78);
|
|
227
|
+
box-shadow: 0 26px 70px rgba(0, 10, 28, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
228
|
+
backdrop-filter: blur(24px);
|
|
229
|
+
text-align: center;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.core-card strong {
|
|
233
|
+
display: block;
|
|
234
|
+
margin-top: 4px;
|
|
235
|
+
font-size: clamp(46px, 6vw, 78px);
|
|
236
|
+
line-height: 1;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.core-card span {
|
|
240
|
+
color: var(--muted);
|
|
241
|
+
font-size: 14px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.button-row {
|
|
245
|
+
display: grid;
|
|
246
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
247
|
+
gap: 12px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.glass-button {
|
|
251
|
+
min-height: 58px;
|
|
252
|
+
border-radius: 16px;
|
|
253
|
+
color: var(--ink);
|
|
254
|
+
font: inherit;
|
|
255
|
+
font-weight: 750;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.glass-button.primary {
|
|
259
|
+
border-color: rgba(111, 217, 255, 0.72);
|
|
260
|
+
background: linear-gradient(135deg, rgba(51, 184, 255, 0.92), rgba(46, 232, 214, 0.42));
|
|
261
|
+
box-shadow: 0 0 34px rgba(51, 184, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.modules {
|
|
265
|
+
display: grid;
|
|
266
|
+
gap: 14px;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.module {
|
|
270
|
+
border-radius: 18px;
|
|
271
|
+
padding: 18px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.module-row {
|
|
275
|
+
display: flex;
|
|
276
|
+
align-items: center;
|
|
277
|
+
justify-content: space-between;
|
|
278
|
+
gap: 12px;
|
|
279
|
+
margin-top: 14px;
|
|
280
|
+
color: var(--ink-soft);
|
|
281
|
+
font-size: 14px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.dot {
|
|
285
|
+
width: 10px;
|
|
286
|
+
height: 10px;
|
|
287
|
+
border-radius: 50%;
|
|
288
|
+
background: var(--matrix);
|
|
289
|
+
box-shadow: 0 0 18px var(--matrix);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.dock {
|
|
293
|
+
position: absolute;
|
|
294
|
+
left: 50%;
|
|
295
|
+
bottom: 28px;
|
|
296
|
+
z-index: 2;
|
|
297
|
+
display: flex;
|
|
298
|
+
gap: 10px;
|
|
299
|
+
transform: translateX(-50%);
|
|
300
|
+
border-radius: 999px;
|
|
301
|
+
padding: 10px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.dock button {
|
|
305
|
+
min-width: 92px;
|
|
306
|
+
min-height: 44px;
|
|
307
|
+
border: 1px solid rgba(148, 213, 255, 0.18);
|
|
308
|
+
border-radius: 999px;
|
|
309
|
+
color: var(--ink-soft);
|
|
310
|
+
background: rgba(3, 5, 10, 0.52);
|
|
311
|
+
font: inherit;
|
|
312
|
+
font-weight: 700;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.dock button:first-child {
|
|
316
|
+
color: var(--ink);
|
|
317
|
+
background: linear-gradient(135deg, rgba(51, 184, 255, 0.42), rgba(46, 232, 214, 0.16));
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (max-width: 1100px) {
|
|
321
|
+
.shell { grid-template-columns: 1fr; }
|
|
322
|
+
.panel.side { display: none; }
|
|
323
|
+
.viewport { min-height: 760px; }
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
@media (max-width: 640px) {
|
|
327
|
+
.screen { padding: 16px 12px 28px; }
|
|
328
|
+
.panel { border-radius: 16px; }
|
|
329
|
+
.viewport { min-height: 740px; padding: 20px 16px; border-radius: 18px; }
|
|
330
|
+
.title-row { flex-direction: column; }
|
|
331
|
+
h1 { font-size: clamp(36px, 12vw, 48px); line-height: 1.08; }
|
|
332
|
+
.core { min-height: 340px; }
|
|
333
|
+
.core-ring { width: 86vw; }
|
|
334
|
+
.core-ring:nth-child(2) { width: 66vw; }
|
|
335
|
+
.button-row { grid-template-columns: 1fr 1fr; }
|
|
336
|
+
.glass-button { min-height: 52px; }
|
|
337
|
+
.dock {
|
|
338
|
+
position: static;
|
|
339
|
+
flex-wrap: wrap;
|
|
340
|
+
justify-content: center;
|
|
341
|
+
margin-top: 18px;
|
|
342
|
+
transform: none;
|
|
343
|
+
border-radius: 18px;
|
|
344
|
+
}
|
|
345
|
+
.dock button { flex: 1 1 120px; }
|
|
346
|
+
}
|
|
347
|
+
</style>
|
|
348
|
+
</head>
|
|
349
|
+
<body>
|
|
350
|
+
<main class="screen" data-screen-label="02 玻璃操作台">
|
|
351
|
+
<section class="shell">
|
|
352
|
+
<aside class="panel side" aria-label="系统侧栏">
|
|
353
|
+
<div class="logo">
|
|
354
|
+
<i aria-hidden="true"></i>
|
|
355
|
+
<div>
|
|
356
|
+
<h2>玄穹 XUI</h2>
|
|
357
|
+
<p style="margin: 4px 0 0">透明任务窗口</p>
|
|
358
|
+
</div>
|
|
359
|
+
</div>
|
|
360
|
+
<div class="nav-item active"><span>核心监看</span><span>01</span></div>
|
|
361
|
+
<div class="nav-item"><span>航道控制</span><span>02</span></div>
|
|
362
|
+
<div class="nav-item"><span>节点校验</span><span>03</span></div>
|
|
363
|
+
<div class="nav-item"><span>风险复核</span><span>04</span></div>
|
|
364
|
+
</aside>
|
|
365
|
+
|
|
366
|
+
<section class="viewport" aria-label="主操作窗口">
|
|
367
|
+
<div class="viewport-content">
|
|
368
|
+
<div class="title-row">
|
|
369
|
+
<h1>深色玻璃窗口里的可操作按钮。</h1>
|
|
370
|
+
<span class="chip">当前窗口 · 可操作</span>
|
|
371
|
+
</div>
|
|
372
|
+
|
|
373
|
+
<div class="core" aria-label="核心状态">
|
|
374
|
+
<div class="core-ring"></div>
|
|
375
|
+
<div class="core-ring"></div>
|
|
376
|
+
<article class="core-card">
|
|
377
|
+
<span>系统稳定指数</span>
|
|
378
|
+
<strong>97.4</strong>
|
|
379
|
+
<p>阅读信息始终落在稳定深色面,背景光只提供空间感。</p>
|
|
380
|
+
</article>
|
|
381
|
+
</div>
|
|
382
|
+
|
|
383
|
+
<div class="button-row" aria-label="玻璃按钮组">
|
|
384
|
+
<button class="glass-button primary">同步</button>
|
|
385
|
+
<button class="glass-button">锁定</button>
|
|
386
|
+
<button class="glass-button">切换</button>
|
|
387
|
+
<button class="glass-button">复核</button>
|
|
388
|
+
</div>
|
|
389
|
+
</div>
|
|
390
|
+
<div class="dock" aria-label="悬浮工具条">
|
|
391
|
+
<button>总览</button>
|
|
392
|
+
<button>轨道</button>
|
|
393
|
+
<button>日志</button>
|
|
394
|
+
</div>
|
|
395
|
+
</section>
|
|
396
|
+
|
|
397
|
+
<aside class="modules" aria-label="右侧状态模块">
|
|
398
|
+
<article class="module">
|
|
399
|
+
<h3>窗口透明度</h3>
|
|
400
|
+
<p>外层保持玻璃质感,内层阅读面控制文字对比。</p>
|
|
401
|
+
<div class="module-row"><span>玻璃强度</span><strong>64%</strong></div>
|
|
402
|
+
</article>
|
|
403
|
+
<article class="module">
|
|
404
|
+
<h3>信号队列</h3>
|
|
405
|
+
<p>青蓝用于在线与传输,紫色仅提示预测层。</p>
|
|
406
|
+
<div class="module-row"><span>在线同步</span><i class="dot"></i></div>
|
|
407
|
+
</article>
|
|
408
|
+
<article class="module">
|
|
409
|
+
<h3>告警纪律</h3>
|
|
410
|
+
<p>琥珀和红色只在异常处出现,不参与装饰。</p>
|
|
411
|
+
<div class="module-row"><span>待复核事件</span><strong style="color: var(--amber)">2</strong></div>
|
|
412
|
+
</article>
|
|
413
|
+
</aside>
|
|
414
|
+
</section>
|
|
415
|
+
</main>
|
|
416
|
+
<script>
|
|
417
|
+
window.addEventListener("message", (event) => {
|
|
418
|
+
if (event.data && event.data.type === "__edit_mode_set_keys") {
|
|
419
|
+
const edits = event.data.edits || {};
|
|
420
|
+
if (edits.accent) document.documentElement.style.setProperty("--accent", edits.accent);
|
|
421
|
+
if (edits.glass) document.documentElement.style.setProperty("--surface-glass", edits.glass);
|
|
422
|
+
if (edits.grid) document.body.style.setProperty("--grid-opacity", edits.grid);
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
const UI_DESIGN_TWEAKS = /*EDITMODE-BEGIN*/{
|
|
426
|
+
"accent": "#33b8ff",
|
|
427
|
+
"glass": "rgba(16, 32, 52, 0.64)",
|
|
428
|
+
"grid": "0.70"
|
|
429
|
+
}/*EDITMODE-END*/;
|
|
430
|
+
window.parent.postMessage({ type: "__edit_mode_available", edits: UI_DESIGN_TWEAKS }, "*");
|
|
431
|
+
</script>
|
|
432
|
+
</body>
|
|
433
|
+
</html>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# 黑曜界面两页视觉测试提示
|
|
2
|
+
|
|
3
|
+
使用 `Obsidian XUI / 黑曜界面` VI,为一个原创中文空间智能系统设计两页 HTML 样张截图。
|
|
4
|
+
|
|
5
|
+
要求:
|
|
6
|
+
|
|
7
|
+
- 整体像科幻电影里的透明控制界面,但必须是普通网页上可读、可点、可商用的界面。
|
|
8
|
+
- 按钮、窗口、状态栏使用半透明或玻璃效果。
|
|
9
|
+
- 黑色有层次,蓝青渐变和少量紫色只服务结构,不做廉价满屏霓虹。
|
|
10
|
+
- 用户可见文案全部使用简体中文。
|
|
11
|
+
- 每页包含 `data-screen-label` 和唯一合法 `EDITMODE` JSON block。
|
|
12
|
+
- 暴露可调 Tweaks:主蓝色、玻璃强度、网格强度。
|
|
13
|
+
- 跑静态检查、语言检查、浏览器桌面/移动截图,并写简短评审。
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"html": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/outputs/page-01.html",
|
|
3
|
+
"desktop": {
|
|
4
|
+
"viewport": {
|
|
5
|
+
"width": 1440,
|
|
6
|
+
"height": 980
|
|
7
|
+
},
|
|
8
|
+
"screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/desktop.png",
|
|
9
|
+
"console": [],
|
|
10
|
+
"inspection": {
|
|
11
|
+
"title": "黑曜界面测试 01",
|
|
12
|
+
"screenLabels": [
|
|
13
|
+
"01 深空指挥窗口"
|
|
14
|
+
],
|
|
15
|
+
"editModeBlocks": 1,
|
|
16
|
+
"hasEditModeAvailable": true,
|
|
17
|
+
"hasEditModeSetKeys": true,
|
|
18
|
+
"hasEditsPayload": true,
|
|
19
|
+
"documentWidth": 1440,
|
|
20
|
+
"viewportWidth": 1440,
|
|
21
|
+
"horizontalOverflow": false,
|
|
22
|
+
"smallTargets": []
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"mobile": {
|
|
26
|
+
"viewport": {
|
|
27
|
+
"width": 390,
|
|
28
|
+
"height": 844
|
|
29
|
+
},
|
|
30
|
+
"screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-01/mobile.png",
|
|
31
|
+
"console": [],
|
|
32
|
+
"inspection": {
|
|
33
|
+
"title": "黑曜界面测试 01",
|
|
34
|
+
"screenLabels": [
|
|
35
|
+
"01 深空指挥窗口"
|
|
36
|
+
],
|
|
37
|
+
"editModeBlocks": 1,
|
|
38
|
+
"hasEditModeAvailable": true,
|
|
39
|
+
"hasEditModeSetKeys": true,
|
|
40
|
+
"hasEditsPayload": true,
|
|
41
|
+
"documentWidth": 390,
|
|
42
|
+
"viewportWidth": 390,
|
|
43
|
+
"horizontalOverflow": false,
|
|
44
|
+
"smallTargets": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"issues": [],
|
|
48
|
+
"pass": true
|
|
49
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"html": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/outputs/page-02.html",
|
|
3
|
+
"desktop": {
|
|
4
|
+
"viewport": {
|
|
5
|
+
"width": 1440,
|
|
6
|
+
"height": 980
|
|
7
|
+
},
|
|
8
|
+
"screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/desktop.png",
|
|
9
|
+
"console": [],
|
|
10
|
+
"inspection": {
|
|
11
|
+
"title": "黑曜界面测试 02",
|
|
12
|
+
"screenLabels": [
|
|
13
|
+
"02 玻璃操作台"
|
|
14
|
+
],
|
|
15
|
+
"editModeBlocks": 1,
|
|
16
|
+
"hasEditModeAvailable": true,
|
|
17
|
+
"hasEditModeSetKeys": true,
|
|
18
|
+
"hasEditsPayload": true,
|
|
19
|
+
"documentWidth": 1440,
|
|
20
|
+
"viewportWidth": 1440,
|
|
21
|
+
"horizontalOverflow": false,
|
|
22
|
+
"smallTargets": []
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"mobile": {
|
|
26
|
+
"viewport": {
|
|
27
|
+
"width": 390,
|
|
28
|
+
"height": 844
|
|
29
|
+
},
|
|
30
|
+
"screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/obsidian-xui-screenshot-check-1/screenshots/page-02/mobile.png",
|
|
31
|
+
"console": [],
|
|
32
|
+
"inspection": {
|
|
33
|
+
"title": "黑曜界面测试 02",
|
|
34
|
+
"screenLabels": [
|
|
35
|
+
"02 玻璃操作台"
|
|
36
|
+
],
|
|
37
|
+
"editModeBlocks": 1,
|
|
38
|
+
"hasEditModeAvailable": true,
|
|
39
|
+
"hasEditModeSetKeys": true,
|
|
40
|
+
"hasEditsPayload": true,
|
|
41
|
+
"documentWidth": 390,
|
|
42
|
+
"viewportWidth": 390,
|
|
43
|
+
"horizontalOverflow": false,
|
|
44
|
+
"smallTargets": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"issues": [],
|
|
48
|
+
"pass": true
|
|
49
|
+
}
|
|
Binary file
|
|
Binary file
|
package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/browser-check.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"html": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/outputs/index.html",
|
|
3
|
+
"desktop": {
|
|
4
|
+
"viewport": {
|
|
5
|
+
"width": 1440,
|
|
6
|
+
"height": 980
|
|
7
|
+
},
|
|
8
|
+
"screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/screenshots/desktop.png",
|
|
9
|
+
"console": [],
|
|
10
|
+
"inspection": {
|
|
11
|
+
"title": "岚镜 S1 产品展示",
|
|
12
|
+
"screenLabels": [
|
|
13
|
+
"01 岚镜产品首页"
|
|
14
|
+
],
|
|
15
|
+
"editModeBlocks": 1,
|
|
16
|
+
"hasEditModeAvailable": true,
|
|
17
|
+
"hasEditModeSetKeys": true,
|
|
18
|
+
"hasEditsPayload": true,
|
|
19
|
+
"documentWidth": 1440,
|
|
20
|
+
"viewportWidth": 1440,
|
|
21
|
+
"horizontalOverflow": false,
|
|
22
|
+
"smallTargets": []
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"mobile": {
|
|
26
|
+
"viewport": {
|
|
27
|
+
"width": 390,
|
|
28
|
+
"height": 844
|
|
29
|
+
},
|
|
30
|
+
"screenshot": "/Volumes/D 1/code/kakadeai/minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/screenshots/mobile.png",
|
|
31
|
+
"console": [],
|
|
32
|
+
"inspection": {
|
|
33
|
+
"title": "岚镜 S1 产品展示",
|
|
34
|
+
"screenLabels": [
|
|
35
|
+
"01 岚镜产品首页"
|
|
36
|
+
],
|
|
37
|
+
"editModeBlocks": 1,
|
|
38
|
+
"hasEditModeAvailable": true,
|
|
39
|
+
"hasEditModeSetKeys": true,
|
|
40
|
+
"hasEditsPayload": true,
|
|
41
|
+
"documentWidth": 390,
|
|
42
|
+
"viewportWidth": 390,
|
|
43
|
+
"horizontalOverflow": false,
|
|
44
|
+
"smallTargets": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"issues": [],
|
|
48
|
+
"pass": true
|
|
49
|
+
}
|
package/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/checks/language-check.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
通过: minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/prompt.md
|
|
2
|
+
通过: minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/execution_notes.md
|
|
3
|
+
通过: minimal-agent/skills/ui-design/tests/e2e/runs/precision-horizon-iteration-1/outputs/index.html
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# 设计执行声明
|
|
2
|
+
|
|
3
|
+
## 任务类型
|
|
4
|
+
|
|
5
|
+
高端产品展示官网首页,输出单文件中文 HTML。
|
|
6
|
+
|
|
7
|
+
## 使用 VI
|
|
8
|
+
|
|
9
|
+
使用 `Precision Horizon / 精密地平线`。选择理由:本任务是智能硬件产品展示,需要产品主角、材质光、参数视觉化、发布页节奏和克制黑白灰色盘。
|
|
10
|
+
|
|
11
|
+
## 视觉系统策略
|
|
12
|
+
|
|
13
|
+
- 背景策略:冷雾科技 + 材料同色系。页面以冷白、雾蓝、石墨灰为主,少量科技蓝用于行动和参数焦点。
|
|
14
|
+
- 产品表现:用原创抽象设备渲染表达云台相机,不使用真实品牌图片。
|
|
15
|
+
- 结构语言:首屏产品镜头最大,后续用大数字参数、材质特写、使用场景和型号对比逐层展开。
|
|
16
|
+
- 中文排版:标题大而短,正文 16-18px,行高约 1.55,不使用负字距。
|
|
17
|
+
|
|
18
|
+
## Tweaks 设计
|
|
19
|
+
|
|
20
|
+
暴露主强调色、背景模式和光感强度,使用 `{ edits: patch }` 持久化。
|
|
21
|
+
|
|
22
|
+
## 验证计划
|
|
23
|
+
|
|
24
|
+
运行 `check_ui_artifact.py`、`check_language_policy.py` 和 `browser_check_ui_artifact.mjs`,再人工查看桌面与移动截图,重点检查产品是否是主角、参数是否清晰、中文断行是否自然、移动端是否无横向溢出。
|