codymaster 7.0.2 → 7.0.3
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/CHANGELOG.md +64 -0
- package/README.md +38 -1
- package/dist/agent/codex.js +73 -21
- package/dist/agent-dispatch.js +63 -48
- package/dist/cli/commands/brain.js +18 -0
- package/dist/cli/commands/design-studio.js +1 -1
- package/dist/cm-suggest.js +3 -3
- package/dist/dashboard-project-summary.js +9 -0
- package/dist/dashboard.js +11 -5
- package/dist/execution-analyzer.js +9 -1
- package/dist/judge.js +16 -15
- package/dist/mcp-context-server.js +45 -23
- package/dist/mcp-skills-tools.js +2 -2
- package/dist/skill-chain.js +26 -3
- package/dist/skill-token-report.js +105 -0
- package/dist/sprint-pipeline.js +3 -3
- package/dist/ui/onboarding.js +3 -4
- package/dist/utils/design-taste.js +1 -1
- package/dist/utils/output-compress.js +8 -0
- package/package.json +2 -1
- package/public/dashboard/app.js +40 -13
- package/public/dashboard/index.html +190 -5
- package/public/dashboard/style.css +1 -1
- package/scripts/build-skills.mjs +36 -2
- package/scripts/mcp-bridge.js +41 -24
- package/scripts/pack-plugin.mjs +206 -0
- package/skills/cm-ads-tracker/SKILL.md +401 -0
- package/skills/cm-ads-tracker/evals/evals.json +55 -0
- package/skills/cm-ads-tracker/references/gtm-architecture.md +321 -0
- package/skills/cm-ads-tracker/references/industry-events.md +294 -0
- package/skills/cm-ads-tracker/references/platforms-api.md +238 -0
- package/skills/cm-ads-tracker/templates/capi-payload.md +79 -0
- package/skills/cm-ads-tracker/templates/datalayer-push.js +104 -0
- package/skills/cm-ads-tracker/templates/gtm-variables.js +56 -0
- package/skills/cm-auto-publisher/SKILL.md +81 -0
- package/skills/cm-booking-calendar/SKILL.md +521 -0
- package/skills/cm-booking-calendar/references/industry-patterns.md +527 -0
- package/skills/cm-booking-calendar/templates/booking-form.css +626 -0
- package/skills/cm-booking-calendar/templates/booking-form.html +477 -0
- package/skills/cm-booking-calendar/templates/calendar-engine.js +419 -0
- package/skills/cm-booking-calendar/templates/calendar-export.js +395 -0
- package/skills/cm-booking-calendar/templates/reminder-config.js +629 -0
- package/skills/cm-brainstorm-idea/SKILL.md +5 -5
- package/skills/cm-code-review/SKILL.md +2 -2
- package/skills/cm-codeintell/SKILL.md +47 -580
- package/skills/cm-codeintell/references/integration-workflows.md +23 -0
- package/skills/cm-codeintell/references/layer-0-skeleton.md +54 -0
- package/skills/cm-codeintell/references/layer-1-codegraph.md +58 -0
- package/skills/cm-codeintell/references/layer-2-architecture.md +31 -0
- package/skills/cm-codeintell/references/layer-3-context-builder.md +32 -0
- package/skills/cm-content-factory/.content-factory-state.json +132 -0
- package/skills/cm-content-factory/.git 2/logs/refs/heads/main +1 -0
- package/skills/cm-content-factory/.git 2/logs/refs/remotes/origin/main +1 -0
- package/skills/cm-content-factory/.git 2/objects/02/fb0956734b5f8ba3f918b7defd04a89cfe0076 +0 -0
- package/skills/cm-content-factory/.git 2/objects/08/1e129d75dc6feac6c02037272e6bd1a04e3324 +0 -0
- package/skills/cm-content-factory/.git 2/objects/0c/5393416f3c5e01c9a655a802bff0dd52f76f0a +0 -0
- package/skills/cm-content-factory/.git 2/objects/10/0b9be46978a946a77188f68be725098a122001 +0 -0
- package/skills/cm-content-factory/.git 2/objects/10/cf041167fc9843610eb3d90259ef3396315fdc +0 -0
- package/skills/cm-content-factory/.git 2/objects/12/5e19538dd6e1338ffe74f6c4c165b00435bf48 +0 -0
- package/skills/cm-content-factory/.git 2/objects/16/a9b9d0088d5c1347628b45a2620b479d8ad57c +0 -0
- package/skills/cm-content-factory/.git 2/objects/17/8c2a9ef93c33ae4eec9d58e82321f9229843a1 +0 -0
- package/skills/cm-content-factory/.git 2/objects/25/397ae41d09104d763bdcac2695209d85cdea89 +0 -0
- package/skills/cm-content-factory/.git 2/objects/2f/a836b7947f2d458e1f639788bf4bb0983a3305 +0 -0
- package/skills/cm-content-factory/.git 2/objects/3a/baaaf0a1c0909c0828335791557125fba911e0 +0 -0
- package/skills/cm-content-factory/.git 2/objects/42/2924221b81f5ce3c4e4daac9a64a24f9b01f9a +0 -0
- package/skills/cm-content-factory/.git 2/objects/42/ec0ce707447dc11446a34c9995fb8533801731 +0 -0
- package/skills/cm-content-factory/.git 2/objects/46/e43ce92866d56ce74b1d750db307cfe6154a15 +0 -0
- package/skills/cm-content-factory/.git 2/objects/48/5e41b633c63f55b8277bcc59f44f67681f671a +0 -0
- package/skills/cm-content-factory/.git 2/objects/49/49c596a3a89fa240642acd95dd3258e261eb09 +0 -0
- package/skills/cm-content-factory/.git 2/objects/50/9d42d8412ef8eaf7f7e138476bac2e4d10ce60 +0 -0
- package/skills/cm-content-factory/.git 2/objects/55/0c8c389d981b463ef849aeb792d8be3ccb6ec8 +0 -0
- package/skills/cm-content-factory/.git 2/objects/5d/82d3b18410cdda3ace3677436f0cb599dbe2d2 +0 -0
- package/skills/cm-content-factory/.git 2/objects/60/0617c58e871a38b33bf29e282d132bb3c381ad +0 -0
- package/skills/cm-content-factory/.git 2/objects/6a/8369a99c687b7245c92ffaf0e0f0dab9014504 +0 -0
- package/skills/cm-content-factory/.git 2/objects/79/bea435d40ab531c1aaf6be0432c6a5b7aaed21 +0 -0
- package/skills/cm-content-factory/.git 2/objects/7e/5ebd79251c2f14e4aceb86c74b6b6daae6b500 +0 -0
- package/skills/cm-content-factory/.git 2/objects/81/98a822a60178d6d5023ddb3e222cddf048742e +0 -0
- package/skills/cm-content-factory/.git 2/objects/86/0a0e1943dfe53411d2e499a1f16f46a96ef758 +0 -0
- package/skills/cm-content-factory/.git 2/objects/86/971fb55fdc081fdbae52376f0f13e57a4e9b04 +0 -0
- package/skills/cm-content-factory/.git 2/objects/88/b89dd609a0a03f8d4fe8bfde20d5b8fc1d326d +0 -0
- package/skills/cm-content-factory/.git 2/objects/90/8737edb6b7809e32cc01590b4e08ba42a9d40d +0 -0
- package/skills/cm-content-factory/.git 2/objects/93/d5a8a9a7d4fb7f11491cb596a6880528725118 +0 -0
- package/skills/cm-content-factory/.git 2/objects/98/46a2ab81d0c3b3eb00ef88fc56989aa7e9f316 +0 -0
- package/skills/cm-content-factory/.git 2/objects/9b/d8dd1e49cf274eaf9c555f3ab39dce7af5715e +0 -0
- package/skills/cm-content-factory/.git 2/objects/a1/13329fb0cec96ae78b222d33a24c3b5bc7fa1f +0 -0
- package/skills/cm-content-factory/.git 2/objects/a9/e6effe626e8a3aea3a8fc3364b492191c6e7d0 +0 -0
- package/skills/cm-content-factory/.git 2/objects/ad/6de7e48d9782cca9353d1ff0aa1aab7fe1df85 +0 -0
- package/skills/cm-content-factory/.git 2/objects/af/54ae316f771ff692e299ffcd8bf2f06b413b59 +0 -0
- package/skills/cm-content-factory/.git 2/objects/b0/4cb8b0b00dad633e731c1472161419e738d674 +0 -0
- package/skills/cm-content-factory/.git 2/objects/b3/094abb0b9ed46419b269e4a4e36a459690e3b0 +0 -0
- package/skills/cm-content-factory/.git 2/objects/b9/435c5d4baac2cfc5c83009ddd27b46b60db5f1 +0 -0
- package/skills/cm-content-factory/.git 2/objects/ba/5da17dbaec5ec2dcfdfd126aead518d1171d5c +0 -0
- package/skills/cm-content-factory/.git 2/objects/c0/bf58703aa258ba5dd63083bebaec8f223d844c +0 -0
- package/skills/cm-content-factory/.git 2/objects/c4/701a34edf1fc1bad58ccc57bd03f9426acb59a +0 -0
- package/skills/cm-content-factory/.git 2/objects/c7/5ccce9a4e5cc74d9b3174550cf6d993ca43638 +0 -0
- package/skills/cm-content-factory/.git 2/objects/c7/710d59b5a35b0f1f0a0399386643a0bd94c929 +0 -0
- package/skills/cm-content-factory/.git 2/objects/d1/fe58237112e953e5fec52da22cf38e08be3df9 +5 -0
- package/skills/cm-content-factory/.git 2/objects/d2/2bbe9fd2f74c95bc5583e803f5e435f1e2cd86 +0 -0
- package/skills/cm-content-factory/.git 2/objects/d7/e72852ea2bff74581dbf247d400120086229f4 +0 -0
- package/skills/cm-content-factory/.git 2/objects/d8/d4c3b5553e4fd72807e1d4b49ef07d9ef3ac35 +0 -0
- package/skills/cm-content-factory/.git 2/objects/dc/75050c2876f6a02ae2a53a3c886f395b622977 +0 -0
- package/skills/cm-content-factory/.git 2/objects/ee/e8546f95acec500187c08a28a8b9ee02db0dec +0 -0
- package/skills/cm-content-factory/.git 2/objects/ef/263c059208b416c2146434f10cb2b9fabcba16 +0 -0
- package/skills/cm-content-factory/.git 2/objects/f3/ae597e84d9a59b88acd21c99bde2eaf686d785 +0 -0
- package/skills/cm-content-factory/.git 2/objects/f3/f6f5673c821d3d8e76fa267a9e882e7a5387ea +0 -0
- package/skills/cm-content-factory/.git 2/objects/f9/6e6d0ad02624dd11d5848594d056caef7a5e8b +0 -0
- package/skills/cm-content-factory/.git 2/objects/ff/278988fc1edf0db3abcf18de795f4cc0b4f3e1 +0 -0
- package/skills/cm-content-factory/.git 2/refs/heads/main +1 -0
- package/skills/cm-content-factory/.git 2/refs/remotes/origin/main +1 -0
- package/skills/cm-content-factory/.pytest_cache 2/v/cache/nodeids +76 -0
- package/skills/cm-content-factory/.pytest_cache 2/v/cache/stepwise +1 -0
- package/skills/cm-content-factory/AGENTS.md +61 -0
- package/skills/cm-content-factory/CLAUDE.md +63 -0
- package/skills/cm-content-factory/CURSOR.md +43 -0
- package/skills/cm-content-factory/Content Factory.zip +0 -0
- package/skills/cm-content-factory/SKILL.md +416 -0
- package/skills/cm-content-factory/cf +313 -0
- package/skills/cm-content-factory/config.schema.json +397 -0
- package/skills/cm-content-factory/dashboard/app.js +556 -0
- package/skills/cm-content-factory/dashboard/index.html +397 -0
- package/skills/cm-content-factory/dashboard/style.css +1211 -0
- package/skills/cm-content-factory/examples/01-real-estate.config.json +146 -0
- package/skills/cm-content-factory/examples/02-personal-finance.config.json +146 -0
- package/skills/cm-content-factory/examples/03-health-wellness.config.json +147 -0
- package/skills/cm-content-factory/examples/04-saas-software.config.json +147 -0
- package/skills/cm-content-factory/examples/05-legal-services.config.json +147 -0
- package/skills/cm-content-factory/examples/06-insurance.config.json +146 -0
- package/skills/cm-content-factory/examples/07-ecommerce-dropship.config.json +146 -0
- package/skills/cm-content-factory/examples/08-online-education.config.json +147 -0
- package/skills/cm-content-factory/examples/09-crypto-defi.config.json +147 -0
- package/skills/cm-content-factory/examples/10-beauty-skincare.config.json +147 -0
- package/skills/cm-content-factory/examples/11-home-services.config.json +146 -0
- package/skills/cm-content-factory/examples/12-dental-clinic.config.json +147 -0
- package/skills/cm-content-factory/examples/13-pet-care.config.json +147 -0
- package/skills/cm-content-factory/examples/14-travel-hospitality.config.json +147 -0
- package/skills/cm-content-factory/examples/15-ai-automation.config.json +147 -0
- package/skills/cm-content-factory/examples/16-wedding-events.config.json +147 -0
- package/skills/cm-content-factory/examples/17-fitness-coaching.config.json +148 -0
- package/skills/cm-content-factory/examples/18-cybersecurity.config.json +147 -0
- package/skills/cm-content-factory/examples/19-food-restaurant.config.json +148 -0
- package/skills/cm-content-factory/examples/20-solar-energy.config.json +147 -0
- package/skills/cm-content-factory/examples/fitness-blog.config.json +116 -0
- package/skills/cm-content-factory/examples/tech-blog.config.json +107 -0
- package/skills/cm-content-factory/extensions/EXTENSION_GUIDE.md +72 -0
- package/skills/cm-content-factory/extensions/hooks.py +126 -0
- package/skills/cm-content-factory/extensions/openclaw_adapter.py +132 -0
- package/skills/cm-content-factory/landing/docs/content/changelog.md +36 -0
- package/skills/cm-content-factory/landing/docs/content/deployment.md +46 -0
- package/skills/cm-content-factory/landing/docs/content/execution-flow.md +67 -0
- package/skills/cm-content-factory/landing/docs/content/openspace.md +27 -0
- package/skills/cm-content-factory/landing/docs/content/openviking.md +33 -0
- package/skills/cm-content-factory/landing/docs/content/use-cases.md +26 -0
- package/skills/cm-content-factory/landing/docs/content/v5-intro.md +28 -0
- package/skills/cm-content-factory/landing/docs/index.html +240 -0
- package/skills/cm-content-factory/landing/index.html +680 -0
- package/skills/cm-content-factory/landing/script.js +143 -0
- package/skills/cm-content-factory/landing/style.css +1216 -0
- package/skills/cm-content-factory/landing/translations.js +508 -0
- package/skills/cm-content-factory/logs/events.jsonl +11 -0
- package/skills/cm-content-factory/profiles/_template.profile.json +231 -0
- package/skills/cm-content-factory/profiles/finance.profile.json +278 -0
- package/skills/cm-content-factory/profiles/legal.profile.json +263 -0
- package/skills/cm-content-factory/profiles/medical-research.profile.json +321 -0
- package/skills/cm-content-factory/profiles/technology.profile.json +275 -0
- package/skills/cm-content-factory/scripts/agent_dispatcher.py +266 -0
- package/skills/cm-content-factory/scripts/audit.py +106 -0
- package/skills/cm-content-factory/scripts/dashboard_server.py +225 -0
- package/skills/cm-content-factory/scripts/deploy.py +146 -0
- package/skills/cm-content-factory/scripts/extract.py +132 -0
- package/skills/cm-content-factory/scripts/landing_generator.py +459 -0
- package/skills/cm-content-factory/scripts/memory.py +521 -0
- package/skills/cm-content-factory/scripts/monetize.py +239 -0
- package/skills/cm-content-factory/scripts/pipeline.py +357 -0
- package/skills/cm-content-factory/scripts/plan.py +163 -0
- package/skills/cm-content-factory/scripts/publish.py +145 -0
- package/skills/cm-content-factory/scripts/research.py +337 -0
- package/skills/cm-content-factory/scripts/scaffold.py +464 -0
- package/skills/cm-content-factory/scripts/scoreboard.py +336 -0
- package/skills/cm-content-factory/scripts/seo.py +90 -0
- package/skills/cm-content-factory/scripts/state_manager.py +320 -0
- package/skills/cm-content-factory/scripts/token_manager.py +268 -0
- package/skills/cm-content-factory/scripts/validate.py +221 -0
- package/skills/cm-content-factory/scripts/wizard.py +329 -0
- package/skills/cm-content-factory/scripts/write.py +93 -0
- package/skills/cm-content-factory/sites/docs-site/src/assets/houston.webp +0 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/architecture.md +90 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/data-flow.md +54 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/deployment.md +38 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/index.md +65 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/lc-content-lifecycle.md +48 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/seq-write-mode.md +39 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/uj-first-batch.md +42 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/wf-content-pipeline.md +51 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/wf-learning-cycle.md +52 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/configuration.md +86 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/installation.md +80 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/intro.md +58 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/index.md +102 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/index.md +45 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/optimize-seo.md +29 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/scale-content-production.md +55 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/standardize-quality.md +29 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/buyer-cmo-huong.md +41 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/buyer-content-lead-khoa.md +40 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/index.md +56 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-content-manager-lan.md +46 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-seo-minh.md +45 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-writer-tu.md +45 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/content-pipeline.md +108 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/index.md +22 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/memory-system.md +52 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/seo-optimization.md +58 -0
- package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/troubleshooting-guide.md +92 -0
- package/skills/cm-content-factory/sites/docs-site/src/styles/custom.css +575 -0
- package/skills/cm-content-factory/tests/conftest.py +66 -0
- package/skills/cm-content-factory/tests/test_agent_dispatcher.py +125 -0
- package/skills/cm-content-factory/tests/test_memory.py +128 -0
- package/skills/cm-content-factory/tests/test_pipeline.py +107 -0
- package/skills/cm-content-factory/tests/test_research.py +56 -0
- package/skills/cm-content-factory/tests/test_state_manager.py +131 -0
- package/skills/cm-content-factory/tests/test_token_manager.py +110 -0
- package/skills/cm-content-factory/tests/test_wizard.py +121 -0
- package/skills/cm-continuity/SKILL.md +49 -480
- package/skills/cm-continuity/references/cm-uri-scheme.md +23 -0
- package/skills/cm-continuity/references/continuity-template.md +48 -0
- package/skills/cm-continuity/references/mcp-context-server.md +27 -0
- package/skills/cm-continuity/references/memory-architecture.md +26 -0
- package/skills/cm-continuity/references/memory-audit.md +18 -0
- package/skills/cm-continuity/references/session-protocol.md +31 -0
- package/skills/cm-continuity/references/storage-formats.md +20 -0
- package/skills/cm-cro-methodology/SKILL.md +290 -0
- package/skills/cm-cro-methodology/references/COPYWRITING.md +178 -0
- package/skills/cm-cro-methodology/references/OBJECTIONS.md +135 -0
- package/skills/cm-cro-methodology/references/PERSUASION.md +158 -0
- package/skills/cm-cro-methodology/references/RESEARCH.md +220 -0
- package/skills/cm-cro-methodology/references/funnel-analysis.md +365 -0
- package/skills/cm-cro-methodology/references/testing-methodology.md +330 -0
- package/skills/cm-design-system/SKILL.md +5 -6
- package/skills/cm-execution/SKILL.md +61 -379
- package/skills/cm-execution/references/mode-a-batch.md +28 -0
- package/skills/cm-execution/references/mode-b-subagent.md +46 -0
- package/skills/cm-execution/references/mode-c-parallel.md +39 -0
- package/skills/cm-execution/references/mode-d-rarv.md +62 -0
- package/skills/cm-execution/references/mode-e-triz-parallel.md +53 -0
- package/skills/cm-execution/references/mode-f-party.md +61 -0
- package/skills/cm-execution/references/persona-dispatch.md +22 -0
- package/skills/cm-execution/references/security-rules.md +47 -0
- package/skills/cm-google-form/SKILL.md +266 -0
- package/skills/cm-google-form/templates/apps-script.js +55 -0
- package/skills/cm-google-form/templates/form-markup.html +110 -0
- package/skills/cm-google-form/templates/form-submit.js +201 -0
- package/skills/cm-google-form/templates/toast.css +152 -0
- package/skills/cm-growth-hacking/SKILL.md +282 -0
- package/skills/cm-growth-hacking/bottom-sheet-engine.md +261 -0
- package/skills/cm-growth-hacking/calendar-integration.md +264 -0
- package/skills/cm-growth-hacking/references/engagement-patterns.md +346 -0
- package/skills/cm-growth-hacking/templates/bottom-sheet.css +528 -0
- package/skills/cm-growth-hacking/templates/bottom-sheet.js +269 -0
- package/skills/cm-growth-hacking/templates/calendar-cta.js +213 -0
- package/skills/cm-growth-hacking/templates/tracking-events.js +211 -0
- package/skills/cm-growth-hacking/templates/trigger-manager.js +254 -0
- package/skills/cm-growth-hacking/tracking-events.md +246 -0
- package/skills/cm-growth-hacking/trigger-system.md +342 -0
- package/skills/cm-how-it-work/SKILL.md +8 -9
- package/skills/cm-identity-guard/SKILL.md +4 -4
- package/skills/cm-jtbd/SKILL.md +98 -0
- package/skills/cm-notebooklm/SKILL.md +156 -0
- package/skills/cm-notebooklm/references/command_reference.md +94 -0
- package/skills/cm-notebooklm/references/workflows.md +60 -0
- package/skills/cm-notebooklm/resources/knowledge_sources.md +106 -0
- package/skills/cm-notebooklm/scripts/brain-sync.sh +453 -0
- package/skills/cm-notebooklm/scripts/graduate_wisdom.py +101 -0
- package/skills/cm-planning/SKILL.md +3 -3
- package/skills/cm-project-bootstrap/SKILL.md +2 -2
- package/skills/cm-quality-gate/SKILL.md +1 -1
- package/skills/cm-readit/SKILL.md +289 -0
- package/skills/cm-readit/audio-player.md +206 -0
- package/skills/cm-readit/examples/blog-reader.js +352 -0
- package/skills/cm-readit/examples/voice-cro.js +390 -0
- package/skills/cm-readit/tts-engine.md +262 -0
- package/skills/cm-readit/ui-patterns.md +362 -0
- package/skills/cm-readit/voice-cro.md +223 -0
- package/skills/cm-safe-deploy/SKILL.md +80 -510
- package/skills/cm-safe-deploy/references/gate-0-5-security-scan.md +31 -0
- package/skills/cm-safe-deploy/references/gate-0-secret-hygiene.md +68 -0
- package/skills/cm-safe-deploy/references/gate-1-syntax.md +23 -0
- package/skills/cm-safe-deploy/references/gate-2-test-suite.md +28 -0
- package/skills/cm-safe-deploy/references/gate-3-i18n.md +19 -0
- package/skills/cm-safe-deploy/references/gate-4-5-build-dist.md +16 -0
- package/skills/cm-safe-deploy/references/gate-6-deploy-smoke.md +18 -0
- package/skills/cm-safe-deploy/references/rollback.md +17 -0
- package/skills/cm-safe-deploy/references/setup-new-project.md +20 -0
- package/skills/cm-skill-index/SKILL.md +15 -15
- package/skills/cm-start/SKILL.md +1 -1
- package/skills/cm-tdd/SKILL.md +51 -356
- package/skills/cm-tdd/references/bugfix-example.md +15 -0
- package/skills/cm-tdd/references/rationalizations.md +20 -0
- package/skills/cm-tdd/references/red-green-refactor.md +33 -0
- package/skills/cm-tdd/references/stuck-debugging.md +18 -0
- package/skills/cm-tdd/references/test-quality.md +19 -0
- package/skills/cm-ux-master/SKILL.md +368 -115
- package/skills/profiles/core.txt +1 -4
- package/skills/profiles/design.txt +1 -2
- package/skills/profiles/full.txt +10 -16
- package/skills/profiles/growth.txt +9 -9
- package/skills/profiles/top35.json +13 -13
- package/skills/cm-conductor-worktrees/SKILL.archive.md +0 -28
- package/skills/cm-conductor-worktrees/SKILL.md +0 -26
- package/skills/cm-dashboard/SKILL.archive.md +0 -15
- package/skills/cm-dashboard/SKILL.md +0 -26
- package/skills/cm-dashboard/ui/app.js +0 -1278
- package/skills/cm-dashboard/ui/index.html +0 -206
- package/skills/cm-dashboard/ui/style.css +0 -440
- package/skills/cm-design-studio/SKILL.archive.md +0 -34
- package/skills/cm-design-studio/SKILL.md +0 -26
- package/skills/cm-engineering-meta/SKILL.archive.md +0 -73
- package/skills/cm-engineering-meta/SKILL.md +0 -26
- package/skills/cm-git-worktrees/SKILL.archive.md +0 -157
- package/skills/cm-git-worktrees/SKILL.md +0 -26
- package/skills/cm-post-deploy-canary/SKILL.archive.md +0 -22
- package/skills/cm-post-deploy-canary/SKILL.md +0 -26
- package/skills/cm-qa-visual-cli/SKILL.archive.md +0 -22
- package/skills/cm-qa-visual-cli/SKILL.md +0 -26
- package/skills/cm-second-opinion-cli/SKILL.archive.md +0 -23
- package/skills/cm-second-opinion-cli/SKILL.md +0 -26
- package/skills/cm-secret-shield/SKILL.archive.md +0 -580
- package/skills/cm-secret-shield/SKILL.md +0 -26
- package/skills/cm-security-gate/SKILL.archive.md +0 -239
- package/skills/cm-security-gate/SKILL.md +0 -26
- package/skills/cm-skill-health/SKILL.archive.md +0 -83
- package/skills/cm-skill-health/SKILL.md +0 -26
- package/skills/cm-skill-mastery/SKILL.archive.md +0 -156
- package/skills/cm-skill-mastery/SKILL.md +0 -26
- package/skills/cm-skill-search/SKILL.archive.md +0 -49
- package/skills/cm-skill-search/SKILL.md +0 -26
- package/skills/cm-skill-share/SKILL.archive.md +0 -58
- package/skills/cm-skill-share/SKILL.md +0 -26
- package/skills/cm-test-gate/SKILL.archive.md +0 -245
- package/skills/cm-test-gate/SKILL.md +0 -26
- package/skills/cm-ui-preview/SKILL.archive.md +0 -153
- package/skills/cm-ui-preview/SKILL.md +0 -26
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Content Factory — Dashboard</title>
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link
|
|
11
|
+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
|
|
12
|
+
rel="stylesheet">
|
|
13
|
+
<link rel="stylesheet" href="style.css">
|
|
14
|
+
</head>
|
|
15
|
+
|
|
16
|
+
<body>
|
|
17
|
+
<!-- UX: Semantic HTML — proper landmark elements for accessibility -->
|
|
18
|
+
<header class="header" role="banner">
|
|
19
|
+
<div class="header-left">
|
|
20
|
+
<div class="logo">
|
|
21
|
+
<!-- UX: SVG icon instead of emoji -->
|
|
22
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
23
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
24
|
+
<path d="M12 2L2 7l10 5 10-5-10-5z" />
|
|
25
|
+
<path d="M2 17l10 5 10-5" />
|
|
26
|
+
<path d="M2 12l10 5 10-5" />
|
|
27
|
+
</svg>
|
|
28
|
+
<span>Content Factory</span>
|
|
29
|
+
</div>
|
|
30
|
+
<span class="version-badge">v2.0</span>
|
|
31
|
+
</div>
|
|
32
|
+
<nav class="header-right" role="navigation" aria-label="Dashboard controls">
|
|
33
|
+
<div class="connection-status" id="connectionStatus" role="status" aria-live="polite">
|
|
34
|
+
<span class="status-dot"></span>
|
|
35
|
+
<span class="status-text">Connecting...</span>
|
|
36
|
+
</div>
|
|
37
|
+
<span class="header-time" id="headerTime" aria-label="Current time"></span>
|
|
38
|
+
<!-- UX: Fitts's Law — Settings button ≥ 44px touch target -->
|
|
39
|
+
<button class="icon-btn" id="settingsBtn" aria-label="Open settings" aria-haspopup="dialog"
|
|
40
|
+
title="Settings">
|
|
41
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
42
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
43
|
+
<circle cx="12" cy="12" r="3" />
|
|
44
|
+
<path
|
|
45
|
+
d="M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-4 0v-.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06A1.65 1.65 0 004.68 15a1.65 1.65 0 00-1.51-1H3a2 2 0 010-4h.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 012.83-2.83l.06.06A1.65 1.65 0 009 4.68a1.65 1.65 0 001-1.51V3a2 2 0 014 0v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 2.83l-.06.06A1.65 1.65 0 0019.4 9a1.65 1.65 0 001.51 1H21a2 2 0 010 4h-.09a1.65 1.65 0 00-1.51 1z" />
|
|
46
|
+
</svg>
|
|
47
|
+
</button>
|
|
48
|
+
</nav>
|
|
49
|
+
</header>
|
|
50
|
+
|
|
51
|
+
<main class="main" role="main">
|
|
52
|
+
<!-- Status Bar -->
|
|
53
|
+
<!-- UX: Miller's Law — 4 items chunked in 2×2 on mobile -->
|
|
54
|
+
<section class="status-bar" id="statusBar" aria-label="Pipeline status overview">
|
|
55
|
+
<div class="status-card">
|
|
56
|
+
<div class="status-icon-wrap">
|
|
57
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
58
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
59
|
+
<path d="M22 12h-4l-3 9L9 3l-3 9H2" />
|
|
60
|
+
</svg>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="status-info">
|
|
63
|
+
<span class="status-label">Status</span>
|
|
64
|
+
<span class="status-value" id="pipelineStatus">Idle</span>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="status-card">
|
|
68
|
+
<div class="status-icon-wrap">
|
|
69
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
70
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
71
|
+
<path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" />
|
|
72
|
+
<polyline points="14 2 14 8 20 8" />
|
|
73
|
+
<line x1="16" y1="13" x2="8" y2="13" />
|
|
74
|
+
<line x1="16" y1="17" x2="8" y2="17" />
|
|
75
|
+
</svg>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="status-info">
|
|
78
|
+
<span class="status-label">Articles</span>
|
|
79
|
+
<span class="status-value" id="articlesCount">0 / 0</span>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="status-card">
|
|
83
|
+
<div class="status-icon-wrap">
|
|
84
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
85
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
86
|
+
<line x1="12" y1="1" x2="12" y2="23" />
|
|
87
|
+
<path d="M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6" />
|
|
88
|
+
</svg>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="status-info">
|
|
91
|
+
<span class="status-label">Cost</span>
|
|
92
|
+
<span class="status-value" id="totalCost">$0.0000</span>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="status-card">
|
|
96
|
+
<div class="status-icon-wrap">
|
|
97
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
98
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
99
|
+
<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2" />
|
|
100
|
+
</svg>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="status-info">
|
|
103
|
+
<span class="status-label">Agents</span>
|
|
104
|
+
<span class="status-value" id="agentCount">0</span>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</section>
|
|
108
|
+
|
|
109
|
+
<!-- Pipeline Progress -->
|
|
110
|
+
<section class="card pipeline-section" aria-label="Pipeline progress">
|
|
111
|
+
<h2 class="card-title">Pipeline Progress</h2>
|
|
112
|
+
<!-- UX: Horizontal scroll with snap on mobile instead of wrapping -->
|
|
113
|
+
<div class="pipeline-scroll-wrap">
|
|
114
|
+
<div class="pipeline-track" id="pipelineTrack">
|
|
115
|
+
<div class="phase-node" data-phase="extract">
|
|
116
|
+
<div class="phase-circle">
|
|
117
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
118
|
+
stroke-width="2">
|
|
119
|
+
<path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4" />
|
|
120
|
+
<polyline points="17 8 12 3 7 8" />
|
|
121
|
+
<line x1="12" y1="3" x2="12" y2="15" />
|
|
122
|
+
</svg>
|
|
123
|
+
</div>
|
|
124
|
+
<span class="phase-label">Extract</span>
|
|
125
|
+
<div class="phase-progress">
|
|
126
|
+
<div class="phase-progress-fill" style="width:0%"></div>
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
<div class="phase-connector"></div>
|
|
130
|
+
<div class="phase-node" data-phase="plan">
|
|
131
|
+
<div class="phase-circle">
|
|
132
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
133
|
+
stroke-width="2">
|
|
134
|
+
<path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" />
|
|
135
|
+
<polyline points="14 2 14 8 20 8" />
|
|
136
|
+
</svg>
|
|
137
|
+
</div>
|
|
138
|
+
<span class="phase-label">Plan</span>
|
|
139
|
+
<div class="phase-progress">
|
|
140
|
+
<div class="phase-progress-fill" style="width:0%"></div>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="phase-connector"></div>
|
|
144
|
+
<div class="phase-node" data-phase="write">
|
|
145
|
+
<div class="phase-circle">
|
|
146
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
147
|
+
stroke-width="2">
|
|
148
|
+
<path d="M12 20h9" />
|
|
149
|
+
<path d="M16.5 3.5a2.121 2.121 0 013 3L7 19l-4 1 1-4L16.5 3.5z" />
|
|
150
|
+
</svg>
|
|
151
|
+
</div>
|
|
152
|
+
<span class="phase-label">Write</span>
|
|
153
|
+
<div class="phase-progress">
|
|
154
|
+
<div class="phase-progress-fill" style="width:0%"></div>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="phase-connector"></div>
|
|
158
|
+
<div class="phase-node" data-phase="audit">
|
|
159
|
+
<div class="phase-circle">
|
|
160
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
161
|
+
stroke-width="2">
|
|
162
|
+
<path d="M9 11l3 3L22 4" />
|
|
163
|
+
<path d="M21 12v7a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h11" />
|
|
164
|
+
</svg>
|
|
165
|
+
</div>
|
|
166
|
+
<span class="phase-label">Audit</span>
|
|
167
|
+
<div class="phase-progress">
|
|
168
|
+
<div class="phase-progress-fill" style="width:0%"></div>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="phase-connector"></div>
|
|
172
|
+
<div class="phase-node" data-phase="seo">
|
|
173
|
+
<div class="phase-circle">
|
|
174
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
175
|
+
stroke-width="2">
|
|
176
|
+
<circle cx="11" cy="11" r="8" />
|
|
177
|
+
<line x1="21" y1="21" x2="16.65" y2="16.65" />
|
|
178
|
+
</svg>
|
|
179
|
+
</div>
|
|
180
|
+
<span class="phase-label">SEO</span>
|
|
181
|
+
<div class="phase-progress">
|
|
182
|
+
<div class="phase-progress-fill" style="width:0%"></div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="phase-connector"></div>
|
|
186
|
+
<div class="phase-node" data-phase="publish">
|
|
187
|
+
<div class="phase-circle">
|
|
188
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
189
|
+
stroke-width="2">
|
|
190
|
+
<polyline points="16 16 12 12 8 16" />
|
|
191
|
+
<line x1="12" y1="12" x2="12" y2="21" />
|
|
192
|
+
<path d="M20.39 18.39A5 5 0 0018 9h-1.26A8 8 0 103 16.3" />
|
|
193
|
+
</svg>
|
|
194
|
+
</div>
|
|
195
|
+
<span class="phase-label">Publish</span>
|
|
196
|
+
<div class="phase-progress">
|
|
197
|
+
<div class="phase-progress-fill" style="width:0%"></div>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
</section>
|
|
203
|
+
|
|
204
|
+
<!-- Two-column layout -->
|
|
205
|
+
<div class="grid-2col">
|
|
206
|
+
<!-- Tasks Queue -->
|
|
207
|
+
<section class="card" aria-label="Task queue">
|
|
208
|
+
<div class="card-header">
|
|
209
|
+
<h2 class="card-title">Task Queue</h2>
|
|
210
|
+
<div class="task-filters" role="tablist" aria-label="Filter tasks">
|
|
211
|
+
<button class="filter-btn active" data-filter="all" role="tab" aria-selected="true">All</button>
|
|
212
|
+
<button class="filter-btn" data-filter="running" role="tab"
|
|
213
|
+
aria-selected="false">Running</button>
|
|
214
|
+
<button class="filter-btn" data-filter="done" role="tab" aria-selected="false">Done</button>
|
|
215
|
+
<button class="filter-btn" data-filter="failed" role="tab" aria-selected="false">Failed</button>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="task-list" id="taskList" role="tabpanel">
|
|
219
|
+
<div class="empty-state">
|
|
220
|
+
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
221
|
+
stroke-width="1.5" opacity="0.3">
|
|
222
|
+
<rect x="3" y="3" width="18" height="18" rx="2" />
|
|
223
|
+
<path d="M3 9h18" />
|
|
224
|
+
<path d="M9 21V9" />
|
|
225
|
+
</svg>
|
|
226
|
+
<p>No tasks yet. Start a pipeline to see tasks here.</p>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
</section>
|
|
230
|
+
|
|
231
|
+
<!-- Token Usage -->
|
|
232
|
+
<section class="card" aria-label="Token usage">
|
|
233
|
+
<h2 class="card-title">Token Usage</h2>
|
|
234
|
+
<div class="token-stats" id="tokenStats">
|
|
235
|
+
<div class="token-row">
|
|
236
|
+
<span class="token-label">Input Tokens</span>
|
|
237
|
+
<span class="token-value" id="inputTokens">0</span>
|
|
238
|
+
</div>
|
|
239
|
+
<div class="token-row">
|
|
240
|
+
<span class="token-label">Output Tokens</span>
|
|
241
|
+
<span class="token-value" id="outputTokens">0</span>
|
|
242
|
+
</div>
|
|
243
|
+
<div class="token-row">
|
|
244
|
+
<span class="token-label">Total Cost</span>
|
|
245
|
+
<span class="token-value accent" id="tokenCost">$0.0000</span>
|
|
246
|
+
</div>
|
|
247
|
+
<div class="budget-bar" id="budgetSection" style="display:none">
|
|
248
|
+
<div class="budget-header">
|
|
249
|
+
<span>Budget</span>
|
|
250
|
+
<span id="budgetText">$0 / $0</span>
|
|
251
|
+
</div>
|
|
252
|
+
<div class="budget-track">
|
|
253
|
+
<div class="budget-fill" id="budgetFill" style="width:0%"></div>
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="provider-list" id="providerList"></div>
|
|
258
|
+
</section>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
<!-- UX: Doherty Threshold — Collapsible log, closed by default -->
|
|
262
|
+
<details class="card log-section" id="logSection">
|
|
263
|
+
<summary class="card-header log-summary">
|
|
264
|
+
<h2 class="card-title">Event Log</h2>
|
|
265
|
+
<div class="log-header-right">
|
|
266
|
+
<span class="log-badge" id="logBadge" aria-label="New log events" hidden>0</span>
|
|
267
|
+
<div class="log-filters" role="tablist" aria-label="Filter log levels">
|
|
268
|
+
<button class="filter-btn active" data-level="all" role="tab" aria-selected="true">All</button>
|
|
269
|
+
<button class="filter-btn" data-level="info" role="tab" aria-selected="false">Info</button>
|
|
270
|
+
<button class="filter-btn" data-level="warn" role="tab" aria-selected="false">Warn</button>
|
|
271
|
+
<button class="filter-btn" data-level="error" role="tab" aria-selected="false">Error</button>
|
|
272
|
+
</div>
|
|
273
|
+
<svg class="chevron-icon" width="16" height="16" viewBox="0 0 24 24" fill="none"
|
|
274
|
+
stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
|
|
275
|
+
<polyline points="6 9 12 15 18 9"></polyline>
|
|
276
|
+
</svg>
|
|
277
|
+
</div>
|
|
278
|
+
</summary>
|
|
279
|
+
<div class="log-viewer" id="logViewer">
|
|
280
|
+
<div class="empty-state">
|
|
281
|
+
<p>Waiting for events...</p>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
</details>
|
|
285
|
+
|
|
286
|
+
<!-- UX: Poka-Yoke — Actionable error cards with remediation buttons -->
|
|
287
|
+
<section class="card error-section" id="errorSection" style="display:none" aria-label="Errors" role="alert">
|
|
288
|
+
<h2 class="card-title error-title">
|
|
289
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
290
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
291
|
+
<circle cx="12" cy="12" r="10" />
|
|
292
|
+
<line x1="12" y1="8" x2="12" y2="12" />
|
|
293
|
+
<line x1="12" y1="16" x2="12.01" y2="16" />
|
|
294
|
+
</svg>
|
|
295
|
+
Errors
|
|
296
|
+
</h2>
|
|
297
|
+
<div class="error-list" id="errorList"></div>
|
|
298
|
+
</section>
|
|
299
|
+
</main>
|
|
300
|
+
|
|
301
|
+
<!-- UX: Fitts's Law — Settings dialog in thumb zone (bottom-sheet on mobile) -->
|
|
302
|
+
<dialog class="settings-dialog" id="settingsDialog" aria-label="Settings">
|
|
303
|
+
<div class="dialog-header">
|
|
304
|
+
<h2 class="dialog-title">Settings</h2>
|
|
305
|
+
<button class="icon-btn dialog-close" id="settingsClose" aria-label="Close settings">
|
|
306
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
307
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
308
|
+
<line x1="18" y1="6" x2="6" y2="18" />
|
|
309
|
+
<line x1="6" y1="6" x2="18" y2="18" />
|
|
310
|
+
</svg>
|
|
311
|
+
</button>
|
|
312
|
+
</div>
|
|
313
|
+
<div class="dialog-body">
|
|
314
|
+
<!-- UX: Hick's Law — Progressive disclosure, grouped into sections -->
|
|
315
|
+
<div class="settings-group">
|
|
316
|
+
<label class="settings-label" for="settingService">
|
|
317
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
318
|
+
<rect x="2" y="2" width="20" height="8" rx="2" ry="2" />
|
|
319
|
+
<rect x="2" y="14" width="20" height="8" rx="2" ry="2" />
|
|
320
|
+
<line x1="6" y1="6" x2="6.01" y2="6" />
|
|
321
|
+
<line x1="6" y1="18" x2="6.01" y2="18" />
|
|
322
|
+
</svg>
|
|
323
|
+
Service Provider
|
|
324
|
+
</label>
|
|
325
|
+
<select class="settings-select" id="settingService">
|
|
326
|
+
<option value="gemini">Google Gemini</option>
|
|
327
|
+
<option value="openai">OpenAI</option>
|
|
328
|
+
<option value="anthropic">Anthropic</option>
|
|
329
|
+
<option value="openrouter">OpenRouter</option>
|
|
330
|
+
</select>
|
|
331
|
+
</div>
|
|
332
|
+
<div class="settings-group">
|
|
333
|
+
<label class="settings-label" for="settingModel">
|
|
334
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
335
|
+
<path d="M12 2a10 10 0 0110 10 10 10 0 01-10 10A10 10 0 012 12 10 10 0 0112 2z" />
|
|
336
|
+
<path d="M12 8v4l3 3" />
|
|
337
|
+
</svg>
|
|
338
|
+
Model
|
|
339
|
+
</label>
|
|
340
|
+
<select class="settings-select" id="settingModel">
|
|
341
|
+
<option value="gemini-2.0-flash">Gemini 2.0 Flash</option>
|
|
342
|
+
<option value="gemini-2.5-pro">Gemini 2.5 Pro</option>
|
|
343
|
+
<option value="gpt-4o">GPT-4o</option>
|
|
344
|
+
<option value="gpt-4o-mini">GPT-4o Mini</option>
|
|
345
|
+
<option value="claude-3.5-sonnet">Claude 3.5 Sonnet</option>
|
|
346
|
+
<option value="claude-3.5-haiku">Claude 3.5 Haiku</option>
|
|
347
|
+
</select>
|
|
348
|
+
</div>
|
|
349
|
+
<div class="settings-group">
|
|
350
|
+
<label class="settings-label" for="settingToken">
|
|
351
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
352
|
+
<rect x="3" y="11" width="18" height="11" rx="2" ry="2" />
|
|
353
|
+
<path d="M7 11V7a5 5 0 0110 0v4" />
|
|
354
|
+
</svg>
|
|
355
|
+
API Token
|
|
356
|
+
</label>
|
|
357
|
+
<div class="settings-input-group">
|
|
358
|
+
<input type="password" class="settings-input" id="settingToken" placeholder="sk-... or AIza..."
|
|
359
|
+
autocomplete="off" />
|
|
360
|
+
<button class="icon-btn toggle-visibility" id="toggleTokenVisibility" aria-label="Show token"
|
|
361
|
+
type="button">
|
|
362
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
363
|
+
stroke-width="2">
|
|
364
|
+
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" />
|
|
365
|
+
<circle cx="12" cy="12" r="3" />
|
|
366
|
+
</svg>
|
|
367
|
+
</button>
|
|
368
|
+
</div>
|
|
369
|
+
</div>
|
|
370
|
+
<div class="settings-group">
|
|
371
|
+
<label class="settings-label" for="settingBudget">
|
|
372
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
373
|
+
<line x1="12" y1="1" x2="12" y2="23" />
|
|
374
|
+
<path d="M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6" />
|
|
375
|
+
</svg>
|
|
376
|
+
Budget Limit (USD)
|
|
377
|
+
</label>
|
|
378
|
+
<input type="number" class="settings-input" id="settingBudget" placeholder="e.g. 5.00" min="0"
|
|
379
|
+
step="0.01" />
|
|
380
|
+
</div>
|
|
381
|
+
</div>
|
|
382
|
+
<!-- UX: Fitts's Law — Save button in thumb zone at bottom -->
|
|
383
|
+
<div class="dialog-footer">
|
|
384
|
+
<button class="btn btn-secondary" id="settingsCancel" type="button">Cancel</button>
|
|
385
|
+
<button class="btn btn-primary" id="settingsSave" type="button">Save Settings</button>
|
|
386
|
+
</div>
|
|
387
|
+
</dialog>
|
|
388
|
+
|
|
389
|
+
<footer class="footer" role="contentinfo">
|
|
390
|
+
<span>Content Factory v2.0</span>
|
|
391
|
+
<span id="footerTime"></span>
|
|
392
|
+
</footer>
|
|
393
|
+
|
|
394
|
+
<script src="app.js"></script>
|
|
395
|
+
</body>
|
|
396
|
+
|
|
397
|
+
</html>
|