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,682 @@
|
|
|
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>Obsidian Optics 黑曜影像样张</title>
|
|
7
|
+
<style>
|
|
8
|
+
:root {
|
|
9
|
+
--ink: #f4f5f6;
|
|
10
|
+
--ink-soft: #d8dde3;
|
|
11
|
+
--muted: #8c939d;
|
|
12
|
+
--paper: #07080a;
|
|
13
|
+
--surface: #101216;
|
|
14
|
+
--surface-raised: #171a20;
|
|
15
|
+
--surface-metal: #20242b;
|
|
16
|
+
--line: rgba(244, 245, 246, 0.12);
|
|
17
|
+
--line-strong: rgba(244, 245, 246, 0.22);
|
|
18
|
+
--accent: #e21b2d;
|
|
19
|
+
--accent-deep: #7b0f18;
|
|
20
|
+
--optic: #b9c7d6;
|
|
21
|
+
--shadow: rgba(0, 0, 0, 0.42);
|
|
22
|
+
--mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
|
|
23
|
+
font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Inter", sans-serif;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
* {
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
body {
|
|
31
|
+
margin: 0;
|
|
32
|
+
min-height: 100vh;
|
|
33
|
+
color: var(--ink);
|
|
34
|
+
background:
|
|
35
|
+
radial-gradient(circle at 78% 18%, rgba(185, 199, 214, 0.16), transparent 28%),
|
|
36
|
+
radial-gradient(circle at 18% 6%, rgba(226, 27, 45, 0.12), transparent 22%),
|
|
37
|
+
linear-gradient(135deg, #050607 0%, #0b0d10 42%, #141820 100%);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
body::before {
|
|
41
|
+
content: "";
|
|
42
|
+
position: fixed;
|
|
43
|
+
inset: 0;
|
|
44
|
+
z-index: -1;
|
|
45
|
+
background:
|
|
46
|
+
linear-gradient(rgba(244, 245, 246, 0.035) 1px, transparent 1px),
|
|
47
|
+
linear-gradient(90deg, rgba(244, 245, 246, 0.026) 1px, transparent 1px);
|
|
48
|
+
background-size: 64px 64px;
|
|
49
|
+
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 86%);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
button,
|
|
53
|
+
input {
|
|
54
|
+
font: inherit;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.page {
|
|
58
|
+
width: min(1180px, calc(100vw - 32px));
|
|
59
|
+
margin: 0 auto;
|
|
60
|
+
padding: 28px 0 56px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.panel {
|
|
64
|
+
border: 1px solid var(--line);
|
|
65
|
+
background:
|
|
66
|
+
linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
|
|
67
|
+
linear-gradient(180deg, var(--surface-raised), var(--surface));
|
|
68
|
+
box-shadow: 0 24px 72px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.nav {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
gap: 18px;
|
|
76
|
+
padding: 12px 14px;
|
|
77
|
+
border-radius: 16px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.brand {
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
gap: 12px;
|
|
84
|
+
min-width: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.mark {
|
|
88
|
+
position: relative;
|
|
89
|
+
width: 42px;
|
|
90
|
+
height: 42px;
|
|
91
|
+
border: 1px solid var(--line-strong);
|
|
92
|
+
border-radius: 50%;
|
|
93
|
+
background:
|
|
94
|
+
radial-gradient(circle at 50% 50%, rgba(185, 199, 214, 0.45), transparent 18%),
|
|
95
|
+
conic-gradient(from 18deg, rgba(226, 27, 45, 0.9), rgba(244, 245, 246, 0.18), rgba(185, 199, 214, 0.28), rgba(226, 27, 45, 0.9));
|
|
96
|
+
box-shadow: 0 0 28px rgba(226, 27, 45, 0.12);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.mark::after {
|
|
100
|
+
content: "";
|
|
101
|
+
position: absolute;
|
|
102
|
+
inset: 12px;
|
|
103
|
+
border-radius: 50%;
|
|
104
|
+
background: var(--paper);
|
|
105
|
+
border: 1px solid var(--line);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.brand strong {
|
|
109
|
+
display: block;
|
|
110
|
+
font-size: 15px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.brand span,
|
|
114
|
+
.tag,
|
|
115
|
+
.spec-label {
|
|
116
|
+
color: var(--muted);
|
|
117
|
+
font-family: var(--mono);
|
|
118
|
+
font-size: 12px;
|
|
119
|
+
letter-spacing: 0.08em;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.nav-tags {
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-wrap: wrap;
|
|
125
|
+
justify-content: flex-end;
|
|
126
|
+
gap: 8px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.tag {
|
|
130
|
+
border: 1px solid var(--line);
|
|
131
|
+
border-radius: 999px;
|
|
132
|
+
padding: 8px 11px;
|
|
133
|
+
background: rgba(255, 255, 255, 0.035);
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.tag.record {
|
|
138
|
+
color: var(--ink);
|
|
139
|
+
border-color: rgba(226, 27, 45, 0.46);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.tag.record::before {
|
|
143
|
+
content: "";
|
|
144
|
+
display: inline-block;
|
|
145
|
+
width: 7px;
|
|
146
|
+
height: 7px;
|
|
147
|
+
margin-right: 7px;
|
|
148
|
+
border-radius: 50%;
|
|
149
|
+
background: var(--accent);
|
|
150
|
+
box-shadow: 0 0 16px rgba(226, 27, 45, 0.75);
|
|
151
|
+
vertical-align: 1px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.hero {
|
|
155
|
+
display: grid;
|
|
156
|
+
grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
|
|
157
|
+
gap: 24px;
|
|
158
|
+
margin-top: 26px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.hero-main,
|
|
162
|
+
.camera-card,
|
|
163
|
+
.section {
|
|
164
|
+
border-radius: 18px;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
position: relative;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.hero-main {
|
|
170
|
+
padding: clamp(30px, 5vw, 58px);
|
|
171
|
+
min-height: 590px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.hero-main::after {
|
|
175
|
+
content: "";
|
|
176
|
+
position: absolute;
|
|
177
|
+
right: -92px;
|
|
178
|
+
bottom: -118px;
|
|
179
|
+
width: 360px;
|
|
180
|
+
height: 360px;
|
|
181
|
+
border-radius: 50%;
|
|
182
|
+
border: 1px solid rgba(185, 199, 214, 0.22);
|
|
183
|
+
background:
|
|
184
|
+
radial-gradient(circle, transparent 0 34%, rgba(185, 199, 214, 0.11) 35% 36%, transparent 37%),
|
|
185
|
+
repeating-conic-gradient(from 0deg, rgba(244, 245, 246, 0.13) 0deg 2deg, transparent 2deg 9deg);
|
|
186
|
+
opacity: 0.78;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.kicker {
|
|
190
|
+
margin: 0 0 18px;
|
|
191
|
+
color: var(--accent);
|
|
192
|
+
font-family: var(--mono);
|
|
193
|
+
font-size: 12px;
|
|
194
|
+
font-weight: 800;
|
|
195
|
+
letter-spacing: 0.12em;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
h1,
|
|
199
|
+
h2,
|
|
200
|
+
h3,
|
|
201
|
+
p {
|
|
202
|
+
margin-top: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
h1 {
|
|
206
|
+
position: relative;
|
|
207
|
+
z-index: 1;
|
|
208
|
+
max-width: 760px;
|
|
209
|
+
margin-bottom: 22px;
|
|
210
|
+
font-size: clamp(42px, 6vw, 76px);
|
|
211
|
+
line-height: 0.99;
|
|
212
|
+
letter-spacing: 0;
|
|
213
|
+
text-wrap: balance;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.lead {
|
|
217
|
+
position: relative;
|
|
218
|
+
z-index: 1;
|
|
219
|
+
max-width: 620px;
|
|
220
|
+
margin-bottom: 30px;
|
|
221
|
+
color: var(--ink-soft);
|
|
222
|
+
font-size: clamp(16px, 1.7vw, 19px);
|
|
223
|
+
line-height: 1.62;
|
|
224
|
+
font-weight: 600;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.actions {
|
|
228
|
+
position: relative;
|
|
229
|
+
z-index: 1;
|
|
230
|
+
display: flex;
|
|
231
|
+
flex-wrap: wrap;
|
|
232
|
+
align-items: center;
|
|
233
|
+
gap: 12px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.button {
|
|
237
|
+
border: 0;
|
|
238
|
+
border-radius: 10px;
|
|
239
|
+
padding: 13px 18px;
|
|
240
|
+
cursor: pointer;
|
|
241
|
+
font-weight: 800;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.button.primary {
|
|
245
|
+
color: white;
|
|
246
|
+
background:
|
|
247
|
+
linear-gradient(135deg, var(--accent), #ff4050 58%, var(--accent-deep));
|
|
248
|
+
box-shadow: 0 16px 34px rgba(226, 27, 45, 0.24);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.button.secondary {
|
|
252
|
+
color: var(--ink);
|
|
253
|
+
border: 1px solid var(--line-strong);
|
|
254
|
+
background: rgba(255, 255, 255, 0.045);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.spec-strip {
|
|
258
|
+
position: relative;
|
|
259
|
+
z-index: 1;
|
|
260
|
+
display: grid;
|
|
261
|
+
grid-template-columns: repeat(4, 1fr);
|
|
262
|
+
gap: 10px;
|
|
263
|
+
margin-top: 42px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.spec {
|
|
267
|
+
border: 1px solid var(--line);
|
|
268
|
+
border-radius: 12px;
|
|
269
|
+
padding: 15px;
|
|
270
|
+
background: rgba(255, 255, 255, 0.035);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.spec b {
|
|
274
|
+
display: block;
|
|
275
|
+
color: var(--ink);
|
|
276
|
+
font-family: var(--mono);
|
|
277
|
+
font-size: 22px;
|
|
278
|
+
line-height: 1;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.spec span {
|
|
282
|
+
display: block;
|
|
283
|
+
margin-top: 8px;
|
|
284
|
+
color: var(--muted);
|
|
285
|
+
font-size: 12px;
|
|
286
|
+
font-weight: 700;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.camera-card {
|
|
290
|
+
padding: 24px;
|
|
291
|
+
display: grid;
|
|
292
|
+
align-content: space-between;
|
|
293
|
+
gap: 18px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.device {
|
|
297
|
+
border: 1px solid var(--line-strong);
|
|
298
|
+
border-radius: 18px;
|
|
299
|
+
min-height: 250px;
|
|
300
|
+
background:
|
|
301
|
+
linear-gradient(145deg, rgba(244, 245, 246, 0.08), transparent 34%),
|
|
302
|
+
linear-gradient(180deg, #1b1f26, #0b0d10);
|
|
303
|
+
position: relative;
|
|
304
|
+
overflow: hidden;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.device::before {
|
|
308
|
+
content: "";
|
|
309
|
+
position: absolute;
|
|
310
|
+
inset: 42px auto auto 50%;
|
|
311
|
+
width: 156px;
|
|
312
|
+
height: 156px;
|
|
313
|
+
transform: translateX(-50%);
|
|
314
|
+
border-radius: 50%;
|
|
315
|
+
border: 1px solid rgba(185, 199, 214, 0.38);
|
|
316
|
+
background:
|
|
317
|
+
radial-gradient(circle, rgba(185, 199, 214, 0.48) 0 10%, #07080a 11% 34%, rgba(185, 199, 214, 0.16) 35% 36%, transparent 37%),
|
|
318
|
+
conic-gradient(from 12deg, rgba(226, 27, 45, 0.28), rgba(244, 245, 246, 0.08), rgba(185, 199, 214, 0.2), rgba(226, 27, 45, 0.28));
|
|
319
|
+
box-shadow: inset 0 0 40px rgba(185, 199, 214, 0.12), 0 0 52px rgba(185, 199, 214, 0.08);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.device::after {
|
|
323
|
+
content: "REC";
|
|
324
|
+
position: absolute;
|
|
325
|
+
left: 18px;
|
|
326
|
+
top: 18px;
|
|
327
|
+
color: var(--accent);
|
|
328
|
+
font-family: var(--mono);
|
|
329
|
+
font-size: 12px;
|
|
330
|
+
font-weight: 800;
|
|
331
|
+
letter-spacing: 0.16em;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.readout {
|
|
335
|
+
display: grid;
|
|
336
|
+
gap: 10px;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.readout-row {
|
|
340
|
+
display: flex;
|
|
341
|
+
justify-content: space-between;
|
|
342
|
+
gap: 16px;
|
|
343
|
+
border-bottom: 1px solid var(--line);
|
|
344
|
+
padding: 10px 0;
|
|
345
|
+
font-family: var(--mono);
|
|
346
|
+
font-size: 13px;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.readout-row span:first-child {
|
|
350
|
+
color: var(--muted);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.readout-row span:last-child {
|
|
354
|
+
color: var(--ink);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.record-line {
|
|
358
|
+
height: 8px;
|
|
359
|
+
border-radius: 999px;
|
|
360
|
+
background: rgba(244, 245, 246, 0.08);
|
|
361
|
+
overflow: hidden;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.record-line span {
|
|
365
|
+
display: block;
|
|
366
|
+
width: 68%;
|
|
367
|
+
height: 100%;
|
|
368
|
+
border-radius: inherit;
|
|
369
|
+
background: linear-gradient(90deg, var(--accent-deep), var(--accent), #ff5a66);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.section {
|
|
373
|
+
margin-top: 24px;
|
|
374
|
+
padding: clamp(22px, 3vw, 32px);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.section-head {
|
|
378
|
+
display: grid;
|
|
379
|
+
grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
|
|
380
|
+
gap: 24px;
|
|
381
|
+
align-items: end;
|
|
382
|
+
margin-bottom: 20px;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.section-head h2 {
|
|
386
|
+
margin-bottom: 0;
|
|
387
|
+
font-size: clamp(26px, 3.2vw, 42px);
|
|
388
|
+
line-height: 1.12;
|
|
389
|
+
text-wrap: balance;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.section-head p {
|
|
393
|
+
margin-bottom: 0;
|
|
394
|
+
color: var(--muted);
|
|
395
|
+
line-height: 1.55;
|
|
396
|
+
font-weight: 650;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.swatches,
|
|
400
|
+
.cards {
|
|
401
|
+
display: grid;
|
|
402
|
+
gap: 14px;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.swatches {
|
|
406
|
+
grid-template-columns: repeat(6, 1fr);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.swatch,
|
|
410
|
+
.card {
|
|
411
|
+
border: 1px solid var(--line);
|
|
412
|
+
border-radius: 14px;
|
|
413
|
+
padding: 16px;
|
|
414
|
+
background: rgba(255, 255, 255, 0.035);
|
|
415
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.swatch {
|
|
419
|
+
min-height: 138px;
|
|
420
|
+
display: grid;
|
|
421
|
+
align-content: end;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.swatch b,
|
|
425
|
+
.card h3 {
|
|
426
|
+
margin-bottom: 8px;
|
|
427
|
+
color: var(--ink);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.swatch span,
|
|
431
|
+
.card p {
|
|
432
|
+
color: var(--muted);
|
|
433
|
+
line-height: 1.55;
|
|
434
|
+
font-weight: 650;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.cards {
|
|
438
|
+
grid-template-columns: repeat(3, 1fr);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.card {
|
|
442
|
+
min-height: 220px;
|
|
443
|
+
background:
|
|
444
|
+
linear-gradient(145deg, rgba(244, 245, 246, 0.06), rgba(244, 245, 246, 0.02)),
|
|
445
|
+
#101216;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.status-grid {
|
|
449
|
+
display: grid;
|
|
450
|
+
gap: 10px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.status-line {
|
|
454
|
+
display: grid;
|
|
455
|
+
grid-template-columns: 84px 1fr;
|
|
456
|
+
gap: 12px;
|
|
457
|
+
align-items: center;
|
|
458
|
+
font-family: var(--mono);
|
|
459
|
+
font-size: 12px;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.bar {
|
|
463
|
+
height: 8px;
|
|
464
|
+
border-radius: 999px;
|
|
465
|
+
background: rgba(244, 245, 246, 0.08);
|
|
466
|
+
overflow: hidden;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.bar span {
|
|
470
|
+
display: block;
|
|
471
|
+
height: 100%;
|
|
472
|
+
border-radius: inherit;
|
|
473
|
+
background: linear-gradient(90deg, var(--optic), var(--accent));
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.tweaks-panel {
|
|
477
|
+
position: fixed;
|
|
478
|
+
right: 18px;
|
|
479
|
+
bottom: 18px;
|
|
480
|
+
z-index: 20;
|
|
481
|
+
width: min(300px, calc(100vw - 36px));
|
|
482
|
+
display: none;
|
|
483
|
+
gap: 12px;
|
|
484
|
+
padding: 16px;
|
|
485
|
+
border-radius: 14px;
|
|
486
|
+
border: 1px solid var(--line);
|
|
487
|
+
background: var(--surface-raised);
|
|
488
|
+
box-shadow: 0 18px 52px var(--shadow);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.tweaks-panel label {
|
|
492
|
+
display: grid;
|
|
493
|
+
gap: 6px;
|
|
494
|
+
color: var(--muted);
|
|
495
|
+
font-size: 13px;
|
|
496
|
+
font-weight: 700;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
@media (max-width: 900px) {
|
|
500
|
+
.page {
|
|
501
|
+
width: min(100% - 24px, 680px);
|
|
502
|
+
padding-top: 14px;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.nav,
|
|
506
|
+
.hero,
|
|
507
|
+
.section-head,
|
|
508
|
+
.cards {
|
|
509
|
+
grid-template-columns: 1fr;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.nav {
|
|
513
|
+
display: grid;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.nav-tags {
|
|
517
|
+
justify-content: flex-start;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.hero {
|
|
521
|
+
display: grid;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.spec-strip,
|
|
525
|
+
.swatches {
|
|
526
|
+
grid-template-columns: repeat(2, 1fr);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
@media (max-width: 520px) {
|
|
531
|
+
h1 {
|
|
532
|
+
font-size: clamp(38px, 12vw, 56px);
|
|
533
|
+
line-height: 1.04;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.hero-main {
|
|
537
|
+
min-height: auto;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.spec-strip,
|
|
541
|
+
.swatches {
|
|
542
|
+
grid-template-columns: 1fr;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
</style>
|
|
546
|
+
</head>
|
|
547
|
+
<body>
|
|
548
|
+
<main class="page" data-screen-label="01 黑曜影像样张">
|
|
549
|
+
<nav class="nav panel" aria-label="主导航">
|
|
550
|
+
<div class="brand">
|
|
551
|
+
<div class="mark" aria-hidden="true"></div>
|
|
552
|
+
<div>
|
|
553
|
+
<strong>影澈 X1</strong>
|
|
554
|
+
<span>Obsidian Optics 黑曜影像</span>
|
|
555
|
+
</div>
|
|
556
|
+
</div>
|
|
557
|
+
<div class="nav-tags">
|
|
558
|
+
<span class="tag record">待录制</span>
|
|
559
|
+
<span class="tag">8K RAW</span>
|
|
560
|
+
<span class="tag">120 FPS</span>
|
|
561
|
+
<span class="tag">16 档动态范围</span>
|
|
562
|
+
</div>
|
|
563
|
+
</nav>
|
|
564
|
+
|
|
565
|
+
<section class="hero">
|
|
566
|
+
<div class="hero-main panel">
|
|
567
|
+
<p class="kicker">黑白红 / 精密影像硬件</p>
|
|
568
|
+
<h1>轻量机身,保留电影级画面控制。</h1>
|
|
569
|
+
<p class="lead">这张样张测试黑曜影像 VI:黑色必须有石墨层次,白字必须清楚,红色只作为录制信号和关键行动,而不是沉重的情绪涂层。</p>
|
|
570
|
+
<div class="actions">
|
|
571
|
+
<button class="button primary" type="button">查看机身规格</button>
|
|
572
|
+
<button class="button secondary" type="button">进入控制台</button>
|
|
573
|
+
<span class="tag">冷白文字 / 石墨暗面 / 信号红</span>
|
|
574
|
+
</div>
|
|
575
|
+
<div class="spec-strip" aria-label="核心规格">
|
|
576
|
+
<div class="spec"><b>8K</b><span>开放格式 RAW</span></div>
|
|
577
|
+
<div class="spec"><b>120</b><span>最高帧率 FPS</span></div>
|
|
578
|
+
<div class="spec"><b>16+</b><span>动态范围</span></div>
|
|
579
|
+
<div class="spec"><b>640</b><span>原生 ISO</span></div>
|
|
580
|
+
</div>
|
|
581
|
+
</div>
|
|
582
|
+
|
|
583
|
+
<aside class="camera-card panel" aria-label="电影机控制面板">
|
|
584
|
+
<div class="device" aria-hidden="true"></div>
|
|
585
|
+
<div class="readout">
|
|
586
|
+
<div class="readout-row"><span>时间码</span><span>01:24:18:06</span></div>
|
|
587
|
+
<div class="readout-row"><span>快门角度</span><span>180°</span></div>
|
|
588
|
+
<div class="readout-row"><span>色彩空间</span><span>影像宽容模式</span></div>
|
|
589
|
+
<div class="readout-row"><span>存储</span><span>双卡冗余写入</span></div>
|
|
590
|
+
</div>
|
|
591
|
+
<div class="record-line" aria-label="录制缓存"><span></span></div>
|
|
592
|
+
</aside>
|
|
593
|
+
</section>
|
|
594
|
+
|
|
595
|
+
<section class="section panel" aria-label="色彩识别">
|
|
596
|
+
<div class="section-head">
|
|
597
|
+
<h2>黑白红要像设备信号,而不是沉重主题色。</h2>
|
|
598
|
+
<p>红色只用于录制、选中和关键行动;主体依靠石墨渐变、冷白文字、镜头冷光和细线建立专业感。</p>
|
|
599
|
+
</div>
|
|
600
|
+
<div class="swatches">
|
|
601
|
+
<div class="swatch" style="background:#07080a"><b>深背景</b><span>#07080a</span></div>
|
|
602
|
+
<div class="swatch" style="background:#101216"><b>主面板</b><span>#101216</span></div>
|
|
603
|
+
<div class="swatch" style="background:#171a20"><b>抬升面板</b><span>#171a20</span></div>
|
|
604
|
+
<div class="swatch" style="background:#f4f5f6;color:#07080a"><b style="color:#07080a">冷白文字</b><span style="color:#30343a">#f4f5f6</span></div>
|
|
605
|
+
<div class="swatch" style="background:#e21b2d"><b>信号红</b><span>#e21b2d</span></div>
|
|
606
|
+
<div class="swatch" style="background:#b9c7d6;color:#07080a"><b style="color:#07080a">镜头冷光</b><span style="color:#30343a">#b9c7d6</span></div>
|
|
607
|
+
</div>
|
|
608
|
+
</section>
|
|
609
|
+
|
|
610
|
+
<section class="section panel" aria-label="组件识别">
|
|
611
|
+
<div class="section-head">
|
|
612
|
+
<h2>参数模块、录制状态和光学母题建立器材识别。</h2>
|
|
613
|
+
<p>模板要科技一点但不沉重:用空间、细线、模块拼接和冷光高光,而不是满屏黑红或厚重金属纹理。</p>
|
|
614
|
+
</div>
|
|
615
|
+
<div class="cards">
|
|
616
|
+
<article class="card">
|
|
617
|
+
<h3>参数清晰</h3>
|
|
618
|
+
<p>规格信息用等宽感标签和分组面板呈现,适合展示帧率、动态范围、编码、接口和电源状态。</p>
|
|
619
|
+
</article>
|
|
620
|
+
<article class="card">
|
|
621
|
+
<h3>录制纪律</h3>
|
|
622
|
+
<div class="status-grid">
|
|
623
|
+
<div class="status-line"><span>缓存</span><div class="bar"><span style="width:68%"></span></div></div>
|
|
624
|
+
<div class="status-line"><span>温度</span><div class="bar"><span style="width:42%"></span></div></div>
|
|
625
|
+
<div class="status-line"><span>电量</span><div class="bar"><span style="width:82%"></span></div></div>
|
|
626
|
+
</div>
|
|
627
|
+
</article>
|
|
628
|
+
<article class="card">
|
|
629
|
+
<h3>原创边界</h3>
|
|
630
|
+
<p>这个方向只借鉴高端影像硬件的工业科技感,不使用真实品牌名称、标识、机身造型或专有排版。</p>
|
|
631
|
+
</article>
|
|
632
|
+
</div>
|
|
633
|
+
</section>
|
|
634
|
+
</main>
|
|
635
|
+
|
|
636
|
+
<aside class="tweaks-panel" aria-label="调整">
|
|
637
|
+
<strong>调整</strong>
|
|
638
|
+
<label>信号红 <input data-tweak-primary type="color" value="#e21b2d"></label>
|
|
639
|
+
<label>暗面亮度 <input data-tweak-lift type="range" min="8" max="24" value="16"></label>
|
|
640
|
+
</aside>
|
|
641
|
+
|
|
642
|
+
<script>
|
|
643
|
+
const initialTweaks = /*EDITMODE-BEGIN*/{
|
|
644
|
+
"primaryColor": "#e21b2d",
|
|
645
|
+
"surfaceLift": 16
|
|
646
|
+
}/*EDITMODE-END*/;
|
|
647
|
+
window.UI_DESIGN_TWEAKS = initialTweaks;
|
|
648
|
+
|
|
649
|
+
const root = document.documentElement;
|
|
650
|
+
const panel = document.querySelector('.tweaks-panel');
|
|
651
|
+
|
|
652
|
+
function applyTweaks(values) {
|
|
653
|
+
if (values.primaryColor) root.style.setProperty('--accent', values.primaryColor);
|
|
654
|
+
if (values.surfaceLift) {
|
|
655
|
+
const lift = Math.max(8, Math.min(24, Number(values.surfaceLift)));
|
|
656
|
+
root.style.setProperty('--surface-raised', `rgb(${lift + 7}, ${lift + 10}, ${lift + 16})`);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
window.addEventListener('message', (event) => {
|
|
661
|
+
const data = event.data || {};
|
|
662
|
+
if (data.type === '__activate_edit_mode') panel.style.display = 'grid';
|
|
663
|
+
if (data.type === '__deactivate_edit_mode') panel.style.display = 'none';
|
|
664
|
+
if (data.type === '__edit_mode_set_keys' && data.keys) applyTweaks(data.keys);
|
|
665
|
+
});
|
|
666
|
+
|
|
667
|
+
document.querySelector('[data-tweak-primary]').addEventListener('input', (event) => {
|
|
668
|
+
const keys = { primaryColor: event.target.value };
|
|
669
|
+
applyTweaks(keys);
|
|
670
|
+
window.parent.postMessage({ type: '__edit_mode_set_keys', keys }, '*');
|
|
671
|
+
});
|
|
672
|
+
|
|
673
|
+
document.querySelector('[data-tweak-lift]').addEventListener('input', (event) => {
|
|
674
|
+
const keys = { surfaceLift: Number(event.target.value) };
|
|
675
|
+
applyTweaks(keys);
|
|
676
|
+
window.parent.postMessage({ type: '__edit_mode_set_keys', keys }, '*');
|
|
677
|
+
});
|
|
678
|
+
|
|
679
|
+
window.parent.postMessage({ type: '__edit_mode_available' }, '*');
|
|
680
|
+
</script>
|
|
681
|
+
</body>
|
|
682
|
+
</html>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Obsidian Optics 黑曜影像测试题
|
|
2
|
+
|
|
3
|
+
使用 `ui-design` skill 和 `references/vi-obsidian-optics.md`,为一款原创电影机或影像控制台创建一个中文 HTML 页面,用来测试深色摄影器材黑白红 VI 的视觉识别效果。
|
|
4
|
+
|
|
5
|
+
要求:
|
|
6
|
+
|
|
7
|
+
- 页面必须使用简体中文,保留必要英文名称 `Obsidian Optics`、`RAW`、`ISO`、`FPS`。
|
|
8
|
+
- 整体黑白为主,少量红色作为录制信号、选中状态和关键行动。
|
|
9
|
+
- 视觉要像高端影像硬件,但不能沉重、压抑或游戏化。
|
|
10
|
+
- 不出现 RED、红龙或任何真实摄影品牌内容。
|
|
11
|
+
- 页面需要包含首屏、参数面板、色彩识别、组件样张、录制状态和镜头/规格视觉母题。
|
|
12
|
+
- 暴露至少一个 Tweaks 设计维度,用于调整红色强调色或暗面亮度。
|
|
13
|
+
- 运行 `check_ui_artifact.py`、`check_language_policy.py`,并用浏览器截图检查桌面和移动端。
|