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,739 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Aqua Glass 活动页优化预览</title>
|
|
7
|
+
<style>
|
|
8
|
+
:root {
|
|
9
|
+
--ink: #0b1220;
|
|
10
|
+
--ink-soft: #1f2a3d;
|
|
11
|
+
--muted: #526173;
|
|
12
|
+
--paper: #f6fbff;
|
|
13
|
+
--paper-sky: #dff2ff;
|
|
14
|
+
--paper-lilac: #f3efff;
|
|
15
|
+
--surface: rgba(255, 255, 255, 0.72);
|
|
16
|
+
--surface-solid: #ffffff;
|
|
17
|
+
--line: rgba(11, 18, 32, 0.10);
|
|
18
|
+
--accent: #2f80ed;
|
|
19
|
+
--accent-deep: #1769ff;
|
|
20
|
+
--violet: #7c6dff;
|
|
21
|
+
--signal: #24b8a8;
|
|
22
|
+
--coral: #ff7a59;
|
|
23
|
+
--pink: #f58ad7;
|
|
24
|
+
--shadow: rgba(31, 85, 139, 0.16);
|
|
25
|
+
--rail-opacity: 0.88;
|
|
26
|
+
--spark-opacity: 0.82;
|
|
27
|
+
font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Inter, sans-serif;
|
|
28
|
+
color: var(--ink);
|
|
29
|
+
background: var(--paper);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
* { box-sizing: border-box; }
|
|
33
|
+
|
|
34
|
+
body {
|
|
35
|
+
margin: 0;
|
|
36
|
+
min-height: 100vh;
|
|
37
|
+
overflow-x: hidden;
|
|
38
|
+
background:
|
|
39
|
+
radial-gradient(circle at 12% 6%, rgba(73, 190, 255, 0.24), transparent 32%),
|
|
40
|
+
radial-gradient(circle at 88% 4%, rgba(124, 109, 255, 0.16), transparent 30%),
|
|
41
|
+
linear-gradient(180deg, #ffffff 0%, #f6fbff 28%, #dff2ff 100%);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
body::before {
|
|
45
|
+
content: "";
|
|
46
|
+
position: fixed;
|
|
47
|
+
inset: 0;
|
|
48
|
+
pointer-events: none;
|
|
49
|
+
background-image:
|
|
50
|
+
linear-gradient(rgba(47,128,237,0.035) 1px, transparent 1px),
|
|
51
|
+
linear-gradient(90deg, rgba(47,128,237,0.035) 1px, transparent 1px);
|
|
52
|
+
background-size: 52px 52px;
|
|
53
|
+
mask-image: linear-gradient(180deg, black, transparent 72%);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.page {
|
|
57
|
+
position: relative;
|
|
58
|
+
width: min(1440px, 100%);
|
|
59
|
+
min-height: 100vh;
|
|
60
|
+
margin: 0 auto;
|
|
61
|
+
padding: 0 clamp(16px, 4vw, 58px) 72px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.nav {
|
|
65
|
+
position: sticky;
|
|
66
|
+
top: 0;
|
|
67
|
+
z-index: 10;
|
|
68
|
+
display: grid;
|
|
69
|
+
grid-template-columns: auto 1fr auto;
|
|
70
|
+
gap: 28px;
|
|
71
|
+
align-items: center;
|
|
72
|
+
min-height: 58px;
|
|
73
|
+
border-bottom: 1px solid rgba(11,18,32,0.08);
|
|
74
|
+
background: rgba(246, 251, 255, 0.78);
|
|
75
|
+
backdrop-filter: blur(18px);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.brand {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 10px;
|
|
82
|
+
font-weight: 850;
|
|
83
|
+
color: var(--ink);
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.logo {
|
|
88
|
+
position: relative;
|
|
89
|
+
width: 34px;
|
|
90
|
+
height: 30px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.logo span {
|
|
94
|
+
position: absolute;
|
|
95
|
+
bottom: 0;
|
|
96
|
+
width: 9px;
|
|
97
|
+
border-radius: 999px 999px 3px 3px;
|
|
98
|
+
background: linear-gradient(180deg, #39d6ff, var(--accent-deep));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.logo span:nth-child(1) { left: 0; height: 18px; transform: skewX(-18deg); }
|
|
102
|
+
.logo span:nth-child(2) { left: 11px; height: 27px; transform: skewX(-14deg); background: linear-gradient(180deg, #8b7cff, #2f80ed); }
|
|
103
|
+
.logo span:nth-child(3) { left: 22px; height: 22px; transform: skewX(-16deg); background: linear-gradient(180deg, #24d0ff, #24b8a8); }
|
|
104
|
+
|
|
105
|
+
.nav-links {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
gap: clamp(14px, 2vw, 28px);
|
|
109
|
+
color: var(--ink-soft);
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
font-weight: 720;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.nav-cta {
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
min-height: 38px;
|
|
119
|
+
padding: 0 15px;
|
|
120
|
+
border-radius: 999px;
|
|
121
|
+
color: var(--accent-deep);
|
|
122
|
+
background: rgba(255,255,255,0.76);
|
|
123
|
+
border: 1px solid rgba(47,128,237,0.16);
|
|
124
|
+
font-size: 13px;
|
|
125
|
+
font-weight: 780;
|
|
126
|
+
white-space: nowrap;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.hero {
|
|
130
|
+
position: relative;
|
|
131
|
+
min-height: 360px;
|
|
132
|
+
display: grid;
|
|
133
|
+
place-items: center;
|
|
134
|
+
text-align: center;
|
|
135
|
+
overflow: hidden;
|
|
136
|
+
border-radius: 0 0 34px 34px;
|
|
137
|
+
background:
|
|
138
|
+
radial-gradient(circle at 50% 30%, rgba(255,255,255,0.95), transparent 28%),
|
|
139
|
+
radial-gradient(circle at 78% 36%, rgba(73,212,255,0.28), transparent 22%),
|
|
140
|
+
linear-gradient(135deg, rgba(223,242,255,0.86), rgba(246,251,255,0.72) 48%, rgba(243,239,255,0.68));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.rail {
|
|
144
|
+
position: absolute;
|
|
145
|
+
width: 980px;
|
|
146
|
+
height: 210px;
|
|
147
|
+
border: 18px solid rgba(255,255,255,0.52);
|
|
148
|
+
border-top-color: rgba(74,182,255,0.32);
|
|
149
|
+
border-right-color: rgba(124,109,255,0.20);
|
|
150
|
+
border-bottom-color: rgba(255,255,255,0.62);
|
|
151
|
+
border-left-color: rgba(73,212,255,0.18);
|
|
152
|
+
border-radius: 50%;
|
|
153
|
+
transform: translateY(-34px) rotate(-8deg);
|
|
154
|
+
opacity: var(--rail-opacity);
|
|
155
|
+
box-shadow:
|
|
156
|
+
inset 0 0 36px rgba(47,128,237,0.14),
|
|
157
|
+
0 34px 90px rgba(47,128,237,0.12);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.rail::after {
|
|
161
|
+
content: "";
|
|
162
|
+
position: absolute;
|
|
163
|
+
right: 76px;
|
|
164
|
+
top: -20px;
|
|
165
|
+
width: 150px;
|
|
166
|
+
height: 18px;
|
|
167
|
+
border-radius: 999px;
|
|
168
|
+
background: linear-gradient(90deg, var(--coral), #ffc46b);
|
|
169
|
+
transform: rotate(8deg);
|
|
170
|
+
opacity: var(--spark-opacity);
|
|
171
|
+
box-shadow: 0 18px 38px rgba(255,122,89,0.24);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.cube,
|
|
175
|
+
.chip,
|
|
176
|
+
.bot {
|
|
177
|
+
position: absolute;
|
|
178
|
+
z-index: 1;
|
|
179
|
+
opacity: var(--spark-opacity);
|
|
180
|
+
filter: drop-shadow(0 18px 28px rgba(47,128,237,0.16));
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.cube {
|
|
184
|
+
left: 18%;
|
|
185
|
+
top: 40%;
|
|
186
|
+
width: 46px;
|
|
187
|
+
height: 46px;
|
|
188
|
+
border-radius: 12px;
|
|
189
|
+
background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(74,182,255,0.34) 55%, rgba(124,109,255,0.34));
|
|
190
|
+
transform: rotate(-18deg);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.chip {
|
|
194
|
+
left: 35%;
|
|
195
|
+
top: 44%;
|
|
196
|
+
width: 48px;
|
|
197
|
+
height: 48px;
|
|
198
|
+
display: grid;
|
|
199
|
+
place-items: center;
|
|
200
|
+
border-radius: 12px;
|
|
201
|
+
color: #fff;
|
|
202
|
+
font-weight: 900;
|
|
203
|
+
background: linear-gradient(145deg, var(--coral), #ffb66e);
|
|
204
|
+
transform: rotate(-14deg);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.bot {
|
|
208
|
+
right: 10%;
|
|
209
|
+
top: 26%;
|
|
210
|
+
width: 58px;
|
|
211
|
+
height: 58px;
|
|
212
|
+
border-radius: 50%;
|
|
213
|
+
background:
|
|
214
|
+
radial-gradient(circle at 50% 42%, #16233b 0 22%, transparent 24%),
|
|
215
|
+
linear-gradient(145deg, #ffffff, #dff2ff 62%, #f3efff);
|
|
216
|
+
border: 1px solid rgba(255,255,255,0.8);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.hero-content {
|
|
220
|
+
position: relative;
|
|
221
|
+
z-index: 2;
|
|
222
|
+
padding: 48px 18px 80px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
h1 {
|
|
226
|
+
margin: 0;
|
|
227
|
+
font-size: clamp(42px, 5.4vw, 76px);
|
|
228
|
+
line-height: 1.08;
|
|
229
|
+
letter-spacing: 0;
|
|
230
|
+
color: var(--ink);
|
|
231
|
+
text-wrap: balance;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.grad {
|
|
235
|
+
background: linear-gradient(90deg, var(--accent-deep), var(--violet));
|
|
236
|
+
-webkit-background-clip: text;
|
|
237
|
+
background-clip: text;
|
|
238
|
+
color: transparent;
|
|
239
|
+
white-space: nowrap;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.lead {
|
|
243
|
+
max-width: 760px;
|
|
244
|
+
margin: 18px auto 28px;
|
|
245
|
+
color: var(--muted);
|
|
246
|
+
font-size: clamp(16px, 1.55vw, 20px);
|
|
247
|
+
line-height: 1.6;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.primary {
|
|
251
|
+
min-height: 52px;
|
|
252
|
+
border: 0;
|
|
253
|
+
border-radius: 14px;
|
|
254
|
+
padding: 0 34px;
|
|
255
|
+
color: #fff;
|
|
256
|
+
background: linear-gradient(135deg, #4ab6ff 0%, var(--accent-deep) 52%, var(--violet) 100%);
|
|
257
|
+
box-shadow: 0 18px 42px rgba(23,105,255,0.26);
|
|
258
|
+
font: inherit;
|
|
259
|
+
font-size: 17px;
|
|
260
|
+
font-weight: 820;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.benefits {
|
|
264
|
+
position: relative;
|
|
265
|
+
z-index: 3;
|
|
266
|
+
display: grid;
|
|
267
|
+
grid-template-columns: 1fr 1fr 1fr 1.1fr;
|
|
268
|
+
gap: 1px;
|
|
269
|
+
min-height: 82px;
|
|
270
|
+
margin: -42px auto 74px;
|
|
271
|
+
width: min(1180px, calc(100% - 36px));
|
|
272
|
+
overflow: hidden;
|
|
273
|
+
border-radius: 18px;
|
|
274
|
+
background: rgba(11,18,32,0.08);
|
|
275
|
+
box-shadow: 0 24px 70px rgba(31,85,139,0.14);
|
|
276
|
+
border: 1px solid rgba(255,255,255,0.72);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.benefit {
|
|
280
|
+
padding: 20px 24px;
|
|
281
|
+
background: rgba(255,255,255,0.92);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.benefit.hot {
|
|
285
|
+
color: var(--ink);
|
|
286
|
+
background:
|
|
287
|
+
radial-gradient(circle at 86% 50%, rgba(73,212,255,0.28), transparent 32%),
|
|
288
|
+
linear-gradient(135deg, rgba(255,255,255,0.96), rgba(223,242,255,0.88));
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.benefit strong {
|
|
292
|
+
display: block;
|
|
293
|
+
font-size: 18px;
|
|
294
|
+
line-height: 1.2;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.benefit span {
|
|
298
|
+
display: block;
|
|
299
|
+
margin-top: 6px;
|
|
300
|
+
color: var(--muted);
|
|
301
|
+
font-size: 13px;
|
|
302
|
+
line-height: 1.45;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.section-head {
|
|
306
|
+
text-align: center;
|
|
307
|
+
margin-bottom: 44px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.section-head h2 {
|
|
311
|
+
margin: 0;
|
|
312
|
+
font-size: clamp(34px, 4vw, 54px);
|
|
313
|
+
line-height: 1.12;
|
|
314
|
+
letter-spacing: 0;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.section-head p {
|
|
318
|
+
margin: 14px 0 0;
|
|
319
|
+
color: var(--muted);
|
|
320
|
+
font-size: 16px;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.tabs {
|
|
324
|
+
display: flex;
|
|
325
|
+
justify-content: center;
|
|
326
|
+
flex-wrap: wrap;
|
|
327
|
+
gap: 18px;
|
|
328
|
+
margin-top: 28px;
|
|
329
|
+
color: var(--ink-soft);
|
|
330
|
+
font-weight: 760;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.tabs span {
|
|
334
|
+
min-height: 40px;
|
|
335
|
+
display: inline-flex;
|
|
336
|
+
align-items: center;
|
|
337
|
+
padding: 0 18px;
|
|
338
|
+
border-radius: 999px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.tabs .active {
|
|
342
|
+
color: var(--accent-deep);
|
|
343
|
+
background: rgba(47,128,237,0.12);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.product-stage {
|
|
347
|
+
position: relative;
|
|
348
|
+
width: min(1180px, 100%);
|
|
349
|
+
margin: 0 auto;
|
|
350
|
+
padding-top: 236px;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.floating-preview {
|
|
354
|
+
position: absolute;
|
|
355
|
+
right: 46px;
|
|
356
|
+
top: 0;
|
|
357
|
+
display: flex;
|
|
358
|
+
gap: 18px;
|
|
359
|
+
align-items: flex-end;
|
|
360
|
+
pointer-events: none;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.poster {
|
|
364
|
+
width: 176px;
|
|
365
|
+
height: 210px;
|
|
366
|
+
border-radius: 20px;
|
|
367
|
+
color: #fff;
|
|
368
|
+
padding: 18px;
|
|
369
|
+
background:
|
|
370
|
+
radial-gradient(circle at 54% 72%, rgba(255,255,255,0.66), transparent 24%),
|
|
371
|
+
linear-gradient(155deg, #2f80ed 0%, #1769ff 46%, #9c7cff 100%);
|
|
372
|
+
box-shadow: 0 28px 56px rgba(23,105,255,0.24);
|
|
373
|
+
transform: rotate(5deg);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.poster:nth-child(2) {
|
|
377
|
+
transform: translateY(-18px) rotate(-3deg);
|
|
378
|
+
background:
|
|
379
|
+
radial-gradient(circle at 70% 76%, rgba(255,186,120,0.7), transparent 26%),
|
|
380
|
+
linear-gradient(155deg, #4ab6ff 0%, #5467ff 50%, #f3a6d8 100%);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.poster:nth-child(3) {
|
|
384
|
+
transform: translateY(12px) rotate(4deg);
|
|
385
|
+
background:
|
|
386
|
+
radial-gradient(circle at 74% 68%, rgba(255,255,255,0.72), transparent 25%),
|
|
387
|
+
linear-gradient(155deg, #2d74ff 0%, #856dff 48%, #ffd0a6 100%);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.poster b {
|
|
391
|
+
display: block;
|
|
392
|
+
font-size: 18px;
|
|
393
|
+
line-height: 1.28;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.poster span {
|
|
397
|
+
display: block;
|
|
398
|
+
margin-top: 10px;
|
|
399
|
+
color: rgba(255,255,255,0.78);
|
|
400
|
+
font-size: 12px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.plans {
|
|
404
|
+
display: grid;
|
|
405
|
+
grid-template-columns: repeat(3, 1fr);
|
|
406
|
+
overflow: hidden;
|
|
407
|
+
border-radius: 24px;
|
|
408
|
+
border: 1px solid rgba(255,255,255,0.76);
|
|
409
|
+
background: var(--surface-solid);
|
|
410
|
+
box-shadow: 0 30px 90px rgba(31,85,139,0.14);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.plan {
|
|
414
|
+
min-height: 420px;
|
|
415
|
+
padding: 36px 34px 32px;
|
|
416
|
+
border-right: 1px solid rgba(11,18,32,0.08);
|
|
417
|
+
background:
|
|
418
|
+
radial-gradient(circle at 78% 0%, rgba(124,109,255,0.08), transparent 34%),
|
|
419
|
+
#fff;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.plan:last-child { border-right: 0; }
|
|
423
|
+
|
|
424
|
+
.tag {
|
|
425
|
+
display: inline-flex;
|
|
426
|
+
align-items: center;
|
|
427
|
+
min-height: 28px;
|
|
428
|
+
padding: 0 10px;
|
|
429
|
+
border-radius: 999px;
|
|
430
|
+
color: var(--accent-deep);
|
|
431
|
+
background: rgba(47,128,237,0.10);
|
|
432
|
+
font-size: 12px;
|
|
433
|
+
font-weight: 800;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.tag.hot {
|
|
437
|
+
color: #f04f42;
|
|
438
|
+
background: rgba(255,122,89,0.12);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.plan h3 {
|
|
442
|
+
margin: 18px 0 20px;
|
|
443
|
+
font-size: clamp(23px, 2vw, 30px);
|
|
444
|
+
line-height: 1.2;
|
|
445
|
+
letter-spacing: 0;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.price {
|
|
449
|
+
display: flex;
|
|
450
|
+
align-items: baseline;
|
|
451
|
+
gap: 8px;
|
|
452
|
+
margin-bottom: 20px;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.price strong {
|
|
456
|
+
font-size: clamp(42px, 4vw, 58px);
|
|
457
|
+
line-height: 1;
|
|
458
|
+
font-variant-numeric: tabular-nums;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.price span {
|
|
462
|
+
color: var(--muted);
|
|
463
|
+
font-size: 15px;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.plan button {
|
|
467
|
+
width: 100%;
|
|
468
|
+
min-height: 50px;
|
|
469
|
+
margin: 8px 0 28px;
|
|
470
|
+
border: 0;
|
|
471
|
+
border-radius: 12px;
|
|
472
|
+
color: #fff;
|
|
473
|
+
background: linear-gradient(135deg, #65bfff, var(--accent-deep), #9b8cff);
|
|
474
|
+
font: inherit;
|
|
475
|
+
font-weight: 830;
|
|
476
|
+
box-shadow: 0 14px 30px rgba(23,105,255,0.20);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.features {
|
|
480
|
+
display: grid;
|
|
481
|
+
gap: 13px;
|
|
482
|
+
margin: 0;
|
|
483
|
+
padding: 0;
|
|
484
|
+
list-style: none;
|
|
485
|
+
color: var(--muted);
|
|
486
|
+
font-size: 14px;
|
|
487
|
+
line-height: 1.5;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.features li::before {
|
|
491
|
+
content: "✓";
|
|
492
|
+
margin-right: 10px;
|
|
493
|
+
color: var(--ink-soft);
|
|
494
|
+
font-weight: 900;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
@media (max-width: 980px) {
|
|
498
|
+
.nav {
|
|
499
|
+
grid-template-columns: 1fr;
|
|
500
|
+
gap: 10px;
|
|
501
|
+
padding: 10px 0;
|
|
502
|
+
}
|
|
503
|
+
.nav-links {
|
|
504
|
+
overflow-x: auto;
|
|
505
|
+
padding-bottom: 4px;
|
|
506
|
+
}
|
|
507
|
+
.hero {
|
|
508
|
+
min-height: 430px;
|
|
509
|
+
}
|
|
510
|
+
.rail {
|
|
511
|
+
width: 680px;
|
|
512
|
+
height: 170px;
|
|
513
|
+
}
|
|
514
|
+
.benefits,
|
|
515
|
+
.plans {
|
|
516
|
+
grid-template-columns: 1fr;
|
|
517
|
+
}
|
|
518
|
+
.floating-preview {
|
|
519
|
+
position: static;
|
|
520
|
+
justify-content: center;
|
|
521
|
+
margin-bottom: 22px;
|
|
522
|
+
}
|
|
523
|
+
.product-stage {
|
|
524
|
+
padding-top: 0;
|
|
525
|
+
}
|
|
526
|
+
.plan {
|
|
527
|
+
min-height: auto;
|
|
528
|
+
border-right: 0;
|
|
529
|
+
border-bottom: 1px solid rgba(11,18,32,0.08);
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
@media (max-width: 640px) {
|
|
534
|
+
.page {
|
|
535
|
+
padding-inline: 14px;
|
|
536
|
+
}
|
|
537
|
+
.nav-links {
|
|
538
|
+
font-size: 13px;
|
|
539
|
+
}
|
|
540
|
+
.hero {
|
|
541
|
+
min-height: 500px;
|
|
542
|
+
border-radius: 0 0 24px 24px;
|
|
543
|
+
}
|
|
544
|
+
.hero-content {
|
|
545
|
+
padding-top: 76px;
|
|
546
|
+
}
|
|
547
|
+
h1 {
|
|
548
|
+
font-size: clamp(38px, 11vw, 52px);
|
|
549
|
+
}
|
|
550
|
+
.cube,
|
|
551
|
+
.chip,
|
|
552
|
+
.bot {
|
|
553
|
+
display: none;
|
|
554
|
+
}
|
|
555
|
+
.benefits {
|
|
556
|
+
width: 100%;
|
|
557
|
+
margin-bottom: 54px;
|
|
558
|
+
}
|
|
559
|
+
.poster {
|
|
560
|
+
width: 108px;
|
|
561
|
+
height: 138px;
|
|
562
|
+
padding: 12px;
|
|
563
|
+
border-radius: 16px;
|
|
564
|
+
}
|
|
565
|
+
.poster b {
|
|
566
|
+
font-size: 13px;
|
|
567
|
+
}
|
|
568
|
+
.poster span {
|
|
569
|
+
display: none;
|
|
570
|
+
}
|
|
571
|
+
.plan {
|
|
572
|
+
padding: 28px 22px;
|
|
573
|
+
}
|
|
574
|
+
.price strong {
|
|
575
|
+
font-size: 42px;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
</style>
|
|
579
|
+
</head>
|
|
580
|
+
<body>
|
|
581
|
+
<main class="page" data-screen-label="01 浅蓝玻璃活动页">
|
|
582
|
+
<nav class="nav" aria-label="主导航">
|
|
583
|
+
<div class="brand">
|
|
584
|
+
<div class="logo" aria-hidden="true"><span></span><span></span><span></span></div>
|
|
585
|
+
<span>云启智能</span>
|
|
586
|
+
</div>
|
|
587
|
+
<div class="nav-links">
|
|
588
|
+
<span>最新活动</span>
|
|
589
|
+
<span>大模型</span>
|
|
590
|
+
<span>产品</span>
|
|
591
|
+
<span>解决方案</span>
|
|
592
|
+
<span>生态合作</span>
|
|
593
|
+
<span>开发者</span>
|
|
594
|
+
</div>
|
|
595
|
+
<div class="nav-cta">2026 智能资源季</div>
|
|
596
|
+
</nav>
|
|
597
|
+
|
|
598
|
+
<section class="hero">
|
|
599
|
+
<div class="rail" aria-hidden="true"></div>
|
|
600
|
+
<div class="cube" aria-hidden="true"></div>
|
|
601
|
+
<div class="chip" aria-hidden="true">%</div>
|
|
602
|
+
<div class="bot" aria-hidden="true"></div>
|
|
603
|
+
<div class="hero-content">
|
|
604
|
+
<h1><span class="grad">AI 资源包</span>,助力业务智能进阶</h1>
|
|
605
|
+
<p class="lead">方舟开发套餐 9.9 元/月起,精选模型额度、视频生成权益和团队协作工具限时开放。</p>
|
|
606
|
+
<button class="primary">立即领取</button>
|
|
607
|
+
</div>
|
|
608
|
+
</section>
|
|
609
|
+
|
|
610
|
+
<section class="benefits" aria-label="活动权益">
|
|
611
|
+
<div class="benefit">
|
|
612
|
+
<strong>开发者首购</strong>
|
|
613
|
+
<span>轻量模型额度,适合快速验证产品想法。</span>
|
|
614
|
+
</div>
|
|
615
|
+
<div class="benefit">
|
|
616
|
+
<strong>旗舰模型包</strong>
|
|
617
|
+
<span>长上下文、代码生成和多模态任务统一计费。</span>
|
|
618
|
+
</div>
|
|
619
|
+
<div class="benefit">
|
|
620
|
+
<strong>热门场景推荐</strong>
|
|
621
|
+
<span>写作、营销、视频和客服场景快速接入。</span>
|
|
622
|
+
</div>
|
|
623
|
+
<div class="benefit hot">
|
|
624
|
+
<strong>2500 万智能额度</strong>
|
|
625
|
+
<span>注册即可领取,支持团队共享和用量追踪。</span>
|
|
626
|
+
</div>
|
|
627
|
+
</section>
|
|
628
|
+
|
|
629
|
+
<section>
|
|
630
|
+
<div class="section-head">
|
|
631
|
+
<h2><span class="grad">精选产品</span>,助力千行百业 AI 创新</h2>
|
|
632
|
+
<p>透明光轨负责氛围,白色大卡负责阅读,蓝紫按钮负责行动。</p>
|
|
633
|
+
<div class="tabs">
|
|
634
|
+
<span>AI 编程</span>
|
|
635
|
+
<span>电商营销</span>
|
|
636
|
+
<span class="active">视频生成</span>
|
|
637
|
+
<span>内容创意</span>
|
|
638
|
+
<span>智能助手</span>
|
|
639
|
+
</div>
|
|
640
|
+
</div>
|
|
641
|
+
|
|
642
|
+
<div class="product-stage">
|
|
643
|
+
<div class="floating-preview" aria-hidden="true">
|
|
644
|
+
<div class="poster"><b>剧情场景生成</b><span>短片预告 · 分镜生成</span></div>
|
|
645
|
+
<div class="poster"><b>素材灵活组合</b><span>图片 · 视频 · 音频</span></div>
|
|
646
|
+
<div class="poster"><b>角色风格实现</b><span>多风格一致性</span></div>
|
|
647
|
+
</div>
|
|
648
|
+
<div class="plans">
|
|
649
|
+
<article class="plan">
|
|
650
|
+
<span class="tag hot">新客首单</span>
|
|
651
|
+
<h3>方舟编程套餐</h3>
|
|
652
|
+
<div class="price"><strong>¥9.90</strong><span>/ 月</span></div>
|
|
653
|
+
<button>立即订阅</button>
|
|
654
|
+
<ul class="features">
|
|
655
|
+
<li>集合主流优秀国产编程模型</li>
|
|
656
|
+
<li>多生态兼容,无缝融入工具链</li>
|
|
657
|
+
<li>团队用量看板和权限管理</li>
|
|
658
|
+
</ul>
|
|
659
|
+
</article>
|
|
660
|
+
<article class="plan">
|
|
661
|
+
<span class="tag">影级质感</span>
|
|
662
|
+
<h3>灵境视频生成包</h3>
|
|
663
|
+
<div class="price"><strong>¥196</strong><span>/ 700 万额度</span></div>
|
|
664
|
+
<button>立即购买</button>
|
|
665
|
+
<ul class="features">
|
|
666
|
+
<li>图片、视频、音频素材可灵活组合</li>
|
|
667
|
+
<li>视频延长、衔接补全和精细编辑</li>
|
|
668
|
+
<li>支持团队素材库和审核流</li>
|
|
669
|
+
</ul>
|
|
670
|
+
</article>
|
|
671
|
+
<article class="plan">
|
|
672
|
+
<span class="tag">旗舰模型</span>
|
|
673
|
+
<h3>全能臻享包</h3>
|
|
674
|
+
<div class="price"><strong>¥280</strong><span>/ 1000 万额度</span></div>
|
|
675
|
+
<button>立即购买</button>
|
|
676
|
+
<ul class="features">
|
|
677
|
+
<li>长上下文推理与多模态任务统一接入</li>
|
|
678
|
+
<li>按量折扣和团队共享额度</li>
|
|
679
|
+
<li>日志审计、成本提醒和质量评估</li>
|
|
680
|
+
</ul>
|
|
681
|
+
</article>
|
|
682
|
+
</div>
|
|
683
|
+
</div>
|
|
684
|
+
</section>
|
|
685
|
+
</main>
|
|
686
|
+
|
|
687
|
+
<script>
|
|
688
|
+
(() => {
|
|
689
|
+
const applyEdits = (edits = {}) => {
|
|
690
|
+
const root = document.documentElement;
|
|
691
|
+
if (edits.primaryBlue) root.style.setProperty("--accent-deep", edits.primaryBlue);
|
|
692
|
+
if (edits.railOpacity) root.style.setProperty("--rail-opacity", String(edits.railOpacity));
|
|
693
|
+
if (edits.sparkOpacity) root.style.setProperty("--spark-opacity", String(edits.sparkOpacity));
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
window.addEventListener("message", (event) => {
|
|
697
|
+
const data = event.data || {};
|
|
698
|
+
if (data.type === "__edit_mode_set_keys") applyEdits(data.edits || data.keys || {});
|
|
699
|
+
});
|
|
700
|
+
|
|
701
|
+
window.parent?.postMessage({
|
|
702
|
+
type: "__edit_mode_available",
|
|
703
|
+
edits: {
|
|
704
|
+
primaryBlue: "#1769ff",
|
|
705
|
+
railOpacity: 0.88,
|
|
706
|
+
sparkOpacity: 0.82
|
|
707
|
+
}
|
|
708
|
+
}, "*");
|
|
709
|
+
})();
|
|
710
|
+
</script>
|
|
711
|
+
<script type="application/json" id="editmode-config">
|
|
712
|
+
/*EDITMODE-BEGIN*/
|
|
713
|
+
{
|
|
714
|
+
"primaryBlue": {
|
|
715
|
+
"label": "主蓝色",
|
|
716
|
+
"type": "color",
|
|
717
|
+
"value": "#1769ff"
|
|
718
|
+
},
|
|
719
|
+
"railOpacity": {
|
|
720
|
+
"label": "光轨强度",
|
|
721
|
+
"type": "range",
|
|
722
|
+
"min": 0.34,
|
|
723
|
+
"max": 1,
|
|
724
|
+
"step": 0.02,
|
|
725
|
+
"value": 0.88
|
|
726
|
+
},
|
|
727
|
+
"sparkOpacity": {
|
|
728
|
+
"label": "活力点强度",
|
|
729
|
+
"type": "range",
|
|
730
|
+
"min": 0.28,
|
|
731
|
+
"max": 1,
|
|
732
|
+
"step": 0.02,
|
|
733
|
+
"value": 0.82
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
/*EDITMODE-END*/
|
|
737
|
+
</script>
|
|
738
|
+
</body>
|
|
739
|
+
</html>
|