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
package/src/cli/repl.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* WINTER REPL
|
|
3
3
|
* Claude Code / Codex style interactive REPL
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import readline from 'readline';
|
|
7
7
|
import { promises as fs, watch as fsWatch } from 'fs';
|
|
8
8
|
import { homedir } from 'os';
|
|
9
|
-
import { welcomeBanner, colors } from './snowflake-logo.js';
|
|
10
|
-
import { renderBox, terminalWidth, stripAnsi,
|
|
9
|
+
import { welcomeBanner, colors, applyColorTheme } from './snowflake-logo.js';
|
|
10
|
+
import { renderBox, supportsUnicodeUi, terminalWidth, stripAnsi, wrapText, padVisible } from './terminal-ui.js';
|
|
11
|
+
import { WinterInputController } from './input-controller.js';
|
|
11
12
|
import { ToolExecutor } from '../tools/executor.js';
|
|
12
13
|
import { SessionManager } from '../session/manager.js';
|
|
13
14
|
import { AIProviderManager } from '../ai/providers.js';
|
|
@@ -16,13 +17,20 @@ import { PermissionManager } from '../tools/permission.js';
|
|
|
16
17
|
import { compressConversation } from '../context/compress.js';
|
|
17
18
|
import { getToolUsageSummary } from '../tools/analytics.js';
|
|
18
19
|
import { SweAgent } from '../agent/swe-agent.js';
|
|
20
|
+
import { AgentDefinitionRegistry } from '../agent/agent-definitions.js';
|
|
21
|
+
import { AgentRuntime } from '../agent/runtime.js';
|
|
19
22
|
import { SLASH_COMMANDS } from './slash-commands.js';
|
|
20
23
|
import { formatMarkdown } from './markdown-format.js';
|
|
21
24
|
import { Spinner } from './spinner.js';
|
|
22
25
|
import { ContextLoader } from './context-loader.js';
|
|
23
26
|
import { PromptBuilder } from './prompt-builder.js';
|
|
24
27
|
import { buildProjectDocs, isWinterGeneratedProjectDoc } from './project-docs.js';
|
|
25
|
-
import {
|
|
28
|
+
import {
|
|
29
|
+
buildPromptToolResult as buildPromptToolResultForModel,
|
|
30
|
+
buildPromptToolResultWithTokenJuice,
|
|
31
|
+
} from './tool-runtime.js';
|
|
32
|
+
import { TokenJuice } from '../context/token-juice.js';
|
|
33
|
+
import { classifyModelTier } from '../ai/model-capabilities.js';
|
|
26
34
|
import {
|
|
27
35
|
addUsage as mergeUsage,
|
|
28
36
|
buildToolCallSignature as buildToolCallSignatureText,
|
|
@@ -39,7 +47,25 @@ import {
|
|
|
39
47
|
parseToolArguments as parseArguments,
|
|
40
48
|
summarizePromptList as summarizePrompts,
|
|
41
49
|
} from './conversation-format.js';
|
|
50
|
+
import { CodebaseSearch } from '../codebase-index/search.js';
|
|
51
|
+
import { CodebaseWatcher } from '../codebase-index/watcher.js';
|
|
52
|
+
import { AtContextResolver } from './at-context.js';
|
|
53
|
+
import { DiffView } from './diff-view.js';
|
|
54
|
+
import { Composer } from './composer.js';
|
|
55
|
+
import { InlineComplete } from '../mcp/inline-complete.js';
|
|
56
|
+
import { Orchestrator } from '../ai/orchestrator.js';
|
|
57
|
+
import { ECCManager } from './ecc.js';
|
|
42
58
|
import { handleSlashCommand } from './repl-commands.js';
|
|
59
|
+
import { selectWorkflow } from '../ai/workflow-selector.js';
|
|
60
|
+
import { buildSmallModelAmplification } from '../ai/small-model-amplifier.js';
|
|
61
|
+
import { getProfileBlueprint } from '../ai/profile-blueprints.js';
|
|
62
|
+
import {
|
|
63
|
+
getCapabilityScorecard as getCapabilityScorecardReport,
|
|
64
|
+
runFullDoctor as runFullDoctorDiagnostics,
|
|
65
|
+
runToolDoctor as runToolDoctorDiagnostics,
|
|
66
|
+
showCapabilityScorecard as showCapabilityScorecardDiagnostics,
|
|
67
|
+
showContextDiagnostics as showContextDiagnosticsReport,
|
|
68
|
+
} from './diagnostics.js';
|
|
43
69
|
import path from 'path';
|
|
44
70
|
|
|
45
71
|
|
|
@@ -74,9 +100,307 @@ export class WinterREPL {
|
|
|
74
100
|
compactText: (text, maxChars, label) => this.compactText(text, maxChars, label),
|
|
75
101
|
summarizePrompts: (items, opts) => this.summarizePromptList(items, opts),
|
|
76
102
|
});
|
|
103
|
+
this.codebaseSearcher = null;
|
|
104
|
+
this.codebaseWatcher = null;
|
|
105
|
+
this.atContext = null;
|
|
106
|
+
this.diffView = null;
|
|
107
|
+
this.composer = null;
|
|
108
|
+
this.inlineComplete = null;
|
|
109
|
+
this.eccManager = null;
|
|
110
|
+
this.orchestrator = null;
|
|
111
|
+
this.tokenJuice = new TokenJuice({ projectPath: this.projectPath });
|
|
112
|
+
this.agentRegistry = new AgentDefinitionRegistry({ projectPath: this.projectPath });
|
|
113
|
+
this.agentRuntime = new AgentRuntime(this);
|
|
114
|
+
this.useUnicodeUi = supportsUnicodeUi();
|
|
115
|
+
this.inputController = new WinterInputController(this);
|
|
77
116
|
this.watchers = [];
|
|
78
117
|
}
|
|
79
118
|
|
|
119
|
+
async initCodebaseSearch() {
|
|
120
|
+
if (this.codebaseSearcher) return;
|
|
121
|
+
this.codebaseSearcher = new CodebaseSearch({ projectPath: this.projectPath, enableCodeGraph: true });
|
|
122
|
+
await this.codebaseSearcher.init();
|
|
123
|
+
this.atContext = new AtContextResolver({
|
|
124
|
+
projectPath: this.projectPath,
|
|
125
|
+
codebaseSearch: this.codebaseSearcher,
|
|
126
|
+
tools: this.tools,
|
|
127
|
+
});
|
|
128
|
+
this.diffView = new DiffView({ projectPath: this.projectPath });
|
|
129
|
+
this.composer = new Composer({
|
|
130
|
+
repl: this,
|
|
131
|
+
projectPath: this.projectPath,
|
|
132
|
+
diffView: this.diffView,
|
|
133
|
+
});
|
|
134
|
+
this.inlineComplete = new InlineComplete({
|
|
135
|
+
repl: this,
|
|
136
|
+
projectPath: this.projectPath,
|
|
137
|
+
});
|
|
138
|
+
this.orchestrator = new Orchestrator({
|
|
139
|
+
ai: this.ai,
|
|
140
|
+
tools: this.tools,
|
|
141
|
+
projectPath: this.projectPath,
|
|
142
|
+
});
|
|
143
|
+
this.eccManager = new ECCManager({
|
|
144
|
+
projectPath: this.projectPath,
|
|
145
|
+
tools: this.tools,
|
|
146
|
+
config: this.config,
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
async startCodebaseWatcher() {
|
|
151
|
+
if (this.codebaseWatcher) return;
|
|
152
|
+
await this.initCodebaseSearch();
|
|
153
|
+
this.codebaseWatcher = new CodebaseWatcher({
|
|
154
|
+
projectPath: this.projectPath,
|
|
155
|
+
indexer: this.codebaseSearcher.indexer,
|
|
156
|
+
});
|
|
157
|
+
this.codebaseWatcher.onChange(({ filePath }) => {
|
|
158
|
+
// Re-index on change (handled by watcher internally)
|
|
159
|
+
});
|
|
160
|
+
this.codebaseWatcher.start({ debounce: true });
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
async codebaseIndex(full = false) {
|
|
164
|
+
await this.initCodebaseSearch();
|
|
165
|
+
if (full) {
|
|
166
|
+
await this.codebaseSearcher.clear();
|
|
167
|
+
}
|
|
168
|
+
const stats = await this.codebaseSearcher.reindex();
|
|
169
|
+
console.log(`${colors.green}✓ Codebase indexed:${colors.reset}`);
|
|
170
|
+
console.log(` ${colors.dim}Files: ${stats.totalFiles}, Chunks: ${stats.totalChunks}, Indexed: ${stats.indexedFiles}, Skipped: ${stats.skipped}${colors.reset}`);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
async codebaseSearch(query) {
|
|
174
|
+
await this.initCodebaseSearch();
|
|
175
|
+
this.spinner = new Spinner('Searching codebase...');
|
|
176
|
+
this.spinner.start();
|
|
177
|
+
try {
|
|
178
|
+
const results = await this.codebaseSearcher.query(query, { limit: 15 });
|
|
179
|
+
if (this.spinner) this.spinner.stop();
|
|
180
|
+
|
|
181
|
+
if (results.totalResults === 0) {
|
|
182
|
+
console.log(`${colors.yellow}No results found for "${query}"${colors.reset}`);
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
console.log(`${colors.cyan}Codebase Search: "${query}" ${colors.dim}(${results.totalResults} matches in ${results.totalFiles} files)${colors.reset}\n`);
|
|
187
|
+
for (const file of results.byFile.slice(0, 10)) {
|
|
188
|
+
console.log(` ${colors.green}${file.filePath}${colors.reset} ${colors.dim}(score: ${file.score.toFixed(0)})${colors.reset}`);
|
|
189
|
+
for (const chunk of file.chunks.slice(0, 3)) {
|
|
190
|
+
const snippet = chunk.content.split('\n').slice(0, 3).join('\n ');
|
|
191
|
+
console.log(` ${colors.dim}lines ${chunk.startLine}-${chunk.endLine}:${colors.reset}`);
|
|
192
|
+
console.log(` ${colors.dim} ${snippet}${colors.reset}`);
|
|
193
|
+
}
|
|
194
|
+
if (file.chunks.length > 3) {
|
|
195
|
+
console.log(` ${colors.dim}... and ${file.chunks.length - 3} more chunks${colors.reset}`);
|
|
196
|
+
}
|
|
197
|
+
console.log('');
|
|
198
|
+
}
|
|
199
|
+
if (results.byFile.length > 10) {
|
|
200
|
+
console.log(`${colors.dim}... and ${results.byFile.length - 10} more files${colors.reset}`);
|
|
201
|
+
}
|
|
202
|
+
} catch (e) {
|
|
203
|
+
if (this.spinner) this.spinner.stop();
|
|
204
|
+
console.log(`${colors.red}Search error: ${e.message}${colors.reset}`);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
async codebaseFindDef(name) {
|
|
209
|
+
await this.initCodebaseSearch();
|
|
210
|
+
const matches = await this.codebaseSearcher.findSymbol(name, { limit: 10 });
|
|
211
|
+
|
|
212
|
+
if (matches.length === 0) {
|
|
213
|
+
console.log(`${colors.yellow}No definition found for "${name}"${colors.reset}`);
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
console.log(`${colors.cyan}Definitions for "${name}"${colors.reset}\n`);
|
|
218
|
+
for (const m of matches) {
|
|
219
|
+
console.log(` ${colors.green}${m.filePath}:${m.line}${colors.reset} ${colors.dim}${m.type}:${m.name}${colors.reset}`);
|
|
220
|
+
if (m.content) {
|
|
221
|
+
console.log(` ${colors.dim}${m.content}${colors.reset}`);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
async ensureCodebaseIndex({ verbose = false } = {}) {
|
|
227
|
+
await this.initCodebaseSearch();
|
|
228
|
+
const before = this.codebaseSearcher.indexer.getStats();
|
|
229
|
+
if (before.totalChunks > 0) return before;
|
|
230
|
+
|
|
231
|
+
if (verbose) {
|
|
232
|
+
console.log(`${colors.dim}Indexing codebase for semantic search...${colors.reset}`);
|
|
233
|
+
}
|
|
234
|
+
const indexedStats = await this.codebaseSearcher.reindex();
|
|
235
|
+
if (verbose) {
|
|
236
|
+
console.log(`${colors.green}✓ Codebase indexed: ${indexedStats.totalFiles} files, ${indexedStats.totalChunks} chunks${colors.reset}`);
|
|
237
|
+
}
|
|
238
|
+
return this.codebaseSearcher.indexer.getStats();
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
async buildCodebaseContext(task = '') {
|
|
242
|
+
try {
|
|
243
|
+
const stats = await this.ensureCodebaseIndex({ verbose: false });
|
|
244
|
+
if (!stats.totalChunks) return '';
|
|
245
|
+
|
|
246
|
+
const summary = this.codebaseSearcher.getSummary();
|
|
247
|
+
const lines = [
|
|
248
|
+
'[Codebase Index]',
|
|
249
|
+
`Project: ${this.projectPath}`,
|
|
250
|
+
`Indexed files: ${summary.totalFiles}, chunks: ${summary.totalChunks}`,
|
|
251
|
+
];
|
|
252
|
+
|
|
253
|
+
if (summary.languages?.length) {
|
|
254
|
+
lines.push(`Languages: ${summary.languages.map(([lang, count]) => `${lang}:${count}`).join(', ')}`);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
if (summary.topSymbols?.length) {
|
|
258
|
+
lines.push('Top symbol files:');
|
|
259
|
+
for (const file of summary.topSymbols.slice(0, 8)) {
|
|
260
|
+
lines.push(`- ${file.filePath}: ${file.symbols.join(', ')}`);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
const query = String(task || '').trim();
|
|
265
|
+
if (query.length >= 3) {
|
|
266
|
+
const results = await this.codebaseSearcher.query(query, { limit: 8 });
|
|
267
|
+
if (results.byFile.length > 0) {
|
|
268
|
+
lines.push('');
|
|
269
|
+
lines.push('[Relevant Codebase Matches]');
|
|
270
|
+
for (const file of results.byFile.slice(0, 5)) {
|
|
271
|
+
const snippets = file.chunks.slice(0, 2).map(chunk => {
|
|
272
|
+
const snippet = chunk.content.split(/\r?\n/).slice(0, 4).join(' ').replace(/\s+/g, ' ');
|
|
273
|
+
return `lines ${chunk.startLine}-${chunk.endLine}: ${this.compactText(snippet, 240, 'codebase match')}`;
|
|
274
|
+
});
|
|
275
|
+
lines.push(`- ${file.filePath} (score ${file.score.toFixed(0)})`);
|
|
276
|
+
for (const snippet of snippets) lines.push(` ${snippet}`);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
return this.compactText(lines.join('\n'), 4200, 'codebase context');
|
|
282
|
+
} catch (error) {
|
|
283
|
+
return `[Codebase Index]\nUnavailable: ${error.message}`;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
async undoLastChange(filePath = '') {
|
|
288
|
+
await this.initCodebaseSearch();
|
|
289
|
+
const backups = await this.diffView.getUndoHistory(filePath);
|
|
290
|
+
|
|
291
|
+
if (backups.length === 0) {
|
|
292
|
+
console.log(`${colors.yellow}No backups found${filePath ? ` for ${filePath}` : ''}${colors.reset}`);
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
console.log(`${colors.cyan}Recent backups:${colors.reset}\n`);
|
|
297
|
+
for (const b of backups.slice(0, 10)) {
|
|
298
|
+
const time = new Date(b.time).toLocaleString();
|
|
299
|
+
console.log(` ${colors.dim}${b.backup}${colors.reset}`);
|
|
300
|
+
console.log(` ${colors.dim}Original: ${b.original}, ${time}${colors.reset}`);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
// Offer to undo the most recent one
|
|
304
|
+
const latest = backups[0];
|
|
305
|
+
console.log(`\n${colors.yellow}Restore ${latest.original} from backup? ${colors.reset}`);
|
|
306
|
+
console.log(` ${colors.dim}Backup: ${latest.backup}${colors.reset}`);
|
|
307
|
+
|
|
308
|
+
const { default: rl } = await import('readline');
|
|
309
|
+
const rli = rl.createInterface({ input: process.stdin, output: process.stdout });
|
|
310
|
+
rli.question(`${colors.cyan}[y/N]: ${colors.reset}`, async (ans) => {
|
|
311
|
+
rli.close();
|
|
312
|
+
if (ans.trim().toLowerCase() === 'y') {
|
|
313
|
+
const ok = await this.diffView.restoreFromBackup(latest.backup, latest.original);
|
|
314
|
+
if (ok) {
|
|
315
|
+
console.log(`${colors.green}✓ Restored ${latest.original} from backup${colors.reset}`);
|
|
316
|
+
} else {
|
|
317
|
+
console.log(`${colors.red}Failed to restore${colors.reset}`);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
if (!this.readlineClosed) this.showInputPrompt();
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
buildPromptToolResult(toolName, result) {
|
|
325
|
+
return buildPromptToolResultForModel({
|
|
326
|
+
toolName,
|
|
327
|
+
result,
|
|
328
|
+
compact: this.shouldUseCompactPrompt(),
|
|
329
|
+
compactText: (text, maxChars, label) => this.compactText(text, maxChars, label),
|
|
330
|
+
summarizeToolResult: value => this.tools?.summarizeToolResult?.(value) || { ...value },
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
async buildPromptToolResultForModel(toolName, result) {
|
|
335
|
+
return buildPromptToolResultWithTokenJuice({
|
|
336
|
+
toolName,
|
|
337
|
+
result,
|
|
338
|
+
projectPath: this.projectPath,
|
|
339
|
+
tokenJuice: this.tokenJuice,
|
|
340
|
+
compact: this.shouldUseCompactPrompt(),
|
|
341
|
+
compactText: (text, maxChars, label) => this.compactText(text, maxChars, label),
|
|
342
|
+
summarizeToolResult: value => this.tools?.summarizeToolResult?.(value) || { ...value },
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
async compactStartupMemories({ projectInstructionFiles = [], autoCreateDocs = [] } = {}) {
|
|
347
|
+
const memory = Array.isArray(this.session?.memory) ? this.session.memory : [];
|
|
348
|
+
const shouldDrop = (entry) => {
|
|
349
|
+
const text = typeof entry === 'string' ? entry : entry?.text || '';
|
|
350
|
+
return text.startsWith('[Required local resources]')
|
|
351
|
+
|| text.startsWith('[Auto-applied skills]')
|
|
352
|
+
|| text.startsWith('[Project rule file')
|
|
353
|
+
|| text.startsWith('[Startup local resource index]')
|
|
354
|
+
|| (text.startsWith('[T') && text.includes('ghi nh'))
|
|
355
|
+
|| text.startsWith('[Quy');
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
this.session.memory = memory.filter(entry => !shouldDrop(entry));
|
|
359
|
+
|
|
360
|
+
const resourcePaths = this.getResourcePaths();
|
|
361
|
+
const resourceIndex = [
|
|
362
|
+
`agents.md: ${resourcePaths.agents}`,
|
|
363
|
+
`awesome-design-md: ${resourcePaths.designs}`,
|
|
364
|
+
`karpathy-tools: ${resourcePaths.karpathy}`,
|
|
365
|
+
`page-agent: ${resourcePaths.pageAgent}`,
|
|
366
|
+
`ecc: ${resourcePaths.ecc}`,
|
|
367
|
+
];
|
|
368
|
+
await this.session.replaceMemory(
|
|
369
|
+
'[Startup local resource index]',
|
|
370
|
+
[
|
|
371
|
+
'Resources are indexed by path only to save tokens.',
|
|
372
|
+
...resourceIndex.map(item => `- ${item}`),
|
|
373
|
+
'Use Read/Grep/Glob to inspect exact resource files when a task needs detail.',
|
|
374
|
+
].join('\n'),
|
|
375
|
+
'resource'
|
|
376
|
+
);
|
|
377
|
+
|
|
378
|
+
const docs = [
|
|
379
|
+
...projectInstructionFiles.map(file => ({
|
|
380
|
+
filename: file.relativePath,
|
|
381
|
+
filePath: file.filePath,
|
|
382
|
+
content: file.content,
|
|
383
|
+
})),
|
|
384
|
+
...autoCreateDocs.map(doc => ({
|
|
385
|
+
filename: doc.filename,
|
|
386
|
+
filePath: path.join(this.projectPath, doc.filename),
|
|
387
|
+
content: doc.content,
|
|
388
|
+
})),
|
|
389
|
+
];
|
|
390
|
+
|
|
391
|
+
const seen = new Set();
|
|
392
|
+
for (const doc of docs) {
|
|
393
|
+
if (!doc?.filename || seen.has(doc.filename)) continue;
|
|
394
|
+
seen.add(doc.filename);
|
|
395
|
+
const summary = this.compactText(String(doc.content || '').replace(/\s+/g, ' ').trim(), 700, doc.filename);
|
|
396
|
+
await this.session.replaceMemory(
|
|
397
|
+
`[Project rule file ${doc.filename}]`,
|
|
398
|
+
`Path: ${doc.filePath}\nSummary: ${summary}`,
|
|
399
|
+
'rule'
|
|
400
|
+
);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
80
404
|
getSessionToolPermissionStore() {
|
|
81
405
|
const context = this.session?.getContext?.() || {};
|
|
82
406
|
const value = context.toolPermissions?.value;
|
|
@@ -115,8 +439,14 @@ export class WinterREPL {
|
|
|
115
439
|
return this.contextLoader.readProjectInstructionFiles();
|
|
116
440
|
}
|
|
117
441
|
|
|
442
|
+
applyUiTheme(theme = 'dark') {
|
|
443
|
+
return applyColorTheme(theme);
|
|
444
|
+
}
|
|
445
|
+
|
|
118
446
|
async start() {
|
|
119
447
|
await this.session.init({ project: this.projectPath, sessionId: this.sessionId });
|
|
448
|
+
const startupConfig = await this.config.load();
|
|
449
|
+
this.applyUiTheme(startupConfig.ui?.theme || 'dark');
|
|
120
450
|
await this.ai.init();
|
|
121
451
|
|
|
122
452
|
await this.session.updateContext('projectAnchor', {
|
|
@@ -126,10 +456,10 @@ export class WinterREPL {
|
|
|
126
456
|
});
|
|
127
457
|
await this.session.replaceMemory('[Project Anchor]', `Current project is ${this.projectPath}. Treat this path as the canonical working directory for the session.`, 'info');
|
|
128
458
|
|
|
129
|
-
// Tự động đọc và ghi nhớ một số tài nguyên cục bộ
|
|
459
|
+
// Tự động đọc và ghi nhớ một số tài nguyên cục bộ an toàn.
|
|
130
460
|
const fsPromises = await import('fs/promises');
|
|
131
461
|
const resourcePaths = this.getResourcePaths();
|
|
132
|
-
const autoLoadTargets = [resourcePaths.agents, resourcePaths.designs, resourcePaths.karpathy];
|
|
462
|
+
const autoLoadTargets = [resourcePaths.agents, resourcePaths.designs, resourcePaths.karpathy, resourcePaths.pageAgent];
|
|
133
463
|
|
|
134
464
|
for (const targetPath of autoLoadTargets) {
|
|
135
465
|
try {
|
|
@@ -141,7 +471,7 @@ export class WinterREPL {
|
|
|
141
471
|
const fileName = path.basename(targetPath);
|
|
142
472
|
const memoryKey = `[Tự động ghi nhớ file ${fileName}]`;
|
|
143
473
|
await this.session.replaceMemory(memoryKey, content);
|
|
144
|
-
console.log(`${colors.dim}
|
|
474
|
+
console.log(`${colors.dim}✓ Đã tự động nạp và ghi nhớ file ${fileName}${colors.reset}`);
|
|
145
475
|
continue;
|
|
146
476
|
}
|
|
147
477
|
|
|
@@ -157,7 +487,7 @@ export class WinterREPL {
|
|
|
157
487
|
const content = await fsPromises.readFile(p, 'utf8');
|
|
158
488
|
const memoryKey = `[Tự động ghi nhớ file ${path.basename(targetPath)}/${c}]`;
|
|
159
489
|
await this.session.replaceMemory(memoryKey, content);
|
|
160
|
-
console.log(`${colors.dim}
|
|
490
|
+
console.log(`${colors.dim}✓ Đã tự động nạp và ghi nhớ ${path.basename(targetPath)}/${c}${colors.reset}`);
|
|
161
491
|
loaded = true;
|
|
162
492
|
break;
|
|
163
493
|
}
|
|
@@ -182,39 +512,39 @@ export class WinterREPL {
|
|
|
182
512
|
for (const file of projectInstructionFiles) {
|
|
183
513
|
const memoryKey = `[Quy tắc dự án từ ${file.relativePath}]`;
|
|
184
514
|
await this.session.replaceMemory(memoryKey, file.content);
|
|
185
|
-
console.log(`${colors.dim}
|
|
515
|
+
console.log(`${colors.dim}✓ Đã nạp quy tắc dự án từ ${file.relativePath}${colors.reset}`);
|
|
186
516
|
}
|
|
187
517
|
}
|
|
188
518
|
} catch (e) {
|
|
189
|
-
// Nếu không có, tự động tạo file mẫu
|
|
519
|
+
// Nếu không có, tự động tạo file mẫu.
|
|
190
520
|
const template = `# Winter Project Rules
|
|
191
521
|
|
|
192
|
-
##
|
|
522
|
+
## Project Overview
|
|
193
523
|
- **Name**: [Tên dự án]
|
|
194
524
|
- **Description**: [Mô tả ngắn về dự án]
|
|
195
525
|
|
|
196
|
-
##
|
|
526
|
+
## Tech Stack
|
|
197
527
|
- **Languages**: JavaScript / TypeScript
|
|
198
528
|
- **Runtime**: Node.js
|
|
199
529
|
- **Frameworks**: [Tự điền nếu có, VD: Express, React...]
|
|
200
530
|
|
|
201
|
-
##
|
|
531
|
+
## AI Behavior & Coding Guidelines
|
|
202
532
|
|
|
203
|
-
### 1. Nguyên
|
|
533
|
+
### 1. Nguyên tắc Code (Coding Standards)
|
|
204
534
|
- Luôn ưu tiên viết code sạch (Clean Code), dễ đọc và dễ bảo trì.
|
|
205
535
|
- Sử dụng ES Modules (\`import/export\`) thay vì CommonJS (\`require\`) trừ khi có lý do đặc biệt.
|
|
206
536
|
- Giữ nguyên các comment và JSDoc hiện có trong file trừ khi được yêu cầu sửa.
|
|
207
537
|
|
|
208
|
-
### 2. Tương
|
|
209
|
-
- Luôn giải thích
|
|
538
|
+
### 2. Tương tác với người dùng (User Interaction)
|
|
539
|
+
- Luôn giải thích ngắn gọn lý do thực hiện thay đổi trước khi sửa file.
|
|
210
540
|
- Khi gặp lỗi, hãy đề xuất giải pháp thay vì chỉ báo lỗi.
|
|
211
|
-
-
|
|
541
|
+
- Không tự tiện xóa code cũ của user trừ khi chắc chắn không còn dùng hoặc được yêu cầu.
|
|
212
542
|
|
|
213
543
|
### 3. Git & Commits
|
|
214
544
|
- Viết commit message theo chuẩn Conventional Commits (VD: \`feat:\`, \`fix:\`, \`docs:\`).
|
|
215
545
|
- Luôn kiểm tra \`git status\` trước khi thực hiện thay đổi lớn.
|
|
216
546
|
|
|
217
|
-
### 4. Xử
|
|
547
|
+
### 4. Xử lý File (File Operations)
|
|
218
548
|
- Chỉ sửa những dòng cần thiết, tránh viết lại toàn bộ file nếu không cần.
|
|
219
549
|
- Luôn đảm bảo file không bị lỗi cú pháp sau khi sửa.
|
|
220
550
|
`;
|
|
@@ -224,14 +554,14 @@ export class WinterREPL {
|
|
|
224
554
|
console.log(`\n${colors.green}✓ Đã tự động tạo file winter.md mẫu cho dự án mới!${colors.reset}`);
|
|
225
555
|
console.log(`${colors.dim}Bạn có thể chỉnh sửa file này để dạy AI các quy tắc riêng của dự án.${colors.reset}\n`);
|
|
226
556
|
|
|
227
|
-
// Nạp luôn vào memory
|
|
557
|
+
// Nạp luôn vào memory.
|
|
228
558
|
await this.session.replaceMemory(`[Quy tắc dự án từ winter.md]`, template);
|
|
229
559
|
} catch (err) {
|
|
230
|
-
// Bỏ qua nếu không ghi được file
|
|
560
|
+
// Bỏ qua nếu không ghi được file.
|
|
231
561
|
}
|
|
232
562
|
}
|
|
233
563
|
|
|
234
|
-
//
|
|
564
|
+
// Tự động tạo design.md, skill.md, rule.md nếu chưa có.
|
|
235
565
|
const autoCreateDocs = await buildProjectDocs({
|
|
236
566
|
projectPath: this.projectPath,
|
|
237
567
|
resourcePaths: this.getResourcePaths(),
|
|
@@ -257,12 +587,20 @@ export class WinterREPL {
|
|
|
257
587
|
const memoryKey = `[Quy tắc dự án từ ${doc.filename}]`;
|
|
258
588
|
await this.session.replaceMemory(memoryKey, doc.content);
|
|
259
589
|
} catch (err) {
|
|
260
|
-
// Bỏ qua nếu không tạo được
|
|
590
|
+
// Bỏ qua nếu không tạo được.
|
|
261
591
|
}
|
|
262
592
|
}
|
|
263
593
|
}
|
|
264
594
|
|
|
265
595
|
await this.bootstrapProjectCapabilities();
|
|
596
|
+
await this.compactStartupMemories({ projectInstructionFiles, autoCreateDocs });
|
|
597
|
+
|
|
598
|
+
// Codebase Index: warm in background, then inject summaries into model context on demand.
|
|
599
|
+
this.codebaseWarmup = this.ensureCodebaseIndex({ verbose: true })
|
|
600
|
+
.then(() => this.startCodebaseWatcher())
|
|
601
|
+
.catch((error) => {
|
|
602
|
+
console.log(`${colors.yellow}Codebase index disabled: ${error.message}${colors.reset}`);
|
|
603
|
+
});
|
|
266
604
|
|
|
267
605
|
const activeProvider = this.ai.getActiveProvider();
|
|
268
606
|
const info = {
|
|
@@ -281,22 +619,23 @@ export class WinterREPL {
|
|
|
281
619
|
this.showStatus();
|
|
282
620
|
}
|
|
283
621
|
|
|
284
|
-
// Hiển thị lịch sử chat nếu đang load lại session
|
|
285
|
-
const sessionHistory = this.session.getHistory(
|
|
622
|
+
// Hiển thị lịch sử chat nếu đang load lại session cũ, nhưng chỉ replay bản tóm tắt.
|
|
623
|
+
const sessionHistory = this.session.getHistory(4);
|
|
286
624
|
if (sessionHistory.length > 0) {
|
|
287
625
|
const columns = process.stdout.columns || 80;
|
|
288
626
|
const W = Math.max(60, Math.min(Math.floor(columns * 0.95), 100));
|
|
289
627
|
const titleStr = ' Lịch sử phiên làm việc ';
|
|
290
|
-
const
|
|
291
|
-
const
|
|
628
|
+
const ruleChar = this.useUnicodeUi ? '─' : '-';
|
|
629
|
+
const sideLine = ruleChar.repeat(Math.max(0, Math.floor((W - titleStr.length) / 2)));
|
|
630
|
+
const bottomLine = ruleChar.repeat(W);
|
|
292
631
|
|
|
293
632
|
console.log(`\n${colors.dim}${sideLine}${titleStr}${sideLine}${colors.reset}`);
|
|
294
633
|
for (const msg of sessionHistory) {
|
|
634
|
+
const text = this.formatStartupHistoryEntry(msg.content);
|
|
295
635
|
if (msg.role === 'user') {
|
|
296
|
-
console.log(`\n${colors.cyan}Bạn:${colors.reset} ${
|
|
636
|
+
console.log(`\n${colors.cyan}Bạn:${colors.reset} ${text}`);
|
|
297
637
|
} else if (msg.role === 'assistant') {
|
|
298
|
-
|
|
299
|
-
console.log(`\n${colors.bright}${colors.magenta}Winter:${colors.reset}${formatted}`);
|
|
638
|
+
console.log(`\n${colors.bright}${colors.magenta}Winter:${colors.reset} ${text}`);
|
|
300
639
|
}
|
|
301
640
|
}
|
|
302
641
|
console.log(`\n${colors.dim}${bottomLine}${colors.reset}\n`);
|
|
@@ -306,20 +645,20 @@ export class WinterREPL {
|
|
|
306
645
|
this.rl = readline.createInterface({
|
|
307
646
|
input: process.stdin,
|
|
308
647
|
output: process.stdout,
|
|
309
|
-
prompt: `${colors.bright}${colors.cyan}winter
|
|
648
|
+
prompt: `${colors.bright}${colors.cyan}winter > ${colors.reset}`,
|
|
310
649
|
completer: this.completer.bind(this),
|
|
311
650
|
});
|
|
312
|
-
this.installSlashSuggestions();
|
|
651
|
+
this.inputController.installSlashSuggestions();
|
|
313
652
|
|
|
314
|
-
// Bắt sự kiện Ctrl+C để in ra lệnh tiếp tục session
|
|
653
|
+
// Bắt sự kiện Ctrl+C để in ra lệnh tiếp tục session.
|
|
315
654
|
this.rl.on('SIGINT', () => {
|
|
316
|
-
console.log(`\n\n${colors.cyan}
|
|
317
|
-
console.log(`${colors.yellow}
|
|
655
|
+
console.log(`\n\n${colors.cyan}Cảm ơn đã sử dụng Winter!${colors.reset}`);
|
|
656
|
+
console.log(`${colors.yellow}Tiếp tục phiên làm việc:${colors.reset}`);
|
|
318
657
|
console.log(`${colors.bright}${colors.green}winter --session ${this.session.getSessionId()}${colors.reset}\n`);
|
|
319
658
|
process.exit(0);
|
|
320
659
|
});
|
|
321
660
|
|
|
322
|
-
// Hiển thị prompt lần đầu tiên ngay khi khởi động xong
|
|
661
|
+
// Hiển thị prompt lần đầu tiên ngay khi khởi động xong.
|
|
323
662
|
this.showInputPrompt();
|
|
324
663
|
|
|
325
664
|
this.rl.on('line', (line) => {
|
|
@@ -335,7 +674,7 @@ export class WinterREPL {
|
|
|
335
674
|
})
|
|
336
675
|
.catch((error) => {
|
|
337
676
|
this.closeInputBox();
|
|
338
|
-
console.log(`\n${colors.red}
|
|
677
|
+
console.log(`\n${colors.red}? Error: ${error.message}${colors.reset}\n`);
|
|
339
678
|
if (this.running && !this.readlineClosed) this.showInputPrompt();
|
|
340
679
|
});
|
|
341
680
|
});
|
|
@@ -348,26 +687,32 @@ export class WinterREPL {
|
|
|
348
687
|
});
|
|
349
688
|
}
|
|
350
689
|
|
|
690
|
+
formatStartupHistoryEntry(content, maxChars = 420) {
|
|
691
|
+
let text = stripAnsi(String(content ?? ''))
|
|
692
|
+
.replace(/\r?\n/g, ' ')
|
|
693
|
+
.replace(/\s+/g, ' ')
|
|
694
|
+
.trim();
|
|
695
|
+
if (!this.useUnicodeUi) {
|
|
696
|
+
text = text
|
|
697
|
+
.replace(/\p{Extended_Pictographic}/gu, '')
|
|
698
|
+
.replace(/[─━—–]/g, '-')
|
|
699
|
+
.replace(/\s+/g, ' ')
|
|
700
|
+
.trim();
|
|
701
|
+
}
|
|
702
|
+
if (text.length <= maxChars) return text;
|
|
703
|
+
return `${text.slice(0, maxChars - 32).trimEnd()} ... (${text.length - maxChars + 32} chars hidden)`;
|
|
704
|
+
}
|
|
705
|
+
|
|
351
706
|
showInputPrompt() {
|
|
352
|
-
|
|
353
|
-
const w = Math.max(20, terminalWidth() - 2);
|
|
354
|
-
process.stdout.write(`
|
|
355
|
-
${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
356
|
-
`);
|
|
357
|
-
process.stdout.write(`${colors.magenta}│${colors.reset} `);
|
|
358
|
-
this.rl.setPrompt(`${colors.bright}${colors.cyan}winter❄️: ${colors.reset}`);
|
|
359
|
-
this.rl.prompt();
|
|
707
|
+
return this.inputController.showInputPrompt();
|
|
360
708
|
}
|
|
361
709
|
|
|
362
710
|
closeInputBox() {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
`);
|
|
369
|
-
process.stdout.write(`${colors.magenta}╰${'─'.repeat(w)}╯${colors.reset}
|
|
370
|
-
`);
|
|
711
|
+
return this.inputController.closeInputBox();
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
buildInputPanel() {
|
|
715
|
+
return this.inputController.buildInputPanel();
|
|
371
716
|
}
|
|
372
717
|
|
|
373
718
|
showStatus() {
|
|
@@ -418,6 +763,46 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
418
763
|
await this.printPathPreview(this.getResourcePaths().karpathy, 'karpathy-tools');
|
|
419
764
|
}
|
|
420
765
|
|
|
766
|
+
async showPageAgentResources(args = []) {
|
|
767
|
+
const root = this.getResourcePaths().pageAgent;
|
|
768
|
+
const [action = 'info', ...rest] = args;
|
|
769
|
+
|
|
770
|
+
if (action === 'search') {
|
|
771
|
+
const query = rest.join(' ');
|
|
772
|
+
if (!query) {
|
|
773
|
+
console.log(`${colors.yellow}Usage: /page-agent search <query>${colors.reset}`);
|
|
774
|
+
return;
|
|
775
|
+
}
|
|
776
|
+
const matches = await this.searchResourceFiles(root, query, 30);
|
|
777
|
+
console.log(`${colors.cyan}Page Agent search "${query}":${colors.reset}`);
|
|
778
|
+
if (matches.length === 0) {
|
|
779
|
+
console.log(` ${colors.dim}No results${colors.reset}`);
|
|
780
|
+
return;
|
|
781
|
+
}
|
|
782
|
+
matches.forEach(match => console.log(` ${match.isDirectory ? '[dir] ' : '[file]'} ${match.relativePath}`));
|
|
783
|
+
return;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
if (action === 'read') {
|
|
787
|
+
const requestedPath = rest.join(' ') || 'README.md';
|
|
788
|
+
const target = path.resolve(root, requestedPath);
|
|
789
|
+
if (!target.startsWith(path.resolve(root))) {
|
|
790
|
+
console.log(`${colors.red}Path must stay inside page-agent resources.${colors.reset}`);
|
|
791
|
+
return;
|
|
792
|
+
}
|
|
793
|
+
await this.printPathPreview(target, `page-agent/${requestedPath}`);
|
|
794
|
+
return;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
if (action === 'docs') {
|
|
798
|
+
await this.printPathPreview(path.join(root, 'docs'), 'page-agent/docs');
|
|
799
|
+
return;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
await this.printPathPreview(root, 'page-agent');
|
|
803
|
+
console.log(`${colors.dim}Commands: /page-agent search <query>, /page-agent read <path>, /page-agent docs${colors.reset}`);
|
|
804
|
+
}
|
|
805
|
+
|
|
421
806
|
async showAgentsFile() {
|
|
422
807
|
await this.printPathPreview(this.getResourcePaths().agents, 'agents.md');
|
|
423
808
|
}
|
|
@@ -503,10 +888,36 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
503
888
|
return this.contextLoader.listPathEntries(target, limit);
|
|
504
889
|
}
|
|
505
890
|
|
|
891
|
+
async searchResourceFiles(root, query, limit = 30) {
|
|
892
|
+
const matches = [];
|
|
893
|
+
const needle = String(query || '').toLowerCase();
|
|
894
|
+
if (!needle) return matches;
|
|
895
|
+
|
|
896
|
+
const walk = async (dir) => {
|
|
897
|
+
if (matches.length >= limit) return;
|
|
898
|
+
const entries = await fs.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
899
|
+
for (const entry of entries) {
|
|
900
|
+
if (matches.length >= limit) break;
|
|
901
|
+
const fullPath = path.join(dir, entry.name);
|
|
902
|
+
const relativePath = path.relative(root, fullPath).replace(/\\/g, '/');
|
|
903
|
+
if (entry.isDirectory()) {
|
|
904
|
+
if (['node_modules', '.git', 'dist', 'build', '.next'].includes(entry.name)) continue;
|
|
905
|
+
if (entry.name.toLowerCase().includes(needle)) matches.push({ relativePath, isDirectory: true });
|
|
906
|
+
await walk(fullPath);
|
|
907
|
+
} else if (entry.isFile() && entry.name.toLowerCase().includes(needle)) {
|
|
908
|
+
matches.push({ relativePath, isDirectory: false });
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
await walk(root);
|
|
914
|
+
return matches;
|
|
915
|
+
}
|
|
916
|
+
|
|
506
917
|
async handleInput(input) {
|
|
507
918
|
if (this.isProcessing) {
|
|
508
919
|
const pos = this.taskQueue.length + 1;
|
|
509
|
-
console.log(`${colors.magenta}
|
|
920
|
+
console.log(`${colors.magenta}•${colors.reset} ${colors.dim}Đã xếp hàng chờ (vị trí #${pos})${colors.reset}`);
|
|
510
921
|
this.taskQueue.push(input);
|
|
511
922
|
return;
|
|
512
923
|
}
|
|
@@ -522,11 +933,53 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
522
933
|
this.history = this.history.slice(-this.maxHistory);
|
|
523
934
|
}
|
|
524
935
|
|
|
936
|
+
if (input.startsWith('!')) {
|
|
937
|
+
const command = input.slice(1).trim();
|
|
938
|
+
if (!command) {
|
|
939
|
+
console.log(`${colors.yellow}Usage: !<command>${colors.reset}`);
|
|
940
|
+
return;
|
|
941
|
+
}
|
|
942
|
+
await this.handleSlashCommand(`/bash ${command}`);
|
|
943
|
+
return;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
const agentMention = await this.parseAgentMention(input);
|
|
947
|
+
if (agentMention) {
|
|
948
|
+
const result = await this.runAgent(agentMention.agentId, agentMention.task);
|
|
949
|
+
console.log(result);
|
|
950
|
+
return;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
// Parse @-symbols for non-command input
|
|
954
|
+
if (!input.startsWith('/')) {
|
|
955
|
+
await this.initCodebaseSearch();
|
|
956
|
+
if (this.atContext && this.atContext.hasAtReferences(input)) {
|
|
957
|
+
try {
|
|
958
|
+
const parsed = await this.atContext.parse(input);
|
|
959
|
+
if (parsed.hasAtReferences) {
|
|
960
|
+
const atContextPrompt = this.atContext.formatContextPrompt(parsed.contexts);
|
|
961
|
+
if (atContextPrompt) {
|
|
962
|
+
this._pendingAtContext = atContextPrompt;
|
|
963
|
+
}
|
|
964
|
+
input = parsed.input; // Remove @-symbols from input
|
|
965
|
+
}
|
|
966
|
+
} catch {
|
|
967
|
+
// Silently continue if @ parsing fails
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
|
|
525
972
|
if (input.startsWith('/')) {
|
|
526
973
|
await this.handleSlashCommand(input);
|
|
527
974
|
return;
|
|
528
975
|
}
|
|
529
976
|
|
|
977
|
+
const pastedDataImage = this.parseDataUrlImage(input);
|
|
978
|
+
if (pastedDataImage) {
|
|
979
|
+
await this.chat('Analyze this pasted image.', [pastedDataImage]);
|
|
980
|
+
return;
|
|
981
|
+
}
|
|
982
|
+
|
|
530
983
|
const imageMatch = input.match(/(\S+\.(?:png|jpg|jpeg|gif|webp|bmp|svg))/i);
|
|
531
984
|
let handled = false;
|
|
532
985
|
if (imageMatch) {
|
|
@@ -563,6 +1016,17 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
563
1016
|
}
|
|
564
1017
|
}
|
|
565
1018
|
|
|
1019
|
+
async parseAgentMention(input = '') {
|
|
1020
|
+
const match = String(input || '').match(/^\s*@([A-Za-z][\w-]*)\s+([\s\S]+)$/);
|
|
1021
|
+
if (!match) return null;
|
|
1022
|
+
const agentId = match[1];
|
|
1023
|
+
const task = match[2].trim();
|
|
1024
|
+
if (!task) return null;
|
|
1025
|
+
const agents = await this.listAgentDefinitions();
|
|
1026
|
+
if (!agents.some(agent => agent.id.toLowerCase() === agentId.toLowerCase())) return null;
|
|
1027
|
+
return { agentId, task };
|
|
1028
|
+
}
|
|
1029
|
+
|
|
566
1030
|
async loadImageAsBase64(filePath) {
|
|
567
1031
|
try {
|
|
568
1032
|
const fs = await import('fs/promises');
|
|
@@ -583,6 +1047,13 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
583
1047
|
}
|
|
584
1048
|
}
|
|
585
1049
|
|
|
1050
|
+
parseDataUrlImage(value = '') {
|
|
1051
|
+
const match = String(value || '').match(/data:(image\/(?:png|jpeg|jpg|gif|webp|bmp|svg\+xml));base64,([a-z0-9+/=]+)/i);
|
|
1052
|
+
if (!match) return null;
|
|
1053
|
+
const mime = match[1].toLowerCase() === 'image/jpg' ? 'image/jpeg' : match[1].toLowerCase();
|
|
1054
|
+
return { mime, base64: match[2] };
|
|
1055
|
+
}
|
|
1056
|
+
|
|
586
1057
|
async showInteractiveChecklist(title, items) {
|
|
587
1058
|
if (!items || items.length === 0) return [];
|
|
588
1059
|
|
|
@@ -592,7 +1063,7 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
592
1063
|
|
|
593
1064
|
let printedLines = 0;
|
|
594
1065
|
const render = () => {
|
|
595
|
-
// Xóa những dòng đã in trước
|
|
1066
|
+
// Xóa những dòng đã in trước đó.
|
|
596
1067
|
if (printedLines > 0) {
|
|
597
1068
|
process.stdout.write('\x1b[' + printedLines + 'A\x1b[J');
|
|
598
1069
|
}
|
|
@@ -652,7 +1123,7 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
652
1123
|
this.spinner.start();
|
|
653
1124
|
|
|
654
1125
|
const messages = [
|
|
655
|
-
{ role: 'system', content: 'Bạn là chuyên gia lập kế hoạch. Hãy chia nhỏ yêu cầu của người dùng thành các bước cụ thể, hành động được, rất ngắn gọn (dưới 15 chữ mỗi bước).
|
|
1126
|
+
{ role: 'system', content: 'Bạn là chuyên gia lập kế hoạch. Hãy chia nhỏ yêu cầu của người dùng thành các bước cụ thể, hành động được, rất ngắn gọn (dưới 15 chữ mỗi bước). Chỉ trả về một mảng JSON các chuỗi, không giải thích gì thêm. Ví dụ: ["Tạo file index.html", "Thêm CSS styling", "Viết script.js"]' },
|
|
656
1127
|
{ role: 'user', content: task }
|
|
657
1128
|
];
|
|
658
1129
|
|
|
@@ -703,26 +1174,28 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
703
1174
|
|
|
704
1175
|
|
|
705
1176
|
async runAutoHealing(task) {
|
|
706
|
-
console.log(`\n\x1b[35m[ TDD AUTO-HEALING MODE ]\x1b[0m Kích hoạt vòng lặp
|
|
1177
|
+
console.log(`\n\x1b[35m[ TDD AUTO-HEALING MODE ]\x1b[0m Kích hoạt vòng lặp tự sửa lỗi.`);
|
|
707
1178
|
|
|
708
|
-
// Tăng giới hạn loop lên 15 để cho phép AI tự sửa lỗi nhiều lần
|
|
1179
|
+
// Tăng giới hạn loop lên 15 để cho phép AI tự sửa lỗi nhiều lần.
|
|
709
1180
|
const originalRequestAssistantTurn = this.requestAssistantTurn;
|
|
710
1181
|
|
|
711
|
-
// Chèn prompt đặc biệt ép AI phải verify
|
|
1182
|
+
// Chèn prompt đặc biệt ép AI phải verify.
|
|
1183
|
+
const verifyCommands = await this.inferVerificationCommands(task);
|
|
712
1184
|
const autoPrompt = `TASK: ${task}
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
1185
|
+
|
|
1186
|
+
CRITICAL DEBUG/AGENT RULES:
|
|
1187
|
+
1. Inspect the project before changing anything. Read the failing file, related caller, config, and logs.
|
|
1188
|
+
2. Reproduce or locate the first hard failure. For frontend/runtime UI issues, use BrowserDebug when a URL/dev server is available.
|
|
1189
|
+
3. Patch the smallest root cause with Write/Edit.
|
|
1190
|
+
4. Run the closest verification command(s): ${verifyCommands.join(' && ')}.
|
|
1191
|
+
5. If verification fails, read the new error, patch again, and run verification again.
|
|
1192
|
+
6. Do not claim success until a tool result proves it.`;
|
|
720
1193
|
|
|
721
1194
|
await this.chat(autoPrompt);
|
|
722
1195
|
}
|
|
723
1196
|
|
|
724
1197
|
async runAutoCommit(context = '') {
|
|
725
|
-
console.log(`\n${colors.cyan}
|
|
1198
|
+
console.log(`\n${colors.cyan}✓ Tạo commit message tự động...${colors.reset}`);
|
|
726
1199
|
const diffResult = await this.tools.execute('Bash', { command: 'git diff --cached' }, { cwd: this.projectPath });
|
|
727
1200
|
|
|
728
1201
|
let diff = diffResult.stdout;
|
|
@@ -734,7 +1207,7 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
734
1207
|
}
|
|
735
1208
|
|
|
736
1209
|
if (!diff || diff.trim() === '') {
|
|
737
|
-
console.log(`${colors.yellow}
|
|
1210
|
+
console.log(`${colors.yellow}Không có thay đổi nào để commit.${colors.reset}`);
|
|
738
1211
|
if (this.running && !this.readlineClosed) this.rl.prompt();
|
|
739
1212
|
return;
|
|
740
1213
|
}
|
|
@@ -783,16 +1256,16 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
783
1256
|
}
|
|
784
1257
|
|
|
785
1258
|
async runCodeReview(context = '') {
|
|
786
|
-
console.log(`\n${colors.cyan}
|
|
1259
|
+
console.log(`\n${colors.cyan}AI đang soi code của bạn...${colors.reset}`);
|
|
787
1260
|
const diffResult = await this.tools.execute('Bash', { command: 'git diff HEAD' }, { cwd: this.projectPath });
|
|
788
1261
|
const diff = diffResult.stdout;
|
|
789
1262
|
|
|
790
1263
|
if (!diff || diff.trim() === '') {
|
|
791
|
-
console.log(`${colors.yellow}
|
|
1264
|
+
console.log(`${colors.yellow}Không có thay đổi nào để review.${colors.reset}`);
|
|
792
1265
|
return;
|
|
793
1266
|
}
|
|
794
1267
|
|
|
795
|
-
const prompt = `Hãy đóng vai một Senior Developer khó tính. Review nhanh các thay đổi sau đây. Chỉ ra bug
|
|
1268
|
+
const prompt = `Hãy đóng vai một Senior Developer khó tính. Review nhanh các thay đổi sau đây. Chỉ ra bug nếu có, vấn đề bảo mật, hoặc những chỗ cần clean code. Không cần khen ngợi, hãy nói thẳng vào vấn đề. Trình bày dạng Markdown đẹp mắt.\n\n${context ? `Ngữ cảnh: ${context}\n` : ''}Diff:\n${diff.slice(0, 8000)}`;
|
|
796
1269
|
|
|
797
1270
|
await this.chat(prompt);
|
|
798
1271
|
}
|
|
@@ -813,7 +1286,8 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
813
1286
|
};
|
|
814
1287
|
|
|
815
1288
|
const body = [
|
|
816
|
-
`${c.bright}${c.cyan}❄ WINTER COMMANDS${c.reset}`,
|
|
1289
|
+
`${c.bright}${c.cyan}${this.useUnicodeUi ? '❄ ' : ''}WINTER COMMANDS${c.reset}`,
|
|
1290
|
+
`${c.dim}@file context | @Agent task | !cmd bash | /theme:toggle${c.reset}`,
|
|
817
1291
|
'',
|
|
818
1292
|
`${c.bright}Dự án & Phiên làm việc${c.reset}`,
|
|
819
1293
|
row(`${c.yellow}/pwd${c.reset} Thư mục hiện tại`, `${c.yellow}/session${c.reset} Phiên làm việc`),
|
|
@@ -821,12 +1295,18 @@ ${colors.magenta}╭${'─'.repeat(w)}╮${colors.reset}
|
|
|
821
1295
|
row(`${c.yellow}/config${c.reset} Xem cấu hình`, `${c.yellow}/exit${c.reset} Thoát`),
|
|
822
1296
|
'',
|
|
823
1297
|
`${c.bright}AI & Công cụ${c.reset}`,
|
|
824
|
-
row(`${c.yellow}/auto${c.reset} TDD
|
|
825
|
-
row(`${c.yellow}/
|
|
1298
|
+
row(`${c.yellow}/auto${c.reset} TDD tự sửa lỗi`, `${c.yellow}/debug${c.reset} Auto debug lỗi`),
|
|
1299
|
+
row(`${c.yellow}/doctor${c.reset} Kiểm tra tool-call`, `${c.yellow}/agent${c.reset} Chạy sub-agent`),
|
|
1300
|
+
row(`${c.yellow}/swe${c.reset} SWE workflow`, `${c.yellow}/plan${c.reset} Lập kế hoạch`),
|
|
826
1301
|
row(`${c.yellow}/read${c.reset} Đọc file`, `${c.yellow}/write${c.reset} Ghi file`),
|
|
827
1302
|
row(`${c.yellow}/bash${c.reset} Chạy lệnh terminal`, `${c.yellow}/grep${c.reset} Tìm trong file`),
|
|
828
|
-
row(`${c.yellow}/glob${c.reset} Tìm file theo pattern`, `${c.yellow}/image${c.reset}
|
|
829
|
-
row(`${c.yellow}/paste${c.reset} Dán
|
|
1303
|
+
row(`${c.yellow}/glob${c.reset} Tìm file theo pattern`, `${c.yellow}/image${c.reset} Ảnh/file/clipboard`),
|
|
1304
|
+
row(`${c.yellow}/paste${c.reset} Dán text/ảnh clipboard`, `${c.yellow}/composer${c.reset} Multi-file edit`),
|
|
1305
|
+
row(`${c.yellow}/complete${c.reset} Gợi ý code`, `${c.yellow}/search${c.reset} Tìm kiếm code`),
|
|
1306
|
+
row(`${c.yellow}/browse${c.reset} Mở URL trong trình duyệt`, `${c.yellow}/page-agent${c.reset} GUI Agent resources`),
|
|
1307
|
+
row(`${c.yellow}/ensemble${c.reset} Chạy nhiều AI`, `${c.yellow}/vote${c.reset} Bình chọn hay nhất`),
|
|
1308
|
+
row(`${c.yellow}/orchestrate${c.reset} Pipeline đa model`, `${c.yellow}/undo${c.reset} Undo backup`),
|
|
1309
|
+
row(`${c.yellow}/ecc${c.reset} ECC resource browser`, `${c.yellow}/codex${c.reset} Codex resources`),
|
|
830
1310
|
'',
|
|
831
1311
|
`${c.bright}Git Auto-Pilot${c.reset}`,
|
|
832
1312
|
row(`${c.yellow}/commit${c.reset} AI tự viết commit`, `${c.yellow}/review${c.reset} AI review code thay đổi`),
|
|
@@ -849,14 +1329,14 @@ ${renderBox({
|
|
|
849
1329
|
titleColor: c.cyan,
|
|
850
1330
|
body,
|
|
851
1331
|
})}
|
|
852
|
-
${c.dim}
|
|
1332
|
+
${c.dim}Gửi tin nhắn trực tiếp để chat, ESC để hủy${c.reset}
|
|
853
1333
|
`);
|
|
854
1334
|
}
|
|
855
1335
|
|
|
856
1336
|
showHelp() {
|
|
857
1337
|
console.log(`
|
|
858
|
-
${colors.cyan}❄ WINTER COMMANDS${colors.reset}
|
|
859
|
-
${colors.dim}${''.padEnd(50, '─')}${colors.reset}
|
|
1338
|
+
${colors.cyan}${this.useUnicodeUi ? '❄ ' : ''}WINTER COMMANDS${colors.reset}
|
|
1339
|
+
${colors.dim}${''.padEnd(50, this.useUnicodeUi ? '─' : '-')}${colors.reset}
|
|
860
1340
|
|
|
861
1341
|
${colors.white}Project:${colors.reset}
|
|
862
1342
|
/project, /pwd Show current project
|
|
@@ -866,6 +1346,9 @@ ${colors.white}Session:${colors.reset}
|
|
|
866
1346
|
/session Current session info
|
|
867
1347
|
/sessions List all sessions
|
|
868
1348
|
/clear Clear screen
|
|
1349
|
+
/undo Undo last change from backup
|
|
1350
|
+
/composer <task> Multi-file editing mode (like Cursor Composer)
|
|
1351
|
+
/complete <file> Trigger inline code completion
|
|
869
1352
|
|
|
870
1353
|
${colors.white}Memory:${colors.reset}
|
|
871
1354
|
/remember <text> Store in memory
|
|
@@ -879,6 +1362,7 @@ ${colors.white}Plans & Tasks:${colors.reset}
|
|
|
879
1362
|
/agent [role] <task> Run a subagent
|
|
880
1363
|
/auto [task] Auto-heal with test/build loop
|
|
881
1364
|
/debug [error] Auto-debug and verify a failure
|
|
1365
|
+
/doctor tools Test whether current provider/model can call tools
|
|
882
1366
|
|
|
883
1367
|
${colors.white}Tools:${colors.reset}
|
|
884
1368
|
/read <file> Read file
|
|
@@ -904,6 +1388,7 @@ ${colors.white}Design & Skills:${colors.reset}
|
|
|
904
1388
|
/plugin Plugin management
|
|
905
1389
|
|
|
906
1390
|
${colors.white}Local Sources:${colors.reset}
|
|
1391
|
+
/ecc [sub] Browse ECC resources (info, browse, search, sync)
|
|
907
1392
|
/codex [section] Browse ~/.codex resources
|
|
908
1393
|
/claude [section] Browse ~/.claude resources
|
|
909
1394
|
/karpathy Browse ~/karpathy-tools
|
|
@@ -913,7 +1398,7 @@ ${colors.white}Other:${colors.reset}
|
|
|
913
1398
|
/help, /? Show this help
|
|
914
1399
|
/exit, /quit Exit Winter
|
|
915
1400
|
|
|
916
|
-
${colors.dim}${''.padEnd(50, '
|
|
1401
|
+
${colors.dim}${''.padEnd(50, '?')}${colors.reset}
|
|
917
1402
|
Just type your message to chat with Winter!
|
|
918
1403
|
${colors.reset}
|
|
919
1404
|
`);
|
|
@@ -932,7 +1417,7 @@ ${colors.reset}
|
|
|
932
1417
|
}
|
|
933
1418
|
console.log(`${colors.cyan}Design Systems:${colors.reset}`);
|
|
934
1419
|
filtered.forEach(e => {
|
|
935
|
-
const icon = e.isDirectory ? '
|
|
1420
|
+
const icon = e.isDirectory ? '[dir]' : '[file]';
|
|
936
1421
|
console.log(` ${icon} ${e.name}`);
|
|
937
1422
|
});
|
|
938
1423
|
} catch (error) {
|
|
@@ -952,7 +1437,7 @@ ${colors.reset}
|
|
|
952
1437
|
const entries = await this.listPathEntries(section.path, 50);
|
|
953
1438
|
if (entries.length > 0) {
|
|
954
1439
|
console.log(`${colors.cyan}${section.label}:${colors.reset}`);
|
|
955
|
-
entries.forEach(e => console.log(` ${e.isDirectory ? '
|
|
1440
|
+
entries.forEach(e => console.log(` ${e.isDirectory ? '[dir]' : '[file]'} ${e.name}`));
|
|
956
1441
|
}
|
|
957
1442
|
} catch { }
|
|
958
1443
|
}
|
|
@@ -966,8 +1451,8 @@ ${colors.reset}
|
|
|
966
1451
|
const providers = this.ai.listProviders();
|
|
967
1452
|
console.log(`${colors.cyan}Configured Models:${colors.reset}`);
|
|
968
1453
|
providers.forEach(p => {
|
|
969
|
-
const active = p.name === this.ai.getActiveProvider() ? ` ${colors.green}
|
|
970
|
-
const status = p.ready ? `${colors.green}
|
|
1454
|
+
const active = p.name === this.ai.getActiveProvider() ? ` ${colors.green}< active${colors.reset}` : '';
|
|
1455
|
+
const status = p.ready ? `${colors.green}ok${colors.reset}` : `${colors.red}off${colors.reset}`;
|
|
971
1456
|
console.log(` ${status} ${colors.bright}${p.name}${colors.reset}: ${p.model}${active}`);
|
|
972
1457
|
});
|
|
973
1458
|
|
|
@@ -976,7 +1461,7 @@ ${colors.reset}
|
|
|
976
1461
|
const cached = await this.readCachedModels(cachePath);
|
|
977
1462
|
if (cached.length > 0) {
|
|
978
1463
|
console.log(`\n${colors.cyan}Cached Models (${cached.length}):${colors.reset}`);
|
|
979
|
-
cached.slice(0, 20).forEach(m => console.log(` ${colors.dim}
|
|
1464
|
+
cached.slice(0, 20).forEach(m => console.log(` ${colors.dim}?${colors.reset} ${m}`));
|
|
980
1465
|
if (cached.length > 20) console.log(` ${colors.dim}... and ${cached.length - 20} more${colors.reset}`);
|
|
981
1466
|
}
|
|
982
1467
|
} catch (error) {
|
|
@@ -1001,13 +1486,16 @@ ${colors.reset}
|
|
|
1001
1486
|
case 'plan':
|
|
1002
1487
|
return byName(['Read', 'Grep', 'Glob', 'TaskCreate', 'TaskUpdate', 'TaskList']);
|
|
1003
1488
|
case 'review':
|
|
1004
|
-
return byName(['Read', 'Grep', 'Glob']);
|
|
1489
|
+
return byName(['Read', 'Grep', 'Glob', 'Bash', 'WebFetch']);
|
|
1005
1490
|
case 'debug':
|
|
1006
|
-
return byName(['Read', 'Write', 'Edit', 'Bash', 'Grep', 'Glob']);
|
|
1491
|
+
return byName(['Read', 'Write', 'Edit', 'Bash', 'Grep', 'Glob', 'BrowserDebug', 'WebFetch', 'Parallel']);
|
|
1007
1492
|
case 'research':
|
|
1008
|
-
return byName(['Read', 'Grep', 'Glob', 'WebFetch', 'WebSearch']);
|
|
1493
|
+
return byName(['Read', 'Grep', 'Glob', 'WebFetch', 'WebSearch', 'Parallel']);
|
|
1494
|
+
case 'design':
|
|
1495
|
+
case 'ui':
|
|
1496
|
+
return byName(['Read', 'Write', 'Edit', 'Bash', 'Grep', 'Glob', 'BrowserDebug', 'WebFetch']);
|
|
1009
1497
|
default:
|
|
1010
|
-
return byName(['Read', 'Write', 'Edit', 'Bash', 'Glob', 'Grep']);
|
|
1498
|
+
return byName(['Read', 'Write', 'Edit', 'Bash', 'Glob', 'Grep', 'BrowserDebug', 'WebFetch', 'WebSearch', 'Parallel', 'Agent']);
|
|
1011
1499
|
}
|
|
1012
1500
|
}
|
|
1013
1501
|
|
|
@@ -1018,7 +1506,7 @@ ${colors.reset}
|
|
|
1018
1506
|
}
|
|
1019
1507
|
|
|
1020
1508
|
shouldUseCompactPrompt() {
|
|
1021
|
-
return
|
|
1509
|
+
return false;
|
|
1022
1510
|
}
|
|
1023
1511
|
|
|
1024
1512
|
selectExecutionProfile(messages = [], options = {}) {
|
|
@@ -1064,196 +1552,7 @@ ${colors.reset}
|
|
|
1064
1552
|
|
|
1065
1553
|
|
|
1066
1554
|
async runConversation(messages, label = 'Thinking', tools = null) {
|
|
1067
|
-
this.
|
|
1068
|
-
this.spinner.start();
|
|
1069
|
-
this.hydrateSessionToolPermissions();
|
|
1070
|
-
|
|
1071
|
-
const startedAt = Date.now();
|
|
1072
|
-
const previousTools = this.ai.tools;
|
|
1073
|
-
if (tools) this.ai.setTools(tools);
|
|
1074
|
-
|
|
1075
|
-
let finalContent = '';
|
|
1076
|
-
let reachedToolLimit = true;
|
|
1077
|
-
let usedTools = false;
|
|
1078
|
-
let verified = false;
|
|
1079
|
-
const toolSummaries = [];
|
|
1080
|
-
const totalUsage = {};
|
|
1081
|
-
const toolSignatureHistory = [];
|
|
1082
|
-
const executionProfile = this.selectExecutionProfile(messages, { enableTools: true });
|
|
1083
|
-
const requireToolEvidence = this.actionRequiresTools(messages);
|
|
1084
|
-
let noToolActionRetries = 0;
|
|
1085
|
-
try {
|
|
1086
|
-
for (let i = 0; i < 8; i++) {
|
|
1087
|
-
if (this.isCancelled) throw new Error('AbortError');
|
|
1088
|
-
const turn = await this.requestAssistantTurn(messages, {
|
|
1089
|
-
provider: executionProfile.provider,
|
|
1090
|
-
model: executionProfile.model,
|
|
1091
|
-
enableTools: true,
|
|
1092
|
-
requireToolEvidence: requireToolEvidence && !usedTools,
|
|
1093
|
-
}, startedAt, totalUsage);
|
|
1094
|
-
|
|
1095
|
-
const assistantMsg = turn.assistantMsg || {};
|
|
1096
|
-
const toolCalls = turn.toolCalls || [];
|
|
1097
|
-
|
|
1098
|
-
if (turn.finalContent && toolCalls.length === 0) {
|
|
1099
|
-
finalContent = turn.finalContent;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
if (toolCalls.length === 0) {
|
|
1103
|
-
if (turn.finishReason === 'tool_evidence_required') {
|
|
1104
|
-
noToolActionRetries++;
|
|
1105
|
-
if (noToolActionRetries > 2) {
|
|
1106
|
-
finalContent = 'Chưa thực hiện được: model trả lời mà không dùng tool nên Winter đã chặn để tránh báo xạo.';
|
|
1107
|
-
console.log(`\n${colors.yellow}${finalContent}${colors.reset}\n`);
|
|
1108
|
-
reachedToolLimit = false;
|
|
1109
|
-
break;
|
|
1110
|
-
}
|
|
1111
|
-
messages.push({
|
|
1112
|
-
role: 'assistant',
|
|
1113
|
-
content: assistantMsg.content || '',
|
|
1114
|
-
});
|
|
1115
|
-
messages.push({
|
|
1116
|
-
role: 'user',
|
|
1117
|
-
content: this.buildToolEvidenceCorrection(messages),
|
|
1118
|
-
});
|
|
1119
|
-
finalContent = '';
|
|
1120
|
-
continue;
|
|
1121
|
-
}
|
|
1122
|
-
if (turn.finishReason === 'length') {
|
|
1123
|
-
console.log(`\n${colors.yellow}ℹ Phản hồi bị cắt cụt do hết token. Đang tự động tiếp tục...${colors.reset}`);
|
|
1124
|
-
messages.push({
|
|
1125
|
-
role: 'assistant',
|
|
1126
|
-
content: turn.finalContent || '',
|
|
1127
|
-
});
|
|
1128
|
-
messages.push({
|
|
1129
|
-
role: 'user',
|
|
1130
|
-
content: 'Continue generating the rest of the response.',
|
|
1131
|
-
});
|
|
1132
|
-
continue;
|
|
1133
|
-
}
|
|
1134
|
-
reachedToolLimit = false;
|
|
1135
|
-
break;
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
usedTools = true;
|
|
1139
|
-
if (this.spinner) this.spinner.stop();
|
|
1140
|
-
|
|
1141
|
-
const currentToolSignature = this.buildToolCallSignature(toolCalls);
|
|
1142
|
-
if (currentToolSignature) {
|
|
1143
|
-
toolSignatureHistory.push(currentToolSignature);
|
|
1144
|
-
if (toolSignatureHistory.length > 3) {
|
|
1145
|
-
toolSignatureHistory.shift();
|
|
1146
|
-
}
|
|
1147
|
-
// Only break if 3+ consecutive identical signatures — 2 repeats is normal iteration
|
|
1148
|
-
if (toolSignatureHistory.length === 3 &&
|
|
1149
|
-
toolSignatureHistory[0] === currentToolSignature &&
|
|
1150
|
-
toolSignatureHistory[1] === currentToolSignature) {
|
|
1151
|
-
console.log(`
|
|
1152
|
-
${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls). Breaking out.${colors.reset}`);
|
|
1153
|
-
reachedToolLimit = false;
|
|
1154
|
-
break;
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
const BOX_WIDTH = terminalWidth(76, 116, 92);
|
|
1159
|
-
messages.push({
|
|
1160
|
-
role: 'assistant',
|
|
1161
|
-
content: assistantMsg.content || '',
|
|
1162
|
-
tool_calls: this.formatToolCallsForMessage(toolCalls),
|
|
1163
|
-
});
|
|
1164
|
-
|
|
1165
|
-
for (const tc of toolCalls) {
|
|
1166
|
-
const { toolName, toolArgs } = tc;
|
|
1167
|
-
const canonicalToolName = this.tools.normalizeToolName(toolName);
|
|
1168
|
-
const argParseError = toolArgs?.__toolArgParseError;
|
|
1169
|
-
const recoveredArgs = argParseError ? this.recoverToolArgs(canonicalToolName, toolArgs.__rawToolArgs) : null;
|
|
1170
|
-
const canUseRecoveredArgs = recoveredArgs && Object.keys(recoveredArgs).length > 0;
|
|
1171
|
-
const normalizedArgs = argParseError && !canUseRecoveredArgs
|
|
1172
|
-
? {}
|
|
1173
|
-
: this.tools.normalizeToolInput?.(canonicalToolName, canUseRecoveredArgs ? recoveredArgs : toolArgs) ?? toolArgs;
|
|
1174
|
-
const enrichedArgs = argParseError && !canUseRecoveredArgs ? {} : this.enrichToolArgs(canonicalToolName, normalizedArgs, messages);
|
|
1175
|
-
|
|
1176
|
-
const icon = canonicalToolName === 'Bash' ? '⚙' : canonicalToolName === 'Read' ? '📖' : canonicalToolName === 'Write' ? '✏️' : canonicalToolName === 'Edit' ? '🔧' : canonicalToolName === 'Grep' ? '🔍' : canonicalToolName === 'Glob' ? '📂' : '⚡';
|
|
1177
|
-
|
|
1178
|
-
let proceed = true;
|
|
1179
|
-
if (await this.shouldPromptForToolPermission(canonicalToolName) && (!argParseError || canUseRecoveredArgs)) {
|
|
1180
|
-
const cmd = enrichedArgs.command || enrichedArgs.cmd || 'unknown';
|
|
1181
|
-
if (this.sessionPermissionGrants.has(canonicalToolName)) {
|
|
1182
|
-
proceed = true;
|
|
1183
|
-
} else {
|
|
1184
|
-
proceed = await this.promptToolPermission(cmd);
|
|
1185
|
-
if (proceed === 'session') {
|
|
1186
|
-
await this.rememberSessionToolPermission(canonicalToolName);
|
|
1187
|
-
proceed = true;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
if (proceed === true) {
|
|
1191
|
-
await this.permissionManager.allowTool(canonicalToolName);
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
if (!proceed) {
|
|
1195
|
-
console.log(`${colors.magenta}│${colors.reset} ${colors.dim}Đã hủy lệnh.${colors.reset}`);
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
let result;
|
|
1201
|
-
if (argParseError && !canUseRecoveredArgs) {
|
|
1202
|
-
result = {
|
|
1203
|
-
success: false,
|
|
1204
|
-
error: `Invalid ${canonicalToolName} tool arguments JSON: ${toolArgs.__toolArgParseError}`,
|
|
1205
|
-
rawArgs: toolArgs.__rawToolArgs,
|
|
1206
|
-
recovery: 'Use valid JSON object arguments, for example {"file_path":"README.md"} for Read or {"command":"npm test"} for Bash.',
|
|
1207
|
-
};
|
|
1208
|
-
} else if (!proceed) {
|
|
1209
|
-
result = { success: false, error: 'User denied permission to execute this command.' };
|
|
1210
|
-
} else {
|
|
1211
|
-
result = toolName
|
|
1212
|
-
? await this.tools.execute(canonicalToolName, enrichedArgs, { cwd: this.projectPath })
|
|
1213
|
-
: { success: false, error: 'Tool call is missing a tool name' };
|
|
1214
|
-
}
|
|
1215
|
-
messages.push({
|
|
1216
|
-
role: 'tool',
|
|
1217
|
-
tool_call_id: tc.id || `tool-${Date.now()}`,
|
|
1218
|
-
content: JSON.stringify(result),
|
|
1219
|
-
});
|
|
1220
|
-
|
|
1221
|
-
const summary = this.formatToolResultForConsole(canonicalToolName, result);
|
|
1222
|
-
if (summary) {
|
|
1223
|
-
toolSummaries.push(`${canonicalToolName}: ${summary}`);
|
|
1224
|
-
const statusIcon = result.success === false ? `${colors.red}✖${colors.reset}` : `${colors.green}✓${colors.reset}`;
|
|
1225
|
-
const toolLine = `${icon} ${colors.cyan}${colors.bright}${toolName}${colors.reset}`;
|
|
1226
|
-
const summaryLines = summary.split('\n').flatMap(line => wrapText(line, BOX_WIDTH - 8));
|
|
1227
|
-
console.log(renderBox({
|
|
1228
|
-
title: 'AGENT TOOLS EXECUTION',
|
|
1229
|
-
width: BOX_WIDTH,
|
|
1230
|
-
borderColor: colors.magenta,
|
|
1231
|
-
titleColor: colors.bright,
|
|
1232
|
-
body: [
|
|
1233
|
-
toolLine,
|
|
1234
|
-
...summaryLines.map((line, index) => index === 0 ? `${statusIcon} ${colors.dim}${line}${colors.reset}` : `${colors.dim}${line}${colors.reset}`),
|
|
1235
|
-
],
|
|
1236
|
-
}));
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
console.log('');
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
if (usedTools && !finalContent) {
|
|
1243
|
-
finalContent = await this.requestFinalAnswer(messages, toolSummaries, startedAt, totalUsage);
|
|
1244
|
-
}
|
|
1245
|
-
} finally {
|
|
1246
|
-
if (tools) this.ai.setTools(previousTools);
|
|
1247
|
-
if (this.spinner) this.spinner.stop();
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
if ((reachedToolLimit || usedTools) && !finalContent) {
|
|
1251
|
-
if (this.spinner) this.spinner.stop();
|
|
1252
|
-
finalContent = this.buildToolFallbackAnswer(toolSummaries);
|
|
1253
|
-
console.log(`\n${colors.yellow}${finalContent}${colors.reset}\n`);
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
return { finalContent, usedTools };
|
|
1555
|
+
return this.agentRuntime.runConversation(messages, label, tools);
|
|
1257
1556
|
}
|
|
1258
1557
|
|
|
1259
1558
|
getLatestUserText(messages = []) {
|
|
@@ -1274,19 +1573,29 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1274
1573
|
const text = this.getLatestUserText(messages).toLowerCase();
|
|
1275
1574
|
if (!text.trim()) return false;
|
|
1276
1575
|
|
|
1277
|
-
const actionPattern = /\b(fix|repair|bug|debug|implement|create|write|edit|modify|update|delete|remove|refactor|run|test|build|commit|push|publish|install|check|inspect|read|scan|grep|search|change|apply|patch
|
|
1278
|
-
const targetPattern = /\b(file|repo|project|code|src|test|build|git|npm|node|folder|directory|cli|tool|provider|model|config|readme|package\.json)\b|[A-Za-z]:[\\/]|\.js\b|\.ts\b|\.tsx\b|\.json\b|\.md\b
|
|
1279
|
-
const pureQuestionPattern = /^(what|why|how|when|where|is|are|can|could|should|would|tại sao|vì sao|là gì|có nên|có phải)\b/i;
|
|
1576
|
+
const actionPattern = /\b(fix|repair|bug|debug|implement|create|write|edit|modify|update|delete|remove|refactor|run|test|build|commit|push|publish|install|check|inspect|read|scan|grep|search|change|apply|patch|sua|lam|tao|ghi|doc|xoa|chay|kiem tra|cai|them|doi|review|tim|sửa|làm|tạo|đọc|xóa|xoá|chạy|kiểm tra|cài|thêm|đổi|tìm)\b/i;
|
|
1577
|
+
const targetPattern = /\b(file|repo|project|code|src|test|build|git|npm|node|folder|directory|cli|tool|provider|model|config|readme|package\.json|du an|thu muc|tap tin|loi|chuc nang|dự án|thư mục|tập tin|lỗi|chức năng)\b|[A-Za-z]:[\\/]|\.js\b|\.ts\b|\.tsx\b|\.json\b|\.md\b/i;
|
|
1578
|
+
const pureQuestionPattern = /^(what|why|how|when|where|is|are|can|could|should|would|tai sao|vi sao|la gi|co nen|co phai|tại sao|vì sao|là gì|có nên|có phải)\b/i;
|
|
1280
1579
|
|
|
1281
1580
|
if (pureQuestionPattern.test(text) && !actionPattern.test(text)) return false;
|
|
1282
1581
|
return actionPattern.test(text) && targetPattern.test(text);
|
|
1283
1582
|
}
|
|
1284
1583
|
|
|
1584
|
+
shouldAutoVerifyAfterTools(originalMessage = '', usedMutatingTools = false) {
|
|
1585
|
+
if (!usedMutatingTools) return false;
|
|
1586
|
+
const text = String(originalMessage || '').toLowerCase();
|
|
1587
|
+
if (!text.trim()) return false;
|
|
1588
|
+
if (/\b(skip tests?|no verify|don't verify|khong test|khong verify|bo qua test|không test|không verify|bỏ qua test)\b/i.test(text)) {
|
|
1589
|
+
return false;
|
|
1590
|
+
}
|
|
1591
|
+
return /\b(fix|bug|error|test|build|lint|typecheck|compile|refactor|implement|edit|write|change|patch|debug|sua|loi|kiem tra|bien dich|trien khai|lam|doi|viet|sửa|lỗi|kiểm tra|biên dịch|triển khai|làm|đổi|viết)\b/i.test(text);
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1285
1594
|
responseNeedsToolEvidence(content = '') {
|
|
1286
1595
|
const text = String(content || '').toLowerCase();
|
|
1287
1596
|
if (!text.trim()) return false;
|
|
1288
1597
|
|
|
1289
|
-
const clarification = /(?:cần thêm|cho mình|vui lòng|please provide|which file|what file|need more|clarify|không rõ|chưa rõ|file nào|thư mục nào)/i;
|
|
1598
|
+
const clarification = /(?:cần thêm|cho mình|vui lòng|please provide|which file|what file|need more|clarify|không rõ|chưa rõ|file nào|thư mục nào|c?n th?m|cho m?nh|vui l?ng|kh?ng r?|ch?a r?|file n?o|th? m?c n?o)/i;
|
|
1290
1599
|
if (clarification.test(text)) return false;
|
|
1291
1600
|
return true;
|
|
1292
1601
|
}
|
|
@@ -1297,6 +1606,10 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1297
1606
|
'Runtime correction: the user requested an action that requires tool evidence.',
|
|
1298
1607
|
'Your previous response did not use any tool, so it was blocked to avoid falsely claiming completion.',
|
|
1299
1608
|
'Now use the available tools to inspect/edit/run/check as needed. Do not say the task is done until a tool result proves it.',
|
|
1609
|
+
'If native tool calls are not supported by this model/provider, output exactly one fallback tool call and no prose, for example:',
|
|
1610
|
+
'<invoke name="Read"><parameter name="path">README.md</parameter></invoke>',
|
|
1611
|
+
'{"tool":"Read","arguments":{"path":"README.md"}}',
|
|
1612
|
+
'CALL_TOOL Read {"path":"README.md"}',
|
|
1300
1613
|
`Original user request: ${request}`,
|
|
1301
1614
|
].join('\n');
|
|
1302
1615
|
}
|
|
@@ -1315,8 +1628,12 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1315
1628
|
this.addUsage(totalUsage, response.usage);
|
|
1316
1629
|
const assistantMsg = response.choices?.[0]?.message || {};
|
|
1317
1630
|
const inlineToolExtraction = this.extractInlineToolCalls(assistantMsg.content || '');
|
|
1631
|
+
const legacyFunctionCall = assistantMsg.function_call
|
|
1632
|
+
? [{ id: 'function-call-0', source: 'legacy-function-call', type: 'function', function: assistantMsg.function_call }]
|
|
1633
|
+
: [];
|
|
1318
1634
|
const toolCalls = this.normalizeToolCalls([
|
|
1319
|
-
...(assistantMsg.tool_calls || []),
|
|
1635
|
+
...(assistantMsg.tool_calls || []).map(call => ({ source: 'native-tool-calls', ...call })),
|
|
1636
|
+
...legacyFunctionCall,
|
|
1320
1637
|
...inlineToolExtraction.toolCalls,
|
|
1321
1638
|
]);
|
|
1322
1639
|
if (inlineToolExtraction.toolCalls.length > 0) {
|
|
@@ -1354,6 +1671,7 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1354
1671
|
const index = deltaToolCall.index ?? toolCallParts.length;
|
|
1355
1672
|
toolCallParts[index] = toolCallParts[index] || {
|
|
1356
1673
|
id: '',
|
|
1674
|
+
source: 'stream-native-tool-calls',
|
|
1357
1675
|
type: 'function',
|
|
1358
1676
|
function: { name: '', arguments: '' },
|
|
1359
1677
|
};
|
|
@@ -1366,6 +1684,29 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1366
1684
|
toolCallParts[index].function.arguments += deltaToolCall.function.arguments;
|
|
1367
1685
|
}
|
|
1368
1686
|
}
|
|
1687
|
+
if (choice.delta?.function_call || choice.message?.function_call) {
|
|
1688
|
+
const functionCall = choice.delta?.function_call || choice.message?.function_call;
|
|
1689
|
+
toolCallParts[0] = toolCallParts[0] || {
|
|
1690
|
+
id: 'function-call-0',
|
|
1691
|
+
source: 'stream-legacy-function-call',
|
|
1692
|
+
type: 'function',
|
|
1693
|
+
function: { name: '', arguments: '' },
|
|
1694
|
+
};
|
|
1695
|
+
if (functionCall.name) toolCallParts[0].function.name += functionCall.name;
|
|
1696
|
+
if (functionCall.arguments) toolCallParts[0].function.arguments += functionCall.arguments;
|
|
1697
|
+
}
|
|
1698
|
+
for (const messageToolCall of choice.message?.tool_calls || []) {
|
|
1699
|
+
const index = messageToolCall.index ?? toolCallParts.length;
|
|
1700
|
+
toolCallParts[index] = {
|
|
1701
|
+
id: messageToolCall.id || `message-call-${index}`,
|
|
1702
|
+
source: 'message-tool-calls',
|
|
1703
|
+
type: messageToolCall.type || 'function',
|
|
1704
|
+
function: {
|
|
1705
|
+
name: messageToolCall.function?.name || '',
|
|
1706
|
+
arguments: messageToolCall.function?.arguments || '',
|
|
1707
|
+
},
|
|
1708
|
+
};
|
|
1709
|
+
}
|
|
1369
1710
|
|
|
1370
1711
|
if (chunk.content) {
|
|
1371
1712
|
if (!printed) {
|
|
@@ -1448,6 +1789,10 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1448
1789
|
readline.emitKeypressEvents(process.stdin, this.rl);
|
|
1449
1790
|
|
|
1450
1791
|
process.stdin.on('keypress', (str, key = {}) => {
|
|
1792
|
+
if (key.ctrl && key.name === 'v') {
|
|
1793
|
+
void this.handleDirectClipboardPaste();
|
|
1794
|
+
return;
|
|
1795
|
+
}
|
|
1451
1796
|
if (key.ctrl || key.meta) return;
|
|
1452
1797
|
|
|
1453
1798
|
if (typeof str === 'string' && str.length > 1) {
|
|
@@ -1477,6 +1822,51 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1477
1822
|
});
|
|
1478
1823
|
}
|
|
1479
1824
|
|
|
1825
|
+
async handleDirectClipboardPaste() {
|
|
1826
|
+
if (this._handlingDirectClipboardPaste || this.readlineClosed || !this.running) return false;
|
|
1827
|
+
this._handlingDirectClipboardPaste = true;
|
|
1828
|
+
try {
|
|
1829
|
+
const image = await this.getClipboardImage();
|
|
1830
|
+
if (!image) return false;
|
|
1831
|
+
|
|
1832
|
+
const prompt = (this.rl?.line || '').trim() || 'Analyze this pasted clipboard image.';
|
|
1833
|
+
this.closeSlashMenu();
|
|
1834
|
+
if (this.rl?.write) {
|
|
1835
|
+
this.rl.write(null, { ctrl: true, name: 'u' });
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
this.inputQueue = this.inputQueue
|
|
1839
|
+
.then(async () => {
|
|
1840
|
+
this.closeInputBox();
|
|
1841
|
+
await this.processPastedImageTask(prompt, image);
|
|
1842
|
+
})
|
|
1843
|
+
.catch((error) => {
|
|
1844
|
+
this.closeInputBox();
|
|
1845
|
+
console.log(`\n${colors.red}✖ Paste image error: ${error.message}${colors.reset}\n`);
|
|
1846
|
+
if (this.running && !this.readlineClosed) this.showInputPrompt();
|
|
1847
|
+
});
|
|
1848
|
+
return true;
|
|
1849
|
+
} finally {
|
|
1850
|
+
this._handlingDirectClipboardPaste = false;
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
async processPastedImageTask(prompt, image) {
|
|
1855
|
+
this.isProcessing = true;
|
|
1856
|
+
this.isCancelled = false;
|
|
1857
|
+
try {
|
|
1858
|
+
await this.chat(prompt, [image]);
|
|
1859
|
+
} finally {
|
|
1860
|
+
this.isProcessing = false;
|
|
1861
|
+
if (this.taskQueue.length > 0) {
|
|
1862
|
+
const nextTask = this.taskQueue.shift();
|
|
1863
|
+
setTimeout(() => this.processInputTask(nextTask), 0);
|
|
1864
|
+
} else if (!this.readlineClosed) {
|
|
1865
|
+
this.showInputPrompt();
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1480
1870
|
openSlashMenu(line) {
|
|
1481
1871
|
const matches = this.getSlashSuggestions(line);
|
|
1482
1872
|
if (matches.length === 0) {
|
|
@@ -1572,7 +1962,7 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1572
1962
|
readline.clearLine(process.stdout, 1);
|
|
1573
1963
|
process.stdout.write(`${colors.dim}↑/↓ chọn · Enter/Tab dùng · Esc đóng${colors.reset}\n`);
|
|
1574
1964
|
|
|
1575
|
-
// Xóa các dòng thừa nếu số lượng dòng mới ít hơn số lượng dòng
|
|
1965
|
+
// Xóa các dòng thừa nếu số lượng dòng mới ít hơn số lượng dòng cũ.
|
|
1576
1966
|
const currentLines = Math.min(matches.length, maxDisplay) + 3 + (matches.length > maxDisplay ? 1 : 0);
|
|
1577
1967
|
if (this.slashMenu.printedLines > currentLines) {
|
|
1578
1968
|
for (let i = 0; i < this.slashMenu.printedLines - currentLines; i++) {
|
|
@@ -1589,20 +1979,44 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1589
1979
|
getSlashSuggestions(line) {
|
|
1590
1980
|
const query = String(line || '').trim();
|
|
1591
1981
|
if (!query.startsWith('/')) return [];
|
|
1982
|
+
const enrich = item => this.enrichSlashSuggestion(item);
|
|
1592
1983
|
if (query === '/') {
|
|
1593
1984
|
const preferred = [
|
|
1594
|
-
'/help', '/exit', '/pwd', '/cd',
|
|
1985
|
+
'/help', '/new', '/history', '/exit', '/pwd', '/cd',
|
|
1595
1986
|
'/provider', '/model', '/models', '/providers',
|
|
1596
|
-
'/
|
|
1987
|
+
'/theme:toggle',
|
|
1988
|
+
'/auto', '/debug', '/doctor', '/context', '/scorecard', '/swe',
|
|
1597
1989
|
'/read', '/write', '/glob', '/grep', '/bash',
|
|
1598
1990
|
'/codex', '/claude', '/karpathy', '/agents',
|
|
1599
1991
|
'/resources', '/designs', '/skills',
|
|
1992
|
+
'/ecc',
|
|
1993
|
+
'/composer', '/complete', '/ensemble', '/vote', '/orchestrate', '/search', '/undo',
|
|
1600
1994
|
];
|
|
1601
1995
|
return preferred
|
|
1602
1996
|
.map(cmd => SLASH_COMMANDS.find(item => item.cmd === cmd))
|
|
1603
|
-
.filter(Boolean)
|
|
1997
|
+
.filter(Boolean)
|
|
1998
|
+
.map(enrich);
|
|
1604
1999
|
}
|
|
1605
|
-
return SLASH_COMMANDS
|
|
2000
|
+
return SLASH_COMMANDS
|
|
2001
|
+
.filter(item => item.cmd.startsWith(query))
|
|
2002
|
+
.slice(0, 12)
|
|
2003
|
+
.map(enrich);
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
enrichSlashSuggestion(item) {
|
|
2007
|
+
if (!item) return item;
|
|
2008
|
+
if (item.cmd !== '/provider') return item;
|
|
2009
|
+
|
|
2010
|
+
const providerNames = typeof this.ai?.listProviders === 'function'
|
|
2011
|
+
? this.ai.listProviders().map(provider => provider.name).filter(Boolean)
|
|
2012
|
+
: Object.keys(this.ai?.providers || {});
|
|
2013
|
+
const uniqueProviders = [...new Set(providerNames)];
|
|
2014
|
+
if (uniqueProviders.length === 0) return item;
|
|
2015
|
+
|
|
2016
|
+
return {
|
|
2017
|
+
...item,
|
|
2018
|
+
usage: `/provider <${uniqueProviders.join('|')}>`,
|
|
2019
|
+
};
|
|
1606
2020
|
}
|
|
1607
2021
|
|
|
1608
2022
|
enrichToolArgs(toolName, toolArgs = {}, messages = []) {
|
|
@@ -1750,8 +2164,17 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1750
2164
|
|
|
1751
2165
|
printAssistantAnswer(content, startedAt, usage = {}) {
|
|
1752
2166
|
const formatted = formatMarkdown(content);
|
|
1753
|
-
|
|
1754
|
-
|
|
2167
|
+
const footer = this.formatAnswerFooter(startedAt, usage);
|
|
2168
|
+
const body = String(formatted || '').split(/\r?\n/);
|
|
2169
|
+
console.log(`\n${renderBox({
|
|
2170
|
+
title: 'Assistant',
|
|
2171
|
+
width: terminalWidth(72, 120, 92),
|
|
2172
|
+
borderColor: colors.blue,
|
|
2173
|
+
titleColor: colors.cyan,
|
|
2174
|
+
body: [...body, '', `${colors.dim}${footer}${colors.reset}`],
|
|
2175
|
+
})}\n`);
|
|
2176
|
+
return;
|
|
2177
|
+
console.log(`${colors.dim}${(this.useUnicodeUi ? '─' : '-').repeat(50)}${colors.reset}`);
|
|
1755
2178
|
console.log(`${colors.dim}${this.formatAnswerFooter(startedAt, usage)}${colors.reset}\n`);
|
|
1756
2179
|
}
|
|
1757
2180
|
|
|
@@ -1800,14 +2223,16 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1800
2223
|
}
|
|
1801
2224
|
|
|
1802
2225
|
async promptToolPermission(commandText) {
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
process.stdout.write(`${colors.magenta}
|
|
1806
|
-
process.stdout.write(`${colors.magenta}
|
|
2226
|
+
const side = this.useUnicodeUi ? '│' : '|';
|
|
2227
|
+
const warn = this.useUnicodeUi ? '!' : '!';
|
|
2228
|
+
process.stdout.write(`${colors.magenta}${side}${colors.reset} ${colors.yellow}${warn} AI muốn chạy: ${colors.bright}${commandText}${colors.reset}\n`);
|
|
2229
|
+
process.stdout.write(`${colors.magenta}${side}${colors.reset} ${colors.cyan}1.${colors.reset} Cho phép\n`);
|
|
2230
|
+
process.stdout.write(`${colors.magenta}${side}${colors.reset} ${colors.cyan}2.${colors.reset} Cho phép trong phiên\n`);
|
|
2231
|
+
process.stdout.write(`${colors.magenta}${side}${colors.reset} ${colors.cyan}3.${colors.reset} Không cho phép\n`);
|
|
1807
2232
|
|
|
1808
2233
|
while (true) {
|
|
1809
2234
|
const answer = await new Promise(resolve => {
|
|
1810
|
-
this.rl.question(`${colors.magenta}
|
|
2235
|
+
this.rl.question(`${colors.magenta}${side}${colors.reset} ${colors.yellow}Chọn [1/2/3]: ${colors.reset}`, resolve);
|
|
1811
2236
|
});
|
|
1812
2237
|
|
|
1813
2238
|
const choice = String(answer || '').trim().toLowerCase();
|
|
@@ -1821,7 +2246,7 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1821
2246
|
return false;
|
|
1822
2247
|
}
|
|
1823
2248
|
|
|
1824
|
-
process.stdout.write(`${colors.magenta}
|
|
2249
|
+
process.stdout.write(`${colors.magenta}${side}${colors.reset} ${colors.dim}Vui lòng chọn 1, 2 hoặc 3.${colors.reset}\n`);
|
|
1825
2250
|
}
|
|
1826
2251
|
}
|
|
1827
2252
|
|
|
@@ -1888,6 +2313,16 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1888
2313
|
for (const item of summary) {
|
|
1889
2314
|
console.log(` ${item.tool}: ${item.calls} call(s), ${item.failures} failure(s), avg ${item.avgMs}ms`);
|
|
1890
2315
|
}
|
|
2316
|
+
const context = this.session?.getContext?.() || {};
|
|
2317
|
+
const adapterStats = context.toolCallAdapterStats?.value || context.toolCallAdapterStats;
|
|
2318
|
+
if (adapterStats?.total) {
|
|
2319
|
+
console.log(`${colors.cyan}Tool Call Adapter:${colors.reset}`);
|
|
2320
|
+
console.log(` total parsed: ${adapterStats.total}`);
|
|
2321
|
+
const sources = Object.entries(adapterStats.bySource || {}).sort((a, b) => b[1] - a[1]);
|
|
2322
|
+
if (sources.length > 0) {
|
|
2323
|
+
console.log(` sources: ${sources.map(([name, count]) => `${name}=${count}`).join(', ')}`);
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
1891
2326
|
}
|
|
1892
2327
|
|
|
1893
2328
|
showReplay(limit = 20) {
|
|
@@ -1983,17 +2418,27 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
1983
2418
|
|
|
1984
2419
|
async chat(message, imageAttachments = []) {
|
|
1985
2420
|
try {
|
|
2421
|
+
await this.autoApplyWorkflowForTask(message);
|
|
1986
2422
|
const needsTools = true;
|
|
1987
2423
|
const context = await this.getProjectContext(message);
|
|
2424
|
+
const systemPrompt = this.getSystemPrompt(context);
|
|
2425
|
+
|
|
2426
|
+
// Inject @-context if any
|
|
2427
|
+
const atContextStr = this._pendingAtContext || '';
|
|
2428
|
+
this._pendingAtContext = '';
|
|
2429
|
+
const finalSystemPrompt = atContextStr
|
|
2430
|
+
? systemPrompt + '\n\n' + atContextStr
|
|
2431
|
+
: systemPrompt;
|
|
2432
|
+
|
|
1988
2433
|
const messages = [
|
|
1989
|
-
{ role: 'system', content:
|
|
2434
|
+
{ role: 'system', content: finalSystemPrompt }
|
|
1990
2435
|
];
|
|
1991
2436
|
|
|
1992
2437
|
await this.compressSessionContext(false);
|
|
1993
2438
|
const promptHistory = this.getCompressedPromptHistory({
|
|
1994
2439
|
limit: 20,
|
|
1995
2440
|
keepRecent: 14,
|
|
1996
|
-
maxTotalChars:
|
|
2441
|
+
maxTotalChars: 16000,
|
|
1997
2442
|
});
|
|
1998
2443
|
if (promptHistory.summary) {
|
|
1999
2444
|
messages.push({ role: 'system', content: `Compressed prior conversation:\n${promptHistory.summary}` });
|
|
@@ -2018,14 +2463,19 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
2018
2463
|
}
|
|
2019
2464
|
|
|
2020
2465
|
const tools = this.getAgentTools('general');
|
|
2021
|
-
const { finalContent,
|
|
2466
|
+
const { finalContent, usedMutatingTools } = await this.runConversation(messages, 'Thinking', tools);
|
|
2022
2467
|
|
|
2023
2468
|
await this.session.addToHistory({ role: 'user', content: message });
|
|
2024
2469
|
await this.session.addToHistory({ role: 'assistant', content: finalContent });
|
|
2025
2470
|
|
|
2026
|
-
// Tự động verify: nếu AI đã dùng tools (sửa code), chạy test/build
|
|
2027
|
-
if (
|
|
2028
|
-
|
|
2471
|
+
// Tự động verify: nếu AI đã dùng tools (sửa code), chạy test/build.
|
|
2472
|
+
if (finalContent && this.shouldAutoVerifyAfterTools(message, usedMutatingTools)) {
|
|
2473
|
+
const sessionContext = this.session?.getContext?.() || {};
|
|
2474
|
+
const profile = String(sessionContext.workflowProfile || 'general');
|
|
2475
|
+
const amplifier = sessionContext.smallModelAmplifier || {};
|
|
2476
|
+
const baseAttempts = /debug|backend|data|devops|ai/.test(profile) ? 4 : 3;
|
|
2477
|
+
const boostedAttempts = amplifier?.weak ? Math.max(baseAttempts, 5) : baseAttempts;
|
|
2478
|
+
await this.verifyAndHeal(messages, tools, boostedAttempts);
|
|
2029
2479
|
}
|
|
2030
2480
|
|
|
2031
2481
|
} catch (error) {
|
|
@@ -2033,10 +2483,91 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
2033
2483
|
}
|
|
2034
2484
|
}
|
|
2035
2485
|
|
|
2486
|
+
async autoApplyWorkflowForTask(taskText = '') {
|
|
2487
|
+
const text = String(taskText || '').trim();
|
|
2488
|
+
if (!text) return;
|
|
2489
|
+
|
|
2490
|
+
const sessionContext = this.session?.getContext?.() || {};
|
|
2491
|
+
const cached = sessionContext.workflowLastTask || '';
|
|
2492
|
+
if (cached && cached === text) return;
|
|
2493
|
+
|
|
2494
|
+
const [signals, catalog] = await Promise.all([
|
|
2495
|
+
this.getProjectSignals?.() || [],
|
|
2496
|
+
this.getStartupSkillCatalog?.() || new Set(),
|
|
2497
|
+
]);
|
|
2498
|
+
const workflow = selectWorkflow({
|
|
2499
|
+
taskText: text,
|
|
2500
|
+
projectSignals: signals,
|
|
2501
|
+
skillCatalog: Array.isArray(catalog) ? catalog : [...catalog],
|
|
2502
|
+
});
|
|
2503
|
+
|
|
2504
|
+
const existingSkills = Array.isArray(sessionContext.activeSkills?.value)
|
|
2505
|
+
? sessionContext.activeSkills.value
|
|
2506
|
+
: (Array.isArray(sessionContext.activeSkills) ? sessionContext.activeSkills : []);
|
|
2507
|
+
const mergedSkills = [...new Set([...(existingSkills || []), ...(workflow.recommendedSkills || [])])];
|
|
2508
|
+
|
|
2509
|
+
const hints = [
|
|
2510
|
+
`Task category/type: ${workflow.taskInfo?.category || 'unknown'} / ${workflow.taskInfo?.type || 'unknown'}`,
|
|
2511
|
+
`Workflow profile: ${workflow.profile} (depth=${workflow.depth})`,
|
|
2512
|
+
workflow.technologySuggestions?.length ? `Technology suggestions: ${workflow.technologySuggestions.join(' | ')}` : '',
|
|
2513
|
+
workflow.verificationStrategy?.length ? `Verification strategy: ${workflow.verificationStrategy.join(', ')}` : '',
|
|
2514
|
+
workflow.recommendedSkills?.length ? `Recommended skills: ${workflow.recommendedSkills.join(', ')}` : '',
|
|
2515
|
+
workflow.recommendedResources?.length ? `Recommended resources: ${workflow.recommendedResources.join(', ')}` : '',
|
|
2516
|
+
workflow.recommendedPlugins?.length ? `Recommended plugins: ${workflow.recommendedPlugins.join(', ')}` : '',
|
|
2517
|
+
workflow.recommendedRules?.length ? `Recommended rules: ${workflow.recommendedRules.join('; ')}` : '',
|
|
2518
|
+
'Execution: plan first (success criteria), then act with tools, then verify (test/build/lint). For UI/webapp: consult awesome-design-md before writing UI.',
|
|
2519
|
+
].filter(Boolean).join('\n');
|
|
2520
|
+
|
|
2521
|
+
const amplifier = buildSmallModelAmplification({
|
|
2522
|
+
modelTier: this.ai?._modelTier || 'medium',
|
|
2523
|
+
workflowProfile: workflow.profile,
|
|
2524
|
+
depth: workflow.depth,
|
|
2525
|
+
});
|
|
2526
|
+
const blueprint = getProfileBlueprint(workflow.profile);
|
|
2527
|
+
const finalHints = [
|
|
2528
|
+
hints,
|
|
2529
|
+
blueprint?.asText || '',
|
|
2530
|
+
amplifier.hint || '',
|
|
2531
|
+
].filter(Boolean).join('\n\n');
|
|
2532
|
+
|
|
2533
|
+
await this.session.updateContext('workflowLastTask', text);
|
|
2534
|
+
await this.session.updateContext('workflowProfile', workflow.profile);
|
|
2535
|
+
await this.session.updateContext('workflowDetectedTechnologies', workflow.detectedTechnologies || {});
|
|
2536
|
+
await this.session.updateContext('workflowVerificationStrategy', workflow.verificationStrategy || []);
|
|
2537
|
+
await this.session.updateContext('workflowBlueprint', blueprint?.asText || '');
|
|
2538
|
+
await this.session.updateContext('workflowHints', finalHints);
|
|
2539
|
+
await this.session.updateContext('smallModelAmplifier', amplifier);
|
|
2540
|
+
await this.session.updateContext('activeSkills', mergedSkills);
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2036
2543
|
/**
|
|
2037
|
-
* Chạy verification commands (test, build) và trả về kết
|
|
2544
|
+
* Chạy verification commands (test, build) và trả về kết quả.
|
|
2038
2545
|
*/
|
|
2039
|
-
async
|
|
2546
|
+
async inferVerificationCommands(task = '') {
|
|
2547
|
+
const fs = await import('fs/promises');
|
|
2548
|
+
const candidates = [];
|
|
2549
|
+
const packagePath = path.join(this.projectPath, 'package.json');
|
|
2550
|
+
try {
|
|
2551
|
+
const pkg = JSON.parse(await fs.readFile(packagePath, 'utf8'));
|
|
2552
|
+
const scripts = pkg.scripts || {};
|
|
2553
|
+
if (scripts.test) candidates.push('npm test');
|
|
2554
|
+
if (scripts.build && /\b(build|compile|type|typescript|tsc|frontend|ui|design|next|vite|react|debug|fix|bug|error|loi|lỗi)\b/i.test(task)) {
|
|
2555
|
+
candidates.push('npm run build');
|
|
2556
|
+
}
|
|
2557
|
+
if (scripts.lint && /\b(lint|style|eslint|quality|review)\b/i.test(task)) candidates.push('npm run lint');
|
|
2558
|
+
if (scripts.typecheck) candidates.push('npm run typecheck');
|
|
2559
|
+
} catch {
|
|
2560
|
+
// Not a Node project.
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
if (candidates.length === 0) return ['npm test'];
|
|
2564
|
+
return [...new Set(candidates)].slice(0, 3);
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
async runVerification(commands = null) {
|
|
2568
|
+
commands = Array.isArray(commands) && commands.length > 0
|
|
2569
|
+
? commands
|
|
2570
|
+
: await this.inferVerificationCommands();
|
|
2040
2571
|
const { execSync } = await import('child_process');
|
|
2041
2572
|
const results = [];
|
|
2042
2573
|
|
|
@@ -2064,11 +2595,11 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
2064
2595
|
/**
|
|
2065
2596
|
* Vòng lặp tự động verify + sửa lỗi:
|
|
2066
2597
|
* - Chạy test/build
|
|
2067
|
-
* - Nếu fail, gửi
|
|
2598
|
+
* - Nếu fail, gửi lại cho AI fix
|
|
2068
2599
|
* - Lặp đến khi pass hết hoặc hết số lần thử
|
|
2069
2600
|
*/
|
|
2070
2601
|
async verifyAndHeal(messages, tools, maxAttempts = 5) {
|
|
2071
|
-
const verifCommands =
|
|
2602
|
+
const verifCommands = await this.inferVerificationCommands(this.getLatestUserText(messages));
|
|
2072
2603
|
|
|
2073
2604
|
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
|
|
2074
2605
|
console.log(`\n${colors.cyan}=== Verification Attempt ${attempt}/${maxAttempts} ===${colors.reset}`);
|
|
@@ -2076,7 +2607,7 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
2076
2607
|
const result = await this.runVerification(verifCommands);
|
|
2077
2608
|
|
|
2078
2609
|
if (result.passed) {
|
|
2079
|
-
console.log(`\n${colors.green}
|
|
2610
|
+
console.log(`\n${colors.green}✓ All verifications passed!${colors.reset}\n`);
|
|
2080
2611
|
return;
|
|
2081
2612
|
}
|
|
2082
2613
|
|
|
@@ -2086,7 +2617,7 @@ ${colors.yellow}ℹ AI tool loop detected (3 consecutive identical tool calls).
|
|
|
2086
2617
|
.map(r => `Command: ${r.cmd}\n${r.output}`)
|
|
2087
2618
|
.join('\n\n---\n\n');
|
|
2088
2619
|
|
|
2089
|
-
console.log(`\n${colors.yellow}
|
|
2620
|
+
console.log(`\n${colors.yellow}Verification failed. Sending errors back to AI for fix...${colors.reset}\n`);
|
|
2090
2621
|
|
|
2091
2622
|
// Push error output as user message for AI to fix
|
|
2092
2623
|
const fixPrompt = `VERIFICATION FAILED (attempt ${attempt}/${maxAttempts}):
|
|
@@ -2104,12 +2635,12 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2104
2635
|
const { usedTools: fixUsedTools } = await this.runConversation(messages, 'Fixing', tools);
|
|
2105
2636
|
|
|
2106
2637
|
if (!fixUsedTools) {
|
|
2107
|
-
console.log(`\n${colors.red}
|
|
2638
|
+
console.log(`\n${colors.red}AI did not attempt to fix the errors. Stopping.${colors.reset}\n`);
|
|
2108
2639
|
break;
|
|
2109
2640
|
}
|
|
2110
2641
|
}
|
|
2111
2642
|
|
|
2112
|
-
console.log(`\n${colors.red}
|
|
2643
|
+
console.log(`\n${colors.red}Max verification attempts (${maxAttempts}) reached. Some issues may remain.${colors.reset}\n`);
|
|
2113
2644
|
}
|
|
2114
2645
|
|
|
2115
2646
|
shouldUseTools(message = '', imageAttachments = []) {
|
|
@@ -2138,15 +2669,16 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2138
2669
|
}
|
|
2139
2670
|
|
|
2140
2671
|
async runAgent(role, task) {
|
|
2672
|
+
const agentDefinition = await this.agentRegistry.get(role || 'general');
|
|
2141
2673
|
const context = await this.getProjectContext(task);
|
|
2142
2674
|
const messages = [
|
|
2143
|
-
{ role: 'system', content: this.
|
|
2675
|
+
{ role: 'system', content: this.getAgentDefinitionSystemPrompt(agentDefinition, context) }
|
|
2144
2676
|
];
|
|
2145
2677
|
|
|
2146
2678
|
const promptHistory = this.getCompressedPromptHistory({
|
|
2147
|
-
limit:
|
|
2148
|
-
keepRecent:
|
|
2149
|
-
maxTotalChars:
|
|
2679
|
+
limit: 40,
|
|
2680
|
+
keepRecent: 16,
|
|
2681
|
+
maxTotalChars: 16000,
|
|
2150
2682
|
});
|
|
2151
2683
|
if (promptHistory.summary) {
|
|
2152
2684
|
messages.push({ role: 'system', content: `Compressed prior conversation:\n${promptHistory.summary}` });
|
|
@@ -2157,15 +2689,172 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2157
2689
|
|
|
2158
2690
|
messages.push({ role: 'user', content: `Task: ${task}` });
|
|
2159
2691
|
|
|
2160
|
-
const agentTools = this.
|
|
2161
|
-
const { finalContent,
|
|
2692
|
+
const agentTools = this.getAgentToolsForDefinition(agentDefinition);
|
|
2693
|
+
const { finalContent, usedMutatingTools } = await this.runConversation(messages, `Subagent [${agentDefinition.id}]`, agentTools);
|
|
2162
2694
|
|
|
2163
|
-
await this.session.addToHistory({ role: 'user', content: `[subagent:${
|
|
2695
|
+
await this.session.addToHistory({ role: 'user', content: `[subagent:${agentDefinition.id}] ${task}` });
|
|
2164
2696
|
await this.session.addToHistory({ role: 'assistant', content: finalContent });
|
|
2165
2697
|
|
|
2166
|
-
if (
|
|
2167
|
-
await this.verifyAndHeal(messages, agentTools,
|
|
2698
|
+
if (finalContent && this.shouldAutoVerifyAfterTools(task, usedMutatingTools)) {
|
|
2699
|
+
await this.verifyAndHeal(messages, agentTools, 2);
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
async listAgentDefinitions() {
|
|
2704
|
+
return this.agentRegistry.list();
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
getAgentToolsForDefinition(agentDefinition = {}) {
|
|
2708
|
+
const base = this.tools.getToolDefinitions();
|
|
2709
|
+
const allowed = Array.isArray(agentDefinition.tools) ? agentDefinition.tools : [];
|
|
2710
|
+
if (allowed.length === 0) return this.getAgentTools(agentDefinition.id || 'general');
|
|
2711
|
+
return base.filter(tool => allowed.includes(tool.name));
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
getAgentDefinitionSystemPrompt(agentDefinition = {}, context = '') {
|
|
2715
|
+
const fallback = this.getAgentSystemPrompt(agentDefinition.id || 'general', context);
|
|
2716
|
+
const instructions = String(agentDefinition.instructionsPrompt || '').trim();
|
|
2717
|
+
const custom = instructions
|
|
2718
|
+
? [
|
|
2719
|
+
`You are ${agentDefinition.displayName || agentDefinition.id}, a Winter custom agent.`,
|
|
2720
|
+
instructions,
|
|
2721
|
+
'',
|
|
2722
|
+
'AGENT CONTRACT:',
|
|
2723
|
+
'- Inspect real project state before editing.',
|
|
2724
|
+
'- Use only the provided tools and cite tool evidence in the final answer.',
|
|
2725
|
+
'- Patch the smallest root cause and verify when the task changes code.',
|
|
2726
|
+
'- Do not claim success without tool evidence.',
|
|
2727
|
+
].join('\n')
|
|
2728
|
+
: fallback;
|
|
2729
|
+
|
|
2730
|
+
const metadata = [
|
|
2731
|
+
`Agent id: ${agentDefinition.id || 'general'}`,
|
|
2732
|
+
`Agent source: ${agentDefinition.source || 'builtin'}`,
|
|
2733
|
+
Array.isArray(agentDefinition.tools) && agentDefinition.tools.length
|
|
2734
|
+
? `Allowed tools: ${agentDefinition.tools.join(', ')}`
|
|
2735
|
+
: '',
|
|
2736
|
+
].filter(Boolean).join('\n');
|
|
2737
|
+
|
|
2738
|
+
return [custom, metadata ? `\nAGENT METADATA:\n${metadata}` : '', context ? `\nPROJECT CONTEXT:\n${context}` : ''].join('\n');
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
async runToolDoctor() {
|
|
2742
|
+
const provider = this.ai?.getActiveProvider?.() || 'unknown';
|
|
2743
|
+
const model = this.ai?.providers?.[provider]?.model || 'unknown';
|
|
2744
|
+
const tools = this.getAgentTools('plan').filter(tool => tool.name === 'Read');
|
|
2745
|
+
const probePath = 'README.md';
|
|
2746
|
+
const messages = [
|
|
2747
|
+
{
|
|
2748
|
+
role: 'system',
|
|
2749
|
+
content: [
|
|
2750
|
+
'You are Winter tool-call doctor.',
|
|
2751
|
+
'You must diagnose whether this provider/model can trigger a real tool execution.',
|
|
2752
|
+
'Call the Read tool for README.md now. Do not answer in prose before the tool call.',
|
|
2753
|
+
'If native tool calls are unavailable, output exactly one fallback call:',
|
|
2754
|
+
'<invoke name="Read"><parameter name="path">README.md</parameter></invoke>',
|
|
2755
|
+
'{"tool":"Read","arguments":{"path":"README.md"}}',
|
|
2756
|
+
'CALL_TOOL Read {"path":"README.md"}',
|
|
2757
|
+
].join('\n'),
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
role: 'user',
|
|
2761
|
+
content: `TOOL DOCTOR: call Read on ${probePath}.`,
|
|
2762
|
+
},
|
|
2763
|
+
];
|
|
2764
|
+
|
|
2765
|
+
console.log(`${colors.cyan}Tool doctor:${colors.reset} provider=${provider}, model=${model}`);
|
|
2766
|
+
const beforeEvents = this.session?.getToolEvents?.(1)?.length || 0;
|
|
2767
|
+
const result = await this.runConversation(messages, 'Tool doctor', tools);
|
|
2768
|
+
const recentEvents = this.session?.getToolEvents?.(5) || [];
|
|
2769
|
+
const readEvent = recentEvents.find(event => event.tool === 'Read' && event.success !== false);
|
|
2770
|
+
const passed = result.usedTools && Boolean(readEvent || /readme\.md/i.test(result.finalContent || ''));
|
|
2771
|
+
|
|
2772
|
+
if (passed) {
|
|
2773
|
+
console.log(`${colors.green}✓ Tool calling works for ${provider}/${model}.${colors.reset}`);
|
|
2774
|
+
if (readEvent) {
|
|
2775
|
+
console.log(`${colors.dim} Last Read result: ${readEvent.result?.path || probePath}${colors.reset}`);
|
|
2776
|
+
}
|
|
2777
|
+
return { success: true, provider, model, usedTools: result.usedTools, beforeEvents };
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
console.log(`${colors.red}✖ Tool calling did not execute for ${provider}/${model}.${colors.reset}`);
|
|
2781
|
+
console.log(`${colors.yellow} Try a stronger model or use a provider that supports OpenAI-compatible tools/fallback text output.${colors.reset}`);
|
|
2782
|
+
return { success: false, provider, model, usedTools: result.usedTools, beforeEvents };
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
async getCapabilityScorecard() {
|
|
2786
|
+
return assessWinterCapabilities(this);
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
async showCapabilityScorecard() {
|
|
2790
|
+
const report = await this.getCapabilityScorecard();
|
|
2791
|
+
console.log(formatCapabilityScorecard(report, { colors }));
|
|
2792
|
+
return report;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
async showContextDiagnostics(task = '') {
|
|
2796
|
+
const provider = this.ai?.getActiveProvider?.() || 'unknown';
|
|
2797
|
+
const model = this.ai?.providers?.[provider]?.model || 'unknown';
|
|
2798
|
+
const context = await this.getProjectContext(task);
|
|
2799
|
+
let codebaseStats = null;
|
|
2800
|
+
try {
|
|
2801
|
+
codebaseStats = await this.ensureCodebaseIndex({ verbose: false });
|
|
2802
|
+
} catch {
|
|
2803
|
+
codebaseStats = null;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
const sectionNames = Array.from(context.matchAll(/^\[([^\]]+)\]/gm)).map(match => match[1]);
|
|
2807
|
+
const lines = [
|
|
2808
|
+
`${colors.cyan}${colors.bright}Winter context diagnostics${colors.reset}`,
|
|
2809
|
+
`Project: ${this.projectPath}`,
|
|
2810
|
+
`Provider/model: ${provider}/${model}`,
|
|
2811
|
+
`Context chars: ${context.length}`,
|
|
2812
|
+
`Sections: ${sectionNames.length ? sectionNames.join(', ') : 'none'}`,
|
|
2813
|
+
];
|
|
2814
|
+
|
|
2815
|
+
if (codebaseStats) {
|
|
2816
|
+
lines.push(`Codebase index: ${codebaseStats.totalFiles || 0} files, ${codebaseStats.totalChunks || 0} chunks`);
|
|
2817
|
+
} else {
|
|
2818
|
+
lines.push('Codebase index: unavailable');
|
|
2168
2819
|
}
|
|
2820
|
+
|
|
2821
|
+
lines.push('');
|
|
2822
|
+
lines.push(colors.dim + this.compactText(context, 3200, 'context diagnostics') + colors.reset);
|
|
2823
|
+
console.log(lines.join('\n'));
|
|
2824
|
+
return { provider, model, contextLength: context.length, sections: sectionNames, codebaseStats };
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
async runFullDoctor() {
|
|
2828
|
+
const report = await this.showCapabilityScorecard();
|
|
2829
|
+
console.log('');
|
|
2830
|
+
await this.showContextDiagnostics('doctor full codebase provider tool debug workflow');
|
|
2831
|
+
console.log('');
|
|
2832
|
+
const toolResult = await this.runToolDoctor();
|
|
2833
|
+
return {
|
|
2834
|
+
success: report.overall >= report.target && toolResult.success,
|
|
2835
|
+
scorecard: report,
|
|
2836
|
+
toolResult,
|
|
2837
|
+
};
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
async runToolDoctor() {
|
|
2841
|
+
return runToolDoctorDiagnostics(this);
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
async getCapabilityScorecard() {
|
|
2845
|
+
return getCapabilityScorecardReport(this);
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
async showCapabilityScorecard() {
|
|
2849
|
+
return showCapabilityScorecardDiagnostics(this);
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
async showContextDiagnostics(task = '') {
|
|
2853
|
+
return showContextDiagnosticsReport(this, task);
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
async runFullDoctor() {
|
|
2857
|
+
return runFullDoctorDiagnostics(this);
|
|
2169
2858
|
}
|
|
2170
2859
|
|
|
2171
2860
|
async getProjectContext(task = '') {
|
|
@@ -2175,11 +2864,17 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2175
2864
|
context.push(requiredLocalResources);
|
|
2176
2865
|
}
|
|
2177
2866
|
|
|
2867
|
+
const shouldIncludeResources = /\b(resource|resources|skill|skills|plugin|plugins|claude|codex|agent|agents|design|ui|figma|brand|mcp)\b/i.test(String(task || ''));
|
|
2868
|
+
const localResources = shouldIncludeResources ? await this.getLocalResourceContext() : '';
|
|
2869
|
+
if (localResources) {
|
|
2870
|
+
context.push(localResources);
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2178
2873
|
const projectInstructionFiles = await this.readProjectInstructionFiles();
|
|
2179
2874
|
|
|
2180
2875
|
for (const file of projectInstructionFiles) {
|
|
2181
2876
|
try {
|
|
2182
|
-
const preview = this.compactText(file.content,
|
|
2877
|
+
const preview = this.compactText(file.content, 1200, 'project instruction');
|
|
2183
2878
|
context.push(`[${file.relativePath}]\n${preview}`);
|
|
2184
2879
|
} catch { }
|
|
2185
2880
|
}
|
|
@@ -2189,14 +2884,22 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2189
2884
|
const stat = await fs.stat(packageJsonPath);
|
|
2190
2885
|
if (stat.isFile()) {
|
|
2191
2886
|
const content = await fs.readFile(packageJsonPath, 'utf-8');
|
|
2192
|
-
context.push(`[package.json]\n${this.compactText(content,
|
|
2887
|
+
context.push(`[package.json]\n${this.compactText(content, 1600, 'package.json')}`);
|
|
2193
2888
|
}
|
|
2194
2889
|
} catch { }
|
|
2195
2890
|
|
|
2196
|
-
const
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2891
|
+
const codebaseContext = await this.buildCodebaseContext(task);
|
|
2892
|
+
if (codebaseContext) {
|
|
2893
|
+
context.push(codebaseContext);
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
const graphContext = await this.codebaseSearcher?.buildGraphContext?.(task, {
|
|
2897
|
+
maxNodes: 24,
|
|
2898
|
+
maxCodeBlocks: 8,
|
|
2899
|
+
maxCodeBlockSize: 1800,
|
|
2900
|
+
});
|
|
2901
|
+
if (graphContext) {
|
|
2902
|
+
context.push(`[CodeGraph Context]\n${this.compactText(graphContext, 5200, 'codegraph context')}`);
|
|
2200
2903
|
}
|
|
2201
2904
|
|
|
2202
2905
|
// Git Context
|
|
@@ -2208,20 +2911,20 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2208
2911
|
|
|
2209
2912
|
const gitSummary = execSync('git diff --stat --summary', { cwd: this.projectPath, encoding: 'utf8', stdio: 'pipe', maxBuffer: 1024 * 50 }).trim();
|
|
2210
2913
|
if (gitSummary) {
|
|
2211
|
-
context.push(`[Git Summary]\n${this.compactText(gitSummary,
|
|
2914
|
+
context.push(`[Git Summary]\n${this.compactText(gitSummary, 1200, 'git summary')}`);
|
|
2212
2915
|
}
|
|
2213
2916
|
|
|
2214
2917
|
// Get brief git diff for context
|
|
2215
2918
|
const gitDiff = execSync('git diff', { cwd: this.projectPath, encoding: 'utf8', stdio: 'pipe', maxBuffer: 1024 * 50 }).trim().split('\n').slice(0, 30).join('\n');
|
|
2216
2919
|
if (gitDiff) {
|
|
2217
|
-
context.push(`[Git Diff]\n${this.compactText(gitDiff,
|
|
2920
|
+
context.push(`[Git Diff]\n${this.compactText(gitDiff, 2200, 'git diff')}`);
|
|
2218
2921
|
}
|
|
2219
2922
|
}
|
|
2220
2923
|
} catch (e) {
|
|
2221
2924
|
// Not a git repo or git not installed
|
|
2222
2925
|
}
|
|
2223
2926
|
|
|
2224
|
-
return this.compactText(context.join('\n\n') || 'No project context found.',
|
|
2927
|
+
return this.compactText(context.join('\n\n') || 'No project context found.', 14000, 'project context');
|
|
2225
2928
|
}
|
|
2226
2929
|
|
|
2227
2930
|
async getLocalResourceContext() {
|
|
@@ -2323,7 +3026,7 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2323
3026
|
this.promptBuilder.tools = this.tools;
|
|
2324
3027
|
this.promptBuilder.sessionPermissionGrants = this.sessionPermissionGrants;
|
|
2325
3028
|
return this.promptBuilder.buildSystemPrompt(context, {
|
|
2326
|
-
projectContextBudget:
|
|
3029
|
+
projectContextBudget: 5200,
|
|
2327
3030
|
});
|
|
2328
3031
|
}
|
|
2329
3032
|
|
|
@@ -2370,7 +3073,7 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2370
3073
|
}
|
|
2371
3074
|
config.mcp.servers.forEach(server => {
|
|
2372
3075
|
const enabled = server.enabled === false ? `${colors.red}disabled${colors.reset}` : `${colors.green}enabled${colors.reset}`;
|
|
2373
|
-
console.log(`
|
|
3076
|
+
console.log(` - ${server.name} (${enabled}) -> ${server.command}${server.args?.length ? ` ${server.args.join(' ')}` : ''}`);
|
|
2374
3077
|
});
|
|
2375
3078
|
break;
|
|
2376
3079
|
case 'add': {
|
|
@@ -2484,4 +3187,41 @@ Do NOT stop until all errors are resolved.`;
|
|
|
2484
3187
|
return null;
|
|
2485
3188
|
}
|
|
2486
3189
|
}
|
|
3190
|
+
|
|
3191
|
+
async getClipboardImage() {
|
|
3192
|
+
if (process.platform !== 'win32') return null;
|
|
3193
|
+
try {
|
|
3194
|
+
const { execSync } = await import('child_process');
|
|
3195
|
+
const script = [
|
|
3196
|
+
'Add-Type -AssemblyName System.Windows.Forms',
|
|
3197
|
+
'Add-Type -AssemblyName System.Drawing',
|
|
3198
|
+
'$img = [System.Windows.Forms.Clipboard]::GetImage()',
|
|
3199
|
+
'if ($null -ne $img) {',
|
|
3200
|
+
' $ms = New-Object System.IO.MemoryStream',
|
|
3201
|
+
' $img.Save($ms, [System.Drawing.Imaging.ImageFormat]::Png)',
|
|
3202
|
+
' [Convert]::ToBase64String($ms.ToArray())',
|
|
3203
|
+
'}',
|
|
3204
|
+
].join('; ');
|
|
3205
|
+
const base64 = execSync('powershell.exe -NoProfile -NonInteractive -Command -', {
|
|
3206
|
+
input: script,
|
|
3207
|
+
encoding: 'utf8',
|
|
3208
|
+
stdio: ['pipe', 'pipe', 'ignore'],
|
|
3209
|
+
timeout: 10000,
|
|
3210
|
+
}).trim();
|
|
3211
|
+
return base64 ? { mime: 'image/png', base64 } : null;
|
|
3212
|
+
} catch {
|
|
3213
|
+
return null;
|
|
3214
|
+
}
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
async getClipboardPayload() {
|
|
3218
|
+
const image = await this.getClipboardImage();
|
|
3219
|
+
if (image) return { type: 'image', image };
|
|
3220
|
+
|
|
3221
|
+
const text = await this.getClipboardContent();
|
|
3222
|
+
if (!text) return null;
|
|
3223
|
+
const dataImage = this.parseDataUrlImage(text);
|
|
3224
|
+
if (dataImage) return { type: 'image', image: dataImage };
|
|
3225
|
+
return { type: 'text', text };
|
|
3226
|
+
}
|
|
2487
3227
|
}
|