specweave 0.16.7 → 0.16.12
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/.claude-plugin/marketplace.json +22 -0
- package/CLAUDE.md +56 -32
- package/bin/specweave.js +9 -0
- package/dist/cli/commands/revert-wip-limit.js +60 -0
- package/dist/cli/commands/sync-spec-commits.d.ts +9 -0
- package/dist/cli/commands/sync-spec-commits.d.ts.map +1 -0
- package/dist/cli/commands/sync-spec-commits.js +186 -0
- package/dist/cli/commands/sync-spec-commits.js.map +1 -0
- package/dist/core/agent-model-manager.d.ts +52 -0
- package/dist/core/agent-model-manager.d.ts.map +1 -0
- package/dist/core/agent-model-manager.js +120 -0
- package/dist/core/agent-model-manager.js.map +1 -0
- package/dist/core/comment-builder.d.ts +57 -0
- package/dist/core/comment-builder.d.ts.map +1 -0
- package/dist/core/comment-builder.js +239 -0
- package/dist/core/comment-builder.js.map +1 -0
- package/dist/core/model-selector.d.ts +57 -0
- package/dist/core/model-selector.d.ts.map +1 -0
- package/dist/core/model-selector.js +115 -0
- package/dist/core/model-selector.js.map +1 -0
- package/dist/core/phase-detector.d.ts +62 -0
- package/dist/core/phase-detector.d.ts.map +1 -0
- package/dist/core/phase-detector.js +229 -0
- package/dist/core/phase-detector.js.map +1 -0
- package/dist/core/spec-task-mapper.d.ts +71 -0
- package/dist/core/spec-task-mapper.d.ts.map +1 -0
- package/dist/core/spec-task-mapper.js +208 -0
- package/dist/core/spec-task-mapper.js.map +1 -0
- package/dist/hooks/lib/git-diff-analyzer.d.ts +89 -0
- package/dist/hooks/lib/git-diff-analyzer.d.ts.map +1 -0
- package/dist/hooks/lib/git-diff-analyzer.js +226 -0
- package/dist/hooks/lib/git-diff-analyzer.js.map +1 -0
- package/dist/hooks/lib/invoke-translator-skill.d.ts +60 -0
- package/dist/hooks/lib/invoke-translator-skill.d.ts.map +1 -0
- package/dist/hooks/lib/invoke-translator-skill.js +201 -0
- package/dist/hooks/lib/invoke-translator-skill.js.map +1 -0
- package/dist/hooks/lib/prepare-reflection-context.d.ts +42 -0
- package/dist/hooks/lib/prepare-reflection-context.d.ts.map +1 -0
- package/dist/hooks/lib/prepare-reflection-context.js +123 -0
- package/dist/hooks/lib/prepare-reflection-context.js.map +1 -0
- package/dist/hooks/lib/reflection-config-loader.d.ts +45 -0
- package/dist/hooks/lib/reflection-config-loader.d.ts.map +1 -0
- package/dist/hooks/lib/reflection-config-loader.js +132 -0
- package/dist/hooks/lib/reflection-config-loader.js.map +1 -0
- package/dist/hooks/lib/reflection-parser.d.ts +33 -0
- package/dist/hooks/lib/reflection-parser.d.ts.map +1 -0
- package/dist/hooks/lib/reflection-parser.js +419 -0
- package/dist/hooks/lib/reflection-parser.js.map +1 -0
- package/dist/hooks/lib/reflection-prompt-builder.d.ts +56 -0
- package/dist/hooks/lib/reflection-prompt-builder.d.ts.map +1 -0
- package/dist/hooks/lib/reflection-prompt-builder.js +239 -0
- package/dist/hooks/lib/reflection-prompt-builder.js.map +1 -0
- package/dist/hooks/lib/reflection-storage.d.ts +64 -0
- package/dist/hooks/lib/reflection-storage.d.ts.map +1 -0
- package/dist/hooks/lib/reflection-storage.js +305 -0
- package/dist/hooks/lib/reflection-storage.js.map +1 -0
- package/dist/hooks/lib/run-self-reflection.d.ts +43 -0
- package/dist/hooks/lib/run-self-reflection.d.ts.map +1 -0
- package/dist/hooks/lib/run-self-reflection.js +203 -0
- package/dist/hooks/lib/run-self-reflection.js.map +1 -0
- package/dist/hooks/lib/sync-living-docs.d.ts +27 -0
- package/dist/hooks/lib/sync-living-docs.d.ts.map +1 -0
- package/dist/hooks/lib/sync-living-docs.js +116 -0
- package/dist/hooks/lib/sync-living-docs.js.map +1 -0
- package/dist/hooks/lib/translate-file.d.ts +59 -0
- package/dist/hooks/lib/translate-file.d.ts.map +1 -0
- package/dist/hooks/lib/translate-file.js +350 -0
- package/dist/hooks/lib/translate-file.js.map +1 -0
- package/dist/hooks/lib/translate-living-docs.d.ts +13 -0
- package/dist/hooks/lib/translate-living-docs.d.ts.map +1 -0
- package/dist/hooks/lib/translate-living-docs.js +175 -0
- package/dist/hooks/lib/translate-living-docs.js.map +1 -0
- package/dist/hooks/lib/types/reflection-types.d.ts +164 -0
- package/dist/hooks/lib/types/reflection-types.d.ts.map +1 -0
- package/dist/hooks/lib/types/reflection-types.js +73 -0
- package/dist/hooks/lib/types/reflection-types.js.map +1 -0
- package/dist/hooks/lib/update-tasks-md.d.ts +29 -0
- package/dist/hooks/lib/update-tasks-md.d.ts.map +1 -0
- package/dist/hooks/lib/update-tasks-md.js +203 -0
- package/dist/hooks/lib/update-tasks-md.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +89 -0
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js +226 -0
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +60 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js +201 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +42 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js +123 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +45 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js +132 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts +33 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.js +419 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +56 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js +239 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts +64 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.js +305 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts +43 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.js +203 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts +27 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +180 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.d.ts +59 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.js +350 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts +13 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.js +175 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts +164 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.js +73 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts +29 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.js +203 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts +94 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.js +219 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts +134 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.js +478 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client.d.ts +112 -0
- package/dist/plugins/specweave-ado/lib/ado-client.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client.js +272 -0
- package/dist/plugins/specweave-ado/lib/ado-client.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts +40 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js +370 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.d.ts +149 -0
- package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.js +517 -0
- package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-project-detector.d.ts +72 -0
- package/dist/plugins/specweave-ado/lib/ado-project-detector.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-project-detector.js +416 -0
- package/dist/plugins/specweave-ado/lib/ado-project-detector.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts +38 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.js +210 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.d.ts +28 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js +241 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts +100 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.js +471 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/conflict-resolver.d.ts +99 -0
- package/dist/plugins/specweave-ado/lib/conflict-resolver.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/conflict-resolver.js +331 -0
- package/dist/plugins/specweave-ado/lib/conflict-resolver.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/project-selector.d.ts +42 -0
- package/dist/plugins/specweave-ado/lib/project-selector.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/project-selector.js +211 -0
- package/dist/plugins/specweave-ado/lib/project-selector.js.map +1 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts +12 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js +28 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts +54 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.js +122 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts +104 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.js +408 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts +96 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client.js +299 -0
- package/dist/plugins/specweave-github/lib/github-client.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts +29 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js +268 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts +61 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.js +327 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-multi-project-sync.d.ts +126 -0
- package/dist/plugins/specweave-github/lib/github-multi-project-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-multi-project-sync.js +420 -0
- package/dist/plugins/specweave-github/lib/github-multi-project-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-commit-sync.d.ts +37 -0
- package/dist/plugins/specweave-github/lib/github-spec-commit-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-commit-sync.js +209 -0
- package/dist/plugins/specweave-github/lib/github-spec-commit-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-content-sync.d.ts +28 -0
- package/dist/plugins/specweave-github/lib/github-spec-content-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-content-sync.js +195 -0
- package/dist/plugins/specweave-github/lib/github-spec-content-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts +108 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.js +505 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts +36 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js +228 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts +18 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js +287 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -0
- package/dist/plugins/specweave-github/lib/index.d.ts +10 -0
- package/dist/plugins/specweave-github/lib/index.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/index.js +10 -0
- package/dist/plugins/specweave-github/lib/index.js.map +1 -0
- package/dist/plugins/specweave-github/lib/repo-selector.d.ts +49 -0
- package/dist/plugins/specweave-github/lib/repo-selector.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/repo-selector.js +216 -0
- package/dist/plugins/specweave-github/lib/repo-selector.js.map +1 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.d.ts +51 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.js +147 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/task-parser.d.ts +37 -0
- package/dist/plugins/specweave-github/lib/task-parser.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/task-parser.js +211 -0
- package/dist/plugins/specweave-github/lib/task-parser.js.map +1 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts +51 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/task-sync.js +332 -0
- package/dist/plugins/specweave-github/lib/task-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/types.d.ts +80 -0
- package/dist/plugins/specweave-github/lib/types.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/types.js +5 -0
- package/dist/plugins/specweave-github/lib/types.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts +50 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.js +84 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts +33 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js +206 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.d.ts +95 -0
- package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.js +301 -0
- package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts +43 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.js +282 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.d.ts +33 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.js +294 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts +105 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.js +456 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/project-selector.d.ts +42 -0
- package/dist/plugins/specweave-jira/lib/project-selector.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/project-selector.js +216 -0
- package/dist/plugins/specweave-jira/lib/project-selector.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts +67 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.js +252 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts +29 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.js +219 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.js.map +1 -0
- package/dist/plugins/specweave-release/lib/dashboard-generator.d.ts +23 -0
- package/dist/plugins/specweave-release/lib/dashboard-generator.d.ts.map +1 -0
- package/dist/plugins/specweave-release/lib/dashboard-generator.js +258 -0
- package/dist/plugins/specweave-release/lib/dashboard-generator.js.map +1 -0
- package/dist/plugins/specweave-release/lib/dora-tracker.d.ts +82 -0
- package/dist/plugins/specweave-release/lib/dora-tracker.d.ts.map +1 -0
- package/dist/plugins/specweave-release/lib/dora-tracker.js +279 -0
- package/dist/plugins/specweave-release/lib/dora-tracker.js.map +1 -0
- package/dist/project-mapper.js +272 -0
- package/dist/scripts/split-spec-by-project.js +105 -0
- package/dist/spec-splitter.js +283 -0
- package/dist/src/adapters/adapter-base.d.ts +71 -0
- package/dist/src/adapters/adapter-base.d.ts.map +1 -0
- package/dist/src/adapters/adapter-base.js +139 -0
- package/dist/src/adapters/adapter-base.js.map +1 -0
- package/dist/src/adapters/adapter-interface.d.ts +149 -0
- package/dist/src/adapters/adapter-interface.d.ts.map +1 -0
- package/dist/src/adapters/adapter-interface.js +8 -0
- package/dist/src/adapters/adapter-interface.js.map +1 -0
- package/dist/src/adapters/adapter-loader.d.ts +91 -0
- package/dist/src/adapters/adapter-loader.d.ts.map +1 -0
- package/dist/src/adapters/adapter-loader.js +238 -0
- package/dist/src/adapters/adapter-loader.js.map +1 -0
- package/dist/src/adapters/agents-md-generator.d.ts +48 -0
- package/dist/src/adapters/agents-md-generator.d.ts.map +1 -0
- package/dist/src/adapters/agents-md-generator.js +193 -0
- package/dist/src/adapters/agents-md-generator.js.map +1 -0
- package/dist/src/adapters/claude/adapter.d.ts +128 -0
- package/dist/src/adapters/claude/adapter.d.ts.map +1 -0
- package/dist/src/adapters/claude/adapter.js +415 -0
- package/dist/src/adapters/claude/adapter.js.map +1 -0
- package/dist/src/adapters/claude-md-generator.d.ts +78 -0
- package/dist/src/adapters/claude-md-generator.d.ts.map +1 -0
- package/dist/src/adapters/claude-md-generator.js +307 -0
- package/dist/src/adapters/claude-md-generator.js.map +1 -0
- package/dist/src/adapters/codex/adapter.d.ts +50 -0
- package/dist/src/adapters/codex/adapter.d.ts.map +1 -0
- package/dist/src/adapters/codex/adapter.js +316 -0
- package/dist/src/adapters/codex/adapter.js.map +1 -0
- package/dist/src/adapters/cursor/adapter.d.ts +98 -0
- package/dist/src/adapters/cursor/adapter.d.ts.map +1 -0
- package/dist/src/adapters/cursor/adapter.js +406 -0
- package/dist/src/adapters/cursor/adapter.js.map +1 -0
- package/dist/src/adapters/doc-generator.d.ts +69 -0
- package/dist/src/adapters/doc-generator.d.ts.map +1 -0
- package/dist/src/adapters/doc-generator.js +247 -0
- package/dist/src/adapters/doc-generator.js.map +1 -0
- package/dist/src/adapters/gemini/adapter.d.ts +50 -0
- package/dist/src/adapters/gemini/adapter.d.ts.map +1 -0
- package/dist/src/adapters/gemini/adapter.js +281 -0
- package/dist/src/adapters/gemini/adapter.js.map +1 -0
- package/dist/src/adapters/generic/adapter.d.ts +86 -0
- package/dist/src/adapters/generic/adapter.d.ts.map +1 -0
- package/dist/src/adapters/generic/adapter.js +338 -0
- package/dist/src/adapters/generic/adapter.js.map +1 -0
- package/dist/src/cli/commands/abandon.d.ts +13 -0
- package/dist/src/cli/commands/abandon.d.ts.map +1 -0
- package/dist/src/cli/commands/abandon.js +15 -0
- package/dist/src/cli/commands/abandon.js.map +1 -0
- package/dist/src/cli/commands/check-discipline.d.ts +16 -0
- package/dist/src/cli/commands/check-discipline.d.ts.map +1 -0
- package/dist/src/cli/commands/check-discipline.js +79 -0
- package/dist/src/cli/commands/check-discipline.js.map +1 -0
- package/dist/src/cli/commands/import-docs.d.ts +21 -0
- package/dist/src/cli/commands/import-docs.d.ts.map +1 -0
- package/dist/src/cli/commands/import-docs.js +146 -0
- package/dist/src/cli/commands/import-docs.js.map +1 -0
- package/dist/src/cli/commands/init-multiproject.d.ts +11 -0
- package/dist/src/cli/commands/init-multiproject.d.ts.map +1 -0
- package/dist/src/cli/commands/init-multiproject.js +202 -0
- package/dist/src/cli/commands/init-multiproject.js.map +1 -0
- package/dist/src/cli/commands/init.d.ts +10 -0
- package/dist/src/cli/commands/init.d.ts.map +1 -0
- package/dist/src/cli/commands/init.js +1328 -0
- package/dist/src/cli/commands/init.js.map +1 -0
- package/dist/src/cli/commands/install.d.ts +9 -0
- package/dist/src/cli/commands/install.d.ts.map +1 -0
- package/dist/src/cli/commands/install.js +127 -0
- package/dist/src/cli/commands/install.js.map +1 -0
- package/dist/src/cli/commands/list.d.ts +8 -0
- package/dist/src/cli/commands/list.d.ts.map +1 -0
- package/dist/src/cli/commands/list.js +119 -0
- package/dist/src/cli/commands/list.js.map +1 -0
- package/dist/src/cli/commands/migrate-to-multiproject.d.ts +37 -0
- package/dist/src/cli/commands/migrate-to-multiproject.d.ts.map +1 -0
- package/dist/src/cli/commands/migrate-to-multiproject.js +189 -0
- package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -0
- package/dist/src/cli/commands/migrate-to-profiles.d.ts +57 -0
- package/dist/src/cli/commands/migrate-to-profiles.d.ts.map +1 -0
- package/dist/src/cli/commands/migrate-to-profiles.js +350 -0
- package/dist/src/cli/commands/migrate-to-profiles.js.map +1 -0
- package/dist/src/cli/commands/pause.d.ts +13 -0
- package/dist/src/cli/commands/pause.d.ts.map +1 -0
- package/dist/src/cli/commands/pause.js +15 -0
- package/dist/src/cli/commands/pause.js.map +1 -0
- package/dist/src/cli/commands/qa.d.ts +54 -0
- package/dist/src/cli/commands/qa.d.ts.map +1 -0
- package/dist/src/cli/commands/qa.js +98 -0
- package/dist/src/cli/commands/qa.js.map +1 -0
- package/dist/src/cli/commands/resume.d.ts +12 -0
- package/dist/src/cli/commands/resume.d.ts.map +1 -0
- package/dist/src/cli/commands/resume.js +14 -0
- package/dist/src/cli/commands/resume.js.map +1 -0
- package/dist/src/cli/commands/revert-wip-limit.d.ts +8 -0
- package/dist/src/cli/commands/revert-wip-limit.d.ts.map +1 -0
- package/dist/src/cli/commands/revert-wip-limit.js +61 -0
- package/dist/src/cli/commands/revert-wip-limit.js.map +1 -0
- package/dist/src/cli/commands/status-line.d.ts +14 -0
- package/dist/src/cli/commands/status-line.d.ts.map +1 -0
- package/dist/src/cli/commands/status-line.js +75 -0
- package/dist/src/cli/commands/status-line.js.map +1 -0
- package/dist/src/cli/commands/status.d.ts +12 -0
- package/dist/src/cli/commands/status.d.ts.map +1 -0
- package/dist/src/cli/commands/status.js +23 -0
- package/dist/src/cli/commands/status.js.map +1 -0
- package/dist/src/cli/commands/switch-project.d.ts +13 -0
- package/dist/src/cli/commands/switch-project.d.ts.map +1 -0
- package/dist/src/cli/commands/switch-project.js +91 -0
- package/dist/src/cli/commands/switch-project.js.map +1 -0
- package/dist/src/cli/commands/sync-spec-commits.d.ts +9 -0
- package/dist/src/cli/commands/sync-spec-commits.d.ts.map +1 -0
- package/dist/src/cli/commands/sync-spec-commits.js +186 -0
- package/dist/src/cli/commands/sync-spec-commits.js.map +1 -0
- package/dist/src/cli/commands/sync-spec-content.d.ts +13 -0
- package/dist/src/cli/commands/sync-spec-content.d.ts.map +1 -0
- package/dist/src/cli/commands/sync-spec-content.js +223 -0
- package/dist/src/cli/commands/sync-spec-content.js.map +1 -0
- package/dist/src/cli/commands/validate-jira.d.ts +35 -0
- package/dist/src/cli/commands/validate-jira.d.ts.map +1 -0
- package/dist/src/cli/commands/validate-jira.js +112 -0
- package/dist/src/cli/commands/validate-jira.js.map +1 -0
- package/dist/src/cli/commands/validate-plugins.d.ts +41 -0
- package/dist/src/cli/commands/validate-plugins.d.ts.map +1 -0
- package/dist/src/cli/commands/validate-plugins.js +171 -0
- package/dist/src/cli/commands/validate-plugins.js.map +1 -0
- package/dist/src/cli/helpers/github/increment-profile-selector.d.ts +47 -0
- package/dist/src/cli/helpers/github/increment-profile-selector.d.ts.map +1 -0
- package/dist/src/cli/helpers/github/increment-profile-selector.js +186 -0
- package/dist/src/cli/helpers/github/increment-profile-selector.js.map +1 -0
- package/dist/src/cli/helpers/github/profile-manager.d.ts +119 -0
- package/dist/src/cli/helpers/github/profile-manager.d.ts.map +1 -0
- package/dist/src/cli/helpers/github/profile-manager.js +311 -0
- package/dist/src/cli/helpers/github/profile-manager.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/ado.d.ts +57 -0
- package/dist/src/cli/helpers/issue-tracker/ado.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/ado.js +248 -0
- package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/github-multi-repo.d.ts +86 -0
- package/dist/src/cli/helpers/issue-tracker/github-multi-repo.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js +417 -0
- package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/github.d.ts +80 -0
- package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/github.js +324 -0
- package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/index.d.ts +22 -0
- package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/index.js +575 -0
- package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/jira.d.ts +61 -0
- package/dist/src/cli/helpers/issue-tracker/jira.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/jira.js +409 -0
- package/dist/src/cli/helpers/issue-tracker/jira.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/types.d.ts +108 -0
- package/dist/src/cli/helpers/issue-tracker/types.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/types.js +16 -0
- package/dist/src/cli/helpers/issue-tracker/types.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/utils.d.ts +120 -0
- package/dist/src/cli/helpers/issue-tracker/utils.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/utils.js +293 -0
- package/dist/src/cli/helpers/issue-tracker/utils.js.map +1 -0
- package/dist/src/core/agent-model-manager.d.ts +52 -0
- package/dist/src/core/agent-model-manager.d.ts.map +1 -0
- package/dist/src/core/agent-model-manager.js +120 -0
- package/dist/src/core/agent-model-manager.js.map +1 -0
- package/dist/src/core/brownfield/analyzer.d.ts +86 -0
- package/dist/src/core/brownfield/analyzer.d.ts.map +1 -0
- package/dist/src/core/brownfield/analyzer.js +365 -0
- package/dist/src/core/brownfield/analyzer.js.map +1 -0
- package/dist/src/core/brownfield/importer.d.ts +76 -0
- package/dist/src/core/brownfield/importer.d.ts.map +1 -0
- package/dist/src/core/brownfield/importer.js +287 -0
- package/dist/src/core/brownfield/importer.js.map +1 -0
- package/dist/src/core/comment-builder.d.ts +57 -0
- package/dist/src/core/comment-builder.d.ts.map +1 -0
- package/dist/src/core/comment-builder.js +239 -0
- package/dist/src/core/comment-builder.js.map +1 -0
- package/dist/src/core/config-manager.d.ts +47 -0
- package/dist/src/core/config-manager.d.ts.map +1 -0
- package/dist/src/core/config-manager.js +136 -0
- package/dist/src/core/config-manager.js.map +1 -0
- package/dist/src/core/cost-tracker.d.ts +108 -0
- package/dist/src/core/cost-tracker.d.ts.map +1 -0
- package/dist/src/core/cost-tracker.js +281 -0
- package/dist/src/core/cost-tracker.js.map +1 -0
- package/dist/src/core/credentials-manager.d.ts +107 -0
- package/dist/src/core/credentials-manager.d.ts.map +1 -0
- package/dist/src/core/credentials-manager.js +457 -0
- package/dist/src/core/credentials-manager.js.map +1 -0
- package/dist/src/core/i18n/language-detector.d.ts +29 -0
- package/dist/src/core/i18n/language-detector.d.ts.map +1 -0
- package/dist/src/core/i18n/language-detector.js +143 -0
- package/dist/src/core/i18n/language-detector.js.map +1 -0
- package/dist/src/core/i18n/language-manager.d.ts +101 -0
- package/dist/src/core/i18n/language-manager.d.ts.map +1 -0
- package/dist/src/core/i18n/language-manager.js +232 -0
- package/dist/src/core/i18n/language-manager.js.map +1 -0
- package/dist/src/core/i18n/language-registry.d.ts +44 -0
- package/dist/src/core/i18n/language-registry.d.ts.map +1 -0
- package/dist/src/core/i18n/language-registry.js +234 -0
- package/dist/src/core/i18n/language-registry.js.map +1 -0
- package/dist/src/core/i18n/locale-manager.d.ts +62 -0
- package/dist/src/core/i18n/locale-manager.d.ts.map +1 -0
- package/dist/src/core/i18n/locale-manager.js +137 -0
- package/dist/src/core/i18n/locale-manager.js.map +1 -0
- package/dist/src/core/i18n/system-prompt-injector.d.ts +33 -0
- package/dist/src/core/i18n/system-prompt-injector.d.ts.map +1 -0
- package/dist/src/core/i18n/system-prompt-injector.js +131 -0
- package/dist/src/core/i18n/system-prompt-injector.js.map +1 -0
- package/dist/src/core/i18n/types.d.ts +151 -0
- package/dist/src/core/i18n/types.d.ts.map +1 -0
- package/dist/src/core/i18n/types.js +11 -0
- package/dist/src/core/i18n/types.js.map +1 -0
- package/dist/src/core/increment/active-increment-manager.d.ts +79 -0
- package/dist/src/core/increment/active-increment-manager.d.ts.map +1 -0
- package/dist/src/core/increment/active-increment-manager.js +153 -0
- package/dist/src/core/increment/active-increment-manager.js.map +1 -0
- package/dist/src/core/increment/discipline-checker.d.ts +60 -0
- package/dist/src/core/increment/discipline-checker.d.ts.map +1 -0
- package/dist/src/core/increment/discipline-checker.js +274 -0
- package/dist/src/core/increment/discipline-checker.js.map +1 -0
- package/dist/src/core/increment/limits.d.ts +68 -0
- package/dist/src/core/increment/limits.d.ts.map +1 -0
- package/dist/src/core/increment/limits.js +224 -0
- package/dist/src/core/increment/limits.js.map +1 -0
- package/dist/src/core/increment/metadata-manager.d.ts +116 -0
- package/dist/src/core/increment/metadata-manager.d.ts.map +1 -0
- package/dist/{core → src/core}/increment/metadata-manager.js +6 -0
- package/dist/src/core/increment/metadata-manager.js.map +1 -0
- package/dist/src/core/increment/metadata-validator.d.ts +33 -0
- package/dist/src/core/increment/metadata-validator.d.ts.map +1 -0
- package/dist/src/core/increment/metadata-validator.js +147 -0
- package/dist/src/core/increment/metadata-validator.js.map +1 -0
- package/dist/src/core/increment/status-commands.d.ts +43 -0
- package/dist/src/core/increment/status-commands.d.ts.map +1 -0
- package/dist/src/core/increment/status-commands.js +277 -0
- package/dist/src/core/increment/status-commands.js.map +1 -0
- package/dist/src/core/increment/types.d.ts +88 -0
- package/dist/src/core/increment/types.d.ts.map +1 -0
- package/dist/src/core/increment/types.js +8 -0
- package/dist/src/core/increment/types.js.map +1 -0
- package/dist/src/core/increment-status.d.ts +72 -0
- package/dist/src/core/increment-status.d.ts.map +1 -0
- package/dist/src/core/increment-status.js +227 -0
- package/dist/src/core/increment-status.js.map +1 -0
- package/dist/src/core/model-selector.d.ts +57 -0
- package/dist/src/core/model-selector.d.ts.map +1 -0
- package/dist/src/core/model-selector.js +115 -0
- package/dist/src/core/model-selector.js.map +1 -0
- package/dist/src/core/phase-detector.d.ts +62 -0
- package/dist/src/core/phase-detector.d.ts.map +1 -0
- package/dist/src/core/phase-detector.js +229 -0
- package/dist/src/core/phase-detector.js.map +1 -0
- package/dist/src/core/plugin-loader.d.ts +131 -0
- package/dist/src/core/plugin-loader.d.ts.map +1 -0
- package/dist/src/core/plugin-loader.js +421 -0
- package/dist/src/core/plugin-loader.js.map +1 -0
- package/dist/src/core/project-manager.d.ts +122 -0
- package/dist/src/core/project-manager.d.ts.map +1 -0
- package/dist/src/core/project-manager.js +539 -0
- package/dist/src/core/project-manager.js.map +1 -0
- package/dist/src/core/project-structure-detector.d.ts +92 -0
- package/dist/src/core/project-structure-detector.d.ts.map +1 -0
- package/dist/src/core/project-structure-detector.js +289 -0
- package/dist/src/core/project-structure-detector.js.map +1 -0
- package/dist/src/core/qa/qa-runner.d.ts +16 -0
- package/dist/src/core/qa/qa-runner.d.ts.map +1 -0
- package/dist/src/core/qa/qa-runner.js +422 -0
- package/dist/src/core/qa/qa-runner.js.map +1 -0
- package/dist/src/core/qa/quality-gate-decider.d.ts +53 -0
- package/dist/src/core/qa/quality-gate-decider.d.ts.map +1 -0
- package/dist/src/core/qa/quality-gate-decider.js +268 -0
- package/dist/src/core/qa/quality-gate-decider.js.map +1 -0
- package/dist/src/core/qa/risk-calculator.d.ts +126 -0
- package/dist/src/core/qa/risk-calculator.d.ts.map +1 -0
- package/dist/src/core/qa/risk-calculator.js +247 -0
- package/dist/src/core/qa/risk-calculator.js.map +1 -0
- package/dist/src/core/qa/types.d.ts +315 -0
- package/dist/src/core/qa/types.d.ts.map +1 -0
- package/dist/src/core/qa/types.js +8 -0
- package/dist/src/core/qa/types.js.map +1 -0
- package/dist/src/core/repo-structure/github-validator.d.ts +75 -0
- package/dist/src/core/repo-structure/github-validator.d.ts.map +1 -0
- package/dist/src/core/repo-structure/github-validator.js +166 -0
- package/dist/src/core/repo-structure/github-validator.js.map +1 -0
- package/dist/src/core/repo-structure/prompt-consolidator.d.ts +70 -0
- package/dist/src/core/repo-structure/prompt-consolidator.d.ts.map +1 -0
- package/dist/src/core/repo-structure/prompt-consolidator.js +180 -0
- package/dist/src/core/repo-structure/prompt-consolidator.js.map +1 -0
- package/dist/src/core/repo-structure/repo-id-generator.d.ts +79 -0
- package/dist/src/core/repo-structure/repo-id-generator.d.ts.map +1 -0
- package/dist/src/core/repo-structure/repo-id-generator.js +135 -0
- package/dist/src/core/repo-structure/repo-id-generator.js.map +1 -0
- package/dist/src/core/repo-structure/repo-structure-manager.d.ts +105 -0
- package/dist/src/core/repo-structure/repo-structure-manager.d.ts.map +1 -0
- package/dist/src/core/repo-structure/repo-structure-manager.js +878 -0
- package/dist/src/core/repo-structure/repo-structure-manager.js.map +1 -0
- package/dist/src/core/repo-structure/setup-state-manager.d.ts +132 -0
- package/dist/src/core/repo-structure/setup-state-manager.d.ts.map +1 -0
- package/dist/src/core/repo-structure/setup-state-manager.js +259 -0
- package/dist/src/core/repo-structure/setup-state-manager.js.map +1 -0
- package/dist/src/core/repo-structure/setup-summary.d.ts +36 -0
- package/dist/src/core/repo-structure/setup-summary.d.ts.map +1 -0
- package/dist/src/core/repo-structure/setup-summary.js +190 -0
- package/dist/src/core/repo-structure/setup-summary.js.map +1 -0
- package/dist/src/core/rfc-generator-v2.d.ts +149 -0
- package/dist/src/core/rfc-generator-v2.d.ts.map +1 -0
- package/dist/src/core/rfc-generator-v2.js +399 -0
- package/dist/src/core/rfc-generator-v2.js.map +1 -0
- package/dist/src/core/spec-content-sync.d.ts +78 -0
- package/dist/src/core/spec-content-sync.d.ts.map +1 -0
- package/dist/src/core/spec-content-sync.js +222 -0
- package/dist/src/core/spec-content-sync.js.map +1 -0
- package/dist/src/core/spec-task-mapper.d.ts +71 -0
- package/dist/src/core/spec-task-mapper.d.ts.map +1 -0
- package/dist/src/core/spec-task-mapper.js +208 -0
- package/dist/src/core/spec-task-mapper.js.map +1 -0
- package/dist/src/core/specs/spec-metadata-manager.d.ts +72 -0
- package/dist/src/core/specs/spec-metadata-manager.d.ts.map +1 -0
- package/dist/src/core/specs/spec-metadata-manager.js +364 -0
- package/dist/src/core/specs/spec-metadata-manager.js.map +1 -0
- package/dist/src/core/specs/spec-parser.d.ts +66 -0
- package/dist/src/core/specs/spec-parser.d.ts.map +1 -0
- package/dist/src/core/specs/spec-parser.js +276 -0
- package/dist/src/core/specs/spec-parser.js.map +1 -0
- package/dist/src/core/status-line/status-line-manager.d.ts +62 -0
- package/dist/src/core/status-line/status-line-manager.d.ts.map +1 -0
- package/dist/src/core/status-line/status-line-manager.js +169 -0
- package/dist/src/core/status-line/status-line-manager.js.map +1 -0
- package/dist/src/core/status-line/types.d.ts +50 -0
- package/dist/src/core/status-line/types.d.ts.map +1 -0
- package/dist/src/core/status-line/types.js +17 -0
- package/dist/src/core/status-line/types.js.map +1 -0
- package/dist/src/core/sync/bidirectional-engine.d.ts +110 -0
- package/dist/src/core/sync/bidirectional-engine.d.ts.map +1 -0
- package/dist/src/core/sync/bidirectional-engine.js +356 -0
- package/dist/src/core/sync/bidirectional-engine.js.map +1 -0
- package/dist/src/core/sync/folder-mapper.d.ts +71 -0
- package/dist/src/core/sync/folder-mapper.d.ts.map +1 -0
- package/dist/src/core/sync/folder-mapper.js +203 -0
- package/dist/src/core/sync/folder-mapper.js.map +1 -0
- package/dist/src/core/sync/profile-manager.d.ts +72 -0
- package/dist/src/core/sync/profile-manager.d.ts.map +1 -0
- package/dist/src/core/sync/profile-manager.js +338 -0
- package/dist/src/core/sync/profile-manager.js.map +1 -0
- package/dist/src/core/sync/profile-selector.d.ts +52 -0
- package/dist/src/core/sync/profile-selector.d.ts.map +1 -0
- package/dist/src/core/sync/profile-selector.js +179 -0
- package/dist/src/core/sync/profile-selector.js.map +1 -0
- package/dist/src/core/sync/profile-validator.d.ts +52 -0
- package/dist/src/core/sync/profile-validator.d.ts.map +1 -0
- package/dist/src/core/sync/profile-validator.js +170 -0
- package/dist/src/core/sync/profile-validator.js.map +1 -0
- package/dist/src/core/sync/project-context.d.ts +81 -0
- package/dist/src/core/sync/project-context.d.ts.map +1 -0
- package/dist/src/core/sync/project-context.js +354 -0
- package/dist/src/core/sync/project-context.js.map +1 -0
- package/dist/src/core/sync/rate-limiter.d.ts +116 -0
- package/dist/src/core/sync/rate-limiter.d.ts.map +1 -0
- package/dist/src/core/sync/rate-limiter.js +308 -0
- package/dist/src/core/sync/rate-limiter.js.map +1 -0
- package/dist/src/core/sync/time-range-selector.d.ts +48 -0
- package/dist/src/core/sync/time-range-selector.d.ts.map +1 -0
- package/dist/src/core/sync/time-range-selector.js +224 -0
- package/dist/src/core/sync/time-range-selector.js.map +1 -0
- package/dist/src/core/types/config.d.ts +90 -0
- package/dist/src/core/types/config.d.ts.map +1 -0
- package/dist/src/core/types/config.js +44 -0
- package/dist/src/core/types/config.js.map +1 -0
- package/dist/src/core/types/increment-metadata.d.ts +120 -0
- package/dist/src/core/types/increment-metadata.d.ts.map +1 -0
- package/dist/src/core/types/increment-metadata.js +138 -0
- package/dist/src/core/types/increment-metadata.js.map +1 -0
- package/dist/src/core/types/plugin.d.ts +283 -0
- package/dist/src/core/types/plugin.d.ts.map +1 -0
- package/dist/src/core/types/plugin.js +49 -0
- package/dist/src/core/types/plugin.js.map +1 -0
- package/dist/src/core/types/spec-metadata.d.ts +229 -0
- package/dist/src/core/types/spec-metadata.d.ts.map +1 -0
- package/dist/src/core/types/spec-metadata.js +14 -0
- package/dist/src/core/types/spec-metadata.js.map +1 -0
- package/dist/src/core/types/sync-profile.d.ts +349 -0
- package/dist/src/core/types/sync-profile.d.ts.map +1 -0
- package/dist/src/core/types/sync-profile.js +79 -0
- package/dist/src/core/types/sync-profile.js.map +1 -0
- package/dist/src/hooks/lib/git-diff-analyzer.d.ts +89 -0
- package/dist/src/hooks/lib/git-diff-analyzer.d.ts.map +1 -0
- package/dist/src/hooks/lib/git-diff-analyzer.js +226 -0
- package/dist/src/hooks/lib/git-diff-analyzer.js.map +1 -0
- package/dist/src/hooks/lib/invoke-translator-skill.d.ts +60 -0
- package/dist/src/hooks/lib/invoke-translator-skill.d.ts.map +1 -0
- package/dist/src/hooks/lib/invoke-translator-skill.js +201 -0
- package/dist/src/hooks/lib/invoke-translator-skill.js.map +1 -0
- package/dist/src/hooks/lib/prepare-reflection-context.d.ts +42 -0
- package/dist/src/hooks/lib/prepare-reflection-context.d.ts.map +1 -0
- package/dist/src/hooks/lib/prepare-reflection-context.js +123 -0
- package/dist/src/hooks/lib/prepare-reflection-context.js.map +1 -0
- package/dist/src/hooks/lib/reflection-config-loader.d.ts +45 -0
- package/dist/src/hooks/lib/reflection-config-loader.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-config-loader.js +132 -0
- package/dist/src/hooks/lib/reflection-config-loader.js.map +1 -0
- package/dist/src/hooks/lib/reflection-parser.d.ts +33 -0
- package/dist/src/hooks/lib/reflection-parser.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-parser.js +419 -0
- package/dist/src/hooks/lib/reflection-parser.js.map +1 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.d.ts +56 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.js +239 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.js.map +1 -0
- package/dist/src/hooks/lib/reflection-storage.d.ts +64 -0
- package/dist/src/hooks/lib/reflection-storage.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-storage.js +305 -0
- package/dist/src/hooks/lib/reflection-storage.js.map +1 -0
- package/dist/src/hooks/lib/run-self-reflection.d.ts +43 -0
- package/dist/src/hooks/lib/run-self-reflection.d.ts.map +1 -0
- package/dist/src/hooks/lib/run-self-reflection.js +203 -0
- package/dist/src/hooks/lib/run-self-reflection.js.map +1 -0
- package/dist/src/hooks/lib/sync-living-docs.d.ts +27 -0
- package/dist/src/hooks/lib/sync-living-docs.d.ts.map +1 -0
- package/dist/src/hooks/lib/sync-living-docs.js +116 -0
- package/dist/src/hooks/lib/sync-living-docs.js.map +1 -0
- package/dist/src/hooks/lib/translate-file.d.ts +59 -0
- package/dist/src/hooks/lib/translate-file.d.ts.map +1 -0
- package/dist/src/hooks/lib/translate-file.js +350 -0
- package/dist/src/hooks/lib/translate-file.js.map +1 -0
- package/dist/src/hooks/lib/translate-living-docs.d.ts +13 -0
- package/dist/src/hooks/lib/translate-living-docs.d.ts.map +1 -0
- package/dist/src/hooks/lib/translate-living-docs.js +175 -0
- package/dist/src/hooks/lib/translate-living-docs.js.map +1 -0
- package/dist/src/hooks/lib/types/reflection-types.d.ts +164 -0
- package/dist/src/hooks/lib/types/reflection-types.d.ts.map +1 -0
- package/dist/src/hooks/lib/types/reflection-types.js +73 -0
- package/dist/src/hooks/lib/types/reflection-types.js.map +1 -0
- package/dist/src/hooks/lib/update-tasks-md.d.ts +29 -0
- package/dist/src/hooks/lib/update-tasks-md.d.ts.map +1 -0
- package/dist/src/hooks/lib/update-tasks-md.js +203 -0
- package/dist/src/hooks/lib/update-tasks-md.js.map +1 -0
- package/dist/src/integrations/ado/ado-client.d.ts +127 -0
- package/dist/src/integrations/ado/ado-client.d.ts.map +1 -0
- package/dist/src/integrations/ado/ado-client.js +416 -0
- package/dist/src/integrations/ado/ado-client.js.map +1 -0
- package/dist/src/integrations/jira/jira-client.d.ts +139 -0
- package/dist/src/integrations/jira/jira-client.d.ts.map +1 -0
- package/dist/src/integrations/jira/jira-client.js +386 -0
- package/dist/src/integrations/jira/jira-client.js.map +1 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +75 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +1 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.js +474 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.js.map +1 -0
- package/dist/src/integrations/jira/jira-mapper.d.ts +105 -0
- package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -0
- package/dist/src/integrations/jira/jira-mapper.js +494 -0
- package/dist/src/integrations/jira/jira-mapper.js.map +1 -0
- package/dist/src/metrics/calculators/change-failure-rate.d.ts +22 -0
- package/dist/src/metrics/calculators/change-failure-rate.d.ts.map +1 -0
- package/dist/src/metrics/calculators/change-failure-rate.js +70 -0
- package/dist/src/metrics/calculators/change-failure-rate.js.map +1 -0
- package/dist/src/metrics/calculators/deployment-frequency.d.ts +20 -0
- package/dist/src/metrics/calculators/deployment-frequency.d.ts.map +1 -0
- package/dist/src/metrics/calculators/deployment-frequency.js +61 -0
- package/dist/src/metrics/calculators/deployment-frequency.js.map +1 -0
- package/dist/src/metrics/calculators/lead-time.d.ts +22 -0
- package/dist/src/metrics/calculators/lead-time.d.ts.map +1 -0
- package/dist/src/metrics/calculators/lead-time.js +82 -0
- package/dist/src/metrics/calculators/lead-time.js.map +1 -0
- package/dist/src/metrics/calculators/mttr.d.ts +21 -0
- package/dist/src/metrics/calculators/mttr.d.ts.map +1 -0
- package/dist/src/metrics/calculators/mttr.js +60 -0
- package/dist/src/metrics/calculators/mttr.js.map +1 -0
- package/dist/src/metrics/dora-calculator.d.ts +28 -0
- package/dist/src/metrics/dora-calculator.d.ts.map +1 -0
- package/dist/src/metrics/dora-calculator.js +117 -0
- package/dist/src/metrics/dora-calculator.js.map +1 -0
- package/dist/src/metrics/github-client.d.ts +51 -0
- package/dist/src/metrics/github-client.d.ts.map +1 -0
- package/dist/src/metrics/github-client.js +133 -0
- package/dist/src/metrics/github-client.js.map +1 -0
- package/dist/src/metrics/report-generator.d.ts +17 -0
- package/dist/src/metrics/report-generator.d.ts.map +1 -0
- package/dist/src/metrics/report-generator.js +403 -0
- package/dist/src/metrics/report-generator.js.map +1 -0
- package/dist/src/metrics/types.d.ts +112 -0
- package/dist/src/metrics/types.d.ts.map +1 -0
- package/dist/src/metrics/types.js +10 -0
- package/dist/src/metrics/types.js.map +1 -0
- package/dist/src/metrics/utils/percentile.d.ts +25 -0
- package/dist/src/metrics/utils/percentile.d.ts.map +1 -0
- package/dist/src/metrics/utils/percentile.js +46 -0
- package/dist/src/metrics/utils/percentile.js.map +1 -0
- package/dist/src/metrics/utils/tier-classifier.d.ts +61 -0
- package/dist/src/metrics/utils/tier-classifier.d.ts.map +1 -0
- package/dist/src/metrics/utils/tier-classifier.js +100 -0
- package/dist/src/metrics/utils/tier-classifier.js.map +1 -0
- package/dist/src/testing/test-generator.d.ts +117 -0
- package/dist/src/testing/test-generator.d.ts.map +1 -0
- package/dist/src/testing/test-generator.js +370 -0
- package/dist/src/testing/test-generator.js.map +1 -0
- package/dist/src/types/cost-tracking.d.ts +43 -0
- package/dist/src/types/cost-tracking.d.ts.map +1 -0
- package/dist/src/types/cost-tracking.js +8 -0
- package/dist/src/types/cost-tracking.js.map +1 -0
- package/dist/src/types/model-selection.d.ts +53 -0
- package/dist/src/types/model-selection.d.ts.map +1 -0
- package/dist/src/types/model-selection.js +12 -0
- package/dist/src/types/model-selection.js.map +1 -0
- package/dist/src/utils/agents-md-compiler.d.ts +68 -0
- package/dist/src/utils/agents-md-compiler.d.ts.map +1 -0
- package/dist/src/utils/agents-md-compiler.js +420 -0
- package/dist/src/utils/agents-md-compiler.js.map +1 -0
- package/dist/src/utils/auth-helpers.d.ts +58 -0
- package/dist/src/utils/auth-helpers.d.ts.map +1 -0
- package/dist/src/utils/auth-helpers.js +108 -0
- package/dist/src/utils/auth-helpers.js.map +1 -0
- package/dist/src/utils/auto-install.d.ts +47 -0
- package/dist/src/utils/auto-install.d.ts.map +1 -0
- package/dist/src/utils/auto-install.js +211 -0
- package/dist/src/utils/auto-install.js.map +1 -0
- package/dist/src/utils/claude-cli-detector.d.ts +75 -0
- package/dist/src/utils/claude-cli-detector.d.ts.map +1 -0
- package/dist/src/utils/claude-cli-detector.js +285 -0
- package/dist/src/utils/claude-cli-detector.js.map +1 -0
- package/dist/src/utils/cost-reporter.d.ts +58 -0
- package/dist/src/utils/cost-reporter.d.ts.map +1 -0
- package/dist/src/utils/cost-reporter.js +224 -0
- package/dist/src/utils/cost-reporter.js.map +1 -0
- package/dist/src/utils/docs-preview/config-generator.d.ts +46 -0
- package/dist/src/utils/docs-preview/config-generator.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/config-generator.js +377 -0
- package/dist/src/utils/docs-preview/config-generator.js.map +1 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.d.ts +38 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.js +177 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -0
- package/dist/src/utils/docs-preview/index.d.ts +7 -0
- package/dist/src/utils/docs-preview/index.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/index.js +7 -0
- package/dist/src/utils/docs-preview/index.js.map +1 -0
- package/dist/src/utils/docs-preview/package-installer.d.ts +42 -0
- package/dist/src/utils/docs-preview/package-installer.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/package-installer.js +182 -0
- package/dist/src/utils/docs-preview/package-installer.js.map +1 -0
- package/dist/src/utils/docs-preview/server-manager.d.ts +30 -0
- package/dist/src/utils/docs-preview/server-manager.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/server-manager.js +212 -0
- package/dist/src/utils/docs-preview/server-manager.js.map +1 -0
- package/dist/src/utils/docs-preview/sidebar-builder.d.ts +32 -0
- package/dist/src/utils/docs-preview/sidebar-builder.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/sidebar-builder.js +202 -0
- package/dist/src/utils/docs-preview/sidebar-builder.js.map +1 -0
- package/dist/src/utils/docs-preview/types.d.ts +57 -0
- package/dist/src/utils/docs-preview/types.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/types.js +2 -0
- package/dist/src/utils/docs-preview/types.js.map +1 -0
- package/dist/src/utils/env-file-generator.d.ts +54 -0
- package/dist/src/utils/env-file-generator.d.ts.map +1 -0
- package/dist/src/utils/env-file-generator.js +196 -0
- package/dist/src/utils/env-file-generator.js.map +1 -0
- package/dist/src/utils/env-file.d.ts +88 -0
- package/dist/src/utils/env-file.d.ts.map +1 -0
- package/dist/src/utils/env-file.js +180 -0
- package/dist/src/utils/env-file.js.map +1 -0
- package/dist/src/utils/env-multi-project-parser.d.ts +220 -0
- package/dist/src/utils/env-multi-project-parser.d.ts.map +1 -0
- package/dist/src/utils/env-multi-project-parser.js +401 -0
- package/dist/src/utils/env-multi-project-parser.js.map +1 -0
- package/dist/src/utils/esm-helpers.d.ts +50 -0
- package/dist/src/utils/esm-helpers.d.ts.map +1 -0
- package/dist/src/utils/esm-helpers.js +57 -0
- package/dist/src/utils/esm-helpers.js.map +1 -0
- package/dist/src/utils/execFileNoThrow.d.ts +99 -0
- package/dist/src/utils/execFileNoThrow.d.ts.map +1 -0
- package/dist/src/utils/execFileNoThrow.js +137 -0
- package/dist/src/utils/execFileNoThrow.js.map +1 -0
- package/dist/src/utils/external-resource-validator.d.ts +200 -0
- package/dist/src/utils/external-resource-validator.d.ts.map +1 -0
- package/dist/src/utils/external-resource-validator.js +1194 -0
- package/dist/src/utils/external-resource-validator.js.map +1 -0
- package/dist/src/utils/generate-skills-index.d.ts +24 -0
- package/dist/src/utils/generate-skills-index.d.ts.map +1 -0
- package/dist/src/utils/generate-skills-index.js +410 -0
- package/dist/src/utils/generate-skills-index.js.map +1 -0
- package/dist/src/utils/git-detector.d.ts +84 -0
- package/dist/src/utils/git-detector.d.ts.map +1 -0
- package/dist/src/utils/git-detector.js +233 -0
- package/dist/src/utils/git-detector.js.map +1 -0
- package/dist/src/utils/git-utils.d.ts +74 -0
- package/dist/src/utils/git-utils.d.ts.map +1 -0
- package/dist/src/utils/git-utils.js +272 -0
- package/dist/src/utils/git-utils.js.map +1 -0
- package/dist/src/utils/model-selection.d.ts +75 -0
- package/dist/src/utils/model-selection.d.ts.map +1 -0
- package/dist/src/utils/model-selection.js +204 -0
- package/dist/src/utils/model-selection.js.map +1 -0
- package/dist/src/utils/plugin-validator.d.ts +161 -0
- package/dist/src/utils/plugin-validator.d.ts.map +1 -0
- package/dist/src/utils/plugin-validator.js +558 -0
- package/dist/src/utils/plugin-validator.js.map +1 -0
- package/dist/src/utils/pricing-constants.d.ts +70 -0
- package/dist/src/utils/pricing-constants.d.ts.map +1 -0
- package/dist/src/utils/pricing-constants.js +71 -0
- package/dist/src/utils/pricing-constants.js.map +1 -0
- package/dist/src/utils/project-detection.d.ts +141 -0
- package/dist/src/utils/project-detection.d.ts.map +1 -0
- package/dist/src/utils/project-detection.js +321 -0
- package/dist/src/utils/project-detection.js.map +1 -0
- package/dist/src/utils/project-mapper.d.ts +92 -0
- package/dist/src/utils/project-mapper.d.ts.map +1 -0
- package/dist/src/utils/project-mapper.js +276 -0
- package/dist/src/utils/project-mapper.js.map +1 -0
- package/dist/src/utils/spec-splitter.d.ts +75 -0
- package/dist/src/utils/spec-splitter.d.ts.map +1 -0
- package/dist/src/utils/spec-splitter.js +332 -0
- package/dist/src/utils/spec-splitter.js.map +1 -0
- package/dist/src/utils/string-utils.d.ts +40 -0
- package/dist/src/utils/string-utils.d.ts.map +1 -0
- package/dist/src/utils/string-utils.js +58 -0
- package/dist/src/utils/string-utils.js.map +1 -0
- package/dist/src/utils/translation.d.ts +187 -0
- package/dist/src/utils/translation.d.ts.map +1 -0
- package/dist/src/utils/translation.js +414 -0
- package/dist/src/utils/translation.js.map +1 -0
- package/dist/utils/git-utils.d.ts +74 -0
- package/dist/utils/git-utils.d.ts.map +1 -0
- package/dist/utils/git-utils.js +272 -0
- package/dist/utils/git-utils.js.map +1 -0
- package/package.json +3 -2
- package/plugins/specweave/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave/commands/revert-wip-limit.md +82 -0
- package/plugins/specweave/hooks/hooks.json +10 -0
- package/plugins/specweave/hooks/lib/migrate-increment-work.sh +245 -0
- package/plugins/specweave/hooks/lib/sync-spec-content.sh +149 -0
- package/plugins/specweave/hooks/post-increment-planning.sh +51 -29
- package/plugins/specweave/hooks/user-prompt-submit.sh +119 -12
- package/plugins/specweave/lib/hooks/git-diff-analyzer.js +213 -129
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js +192 -146
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js +116 -103
- package/plugins/specweave/lib/hooks/reflection-config-loader.js +125 -85
- package/plugins/specweave/lib/hooks/reflection-parser.js +385 -267
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.js +226 -169
- package/plugins/specweave/lib/hooks/reflection-storage.js +297 -223
- package/plugins/specweave/lib/hooks/run-self-reflection.js +191 -120
- package/plugins/specweave/lib/hooks/sync-living-docs.js +27 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.ts +46 -2
- package/plugins/specweave/lib/hooks/translate-file.js +300 -239
- package/plugins/specweave/lib/hooks/translate-living-docs.js +144 -88
- package/plugins/specweave/lib/hooks/types/reflection-types.js +72 -57
- package/plugins/specweave/lib/hooks/update-tasks-md.js +179 -117
- package/plugins/specweave-ado/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave-ado/agents/ado-multi-project-mapper/AGENT.md +521 -0
- package/plugins/specweave-ado/agents/ado-sync-judge/AGENT.md +418 -0
- package/plugins/specweave-ado/hooks/post-living-docs-update.sh +353 -0
- package/plugins/specweave-ado/hooks/post-task-completion.sh +22 -0
- package/plugins/specweave-ado/lib/ado-board-resolver.js +205 -135
- package/plugins/specweave-ado/lib/ado-client-v2.d.ts +15 -5
- package/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -1
- package/plugins/specweave-ado/lib/ado-client-v2.js +449 -406
- package/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -1
- package/plugins/specweave-ado/lib/ado-client-v2.ts +43 -51
- package/plugins/specweave-ado/lib/ado-hierarchical-sync.js +335 -223
- package/plugins/specweave-ado/lib/ado-project-detector.js +469 -0
- package/plugins/specweave-ado/lib/ado-project-detector.ts +510 -0
- package/plugins/specweave-ado/lib/ado-spec-commit-sync.d.js +0 -0
- package/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts +38 -0
- package/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts.map +1 -0
- package/plugins/specweave-ado/lib/ado-spec-commit-sync.js +210 -0
- package/plugins/specweave-ado/lib/ado-spec-commit-sync.js.map +1 -0
- package/plugins/specweave-ado/lib/ado-spec-commit-sync.ts +288 -0
- package/plugins/specweave-ado/lib/ado-spec-content-sync.js +205 -0
- package/plugins/specweave-ado/lib/ado-spec-content-sync.ts +313 -0
- package/plugins/specweave-ado/lib/ado-spec-sync.js +414 -380
- package/plugins/specweave-ado/lib/conflict-resolver.js +297 -0
- package/plugins/specweave-ado/lib/conflict-resolver.ts +443 -0
- package/plugins/specweave-ado/lib/project-selector.js +196 -168
- package/plugins/specweave-ado/skills/ado-multi-project/SKILL.md +541 -0
- package/plugins/specweave-ado/skills/ado-resource-validator/SKILL.md +906 -0
- package/plugins/specweave-github/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave-github/hooks/post-task-completion.sh +22 -0
- package/plugins/specweave-github/lib/cli-sync-increment-changes.js +20 -9
- package/plugins/specweave-github/lib/github-board-resolver.js +115 -69
- package/plugins/specweave-github/lib/github-client-v2.js +389 -400
- package/plugins/specweave-github/lib/github-client-v2.js.map +1 -1
- package/plugins/specweave-github/lib/github-client-v2.ts +13 -13
- package/plugins/specweave-github/lib/github-client.js +280 -246
- package/plugins/specweave-github/lib/github-hierarchical-sync.js +251 -168
- package/plugins/specweave-github/lib/github-issue-updater.js +4 -4
- package/plugins/specweave-github/lib/github-issue-updater.ts +4 -4
- package/plugins/specweave-github/lib/github-spec-commit-sync.d.js +0 -0
- package/plugins/specweave-github/lib/github-spec-commit-sync.d.ts +37 -0
- package/plugins/specweave-github/lib/github-spec-commit-sync.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-spec-commit-sync.js +209 -0
- package/plugins/specweave-github/lib/github-spec-commit-sync.js.map +1 -0
- package/plugins/specweave-github/lib/github-spec-commit-sync.ts +285 -0
- package/plugins/specweave-github/lib/github-spec-content-sync.js +169 -0
- package/plugins/specweave-github/lib/github-spec-content-sync.ts +255 -0
- package/plugins/specweave-github/lib/github-spec-sync.js +420 -379
- package/plugins/specweave-github/lib/github-sync-bidirectional.js +2 -2
- package/plugins/specweave-github/lib/github-sync-bidirectional.ts +2 -2
- package/plugins/specweave-github/lib/github-sync-increment-changes.js +4 -4
- package/plugins/specweave-github/lib/github-sync-increment-changes.ts +4 -4
- package/plugins/specweave-github/lib/index.js +10 -11
- package/plugins/specweave-github/lib/repo-selector.js +201 -174
- package/plugins/specweave-github/lib/subtask-sync.js +125 -132
- package/plugins/specweave-github/lib/task-parser.js +207 -191
- package/plugins/specweave-github/lib/task-sync.js +296 -344
- package/plugins/specweave-github/lib/types.js +5 -0
- package/plugins/specweave-jira/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave-jira/hooks/post-task-completion.sh +22 -0
- package/plugins/specweave-jira/lib/jira-board-resolver.js +79 -50
- package/plugins/specweave-jira/lib/jira-hierarchical-sync.js +191 -119
- package/plugins/specweave-jira/lib/jira-spec-commit-sync.d.js +0 -0
- package/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts +43 -0
- package/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts.map +1 -0
- package/plugins/specweave-jira/lib/jira-spec-commit-sync.js +282 -0
- package/plugins/specweave-jira/lib/jira-spec-commit-sync.js.map +1 -0
- package/plugins/specweave-jira/lib/jira-spec-commit-sync.ts +368 -0
- package/plugins/specweave-jira/lib/jira-spec-content-sync.js +260 -0
- package/plugins/specweave-jira/lib/jira-spec-content-sync.ts +367 -0
- package/plugins/specweave-jira/lib/jira-spec-sync.js +405 -366
- package/plugins/specweave-jira/lib/project-selector.js +201 -172
- package/plugins/specweave-jira/lib/reorganization-detector.js +237 -202
- package/plugins/specweave-jira/lib/setup-wizard.js +204 -162
- package/plugins/specweave-jira/skills/jira-resource-validator/SKILL.md +31 -1
- package/plugins/specweave-mobile/.claude-plugin/plugin.json +25 -0
- package/plugins/specweave-mobile/README.md +337 -0
- package/plugins/specweave-mobile/agents/mobile-architect/AGENT.md +642 -0
- package/plugins/specweave-mobile/skills/device-testing/SKILL.md +609 -0
- package/plugins/specweave-mobile/skills/expo-workflow/SKILL.md +440 -0
- package/plugins/specweave-mobile/skills/metro-bundler/SKILL.md +614 -0
- package/plugins/specweave-mobile/skills/mobile-debugging/SKILL.md +536 -0
- package/plugins/specweave-mobile/skills/native-modules/SKILL.md +573 -0
- package/plugins/specweave-mobile/skills/performance-optimization/SKILL.md +550 -0
- package/plugins/specweave-mobile/skills/react-native-setup/SKILL.md +216 -0
- package/plugins/specweave-release/.claude-plugin/plugin.json +42 -0
- package/plugins/specweave-release/IMPLEMENTATION.md +449 -0
- package/plugins/specweave-release/README.md +509 -0
- package/plugins/specweave-release/agents/release-manager/AGENT.md +672 -0
- package/plugins/specweave-release/commands/specweave-release-align.md +505 -0
- package/plugins/specweave-release/commands/specweave-release-init.md +430 -0
- package/plugins/specweave-release/commands/specweave-release-platform.md +439 -0
- package/plugins/specweave-release/commands/specweave-release-rc.md +495 -0
- package/plugins/specweave-release/hooks/hooks.json +15 -0
- package/plugins/specweave-release/hooks/post-task-completion.sh +110 -0
- package/plugins/specweave-release/lib/dashboard-generator.js +232 -0
- package/plugins/specweave-release/lib/dashboard-generator.ts +294 -0
- package/plugins/specweave-release/lib/dora-tracker.js +200 -0
- package/plugins/specweave-release/lib/dora-tracker.ts +361 -0
- package/plugins/specweave-release/skills/rc-manager/SKILL.md +660 -0
- package/plugins/specweave-release/skills/release-coordinator/SKILL.md +535 -0
- package/plugins/specweave-release/skills/release-strategy-advisor/SKILL.md +473 -0
- package/plugins/specweave-release/skills/version-aligner/SKILL.md +579 -0
- package/src/templates/CLAUDE.md.template +24 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI Command: validate-plugins
|
|
3
|
+
*
|
|
4
|
+
* Validates SpecWeave plugin installation and optionally installs missing components.
|
|
5
|
+
*
|
|
6
|
+
* Usage:
|
|
7
|
+
* specweave validate-plugins [options]
|
|
8
|
+
*
|
|
9
|
+
* Options:
|
|
10
|
+
* --auto-install Auto-install missing components
|
|
11
|
+
* --context <description> Increment description for context detection
|
|
12
|
+
* --dry-run Show what would be installed without installing
|
|
13
|
+
* --verbose Show detailed validation steps
|
|
14
|
+
* -h, --help Display help for command
|
|
15
|
+
*
|
|
16
|
+
* @module cli/commands/validate-plugins
|
|
17
|
+
* @since 0.9.4
|
|
18
|
+
*/
|
|
19
|
+
import chalk from 'chalk';
|
|
20
|
+
import ora from 'ora';
|
|
21
|
+
import { PluginValidator, } from '../../utils/plugin-validator.js';
|
|
22
|
+
/**
|
|
23
|
+
* Setup validate-plugins command
|
|
24
|
+
*
|
|
25
|
+
* @param program - Commander program instance
|
|
26
|
+
*/
|
|
27
|
+
export function setupValidatePluginsCommand(program) {
|
|
28
|
+
program
|
|
29
|
+
.command('validate-plugins')
|
|
30
|
+
.description('Validate SpecWeave plugin installation')
|
|
31
|
+
.option('--auto-install', 'Auto-install missing components', false)
|
|
32
|
+
.option('--context <description>', 'Increment description for context detection')
|
|
33
|
+
.option('--dry-run', 'Show what would be installed without installing', false)
|
|
34
|
+
.option('--verbose', 'Show detailed validation steps', false)
|
|
35
|
+
.action(async (options) => {
|
|
36
|
+
await runValidation(options);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Run validation
|
|
41
|
+
*
|
|
42
|
+
* @param options - Command options
|
|
43
|
+
*/
|
|
44
|
+
async function runValidation(options) {
|
|
45
|
+
const spinner = ora('Validating SpecWeave environment...').start();
|
|
46
|
+
try {
|
|
47
|
+
const validator = new PluginValidator();
|
|
48
|
+
const validationOptions = {
|
|
49
|
+
autoInstall: options.autoInstall,
|
|
50
|
+
context: options.context,
|
|
51
|
+
dryRun: options.dryRun,
|
|
52
|
+
verbose: options.verbose,
|
|
53
|
+
};
|
|
54
|
+
const result = await validator.validate(validationOptions);
|
|
55
|
+
spinner.stop();
|
|
56
|
+
// Display results
|
|
57
|
+
if (result.valid) {
|
|
58
|
+
displaySuccess(result);
|
|
59
|
+
process.exit(0);
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
displayFailure(result, options);
|
|
63
|
+
process.exit(1);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (error) {
|
|
67
|
+
spinner.stop();
|
|
68
|
+
console.error(chalk.red(`\n❌ Validation error: ${error.message}`));
|
|
69
|
+
// Show manual instructions
|
|
70
|
+
showManualInstructions();
|
|
71
|
+
process.exit(1);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Display success message
|
|
76
|
+
*
|
|
77
|
+
* @param result - Validation result
|
|
78
|
+
*/
|
|
79
|
+
function displaySuccess(result) {
|
|
80
|
+
console.log(chalk.green('\n✅ All plugins validated!'));
|
|
81
|
+
// Show installed components
|
|
82
|
+
if (result.installed.corePlugin) {
|
|
83
|
+
const version = result.installed.corePluginVersion
|
|
84
|
+
? ` (v${result.installed.corePluginVersion})`
|
|
85
|
+
: '';
|
|
86
|
+
console.log(chalk.gray(` • Core plugin: installed${version}`));
|
|
87
|
+
}
|
|
88
|
+
if (result.installed.contextPlugins.length > 0) {
|
|
89
|
+
console.log(chalk.gray(` • Context plugins: ${result.installed.contextPlugins.join(', ')}`));
|
|
90
|
+
}
|
|
91
|
+
// Show cache info
|
|
92
|
+
if (result.cache?.hit) {
|
|
93
|
+
console.log(chalk.gray(` • Cache: hit (age: ${Math.round(result.cache.age)}s)`));
|
|
94
|
+
}
|
|
95
|
+
console.log(); // Empty line
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Display failure message
|
|
99
|
+
*
|
|
100
|
+
* @param result - Validation result
|
|
101
|
+
* @param options - Command options
|
|
102
|
+
*/
|
|
103
|
+
function displayFailure(result, options) {
|
|
104
|
+
console.log(chalk.red('\n❌ Missing components detected:'));
|
|
105
|
+
// Show missing components
|
|
106
|
+
if (result.missing.marketplace) {
|
|
107
|
+
console.log(chalk.yellow(' • SpecWeave marketplace not registered'));
|
|
108
|
+
}
|
|
109
|
+
if (result.missing.corePlugin) {
|
|
110
|
+
console.log(chalk.yellow(' • Core plugin (specweave) not installed'));
|
|
111
|
+
}
|
|
112
|
+
if (result.missing.contextPlugins.length > 0) {
|
|
113
|
+
console.log(chalk.yellow(` • Context plugins: ${result.missing.contextPlugins.join(', ')}`));
|
|
114
|
+
}
|
|
115
|
+
// Show errors if any
|
|
116
|
+
if (result.errors.length > 0) {
|
|
117
|
+
console.log(chalk.red('\n🚨 Errors encountered:'));
|
|
118
|
+
result.errors.forEach((error) => {
|
|
119
|
+
console.log(chalk.red(` • ${error}`));
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
// Show recommendations
|
|
123
|
+
if (result.recommendations.length > 0) {
|
|
124
|
+
console.log(chalk.cyan('\n📦 Recommendations:'));
|
|
125
|
+
result.recommendations.forEach((rec) => {
|
|
126
|
+
console.log(chalk.gray(` ${rec}`));
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
// Show dry-run note
|
|
130
|
+
if (options.dryRun) {
|
|
131
|
+
console.log(chalk.cyan('\n💡 Dry-run mode: No changes made. Remove --dry-run to install.'));
|
|
132
|
+
}
|
|
133
|
+
// Show auto-install suggestion
|
|
134
|
+
if (!options.autoInstall && !options.dryRun) {
|
|
135
|
+
console.log(chalk.cyan('\n💡 Tip: Use --auto-install flag to automatically install missing components'));
|
|
136
|
+
}
|
|
137
|
+
console.log(); // Empty line
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Show manual installation instructions
|
|
141
|
+
*/
|
|
142
|
+
function showManualInstructions() {
|
|
143
|
+
console.log(chalk.cyan('\n📖 Manual Installation Instructions:'));
|
|
144
|
+
console.log();
|
|
145
|
+
console.log(chalk.gray('1. Register SpecWeave marketplace:'));
|
|
146
|
+
console.log(chalk.gray(' Edit ~/.claude/settings.json and add:'));
|
|
147
|
+
console.log(chalk.gray(` {
|
|
148
|
+
"extraKnownMarketplaces": {
|
|
149
|
+
"specweave": {
|
|
150
|
+
"source": {
|
|
151
|
+
"source": "github",
|
|
152
|
+
"repo": "anton-abyzov/specweave",
|
|
153
|
+
"path": ".claude-plugin"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}`));
|
|
158
|
+
console.log();
|
|
159
|
+
console.log(chalk.gray('2. Install core plugin:'));
|
|
160
|
+
console.log(chalk.gray(' Run: /plugin install specweave'));
|
|
161
|
+
console.log();
|
|
162
|
+
console.log(chalk.gray('3. Restart Claude Code'));
|
|
163
|
+
console.log();
|
|
164
|
+
console.log(chalk.gray('4. Re-run: specweave validate-plugins'));
|
|
165
|
+
console.log();
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Export for programmatic use
|
|
169
|
+
*/
|
|
170
|
+
export { runValidation };
|
|
171
|
+
//# sourceMappingURL=validate-plugins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-plugins.js","sourceRoot":"","sources":["../../../../src/cli/commands/validate-plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EACL,eAAe,GAGhB,MAAM,iCAAiC,CAAC;AAEzC;;;;GAIG;AACH,MAAM,UAAU,2BAA2B,CAAC,OAAgB;IAC1D,OAAO;SACJ,O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EAAE,CAAC;IACd,OAAO,CAAC,GAAG,CACT,KAAK,CAAC,IAAI,CAAC,uCAAuC,CAAC,CACpD,CAAC;IACF,OAAO,CAAC,GAAG,EAAE,CAAC;AAChB,CAAC;AAED;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Increment Profile Selector
|
|
3
|
+
*
|
|
4
|
+
* Handles profile selection when creating new increments
|
|
5
|
+
* in multi-repository projects
|
|
6
|
+
*
|
|
7
|
+
* @module cli/helpers/github/increment-profile-selector
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Select GitHub profile for an increment
|
|
11
|
+
*
|
|
12
|
+
* @param projectPath - Path to project root
|
|
13
|
+
* @param incrementId - Increment identifier
|
|
14
|
+
* @returns Selected profile ID or null
|
|
15
|
+
*/
|
|
16
|
+
export declare function selectProfileForIncrement(projectPath: string, incrementId: string): Promise<string | null>;
|
|
17
|
+
/**
|
|
18
|
+
* Save profile selection to increment metadata
|
|
19
|
+
*
|
|
20
|
+
* @param projectPath - Path to project root
|
|
21
|
+
* @param incrementId - Increment identifier
|
|
22
|
+
* @param profileId - Selected profile ID
|
|
23
|
+
*/
|
|
24
|
+
export declare function saveIncrementProfile(projectPath: string, incrementId: string, profileId: string): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Get profile for an existing increment
|
|
27
|
+
*
|
|
28
|
+
* @param projectPath - Path to project root
|
|
29
|
+
* @param incrementId - Increment identifier
|
|
30
|
+
* @returns Profile ID or null
|
|
31
|
+
*/
|
|
32
|
+
export declare function getIncrementProfile(projectPath: string, incrementId: string): string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Prompt to change profile for an increment
|
|
35
|
+
*
|
|
36
|
+
* @param projectPath - Path to project root
|
|
37
|
+
* @param incrementId - Increment identifier
|
|
38
|
+
* @returns New profile ID or null
|
|
39
|
+
*/
|
|
40
|
+
export declare function changeIncrementProfile(projectPath: string, incrementId: string): Promise<string | null>;
|
|
41
|
+
/**
|
|
42
|
+
* List all increments grouped by profile
|
|
43
|
+
*
|
|
44
|
+
* @param projectPath - Path to project root
|
|
45
|
+
*/
|
|
46
|
+
export declare function listIncrementsByProfile(projectPath: string): void;
|
|
47
|
+
//# sourceMappingURL=increment-profile-selector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"increment-profile-selector.d.ts","sourceRoot":"","sources":["../../../../../src/cli/helpers/github/increment-profile-selector.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAoBH;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAC7C,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAgCxB;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CAkCf;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,IAAI,CAqBf;AAED;;;;;;GAMG;AACH,wBAAsB,sBAAsB,CAC1C,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CA6BxB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAqDjE"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Increment Profile Selector
|
|
3
|
+
*
|
|
4
|
+
* Handles profile selection when creating new increments
|
|
5
|
+
* in multi-repository projects
|
|
6
|
+
*
|
|
7
|
+
* @module cli/helpers/github/increment-profile-selector
|
|
8
|
+
*/
|
|
9
|
+
import * as fs from 'fs';
|
|
10
|
+
import * as path from 'path';
|
|
11
|
+
import chalk from 'chalk';
|
|
12
|
+
import { GitHubProfileManager } from './profile-manager.js';
|
|
13
|
+
/**
|
|
14
|
+
* Select GitHub profile for an increment
|
|
15
|
+
*
|
|
16
|
+
* @param projectPath - Path to project root
|
|
17
|
+
* @param incrementId - Increment identifier
|
|
18
|
+
* @returns Selected profile ID or null
|
|
19
|
+
*/
|
|
20
|
+
export async function selectProfileForIncrement(projectPath, incrementId) {
|
|
21
|
+
const manager = new GitHubProfileManager(projectPath);
|
|
22
|
+
// Check if profiles exist
|
|
23
|
+
if (!manager.hasProfiles()) {
|
|
24
|
+
console.log(chalk.gray('No GitHub profiles configured - skipping repository selection'));
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
const profileCount = manager.getProfileCount();
|
|
28
|
+
// If only one profile, auto-select it
|
|
29
|
+
if (profileCount === 1) {
|
|
30
|
+
const profile = manager.getActiveProfile();
|
|
31
|
+
if (profile) {
|
|
32
|
+
console.log(chalk.gray(`Using GitHub repository: ${profile.config.owner}/${profile.config.repo}`));
|
|
33
|
+
return profile.id;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
// Multiple profiles - prompt for selection
|
|
37
|
+
console.log(chalk.cyan('\n🎯 Repository Selection\n'));
|
|
38
|
+
console.log(chalk.gray(`Select the GitHub repository for increment ${incrementId}:\n`));
|
|
39
|
+
const profile = await manager.selectProfile(`Which repository should '${incrementId}' sync to?`);
|
|
40
|
+
if (profile) {
|
|
41
|
+
console.log(chalk.green(`✓ Selected: ${profile.displayName} (${profile.config.owner}/${profile.config.repo})\n`));
|
|
42
|
+
return profile.id;
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Save profile selection to increment metadata
|
|
48
|
+
*
|
|
49
|
+
* @param projectPath - Path to project root
|
|
50
|
+
* @param incrementId - Increment identifier
|
|
51
|
+
* @param profileId - Selected profile ID
|
|
52
|
+
*/
|
|
53
|
+
export async function saveIncrementProfile(projectPath, incrementId, profileId) {
|
|
54
|
+
const metadataPath = path.join(projectPath, '.specweave', 'increments', incrementId, 'metadata.json');
|
|
55
|
+
let metadata;
|
|
56
|
+
// Load existing metadata or create new
|
|
57
|
+
if (fs.existsSync(metadataPath)) {
|
|
58
|
+
const content = fs.readFileSync(metadataPath, 'utf-8');
|
|
59
|
+
metadata = JSON.parse(content);
|
|
60
|
+
metadata.githubProfile = profileId;
|
|
61
|
+
metadata.updatedAt = new Date().toISOString();
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
metadata = {
|
|
65
|
+
incrementId,
|
|
66
|
+
githubProfile: profileId,
|
|
67
|
+
createdAt: new Date().toISOString(),
|
|
68
|
+
updatedAt: new Date().toISOString()
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
// Ensure directory exists
|
|
72
|
+
const dir = path.dirname(metadataPath);
|
|
73
|
+
if (!fs.existsSync(dir)) {
|
|
74
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
75
|
+
}
|
|
76
|
+
// Save metadata
|
|
77
|
+
fs.writeFileSync(metadataPath, JSON.stringify(metadata, null, 2) + '\n');
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get profile for an existing increment
|
|
81
|
+
*
|
|
82
|
+
* @param projectPath - Path to project root
|
|
83
|
+
* @param incrementId - Increment identifier
|
|
84
|
+
* @returns Profile ID or null
|
|
85
|
+
*/
|
|
86
|
+
export function getIncrementProfile(projectPath, incrementId) {
|
|
87
|
+
const metadataPath = path.join(projectPath, '.specweave', 'increments', incrementId, 'metadata.json');
|
|
88
|
+
if (!fs.existsSync(metadataPath)) {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
try {
|
|
92
|
+
const content = fs.readFileSync(metadataPath, 'utf-8');
|
|
93
|
+
const metadata = JSON.parse(content);
|
|
94
|
+
return metadata.githubProfile || null;
|
|
95
|
+
}
|
|
96
|
+
catch (error) {
|
|
97
|
+
console.error(chalk.red(`Failed to read increment metadata: ${error}`));
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Prompt to change profile for an increment
|
|
103
|
+
*
|
|
104
|
+
* @param projectPath - Path to project root
|
|
105
|
+
* @param incrementId - Increment identifier
|
|
106
|
+
* @returns New profile ID or null
|
|
107
|
+
*/
|
|
108
|
+
export async function changeIncrementProfile(projectPath, incrementId) {
|
|
109
|
+
const manager = new GitHubProfileManager(projectPath);
|
|
110
|
+
const currentProfileId = getIncrementProfile(projectPath, incrementId);
|
|
111
|
+
if (!manager.hasProfiles()) {
|
|
112
|
+
console.log(chalk.yellow('No GitHub profiles configured'));
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
// Show current profile
|
|
116
|
+
if (currentProfileId) {
|
|
117
|
+
const currentProfile = manager.getProfile(currentProfileId);
|
|
118
|
+
if (currentProfile) {
|
|
119
|
+
console.log(chalk.gray(`Current repository: ${currentProfile.displayName} (${currentProfile.config.owner}/${currentProfile.config.repo})`));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
console.log(chalk.gray('No repository currently selected'));
|
|
124
|
+
}
|
|
125
|
+
// Prompt for new profile
|
|
126
|
+
const newProfile = await manager.selectProfile('Select new repository:');
|
|
127
|
+
if (newProfile && newProfile.id !== currentProfileId) {
|
|
128
|
+
await saveIncrementProfile(projectPath, incrementId, newProfile.id);
|
|
129
|
+
console.log(chalk.green(`✓ Changed to: ${newProfile.displayName}`));
|
|
130
|
+
return newProfile.id;
|
|
131
|
+
}
|
|
132
|
+
return null;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* List all increments grouped by profile
|
|
136
|
+
*
|
|
137
|
+
* @param projectPath - Path to project root
|
|
138
|
+
*/
|
|
139
|
+
export function listIncrementsByProfile(projectPath) {
|
|
140
|
+
const manager = new GitHubProfileManager(projectPath);
|
|
141
|
+
const incrementsDir = path.join(projectPath, '.specweave', 'increments');
|
|
142
|
+
if (!fs.existsSync(incrementsDir)) {
|
|
143
|
+
console.log(chalk.yellow('No increments found'));
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
// Build profile map
|
|
147
|
+
const profileMap = new Map();
|
|
148
|
+
const noProfile = [];
|
|
149
|
+
// Scan all increments
|
|
150
|
+
const increments = fs.readdirSync(incrementsDir)
|
|
151
|
+
.filter(dir => dir.match(/^\d{4}-/)); // Only numbered increments
|
|
152
|
+
for (const incrementId of increments) {
|
|
153
|
+
const profileId = getIncrementProfile(projectPath, incrementId);
|
|
154
|
+
if (profileId) {
|
|
155
|
+
if (!profileMap.has(profileId)) {
|
|
156
|
+
profileMap.set(profileId, []);
|
|
157
|
+
}
|
|
158
|
+
profileMap.get(profileId).push(incrementId);
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
noProfile.push(incrementId);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
// Display results
|
|
165
|
+
console.log(chalk.cyan('\nIncrements by Repository:\n'));
|
|
166
|
+
// Show mapped increments
|
|
167
|
+
for (const [profileId, incrementIds] of profileMap) {
|
|
168
|
+
const profile = manager.getProfile(profileId);
|
|
169
|
+
if (profile) {
|
|
170
|
+
console.log(chalk.white(`${profile.displayName} (${profile.config.owner}/${profile.config.repo}):`));
|
|
171
|
+
incrementIds.forEach(id => {
|
|
172
|
+
console.log(` - ${id}`);
|
|
173
|
+
});
|
|
174
|
+
console.log('');
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
// Show unmapped increments
|
|
178
|
+
if (noProfile.length > 0) {
|
|
179
|
+
console.log(chalk.yellow('No repository assigned:'));
|
|
180
|
+
noProfile.forEach(id => {
|
|
181
|
+
console.log(` - ${id}`);
|
|
182
|
+
});
|
|
183
|
+
console.log('');
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
//# sourceMappingURL=increment-profile-selector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"increment-profile-selector.js","sourceRoot":"","sources":["../../../../../src/cli/helpers/github/increment-profile-selector.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAc5D;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,WAAmB,EACnB,WAAmB;IAEnB,MAAM,OAAO,GAAG,IAAI,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAEtD,0BAA0B;IAC1B,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC;QAC3B,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,+DAA+D,CAAC,CAAC,CAAC;QACzF,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAE/C,sCAAsC;IACtC,IAAI,YAAY,KAAK,CAAC,EAAE,CAAC;QACvB,MAAM,OAAO,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC3C,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;YACnG,OAAO,OAAO,CAAC,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;IAED,2CAA2C;IAC3C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC;IACvD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,8CAA8C,WAAW,KAAK,CAAC,CAAC,CAAC;IAExF,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CAAC,GAAG,OAAO,CAAC,WAAW,KAAK,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC;YACrG,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;gBACxB,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YAC3B,CAAC,CAAC,CAAC;YACH,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAClB,CAAC;IACH,CAAC;IAED,2BAA2B;IAC3B,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,CAAC;QACrD,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACrB,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitHub Profile Manager
|
|
3
|
+
*
|
|
4
|
+
* Manages multiple GitHub repository profiles for multi-repo projects
|
|
5
|
+
* Handles CRUD operations and profile selection for increments
|
|
6
|
+
*
|
|
7
|
+
* @module cli/helpers/github/profile-manager
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* GitHub repository profile
|
|
11
|
+
*/
|
|
12
|
+
export interface GitHubProfile {
|
|
13
|
+
id: string;
|
|
14
|
+
provider: 'github';
|
|
15
|
+
displayName: string;
|
|
16
|
+
config: {
|
|
17
|
+
owner: string;
|
|
18
|
+
repo: string;
|
|
19
|
+
monorepoProjects?: string[];
|
|
20
|
+
};
|
|
21
|
+
timeRange?: {
|
|
22
|
+
default: string;
|
|
23
|
+
max: string;
|
|
24
|
+
};
|
|
25
|
+
rateLimits?: {
|
|
26
|
+
maxItemsPerSync: number;
|
|
27
|
+
warnThreshold: number;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* GitHub Profile Manager
|
|
32
|
+
*
|
|
33
|
+
* Handles all profile-related operations
|
|
34
|
+
*/
|
|
35
|
+
export declare class GitHubProfileManager {
|
|
36
|
+
private configPath;
|
|
37
|
+
private config;
|
|
38
|
+
constructor(projectPath: string);
|
|
39
|
+
/**
|
|
40
|
+
* Load config from disk
|
|
41
|
+
*/
|
|
42
|
+
private loadConfig;
|
|
43
|
+
/**
|
|
44
|
+
* Save config to disk
|
|
45
|
+
*/
|
|
46
|
+
private saveConfig;
|
|
47
|
+
/**
|
|
48
|
+
* Get all GitHub profiles
|
|
49
|
+
*
|
|
50
|
+
* @returns Array of GitHub profiles
|
|
51
|
+
*/
|
|
52
|
+
getAllProfiles(): GitHubProfile[];
|
|
53
|
+
/**
|
|
54
|
+
* Get a specific profile by ID
|
|
55
|
+
*
|
|
56
|
+
* @param id - Profile ID
|
|
57
|
+
* @returns Profile or null
|
|
58
|
+
*/
|
|
59
|
+
getProfile(id: string): GitHubProfile | null;
|
|
60
|
+
/**
|
|
61
|
+
* Get the active/default profile
|
|
62
|
+
*
|
|
63
|
+
* @returns Active profile or null
|
|
64
|
+
*/
|
|
65
|
+
getActiveProfile(): GitHubProfile | null;
|
|
66
|
+
/**
|
|
67
|
+
* Add a new profile
|
|
68
|
+
*
|
|
69
|
+
* @param profile - Profile to add
|
|
70
|
+
* @returns Success status
|
|
71
|
+
*/
|
|
72
|
+
addProfile(profile: Omit<GitHubProfile, 'provider'>): boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Update an existing profile
|
|
75
|
+
*
|
|
76
|
+
* @param id - Profile ID
|
|
77
|
+
* @param updates - Partial profile updates
|
|
78
|
+
* @returns Success status
|
|
79
|
+
*/
|
|
80
|
+
updateProfile(id: string, updates: Partial<Omit<GitHubProfile, 'id' | 'provider'>>): boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Delete a profile
|
|
83
|
+
*
|
|
84
|
+
* @param id - Profile ID
|
|
85
|
+
* @returns Success status
|
|
86
|
+
*/
|
|
87
|
+
deleteProfile(id: string): boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Set active profile
|
|
90
|
+
*
|
|
91
|
+
* @param id - Profile ID
|
|
92
|
+
* @returns Success status
|
|
93
|
+
*/
|
|
94
|
+
setActiveProfile(id: string): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Interactive profile selection
|
|
97
|
+
*
|
|
98
|
+
* @param message - Prompt message
|
|
99
|
+
* @returns Selected profile or null
|
|
100
|
+
*/
|
|
101
|
+
selectProfile(message?: string): Promise<GitHubProfile | null>;
|
|
102
|
+
/**
|
|
103
|
+
* Check if any profiles exist
|
|
104
|
+
*
|
|
105
|
+
* @returns True if profiles exist
|
|
106
|
+
*/
|
|
107
|
+
hasProfiles(): boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Get profile count
|
|
110
|
+
*
|
|
111
|
+
* @returns Number of profiles
|
|
112
|
+
*/
|
|
113
|
+
getProfileCount(): number;
|
|
114
|
+
/**
|
|
115
|
+
* List all profiles (formatted for display)
|
|
116
|
+
*/
|
|
117
|
+
listProfiles(): void;
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=profile-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-manager.d.ts","sourceRoot":"","sources":["../../../../../src/cli/helpers/github/profile-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC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