@windagency/valora 2.0.1
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 +505 -0
- package/bin/mcp.js +10 -0
- package/bin/valora.js +10 -0
- package/data/agents/.gitkeep +0 -0
- package/data/agents/_meta/.gitkeep +0 -0
- package/data/agents/_meta/schema.json +352 -0
- package/data/agents/_template.md +72 -0
- package/data/agents/asserter.md +821 -0
- package/data/agents/expertises/.gitkeep +0 -0
- package/data/agents/expertises/_template/.gitkeep +0 -0
- package/data/agents/expertises/_template/registry.json +14 -0
- package/data/agents/lead.md +566 -0
- package/data/agents/platform-engineer.md +486 -0
- package/data/agents/product-manager.md +557 -0
- package/data/agents/qa.md +593 -0
- package/data/agents/registry.json +766 -0
- package/data/agents/secops-engineer.md +693 -0
- package/data/agents/software-engineer-typescript-backend.md +698 -0
- package/data/agents/software-engineer-typescript-frontend-react.md +512 -0
- package/data/agents/software-engineer-typescript-frontend.md +460 -0
- package/data/agents/software-engineer-typescript.md +371 -0
- package/data/agents/ui-ux-designer.md +534 -0
- package/data/commands/.gitkeep +0 -0
- package/data/commands/_meta/.gitkeep +0 -0
- package/data/commands/_meta/schema.json +317 -0
- package/data/commands/_template.md +65 -0
- package/data/commands/assert.md +895 -0
- package/data/commands/commit.md +1078 -0
- package/data/commands/create-backlog.md +402 -0
- package/data/commands/create-pr.md +401 -0
- package/data/commands/create-prd.md +242 -0
- package/data/commands/feedback.md +600 -0
- package/data/commands/fetch-task.md +665 -0
- package/data/commands/gather-knowledge.md +856 -0
- package/data/commands/generate-all-documentation.md +550 -0
- package/data/commands/generate-docs.md +738 -0
- package/data/commands/implement.md +511 -0
- package/data/commands/plan-architecture.md +269 -0
- package/data/commands/plan-implementation.md +312 -0
- package/data/commands/plan.md +582 -0
- package/data/commands/pre-check.md +553 -0
- package/data/commands/refine-specs.md +271 -0
- package/data/commands/refine-task.md +957 -0
- package/data/commands/registry.json +283 -0
- package/data/commands/review-code.md +680 -0
- package/data/commands/review-functional.md +235 -0
- package/data/commands/review-plan.md +546 -0
- package/data/commands/test.md +263 -0
- package/data/commands/validate-coverage.md +424 -0
- package/data/commands/validate-parallel.md +281 -0
- package/data/commands/validate-plan.md +367 -0
- package/data/config.default.json +40 -0
- package/data/external-mcp.default.json +326 -0
- package/data/hooks/enforce-modern-cli.sh +123 -0
- package/data/hooks/tests/enforce-modern-cli.test.sh +135 -0
- package/data/hooks.default.json +17 -0
- package/data/prompts/.gitkeep +0 -0
- package/data/prompts/00_generator/.gitkeep +0 -0
- package/data/prompts/00_generator/_template.md +25 -0
- package/data/prompts/00_generator/create_agent.md +97 -0
- package/data/prompts/00_generator/create_command.md +53 -0
- package/data/prompts/01_onboard/.gitkeep +0 -0
- package/data/prompts/01_onboard/analyze-clarity.md +413 -0
- package/data/prompts/01_onboard/analyze-documentation-requirements.md +543 -0
- package/data/prompts/01_onboard/analyze-patterns.md +288 -0
- package/data/prompts/01_onboard/analyze-requirements.md +809 -0
- package/data/prompts/01_onboard/collect-clarifications.md +374 -0
- package/data/prompts/01_onboard/fetch-task.md +409 -0
- package/data/prompts/01_onboard/map-dependencies.md +326 -0
- package/data/prompts/01_onboard/refine-requirements.md +638 -0
- package/data/prompts/01_onboard/refine-specifications.md +456 -0
- package/data/prompts/02_context/.gitkeep +0 -0
- package/data/prompts/02_context/analyze-change-scope.md +306 -0
- package/data/prompts/02_context/analyze-changes-for-review.md +292 -0
- package/data/prompts/02_context/analyze-codebase-changes.md +265 -0
- package/data/prompts/02_context/analyze-command-execution.md +231 -0
- package/data/prompts/02_context/analyze-commits-for-pr.md +258 -0
- package/data/prompts/02_context/analyze-functional-scope.md +380 -0
- package/data/prompts/02_context/analyze-git-branch.md +137 -0
- package/data/prompts/02_context/analyze-git-status.md +184 -0
- package/data/prompts/02_context/analyze-task-context.md +397 -0
- package/data/prompts/02_context/check-dependencies.md +394 -0
- package/data/prompts/02_context/extract-ticket-info.md +201 -0
- package/data/prompts/02_context/extract-ticket-references.md +157 -0
- package/data/prompts/02_context/gather-git-metrics.md +237 -0
- package/data/prompts/02_context/gather-validation-context.md +281 -0
- package/data/prompts/02_context/identify-completed-workflow.md +203 -0
- package/data/prompts/02_context/load-and-analyze-parallel.md +441 -0
- package/data/prompts/02_context/load-backlog.md +395 -0
- package/data/prompts/02_context/load-commit-template.md +186 -0
- package/data/prompts/02_context/load-documentation-context.md +382 -0
- package/data/prompts/02_context/load-implementation-context.md +360 -0
- package/data/prompts/02_context/load-plan-context.md +371 -0
- package/data/prompts/02_context/load-pr-template.md +198 -0
- package/data/prompts/02_context/load-prd.md +385 -0
- package/data/prompts/02_context/load-specifications.md +354 -0
- package/data/prompts/02_context/load-task.md +311 -0
- package/data/prompts/02_context/scan-codebase.md +270 -0
- package/data/prompts/02_context/understand-intent.md +145 -0
- package/data/prompts/02_context/use-modern-cli-tools.md +403 -0
- package/data/prompts/03_plan/.gitkeep +0 -0
- package/data/prompts/03_plan/assess-complexity.md +508 -0
- package/data/prompts/03_plan/assess-risks.md +677 -0
- package/data/prompts/03_plan/breakdown-implementation.md +895 -0
- package/data/prompts/03_plan/decompose-tasks.md +584 -0
- package/data/prompts/03_plan/define-architecture.md +347 -0
- package/data/prompts/03_plan/identify-dependencies.md +703 -0
- package/data/prompts/04_code/.gitkeep +0 -0
- package/data/prompts/04_code/calculate-version-bump.md +260 -0
- package/data/prompts/04_code/create-version-tag.md +321 -0
- package/data/prompts/04_code/determine-commit-strategy.md +300 -0
- package/data/prompts/04_code/determine-labels.md +380 -0
- package/data/prompts/04_code/determine-reviewers.md +324 -0
- package/data/prompts/04_code/generate-commit-messages.md +355 -0
- package/data/prompts/04_code/generate-pr-description.md +507 -0
- package/data/prompts/04_code/generate-pr-title.md +310 -0
- package/data/prompts/04_code/implement-changes.md +861 -0
- package/data/prompts/04_code/implement-tests.md +672 -0
- package/data/prompts/04_code/interactive-review.md +330 -0
- package/data/prompts/04_code/push-and-create-pr.md +435 -0
- package/data/prompts/04_code/stage-and-commit.md +424 -0
- package/data/prompts/04_code/validate-prerequisites.md +345 -0
- package/data/prompts/04_code/verify-implementation.md +705 -0
- package/data/prompts/05_review/.gitkeep +0 -0
- package/data/prompts/05_review/assess-code-quality.md +473 -0
- package/data/prompts/05_review/assess-constraints.md +368 -0
- package/data/prompts/05_review/calculate-performance-metrics.md +213 -0
- package/data/prompts/05_review/collect-user-feedback.md +236 -0
- package/data/prompts/05_review/evaluate-quality-outcomes.md +239 -0
- package/data/prompts/05_review/generate-commit-insights.md +344 -0
- package/data/prompts/05_review/identify-improvement-areas.md +275 -0
- package/data/prompts/05_review/synthesize-plan-assessment.md +778 -0
- package/data/prompts/05_review/synthesize-validation-report.md +369 -0
- package/data/prompts/05_review/validate-accessibility.md +303 -0
- package/data/prompts/05_review/validate-architecture.md +274 -0
- package/data/prompts/05_review/validate-backlog.md +620 -0
- package/data/prompts/05_review/validate-completeness.md +819 -0
- package/data/prompts/05_review/validate-documentation.md +453 -0
- package/data/prompts/05_review/validate-functional-requirements.md +432 -0
- package/data/prompts/05_review/validate-implementation-completeness.md +281 -0
- package/data/prompts/05_review/validate-maintainability.md +515 -0
- package/data/prompts/05_review/validate-performance.md +351 -0
- package/data/prompts/05_review/validate-pr-creation.md +260 -0
- package/data/prompts/05_review/validate-pr-readiness.md +315 -0
- package/data/prompts/05_review/validate-readiness.md +429 -0
- package/data/prompts/05_review/validate-risk-coverage.md +484 -0
- package/data/prompts/05_review/validate-security.md +260 -0
- package/data/prompts/05_review/validate-standards-compliance.md +204 -0
- package/data/prompts/05_review/validate-step-quality.md +445 -0
- package/data/prompts/05_review/validate-technical-feasibility.md +469 -0
- package/data/prompts/05_review/validate-test-strategy.md +556 -0
- package/data/prompts/05_review/validate-testability.md +532 -0
- package/data/prompts/05_review/validate-type-safety.md +200 -0
- package/data/prompts/05_review/verify-commits.md +388 -0
- package/data/prompts/06_test/.gitkeep +0 -0
- package/data/prompts/06_test/analyze-results.md +581 -0
- package/data/prompts/06_test/analyze-test-infrastructure.md +360 -0
- package/data/prompts/06_test/execute-tests.md +534 -0
- package/data/prompts/07_documentation/.gitkeep +0 -0
- package/data/prompts/07_documentation/apply-specification-refinement.md +304 -0
- package/data/prompts/07_documentation/apply-task-refinement.md +389 -0
- package/data/prompts/07_documentation/export-metrics.md +271 -0
- package/data/prompts/07_documentation/generate-all-domains-parallel.md +469 -0
- package/data/prompts/07_documentation/generate-backend-docs.md +322 -0
- package/data/prompts/07_documentation/generate-backlog-artifacts.md +720 -0
- package/data/prompts/07_documentation/generate-code-review-report.md +385 -0
- package/data/prompts/07_documentation/generate-feedback-report.md +299 -0
- package/data/prompts/07_documentation/generate-feedback-summary.md +164 -0
- package/data/prompts/07_documentation/generate-frontend-docs.md +309 -0
- package/data/prompts/07_documentation/generate-functional-review-report.md +410 -0
- package/data/prompts/07_documentation/generate-infrastructure-docs.md +630 -0
- package/data/prompts/07_documentation/generate-prd.md +197 -0
- package/data/prompts/07_documentation/persist-documentation.md +245 -0
- package/data/prompts/07_documentation/review-and-persist-parallel.md +459 -0
- package/data/prompts/07_documentation/update-changelog.md +399 -0
- package/data/prompts/07_documentation/update-inline-docs.md +574 -0
- package/data/prompts/07_documentation/update-knowledge-base.md +352 -0
- package/data/prompts/08_deployment/.gitkeep +0 -0
- package/data/prompts/09_refactor/.gitkeep +0 -0
- package/data/prompts/10_maintenance/.gitkeep +0 -0
- package/data/prompts/_meta/.gitkeep +0 -0
- package/data/prompts/_meta/schema.json +411 -0
- package/data/prompts/_template.md +56 -0
- package/data/prompts/registry.json +2227 -0
- package/data/templates/.gitkeep +0 -0
- package/data/templates/ASSERT_COMPLETENESS.md +121 -0
- package/data/templates/ASSERT_SECURITY.md +186 -0
- package/data/templates/ASSERT_TYPESCRIPT.md +195 -0
- package/data/templates/BACKEND_DOC.md +241 -0
- package/data/templates/CHANGELOG.md +38 -0
- package/data/templates/DOC_API_QUICK.md +273 -0
- package/data/templates/DOC_COMPONENT_QUICK.md +180 -0
- package/data/templates/DOC_EXTRACTION_CHECKLIST.md +284 -0
- package/data/templates/FRONTEND_DOC.md +253 -0
- package/data/templates/GUIDED_COMPLETION.md +38 -0
- package/data/templates/INFRASTRUCTURE_DOC.md +138 -0
- package/data/templates/PLAN_ARCHITECTURE.md +190 -0
- package/data/templates/PLAN_IMPLEMENTATION.md +302 -0
- package/data/templates/PLAN_PATTERN_AUTH.md +366 -0
- package/data/templates/PLAN_PATTERN_BACKGROUND_JOB.md +403 -0
- package/data/templates/PLAN_PATTERN_DATABASE.md +287 -0
- package/data/templates/PLAN_PATTERN_REACT_FEATURE.md +303 -0
- package/data/templates/PLAN_PATTERN_REST_API.md +322 -0
- package/data/templates/PLAN_QUALITY_CHECKLIST.md +167 -0
- package/data/templates/PRD.md +110 -0
- package/data/templates/PULL_REQUEST.md +30 -0
- package/data/templates/REVIEW_CODE_CHECKLIST.md +227 -0
- package/data/templates/TEST_COVERAGE_GATE.md +265 -0
- package/data/templates/TEST_GENERATION_REQUIREMENTS.md +437 -0
- package/data/templates/TROUBLESHOOTING.md +170 -0
- package/data/templates/USER_STORY.md +43 -0
- package/data/templates/plans/PATTERN_DATABASE_MIGRATION.md +551 -0
- package/data/templates/plans/PATTERN_REACT_COMPONENT.md +483 -0
- package/data/templates/plans/PATTERN_REST_API.md +428 -0
- package/data/templates/plans/README.md +174 -0
- package/data/templates/standards/TECHNICAL_DEFAULTS.md +724 -0
- package/dist/cleanup/coordinator.d.ts +26 -0
- package/dist/cleanup/coordinator.d.ts.map +1 -0
- package/dist/cleanup/coordinator.js +167 -0
- package/dist/cleanup/coordinator.js.map +1 -0
- package/dist/cleanup/index.d.ts +5 -0
- package/dist/cleanup/index.d.ts.map +1 -0
- package/dist/cleanup/index.js +5 -0
- package/dist/cleanup/index.js.map +1 -0
- package/dist/cli/autocomplete.d.ts +65 -0
- package/dist/cli/autocomplete.d.ts.map +1 -0
- package/dist/cli/autocomplete.js +422 -0
- package/dist/cli/autocomplete.js.map +1 -0
- package/dist/cli/command-adapter.interface.d.ts +98 -0
- package/dist/cli/command-adapter.interface.d.ts.map +1 -0
- package/dist/cli/command-adapter.interface.js +13 -0
- package/dist/cli/command-adapter.interface.js.map +1 -0
- package/dist/cli/command-error-handler.d.ts +69 -0
- package/dist/cli/command-error-handler.d.ts.map +1 -0
- package/dist/cli/command-error-handler.js +239 -0
- package/dist/cli/command-error-handler.js.map +1 -0
- package/dist/cli/command-executor.d.ts +146 -0
- package/dist/cli/command-executor.d.ts.map +1 -0
- package/dist/cli/command-executor.js +479 -0
- package/dist/cli/command-executor.js.map +1 -0
- package/dist/cli/command-palette.d.ts +56 -0
- package/dist/cli/command-palette.d.ts.map +1 -0
- package/dist/cli/command-palette.js +246 -0
- package/dist/cli/command-palette.js.map +1 -0
- package/dist/cli/command-resolver.d.ts +42 -0
- package/dist/cli/command-resolver.d.ts.map +1 -0
- package/dist/cli/command-resolver.js +140 -0
- package/dist/cli/command-resolver.js.map +1 -0
- package/dist/cli/command-suggestions.d.ts +49 -0
- package/dist/cli/command-suggestions.d.ts.map +1 -0
- package/dist/cli/command-suggestions.js +209 -0
- package/dist/cli/command-suggestions.js.map +1 -0
- package/dist/cli/command-templates.d.ts +83 -0
- package/dist/cli/command-templates.d.ts.map +1 -0
- package/dist/cli/command-templates.js +457 -0
- package/dist/cli/command-templates.js.map +1 -0
- package/dist/cli/command-validator.d.ts +78 -0
- package/dist/cli/command-validator.d.ts.map +1 -0
- package/dist/cli/command-validator.js +197 -0
- package/dist/cli/command-validator.js.map +1 -0
- package/dist/cli/command-wizard.d.ts +42 -0
- package/dist/cli/command-wizard.d.ts.map +1 -0
- package/dist/cli/command-wizard.js +328 -0
- package/dist/cli/command-wizard.js.map +1 -0
- package/dist/cli/commander-adapter.d.ts +91 -0
- package/dist/cli/commander-adapter.d.ts.map +1 -0
- package/dist/cli/commander-adapter.js +142 -0
- package/dist/cli/commander-adapter.js.map +1 -0
- package/dist/cli/commands/config.d.ts +9 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +62 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/dashboard.d.ts +9 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -0
- package/dist/cli/commands/dashboard.js +31 -0
- package/dist/cli/commands/dashboard.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +9 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +103 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/dynamic.d.ts +21 -0
- package/dist/cli/commands/dynamic.d.ts.map +1 -0
- package/dist/cli/commands/dynamic.js +516 -0
- package/dist/cli/commands/dynamic.js.map +1 -0
- package/dist/cli/commands/explore.d.ts +11 -0
- package/dist/cli/commands/explore.d.ts.map +1 -0
- package/dist/cli/commands/explore.js +815 -0
- package/dist/cli/commands/explore.js.map +1 -0
- package/dist/cli/commands/help.d.ts +9 -0
- package/dist/cli/commands/help.d.ts.map +1 -0
- package/dist/cli/commands/help.js +52 -0
- package/dist/cli/commands/help.js.map +1 -0
- package/dist/cli/commands/init.d.ts +9 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +71 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/monitoring.d.ts +11 -0
- package/dist/cli/commands/monitoring.d.ts.map +1 -0
- package/dist/cli/commands/monitoring.js +358 -0
- package/dist/cli/commands/monitoring.js.map +1 -0
- package/dist/cli/commands/session.d.ts +9 -0
- package/dist/cli/commands/session.d.ts.map +1 -0
- package/dist/cli/commands/session.js +521 -0
- package/dist/cli/commands/session.js.map +1 -0
- package/dist/cli/config-builder.d.ts +53 -0
- package/dist/cli/config-builder.d.ts.map +1 -0
- package/dist/cli/config-builder.js +150 -0
- package/dist/cli/config-builder.js.map +1 -0
- package/dist/cli/document-approval.d.ts +71 -0
- package/dist/cli/document-approval.d.ts.map +1 -0
- package/dist/cli/document-approval.js +328 -0
- package/dist/cli/document-approval.js.map +1 -0
- package/dist/cli/document-output-processor.d.ts +125 -0
- package/dist/cli/document-output-processor.d.ts.map +1 -0
- package/dist/cli/document-output-processor.js +496 -0
- package/dist/cli/document-output-processor.js.map +1 -0
- package/dist/cli/execution-coordinator.d.ts +97 -0
- package/dist/cli/execution-coordinator.d.ts.map +1 -0
- package/dist/cli/execution-coordinator.js +489 -0
- package/dist/cli/execution-coordinator.js.map +1 -0
- package/dist/cli/first-run-setup.d.ts +12 -0
- package/dist/cli/first-run-setup.d.ts.map +1 -0
- package/dist/cli/first-run-setup.js +63 -0
- package/dist/cli/first-run-setup.js.map +1 -0
- package/dist/cli/flags.d.ts +53 -0
- package/dist/cli/flags.d.ts.map +1 -0
- package/dist/cli/flags.js +60 -0
- package/dist/cli/flags.js.map +1 -0
- package/dist/cli/index.d.ts +11 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +182 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/presenters/assert-presenter.d.ts +29 -0
- package/dist/cli/presenters/assert-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/assert-presenter.js +224 -0
- package/dist/cli/presenters/assert-presenter.js.map +1 -0
- package/dist/cli/presenters/base-presenter.d.ts +80 -0
- package/dist/cli/presenters/base-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/base-presenter.js +124 -0
- package/dist/cli/presenters/base-presenter.js.map +1 -0
- package/dist/cli/presenters/feedback-presenter.d.ts +24 -0
- package/dist/cli/presenters/feedback-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/feedback-presenter.js +144 -0
- package/dist/cli/presenters/feedback-presenter.js.map +1 -0
- package/dist/cli/presenters/fetch-task-presenter.d.ts +26 -0
- package/dist/cli/presenters/fetch-task-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/fetch-task-presenter.js +122 -0
- package/dist/cli/presenters/fetch-task-presenter.js.map +1 -0
- package/dist/cli/presenters/implementation-presenter.d.ts +28 -0
- package/dist/cli/presenters/implementation-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/implementation-presenter.js +148 -0
- package/dist/cli/presenters/implementation-presenter.js.map +1 -0
- package/dist/cli/presenters/index.d.ts +14 -0
- package/dist/cli/presenters/index.d.ts.map +1 -0
- package/dist/cli/presenters/index.js +14 -0
- package/dist/cli/presenters/index.js.map +1 -0
- package/dist/cli/presenters/presenter-registry.d.ts +51 -0
- package/dist/cli/presenters/presenter-registry.d.ts.map +1 -0
- package/dist/cli/presenters/presenter-registry.js +89 -0
- package/dist/cli/presenters/presenter-registry.js.map +1 -0
- package/dist/cli/presenters/review-code-presenter.d.ts +34 -0
- package/dist/cli/presenters/review-code-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/review-code-presenter.js +197 -0
- package/dist/cli/presenters/review-code-presenter.js.map +1 -0
- package/dist/cli/presenters/review-plan-presenter.d.ts +26 -0
- package/dist/cli/presenters/review-plan-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/review-plan-presenter.js +130 -0
- package/dist/cli/presenters/review-plan-presenter.js.map +1 -0
- package/dist/cli/provider-fallback-service.d.ts +52 -0
- package/dist/cli/provider-fallback-service.d.ts.map +1 -0
- package/dist/cli/provider-fallback-service.js +134 -0
- package/dist/cli/provider-fallback-service.js.map +1 -0
- package/dist/cli/provider-mismatch-handler.d.ts +35 -0
- package/dist/cli/provider-mismatch-handler.d.ts.map +1 -0
- package/dist/cli/provider-mismatch-handler.js +133 -0
- package/dist/cli/provider-mismatch-handler.js.map +1 -0
- package/dist/cli/provider-resolver.d.ts +84 -0
- package/dist/cli/provider-resolver.d.ts.map +1 -0
- package/dist/cli/provider-resolver.js +360 -0
- package/dist/cli/provider-resolver.js.map +1 -0
- package/dist/cli/result-presenter.d.ts +68 -0
- package/dist/cli/result-presenter.d.ts.map +1 -0
- package/dist/cli/result-presenter.js +186 -0
- package/dist/cli/result-presenter.js.map +1 -0
- package/dist/cli/session-browser.d.ts +46 -0
- package/dist/cli/session-browser.d.ts.map +1 -0
- package/dist/cli/session-browser.js +343 -0
- package/dist/cli/session-browser.js.map +1 -0
- package/dist/cli/session-cleanup-adapter.d.ts +25 -0
- package/dist/cli/session-cleanup-adapter.d.ts.map +1 -0
- package/dist/cli/session-cleanup-adapter.js +95 -0
- package/dist/cli/session-cleanup-adapter.js.map +1 -0
- package/dist/cli/session-formatter.d.ts +107 -0
- package/dist/cli/session-formatter.d.ts.map +1 -0
- package/dist/cli/session-formatter.js +411 -0
- package/dist/cli/session-formatter.js.map +1 -0
- package/dist/cli/session-manager.d.ts +68 -0
- package/dist/cli/session-manager.d.ts.map +1 -0
- package/dist/cli/session-manager.js +153 -0
- package/dist/cli/session-manager.js.map +1 -0
- package/dist/cli/session-resume.d.ts +70 -0
- package/dist/cli/session-resume.d.ts.map +1 -0
- package/dist/cli/session-resume.js +322 -0
- package/dist/cli/session-resume.js.map +1 -0
- package/dist/cli/types/cli-options.types.d.ts +54 -0
- package/dist/cli/types/cli-options.types.d.ts.map +1 -0
- package/dist/cli/types/cli-options.types.js +8 -0
- package/dist/cli/types/cli-options.types.js.map +1 -0
- package/dist/cli/types/wizard.types.d.ts +51 -0
- package/dist/cli/types/wizard.types.d.ts.map +1 -0
- package/dist/cli/types/wizard.types.js +8 -0
- package/dist/cli/types/wizard.types.js.map +1 -0
- package/dist/config/constants.d.ts +192 -0
- package/dist/config/constants.d.ts.map +1 -0
- package/dist/config/constants.js +196 -0
- package/dist/config/constants.js.map +1 -0
- package/dist/config/index.d.ts +8 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +8 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/interactive-wizard.d.ts +67 -0
- package/dist/config/interactive-wizard.d.ts.map +1 -0
- package/dist/config/interactive-wizard.js +325 -0
- package/dist/config/interactive-wizard.js.map +1 -0
- package/dist/config/loader.d.ts +113 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +433 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/providers.config.d.ts +90 -0
- package/dist/config/providers.config.d.ts.map +1 -0
- package/dist/config/providers.config.js +249 -0
- package/dist/config/providers.config.js.map +1 -0
- package/dist/config/schema.d.ts +1848 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +167 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/validation-helpers.d.ts +44 -0
- package/dist/config/validation-helpers.d.ts.map +1 -0
- package/dist/config/validation-helpers.js +239 -0
- package/dist/config/validation-helpers.js.map +1 -0
- package/dist/config/wizard.d.ts +10 -0
- package/dist/config/wizard.d.ts.map +1 -0
- package/dist/config/wizard.js +11 -0
- package/dist/config/wizard.js.map +1 -0
- package/dist/di/container.d.ts +92 -0
- package/dist/di/container.d.ts.map +1 -0
- package/dist/di/container.js +349 -0
- package/dist/di/container.js.map +1 -0
- package/dist/executor/agent-loader.d.ts +62 -0
- package/dist/executor/agent-loader.d.ts.map +1 -0
- package/dist/executor/agent-loader.js +172 -0
- package/dist/executor/agent-loader.js.map +1 -0
- package/dist/executor/command-discovery.d.ts +72 -0
- package/dist/executor/command-discovery.d.ts.map +1 -0
- package/dist/executor/command-discovery.js +248 -0
- package/dist/executor/command-discovery.js.map +1 -0
- package/dist/executor/command-isolation.executor.d.ts +53 -0
- package/dist/executor/command-isolation.executor.d.ts.map +1 -0
- package/dist/executor/command-isolation.executor.js +183 -0
- package/dist/executor/command-isolation.executor.js.map +1 -0
- package/dist/executor/command-loader.d.ts +34 -0
- package/dist/executor/command-loader.d.ts.map +1 -0
- package/dist/executor/command-loader.js +93 -0
- package/dist/executor/command-loader.js.map +1 -0
- package/dist/executor/command-validation.d.ts +21 -0
- package/dist/executor/command-validation.d.ts.map +1 -0
- package/dist/executor/command-validation.js +79 -0
- package/dist/executor/command-validation.js.map +1 -0
- package/dist/executor/dry-run-cache.d.ts +155 -0
- package/dist/executor/dry-run-cache.d.ts.map +1 -0
- package/dist/executor/dry-run-cache.js +191 -0
- package/dist/executor/dry-run-cache.js.map +1 -0
- package/dist/executor/dry-run-preview.service.d.ts +101 -0
- package/dist/executor/dry-run-preview.service.d.ts.map +1 -0
- package/dist/executor/dry-run-preview.service.js +250 -0
- package/dist/executor/dry-run-preview.service.js.map +1 -0
- package/dist/executor/dry-run-strategy.d.ts +137 -0
- package/dist/executor/dry-run-strategy.d.ts.map +1 -0
- package/dist/executor/dry-run-strategy.js +511 -0
- package/dist/executor/dry-run-strategy.js.map +1 -0
- package/dist/executor/escalation-detection.service.d.ts +48 -0
- package/dist/executor/escalation-detection.service.d.ts.map +1 -0
- package/dist/executor/escalation-detection.service.js +219 -0
- package/dist/executor/escalation-detection.service.js.map +1 -0
- package/dist/executor/escalation-handler.service.d.ts +57 -0
- package/dist/executor/escalation-handler.service.d.ts.map +1 -0
- package/dist/executor/escalation-handler.service.js +265 -0
- package/dist/executor/escalation-handler.service.js.map +1 -0
- package/dist/executor/execution-context.d.ts +107 -0
- package/dist/executor/execution-context.d.ts.map +1 -0
- package/dist/executor/execution-context.js +158 -0
- package/dist/executor/execution-context.js.map +1 -0
- package/dist/executor/execution-strategy.d.ts +104 -0
- package/dist/executor/execution-strategy.d.ts.map +1 -0
- package/dist/executor/execution-strategy.js +259 -0
- package/dist/executor/execution-strategy.js.map +1 -0
- package/dist/executor/hook-execution.service.d.ts +95 -0
- package/dist/executor/hook-execution.service.d.ts.map +1 -0
- package/dist/executor/hook-execution.service.js +371 -0
- package/dist/executor/hook-execution.service.js.map +1 -0
- package/dist/executor/index.d.ts +16 -0
- package/dist/executor/index.d.ts.map +1 -0
- package/dist/executor/index.js +16 -0
- package/dist/executor/index.js.map +1 -0
- package/dist/executor/input-pre-resolver.d.ts +61 -0
- package/dist/executor/input-pre-resolver.d.ts.map +1 -0
- package/dist/executor/input-pre-resolver.js +172 -0
- package/dist/executor/input-pre-resolver.js.map +1 -0
- package/dist/executor/interactive-question-handler.service.d.ts +79 -0
- package/dist/executor/interactive-question-handler.service.d.ts.map +1 -0
- package/dist/executor/interactive-question-handler.service.js +250 -0
- package/dist/executor/interactive-question-handler.service.js.map +1 -0
- package/dist/executor/message-builder.service.d.ts +83 -0
- package/dist/executor/message-builder.service.d.ts.map +1 -0
- package/dist/executor/message-builder.service.js +211 -0
- package/dist/executor/message-builder.service.js.map +1 -0
- package/dist/executor/output-parsing.service.d.ts +169 -0
- package/dist/executor/output-parsing.service.d.ts.map +1 -0
- package/dist/executor/output-parsing.service.js +566 -0
- package/dist/executor/output-parsing.service.js.map +1 -0
- package/dist/executor/pipeline-events.d.ts +15 -0
- package/dist/executor/pipeline-events.d.ts.map +1 -0
- package/dist/executor/pipeline-events.js +15 -0
- package/dist/executor/pipeline-events.js.map +1 -0
- package/dist/executor/pipeline-validator.d.ts +29 -0
- package/dist/executor/pipeline-validator.d.ts.map +1 -0
- package/dist/executor/pipeline-validator.js +105 -0
- package/dist/executor/pipeline-validator.js.map +1 -0
- package/dist/executor/pipeline.d.ts +55 -0
- package/dist/executor/pipeline.d.ts.map +1 -0
- package/dist/executor/pipeline.js +360 -0
- package/dist/executor/pipeline.js.map +1 -0
- package/dist/executor/project-guidance-loader.d.ts +69 -0
- package/dist/executor/project-guidance-loader.d.ts.map +1 -0
- package/dist/executor/project-guidance-loader.js +528 -0
- package/dist/executor/project-guidance-loader.js.map +1 -0
- package/dist/executor/prompt-loader.d.ts +39 -0
- package/dist/executor/prompt-loader.d.ts.map +1 -0
- package/dist/executor/prompt-loader.js +172 -0
- package/dist/executor/prompt-loader.js.map +1 -0
- package/dist/executor/stage-executor.d.ts +192 -0
- package/dist/executor/stage-executor.d.ts.map +1 -0
- package/dist/executor/stage-executor.js +790 -0
- package/dist/executor/stage-executor.js.map +1 -0
- package/dist/executor/stage-output-cache.d.ts +152 -0
- package/dist/executor/stage-output-cache.d.ts.map +1 -0
- package/dist/executor/stage-output-cache.js +426 -0
- package/dist/executor/stage-output-cache.js.map +1 -0
- package/dist/executor/stage-scheduler.d.ts +20 -0
- package/dist/executor/stage-scheduler.d.ts.map +1 -0
- package/dist/executor/stage-scheduler.js +59 -0
- package/dist/executor/stage-scheduler.js.map +1 -0
- package/dist/executor/stage-validation.service.d.ts +122 -0
- package/dist/executor/stage-validation.service.d.ts.map +1 -0
- package/dist/executor/stage-validation.service.js +377 -0
- package/dist/executor/stage-validation.service.js.map +1 -0
- package/dist/executor/tool-execution.service.d.ts +289 -0
- package/dist/executor/tool-execution.service.d.ts.map +1 -0
- package/dist/executor/tool-execution.service.js +1124 -0
- package/dist/executor/tool-execution.service.js.map +1 -0
- package/dist/executor/tools/dry-run-simulator.service.d.ts +107 -0
- package/dist/executor/tools/dry-run-simulator.service.d.ts.map +1 -0
- package/dist/executor/tools/dry-run-simulator.service.js +284 -0
- package/dist/executor/tools/dry-run-simulator.service.js.map +1 -0
- package/dist/executor/tools/pending-write-approver.service.d.ts +84 -0
- package/dist/executor/tools/pending-write-approver.service.d.ts.map +1 -0
- package/dist/executor/tools/pending-write-approver.service.js +197 -0
- package/dist/executor/tools/pending-write-approver.service.js.map +1 -0
- package/dist/executor/tools/search-tools.service.d.ts +44 -0
- package/dist/executor/tools/search-tools.service.d.ts.map +1 -0
- package/dist/executor/tools/search-tools.service.js +109 -0
- package/dist/executor/tools/search-tools.service.js.map +1 -0
- package/dist/executor/tools/session-tools.service.d.ts +74 -0
- package/dist/executor/tools/session-tools.service.d.ts.map +1 -0
- package/dist/executor/tools/session-tools.service.js +278 -0
- package/dist/executor/tools/session-tools.service.js.map +1 -0
- package/dist/executor/variable-resolution.service.d.ts +77 -0
- package/dist/executor/variable-resolution.service.d.ts.map +1 -0
- package/dist/executor/variable-resolution.service.js +115 -0
- package/dist/executor/variable-resolution.service.js.map +1 -0
- package/dist/executor/variables.d.ts +89 -0
- package/dist/executor/variables.d.ts.map +1 -0
- package/dist/executor/variables.js +306 -0
- package/dist/executor/variables.js.map +1 -0
- package/dist/exploration/collaboration-coordinator.d.ts +130 -0
- package/dist/exploration/collaboration-coordinator.d.ts.map +1 -0
- package/dist/exploration/collaboration-coordinator.js +332 -0
- package/dist/exploration/collaboration-coordinator.js.map +1 -0
- package/dist/exploration/container-manager.d.ts +121 -0
- package/dist/exploration/container-manager.d.ts.map +1 -0
- package/dist/exploration/container-manager.js +390 -0
- package/dist/exploration/container-manager.js.map +1 -0
- package/dist/exploration/dashboard-controls.d.ts +24 -0
- package/dist/exploration/dashboard-controls.d.ts.map +1 -0
- package/dist/exploration/dashboard-controls.js +221 -0
- package/dist/exploration/dashboard-controls.js.map +1 -0
- package/dist/exploration/dashboard-metrics.d.ts +62 -0
- package/dist/exploration/dashboard-metrics.d.ts.map +1 -0
- package/dist/exploration/dashboard-metrics.js +154 -0
- package/dist/exploration/dashboard-metrics.js.map +1 -0
- package/dist/exploration/dashboard-ui.d.ts +22 -0
- package/dist/exploration/dashboard-ui.d.ts.map +1 -0
- package/dist/exploration/dashboard-ui.js +206 -0
- package/dist/exploration/dashboard-ui.js.map +1 -0
- package/dist/exploration/execution-modes.d.ts +120 -0
- package/dist/exploration/execution-modes.d.ts.map +1 -0
- package/dist/exploration/execution-modes.js +388 -0
- package/dist/exploration/execution-modes.js.map +1 -0
- package/dist/exploration/exploration-events.d.ts +139 -0
- package/dist/exploration/exploration-events.d.ts.map +1 -0
- package/dist/exploration/exploration-events.js +261 -0
- package/dist/exploration/exploration-events.js.map +1 -0
- package/dist/exploration/exploration-state.d.ts +102 -0
- package/dist/exploration/exploration-state.d.ts.map +1 -0
- package/dist/exploration/exploration-state.js +307 -0
- package/dist/exploration/exploration-state.js.map +1 -0
- package/dist/exploration/merge-orchestrator.d.ts +175 -0
- package/dist/exploration/merge-orchestrator.d.ts.map +1 -0
- package/dist/exploration/merge-orchestrator.js +615 -0
- package/dist/exploration/merge-orchestrator.js.map +1 -0
- package/dist/exploration/orchestrator.d.ts +95 -0
- package/dist/exploration/orchestrator.d.ts.map +1 -0
- package/dist/exploration/orchestrator.js +404 -0
- package/dist/exploration/orchestrator.js.map +1 -0
- package/dist/exploration/resource-allocator.d.ts +108 -0
- package/dist/exploration/resource-allocator.d.ts.map +1 -0
- package/dist/exploration/resource-allocator.js +244 -0
- package/dist/exploration/resource-allocator.js.map +1 -0
- package/dist/exploration/result-comparator.d.ts +110 -0
- package/dist/exploration/result-comparator.d.ts.map +1 -0
- package/dist/exploration/result-comparator.js +363 -0
- package/dist/exploration/result-comparator.js.map +1 -0
- package/dist/exploration/safety-validator.d.ts +59 -0
- package/dist/exploration/safety-validator.d.ts.map +1 -0
- package/dist/exploration/safety-validator.js +339 -0
- package/dist/exploration/safety-validator.js.map +1 -0
- package/dist/exploration/shared-volume-manager.d.ts +72 -0
- package/dist/exploration/shared-volume-manager.d.ts.map +1 -0
- package/dist/exploration/shared-volume-manager.js +303 -0
- package/dist/exploration/shared-volume-manager.js.map +1 -0
- package/dist/exploration/worktree-manager-secure.d.ts +110 -0
- package/dist/exploration/worktree-manager-secure.d.ts.map +1 -0
- package/dist/exploration/worktree-manager-secure.js +347 -0
- package/dist/exploration/worktree-manager-secure.js.map +1 -0
- package/dist/exploration/worktree-manager.d.ts +97 -0
- package/dist/exploration/worktree-manager.d.ts.map +1 -0
- package/dist/exploration/worktree-manager.js +298 -0
- package/dist/exploration/worktree-manager.js.map +1 -0
- package/dist/llm/index.d.ts +10 -0
- package/dist/llm/index.d.ts.map +1 -0
- package/dist/llm/index.js +10 -0
- package/dist/llm/index.js.map +1 -0
- package/dist/llm/model-mapping-registry.d.ts +73 -0
- package/dist/llm/model-mapping-registry.d.ts.map +1 -0
- package/dist/llm/model-mapping-registry.js +197 -0
- package/dist/llm/model-mapping-registry.js.map +1 -0
- package/dist/llm/provider.interface.d.ts +60 -0
- package/dist/llm/provider.interface.d.ts.map +1 -0
- package/dist/llm/provider.interface.js +79 -0
- package/dist/llm/provider.interface.js.map +1 -0
- package/dist/llm/providers/anthropic.provider.d.ts +78 -0
- package/dist/llm/providers/anthropic.provider.d.ts.map +1 -0
- package/dist/llm/providers/anthropic.provider.js +456 -0
- package/dist/llm/providers/anthropic.provider.js.map +1 -0
- package/dist/llm/providers/cursor.provider.d.ts +61 -0
- package/dist/llm/providers/cursor.provider.d.ts.map +1 -0
- package/dist/llm/providers/cursor.provider.js +273 -0
- package/dist/llm/providers/cursor.provider.js.map +1 -0
- package/dist/llm/providers/google.provider.d.ts +43 -0
- package/dist/llm/providers/google.provider.d.ts.map +1 -0
- package/dist/llm/providers/google.provider.js +179 -0
- package/dist/llm/providers/google.provider.js.map +1 -0
- package/dist/llm/providers/index.d.ts +25 -0
- package/dist/llm/providers/index.d.ts.map +1 -0
- package/dist/llm/providers/index.js +28 -0
- package/dist/llm/providers/index.js.map +1 -0
- package/dist/llm/providers/openai.provider.d.ts +23 -0
- package/dist/llm/providers/openai.provider.d.ts.map +1 -0
- package/dist/llm/providers/openai.provider.js +193 -0
- package/dist/llm/providers/openai.provider.js.map +1 -0
- package/dist/llm/registry.d.ts +41 -0
- package/dist/llm/registry.d.ts.map +1 -0
- package/dist/llm/registry.js +88 -0
- package/dist/llm/registry.js.map +1 -0
- package/dist/mcp/command-discovery.service.d.ts +26 -0
- package/dist/mcp/command-discovery.service.d.ts.map +1 -0
- package/dist/mcp/command-discovery.service.js +65 -0
- package/dist/mcp/command-discovery.service.js.map +1 -0
- package/dist/mcp/context.d.ts +28 -0
- package/dist/mcp/context.d.ts.map +1 -0
- package/dist/mcp/context.js +34 -0
- package/dist/mcp/context.js.map +1 -0
- package/dist/mcp/external-client/tool-proxy.d.ts +103 -0
- package/dist/mcp/external-client/tool-proxy.d.ts.map +1 -0
- package/dist/mcp/external-client/tool-proxy.js +291 -0
- package/dist/mcp/external-client/tool-proxy.js.map +1 -0
- package/dist/mcp/external-mcp-integrator.d.ts +70 -0
- package/dist/mcp/external-mcp-integrator.d.ts.map +1 -0
- package/dist/mcp/external-mcp-integrator.js +161 -0
- package/dist/mcp/external-mcp-integrator.js.map +1 -0
- package/dist/mcp/mcp-approval-cache.service.d.ts +88 -0
- package/dist/mcp/mcp-approval-cache.service.d.ts.map +1 -0
- package/dist/mcp/mcp-approval-cache.service.js +257 -0
- package/dist/mcp/mcp-approval-cache.service.js.map +1 -0
- package/dist/mcp/mcp-approval-workflow.d.ts +92 -0
- package/dist/mcp/mcp-approval-workflow.d.ts.map +1 -0
- package/dist/mcp/mcp-approval-workflow.js +346 -0
- package/dist/mcp/mcp-approval-workflow.js.map +1 -0
- package/dist/mcp/mcp-audit-logger.service.d.ts +90 -0
- package/dist/mcp/mcp-audit-logger.service.d.ts.map +1 -0
- package/dist/mcp/mcp-audit-logger.service.js +264 -0
- package/dist/mcp/mcp-audit-logger.service.js.map +1 -0
- package/dist/mcp/mcp-availability.service.d.ts +84 -0
- package/dist/mcp/mcp-availability.service.d.ts.map +1 -0
- package/dist/mcp/mcp-availability.service.js +177 -0
- package/dist/mcp/mcp-availability.service.js.map +1 -0
- package/dist/mcp/mcp-client-manager.service.d.ts +103 -0
- package/dist/mcp/mcp-client-manager.service.d.ts.map +1 -0
- package/dist/mcp/mcp-client-manager.service.js +380 -0
- package/dist/mcp/mcp-client-manager.service.js.map +1 -0
- package/dist/mcp/mcp-tool-handler.d.ts +88 -0
- package/dist/mcp/mcp-tool-handler.d.ts.map +1 -0
- package/dist/mcp/mcp-tool-handler.js +207 -0
- package/dist/mcp/mcp-tool-handler.js.map +1 -0
- package/dist/mcp/request-handler.d.ts +44 -0
- package/dist/mcp/request-handler.d.ts.map +1 -0
- package/dist/mcp/request-handler.js +282 -0
- package/dist/mcp/request-handler.js.map +1 -0
- package/dist/mcp/sampling-service.d.ts +36 -0
- package/dist/mcp/sampling-service.d.ts.map +1 -0
- package/dist/mcp/sampling-service.js +147 -0
- package/dist/mcp/sampling-service.js.map +1 -0
- package/dist/mcp/server-manager.d.ts +36 -0
- package/dist/mcp/server-manager.d.ts.map +1 -0
- package/dist/mcp/server-manager.js +113 -0
- package/dist/mcp/server-manager.js.map +1 -0
- package/dist/mcp/server.d.ts +45 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +269 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/shutdown-manager.d.ts +24 -0
- package/dist/mcp/shutdown-manager.d.ts.map +1 -0
- package/dist/mcp/shutdown-manager.js +59 -0
- package/dist/mcp/shutdown-manager.js.map +1 -0
- package/dist/mcp/system-monitor.d.ts +38 -0
- package/dist/mcp/system-monitor.d.ts.map +1 -0
- package/dist/mcp/system-monitor.js +80 -0
- package/dist/mcp/system-monitor.js.map +1 -0
- package/dist/mcp/tool-mapping.service.d.ts +35 -0
- package/dist/mcp/tool-mapping.service.d.ts.map +1 -0
- package/dist/mcp/tool-mapping.service.js +91 -0
- package/dist/mcp/tool-mapping.service.js.map +1 -0
- package/dist/mcp/tool-registry.d.ts +29 -0
- package/dist/mcp/tool-registry.d.ts.map +1 -0
- package/dist/mcp/tool-registry.js +52 -0
- package/dist/mcp/tool-registry.js.map +1 -0
- package/dist/mcp/types.d.ts +33 -0
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/mcp/types.js +7 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/output/activity-feed.d.ts +62 -0
- package/dist/output/activity-feed.d.ts.map +1 -0
- package/dist/output/activity-feed.js +170 -0
- package/dist/output/activity-feed.js.map +1 -0
- package/dist/output/box-formatter.d.ts +149 -0
- package/dist/output/box-formatter.d.ts.map +1 -0
- package/dist/output/box-formatter.js +239 -0
- package/dist/output/box-formatter.js.map +1 -0
- package/dist/output/cleanup-scheduler.d.ts +26 -0
- package/dist/output/cleanup-scheduler.d.ts.map +1 -0
- package/dist/output/cleanup-scheduler.js +115 -0
- package/dist/output/cleanup-scheduler.js.map +1 -0
- package/dist/output/color-adapter.d.ts +56 -0
- package/dist/output/color-adapter.d.ts.map +1 -0
- package/dist/output/color-adapter.interface.d.ts +139 -0
- package/dist/output/color-adapter.interface.d.ts.map +1 -0
- package/dist/output/color-adapter.interface.js +49 -0
- package/dist/output/color-adapter.interface.js.map +1 -0
- package/dist/output/color-adapter.js +163 -0
- package/dist/output/color-adapter.js.map +1 -0
- package/dist/output/console-output.d.ts +156 -0
- package/dist/output/console-output.d.ts.map +1 -0
- package/dist/output/console-output.js +264 -0
- package/dist/output/console-output.js.map +1 -0
- package/dist/output/diagnostic-formatter.d.ts +62 -0
- package/dist/output/diagnostic-formatter.d.ts.map +1 -0
- package/dist/output/diagnostic-formatter.js +186 -0
- package/dist/output/diagnostic-formatter.js.map +1 -0
- package/dist/output/header-formatter.d.ts +147 -0
- package/dist/output/header-formatter.d.ts.map +1 -0
- package/dist/output/header-formatter.js +232 -0
- package/dist/output/header-formatter.js.map +1 -0
- package/dist/output/help-formatter.d.ts +79 -0
- package/dist/output/help-formatter.d.ts.map +1 -0
- package/dist/output/help-formatter.js +358 -0
- package/dist/output/help-formatter.js.map +1 -0
- package/dist/output/index.d.ts +12 -0
- package/dist/output/index.d.ts.map +1 -0
- package/dist/output/index.js +12 -0
- package/dist/output/index.js.map +1 -0
- package/dist/output/logger.d.ts +113 -0
- package/dist/output/logger.d.ts.map +1 -0
- package/dist/output/logger.js +461 -0
- package/dist/output/logger.js.map +1 -0
- package/dist/output/markdown.d.ts +35 -0
- package/dist/output/markdown.d.ts.map +1 -0
- package/dist/output/markdown.js +188 -0
- package/dist/output/markdown.js.map +1 -0
- package/dist/output/multi-stage-progress.d.ts +77 -0
- package/dist/output/multi-stage-progress.d.ts.map +1 -0
- package/dist/output/multi-stage-progress.js +173 -0
- package/dist/output/multi-stage-progress.js.map +1 -0
- package/dist/output/pipeline-emitter.d.ts +85 -0
- package/dist/output/pipeline-emitter.d.ts.map +1 -0
- package/dist/output/pipeline-emitter.js +202 -0
- package/dist/output/pipeline-emitter.js.map +1 -0
- package/dist/output/processing-feedback.d.ts +299 -0
- package/dist/output/processing-feedback.d.ts.map +1 -0
- package/dist/output/processing-feedback.js +1032 -0
- package/dist/output/processing-feedback.js.map +1 -0
- package/dist/output/progress-formatter.d.ts +68 -0
- package/dist/output/progress-formatter.d.ts.map +1 -0
- package/dist/output/progress-formatter.js +210 -0
- package/dist/output/progress-formatter.js.map +1 -0
- package/dist/output/progress.d.ts +92 -0
- package/dist/output/progress.d.ts.map +1 -0
- package/dist/output/progress.js +256 -0
- package/dist/output/progress.js.map +1 -0
- package/dist/output/retention-manager.d.ts +62 -0
- package/dist/output/retention-manager.d.ts.map +1 -0
- package/dist/output/retention-manager.js +401 -0
- package/dist/output/retention-manager.js.map +1 -0
- package/dist/output/terminal-utils.d.ts +50 -0
- package/dist/output/terminal-utils.d.ts.map +1 -0
- package/dist/output/terminal-utils.js +103 -0
- package/dist/output/terminal-utils.js.map +1 -0
- package/dist/output/verbose-formatter.d.ts +91 -0
- package/dist/output/verbose-formatter.d.ts.map +1 -0
- package/dist/output/verbose-formatter.js +182 -0
- package/dist/output/verbose-formatter.js.map +1 -0
- package/dist/output/welcome-banner.d.ts +16 -0
- package/dist/output/welcome-banner.d.ts.map +1 -0
- package/dist/output/welcome-banner.js +80 -0
- package/dist/output/welcome-banner.js.map +1 -0
- package/dist/package.json +166 -0
- package/dist/services/agent-capability-matcher.service.d.ts +89 -0
- package/dist/services/agent-capability-matcher.service.d.ts.map +1 -0
- package/dist/services/agent-capability-matcher.service.js +310 -0
- package/dist/services/agent-capability-matcher.service.js.map +1 -0
- package/dist/services/agent-capability-registry.service.d.ts +93 -0
- package/dist/services/agent-capability-registry.service.d.ts.map +1 -0
- package/dist/services/agent-capability-registry.service.js +242 -0
- package/dist/services/agent-capability-registry.service.js.map +1 -0
- package/dist/services/agent-selection-analytics.service.d.ts +89 -0
- package/dist/services/agent-selection-analytics.service.d.ts.map +1 -0
- package/dist/services/agent-selection-analytics.service.js +180 -0
- package/dist/services/agent-selection-analytics.service.js.map +1 -0
- package/dist/services/context-analyzer.service.d.ts +56 -0
- package/dist/services/context-analyzer.service.d.ts.map +1 -0
- package/dist/services/context-analyzer.service.js +323 -0
- package/dist/services/context-analyzer.service.js.map +1 -0
- package/dist/services/diagnostics.service.d.ts +40 -0
- package/dist/services/diagnostics.service.d.ts.map +1 -0
- package/dist/services/diagnostics.service.js +245 -0
- package/dist/services/diagnostics.service.js.map +1 -0
- package/dist/services/document-detector.service.d.ts +89 -0
- package/dist/services/document-detector.service.d.ts.map +1 -0
- package/dist/services/document-detector.service.js +500 -0
- package/dist/services/document-detector.service.js.map +1 -0
- package/dist/services/document-path-resolver.service.d.ts +68 -0
- package/dist/services/document-path-resolver.service.d.ts.map +1 -0
- package/dist/services/document-path-resolver.service.js +155 -0
- package/dist/services/document-path-resolver.service.js.map +1 -0
- package/dist/services/document-template.service.d.ts +83 -0
- package/dist/services/document-template.service.d.ts.map +1 -0
- package/dist/services/document-template.service.js +317 -0
- package/dist/services/document-template.service.js.map +1 -0
- package/dist/services/document-writer.service.d.ts +42 -0
- package/dist/services/document-writer.service.d.ts.map +1 -0
- package/dist/services/document-writer.service.js +155 -0
- package/dist/services/document-writer.service.js.map +1 -0
- package/dist/services/dynamic-agent-resolver.service.d.ts +81 -0
- package/dist/services/dynamic-agent-resolver.service.d.ts.map +1 -0
- package/dist/services/dynamic-agent-resolver.service.js +267 -0
- package/dist/services/dynamic-agent-resolver.service.js.map +1 -0
- package/dist/services/git-stash-protection.service.d.ts +76 -0
- package/dist/services/git-stash-protection.service.d.ts.map +1 -0
- package/dist/services/git-stash-protection.service.js +190 -0
- package/dist/services/git-stash-protection.service.js.map +1 -0
- package/dist/services/idempotency-store.service.d.ts +101 -0
- package/dist/services/idempotency-store.service.d.ts.map +1 -0
- package/dist/services/idempotency-store.service.js +418 -0
- package/dist/services/idempotency-store.service.js.map +1 -0
- package/dist/services/index.d.ts +17 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +17 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/task-classifier.service.d.ts +42 -0
- package/dist/services/task-classifier.service.d.ts.map +1 -0
- package/dist/services/task-classifier.service.js +211 -0
- package/dist/services/task-classifier.service.js.map +1 -0
- package/dist/session/archive-adapter.d.ts +26 -0
- package/dist/session/archive-adapter.d.ts.map +1 -0
- package/dist/session/archive-adapter.interface.d.ts +59 -0
- package/dist/session/archive-adapter.interface.d.ts.map +1 -0
- package/dist/session/archive-adapter.interface.js +11 -0
- package/dist/session/archive-adapter.interface.js.map +1 -0
- package/dist/session/archive-adapter.js +72 -0
- package/dist/session/archive-adapter.js.map +1 -0
- package/dist/session/cleanup-scheduler.d.ts +22 -0
- package/dist/session/cleanup-scheduler.d.ts.map +1 -0
- package/dist/session/cleanup-scheduler.js +96 -0
- package/dist/session/cleanup-scheduler.js.map +1 -0
- package/dist/session/context.d.ts +109 -0
- package/dist/session/context.d.ts.map +1 -0
- package/dist/session/context.js +253 -0
- package/dist/session/context.js.map +1 -0
- package/dist/session/index.d.ts +9 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/session/index.js +9 -0
- package/dist/session/index.js.map +1 -0
- package/dist/session/lifecycle.d.ts +87 -0
- package/dist/session/lifecycle.d.ts.map +1 -0
- package/dist/session/lifecycle.js +301 -0
- package/dist/session/lifecycle.js.map +1 -0
- package/dist/session/retention-manager.d.ts +55 -0
- package/dist/session/retention-manager.d.ts.map +1 -0
- package/dist/session/retention-manager.js +299 -0
- package/dist/session/retention-manager.js.map +1 -0
- package/dist/session/retention-policy-runner.d.ts +19 -0
- package/dist/session/retention-policy-runner.d.ts.map +1 -0
- package/dist/session/retention-policy-runner.js +103 -0
- package/dist/session/retention-policy-runner.js.map +1 -0
- package/dist/session/session-cleanup-ui.d.ts +101 -0
- package/dist/session/session-cleanup-ui.d.ts.map +1 -0
- package/dist/session/session-cleanup-ui.js +339 -0
- package/dist/session/session-cleanup-ui.js.map +1 -0
- package/dist/session/session-exporter.d.ts +61 -0
- package/dist/session/session-exporter.d.ts.map +1 -0
- package/dist/session/session-exporter.js +274 -0
- package/dist/session/session-exporter.js.map +1 -0
- package/dist/session/store.d.ts +138 -0
- package/dist/session/store.d.ts.map +1 -0
- package/dist/session/store.js +430 -0
- package/dist/session/store.js.map +1 -0
- package/dist/session/types.d.ts +22 -0
- package/dist/session/types.d.ts.map +1 -0
- package/dist/session/types.js +7 -0
- package/dist/session/types.js.map +1 -0
- package/dist/tsconfig.json +18 -0
- package/dist/types/agent.types.d.ts +110 -0
- package/dist/types/agent.types.d.ts.map +1 -0
- package/dist/types/agent.types.js +5 -0
- package/dist/types/agent.types.js.map +1 -0
- package/dist/types/cli.types.d.ts +86 -0
- package/dist/types/cli.types.d.ts.map +1 -0
- package/dist/types/cli.types.js +5 -0
- package/dist/types/cli.types.js.map +1 -0
- package/dist/types/command.types.d.ts +176 -0
- package/dist/types/command.types.d.ts.map +1 -0
- package/dist/types/command.types.js +19 -0
- package/dist/types/command.types.js.map +1 -0
- package/dist/types/common.types.d.ts +31 -0
- package/dist/types/common.types.d.ts.map +1 -0
- package/dist/types/common.types.js +8 -0
- package/dist/types/common.types.js.map +1 -0
- package/dist/types/config.types.d.ts +104 -0
- package/dist/types/config.types.d.ts.map +1 -0
- package/dist/types/config.types.js +5 -0
- package/dist/types/config.types.js.map +1 -0
- package/dist/types/diagnostics.types.d.ts +18 -0
- package/dist/types/diagnostics.types.d.ts.map +1 -0
- package/dist/types/diagnostics.types.js +8 -0
- package/dist/types/diagnostics.types.js.map +1 -0
- package/dist/types/document.types.d.ts +127 -0
- package/dist/types/document.types.d.ts.map +1 -0
- package/dist/types/document.types.js +73 -0
- package/dist/types/document.types.js.map +1 -0
- package/dist/types/error.types.d.ts +48 -0
- package/dist/types/error.types.d.ts.map +1 -0
- package/dist/types/error.types.js +16 -0
- package/dist/types/error.types.js.map +1 -0
- package/dist/types/escalation.types.d.ts +76 -0
- package/dist/types/escalation.types.d.ts.map +1 -0
- package/dist/types/escalation.types.js +15 -0
- package/dist/types/escalation.types.js.map +1 -0
- package/dist/types/exploration.types.d.ts +298 -0
- package/dist/types/exploration.types.d.ts.map +1 -0
- package/dist/types/exploration.types.js +5 -0
- package/dist/types/exploration.types.js.map +1 -0
- package/dist/types/hook.types.d.ts +47 -0
- package/dist/types/hook.types.d.ts.map +1 -0
- package/dist/types/hook.types.js +8 -0
- package/dist/types/hook.types.js.map +1 -0
- package/dist/types/idempotency.types.d.ts +80 -0
- package/dist/types/idempotency.types.d.ts.map +1 -0
- package/dist/types/idempotency.types.js +16 -0
- package/dist/types/idempotency.types.js.map +1 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +25 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/llm.types.d.ts +73 -0
- package/dist/types/llm.types.d.ts.map +1 -0
- package/dist/types/llm.types.js +5 -0
- package/dist/types/llm.types.js.map +1 -0
- package/dist/types/logger.types.d.ts +21 -0
- package/dist/types/logger.types.d.ts.map +1 -0
- package/dist/types/logger.types.js +9 -0
- package/dist/types/logger.types.js.map +1 -0
- package/dist/types/mcp-client.types.d.ts +232 -0
- package/dist/types/mcp-client.types.d.ts.map +1 -0
- package/dist/types/mcp-client.types.js +8 -0
- package/dist/types/mcp-client.types.js.map +1 -0
- package/dist/types/mcp-registry.types.d.ts +49 -0
- package/dist/types/mcp-registry.types.d.ts.map +1 -0
- package/dist/types/mcp-registry.types.js +70 -0
- package/dist/types/mcp-registry.types.js.map +1 -0
- package/dist/types/mcp.types.d.ts +127 -0
- package/dist/types/mcp.types.d.ts.map +1 -0
- package/dist/types/mcp.types.js +5 -0
- package/dist/types/mcp.types.js.map +1 -0
- package/dist/types/pipeline.types.d.ts +139 -0
- package/dist/types/pipeline.types.d.ts.map +1 -0
- package/dist/types/pipeline.types.js +26 -0
- package/dist/types/pipeline.types.js.map +1 -0
- package/dist/types/prompt.types.d.ts +66 -0
- package/dist/types/prompt.types.d.ts.map +1 -0
- package/dist/types/prompt.types.js +5 -0
- package/dist/types/prompt.types.js.map +1 -0
- package/dist/types/provider-names.types.d.ts +56 -0
- package/dist/types/provider-names.types.d.ts.map +1 -0
- package/dist/types/provider-names.types.js +63 -0
- package/dist/types/provider-names.types.js.map +1 -0
- package/dist/types/provider.types.d.ts +22 -0
- package/dist/types/provider.types.d.ts.map +1 -0
- package/dist/types/provider.types.js +21 -0
- package/dist/types/provider.types.js.map +1 -0
- package/dist/types/session.types.d.ts +121 -0
- package/dist/types/session.types.d.ts.map +1 -0
- package/dist/types/session.types.js +5 -0
- package/dist/types/session.types.js.map +1 -0
- package/dist/types/tracing.types.d.ts +176 -0
- package/dist/types/tracing.types.d.ts.map +1 -0
- package/dist/types/tracing.types.js +77 -0
- package/dist/types/tracing.types.js.map +1 -0
- package/dist/types/ui.types.d.ts +88 -0
- package/dist/types/ui.types.d.ts.map +1 -0
- package/dist/types/ui.types.js +8 -0
- package/dist/types/ui.types.js.map +1 -0
- package/dist/types/workflow.types.d.ts +63 -0
- package/dist/types/workflow.types.d.ts.map +1 -0
- package/dist/types/workflow.types.js +5 -0
- package/dist/types/workflow.types.js.map +1 -0
- package/dist/ui/dashboard-tui.d.ts +38 -0
- package/dist/ui/dashboard-tui.d.ts.map +1 -0
- package/dist/ui/dashboard-tui.js +422 -0
- package/dist/ui/dashboard-tui.js.map +1 -0
- package/dist/ui/prompt-adapter.d.ts +37 -0
- package/dist/ui/prompt-adapter.d.ts.map +1 -0
- package/dist/ui/prompt-adapter.interface.d.ts +175 -0
- package/dist/ui/prompt-adapter.interface.d.ts.map +1 -0
- package/dist/ui/prompt-adapter.interface.js +54 -0
- package/dist/ui/prompt-adapter.interface.js.map +1 -0
- package/dist/ui/prompt-adapter.js +45 -0
- package/dist/ui/prompt-adapter.js.map +1 -0
- package/dist/ui/spinner-adapter.d.ts +29 -0
- package/dist/ui/spinner-adapter.d.ts.map +1 -0
- package/dist/ui/spinner-adapter.interface.d.ts +200 -0
- package/dist/ui/spinner-adapter.interface.d.ts.map +1 -0
- package/dist/ui/spinner-adapter.interface.js +53 -0
- package/dist/ui/spinner-adapter.interface.js.map +1 -0
- package/dist/ui/spinner-adapter.js +40 -0
- package/dist/ui/spinner-adapter.js.map +1 -0
- package/dist/ui/tui-adapter.d.ts +52 -0
- package/dist/ui/tui-adapter.d.ts.map +1 -0
- package/dist/ui/tui-adapter.interface.d.ts +197 -0
- package/dist/ui/tui-adapter.interface.d.ts.map +1 -0
- package/dist/ui/tui-adapter.interface.js +62 -0
- package/dist/ui/tui-adapter.interface.js.map +1 -0
- package/dist/ui/tui-adapter.js +58 -0
- package/dist/ui/tui-adapter.js.map +1 -0
- package/dist/utils/base-cleanup-scheduler.d.ts +60 -0
- package/dist/utils/base-cleanup-scheduler.d.ts.map +1 -0
- package/dist/utils/base-cleanup-scheduler.js +110 -0
- package/dist/utils/base-cleanup-scheduler.js.map +1 -0
- package/dist/utils/base-retention-manager.d.ts +136 -0
- package/dist/utils/base-retention-manager.d.ts.map +1 -0
- package/dist/utils/base-retention-manager.js +234 -0
- package/dist/utils/base-retention-manager.js.map +1 -0
- package/dist/utils/console-interceptor.d.ts +52 -0
- package/dist/utils/console-interceptor.d.ts.map +1 -0
- package/dist/utils/console-interceptor.js +92 -0
- package/dist/utils/console-interceptor.js.map +1 -0
- package/dist/utils/data-sanitizer.d.ts +106 -0
- package/dist/utils/data-sanitizer.d.ts.map +1 -0
- package/dist/utils/data-sanitizer.js +295 -0
- package/dist/utils/data-sanitizer.js.map +1 -0
- package/dist/utils/diff-generator.d.ts +42 -0
- package/dist/utils/diff-generator.d.ts.map +1 -0
- package/dist/utils/diff-generator.js +286 -0
- package/dist/utils/diff-generator.js.map +1 -0
- package/dist/utils/docs-linter.d.ts +178 -0
- package/dist/utils/docs-linter.d.ts.map +1 -0
- package/dist/utils/docs-linter.js +623 -0
- package/dist/utils/docs-linter.js.map +1 -0
- package/dist/utils/domain-keyword-registry.d.ts +57 -0
- package/dist/utils/domain-keyword-registry.d.ts.map +1 -0
- package/dist/utils/domain-keyword-registry.js +253 -0
- package/dist/utils/domain-keyword-registry.js.map +1 -0
- package/dist/utils/encryption.d.ts +111 -0
- package/dist/utils/encryption.d.ts.map +1 -0
- package/dist/utils/encryption.js +304 -0
- package/dist/utils/encryption.js.map +1 -0
- package/dist/utils/environment.d.ts +37 -0
- package/dist/utils/environment.d.ts.map +1 -0
- package/dist/utils/environment.js +87 -0
- package/dist/utils/environment.js.map +1 -0
- package/dist/utils/error-handler.d.ts +130 -0
- package/dist/utils/error-handler.d.ts.map +1 -0
- package/dist/utils/error-handler.js +319 -0
- package/dist/utils/error-handler.js.map +1 -0
- package/dist/utils/error-messages.d.ts +23 -0
- package/dist/utils/error-messages.d.ts.map +1 -0
- package/dist/utils/error-messages.js +160 -0
- package/dist/utils/error-messages.js.map +1 -0
- package/dist/utils/error-utils.d.ts +26 -0
- package/dist/utils/error-utils.d.ts.map +1 -0
- package/dist/utils/error-utils.js +33 -0
- package/dist/utils/error-utils.js.map +1 -0
- package/dist/utils/file-lock.d.ts +77 -0
- package/dist/utils/file-lock.d.ts.map +1 -0
- package/dist/utils/file-lock.js +355 -0
- package/dist/utils/file-lock.js.map +1 -0
- package/dist/utils/file-utils.d.ts +71 -0
- package/dist/utils/file-utils.d.ts.map +1 -0
- package/dist/utils/file-utils.js +235 -0
- package/dist/utils/file-utils.js.map +1 -0
- package/dist/utils/heap-profiler.d.ts +20 -0
- package/dist/utils/heap-profiler.d.ts.map +1 -0
- package/dist/utils/heap-profiler.js +60 -0
- package/dist/utils/heap-profiler.js.map +1 -0
- package/dist/utils/help-content.d.ts +117 -0
- package/dist/utils/help-content.d.ts.map +1 -0
- package/dist/utils/help-content.js +1512 -0
- package/dist/utils/help-content.js.map +1 -0
- package/dist/utils/id-generator.d.ts +45 -0
- package/dist/utils/id-generator.d.ts.map +1 -0
- package/dist/utils/id-generator.js +62 -0
- package/dist/utils/id-generator.js.map +1 -0
- package/dist/utils/index.d.ts +17 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +18 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/input-validator.d.ts +152 -0
- package/dist/utils/input-validator.d.ts.map +1 -0
- package/dist/utils/input-validator.js +494 -0
- package/dist/utils/input-validator.js.map +1 -0
- package/dist/utils/markdown-parser.d.ts +32 -0
- package/dist/utils/markdown-parser.d.ts.map +1 -0
- package/dist/utils/markdown-parser.js +85 -0
- package/dist/utils/markdown-parser.js.map +1 -0
- package/dist/utils/metrics-collector.d.ts +165 -0
- package/dist/utils/metrics-collector.d.ts.map +1 -0
- package/dist/utils/metrics-collector.js +392 -0
- package/dist/utils/metrics-collector.js.map +1 -0
- package/dist/utils/number-format.d.ts +29 -0
- package/dist/utils/number-format.d.ts.map +1 -0
- package/dist/utils/number-format.js +72 -0
- package/dist/utils/number-format.js.map +1 -0
- package/dist/utils/paths.d.ts +37 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +91 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/performance-profiler.d.ts +155 -0
- package/dist/utils/performance-profiler.d.ts.map +1 -0
- package/dist/utils/performance-profiler.js +429 -0
- package/dist/utils/performance-profiler.js.map +1 -0
- package/dist/utils/prompt-handler.d.ts +18 -0
- package/dist/utils/prompt-handler.d.ts.map +1 -0
- package/dist/utils/prompt-handler.js +66 -0
- package/dist/utils/prompt-handler.js.map +1 -0
- package/dist/utils/rate-limiter.d.ts +99 -0
- package/dist/utils/rate-limiter.d.ts.map +1 -0
- package/dist/utils/rate-limiter.js +214 -0
- package/dist/utils/rate-limiter.js.map +1 -0
- package/dist/utils/resource-monitor.d.ts +203 -0
- package/dist/utils/resource-monitor.d.ts.map +1 -0
- package/dist/utils/resource-monitor.js +521 -0
- package/dist/utils/resource-monitor.js.map +1 -0
- package/dist/utils/resource-resolver.d.ts +58 -0
- package/dist/utils/resource-resolver.d.ts.map +1 -0
- package/dist/utils/resource-resolver.js +150 -0
- package/dist/utils/resource-resolver.js.map +1 -0
- package/dist/utils/safe-exec.d.ts +90 -0
- package/dist/utils/safe-exec.d.ts.map +1 -0
- package/dist/utils/safe-exec.js +210 -0
- package/dist/utils/safe-exec.js.map +1 -0
- package/dist/utils/safe-regex.d.ts +49 -0
- package/dist/utils/safe-regex.d.ts.map +1 -0
- package/dist/utils/safe-regex.js +96 -0
- package/dist/utils/safe-regex.js.map +1 -0
- package/dist/utils/template-loader.d.ts +39 -0
- package/dist/utils/template-loader.d.ts.map +1 -0
- package/dist/utils/template-loader.js +75 -0
- package/dist/utils/template-loader.js.map +1 -0
- package/dist/utils/token-estimator.d.ts +60 -0
- package/dist/utils/token-estimator.d.ts.map +1 -0
- package/dist/utils/token-estimator.js +114 -0
- package/dist/utils/token-estimator.js.map +1 -0
- package/dist/utils/tracing.d.ts +166 -0
- package/dist/utils/tracing.d.ts.map +1 -0
- package/dist/utils/tracing.js +645 -0
- package/dist/utils/tracing.js.map +1 -0
- package/dist/utils/type-guards.d.ts +58 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +103 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/dist/utils/yaml-parser.d.ts +38 -0
- package/dist/utils/yaml-parser.d.ts.map +1 -0
- package/dist/utils/yaml-parser.js +71 -0
- package/dist/utils/yaml-parser.js.map +1 -0
- package/package.json +166 -0
|
@@ -0,0 +1,1078 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: commit
|
|
3
|
+
description: Analyze changes and create atomic, conventional commits with intelligent message generation, version management, changelog updates, and quality insights
|
|
4
|
+
experimental: true
|
|
5
|
+
argument-hint: '[--scope=<area>] [--breaking] [--message="<custom-message>"] [--amend] [--no-verify] [--version-bump=<auto|major|minor|patch>] [--tag] [--update-changelog] [--interactive] [--insights] [--sign] [--auto-ticket] [--template=<name>]'
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- codebase_search
|
|
8
|
+
- read_file
|
|
9
|
+
- grep
|
|
10
|
+
- list_dir
|
|
11
|
+
- glob_file_search
|
|
12
|
+
- run_terminal_cmd
|
|
13
|
+
- web_search
|
|
14
|
+
# MCP: GitHub for issue/ticket linking
|
|
15
|
+
- mcp_github
|
|
16
|
+
model: claude-haiku-4.5
|
|
17
|
+
agent: lead
|
|
18
|
+
prompts:
|
|
19
|
+
pipeline:
|
|
20
|
+
# Stage 1: Context Analysis - Gather all necessary information
|
|
21
|
+
- stage: context
|
|
22
|
+
prompt: context.analyze-git-status
|
|
23
|
+
required: true
|
|
24
|
+
outputs:
|
|
25
|
+
- changed_files
|
|
26
|
+
- staged_files
|
|
27
|
+
- untracked_files
|
|
28
|
+
- git_status_summary
|
|
29
|
+
|
|
30
|
+
- stage: context
|
|
31
|
+
prompt: context.load-commit-template
|
|
32
|
+
required: false
|
|
33
|
+
conditional: template_specified == true
|
|
34
|
+
inputs:
|
|
35
|
+
template_name: $ARG_template
|
|
36
|
+
outputs:
|
|
37
|
+
- template_config
|
|
38
|
+
- required_fields
|
|
39
|
+
|
|
40
|
+
- stage: context
|
|
41
|
+
prompt: context.extract-ticket-info
|
|
42
|
+
required: false
|
|
43
|
+
conditional: auto_ticket == true
|
|
44
|
+
inputs:
|
|
45
|
+
branch_name: $CONTEXT_branch
|
|
46
|
+
outputs:
|
|
47
|
+
- ticket_number
|
|
48
|
+
- ticket_details
|
|
49
|
+
|
|
50
|
+
- stage: context
|
|
51
|
+
prompt: context.analyze-change-scope
|
|
52
|
+
required: true
|
|
53
|
+
inputs:
|
|
54
|
+
changed_files: $STAGE_context.changed_files
|
|
55
|
+
outputs:
|
|
56
|
+
- change_type
|
|
57
|
+
- affected_areas
|
|
58
|
+
- breaking_changes
|
|
59
|
+
- change_summary
|
|
60
|
+
- risk_level
|
|
61
|
+
|
|
62
|
+
# Stage 2: Quality Review (Optional, Parallel) - AI-powered insights
|
|
63
|
+
- stage: review
|
|
64
|
+
prompt: review.generate-commit-insights
|
|
65
|
+
required: false
|
|
66
|
+
conditional: insights_enabled == true
|
|
67
|
+
parallel: true
|
|
68
|
+
inputs:
|
|
69
|
+
change_summary: $STAGE_context.change_summary
|
|
70
|
+
changed_files: $STAGE_context.changed_files
|
|
71
|
+
breaking_changes: $STAGE_context.breaking_changes
|
|
72
|
+
outputs:
|
|
73
|
+
- quality_score
|
|
74
|
+
- impact_analysis
|
|
75
|
+
- security_issues
|
|
76
|
+
- recommendations
|
|
77
|
+
|
|
78
|
+
# Stage 3: Strategy & Execution - Generate and execute commits
|
|
79
|
+
- stage: code
|
|
80
|
+
prompt: code.determine-commit-strategy
|
|
81
|
+
required: true
|
|
82
|
+
inputs:
|
|
83
|
+
change_summary: $STAGE_context.change_summary
|
|
84
|
+
affected_areas: $STAGE_context.affected_areas
|
|
85
|
+
breaking_changes: $STAGE_context.breaking_changes
|
|
86
|
+
outputs:
|
|
87
|
+
- should_split
|
|
88
|
+
- commit_groups
|
|
89
|
+
- commit_strategy
|
|
90
|
+
|
|
91
|
+
- stage: code
|
|
92
|
+
prompt: code.calculate-version-bump
|
|
93
|
+
required: false
|
|
94
|
+
conditional: version_bump_enabled == true
|
|
95
|
+
inputs:
|
|
96
|
+
change_type: $STAGE_context.change_type
|
|
97
|
+
breaking_changes: $STAGE_context.breaking_changes
|
|
98
|
+
version_bump_arg: $ARG_version_bump
|
|
99
|
+
outputs:
|
|
100
|
+
- version_bump_type
|
|
101
|
+
- current_version
|
|
102
|
+
- next_version
|
|
103
|
+
|
|
104
|
+
- stage: code
|
|
105
|
+
prompt: code.generate-commit-messages
|
|
106
|
+
required: true
|
|
107
|
+
inputs:
|
|
108
|
+
commit_groups: $STAGE_code.commit_groups
|
|
109
|
+
change_type: $STAGE_context.change_type
|
|
110
|
+
scope: $ARG_scope
|
|
111
|
+
breaking: $ARG_breaking
|
|
112
|
+
custom_message: $ARG_message
|
|
113
|
+
template_config: $STAGE_context.template_config
|
|
114
|
+
ticket_number: $STAGE_context.ticket_number
|
|
115
|
+
insights: $STAGE_review.recommendations
|
|
116
|
+
outputs:
|
|
117
|
+
- commit_messages
|
|
118
|
+
- commit_descriptions
|
|
119
|
+
- commit_footers
|
|
120
|
+
|
|
121
|
+
- stage: code
|
|
122
|
+
prompt: code.interactive-review
|
|
123
|
+
required: false
|
|
124
|
+
conditional: interactive_mode == true
|
|
125
|
+
inputs:
|
|
126
|
+
commit_messages: $STAGE_code.commit_messages
|
|
127
|
+
commit_groups: $STAGE_code.commit_groups
|
|
128
|
+
quality_score: $STAGE_review.quality_score
|
|
129
|
+
recommendations: $STAGE_review.recommendations
|
|
130
|
+
outputs:
|
|
131
|
+
- approved_messages
|
|
132
|
+
- user_modifications
|
|
133
|
+
|
|
134
|
+
- stage: code
|
|
135
|
+
prompt: code.stage-and-commit
|
|
136
|
+
required: true
|
|
137
|
+
inputs:
|
|
138
|
+
commit_groups: $STAGE_code.commit_groups
|
|
139
|
+
commit_messages: $STAGE_code.commit_messages
|
|
140
|
+
commit_descriptions: $STAGE_code.commit_descriptions
|
|
141
|
+
commit_footers: $STAGE_code.commit_footers
|
|
142
|
+
amend: $ARG_amend
|
|
143
|
+
no_verify: $ARG_no_verify
|
|
144
|
+
sign: $ARG_sign
|
|
145
|
+
outputs:
|
|
146
|
+
- commits_created
|
|
147
|
+
- commit_hashes
|
|
148
|
+
- commit_summary
|
|
149
|
+
|
|
150
|
+
# Stage 4: Post-Commit Actions (Optional) - Versioning and documentation
|
|
151
|
+
- stage: code
|
|
152
|
+
prompt: code.create-version-tag
|
|
153
|
+
required: false
|
|
154
|
+
conditional: tag_enabled == true
|
|
155
|
+
inputs:
|
|
156
|
+
next_version: $STAGE_code.next_version
|
|
157
|
+
commit_hashes: $STAGE_code.commit_hashes
|
|
158
|
+
outputs:
|
|
159
|
+
- tag_created
|
|
160
|
+
- tag_name
|
|
161
|
+
|
|
162
|
+
- stage: documentation
|
|
163
|
+
prompt: documentation.update-changelog
|
|
164
|
+
required: false
|
|
165
|
+
conditional: update_changelog == true
|
|
166
|
+
inputs:
|
|
167
|
+
commit_messages: $STAGE_code.commit_messages
|
|
168
|
+
version: $STAGE_code.next_version
|
|
169
|
+
change_type: $STAGE_context.change_type
|
|
170
|
+
outputs:
|
|
171
|
+
- changelog_updated
|
|
172
|
+
- changelog_entry
|
|
173
|
+
|
|
174
|
+
# Stage 5: Verification - Validate and report
|
|
175
|
+
- stage: review
|
|
176
|
+
prompt: review.verify-commits
|
|
177
|
+
required: true
|
|
178
|
+
inputs:
|
|
179
|
+
commits_created: $STAGE_code.commits_created
|
|
180
|
+
commit_hashes: $STAGE_code.commit_hashes
|
|
181
|
+
tag_created: $STAGE_code.tag_created
|
|
182
|
+
outputs:
|
|
183
|
+
- verification_status
|
|
184
|
+
- commit_log
|
|
185
|
+
- final_summary
|
|
186
|
+
|
|
187
|
+
merge_strategy: sequential
|
|
188
|
+
rollback_on_failure: context
|
|
189
|
+
cache_strategy: stage
|
|
190
|
+
retry_policy:
|
|
191
|
+
max_attempts: 2
|
|
192
|
+
backoff_ms: 500
|
|
193
|
+
retry_on:
|
|
194
|
+
- error
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
# Commit Command
|
|
198
|
+
|
|
199
|
+
## Role
|
|
200
|
+
|
|
201
|
+
Use the [agent] profile
|
|
202
|
+
|
|
203
|
+
## Goal
|
|
204
|
+
|
|
205
|
+
**Create atomic, intelligent commits** with automated message generation, version management, changelog updates, quality insights, and security validation. This command provides a comprehensive commit workflow that analyzes changes, generates conventional commit messages, manages semantic versioning, updates documentation, provides AI-powered insights, and supports interactive review.
|
|
206
|
+
|
|
207
|
+
### Success Criteria
|
|
208
|
+
|
|
209
|
+
- ✅ All relevant changes are staged and committed atomically
|
|
210
|
+
- ✅ Commit messages follow Conventional Commits specification
|
|
211
|
+
- ✅ Semantic versioning is automatically calculated and applied (when enabled)
|
|
212
|
+
- ✅ CHANGELOG.md is updated with structured release notes (when enabled)
|
|
213
|
+
- ✅ Breaking changes are properly flagged with `BREAKING CHANGE:` footer
|
|
214
|
+
- ✅ AI-powered quality insights identify potential issues (when enabled)
|
|
215
|
+
- ✅ Issue tracker integration links commits to tickets (when enabled)
|
|
216
|
+
- ✅ Commit signing ensures cryptographic verification (when enabled)
|
|
217
|
+
- ✅ Interactive review allows human oversight (when enabled)
|
|
218
|
+
- ✅ Pre-commit hooks pass (unless `--no-verify` specified)
|
|
219
|
+
- ✅ Commit history is clean, meaningful, and traceable
|
|
220
|
+
|
|
221
|
+
## Rules
|
|
222
|
+
|
|
223
|
+
### Conventional Commits Format
|
|
224
|
+
|
|
225
|
+
Follow the [Conventional Commits](https://www.conventionalcommits.org/) specification:
|
|
226
|
+
|
|
227
|
+
```plaintext
|
|
228
|
+
<type>[optional scope]: <description>
|
|
229
|
+
|
|
230
|
+
[optional body]
|
|
231
|
+
|
|
232
|
+
[optional footer(s)]
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
#### Commit Types
|
|
236
|
+
|
|
237
|
+
| Type | Description | Example |
|
|
238
|
+
| ---------- | --------------------------------------------------- | ------------------------------------------- |
|
|
239
|
+
| `feat` | New feature implementation | `feat(auth): add OAuth2 authentication` |
|
|
240
|
+
| `fix` | Bug fix | `fix(api): resolve race condition in cache` |
|
|
241
|
+
| `docs` | Documentation changes | `docs(readme): update installation steps` |
|
|
242
|
+
| `style` | Code style changes (formatting, no logic change) | `style(components): apply Prettier rules` |
|
|
243
|
+
| `refactor` | Code refactoring (no feature change or bug fix) | `refactor(db): extract query builders` |
|
|
244
|
+
| `perf` | Performance improvements | `perf(api): optimize database query` |
|
|
245
|
+
| `test` | Adding or updating tests | `test(auth): add OAuth2 integration tests` |
|
|
246
|
+
| `build` | Build system or dependency changes | `build(deps): upgrade React to v18` |
|
|
247
|
+
| `ci` | CI/CD configuration changes | `ci(github): add automated deployments` |
|
|
248
|
+
| `chore` | Maintenance tasks, tooling updates | `chore(deps): update development tools` |
|
|
249
|
+
| `revert` | Revert a previous commit | `revert: feat(auth): add OAuth2` |
|
|
250
|
+
| `wip` | Work in progress (should not appear in main branch) | `wip: experimenting with GraphQL` |
|
|
251
|
+
|
|
252
|
+
#### Scope Guidelines
|
|
253
|
+
|
|
254
|
+
- Use clear, concise scope names (kebab-case)
|
|
255
|
+
- Align with architectural boundaries (e.g., `auth`, `api`, `ui`, `db`)
|
|
256
|
+
- Omit scope if change affects multiple areas broadly
|
|
257
|
+
- Examples: `auth`, `user-profile`, `payment-gateway`, `logging`
|
|
258
|
+
|
|
259
|
+
#### Breaking Changes
|
|
260
|
+
|
|
261
|
+
For breaking changes, add `!` after scope and include footer:
|
|
262
|
+
|
|
263
|
+
```plaintext
|
|
264
|
+
feat(api)!: redesign authentication endpoints
|
|
265
|
+
|
|
266
|
+
BREAKING CHANGE: /api/login endpoint now requires JWT tokens
|
|
267
|
+
instead of session cookies. Clients must update authentication flow.
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### Commit Strategy
|
|
271
|
+
|
|
272
|
+
#### When to Create Single Commit
|
|
273
|
+
|
|
274
|
+
- Changes form a single logical unit
|
|
275
|
+
- All files relate to the same feature/fix
|
|
276
|
+
- Total changes are < 500 lines
|
|
277
|
+
- No mixed concerns (feature + refactor, fix + feature)
|
|
278
|
+
|
|
279
|
+
#### When to Split into Multiple Commits
|
|
280
|
+
|
|
281
|
+
- Multiple distinct features/fixes in changeset
|
|
282
|
+
- Mixed concerns (separate feature from refactor)
|
|
283
|
+
- Large changesets (> 500 lines) that can be logically separated
|
|
284
|
+
- Frontend + backend changes (separate when appropriate)
|
|
285
|
+
- Schema migrations + code changes
|
|
286
|
+
|
|
287
|
+
#### Commit Order Priority
|
|
288
|
+
|
|
289
|
+
1. **Schema/migrations** (database, API contracts)
|
|
290
|
+
2. **Backend/core logic** (business logic, APIs)
|
|
291
|
+
3. **Frontend/UI** (components, pages)
|
|
292
|
+
4. **Tests** (unless tightly coupled to feature)
|
|
293
|
+
5. **Documentation** (README, API docs)
|
|
294
|
+
6. **Configuration** (CI/CD, tooling)
|
|
295
|
+
|
|
296
|
+
### Staging Strategy
|
|
297
|
+
|
|
298
|
+
- **Auto-stage** all modified tracked files by default
|
|
299
|
+
- **Exclude** untracked files unless explicitly added
|
|
300
|
+
- **Respect** `.gitignore` and workspace ignore rules
|
|
301
|
+
- **Prompt** for confirmation before staging large changesets (> 1000 lines)
|
|
302
|
+
|
|
303
|
+
### Commit Message Quality
|
|
304
|
+
|
|
305
|
+
#### Subject Line (< 72 characters)
|
|
306
|
+
|
|
307
|
+
- Start with lowercase (after type/scope)
|
|
308
|
+
- Use imperative mood ("add", not "added" or "adds")
|
|
309
|
+
- No period at the end
|
|
310
|
+
- Be specific and descriptive
|
|
311
|
+
|
|
312
|
+
✅ **Good Examples:**
|
|
313
|
+
|
|
314
|
+
```plaintext
|
|
315
|
+
feat(auth): implement JWT refresh token rotation
|
|
316
|
+
fix(payments): prevent duplicate charge on retry
|
|
317
|
+
docs(api): document rate limiting behavior
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
❌ **Bad Examples:**
|
|
321
|
+
|
|
322
|
+
```plaintext
|
|
323
|
+
updated files
|
|
324
|
+
fix bug
|
|
325
|
+
WIP
|
|
326
|
+
feat: changes
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
#### Body (Optional, Wrap at 72 Characters)
|
|
330
|
+
|
|
331
|
+
- Explain **what** and **why**, not **how**
|
|
332
|
+
- Reference related issues, tickets, or design docs
|
|
333
|
+
- Include context for complex changes
|
|
334
|
+
- Use bullet points for multiple points
|
|
335
|
+
|
|
336
|
+
#### Footer (Optional)
|
|
337
|
+
|
|
338
|
+
- `BREAKING CHANGE:` - Document breaking changes
|
|
339
|
+
- `Closes #123` - Auto-close GitHub issues
|
|
340
|
+
- `Refs #456` - Reference related issues
|
|
341
|
+
- `Co-authored-by:` - Credit collaborators
|
|
342
|
+
|
|
343
|
+
### Pre-commit Verification
|
|
344
|
+
|
|
345
|
+
Before committing, ensure:
|
|
346
|
+
|
|
347
|
+
1. ✅ Linting passes (no critical errors)
|
|
348
|
+
2. ✅ Type checking passes
|
|
349
|
+
3. ✅ Tests pass locally (if `--no-verify` not set)
|
|
350
|
+
4. ✅ No debug code (console.log, debugger, etc.)
|
|
351
|
+
5. ✅ No sensitive data (secrets, tokens, PII)
|
|
352
|
+
6. ✅ No unresolved merge conflicts
|
|
353
|
+
|
|
354
|
+
## Context
|
|
355
|
+
|
|
356
|
+
### User-Provided Arguments
|
|
357
|
+
|
|
358
|
+
```plaintext
|
|
359
|
+
$ARGUMENTS
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Available Arguments
|
|
363
|
+
|
|
364
|
+
#### Core Arguments
|
|
365
|
+
|
|
366
|
+
- `--scope=<area>` - Force specific scope (overrides auto-detection)
|
|
367
|
+
- `--breaking` - Flag as breaking change with `BREAKING CHANGE:` footer
|
|
368
|
+
- `--message="<msg>"` - Custom commit message (overrides auto-generation)
|
|
369
|
+
- `--amend` - Amend last commit instead of creating new one
|
|
370
|
+
- `--no-verify` - Skip pre-commit hooks (use sparingly)
|
|
371
|
+
|
|
372
|
+
#### Version Management
|
|
373
|
+
|
|
374
|
+
- `--version-bump=<auto|major|minor|patch>` - Calculate and apply semantic version bump
|
|
375
|
+
- `auto` - Auto-detect from commit type (feat→minor, fix→patch, breaking→major)
|
|
376
|
+
- `major` - Force major version bump (x.0.0)
|
|
377
|
+
- `minor` - Force minor version bump (0.x.0)
|
|
378
|
+
- `patch` - Force patch version bump (0.0.x)
|
|
379
|
+
- `--tag` - Create git tag with version number after commit
|
|
380
|
+
|
|
381
|
+
#### Documentation
|
|
382
|
+
|
|
383
|
+
- `--update-changelog` - Automatically update CHANGELOG.md with structured entries
|
|
384
|
+
- `--changelog-format=<keepachangelog|github>` - Changelog format (default: keepachangelog)
|
|
385
|
+
|
|
386
|
+
#### Quality & Insights
|
|
387
|
+
|
|
388
|
+
- `--insights` - Generate AI-powered commit quality insights and recommendations
|
|
389
|
+
- `--quality-check` - Run quality validation (score message, detect issues)
|
|
390
|
+
- `--impact-analysis` - Analyze potential impact of changes (breaking changes, dependencies)
|
|
391
|
+
|
|
392
|
+
#### Security
|
|
393
|
+
|
|
394
|
+
- `--sign` - Sign commit with GPG/SSH key for cryptographic verification
|
|
395
|
+
- `--sign-key=<key-id>` - Sign with specific GPG/SSH key
|
|
396
|
+
- `--security-scan` - Scan commit for secrets, vulnerabilities, suspicious patterns
|
|
397
|
+
|
|
398
|
+
#### Issue Tracking
|
|
399
|
+
|
|
400
|
+
- `--auto-ticket` - Extract ticket number from branch name (e.g., feature/PROJ-123-foo)
|
|
401
|
+
- `--ticket=<number>` - Manually specify ticket/issue number
|
|
402
|
+
- `--update-tracker` - Update issue tracker status (In Progress → In Review)
|
|
403
|
+
|
|
404
|
+
#### Templates
|
|
405
|
+
|
|
406
|
+
- `--template=<name>` - Use project-specific commit template from `.commitrc.json`
|
|
407
|
+
- `--template-var <key>=<value>` - Set template variable value
|
|
408
|
+
|
|
409
|
+
#### Interactive Mode
|
|
410
|
+
|
|
411
|
+
- `--interactive` - Review and edit AI-generated messages before committing
|
|
412
|
+
- `--dry-run` - Show what would be committed without executing
|
|
413
|
+
- `--preview` - Preview commit message and impact analysis
|
|
414
|
+
|
|
415
|
+
### Git Status
|
|
416
|
+
|
|
417
|
+
Current repository state will be automatically analyzed.
|
|
418
|
+
|
|
419
|
+
## Process Overview
|
|
420
|
+
|
|
421
|
+
The commit command follows a **staged pipeline** that orchestrates the following workflow:
|
|
422
|
+
|
|
423
|
+
### Pipeline Stages
|
|
424
|
+
|
|
425
|
+
**1. Context Analysis** (`context` stage)
|
|
426
|
+
|
|
427
|
+
- Analyze git status and identify changed files
|
|
428
|
+
- Load commit templates (if specified)
|
|
429
|
+
- Extract ticket information from branch name (if enabled)
|
|
430
|
+
- Analyze change scope (type, areas, breaking changes, risk)
|
|
431
|
+
|
|
432
|
+
**2. Quality Review** (`review` stage - parallel)
|
|
433
|
+
|
|
434
|
+
- Generate AI-powered commit insights (if enabled)
|
|
435
|
+
- Quality scoring, impact analysis, security scanning
|
|
436
|
+
- Provide recommendations for improvement
|
|
437
|
+
|
|
438
|
+
**3. Strategy & Generation** (`code` stage)
|
|
439
|
+
|
|
440
|
+
- Determine commit strategy (single vs split commits)
|
|
441
|
+
- Calculate version bump (if enabled)
|
|
442
|
+
- Generate conventional commit messages
|
|
443
|
+
- Interactive review (if enabled)
|
|
444
|
+
- Stage files and execute commits
|
|
445
|
+
- Create version tags (if enabled)
|
|
446
|
+
|
|
447
|
+
**4. Documentation** (`documentation` stage)
|
|
448
|
+
|
|
449
|
+
- Update CHANGELOG.md (if enabled)
|
|
450
|
+
|
|
451
|
+
**5. Final Verification** (`review` stage)
|
|
452
|
+
|
|
453
|
+
- Verify commits created successfully
|
|
454
|
+
- Validate message format compliance
|
|
455
|
+
- Display comprehensive summary
|
|
456
|
+
- Provide next steps
|
|
457
|
+
|
|
458
|
+
### Key Features
|
|
459
|
+
|
|
460
|
+
- **Automated Message Generation**: AI-generated conventional commit messages
|
|
461
|
+
- **Smart Commit Splitting**: Automatically groups changes into logical commits
|
|
462
|
+
- **Semantic Versioning**: Auto-calculates and applies version bumps
|
|
463
|
+
- **Changelog Management**: Keeps CHANGELOG.md up-to-date automatically
|
|
464
|
+
- **Quality Insights**: AI-powered analysis with recommendations
|
|
465
|
+
- **Security Scanning**: Detects secrets, vulnerabilities, and suspicious patterns
|
|
466
|
+
- **Interactive Mode**: Human review and editing before commit
|
|
467
|
+
- **Template Support**: Project-specific commit templates
|
|
468
|
+
- **Issue Tracking**: Auto-links commits to tickets/issues
|
|
469
|
+
|
|
470
|
+
### Process Flow
|
|
471
|
+
|
|
472
|
+
```mermaid
|
|
473
|
+
flowchart TD
|
|
474
|
+
A[Analyze Git Status] --> B[Analyze Change Scope]
|
|
475
|
+
B --> C{Insights Enabled?}
|
|
476
|
+
C -- YES --> D[Generate Insights]
|
|
477
|
+
C -- NO --> E[Determine Strategy]
|
|
478
|
+
D --> E
|
|
479
|
+
E --> F[Generate Messages]
|
|
480
|
+
F --> G{Interactive?}
|
|
481
|
+
G -- YES --> H[User Review]
|
|
482
|
+
G -- NO --> I[Stage & Commit]
|
|
483
|
+
H --> I
|
|
484
|
+
I --> J{Version & Tag?}
|
|
485
|
+
J -- YES --> K[Create Tag & Update Changelog]
|
|
486
|
+
J -- NO --> L[Verify Commits]
|
|
487
|
+
K --> L
|
|
488
|
+
L --> M[Display Summary]
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
**Note**: All detailed instructions for each stage are defined in the individual prompts within the pipeline. The command orchestrates the flow, while prompts contain the specific implementation logic.
|
|
492
|
+
|
|
493
|
+
## Error Handling
|
|
494
|
+
|
|
495
|
+
### No Changes to Commit
|
|
496
|
+
|
|
497
|
+
```plaintext
|
|
498
|
+
⚠️ No changes detected to commit.
|
|
499
|
+
Working tree is clean.
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
**Resolution:** Make code changes first, then run commit command.
|
|
503
|
+
|
|
504
|
+
### Commit Message Validation Failed
|
|
505
|
+
|
|
506
|
+
```plaintext
|
|
507
|
+
❌ Commit message does not follow Conventional Commits format:
|
|
508
|
+
"Updated files"
|
|
509
|
+
|
|
510
|
+
Expected format: <type>(<scope>): <description>
|
|
511
|
+
Example: feat(auth): add OAuth2 support
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
**Resolution:** AI will regenerate message following standards.
|
|
515
|
+
|
|
516
|
+
### Pre-commit Hooks Failed
|
|
517
|
+
|
|
518
|
+
```plaintext
|
|
519
|
+
❌ Pre-commit hooks failed. Commit aborted.
|
|
520
|
+
|
|
521
|
+
Linting errors:
|
|
522
|
+
- src/auth/oauth.ts:45 - Unused variable 'token'
|
|
523
|
+
|
|
524
|
+
Options:
|
|
525
|
+
1. Fix errors and commit again
|
|
526
|
+
2. Use --no-verify to skip hooks (not recommended)
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
**Resolution:** Fix errors or use `--no-verify` if intentional.
|
|
530
|
+
|
|
531
|
+
### Merge Conflicts Detected
|
|
532
|
+
|
|
533
|
+
```plaintext
|
|
534
|
+
❌ Cannot commit: unresolved merge conflicts detected
|
|
535
|
+
|
|
536
|
+
Conflicting files:
|
|
537
|
+
- src/auth/oauth.ts
|
|
538
|
+
|
|
539
|
+
Resolve conflicts first, then commit.
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
**Resolution:** Resolve conflicts manually, then run commit command.
|
|
543
|
+
|
|
544
|
+
## Examples
|
|
545
|
+
|
|
546
|
+
### Example 1: Simple Feature Commit
|
|
547
|
+
|
|
548
|
+
**Input:**
|
|
549
|
+
|
|
550
|
+
```bash
|
|
551
|
+
commit
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
**Analysis:**
|
|
555
|
+
|
|
556
|
+
- Changed: `src/auth/login.ts`, `src/auth/validation.ts`
|
|
557
|
+
- Type: Feature
|
|
558
|
+
- Scope: auth
|
|
559
|
+
|
|
560
|
+
**Output:**
|
|
561
|
+
|
|
562
|
+
```plaintext
|
|
563
|
+
✅ Created commit: feat(auth): add email validation for login
|
|
564
|
+
|
|
565
|
+
a4f7c9e feat(auth): add email validation for login
|
|
566
|
+
- src/auth/login.ts | 25 ++++++++++++++++++++
|
|
567
|
+
- src/auth/validation.ts | 15 ++++++++++++
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
### Example 2: Bug Fix with Custom Scope
|
|
571
|
+
|
|
572
|
+
**Input:**
|
|
573
|
+
|
|
574
|
+
```bash
|
|
575
|
+
commit --scope=payments
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
**Output:**
|
|
579
|
+
|
|
580
|
+
```plaintext
|
|
581
|
+
✅ Created commit: fix(payments): prevent duplicate charges on retry
|
|
582
|
+
|
|
583
|
+
b8c3d1f fix(payments): prevent duplicate charges on retry
|
|
584
|
+
- src/payments/processor.ts | 30 ++++++++++++++++++++---
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
### Example 3: Breaking Change
|
|
588
|
+
|
|
589
|
+
**Input:**
|
|
590
|
+
|
|
591
|
+
```bash
|
|
592
|
+
commit --breaking
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
**Output:**
|
|
596
|
+
|
|
597
|
+
```plaintext
|
|
598
|
+
✅ Created commit: feat(api)!: redesign authentication endpoints
|
|
599
|
+
|
|
600
|
+
BREAKING CHANGE: /api/login endpoint now requires JWT tokens instead of session cookies
|
|
601
|
+
|
|
602
|
+
e5f9a2b feat(api)!: redesign authentication endpoints
|
|
603
|
+
- src/api/auth.ts | 145 +++++++++++++++++++++++++++++++-------------
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
### Example 4: Split Commits (Auto-detected)
|
|
607
|
+
|
|
608
|
+
**Input:**
|
|
609
|
+
|
|
610
|
+
```bash
|
|
611
|
+
commit
|
|
612
|
+
```
|
|
613
|
+
|
|
614
|
+
**Analysis:**
|
|
615
|
+
|
|
616
|
+
- Multiple areas: auth + payments
|
|
617
|
+
- Strategy: Split
|
|
618
|
+
|
|
619
|
+
**Output:**
|
|
620
|
+
|
|
621
|
+
```plaintext
|
|
622
|
+
✅ Created 2 commits:
|
|
623
|
+
|
|
624
|
+
c6d8e3a feat(auth): implement OAuth2 refresh tokens
|
|
625
|
+
- src/auth/oauth.ts | 95 ++++++++++++++++++++++++
|
|
626
|
+
- src/auth/tokens.ts | 50 +++++++++++--
|
|
627
|
+
|
|
628
|
+
f7a9b4c feat(payments): add Stripe webhook handlers
|
|
629
|
+
- src/payments/webhooks.ts | 120 ++++++++++++++++++++++++++++++
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
### Example 5: Amend Last Commit
|
|
633
|
+
|
|
634
|
+
**Input:**
|
|
635
|
+
|
|
636
|
+
```bash
|
|
637
|
+
commit --amend --message="feat(auth): implement OAuth2 with refresh tokens"
|
|
638
|
+
```
|
|
639
|
+
|
|
640
|
+
**Output:**
|
|
641
|
+
|
|
642
|
+
```plaintext
|
|
643
|
+
✅ Amended commit: feat(auth): implement OAuth2 with refresh tokens
|
|
644
|
+
|
|
645
|
+
g8b0c5d feat(auth): implement OAuth2 with refresh tokens (amended)
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
### Example 6: Commit with Version Bump and Changelog
|
|
649
|
+
|
|
650
|
+
**Input:**
|
|
651
|
+
|
|
652
|
+
```bash
|
|
653
|
+
commit --version-bump=auto --tag --update-changelog
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
**Output:**
|
|
657
|
+
|
|
658
|
+
```plaintext
|
|
659
|
+
✅ Created commit with automated release management:
|
|
660
|
+
|
|
661
|
+
h9c1d6e feat(payments): add Stripe integration
|
|
662
|
+
|
|
663
|
+
📦 Version Calculation:
|
|
664
|
+
- Change type: feat (new feature)
|
|
665
|
+
- Current version: 1.2.3
|
|
666
|
+
- Version bump: minor (0.x.0)
|
|
667
|
+
- Next version: 1.3.0
|
|
668
|
+
|
|
669
|
+
🏷️ Created Tag: v1.3.0
|
|
670
|
+
|
|
671
|
+
📝 Updated CHANGELOG.md:
|
|
672
|
+
## [1.3.0] - 2025-11-12
|
|
673
|
+
|
|
674
|
+
### ✨ Features
|
|
675
|
+
- **payments**: add Stripe integration
|
|
676
|
+
|
|
677
|
+
[1.3.0]: https://github.com/org/repo/compare/v1.2.0...v1.3.0
|
|
678
|
+
|
|
679
|
+
Next steps:
|
|
680
|
+
1. Review: git show v1.3.0
|
|
681
|
+
2. Push with tags: git push origin main --follow-tags
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
### Example 7: Interactive Commit with Insights
|
|
685
|
+
|
|
686
|
+
**Input:**
|
|
687
|
+
|
|
688
|
+
```bash
|
|
689
|
+
commit --interactive --insights
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
**Interactive Flow:**
|
|
693
|
+
|
|
694
|
+
```plaintext
|
|
695
|
+
🔍 Analyzing changes...
|
|
696
|
+
|
|
697
|
+
📝 Proposed Commit Message (Quality: 7.2/10)
|
|
698
|
+
|
|
699
|
+
fix(api): handle null values in user response
|
|
700
|
+
|
|
701
|
+
💡 AI Insights:
|
|
702
|
+
✅ Follows conventional commits format
|
|
703
|
+
⚠️ Quality could be improved:
|
|
704
|
+
- Subject line is vague - specify which endpoint
|
|
705
|
+
- Missing context about when this occurs
|
|
706
|
+
- No reference to related issue/ticket
|
|
707
|
+
|
|
708
|
+
⚠️ Security concern: Changes to authentication logic without tests
|
|
709
|
+
⚠️ Impact: Public API endpoint - breaking change risk
|
|
710
|
+
|
|
711
|
+
🔍 Recommendations:
|
|
712
|
+
1. Improve subject: "fix(api): handle null email in GET /users/:id response"
|
|
713
|
+
2. Add body explaining the bug scenario
|
|
714
|
+
3. Add reference to issue tracker
|
|
715
|
+
4. Consider this a potential breaking change
|
|
716
|
+
|
|
717
|
+
Actions:
|
|
718
|
+
[C] Commit as-is [E] Edit [I] Improve [X] Cancel
|
|
719
|
+
> I
|
|
720
|
+
|
|
721
|
+
🤖 Improving commit message...
|
|
722
|
+
|
|
723
|
+
📝 Improved Commit Message (Quality: 9.1/10)
|
|
724
|
+
|
|
725
|
+
fix(api): handle null email in GET /users/:id response
|
|
726
|
+
|
|
727
|
+
Fixes bug where users without verified emails would cause the
|
|
728
|
+
GET /users/:id endpoint to return null instead of omitting
|
|
729
|
+
the email field, breaking client expectations.
|
|
730
|
+
|
|
731
|
+
This change ensures backward compatibility by omitting the
|
|
732
|
+
email field when null rather than including it.
|
|
733
|
+
|
|
734
|
+
Fixes #789
|
|
735
|
+
|
|
736
|
+
✅ Quality Score: 9.1/10 (+1.9)
|
|
737
|
+
✅ All recommendations applied
|
|
738
|
+
|
|
739
|
+
Actions:
|
|
740
|
+
[C] Commit [E] Edit more [X] Cancel
|
|
741
|
+
> C
|
|
742
|
+
|
|
743
|
+
✅ Committed: fix(api): handle null email in GET /users/:id response
|
|
744
|
+
```
|
|
745
|
+
|
|
746
|
+
### Example 8: Template-Based Commit with Ticket
|
|
747
|
+
|
|
748
|
+
**Input:**
|
|
749
|
+
|
|
750
|
+
```bash
|
|
751
|
+
commit --template=bugfix --auto-ticket
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
**Workflow:**
|
|
755
|
+
|
|
756
|
+
```plaintext
|
|
757
|
+
🎫 Extracting ticket from branch...
|
|
758
|
+
Branch: bugfix/PROJ-456-fix-cache-race-condition
|
|
759
|
+
Ticket: PROJ-456
|
|
760
|
+
|
|
761
|
+
📋 Loading template: bugfix
|
|
762
|
+
Required fields: scope, description, ticket, root_cause
|
|
763
|
+
|
|
764
|
+
🔍 Analyzing changes...
|
|
765
|
+
Detected scope: cache
|
|
766
|
+
Detected root cause: Race condition in Redis concurrent access
|
|
767
|
+
|
|
768
|
+
📝 Generated Commit Message:
|
|
769
|
+
|
|
770
|
+
fix(cache): resolve race condition in Redis operations
|
|
771
|
+
|
|
772
|
+
**Issue:** PROJ-456
|
|
773
|
+
**Root Cause:** Multiple concurrent writes to same cache key without locking
|
|
774
|
+
|
|
775
|
+
Added Redis distributed lock using SETNX to prevent race conditions
|
|
776
|
+
when multiple instances attempt to write the same cache key simultaneously.
|
|
777
|
+
|
|
778
|
+
Fixes #456
|
|
779
|
+
|
|
780
|
+
✅ All template requirements met
|
|
781
|
+
✅ Ticket automatically linked
|
|
782
|
+
|
|
783
|
+
Commit? [Y/n] Y
|
|
784
|
+
|
|
785
|
+
✅ Committed: fix(cache): resolve race condition in Redis operations
|
|
786
|
+
🎫 Linked to PROJ-456
|
|
787
|
+
```
|
|
788
|
+
|
|
789
|
+
### Example 9: Signed Commit with Security Scan
|
|
790
|
+
|
|
791
|
+
**Input:**
|
|
792
|
+
|
|
793
|
+
```bash
|
|
794
|
+
commit --sign --security-scan
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
**Output:**
|
|
798
|
+
|
|
799
|
+
```plaintext
|
|
800
|
+
🔒 Running security scan...
|
|
801
|
+
|
|
802
|
+
✅ Security scan passed:
|
|
803
|
+
- No secrets detected
|
|
804
|
+
- No suspicious patterns found
|
|
805
|
+
- No large binary files
|
|
806
|
+
|
|
807
|
+
🔑 Signing commit with GPG key...
|
|
808
|
+
Using key: ABC12345 (damien@example.com)
|
|
809
|
+
|
|
810
|
+
✅ Created signed commit:
|
|
811
|
+
|
|
812
|
+
i3k7m9p feat(auth): add two-factor authentication (signed)
|
|
813
|
+
|
|
814
|
+
🔒 Signature verified: ✓
|
|
815
|
+
Signed by: Damien Tivelet <damien@example.com>
|
|
816
|
+
Key ID: ABC12345
|
|
817
|
+
Signature: Good
|
|
818
|
+
|
|
819
|
+
Next steps:
|
|
820
|
+
1. Verify signature: git verify-commit i3k7m9p
|
|
821
|
+
2. Push signed commit: git push origin main
|
|
822
|
+
```
|
|
823
|
+
|
|
824
|
+
### Example 10: Breaking Change with Full Workflow
|
|
825
|
+
|
|
826
|
+
**Input:**
|
|
827
|
+
|
|
828
|
+
```bash
|
|
829
|
+
commit --breaking --version-bump=major --update-changelog --tag --insights
|
|
830
|
+
```
|
|
831
|
+
|
|
832
|
+
**Output:**
|
|
833
|
+
|
|
834
|
+
```plaintext
|
|
835
|
+
⚠️ Breaking Change Detected
|
|
836
|
+
|
|
837
|
+
💡 AI Insights:
|
|
838
|
+
✅ Quality Score: 9.5/10
|
|
839
|
+
⚠️ Impact Analysis:
|
|
840
|
+
- Breaking change in public API
|
|
841
|
+
- 3 dependent services affected: api-gateway, mobile-app, web-app
|
|
842
|
+
- Migration required for all API consumers
|
|
843
|
+
⚠️ Recommendation: Create migration guide documentation
|
|
844
|
+
|
|
845
|
+
📝 Generated Commit Message:
|
|
846
|
+
|
|
847
|
+
feat(api)!: redesign authentication endpoints
|
|
848
|
+
|
|
849
|
+
BREAKING CHANGE: Authentication flow has been redesigned to use JWT tokens
|
|
850
|
+
|
|
851
|
+
Previous endpoints:
|
|
852
|
+
- POST /auth/login (session-based)
|
|
853
|
+
- POST /auth/logout
|
|
854
|
+
|
|
855
|
+
New endpoints:
|
|
856
|
+
- POST /auth/token (JWT-based)
|
|
857
|
+
- POST /auth/refresh
|
|
858
|
+
- DELETE /auth/token
|
|
859
|
+
|
|
860
|
+
Migration guide: See docs/migration/v2.0.md
|
|
861
|
+
|
|
862
|
+
All API consumers must update their authentication implementation.
|
|
863
|
+
Session-based auth is no longer supported.
|
|
864
|
+
|
|
865
|
+
Closes #234
|
|
866
|
+
|
|
867
|
+
📦 Version Calculation:
|
|
868
|
+
- Change type: feat + breaking change
|
|
869
|
+
- Current version: 1.5.2
|
|
870
|
+
- Version bump: MAJOR (x.0.0)
|
|
871
|
+
- Next version: 2.0.0
|
|
872
|
+
|
|
873
|
+
✅ Created commit: feat(api)!: redesign authentication endpoints
|
|
874
|
+
🏷️ Created tag: v2.0.0
|
|
875
|
+
📝 Updated CHANGELOG.md:
|
|
876
|
+
|
|
877
|
+
## [2.0.0] - 2025-11-12
|
|
878
|
+
|
|
879
|
+
### ⚠️ BREAKING CHANGES
|
|
880
|
+
- **api**: redesign authentication endpoints
|
|
881
|
+
- Session-based authentication removed
|
|
882
|
+
- JWT-based authentication required
|
|
883
|
+
- See migration guide: docs/migration/v2.0.md
|
|
884
|
+
|
|
885
|
+
### ✨ Features
|
|
886
|
+
- **api**: add JWT refresh token support
|
|
887
|
+
- **api**: add token revocation endpoint
|
|
888
|
+
|
|
889
|
+
[2.0.0]: https://github.com/org/repo/compare/v1.5.2...v2.0.0
|
|
890
|
+
|
|
891
|
+
⚠️ Important: Major version bump due to breaking changes
|
|
892
|
+
📋 Recommended actions:
|
|
893
|
+
1. Publish migration guide
|
|
894
|
+
2. Notify dependent teams
|
|
895
|
+
3. Coordinate deployment with API consumers
|
|
896
|
+
4. Plan gradual rollout strategy
|
|
897
|
+
|
|
898
|
+
Next steps:
|
|
899
|
+
1. Review: git show v2.0.0
|
|
900
|
+
2. Review changelog: head -50 CHANGELOG.md
|
|
901
|
+
3. Create migration guide: docs/migration/v2.0.md
|
|
902
|
+
4. Notify stakeholders before pushing
|
|
903
|
+
```
|
|
904
|
+
|
|
905
|
+
## Integration with Workflow
|
|
906
|
+
|
|
907
|
+
### Position in Development Lifecycle
|
|
908
|
+
|
|
909
|
+
```mermaid
|
|
910
|
+
flowchart LR
|
|
911
|
+
A[review-functional] --> B{Reviews passed?}
|
|
912
|
+
B -- YES --> C[commit]
|
|
913
|
+
C --> D[create-pr]
|
|
914
|
+
B -- NO --> E[implement]
|
|
915
|
+
E --> A
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
### Typical Usage Patterns
|
|
919
|
+
|
|
920
|
+
#### Pattern 1: After Implementation
|
|
921
|
+
|
|
922
|
+
```bash
|
|
923
|
+
implement "Add user authentication"
|
|
924
|
+
test
|
|
925
|
+
review-code
|
|
926
|
+
review-functional
|
|
927
|
+
commit # ← Executed here
|
|
928
|
+
create-pr
|
|
929
|
+
```
|
|
930
|
+
|
|
931
|
+
#### Pattern 2: Incremental Commits
|
|
932
|
+
|
|
933
|
+
```bash
|
|
934
|
+
implement step-by-step "Large feature"
|
|
935
|
+
commit # ← After first step
|
|
936
|
+
implement step-by-step
|
|
937
|
+
commit # ← After second step
|
|
938
|
+
# ... continue ...
|
|
939
|
+
create-pr
|
|
940
|
+
```
|
|
941
|
+
|
|
942
|
+
#### Pattern 3: Fix and Recommit
|
|
943
|
+
|
|
944
|
+
```bash
|
|
945
|
+
review-code # Found issues
|
|
946
|
+
implement "Fix review feedback"
|
|
947
|
+
commit
|
|
948
|
+
create-pr
|
|
949
|
+
```
|
|
950
|
+
|
|
951
|
+
## Best Practices
|
|
952
|
+
|
|
953
|
+
### ✅ DO
|
|
954
|
+
|
|
955
|
+
- **Commit frequently** - Small, atomic commits are better than large ones
|
|
956
|
+
- **Write descriptive messages** - Future you will thank present you
|
|
957
|
+
- **Follow conventions** - Consistent format improves team collaboration
|
|
958
|
+
- **Review before committing** - Use `git diff` to verify changes
|
|
959
|
+
- **Group related changes** - Keep feature and tests together (if small)
|
|
960
|
+
- **Reference issues** - Link commits to tracking system
|
|
961
|
+
|
|
962
|
+
### ❌ DON'T
|
|
963
|
+
|
|
964
|
+
- **Commit WIP code** - Unless on feature branch with clear intent
|
|
965
|
+
- **Mix concerns** - Don't combine feature + refactor in one commit
|
|
966
|
+
- **Skip commit messages** - "update" or "changes" are not helpful
|
|
967
|
+
- **Commit generated files** - Unless they're meant to be versioned
|
|
968
|
+
- **Commit secrets** - Always review for sensitive data
|
|
969
|
+
- **Break the build** - Ensure each commit is buildable
|
|
970
|
+
|
|
971
|
+
## Quality Checklist
|
|
972
|
+
|
|
973
|
+
Before finalizing commits, verify:
|
|
974
|
+
|
|
975
|
+
- [ ] Commit messages follow Conventional Commits format
|
|
976
|
+
- [ ] Subject lines are < 72 characters
|
|
977
|
+
- [ ] Changes are atomic (one logical unit per commit)
|
|
978
|
+
- [ ] No debug code or commented-out code
|
|
979
|
+
- [ ] No sensitive data (API keys, passwords, tokens)
|
|
980
|
+
- [ ] Linting passes (or --no-verify justified)
|
|
981
|
+
- [ ] Tests pass locally
|
|
982
|
+
- [ ] Breaking changes are properly flagged
|
|
983
|
+
- [ ] Related issues are referenced in footer
|
|
984
|
+
|
|
985
|
+
## Performance Considerations
|
|
986
|
+
|
|
987
|
+
- **Fast operations** - Analysis and commit creation should take < 5 seconds
|
|
988
|
+
- **Large changesets** - Split into logical commits automatically
|
|
989
|
+
- **Hook timeouts** - Pre-commit hooks should complete within 30 seconds
|
|
990
|
+
- **Diff analysis** - Optimize file reading for large diffs (> 10 files)
|
|
991
|
+
|
|
992
|
+
## Document Generation
|
|
993
|
+
|
|
994
|
+
**File** (optional): `CHANGELOG.md` entry
|
|
995
|
+
|
|
996
|
+
**Ask user**: "Would you like me to update `CHANGELOG.md` with this release?" (only if `--update-changelog` or version bump)
|
|
997
|
+
|
|
998
|
+
## Command Output Summary
|
|
999
|
+
|
|
1000
|
+
Print the following summary at command completion:
|
|
1001
|
+
|
|
1002
|
+
**For successful commit:**
|
|
1003
|
+
|
|
1004
|
+
```markdown
|
|
1005
|
+
## ✅ Commit Created
|
|
1006
|
+
|
|
1007
|
+
**Commits**: [N] commit(s)
|
|
1008
|
+
**Hash**: [short-hash]
|
|
1009
|
+
|
|
1010
|
+
### Commit Summary
|
|
1011
|
+
```
|
|
1012
|
+
|
|
1013
|
+
[type]([scope]): [description]
|
|
1014
|
+
|
|
1015
|
+
```
|
|
1016
|
+
|
|
1017
|
+
### Files Committed
|
|
1018
|
+
- [file1.ts] | +[N] -[N]
|
|
1019
|
+
- [file2.ts] | +[N] -[N]
|
|
1020
|
+
|
|
1021
|
+
### Quality Insights
|
|
1022
|
+
- ✅ Linting: Pass
|
|
1023
|
+
- ✅ Security: No issues
|
|
1024
|
+
- ✅ Conventional format: Valid
|
|
1025
|
+
|
|
1026
|
+
### Documents Updated
|
|
1027
|
+
→ `CHANGELOG.md` (if --update-changelog)
|
|
1028
|
+
|
|
1029
|
+
### Next Step
|
|
1030
|
+
→ `/create-pr` to create pull request
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
**For version bump:**
|
|
1034
|
+
|
|
1035
|
+
```markdown
|
|
1036
|
+
## ✅ Commit & Version Created
|
|
1037
|
+
|
|
1038
|
+
**Commits**: [N] commit(s)
|
|
1039
|
+
**Version**: [old-version] → [new-version]
|
|
1040
|
+
**Tag**: v[new-version]
|
|
1041
|
+
|
|
1042
|
+
### Commit Summary
|
|
1043
|
+
```
|
|
1044
|
+
|
|
1045
|
+
[type]([scope]): [description]
|
|
1046
|
+
|
|
1047
|
+
```
|
|
1048
|
+
|
|
1049
|
+
### Version Bump Reason
|
|
1050
|
+
- [Type of changes that triggered bump]
|
|
1051
|
+
|
|
1052
|
+
### Documents Updated
|
|
1053
|
+
→ `CHANGELOG.md` (updated with release notes)
|
|
1054
|
+
→ `package.json` (version bumped)
|
|
1055
|
+
|
|
1056
|
+
### Next Step
|
|
1057
|
+
→ `/create-pr` to create pull request
|
|
1058
|
+
```
|
|
1059
|
+
|
|
1060
|
+
**For commit failure:**
|
|
1061
|
+
|
|
1062
|
+
```markdown
|
|
1063
|
+
## ❌ Commit Failed
|
|
1064
|
+
|
|
1065
|
+
**Reason**: [Pre-commit hook failure | Validation error | etc.]
|
|
1066
|
+
|
|
1067
|
+
### Error Details
|
|
1068
|
+
|
|
1069
|
+
[Error message]
|
|
1070
|
+
|
|
1071
|
+
### Suggested Fix
|
|
1072
|
+
|
|
1073
|
+
- [How to resolve the issue]
|
|
1074
|
+
|
|
1075
|
+
### Next Step
|
|
1076
|
+
|
|
1077
|
+
→ Fix issues and re-run `/commit`
|
|
1078
|
+
```
|