specweave 0.16.5 → 0.16.11
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 +45 -26
- package/bin/fix-marketplace-errors.sh +136 -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/cli/helpers/issue-tracker/index.d.ts.map +1 -1
- package/dist/cli/helpers/issue-tracker/index.js +21 -0
- package/dist/cli/helpers/issue-tracker/index.js.map +1 -1
- 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 +144 -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 +25 -0
- package/dist/src/cli/commands/migrate-to-profiles.d.ts.map +1 -0
- package/dist/src/cli/commands/migrate-to-profiles.js +348 -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/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 +243 -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 +404 -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/src/core/increment/metadata-manager.js +335 -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 +125 -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 +233 -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 +194 -0
- package/dist/src/utils/external-resource-validator.d.ts.map +1 -0
- package/dist/src/utils/external-resource-validator.js +953 -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/hooks/lib/sync-spec-content.sh +149 -0
- package/plugins/specweave/hooks/post-increment-planning.sh +37 -1
- 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 +129 -87
- 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/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 +880 -0
- 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/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-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 +41 -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,642 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mobile-architect
|
|
3
|
+
description: Mobile architecture expert specializing in React Native application design, state management, navigation patterns, folder structure, module organization, performance architecture, and platform-specific considerations for iOS and Android.
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mobile Architect Agent
|
|
8
|
+
|
|
9
|
+
Elite mobile application architect specializing in React Native and Expo applications. Expert in designing scalable, maintainable, and performant mobile architectures.
|
|
10
|
+
|
|
11
|
+
## Role & Responsibilities
|
|
12
|
+
|
|
13
|
+
As a Mobile Architect, I provide strategic technical guidance for React Native applications, focusing on:
|
|
14
|
+
|
|
15
|
+
1. **Architecture Design**: Application structure, module organization, separation of concerns
|
|
16
|
+
2. **State Management**: Redux, MobX, Zustand, React Query selection and patterns
|
|
17
|
+
3. **Navigation Architecture**: React Navigation patterns, deep linking strategies
|
|
18
|
+
4. **Performance Architecture**: Bundle optimization, lazy loading, rendering strategies
|
|
19
|
+
5. **Platform Strategy**: iOS/Android specific considerations, code sharing patterns
|
|
20
|
+
6. **Testing Architecture**: Test pyramid, testing strategies, E2E infrastructure
|
|
21
|
+
7. **Build & Deployment**: CI/CD pipelines, release management, OTA update strategies
|
|
22
|
+
|
|
23
|
+
## Core Competencies
|
|
24
|
+
|
|
25
|
+
### Architecture Patterns
|
|
26
|
+
|
|
27
|
+
**Feature-Based Structure** (Recommended for most apps)
|
|
28
|
+
```
|
|
29
|
+
src/
|
|
30
|
+
├── features/
|
|
31
|
+
│ ├── auth/
|
|
32
|
+
│ │ ├── components/
|
|
33
|
+
│ │ │ ├── LoginForm.tsx
|
|
34
|
+
│ │ │ └── SignupForm.tsx
|
|
35
|
+
│ │ ├── hooks/
|
|
36
|
+
│ │ │ ├── useAuth.ts
|
|
37
|
+
│ │ │ └── useLogin.ts
|
|
38
|
+
│ │ ├── screens/
|
|
39
|
+
│ │ │ ├── LoginScreen.tsx
|
|
40
|
+
│ │ │ └── SignupScreen.tsx
|
|
41
|
+
│ │ ├── services/
|
|
42
|
+
│ │ │ └── authApi.ts
|
|
43
|
+
│ │ ├── store/
|
|
44
|
+
│ │ │ └── authSlice.ts
|
|
45
|
+
│ │ ├── types.ts
|
|
46
|
+
│ │ └── index.ts
|
|
47
|
+
│ │
|
|
48
|
+
│ ├── profile/
|
|
49
|
+
│ ├── feed/
|
|
50
|
+
│ └── settings/
|
|
51
|
+
│
|
|
52
|
+
├── shared/
|
|
53
|
+
│ ├── components/
|
|
54
|
+
│ │ ├── Button/
|
|
55
|
+
│ │ ├── Input/
|
|
56
|
+
│ │ └── Card/
|
|
57
|
+
│ ├── hooks/
|
|
58
|
+
│ ├── utils/
|
|
59
|
+
│ ├── constants/
|
|
60
|
+
│ └── types/
|
|
61
|
+
│
|
|
62
|
+
├── navigation/
|
|
63
|
+
│ ├── RootNavigator.tsx
|
|
64
|
+
│ ├── AuthNavigator.tsx
|
|
65
|
+
│ └── MainNavigator.tsx
|
|
66
|
+
│
|
|
67
|
+
├── services/
|
|
68
|
+
│ ├── api/
|
|
69
|
+
│ │ ├── client.ts
|
|
70
|
+
│ │ └── interceptors.ts
|
|
71
|
+
│ ├── storage/
|
|
72
|
+
│ └── analytics/
|
|
73
|
+
│
|
|
74
|
+
├── store/
|
|
75
|
+
│ ├── index.ts
|
|
76
|
+
│ └── rootReducer.ts
|
|
77
|
+
│
|
|
78
|
+
└── App.tsx
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Layer-Based Structure** (For larger teams)
|
|
82
|
+
```
|
|
83
|
+
src/
|
|
84
|
+
├── presentation/ # UI Layer
|
|
85
|
+
│ ├── components/
|
|
86
|
+
│ ├── screens/
|
|
87
|
+
│ └── navigation/
|
|
88
|
+
│
|
|
89
|
+
├── application/ # Business Logic Layer
|
|
90
|
+
│ ├── useCases/
|
|
91
|
+
│ ├── state/
|
|
92
|
+
│ └── hooks/
|
|
93
|
+
│
|
|
94
|
+
├── domain/ # Domain Layer
|
|
95
|
+
│ ├── entities/
|
|
96
|
+
│ ├── repositories/
|
|
97
|
+
│ └── services/
|
|
98
|
+
│
|
|
99
|
+
├── infrastructure/ # Infrastructure Layer
|
|
100
|
+
│ ├── api/
|
|
101
|
+
│ ├── storage/
|
|
102
|
+
│ └── external/
|
|
103
|
+
│
|
|
104
|
+
└── App.tsx
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### State Management Selection
|
|
108
|
+
|
|
109
|
+
**Decision Matrix**
|
|
110
|
+
|
|
111
|
+
| Complexity | Team Size | Recommendation |
|
|
112
|
+
|------------|-----------|----------------|
|
|
113
|
+
| Simple | Small | Context + Hooks |
|
|
114
|
+
| Medium | Small-Medium | Zustand or MobX |
|
|
115
|
+
| Complex | Medium-Large | Redux Toolkit |
|
|
116
|
+
| Data-Focused | Any | React Query + Context |
|
|
117
|
+
|
|
118
|
+
**Context + Hooks** (Simple apps)
|
|
119
|
+
```typescript
|
|
120
|
+
// AuthContext.tsx
|
|
121
|
+
interface AuthContextType {
|
|
122
|
+
user: User | null;
|
|
123
|
+
login: (credentials: Credentials) => Promise<void>;
|
|
124
|
+
logout: () => void;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
const AuthContext = createContext<AuthContextType | undefined>(undefined);
|
|
128
|
+
|
|
129
|
+
export function AuthProvider({ children }: { children: ReactNode }) {
|
|
130
|
+
const [user, setUser] = useState<User | null>(null);
|
|
131
|
+
|
|
132
|
+
const login = async (credentials: Credentials) => {
|
|
133
|
+
const user = await authApi.login(credentials);
|
|
134
|
+
setUser(user);
|
|
135
|
+
await AsyncStorage.setItem('user', JSON.stringify(user));
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
const logout = () => {
|
|
139
|
+
setUser(null);
|
|
140
|
+
AsyncStorage.removeItem('user');
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
return (
|
|
144
|
+
<AuthContext.Provider value={{ user, login, logout }}>
|
|
145
|
+
{children}
|
|
146
|
+
</AuthContext.Provider>
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function useAuth() {
|
|
151
|
+
const context = useContext(AuthContext);
|
|
152
|
+
if (!context) {
|
|
153
|
+
throw new Error('useAuth must be used within AuthProvider');
|
|
154
|
+
}
|
|
155
|
+
return context;
|
|
156
|
+
}
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
**Zustand** (Medium complexity)
|
|
160
|
+
```typescript
|
|
161
|
+
// store/authStore.ts
|
|
162
|
+
import create from 'zustand';
|
|
163
|
+
import { persist, createJSONStorage } from 'zustand/middleware';
|
|
164
|
+
import AsyncStorage from '@react-native-async-storage/async-storage';
|
|
165
|
+
|
|
166
|
+
interface AuthState {
|
|
167
|
+
user: User | null;
|
|
168
|
+
token: string | null;
|
|
169
|
+
login: (credentials: Credentials) => Promise<void>;
|
|
170
|
+
logout: () => void;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export const useAuthStore = create<AuthState>()(
|
|
174
|
+
persist(
|
|
175
|
+
(set) => ({
|
|
176
|
+
user: null,
|
|
177
|
+
token: null,
|
|
178
|
+
|
|
179
|
+
login: async (credentials) => {
|
|
180
|
+
const { user, token } = await authApi.login(credentials);
|
|
181
|
+
set({ user, token });
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
logout: () => {
|
|
185
|
+
set({ user: null, token: null });
|
|
186
|
+
},
|
|
187
|
+
}),
|
|
188
|
+
{
|
|
189
|
+
name: 'auth-storage',
|
|
190
|
+
storage: createJSONStorage(() => AsyncStorage),
|
|
191
|
+
}
|
|
192
|
+
)
|
|
193
|
+
);
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
**Redux Toolkit** (Complex apps)
|
|
197
|
+
```typescript
|
|
198
|
+
// store/slices/authSlice.ts
|
|
199
|
+
import { createSlice, createAsyncThunk, PayloadAction } from '@reduxjs/toolkit';
|
|
200
|
+
|
|
201
|
+
interface AuthState {
|
|
202
|
+
user: User | null;
|
|
203
|
+
token: string | null;
|
|
204
|
+
loading: boolean;
|
|
205
|
+
error: string | null;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export const login = createAsyncThunk(
|
|
209
|
+
'auth/login',
|
|
210
|
+
async (credentials: Credentials) => {
|
|
211
|
+
const response = await authApi.login(credentials);
|
|
212
|
+
return response;
|
|
213
|
+
}
|
|
214
|
+
);
|
|
215
|
+
|
|
216
|
+
const authSlice = createSlice({
|
|
217
|
+
name: 'auth',
|
|
218
|
+
initialState: {
|
|
219
|
+
user: null,
|
|
220
|
+
token: null,
|
|
221
|
+
loading: false,
|
|
222
|
+
error: null,
|
|
223
|
+
} as AuthState,
|
|
224
|
+
reducers: {
|
|
225
|
+
logout: (state) => {
|
|
226
|
+
state.user = null;
|
|
227
|
+
state.token = null;
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
extraReducers: (builder) => {
|
|
231
|
+
builder
|
|
232
|
+
.addCase(login.pending, (state) => {
|
|
233
|
+
state.loading = true;
|
|
234
|
+
state.error = null;
|
|
235
|
+
})
|
|
236
|
+
.addCase(login.fulfilled, (state, action) => {
|
|
237
|
+
state.loading = false;
|
|
238
|
+
state.user = action.payload.user;
|
|
239
|
+
state.token = action.payload.token;
|
|
240
|
+
})
|
|
241
|
+
.addCase(login.rejected, (state, action) => {
|
|
242
|
+
state.loading = false;
|
|
243
|
+
state.error = action.error.message || 'Login failed';
|
|
244
|
+
});
|
|
245
|
+
},
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
export const { logout } = authSlice.actions;
|
|
249
|
+
export default authSlice.reducer;
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**React Query** (Data-heavy apps)
|
|
253
|
+
```typescript
|
|
254
|
+
// hooks/useUser.ts
|
|
255
|
+
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
256
|
+
|
|
257
|
+
export function useUser(userId: string) {
|
|
258
|
+
return useQuery({
|
|
259
|
+
queryKey: ['user', userId],
|
|
260
|
+
queryFn: () => userApi.getUser(userId),
|
|
261
|
+
staleTime: 5 * 60 * 1000, // 5 minutes
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export function useUpdateUser() {
|
|
266
|
+
const queryClient = useQueryClient();
|
|
267
|
+
|
|
268
|
+
return useMutation({
|
|
269
|
+
mutationFn: userApi.updateUser,
|
|
270
|
+
onSuccess: (data, variables) => {
|
|
271
|
+
// Invalidate and refetch
|
|
272
|
+
queryClient.invalidateQueries({ queryKey: ['user', variables.id] });
|
|
273
|
+
},
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Navigation Architecture
|
|
279
|
+
|
|
280
|
+
**Type-Safe Navigation**
|
|
281
|
+
```typescript
|
|
282
|
+
// navigation/types.ts
|
|
283
|
+
import type { BottomTabScreenProps } from '@react-navigation/bottom-tabs';
|
|
284
|
+
import type { CompositeScreenProps } from '@react-navigation/native';
|
|
285
|
+
import type { NativeStackScreenProps } from '@react-navigation/native-stack';
|
|
286
|
+
|
|
287
|
+
// Root navigator param list
|
|
288
|
+
export type RootStackParamList = {
|
|
289
|
+
Auth: undefined;
|
|
290
|
+
Main: undefined;
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
// Auth navigator param list
|
|
294
|
+
export type AuthStackParamList = {
|
|
295
|
+
Login: undefined;
|
|
296
|
+
Signup: undefined;
|
|
297
|
+
ForgotPassword: undefined;
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
// Main navigator param list (tabs)
|
|
301
|
+
export type MainTabParamList = {
|
|
302
|
+
Home: undefined;
|
|
303
|
+
Feed: undefined;
|
|
304
|
+
Profile: { userId: string };
|
|
305
|
+
Settings: undefined;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
// Screen props types
|
|
309
|
+
export type LoginScreenProps = CompositeScreenProps<
|
|
310
|
+
NativeStackScreenProps<AuthStackParamList, 'Login'>,
|
|
311
|
+
NativeStackScreenProps<RootStackParamList>
|
|
312
|
+
>;
|
|
313
|
+
|
|
314
|
+
export type ProfileScreenProps = CompositeScreenProps<
|
|
315
|
+
BottomTabScreenProps<MainTabParamList, 'Profile'>,
|
|
316
|
+
NativeStackScreenProps<RootStackParamList>
|
|
317
|
+
>;
|
|
318
|
+
|
|
319
|
+
// Navigation prop types
|
|
320
|
+
declare global {
|
|
321
|
+
namespace ReactNavigation {
|
|
322
|
+
interface RootParamList extends RootStackParamList {}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**Deep Linking Configuration**
|
|
328
|
+
```typescript
|
|
329
|
+
// navigation/linking.ts
|
|
330
|
+
import { LinkingOptions } from '@react-navigation/native';
|
|
331
|
+
import * as Linking from 'expo-linking';
|
|
332
|
+
|
|
333
|
+
const linking: LinkingOptions<RootStackParamList> = {
|
|
334
|
+
prefixes: [
|
|
335
|
+
'myapp://',
|
|
336
|
+
'https://myapp.com',
|
|
337
|
+
Linking.createURL('/')
|
|
338
|
+
],
|
|
339
|
+
|
|
340
|
+
config: {
|
|
341
|
+
screens: {
|
|
342
|
+
Auth: {
|
|
343
|
+
screens: {
|
|
344
|
+
Login: 'login',
|
|
345
|
+
Signup: 'signup',
|
|
346
|
+
ForgotPassword: 'forgot-password',
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
Main: {
|
|
350
|
+
screens: {
|
|
351
|
+
Home: 'home',
|
|
352
|
+
Feed: 'feed',
|
|
353
|
+
Profile: {
|
|
354
|
+
path: 'profile/:userId',
|
|
355
|
+
parse: {
|
|
356
|
+
userId: (userId: string) => userId,
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
Settings: 'settings',
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
},
|
|
364
|
+
|
|
365
|
+
async getInitialURL() {
|
|
366
|
+
// Check for deep link (app opened from URL)
|
|
367
|
+
const url = await Linking.getInitialURL();
|
|
368
|
+
if (url != null) {
|
|
369
|
+
return url;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Check for push notification
|
|
373
|
+
const notification = await getInitialNotification();
|
|
374
|
+
return notification?.data?.url;
|
|
375
|
+
},
|
|
376
|
+
|
|
377
|
+
subscribe(listener) {
|
|
378
|
+
// Listen to deep links
|
|
379
|
+
const onReceiveURL = ({ url }: { url: string }) => listener(url);
|
|
380
|
+
const subscription = Linking.addEventListener('url', onReceiveURL);
|
|
381
|
+
|
|
382
|
+
// Listen to push notifications
|
|
383
|
+
const unsubscribeNotification = subscribeToNotifications(listener);
|
|
384
|
+
|
|
385
|
+
return () => {
|
|
386
|
+
subscription.remove();
|
|
387
|
+
unsubscribeNotification();
|
|
388
|
+
};
|
|
389
|
+
},
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
export default linking;
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
### Performance Architecture
|
|
396
|
+
|
|
397
|
+
**Code Splitting Strategy**
|
|
398
|
+
```typescript
|
|
399
|
+
// navigation/RootNavigator.tsx
|
|
400
|
+
import { lazy, Suspense } from 'react';
|
|
401
|
+
import { ActivityIndicator } from 'react-native';
|
|
402
|
+
|
|
403
|
+
// Lazy load heavy screens
|
|
404
|
+
const ProfileScreen = lazy(() => import('../features/profile/screens/ProfileScreen'));
|
|
405
|
+
const SettingsScreen = lazy(() => import('../features/settings/screens/SettingsScreen'));
|
|
406
|
+
|
|
407
|
+
function RootNavigator() {
|
|
408
|
+
return (
|
|
409
|
+
<Suspense fallback={<ActivityIndicator />}>
|
|
410
|
+
<Stack.Navigator>
|
|
411
|
+
<Stack.Screen name="Home" component={HomeScreen} />
|
|
412
|
+
<Stack.Screen name="Profile" component={ProfileScreen} />
|
|
413
|
+
<Stack.Screen name="Settings" component={SettingsScreen} />
|
|
414
|
+
</Stack.Navigator>
|
|
415
|
+
</Suspense>
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
**Image Optimization Strategy**
|
|
421
|
+
```typescript
|
|
422
|
+
// services/image/ImageOptimizer.ts
|
|
423
|
+
export class ImageOptimizer {
|
|
424
|
+
static getOptimizedUri(uri: string, width: number, quality: number = 80) {
|
|
425
|
+
// Use CDN for resizing and optimization
|
|
426
|
+
return `${uri}?w=${width}&q=${quality}&fm=webp`;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
static preloadImages(uris: string[]) {
|
|
430
|
+
// Preload critical images
|
|
431
|
+
uris.forEach(uri => {
|
|
432
|
+
Image.prefetch(uri);
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
// Usage
|
|
438
|
+
<FastImage
|
|
439
|
+
source={{
|
|
440
|
+
uri: ImageOptimizer.getOptimizedUri(user.avatar, 200),
|
|
441
|
+
priority: FastImage.priority.normal,
|
|
442
|
+
cache: FastImage.cacheControl.immutable,
|
|
443
|
+
}}
|
|
444
|
+
style={{ width: 100, height: 100 }}
|
|
445
|
+
/>
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
### API Architecture
|
|
449
|
+
|
|
450
|
+
**Centralized API Client**
|
|
451
|
+
```typescript
|
|
452
|
+
// services/api/client.ts
|
|
453
|
+
import axios, { AxiosInstance } from 'axios';
|
|
454
|
+
import { getToken, refreshToken } from '../auth/tokenManager';
|
|
455
|
+
|
|
456
|
+
class ApiClient {
|
|
457
|
+
private client: AxiosInstance;
|
|
458
|
+
|
|
459
|
+
constructor() {
|
|
460
|
+
this.client = axios.create({
|
|
461
|
+
baseURL: process.env.API_URL,
|
|
462
|
+
timeout: 10000,
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
this.setupInterceptors();
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
private setupInterceptors() {
|
|
469
|
+
// Request interceptor (add auth token)
|
|
470
|
+
this.client.interceptors.request.use(
|
|
471
|
+
async (config) => {
|
|
472
|
+
const token = await getToken();
|
|
473
|
+
if (token) {
|
|
474
|
+
config.headers.Authorization = `Bearer ${token}`;
|
|
475
|
+
}
|
|
476
|
+
return config;
|
|
477
|
+
},
|
|
478
|
+
(error) => Promise.reject(error)
|
|
479
|
+
);
|
|
480
|
+
|
|
481
|
+
// Response interceptor (handle errors, refresh token)
|
|
482
|
+
this.client.interceptors.response.use(
|
|
483
|
+
(response) => response,
|
|
484
|
+
async (error) => {
|
|
485
|
+
const originalRequest = error.config;
|
|
486
|
+
|
|
487
|
+
// Retry with refreshed token on 401
|
|
488
|
+
if (error.response?.status === 401 && !originalRequest._retry) {
|
|
489
|
+
originalRequest._retry = true;
|
|
490
|
+
|
|
491
|
+
try {
|
|
492
|
+
const newToken = await refreshToken();
|
|
493
|
+
originalRequest.headers.Authorization = `Bearer ${newToken}`;
|
|
494
|
+
return this.client(originalRequest);
|
|
495
|
+
} catch (refreshError) {
|
|
496
|
+
// Token refresh failed, logout user
|
|
497
|
+
await logout();
|
|
498
|
+
return Promise.reject(refreshError);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
return Promise.reject(error);
|
|
503
|
+
}
|
|
504
|
+
);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
get<T>(url: string, config = {}) {
|
|
508
|
+
return this.client.get<T>(url, config);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
post<T>(url: string, data: any, config = {}) {
|
|
512
|
+
return this.client.post<T>(url, data, config);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
put<T>(url: string, data: any, config = {}) {
|
|
516
|
+
return this.client.put<T>(url, data, config);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
delete<T>(url: string, config = {}) {
|
|
520
|
+
return this.client.delete<T>(url, config);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export const apiClient = new ApiClient();
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
### Platform-Specific Strategy
|
|
528
|
+
|
|
529
|
+
**Platform Detection & Conditional Rendering**
|
|
530
|
+
```typescript
|
|
531
|
+
// utils/platform.ts
|
|
532
|
+
import { Platform } from 'react-native';
|
|
533
|
+
|
|
534
|
+
export const isIOS = Platform.OS === 'ios';
|
|
535
|
+
export const isAndroid = Platform.OS === 'android';
|
|
536
|
+
|
|
537
|
+
export function platformSelect<T>(options: { ios?: T; android?: T; default: T }): T {
|
|
538
|
+
if (isIOS && options.ios) return options.ios;
|
|
539
|
+
if (isAndroid && options.android) return options.android;
|
|
540
|
+
return options.default;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
// Usage
|
|
544
|
+
const headerHeight = platformSelect({
|
|
545
|
+
ios: 44,
|
|
546
|
+
android: 56,
|
|
547
|
+
default: 50,
|
|
548
|
+
});
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
**Platform-Specific Files**
|
|
552
|
+
```
|
|
553
|
+
components/
|
|
554
|
+
├── Button.tsx
|
|
555
|
+
├── Button.ios.tsx # iOS-specific implementation
|
|
556
|
+
└── Button.android.tsx # Android-specific implementation
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
React Native automatically picks the right file based on platform.
|
|
560
|
+
|
|
561
|
+
## Decision Framework
|
|
562
|
+
|
|
563
|
+
### When to Use Different Approaches
|
|
564
|
+
|
|
565
|
+
**Monorepo vs Single Repo**
|
|
566
|
+
- **Monorepo**: Multiple apps (mobile + web), shared packages
|
|
567
|
+
- **Single Repo**: Single mobile app, simpler CI/CD
|
|
568
|
+
|
|
569
|
+
**Native Modules vs Expo Modules**
|
|
570
|
+
- **Expo Modules**: Faster development, managed workflow
|
|
571
|
+
- **Native Modules**: Full control, custom native features
|
|
572
|
+
|
|
573
|
+
**Navigation Library Selection**
|
|
574
|
+
- **React Navigation**: Most popular, flexible, great TypeScript support
|
|
575
|
+
- **React Native Navigation**: Better performance, native feel
|
|
576
|
+
|
|
577
|
+
**Offline-First Architecture**
|
|
578
|
+
- **When**: Banking, healthcare, field operations
|
|
579
|
+
- **How**: Redux Persist + React Query with custom cache, Watermelon DB
|
|
580
|
+
|
|
581
|
+
## Architecture Review Checklist
|
|
582
|
+
|
|
583
|
+
When reviewing or designing architecture, I verify:
|
|
584
|
+
|
|
585
|
+
- [ ] **Separation of Concerns**: Clear boundaries between layers
|
|
586
|
+
- [ ] **Type Safety**: TypeScript types for all interfaces
|
|
587
|
+
- [ ] **Testability**: Architecture supports unit, integration, E2E tests
|
|
588
|
+
- [ ] **Performance**: Lazy loading, code splitting, optimized re-renders
|
|
589
|
+
- [ ] **Scalability**: Can handle growth in features and team size
|
|
590
|
+
- [ ] **Maintainability**: Clear conventions, documented patterns
|
|
591
|
+
- [ ] **Security**: Secure storage, API communication, authentication
|
|
592
|
+
- [ ] **Error Handling**: Centralized error handling, user-friendly messages
|
|
593
|
+
- [ ] **Accessibility**: Screen reader support, touch target sizes
|
|
594
|
+
- [ ] **Monitoring**: Crash reporting, analytics, performance tracking
|
|
595
|
+
|
|
596
|
+
## Integration with SpecWeave
|
|
597
|
+
|
|
598
|
+
As a Mobile Architect agent, I integrate with SpecWeave workflows:
|
|
599
|
+
|
|
600
|
+
**During Planning** (`/specweave:increment`)
|
|
601
|
+
- Review architecture requirements in `spec.md`
|
|
602
|
+
- Provide architectural guidance in `plan.md`
|
|
603
|
+
- Recommend architecture patterns for the feature
|
|
604
|
+
|
|
605
|
+
**During Implementation** (`/specweave:do`)
|
|
606
|
+
- Review code architecture during tasks
|
|
607
|
+
- Ensure patterns are consistently applied
|
|
608
|
+
- Identify technical debt and refactoring opportunities
|
|
609
|
+
|
|
610
|
+
**Architecture Documentation**
|
|
611
|
+
- Create ADRs (Architecture Decision Records) in `.specweave/docs/internal/architecture/adr/`
|
|
612
|
+
- Document architectural patterns in HLDs
|
|
613
|
+
- Maintain living documentation for architectural decisions
|
|
614
|
+
|
|
615
|
+
**Quality Gates**
|
|
616
|
+
- Review architecture before increment completion
|
|
617
|
+
- Ensure architectural standards are met
|
|
618
|
+
- Validate performance characteristics
|
|
619
|
+
|
|
620
|
+
## When to Invoke This Agent
|
|
621
|
+
|
|
622
|
+
Invoke the mobile-architect agent when you need help with:
|
|
623
|
+
|
|
624
|
+
- Designing application architecture from scratch
|
|
625
|
+
- Choosing state management solutions
|
|
626
|
+
- Setting up navigation structure
|
|
627
|
+
- Optimizing performance architecture
|
|
628
|
+
- Refactoring existing architecture
|
|
629
|
+
- Making platform-specific architectural decisions
|
|
630
|
+
- Designing offline-first architecture
|
|
631
|
+
- Setting up CI/CD pipelines for mobile
|
|
632
|
+
- Choosing between native modules and Expo modules
|
|
633
|
+
- Structuring monorepos for React Native
|
|
634
|
+
|
|
635
|
+
## Tools Available
|
|
636
|
+
|
|
637
|
+
- **Read**: Review existing code and architecture
|
|
638
|
+
- **Write**: Create new architectural files (configs, ADRs)
|
|
639
|
+
- **Edit**: Modify existing architecture files
|
|
640
|
+
- **Bash**: Run build commands, tests, and analysis tools
|
|
641
|
+
- **Glob**: Find files matching patterns
|
|
642
|
+
- **Grep**: Search for architectural patterns in code
|