winter-super-cli 2026.5.32 → 2026.6.6
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 +9 -5
- package/bin/winter.js +39 -4
- package/package.json +21 -2
- package/resources/local/ecc/.agents/plugins/marketplace.json +21 -0
- package/resources/local/ecc/.agents/skills/agent-introspection-debugging/SKILL.md +152 -0
- package/resources/local/ecc/.agents/skills/agent-introspection-debugging/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/agent-sort/SKILL.md +214 -0
- package/resources/local/ecc/.agents/skills/agent-sort/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/api-design/SKILL.md +522 -0
- package/resources/local/ecc/.agents/skills/api-design/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/article-writing/SKILL.md +78 -0
- package/resources/local/ecc/.agents/skills/article-writing/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/backend-patterns/SKILL.md +597 -0
- package/resources/local/ecc/.agents/skills/backend-patterns/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/brand-voice/SKILL.md +96 -0
- package/resources/local/ecc/.agents/skills/brand-voice/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/brand-voice/references/voice-profile-schema.md +55 -0
- package/resources/local/ecc/.agents/skills/bun-runtime/SKILL.md +83 -0
- package/resources/local/ecc/.agents/skills/bun-runtime/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/coding-standards/SKILL.md +548 -0
- package/resources/local/ecc/.agents/skills/coding-standards/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/content-engine/SKILL.md +130 -0
- package/resources/local/ecc/.agents/skills/content-engine/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/crosspost/SKILL.md +110 -0
- package/resources/local/ecc/.agents/skills/crosspost/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/deep-research/SKILL.md +154 -0
- package/resources/local/ecc/.agents/skills/deep-research/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/dmux-workflows/SKILL.md +143 -0
- package/resources/local/ecc/.agents/skills/dmux-workflows/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/documentation-lookup/SKILL.md +89 -0
- package/resources/local/ecc/.agents/skills/documentation-lookup/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/e2e-testing/SKILL.md +325 -0
- package/resources/local/ecc/.agents/skills/e2e-testing/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/eval-harness/SKILL.md +235 -0
- package/resources/local/ecc/.agents/skills/eval-harness/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/everything-claude-code/SKILL.md +442 -0
- package/resources/local/ecc/.agents/skills/everything-claude-code/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/exa-search/SKILL.md +169 -0
- package/resources/local/ecc/.agents/skills/exa-search/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/fal-ai-media/SKILL.md +276 -0
- package/resources/local/ecc/.agents/skills/fal-ai-media/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/frontend-patterns/SKILL.md +647 -0
- package/resources/local/ecc/.agents/skills/frontend-patterns/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/frontend-slides/SKILL.md +183 -0
- package/resources/local/ecc/.agents/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/resources/local/ecc/.agents/skills/frontend-slides/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/investor-materials/SKILL.md +95 -0
- package/resources/local/ecc/.agents/skills/investor-materials/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/investor-outreach/SKILL.md +90 -0
- package/resources/local/ecc/.agents/skills/investor-outreach/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/market-research/SKILL.md +74 -0
- package/resources/local/ecc/.agents/skills/market-research/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/mcp-server-patterns/SKILL.md +66 -0
- package/resources/local/ecc/.agents/skills/mcp-server-patterns/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/mle-workflow/SKILL.md +346 -0
- package/resources/local/ecc/.agents/skills/mle-workflow/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/nextjs-turbopack/SKILL.md +43 -0
- package/resources/local/ecc/.agents/skills/nextjs-turbopack/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/product-capability/SKILL.md +140 -0
- package/resources/local/ecc/.agents/skills/product-capability/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/security-review/SKILL.md +494 -0
- package/resources/local/ecc/.agents/skills/security-review/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/strategic-compact/SKILL.md +102 -0
- package/resources/local/ecc/.agents/skills/strategic-compact/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/tdd-workflow/SKILL.md +409 -0
- package/resources/local/ecc/.agents/skills/tdd-workflow/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/verification-loop/SKILL.md +125 -0
- package/resources/local/ecc/.agents/skills/verification-loop/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/video-editing/SKILL.md +307 -0
- package/resources/local/ecc/.agents/skills/video-editing/agents/openai.yaml +7 -0
- package/resources/local/ecc/.agents/skills/x-api/SKILL.md +229 -0
- package/resources/local/ecc/.agents/skills/x-api/agents/openai.yaml +7 -0
- package/resources/local/ecc/.claude/commands/add-language-rules.md +39 -0
- package/resources/local/ecc/.claude/commands/database-migration.md +36 -0
- package/resources/local/ecc/.claude/commands/feature-development.md +38 -0
- package/resources/local/ecc/.claude/ecc-tools.json +334 -0
- package/resources/local/ecc/.claude/enterprise/controls.md +15 -0
- package/resources/local/ecc/.claude/homunculus/instincts/inherited/everything-claude-code-instincts.yaml +162 -0
- package/resources/local/ecc/.claude/identity.json +14 -0
- package/resources/local/ecc/.claude/package-manager.json +4 -0
- package/resources/local/ecc/.claude/research/everything-claude-code-research-playbook.md +21 -0
- package/resources/local/ecc/.claude/rules/everything-claude-code-guardrails.md +43 -0
- package/resources/local/ecc/.claude/rules/node.md +56 -0
- package/resources/local/ecc/.claude/skills/everything-claude-code/SKILL.md +442 -0
- package/resources/local/ecc/.claude/team/everything-claude-code-team-config.json +15 -0
- package/resources/local/ecc/.claude-plugin/README.md +17 -0
- package/resources/local/ecc/.claude-plugin/marketplace.json +47 -0
- package/resources/local/ecc/.claude-plugin/plugin.json +32 -0
- package/resources/local/ecc/.codebuddy/README.md +98 -0
- package/resources/local/ecc/.codebuddy/install.js +312 -0
- package/resources/local/ecc/.codebuddy/install.sh +231 -0
- package/resources/local/ecc/.codebuddy/uninstall.js +291 -0
- package/resources/local/ecc/.codebuddy/uninstall.sh +184 -0
- package/resources/local/ecc/.codex/AGENTS.md +102 -0
- package/resources/local/ecc/.codex/agents/docs-researcher.toml +9 -0
- package/resources/local/ecc/.codex/agents/explorer.toml +9 -0
- package/resources/local/ecc/.codex/agents/reviewer.toml +9 -0
- package/resources/local/ecc/.codex/config.toml +120 -0
- package/resources/local/ecc/.codex-plugin/README.md +64 -0
- package/resources/local/ecc/.codex-plugin/plugin.json +30 -0
- package/resources/local/ecc/.cursor/hooks/adapter.js +81 -0
- package/resources/local/ecc/.cursor/hooks/after-file-edit.js +19 -0
- package/resources/local/ecc/.cursor/hooks/after-mcp-execution.js +12 -0
- package/resources/local/ecc/.cursor/hooks/after-shell-execution.js +28 -0
- package/resources/local/ecc/.cursor/hooks/after-tab-file-edit.js +12 -0
- package/resources/local/ecc/.cursor/hooks/before-mcp-execution.js +11 -0
- package/resources/local/ecc/.cursor/hooks/before-read-file.js +13 -0
- package/resources/local/ecc/.cursor/hooks/before-shell-execution.js +41 -0
- package/resources/local/ecc/.cursor/hooks/before-submit-prompt.js +23 -0
- package/resources/local/ecc/.cursor/hooks/before-tab-file-read.js +13 -0
- package/resources/local/ecc/.cursor/hooks/pre-compact.js +7 -0
- package/resources/local/ecc/.cursor/hooks/session-end.js +10 -0
- package/resources/local/ecc/.cursor/hooks/session-start.js +10 -0
- package/resources/local/ecc/.cursor/hooks/stop.js +21 -0
- package/resources/local/ecc/.cursor/hooks/subagent-start.js +10 -0
- package/resources/local/ecc/.cursor/hooks/subagent-stop.js +10 -0
- package/resources/local/ecc/.cursor/hooks.json +115 -0
- package/resources/local/ecc/.cursor/rules/common-agents.md +53 -0
- package/resources/local/ecc/.cursor/rules/common-coding-style.md +52 -0
- package/resources/local/ecc/.cursor/rules/common-development-workflow.md +33 -0
- package/resources/local/ecc/.cursor/rules/common-git-workflow.md +28 -0
- package/resources/local/ecc/.cursor/rules/common-hooks.md +34 -0
- package/resources/local/ecc/.cursor/rules/common-patterns.md +35 -0
- package/resources/local/ecc/.cursor/rules/common-performance.md +59 -0
- package/resources/local/ecc/.cursor/rules/common-security.md +33 -0
- package/resources/local/ecc/.cursor/rules/common-testing.md +33 -0
- package/resources/local/ecc/.cursor/rules/golang-coding-style.md +31 -0
- package/resources/local/ecc/.cursor/rules/golang-hooks.md +16 -0
- package/resources/local/ecc/.cursor/rules/golang-patterns.md +44 -0
- package/resources/local/ecc/.cursor/rules/golang-security.md +33 -0
- package/resources/local/ecc/.cursor/rules/golang-testing.md +30 -0
- package/resources/local/ecc/.cursor/rules/kotlin-coding-style.md +39 -0
- package/resources/local/ecc/.cursor/rules/kotlin-hooks.md +16 -0
- package/resources/local/ecc/.cursor/rules/kotlin-patterns.md +50 -0
- package/resources/local/ecc/.cursor/rules/kotlin-security.md +58 -0
- package/resources/local/ecc/.cursor/rules/kotlin-testing.md +38 -0
- package/resources/local/ecc/.cursor/rules/php-coding-style.md +25 -0
- package/resources/local/ecc/.cursor/rules/php-hooks.md +21 -0
- package/resources/local/ecc/.cursor/rules/php-patterns.md +23 -0
- package/resources/local/ecc/.cursor/rules/php-security.md +24 -0
- package/resources/local/ecc/.cursor/rules/php-testing.md +26 -0
- package/resources/local/ecc/.cursor/rules/python-coding-style.md +42 -0
- package/resources/local/ecc/.cursor/rules/python-hooks.md +19 -0
- package/resources/local/ecc/.cursor/rules/python-patterns.md +39 -0
- package/resources/local/ecc/.cursor/rules/python-security.md +30 -0
- package/resources/local/ecc/.cursor/rules/python-testing.md +38 -0
- package/resources/local/ecc/.cursor/rules/swift-coding-style.md +47 -0
- package/resources/local/ecc/.cursor/rules/swift-hooks.md +20 -0
- package/resources/local/ecc/.cursor/rules/swift-patterns.md +66 -0
- package/resources/local/ecc/.cursor/rules/swift-security.md +33 -0
- package/resources/local/ecc/.cursor/rules/swift-testing.md +45 -0
- package/resources/local/ecc/.cursor/rules/typescript-coding-style.md +63 -0
- package/resources/local/ecc/.cursor/rules/typescript-hooks.md +20 -0
- package/resources/local/ecc/.cursor/rules/typescript-patterns.md +50 -0
- package/resources/local/ecc/.cursor/rules/typescript-security.md +26 -0
- package/resources/local/ecc/.cursor/rules/typescript-testing.md +16 -0
- package/resources/local/ecc/.cursor/skills/article-writing/SKILL.md +85 -0
- package/resources/local/ecc/.cursor/skills/bun-runtime/SKILL.md +84 -0
- package/resources/local/ecc/.cursor/skills/content-engine/SKILL.md +88 -0
- package/resources/local/ecc/.cursor/skills/documentation-lookup/SKILL.md +90 -0
- package/resources/local/ecc/.cursor/skills/frontend-slides/SKILL.md +184 -0
- package/resources/local/ecc/.cursor/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/resources/local/ecc/.cursor/skills/investor-materials/SKILL.md +96 -0
- package/resources/local/ecc/.cursor/skills/investor-outreach/SKILL.md +76 -0
- package/resources/local/ecc/.cursor/skills/market-research/SKILL.md +75 -0
- package/resources/local/ecc/.cursor/skills/mcp-server-patterns/SKILL.md +67 -0
- package/resources/local/ecc/.cursor/skills/nextjs-turbopack/SKILL.md +44 -0
- package/resources/local/ecc/.env.example +48 -0
- package/resources/local/ecc/.gemini/GEMINI.md +48 -0
- package/resources/local/ecc/.github/FUNDING.yml +2 -0
- package/resources/local/ecc/.github/ISSUE_TEMPLATE/copilot-task.md +17 -0
- package/resources/local/ecc/.github/PULL_REQUEST_TEMPLATE.md +33 -0
- package/resources/local/ecc/.github/copilot-instructions.md +115 -0
- package/resources/local/ecc/.github/dependabot.yml +21 -0
- package/resources/local/ecc/.github/prompts/build-fix.prompt.md +47 -0
- package/resources/local/ecc/.github/prompts/code-review.prompt.md +56 -0
- package/resources/local/ecc/.github/prompts/plan.prompt.md +52 -0
- package/resources/local/ecc/.github/prompts/refactor.prompt.md +50 -0
- package/resources/local/ecc/.github/prompts/security-review.prompt.md +70 -0
- package/resources/local/ecc/.github/prompts/tdd.prompt.md +47 -0
- package/resources/local/ecc/.github/release.yml +20 -0
- package/resources/local/ecc/.github/workflows/ci.yml +243 -0
- package/resources/local/ecc/.github/workflows/maintenance.yml +56 -0
- package/resources/local/ecc/.github/workflows/monthly-metrics.yml +192 -0
- package/resources/local/ecc/.github/workflows/release.yml +151 -0
- package/resources/local/ecc/.github/workflows/reusable-release.yml +169 -0
- package/resources/local/ecc/.github/workflows/reusable-test.yml +95 -0
- package/resources/local/ecc/.github/workflows/reusable-validate.yml +55 -0
- package/resources/local/ecc/.github/workflows/supply-chain-watch.yml +65 -0
- package/resources/local/ecc/.kiro/README.md +607 -0
- package/resources/local/ecc/.kiro/agents/architect.json +16 -0
- package/resources/local/ecc/.kiro/agents/architect.md +212 -0
- package/resources/local/ecc/.kiro/agents/build-error-resolver.json +17 -0
- package/resources/local/ecc/.kiro/agents/build-error-resolver.md +116 -0
- package/resources/local/ecc/.kiro/agents/chief-of-staff.json +17 -0
- package/resources/local/ecc/.kiro/agents/chief-of-staff.md +153 -0
- package/resources/local/ecc/.kiro/agents/code-reviewer.json +16 -0
- package/resources/local/ecc/.kiro/agents/code-reviewer.md +238 -0
- package/resources/local/ecc/.kiro/agents/database-reviewer.json +16 -0
- package/resources/local/ecc/.kiro/agents/database-reviewer.md +92 -0
- package/resources/local/ecc/.kiro/agents/doc-updater.json +16 -0
- package/resources/local/ecc/.kiro/agents/doc-updater.md +108 -0
- package/resources/local/ecc/.kiro/agents/e2e-runner.json +17 -0
- package/resources/local/ecc/.kiro/agents/e2e-runner.md +109 -0
- package/resources/local/ecc/.kiro/agents/go-build-resolver.json +17 -0
- package/resources/local/ecc/.kiro/agents/go-build-resolver.md +96 -0
- package/resources/local/ecc/.kiro/agents/go-reviewer.json +16 -0
- package/resources/local/ecc/.kiro/agents/go-reviewer.md +77 -0
- package/resources/local/ecc/.kiro/agents/harness-optimizer.json +15 -0
- package/resources/local/ecc/.kiro/agents/harness-optimizer.md +34 -0
- package/resources/local/ecc/.kiro/agents/loop-operator.json +16 -0
- package/resources/local/ecc/.kiro/agents/loop-operator.md +36 -0
- package/resources/local/ecc/.kiro/agents/planner.json +15 -0
- package/resources/local/ecc/.kiro/agents/planner.md +212 -0
- package/resources/local/ecc/.kiro/agents/python-reviewer.json +16 -0
- package/resources/local/ecc/.kiro/agents/python-reviewer.md +99 -0
- package/resources/local/ecc/.kiro/agents/refactor-cleaner.json +17 -0
- package/resources/local/ecc/.kiro/agents/refactor-cleaner.md +87 -0
- package/resources/local/ecc/.kiro/agents/security-reviewer.json +16 -0
- package/resources/local/ecc/.kiro/agents/security-reviewer.md +109 -0
- package/resources/local/ecc/.kiro/agents/tdd-guide.json +17 -0
- package/resources/local/ecc/.kiro/agents/tdd-guide.md +93 -0
- package/resources/local/ecc/.kiro/docs/longform-guide.md +301 -0
- package/resources/local/ecc/.kiro/docs/security-guide.md +496 -0
- package/resources/local/ecc/.kiro/docs/shortform-guide.md +360 -0
- package/resources/local/ecc/.kiro/hooks/README.md +93 -0
- package/resources/local/ecc/.kiro/hooks/auto-format.kiro.hook +14 -0
- package/resources/local/ecc/.kiro/hooks/code-review-on-write.kiro.hook +14 -0
- package/resources/local/ecc/.kiro/hooks/console-log-check.kiro.hook +14 -0
- package/resources/local/ecc/.kiro/hooks/doc-file-warning.kiro.hook +14 -0
- package/resources/local/ecc/.kiro/hooks/extract-patterns.kiro.hook +13 -0
- package/resources/local/ecc/.kiro/hooks/git-push-review.kiro.hook +14 -0
- package/resources/local/ecc/.kiro/hooks/quality-gate.kiro.hook +13 -0
- package/resources/local/ecc/.kiro/hooks/session-summary.kiro.hook +13 -0
- package/resources/local/ecc/.kiro/hooks/tdd-reminder.kiro.hook +14 -0
- package/resources/local/ecc/.kiro/hooks/typecheck-on-edit.kiro.hook +14 -0
- package/resources/local/ecc/.kiro/install.sh +143 -0
- package/resources/local/ecc/.kiro/scripts/format.sh +70 -0
- package/resources/local/ecc/.kiro/scripts/quality-gate.sh +120 -0
- package/resources/local/ecc/.kiro/settings/mcp.json.example +50 -0
- package/resources/local/ecc/.kiro/skills/agentic-engineering/SKILL.md +135 -0
- package/resources/local/ecc/.kiro/skills/api-design/SKILL.md +525 -0
- package/resources/local/ecc/.kiro/skills/backend-patterns/SKILL.md +600 -0
- package/resources/local/ecc/.kiro/skills/coding-standards/SKILL.md +532 -0
- package/resources/local/ecc/.kiro/skills/database-migrations/SKILL.md +348 -0
- package/resources/local/ecc/.kiro/skills/deployment-patterns/SKILL.md +440 -0
- package/resources/local/ecc/.kiro/skills/docker-patterns/SKILL.md +376 -0
- package/resources/local/ecc/.kiro/skills/e2e-testing/SKILL.md +328 -0
- package/resources/local/ecc/.kiro/skills/frontend-patterns/SKILL.md +644 -0
- package/resources/local/ecc/.kiro/skills/golang-patterns/SKILL.md +227 -0
- package/resources/local/ecc/.kiro/skills/golang-testing/SKILL.md +332 -0
- package/resources/local/ecc/.kiro/skills/postgres-patterns/SKILL.md +161 -0
- package/resources/local/ecc/.kiro/skills/python-patterns/SKILL.md +428 -0
- package/resources/local/ecc/.kiro/skills/python-testing/SKILL.md +497 -0
- package/resources/local/ecc/.kiro/skills/search-first/SKILL.md +179 -0
- package/resources/local/ecc/.kiro/skills/security-review/SKILL.md +497 -0
- package/resources/local/ecc/.kiro/skills/tdd-workflow/SKILL.md +414 -0
- package/resources/local/ecc/.kiro/skills/verification-loop/SKILL.md +128 -0
- package/resources/local/ecc/.kiro/steering/coding-style.md +53 -0
- package/resources/local/ecc/.kiro/steering/dev-mode.md +44 -0
- package/resources/local/ecc/.kiro/steering/development-workflow.md +34 -0
- package/resources/local/ecc/.kiro/steering/git-workflow.md +29 -0
- package/resources/local/ecc/.kiro/steering/golang-patterns.md +45 -0
- package/resources/local/ecc/.kiro/steering/lessons-learned.md +84 -0
- package/resources/local/ecc/.kiro/steering/patterns.md +36 -0
- package/resources/local/ecc/.kiro/steering/performance.md +54 -0
- package/resources/local/ecc/.kiro/steering/python-patterns.md +40 -0
- package/resources/local/ecc/.kiro/steering/research-mode.md +62 -0
- package/resources/local/ecc/.kiro/steering/review-mode.md +56 -0
- package/resources/local/ecc/.kiro/steering/security.md +34 -0
- package/resources/local/ecc/.kiro/steering/swift-patterns.md +67 -0
- package/resources/local/ecc/.kiro/steering/testing.md +34 -0
- package/resources/local/ecc/.kiro/steering/typescript-patterns.md +51 -0
- package/resources/local/ecc/.kiro/steering/typescript-security.md +98 -0
- package/resources/local/ecc/.markdownlint.json +19 -0
- package/resources/local/ecc/.mcp.json +28 -0
- package/resources/local/ecc/.opencode/MIGRATION.md +368 -0
- package/resources/local/ecc/.opencode/README.md +204 -0
- package/resources/local/ecc/.opencode/commands/build-fix.md +56 -0
- package/resources/local/ecc/.opencode/commands/checkpoint.md +67 -0
- package/resources/local/ecc/.opencode/commands/code-review.md +68 -0
- package/resources/local/ecc/.opencode/commands/e2e.md +105 -0
- package/resources/local/ecc/.opencode/commands/eval.md +88 -0
- package/resources/local/ecc/.opencode/commands/evolve.md +36 -0
- package/resources/local/ecc/.opencode/commands/go-build.md +87 -0
- package/resources/local/ecc/.opencode/commands/go-review.md +71 -0
- package/resources/local/ecc/.opencode/commands/go-test.md +131 -0
- package/resources/local/ecc/.opencode/commands/harness-audit.md +77 -0
- package/resources/local/ecc/.opencode/commands/instinct-export.md +93 -0
- package/resources/local/ecc/.opencode/commands/instinct-import.md +88 -0
- package/resources/local/ecc/.opencode/commands/instinct-status.md +29 -0
- package/resources/local/ecc/.opencode/commands/learn.md +61 -0
- package/resources/local/ecc/.opencode/commands/loop-start.md +32 -0
- package/resources/local/ecc/.opencode/commands/loop-status.md +24 -0
- package/resources/local/ecc/.opencode/commands/model-route.md +26 -0
- package/resources/local/ecc/.opencode/commands/orchestrate.md +88 -0
- package/resources/local/ecc/.opencode/commands/plan.md +49 -0
- package/resources/local/ecc/.opencode/commands/projects.md +23 -0
- package/resources/local/ecc/.opencode/commands/promote.md +23 -0
- package/resources/local/ecc/.opencode/commands/quality-gate.md +29 -0
- package/resources/local/ecc/.opencode/commands/refactor-clean.md +102 -0
- package/resources/local/ecc/.opencode/commands/rust-build.md +78 -0
- package/resources/local/ecc/.opencode/commands/rust-review.md +65 -0
- package/resources/local/ecc/.opencode/commands/rust-test.md +104 -0
- package/resources/local/ecc/.opencode/commands/security-scan.md +92 -0
- package/resources/local/ecc/.opencode/commands/security.md +89 -0
- package/resources/local/ecc/.opencode/commands/setup-pm.md +67 -0
- package/resources/local/ecc/.opencode/commands/skill-create.md +117 -0
- package/resources/local/ecc/.opencode/commands/tdd.md +66 -0
- package/resources/local/ecc/.opencode/commands/test-coverage.md +80 -0
- package/resources/local/ecc/.opencode/commands/update-codemaps.md +81 -0
- package/resources/local/ecc/.opencode/commands/update-docs.md +67 -0
- package/resources/local/ecc/.opencode/commands/verify.md +67 -0
- package/resources/local/ecc/.opencode/index.ts +80 -0
- package/resources/local/ecc/.opencode/instructions/INSTRUCTIONS.md +337 -0
- package/resources/local/ecc/.opencode/opencode.json +467 -0
- package/resources/local/ecc/.opencode/package-lock.json +169 -0
- package/resources/local/ecc/.opencode/package.json +70 -0
- package/resources/local/ecc/.opencode/plugins/ecc-hooks.ts +520 -0
- package/resources/local/ecc/.opencode/plugins/index.ts +12 -0
- package/resources/local/ecc/.opencode/plugins/lib/changed-files-store.ts +98 -0
- package/resources/local/ecc/.opencode/prompts/agents/architect.txt +175 -0
- package/resources/local/ecc/.opencode/prompts/agents/build-error-resolver.txt +233 -0
- package/resources/local/ecc/.opencode/prompts/agents/code-reviewer.txt +103 -0
- package/resources/local/ecc/.opencode/prompts/agents/cpp-build-resolver.txt +81 -0
- package/resources/local/ecc/.opencode/prompts/agents/cpp-reviewer.txt +65 -0
- package/resources/local/ecc/.opencode/prompts/agents/database-reviewer.txt +247 -0
- package/resources/local/ecc/.opencode/prompts/agents/doc-updater.txt +192 -0
- package/resources/local/ecc/.opencode/prompts/agents/docs-lookup.txt +57 -0
- package/resources/local/ecc/.opencode/prompts/agents/e2e-runner.txt +305 -0
- package/resources/local/ecc/.opencode/prompts/agents/go-build-resolver.txt +325 -0
- package/resources/local/ecc/.opencode/prompts/agents/go-reviewer.txt +241 -0
- package/resources/local/ecc/.opencode/prompts/agents/harness-optimizer.txt +27 -0
- package/resources/local/ecc/.opencode/prompts/agents/java-build-resolver.txt +125 -0
- package/resources/local/ecc/.opencode/prompts/agents/java-reviewer.txt +99 -0
- package/resources/local/ecc/.opencode/prompts/agents/kotlin-build-resolver.txt +120 -0
- package/resources/local/ecc/.opencode/prompts/agents/kotlin-reviewer.txt +127 -0
- package/resources/local/ecc/.opencode/prompts/agents/loop-operator.txt +39 -0
- package/resources/local/ecc/.opencode/prompts/agents/planner.txt +112 -0
- package/resources/local/ecc/.opencode/prompts/agents/python-reviewer.txt +85 -0
- package/resources/local/ecc/.opencode/prompts/agents/refactor-cleaner.txt +241 -0
- package/resources/local/ecc/.opencode/prompts/agents/rust-build-resolver.txt +93 -0
- package/resources/local/ecc/.opencode/prompts/agents/rust-reviewer.txt +61 -0
- package/resources/local/ecc/.opencode/prompts/agents/security-reviewer.txt +207 -0
- package/resources/local/ecc/.opencode/prompts/agents/tdd-guide.txt +211 -0
- package/resources/local/ecc/.opencode/tools/changed-files.ts +83 -0
- package/resources/local/ecc/.opencode/tools/check-coverage.ts +172 -0
- package/resources/local/ecc/.opencode/tools/format-code.ts +70 -0
- package/resources/local/ecc/.opencode/tools/git-summary.ts +56 -0
- package/resources/local/ecc/.opencode/tools/index.ts +14 -0
- package/resources/local/ecc/.opencode/tools/lint-check.ts +87 -0
- package/resources/local/ecc/.opencode/tools/run-tests.ts +141 -0
- package/resources/local/ecc/.opencode/tools/security-audit.ts +279 -0
- package/resources/local/ecc/.opencode/tsconfig.json +30 -0
- package/resources/local/ecc/.prettierrc +8 -0
- package/resources/local/ecc/.qwen/QWEN.md +25 -0
- package/resources/local/ecc/.tool-versions +6 -0
- package/resources/local/ecc/.trae/README.md +184 -0
- package/resources/local/ecc/.trae/install.sh +234 -0
- package/resources/local/ecc/.trae/uninstall.sh +194 -0
- package/resources/local/ecc/.vscode/settings.json +17 -0
- package/resources/local/ecc/.yarnrc.yml +1 -0
- package/resources/local/ecc/.zed/settings.json +41 -0
- package/resources/local/ecc/AGENTS.md +170 -0
- package/resources/local/ecc/CHANGELOG.md +203 -0
- package/resources/local/ecc/CLAUDE.md +81 -0
- package/resources/local/ecc/CODE_OF_CONDUCT.md +128 -0
- package/resources/local/ecc/COMMANDS-QUICK-REF.md +159 -0
- package/resources/local/ecc/CONTRIBUTING.md +507 -0
- package/resources/local/ecc/EVALUATION.md +122 -0
- package/resources/local/ecc/LICENSE +21 -0
- package/resources/local/ecc/README.md +1760 -0
- package/resources/local/ecc/REPO-ASSESSMENT.md +196 -0
- package/resources/local/ecc/RULES.md +38 -0
- package/resources/local/ecc/SECURITY.md +101 -0
- package/resources/local/ecc/SOUL.md +17 -0
- package/resources/local/ecc/SPONSORING.md +43 -0
- package/resources/local/ecc/SPONSORS.md +76 -0
- package/resources/local/ecc/TROUBLESHOOTING.md +432 -0
- package/resources/local/ecc/VERSION +1 -0
- package/resources/local/ecc/WORKING-CONTEXT.md +179 -0
- package/resources/local/ecc/agent.yaml +238 -0
- package/resources/local/ecc/agents/a11y-architect.md +149 -0
- package/resources/local/ecc/agents/architect.md +220 -0
- package/resources/local/ecc/agents/build-error-resolver.md +123 -0
- package/resources/local/ecc/agents/chief-of-staff.md +160 -0
- package/resources/local/ecc/agents/code-architect.md +80 -0
- package/resources/local/ecc/agents/code-explorer.md +78 -0
- package/resources/local/ecc/agents/code-reviewer.md +323 -0
- package/resources/local/ecc/agents/code-simplifier.md +56 -0
- package/resources/local/ecc/agents/comment-analyzer.md +54 -0
- package/resources/local/ecc/agents/conversation-analyzer.md +61 -0
- package/resources/local/ecc/agents/cpp-build-resolver.md +99 -0
- package/resources/local/ecc/agents/cpp-reviewer.md +81 -0
- package/resources/local/ecc/agents/csharp-reviewer.md +110 -0
- package/resources/local/ecc/agents/dart-build-resolver.md +210 -0
- package/resources/local/ecc/agents/database-reviewer.md +100 -0
- package/resources/local/ecc/agents/django-build-resolver.md +252 -0
- package/resources/local/ecc/agents/django-reviewer.md +169 -0
- package/resources/local/ecc/agents/doc-updater.md +116 -0
- package/resources/local/ecc/agents/docs-lookup.md +77 -0
- package/resources/local/ecc/agents/e2e-runner.md +116 -0
- package/resources/local/ecc/agents/fastapi-reviewer.md +79 -0
- package/resources/local/ecc/agents/flutter-reviewer.md +252 -0
- package/resources/local/ecc/agents/fsharp-reviewer.md +109 -0
- package/resources/local/ecc/agents/gan-evaluator.md +218 -0
- package/resources/local/ecc/agents/gan-generator.md +140 -0
- package/resources/local/ecc/agents/gan-planner.md +108 -0
- package/resources/local/ecc/agents/go-build-resolver.md +103 -0
- package/resources/local/ecc/agents/go-reviewer.md +85 -0
- package/resources/local/ecc/agents/harmonyos-app-resolver.md +182 -0
- package/resources/local/ecc/agents/harness-optimizer.md +44 -0
- package/resources/local/ecc/agents/healthcare-reviewer.md +92 -0
- package/resources/local/ecc/agents/homelab-architect.md +107 -0
- package/resources/local/ecc/agents/java-build-resolver.md +275 -0
- package/resources/local/ecc/agents/java-reviewer.md +190 -0
- package/resources/local/ecc/agents/kotlin-build-resolver.md +127 -0
- package/resources/local/ecc/agents/kotlin-reviewer.md +168 -0
- package/resources/local/ecc/agents/loop-operator.md +45 -0
- package/resources/local/ecc/agents/mle-reviewer.md +162 -0
- package/resources/local/ecc/agents/network-architect.md +106 -0
- package/resources/local/ecc/agents/network-config-reviewer.md +106 -0
- package/resources/local/ecc/agents/network-troubleshooter.md +128 -0
- package/resources/local/ecc/agents/opensource-forker.md +207 -0
- package/resources/local/ecc/agents/opensource-packager.md +258 -0
- package/resources/local/ecc/agents/opensource-sanitizer.md +197 -0
- package/resources/local/ecc/agents/performance-optimizer.md +455 -0
- package/resources/local/ecc/agents/planner.md +221 -0
- package/resources/local/ecc/agents/pr-test-analyzer.md +54 -0
- package/resources/local/ecc/agents/python-reviewer.md +107 -0
- package/resources/local/ecc/agents/pytorch-build-resolver.md +129 -0
- package/resources/local/ecc/agents/refactor-cleaner.md +94 -0
- package/resources/local/ecc/agents/rust-build-resolver.md +157 -0
- package/resources/local/ecc/agents/rust-reviewer.md +103 -0
- package/resources/local/ecc/agents/security-reviewer.md +117 -0
- package/resources/local/ecc/agents/seo-specialist.md +71 -0
- package/resources/local/ecc/agents/silent-failure-hunter.md +59 -0
- package/resources/local/ecc/agents/swift-build-resolver.md +170 -0
- package/resources/local/ecc/agents/swift-reviewer.md +116 -0
- package/resources/local/ecc/agents/tdd-guide.md +100 -0
- package/resources/local/ecc/agents/type-design-analyzer.md +50 -0
- package/resources/local/ecc/agents/typescript-reviewer.md +121 -0
- package/resources/local/ecc/assets/hero.png +0 -0
- package/resources/local/ecc/assets/images/ecc-logo.png +0 -0
- package/resources/local/ecc/assets/images/guides/longform-guide.png +0 -0
- package/resources/local/ecc/assets/images/guides/shorthand-guide.png +0 -0
- package/resources/local/ecc/assets/images/longform/01-header.png +0 -0
- package/resources/local/ecc/assets/images/longform/02-shortform-reference.png +0 -0
- package/resources/local/ecc/assets/images/longform/03-session-storage.png +0 -0
- package/resources/local/ecc/assets/images/longform/03b-session-storage-alt.png +0 -0
- package/resources/local/ecc/assets/images/longform/04-model-selection.png +0 -0
- package/resources/local/ecc/assets/images/longform/05-pricing-table.png +0 -0
- package/resources/local/ecc/assets/images/longform/06-mgrep-benchmark.png +0 -0
- package/resources/local/ecc/assets/images/longform/07-boris-parallel.png +0 -0
- package/resources/local/ecc/assets/images/longform/08-two-terminals.png +0 -0
- package/resources/local/ecc/assets/images/longform/09-25k-stars.png +0 -0
- package/resources/local/ecc/assets/images/security/attack-chain.png +0 -0
- package/resources/local/ecc/assets/images/security/attack-vectors.png +0 -0
- package/resources/local/ecc/assets/images/security/ghostyy-overflow.jpeg +0 -0
- package/resources/local/ecc/assets/images/security/observability.png +0 -0
- package/resources/local/ecc/assets/images/security/sandboxing-brain.png +0 -0
- package/resources/local/ecc/assets/images/security/sandboxing-comparison.png +0 -0
- package/resources/local/ecc/assets/images/security/sandboxing.png +0 -0
- package/resources/local/ecc/assets/images/security/sanitization-utility.png +0 -0
- package/resources/local/ecc/assets/images/security/sanitization.png +0 -0
- package/resources/local/ecc/assets/images/security/security-guide-header.png +0 -0
- package/resources/local/ecc/assets/images/shortform/00-header.png +0 -0
- package/resources/local/ecc/assets/images/shortform/01-hackathon-tweet.png +0 -0
- package/resources/local/ecc/assets/images/shortform/02-chaining-commands.jpeg +0 -0
- package/resources/local/ecc/assets/images/shortform/03-posttooluse-hook.png +0 -0
- package/resources/local/ecc/assets/images/shortform/04-supabase-mcp.jpeg +0 -0
- package/resources/local/ecc/assets/images/shortform/05-plugins-interface.jpeg +0 -0
- package/resources/local/ecc/assets/images/shortform/06-marketplaces-mgrep.jpeg +0 -0
- package/resources/local/ecc/assets/images/shortform/07-tmux-video.mp4 +0 -0
- package/resources/local/ecc/assets/images/shortform/08-github-pr-review.jpeg +0 -0
- package/resources/local/ecc/assets/images/shortform/09-zed-editor.jpeg +0 -0
- package/resources/local/ecc/assets/images/shortform/10-vscode-extension.jpeg +0 -0
- package/resources/local/ecc/assets/images/shortform/11-statusline.jpeg +0 -0
- package/resources/local/ecc/commands/aside.md +164 -0
- package/resources/local/ecc/commands/auto-update.md +28 -0
- package/resources/local/ecc/commands/build-fix.md +66 -0
- package/resources/local/ecc/commands/checkpoint.md +78 -0
- package/resources/local/ecc/commands/code-review.md +289 -0
- package/resources/local/ecc/commands/cost-report.md +107 -0
- package/resources/local/ecc/commands/cpp-build.md +173 -0
- package/resources/local/ecc/commands/cpp-review.md +132 -0
- package/resources/local/ecc/commands/cpp-test.md +251 -0
- package/resources/local/ecc/commands/ecc-guide.md +93 -0
- package/resources/local/ecc/commands/evolve.md +178 -0
- package/resources/local/ecc/commands/fastapi-review.md +39 -0
- package/resources/local/ecc/commands/feature-dev.md +49 -0
- package/resources/local/ecc/commands/flutter-build.md +164 -0
- package/resources/local/ecc/commands/flutter-review.md +116 -0
- package/resources/local/ecc/commands/flutter-test.md +144 -0
- package/resources/local/ecc/commands/gan-build.md +103 -0
- package/resources/local/ecc/commands/gan-design.md +39 -0
- package/resources/local/ecc/commands/go-build.md +183 -0
- package/resources/local/ecc/commands/go-review.md +148 -0
- package/resources/local/ecc/commands/go-test.md +268 -0
- package/resources/local/ecc/commands/gradle-build.md +70 -0
- package/resources/local/ecc/commands/harness-audit.md +77 -0
- package/resources/local/ecc/commands/hookify-configure.md +14 -0
- package/resources/local/ecc/commands/hookify-help.md +46 -0
- package/resources/local/ecc/commands/hookify-list.md +21 -0
- package/resources/local/ecc/commands/hookify.md +50 -0
- package/resources/local/ecc/commands/instinct-export.md +66 -0
- package/resources/local/ecc/commands/instinct-import.md +114 -0
- package/resources/local/ecc/commands/instinct-status.md +59 -0
- package/resources/local/ecc/commands/jira.md +106 -0
- package/resources/local/ecc/commands/kotlin-build.md +174 -0
- package/resources/local/ecc/commands/kotlin-review.md +140 -0
- package/resources/local/ecc/commands/kotlin-test.md +312 -0
- package/resources/local/ecc/commands/learn-eval.md +116 -0
- package/resources/local/ecc/commands/learn.md +74 -0
- package/resources/local/ecc/commands/loop-start.md +36 -0
- package/resources/local/ecc/commands/loop-status.md +77 -0
- package/resources/local/ecc/commands/model-route.md +30 -0
- package/resources/local/ecc/commands/multi-backend.md +162 -0
- package/resources/local/ecc/commands/multi-execute.md +319 -0
- package/resources/local/ecc/commands/multi-frontend.md +162 -0
- package/resources/local/ecc/commands/multi-plan.md +272 -0
- package/resources/local/ecc/commands/multi-workflow.md +195 -0
- package/resources/local/ecc/commands/plan-prd.md +160 -0
- package/resources/local/ecc/commands/plan.md +200 -0
- package/resources/local/ecc/commands/pm2.md +276 -0
- package/resources/local/ecc/commands/pr.md +184 -0
- package/resources/local/ecc/commands/project-init.md +86 -0
- package/resources/local/ecc/commands/projects.md +39 -0
- package/resources/local/ecc/commands/promote.md +41 -0
- package/resources/local/ecc/commands/prp-commit.md +112 -0
- package/resources/local/ecc/commands/prp-implement.md +385 -0
- package/resources/local/ecc/commands/prp-plan.md +502 -0
- package/resources/local/ecc/commands/prp-pr.md +184 -0
- package/resources/local/ecc/commands/prp-prd.md +447 -0
- package/resources/local/ecc/commands/prune.md +31 -0
- package/resources/local/ecc/commands/python-review.md +297 -0
- package/resources/local/ecc/commands/quality-gate.md +33 -0
- package/resources/local/ecc/commands/refactor-clean.md +84 -0
- package/resources/local/ecc/commands/resume-session.md +156 -0
- package/resources/local/ecc/commands/review-pr.md +37 -0
- package/resources/local/ecc/commands/rust-build.md +187 -0
- package/resources/local/ecc/commands/rust-review.md +142 -0
- package/resources/local/ecc/commands/rust-test.md +308 -0
- package/resources/local/ecc/commands/santa-loop.md +175 -0
- package/resources/local/ecc/commands/save-session.md +275 -0
- package/resources/local/ecc/commands/security-scan.md +92 -0
- package/resources/local/ecc/commands/sessions.md +339 -0
- package/resources/local/ecc/commands/setup-pm.md +80 -0
- package/resources/local/ecc/commands/skill-create.md +174 -0
- package/resources/local/ecc/commands/skill-health.md +54 -0
- package/resources/local/ecc/commands/test-coverage.md +73 -0
- package/resources/local/ecc/commands/update-codemaps.md +76 -0
- package/resources/local/ecc/commands/update-docs.md +88 -0
- package/resources/local/ecc/commitlint.config.js +11 -0
- package/resources/local/ecc/config/project-stack-mappings.json +539 -0
- package/resources/local/ecc/contexts/dev.md +20 -0
- package/resources/local/ecc/contexts/research.md +26 -0
- package/resources/local/ecc/contexts/review.md +22 -0
- package/resources/local/ecc/docs/ANTIGRAVITY-GUIDE.md +156 -0
- package/resources/local/ecc/docs/ARCHITECTURE-IMPROVEMENTS.md +146 -0
- package/resources/local/ecc/docs/COMMAND-AGENT-MAP.md +67 -0
- package/resources/local/ecc/docs/COMMAND-REGISTRY.json +898 -0
- package/resources/local/ecc/docs/ECC-2.0-GA-ROADMAP.md +1026 -0
- package/resources/local/ecc/docs/ECC-2.0-REFERENCE-ARCHITECTURE.md +246 -0
- package/resources/local/ecc/docs/ECC-2.0-SESSION-ADAPTER-DISCOVERY.md +322 -0
- package/resources/local/ecc/docs/HERMES-OPENCLAW-MIGRATION.md +239 -0
- package/resources/local/ecc/docs/HERMES-SETUP.md +125 -0
- package/resources/local/ecc/docs/JOYCODE-GUIDE.md +55 -0
- package/resources/local/ecc/docs/MANUAL-ADAPTATION-GUIDE.md +214 -0
- package/resources/local/ecc/docs/MEGA-PLAN-REPO-PROMPTS-2026-03-12.md +286 -0
- package/resources/local/ecc/docs/PHASE1-ISSUE-BUNDLE-2026-03-12.md +272 -0
- package/resources/local/ecc/docs/PLAN-PRD-PATTERN.md +154 -0
- package/resources/local/ecc/docs/PR-399-REVIEW-2026-03-12.md +59 -0
- package/resources/local/ecc/docs/PR-QUEUE-TRIAGE-2026-03-13.md +355 -0
- package/resources/local/ecc/docs/QWEN-GUIDE.md +54 -0
- package/resources/local/ecc/docs/SELECTIVE-INSTALL-ARCHITECTURE.md +933 -0
- package/resources/local/ecc/docs/SELECTIVE-INSTALL-DESIGN.md +489 -0
- package/resources/local/ecc/docs/SESSION-ADAPTER-CONTRACT.md +293 -0
- package/resources/local/ecc/docs/SKILL-DEVELOPMENT-GUIDE.md +919 -0
- package/resources/local/ecc/docs/SKILL-PLACEMENT-POLICY.md +104 -0
- package/resources/local/ecc/docs/TROUBLESHOOTING.md +75 -0
- package/resources/local/ecc/docs/architecture/agentshield-enterprise-research-roadmap.md +373 -0
- package/resources/local/ecc/docs/architecture/cross-harness.md +133 -0
- package/resources/local/ecc/docs/architecture/discussion-response-playbook.md +90 -0
- package/resources/local/ecc/docs/architecture/evaluator-rag-prototype.md +158 -0
- package/resources/local/ecc/docs/architecture/harness-adapter-compliance.md +105 -0
- package/resources/local/ecc/docs/architecture/hud-status-session-control.md +80 -0
- package/resources/local/ecc/docs/architecture/observability-readiness.md +85 -0
- package/resources/local/ecc/docs/architecture/progress-sync-contract.md +67 -0
- package/resources/local/ecc/docs/business/metrics-and-sponsorship.md +74 -0
- package/resources/local/ecc/docs/business/social-launch-copy.md +72 -0
- package/resources/local/ecc/docs/capability-surface-selection.md +140 -0
- package/resources/local/ecc/docs/continuous-learning-v2-spec.md +14 -0
- package/resources/local/ecc/docs/drafts/release-1.10.1-announcement.md +63 -0
- package/resources/local/ecc/docs/examples/product-capability-template.md +84 -0
- package/resources/local/ecc/docs/examples/project-guidelines-template.md +347 -0
- package/resources/local/ecc/docs/fixes/HOOK-FIX-20260421-ADDENDUM.md +109 -0
- package/resources/local/ecc/docs/fixes/HOOK-FIX-20260421.md +144 -0
- package/resources/local/ecc/docs/fixes/INSTALL-HOOK-WRAPPER-FIX-20260422.md +66 -0
- package/resources/local/ecc/docs/fixes/PATCH-SETTINGS-SIMPLE-FIX-20260422.md +78 -0
- package/resources/local/ecc/docs/fixes/apply-hook-fix.sh +60 -0
- package/resources/local/ecc/docs/fixes/install_hook_wrapper.ps1 +167 -0
- package/resources/local/ecc/docs/fixes/patch_settings_cl_v2_simple.ps1 +187 -0
- package/resources/local/ecc/docs/hook-bug-workarounds.md +74 -0
- package/resources/local/ecc/docs/ja-JP/AGENTS.md +170 -0
- package/resources/local/ecc/docs/ja-JP/CHANGELOG.md +203 -0
- package/resources/local/ecc/docs/ja-JP/CLAUDE.md +81 -0
- package/resources/local/ecc/docs/ja-JP/CODE_OF_CONDUCT.md +82 -0
- package/resources/local/ecc/docs/ja-JP/COMMANDS-QUICK-REF.md +159 -0
- package/resources/local/ecc/docs/ja-JP/CONTRIBUTING.md +430 -0
- package/resources/local/ecc/docs/ja-JP/EVALUATION.md +122 -0
- package/resources/local/ecc/docs/ja-JP/GLOSSARY.md +53 -0
- package/resources/local/ecc/docs/ja-JP/README.md +799 -0
- package/resources/local/ecc/docs/ja-JP/RULES.md +38 -0
- package/resources/local/ecc/docs/ja-JP/SECURITY.md +101 -0
- package/resources/local/ecc/docs/ja-JP/SOUL.md +17 -0
- package/resources/local/ecc/docs/ja-JP/SPONSORING.md +43 -0
- package/resources/local/ecc/docs/ja-JP/SPONSORS.md +59 -0
- package/resources/local/ecc/docs/ja-JP/TROUBLESHOOTING.md +433 -0
- package/resources/local/ecc/docs/ja-JP/agents/a11y-architect.md +149 -0
- package/resources/local/ecc/docs/ja-JP/agents/architect.md +211 -0
- package/resources/local/ecc/docs/ja-JP/agents/build-error-resolver.md +534 -0
- package/resources/local/ecc/docs/ja-JP/agents/chief-of-staff.md +160 -0
- package/resources/local/ecc/docs/ja-JP/agents/code-architect.md +80 -0
- package/resources/local/ecc/docs/ja-JP/agents/code-explorer.md +78 -0
- package/resources/local/ecc/docs/ja-JP/agents/code-reviewer.md +104 -0
- package/resources/local/ecc/docs/ja-JP/agents/code-simplifier.md +56 -0
- package/resources/local/ecc/docs/ja-JP/agents/comment-analyzer.md +54 -0
- package/resources/local/ecc/docs/ja-JP/agents/conversation-analyzer.md +61 -0
- package/resources/local/ecc/docs/ja-JP/agents/cpp-build-resolver.md +99 -0
- package/resources/local/ecc/docs/ja-JP/agents/cpp-reviewer.md +81 -0
- package/resources/local/ecc/docs/ja-JP/agents/csharp-reviewer.md +110 -0
- package/resources/local/ecc/docs/ja-JP/agents/dart-build-resolver.md +210 -0
- package/resources/local/ecc/docs/ja-JP/agents/database-reviewer.md +654 -0
- package/resources/local/ecc/docs/ja-JP/agents/django-build-resolver.md +252 -0
- package/resources/local/ecc/docs/ja-JP/agents/django-reviewer.md +169 -0
- package/resources/local/ecc/docs/ja-JP/agents/doc-updater.md +452 -0
- package/resources/local/ecc/docs/ja-JP/agents/docs-lookup.md +77 -0
- package/resources/local/ecc/docs/ja-JP/agents/e2e-runner.md +636 -0
- package/resources/local/ecc/docs/ja-JP/agents/fastapi-reviewer.md +79 -0
- package/resources/local/ecc/docs/ja-JP/agents/flutter-reviewer.md +143 -0
- package/resources/local/ecc/docs/ja-JP/agents/fsharp-reviewer.md +100 -0
- package/resources/local/ecc/docs/ja-JP/agents/gan-evaluator.md +149 -0
- package/resources/local/ecc/docs/ja-JP/agents/gan-generator.md +93 -0
- package/resources/local/ecc/docs/ja-JP/agents/gan-planner.md +108 -0
- package/resources/local/ecc/docs/ja-JP/agents/go-build-resolver.md +368 -0
- package/resources/local/ecc/docs/ja-JP/agents/go-reviewer.md +269 -0
- package/resources/local/ecc/docs/ja-JP/agents/harmonyos-app-resolver.md +85 -0
- package/resources/local/ecc/docs/ja-JP/agents/harness-optimizer.md +44 -0
- package/resources/local/ecc/docs/ja-JP/agents/healthcare-reviewer.md +92 -0
- package/resources/local/ecc/docs/ja-JP/agents/homelab-architect.md +73 -0
- package/resources/local/ecc/docs/ja-JP/agents/java-build-resolver.md +87 -0
- package/resources/local/ecc/docs/ja-JP/agents/java-reviewer.md +73 -0
- package/resources/local/ecc/docs/ja-JP/agents/kotlin-build-resolver.md +70 -0
- package/resources/local/ecc/docs/ja-JP/agents/kotlin-reviewer.md +85 -0
- package/resources/local/ecc/docs/ja-JP/agents/loop-operator.md +45 -0
- package/resources/local/ecc/docs/ja-JP/agents/mle-reviewer.md +162 -0
- package/resources/local/ecc/docs/ja-JP/agents/network-architect.md +90 -0
- package/resources/local/ecc/docs/ja-JP/agents/network-config-reviewer.md +95 -0
- package/resources/local/ecc/docs/ja-JP/agents/network-troubleshooter.md +120 -0
- package/resources/local/ecc/docs/ja-JP/agents/opensource-forker.md +207 -0
- package/resources/local/ecc/docs/ja-JP/agents/opensource-packager.md +258 -0
- package/resources/local/ecc/docs/ja-JP/agents/opensource-sanitizer.md +197 -0
- package/resources/local/ecc/docs/ja-JP/agents/performance-optimizer.md +455 -0
- package/resources/local/ecc/docs/ja-JP/agents/planner.md +119 -0
- package/resources/local/ecc/docs/ja-JP/agents/pr-test-analyzer.md +54 -0
- package/resources/local/ecc/docs/ja-JP/agents/python-reviewer.md +469 -0
- package/resources/local/ecc/docs/ja-JP/agents/pytorch-build-resolver.md +125 -0
- package/resources/local/ecc/docs/ja-JP/agents/refactor-cleaner.md +306 -0
- package/resources/local/ecc/docs/ja-JP/agents/rust-build-resolver.md +157 -0
- package/resources/local/ecc/docs/ja-JP/agents/rust-reviewer.md +103 -0
- package/resources/local/ecc/docs/ja-JP/agents/security-reviewer.md +545 -0
- package/resources/local/ecc/docs/ja-JP/agents/seo-specialist.md +71 -0
- package/resources/local/ecc/docs/ja-JP/agents/silent-failure-hunter.md +59 -0
- package/resources/local/ecc/docs/ja-JP/agents/swift-build-resolver.md +170 -0
- package/resources/local/ecc/docs/ja-JP/agents/swift-reviewer.md +116 -0
- package/resources/local/ecc/docs/ja-JP/agents/tdd-guide.md +280 -0
- package/resources/local/ecc/docs/ja-JP/agents/type-design-analyzer.md +50 -0
- package/resources/local/ecc/docs/ja-JP/agents/typescript-reviewer.md +121 -0
- package/resources/local/ecc/docs/ja-JP/commands/README.md +113 -0
- package/resources/local/ecc/docs/ja-JP/commands/aside.md +166 -0
- package/resources/local/ecc/docs/ja-JP/commands/auto-update.md +28 -0
- package/resources/local/ecc/docs/ja-JP/commands/build-fix.md +29 -0
- package/resources/local/ecc/docs/ja-JP/commands/checkpoint.md +78 -0
- package/resources/local/ecc/docs/ja-JP/commands/claw.md +51 -0
- package/resources/local/ecc/docs/ja-JP/commands/code-review.md +43 -0
- package/resources/local/ecc/docs/ja-JP/commands/context-budget.md +29 -0
- package/resources/local/ecc/docs/ja-JP/commands/cost-report.md +99 -0
- package/resources/local/ecc/docs/ja-JP/commands/cpp-build.md +78 -0
- package/resources/local/ecc/docs/ja-JP/commands/cpp-review.md +82 -0
- package/resources/local/ecc/docs/ja-JP/commands/cpp-test.md +128 -0
- package/resources/local/ecc/docs/ja-JP/commands/devfleet.md +93 -0
- package/resources/local/ecc/docs/ja-JP/commands/docs.md +32 -0
- package/resources/local/ecc/docs/ja-JP/commands/e2e.md +370 -0
- package/resources/local/ecc/docs/ja-JP/commands/ecc-guide.md +93 -0
- package/resources/local/ecc/docs/ja-JP/commands/eval.md +120 -0
- package/resources/local/ecc/docs/ja-JP/commands/evolve.md +193 -0
- package/resources/local/ecc/docs/ja-JP/commands/fastapi-review.md +39 -0
- package/resources/local/ecc/docs/ja-JP/commands/feature-dev.md +49 -0
- package/resources/local/ecc/docs/ja-JP/commands/flutter-build.md +79 -0
- package/resources/local/ecc/docs/ja-JP/commands/flutter-review.md +116 -0
- package/resources/local/ecc/docs/ja-JP/commands/flutter-test.md +144 -0
- package/resources/local/ecc/docs/ja-JP/commands/gan-build.md +103 -0
- package/resources/local/ecc/docs/ja-JP/commands/gan-design.md +39 -0
- package/resources/local/ecc/docs/ja-JP/commands/go-build.md +183 -0
- package/resources/local/ecc/docs/ja-JP/commands/go-review.md +148 -0
- package/resources/local/ecc/docs/ja-JP/commands/go-test.md +268 -0
- package/resources/local/ecc/docs/ja-JP/commands/gradle-build.md +70 -0
- package/resources/local/ecc/docs/ja-JP/commands/harness-audit.md +77 -0
- package/resources/local/ecc/docs/ja-JP/commands/hookify-configure.md +14 -0
- package/resources/local/ecc/docs/ja-JP/commands/hookify-help.md +46 -0
- package/resources/local/ecc/docs/ja-JP/commands/hookify-list.md +21 -0
- package/resources/local/ecc/docs/ja-JP/commands/hookify.md +50 -0
- package/resources/local/ecc/docs/ja-JP/commands/instinct-export.md +91 -0
- package/resources/local/ecc/docs/ja-JP/commands/instinct-import.md +142 -0
- package/resources/local/ecc/docs/ja-JP/commands/instinct-status.md +86 -0
- package/resources/local/ecc/docs/ja-JP/commands/jira.md +106 -0
- package/resources/local/ecc/docs/ja-JP/commands/kotlin-build.md +174 -0
- package/resources/local/ecc/docs/ja-JP/commands/kotlin-review.md +140 -0
- package/resources/local/ecc/docs/ja-JP/commands/kotlin-test.md +312 -0
- package/resources/local/ecc/docs/ja-JP/commands/learn-eval.md +116 -0
- package/resources/local/ecc/docs/ja-JP/commands/learn.md +70 -0
- package/resources/local/ecc/docs/ja-JP/commands/loop-start.md +36 -0
- package/resources/local/ecc/docs/ja-JP/commands/loop-status.md +58 -0
- package/resources/local/ecc/docs/ja-JP/commands/model-route.md +30 -0
- package/resources/local/ecc/docs/ja-JP/commands/multi-backend.md +158 -0
- package/resources/local/ecc/docs/ja-JP/commands/multi-execute.md +315 -0
- package/resources/local/ecc/docs/ja-JP/commands/multi-frontend.md +158 -0
- package/resources/local/ecc/docs/ja-JP/commands/multi-plan.md +268 -0
- package/resources/local/ecc/docs/ja-JP/commands/multi-workflow.md +183 -0
- package/resources/local/ecc/docs/ja-JP/commands/orchestrate.md +172 -0
- package/resources/local/ecc/docs/ja-JP/commands/plan-prd.md +160 -0
- package/resources/local/ecc/docs/ja-JP/commands/plan.md +200 -0
- package/resources/local/ecc/docs/ja-JP/commands/pm2.md +272 -0
- package/resources/local/ecc/docs/ja-JP/commands/pr.md +184 -0
- package/resources/local/ecc/docs/ja-JP/commands/project-init.md +86 -0
- package/resources/local/ecc/docs/ja-JP/commands/projects.md +39 -0
- package/resources/local/ecc/docs/ja-JP/commands/promote.md +41 -0
- package/resources/local/ecc/docs/ja-JP/commands/prompt-optimize.md +37 -0
- package/resources/local/ecc/docs/ja-JP/commands/prp-commit.md +112 -0
- package/resources/local/ecc/docs/ja-JP/commands/prp-implement.md +385 -0
- package/resources/local/ecc/docs/ja-JP/commands/prp-plan.md +502 -0
- package/resources/local/ecc/docs/ja-JP/commands/prp-pr.md +184 -0
- package/resources/local/ecc/docs/ja-JP/commands/prp-prd.md +447 -0
- package/resources/local/ecc/docs/ja-JP/commands/prune.md +31 -0
- package/resources/local/ecc/docs/ja-JP/commands/python-review.md +297 -0
- package/resources/local/ecc/docs/ja-JP/commands/quality-gate.md +33 -0
- package/resources/local/ecc/docs/ja-JP/commands/refactor-clean.md +28 -0
- package/resources/local/ecc/docs/ja-JP/commands/resume-session.md +156 -0
- package/resources/local/ecc/docs/ja-JP/commands/review-pr.md +37 -0
- package/resources/local/ecc/docs/ja-JP/commands/rules-distill.md +11 -0
- package/resources/local/ecc/docs/ja-JP/commands/rust-build.md +187 -0
- package/resources/local/ecc/docs/ja-JP/commands/rust-review.md +142 -0
- package/resources/local/ecc/docs/ja-JP/commands/rust-test.md +308 -0
- package/resources/local/ecc/docs/ja-JP/commands/santa-loop.md +175 -0
- package/resources/local/ecc/docs/ja-JP/commands/save-session.md +276 -0
- package/resources/local/ecc/docs/ja-JP/commands/security-scan.md +92 -0
- package/resources/local/ecc/docs/ja-JP/commands/sessions.md +305 -0
- package/resources/local/ecc/docs/ja-JP/commands/setup-pm.md +80 -0
- package/resources/local/ecc/docs/ja-JP/commands/skill-create.md +174 -0
- package/resources/local/ecc/docs/ja-JP/commands/skill-health.md +54 -0
- package/resources/local/ecc/docs/ja-JP/commands/tdd.md +326 -0
- package/resources/local/ecc/docs/ja-JP/commands/test-coverage.md +27 -0
- package/resources/local/ecc/docs/ja-JP/commands/update-codemaps.md +17 -0
- package/resources/local/ecc/docs/ja-JP/commands/update-docs.md +31 -0
- package/resources/local/ecc/docs/ja-JP/commands/verify.md +59 -0
- package/resources/local/ecc/docs/ja-JP/contexts/dev.md +20 -0
- package/resources/local/ecc/docs/ja-JP/contexts/research.md +26 -0
- package/resources/local/ecc/docs/ja-JP/contexts/review.md +22 -0
- package/resources/local/ecc/docs/ja-JP/examples/CLAUDE.md +109 -0
- package/resources/local/ecc/docs/ja-JP/examples/django-api-CLAUDE.md +308 -0
- package/resources/local/ecc/docs/ja-JP/examples/go-microservice-CLAUDE.md +267 -0
- package/resources/local/ecc/docs/ja-JP/examples/harmonyos-app-CLAUDE.md +88 -0
- package/resources/local/ecc/docs/ja-JP/examples/laravel-api-CLAUDE.md +311 -0
- package/resources/local/ecc/docs/ja-JP/examples/rust-api-CLAUDE.md +285 -0
- package/resources/local/ecc/docs/ja-JP/examples/saas-nextjs-CLAUDE.md +166 -0
- package/resources/local/ecc/docs/ja-JP/examples/user-CLAUDE.md +109 -0
- package/resources/local/ecc/docs/ja-JP/hooks/README.md +249 -0
- package/resources/local/ecc/docs/ja-JP/plugins/README.md +87 -0
- package/resources/local/ecc/docs/ja-JP/rules/README.md +81 -0
- package/resources/local/ecc/docs/ja-JP/rules/angular/coding-style.md +182 -0
- package/resources/local/ecc/docs/ja-JP/rules/angular/hooks.md +25 -0
- package/resources/local/ecc/docs/ja-JP/rules/angular/patterns.md +249 -0
- package/resources/local/ecc/docs/ja-JP/rules/angular/security.md +87 -0
- package/resources/local/ecc/docs/ja-JP/rules/angular/testing.md +164 -0
- package/resources/local/ecc/docs/ja-JP/rules/arkts/coding-style.md +153 -0
- package/resources/local/ecc/docs/ja-JP/rules/arkts/hooks.md +135 -0
- package/resources/local/ecc/docs/ja-JP/rules/arkts/patterns.md +236 -0
- package/resources/local/ecc/docs/ja-JP/rules/arkts/security.md +141 -0
- package/resources/local/ecc/docs/ja-JP/rules/arkts/testing.md +126 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/agents.md +49 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/code-review.md +124 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/coding-style.md +48 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/development-workflow.md +44 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/git-workflow.md +45 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/hooks.md +30 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/patterns.md +31 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/performance.md +55 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/security.md +29 -0
- package/resources/local/ecc/docs/ja-JP/rules/common/testing.md +29 -0
- package/resources/local/ecc/docs/ja-JP/rules/cpp/coding-style.md +44 -0
- package/resources/local/ecc/docs/ja-JP/rules/cpp/hooks.md +39 -0
- package/resources/local/ecc/docs/ja-JP/rules/cpp/patterns.md +51 -0
- package/resources/local/ecc/docs/ja-JP/rules/cpp/security.md +51 -0
- package/resources/local/ecc/docs/ja-JP/rules/cpp/testing.md +44 -0
- package/resources/local/ecc/docs/ja-JP/rules/csharp/coding-style.md +72 -0
- package/resources/local/ecc/docs/ja-JP/rules/csharp/hooks.md +25 -0
- package/resources/local/ecc/docs/ja-JP/rules/csharp/patterns.md +50 -0
- package/resources/local/ecc/docs/ja-JP/rules/csharp/security.md +58 -0
- package/resources/local/ecc/docs/ja-JP/rules/csharp/testing.md +46 -0
- package/resources/local/ecc/docs/ja-JP/rules/dart/coding-style.md +159 -0
- package/resources/local/ecc/docs/ja-JP/rules/dart/hooks.md +66 -0
- package/resources/local/ecc/docs/ja-JP/rules/dart/patterns.md +261 -0
- package/resources/local/ecc/docs/ja-JP/rules/dart/security.md +135 -0
- package/resources/local/ecc/docs/ja-JP/rules/dart/testing.md +215 -0
- package/resources/local/ecc/docs/ja-JP/rules/fsharp/coding-style.md +112 -0
- package/resources/local/ecc/docs/ja-JP/rules/fsharp/hooks.md +26 -0
- package/resources/local/ecc/docs/ja-JP/rules/fsharp/patterns.md +111 -0
- package/resources/local/ecc/docs/ja-JP/rules/fsharp/security.md +76 -0
- package/resources/local/ecc/docs/ja-JP/rules/fsharp/testing.md +62 -0
- package/resources/local/ecc/docs/ja-JP/rules/golang/coding-style.md +32 -0
- package/resources/local/ecc/docs/ja-JP/rules/golang/hooks.md +17 -0
- package/resources/local/ecc/docs/ja-JP/rules/golang/patterns.md +45 -0
- package/resources/local/ecc/docs/ja-JP/rules/golang/security.md +34 -0
- package/resources/local/ecc/docs/ja-JP/rules/golang/testing.md +31 -0
- package/resources/local/ecc/docs/ja-JP/rules/java/coding-style.md +114 -0
- package/resources/local/ecc/docs/ja-JP/rules/java/hooks.md +18 -0
- package/resources/local/ecc/docs/ja-JP/rules/java/patterns.md +147 -0
- package/resources/local/ecc/docs/ja-JP/rules/java/security.md +101 -0
- package/resources/local/ecc/docs/ja-JP/rules/java/testing.md +133 -0
- package/resources/local/ecc/docs/ja-JP/rules/kotlin/coding-style.md +86 -0
- package/resources/local/ecc/docs/ja-JP/rules/kotlin/hooks.md +17 -0
- package/resources/local/ecc/docs/ja-JP/rules/kotlin/patterns.md +146 -0
- package/resources/local/ecc/docs/ja-JP/rules/kotlin/security.md +82 -0
- package/resources/local/ecc/docs/ja-JP/rules/kotlin/testing.md +128 -0
- package/resources/local/ecc/docs/ja-JP/rules/perl/coding-style.md +46 -0
- package/resources/local/ecc/docs/ja-JP/rules/perl/hooks.md +22 -0
- package/resources/local/ecc/docs/ja-JP/rules/perl/patterns.md +76 -0
- package/resources/local/ecc/docs/ja-JP/rules/perl/security.md +69 -0
- package/resources/local/ecc/docs/ja-JP/rules/perl/testing.md +54 -0
- package/resources/local/ecc/docs/ja-JP/rules/php/coding-style.md +40 -0
- package/resources/local/ecc/docs/ja-JP/rules/php/hooks.md +24 -0
- package/resources/local/ecc/docs/ja-JP/rules/php/patterns.md +33 -0
- package/resources/local/ecc/docs/ja-JP/rules/php/security.md +37 -0
- package/resources/local/ecc/docs/ja-JP/rules/php/testing.md +39 -0
- package/resources/local/ecc/docs/ja-JP/rules/python/coding-style.md +42 -0
- package/resources/local/ecc/docs/ja-JP/rules/python/fastapi.md +58 -0
- package/resources/local/ecc/docs/ja-JP/rules/python/hooks.md +19 -0
- package/resources/local/ecc/docs/ja-JP/rules/python/patterns.md +39 -0
- package/resources/local/ecc/docs/ja-JP/rules/python/security.md +30 -0
- package/resources/local/ecc/docs/ja-JP/rules/python/testing.md +38 -0
- package/resources/local/ecc/docs/ja-JP/rules/ruby/coding-style.md +46 -0
- package/resources/local/ecc/docs/ja-JP/rules/ruby/hooks.md +37 -0
- package/resources/local/ecc/docs/ja-JP/rules/ruby/patterns.md +44 -0
- package/resources/local/ecc/docs/ja-JP/rules/ruby/security.md +51 -0
- package/resources/local/ecc/docs/ja-JP/rules/ruby/testing.md +51 -0
- package/resources/local/ecc/docs/ja-JP/rules/rust/coding-style.md +151 -0
- package/resources/local/ecc/docs/ja-JP/rules/rust/hooks.md +16 -0
- package/resources/local/ecc/docs/ja-JP/rules/rust/patterns.md +168 -0
- package/resources/local/ecc/docs/ja-JP/rules/rust/security.md +141 -0
- package/resources/local/ecc/docs/ja-JP/rules/rust/testing.md +154 -0
- package/resources/local/ecc/docs/ja-JP/rules/swift/coding-style.md +47 -0
- package/resources/local/ecc/docs/ja-JP/rules/swift/hooks.md +20 -0
- package/resources/local/ecc/docs/ja-JP/rules/swift/patterns.md +66 -0
- package/resources/local/ecc/docs/ja-JP/rules/swift/security.md +33 -0
- package/resources/local/ecc/docs/ja-JP/rules/swift/testing.md +45 -0
- package/resources/local/ecc/docs/ja-JP/rules/typescript/coding-style.md +199 -0
- package/resources/local/ecc/docs/ja-JP/rules/typescript/hooks.md +22 -0
- package/resources/local/ecc/docs/ja-JP/rules/typescript/patterns.md +52 -0
- package/resources/local/ecc/docs/ja-JP/rules/typescript/security.md +28 -0
- package/resources/local/ecc/docs/ja-JP/rules/typescript/testing.md +18 -0
- package/resources/local/ecc/docs/ja-JP/rules/web/coding-style.md +96 -0
- package/resources/local/ecc/docs/ja-JP/rules/web/design-quality.md +63 -0
- package/resources/local/ecc/docs/ja-JP/rules/web/hooks.md +129 -0
- package/resources/local/ecc/docs/ja-JP/rules/web/patterns.md +79 -0
- package/resources/local/ecc/docs/ja-JP/rules/web/performance.md +64 -0
- package/resources/local/ecc/docs/ja-JP/rules/web/security.md +57 -0
- package/resources/local/ecc/docs/ja-JP/rules/web/testing.md +55 -0
- package/resources/local/ecc/docs/ja-JP/skills/README.md +109 -0
- package/resources/local/ecc/docs/ja-JP/skills/accessibility/SKILL.md +145 -0
- package/resources/local/ecc/docs/ja-JP/skills/agent-architecture-audit/SKILL.md +256 -0
- package/resources/local/ecc/docs/ja-JP/skills/agent-eval/SKILL.md +145 -0
- package/resources/local/ecc/docs/ja-JP/skills/agent-harness-construction/SKILL.md +73 -0
- package/resources/local/ecc/docs/ja-JP/skills/agent-introspection-debugging/SKILL.md +153 -0
- package/resources/local/ecc/docs/ja-JP/skills/agent-payment-x402/SKILL.md +224 -0
- package/resources/local/ecc/docs/ja-JP/skills/agent-sort/SKILL.md +215 -0
- package/resources/local/ecc/docs/ja-JP/skills/agentic-engineering/SKILL.md +63 -0
- package/resources/local/ecc/docs/ja-JP/skills/agentic-os/SKILL.md +387 -0
- package/resources/local/ecc/docs/ja-JP/skills/ai-first-engineering/SKILL.md +51 -0
- package/resources/local/ecc/docs/ja-JP/skills/ai-regression-testing/SKILL.md +385 -0
- package/resources/local/ecc/docs/ja-JP/skills/android-clean-architecture/SKILL.md +339 -0
- package/resources/local/ecc/docs/ja-JP/skills/angular-developer/SKILL.md +154 -0
- package/resources/local/ecc/docs/ja-JP/skills/api-connector-builder/SKILL.md +120 -0
- package/resources/local/ecc/docs/ja-JP/skills/api-design/SKILL.md +457 -0
- package/resources/local/ecc/docs/ja-JP/skills/architecture-decision-records/SKILL.md +179 -0
- package/resources/local/ecc/docs/ja-JP/skills/article-writing/SKILL.md +79 -0
- package/resources/local/ecc/docs/ja-JP/skills/automation-audit-ops/SKILL.md +142 -0
- package/resources/local/ecc/docs/ja-JP/skills/autonomous-agent-harness/SKILL.md +103 -0
- package/resources/local/ecc/docs/ja-JP/skills/autonomous-loops/SKILL.md +77 -0
- package/resources/local/ecc/docs/ja-JP/skills/backend-patterns/SKILL.md +587 -0
- package/resources/local/ecc/docs/ja-JP/skills/benchmark/SKILL.md +93 -0
- package/resources/local/ecc/docs/ja-JP/skills/blueprint/SKILL.md +61 -0
- package/resources/local/ecc/docs/ja-JP/skills/brand-voice/SKILL.md +79 -0
- package/resources/local/ecc/docs/ja-JP/skills/browser-qa/SKILL.md +84 -0
- package/resources/local/ecc/docs/ja-JP/skills/bun-runtime/SKILL.md +70 -0
- package/resources/local/ecc/docs/ja-JP/skills/canary-watch/SKILL.md +96 -0
- package/resources/local/ecc/docs/ja-JP/skills/carrier-relationship-management/SKILL.md +60 -0
- package/resources/local/ecc/docs/ja-JP/skills/cisco-ios-patterns/SKILL.md +92 -0
- package/resources/local/ecc/docs/ja-JP/skills/ck/SKILL.md +99 -0
- package/resources/local/ecc/docs/ja-JP/skills/claude-devfleet/SKILL.md +69 -0
- package/resources/local/ecc/docs/ja-JP/skills/click-path-audit/SKILL.md +85 -0
- package/resources/local/ecc/docs/ja-JP/skills/clickhouse-io/SKILL.md +429 -0
- package/resources/local/ecc/docs/ja-JP/skills/code-tour/SKILL.md +57 -0
- package/resources/local/ecc/docs/ja-JP/skills/codebase-onboarding/SKILL.md +58 -0
- package/resources/local/ecc/docs/ja-JP/skills/coding-standards/SKILL.md +527 -0
- package/resources/local/ecc/docs/ja-JP/skills/compose-multiplatform-patterns/SKILL.md +299 -0
- package/resources/local/ecc/docs/ja-JP/skills/configure-ecc/SKILL.md +313 -0
- package/resources/local/ecc/docs/ja-JP/skills/connections-optimizer/SKILL.md +189 -0
- package/resources/local/ecc/docs/ja-JP/skills/content-engine/SKILL.md +131 -0
- package/resources/local/ecc/docs/ja-JP/skills/content-hash-cache-pattern/SKILL.md +161 -0
- package/resources/local/ecc/docs/ja-JP/skills/context-budget/SKILL.md +135 -0
- package/resources/local/ecc/docs/ja-JP/skills/continuous-agent-loop/SKILL.md +45 -0
- package/resources/local/ecc/docs/ja-JP/skills/continuous-learning/SKILL.md +110 -0
- package/resources/local/ecc/docs/ja-JP/skills/continuous-learning-v2/SKILL.md +268 -0
- package/resources/local/ecc/docs/ja-JP/skills/continuous-learning-v2/agents/observer.md +137 -0
- package/resources/local/ecc/docs/ja-JP/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/resources/local/ecc/docs/ja-JP/skills/cost-tracking/SKILL.md +137 -0
- package/resources/local/ecc/docs/ja-JP/skills/council/SKILL.md +203 -0
- package/resources/local/ecc/docs/ja-JP/skills/cpp-coding-standards/SKILL.md +49 -0
- package/resources/local/ecc/docs/ja-JP/skills/cpp-testing/SKILL.md +322 -0
- package/resources/local/ecc/docs/ja-JP/skills/crosspost/SKILL.md +111 -0
- package/resources/local/ecc/docs/ja-JP/skills/csharp-testing/SKILL.md +321 -0
- package/resources/local/ecc/docs/ja-JP/skills/customer-billing-ops/SKILL.md +140 -0
- package/resources/local/ecc/docs/ja-JP/skills/customs-trade-compliance/SKILL.md +46 -0
- package/resources/local/ecc/docs/ja-JP/skills/dart-flutter-patterns/SKILL.md +53 -0
- package/resources/local/ecc/docs/ja-JP/skills/dashboard-builder/SKILL.md +58 -0
- package/resources/local/ecc/docs/ja-JP/skills/data-scraper-agent/SKILL.md +57 -0
- package/resources/local/ecc/docs/ja-JP/skills/database-migrations/SKILL.md +54 -0
- package/resources/local/ecc/docs/ja-JP/skills/deep-research/SKILL.md +33 -0
- package/resources/local/ecc/docs/ja-JP/skills/defi-amm-security/SKILL.md +46 -0
- package/resources/local/ecc/docs/ja-JP/skills/deployment-patterns/SKILL.md +50 -0
- package/resources/local/ecc/docs/ja-JP/skills/design-system/SKILL.md +53 -0
- package/resources/local/ecc/docs/ja-JP/skills/django-celery/SKILL.md +72 -0
- package/resources/local/ecc/docs/ja-JP/skills/django-patterns/SKILL.md +733 -0
- package/resources/local/ecc/docs/ja-JP/skills/django-security/SKILL.md +592 -0
- package/resources/local/ecc/docs/ja-JP/skills/django-tdd/SKILL.md +728 -0
- package/resources/local/ecc/docs/ja-JP/skills/django-verification/SKILL.md +460 -0
- package/resources/local/ecc/docs/ja-JP/skills/dmux-workflows/SKILL.md +68 -0
- package/resources/local/ecc/docs/ja-JP/skills/docker-patterns/SKILL.md +93 -0
- package/resources/local/ecc/docs/ja-JP/skills/documentation-lookup/SKILL.md +77 -0
- package/resources/local/ecc/docs/ja-JP/skills/dotnet-patterns/SKILL.md +321 -0
- package/resources/local/ecc/docs/ja-JP/skills/e2e-testing/SKILL.md +326 -0
- package/resources/local/ecc/docs/ja-JP/skills/ecc-guide/SKILL.md +189 -0
- package/resources/local/ecc/docs/ja-JP/skills/ecc-tools-cost-audit/SKILL.md +160 -0
- package/resources/local/ecc/docs/ja-JP/skills/email-ops/SKILL.md +121 -0
- package/resources/local/ecc/docs/ja-JP/skills/energy-procurement/SKILL.md +228 -0
- package/resources/local/ecc/docs/ja-JP/skills/enterprise-agent-ops/SKILL.md +50 -0
- package/resources/local/ecc/docs/ja-JP/skills/error-handling/SKILL.md +376 -0
- package/resources/local/ecc/docs/ja-JP/skills/eval-harness/SKILL.md +227 -0
- package/resources/local/ecc/docs/ja-JP/skills/evm-token-decimals/SKILL.md +130 -0
- package/resources/local/ecc/docs/ja-JP/skills/exa-search/SKILL.md +105 -0
- package/resources/local/ecc/docs/ja-JP/skills/fal-ai-media/SKILL.md +286 -0
- package/resources/local/ecc/docs/ja-JP/skills/fastapi-patterns/SKILL.md +327 -0
- package/resources/local/ecc/docs/ja-JP/skills/finance-billing-ops/SKILL.md +127 -0
- package/resources/local/ecc/docs/ja-JP/skills/flox-environments/SKILL.md +496 -0
- package/resources/local/ecc/docs/ja-JP/skills/flutter-dart-code-review/SKILL.md +435 -0
- package/resources/local/ecc/docs/ja-JP/skills/foundation-models-on-device/SKILL.md +243 -0
- package/resources/local/ecc/docs/ja-JP/skills/frontend-design-direction/SKILL.md +92 -0
- package/resources/local/ecc/docs/ja-JP/skills/frontend-patterns/SKILL.md +631 -0
- package/resources/local/ecc/docs/ja-JP/skills/frontend-slides/SKILL.md +184 -0
- package/resources/local/ecc/docs/ja-JP/skills/frontend-slides/STYLE_PRESETS.md +333 -0
- package/resources/local/ecc/docs/ja-JP/skills/fsharp-testing/SKILL.md +280 -0
- package/resources/local/ecc/docs/ja-JP/skills/gan-style-harness/SKILL.md +278 -0
- package/resources/local/ecc/docs/ja-JP/skills/gateguard/SKILL.md +125 -0
- package/resources/local/ecc/docs/ja-JP/skills/git-workflow/SKILL.md +715 -0
- package/resources/local/ecc/docs/ja-JP/skills/github-ops/SKILL.md +144 -0
- package/resources/local/ecc/docs/ja-JP/skills/golang-patterns/SKILL.md +673 -0
- package/resources/local/ecc/docs/ja-JP/skills/golang-testing/SKILL.md +959 -0
- package/resources/local/ecc/docs/ja-JP/skills/google-workspace-ops/SKILL.md +95 -0
- package/resources/local/ecc/docs/ja-JP/skills/healthcare-cdss-patterns/SKILL.md +245 -0
- package/resources/local/ecc/docs/ja-JP/skills/healthcare-emr-patterns/SKILL.md +159 -0
- package/resources/local/ecc/docs/ja-JP/skills/healthcare-eval-harness/SKILL.md +207 -0
- package/resources/local/ecc/docs/ja-JP/skills/healthcare-phi-compliance/SKILL.md +145 -0
- package/resources/local/ecc/docs/ja-JP/skills/hermes-imports/SKILL.md +88 -0
- package/resources/local/ecc/docs/ja-JP/skills/hexagonal-architecture/SKILL.md +276 -0
- package/resources/local/ecc/docs/ja-JP/skills/hipaa-compliance/SKILL.md +78 -0
- package/resources/local/ecc/docs/ja-JP/skills/homelab-network-readiness/SKILL.md +169 -0
- package/resources/local/ecc/docs/ja-JP/skills/homelab-network-setup/SKILL.md +129 -0
- package/resources/local/ecc/docs/ja-JP/skills/homelab-pihole-dns/SKILL.md +274 -0
- package/resources/local/ecc/docs/ja-JP/skills/homelab-vlan-segmentation/SKILL.md +311 -0
- package/resources/local/ecc/docs/ja-JP/skills/homelab-wireguard-vpn/SKILL.md +305 -0
- package/resources/local/ecc/docs/ja-JP/skills/hookify-rules/SKILL.md +128 -0
- package/resources/local/ecc/docs/ja-JP/skills/inventory-demand-planning/SKILL.md +247 -0
- package/resources/local/ecc/docs/ja-JP/skills/investor-materials/SKILL.md +96 -0
- package/resources/local/ecc/docs/ja-JP/skills/investor-outreach/SKILL.md +91 -0
- package/resources/local/ecc/docs/ja-JP/skills/ios-icon-gen/SKILL.md +157 -0
- package/resources/local/ecc/docs/ja-JP/skills/iterative-retrieval/SKILL.md +202 -0
- package/resources/local/ecc/docs/ja-JP/skills/java-coding-standards/SKILL.md +138 -0
- package/resources/local/ecc/docs/ja-JP/skills/jira-integration/SKILL.md +293 -0
- package/resources/local/ecc/docs/ja-JP/skills/jpa-patterns/SKILL.md +141 -0
- package/resources/local/ecc/docs/ja-JP/skills/knowledge-ops/SKILL.md +154 -0
- package/resources/local/ecc/docs/ja-JP/skills/kotlin-coroutines-flows/SKILL.md +284 -0
- package/resources/local/ecc/docs/ja-JP/skills/kotlin-exposed-patterns/SKILL.md +719 -0
- package/resources/local/ecc/docs/ja-JP/skills/kotlin-ktor-patterns/SKILL.md +689 -0
- package/resources/local/ecc/docs/ja-JP/skills/kotlin-patterns/SKILL.md +711 -0
- package/resources/local/ecc/docs/ja-JP/skills/kotlin-testing/SKILL.md +824 -0
- package/resources/local/ecc/docs/ja-JP/skills/laravel-patterns/SKILL.md +415 -0
- package/resources/local/ecc/docs/ja-JP/skills/laravel-plugin-discovery/SKILL.md +229 -0
- package/resources/local/ecc/docs/ja-JP/skills/laravel-security/SKILL.md +285 -0
- package/resources/local/ecc/docs/ja-JP/skills/laravel-tdd/SKILL.md +283 -0
- package/resources/local/ecc/docs/ja-JP/skills/laravel-verification/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/lead-intelligence/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/liquid-glass-design/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/llm-trading-agent-security/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/logistics-exception-management/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/make-interfaces-feel-better/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/manim-video/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/market-research/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/mcp-server-patterns/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/messages-ops/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/mle-workflow/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/motion-advanced/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/motion-foundations/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/motion-patterns/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/motion-ui/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/mysql-patterns/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/nanoclaw-repl/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/nestjs-patterns/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/netmiko-ssh-automation/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/network-bgp-diagnostics/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/network-config-validation/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/network-interface-health/SKILL.md +143 -0
- package/resources/local/ecc/docs/ja-JP/skills/nextjs-turbopack/SKILL.md +44 -0
- package/resources/local/ecc/docs/ja-JP/skills/nodejs-keccak256/SKILL.md +102 -0
- package/resources/local/ecc/docs/ja-JP/skills/nutrient-document-processing/SKILL.md +164 -0
- package/resources/local/ecc/docs/ja-JP/skills/nuxt4-patterns/SKILL.md +100 -0
- package/resources/local/ecc/docs/ja-JP/skills/openclaw-persona-forge/SKILL.md +288 -0
- package/resources/local/ecc/docs/ja-JP/skills/opensource-pipeline/SKILL.md +255 -0
- package/resources/local/ecc/docs/ja-JP/skills/perl-patterns/SKILL.md +504 -0
- package/resources/local/ecc/docs/ja-JP/skills/perl-security/SKILL.md +503 -0
- package/resources/local/ecc/docs/ja-JP/skills/perl-testing/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/plan-orchestrate/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/plankton-code-quality/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/postgres-patterns/SKILL.md +146 -0
- package/resources/local/ecc/docs/ja-JP/skills/product-capability/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/product-lens/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/production-audit/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/production-scheduling/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/project-flow-ops/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/project-guidelines-example/SKILL.md +345 -0
- package/resources/local/ecc/docs/ja-JP/skills/prompt-optimizer/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/python-patterns/SKILL.md +749 -0
- package/resources/local/ecc/docs/ja-JP/skills/python-testing/SKILL.md +815 -0
- package/resources/local/ecc/docs/ja-JP/skills/pytorch-patterns/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/quality-nonconformance/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/quarkus-patterns/SKILL.md +11 -0
- package/resources/local/ecc/docs/ja-JP/skills/quarkus-security/SKILL.md +466 -0
- package/resources/local/ecc/docs/ja-JP/skills/quarkus-tdd/SKILL.md +811 -0
- package/resources/local/ecc/docs/ja-JP/skills/quarkus-verification/SKILL.md +479 -0
- package/resources/local/ecc/docs/ja-JP/skills/ralphinho-rfc-pipeline/SKILL.md +67 -0
- package/resources/local/ecc/docs/ja-JP/skills/redis-patterns/SKILL.md +403 -0
- package/resources/local/ecc/docs/ja-JP/skills/regex-vs-llm-structured-text/SKILL.md +217 -0
- package/resources/local/ecc/docs/ja-JP/skills/remotion-video-creation/SKILL.md +43 -0
- package/resources/local/ecc/docs/ja-JP/skills/repo-scan/SKILL.md +79 -0
- package/resources/local/ecc/docs/ja-JP/skills/research-ops/SKILL.md +112 -0
- package/resources/local/ecc/docs/ja-JP/skills/returns-reverse-logistics/SKILL.md +225 -0
- package/resources/local/ecc/docs/ja-JP/skills/rules-distill/SKILL.md +264 -0
- package/resources/local/ecc/docs/ja-JP/skills/rust-patterns/SKILL.md +499 -0
- package/resources/local/ecc/docs/ja-JP/skills/rust-testing/SKILL.md +502 -0
- package/resources/local/ecc/docs/ja-JP/skills/safety-guard/SKILL.md +75 -0
- package/resources/local/ecc/docs/ja-JP/skills/santa-method/SKILL.md +306 -0
- package/resources/local/ecc/docs/ja-JP/skills/scientific-db-pubmed-database/SKILL.md +168 -0
- package/resources/local/ecc/docs/ja-JP/skills/scientific-db-uspto-database/SKILL.md +158 -0
- package/resources/local/ecc/docs/ja-JP/skills/scientific-pkg-gget/SKILL.md +154 -0
- package/resources/local/ecc/docs/ja-JP/skills/scientific-thinking-literature-review/SKILL.md +184 -0
- package/resources/local/ecc/docs/ja-JP/skills/scientific-thinking-scholar-evaluation/SKILL.md +159 -0
- package/resources/local/ecc/docs/ja-JP/skills/search-first/SKILL.md +181 -0
- package/resources/local/ecc/docs/ja-JP/skills/security-bounty-hunter/SKILL.md +99 -0
- package/resources/local/ecc/docs/ja-JP/skills/security-review/SKILL.md +494 -0
- package/resources/local/ecc/docs/ja-JP/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/resources/local/ecc/docs/ja-JP/skills/security-scan/SKILL.md +164 -0
- package/resources/local/ecc/docs/ja-JP/skills/seo/SKILL.md +154 -0
- package/resources/local/ecc/docs/ja-JP/skills/skill-comply/SKILL.md +60 -0
- package/resources/local/ecc/docs/ja-JP/skills/skill-scout/SKILL.md +131 -0
- package/resources/local/ecc/docs/ja-JP/skills/skill-stocktake/SKILL.md +194 -0
- package/resources/local/ecc/docs/ja-JP/skills/social-graph-ranker/SKILL.md +154 -0
- package/resources/local/ecc/docs/ja-JP/skills/springboot-patterns/SKILL.md +304 -0
- package/resources/local/ecc/docs/ja-JP/skills/springboot-security/SKILL.md +119 -0
- package/resources/local/ecc/docs/ja-JP/skills/springboot-tdd/SKILL.md +157 -0
- package/resources/local/ecc/docs/ja-JP/skills/springboot-verification/SKILL.md +100 -0
- package/resources/local/ecc/docs/ja-JP/skills/strategic-compact/SKILL.md +66 -0
- package/resources/local/ecc/docs/ja-JP/skills/swift-actor-persistence/SKILL.md +157 -0
- package/resources/local/ecc/docs/ja-JP/skills/swift-concurrency-6-2/SKILL.md +217 -0
- package/resources/local/ecc/docs/ja-JP/skills/swift-protocol-di-testing/SKILL.md +190 -0
- package/resources/local/ecc/docs/ja-JP/skills/swiftui-patterns/SKILL.md +259 -0
- package/resources/local/ecc/docs/ja-JP/skills/tdd-workflow/SKILL.md +409 -0
- package/resources/local/ecc/docs/ja-JP/skills/team-builder/SKILL.md +165 -0
- package/resources/local/ecc/docs/ja-JP/skills/terminal-ops/SKILL.md +109 -0
- package/resources/local/ecc/docs/ja-JP/skills/tinystruct-patterns/SKILL.md +104 -0
- package/resources/local/ecc/docs/ja-JP/skills/token-budget-advisor/SKILL.md +121 -0
- package/resources/local/ecc/docs/ja-JP/skills/ui-demo/SKILL.md +465 -0
- package/resources/local/ecc/docs/ja-JP/skills/ui-to-vue/SKILL.md +86 -0
- package/resources/local/ecc/docs/ja-JP/skills/unified-notifications-ops/SKILL.md +197 -0
- package/resources/local/ecc/docs/ja-JP/skills/verification-loop/SKILL.md +120 -0
- package/resources/local/ecc/docs/ja-JP/skills/video-editing/SKILL.md +317 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/SKILL.md +386 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/api-reference.md +550 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/capture-reference.md +416 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/capture.md +104 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/editor.md +443 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/generative.md +331 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/rtstream-reference.md +567 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/rtstream.md +59 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/search.md +230 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/streaming.md +406 -0
- package/resources/local/ecc/docs/ja-JP/skills/videodb/reference/use-cases.md +142 -0
- package/resources/local/ecc/docs/ja-JP/skills/visa-doc-translate/README.md +91 -0
- package/resources/local/ecc/docs/ja-JP/skills/visa-doc-translate/SKILL.md +119 -0
- package/resources/local/ecc/docs/ja-JP/skills/vite-patterns/SKILL.md +449 -0
- package/resources/local/ecc/docs/ja-JP/skills/windows-desktop-e2e/SKILL.md +784 -0
- package/resources/local/ecc/docs/ja-JP/skills/workspace-surface-audit/SKILL.md +125 -0
- package/resources/local/ecc/docs/ja-JP/skills/x-api/SKILL.md +210 -0
- package/resources/local/ecc/docs/ja-JP/the-longform-guide.md +354 -0
- package/resources/local/ecc/docs/ja-JP/the-openclaw-guide.md +471 -0
- package/resources/local/ecc/docs/ja-JP/the-security-guide.md +257 -0
- package/resources/local/ecc/docs/ja-JP/the-shortform-guide.md +429 -0
- package/resources/local/ecc/docs/ko-KR/CONTRIBUTING.md +453 -0
- package/resources/local/ecc/docs/ko-KR/README.md +731 -0
- package/resources/local/ecc/docs/ko-KR/TERMINOLOGY.md +104 -0
- package/resources/local/ecc/docs/ko-KR/agents/architect.md +211 -0
- package/resources/local/ecc/docs/ko-KR/agents/build-error-resolver.md +114 -0
- package/resources/local/ecc/docs/ko-KR/agents/code-reviewer.md +237 -0
- package/resources/local/ecc/docs/ko-KR/agents/database-reviewer.md +87 -0
- package/resources/local/ecc/docs/ko-KR/agents/doc-updater.md +107 -0
- package/resources/local/ecc/docs/ko-KR/agents/e2e-runner.md +103 -0
- package/resources/local/ecc/docs/ko-KR/agents/go-build-resolver.md +92 -0
- package/resources/local/ecc/docs/ko-KR/agents/go-reviewer.md +74 -0
- package/resources/local/ecc/docs/ko-KR/agents/planner.md +209 -0
- package/resources/local/ecc/docs/ko-KR/agents/refactor-cleaner.md +85 -0
- package/resources/local/ecc/docs/ko-KR/agents/security-reviewer.md +104 -0
- package/resources/local/ecc/docs/ko-KR/agents/tdd-guide.md +101 -0
- package/resources/local/ecc/docs/ko-KR/commands/build-fix.md +68 -0
- package/resources/local/ecc/docs/ko-KR/commands/checkpoint.md +79 -0
- package/resources/local/ecc/docs/ko-KR/commands/code-review.md +40 -0
- package/resources/local/ecc/docs/ko-KR/commands/e2e.md +334 -0
- package/resources/local/ecc/docs/ko-KR/commands/eval.md +120 -0
- package/resources/local/ecc/docs/ko-KR/commands/go-build.md +183 -0
- package/resources/local/ecc/docs/ko-KR/commands/go-review.md +148 -0
- package/resources/local/ecc/docs/ko-KR/commands/go-test.md +268 -0
- package/resources/local/ecc/docs/ko-KR/commands/learn.md +70 -0
- package/resources/local/ecc/docs/ko-KR/commands/orchestrate.md +172 -0
- package/resources/local/ecc/docs/ko-KR/commands/plan.md +113 -0
- package/resources/local/ecc/docs/ko-KR/commands/refactor-clean.md +80 -0
- package/resources/local/ecc/docs/ko-KR/commands/setup-pm.md +80 -0
- package/resources/local/ecc/docs/ko-KR/commands/tdd.md +326 -0
- package/resources/local/ecc/docs/ko-KR/commands/test-coverage.md +74 -0
- package/resources/local/ecc/docs/ko-KR/commands/update-codemaps.md +79 -0
- package/resources/local/ecc/docs/ko-KR/commands/update-docs.md +89 -0
- package/resources/local/ecc/docs/ko-KR/commands/verify.md +63 -0
- package/resources/local/ecc/docs/ko-KR/examples/CLAUDE.md +109 -0
- package/resources/local/ecc/docs/ko-KR/examples/django-api-CLAUDE.md +308 -0
- package/resources/local/ecc/docs/ko-KR/examples/go-microservice-CLAUDE.md +267 -0
- package/resources/local/ecc/docs/ko-KR/examples/rust-api-CLAUDE.md +291 -0
- package/resources/local/ecc/docs/ko-KR/examples/saas-nextjs-CLAUDE.md +166 -0
- package/resources/local/ecc/docs/ko-KR/examples/statusline.json +19 -0
- package/resources/local/ecc/docs/ko-KR/examples/user-CLAUDE.md +109 -0
- package/resources/local/ecc/docs/ko-KR/rules/agents.md +52 -0
- package/resources/local/ecc/docs/ko-KR/rules/coding-style.md +48 -0
- package/resources/local/ecc/docs/ko-KR/rules/git-workflow.md +24 -0
- package/resources/local/ecc/docs/ko-KR/rules/hooks.md +30 -0
- package/resources/local/ecc/docs/ko-KR/rules/patterns.md +31 -0
- package/resources/local/ecc/docs/ko-KR/rules/performance.md +55 -0
- package/resources/local/ecc/docs/ko-KR/rules/security.md +29 -0
- package/resources/local/ecc/docs/ko-KR/rules/testing.md +29 -0
- package/resources/local/ecc/docs/ko-KR/skills/backend-patterns/SKILL.md +599 -0
- package/resources/local/ecc/docs/ko-KR/skills/clickhouse-io/SKILL.md +447 -0
- package/resources/local/ecc/docs/ko-KR/skills/coding-standards/SKILL.md +530 -0
- package/resources/local/ecc/docs/ko-KR/skills/continuous-learning/SKILL.md +148 -0
- package/resources/local/ecc/docs/ko-KR/skills/continuous-learning-v2/SKILL.md +346 -0
- package/resources/local/ecc/docs/ko-KR/skills/eval-harness/SKILL.md +270 -0
- package/resources/local/ecc/docs/ko-KR/skills/frontend-patterns/SKILL.md +652 -0
- package/resources/local/ecc/docs/ko-KR/skills/golang-patterns/SKILL.md +675 -0
- package/resources/local/ecc/docs/ko-KR/skills/golang-testing/SKILL.md +720 -0
- package/resources/local/ecc/docs/ko-KR/skills/iterative-retrieval/SKILL.md +211 -0
- package/resources/local/ecc/docs/ko-KR/skills/postgres-patterns/SKILL.md +147 -0
- package/resources/local/ecc/docs/ko-KR/skills/security-review/SKILL.md +504 -0
- package/resources/local/ecc/docs/ko-KR/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/resources/local/ecc/docs/ko-KR/skills/strategic-compact/SKILL.md +105 -0
- package/resources/local/ecc/docs/ko-KR/skills/tdd-workflow/SKILL.md +408 -0
- package/resources/local/ecc/docs/ko-KR/skills/verification-loop/SKILL.md +127 -0
- package/resources/local/ecc/docs/legacy-artifact-inventory.md +112 -0
- package/resources/local/ecc/docs/pt-BR/CONTRIBUTING.md +426 -0
- package/resources/local/ecc/docs/pt-BR/README.md +518 -0
- package/resources/local/ecc/docs/pt-BR/TERMINOLOGY.md +102 -0
- package/resources/local/ecc/docs/pt-BR/agents/architect.md +80 -0
- package/resources/local/ecc/docs/pt-BR/agents/build-error-resolver.md +80 -0
- package/resources/local/ecc/docs/pt-BR/agents/code-reviewer.md +86 -0
- package/resources/local/ecc/docs/pt-BR/agents/database-reviewer.md +91 -0
- package/resources/local/ecc/docs/pt-BR/agents/doc-updater.md +99 -0
- package/resources/local/ecc/docs/pt-BR/agents/e2e-runner.md +99 -0
- package/resources/local/ecc/docs/pt-BR/agents/go-build-resolver.md +80 -0
- package/resources/local/ecc/docs/pt-BR/agents/go-reviewer.md +76 -0
- package/resources/local/ecc/docs/pt-BR/agents/planner.md +81 -0
- package/resources/local/ecc/docs/pt-BR/agents/refactor-cleaner.md +85 -0
- package/resources/local/ecc/docs/pt-BR/agents/security-reviewer.md +108 -0
- package/resources/local/ecc/docs/pt-BR/agents/tdd-guide.md +80 -0
- package/resources/local/ecc/docs/pt-BR/commands/build-fix.md +62 -0
- package/resources/local/ecc/docs/pt-BR/commands/checkpoint.md +74 -0
- package/resources/local/ecc/docs/pt-BR/commands/code-review.md +40 -0
- package/resources/local/ecc/docs/pt-BR/commands/e2e.md +365 -0
- package/resources/local/ecc/docs/pt-BR/commands/eval.md +120 -0
- package/resources/local/ecc/docs/pt-BR/commands/go-build.md +183 -0
- package/resources/local/ecc/docs/pt-BR/commands/go-review.md +147 -0
- package/resources/local/ecc/docs/pt-BR/commands/go-test.md +268 -0
- package/resources/local/ecc/docs/pt-BR/commands/learn.md +70 -0
- package/resources/local/ecc/docs/pt-BR/commands/orchestrate.md +230 -0
- package/resources/local/ecc/docs/pt-BR/commands/plan.md +113 -0
- package/resources/local/ecc/docs/pt-BR/commands/refactor-clean.md +80 -0
- package/resources/local/ecc/docs/pt-BR/commands/setup-pm.md +80 -0
- package/resources/local/ecc/docs/pt-BR/commands/tdd.md +328 -0
- package/resources/local/ecc/docs/pt-BR/commands/test-coverage.md +69 -0
- package/resources/local/ecc/docs/pt-BR/commands/update-codemaps.md +72 -0
- package/resources/local/ecc/docs/pt-BR/commands/update-docs.md +84 -0
- package/resources/local/ecc/docs/pt-BR/commands/verify.md +59 -0
- package/resources/local/ecc/docs/pt-BR/examples/CLAUDE.md +109 -0
- package/resources/local/ecc/docs/pt-BR/examples/django-api-CLAUDE.md +308 -0
- package/resources/local/ecc/docs/pt-BR/examples/go-microservice-CLAUDE.md +267 -0
- package/resources/local/ecc/docs/pt-BR/examples/rust-api-CLAUDE.md +285 -0
- package/resources/local/ecc/docs/pt-BR/examples/saas-nextjs-CLAUDE.md +166 -0
- package/resources/local/ecc/docs/pt-BR/examples/user-CLAUDE.md +109 -0
- package/resources/local/ecc/docs/pt-BR/rules/agents.md +50 -0
- package/resources/local/ecc/docs/pt-BR/rules/coding-style.md +48 -0
- package/resources/local/ecc/docs/pt-BR/rules/git-workflow.md +24 -0
- package/resources/local/ecc/docs/pt-BR/rules/hooks.md +30 -0
- package/resources/local/ecc/docs/pt-BR/rules/patterns.md +31 -0
- package/resources/local/ecc/docs/pt-BR/rules/performance.md +55 -0
- package/resources/local/ecc/docs/pt-BR/rules/security.md +29 -0
- package/resources/local/ecc/docs/pt-BR/rules/testing.md +29 -0
- package/resources/local/ecc/docs/releases/1.10.0/discussion-announcement.md +55 -0
- package/resources/local/ecc/docs/releases/1.10.0/release-notes.md +70 -0
- package/resources/local/ecc/docs/releases/1.10.0/x-thread.md +45 -0
- package/resources/local/ecc/docs/releases/1.8.0/linkedin-post.md +13 -0
- package/resources/local/ecc/docs/releases/1.8.0/reference-attribution.md +16 -0
- package/resources/local/ecc/docs/releases/1.8.0/release-notes.md +20 -0
- package/resources/local/ecc/docs/releases/1.8.0/x-quote-eval-skills.md +5 -0
- package/resources/local/ecc/docs/releases/1.8.0/x-quote-plankton-deslop.md +5 -0
- package/resources/local/ecc/docs/releases/1.8.0/x-thread.md +11 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/article-outline.md +78 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/demo-prompts.md +42 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/launch-checklist.md +56 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/linkedin-post.md +42 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/naming-and-publication-matrix.md +159 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/operator-readiness-dashboard-2026-05-15.md +55 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/operator-readiness-dashboard-2026-05-17.md +51 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/operator-readiness-dashboard-2026-05-18.md +51 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/owner-queue-cleanup-2026-05-18.md +65 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/preview-pack-manifest.md +110 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-evidence-2026-05-12.md +103 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-evidence-2026-05-13-post-hardening.md +98 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-evidence-2026-05-13.md +60 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-evidence-2026-05-15.md +187 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-evidence-2026-05-16.md +86 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-evidence-2026-05-17.md +113 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-evidence-2026-05-18.md +150 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/publication-readiness.md +138 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/quickstart.md +70 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/release-name-plugin-publication-checklist-2026-05-18.md +116 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/release-notes.md +106 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/release-url-ledger-2026-05-18.md +55 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/telegram-handoff.md +30 -0
- package/resources/local/ecc/docs/releases/2.0.0-rc.1/x-thread.md +83 -0
- package/resources/local/ecc/docs/ru/README.md +1613 -0
- package/resources/local/ecc/docs/security/supply-chain-incident-response.md +188 -0
- package/resources/local/ecc/docs/skill-adaptation-policy.md +73 -0
- package/resources/local/ecc/docs/stale-pr-salvage-ledger.md +173 -0
- package/resources/local/ecc/docs/th/README.md +263 -0
- package/resources/local/ecc/docs/token-optimization.md +156 -0
- package/resources/local/ecc/docs/tr/AGENTS.md +160 -0
- package/resources/local/ecc/docs/tr/CHANGELOG.md +189 -0
- package/resources/local/ecc/docs/tr/CLAUDE.md +69 -0
- package/resources/local/ecc/docs/tr/CODE_OF_CONDUCT.md +104 -0
- package/resources/local/ecc/docs/tr/CONTRIBUTING.md +461 -0
- package/resources/local/ecc/docs/tr/README.md +466 -0
- package/resources/local/ecc/docs/tr/SECURITY.md +53 -0
- package/resources/local/ecc/docs/tr/SPONSORING.md +43 -0
- package/resources/local/ecc/docs/tr/SPONSORS.md +59 -0
- package/resources/local/ecc/docs/tr/TERMINOLOGY.md +184 -0
- package/resources/local/ecc/docs/tr/TROUBLESHOOTING.md +422 -0
- package/resources/local/ecc/docs/tr/agents/architect.md +211 -0
- package/resources/local/ecc/docs/tr/agents/build-error-resolver.md +114 -0
- package/resources/local/ecc/docs/tr/agents/chief-of-staff.md +151 -0
- package/resources/local/ecc/docs/tr/agents/code-reviewer.md +237 -0
- package/resources/local/ecc/docs/tr/agents/cpp-build-resolver.md +90 -0
- package/resources/local/ecc/docs/tr/agents/cpp-reviewer.md +72 -0
- package/resources/local/ecc/docs/tr/agents/database-reviewer.md +91 -0
- package/resources/local/ecc/docs/tr/agents/doc-updater.md +107 -0
- package/resources/local/ecc/docs/tr/agents/docs-lookup.md +68 -0
- package/resources/local/ecc/docs/tr/agents/e2e-runner.md +107 -0
- package/resources/local/ecc/docs/tr/agents/flutter-reviewer.md +243 -0
- package/resources/local/ecc/docs/tr/agents/go-build-resolver.md +94 -0
- package/resources/local/ecc/docs/tr/agents/go-reviewer.md +76 -0
- package/resources/local/ecc/docs/tr/agents/harness-optimizer.md +35 -0
- package/resources/local/ecc/docs/tr/agents/java-build-resolver.md +155 -0
- package/resources/local/ecc/docs/tr/agents/java-reviewer.md +94 -0
- package/resources/local/ecc/docs/tr/agents/kotlin-build-resolver.md +118 -0
- package/resources/local/ecc/docs/tr/agents/kotlin-reviewer.md +159 -0
- package/resources/local/ecc/docs/tr/agents/loop-operator.md +36 -0
- package/resources/local/ecc/docs/tr/agents/planner.md +212 -0
- package/resources/local/ecc/docs/tr/agents/python-reviewer.md +98 -0
- package/resources/local/ecc/docs/tr/agents/pytorch-build-resolver.md +120 -0
- package/resources/local/ecc/docs/tr/agents/refactor-cleaner.md +85 -0
- package/resources/local/ecc/docs/tr/agents/rust-build-resolver.md +148 -0
- package/resources/local/ecc/docs/tr/agents/rust-reviewer.md +94 -0
- package/resources/local/ecc/docs/tr/agents/security-reviewer.md +108 -0
- package/resources/local/ecc/docs/tr/agents/tdd-guide.md +91 -0
- package/resources/local/ecc/docs/tr/agents/typescript-reviewer.md +112 -0
- package/resources/local/ecc/docs/tr/commands/build-fix.md +62 -0
- package/resources/local/ecc/docs/tr/commands/checkpoint.md +74 -0
- package/resources/local/ecc/docs/tr/commands/code-review.md +40 -0
- package/resources/local/ecc/docs/tr/commands/e2e.md +365 -0
- package/resources/local/ecc/docs/tr/commands/eval.md +120 -0
- package/resources/local/ecc/docs/tr/commands/evolve.md +178 -0
- package/resources/local/ecc/docs/tr/commands/go-build.md +183 -0
- package/resources/local/ecc/docs/tr/commands/go-review.md +148 -0
- package/resources/local/ecc/docs/tr/commands/go-test.md +268 -0
- package/resources/local/ecc/docs/tr/commands/instinct-export.md +66 -0
- package/resources/local/ecc/docs/tr/commands/instinct-import.md +114 -0
- package/resources/local/ecc/docs/tr/commands/instinct-status.md +59 -0
- package/resources/local/ecc/docs/tr/commands/learn-eval.md +116 -0
- package/resources/local/ecc/docs/tr/commands/learn.md +70 -0
- package/resources/local/ecc/docs/tr/commands/multi-backend.md +158 -0
- package/resources/local/ecc/docs/tr/commands/multi-execute.md +315 -0
- package/resources/local/ecc/docs/tr/commands/multi-frontend.md +158 -0
- package/resources/local/ecc/docs/tr/commands/multi-plan.md +268 -0
- package/resources/local/ecc/docs/tr/commands/multi-workflow.md +191 -0
- package/resources/local/ecc/docs/tr/commands/orchestrate.md +231 -0
- package/resources/local/ecc/docs/tr/commands/plan.md +115 -0
- package/resources/local/ecc/docs/tr/commands/pm2.md +272 -0
- package/resources/local/ecc/docs/tr/commands/refactor-clean.md +80 -0
- package/resources/local/ecc/docs/tr/commands/sessions.md +293 -0
- package/resources/local/ecc/docs/tr/commands/setup-pm.md +80 -0
- package/resources/local/ecc/docs/tr/commands/skill-create.md +174 -0
- package/resources/local/ecc/docs/tr/commands/tdd.md +328 -0
- package/resources/local/ecc/docs/tr/commands/test-coverage.md +69 -0
- package/resources/local/ecc/docs/tr/commands/update-docs.md +84 -0
- package/resources/local/ecc/docs/tr/commands/verify.md +59 -0
- package/resources/local/ecc/docs/tr/contexts/dev.md +20 -0
- package/resources/local/ecc/docs/tr/contexts/research.md +26 -0
- package/resources/local/ecc/docs/tr/contexts/review.md +22 -0
- package/resources/local/ecc/docs/tr/examples/CLAUDE.md +109 -0
- package/resources/local/ecc/docs/tr/examples/README.md +80 -0
- package/resources/local/ecc/docs/tr/examples/statusline.json +19 -0
- package/resources/local/ecc/docs/tr/examples/user-CLAUDE.md +109 -0
- package/resources/local/ecc/docs/tr/rules/README.md +61 -0
- package/resources/local/ecc/docs/tr/rules/common/agents.md +50 -0
- package/resources/local/ecc/docs/tr/rules/common/coding-style.md +48 -0
- package/resources/local/ecc/docs/tr/rules/common/development-workflow.md +38 -0
- package/resources/local/ecc/docs/tr/rules/common/git-workflow.md +24 -0
- package/resources/local/ecc/docs/tr/rules/common/hooks.md +30 -0
- package/resources/local/ecc/docs/tr/rules/common/patterns.md +31 -0
- package/resources/local/ecc/docs/tr/rules/common/performance.md +55 -0
- package/resources/local/ecc/docs/tr/rules/common/security.md +29 -0
- package/resources/local/ecc/docs/tr/rules/common/testing.md +29 -0
- package/resources/local/ecc/docs/tr/rules/golang/coding-style.md +32 -0
- package/resources/local/ecc/docs/tr/rules/golang/hooks.md +17 -0
- package/resources/local/ecc/docs/tr/rules/golang/patterns.md +45 -0
- package/resources/local/ecc/docs/tr/rules/golang/security.md +34 -0
- package/resources/local/ecc/docs/tr/rules/golang/testing.md +31 -0
- package/resources/local/ecc/docs/tr/rules/python/coding-style.md +42 -0
- package/resources/local/ecc/docs/tr/rules/python/hooks.md +19 -0
- package/resources/local/ecc/docs/tr/rules/python/patterns.md +39 -0
- package/resources/local/ecc/docs/tr/rules/python/security.md +30 -0
- package/resources/local/ecc/docs/tr/rules/python/testing.md +38 -0
- package/resources/local/ecc/docs/tr/rules/typescript/coding-style.md +199 -0
- package/resources/local/ecc/docs/tr/rules/typescript/hooks.md +22 -0
- package/resources/local/ecc/docs/tr/rules/typescript/patterns.md +52 -0
- package/resources/local/ecc/docs/tr/rules/typescript/security.md +28 -0
- package/resources/local/ecc/docs/tr/rules/typescript/testing.md +18 -0
- package/resources/local/ecc/docs/tr/skills/api-design/SKILL.md +523 -0
- package/resources/local/ecc/docs/tr/skills/backend-patterns/SKILL.md +598 -0
- package/resources/local/ecc/docs/tr/skills/coding-standards/SKILL.md +530 -0
- package/resources/local/ecc/docs/tr/skills/continuous-learning/SKILL.md +119 -0
- package/resources/local/ecc/docs/tr/skills/continuous-learning-v2/SKILL.md +347 -0
- package/resources/local/ecc/docs/tr/skills/database-migrations/SKILL.md +319 -0
- package/resources/local/ecc/docs/tr/skills/deployment-patterns/SKILL.md +427 -0
- package/resources/local/ecc/docs/tr/skills/django-patterns/SKILL.md +734 -0
- package/resources/local/ecc/docs/tr/skills/docker-patterns/SKILL.md +364 -0
- package/resources/local/ecc/docs/tr/skills/e2e-testing/SKILL.md +326 -0
- package/resources/local/ecc/docs/tr/skills/eval-harness/SKILL.md +270 -0
- package/resources/local/ecc/docs/tr/skills/frontend-patterns/SKILL.md +642 -0
- package/resources/local/ecc/docs/tr/skills/golang-patterns/SKILL.md +674 -0
- package/resources/local/ecc/docs/tr/skills/golang-testing/SKILL.md +720 -0
- package/resources/local/ecc/docs/tr/skills/jpa-patterns/SKILL.md +151 -0
- package/resources/local/ecc/docs/tr/skills/kotlin-patterns/SKILL.md +535 -0
- package/resources/local/ecc/docs/tr/skills/kotlin-testing/SKILL.md +578 -0
- package/resources/local/ecc/docs/tr/skills/laravel-patterns/SKILL.md +415 -0
- package/resources/local/ecc/docs/tr/skills/laravel-security/SKILL.md +285 -0
- package/resources/local/ecc/docs/tr/skills/laravel-tdd/SKILL.md +283 -0
- package/resources/local/ecc/docs/tr/skills/laravel-verification/SKILL.md +179 -0
- package/resources/local/ecc/docs/tr/skills/nextjs-turbopack/SKILL.md +44 -0
- package/resources/local/ecc/docs/tr/skills/postgres-patterns/SKILL.md +147 -0
- package/resources/local/ecc/docs/tr/skills/python-patterns/SKILL.md +750 -0
- package/resources/local/ecc/docs/tr/skills/python-testing/SKILL.md +816 -0
- package/resources/local/ecc/docs/tr/skills/quarkus-patterns/SKILL.md +778 -0
- package/resources/local/ecc/docs/tr/skills/quarkus-security/SKILL.md +474 -0
- package/resources/local/ecc/docs/tr/skills/quarkus-tdd/SKILL.md +916 -0
- package/resources/local/ecc/docs/tr/skills/quarkus-verification/SKILL.md +479 -0
- package/resources/local/ecc/docs/tr/skills/rust-patterns/SKILL.md +499 -0
- package/resources/local/ecc/docs/tr/skills/rust-testing/SKILL.md +500 -0
- package/resources/local/ecc/docs/tr/skills/security-review/SKILL.md +495 -0
- package/resources/local/ecc/docs/tr/skills/springboot-patterns/SKILL.md +312 -0
- package/resources/local/ecc/docs/tr/skills/springboot-security/SKILL.md +272 -0
- package/resources/local/ecc/docs/tr/skills/springboot-tdd/SKILL.md +158 -0
- package/resources/local/ecc/docs/tr/skills/springboot-verification/SKILL.md +231 -0
- package/resources/local/ecc/docs/tr/skills/tdd-workflow/SKILL.md +410 -0
- package/resources/local/ecc/docs/tr/skills/verification-loop/SKILL.md +126 -0
- package/resources/local/ecc/docs/tr/the-longform-guide.md +354 -0
- package/resources/local/ecc/docs/tr/the-security-guide.md +455 -0
- package/resources/local/ecc/docs/tr/the-shortform-guide.md +431 -0
- package/resources/local/ecc/docs/vi-VN/README.md +179 -0
- package/resources/local/ecc/docs/zh-CN/AGENTS.md +165 -0
- package/resources/local/ecc/docs/zh-CN/CHANGELOG.md +189 -0
- package/resources/local/ecc/docs/zh-CN/CLAUDE.md +70 -0
- package/resources/local/ecc/docs/zh-CN/CODE_OF_CONDUCT.md +83 -0
- package/resources/local/ecc/docs/zh-CN/CONTRIBUTING.md +465 -0
- package/resources/local/ecc/docs/zh-CN/README.md +1415 -0
- package/resources/local/ecc/docs/zh-CN/SECURITY.md +53 -0
- package/resources/local/ecc/docs/zh-CN/SPONSORING.md +43 -0
- package/resources/local/ecc/docs/zh-CN/SPONSORS.md +59 -0
- package/resources/local/ecc/docs/zh-CN/TROUBLESHOOTING.md +446 -0
- package/resources/local/ecc/docs/zh-CN/agents/architect.md +232 -0
- package/resources/local/ecc/docs/zh-CN/agents/build-error-resolver.md +119 -0
- package/resources/local/ecc/docs/zh-CN/agents/chief-of-staff.md +155 -0
- package/resources/local/ecc/docs/zh-CN/agents/code-architect.md +71 -0
- package/resources/local/ecc/docs/zh-CN/agents/code-explorer.md +69 -0
- package/resources/local/ecc/docs/zh-CN/agents/code-reviewer.md +238 -0
- package/resources/local/ecc/docs/zh-CN/agents/code-simplifier.md +47 -0
- package/resources/local/ecc/docs/zh-CN/agents/comment-analyzer.md +45 -0
- package/resources/local/ecc/docs/zh-CN/agents/conversation-analyzer.md +56 -0
- package/resources/local/ecc/docs/zh-CN/agents/cpp-build-resolver.md +91 -0
- package/resources/local/ecc/docs/zh-CN/agents/cpp-reviewer.md +79 -0
- package/resources/local/ecc/docs/zh-CN/agents/csharp-reviewer.md +109 -0
- package/resources/local/ecc/docs/zh-CN/agents/dart-build-resolver.md +202 -0
- package/resources/local/ecc/docs/zh-CN/agents/database-reviewer.md +94 -0
- package/resources/local/ecc/docs/zh-CN/agents/doc-updater.md +110 -0
- package/resources/local/ecc/docs/zh-CN/agents/docs-lookup.md +68 -0
- package/resources/local/ecc/docs/zh-CN/agents/e2e-runner.md +110 -0
- package/resources/local/ecc/docs/zh-CN/agents/flutter-reviewer.md +250 -0
- package/resources/local/ecc/docs/zh-CN/agents/gan-evaluator.md +223 -0
- package/resources/local/ecc/docs/zh-CN/agents/gan-generator.md +139 -0
- package/resources/local/ecc/docs/zh-CN/agents/gan-planner.md +99 -0
- package/resources/local/ecc/docs/zh-CN/agents/go-build-resolver.md +95 -0
- package/resources/local/ecc/docs/zh-CN/agents/go-reviewer.md +83 -0
- package/resources/local/ecc/docs/zh-CN/agents/harness-optimizer.md +35 -0
- package/resources/local/ecc/docs/zh-CN/agents/healthcare-reviewer.md +83 -0
- package/resources/local/ecc/docs/zh-CN/agents/java-build-resolver.md +156 -0
- package/resources/local/ecc/docs/zh-CN/agents/java-reviewer.md +107 -0
- package/resources/local/ecc/docs/zh-CN/agents/kotlin-build-resolver.md +119 -0
- package/resources/local/ecc/docs/zh-CN/agents/kotlin-reviewer.md +161 -0
- package/resources/local/ecc/docs/zh-CN/agents/loop-operator.md +37 -0
- package/resources/local/ecc/docs/zh-CN/agents/opensource-forker.md +203 -0
- package/resources/local/ecc/docs/zh-CN/agents/opensource-packager.md +255 -0
- package/resources/local/ecc/docs/zh-CN/agents/opensource-sanitizer.md +191 -0
- package/resources/local/ecc/docs/zh-CN/agents/performance-optimizer.md +446 -0
- package/resources/local/ecc/docs/zh-CN/agents/planner.md +215 -0
- package/resources/local/ecc/docs/zh-CN/agents/pr-test-analyzer.md +45 -0
- package/resources/local/ecc/docs/zh-CN/agents/python-reviewer.md +106 -0
- package/resources/local/ecc/docs/zh-CN/agents/pytorch-build-resolver.md +122 -0
- package/resources/local/ecc/docs/zh-CN/agents/refactor-cleaner.md +92 -0
- package/resources/local/ecc/docs/zh-CN/agents/rust-build-resolver.md +149 -0
- package/resources/local/ecc/docs/zh-CN/agents/rust-reviewer.md +95 -0
- package/resources/local/ecc/docs/zh-CN/agents/security-reviewer.md +112 -0
- package/resources/local/ecc/docs/zh-CN/agents/seo-specialist.md +63 -0
- package/resources/local/ecc/docs/zh-CN/agents/silent-failure-hunter.md +50 -0
- package/resources/local/ecc/docs/zh-CN/agents/tdd-guide.md +96 -0
- package/resources/local/ecc/docs/zh-CN/agents/type-design-analyzer.md +41 -0
- package/resources/local/ecc/docs/zh-CN/agents/typescript-reviewer.md +122 -0
- package/resources/local/ecc/docs/zh-CN/commands/aside.md +173 -0
- package/resources/local/ecc/docs/zh-CN/commands/auto-update.md +28 -0
- package/resources/local/ecc/docs/zh-CN/commands/build-fix.md +64 -0
- package/resources/local/ecc/docs/zh-CN/commands/checkpoint.md +78 -0
- package/resources/local/ecc/docs/zh-CN/commands/claw.md +51 -0
- package/resources/local/ecc/docs/zh-CN/commands/code-review.md +43 -0
- package/resources/local/ecc/docs/zh-CN/commands/context-budget.md +29 -0
- package/resources/local/ecc/docs/zh-CN/commands/cpp-build.md +173 -0
- package/resources/local/ecc/docs/zh-CN/commands/cpp-review.md +140 -0
- package/resources/local/ecc/docs/zh-CN/commands/cpp-test.md +257 -0
- package/resources/local/ecc/docs/zh-CN/commands/devfleet.md +93 -0
- package/resources/local/ecc/docs/zh-CN/commands/docs.md +32 -0
- package/resources/local/ecc/docs/zh-CN/commands/e2e.md +374 -0
- package/resources/local/ecc/docs/zh-CN/commands/eval.md +122 -0
- package/resources/local/ecc/docs/zh-CN/commands/evolve.md +194 -0
- package/resources/local/ecc/docs/zh-CN/commands/feature-dev.md +49 -0
- package/resources/local/ecc/docs/zh-CN/commands/flutter-build.md +166 -0
- package/resources/local/ecc/docs/zh-CN/commands/flutter-review.md +118 -0
- package/resources/local/ecc/docs/zh-CN/commands/flutter-test.md +145 -0
- package/resources/local/ecc/docs/zh-CN/commands/gan-build.md +109 -0
- package/resources/local/ecc/docs/zh-CN/commands/gan-design.md +45 -0
- package/resources/local/ecc/docs/zh-CN/commands/go-build.md +183 -0
- package/resources/local/ecc/docs/zh-CN/commands/go-review.md +156 -0
- package/resources/local/ecc/docs/zh-CN/commands/go-test.md +274 -0
- package/resources/local/ecc/docs/zh-CN/commands/gradle-build.md +72 -0
- package/resources/local/ecc/docs/zh-CN/commands/harness-audit.md +72 -0
- package/resources/local/ecc/docs/zh-CN/commands/hookify-configure.md +14 -0
- package/resources/local/ecc/docs/zh-CN/commands/hookify-help.md +46 -0
- package/resources/local/ecc/docs/zh-CN/commands/hookify-list.md +21 -0
- package/resources/local/ecc/docs/zh-CN/commands/hookify.md +50 -0
- package/resources/local/ecc/docs/zh-CN/commands/instinct-export.md +67 -0
- package/resources/local/ecc/docs/zh-CN/commands/instinct-import.md +117 -0
- package/resources/local/ecc/docs/zh-CN/commands/instinct-status.md +59 -0
- package/resources/local/ecc/docs/zh-CN/commands/jira.md +108 -0
- package/resources/local/ecc/docs/zh-CN/commands/kotlin-build.md +176 -0
- package/resources/local/ecc/docs/zh-CN/commands/kotlin-review.md +144 -0
- package/resources/local/ecc/docs/zh-CN/commands/kotlin-test.md +315 -0
- package/resources/local/ecc/docs/zh-CN/commands/learn-eval.md +117 -0
- package/resources/local/ecc/docs/zh-CN/commands/learn.md +70 -0
- package/resources/local/ecc/docs/zh-CN/commands/loop-start.md +33 -0
- package/resources/local/ecc/docs/zh-CN/commands/loop-status.md +25 -0
- package/resources/local/ecc/docs/zh-CN/commands/model-route.md +27 -0
- package/resources/local/ecc/docs/zh-CN/commands/multi-backend.md +162 -0
- package/resources/local/ecc/docs/zh-CN/commands/multi-execute.md +321 -0
- package/resources/local/ecc/docs/zh-CN/commands/multi-frontend.md +162 -0
- package/resources/local/ecc/docs/zh-CN/commands/multi-plan.md +278 -0
- package/resources/local/ecc/docs/zh-CN/commands/multi-workflow.md +197 -0
- package/resources/local/ecc/docs/zh-CN/commands/orchestrate.md +242 -0
- package/resources/local/ecc/docs/zh-CN/commands/plan.md +118 -0
- package/resources/local/ecc/docs/zh-CN/commands/pm2.md +283 -0
- package/resources/local/ecc/docs/zh-CN/commands/projects.md +39 -0
- package/resources/local/ecc/docs/zh-CN/commands/promote.md +41 -0
- package/resources/local/ecc/docs/zh-CN/commands/prompt-optimize.md +37 -0
- package/resources/local/ecc/docs/zh-CN/commands/prp-commit.md +115 -0
- package/resources/local/ecc/docs/zh-CN/commands/prp-implement.md +394 -0
- package/resources/local/ecc/docs/zh-CN/commands/prp-plan.md +506 -0
- package/resources/local/ecc/docs/zh-CN/commands/prp-pr.md +188 -0
- package/resources/local/ecc/docs/zh-CN/commands/prp-prd.md +453 -0
- package/resources/local/ecc/docs/zh-CN/commands/prune.md +31 -0
- package/resources/local/ecc/docs/zh-CN/commands/python-review.md +319 -0
- package/resources/local/ecc/docs/zh-CN/commands/quality-gate.md +30 -0
- package/resources/local/ecc/docs/zh-CN/commands/refactor-clean.md +83 -0
- package/resources/local/ecc/docs/zh-CN/commands/resume-session.md +154 -0
- package/resources/local/ecc/docs/zh-CN/commands/review-pr.md +37 -0
- package/resources/local/ecc/docs/zh-CN/commands/rules-distill.md +11 -0
- package/resources/local/ecc/docs/zh-CN/commands/rust-build.md +189 -0
- package/resources/local/ecc/docs/zh-CN/commands/rust-review.md +146 -0
- package/resources/local/ecc/docs/zh-CN/commands/rust-test.md +311 -0
- package/resources/local/ecc/docs/zh-CN/commands/santa-loop.md +180 -0
- package/resources/local/ecc/docs/zh-CN/commands/save-session.md +252 -0
- package/resources/local/ecc/docs/zh-CN/commands/sessions.md +340 -0
- package/resources/local/ecc/docs/zh-CN/commands/setup-pm.md +83 -0
- package/resources/local/ecc/docs/zh-CN/commands/skill-create.md +176 -0
- package/resources/local/ecc/docs/zh-CN/commands/skill-health.md +54 -0
- package/resources/local/ecc/docs/zh-CN/commands/tdd.md +330 -0
- package/resources/local/ecc/docs/zh-CN/commands/test-coverage.md +69 -0
- package/resources/local/ecc/docs/zh-CN/commands/update-codemaps.md +73 -0
- package/resources/local/ecc/docs/zh-CN/commands/update-docs.md +86 -0
- package/resources/local/ecc/docs/zh-CN/commands/verify.md +60 -0
- package/resources/local/ecc/docs/zh-CN/contexts/dev.md +23 -0
- package/resources/local/ecc/docs/zh-CN/contexts/research.md +30 -0
- package/resources/local/ecc/docs/zh-CN/contexts/review.md +25 -0
- package/resources/local/ecc/docs/zh-CN/examples/CLAUDE.md +109 -0
- package/resources/local/ecc/docs/zh-CN/examples/django-api-CLAUDE.md +308 -0
- package/resources/local/ecc/docs/zh-CN/examples/go-microservice-CLAUDE.md +267 -0
- package/resources/local/ecc/docs/zh-CN/examples/laravel-api-CLAUDE.md +311 -0
- package/resources/local/ecc/docs/zh-CN/examples/rust-api-CLAUDE.md +285 -0
- package/resources/local/ecc/docs/zh-CN/examples/saas-nextjs-CLAUDE.md +166 -0
- package/resources/local/ecc/docs/zh-CN/examples/user-CLAUDE.md +118 -0
- package/resources/local/ecc/docs/zh-CN/hooks/README.md +220 -0
- package/resources/local/ecc/docs/zh-CN/plugins/README.md +89 -0
- package/resources/local/ecc/docs/zh-CN/rules/README.md +105 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/agents.md +53 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/coding-style.md +52 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/development-workflow.md +38 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/git-workflow.md +26 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/hooks.md +33 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/patterns.md +34 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/performance.md +63 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/security.md +31 -0
- package/resources/local/ecc/docs/zh-CN/rules/common/testing.md +31 -0
- package/resources/local/ecc/docs/zh-CN/rules/cpp/coding-style.md +45 -0
- package/resources/local/ecc/docs/zh-CN/rules/cpp/hooks.md +40 -0
- package/resources/local/ecc/docs/zh-CN/rules/cpp/patterns.md +52 -0
- package/resources/local/ecc/docs/zh-CN/rules/cpp/security.md +52 -0
- package/resources/local/ecc/docs/zh-CN/rules/cpp/testing.md +45 -0
- package/resources/local/ecc/docs/zh-CN/rules/csharp/coding-style.md +73 -0
- package/resources/local/ecc/docs/zh-CN/rules/csharp/hooks.md +26 -0
- package/resources/local/ecc/docs/zh-CN/rules/csharp/patterns.md +51 -0
- package/resources/local/ecc/docs/zh-CN/rules/csharp/security.md +59 -0
- package/resources/local/ecc/docs/zh-CN/rules/csharp/testing.md +47 -0
- package/resources/local/ecc/docs/zh-CN/rules/golang/coding-style.md +33 -0
- package/resources/local/ecc/docs/zh-CN/rules/golang/hooks.md +18 -0
- package/resources/local/ecc/docs/zh-CN/rules/golang/patterns.md +46 -0
- package/resources/local/ecc/docs/zh-CN/rules/golang/security.md +35 -0
- package/resources/local/ecc/docs/zh-CN/rules/golang/testing.md +32 -0
- package/resources/local/ecc/docs/zh-CN/rules/java/coding-style.md +117 -0
- package/resources/local/ecc/docs/zh-CN/rules/java/hooks.md +19 -0
- package/resources/local/ecc/docs/zh-CN/rules/java/patterns.md +148 -0
- package/resources/local/ecc/docs/zh-CN/rules/java/security.md +102 -0
- package/resources/local/ecc/docs/zh-CN/rules/java/testing.md +135 -0
- package/resources/local/ecc/docs/zh-CN/rules/kotlin/coding-style.md +90 -0
- package/resources/local/ecc/docs/zh-CN/rules/kotlin/hooks.md +18 -0
- package/resources/local/ecc/docs/zh-CN/rules/kotlin/patterns.md +147 -0
- package/resources/local/ecc/docs/zh-CN/rules/kotlin/security.md +83 -0
- package/resources/local/ecc/docs/zh-CN/rules/kotlin/testing.md +129 -0
- package/resources/local/ecc/docs/zh-CN/rules/perl/coding-style.md +47 -0
- package/resources/local/ecc/docs/zh-CN/rules/perl/hooks.md +23 -0
- package/resources/local/ecc/docs/zh-CN/rules/perl/patterns.md +77 -0
- package/resources/local/ecc/docs/zh-CN/rules/perl/security.md +70 -0
- package/resources/local/ecc/docs/zh-CN/rules/perl/testing.md +55 -0
- package/resources/local/ecc/docs/zh-CN/rules/php/coding-style.md +41 -0
- package/resources/local/ecc/docs/zh-CN/rules/php/hooks.md +25 -0
- package/resources/local/ecc/docs/zh-CN/rules/php/patterns.md +34 -0
- package/resources/local/ecc/docs/zh-CN/rules/php/security.md +38 -0
- package/resources/local/ecc/docs/zh-CN/rules/php/testing.md +40 -0
- package/resources/local/ecc/docs/zh-CN/rules/python/coding-style.md +43 -0
- package/resources/local/ecc/docs/zh-CN/rules/python/hooks.md +20 -0
- package/resources/local/ecc/docs/zh-CN/rules/python/patterns.md +40 -0
- package/resources/local/ecc/docs/zh-CN/rules/python/security.md +31 -0
- package/resources/local/ecc/docs/zh-CN/rules/python/testing.md +39 -0
- package/resources/local/ecc/docs/zh-CN/rules/rust/coding-style.md +153 -0
- package/resources/local/ecc/docs/zh-CN/rules/rust/hooks.md +17 -0
- package/resources/local/ecc/docs/zh-CN/rules/rust/patterns.md +169 -0
- package/resources/local/ecc/docs/zh-CN/rules/rust/security.md +142 -0
- package/resources/local/ecc/docs/zh-CN/rules/rust/testing.md +156 -0
- package/resources/local/ecc/docs/zh-CN/rules/swift/coding-style.md +48 -0
- package/resources/local/ecc/docs/zh-CN/rules/swift/hooks.md +21 -0
- package/resources/local/ecc/docs/zh-CN/rules/swift/patterns.md +67 -0
- package/resources/local/ecc/docs/zh-CN/rules/swift/security.md +34 -0
- package/resources/local/ecc/docs/zh-CN/rules/swift/testing.md +46 -0
- package/resources/local/ecc/docs/zh-CN/rules/typescript/coding-style.md +200 -0
- package/resources/local/ecc/docs/zh-CN/rules/typescript/hooks.md +23 -0
- package/resources/local/ecc/docs/zh-CN/rules/typescript/patterns.md +53 -0
- package/resources/local/ecc/docs/zh-CN/rules/typescript/security.md +29 -0
- package/resources/local/ecc/docs/zh-CN/rules/typescript/testing.md +19 -0
- package/resources/local/ecc/docs/zh-CN/skills/accessibility/SKILL.md +145 -0
- package/resources/local/ecc/docs/zh-CN/skills/agent-eval/SKILL.md +149 -0
- package/resources/local/ecc/docs/zh-CN/skills/agent-harness-construction/SKILL.md +77 -0
- package/resources/local/ecc/docs/zh-CN/skills/agent-introspection-debugging/SKILL.md +161 -0
- package/resources/local/ecc/docs/zh-CN/skills/agent-payment-x402/SKILL.md +182 -0
- package/resources/local/ecc/docs/zh-CN/skills/agent-sort/SKILL.md +215 -0
- package/resources/local/ecc/docs/zh-CN/skills/agentic-engineering/SKILL.md +66 -0
- package/resources/local/ecc/docs/zh-CN/skills/ai-first-engineering/SKILL.md +55 -0
- package/resources/local/ecc/docs/zh-CN/skills/ai-regression-testing/SKILL.md +387 -0
- package/resources/local/ecc/docs/zh-CN/skills/android-clean-architecture/SKILL.md +339 -0
- package/resources/local/ecc/docs/zh-CN/skills/api-connector-builder/SKILL.md +120 -0
- package/resources/local/ecc/docs/zh-CN/skills/api-design/SKILL.md +523 -0
- package/resources/local/ecc/docs/zh-CN/skills/architecture-decision-records/SKILL.md +183 -0
- package/resources/local/ecc/docs/zh-CN/skills/article-writing/SKILL.md +92 -0
- package/resources/local/ecc/docs/zh-CN/skills/automation-audit-ops/SKILL.md +142 -0
- package/resources/local/ecc/docs/zh-CN/skills/autonomous-agent-harness/SKILL.md +279 -0
- package/resources/local/ecc/docs/zh-CN/skills/autonomous-loops/SKILL.md +619 -0
- package/resources/local/ecc/docs/zh-CN/skills/backend-patterns/SKILL.md +598 -0
- package/resources/local/ecc/docs/zh-CN/skills/benchmark/SKILL.md +94 -0
- package/resources/local/ecc/docs/zh-CN/skills/blueprint/SKILL.md +96 -0
- package/resources/local/ecc/docs/zh-CN/skills/brand-voice/SKILL.md +97 -0
- package/resources/local/ecc/docs/zh-CN/skills/browser-qa/SKILL.md +81 -0
- package/resources/local/ecc/docs/zh-CN/skills/bun-runtime/SKILL.md +84 -0
- package/resources/local/ecc/docs/zh-CN/skills/canary-watch/SKILL.md +104 -0
- package/resources/local/ecc/docs/zh-CN/skills/carrier-relationship-management/SKILL.md +199 -0
- package/resources/local/ecc/docs/zh-CN/skills/ck/SKILL.md +171 -0
- package/resources/local/ecc/docs/zh-CN/skills/claude-devfleet/SKILL.md +104 -0
- package/resources/local/ecc/docs/zh-CN/skills/click-path-audit/SKILL.md +257 -0
- package/resources/local/ecc/docs/zh-CN/skills/clickhouse-io/SKILL.md +445 -0
- package/resources/local/ecc/docs/zh-CN/skills/code-tour/SKILL.md +244 -0
- package/resources/local/ecc/docs/zh-CN/skills/codebase-onboarding/SKILL.md +243 -0
- package/resources/local/ecc/docs/zh-CN/skills/coding-standards/SKILL.md +537 -0
- package/resources/local/ecc/docs/zh-CN/skills/compose-multiplatform-patterns/SKILL.md +299 -0
- package/resources/local/ecc/docs/zh-CN/skills/configure-ecc/SKILL.md +400 -0
- package/resources/local/ecc/docs/zh-CN/skills/connections-optimizer/SKILL.md +189 -0
- package/resources/local/ecc/docs/zh-CN/skills/content-engine/SKILL.md +97 -0
- package/resources/local/ecc/docs/zh-CN/skills/content-hash-cache-pattern/SKILL.md +161 -0
- package/resources/local/ecc/docs/zh-CN/skills/context-budget/SKILL.md +143 -0
- package/resources/local/ecc/docs/zh-CN/skills/continuous-agent-loop/SKILL.md +46 -0
- package/resources/local/ecc/docs/zh-CN/skills/continuous-learning/SKILL.md +120 -0
- package/resources/local/ecc/docs/zh-CN/skills/continuous-learning-v2/SKILL.md +355 -0
- package/resources/local/ecc/docs/zh-CN/skills/continuous-learning-v2/agents/observer.md +214 -0
- package/resources/local/ecc/docs/zh-CN/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/resources/local/ecc/docs/zh-CN/skills/council/SKILL.md +216 -0
- package/resources/local/ecc/docs/zh-CN/skills/cpp-coding-standards/SKILL.md +723 -0
- package/resources/local/ecc/docs/zh-CN/skills/cpp-testing/SKILL.md +324 -0
- package/resources/local/ecc/docs/zh-CN/skills/crosspost/SKILL.md +207 -0
- package/resources/local/ecc/docs/zh-CN/skills/csharp-testing/SKILL.md +321 -0
- package/resources/local/ecc/docs/zh-CN/skills/customer-billing-ops/SKILL.md +140 -0
- package/resources/local/ecc/docs/zh-CN/skills/customs-trade-compliance/SKILL.md +256 -0
- package/resources/local/ecc/docs/zh-CN/skills/dart-flutter-patterns/SKILL.md +565 -0
- package/resources/local/ecc/docs/zh-CN/skills/dashboard-builder/SKILL.md +108 -0
- package/resources/local/ecc/docs/zh-CN/skills/data-scraper-agent/SKILL.md +772 -0
- package/resources/local/ecc/docs/zh-CN/skills/database-migrations/SKILL.md +335 -0
- package/resources/local/ecc/docs/zh-CN/skills/deep-research/SKILL.md +163 -0
- package/resources/local/ecc/docs/zh-CN/skills/defi-amm-security/SKILL.md +166 -0
- package/resources/local/ecc/docs/zh-CN/skills/deployment-patterns/SKILL.md +432 -0
- package/resources/local/ecc/docs/zh-CN/skills/design-system/SKILL.md +85 -0
- package/resources/local/ecc/docs/zh-CN/skills/django-patterns/SKILL.md +734 -0
- package/resources/local/ecc/docs/zh-CN/skills/django-security/SKILL.md +593 -0
- package/resources/local/ecc/docs/zh-CN/skills/django-tdd/SKILL.md +729 -0
- package/resources/local/ecc/docs/zh-CN/skills/django-verification/SKILL.md +475 -0
- package/resources/local/ecc/docs/zh-CN/skills/dmux-workflows/SKILL.md +193 -0
- package/resources/local/ecc/docs/zh-CN/skills/docker-patterns/SKILL.md +365 -0
- package/resources/local/ecc/docs/zh-CN/skills/documentation-lookup/SKILL.md +90 -0
- package/resources/local/ecc/docs/zh-CN/skills/dotnet-patterns/SKILL.md +321 -0
- package/resources/local/ecc/docs/zh-CN/skills/e2e-testing/SKILL.md +329 -0
- package/resources/local/ecc/docs/zh-CN/skills/ecc-tools-cost-audit/SKILL.md +160 -0
- package/resources/local/ecc/docs/zh-CN/skills/email-ops/SKILL.md +121 -0
- package/resources/local/ecc/docs/zh-CN/skills/energy-procurement/SKILL.md +220 -0
- package/resources/local/ecc/docs/zh-CN/skills/enterprise-agent-ops/SKILL.md +52 -0
- package/resources/local/ecc/docs/zh-CN/skills/eval-harness/SKILL.md +304 -0
- package/resources/local/ecc/docs/zh-CN/skills/evm-token-decimals/SKILL.md +130 -0
- package/resources/local/ecc/docs/zh-CN/skills/exa-search/SKILL.md +109 -0
- package/resources/local/ecc/docs/zh-CN/skills/fal-ai-media/SKILL.md +296 -0
- package/resources/local/ecc/docs/zh-CN/skills/finance-billing-ops/SKILL.md +127 -0
- package/resources/local/ecc/docs/zh-CN/skills/flutter-dart-code-review/SKILL.md +480 -0
- package/resources/local/ecc/docs/zh-CN/skills/foundation-models-on-device/SKILL.md +244 -0
- package/resources/local/ecc/docs/zh-CN/skills/frontend-patterns/SKILL.md +642 -0
- package/resources/local/ecc/docs/zh-CN/skills/frontend-slides/SKILL.md +195 -0
- package/resources/local/ecc/docs/zh-CN/skills/frontend-slides/STYLE_PRESETS.md +333 -0
- package/resources/local/ecc/docs/zh-CN/skills/gan-style-harness/SKILL.md +284 -0
- package/resources/local/ecc/docs/zh-CN/skills/gateguard/SKILL.md +123 -0
- package/resources/local/ecc/docs/zh-CN/skills/git-workflow/SKILL.md +720 -0
- package/resources/local/ecc/docs/zh-CN/skills/github-ops/SKILL.md +145 -0
- package/resources/local/ecc/docs/zh-CN/skills/golang-patterns/SKILL.md +674 -0
- package/resources/local/ecc/docs/zh-CN/skills/golang-testing/SKILL.md +722 -0
- package/resources/local/ecc/docs/zh-CN/skills/google-workspace-ops/SKILL.md +95 -0
- package/resources/local/ecc/docs/zh-CN/skills/healthcare-cdss-patterns/SKILL.md +245 -0
- package/resources/local/ecc/docs/zh-CN/skills/healthcare-emr-patterns/SKILL.md +161 -0
- package/resources/local/ecc/docs/zh-CN/skills/healthcare-eval-harness/SKILL.md +207 -0
- package/resources/local/ecc/docs/zh-CN/skills/healthcare-phi-compliance/SKILL.md +146 -0
- package/resources/local/ecc/docs/zh-CN/skills/hermes-imports/SKILL.md +88 -0
- package/resources/local/ecc/docs/zh-CN/skills/hexagonal-architecture/SKILL.md +276 -0
- package/resources/local/ecc/docs/zh-CN/skills/hipaa-compliance/SKILL.md +78 -0
- package/resources/local/ecc/docs/zh-CN/skills/hookify-rules/SKILL.md +139 -0
- package/resources/local/ecc/docs/zh-CN/skills/inventory-demand-planning/SKILL.md +233 -0
- package/resources/local/ecc/docs/zh-CN/skills/investor-materials/SKILL.md +104 -0
- package/resources/local/ecc/docs/zh-CN/skills/investor-outreach/SKILL.md +81 -0
- package/resources/local/ecc/docs/zh-CN/skills/iterative-retrieval/SKILL.md +215 -0
- package/resources/local/ecc/docs/zh-CN/skills/java-coding-standards/SKILL.md +147 -0
- package/resources/local/ecc/docs/zh-CN/skills/jira-integration/SKILL.md +302 -0
- package/resources/local/ecc/docs/zh-CN/skills/jpa-patterns/SKILL.md +155 -0
- package/resources/local/ecc/docs/zh-CN/skills/knowledge-ops/SKILL.md +177 -0
- package/resources/local/ecc/docs/zh-CN/skills/kotlin-coroutines-flows/SKILL.md +284 -0
- package/resources/local/ecc/docs/zh-CN/skills/kotlin-exposed-patterns/SKILL.md +719 -0
- package/resources/local/ecc/docs/zh-CN/skills/kotlin-ktor-patterns/SKILL.md +689 -0
- package/resources/local/ecc/docs/zh-CN/skills/kotlin-patterns/SKILL.md +714 -0
- package/resources/local/ecc/docs/zh-CN/skills/kotlin-testing/SKILL.md +826 -0
- package/resources/local/ecc/docs/zh-CN/skills/laravel-patterns/SKILL.md +415 -0
- package/resources/local/ecc/docs/zh-CN/skills/laravel-plugin-discovery/SKILL.md +235 -0
- package/resources/local/ecc/docs/zh-CN/skills/laravel-security/SKILL.md +285 -0
- package/resources/local/ecc/docs/zh-CN/skills/laravel-tdd/SKILL.md +283 -0
- package/resources/local/ecc/docs/zh-CN/skills/laravel-verification/SKILL.md +179 -0
- package/resources/local/ecc/docs/zh-CN/skills/lead-intelligence/SKILL.md +323 -0
- package/resources/local/ecc/docs/zh-CN/skills/liquid-glass-design/SKILL.md +280 -0
- package/resources/local/ecc/docs/zh-CN/skills/llm-trading-agent-security/SKILL.md +146 -0
- package/resources/local/ecc/docs/zh-CN/skills/logistics-exception-management/SKILL.md +218 -0
- package/resources/local/ecc/docs/zh-CN/skills/manim-video/SKILL.md +89 -0
- package/resources/local/ecc/docs/zh-CN/skills/market-research/SKILL.md +85 -0
- package/resources/local/ecc/docs/zh-CN/skills/mcp-server-patterns/SKILL.md +67 -0
- package/resources/local/ecc/docs/zh-CN/skills/messages-ops/SKILL.md +104 -0
- package/resources/local/ecc/docs/zh-CN/skills/nanoclaw-repl/SKILL.md +33 -0
- package/resources/local/ecc/docs/zh-CN/skills/nestjs-patterns/SKILL.md +230 -0
- package/resources/local/ecc/docs/zh-CN/skills/nextjs-turbopack/SKILL.md +44 -0
- package/resources/local/ecc/docs/zh-CN/skills/nodejs-keccak256/SKILL.md +102 -0
- package/resources/local/ecc/docs/zh-CN/skills/nutrient-document-processing/SKILL.md +165 -0
- package/resources/local/ecc/docs/zh-CN/skills/nuxt4-patterns/SKILL.md +100 -0
- package/resources/local/ecc/docs/zh-CN/skills/opensource-pipeline/SKILL.md +258 -0
- package/resources/local/ecc/docs/zh-CN/skills/perl-patterns/SKILL.md +504 -0
- package/resources/local/ecc/docs/zh-CN/skills/perl-security/SKILL.md +503 -0
- package/resources/local/ecc/docs/zh-CN/skills/perl-testing/SKILL.md +475 -0
- package/resources/local/ecc/docs/zh-CN/skills/plankton-code-quality/SKILL.md +243 -0
- package/resources/local/ecc/docs/zh-CN/skills/postgres-patterns/SKILL.md +154 -0
- package/resources/local/ecc/docs/zh-CN/skills/product-capability/SKILL.md +141 -0
- package/resources/local/ecc/docs/zh-CN/skills/product-lens/SKILL.md +93 -0
- package/resources/local/ecc/docs/zh-CN/skills/production-scheduling/SKILL.md +230 -0
- package/resources/local/ecc/docs/zh-CN/skills/project-flow-ops/SKILL.md +111 -0
- package/resources/local/ecc/docs/zh-CN/skills/prompt-optimizer/SKILL.md +380 -0
- package/resources/local/ecc/docs/zh-CN/skills/python-patterns/SKILL.md +750 -0
- package/resources/local/ecc/docs/zh-CN/skills/python-testing/SKILL.md +816 -0
- package/resources/local/ecc/docs/zh-CN/skills/pytorch-patterns/SKILL.md +396 -0
- package/resources/local/ecc/docs/zh-CN/skills/quality-nonconformance/SKILL.md +252 -0
- package/resources/local/ecc/docs/zh-CN/skills/ralphinho-rfc-pipeline/SKILL.md +69 -0
- package/resources/local/ecc/docs/zh-CN/skills/regex-vs-llm-structured-text/SKILL.md +217 -0
- package/resources/local/ecc/docs/zh-CN/skills/remotion-video-creation/SKILL.md +43 -0
- package/resources/local/ecc/docs/zh-CN/skills/repo-scan/SKILL.md +79 -0
- package/resources/local/ecc/docs/zh-CN/skills/research-ops/SKILL.md +112 -0
- package/resources/local/ecc/docs/zh-CN/skills/returns-reverse-logistics/SKILL.md +225 -0
- package/resources/local/ecc/docs/zh-CN/skills/rules-distill/SKILL.md +264 -0
- package/resources/local/ecc/docs/zh-CN/skills/rust-patterns/SKILL.md +499 -0
- package/resources/local/ecc/docs/zh-CN/skills/rust-testing/SKILL.md +502 -0
- package/resources/local/ecc/docs/zh-CN/skills/safety-guard/SKILL.md +75 -0
- package/resources/local/ecc/docs/zh-CN/skills/santa-method/SKILL.md +310 -0
- package/resources/local/ecc/docs/zh-CN/skills/search-first/SKILL.md +175 -0
- package/resources/local/ecc/docs/zh-CN/skills/security-bounty-hunter/SKILL.md +99 -0
- package/resources/local/ecc/docs/zh-CN/skills/security-review/SKILL.md +527 -0
- package/resources/local/ecc/docs/zh-CN/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/resources/local/ecc/docs/zh-CN/skills/security-scan/SKILL.md +172 -0
- package/resources/local/ecc/docs/zh-CN/skills/seo/SKILL.md +155 -0
- package/resources/local/ecc/docs/zh-CN/skills/skill-comply/SKILL.md +60 -0
- package/resources/local/ecc/docs/zh-CN/skills/skill-stocktake/SKILL.md +194 -0
- package/resources/local/ecc/docs/zh-CN/skills/social-graph-ranker/SKILL.md +154 -0
- package/resources/local/ecc/docs/zh-CN/skills/springboot-patterns/SKILL.md +313 -0
- package/resources/local/ecc/docs/zh-CN/skills/springboot-security/SKILL.md +272 -0
- package/resources/local/ecc/docs/zh-CN/skills/springboot-tdd/SKILL.md +160 -0
- package/resources/local/ecc/docs/zh-CN/skills/springboot-verification/SKILL.md +235 -0
- package/resources/local/ecc/docs/zh-CN/skills/strategic-compact/SKILL.md +140 -0
- package/resources/local/ecc/docs/zh-CN/skills/swift-actor-persistence/SKILL.md +143 -0
- package/resources/local/ecc/docs/zh-CN/skills/swift-concurrency-6-2/SKILL.md +217 -0
- package/resources/local/ecc/docs/zh-CN/skills/swift-protocol-di-testing/SKILL.md +190 -0
- package/resources/local/ecc/docs/zh-CN/skills/swiftui-patterns/SKILL.md +259 -0
- package/resources/local/ecc/docs/zh-CN/skills/tdd-workflow/SKILL.md +440 -0
- package/resources/local/ecc/docs/zh-CN/skills/team-builder/SKILL.md +165 -0
- package/resources/local/ecc/docs/zh-CN/skills/terminal-ops/SKILL.md +109 -0
- package/resources/local/ecc/docs/zh-CN/skills/token-budget-advisor/SKILL.md +121 -0
- package/resources/local/ecc/docs/zh-CN/skills/ui-demo/SKILL.md +465 -0
- package/resources/local/ecc/docs/zh-CN/skills/unified-notifications-ops/SKILL.md +197 -0
- package/resources/local/ecc/docs/zh-CN/skills/verification-loop/SKILL.md +136 -0
- package/resources/local/ecc/docs/zh-CN/skills/video-editing/SKILL.md +316 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/SKILL.md +386 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/api-reference.md +550 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/capture-reference.md +416 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/capture.md +104 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/editor.md +443 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/generative.md +331 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/rtstream-reference.md +567 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/rtstream.md +59 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/search.md +230 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/streaming.md +406 -0
- package/resources/local/ecc/docs/zh-CN/skills/videodb/reference/use-cases.md +142 -0
- package/resources/local/ecc/docs/zh-CN/skills/visa-doc-translate/README.md +91 -0
- package/resources/local/ecc/docs/zh-CN/skills/visa-doc-translate/SKILL.md +119 -0
- package/resources/local/ecc/docs/zh-CN/skills/workspace-surface-audit/SKILL.md +125 -0
- package/resources/local/ecc/docs/zh-CN/skills/x-api/SKILL.md +210 -0
- package/resources/local/ecc/docs/zh-CN/the-longform-guide.md +358 -0
- package/resources/local/ecc/docs/zh-CN/the-openclaw-guide.md +471 -0
- package/resources/local/ecc/docs/zh-CN/the-security-guide.md +206 -0
- package/resources/local/ecc/docs/zh-CN/the-shortform-guide.md +432 -0
- package/resources/local/ecc/docs/zh-TW/CONTRIBUTING.md +191 -0
- package/resources/local/ecc/docs/zh-TW/README.md +482 -0
- package/resources/local/ecc/docs/zh-TW/TERMINOLOGY.md +104 -0
- package/resources/local/ecc/docs/zh-TW/agents/architect.md +211 -0
- package/resources/local/ecc/docs/zh-TW/agents/build-error-resolver.md +300 -0
- package/resources/local/ecc/docs/zh-TW/agents/code-reviewer.md +104 -0
- package/resources/local/ecc/docs/zh-TW/agents/database-reviewer.md +378 -0
- package/resources/local/ecc/docs/zh-TW/agents/doc-updater.md +310 -0
- package/resources/local/ecc/docs/zh-TW/agents/e2e-runner.md +303 -0
- package/resources/local/ecc/docs/zh-TW/agents/go-build-resolver.md +368 -0
- package/resources/local/ecc/docs/zh-TW/agents/go-reviewer.md +267 -0
- package/resources/local/ecc/docs/zh-TW/agents/planner.md +119 -0
- package/resources/local/ecc/docs/zh-TW/agents/refactor-cleaner.md +273 -0
- package/resources/local/ecc/docs/zh-TW/agents/security-reviewer.md +378 -0
- package/resources/local/ecc/docs/zh-TW/agents/tdd-guide.md +280 -0
- package/resources/local/ecc/docs/zh-TW/commands/build-fix.md +29 -0
- package/resources/local/ecc/docs/zh-TW/commands/checkpoint.md +74 -0
- package/resources/local/ecc/docs/zh-TW/commands/code-review.md +40 -0
- package/resources/local/ecc/docs/zh-TW/commands/e2e.md +115 -0
- package/resources/local/ecc/docs/zh-TW/commands/eval.md +120 -0
- package/resources/local/ecc/docs/zh-TW/commands/go-build.md +81 -0
- package/resources/local/ecc/docs/zh-TW/commands/go-review.md +87 -0
- package/resources/local/ecc/docs/zh-TW/commands/go-test.md +132 -0
- package/resources/local/ecc/docs/zh-TW/commands/learn.md +70 -0
- package/resources/local/ecc/docs/zh-TW/commands/orchestrate.md +140 -0
- package/resources/local/ecc/docs/zh-TW/commands/plan.md +113 -0
- package/resources/local/ecc/docs/zh-TW/commands/refactor-clean.md +28 -0
- package/resources/local/ecc/docs/zh-TW/commands/setup-pm.md +80 -0
- package/resources/local/ecc/docs/zh-TW/commands/tdd.md +100 -0
- package/resources/local/ecc/docs/zh-TW/commands/test-coverage.md +27 -0
- package/resources/local/ecc/docs/zh-TW/commands/update-codemaps.md +17 -0
- package/resources/local/ecc/docs/zh-TW/commands/update-docs.md +31 -0
- package/resources/local/ecc/docs/zh-TW/commands/verify.md +59 -0
- package/resources/local/ecc/docs/zh-TW/rules/agents.md +49 -0
- package/resources/local/ecc/docs/zh-TW/rules/coding-style.md +70 -0
- package/resources/local/ecc/docs/zh-TW/rules/git-workflow.md +45 -0
- package/resources/local/ecc/docs/zh-TW/rules/hooks.md +46 -0
- package/resources/local/ecc/docs/zh-TW/rules/patterns.md +55 -0
- package/resources/local/ecc/docs/zh-TW/rules/performance.md +47 -0
- package/resources/local/ecc/docs/zh-TW/rules/security.md +36 -0
- package/resources/local/ecc/docs/zh-TW/rules/testing.md +30 -0
- package/resources/local/ecc/docs/zh-TW/skills/backend-patterns/SKILL.md +587 -0
- package/resources/local/ecc/docs/zh-TW/skills/clickhouse-io/SKILL.md +429 -0
- package/resources/local/ecc/docs/zh-TW/skills/coding-standards/SKILL.md +520 -0
- package/resources/local/ecc/docs/zh-TW/skills/continuous-learning/SKILL.md +110 -0
- package/resources/local/ecc/docs/zh-TW/skills/continuous-learning-v2/SKILL.md +263 -0
- package/resources/local/ecc/docs/zh-TW/skills/eval-harness/SKILL.md +227 -0
- package/resources/local/ecc/docs/zh-TW/skills/frontend-patterns/SKILL.md +631 -0
- package/resources/local/ecc/docs/zh-TW/skills/golang-patterns/SKILL.md +673 -0
- package/resources/local/ecc/docs/zh-TW/skills/golang-testing/SKILL.md +710 -0
- package/resources/local/ecc/docs/zh-TW/skills/iterative-retrieval/SKILL.md +202 -0
- package/resources/local/ecc/docs/zh-TW/skills/postgres-patterns/SKILL.md +146 -0
- package/resources/local/ecc/docs/zh-TW/skills/project-guidelines-example/SKILL.md +345 -0
- package/resources/local/ecc/docs/zh-TW/skills/security-review/SKILL.md +494 -0
- package/resources/local/ecc/docs/zh-TW/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/resources/local/ecc/docs/zh-TW/skills/strategic-compact/SKILL.md +66 -0
- package/resources/local/ecc/docs/zh-TW/skills/tdd-workflow/SKILL.md +409 -0
- package/resources/local/ecc/docs/zh-TW/skills/verification-loop/SKILL.md +120 -0
- package/resources/local/ecc/ecc2/Cargo.lock +2992 -0
- package/resources/local/ecc/ecc2/Cargo.toml +61 -0
- package/resources/local/ecc/ecc2/README.md +99 -0
- package/resources/local/ecc/ecc2/src/comms/mod.rs +156 -0
- package/resources/local/ecc/ecc2/src/config/mod.rs +1806 -0
- package/resources/local/ecc/ecc2/src/main.rs +12595 -0
- package/resources/local/ecc/ecc2/src/notifications.rs +635 -0
- package/resources/local/ecc/ecc2/src/observability/mod.rs +423 -0
- package/resources/local/ecc/ecc2/src/session/daemon.rs +1322 -0
- package/resources/local/ecc/ecc2/src/session/manager.rs +8190 -0
- package/resources/local/ecc/ecc2/src/session/mod.rs +984 -0
- package/resources/local/ecc/ecc2/src/session/output.rs +172 -0
- package/resources/local/ecc/ecc2/src/session/runtime.rs +379 -0
- package/resources/local/ecc/ecc2/src/session/store.rs +7109 -0
- package/resources/local/ecc/ecc2/src/tui/app.rs +151 -0
- package/resources/local/ecc/ecc2/src/tui/dashboard.rs +15162 -0
- package/resources/local/ecc/ecc2/src/tui/mod.rs +3 -0
- package/resources/local/ecc/ecc2/src/tui/widgets.rs +382 -0
- package/resources/local/ecc/ecc2/src/worktree/mod.rs +2672 -0
- package/resources/local/ecc/ecc_dashboard.py +932 -0
- package/resources/local/ecc/eslint.config.js +34 -0
- package/resources/local/ecc/examples/CLAUDE.md +109 -0
- package/resources/local/ecc/examples/django-api-CLAUDE.md +308 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/agentshield-policy-exception/candidate-playbook.md +49 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/agentshield-policy-exception/report.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/agentshield-policy-exception/scenario.json +62 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/agentshield-policy-exception/trace.json +45 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/agentshield-policy-exception/verifier-result.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/billing-marketplace-readiness/candidate-playbook.md +41 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/billing-marketplace-readiness/report.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/billing-marketplace-readiness/scenario.json +55 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/billing-marketplace-readiness/trace.json +45 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/billing-marketplace-readiness/verifier-result.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/candidate-playbook.md +41 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/ci-failure-diagnosis/candidate-playbook.md +46 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/ci-failure-diagnosis/report.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/ci-failure-diagnosis/scenario.json +57 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/ci-failure-diagnosis/trace.json +45 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/ci-failure-diagnosis/verifier-result.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/deep-analyzer-evidence/candidate-playbook.md +60 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/deep-analyzer-evidence/report.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/deep-analyzer-evidence/scenario.json +57 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/deep-analyzer-evidence/trace.json +45 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/deep-analyzer-evidence/verifier-result.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/harness-config-quality/candidate-playbook.md +49 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/harness-config-quality/report.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/harness-config-quality/scenario.json +57 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/harness-config-quality/trace.json +45 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/harness-config-quality/verifier-result.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/report.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/scenario.json +56 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/skill-quality-evidence/candidate-playbook.md +57 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/skill-quality-evidence/report.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/skill-quality-evidence/scenario.json +57 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/skill-quality-evidence/trace.json +46 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/skill-quality-evidence/verifier-result.json +35 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/trace.json +46 -0
- package/resources/local/ecc/examples/evaluator-rag-prototype/verifier-result.json +35 -0
- package/resources/local/ecc/examples/gan-harness/README.md +126 -0
- package/resources/local/ecc/examples/go-microservice-CLAUDE.md +267 -0
- package/resources/local/ecc/examples/harmonyos-app-CLAUDE.md +88 -0
- package/resources/local/ecc/examples/hud-status-contract.json +117 -0
- package/resources/local/ecc/examples/laravel-api-CLAUDE.md +311 -0
- package/resources/local/ecc/examples/rust-api-CLAUDE.md +285 -0
- package/resources/local/ecc/examples/saas-nextjs-CLAUDE.md +166 -0
- package/resources/local/ecc/examples/statusline.json +20 -0
- package/resources/local/ecc/examples/user-CLAUDE.md +109 -0
- package/resources/local/ecc/hooks/README.md +258 -0
- package/resources/local/ecc/hooks/hooks.json +354 -0
- package/resources/local/ecc/hooks/memory-persistence/README.md +44 -0
- package/resources/local/ecc/hooks/memory-persistence/hooks.json +47 -0
- package/resources/local/ecc/install.ps1 +53 -0
- package/resources/local/ecc/install.sh +32 -0
- package/resources/local/ecc/legacy-command-shims/README.md +7 -0
- package/resources/local/ecc/legacy-command-shims/commands/agent-sort.md +23 -0
- package/resources/local/ecc/legacy-command-shims/commands/claw.md +23 -0
- package/resources/local/ecc/legacy-command-shims/commands/context-budget.md +23 -0
- package/resources/local/ecc/legacy-command-shims/commands/devfleet.md +23 -0
- package/resources/local/ecc/legacy-command-shims/commands/docs.md +23 -0
- package/resources/local/ecc/legacy-command-shims/commands/e2e.md +268 -0
- package/resources/local/ecc/legacy-command-shims/commands/eval.md +23 -0
- package/resources/local/ecc/legacy-command-shims/commands/orchestrate.md +135 -0
- package/resources/local/ecc/legacy-command-shims/commands/prompt-optimize.md +23 -0
- package/resources/local/ecc/legacy-command-shims/commands/rules-distill.md +20 -0
- package/resources/local/ecc/legacy-command-shims/commands/tdd.md +231 -0
- package/resources/local/ecc/legacy-command-shims/commands/verify.md +23 -0
- package/resources/local/ecc/manifests/install-components.json +594 -0
- package/resources/local/ecc/manifests/install-modules.json +819 -0
- package/resources/local/ecc/manifests/install-profiles.json +92 -0
- package/resources/local/ecc/mcp-configs/mcp-servers.json +181 -0
- package/resources/local/ecc/nul +2 -0
- package/resources/local/ecc/package-lock.json +2906 -0
- package/resources/local/ecc/package.json +347 -0
- package/resources/local/ecc/plugins/README.md +85 -0
- package/resources/local/ecc/pyproject.toml +78 -0
- package/resources/local/ecc/research/ecc2-codebase-analysis.md +172 -0
- package/resources/local/ecc/rules/README.md +135 -0
- package/resources/local/ecc/rules/angular/coding-style.md +182 -0
- package/resources/local/ecc/rules/angular/hooks.md +25 -0
- package/resources/local/ecc/rules/angular/patterns.md +249 -0
- package/resources/local/ecc/rules/angular/security.md +87 -0
- package/resources/local/ecc/rules/angular/testing.md +164 -0
- package/resources/local/ecc/rules/arkts/coding-style.md +153 -0
- package/resources/local/ecc/rules/arkts/hooks.md +135 -0
- package/resources/local/ecc/rules/arkts/patterns.md +236 -0
- package/resources/local/ecc/rules/arkts/security.md +141 -0
- package/resources/local/ecc/rules/arkts/testing.md +126 -0
- package/resources/local/ecc/rules/common/agents.md +51 -0
- package/resources/local/ecc/rules/common/code-review.md +124 -0
- package/resources/local/ecc/rules/common/coding-style.md +90 -0
- package/resources/local/ecc/rules/common/development-workflow.md +44 -0
- package/resources/local/ecc/rules/common/git-workflow.md +24 -0
- package/resources/local/ecc/rules/common/hooks.md +30 -0
- package/resources/local/ecc/rules/common/patterns.md +31 -0
- package/resources/local/ecc/rules/common/performance.md +55 -0
- package/resources/local/ecc/rules/common/security.md +29 -0
- package/resources/local/ecc/rules/common/testing.md +57 -0
- package/resources/local/ecc/rules/cpp/coding-style.md +44 -0
- package/resources/local/ecc/rules/cpp/hooks.md +39 -0
- package/resources/local/ecc/rules/cpp/patterns.md +51 -0
- package/resources/local/ecc/rules/cpp/security.md +51 -0
- package/resources/local/ecc/rules/cpp/testing.md +44 -0
- package/resources/local/ecc/rules/csharp/coding-style.md +72 -0
- package/resources/local/ecc/rules/csharp/hooks.md +25 -0
- package/resources/local/ecc/rules/csharp/patterns.md +50 -0
- package/resources/local/ecc/rules/csharp/security.md +58 -0
- package/resources/local/ecc/rules/csharp/testing.md +46 -0
- package/resources/local/ecc/rules/dart/coding-style.md +159 -0
- package/resources/local/ecc/rules/dart/hooks.md +66 -0
- package/resources/local/ecc/rules/dart/patterns.md +261 -0
- package/resources/local/ecc/rules/dart/security.md +135 -0
- package/resources/local/ecc/rules/dart/testing.md +215 -0
- package/resources/local/ecc/rules/fsharp/coding-style.md +112 -0
- package/resources/local/ecc/rules/fsharp/hooks.md +26 -0
- package/resources/local/ecc/rules/fsharp/patterns.md +111 -0
- package/resources/local/ecc/rules/fsharp/security.md +76 -0
- package/resources/local/ecc/rules/fsharp/testing.md +62 -0
- package/resources/local/ecc/rules/golang/coding-style.md +32 -0
- package/resources/local/ecc/rules/golang/hooks.md +17 -0
- package/resources/local/ecc/rules/golang/patterns.md +45 -0
- package/resources/local/ecc/rules/golang/security.md +34 -0
- package/resources/local/ecc/rules/golang/testing.md +31 -0
- package/resources/local/ecc/rules/java/coding-style.md +114 -0
- package/resources/local/ecc/rules/java/hooks.md +18 -0
- package/resources/local/ecc/rules/java/patterns.md +147 -0
- package/resources/local/ecc/rules/java/security.md +101 -0
- package/resources/local/ecc/rules/java/testing.md +133 -0
- package/resources/local/ecc/rules/kotlin/coding-style.md +86 -0
- package/resources/local/ecc/rules/kotlin/hooks.md +17 -0
- package/resources/local/ecc/rules/kotlin/patterns.md +146 -0
- package/resources/local/ecc/rules/kotlin/security.md +82 -0
- package/resources/local/ecc/rules/kotlin/testing.md +128 -0
- package/resources/local/ecc/rules/perl/coding-style.md +46 -0
- package/resources/local/ecc/rules/perl/hooks.md +22 -0
- package/resources/local/ecc/rules/perl/patterns.md +76 -0
- package/resources/local/ecc/rules/perl/security.md +69 -0
- package/resources/local/ecc/rules/perl/testing.md +54 -0
- package/resources/local/ecc/rules/php/coding-style.md +40 -0
- package/resources/local/ecc/rules/php/hooks.md +24 -0
- package/resources/local/ecc/rules/php/patterns.md +33 -0
- package/resources/local/ecc/rules/php/security.md +37 -0
- package/resources/local/ecc/rules/php/testing.md +39 -0
- package/resources/local/ecc/rules/python/coding-style.md +42 -0
- package/resources/local/ecc/rules/python/fastapi.md +58 -0
- package/resources/local/ecc/rules/python/hooks.md +19 -0
- package/resources/local/ecc/rules/python/patterns.md +39 -0
- package/resources/local/ecc/rules/python/security.md +30 -0
- package/resources/local/ecc/rules/python/testing.md +38 -0
- package/resources/local/ecc/rules/ruby/coding-style.md +46 -0
- package/resources/local/ecc/rules/ruby/hooks.md +37 -0
- package/resources/local/ecc/rules/ruby/patterns.md +44 -0
- package/resources/local/ecc/rules/ruby/security.md +51 -0
- package/resources/local/ecc/rules/ruby/testing.md +51 -0
- package/resources/local/ecc/rules/rust/coding-style.md +151 -0
- package/resources/local/ecc/rules/rust/hooks.md +16 -0
- package/resources/local/ecc/rules/rust/patterns.md +168 -0
- package/resources/local/ecc/rules/rust/security.md +141 -0
- package/resources/local/ecc/rules/rust/testing.md +154 -0
- package/resources/local/ecc/rules/swift/coding-style.md +47 -0
- package/resources/local/ecc/rules/swift/hooks.md +20 -0
- package/resources/local/ecc/rules/swift/patterns.md +66 -0
- package/resources/local/ecc/rules/swift/security.md +33 -0
- package/resources/local/ecc/rules/swift/testing.md +45 -0
- package/resources/local/ecc/rules/typescript/coding-style.md +199 -0
- package/resources/local/ecc/rules/typescript/hooks.md +22 -0
- package/resources/local/ecc/rules/typescript/patterns.md +52 -0
- package/resources/local/ecc/rules/typescript/security.md +28 -0
- package/resources/local/ecc/rules/typescript/testing.md +18 -0
- package/resources/local/ecc/rules/web/coding-style.md +96 -0
- package/resources/local/ecc/rules/web/design-quality.md +63 -0
- package/resources/local/ecc/rules/web/hooks.md +129 -0
- package/resources/local/ecc/rules/web/patterns.md +79 -0
- package/resources/local/ecc/rules/web/performance.md +64 -0
- package/resources/local/ecc/rules/web/security.md +57 -0
- package/resources/local/ecc/rules/web/testing.md +55 -0
- package/resources/local/ecc/rules/zh/README.md +108 -0
- package/resources/local/ecc/rules/zh/agents.md +50 -0
- package/resources/local/ecc/rules/zh/code-review.md +124 -0
- package/resources/local/ecc/rules/zh/coding-style.md +48 -0
- package/resources/local/ecc/rules/zh/development-workflow.md +44 -0
- package/resources/local/ecc/rules/zh/git-workflow.md +24 -0
- package/resources/local/ecc/rules/zh/hooks.md +30 -0
- package/resources/local/ecc/rules/zh/patterns.md +31 -0
- package/resources/local/ecc/rules/zh/performance.md +55 -0
- package/resources/local/ecc/rules/zh/security.md +29 -0
- package/resources/local/ecc/rules/zh/testing.md +29 -0
- package/resources/local/ecc/schemas/ecc-install-config.schema.json +63 -0
- package/resources/local/ecc/schemas/hooks.schema.json +197 -0
- package/resources/local/ecc/schemas/install-components.schema.json +59 -0
- package/resources/local/ecc/schemas/install-modules.schema.json +111 -0
- package/resources/local/ecc/schemas/install-profiles.schema.json +45 -0
- package/resources/local/ecc/schemas/install-state.schema.json +210 -0
- package/resources/local/ecc/schemas/package-manager.schema.json +23 -0
- package/resources/local/ecc/schemas/plugin.schema.json +70 -0
- package/resources/local/ecc/schemas/provenance.schema.json +31 -0
- package/resources/local/ecc/schemas/state-store.schema.json +382 -0
- package/resources/local/ecc/scripts/auto-update.js +361 -0
- package/resources/local/ecc/scripts/build-opencode.js +26 -0
- package/resources/local/ecc/scripts/catalog.js +186 -0
- package/resources/local/ecc/scripts/ci/catalog.js +828 -0
- package/resources/local/ecc/scripts/ci/check-unicode-safety.js +272 -0
- package/resources/local/ecc/scripts/ci/generate-command-registry.js +318 -0
- package/resources/local/ecc/scripts/ci/scan-supply-chain-iocs.js +847 -0
- package/resources/local/ecc/scripts/ci/supply-chain-advisory-sources.js +469 -0
- package/resources/local/ecc/scripts/ci/validate-agents.js +96 -0
- package/resources/local/ecc/scripts/ci/validate-commands.js +188 -0
- package/resources/local/ecc/scripts/ci/validate-hooks.js +239 -0
- package/resources/local/ecc/scripts/ci/validate-install-manifests.js +218 -0
- package/resources/local/ecc/scripts/ci/validate-no-personal-paths.js +107 -0
- package/resources/local/ecc/scripts/ci/validate-rules.js +81 -0
- package/resources/local/ecc/scripts/ci/validate-skills.js +210 -0
- package/resources/local/ecc/scripts/ci/validate-workflow-security.js +278 -0
- package/resources/local/ecc/scripts/claw.js +473 -0
- package/resources/local/ecc/scripts/codemaps/generate.ts +330 -0
- package/resources/local/ecc/scripts/codex/check-codex-global-state.sh +250 -0
- package/resources/local/ecc/scripts/codex/install-global-git-hooks.sh +65 -0
- package/resources/local/ecc/scripts/codex/merge-codex-config.js +317 -0
- package/resources/local/ecc/scripts/codex/merge-mcp-config.js +335 -0
- package/resources/local/ecc/scripts/codex-git-hooks/pre-commit +77 -0
- package/resources/local/ecc/scripts/codex-git-hooks/pre-push +124 -0
- package/resources/local/ecc/scripts/consult.js +497 -0
- package/resources/local/ecc/scripts/discussion-audit.js +350 -0
- package/resources/local/ecc/scripts/doctor.js +111 -0
- package/resources/local/ecc/scripts/ecc.js +255 -0
- package/resources/local/ecc/scripts/gan-harness.sh +299 -0
- package/resources/local/ecc/scripts/gemini-adapt-agents.js +189 -0
- package/resources/local/ecc/scripts/harness-adapter-compliance.js +149 -0
- package/resources/local/ecc/scripts/harness-audit.js +869 -0
- package/resources/local/ecc/scripts/hooks/auto-tmux-dev.js +107 -0
- package/resources/local/ecc/scripts/hooks/bash-hook-dispatcher.js +177 -0
- package/resources/local/ecc/scripts/hooks/block-no-verify.js +546 -0
- package/resources/local/ecc/scripts/hooks/check-console-log.js +71 -0
- package/resources/local/ecc/scripts/hooks/check-hook-enabled.js +12 -0
- package/resources/local/ecc/scripts/hooks/config-protection.js +169 -0
- package/resources/local/ecc/scripts/hooks/cost-tracker.js +157 -0
- package/resources/local/ecc/scripts/hooks/design-quality-check.js +131 -0
- package/resources/local/ecc/scripts/hooks/desktop-notify.js +245 -0
- package/resources/local/ecc/scripts/hooks/doc-file-warning.js +90 -0
- package/resources/local/ecc/scripts/hooks/ecc-context-monitor.js +258 -0
- package/resources/local/ecc/scripts/hooks/ecc-metrics-bridge.js +263 -0
- package/resources/local/ecc/scripts/hooks/ecc-statusline.js +168 -0
- package/resources/local/ecc/scripts/hooks/evaluate-session.js +100 -0
- package/resources/local/ecc/scripts/hooks/gateguard-fact-force.js +832 -0
- package/resources/local/ecc/scripts/hooks/governance-capture.js +334 -0
- package/resources/local/ecc/scripts/hooks/insaits-security-monitor.py +269 -0
- package/resources/local/ecc/scripts/hooks/insaits-security-wrapper.js +119 -0
- package/resources/local/ecc/scripts/hooks/mcp-health-check.js +720 -0
- package/resources/local/ecc/scripts/hooks/observe-runner.js +196 -0
- package/resources/local/ecc/scripts/hooks/plugin-hook-bootstrap.js +153 -0
- package/resources/local/ecc/scripts/hooks/post-bash-build-complete.js +49 -0
- package/resources/local/ecc/scripts/hooks/post-bash-command-log.js +80 -0
- package/resources/local/ecc/scripts/hooks/post-bash-dispatcher.js +24 -0
- package/resources/local/ecc/scripts/hooks/post-bash-pr-created.js +60 -0
- package/resources/local/ecc/scripts/hooks/post-edit-accumulator.js +78 -0
- package/resources/local/ecc/scripts/hooks/post-edit-console-warn.js +54 -0
- package/resources/local/ecc/scripts/hooks/post-edit-format.js +109 -0
- package/resources/local/ecc/scripts/hooks/post-edit-typecheck.js +96 -0
- package/resources/local/ecc/scripts/hooks/pre-bash-commit-quality.js +447 -0
- package/resources/local/ecc/scripts/hooks/pre-bash-dev-server-block.js +225 -0
- package/resources/local/ecc/scripts/hooks/pre-bash-dispatcher.js +24 -0
- package/resources/local/ecc/scripts/hooks/pre-bash-git-push-reminder.js +52 -0
- package/resources/local/ecc/scripts/hooks/pre-bash-tmux-reminder.js +57 -0
- package/resources/local/ecc/scripts/hooks/pre-compact.js +48 -0
- package/resources/local/ecc/scripts/hooks/pre-write-doc-warn.js +9 -0
- package/resources/local/ecc/scripts/hooks/quality-gate.js +168 -0
- package/resources/local/ecc/scripts/hooks/run-with-flags-shell.sh +36 -0
- package/resources/local/ecc/scripts/hooks/run-with-flags.js +190 -0
- package/resources/local/ecc/scripts/hooks/session-activity-tracker.js +639 -0
- package/resources/local/ecc/scripts/hooks/session-end-marker.js +67 -0
- package/resources/local/ecc/scripts/hooks/session-end.js +328 -0
- package/resources/local/ecc/scripts/hooks/session-start-bootstrap.js +161 -0
- package/resources/local/ecc/scripts/hooks/session-start.js +706 -0
- package/resources/local/ecc/scripts/hooks/stop-format-typecheck.js +209 -0
- package/resources/local/ecc/scripts/hooks/suggest-compact.js +108 -0
- package/resources/local/ecc/scripts/install-apply.js +167 -0
- package/resources/local/ecc/scripts/install-plan.js +276 -0
- package/resources/local/ecc/scripts/lib/agent-compress.js +244 -0
- package/resources/local/ecc/scripts/lib/cost-estimate.js +32 -0
- package/resources/local/ecc/scripts/lib/cursor-agent-names.js +26 -0
- package/resources/local/ecc/scripts/lib/ecc_dashboard_runtime.py +70 -0
- package/resources/local/ecc/scripts/lib/github-discussions.js +159 -0
- package/resources/local/ecc/scripts/lib/harness-adapter-compliance.js +453 -0
- package/resources/local/ecc/scripts/lib/hook-flags.js +74 -0
- package/resources/local/ecc/scripts/lib/inspection.js +212 -0
- package/resources/local/ecc/scripts/lib/install/apply.js +174 -0
- package/resources/local/ecc/scripts/lib/install/config.js +89 -0
- package/resources/local/ecc/scripts/lib/install/request.js +157 -0
- package/resources/local/ecc/scripts/lib/install/runtime.js +56 -0
- package/resources/local/ecc/scripts/lib/install-executor.js +738 -0
- package/resources/local/ecc/scripts/lib/install-lifecycle.js +1226 -0
- package/resources/local/ecc/scripts/lib/install-manifests.js +644 -0
- package/resources/local/ecc/scripts/lib/install-state.js +313 -0
- package/resources/local/ecc/scripts/lib/install-targets/antigravity-project.js +85 -0
- package/resources/local/ecc/scripts/lib/install-targets/claude-home.js +91 -0
- package/resources/local/ecc/scripts/lib/install-targets/codebuddy-project.js +50 -0
- package/resources/local/ecc/scripts/lib/install-targets/codex-home.js +10 -0
- package/resources/local/ecc/scripts/lib/install-targets/cursor-project.js +210 -0
- package/resources/local/ecc/scripts/lib/install-targets/gemini-project.js +10 -0
- package/resources/local/ecc/scripts/lib/install-targets/helpers.js +368 -0
- package/resources/local/ecc/scripts/lib/install-targets/joycode-project.js +50 -0
- package/resources/local/ecc/scripts/lib/install-targets/opencode-home.js +10 -0
- package/resources/local/ecc/scripts/lib/install-targets/qwen-home.js +10 -0
- package/resources/local/ecc/scripts/lib/install-targets/registry.js +76 -0
- package/resources/local/ecc/scripts/lib/install-targets/zed-project.js +50 -0
- package/resources/local/ecc/scripts/lib/mcp-config.js +56 -0
- package/resources/local/ecc/scripts/lib/observer-sessions.js +212 -0
- package/resources/local/ecc/scripts/lib/orchestration-session.js +299 -0
- package/resources/local/ecc/scripts/lib/package-manager.d.ts +119 -0
- package/resources/local/ecc/scripts/lib/package-manager.js +431 -0
- package/resources/local/ecc/scripts/lib/project-detect.js +438 -0
- package/resources/local/ecc/scripts/lib/resolve-ecc-root.js +118 -0
- package/resources/local/ecc/scripts/lib/resolve-formatter.js +185 -0
- package/resources/local/ecc/scripts/lib/session-adapters/canonical-session.js +531 -0
- package/resources/local/ecc/scripts/lib/session-adapters/claude-history.js +160 -0
- package/resources/local/ecc/scripts/lib/session-adapters/dmux-tmux.js +90 -0
- package/resources/local/ecc/scripts/lib/session-adapters/registry.js +127 -0
- package/resources/local/ecc/scripts/lib/session-aliases.d.ts +136 -0
- package/resources/local/ecc/scripts/lib/session-aliases.js +481 -0
- package/resources/local/ecc/scripts/lib/session-bridge.js +81 -0
- package/resources/local/ecc/scripts/lib/session-manager.d.ts +132 -0
- package/resources/local/ecc/scripts/lib/session-manager.js +533 -0
- package/resources/local/ecc/scripts/lib/shell-split.js +86 -0
- package/resources/local/ecc/scripts/lib/shell-substitution.js +494 -0
- package/resources/local/ecc/scripts/lib/skill-evolution/dashboard.js +401 -0
- package/resources/local/ecc/scripts/lib/skill-evolution/health.js +263 -0
- package/resources/local/ecc/scripts/lib/skill-evolution/index.js +20 -0
- package/resources/local/ecc/scripts/lib/skill-evolution/provenance.js +187 -0
- package/resources/local/ecc/scripts/lib/skill-evolution/tracker.js +146 -0
- package/resources/local/ecc/scripts/lib/skill-evolution/versioning.js +237 -0
- package/resources/local/ecc/scripts/lib/skill-improvement/amendify.js +89 -0
- package/resources/local/ecc/scripts/lib/skill-improvement/evaluate.js +59 -0
- package/resources/local/ecc/scripts/lib/skill-improvement/health.js +118 -0
- package/resources/local/ecc/scripts/lib/skill-improvement/observations.js +108 -0
- package/resources/local/ecc/scripts/lib/state-store/index.js +191 -0
- package/resources/local/ecc/scripts/lib/state-store/migrations.js +209 -0
- package/resources/local/ecc/scripts/lib/state-store/queries.js +906 -0
- package/resources/local/ecc/scripts/lib/state-store/schema.js +93 -0
- package/resources/local/ecc/scripts/lib/tmux-worktree-orchestrator.js +598 -0
- package/resources/local/ecc/scripts/lib/utils.d.ts +196 -0
- package/resources/local/ecc/scripts/lib/utils.js +629 -0
- package/resources/local/ecc/scripts/list-installed.js +91 -0
- package/resources/local/ecc/scripts/loop-status.js +820 -0
- package/resources/local/ecc/scripts/observability-readiness.js +462 -0
- package/resources/local/ecc/scripts/operator-readiness-dashboard.js +979 -0
- package/resources/local/ecc/scripts/orchestrate-codex-worker.sh +107 -0
- package/resources/local/ecc/scripts/orchestrate-worktrees.js +108 -0
- package/resources/local/ecc/scripts/orchestration-status.js +62 -0
- package/resources/local/ecc/scripts/platform-audit.js +749 -0
- package/resources/local/ecc/scripts/preview-pack-smoke.js +353 -0
- package/resources/local/ecc/scripts/repair.js +98 -0
- package/resources/local/ecc/scripts/session-inspect.js +150 -0
- package/resources/local/ecc/scripts/sessions-cli.js +178 -0
- package/resources/local/ecc/scripts/setup-package-manager.js +204 -0
- package/resources/local/ecc/scripts/skill-create-output.js +244 -0
- package/resources/local/ecc/scripts/skills-health.js +132 -0
- package/resources/local/ecc/scripts/status.js +394 -0
- package/resources/local/ecc/scripts/sync-ecc-to-codex.sh +534 -0
- package/resources/local/ecc/scripts/uninstall.js +97 -0
- package/resources/local/ecc/scripts/work-items.js +510 -0
- package/resources/local/ecc/skills/accessibility/SKILL.md +146 -0
- package/resources/local/ecc/skills/agent-architecture-audit/SKILL.md +256 -0
- package/resources/local/ecc/skills/agent-eval/SKILL.md +145 -0
- package/resources/local/ecc/skills/agent-harness-construction/SKILL.md +73 -0
- package/resources/local/ecc/skills/agent-introspection-debugging/SKILL.md +153 -0
- package/resources/local/ecc/skills/agent-payment-x402/SKILL.md +224 -0
- package/resources/local/ecc/skills/agent-sort/SKILL.md +215 -0
- package/resources/local/ecc/skills/agentic-engineering/SKILL.md +63 -0
- package/resources/local/ecc/skills/agentic-os/SKILL.md +387 -0
- package/resources/local/ecc/skills/ai-first-engineering/SKILL.md +51 -0
- package/resources/local/ecc/skills/ai-regression-testing/SKILL.md +385 -0
- package/resources/local/ecc/skills/android-clean-architecture/SKILL.md +339 -0
- package/resources/local/ecc/skills/angular-developer/SKILL.md +154 -0
- package/resources/local/ecc/skills/angular-developer/references/angular-animations.md +160 -0
- package/resources/local/ecc/skills/angular-developer/references/angular-aria.md +410 -0
- package/resources/local/ecc/skills/angular-developer/references/cli.md +86 -0
- package/resources/local/ecc/skills/angular-developer/references/component-harnesses.md +59 -0
- package/resources/local/ecc/skills/angular-developer/references/component-styling.md +91 -0
- package/resources/local/ecc/skills/angular-developer/references/components.md +117 -0
- package/resources/local/ecc/skills/angular-developer/references/creating-services.md +97 -0
- package/resources/local/ecc/skills/angular-developer/references/data-resolvers.md +69 -0
- package/resources/local/ecc/skills/angular-developer/references/define-routes.md +67 -0
- package/resources/local/ecc/skills/angular-developer/references/defining-providers.md +72 -0
- package/resources/local/ecc/skills/angular-developer/references/di-fundamentals.md +120 -0
- package/resources/local/ecc/skills/angular-developer/references/e2e-testing.md +56 -0
- package/resources/local/ecc/skills/angular-developer/references/effects.md +83 -0
- package/resources/local/ecc/skills/angular-developer/references/hierarchical-injectors.md +43 -0
- package/resources/local/ecc/skills/angular-developer/references/host-elements.md +80 -0
- package/resources/local/ecc/skills/angular-developer/references/injection-context.md +63 -0
- package/resources/local/ecc/skills/angular-developer/references/inputs.md +101 -0
- package/resources/local/ecc/skills/angular-developer/references/linked-signal.md +59 -0
- package/resources/local/ecc/skills/angular-developer/references/loading-strategies.md +61 -0
- package/resources/local/ecc/skills/angular-developer/references/mcp.md +108 -0
- package/resources/local/ecc/skills/angular-developer/references/navigate-to-routes.md +69 -0
- package/resources/local/ecc/skills/angular-developer/references/outputs.md +86 -0
- package/resources/local/ecc/skills/angular-developer/references/reactive-forms.md +122 -0
- package/resources/local/ecc/skills/angular-developer/references/rendering-strategies.md +44 -0
- package/resources/local/ecc/skills/angular-developer/references/resource.md +77 -0
- package/resources/local/ecc/skills/angular-developer/references/route-animations.md +56 -0
- package/resources/local/ecc/skills/angular-developer/references/route-guards.md +52 -0
- package/resources/local/ecc/skills/angular-developer/references/router-lifecycle.md +45 -0
- package/resources/local/ecc/skills/angular-developer/references/router-testing.md +87 -0
- package/resources/local/ecc/skills/angular-developer/references/show-routes-with-outlets.md +68 -0
- package/resources/local/ecc/skills/angular-developer/references/signal-forms.md +795 -0
- package/resources/local/ecc/skills/angular-developer/references/signals-overview.md +94 -0
- package/resources/local/ecc/skills/angular-developer/references/tailwind-css.md +69 -0
- package/resources/local/ecc/skills/angular-developer/references/template-driven-forms.md +114 -0
- package/resources/local/ecc/skills/angular-developer/references/testing-fundamentals.md +65 -0
- package/resources/local/ecc/skills/api-connector-builder/SKILL.md +120 -0
- package/resources/local/ecc/skills/api-design/SKILL.md +523 -0
- package/resources/local/ecc/skills/architecture-decision-records/SKILL.md +179 -0
- package/resources/local/ecc/skills/article-writing/SKILL.md +79 -0
- package/resources/local/ecc/skills/automation-audit-ops/SKILL.md +142 -0
- package/resources/local/ecc/skills/autonomous-agent-harness/SKILL.md +273 -0
- package/resources/local/ecc/skills/autonomous-loops/SKILL.md +610 -0
- package/resources/local/ecc/skills/backend-patterns/SKILL.md +561 -0
- package/resources/local/ecc/skills/benchmark/SKILL.md +93 -0
- package/resources/local/ecc/skills/blender-motion-state-inspection/SKILL.md +164 -0
- package/resources/local/ecc/skills/blueprint/SKILL.md +105 -0
- package/resources/local/ecc/skills/brand-voice/SKILL.md +97 -0
- package/resources/local/ecc/skills/brand-voice/references/voice-profile-schema.md +55 -0
- package/resources/local/ecc/skills/browser-qa/SKILL.md +87 -0
- package/resources/local/ecc/skills/bun-runtime/SKILL.md +84 -0
- package/resources/local/ecc/skills/canary-watch/SKILL.md +107 -0
- package/resources/local/ecc/skills/carrier-relationship-management/SKILL.md +212 -0
- package/resources/local/ecc/skills/cisco-ios-patterns/SKILL.md +163 -0
- package/resources/local/ecc/skills/ck/SKILL.md +147 -0
- package/resources/local/ecc/skills/ck/commands/forget.mjs +44 -0
- package/resources/local/ecc/skills/ck/commands/info.mjs +24 -0
- package/resources/local/ecc/skills/ck/commands/init.mjs +143 -0
- package/resources/local/ecc/skills/ck/commands/list.mjs +40 -0
- package/resources/local/ecc/skills/ck/commands/migrate.mjs +202 -0
- package/resources/local/ecc/skills/ck/commands/resume.mjs +36 -0
- package/resources/local/ecc/skills/ck/commands/save.mjs +210 -0
- package/resources/local/ecc/skills/ck/commands/shared.mjs +387 -0
- package/resources/local/ecc/skills/ck/hooks/session-start.mjs +224 -0
- package/resources/local/ecc/skills/claude-devfleet/SKILL.md +103 -0
- package/resources/local/ecc/skills/click-path-audit/SKILL.md +244 -0
- package/resources/local/ecc/skills/clickhouse-io/SKILL.md +439 -0
- package/resources/local/ecc/skills/code-tour/SKILL.md +236 -0
- package/resources/local/ecc/skills/codebase-onboarding/SKILL.md +233 -0
- package/resources/local/ecc/skills/coding-standards/SKILL.md +549 -0
- package/resources/local/ecc/skills/compose-multiplatform-patterns/SKILL.md +299 -0
- package/resources/local/ecc/skills/configure-ecc/SKILL.md +384 -0
- package/resources/local/ecc/skills/connections-optimizer/SKILL.md +189 -0
- package/resources/local/ecc/skills/content-engine/SKILL.md +131 -0
- package/resources/local/ecc/skills/content-hash-cache-pattern/SKILL.md +161 -0
- package/resources/local/ecc/skills/context-budget/SKILL.md +135 -0
- package/resources/local/ecc/skills/continuous-agent-loop/SKILL.md +45 -0
- package/resources/local/ecc/skills/continuous-learning/SKILL.md +131 -0
- package/resources/local/ecc/skills/continuous-learning/config.json +18 -0
- package/resources/local/ecc/skills/continuous-learning/evaluate-session.sh +69 -0
- package/resources/local/ecc/skills/continuous-learning-v2/SKILL.md +360 -0
- package/resources/local/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +322 -0
- package/resources/local/ecc/skills/continuous-learning-v2/agents/observer.md +198 -0
- package/resources/local/ecc/skills/continuous-learning-v2/agents/session-guardian.sh +150 -0
- package/resources/local/ecc/skills/continuous-learning-v2/agents/start-observer.sh +248 -0
- package/resources/local/ecc/skills/continuous-learning-v2/config.json +8 -0
- package/resources/local/ecc/skills/continuous-learning-v2/hooks/observe.sh +492 -0
- package/resources/local/ecc/skills/continuous-learning-v2/scripts/detect-project.sh +288 -0
- package/resources/local/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +1519 -0
- package/resources/local/ecc/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -0
- package/resources/local/ecc/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +62 -0
- package/resources/local/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +1018 -0
- package/resources/local/ecc/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/resources/local/ecc/skills/cost-tracking/SKILL.md +147 -0
- package/resources/local/ecc/skills/council/SKILL.md +203 -0
- package/resources/local/ecc/skills/cpp-coding-standards/SKILL.md +723 -0
- package/resources/local/ecc/skills/cpp-testing/SKILL.md +324 -0
- package/resources/local/ecc/skills/crosspost/SKILL.md +111 -0
- package/resources/local/ecc/skills/csharp-testing/SKILL.md +321 -0
- package/resources/local/ecc/skills/customer-billing-ops/SKILL.md +140 -0
- package/resources/local/ecc/skills/customs-trade-compliance/SKILL.md +263 -0
- package/resources/local/ecc/skills/dart-flutter-patterns/SKILL.md +563 -0
- package/resources/local/ecc/skills/dashboard-builder/SKILL.md +108 -0
- package/resources/local/ecc/skills/data-scraper-agent/SKILL.md +764 -0
- package/resources/local/ecc/skills/database-migrations/SKILL.md +429 -0
- package/resources/local/ecc/skills/deep-research/SKILL.md +159 -0
- package/resources/local/ecc/skills/defi-amm-security/SKILL.md +166 -0
- package/resources/local/ecc/skills/deployment-patterns/SKILL.md +427 -0
- package/resources/local/ecc/skills/design-system/SKILL.md +82 -0
- package/resources/local/ecc/skills/django-celery/SKILL.md +457 -0
- package/resources/local/ecc/skills/django-patterns/SKILL.md +734 -0
- package/resources/local/ecc/skills/django-security/SKILL.md +593 -0
- package/resources/local/ecc/skills/django-tdd/SKILL.md +729 -0
- package/resources/local/ecc/skills/django-verification/SKILL.md +469 -0
- package/resources/local/ecc/skills/dmux-workflows/SKILL.md +191 -0
- package/resources/local/ecc/skills/docker-patterns/SKILL.md +364 -0
- package/resources/local/ecc/skills/documentation-lookup/SKILL.md +90 -0
- package/resources/local/ecc/skills/dotnet-patterns/SKILL.md +321 -0
- package/resources/local/ecc/skills/e2e-testing/SKILL.md +326 -0
- package/resources/local/ecc/skills/ecc-guide/SKILL.md +189 -0
- package/resources/local/ecc/skills/ecc-tools-cost-audit/SKILL.md +160 -0
- package/resources/local/ecc/skills/email-ops/SKILL.md +121 -0
- package/resources/local/ecc/skills/energy-procurement/SKILL.md +228 -0
- package/resources/local/ecc/skills/enterprise-agent-ops/SKILL.md +50 -0
- package/resources/local/ecc/skills/error-handling/SKILL.md +376 -0
- package/resources/local/ecc/skills/eval-harness/SKILL.md +270 -0
- package/resources/local/ecc/skills/evm-token-decimals/SKILL.md +130 -0
- package/resources/local/ecc/skills/exa-search/SKILL.md +107 -0
- package/resources/local/ecc/skills/fal-ai-media/SKILL.md +288 -0
- package/resources/local/ecc/skills/fastapi-patterns/SKILL.md +327 -0
- package/resources/local/ecc/skills/finance-billing-ops/SKILL.md +127 -0
- package/resources/local/ecc/skills/flox-environments/SKILL.md +496 -0
- package/resources/local/ecc/skills/flutter-dart-code-review/SKILL.md +435 -0
- package/resources/local/ecc/skills/foundation-models-on-device/SKILL.md +243 -0
- package/resources/local/ecc/skills/frontend-design-direction/SKILL.md +92 -0
- package/resources/local/ecc/skills/frontend-patterns/SKILL.md +642 -0
- package/resources/local/ecc/skills/frontend-slides/SKILL.md +184 -0
- package/resources/local/ecc/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/resources/local/ecc/skills/frontend-slides/animation-patterns.md +122 -0
- package/resources/local/ecc/skills/frontend-slides/html-template.md +419 -0
- package/resources/local/ecc/skills/frontend-slides/scripts/export-pdf.sh +418 -0
- package/resources/local/ecc/skills/frontend-slides/scripts/extract-pptx.py +96 -0
- package/resources/local/ecc/skills/frontend-slides/viewport-base.css +153 -0
- package/resources/local/ecc/skills/fsharp-testing/SKILL.md +280 -0
- package/resources/local/ecc/skills/gan-style-harness/SKILL.md +278 -0
- package/resources/local/ecc/skills/gateguard/SKILL.md +125 -0
- package/resources/local/ecc/skills/git-workflow/SKILL.md +715 -0
- package/resources/local/ecc/skills/github-ops/SKILL.md +144 -0
- package/resources/local/ecc/skills/golang-patterns/SKILL.md +674 -0
- package/resources/local/ecc/skills/golang-testing/SKILL.md +720 -0
- package/resources/local/ecc/skills/google-workspace-ops/SKILL.md +95 -0
- package/resources/local/ecc/skills/healthcare-cdss-patterns/SKILL.md +245 -0
- package/resources/local/ecc/skills/healthcare-emr-patterns/SKILL.md +159 -0
- package/resources/local/ecc/skills/healthcare-eval-harness/SKILL.md +207 -0
- package/resources/local/ecc/skills/healthcare-phi-compliance/SKILL.md +145 -0
- package/resources/local/ecc/skills/hermes-imports/SKILL.md +88 -0
- package/resources/local/ecc/skills/hexagonal-architecture/SKILL.md +276 -0
- package/resources/local/ecc/skills/hipaa-compliance/SKILL.md +78 -0
- package/resources/local/ecc/skills/homelab-network-readiness/SKILL.md +169 -0
- package/resources/local/ecc/skills/homelab-network-setup/SKILL.md +129 -0
- package/resources/local/ecc/skills/homelab-pihole-dns/SKILL.md +274 -0
- package/resources/local/ecc/skills/homelab-vlan-segmentation/SKILL.md +311 -0
- package/resources/local/ecc/skills/homelab-wireguard-vpn/SKILL.md +305 -0
- package/resources/local/ecc/skills/hookify-rules/SKILL.md +128 -0
- package/resources/local/ecc/skills/inventory-demand-planning/SKILL.md +247 -0
- package/resources/local/ecc/skills/investor-materials/SKILL.md +96 -0
- package/resources/local/ecc/skills/investor-outreach/SKILL.md +91 -0
- package/resources/local/ecc/skills/ios-icon-gen/SKILL.md +157 -0
- package/resources/local/ecc/skills/ios-icon-gen/scripts/generate_icons.swift +258 -0
- package/resources/local/ecc/skills/ios-icon-gen/scripts/iconify_gen.sh +235 -0
- package/resources/local/ecc/skills/iterative-retrieval/SKILL.md +211 -0
- package/resources/local/ecc/skills/java-coding-standards/SKILL.md +383 -0
- package/resources/local/ecc/skills/jira-integration/SKILL.md +293 -0
- package/resources/local/ecc/skills/jpa-patterns/SKILL.md +151 -0
- package/resources/local/ecc/skills/knowledge-ops/SKILL.md +154 -0
- package/resources/local/ecc/skills/kotlin-coroutines-flows/SKILL.md +284 -0
- package/resources/local/ecc/skills/kotlin-exposed-patterns/SKILL.md +719 -0
- package/resources/local/ecc/skills/kotlin-ktor-patterns/SKILL.md +689 -0
- package/resources/local/ecc/skills/kotlin-patterns/SKILL.md +711 -0
- package/resources/local/ecc/skills/kotlin-testing/SKILL.md +824 -0
- package/resources/local/ecc/skills/laravel-patterns/SKILL.md +415 -0
- package/resources/local/ecc/skills/laravel-plugin-discovery/SKILL.md +229 -0
- package/resources/local/ecc/skills/laravel-security/SKILL.md +285 -0
- package/resources/local/ecc/skills/laravel-tdd/SKILL.md +283 -0
- package/resources/local/ecc/skills/laravel-verification/SKILL.md +179 -0
- package/resources/local/ecc/skills/lead-intelligence/SKILL.md +321 -0
- package/resources/local/ecc/skills/lead-intelligence/agents/enrichment-agent.md +85 -0
- package/resources/local/ecc/skills/lead-intelligence/agents/mutual-mapper.md +75 -0
- package/resources/local/ecc/skills/lead-intelligence/agents/outreach-drafter.md +98 -0
- package/resources/local/ecc/skills/lead-intelligence/agents/signal-scorer.md +60 -0
- package/resources/local/ecc/skills/liquid-glass-design/SKILL.md +279 -0
- package/resources/local/ecc/skills/llm-trading-agent-security/SKILL.md +146 -0
- package/resources/local/ecc/skills/logistics-exception-management/SKILL.md +222 -0
- package/resources/local/ecc/skills/make-interfaces-feel-better/SKILL.md +151 -0
- package/resources/local/ecc/skills/manim-video/SKILL.md +89 -0
- package/resources/local/ecc/skills/manim-video/assets/network_graph_scene.py +52 -0
- package/resources/local/ecc/skills/market-research/SKILL.md +75 -0
- package/resources/local/ecc/skills/mcp-server-patterns/SKILL.md +69 -0
- package/resources/local/ecc/skills/messages-ops/SKILL.md +104 -0
- package/resources/local/ecc/skills/mle-workflow/SKILL.md +346 -0
- package/resources/local/ecc/skills/motion-advanced/SKILL.md +596 -0
- package/resources/local/ecc/skills/motion-foundations/SKILL.md +299 -0
- package/resources/local/ecc/skills/motion-patterns/SKILL.md +435 -0
- package/resources/local/ecc/skills/motion-ui/SKILL.md +575 -0
- package/resources/local/ecc/skills/mysql-patterns/SKILL.md +412 -0
- package/resources/local/ecc/skills/nanoclaw-repl/SKILL.md +33 -0
- package/resources/local/ecc/skills/nestjs-patterns/SKILL.md +230 -0
- package/resources/local/ecc/skills/netmiko-ssh-automation/SKILL.md +173 -0
- package/resources/local/ecc/skills/network-bgp-diagnostics/SKILL.md +167 -0
- package/resources/local/ecc/skills/network-config-validation/SKILL.md +210 -0
- package/resources/local/ecc/skills/network-interface-health/SKILL.md +152 -0
- package/resources/local/ecc/skills/nextjs-turbopack/SKILL.md +44 -0
- package/resources/local/ecc/skills/nodejs-keccak256/SKILL.md +102 -0
- package/resources/local/ecc/skills/nutrient-document-processing/SKILL.md +167 -0
- package/resources/local/ecc/skills/nuxt4-patterns/SKILL.md +100 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/SKILL.md +288 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/gacha.py +224 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/gacha.sh +5 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/references/avatar-style.md +124 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/references/boundary-rules.md +53 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/references/error-handling.md +53 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/references/identity-tension.md +48 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/references/naming-system.md +39 -0
- package/resources/local/ecc/skills/openclaw-persona-forge/references/output-template.md +166 -0
- package/resources/local/ecc/skills/opensource-pipeline/SKILL.md +255 -0
- package/resources/local/ecc/skills/perl-patterns/SKILL.md +504 -0
- package/resources/local/ecc/skills/perl-security/SKILL.md +503 -0
- package/resources/local/ecc/skills/perl-testing/SKILL.md +475 -0
- package/resources/local/ecc/skills/plan-orchestrate/SKILL.md +262 -0
- package/resources/local/ecc/skills/plankton-code-quality/SKILL.md +236 -0
- package/resources/local/ecc/skills/postgres-patterns/SKILL.md +147 -0
- package/resources/local/ecc/skills/prisma-patterns/SKILL.md +371 -0
- package/resources/local/ecc/skills/product-capability/SKILL.md +141 -0
- package/resources/local/ecc/skills/product-lens/SKILL.md +92 -0
- package/resources/local/ecc/skills/production-audit/SKILL.md +206 -0
- package/resources/local/ecc/skills/production-scheduling/SKILL.md +238 -0
- package/resources/local/ecc/skills/project-flow-ops/SKILL.md +111 -0
- package/resources/local/ecc/skills/prompt-optimizer/SKILL.md +398 -0
- package/resources/local/ecc/skills/python-patterns/SKILL.md +750 -0
- package/resources/local/ecc/skills/python-testing/SKILL.md +816 -0
- package/resources/local/ecc/skills/pytorch-patterns/SKILL.md +396 -0
- package/resources/local/ecc/skills/quality-nonconformance/SKILL.md +260 -0
- package/resources/local/ecc/skills/quarkus-patterns/SKILL.md +722 -0
- package/resources/local/ecc/skills/quarkus-security/SKILL.md +467 -0
- package/resources/local/ecc/skills/quarkus-tdd/SKILL.md +811 -0
- package/resources/local/ecc/skills/quarkus-verification/SKILL.md +479 -0
- package/resources/local/ecc/skills/ralphinho-rfc-pipeline/SKILL.md +67 -0
- package/resources/local/ecc/skills/recsys-pipeline-architect/SKILL.md +114 -0
- package/resources/local/ecc/skills/redis-patterns/SKILL.md +403 -0
- package/resources/local/ecc/skills/regex-vs-llm-structured-text/SKILL.md +220 -0
- package/resources/local/ecc/skills/remotion-video-creation/SKILL.md +43 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/3d.md +86 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/animations.md +29 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +173 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +100 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/assets.md +78 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/audio.md +172 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/calculate-metadata.md +104 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/can-decode.md +75 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/charts.md +58 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/compositions.md +146 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/display-captions.md +126 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/extract-frames.md +229 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/fonts.md +152 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/get-audio-duration.md +58 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/get-video-dimensions.md +68 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/get-video-duration.md +58 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/gifs.md +138 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/images.md +130 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/import-srt-captions.md +67 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/lottie.md +67 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/measuring-dom-nodes.md +34 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/measuring-text.md +143 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/sequencing.md +106 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/tailwind.md +11 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/text-animations.md +20 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/timing.md +179 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/transcribe-captions.md +19 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/transitions.md +122 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/trimming.md +52 -0
- package/resources/local/ecc/skills/remotion-video-creation/rules/videos.md +171 -0
- package/resources/local/ecc/skills/repo-scan/SKILL.md +78 -0
- package/resources/local/ecc/skills/research-ops/SKILL.md +112 -0
- package/resources/local/ecc/skills/returns-reverse-logistics/SKILL.md +240 -0
- package/resources/local/ecc/skills/rules-distill/SKILL.md +264 -0
- package/resources/local/ecc/skills/rules-distill/scripts/scan-rules.sh +58 -0
- package/resources/local/ecc/skills/rules-distill/scripts/scan-skills.sh +129 -0
- package/resources/local/ecc/skills/rust-patterns/SKILL.md +499 -0
- package/resources/local/ecc/skills/rust-testing/SKILL.md +500 -0
- package/resources/local/ecc/skills/safety-guard/SKILL.md +75 -0
- package/resources/local/ecc/skills/santa-method/SKILL.md +306 -0
- package/resources/local/ecc/skills/scientific-db-pubmed-database/SKILL.md +175 -0
- package/resources/local/ecc/skills/scientific-db-uspto-database/SKILL.md +177 -0
- package/resources/local/ecc/skills/scientific-pkg-gget/SKILL.md +166 -0
- package/resources/local/ecc/skills/scientific-thinking-literature-review/SKILL.md +192 -0
- package/resources/local/ecc/skills/scientific-thinking-scholar-evaluation/SKILL.md +160 -0
- package/resources/local/ecc/skills/search-first/SKILL.md +182 -0
- package/resources/local/ecc/skills/security-bounty-hunter/SKILL.md +99 -0
- package/resources/local/ecc/skills/security-review/SKILL.md +503 -0
- package/resources/local/ecc/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/resources/local/ecc/skills/security-scan/SKILL.md +165 -0
- package/resources/local/ecc/skills/seo/SKILL.md +154 -0
- package/resources/local/ecc/skills/skill-comply/SKILL.md +58 -0
- package/resources/local/ecc/skills/skill-comply/fixtures/compliant_trace.jsonl +5 -0
- package/resources/local/ecc/skills/skill-comply/fixtures/noncompliant_trace.jsonl +3 -0
- package/resources/local/ecc/skills/skill-comply/fixtures/tdd_spec.yaml +44 -0
- package/resources/local/ecc/skills/skill-comply/prompts/classifier.md +24 -0
- package/resources/local/ecc/skills/skill-comply/prompts/scenario_generator.md +62 -0
- package/resources/local/ecc/skills/skill-comply/prompts/spec_generator.md +42 -0
- package/resources/local/ecc/skills/skill-comply/pyproject.toml +15 -0
- package/resources/local/ecc/skills/skill-comply/scripts/__init__.py +0 -0
- package/resources/local/ecc/skills/skill-comply/scripts/classifier.py +85 -0
- package/resources/local/ecc/skills/skill-comply/scripts/grader.py +124 -0
- package/resources/local/ecc/skills/skill-comply/scripts/parser.py +107 -0
- package/resources/local/ecc/skills/skill-comply/scripts/report.py +170 -0
- package/resources/local/ecc/skills/skill-comply/scripts/run.py +127 -0
- package/resources/local/ecc/skills/skill-comply/scripts/runner.py +186 -0
- package/resources/local/ecc/skills/skill-comply/scripts/scenario_generator.py +70 -0
- package/resources/local/ecc/skills/skill-comply/scripts/spec_generator.py +72 -0
- package/resources/local/ecc/skills/skill-comply/scripts/utils.py +13 -0
- package/resources/local/ecc/skills/skill-comply/tests/test_grader.py +197 -0
- package/resources/local/ecc/skills/skill-comply/tests/test_parser.py +90 -0
- package/resources/local/ecc/skills/skill-comply/tests/test_runner.py +172 -0
- package/resources/local/ecc/skills/skill-scout/SKILL.md +140 -0
- package/resources/local/ecc/skills/skill-stocktake/SKILL.md +194 -0
- package/resources/local/ecc/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
- package/resources/local/ecc/skills/skill-stocktake/scripts/save-results.sh +56 -0
- package/resources/local/ecc/skills/skill-stocktake/scripts/scan.sh +170 -0
- package/resources/local/ecc/skills/social-graph-ranker/SKILL.md +154 -0
- package/resources/local/ecc/skills/springboot-patterns/SKILL.md +314 -0
- package/resources/local/ecc/skills/springboot-security/SKILL.md +272 -0
- package/resources/local/ecc/skills/springboot-tdd/SKILL.md +158 -0
- package/resources/local/ecc/skills/springboot-verification/SKILL.md +231 -0
- package/resources/local/ecc/skills/strategic-compact/SKILL.md +131 -0
- package/resources/local/ecc/skills/swift-actor-persistence/SKILL.md +143 -0
- package/resources/local/ecc/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/resources/local/ecc/skills/swift-protocol-di-testing/SKILL.md +190 -0
- package/resources/local/ecc/skills/swiftui-patterns/SKILL.md +259 -0
- package/resources/local/ecc/skills/tdd-workflow/SKILL.md +463 -0
- package/resources/local/ecc/skills/team-builder/SKILL.md +168 -0
- package/resources/local/ecc/skills/terminal-ops/SKILL.md +109 -0
- package/resources/local/ecc/skills/tinystruct-patterns/SKILL.md +203 -0
- package/resources/local/ecc/skills/tinystruct-patterns/references/architecture.md +90 -0
- package/resources/local/ecc/skills/tinystruct-patterns/references/data-handling.md +60 -0
- package/resources/local/ecc/skills/tinystruct-patterns/references/database.md +99 -0
- package/resources/local/ecc/skills/tinystruct-patterns/references/routing.md +64 -0
- package/resources/local/ecc/skills/tinystruct-patterns/references/system-usage.md +97 -0
- package/resources/local/ecc/skills/tinystruct-patterns/references/testing.md +72 -0
- package/resources/local/ecc/skills/token-budget-advisor/SKILL.md +133 -0
- package/resources/local/ecc/skills/ui-demo/SKILL.md +465 -0
- package/resources/local/ecc/skills/ui-to-vue/SKILL.md +134 -0
- package/resources/local/ecc/skills/uncloud/SKILL.md +343 -0
- package/resources/local/ecc/skills/unified-notifications-ops/SKILL.md +187 -0
- package/resources/local/ecc/skills/verification-loop/SKILL.md +126 -0
- package/resources/local/ecc/skills/video-editing/SKILL.md +310 -0
- package/resources/local/ecc/skills/videodb/SKILL.md +374 -0
- package/resources/local/ecc/skills/videodb/reference/api-reference.md +550 -0
- package/resources/local/ecc/skills/videodb/reference/capture-reference.md +407 -0
- package/resources/local/ecc/skills/videodb/reference/capture.md +101 -0
- package/resources/local/ecc/skills/videodb/reference/editor.md +443 -0
- package/resources/local/ecc/skills/videodb/reference/generative.md +331 -0
- package/resources/local/ecc/skills/videodb/reference/rtstream-reference.md +564 -0
- package/resources/local/ecc/skills/videodb/reference/rtstream.md +65 -0
- package/resources/local/ecc/skills/videodb/reference/search.md +230 -0
- package/resources/local/ecc/skills/videodb/reference/streaming.md +406 -0
- package/resources/local/ecc/skills/videodb/reference/use-cases.md +118 -0
- package/resources/local/ecc/skills/videodb/scripts/ws_listener.py +282 -0
- package/resources/local/ecc/skills/visa-doc-translate/README.md +86 -0
- package/resources/local/ecc/skills/visa-doc-translate/SKILL.md +117 -0
- package/resources/local/ecc/skills/vite-patterns/SKILL.md +449 -0
- package/resources/local/ecc/skills/windows-desktop-e2e/SKILL.md +887 -0
- package/resources/local/ecc/skills/workspace-surface-audit/SKILL.md +125 -0
- package/resources/local/ecc/skills/x-api/SKILL.md +234 -0
- package/resources/local/ecc/src/llm/__init__.py +33 -0
- package/resources/local/ecc/src/llm/__main__.py +7 -0
- package/resources/local/ecc/src/llm/cli/__init__.py +0 -0
- package/resources/local/ecc/src/llm/cli/selector.py +154 -0
- package/resources/local/ecc/src/llm/core/__init__.py +1 -0
- package/resources/local/ecc/src/llm/core/interface.py +60 -0
- package/resources/local/ecc/src/llm/core/types.py +166 -0
- package/resources/local/ecc/src/llm/prompt/__init__.py +23 -0
- package/resources/local/ecc/src/llm/prompt/builder.py +125 -0
- package/resources/local/ecc/src/llm/prompt/templates/__init__.py +41 -0
- package/resources/local/ecc/src/llm/providers/__init__.py +17 -0
- package/resources/local/ecc/src/llm/providers/astraflow.py +151 -0
- package/resources/local/ecc/src/llm/providers/claude.py +117 -0
- package/resources/local/ecc/src/llm/providers/constants.py +3 -0
- package/resources/local/ecc/src/llm/providers/ollama.py +112 -0
- package/resources/local/ecc/src/llm/providers/openai.py +125 -0
- package/resources/local/ecc/src/llm/providers/resolver.py +78 -0
- package/resources/local/ecc/src/llm/tools/__init__.py +9 -0
- package/resources/local/ecc/src/llm/tools/executor.py +116 -0
- package/resources/local/ecc/tests/__init__.py +0 -0
- package/resources/local/ecc/tests/ci/agent-instruction-safety.test.js +98 -0
- package/resources/local/ecc/tests/ci/agent-yaml-surface.test.js +131 -0
- package/resources/local/ecc/tests/ci/catalog.test.js +294 -0
- package/resources/local/ecc/tests/ci/code-reviewer-false-positive-guard.test.js +82 -0
- package/resources/local/ecc/tests/ci/codex-skill-surface.test.js +125 -0
- package/resources/local/ecc/tests/ci/command-registry.test.js +176 -0
- package/resources/local/ecc/tests/ci/mle-workflow-coverage.test.js +223 -0
- package/resources/local/ecc/tests/ci/no-personal-paths.test.js +211 -0
- package/resources/local/ecc/tests/ci/scan-supply-chain-iocs.test.js +447 -0
- package/resources/local/ecc/tests/ci/supply-chain-advisory-sources.test.js +290 -0
- package/resources/local/ecc/tests/ci/supply-chain-watch-workflow.test.js +77 -0
- package/resources/local/ecc/tests/ci/validate-workflow-security.test.js +289 -0
- package/resources/local/ecc/tests/ci/validators.test.js +3139 -0
- package/resources/local/ecc/tests/codex-config.test.js +117 -0
- package/resources/local/ecc/tests/commands/command-frontmatter.test.js +61 -0
- package/resources/local/ecc/tests/commands/plan-command.test.js +76 -0
- package/resources/local/ecc/tests/conftest.py +10 -0
- package/resources/local/ecc/tests/docs/canary-watch.test.js +45 -0
- package/resources/local/ecc/tests/docs/configure-ecc-install-paths.test.js +69 -0
- package/resources/local/ecc/tests/docs/continuous-learning-v2-docs.test.js +64 -0
- package/resources/local/ecc/tests/docs/copilot-support.test.js +110 -0
- package/resources/local/ecc/tests/docs/ecc2-release-surface.test.js +374 -0
- package/resources/local/ecc/tests/docs/evaluator-rag-prototype.test.js +417 -0
- package/resources/local/ecc/tests/docs/harness-adapter-compliance.test.js +154 -0
- package/resources/local/ecc/tests/docs/install-identifiers.test.js +104 -0
- package/resources/local/ecc/tests/docs/legacy-artifact-inventory.test.js +155 -0
- package/resources/local/ecc/tests/docs/mcp-management-docs.test.js +77 -0
- package/resources/local/ecc/tests/docs/stale-pr-salvage-ledger.test.js +158 -0
- package/resources/local/ecc/tests/hooks/auto-tmux-dev.test.js +145 -0
- package/resources/local/ecc/tests/hooks/bash-hook-dispatcher.test.js +114 -0
- package/resources/local/ecc/tests/hooks/block-no-verify.test.js +203 -0
- package/resources/local/ecc/tests/hooks/check-hook-enabled.test.js +108 -0
- package/resources/local/ecc/tests/hooks/config-protection.test.js +322 -0
- package/resources/local/ecc/tests/hooks/continuous-learning-observe-runner.test.js +194 -0
- package/resources/local/ecc/tests/hooks/cost-tracker.test.js +222 -0
- package/resources/local/ecc/tests/hooks/design-quality-check.test.js +82 -0
- package/resources/local/ecc/tests/hooks/detect-project-worktree.test.js +260 -0
- package/resources/local/ecc/tests/hooks/doc-file-warning.test.js +215 -0
- package/resources/local/ecc/tests/hooks/ecc-context-monitor.test.js +301 -0
- package/resources/local/ecc/tests/hooks/ecc-metrics-bridge.test.js +430 -0
- package/resources/local/ecc/tests/hooks/ecc-statusline.test.js +213 -0
- package/resources/local/ecc/tests/hooks/evaluate-session.test.js +419 -0
- package/resources/local/ecc/tests/hooks/gateguard-fact-force.test.js +1407 -0
- package/resources/local/ecc/tests/hooks/governance-capture.test.js +360 -0
- package/resources/local/ecc/tests/hooks/hook-flags.test.js +397 -0
- package/resources/local/ecc/tests/hooks/hooks.test.js +6041 -0
- package/resources/local/ecc/tests/hooks/insaits-security-monitor.test.js +219 -0
- package/resources/local/ecc/tests/hooks/insaits-security-wrapper.test.js +199 -0
- package/resources/local/ecc/tests/hooks/mcp-health-check.test.js +1131 -0
- package/resources/local/ecc/tests/hooks/observe-subdirectory-detection.test.js +279 -0
- package/resources/local/ecc/tests/hooks/observer-memory.test.js +475 -0
- package/resources/local/ecc/tests/hooks/plugin-hook-bootstrap.test.js +254 -0
- package/resources/local/ecc/tests/hooks/post-bash-hooks.test.js +207 -0
- package/resources/local/ecc/tests/hooks/pre-bash-commit-quality.test.js +293 -0
- package/resources/local/ecc/tests/hooks/pre-bash-dev-server-block.test.js +225 -0
- package/resources/local/ecc/tests/hooks/pre-bash-reminders.test.js +104 -0
- package/resources/local/ecc/tests/hooks/quality-gate.test.js +159 -0
- package/resources/local/ecc/tests/hooks/session-activity-tracker.test.js +668 -0
- package/resources/local/ecc/tests/hooks/stop-format-typecheck.test.js +248 -0
- package/resources/local/ecc/tests/hooks/suggest-compact.test.js +460 -0
- package/resources/local/ecc/tests/hooks/test_insaits_security_monitor.py +272 -0
- package/resources/local/ecc/tests/integration/hooks.test.js +1018 -0
- package/resources/local/ecc/tests/lib/agent-compress.test.js +271 -0
- package/resources/local/ecc/tests/lib/changed-files-store.test.js +163 -0
- package/resources/local/ecc/tests/lib/command-plugin-root.test.js +48 -0
- package/resources/local/ecc/tests/lib/cost-estimate.test.js +114 -0
- package/resources/local/ecc/tests/lib/inspection.test.js +232 -0
- package/resources/local/ecc/tests/lib/install-config.test.js +144 -0
- package/resources/local/ecc/tests/lib/install-executor.test.js +435 -0
- package/resources/local/ecc/tests/lib/install-lifecycle.test.js +1608 -0
- package/resources/local/ecc/tests/lib/install-manifests.test.js +882 -0
- package/resources/local/ecc/tests/lib/install-request.test.js +249 -0
- package/resources/local/ecc/tests/lib/install-state.test.js +234 -0
- package/resources/local/ecc/tests/lib/install-targets.test.js +872 -0
- package/resources/local/ecc/tests/lib/locale-install.test.js +172 -0
- package/resources/local/ecc/tests/lib/mcp-config.test.js +62 -0
- package/resources/local/ecc/tests/lib/observer-sessions.test.js +134 -0
- package/resources/local/ecc/tests/lib/orchestration-session.test.js +225 -0
- package/resources/local/ecc/tests/lib/package-manager.test.js +1698 -0
- package/resources/local/ecc/tests/lib/project-detect.test.js +447 -0
- package/resources/local/ecc/tests/lib/resolve-ecc-root.test.js +351 -0
- package/resources/local/ecc/tests/lib/resolve-formatter.test.js +277 -0
- package/resources/local/ecc/tests/lib/selective-install.test.js +836 -0
- package/resources/local/ecc/tests/lib/session-adapters.test.js +970 -0
- package/resources/local/ecc/tests/lib/session-aliases.test.js +1830 -0
- package/resources/local/ecc/tests/lib/session-bridge.test.js +174 -0
- package/resources/local/ecc/tests/lib/session-manager.test.js +2650 -0
- package/resources/local/ecc/tests/lib/shell-split.test.js +114 -0
- package/resources/local/ecc/tests/lib/skill-dashboard.test.js +574 -0
- package/resources/local/ecc/tests/lib/skill-evolution.test.js +656 -0
- package/resources/local/ecc/tests/lib/skill-improvement.test.js +186 -0
- package/resources/local/ecc/tests/lib/state-store.test.js +1002 -0
- package/resources/local/ecc/tests/lib/tmux-worktree-orchestrator.test.js +423 -0
- package/resources/local/ecc/tests/lib/utils.test.js +2648 -0
- package/resources/local/ecc/tests/opencode-config.test.js +103 -0
- package/resources/local/ecc/tests/opencode-plugin-hooks.test.js +183 -0
- package/resources/local/ecc/tests/plugin-manifest.test.js +545 -0
- package/resources/local/ecc/tests/run-all.js +118 -0
- package/resources/local/ecc/tests/scripts/auto-update.test.js +395 -0
- package/resources/local/ecc/tests/scripts/build-opencode.test.js +123 -0
- package/resources/local/ecc/tests/scripts/catalog.test.js +104 -0
- package/resources/local/ecc/tests/scripts/check-unicode-safety.test.js +203 -0
- package/resources/local/ecc/tests/scripts/claw.test.js +325 -0
- package/resources/local/ecc/tests/scripts/codex-hooks.test.js +508 -0
- package/resources/local/ecc/tests/scripts/consult.test.js +194 -0
- package/resources/local/ecc/tests/scripts/discussion-audit.test.js +302 -0
- package/resources/local/ecc/tests/scripts/doctor.test.js +190 -0
- package/resources/local/ecc/tests/scripts/ecc-dashboard.test.js +142 -0
- package/resources/local/ecc/tests/scripts/ecc.test.js +258 -0
- package/resources/local/ecc/tests/scripts/gemini-adapt-agents.test.js +136 -0
- package/resources/local/ecc/tests/scripts/harness-audit.test.js +477 -0
- package/resources/local/ecc/tests/scripts/install-apply.test.js +904 -0
- package/resources/local/ecc/tests/scripts/install-plan.test.js +194 -0
- package/resources/local/ecc/tests/scripts/install-ps1.test.js +128 -0
- package/resources/local/ecc/tests/scripts/install-readme-clarity.test.js +170 -0
- package/resources/local/ecc/tests/scripts/install-sh.test.js +102 -0
- package/resources/local/ecc/tests/scripts/list-installed.test.js +139 -0
- package/resources/local/ecc/tests/scripts/loop-status.test.js +749 -0
- package/resources/local/ecc/tests/scripts/manual-hook-install-docs.test.js +71 -0
- package/resources/local/ecc/tests/scripts/npm-publish-surface.test.js +188 -0
- package/resources/local/ecc/tests/scripts/observability-readiness.test.js +331 -0
- package/resources/local/ecc/tests/scripts/openclaw-persona-forge-gacha.test.js +92 -0
- package/resources/local/ecc/tests/scripts/operator-readiness-dashboard.test.js +640 -0
- package/resources/local/ecc/tests/scripts/orchestrate-codex-worker.test.js +63 -0
- package/resources/local/ecc/tests/scripts/orchestration-status.test.js +76 -0
- package/resources/local/ecc/tests/scripts/platform-audit.test.js +432 -0
- package/resources/local/ecc/tests/scripts/post-bash-command-log.test.js +105 -0
- package/resources/local/ecc/tests/scripts/preview-pack-smoke.test.js +260 -0
- package/resources/local/ecc/tests/scripts/release-publish.test.js +79 -0
- package/resources/local/ecc/tests/scripts/release.test.js +150 -0
- package/resources/local/ecc/tests/scripts/repair.test.js +326 -0
- package/resources/local/ecc/tests/scripts/session-inspect.test.js +300 -0
- package/resources/local/ecc/tests/scripts/setup-package-manager.test.js +397 -0
- package/resources/local/ecc/tests/scripts/skill-create-output.test.js +533 -0
- package/resources/local/ecc/tests/scripts/sync-ecc-to-codex.test.js +90 -0
- package/resources/local/ecc/tests/scripts/trae-install.test.js +179 -0
- package/resources/local/ecc/tests/scripts/uninstall.test.js +287 -0
- package/resources/local/ecc/tests/test_astraflow_provider.py +141 -0
- package/resources/local/ecc/tests/test_builder.py +84 -0
- package/resources/local/ecc/tests/test_claude_provider.py +111 -0
- package/resources/local/ecc/tests/test_executor.py +86 -0
- package/resources/local/ecc/tests/test_provider_tools.py +130 -0
- package/resources/local/ecc/tests/test_resolver.py +88 -0
- package/resources/local/ecc/tests/test_templates.py +71 -0
- package/resources/local/ecc/tests/test_types.py +150 -0
- package/resources/local/ecc/the-longform-guide.md +354 -0
- package/resources/local/ecc/the-security-guide.md +455 -0
- package/resources/local/ecc/the-shortform-guide.md +431 -0
- package/resources/local/ecc/yarn.lock +2259 -0
- package/resources/local/manifest.json +12 -0
- package/resources/local/page-agent/.agents/skills/git-cleanup/SKILL.md +64 -0
- package/resources/local/page-agent/.agents/skills/pre-impl-discussion/SKILL.md +104 -0
- package/resources/local/page-agent/.agents/skills/submit-pr-from-current-changes/SKILL.md +102 -0
- package/resources/local/page-agent/.agents/skills/update-changelog/SKILL.md +109 -0
- package/resources/local/page-agent/.github/ISSUE_TEMPLATE/bug_report.yml +59 -0
- package/resources/local/page-agent/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/resources/local/page-agent/.github/ISSUE_TEMPLATE/feature_request.yml +42 -0
- package/resources/local/page-agent/.github/PULL_REQUEST_TEMPLATE.md +24 -0
- package/resources/local/page-agent/.github/dependabot.yml +39 -0
- package/resources/local/page-agent/.github/workflows/ci.yml +33 -0
- package/resources/local/page-agent/.github/workflows/deploy-demo.yml +40 -0
- package/resources/local/page-agent/.github/workflows/release.yml +43 -0
- package/resources/local/page-agent/.prettierignore +8 -0
- package/resources/local/page-agent/.vscode/extensions.json +3 -0
- package/resources/local/page-agent/.vscode/settings.json +43 -0
- package/resources/local/page-agent/AGENTS.md +135 -0
- package/resources/local/page-agent/CLAUDE.md +1 -0
- package/resources/local/page-agent/CONTRIBUTING.md +47 -0
- package/resources/local/page-agent/LICENSE +22 -0
- package/resources/local/page-agent/README.md +121 -0
- package/resources/local/page-agent/WINTER.md +101 -0
- package/resources/local/page-agent/docs/CHANGELOG.md +250 -0
- package/resources/local/page-agent/docs/CODE_OF_CONDUCT.md +127 -0
- package/resources/local/page-agent/docs/README-zh.md +110 -0
- package/resources/local/page-agent/docs/SECURITY.md +50 -0
- package/resources/local/page-agent/docs/developer-guide.md +105 -0
- package/resources/local/page-agent/docs/terms-and-privacy.md +85 -0
- package/resources/local/page-agent/eslint.config.js +62 -0
- package/resources/local/page-agent/package-lock.json +11184 -0
- package/resources/local/page-agent/package.json +129 -0
- package/resources/local/page-agent/packages/core/package.json +66 -0
- package/resources/local/page-agent/packages/core/src/PageAgentCore.ts +641 -0
- package/resources/local/page-agent/packages/core/src/env.d.ts +6 -0
- package/resources/local/page-agent/packages/core/src/prompts/system_prompt.md +153 -0
- package/resources/local/page-agent/packages/core/src/tools/index.ts +190 -0
- package/resources/local/page-agent/packages/core/src/types.ts +289 -0
- package/resources/local/page-agent/packages/core/src/utils/autoFixer.ts +216 -0
- package/resources/local/page-agent/packages/core/src/utils/index.ts +111 -0
- package/resources/local/page-agent/packages/core/tsconfig.json +8 -0
- package/resources/local/page-agent/packages/core/vite.config.js +50 -0
- package/resources/local/page-agent/packages/extension/PRIVACY.md +5 -0
- package/resources/local/page-agent/packages/extension/components.json +24 -0
- package/resources/local/page-agent/packages/extension/docs/extension_api.md +224 -0
- package/resources/local/page-agent/packages/extension/package.json +51 -0
- package/resources/local/page-agent/packages/extension/public/_locales/en/messages.json +11 -0
- package/resources/local/page-agent/packages/extension/public/_locales/zh_CN/messages.json +11 -0
- package/resources/local/page-agent/packages/extension/public/assets/page-agent-256.webp +0 -0
- package/resources/local/page-agent/packages/extension/public/assets/page-agent-64.png +0 -0
- package/resources/local/page-agent/packages/extension/src/agent/MultiPageAgent.ts +102 -0
- package/resources/local/page-agent/packages/extension/src/agent/RemotePageController.background.ts +42 -0
- package/resources/local/page-agent/packages/extension/src/agent/RemotePageController.content.ts +135 -0
- package/resources/local/page-agent/packages/extension/src/agent/RemotePageController.ts +194 -0
- package/resources/local/page-agent/packages/extension/src/agent/TabsController.background.ts +169 -0
- package/resources/local/page-agent/packages/extension/src/agent/TabsController.ts +421 -0
- package/resources/local/page-agent/packages/extension/src/agent/constants.ts +30 -0
- package/resources/local/page-agent/packages/extension/src/agent/system_prompt.md +145 -0
- package/resources/local/page-agent/packages/extension/src/agent/tabTools.ts +74 -0
- package/resources/local/page-agent/packages/extension/src/agent/useAgent.ts +161 -0
- package/resources/local/page-agent/packages/extension/src/assets/index.css +158 -0
- package/resources/local/page-agent/packages/extension/src/assets/page-agent-64.png +0 -0
- package/resources/local/page-agent/packages/extension/src/components/ConfigPanel.tsx +402 -0
- package/resources/local/page-agent/packages/extension/src/components/ErrorBoundary.tsx +60 -0
- package/resources/local/page-agent/packages/extension/src/components/HistoryDetail.tsx +79 -0
- package/resources/local/page-agent/packages/extension/src/components/HistoryList.tsx +181 -0
- package/resources/local/page-agent/packages/extension/src/components/cards.tsx +387 -0
- package/resources/local/page-agent/packages/extension/src/components/misc.tsx +153 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/button.tsx +60 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/card.tsx +75 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/field.tsx +232 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/hover-card.tsx +36 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/input-group.tsx +157 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/input.tsx +21 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/item.tsx +172 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/label.tsx +19 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/separator.tsx +26 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/sonner.tsx +38 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/spinner.tsx +16 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/switch.tsx +26 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/textarea.tsx +18 -0
- package/resources/local/page-agent/packages/extension/src/components/ui/typing-animation.tsx +164 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/background.ts +63 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/content.ts +164 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/hub/App.tsx +250 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/hub/hub-ws.ts +243 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/hub/index.html +13 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/hub/main.tsx +25 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/main-world.ts +131 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/sidepanel/App.tsx +235 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/sidepanel/index.html +13 -0
- package/resources/local/page-agent/packages/extension/src/entrypoints/sidepanel/main.tsx +26 -0
- package/resources/local/page-agent/packages/extension/src/lib/db.ts +70 -0
- package/resources/local/page-agent/packages/extension/src/lib/history-export.ts +60 -0
- package/resources/local/page-agent/packages/extension/src/lib/utils.ts +6 -0
- package/resources/local/page-agent/packages/extension/src/types/assets.d.ts +25 -0
- package/resources/local/page-agent/packages/extension/src/types/globals.d.ts +1 -0
- package/resources/local/page-agent/packages/extension/src/types/markdown.d.ts +4 -0
- package/resources/local/page-agent/packages/extension/tsconfig.json +13 -0
- package/resources/local/page-agent/packages/extension/wxt.config.js +69 -0
- package/resources/local/page-agent/packages/llms/package.json +58 -0
- package/resources/local/page-agent/packages/llms/src/OpenAIClient.ts +242 -0
- package/resources/local/page-agent/packages/llms/src/constants.ts +3 -0
- package/resources/local/page-agent/packages/llms/src/errors.ts +58 -0
- package/resources/local/page-agent/packages/llms/src/index.ts +114 -0
- package/resources/local/page-agent/packages/llms/src/types.ts +120 -0
- package/resources/local/page-agent/packages/llms/src/utils.ts +152 -0
- package/resources/local/page-agent/packages/llms/tsconfig.json +8 -0
- package/resources/local/page-agent/packages/llms/vite.config.js +43 -0
- package/resources/local/page-agent/packages/mcp/README.md +93 -0
- package/resources/local/page-agent/packages/mcp/package.json +35 -0
- package/resources/local/page-agent/packages/mcp/src/hub-bridge.js +139 -0
- package/resources/local/page-agent/packages/mcp/src/index.js +100 -0
- package/resources/local/page-agent/packages/mcp/src/launcher.html +245 -0
- package/resources/local/page-agent/packages/page-agent/package.json +69 -0
- package/resources/local/page-agent/packages/page-agent/src/PageAgent.ts +29 -0
- package/resources/local/page-agent/packages/page-agent/src/demo.ts +55 -0
- package/resources/local/page-agent/packages/page-agent/src/env.d.ts +9 -0
- package/resources/local/page-agent/packages/page-agent/tsconfig.json +8 -0
- package/resources/local/page-agent/packages/page-agent/vite.config.js +50 -0
- package/resources/local/page-agent/packages/page-agent/vite.iife.config.js +49 -0
- package/resources/local/page-agent/packages/page-controller/package.json +51 -0
- package/resources/local/page-agent/packages/page-controller/src/PageController.ts +433 -0
- package/resources/local/page-agent/packages/page-controller/src/actions.ts +552 -0
- package/resources/local/page-agent/packages/page-controller/src/dom/dom_tree/index.d.ts +16 -0
- package/resources/local/page-agent/packages/page-controller/src/dom/dom_tree/index.js +1753 -0
- package/resources/local/page-agent/packages/page-controller/src/dom/dom_tree/type.ts +51 -0
- package/resources/local/page-agent/packages/page-controller/src/dom/getPageInfo.ts +42 -0
- package/resources/local/page-agent/packages/page-controller/src/dom/index.ts +569 -0
- package/resources/local/page-agent/packages/page-controller/src/env.d.ts +6 -0
- package/resources/local/page-agent/packages/page-controller/src/mask/SimulatorMask.module.css +13 -0
- package/resources/local/page-agent/packages/page-controller/src/mask/SimulatorMask.ts +217 -0
- package/resources/local/page-agent/packages/page-controller/src/mask/checkDarkMode.ts +115 -0
- package/resources/local/page-agent/packages/page-controller/src/mask/cursor-border.svg +3 -0
- package/resources/local/page-agent/packages/page-controller/src/mask/cursor-fill.svg +5 -0
- package/resources/local/page-agent/packages/page-controller/src/mask/cursor.module.css +70 -0
- package/resources/local/page-agent/packages/page-controller/src/patches/antd.ts +20 -0
- package/resources/local/page-agent/packages/page-controller/src/patches/react.ts +16 -0
- package/resources/local/page-agent/packages/page-controller/src/utils/index.ts +80 -0
- package/resources/local/page-agent/packages/page-controller/tsconfig.json +8 -0
- package/resources/local/page-agent/packages/page-controller/vite.config.js +50 -0
- package/resources/local/page-agent/packages/ui/package.json +48 -0
- package/resources/local/page-agent/packages/ui/src/env.d.ts +6 -0
- package/resources/local/page-agent/packages/ui/src/i18n/index.ts +50 -0
- package/resources/local/page-agent/packages/ui/src/i18n/locales.ts +122 -0
- package/resources/local/page-agent/packages/ui/src/index.ts +2 -0
- package/resources/local/page-agent/packages/ui/src/motion-css/createMotion.ts +64 -0
- package/resources/local/page-agent/packages/ui/src/motion-css/motion.module.css +397 -0
- package/resources/local/page-agent/packages/ui/src/motion-css/readme +5 -0
- package/resources/local/page-agent/packages/ui/src/panel/Panel.module.css +601 -0
- package/resources/local/page-agent/packages/ui/src/panel/Panel.ts +669 -0
- package/resources/local/page-agent/packages/ui/src/panel/cards.ts +52 -0
- package/resources/local/page-agent/packages/ui/src/panel/types.ts +76 -0
- package/resources/local/page-agent/packages/ui/src/utils.ts +18 -0
- package/resources/local/page-agent/packages/ui/tsconfig.json +8 -0
- package/resources/local/page-agent/packages/ui/vite.config.js +46 -0
- package/resources/local/page-agent/packages/website/AGENTS.md +127 -0
- package/resources/local/page-agent/packages/website/components.json +24 -0
- package/resources/local/page-agent/packages/website/index.html +95 -0
- package/resources/local/page-agent/packages/website/package.json +34 -0
- package/resources/local/page-agent/packages/website/public/robots.txt +4 -0
- package/resources/local/page-agent/packages/website/src/components/APIReference.tsx +175 -0
- package/resources/local/page-agent/packages/website/src/components/BetaNotice.tsx +25 -0
- package/resources/local/page-agent/packages/website/src/components/CodeEditor.tsx +129 -0
- package/resources/local/page-agent/packages/website/src/components/Footer.tsx +77 -0
- package/resources/local/page-agent/packages/website/src/components/Header.tsx +188 -0
- package/resources/local/page-agent/packages/website/src/components/Heading.tsx +46 -0
- package/resources/local/page-agent/packages/website/src/components/HighlightSyntax.module.css +128 -0
- package/resources/local/page-agent/packages/website/src/components/HighlightSyntax.tsx +175 -0
- package/resources/local/page-agent/packages/website/src/components/JSConsole.module.css +164 -0
- package/resources/local/page-agent/packages/website/src/components/JSConsole.tsx +371 -0
- package/resources/local/page-agent/packages/website/src/components/LanguageSwitcher.tsx +114 -0
- package/resources/local/page-agent/packages/website/src/components/ThemeSwitcher.tsx +134 -0
- package/resources/local/page-agent/packages/website/src/components/ui/alert.tsx +60 -0
- package/resources/local/page-agent/packages/website/src/components/ui/animated-gradient-text.tsx +37 -0
- package/resources/local/page-agent/packages/website/src/components/ui/animated-shiny-text.tsx +38 -0
- package/resources/local/page-agent/packages/website/src/components/ui/aurora-text.tsx +39 -0
- package/resources/local/page-agent/packages/website/src/components/ui/badge.tsx +37 -0
- package/resources/local/page-agent/packages/website/src/components/ui/bento-grid.tsx +91 -0
- package/resources/local/page-agent/packages/website/src/components/ui/blur-fade.tsx +79 -0
- package/resources/local/page-agent/packages/website/src/components/ui/button.tsx +60 -0
- package/resources/local/page-agent/packages/website/src/components/ui/highlighter.tsx +92 -0
- package/resources/local/page-agent/packages/website/src/components/ui/hyper-text.tsx +140 -0
- package/resources/local/page-agent/packages/website/src/components/ui/kbd.tsx +28 -0
- package/resources/local/page-agent/packages/website/src/components/ui/magic-card.tsx +101 -0
- package/resources/local/page-agent/packages/website/src/components/ui/marquee.tsx +74 -0
- package/resources/local/page-agent/packages/website/src/components/ui/neon-gradient-card.tsx +136 -0
- package/resources/local/page-agent/packages/website/src/components/ui/particles.tsx +297 -0
- package/resources/local/page-agent/packages/website/src/components/ui/separator.tsx +26 -0
- package/resources/local/page-agent/packages/website/src/components/ui/sonner.tsx +38 -0
- package/resources/local/page-agent/packages/website/src/components/ui/sparkles-text.tsx +150 -0
- package/resources/local/page-agent/packages/website/src/components/ui/spinner.tsx +16 -0
- package/resources/local/page-agent/packages/website/src/components/ui/switch.tsx +26 -0
- package/resources/local/page-agent/packages/website/src/components/ui/text-animate.tsx +417 -0
- package/resources/local/page-agent/packages/website/src/components/ui/tooltip.tsx +55 -0
- package/resources/local/page-agent/packages/website/src/components/ui/typing-animation.tsx +164 -0
- package/resources/local/page-agent/packages/website/src/constants.ts +10 -0
- package/resources/local/page-agent/packages/website/src/env.d.ts +10 -0
- package/resources/local/page-agent/packages/website/src/hooks/useGitHubStars.ts +27 -0
- package/resources/local/page-agent/packages/website/src/i18n/context.tsx +34 -0
- package/resources/local/page-agent/packages/website/src/index.css +471 -0
- package/resources/local/page-agent/packages/website/src/lib/useDocumentTitle.ts +9 -0
- package/resources/local/page-agent/packages/website/src/lib/utils.ts +6 -0
- package/resources/local/page-agent/packages/website/src/main.tsx +22 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/Layout.tsx +140 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/advanced/custom-ui/page.tsx +271 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/advanced/page-agent/page.tsx +224 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/advanced/page-agent-core/page.tsx +492 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/advanced/page-controller/page.tsx +294 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/advanced/security-permissions/page.tsx +89 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/features/chrome-extension/page.tsx +314 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/features/custom-instructions/page.tsx +136 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/features/custom-tools/page.tsx +112 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/features/data-masking/page.tsx +74 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/features/mcp-server/page.tsx +70 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/features/models/page.tsx +457 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/features/third-party-agent/page.tsx +99 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/index.tsx +130 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/introduction/limitations/page.tsx +158 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/introduction/overview/page.tsx +233 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/introduction/quick-start/page.tsx +134 -0
- package/resources/local/page-agent/packages/website/src/pages/docs/introduction/troubleshooting/page.tsx +430 -0
- package/resources/local/page-agent/packages/website/src/pages/home/FeaturesSection.tsx +233 -0
- package/resources/local/page-agent/packages/website/src/pages/home/HeroSection.tsx +417 -0
- package/resources/local/page-agent/packages/website/src/pages/home/OneMoreThingSection.tsx +114 -0
- package/resources/local/page-agent/packages/website/src/pages/home/ScenariosSection.tsx +165 -0
- package/resources/local/page-agent/packages/website/src/pages/home/index.tsx +31 -0
- package/resources/local/page-agent/packages/website/src/router.tsx +72 -0
- package/resources/local/page-agent/packages/website/tailwind.config.js +3 -0
- package/resources/local/page-agent/packages/website/tsconfig.json +11 -0
- package/resources/local/page-agent/packages/website/vite.config.js +106 -0
- package/resources/local/page-agent/scripts/build-libs.js +25 -0
- package/resources/local/page-agent/scripts/build.js +45 -0
- package/resources/local/page-agent/scripts/ci.js +55 -0
- package/resources/local/page-agent/scripts/parallel-task.js +115 -0
- package/resources/local/page-agent/scripts/post-publish.js +30 -0
- package/resources/local/page-agent/scripts/pre-publish.js +42 -0
- package/resources/local/page-agent/scripts/sync-version.js +144 -0
- package/resources/local/page-agent/tsconfig.base.json +30 -0
- package/resources/local/page-agent/tsconfig.typecheck.json +25 -0
- package/scripts/audit-pack.js +47 -0
- package/src/agent/agent-definitions.js +154 -0
- package/src/agent/runtime.js +243 -0
- package/src/ai/capability-scorecard.js +241 -0
- package/src/ai/model-capabilities.js +2 -1
- package/src/ai/orchestrator.js +478 -0
- package/src/ai/profile-blueprints.js +135 -0
- package/src/ai/prompts/system-prompt.js +15 -46
- package/src/ai/providers.js +120 -7
- package/src/ai/small-model-amplifier.js +25 -0
- package/src/ai/workflow-selector.js +154 -0
- package/src/cli/at-context.js +269 -0
- package/src/cli/commands.js +813 -0
- package/src/cli/composer.js +361 -0
- package/src/cli/config.js +12 -1
- package/src/cli/context-loader.js +20 -3
- package/src/cli/conversation-format.js +11 -210
- package/src/cli/diagnostics.js +101 -0
- package/src/cli/diff-view.js +341 -0
- package/src/cli/ecc.js +274 -0
- package/src/cli/input-controller.js +263 -0
- package/src/cli/project-docs.js +2 -0
- package/src/cli/prompt-builder.js +58 -13
- package/src/cli/repl-commands.js +358 -10
- package/src/cli/repl.js +1071 -331
- package/src/cli/slash-commands.js +22 -1
- package/src/cli/snowflake-logo.js +20 -10
- package/src/cli/terminal-ui.js +92 -40
- package/src/cli/tool-call-adapter.js +327 -0
- package/src/cli/tool-runtime.js +115 -0
- package/src/codebase-index/codegraph-adapter.js +154 -0
- package/src/codebase-index/indexer.js +402 -0
- package/src/codebase-index/search.js +205 -0
- package/src/codebase-index/watcher.js +117 -0
- package/src/context/router.js +4 -41
- package/src/context/token-juice.js +166 -0
- package/src/context/wiki-memory.js +212 -0
- package/src/integrations/htmlfx-manager.js +111 -0
- package/src/mcp/inline-complete.js +226 -0
- package/src/tools/executor.js +188 -1
|
@@ -0,0 +1,1698 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for scripts/lib/package-manager.js
|
|
3
|
+
*
|
|
4
|
+
* Run with: node tests/lib/package-manager.test.js
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const assert = require('assert');
|
|
8
|
+
const path = require('path');
|
|
9
|
+
const fs = require('fs');
|
|
10
|
+
const os = require('os');
|
|
11
|
+
|
|
12
|
+
// Import the modules
|
|
13
|
+
const pm = require('../../scripts/lib/package-manager');
|
|
14
|
+
|
|
15
|
+
// Test helper
|
|
16
|
+
function test(name, fn) {
|
|
17
|
+
try {
|
|
18
|
+
fn();
|
|
19
|
+
console.log(` ✓ ${name}`);
|
|
20
|
+
return true;
|
|
21
|
+
} catch (_err) {
|
|
22
|
+
console.log(` ✗ ${name}`);
|
|
23
|
+
console.log(` Error: ${_err.message}`);
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Create a temporary test directory
|
|
29
|
+
function createTestDir() {
|
|
30
|
+
const testDir = path.join(os.tmpdir(), `pm-test-${Date.now()}`);
|
|
31
|
+
fs.mkdirSync(testDir, { recursive: true });
|
|
32
|
+
return testDir;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Clean up test directory
|
|
36
|
+
function cleanupTestDir(testDir) {
|
|
37
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function withIsolatedHome(fn) {
|
|
41
|
+
const isolatedHome = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-home-'));
|
|
42
|
+
const originalHome = process.env.HOME;
|
|
43
|
+
const originalUserProfile = process.env.USERPROFILE;
|
|
44
|
+
|
|
45
|
+
process.env.HOME = isolatedHome;
|
|
46
|
+
process.env.USERPROFILE = isolatedHome;
|
|
47
|
+
|
|
48
|
+
try {
|
|
49
|
+
return fn(isolatedHome);
|
|
50
|
+
} finally {
|
|
51
|
+
if (originalHome !== undefined) {
|
|
52
|
+
process.env.HOME = originalHome;
|
|
53
|
+
} else {
|
|
54
|
+
delete process.env.HOME;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (originalUserProfile !== undefined) {
|
|
58
|
+
process.env.USERPROFILE = originalUserProfile;
|
|
59
|
+
} else {
|
|
60
|
+
delete process.env.USERPROFILE;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
fs.rmSync(isolatedHome, { recursive: true, force: true });
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Test suite
|
|
68
|
+
function runTests() {
|
|
69
|
+
console.log('\n=== Testing package-manager.js ===\n');
|
|
70
|
+
|
|
71
|
+
let passed = 0;
|
|
72
|
+
let failed = 0;
|
|
73
|
+
|
|
74
|
+
// PACKAGE_MANAGERS constant tests
|
|
75
|
+
console.log('PACKAGE_MANAGERS Constant:');
|
|
76
|
+
|
|
77
|
+
if (test('PACKAGE_MANAGERS has all expected managers', () => {
|
|
78
|
+
assert.ok(pm.PACKAGE_MANAGERS.npm, 'Should have npm');
|
|
79
|
+
assert.ok(pm.PACKAGE_MANAGERS.pnpm, 'Should have pnpm');
|
|
80
|
+
assert.ok(pm.PACKAGE_MANAGERS.yarn, 'Should have yarn');
|
|
81
|
+
assert.ok(pm.PACKAGE_MANAGERS.bun, 'Should have bun');
|
|
82
|
+
})) passed++;
|
|
83
|
+
else failed++;
|
|
84
|
+
|
|
85
|
+
if (test('Each manager has required properties', () => {
|
|
86
|
+
const requiredProps = ['name', 'lockFile', 'installCmd', 'runCmd', 'execCmd', 'testCmd', 'buildCmd', 'devCmd'];
|
|
87
|
+
for (const [name, config] of Object.entries(pm.PACKAGE_MANAGERS)) {
|
|
88
|
+
for (const prop of requiredProps) {
|
|
89
|
+
assert.ok(config[prop], `${name} should have ${prop}`);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
})) passed++;
|
|
93
|
+
else failed++;
|
|
94
|
+
|
|
95
|
+
// detectFromLockFile tests
|
|
96
|
+
console.log('\ndetectFromLockFile:');
|
|
97
|
+
|
|
98
|
+
if (test('detects npm from package-lock.json', () => {
|
|
99
|
+
const testDir = createTestDir();
|
|
100
|
+
try {
|
|
101
|
+
fs.writeFileSync(path.join(testDir, 'package-lock.json'), '{}');
|
|
102
|
+
const result = pm.detectFromLockFile(testDir);
|
|
103
|
+
assert.strictEqual(result, 'npm');
|
|
104
|
+
} finally {
|
|
105
|
+
cleanupTestDir(testDir);
|
|
106
|
+
}
|
|
107
|
+
})) passed++;
|
|
108
|
+
else failed++;
|
|
109
|
+
|
|
110
|
+
if (test('detects pnpm from pnpm-lock.yaml', () => {
|
|
111
|
+
const testDir = createTestDir();
|
|
112
|
+
try {
|
|
113
|
+
fs.writeFileSync(path.join(testDir, 'pnpm-lock.yaml'), '');
|
|
114
|
+
const result = pm.detectFromLockFile(testDir);
|
|
115
|
+
assert.strictEqual(result, 'pnpm');
|
|
116
|
+
} finally {
|
|
117
|
+
cleanupTestDir(testDir);
|
|
118
|
+
}
|
|
119
|
+
})) passed++;
|
|
120
|
+
else failed++;
|
|
121
|
+
|
|
122
|
+
if (test('detects yarn from yarn.lock', () => {
|
|
123
|
+
const testDir = createTestDir();
|
|
124
|
+
try {
|
|
125
|
+
fs.writeFileSync(path.join(testDir, 'yarn.lock'), '');
|
|
126
|
+
const result = pm.detectFromLockFile(testDir);
|
|
127
|
+
assert.strictEqual(result, 'yarn');
|
|
128
|
+
} finally {
|
|
129
|
+
cleanupTestDir(testDir);
|
|
130
|
+
}
|
|
131
|
+
})) passed++;
|
|
132
|
+
else failed++;
|
|
133
|
+
|
|
134
|
+
if (test('detects bun from bun.lockb', () => {
|
|
135
|
+
const testDir = createTestDir();
|
|
136
|
+
try {
|
|
137
|
+
fs.writeFileSync(path.join(testDir, 'bun.lockb'), '');
|
|
138
|
+
const result = pm.detectFromLockFile(testDir);
|
|
139
|
+
assert.strictEqual(result, 'bun');
|
|
140
|
+
} finally {
|
|
141
|
+
cleanupTestDir(testDir);
|
|
142
|
+
}
|
|
143
|
+
})) passed++;
|
|
144
|
+
else failed++;
|
|
145
|
+
|
|
146
|
+
if (test('returns null when no lock file exists', () => {
|
|
147
|
+
const testDir = createTestDir();
|
|
148
|
+
try {
|
|
149
|
+
const result = pm.detectFromLockFile(testDir);
|
|
150
|
+
assert.strictEqual(result, null);
|
|
151
|
+
} finally {
|
|
152
|
+
cleanupTestDir(testDir);
|
|
153
|
+
}
|
|
154
|
+
})) passed++;
|
|
155
|
+
else failed++;
|
|
156
|
+
|
|
157
|
+
if (test('respects detection priority (pnpm > npm)', () => {
|
|
158
|
+
const testDir = createTestDir();
|
|
159
|
+
try {
|
|
160
|
+
// Create both lock files
|
|
161
|
+
fs.writeFileSync(path.join(testDir, 'package-lock.json'), '{}');
|
|
162
|
+
fs.writeFileSync(path.join(testDir, 'pnpm-lock.yaml'), '');
|
|
163
|
+
const result = pm.detectFromLockFile(testDir);
|
|
164
|
+
// pnpm has higher priority in DETECTION_PRIORITY
|
|
165
|
+
assert.strictEqual(result, 'pnpm');
|
|
166
|
+
} finally {
|
|
167
|
+
cleanupTestDir(testDir);
|
|
168
|
+
}
|
|
169
|
+
})) passed++;
|
|
170
|
+
else failed++;
|
|
171
|
+
|
|
172
|
+
// detectFromPackageJson tests
|
|
173
|
+
console.log('\ndetectFromPackageJson:');
|
|
174
|
+
|
|
175
|
+
if (test('detects package manager from packageManager field', () => {
|
|
176
|
+
const testDir = createTestDir();
|
|
177
|
+
try {
|
|
178
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ name: 'test', packageManager: 'pnpm@8.6.0' }));
|
|
179
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
180
|
+
assert.strictEqual(result, 'pnpm');
|
|
181
|
+
} finally {
|
|
182
|
+
cleanupTestDir(testDir);
|
|
183
|
+
}
|
|
184
|
+
})) passed++;
|
|
185
|
+
else failed++;
|
|
186
|
+
|
|
187
|
+
if (test('handles packageManager without version', () => {
|
|
188
|
+
const testDir = createTestDir();
|
|
189
|
+
try {
|
|
190
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ name: 'test', packageManager: 'yarn' }));
|
|
191
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
192
|
+
assert.strictEqual(result, 'yarn');
|
|
193
|
+
} finally {
|
|
194
|
+
cleanupTestDir(testDir);
|
|
195
|
+
}
|
|
196
|
+
})) passed++;
|
|
197
|
+
else failed++;
|
|
198
|
+
|
|
199
|
+
if (test('returns null when no packageManager field', () => {
|
|
200
|
+
const testDir = createTestDir();
|
|
201
|
+
try {
|
|
202
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ name: 'test' }));
|
|
203
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
204
|
+
assert.strictEqual(result, null);
|
|
205
|
+
} finally {
|
|
206
|
+
cleanupTestDir(testDir);
|
|
207
|
+
}
|
|
208
|
+
})) passed++;
|
|
209
|
+
else failed++;
|
|
210
|
+
|
|
211
|
+
if (test('returns null when no package.json exists', () => {
|
|
212
|
+
const testDir = createTestDir();
|
|
213
|
+
try {
|
|
214
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
215
|
+
assert.strictEqual(result, null);
|
|
216
|
+
} finally {
|
|
217
|
+
cleanupTestDir(testDir);
|
|
218
|
+
}
|
|
219
|
+
})) passed++;
|
|
220
|
+
else failed++;
|
|
221
|
+
|
|
222
|
+
// getAvailablePackageManagers tests
|
|
223
|
+
console.log('\ngetAvailablePackageManagers:');
|
|
224
|
+
|
|
225
|
+
if (test('returns array of available managers', () => {
|
|
226
|
+
const available = pm.getAvailablePackageManagers();
|
|
227
|
+
assert.ok(Array.isArray(available), 'Should return array');
|
|
228
|
+
// npm should always be available with Node.js
|
|
229
|
+
assert.ok(available.includes('npm'), 'npm should be available');
|
|
230
|
+
})) passed++;
|
|
231
|
+
else failed++;
|
|
232
|
+
|
|
233
|
+
// getPackageManager tests
|
|
234
|
+
console.log('\ngetPackageManager:');
|
|
235
|
+
|
|
236
|
+
if (test('returns object with name, config, and source', () => {
|
|
237
|
+
const result = pm.getPackageManager();
|
|
238
|
+
assert.ok(result.name, 'Should have name');
|
|
239
|
+
assert.ok(result.config, 'Should have config');
|
|
240
|
+
assert.ok(result.source, 'Should have source');
|
|
241
|
+
})) passed++;
|
|
242
|
+
else failed++;
|
|
243
|
+
|
|
244
|
+
if (test('respects environment variable', () => {
|
|
245
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
246
|
+
try {
|
|
247
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'yarn';
|
|
248
|
+
const result = pm.getPackageManager();
|
|
249
|
+
assert.strictEqual(result.name, 'yarn');
|
|
250
|
+
assert.strictEqual(result.source, 'environment');
|
|
251
|
+
} finally {
|
|
252
|
+
if (originalEnv !== undefined) {
|
|
253
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
254
|
+
} else {
|
|
255
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
})) passed++;
|
|
259
|
+
else failed++;
|
|
260
|
+
|
|
261
|
+
if (test('detects from lock file in project', () => {
|
|
262
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
263
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
264
|
+
const testDir = createTestDir();
|
|
265
|
+
try {
|
|
266
|
+
fs.writeFileSync(path.join(testDir, 'bun.lockb'), '');
|
|
267
|
+
const result = pm.getPackageManager({ projectDir: testDir });
|
|
268
|
+
assert.strictEqual(result.name, 'bun');
|
|
269
|
+
assert.strictEqual(result.source, 'lock-file');
|
|
270
|
+
} finally {
|
|
271
|
+
cleanupTestDir(testDir);
|
|
272
|
+
if (originalEnv !== undefined) {
|
|
273
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
})) passed++;
|
|
277
|
+
else failed++;
|
|
278
|
+
|
|
279
|
+
// getRunCommand tests
|
|
280
|
+
console.log('\ngetRunCommand:');
|
|
281
|
+
|
|
282
|
+
if (test('returns correct install command', () => {
|
|
283
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
284
|
+
try {
|
|
285
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'pnpm';
|
|
286
|
+
const cmd = pm.getRunCommand('install');
|
|
287
|
+
assert.strictEqual(cmd, 'pnpm install');
|
|
288
|
+
} finally {
|
|
289
|
+
if (originalEnv !== undefined) {
|
|
290
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
291
|
+
} else {
|
|
292
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
})) passed++;
|
|
296
|
+
else failed++;
|
|
297
|
+
|
|
298
|
+
if (test('returns correct test command', () => {
|
|
299
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
300
|
+
try {
|
|
301
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
302
|
+
const cmd = pm.getRunCommand('test');
|
|
303
|
+
assert.strictEqual(cmd, 'npm test');
|
|
304
|
+
} finally {
|
|
305
|
+
if (originalEnv !== undefined) {
|
|
306
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
307
|
+
} else {
|
|
308
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
})) passed++;
|
|
312
|
+
else failed++;
|
|
313
|
+
|
|
314
|
+
// getExecCommand tests
|
|
315
|
+
console.log('\ngetExecCommand:');
|
|
316
|
+
|
|
317
|
+
if (test('returns correct exec command for npm', () => {
|
|
318
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
319
|
+
try {
|
|
320
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
321
|
+
const cmd = pm.getExecCommand('prettier', '--write .');
|
|
322
|
+
assert.strictEqual(cmd, 'npx prettier --write .');
|
|
323
|
+
} finally {
|
|
324
|
+
if (originalEnv !== undefined) {
|
|
325
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
326
|
+
} else {
|
|
327
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
})) passed++;
|
|
331
|
+
else failed++;
|
|
332
|
+
|
|
333
|
+
if (test('returns correct exec command for pnpm', () => {
|
|
334
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
335
|
+
try {
|
|
336
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'pnpm';
|
|
337
|
+
const cmd = pm.getExecCommand('eslint', '.');
|
|
338
|
+
assert.strictEqual(cmd, 'pnpm dlx eslint .');
|
|
339
|
+
} finally {
|
|
340
|
+
if (originalEnv !== undefined) {
|
|
341
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
342
|
+
} else {
|
|
343
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
})) passed++;
|
|
347
|
+
else failed++;
|
|
348
|
+
|
|
349
|
+
// getCommandPattern tests
|
|
350
|
+
console.log('\ngetCommandPattern:');
|
|
351
|
+
|
|
352
|
+
if (test('generates pattern for dev command', () => {
|
|
353
|
+
const pattern = pm.getCommandPattern('dev');
|
|
354
|
+
assert.ok(pattern.includes('npm run dev'), 'Should include npm');
|
|
355
|
+
assert.ok(pattern.includes('pnpm'), 'Should include pnpm');
|
|
356
|
+
assert.ok(pattern.includes('yarn dev'), 'Should include yarn');
|
|
357
|
+
assert.ok(pattern.includes('bun run dev'), 'Should include bun');
|
|
358
|
+
})) passed++;
|
|
359
|
+
else failed++;
|
|
360
|
+
|
|
361
|
+
if (test('pattern matches actual commands', () => {
|
|
362
|
+
const pattern = pm.getCommandPattern('test');
|
|
363
|
+
const regex = new RegExp(pattern);
|
|
364
|
+
assert.ok(regex.test('npm test'), 'Should match npm test');
|
|
365
|
+
assert.ok(regex.test('pnpm test'), 'Should match pnpm test');
|
|
366
|
+
assert.ok(regex.test('yarn test'), 'Should match yarn test');
|
|
367
|
+
assert.ok(regex.test('bun test'), 'Should match bun test');
|
|
368
|
+
assert.ok(!regex.test('cargo test'), 'Should not match cargo test');
|
|
369
|
+
})) passed++;
|
|
370
|
+
else failed++;
|
|
371
|
+
|
|
372
|
+
// getSelectionPrompt tests
|
|
373
|
+
console.log('\ngetSelectionPrompt:');
|
|
374
|
+
|
|
375
|
+
if (test('returns informative prompt', () => {
|
|
376
|
+
const prompt = pm.getSelectionPrompt();
|
|
377
|
+
assert.ok(prompt.includes('Supported package managers'), 'Should list supported managers');
|
|
378
|
+
assert.ok(prompt.includes('CLAUDE_PACKAGE_MANAGER'), 'Should mention env var');
|
|
379
|
+
assert.ok(prompt.includes('lock file'), 'Should mention lock file option');
|
|
380
|
+
})) passed++;
|
|
381
|
+
else failed++;
|
|
382
|
+
|
|
383
|
+
// setProjectPackageManager tests
|
|
384
|
+
console.log('\nsetProjectPackageManager:');
|
|
385
|
+
|
|
386
|
+
if (test('sets project package manager', () => {
|
|
387
|
+
const testDir = createTestDir();
|
|
388
|
+
try {
|
|
389
|
+
const result = pm.setProjectPackageManager('pnpm', testDir);
|
|
390
|
+
assert.strictEqual(result.packageManager, 'pnpm');
|
|
391
|
+
assert.ok(result.setAt, 'Should have setAt timestamp');
|
|
392
|
+
// Verify file was created
|
|
393
|
+
const configPath = path.join(testDir, '.claude', 'package-manager.json');
|
|
394
|
+
assert.ok(fs.existsSync(configPath), 'Config file should exist');
|
|
395
|
+
const saved = JSON.parse(fs.readFileSync(configPath, 'utf8'));
|
|
396
|
+
assert.strictEqual(saved.packageManager, 'pnpm');
|
|
397
|
+
} finally {
|
|
398
|
+
cleanupTestDir(testDir);
|
|
399
|
+
}
|
|
400
|
+
})) passed++;
|
|
401
|
+
else failed++;
|
|
402
|
+
|
|
403
|
+
if (test('rejects unknown package manager', () => {
|
|
404
|
+
assert.throws(() => {
|
|
405
|
+
pm.setProjectPackageManager('cargo');
|
|
406
|
+
}, /Unknown package manager/);
|
|
407
|
+
})) passed++;
|
|
408
|
+
else failed++;
|
|
409
|
+
|
|
410
|
+
// setPreferredPackageManager tests
|
|
411
|
+
console.log('\nsetPreferredPackageManager:');
|
|
412
|
+
|
|
413
|
+
if (test('rejects unknown package manager', () => {
|
|
414
|
+
assert.throws(() => {
|
|
415
|
+
pm.setPreferredPackageManager('pip');
|
|
416
|
+
}, /Unknown package manager/);
|
|
417
|
+
})) passed++;
|
|
418
|
+
else failed++;
|
|
419
|
+
|
|
420
|
+
// detectFromPackageJson edge cases
|
|
421
|
+
console.log('\ndetectFromPackageJson (edge cases):');
|
|
422
|
+
|
|
423
|
+
if (test('handles invalid JSON in package.json', () => {
|
|
424
|
+
const testDir = createTestDir();
|
|
425
|
+
try {
|
|
426
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), 'NOT VALID JSON');
|
|
427
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
428
|
+
assert.strictEqual(result, null);
|
|
429
|
+
} finally {
|
|
430
|
+
cleanupTestDir(testDir);
|
|
431
|
+
}
|
|
432
|
+
})) passed++;
|
|
433
|
+
else failed++;
|
|
434
|
+
|
|
435
|
+
if (test('returns null for unknown package manager in packageManager field', () => {
|
|
436
|
+
const testDir = createTestDir();
|
|
437
|
+
try {
|
|
438
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ name: 'test', packageManager: 'deno@1.0' }));
|
|
439
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
440
|
+
assert.strictEqual(result, null);
|
|
441
|
+
} finally {
|
|
442
|
+
cleanupTestDir(testDir);
|
|
443
|
+
}
|
|
444
|
+
})) passed++;
|
|
445
|
+
else failed++;
|
|
446
|
+
|
|
447
|
+
// getExecCommand edge cases
|
|
448
|
+
console.log('\ngetExecCommand (edge cases):');
|
|
449
|
+
|
|
450
|
+
if (test('returns exec command without args', () => {
|
|
451
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
452
|
+
try {
|
|
453
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
454
|
+
const cmd = pm.getExecCommand('prettier');
|
|
455
|
+
assert.strictEqual(cmd, 'npx prettier');
|
|
456
|
+
} finally {
|
|
457
|
+
if (originalEnv !== undefined) {
|
|
458
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
459
|
+
} else {
|
|
460
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
})) passed++;
|
|
464
|
+
else failed++;
|
|
465
|
+
|
|
466
|
+
// getRunCommand additional cases
|
|
467
|
+
console.log('\ngetRunCommand (additional):');
|
|
468
|
+
|
|
469
|
+
if (test('returns correct build command', () => {
|
|
470
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
471
|
+
try {
|
|
472
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
473
|
+
assert.strictEqual(pm.getRunCommand('build'), 'npm run build');
|
|
474
|
+
} finally {
|
|
475
|
+
if (originalEnv !== undefined) {
|
|
476
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
477
|
+
} else {
|
|
478
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
})) passed++;
|
|
482
|
+
else failed++;
|
|
483
|
+
|
|
484
|
+
if (test('returns correct dev command', () => {
|
|
485
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
486
|
+
try {
|
|
487
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
488
|
+
assert.strictEqual(pm.getRunCommand('dev'), 'npm run dev');
|
|
489
|
+
} finally {
|
|
490
|
+
if (originalEnv !== undefined) {
|
|
491
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
492
|
+
} else {
|
|
493
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
})) passed++;
|
|
497
|
+
else failed++;
|
|
498
|
+
|
|
499
|
+
if (test('returns correct custom script command', () => {
|
|
500
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
501
|
+
try {
|
|
502
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
503
|
+
assert.strictEqual(pm.getRunCommand('lint'), 'npm run lint');
|
|
504
|
+
} finally {
|
|
505
|
+
if (originalEnv !== undefined) {
|
|
506
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
507
|
+
} else {
|
|
508
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
})) passed++;
|
|
512
|
+
else failed++;
|
|
513
|
+
|
|
514
|
+
// DETECTION_PRIORITY tests
|
|
515
|
+
console.log('\nDETECTION_PRIORITY:');
|
|
516
|
+
|
|
517
|
+
if (test('has pnpm first', () => {
|
|
518
|
+
assert.strictEqual(pm.DETECTION_PRIORITY[0], 'pnpm');
|
|
519
|
+
})) passed++;
|
|
520
|
+
else failed++;
|
|
521
|
+
|
|
522
|
+
if (test('has npm last', () => {
|
|
523
|
+
assert.strictEqual(pm.DETECTION_PRIORITY[pm.DETECTION_PRIORITY.length - 1], 'npm');
|
|
524
|
+
})) passed++;
|
|
525
|
+
else failed++;
|
|
526
|
+
|
|
527
|
+
// getCommandPattern additional cases
|
|
528
|
+
console.log('\ngetCommandPattern (additional):');
|
|
529
|
+
|
|
530
|
+
if (test('generates pattern for install command', () => {
|
|
531
|
+
const pattern = pm.getCommandPattern('install');
|
|
532
|
+
const regex = new RegExp(pattern);
|
|
533
|
+
assert.ok(regex.test('npm install'), 'Should match npm install');
|
|
534
|
+
assert.ok(regex.test('pnpm install'), 'Should match pnpm install');
|
|
535
|
+
assert.ok(regex.test('yarn'), 'Should match yarn (install implicit)');
|
|
536
|
+
assert.ok(regex.test('bun install'), 'Should match bun install');
|
|
537
|
+
})) passed++;
|
|
538
|
+
else failed++;
|
|
539
|
+
|
|
540
|
+
if (test('generates pattern for custom action', () => {
|
|
541
|
+
const pattern = pm.getCommandPattern('lint');
|
|
542
|
+
const regex = new RegExp(pattern);
|
|
543
|
+
assert.ok(regex.test('npm run lint'), 'Should match npm run lint');
|
|
544
|
+
assert.ok(regex.test('pnpm lint'), 'Should match pnpm lint');
|
|
545
|
+
assert.ok(regex.test('yarn lint'), 'Should match yarn lint');
|
|
546
|
+
assert.ok(regex.test('bun run lint'), 'Should match bun run lint');
|
|
547
|
+
})) passed++;
|
|
548
|
+
else failed++;
|
|
549
|
+
|
|
550
|
+
// getPackageManager robustness tests
|
|
551
|
+
console.log('\ngetPackageManager (robustness):');
|
|
552
|
+
|
|
553
|
+
if (test('falls through on corrupted project config JSON', () => {
|
|
554
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-robust-'));
|
|
555
|
+
const claudeDir = path.join(testDir, '.claude');
|
|
556
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
557
|
+
fs.writeFileSync(path.join(claudeDir, 'package-manager.json'), '{not valid json!!!');
|
|
558
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
559
|
+
try {
|
|
560
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
561
|
+
const result = pm.getPackageManager({ projectDir: testDir });
|
|
562
|
+
// Should fall through to default (npm) since project config is corrupt
|
|
563
|
+
assert.ok(result.name, 'Should return a package manager');
|
|
564
|
+
assert.ok(result.source !== 'project-config', 'Should not use corrupt project config');
|
|
565
|
+
} finally {
|
|
566
|
+
if (originalEnv !== undefined) {
|
|
567
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
568
|
+
}
|
|
569
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
570
|
+
}
|
|
571
|
+
})) passed++;
|
|
572
|
+
else failed++;
|
|
573
|
+
|
|
574
|
+
if (test('falls through on project config with unknown PM', () => {
|
|
575
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-robust-'));
|
|
576
|
+
const claudeDir = path.join(testDir, '.claude');
|
|
577
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
578
|
+
fs.writeFileSync(path.join(claudeDir, 'package-manager.json'), JSON.stringify({ packageManager: 'nonexistent-pm' }));
|
|
579
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
580
|
+
try {
|
|
581
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
582
|
+
const result = pm.getPackageManager({ projectDir: testDir });
|
|
583
|
+
assert.ok(result.name, 'Should return a package manager');
|
|
584
|
+
assert.ok(result.source !== 'project-config', 'Should not use unknown PM config');
|
|
585
|
+
} finally {
|
|
586
|
+
if (originalEnv !== undefined) {
|
|
587
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
588
|
+
}
|
|
589
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
590
|
+
}
|
|
591
|
+
})) passed++;
|
|
592
|
+
else failed++;
|
|
593
|
+
|
|
594
|
+
// getRunCommand validation tests
|
|
595
|
+
console.log('\ngetRunCommand (validation):');
|
|
596
|
+
|
|
597
|
+
if (test('rejects empty script name', () => {
|
|
598
|
+
assert.throws(() => pm.getRunCommand(''), /non-empty string/);
|
|
599
|
+
})) passed++;
|
|
600
|
+
else failed++;
|
|
601
|
+
|
|
602
|
+
if (test('rejects null script name', () => {
|
|
603
|
+
assert.throws(() => pm.getRunCommand(null), /non-empty string/);
|
|
604
|
+
})) passed++;
|
|
605
|
+
else failed++;
|
|
606
|
+
|
|
607
|
+
if (test('rejects script name with shell metacharacters', () => {
|
|
608
|
+
assert.throws(() => pm.getRunCommand('test; rm -rf /'), /unsafe characters/);
|
|
609
|
+
})) passed++;
|
|
610
|
+
else failed++;
|
|
611
|
+
|
|
612
|
+
if (test('rejects script name with backticks', () => {
|
|
613
|
+
assert.throws(() => pm.getRunCommand('test`whoami`'), /unsafe characters/);
|
|
614
|
+
})) passed++;
|
|
615
|
+
else failed++;
|
|
616
|
+
|
|
617
|
+
if (test('accepts scoped package names', () => {
|
|
618
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
619
|
+
try {
|
|
620
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
621
|
+
const cmd = pm.getRunCommand('@scope/my-script');
|
|
622
|
+
assert.strictEqual(cmd, 'npm run @scope/my-script');
|
|
623
|
+
} finally {
|
|
624
|
+
if (originalEnv !== undefined) {
|
|
625
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
626
|
+
} else {
|
|
627
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
})) passed++;
|
|
631
|
+
else failed++;
|
|
632
|
+
|
|
633
|
+
// getExecCommand validation tests
|
|
634
|
+
console.log('\ngetExecCommand (validation):');
|
|
635
|
+
|
|
636
|
+
if (test('rejects empty binary name', () => {
|
|
637
|
+
assert.throws(() => pm.getExecCommand(''), /non-empty string/);
|
|
638
|
+
})) passed++;
|
|
639
|
+
else failed++;
|
|
640
|
+
|
|
641
|
+
if (test('rejects null binary name', () => {
|
|
642
|
+
assert.throws(() => pm.getExecCommand(null), /non-empty string/);
|
|
643
|
+
})) passed++;
|
|
644
|
+
else failed++;
|
|
645
|
+
|
|
646
|
+
if (test('rejects binary name with shell metacharacters', () => {
|
|
647
|
+
assert.throws(() => pm.getExecCommand('prettier; cat /etc/passwd'), /unsafe characters/);
|
|
648
|
+
})) passed++;
|
|
649
|
+
else failed++;
|
|
650
|
+
|
|
651
|
+
if (test('accepts dotted binary names like tsc', () => {
|
|
652
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
653
|
+
try {
|
|
654
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
655
|
+
const cmd = pm.getExecCommand('tsc');
|
|
656
|
+
assert.strictEqual(cmd, 'npx tsc');
|
|
657
|
+
} finally {
|
|
658
|
+
if (originalEnv !== undefined) {
|
|
659
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
660
|
+
} else {
|
|
661
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
})) passed++;
|
|
665
|
+
else failed++;
|
|
666
|
+
|
|
667
|
+
// getPackageManager source detection tests
|
|
668
|
+
console.log('\ngetPackageManager (source detection):');
|
|
669
|
+
|
|
670
|
+
if (test('detects from valid project-config (.claude/package-manager.json)', () => {
|
|
671
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-projcfg-'));
|
|
672
|
+
const claudeDir = path.join(testDir, '.claude');
|
|
673
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
674
|
+
fs.writeFileSync(path.join(claudeDir, 'package-manager.json'), JSON.stringify({ packageManager: 'pnpm' }));
|
|
675
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
676
|
+
try {
|
|
677
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
678
|
+
const result = pm.getPackageManager({ projectDir: testDir });
|
|
679
|
+
assert.strictEqual(result.name, 'pnpm', 'Should detect pnpm from project config');
|
|
680
|
+
assert.strictEqual(result.source, 'project-config', 'Source should be project-config');
|
|
681
|
+
} finally {
|
|
682
|
+
if (originalEnv !== undefined) {
|
|
683
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
684
|
+
}
|
|
685
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
686
|
+
}
|
|
687
|
+
})) passed++;
|
|
688
|
+
else failed++;
|
|
689
|
+
|
|
690
|
+
if (test('project-config takes priority over package.json', () => {
|
|
691
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-priority-'));
|
|
692
|
+
const claudeDir = path.join(testDir, '.claude');
|
|
693
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
694
|
+
// Project config says bun
|
|
695
|
+
fs.writeFileSync(path.join(claudeDir, 'package-manager.json'), JSON.stringify({ packageManager: 'bun' }));
|
|
696
|
+
// package.json says yarn
|
|
697
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ packageManager: 'yarn@4.0.0' }));
|
|
698
|
+
// Lock file says npm
|
|
699
|
+
fs.writeFileSync(path.join(testDir, 'package-lock.json'), '{}');
|
|
700
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
701
|
+
try {
|
|
702
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
703
|
+
const result = pm.getPackageManager({ projectDir: testDir });
|
|
704
|
+
assert.strictEqual(result.name, 'bun', 'Project config should win over package.json and lock file');
|
|
705
|
+
assert.strictEqual(result.source, 'project-config');
|
|
706
|
+
} finally {
|
|
707
|
+
if (originalEnv !== undefined) {
|
|
708
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
709
|
+
}
|
|
710
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
711
|
+
}
|
|
712
|
+
})) passed++;
|
|
713
|
+
else failed++;
|
|
714
|
+
|
|
715
|
+
if (test('package.json takes priority over lock file', () => {
|
|
716
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-pj-lock-'));
|
|
717
|
+
// package.json says yarn
|
|
718
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ packageManager: 'yarn@4.0.0' }));
|
|
719
|
+
// Lock file says npm
|
|
720
|
+
fs.writeFileSync(path.join(testDir, 'package-lock.json'), '{}');
|
|
721
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
722
|
+
try {
|
|
723
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
724
|
+
const result = pm.getPackageManager({ projectDir: testDir });
|
|
725
|
+
assert.strictEqual(result.name, 'yarn', 'package.json should win over lock file');
|
|
726
|
+
assert.strictEqual(result.source, 'package.json');
|
|
727
|
+
} finally {
|
|
728
|
+
if (originalEnv !== undefined) {
|
|
729
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
730
|
+
}
|
|
731
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
732
|
+
}
|
|
733
|
+
})) passed++;
|
|
734
|
+
else failed++;
|
|
735
|
+
|
|
736
|
+
if (test('defaults to npm when no config found', () => {
|
|
737
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-default-'));
|
|
738
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
739
|
+
try {
|
|
740
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
741
|
+
withIsolatedHome(() => {
|
|
742
|
+
const result = pm.getPackageManager({ projectDir: testDir });
|
|
743
|
+
assert.strictEqual(result.name, 'npm', 'Should default to npm');
|
|
744
|
+
assert.strictEqual(result.source, 'default');
|
|
745
|
+
});
|
|
746
|
+
} finally {
|
|
747
|
+
if (originalEnv !== undefined) {
|
|
748
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
749
|
+
}
|
|
750
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
751
|
+
}
|
|
752
|
+
})) passed++;
|
|
753
|
+
else failed++;
|
|
754
|
+
|
|
755
|
+
// setPreferredPackageManager success
|
|
756
|
+
console.log('\nsetPreferredPackageManager (success):');
|
|
757
|
+
|
|
758
|
+
if (test('successfully saves preferred package manager', () => {
|
|
759
|
+
// This writes to ~/.claude/package-manager.json — read original to restore
|
|
760
|
+
const utils = require('../../scripts/lib/utils');
|
|
761
|
+
const configPath = path.join(utils.getClaudeDir(), 'package-manager.json');
|
|
762
|
+
const original = utils.readFile(configPath);
|
|
763
|
+
try {
|
|
764
|
+
const config = pm.setPreferredPackageManager('bun');
|
|
765
|
+
assert.strictEqual(config.packageManager, 'bun');
|
|
766
|
+
assert.ok(config.setAt, 'Should have setAt timestamp');
|
|
767
|
+
// Verify it was persisted
|
|
768
|
+
const saved = JSON.parse(fs.readFileSync(configPath, 'utf8'));
|
|
769
|
+
assert.strictEqual(saved.packageManager, 'bun');
|
|
770
|
+
} finally {
|
|
771
|
+
// Restore original config
|
|
772
|
+
if (original) {
|
|
773
|
+
fs.writeFileSync(configPath, original, 'utf8');
|
|
774
|
+
} else {
|
|
775
|
+
try {
|
|
776
|
+
fs.unlinkSync(configPath);
|
|
777
|
+
} catch (_err) {
|
|
778
|
+
// ignore
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
})) passed++;
|
|
783
|
+
else failed++;
|
|
784
|
+
|
|
785
|
+
// getCommandPattern completeness
|
|
786
|
+
console.log('\ngetCommandPattern (completeness):');
|
|
787
|
+
|
|
788
|
+
if (test('generates pattern for test command', () => {
|
|
789
|
+
const pattern = pm.getCommandPattern('test');
|
|
790
|
+
assert.ok(pattern.includes('npm test'), 'Should include npm test');
|
|
791
|
+
assert.ok(pattern.includes('pnpm test'), 'Should include pnpm test');
|
|
792
|
+
assert.ok(pattern.includes('bun test'), 'Should include bun test');
|
|
793
|
+
})) passed++;
|
|
794
|
+
else failed++;
|
|
795
|
+
|
|
796
|
+
if (test('generates pattern for build command', () => {
|
|
797
|
+
const pattern = pm.getCommandPattern('build');
|
|
798
|
+
assert.ok(pattern.includes('npm run build'), 'Should include npm run build');
|
|
799
|
+
assert.ok(pattern.includes('yarn build'), 'Should include yarn build');
|
|
800
|
+
})) passed++;
|
|
801
|
+
else failed++;
|
|
802
|
+
|
|
803
|
+
// getRunCommand PM-specific format tests
|
|
804
|
+
console.log('\ngetRunCommand (PM-specific formats):');
|
|
805
|
+
|
|
806
|
+
if (test('pnpm custom script: pnpm (no run keyword)', () => {
|
|
807
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
808
|
+
try {
|
|
809
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'pnpm';
|
|
810
|
+
const cmd = pm.getRunCommand('lint');
|
|
811
|
+
assert.strictEqual(cmd, 'pnpm lint', 'pnpm uses "pnpm <script>" format');
|
|
812
|
+
} finally {
|
|
813
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
814
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
815
|
+
}
|
|
816
|
+
})) passed++;
|
|
817
|
+
else failed++;
|
|
818
|
+
|
|
819
|
+
if (test('yarn custom script: yarn <script>', () => {
|
|
820
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
821
|
+
try {
|
|
822
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'yarn';
|
|
823
|
+
const cmd = pm.getRunCommand('format');
|
|
824
|
+
assert.strictEqual(cmd, 'yarn format', 'yarn uses "yarn <script>" format');
|
|
825
|
+
} finally {
|
|
826
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
827
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
828
|
+
}
|
|
829
|
+
})) passed++;
|
|
830
|
+
else failed++;
|
|
831
|
+
|
|
832
|
+
if (test('bun custom script: bun run <script>', () => {
|
|
833
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
834
|
+
try {
|
|
835
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'bun';
|
|
836
|
+
const cmd = pm.getRunCommand('typecheck');
|
|
837
|
+
assert.strictEqual(cmd, 'bun run typecheck', 'bun uses "bun run <script>" format');
|
|
838
|
+
} finally {
|
|
839
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
840
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
841
|
+
}
|
|
842
|
+
})) passed++;
|
|
843
|
+
else failed++;
|
|
844
|
+
|
|
845
|
+
if (test('npm custom script: npm run <script>', () => {
|
|
846
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
847
|
+
try {
|
|
848
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
849
|
+
const cmd = pm.getRunCommand('lint');
|
|
850
|
+
assert.strictEqual(cmd, 'npm run lint', 'npm uses "npm run <script>" format');
|
|
851
|
+
} finally {
|
|
852
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
853
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
854
|
+
}
|
|
855
|
+
})) passed++;
|
|
856
|
+
else failed++;
|
|
857
|
+
|
|
858
|
+
if (test('pnpm install returns pnpm install', () => {
|
|
859
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
860
|
+
try {
|
|
861
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'pnpm';
|
|
862
|
+
assert.strictEqual(pm.getRunCommand('install'), 'pnpm install');
|
|
863
|
+
} finally {
|
|
864
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
865
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
866
|
+
}
|
|
867
|
+
})) passed++;
|
|
868
|
+
else failed++;
|
|
869
|
+
|
|
870
|
+
if (test('yarn install returns yarn (no install keyword)', () => {
|
|
871
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
872
|
+
try {
|
|
873
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'yarn';
|
|
874
|
+
assert.strictEqual(pm.getRunCommand('install'), 'yarn');
|
|
875
|
+
} finally {
|
|
876
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
877
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
878
|
+
}
|
|
879
|
+
})) passed++;
|
|
880
|
+
else failed++;
|
|
881
|
+
|
|
882
|
+
if (test('bun test returns bun test', () => {
|
|
883
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
884
|
+
try {
|
|
885
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'bun';
|
|
886
|
+
assert.strictEqual(pm.getRunCommand('test'), 'bun test');
|
|
887
|
+
} finally {
|
|
888
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
889
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
890
|
+
}
|
|
891
|
+
})) passed++;
|
|
892
|
+
else failed++;
|
|
893
|
+
|
|
894
|
+
// getExecCommand PM-specific format tests
|
|
895
|
+
console.log('\ngetExecCommand (PM-specific formats):');
|
|
896
|
+
|
|
897
|
+
if (test('pnpm exec: pnpm dlx <binary>', () => {
|
|
898
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
899
|
+
try {
|
|
900
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'pnpm';
|
|
901
|
+
assert.strictEqual(pm.getExecCommand('prettier', '--write .'), 'pnpm dlx prettier --write .');
|
|
902
|
+
} finally {
|
|
903
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
904
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
905
|
+
}
|
|
906
|
+
})) passed++;
|
|
907
|
+
else failed++;
|
|
908
|
+
|
|
909
|
+
if (test('yarn exec: yarn dlx <binary>', () => {
|
|
910
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
911
|
+
try {
|
|
912
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'yarn';
|
|
913
|
+
assert.strictEqual(pm.getExecCommand('eslint', '.'), 'yarn dlx eslint .');
|
|
914
|
+
} finally {
|
|
915
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
916
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
917
|
+
}
|
|
918
|
+
})) passed++;
|
|
919
|
+
else failed++;
|
|
920
|
+
|
|
921
|
+
if (test('bun exec: bunx <binary>', () => {
|
|
922
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
923
|
+
try {
|
|
924
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'bun';
|
|
925
|
+
assert.strictEqual(pm.getExecCommand('tsc', '--noEmit'), 'bunx tsc --noEmit');
|
|
926
|
+
} finally {
|
|
927
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
928
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
929
|
+
}
|
|
930
|
+
})) passed++;
|
|
931
|
+
else failed++;
|
|
932
|
+
|
|
933
|
+
if (test('ignores unknown env var package manager', () => {
|
|
934
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
935
|
+
try {
|
|
936
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'totally-fake-pm';
|
|
937
|
+
const result = pm.getPackageManager();
|
|
938
|
+
// Should ignore invalid env var and fall through
|
|
939
|
+
assert.notStrictEqual(result.name, 'totally-fake-pm', 'Should not use unknown PM');
|
|
940
|
+
} finally {
|
|
941
|
+
if (originalEnv !== undefined) {
|
|
942
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
943
|
+
} else {
|
|
944
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
})) passed++;
|
|
948
|
+
else failed++;
|
|
949
|
+
|
|
950
|
+
// ─── Round 21: getExecCommand args validation ───
|
|
951
|
+
console.log('\ngetExecCommand (args validation):');
|
|
952
|
+
|
|
953
|
+
if (test('rejects args with shell metacharacter semicolon', () => {
|
|
954
|
+
assert.throws(() => pm.getExecCommand('prettier', '; rm -rf /'), /unsafe characters/);
|
|
955
|
+
})) passed++;
|
|
956
|
+
else failed++;
|
|
957
|
+
|
|
958
|
+
if (test('rejects args with pipe character', () => {
|
|
959
|
+
assert.throws(() => pm.getExecCommand('prettier', '--write . | cat'), /unsafe characters/);
|
|
960
|
+
})) passed++;
|
|
961
|
+
else failed++;
|
|
962
|
+
|
|
963
|
+
if (test('rejects args with backtick injection', () => {
|
|
964
|
+
assert.throws(() => pm.getExecCommand('prettier', '`whoami`'), /unsafe characters/);
|
|
965
|
+
})) passed++;
|
|
966
|
+
else failed++;
|
|
967
|
+
|
|
968
|
+
if (test('rejects args with dollar sign', () => {
|
|
969
|
+
assert.throws(() => pm.getExecCommand('prettier', '$HOME'), /unsafe characters/);
|
|
970
|
+
})) passed++;
|
|
971
|
+
else failed++;
|
|
972
|
+
|
|
973
|
+
if (test('rejects args with ampersand', () => {
|
|
974
|
+
assert.throws(() => pm.getExecCommand('prettier', '--write . && echo pwned'), /unsafe characters/);
|
|
975
|
+
})) passed++;
|
|
976
|
+
else failed++;
|
|
977
|
+
|
|
978
|
+
if (test('allows safe args like --write .', () => {
|
|
979
|
+
const cmd = pm.getExecCommand('prettier', '--write .');
|
|
980
|
+
assert.ok(cmd.includes('--write .'), 'Should include safe args');
|
|
981
|
+
})) passed++;
|
|
982
|
+
else failed++;
|
|
983
|
+
|
|
984
|
+
if (test('allows empty args without trailing space', () => {
|
|
985
|
+
const cmd = pm.getExecCommand('prettier', '');
|
|
986
|
+
assert.ok(!cmd.endsWith(' '), 'Should not have trailing space for empty args');
|
|
987
|
+
})) passed++;
|
|
988
|
+
else failed++;
|
|
989
|
+
|
|
990
|
+
// ─── Round 21: getCommandPattern regex escaping ───
|
|
991
|
+
console.log('\ngetCommandPattern (regex escaping):');
|
|
992
|
+
|
|
993
|
+
if (test('escapes dot in action name for regex safety', () => {
|
|
994
|
+
const pattern = pm.getCommandPattern('test.all');
|
|
995
|
+
// The dot should be escaped to \. in the pattern
|
|
996
|
+
const regex = new RegExp(pattern);
|
|
997
|
+
assert.ok(regex.test('npm run test.all'), 'Should match literal dot');
|
|
998
|
+
assert.ok(!regex.test('npm run testXall'), 'Should NOT match arbitrary character in place of dot');
|
|
999
|
+
})) passed++;
|
|
1000
|
+
else failed++;
|
|
1001
|
+
|
|
1002
|
+
if (test('escapes brackets in action name', () => {
|
|
1003
|
+
const pattern = pm.getCommandPattern('build[prod]');
|
|
1004
|
+
const regex = new RegExp(pattern);
|
|
1005
|
+
assert.ok(regex.test('npm run build[prod]'), 'Should match literal brackets');
|
|
1006
|
+
})) passed++;
|
|
1007
|
+
else failed++;
|
|
1008
|
+
|
|
1009
|
+
if (test('escapes parentheses in action name', () => {
|
|
1010
|
+
// Should not throw when compiled as regex
|
|
1011
|
+
const pattern = pm.getCommandPattern('foo(bar)');
|
|
1012
|
+
assert.doesNotThrow(() => new RegExp(pattern), 'Should produce valid regex with escaped parens');
|
|
1013
|
+
})) passed++;
|
|
1014
|
+
else failed++;
|
|
1015
|
+
|
|
1016
|
+
// ── Round 27: input validation and escapeRegex edge cases ──
|
|
1017
|
+
console.log('\ngetRunCommand (non-string input):');
|
|
1018
|
+
|
|
1019
|
+
if (test('rejects undefined script name', () => {
|
|
1020
|
+
assert.throws(() => pm.getRunCommand(undefined), /non-empty string/);
|
|
1021
|
+
})) passed++;
|
|
1022
|
+
else failed++;
|
|
1023
|
+
|
|
1024
|
+
if (test('rejects numeric script name', () => {
|
|
1025
|
+
assert.throws(() => pm.getRunCommand(123), /non-empty string/);
|
|
1026
|
+
})) passed++;
|
|
1027
|
+
else failed++;
|
|
1028
|
+
|
|
1029
|
+
if (test('rejects boolean script name', () => {
|
|
1030
|
+
assert.throws(() => pm.getRunCommand(true), /non-empty string/);
|
|
1031
|
+
})) passed++;
|
|
1032
|
+
else failed++;
|
|
1033
|
+
|
|
1034
|
+
console.log('\ngetExecCommand (non-string binary):');
|
|
1035
|
+
|
|
1036
|
+
if (test('rejects undefined binary name', () => {
|
|
1037
|
+
assert.throws(() => pm.getExecCommand(undefined), /non-empty string/);
|
|
1038
|
+
})) passed++;
|
|
1039
|
+
else failed++;
|
|
1040
|
+
|
|
1041
|
+
if (test('rejects numeric binary name', () => {
|
|
1042
|
+
assert.throws(() => pm.getExecCommand(42), /non-empty string/);
|
|
1043
|
+
})) passed++;
|
|
1044
|
+
else failed++;
|
|
1045
|
+
|
|
1046
|
+
console.log('\ngetCommandPattern (escapeRegex completeness):');
|
|
1047
|
+
|
|
1048
|
+
if (test('escapes all regex metacharacters in action', () => {
|
|
1049
|
+
// All regex metacharacters: . * + ? ^ $ { } ( ) | [ ] \
|
|
1050
|
+
const action = 'test.*+?^${}()|[]\\\\';
|
|
1051
|
+
const pattern = pm.getCommandPattern(action);
|
|
1052
|
+
// Should produce a valid regex without throwing
|
|
1053
|
+
assert.doesNotThrow(() => new RegExp(pattern), 'Should produce valid regex');
|
|
1054
|
+
// Should match the literal string
|
|
1055
|
+
const regex = new RegExp(pattern);
|
|
1056
|
+
assert.ok(regex.test(`npm run ${action}`), 'Should match literal metacharacters');
|
|
1057
|
+
})) passed++;
|
|
1058
|
+
else failed++;
|
|
1059
|
+
|
|
1060
|
+
if (test('escapeRegex preserves alphanumeric chars', () => {
|
|
1061
|
+
const pattern = pm.getCommandPattern('simple-test');
|
|
1062
|
+
const regex = new RegExp(pattern);
|
|
1063
|
+
assert.ok(regex.test('npm run simple-test'), 'Should match simple action name');
|
|
1064
|
+
assert.ok(!regex.test('npm run simpleXtest'), 'Dash should not match arbitrary char');
|
|
1065
|
+
})) passed++;
|
|
1066
|
+
else failed++;
|
|
1067
|
+
|
|
1068
|
+
console.log('\ngetPackageManager (global config edge cases):');
|
|
1069
|
+
|
|
1070
|
+
if (test('ignores global config with non-string packageManager', () => {
|
|
1071
|
+
// This tests the path through loadConfig where packageManager is not a valid PM name
|
|
1072
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1073
|
+
try {
|
|
1074
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1075
|
+
// getPackageManager should fall through to default when no valid config exists
|
|
1076
|
+
const result = pm.getPackageManager({ projectDir: os.tmpdir() });
|
|
1077
|
+
assert.ok(result.name, 'Should return a package manager name');
|
|
1078
|
+
assert.ok(result.config, 'Should return config object');
|
|
1079
|
+
} finally {
|
|
1080
|
+
if (originalEnv !== undefined) {
|
|
1081
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
})) passed++;
|
|
1085
|
+
else failed++;
|
|
1086
|
+
|
|
1087
|
+
// ── Round 30: getCommandPattern with special action patterns ──
|
|
1088
|
+
console.log('\nRound 30: getCommandPattern edge cases:');
|
|
1089
|
+
|
|
1090
|
+
if (test('escapes pipe character in action name', () => {
|
|
1091
|
+
const pattern = pm.getCommandPattern('lint|fix');
|
|
1092
|
+
const regex = new RegExp(pattern);
|
|
1093
|
+
assert.ok(regex.test('npm run lint|fix'), 'Should match literal pipe');
|
|
1094
|
+
assert.ok(!regex.test('npm run lint'), 'Pipe should be literal, not regex OR');
|
|
1095
|
+
})) passed++;
|
|
1096
|
+
else failed++;
|
|
1097
|
+
|
|
1098
|
+
if (test('escapes dollar sign in action name', () => {
|
|
1099
|
+
const pattern = pm.getCommandPattern('deploy$prod');
|
|
1100
|
+
const regex = new RegExp(pattern);
|
|
1101
|
+
assert.ok(regex.test('npm run deploy$prod'), 'Should match literal dollar sign');
|
|
1102
|
+
})) passed++;
|
|
1103
|
+
else failed++;
|
|
1104
|
+
|
|
1105
|
+
if (test('handles action with leading/trailing spaces gracefully', () => {
|
|
1106
|
+
// Spaces aren't special in regex but good to test the full pattern
|
|
1107
|
+
const pattern = pm.getCommandPattern(' dev ');
|
|
1108
|
+
const regex = new RegExp(pattern);
|
|
1109
|
+
assert.ok(regex.test('npm run dev '), 'Should match action with spaces');
|
|
1110
|
+
})) passed++;
|
|
1111
|
+
else failed++;
|
|
1112
|
+
|
|
1113
|
+
if (test('known action "dev" does NOT use escapeRegex path', () => {
|
|
1114
|
+
// "dev" is a known action with hardcoded patterns, not the generic path
|
|
1115
|
+
const pattern = pm.getCommandPattern('dev');
|
|
1116
|
+
// Should match pnpm dev (without \"run\")
|
|
1117
|
+
const regex = new RegExp(pattern);
|
|
1118
|
+
assert.ok(regex.test('pnpm dev'), 'Known action pnpm dev should match');
|
|
1119
|
+
})) passed++;
|
|
1120
|
+
else failed++;
|
|
1121
|
+
|
|
1122
|
+
// ── Round 31: setProjectPackageManager write verification ──
|
|
1123
|
+
console.log('\nsetProjectPackageManager (write verification, Round 31):');
|
|
1124
|
+
|
|
1125
|
+
if (test('setProjectPackageManager creates .claude directory if missing', () => {
|
|
1126
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-mkdir-'));
|
|
1127
|
+
try {
|
|
1128
|
+
const claudeDir = path.join(testDir, '.claude');
|
|
1129
|
+
assert.ok(!fs.existsSync(claudeDir), '.claude should not pre-exist');
|
|
1130
|
+
pm.setProjectPackageManager('npm', testDir);
|
|
1131
|
+
assert.ok(fs.existsSync(claudeDir), '.claude should be created');
|
|
1132
|
+
const configPath = path.join(claudeDir, 'package-manager.json');
|
|
1133
|
+
assert.ok(fs.existsSync(configPath), 'Config file should be created');
|
|
1134
|
+
} finally {
|
|
1135
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
1136
|
+
}
|
|
1137
|
+
})) passed++;
|
|
1138
|
+
else failed++;
|
|
1139
|
+
|
|
1140
|
+
if (test('setProjectPackageManager includes setAt timestamp', () => {
|
|
1141
|
+
const testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pm-ts-'));
|
|
1142
|
+
try {
|
|
1143
|
+
const before = new Date().toISOString();
|
|
1144
|
+
const config = pm.setProjectPackageManager('yarn', testDir);
|
|
1145
|
+
const after = new Date().toISOString();
|
|
1146
|
+
assert.ok(config.setAt >= before, 'setAt should be >= before');
|
|
1147
|
+
assert.ok(config.setAt <= after, 'setAt should be <= after');
|
|
1148
|
+
} finally {
|
|
1149
|
+
fs.rmSync(testDir, { recursive: true, force: true });
|
|
1150
|
+
}
|
|
1151
|
+
})) passed++;
|
|
1152
|
+
else failed++;
|
|
1153
|
+
|
|
1154
|
+
// ── Round 31: getExecCommand safe argument edge cases ──
|
|
1155
|
+
console.log('\ngetExecCommand (safe argument edge cases, Round 31):');
|
|
1156
|
+
|
|
1157
|
+
if (test('allows colons in args (e.g. --fix:all)', () => {
|
|
1158
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1159
|
+
try {
|
|
1160
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1161
|
+
const cmd = pm.getExecCommand('eslint', '--fix:all');
|
|
1162
|
+
assert.ok(cmd.includes('--fix:all'), 'Colons should be allowed in args');
|
|
1163
|
+
} finally {
|
|
1164
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1165
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1166
|
+
}
|
|
1167
|
+
})) passed++;
|
|
1168
|
+
else failed++;
|
|
1169
|
+
|
|
1170
|
+
if (test('allows at-sign in args (e.g. @latest)', () => {
|
|
1171
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1172
|
+
try {
|
|
1173
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1174
|
+
const cmd = pm.getExecCommand('create-next-app', '@latest');
|
|
1175
|
+
assert.ok(cmd.includes('@latest'), 'At-sign should be allowed in args');
|
|
1176
|
+
} finally {
|
|
1177
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1178
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1179
|
+
}
|
|
1180
|
+
})) passed++;
|
|
1181
|
+
else failed++;
|
|
1182
|
+
|
|
1183
|
+
if (test('allows equals in args (e.g. --config=path)', () => {
|
|
1184
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1185
|
+
try {
|
|
1186
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1187
|
+
const cmd = pm.getExecCommand('prettier', '--config=.prettierrc');
|
|
1188
|
+
assert.ok(cmd.includes('--config=.prettierrc'), 'Equals should be allowed');
|
|
1189
|
+
} finally {
|
|
1190
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1191
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1192
|
+
}
|
|
1193
|
+
})) passed++;
|
|
1194
|
+
else failed++;
|
|
1195
|
+
|
|
1196
|
+
// ── Round 34: getExecCommand non-string args & packageManager type ──
|
|
1197
|
+
console.log('\nRound 34: getExecCommand non-string args:');
|
|
1198
|
+
|
|
1199
|
+
if (test('getExecCommand with args=0 produces command without extra args', () => {
|
|
1200
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1201
|
+
try {
|
|
1202
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1203
|
+
const cmd = pm.getExecCommand('prettier', 0);
|
|
1204
|
+
// 0 is falsy, so ternary `args ? ' ' + args : ''` yields ''
|
|
1205
|
+
assert.ok(!cmd.includes(' 0'), 'Should not append 0 as args');
|
|
1206
|
+
assert.ok(cmd.includes('prettier'), 'Should include binary name');
|
|
1207
|
+
} finally {
|
|
1208
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1209
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1210
|
+
}
|
|
1211
|
+
})) passed++;
|
|
1212
|
+
else failed++;
|
|
1213
|
+
|
|
1214
|
+
if (test('getExecCommand with args=false produces command without extra args', () => {
|
|
1215
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1216
|
+
try {
|
|
1217
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1218
|
+
const cmd = pm.getExecCommand('eslint', false);
|
|
1219
|
+
assert.ok(!cmd.includes('false'), 'Should not append false as args');
|
|
1220
|
+
assert.ok(cmd.includes('eslint'), 'Should include binary name');
|
|
1221
|
+
} finally {
|
|
1222
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1223
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1224
|
+
}
|
|
1225
|
+
})) passed++;
|
|
1226
|
+
else failed++;
|
|
1227
|
+
|
|
1228
|
+
if (test('getExecCommand with args=null produces command without extra args', () => {
|
|
1229
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1230
|
+
try {
|
|
1231
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1232
|
+
const cmd = pm.getExecCommand('tsc', null);
|
|
1233
|
+
assert.ok(!cmd.includes('null'), 'Should not append null as args');
|
|
1234
|
+
assert.ok(cmd.includes('tsc'), 'Should include binary name');
|
|
1235
|
+
} finally {
|
|
1236
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1237
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1238
|
+
}
|
|
1239
|
+
})) passed++;
|
|
1240
|
+
else failed++;
|
|
1241
|
+
|
|
1242
|
+
console.log('\nRound 34: detectFromPackageJson with non-string packageManager:');
|
|
1243
|
+
|
|
1244
|
+
if (test('detectFromPackageJson handles array packageManager field gracefully', () => {
|
|
1245
|
+
const tmpDir = createTestDir();
|
|
1246
|
+
try {
|
|
1247
|
+
// Write a malformed package.json with array instead of string
|
|
1248
|
+
fs.writeFileSync(path.join(tmpDir, 'package.json'), JSON.stringify({ packageManager: ['pnpm@8', 'yarn@3'] }));
|
|
1249
|
+
// Should not crash — try/catch in detectFromPackageJson catches TypeError
|
|
1250
|
+
const result = pm.getPackageManager({ projectDir: tmpDir });
|
|
1251
|
+
assert.ok(result.name, 'Should fallback to a valid package manager');
|
|
1252
|
+
} finally {
|
|
1253
|
+
fs.rmSync(tmpDir, { recursive: true, force: true });
|
|
1254
|
+
}
|
|
1255
|
+
})) passed++;
|
|
1256
|
+
else failed++;
|
|
1257
|
+
|
|
1258
|
+
if (test('detectFromPackageJson handles numeric packageManager field gracefully', () => {
|
|
1259
|
+
const tmpDir = createTestDir();
|
|
1260
|
+
try {
|
|
1261
|
+
fs.writeFileSync(path.join(tmpDir, 'package.json'), JSON.stringify({ packageManager: 42 }));
|
|
1262
|
+
const result = pm.getPackageManager({ projectDir: tmpDir });
|
|
1263
|
+
assert.ok(result.name, 'Should fallback to a valid package manager');
|
|
1264
|
+
} finally {
|
|
1265
|
+
fs.rmSync(tmpDir, { recursive: true, force: true });
|
|
1266
|
+
}
|
|
1267
|
+
})) passed++;
|
|
1268
|
+
else failed++;
|
|
1269
|
+
|
|
1270
|
+
// ── Round 48: detectFromPackageJson format edge cases ──
|
|
1271
|
+
console.log('\nRound 48: detectFromPackageJson (version format edge cases):');
|
|
1272
|
+
|
|
1273
|
+
if (test('returns null for packageManager with non-@ separator', () => {
|
|
1274
|
+
const testDir = createTestDir();
|
|
1275
|
+
try {
|
|
1276
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ name: 'test', packageManager: 'pnpm+8.6.0' }));
|
|
1277
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
1278
|
+
// split('@') on 'pnpm+8.6.0' returns ['pnpm+8.6.0'], which doesn't match PACKAGE_MANAGERS
|
|
1279
|
+
assert.strictEqual(result, null, 'Non-@ format should not match any package manager');
|
|
1280
|
+
} finally {
|
|
1281
|
+
cleanupTestDir(testDir);
|
|
1282
|
+
}
|
|
1283
|
+
})) passed++;
|
|
1284
|
+
else failed++;
|
|
1285
|
+
|
|
1286
|
+
if (test('extracts package manager from caret version like yarn@^4.0.0', () => {
|
|
1287
|
+
const testDir = createTestDir();
|
|
1288
|
+
try {
|
|
1289
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), JSON.stringify({ name: 'test', packageManager: 'yarn@^4.0.0' }));
|
|
1290
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
1291
|
+
assert.strictEqual(result, 'yarn', 'Caret version should still extract PM name');
|
|
1292
|
+
} finally {
|
|
1293
|
+
cleanupTestDir(testDir);
|
|
1294
|
+
}
|
|
1295
|
+
})) passed++;
|
|
1296
|
+
else failed++;
|
|
1297
|
+
|
|
1298
|
+
// getPackageManager falls through corrupted global config to npm default
|
|
1299
|
+
if (test('getPackageManager falls through corrupted global config to npm default', () => {
|
|
1300
|
+
const tmpDir = createTestDir();
|
|
1301
|
+
const projDir = path.join(tmpDir, 'proj');
|
|
1302
|
+
fs.mkdirSync(projDir, { recursive: true });
|
|
1303
|
+
|
|
1304
|
+
const origHome = process.env.HOME;
|
|
1305
|
+
const origUserProfile = process.env.USERPROFILE;
|
|
1306
|
+
const origPM = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1307
|
+
|
|
1308
|
+
try {
|
|
1309
|
+
// Create corrupted global config file
|
|
1310
|
+
const claudeDir = path.join(tmpDir, '.claude');
|
|
1311
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
1312
|
+
fs.writeFileSync(path.join(claudeDir, 'package-manager.json'), '{ invalid json !!!', 'utf8');
|
|
1313
|
+
|
|
1314
|
+
process.env.HOME = tmpDir;
|
|
1315
|
+
process.env.USERPROFILE = tmpDir;
|
|
1316
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1317
|
+
|
|
1318
|
+
// Re-require to pick up new HOME
|
|
1319
|
+
delete require.cache[require.resolve('../../scripts/lib/package-manager')];
|
|
1320
|
+
delete require.cache[require.resolve('../../scripts/lib/utils')];
|
|
1321
|
+
const freshPM = require('../../scripts/lib/package-manager');
|
|
1322
|
+
|
|
1323
|
+
// Empty project dir: no lock file, no package.json, no project config
|
|
1324
|
+
const result = freshPM.getPackageManager({ projectDir: projDir });
|
|
1325
|
+
assert.strictEqual(result.name, 'npm', 'Should fall through to npm default');
|
|
1326
|
+
assert.strictEqual(result.source, 'default', 'Source should be default');
|
|
1327
|
+
} finally {
|
|
1328
|
+
process.env.HOME = origHome;
|
|
1329
|
+
process.env.USERPROFILE = origUserProfile;
|
|
1330
|
+
if (origPM !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = origPM;
|
|
1331
|
+
|
|
1332
|
+
delete require.cache[require.resolve('../../scripts/lib/package-manager')];
|
|
1333
|
+
delete require.cache[require.resolve('../../scripts/lib/utils')];
|
|
1334
|
+
cleanupTestDir(tmpDir);
|
|
1335
|
+
}
|
|
1336
|
+
})) passed++;
|
|
1337
|
+
else failed++;
|
|
1338
|
+
|
|
1339
|
+
// ── Round 69: getPackageManager global-config success path ──
|
|
1340
|
+
console.log('\nRound 69: getPackageManager (global-config success):');
|
|
1341
|
+
|
|
1342
|
+
if (test('getPackageManager returns source global-config when valid global config exists', () => {
|
|
1343
|
+
const tmpDir = createTestDir();
|
|
1344
|
+
const projDir = path.join(tmpDir, 'proj');
|
|
1345
|
+
fs.mkdirSync(projDir, { recursive: true });
|
|
1346
|
+
|
|
1347
|
+
const origHome = process.env.HOME;
|
|
1348
|
+
const origUserProfile = process.env.USERPROFILE;
|
|
1349
|
+
const origPM = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1350
|
+
|
|
1351
|
+
try {
|
|
1352
|
+
// Create valid global config with pnpm preference
|
|
1353
|
+
const claudeDir = path.join(tmpDir, '.claude');
|
|
1354
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
1355
|
+
fs.writeFileSync(path.join(claudeDir, 'package-manager.json'), JSON.stringify({ packageManager: 'pnpm', setAt: '2026-01-01T00:00:00Z' }), 'utf8');
|
|
1356
|
+
|
|
1357
|
+
process.env.HOME = tmpDir;
|
|
1358
|
+
process.env.USERPROFILE = tmpDir;
|
|
1359
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1360
|
+
|
|
1361
|
+
// Re-require to pick up new HOME
|
|
1362
|
+
delete require.cache[require.resolve('../../scripts/lib/package-manager')];
|
|
1363
|
+
delete require.cache[require.resolve('../../scripts/lib/utils')];
|
|
1364
|
+
const freshPM = require('../../scripts/lib/package-manager');
|
|
1365
|
+
|
|
1366
|
+
// Empty project dir: no lock file, no package.json, no project config
|
|
1367
|
+
const result = freshPM.getPackageManager({ projectDir: projDir });
|
|
1368
|
+
assert.strictEqual(result.name, 'pnpm', 'Should detect pnpm from global config');
|
|
1369
|
+
assert.strictEqual(result.source, 'global-config', 'Source should be global-config');
|
|
1370
|
+
assert.ok(result.config, 'Should include config object');
|
|
1371
|
+
assert.strictEqual(result.config.lockFile, 'pnpm-lock.yaml', 'Config should match pnpm');
|
|
1372
|
+
} finally {
|
|
1373
|
+
process.env.HOME = origHome;
|
|
1374
|
+
process.env.USERPROFILE = origUserProfile;
|
|
1375
|
+
if (origPM !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = origPM;
|
|
1376
|
+
|
|
1377
|
+
delete require.cache[require.resolve('../../scripts/lib/package-manager')];
|
|
1378
|
+
delete require.cache[require.resolve('../../scripts/lib/utils')];
|
|
1379
|
+
cleanupTestDir(tmpDir);
|
|
1380
|
+
}
|
|
1381
|
+
})) passed++;
|
|
1382
|
+
else failed++;
|
|
1383
|
+
|
|
1384
|
+
// ── Round 71: setPreferredPackageManager save failure wraps error ──
|
|
1385
|
+
console.log('\nRound 71: setPreferredPackageManager (save failure):');
|
|
1386
|
+
|
|
1387
|
+
if (test('setPreferredPackageManager throws wrapped error when save fails', () => {
|
|
1388
|
+
if (process.platform === 'win32' || process.getuid?.() === 0) {
|
|
1389
|
+
console.log(' (skipped — chmod ineffective on Windows/root)');
|
|
1390
|
+
return;
|
|
1391
|
+
}
|
|
1392
|
+
const isoHome = path.join(os.tmpdir(), `ecc-pm-r71-${Date.now()}`);
|
|
1393
|
+
const claudeDir = path.join(isoHome, '.claude');
|
|
1394
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
1395
|
+
const savedHome = process.env.HOME;
|
|
1396
|
+
const savedProfile = process.env.USERPROFILE;
|
|
1397
|
+
try {
|
|
1398
|
+
process.env.HOME = isoHome;
|
|
1399
|
+
process.env.USERPROFILE = isoHome;
|
|
1400
|
+
delete require.cache[require.resolve('../../scripts/lib/package-manager')];
|
|
1401
|
+
delete require.cache[require.resolve('../../scripts/lib/utils')];
|
|
1402
|
+
const freshPm = require('../../scripts/lib/package-manager');
|
|
1403
|
+
// Make .claude directory read-only — can't create new files (package-manager.json)
|
|
1404
|
+
fs.chmodSync(claudeDir, 0o555);
|
|
1405
|
+
assert.throws(() => {
|
|
1406
|
+
freshPm.setPreferredPackageManager('npm');
|
|
1407
|
+
}, /Failed to save package manager preference/);
|
|
1408
|
+
} finally {
|
|
1409
|
+
try {
|
|
1410
|
+
fs.chmodSync(claudeDir, 0o755);
|
|
1411
|
+
} catch (_err) {
|
|
1412
|
+
/* best-effort */
|
|
1413
|
+
}
|
|
1414
|
+
process.env.HOME = savedHome;
|
|
1415
|
+
process.env.USERPROFILE = savedProfile;
|
|
1416
|
+
delete require.cache[require.resolve('../../scripts/lib/package-manager')];
|
|
1417
|
+
delete require.cache[require.resolve('../../scripts/lib/utils')];
|
|
1418
|
+
fs.rmSync(isoHome, { recursive: true, force: true });
|
|
1419
|
+
}
|
|
1420
|
+
})) passed++;
|
|
1421
|
+
else failed++;
|
|
1422
|
+
|
|
1423
|
+
// ── Round 72: setProjectPackageManager save failure wraps error ──
|
|
1424
|
+
console.log('\nRound 72: setProjectPackageManager (save failure):');
|
|
1425
|
+
|
|
1426
|
+
if (test('setProjectPackageManager throws wrapped error when write fails', () => {
|
|
1427
|
+
if (process.platform === 'win32' || process.getuid?.() === 0) {
|
|
1428
|
+
console.log(' (skipped — chmod ineffective on Windows/root)');
|
|
1429
|
+
return;
|
|
1430
|
+
}
|
|
1431
|
+
const isoProject = path.join(os.tmpdir(), `ecc-pm-proj-r72-${Date.now()}`);
|
|
1432
|
+
const claudeDir = path.join(isoProject, '.claude');
|
|
1433
|
+
fs.mkdirSync(claudeDir, { recursive: true });
|
|
1434
|
+
// Make .claude directory read-only — can't create new files
|
|
1435
|
+
fs.chmodSync(claudeDir, 0o555);
|
|
1436
|
+
try {
|
|
1437
|
+
assert.throws(() => {
|
|
1438
|
+
pm.setProjectPackageManager('npm', isoProject);
|
|
1439
|
+
}, /Failed to save package manager config/);
|
|
1440
|
+
} finally {
|
|
1441
|
+
fs.chmodSync(claudeDir, 0o755);
|
|
1442
|
+
fs.rmSync(isoProject, { recursive: true, force: true });
|
|
1443
|
+
}
|
|
1444
|
+
})) passed++;
|
|
1445
|
+
else failed++;
|
|
1446
|
+
|
|
1447
|
+
// ── Round 80: getExecCommand with truthy non-string args ──
|
|
1448
|
+
console.log('\nRound 80: getExecCommand (truthy non-string args):');
|
|
1449
|
+
|
|
1450
|
+
if (test('getExecCommand with args=42 (truthy number) appends stringified value', () => {
|
|
1451
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1452
|
+
try {
|
|
1453
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1454
|
+
// args=42: truthy, so typeof check at line 334 short-circuits
|
|
1455
|
+
// (typeof 42 !== 'string'), skipping validation. Line 339:
|
|
1456
|
+
// 42 ? ' ' + 42 -> ' 42' -> appended.
|
|
1457
|
+
const cmd = pm.getExecCommand('prettier', 42);
|
|
1458
|
+
assert.ok(cmd.includes('prettier'), 'Should include binary name');
|
|
1459
|
+
assert.ok(cmd.includes('42'), 'Truthy number should be stringified and appended');
|
|
1460
|
+
} finally {
|
|
1461
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1462
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1463
|
+
}
|
|
1464
|
+
})) passed++;
|
|
1465
|
+
else failed++;
|
|
1466
|
+
|
|
1467
|
+
// ── Round 86: detectFromPackageJson with empty (0-byte) package.json ──
|
|
1468
|
+
console.log('\nRound 86: detectFromPackageJson (empty package.json):');
|
|
1469
|
+
|
|
1470
|
+
if (test('detectFromPackageJson returns null for empty (0-byte) package.json', () => {
|
|
1471
|
+
// package-manager.js line 109-111: readFile returns "" for empty file.
|
|
1472
|
+
// "" is falsy -> if (content) is false -> skips JSON.parse -> returns null.
|
|
1473
|
+
const testDir = createTestDir();
|
|
1474
|
+
fs.writeFileSync(path.join(testDir, 'package.json'), '');
|
|
1475
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
1476
|
+
assert.strictEqual(result, null, 'Empty package.json should return null (content="" is falsy)');
|
|
1477
|
+
cleanupTestDir(testDir);
|
|
1478
|
+
})) passed++;
|
|
1479
|
+
else failed++;
|
|
1480
|
+
|
|
1481
|
+
// ── Round 91: getCommandPattern with empty action string ──
|
|
1482
|
+
console.log('\nRound 91: getCommandPattern (empty action):');
|
|
1483
|
+
|
|
1484
|
+
if (test('getCommandPattern with empty string returns valid regex pattern', () => {
|
|
1485
|
+
// package-manager.js line 401-409: Empty action falls to the else branch.
|
|
1486
|
+
// escapeRegex('') returns '', producing patterns like 'npm run ', 'yarn '.
|
|
1487
|
+
// The resulting combined regex should be compilable (not throw).
|
|
1488
|
+
const pattern = pm.getCommandPattern('');
|
|
1489
|
+
assert.ok(typeof pattern === 'string', 'Should return a string');
|
|
1490
|
+
assert.ok(pattern.length > 0, 'Should return non-empty pattern');
|
|
1491
|
+
// Verify the pattern compiles without error
|
|
1492
|
+
const regex = new RegExp(pattern);
|
|
1493
|
+
assert.ok(regex instanceof RegExp, 'Pattern should compile to valid RegExp');
|
|
1494
|
+
// The pattern should match package manager commands with trailing space
|
|
1495
|
+
assert.ok(regex.test('npm run '), 'Should match "npm run " with trailing space');
|
|
1496
|
+
assert.ok(regex.test('yarn '), 'Should match "yarn " with trailing space');
|
|
1497
|
+
})) passed++;
|
|
1498
|
+
else failed++;
|
|
1499
|
+
|
|
1500
|
+
// ── Round 91: detectFromPackageJson with whitespace-only packageManager ──
|
|
1501
|
+
console.log('\nRound 91: detectFromPackageJson (whitespace-only packageManager):');
|
|
1502
|
+
|
|
1503
|
+
if (test('detectFromPackageJson returns null for whitespace-only packageManager field', () => {
|
|
1504
|
+
// package-manager.js line 114-119: \" \" is truthy, so enters the if block.
|
|
1505
|
+
// \" \".split('@')[0] = \" \" which doesn't match any PACKAGE_MANAGERS key.
|
|
1506
|
+
const testDir = createTestDir();
|
|
1507
|
+
fs.writeFileSync(
|
|
1508
|
+
path.join(testDir, 'package.json'),
|
|
1509
|
+
JSON.stringify({ packageManager: ' ' })
|
|
1510
|
+
);
|
|
1511
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
1512
|
+
assert.strictEqual(result, null, 'Whitespace-only packageManager should return null');
|
|
1513
|
+
cleanupTestDir(testDir);
|
|
1514
|
+
})) passed++;
|
|
1515
|
+
else failed++;
|
|
1516
|
+
|
|
1517
|
+
// ── Round 92: detectFromPackageJson with empty string packageManager ──
|
|
1518
|
+
console.log('\nRound 92: detectFromPackageJson (empty string packageManager):');
|
|
1519
|
+
|
|
1520
|
+
if (test('detectFromPackageJson returns null for empty string packageManager field', () => {
|
|
1521
|
+
// package-manager.js line 114: if (pkg.packageManager) — empty string \"\" is falsy,
|
|
1522
|
+
// so the if block is skipped entirely. Function returns null without attempting split.
|
|
1523
|
+
// This is distinct from Round 91's whitespace test (\" \" is truthy and enters the if).
|
|
1524
|
+
const testDir = createTestDir();
|
|
1525
|
+
fs.writeFileSync(
|
|
1526
|
+
path.join(testDir, 'package.json'),
|
|
1527
|
+
JSON.stringify({ name: 'test', packageManager: '' })
|
|
1528
|
+
);
|
|
1529
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
1530
|
+
assert.strictEqual(result, null, 'Empty string packageManager should return null (falsy)');
|
|
1531
|
+
cleanupTestDir(testDir);
|
|
1532
|
+
})) passed++;
|
|
1533
|
+
else failed++;
|
|
1534
|
+
|
|
1535
|
+
// ── Round 94: detectFromPackageJson with scoped package name ──
|
|
1536
|
+
console.log('\nRound 94: detectFromPackageJson (scoped package name @scope/pkg@version):');
|
|
1537
|
+
|
|
1538
|
+
if (test('detectFromPackageJson returns null for scoped package name (@scope/pkg@version)', () => {
|
|
1539
|
+
// package-manager.js line 116: pmName = pkg.packageManager.split('@')[0]\
|
|
1540
|
+
// For \"@pnpm/exe@8.0.0\", split('@') -> ['', 'pnpm/exe', '8.0.0'], so [0] = ''\
|
|
1541
|
+
// PACKAGE_MANAGERS[''] is undefined -> returns null.\
|
|
1542
|
+
// Scoped npm packages like @pnpm/exe are a real-world pattern but the\
|
|
1543
|
+
// packageManager field spec uses unscoped names (e.g., \"pnpm@8\"), so returning\
|
|
1544
|
+
// null is the correct defensive behaviour for this edge case.
|
|
1545
|
+
const testDir = createTestDir();
|
|
1546
|
+
fs.writeFileSync(
|
|
1547
|
+
path.join(testDir, 'package.json'),
|
|
1548
|
+
JSON.stringify({ name: 'test', packageManager: '@pnpm/exe@8.0.0' })
|
|
1549
|
+
);
|
|
1550
|
+
const result = pm.detectFromPackageJson(testDir);
|
|
1551
|
+
assert.strictEqual(result, null, 'Scoped package name should return null (split("@")[0] is empty string)');
|
|
1552
|
+
cleanupTestDir(testDir);
|
|
1553
|
+
})) passed++;
|
|
1554
|
+
else failed++;
|
|
1555
|
+
|
|
1556
|
+
// ── Round 94: getPackageManager with empty string CLAUDE_PACKAGE_MANAGER ──
|
|
1557
|
+
console.log('\nRound 94: getPackageManager (empty string CLAUDE_PACKAGE_MANAGER env var):');
|
|
1558
|
+
|
|
1559
|
+
if (test('getPackageManager skips empty string CLAUDE_PACKAGE_MANAGER (falsy short-circuit)', () => {
|
|
1560
|
+
// package-manager.js line 168: if (envPm && PACKAGE_MANAGERS[envPm])\
|
|
1561
|
+
// Empty string '' is falsy — the && short-circuits before checking PACKAGE_MANAGERS.\
|
|
1562
|
+
// This is distinct from the 'totally-fake-pm' test (truthy but unknown PM).
|
|
1563
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1564
|
+
try {
|
|
1565
|
+
process.env.CLAUDE_PACKAGE_MANAGER = '';
|
|
1566
|
+
const result = pm.getPackageManager();
|
|
1567
|
+
assert.notStrictEqual(result.source, 'environment', 'Empty string env var should NOT be treated as environment source');
|
|
1568
|
+
assert.ok(result.name, 'Should still return a valid package manager name');
|
|
1569
|
+
} finally {
|
|
1570
|
+
if (originalEnv !== undefined) {
|
|
1571
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1572
|
+
} else {
|
|
1573
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
})) passed++;
|
|
1577
|
+
else failed++;
|
|
1578
|
+
|
|
1579
|
+
// ── Round 104: detectFromLockFile with null projectDir (no input validation) ──
|
|
1580
|
+
console.log('\nRound 104: detectFromLockFile (null projectDir — throws TypeError):');
|
|
1581
|
+
|
|
1582
|
+
if (test('detectFromLockFile(null) throws TypeError (path.join rejects null)', () => {
|
|
1583
|
+
// package-manager.js line 95: `path.join(projectDir, pm.lockFile)` — there is no\
|
|
1584
|
+
// guard checking that projectDir is a string before passing it to path.join().\
|
|
1585
|
+
// When projectDir is null, path.join(null, 'package-lock.json') throws a TypeError\
|
|
1586
|
+
// because path.join only accepts string arguments.
|
|
1587
|
+
assert.throws(
|
|
1588
|
+
() => pm.detectFromLockFile(null),
|
|
1589
|
+
{ name: 'TypeError' },
|
|
1590
|
+
'path.join(null, ...) should throw TypeError (no input validation in detectFromLockFile)'
|
|
1591
|
+
);
|
|
1592
|
+
})) passed++;
|
|
1593
|
+
else failed++;
|
|
1594
|
+
|
|
1595
|
+
// ── Round 105: getExecCommand with object args (bypasses SAFE_ARGS_REGEX, coerced to [object Object]) ──
|
|
1596
|
+
console.log('\nRound 105: getExecCommand (object args — typeof bypass coerces to [object Object]):');
|
|
1597
|
+
|
|
1598
|
+
if (test('getExecCommand with args={} bypasses SAFE_ARGS validation and coerces to "[object Object]"', () => {
|
|
1599
|
+
// package-manager.js line 334: `if (args && typeof args === 'string' && !SAFE_ARGS_REGEX.test(args))`
|
|
1600
|
+
// When args is an object: typeof {} === 'object' (not 'string'), so the
|
|
1601
|
+
// SAFE_ARGS_REGEX check is entirely SKIPPED.\
|
|
1602
|
+
// Line 339: `args ? ' ' + args : ''` — object is truthy, so it reaches\
|
|
1603
|
+
// string concatenation which calls {}.toString() -> \"[object Object]\"\
|
|
1604
|
+
// Final command: "npx prettier [object Object]" — brackets bypass validation.
|
|
1605
|
+
const cmd = pm.getExecCommand('prettier', {});
|
|
1606
|
+
assert.ok(cmd.includes('[object Object]'), 'Object args should be coerced to "[object Object]" via implicit toString()');
|
|
1607
|
+
// Verify the SAFE_ARGS regex WOULD reject this string if it were a string arg
|
|
1608
|
+
assert.throws(
|
|
1609
|
+
() => pm.getExecCommand('prettier', '[object Object]'),
|
|
1610
|
+
/unsafe characters/,
|
|
1611
|
+
'Same string as explicit string arg is correctly rejected by SAFE_ARGS_REGEX'
|
|
1612
|
+
);
|
|
1613
|
+
})) passed++;
|
|
1614
|
+
else failed++;
|
|
1615
|
+
|
|
1616
|
+
// ── Round 109: getExecCommand with ../ path traversal in binary — SAFE_NAME_REGEX allows it ──
|
|
1617
|
+
console.log('\nRound 109: getExecCommand (path traversal in binary — SAFE_NAME_REGEX permits ../ in binary name):');
|
|
1618
|
+
|
|
1619
|
+
if (test('getExecCommand accepts ../../../etc/passwd as binary because SAFE_NAME_REGEX allows ../', () => {
|
|
1620
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1621
|
+
try {
|
|
1622
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1623
|
+
// SAFE_NAME_REGEX = /^[@a-zA-Z0-9_.\\/-\\\\]+$/ individually allows . and /\
|
|
1624
|
+
const cmd = pm.getExecCommand('../../../etc/passwd');
|
|
1625
|
+
assert.strictEqual(cmd, 'npx ../../../etc/passwd', 'Path traversal in binary passes SAFE_NAME_REGEX because . and / are individually allowed');
|
|
1626
|
+
// Also verify scoped path traversal
|
|
1627
|
+
const cmd2 = pm.getExecCommand('@scope/../../evil');
|
|
1628
|
+
assert.strictEqual(cmd2, 'npx @scope/../../evil', 'Scoped path traversal also passes the regex');
|
|
1629
|
+
} finally {
|
|
1630
|
+
if (originalEnv !== undefined) {
|
|
1631
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1632
|
+
} else {
|
|
1633
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
})) passed++;
|
|
1637
|
+
else failed++;
|
|
1638
|
+
|
|
1639
|
+
// ── Round 108: getRunCommand with path traversal — SAFE_NAME_REGEX allows ../ sequences ──
|
|
1640
|
+
console.log('\nRound 108: getRunCommand (path traversal — SAFE_NAME_REGEX permits ../ via allowed / and . chars):');
|
|
1641
|
+
|
|
1642
|
+
if (test('getRunCommand accepts @scope/../../evil because SAFE_NAME_REGEX allows ../', () => {
|
|
1643
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1644
|
+
try {
|
|
1645
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1646
|
+
// SAFE_NAME_REGEX = /^[@a-zA-Z0-9_.\\/-\\\\]+$/ allows each char individually,\
|
|
1647
|
+
// so '../' passes despite being a path traversal sequence
|
|
1648
|
+
const cmd = pm.getRunCommand('@scope/../../evil');
|
|
1649
|
+
assert.strictEqual(cmd, 'npm run @scope/../../evil', 'Path traversal passes SAFE_NAME_REGEX because / and . are individually allowed');
|
|
1650
|
+
// Also verify plain ../ passes
|
|
1651
|
+
const cmd2 = pm.getRunCommand('../../../etc/passwd');
|
|
1652
|
+
assert.strictEqual(cmd2, 'npm run ../../../etc/passwd', 'Bare ../ traversal also passes the regex');
|
|
1653
|
+
} finally {
|
|
1654
|
+
if (originalEnv !== undefined) {
|
|
1655
|
+
process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1656
|
+
} else {
|
|
1657
|
+
delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
})) passed++;
|
|
1661
|
+
else failed++;
|
|
1662
|
+
|
|
1663
|
+
// Round 111: getExecCommand with newline in args
|
|
1664
|
+
console.log('\n' + String.raw`Round 111: getExecCommand (newline in args — SAFE_ARGS_REGEX \s matches \n):`);
|
|
1665
|
+
|
|
1666
|
+
if (test('getExecCommand accepts newline in args because SAFE_ARGS_REGEX includes newline', () => {
|
|
1667
|
+
// SAFE_ARGS_REGEX = /^[@a-zA-Z0-9\\s_.\\/:=,'\"*+-\\]+$/
|
|
1668
|
+
// \\s matches whitespace including newline
|
|
1669
|
+
const originalEnv = process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1670
|
+
try {
|
|
1671
|
+
process.env.CLAUDE_PACKAGE_MANAGER = 'npm';
|
|
1672
|
+
// Newline in args should pass SAFE_ARGS_REGEX because \\s matches newline
|
|
1673
|
+
const cmd = pm.getExecCommand('prettier', 'file.js\necho injected');
|
|
1674
|
+
assert.strictEqual(cmd, 'npx prettier file.js\necho injected', 'Newline passes SAFE_ARGS_REGEX');
|
|
1675
|
+
// Tab also passes
|
|
1676
|
+
const cmd2 = pm.getExecCommand('eslint', 'file.js\t--fix');
|
|
1677
|
+
assert.strictEqual(cmd2, 'npx eslint file.js\t--fix', 'Tab also passes SAFE_ARGS_REGEX via \\s');
|
|
1678
|
+
// Carriage return also passes
|
|
1679
|
+
const cmd3 = pm.getExecCommand('tsc', 'src\r--strict');
|
|
1680
|
+
assert.strictEqual(cmd3, 'npx tsc src\r--strict', 'Carriage return passes via \\s');
|
|
1681
|
+
} finally {
|
|
1682
|
+
if (originalEnv !== undefined) process.env.CLAUDE_PACKAGE_MANAGER = originalEnv;
|
|
1683
|
+
else delete process.env.CLAUDE_PACKAGE_MANAGER;
|
|
1684
|
+
}
|
|
1685
|
+
})) passed++;
|
|
1686
|
+
else failed++;
|
|
1687
|
+
|
|
1688
|
+
// Summary
|
|
1689
|
+
console.log('\n=== Test Results ===');
|
|
1690
|
+
console.log(`Passed: ${passed}`);
|
|
1691
|
+
console.log(`Failed: ${failed}`);
|
|
1692
|
+
console.log(`Total: ${passed + failed}
|
|
1693
|
+
`);
|
|
1694
|
+
|
|
1695
|
+
process.exit(failed > 0 ? 1 : 0);
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
runTests();
|