specweave 0.11.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/CLAUDE.md +131 -144
- package/README.md +48 -21
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +21 -70
- package/dist/cli/commands/init.js.map +1 -1
- 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/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/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/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 +116 -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 +124 -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 +382 -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 +257 -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/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/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 +10 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-client.js +24 -0
- package/dist/plugins/specweave-github/lib/github-client.js.map +1 -1
- 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/index.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/index.js.map +1 -1
- 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.map +1 -1
- package/dist/plugins/specweave-github/lib/subtask-sync.js.map +1 -1
- package/dist/plugins/specweave-github/lib/task-parser.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/task-parser.js.map +1 -1
- package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/task-sync.js.map +1 -1
- package/dist/plugins/specweave-github/lib/types.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/types.js.map +1 -1
- 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/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/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/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 +9 -0
- package/dist/src/cli/commands/init.d.ts.map +1 -0
- package/dist/src/cli/commands/init.js +1205 -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 +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/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/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/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.d.ts +65 -0
- package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/github.js +426 -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 +314 -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 +107 -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 +112 -0
- package/dist/src/cli/helpers/issue-tracker/utils.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/utils.js +247 -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/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/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 +114 -0
- package/dist/src/core/increment/metadata-manager.d.ts.map +1 -0
- package/dist/src/core/increment/metadata-manager.js +320 -0
- package/dist/src/core/increment/metadata-manager.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-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 +127 -0
- package/dist/src/core/project-manager.d.ts.map +1 -0
- package/dist/src/core/project-manager.js +524 -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 +404 -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/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/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 +168 -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 +225 -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 +37 -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/sync-profile.d.ts +403 -0
- package/dist/src/core/types/sync-profile.d.ts.map +1 -0
- package/dist/src/core/types/sync-profile.js +55 -0
- package/dist/src/core/types/sync-profile.js.map +1 -0
- package/dist/src/hooks/lib/types/reflection-types.d.ts +125 -0
- package/dist/src/hooks/lib/types/reflection-types.d.ts.map +1 -0
- package/dist/src/hooks/lib/types/reflection-types.js +54 -0
- package/dist/src/hooks/lib/types/reflection-types.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.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 +403 -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 +102 -0
- package/dist/src/utils/external-resource-validator.d.ts.map +1 -0
- package/dist/src/utils/external-resource-validator.js +400 -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/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/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/external-resource-validator.d.ts.map +1 -1
- package/dist/utils/external-resource-validator.js +101 -59
- package/dist/utils/external-resource-validator.js.map +1 -1
- package/dist/utils/plugin-validator.d.ts.map +1 -1
- package/dist/utils/plugin-validator.js +0 -7
- package/dist/utils/plugin-validator.js.map +1 -1
- package/package.json +3 -2
- package/plugins/specweave/agents/reflective-reviewer/AGENT.md +535 -0
- package/plugins/specweave/hooks/post-first-increment.sh +10 -28
- package/plugins/specweave/hooks/post-increment-change.sh +94 -0
- package/plugins/specweave/hooks/post-increment-planning.sh +261 -1
- package/plugins/specweave/hooks/post-increment-status-change.sh +143 -0
- package/plugins/specweave/hooks/post-task-completion.sh +26 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.ts +269 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +264 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.ts +178 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.ts +156 -0
- package/plugins/specweave/lib/hooks/reflection-parser.ts +484 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.ts +306 -0
- package/plugins/specweave/lib/hooks/reflection-storage.ts +369 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.ts +258 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.ts +188 -0
- package/plugins/specweave/lib/hooks/translate-file.ts +428 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.ts +224 -0
- package/plugins/specweave/lib/hooks/types/reflection-types.ts +193 -0
- package/plugins/specweave/lib/hooks/update-tasks-md.ts +256 -0
- package/plugins/specweave/skills/SKILLS-INDEX.md +2 -2
- package/plugins/specweave/skills/increment-planner/SKILL.md +8 -0
- package/plugins/specweave/skills/plugin-expert/SKILL.md +0 -4
- package/plugins/specweave/skills/plugin-installer/SKILL.md +19 -21
- package/plugins/specweave/skills/plugin-validator/SKILL.md +0 -1
- package/plugins/specweave/skills/project-kickstarter/SKILL.md +3 -3
- package/plugins/specweave/skills/spec-generator/SKILL.md +3 -3
- package/plugins/specweave-docs-preview/.claude-plugin/plugin.json +21 -0
- package/plugins/specweave-docs-preview/commands/build.md +489 -0
- package/plugins/specweave-docs-preview/commands/preview.md +330 -0
- package/plugins/specweave-docs-preview/skills/docs-preview/SKILL.md +386 -0
- package/plugins/specweave-github/commands/specweave-github-sync-from.md +147 -0
- package/plugins/specweave-github/lib/cli-sync-increment-changes.ts +33 -0
- package/plugins/specweave-github/lib/github-issue-updater.ts +449 -0
- package/plugins/specweave-github/lib/github-sync-bidirectional.ts +342 -0
- package/plugins/specweave-github/lib/github-sync-increment-changes.ts +380 -0
- package/src/templates/AGENTS.md.template +55 -9
- package/plugins/specweave/skills/translator/SKILL.md.bak +0 -172
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
"name": "specweave-docs-preview",
|
|
155
|
-
"description": "
|
|
155
|
+
"description": "Interactive documentation preview - Launch Docusaurus dev server with hot reload, auto-generated sidebar, Mermaid diagrams. Build static sites for deployment.",
|
|
156
156
|
"source": "./plugins/specweave-docs-preview",
|
|
157
157
|
"category": "productivity",
|
|
158
158
|
"version": "1.0.0",
|
package/CLAUDE.md
CHANGED
|
@@ -964,49 +964,11 @@ After `specweave init`, ALL plugins are already installed. No additional steps n
|
|
|
964
964
|
2. **All Capabilities Available**
|
|
965
965
|
- GitHub integration: `/specweave-github:sync`
|
|
966
966
|
- JIRA integration: `/specweave-jira:sync`
|
|
967
|
-
- Documentation preview: `/specweave:docs preview`
|
|
968
967
|
- Frontend tools: React, Next.js, design systems
|
|
969
968
|
- Backend tools: Node.js, Python, .NET
|
|
970
969
|
- Infrastructure: Kubernetes, Helm, monitoring
|
|
971
970
|
- ...and 19+ more plugins ready to use!
|
|
972
971
|
|
|
973
|
-
#### Phase 3: First Increment Completion (Documentation Preview)
|
|
974
|
-
|
|
975
|
-
After completing your first increment:
|
|
976
|
-
|
|
977
|
-
1. **🎉 Post-First-Increment Hook** (NEW! v0.8.18+)
|
|
978
|
-
- Automatically triggers when first increment is marked complete
|
|
979
|
-
- Suggests docs-preview plugin for beautiful documentation UI
|
|
980
|
-
- Shows clear benefits and install command
|
|
981
|
-
|
|
982
|
-
2. **Suggestion Format**:
|
|
983
|
-
```
|
|
984
|
-
🎉 Congratulations! You completed your first increment!
|
|
985
|
-
|
|
986
|
-
📚 Preview your documentation in a beautiful UI?
|
|
987
|
-
|
|
988
|
-
The specweave-docs-preview plugin can generate a Docusaurus site from
|
|
989
|
-
your .specweave/docs/ folder with:
|
|
990
|
-
|
|
991
|
-
✓ Auto-generated sidebar from folder structure
|
|
992
|
-
✓ Hot reload (edit markdown, see changes instantly)
|
|
993
|
-
✓ Mermaid diagram rendering
|
|
994
|
-
✓ Priority sorting (Strategy → Specs → Architecture → ...)
|
|
995
|
-
|
|
996
|
-
📦 Install with:
|
|
997
|
-
/plugin install specweave-docs-preview
|
|
998
|
-
|
|
999
|
-
🚀 Then launch:
|
|
1000
|
-
/specweave:docs preview
|
|
1001
|
-
```
|
|
1002
|
-
|
|
1003
|
-
3. **Benefits**:
|
|
1004
|
-
- Beautiful, searchable documentation site (Docusaurus 3.x)
|
|
1005
|
-
- Live preview with hot reload (see changes in real-time)
|
|
1006
|
-
- Auto-generated navigation from folder structure
|
|
1007
|
-
- Mermaid diagrams rendered automatically
|
|
1008
|
-
- Share docs with stakeholders (export static site)
|
|
1009
|
-
|
|
1010
972
|
### Plugin Management
|
|
1011
973
|
|
|
1012
974
|
**All 19+ plugins are automatically installed during `specweave init`**. You rarely need to manage plugins manually, but Claude Code's native commands are available if needed:
|
|
@@ -2026,6 +1988,137 @@ ls -1 .specweave/increments/ | grep -E '^[0-9]{4}' | wc -l
|
|
|
2026
1988
|
- ✅ **Compliance & auditing**: Complete audit trail of all product decisions
|
|
2027
1989
|
- ✅ **Living documentation**: Specs stay up-to-date without manual intervention
|
|
2028
1990
|
|
|
1991
|
+
**Post-Increment-Planning Hook** (AUTOMATIC after `/specweave:increment`):
|
|
1992
|
+
|
|
1993
|
+
**GitHub Issue Auto-Creation** (NEW in v0.8.20+):
|
|
1994
|
+
|
|
1995
|
+
**The Critical Problem**: Without automatic GitHub issue creation, increments don't sync to GitHub automatically. This requires manual `/specweave-github:create-issue` calls, which are often forgotten.
|
|
1996
|
+
|
|
1997
|
+
**The Solution**: The `post-increment-planning.sh` hook now auto-creates GitHub issues immediately after increment planning completes.
|
|
1998
|
+
|
|
1999
|
+
**How It Works** (Automatic):
|
|
2000
|
+
1. **Hook Triggers**: After `/specweave:increment` completes planning (spec.md, plan.md, tasks.md created)
|
|
2001
|
+
2. **Auto-Create Check**: Checks if `config.sync.settings.autoCreateIssue` is enabled
|
|
2002
|
+
3. **GitHub CLI Available**: Verifies `gh` CLI is installed and authenticated
|
|
2003
|
+
4. **Issue Creation**:
|
|
2004
|
+
- Extracts title from spec.md frontmatter (`title: "..."`)
|
|
2005
|
+
- Extracts summary from "Quick Overview" section
|
|
2006
|
+
- Generates task checklist from tasks.md (all tasks as GitHub checkboxes)
|
|
2007
|
+
- Calls `gh issue create` with proper labels (`specweave`, `increment`)
|
|
2008
|
+
- Parses output to get issue number
|
|
2009
|
+
5. **Metadata Update**: Creates/updates `.metadata.json` with GitHub issue number and URL
|
|
2010
|
+
6. **Result**: Increment is now linked to GitHub issue for bidirectional sync!
|
|
2011
|
+
|
|
2012
|
+
**Configuration** (`.specweave/config.json`):
|
|
2013
|
+
```json
|
|
2014
|
+
{
|
|
2015
|
+
"sync": {
|
|
2016
|
+
"settings": {
|
|
2017
|
+
"autoCreateIssue": true, // ✅ Enable auto-creation!
|
|
2018
|
+
"syncDirection": "bidirectional"
|
|
2019
|
+
},
|
|
2020
|
+
"activeProfile": "specweave-dev",
|
|
2021
|
+
"profiles": {
|
|
2022
|
+
"specweave-dev": {
|
|
2023
|
+
"provider": "github",
|
|
2024
|
+
"config": {
|
|
2025
|
+
"owner": "anton-abyzov",
|
|
2026
|
+
"repo": "specweave"
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
```
|
|
2033
|
+
|
|
2034
|
+
**What Gets Created**:
|
|
2035
|
+
```markdown
|
|
2036
|
+
# [INC-0016] AI Self-Reflection System
|
|
2037
|
+
|
|
2038
|
+
**Status**: Planning → Implementation
|
|
2039
|
+
**Priority**: P1
|
|
2040
|
+
**Increment**: 0016-self-reflection-system
|
|
2041
|
+
|
|
2042
|
+
## Summary
|
|
2043
|
+
|
|
2044
|
+
Add AI self-reflection capabilities inspired by Kimi model...
|
|
2045
|
+
|
|
2046
|
+
## Tasks
|
|
2047
|
+
|
|
2048
|
+
Progress: 0/30 tasks (0%)
|
|
2049
|
+
|
|
2050
|
+
- [ ] T-001: Create Reflection Configuration Schema
|
|
2051
|
+
- [ ] T-002: Create Configuration Loader
|
|
2052
|
+
- [ ] T-003: Create Git Diff Analyzer
|
|
2053
|
+
... (all 30 tasks)
|
|
2054
|
+
|
|
2055
|
+
## Links
|
|
2056
|
+
|
|
2057
|
+
- **Spec**: `spec.md`
|
|
2058
|
+
- **Plan**: `plan.md`
|
|
2059
|
+
- **Tasks**: `tasks.md`
|
|
2060
|
+
|
|
2061
|
+
---
|
|
2062
|
+
|
|
2063
|
+
🤖 Auto-created by SpecWeave | Updates automatically on task completion
|
|
2064
|
+
```
|
|
2065
|
+
|
|
2066
|
+
**Error Handling** (Robust):
|
|
2067
|
+
- ✅ **Missing files**: Graceful fallback if spec.md or tasks.md missing
|
|
2068
|
+
- ✅ **Title extraction**: Multiple fallbacks (frontmatter → heading → increment ID)
|
|
2069
|
+
- ✅ **Overview extraction**: Tries "Quick Overview", "Summary", or first paragraph
|
|
2070
|
+
- ✅ **Task count**: Extracts from frontmatter or counts tasks
|
|
2071
|
+
- ✅ **GitHub CLI failures**: Non-blocking (logs error, continues)
|
|
2072
|
+
- ✅ **Duplicate prevention**: Checks metadata.json for existing issue number
|
|
2073
|
+
- ✅ **Repository detection**: Auto-detects from git remote or config
|
|
2074
|
+
|
|
2075
|
+
**Manual Override** (When Needed):
|
|
2076
|
+
```bash
|
|
2077
|
+
# Disable auto-create for one increment
|
|
2078
|
+
# Just don't set autoCreateIssue in config
|
|
2079
|
+
|
|
2080
|
+
# Or create manually if auto-create failed
|
|
2081
|
+
/specweave-github:create-issue 0016
|
|
2082
|
+
|
|
2083
|
+
# Check if issue was created
|
|
2084
|
+
cat .specweave/increments/0016-self-reflection-system/metadata.json
|
|
2085
|
+
# Should show: "github": {"issue": 30, "url": "..."}
|
|
2086
|
+
```
|
|
2087
|
+
|
|
2088
|
+
**Why This Matters**:
|
|
2089
|
+
- ✅ **Zero manual work**: Issues auto-create on every increment
|
|
2090
|
+
- ✅ **Immediate tracking**: Increment linked to GitHub from start
|
|
2091
|
+
- ✅ **Bidirectional sync**: Task completion updates GitHub automatically
|
|
2092
|
+
- ✅ **Team visibility**: Stakeholders see progress in GitHub without asking
|
|
2093
|
+
- ✅ **Audit trail**: All increments tracked in one place
|
|
2094
|
+
- ✅ **DORA metrics**: Automatic deployment frequency tracking
|
|
2095
|
+
|
|
2096
|
+
**Workflow Example**:
|
|
2097
|
+
```bash
|
|
2098
|
+
# 1. Create increment
|
|
2099
|
+
/specweave:increment "AI self-reflection system"
|
|
2100
|
+
|
|
2101
|
+
# 2. Hook auto-fires:
|
|
2102
|
+
# 🔗 Checking GitHub issue auto-creation...
|
|
2103
|
+
# 📦 Auto-create enabled, checking for GitHub CLI...
|
|
2104
|
+
# ✓ GitHub CLI found
|
|
2105
|
+
# 🚀 Creating GitHub issue for 0016-self-reflection-system...
|
|
2106
|
+
# 📝 Issue #30 created
|
|
2107
|
+
# 🔗 https://github.com/anton-abyzov/specweave/issues/30
|
|
2108
|
+
# ✅ metadata.json updated
|
|
2109
|
+
|
|
2110
|
+
# 3. Start work
|
|
2111
|
+
/specweave:do
|
|
2112
|
+
|
|
2113
|
+
# 4. Complete tasks → GitHub updates automatically via post-task-completion hook!
|
|
2114
|
+
```
|
|
2115
|
+
|
|
2116
|
+
**Requirements**:
|
|
2117
|
+
- GitHub CLI (`gh`) installed and authenticated (`gh auth login`)
|
|
2118
|
+
- Repository with GitHub remote configured
|
|
2119
|
+
- `autoCreateIssue: true` in config.json
|
|
2120
|
+
- Write permissions to repository
|
|
2121
|
+
|
|
2029
2122
|
---
|
|
2030
2123
|
|
|
2031
2124
|
## Plugins
|
|
@@ -2596,112 +2689,6 @@ vim docs-site/docs/guides/getting-started.md
|
|
|
2596
2689
|
cd docs-site && npm run build
|
|
2597
2690
|
```
|
|
2598
2691
|
|
|
2599
|
-
### Documentation Preview (specweave-docs-preview plugin)
|
|
2600
|
-
|
|
2601
|
-
**Live preview of `.specweave/docs/` with Docusaurus** - Beautiful UI with hot reload, auto-generated sidebar, and Mermaid diagram support.
|
|
2602
|
-
|
|
2603
|
-
**When to Use**:
|
|
2604
|
-
- ✅ After completing your first increment (auto-suggested)
|
|
2605
|
-
- ✅ Reviewing documentation in a beautiful UI instead of raw markdown
|
|
2606
|
-
- ✅ Sharing documentation with non-technical stakeholders
|
|
2607
|
-
- ✅ Preparing documentation for external publication
|
|
2608
|
-
|
|
2609
|
-
**Installation** (auto-prompted after first increment):
|
|
2610
|
-
|
|
2611
|
-
The `post-first-increment.sh` hook automatically prompts you after completing your first increment:
|
|
2612
|
-
|
|
2613
|
-
```
|
|
2614
|
-
🎉 Congratulations! You completed your first increment!
|
|
2615
|
-
|
|
2616
|
-
📚 Would you like to preview your documentation in a beautiful UI?
|
|
2617
|
-
|
|
2618
|
-
Options:
|
|
2619
|
-
1) Yes, install and launch now (recommended)
|
|
2620
|
-
2) No thanks, I'll browse markdown files manually
|
|
2621
|
-
3) Remind me later
|
|
2622
|
-
|
|
2623
|
-
Your choice [1]:
|
|
2624
|
-
```
|
|
2625
|
-
|
|
2626
|
-
**Manual Commands**:
|
|
2627
|
-
|
|
2628
|
-
```bash
|
|
2629
|
-
# Launch preview (installs Docusaurus if needed)
|
|
2630
|
-
/specweave:docs preview
|
|
2631
|
-
|
|
2632
|
-
# Specify port
|
|
2633
|
-
/specweave:docs preview --port 3001
|
|
2634
|
-
|
|
2635
|
-
# Build static site for deployment
|
|
2636
|
-
/specweave:docs build
|
|
2637
|
-
|
|
2638
|
-
# Output: .specweave/docs-site-internal/build/
|
|
2639
|
-
```
|
|
2640
|
-
|
|
2641
|
-
**Features**:
|
|
2642
|
-
- ✅ **Auto-generated sidebar** from `.specweave/docs/internal/` folder structure
|
|
2643
|
-
- ✅ **Hot reload** - Edit markdown files and see changes instantly
|
|
2644
|
-
- ✅ **Mermaid diagrams** - Automatic rendering of diagrams
|
|
2645
|
-
- ✅ **Priority sorting** - Strategy → Specs → Architecture → Delivery → Operations → Governance
|
|
2646
|
-
- ✅ **Port auto-discovery** - Finds available port (3000-3010)
|
|
2647
|
-
- ✅ **Cross-platform** - Windows/macOS/Linux compatible
|
|
2648
|
-
|
|
2649
|
-
**What Gets Indexed**:
|
|
2650
|
-
- `.specweave/docs/internal/strategy/` - Business rationale, PRDs
|
|
2651
|
-
- `.specweave/docs/internal/specs/` - Feature specifications
|
|
2652
|
-
- `.specweave/docs/internal/architecture/` - Technical design, ADRs
|
|
2653
|
-
- `.specweave/docs/internal/delivery/` - Build & release processes
|
|
2654
|
-
- `.specweave/docs/internal/operations/` - Runbooks, SLOs
|
|
2655
|
-
- `.specweave/docs/internal/governance/` - Policies, security
|
|
2656
|
-
|
|
2657
|
-
**What Gets Excluded**:
|
|
2658
|
-
- ❌ `legacy/` folder (brownfield imports, temporary)
|
|
2659
|
-
- ❌ `node_modules/`, `.git/`
|
|
2660
|
-
- ❌ `.specweave/increments/` (implementation details, not strategic docs)
|
|
2661
|
-
|
|
2662
|
-
**Configuration** (`.specweave/config.json`):
|
|
2663
|
-
|
|
2664
|
-
```json
|
|
2665
|
-
{
|
|
2666
|
-
"documentation": {
|
|
2667
|
-
"preview": {
|
|
2668
|
-
"enabled": true,
|
|
2669
|
-
"autoInstall": true,
|
|
2670
|
-
"port": 3000,
|
|
2671
|
-
"openBrowser": true,
|
|
2672
|
-
"theme": "default",
|
|
2673
|
-
"excludeFolders": ["legacy", "node_modules"]
|
|
2674
|
-
}
|
|
2675
|
-
}
|
|
2676
|
-
}
|
|
2677
|
-
```
|
|
2678
|
-
|
|
2679
|
-
**Requirements**:
|
|
2680
|
-
- Node.js 18+ (Docusaurus 3.0 requirement)
|
|
2681
|
-
- ~150 MB disk space for npm packages
|
|
2682
|
-
- ~30 seconds first-time install
|
|
2683
|
-
|
|
2684
|
-
**Files Created** (gitignored):
|
|
2685
|
-
- `.specweave/docs-site-internal/` - Complete Docusaurus installation for internal docs
|
|
2686
|
-
- `package.json` - Dependencies
|
|
2687
|
-
- `docusaurus.config.js` - Configuration
|
|
2688
|
-
- `sidebars.js` - Auto-generated sidebar
|
|
2689
|
-
- `src/` - Landing page and custom CSS
|
|
2690
|
-
- `node_modules/` - npm packages
|
|
2691
|
-
- `build/` - Static site output (after build)
|
|
2692
|
-
|
|
2693
|
-
**Note**: This is separate from `docs-site/` (public-facing docs at project root)
|
|
2694
|
-
|
|
2695
|
-
**Implementation**:
|
|
2696
|
-
- Plugin: `plugins/specweave-docs-preview/`
|
|
2697
|
-
- TypeScript utilities: `src/utils/docs-preview/`
|
|
2698
|
-
- CLI commands: `src/cli/commands/docs-{preview,build,setup}.ts`
|
|
2699
|
-
- Hook: `plugins/specweave/hooks/post-first-increment.sh`
|
|
2700
|
-
|
|
2701
|
-
**See Also**:
|
|
2702
|
-
- Plugin docs: `plugins/specweave-docs-preview/skills/docs-preview/SKILL.md`
|
|
2703
|
-
- Command docs: `plugins/specweave-docs-preview/commands/docs-preview.md`
|
|
2704
|
-
|
|
2705
2692
|
### Translation Workflow (Multilingual Support)
|
|
2706
2693
|
|
|
2707
2694
|
**SpecWeave supports multilingual development** via two-phase post-generation translation (Increment 0006).
|
package/README.md
CHANGED
|
@@ -10,26 +10,64 @@
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## 📊 Engineering Metrics (DORA)
|
|
14
|
+
|
|
15
|
+
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
16
|
+
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
17
|
+
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
18
|
+
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
19
|
+
|
|
20
|
+
**SpecWeave builds SpecWeave using SpecWeave.** These are real metrics from our own development.
|
|
21
|
+
|
|
22
|
+
**[→ Live Dashboard](https://spec-weave.com/docs/metrics)** | **[→ Detailed Report](https://github.com/anton-abyzov/specweave/blob/develop/metrics/dora-report.md)**
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## If You Get Hit By A Bus
|
|
27
|
+
|
|
28
|
+
Your startup dies with you.
|
|
29
|
+
|
|
30
|
+
Every architecture decision. Every API choice. Every "weird workaround because..."
|
|
31
|
+
|
|
32
|
+
All in your head. Zero documentation.
|
|
33
|
+
|
|
34
|
+
**AI made you 10x faster at digging your own grave.**
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Want to Scale? Get Enterprise-Ready.
|
|
39
|
+
|
|
40
|
+
You can't land Fortune 500 clients with tribal knowledge.
|
|
41
|
+
You can't pass SOC2 audit with "ask Dave."
|
|
42
|
+
You can't sell your startup when the codebase is a mystery.
|
|
14
43
|
|
|
15
|
-
|
|
44
|
+
**The companies making REAL money?**
|
|
45
|
+
- They have **PRDs** (Product Requirements)
|
|
46
|
+
- They have **ADRs** (Architecture Decision Records)
|
|
47
|
+
- They have **HLDs** (High-Level Design docs)
|
|
48
|
+
- They have **runbooks** (How to actually run this)
|
|
16
49
|
|
|
17
|
-
|
|
50
|
+
This isn't bureaucracy. **This is how you get paid.**
|
|
18
51
|
|
|
19
|
-
|
|
52
|
+
But for solo devs and small teams? Impossible to maintain manually.
|
|
20
53
|
|
|
21
54
|
---
|
|
22
55
|
|
|
23
|
-
##
|
|
56
|
+
## SpecWeave: Enterprise Standards, Zero Overhead
|
|
57
|
+
|
|
58
|
+
Living documentation that updates automatically after every task.
|
|
59
|
+
|
|
60
|
+
The same processes Fortune 500 uses. Without the team. Without the manual work.
|
|
24
61
|
|
|
25
|
-
**
|
|
62
|
+
✅ **Architecture decisions documented** - Pass audits, land enterprise deals
|
|
26
63
|
|
|
27
|
-
|
|
64
|
+
✅ **Onboarding automated** - New devs productive in 1 hour, not 1 week
|
|
28
65
|
|
|
29
|
-
|
|
30
|
-
> — My 14-year-old daughter (who was absolutely right)
|
|
66
|
+
✅ **Knowledge preserved** - Sell your startup, someone can actually run it
|
|
31
67
|
|
|
32
|
-
**
|
|
68
|
+
✅ **Standards enforced** - SOC2, ISO, compliance requirements met
|
|
69
|
+
|
|
70
|
+
**AI speed + Enterprise reliability = You can finally scale.**
|
|
33
71
|
|
|
34
72
|
---
|
|
35
73
|
|
|
@@ -118,17 +156,6 @@ specweave init .
|
|
|
118
156
|
|
|
119
157
|
---
|
|
120
158
|
|
|
121
|
-
## 📊 Engineering Metrics (DORA)
|
|
122
|
-
|
|
123
|
-
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
124
|
-
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
125
|
-
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
126
|
-
[](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
|
|
127
|
-
|
|
128
|
-
**[→ Live Dashboard](https://spec-weave.com/docs/metrics)** | **[→ Detailed Report](https://github.com/anton-abyzov/specweave/blob/develop/metrics/dora-report.md)**
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
159
|
## Key Features
|
|
133
160
|
|
|
134
161
|
- 🧪 **Test-Aware Planning** - Embedded tests in BDD format (Given/When/Then)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAoBA,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,WAAW,CAC/B,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAoBA,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,WAAW,CAC/B,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CA4qBf"}
|
|
@@ -416,76 +416,8 @@ export async function initCommand(projectName, options = {}) {
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
// 13.
|
|
420
|
-
|
|
421
|
-
if (toolName === 'claude') {
|
|
422
|
-
try {
|
|
423
|
-
spinner.stop();
|
|
424
|
-
console.log('');
|
|
425
|
-
console.log(chalk.cyan('📚 Documentation Preview'));
|
|
426
|
-
console.log('');
|
|
427
|
-
console.log(chalk.white(' View your living documentation in a beautiful UI:'));
|
|
428
|
-
console.log(chalk.gray(' • Auto-generated sidebar from folder structure'));
|
|
429
|
-
console.log(chalk.gray(' • Hot reload (edit markdown, see changes instantly)'));
|
|
430
|
-
console.log(chalk.gray(' • Mermaid diagram rendering'));
|
|
431
|
-
console.log(chalk.gray(' • Installs dependencies on first use'));
|
|
432
|
-
console.log('');
|
|
433
|
-
const response = await inquirer.prompt([
|
|
434
|
-
{
|
|
435
|
-
type: 'confirm',
|
|
436
|
-
name: 'enableDocsPreview',
|
|
437
|
-
message: 'Enable documentation preview?',
|
|
438
|
-
default: true
|
|
439
|
-
}
|
|
440
|
-
]);
|
|
441
|
-
enableDocsPreview = response.enableDocsPreview;
|
|
442
|
-
if (enableDocsPreview) {
|
|
443
|
-
console.log(chalk.green(' ✔ Documentation preview enabled'));
|
|
444
|
-
// 🚨 CRITICAL FIX: Actually install the docs-preview plugin!
|
|
445
|
-
// User said Yes → Install plugin immediately (like issue tracker setup)
|
|
446
|
-
if (detectClaudeCli()) {
|
|
447
|
-
console.log(chalk.gray(' → Installing specweave-docs-preview plugin...'));
|
|
448
|
-
try {
|
|
449
|
-
const result = execFileNoThrowSync('claude', [
|
|
450
|
-
'plugin',
|
|
451
|
-
'install',
|
|
452
|
-
'specweave-docs-preview' // NO @marketplace suffix
|
|
453
|
-
]);
|
|
454
|
-
if (result.success) {
|
|
455
|
-
console.log(chalk.green(' ✔ specweave-docs-preview plugin installed'));
|
|
456
|
-
console.log(chalk.gray(' → Preview with: /specweave:docs preview'));
|
|
457
|
-
}
|
|
458
|
-
else {
|
|
459
|
-
console.log(chalk.yellow(' ⚠️ Plugin install failed (can install later)'));
|
|
460
|
-
console.log(chalk.gray(' → Try manually: /plugin install specweave-docs-preview'));
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
catch (error) {
|
|
464
|
-
console.log(chalk.yellow(' ⚠️ Plugin install failed (can install later)'));
|
|
465
|
-
console.log(chalk.gray(' → Try manually: /plugin install specweave-docs-preview'));
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
else {
|
|
469
|
-
console.log(chalk.gray(' → Preview with: /specweave:docs preview'));
|
|
470
|
-
console.log(chalk.yellow(' ⚠️ Claude CLI not detected - install plugin manually:'));
|
|
471
|
-
console.log(chalk.gray(' → /plugin install specweave-docs-preview'));
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
else {
|
|
475
|
-
console.log(chalk.gray(' → Skipped (can enable later in .specweave/config.json)'));
|
|
476
|
-
}
|
|
477
|
-
console.log('');
|
|
478
|
-
spinner.start();
|
|
479
|
-
}
|
|
480
|
-
catch (error) {
|
|
481
|
-
// Non-critical - continue with default (enabled)
|
|
482
|
-
if (process.env.DEBUG) {
|
|
483
|
-
console.error(chalk.red(`\n❌ Docs preview prompt error: ${error.message}`));
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
// 14. Create config.json with language setting and docs preview
|
|
488
|
-
createConfigFile(targetDir, finalProjectName, toolName, language, enableDocsPreview);
|
|
419
|
+
// 13. Create config.json with language setting
|
|
420
|
+
createConfigFile(targetDir, finalProjectName, toolName, language, false);
|
|
489
421
|
// 14. Setup Claude Code plugin auto-registration (if Claude detected)
|
|
490
422
|
let autoInstallSucceeded = false;
|
|
491
423
|
if (toolName === 'claude') {
|
|
@@ -672,6 +604,25 @@ export async function initCommand(projectName, options = {}) {
|
|
|
672
604
|
autoInstallSucceeded = false;
|
|
673
605
|
}
|
|
674
606
|
}
|
|
607
|
+
// 10.5 Issue Tracker Integration (CRITICAL!)
|
|
608
|
+
// MUST happen AFTER plugin installation is complete
|
|
609
|
+
// Asks user: Which tracker? (GitHub/Jira/ADO/None)
|
|
610
|
+
// Collects credentials and runs smart validation
|
|
611
|
+
try {
|
|
612
|
+
const { setupIssueTracker } = await import('../helpers/issue-tracker/index.js');
|
|
613
|
+
await setupIssueTracker({
|
|
614
|
+
projectPath: targetDir,
|
|
615
|
+
language: language,
|
|
616
|
+
maxRetries: 3
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
catch (error) {
|
|
620
|
+
// Non-critical error - log but continue
|
|
621
|
+
if (process.env.DEBUG) {
|
|
622
|
+
console.error(chalk.red(`\n❌ Issue tracker setup error: ${error.message}`));
|
|
623
|
+
}
|
|
624
|
+
console.log(chalk.yellow('\n⚠️ Issue tracker setup skipped (can configure later)'));
|
|
625
|
+
}
|
|
675
626
|
}
|
|
676
627
|
showNextSteps(finalProjectName, toolName, language, usedDotNotation, toolName === 'claude' ? autoInstallSucceeded : undefined);
|
|
677
628
|
}
|