spectra-cli 4.1.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/LICENSE +21 -0
- package/README.md +350 -0
- package/dist/adapters/go-adapter.d.ts +38 -0
- package/dist/adapters/go-adapter.d.ts.map +1 -0
- package/dist/adapters/go-adapter.js +58 -0
- package/dist/adapters/go-adapter.js.map +1 -0
- package/dist/adapters/index.d.ts +21 -0
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +36 -0
- package/dist/adapters/index.js.map +1 -0
- package/dist/adapters/java-adapter.d.ts +39 -0
- package/dist/adapters/java-adapter.d.ts.map +1 -0
- package/dist/adapters/java-adapter.js +65 -0
- package/dist/adapters/java-adapter.js.map +1 -0
- package/dist/adapters/language-adapter-registry.d.ts +56 -0
- package/dist/adapters/language-adapter-registry.d.ts.map +1 -0
- package/dist/adapters/language-adapter-registry.js +110 -0
- package/dist/adapters/language-adapter-registry.js.map +1 -0
- package/dist/adapters/language-adapter.d.ts +127 -0
- package/dist/adapters/language-adapter.d.ts.map +1 -0
- package/dist/adapters/language-adapter.js +2 -0
- package/dist/adapters/language-adapter.js.map +1 -0
- package/dist/adapters/python-adapter.d.ts +61 -0
- package/dist/adapters/python-adapter.d.ts.map +1 -0
- package/dist/adapters/python-adapter.js +260 -0
- package/dist/adapters/python-adapter.js.map +1 -0
- package/dist/adapters/tree-sitter-comment-extractor.d.ts +15 -0
- package/dist/adapters/tree-sitter-comment-extractor.d.ts.map +1 -0
- package/dist/adapters/tree-sitter-comment-extractor.js +105 -0
- package/dist/adapters/tree-sitter-comment-extractor.js.map +1 -0
- package/dist/adapters/ts-js-adapter.d.ts +38 -0
- package/dist/adapters/ts-js-adapter.d.ts.map +1 -0
- package/dist/adapters/ts-js-adapter.js +164 -0
- package/dist/adapters/ts-js-adapter.js.map +1 -0
- package/dist/auth/auth-detector.d.ts +41 -0
- package/dist/auth/auth-detector.d.ts.map +1 -0
- package/dist/auth/auth-detector.js +324 -0
- package/dist/auth/auth-detector.js.map +1 -0
- package/dist/auth/cli-proxy.d.ts +35 -0
- package/dist/auth/cli-proxy.d.ts.map +1 -0
- package/dist/auth/cli-proxy.js +225 -0
- package/dist/auth/cli-proxy.js.map +1 -0
- package/dist/auth/codex-proxy.d.ts +22 -0
- package/dist/auth/codex-proxy.d.ts.map +1 -0
- package/dist/auth/codex-proxy.js +199 -0
- package/dist/auth/codex-proxy.js.map +1 -0
- package/dist/batch/batch-orchestrator.d.ts +214 -0
- package/dist/batch/batch-orchestrator.d.ts.map +1 -0
- package/dist/batch/batch-orchestrator.js +1552 -0
- package/dist/batch/batch-orchestrator.js.map +1 -0
- package/dist/batch/batch-readme-generator.d.ts +32 -0
- package/dist/batch/batch-readme-generator.d.ts.map +1 -0
- package/dist/batch/batch-readme-generator.js +153 -0
- package/dist/batch/batch-readme-generator.js.map +1 -0
- package/dist/batch/budget-gate.d.ts +107 -0
- package/dist/batch/budget-gate.d.ts.map +1 -0
- package/dist/batch/budget-gate.js +279 -0
- package/dist/batch/budget-gate.js.map +1 -0
- package/dist/batch/checkpoint.d.ts +25 -0
- package/dist/batch/checkpoint.d.ts.map +1 -0
- package/dist/batch/checkpoint.js +68 -0
- package/dist/batch/checkpoint.js.map +1 -0
- package/dist/batch/cost-summary.d.ts +78 -0
- package/dist/batch/cost-summary.d.ts.map +1 -0
- package/dist/batch/cost-summary.js +191 -0
- package/dist/batch/cost-summary.js.map +1 -0
- package/dist/batch/delta-regenerator.d.ts +41 -0
- package/dist/batch/delta-regenerator.d.ts.map +1 -0
- package/dist/batch/delta-regenerator.js +267 -0
- package/dist/batch/delta-regenerator.js.map +1 -0
- package/dist/batch/directory-classifier.d.ts +79 -0
- package/dist/batch/directory-classifier.d.ts.map +1 -0
- package/dist/batch/directory-classifier.js +270 -0
- package/dist/batch/directory-classifier.js.map +1 -0
- package/dist/batch/language-grouper.d.ts +28 -0
- package/dist/batch/language-grouper.d.ts.map +1 -0
- package/dist/batch/language-grouper.js +67 -0
- package/dist/batch/language-grouper.js.map +1 -0
- package/dist/batch/model-override-decision.d.ts +27 -0
- package/dist/batch/model-override-decision.d.ts.map +1 -0
- package/dist/batch/model-override-decision.js +14 -0
- package/dist/batch/model-override-decision.js.map +1 -0
- package/dist/batch/module-grouper.d.ts +59 -0
- package/dist/batch/module-grouper.d.ts.map +1 -0
- package/dist/batch/module-grouper.js +286 -0
- package/dist/batch/module-grouper.js.map +1 -0
- package/dist/batch/progress-reporter.d.ts +68 -0
- package/dist/batch/progress-reporter.d.ts.map +1 -0
- package/dist/batch/progress-reporter.js +273 -0
- package/dist/batch/progress-reporter.js.map +1 -0
- package/dist/batch/readme-graph-section.d.ts +53 -0
- package/dist/batch/readme-graph-section.d.ts.map +1 -0
- package/dist/batch/readme-graph-section.js +183 -0
- package/dist/batch/readme-graph-section.js.map +1 -0
- package/dist/cli/commands/auth-status.d.ts +10 -0
- package/dist/cli/commands/auth-status.d.ts.map +1 -0
- package/dist/cli/commands/auth-status.js +50 -0
- package/dist/cli/commands/auth-status.js.map +1 -0
- package/dist/cli/commands/batch.d.ts +10 -0
- package/dist/cli/commands/batch.d.ts.map +1 -0
- package/dist/cli/commands/batch.js +133 -0
- package/dist/cli/commands/batch.js.map +1 -0
- package/dist/cli/commands/cache.d.ts +13 -0
- package/dist/cli/commands/cache.d.ts.map +1 -0
- package/dist/cli/commands/cache.js +65 -0
- package/dist/cli/commands/cache.js.map +1 -0
- package/dist/cli/commands/community.d.ts +10 -0
- package/dist/cli/commands/community.d.ts.map +1 -0
- package/dist/cli/commands/community.js +92 -0
- package/dist/cli/commands/community.js.map +1 -0
- package/dist/cli/commands/diff.d.ts +10 -0
- package/dist/cli/commands/diff.d.ts.map +1 -0
- package/dist/cli/commands/diff.js +49 -0
- package/dist/cli/commands/diff.js.map +1 -0
- package/dist/cli/commands/direction-audit.d.ts +12 -0
- package/dist/cli/commands/direction-audit.d.ts.map +1 -0
- package/dist/cli/commands/direction-audit.js +458 -0
- package/dist/cli/commands/direction-audit.js.map +1 -0
- package/dist/cli/commands/export.d.ts +22 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +123 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/generate.d.ts +10 -0
- package/dist/cli/commands/generate.d.ts.map +1 -0
- package/dist/cli/commands/generate.js +50 -0
- package/dist/cli/commands/generate.js.map +1 -0
- package/dist/cli/commands/graph.d.ts +20 -0
- package/dist/cli/commands/graph.d.ts.map +1 -0
- package/dist/cli/commands/graph.js +189 -0
- package/dist/cli/commands/graph.js.map +1 -0
- package/dist/cli/commands/init.d.ts +10 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +33 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/install.d.ts +11 -0
- package/dist/cli/commands/install.d.ts.map +1 -0
- package/dist/cli/commands/install.js +52 -0
- package/dist/cli/commands/install.js.map +1 -0
- package/dist/cli/commands/mcp-server.d.ts +23 -0
- package/dist/cli/commands/mcp-server.d.ts.map +1 -0
- package/dist/cli/commands/mcp-server.js +90 -0
- package/dist/cli/commands/mcp-server.js.map +1 -0
- package/dist/cli/commands/panoramic.d.ts +7 -0
- package/dist/cli/commands/panoramic.d.ts.map +1 -0
- package/dist/cli/commands/panoramic.js +43 -0
- package/dist/cli/commands/panoramic.js.map +1 -0
- package/dist/cli/commands/prepare.d.ts +13 -0
- package/dist/cli/commands/prepare.d.ts.map +1 -0
- package/dist/cli/commands/prepare.js +148 -0
- package/dist/cli/commands/prepare.js.map +1 -0
- package/dist/cli/commands/query.d.ts +13 -0
- package/dist/cli/commands/query.d.ts.map +1 -0
- package/dist/cli/commands/query.js +116 -0
- package/dist/cli/commands/query.js.map +1 -0
- package/dist/cli/commands/watch.d.ts +16 -0
- package/dist/cli/commands/watch.d.ts.map +1 -0
- package/dist/cli/commands/watch.js +188 -0
- package/dist/cli/commands/watch.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +193 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/utils/error-handler.d.ts +41 -0
- package/dist/cli/utils/error-handler.d.ts.map +1 -0
- package/dist/cli/utils/error-handler.js +90 -0
- package/dist/cli/utils/error-handler.js.map +1 -0
- package/dist/cli/utils/parse-args.d.ts +111 -0
- package/dist/cli/utils/parse-args.d.ts.map +1 -0
- package/dist/cli/utils/parse-args.js +756 -0
- package/dist/cli/utils/parse-args.js.map +1 -0
- package/dist/config/project-config.d.ts +49 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/config/project-config.js +118 -0
- package/dist/config/project-config.js.map +1 -0
- package/dist/config/spec-driver-config.d.ts +32 -0
- package/dist/config/spec-driver-config.d.ts.map +1 -0
- package/dist/config/spec-driver-config.js +91 -0
- package/dist/config/spec-driver-config.js.map +1 -0
- package/dist/core/ast-analyzer.d.ts +49 -0
- package/dist/core/ast-analyzer.d.ts.map +1 -0
- package/dist/core/ast-analyzer.js +439 -0
- package/dist/core/ast-analyzer.js.map +1 -0
- package/dist/core/code-slice-extractor.d.ts +47 -0
- package/dist/core/code-slice-extractor.d.ts.map +1 -0
- package/dist/core/code-slice-extractor.js +227 -0
- package/dist/core/code-slice-extractor.js.map +1 -0
- package/dist/core/context-assembler.d.ts +80 -0
- package/dist/core/context-assembler.d.ts.map +1 -0
- package/dist/core/context-assembler.js +262 -0
- package/dist/core/context-assembler.js.map +1 -0
- package/dist/core/grammar-manager.d.ts +79 -0
- package/dist/core/grammar-manager.d.ts.map +1 -0
- package/dist/core/grammar-manager.js +188 -0
- package/dist/core/grammar-manager.js.map +1 -0
- package/dist/core/llm-client.d.ts +120 -0
- package/dist/core/llm-client.d.ts.map +1 -0
- package/dist/core/llm-client.js +608 -0
- package/dist/core/llm-client.js.map +1 -0
- package/dist/core/model-selection.d.ts +50 -0
- package/dist/core/model-selection.d.ts.map +1 -0
- package/dist/core/model-selection.js +410 -0
- package/dist/core/model-selection.js.map +1 -0
- package/dist/core/query-mappers/base-mapper.d.ts +22 -0
- package/dist/core/query-mappers/base-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/base-mapper.js +2 -0
- package/dist/core/query-mappers/base-mapper.js.map +1 -0
- package/dist/core/query-mappers/go-mapper.d.ts +46 -0
- package/dist/core/query-mappers/go-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/go-mapper.js +477 -0
- package/dist/core/query-mappers/go-mapper.js.map +1 -0
- package/dist/core/query-mappers/index.d.ts +6 -0
- package/dist/core/query-mappers/index.d.ts.map +1 -0
- package/dist/core/query-mappers/index.js +5 -0
- package/dist/core/query-mappers/index.js.map +1 -0
- package/dist/core/query-mappers/java-mapper.d.ts +40 -0
- package/dist/core/query-mappers/java-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/java-mapper.js +405 -0
- package/dist/core/query-mappers/java-mapper.js.map +1 -0
- package/dist/core/query-mappers/python-mapper.d.ts +65 -0
- package/dist/core/query-mappers/python-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/python-mapper.js +673 -0
- package/dist/core/query-mappers/python-mapper.js.map +1 -0
- package/dist/core/query-mappers/typescript-mapper.d.ts +54 -0
- package/dist/core/query-mappers/typescript-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/typescript-mapper.js +706 -0
- package/dist/core/query-mappers/typescript-mapper.js.map +1 -0
- package/dist/core/secret-redactor.d.ts +10 -0
- package/dist/core/secret-redactor.d.ts.map +1 -0
- package/dist/core/secret-redactor.js +208 -0
- package/dist/core/secret-redactor.js.map +1 -0
- package/dist/core/single-spec-orchestrator.d.ts +103 -0
- package/dist/core/single-spec-orchestrator.d.ts.map +1 -0
- package/dist/core/single-spec-orchestrator.js +911 -0
- package/dist/core/single-spec-orchestrator.js.map +1 -0
- package/dist/core/token-counter.d.ts +48 -0
- package/dist/core/token-counter.d.ts.map +1 -0
- package/dist/core/token-counter.js +136 -0
- package/dist/core/token-counter.js.map +1 -0
- package/dist/core/tree-sitter-analyzer.d.ts +62 -0
- package/dist/core/tree-sitter-analyzer.d.ts.map +1 -0
- package/dist/core/tree-sitter-analyzer.js +229 -0
- package/dist/core/tree-sitter-analyzer.js.map +1 -0
- package/dist/core/tree-sitter-fallback.d.ts +14 -0
- package/dist/core/tree-sitter-fallback.d.ts.map +1 -0
- package/dist/core/tree-sitter-fallback.js +423 -0
- package/dist/core/tree-sitter-fallback.js.map +1 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.d.ts +22 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.d.ts.map +1 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.js +107 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.js.map +1 -0
- package/dist/debt-scanner/aggregator/readme-indexer.d.ts +6 -0
- package/dist/debt-scanner/aggregator/readme-indexer.d.ts.map +1 -0
- package/dist/debt-scanner/aggregator/readme-indexer.js +52 -0
- package/dist/debt-scanner/aggregator/readme-indexer.js.map +1 -0
- package/dist/debt-scanner/aggregator/report-builder.d.ts +25 -0
- package/dist/debt-scanner/aggregator/report-builder.d.ts.map +1 -0
- package/dist/debt-scanner/aggregator/report-builder.js +162 -0
- package/dist/debt-scanner/aggregator/report-builder.js.map +1 -0
- package/dist/debt-scanner/comments/debt-classifier.d.ts +28 -0
- package/dist/debt-scanner/comments/debt-classifier.d.ts.map +1 -0
- package/dist/debt-scanner/comments/debt-classifier.js +50 -0
- package/dist/debt-scanner/comments/debt-classifier.js.map +1 -0
- package/dist/debt-scanner/comments/index.d.ts +32 -0
- package/dist/debt-scanner/comments/index.d.ts.map +1 -0
- package/dist/debt-scanner/comments/index.js +103 -0
- package/dist/debt-scanner/comments/index.js.map +1 -0
- package/dist/debt-scanner/comments/symbol-resolver.d.ts +18 -0
- package/dist/debt-scanner/comments/symbol-resolver.d.ts.map +1 -0
- package/dist/debt-scanner/comments/symbol-resolver.js +18 -0
- package/dist/debt-scanner/comments/symbol-resolver.js.map +1 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.d.ts +6 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.js +62 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.js.map +1 -0
- package/dist/debt-scanner/design-docs/index.d.ts +28 -0
- package/dist/debt-scanner/design-docs/index.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/index.js +60 -0
- package/dist/debt-scanner/design-docs/index.js.map +1 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.d.ts +68 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.js +151 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.js.map +1 -0
- package/dist/debt-scanner/design-docs/markdown-sections.d.ts +24 -0
- package/dist/debt-scanner/design-docs/markdown-sections.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/markdown-sections.js +92 -0
- package/dist/debt-scanner/design-docs/markdown-sections.js.map +1 -0
- package/dist/debt-scanner/design-docs/rule-detector.d.ts +18 -0
- package/dist/debt-scanner/design-docs/rule-detector.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/rule-detector.js +46 -0
- package/dist/debt-scanner/design-docs/rule-detector.js.map +1 -0
- package/dist/debt-scanner/index.d.ts +43 -0
- package/dist/debt-scanner/index.d.ts.map +1 -0
- package/dist/debt-scanner/index.js +177 -0
- package/dist/debt-scanner/index.js.map +1 -0
- package/dist/debt-scanner/llm-clients.d.ts +33 -0
- package/dist/debt-scanner/llm-clients.d.ts.map +1 -0
- package/dist/debt-scanner/llm-clients.js +78 -0
- package/dist/debt-scanner/llm-clients.js.map +1 -0
- package/dist/debt-scanner/types.d.ts +97 -0
- package/dist/debt-scanner/types.d.ts.map +1 -0
- package/dist/debt-scanner/types.js +7 -0
- package/dist/debt-scanner/types.js.map +1 -0
- package/dist/diff/drift-orchestrator.d.ts +25 -0
- package/dist/diff/drift-orchestrator.d.ts.map +1 -0
- package/dist/diff/drift-orchestrator.js +248 -0
- package/dist/diff/drift-orchestrator.js.map +1 -0
- package/dist/diff/noise-filter.d.ts +27 -0
- package/dist/diff/noise-filter.d.ts.map +1 -0
- package/dist/diff/noise-filter.js +129 -0
- package/dist/diff/noise-filter.js.map +1 -0
- package/dist/diff/semantic-diff.d.ts +12 -0
- package/dist/diff/semantic-diff.d.ts.map +1 -0
- package/dist/diff/semantic-diff.js +94 -0
- package/dist/diff/semantic-diff.js.map +1 -0
- package/dist/diff/structural-diff.d.ts +16 -0
- package/dist/diff/structural-diff.d.ts.map +1 -0
- package/dist/diff/structural-diff.js +171 -0
- package/dist/diff/structural-diff.js.map +1 -0
- package/dist/extraction/artifact-classifier.d.ts +19 -0
- package/dist/extraction/artifact-classifier.d.ts.map +1 -0
- package/dist/extraction/artifact-classifier.js +104 -0
- package/dist/extraction/artifact-classifier.js.map +1 -0
- package/dist/extraction/extraction-cache.d.ts +32 -0
- package/dist/extraction/extraction-cache.d.ts.map +1 -0
- package/dist/extraction/extraction-cache.js +117 -0
- package/dist/extraction/extraction-cache.js.map +1 -0
- package/dist/extraction/extraction-pipeline.d.ts +44 -0
- package/dist/extraction/extraction-pipeline.d.ts.map +1 -0
- package/dist/extraction/extraction-pipeline.js +286 -0
- package/dist/extraction/extraction-pipeline.js.map +1 -0
- package/dist/extraction/extraction-types.d.ts +180 -0
- package/dist/extraction/extraction-types.d.ts.map +1 -0
- package/dist/extraction/extraction-types.js +63 -0
- package/dist/extraction/extraction-types.js.map +1 -0
- package/dist/extraction/image-extractor.d.ts +21 -0
- package/dist/extraction/image-extractor.d.ts.map +1 -0
- package/dist/extraction/image-extractor.js +211 -0
- package/dist/extraction/image-extractor.js.map +1 -0
- package/dist/extraction/index.d.ts +8 -0
- package/dist/extraction/index.d.ts.map +1 -0
- package/dist/extraction/index.js +6 -0
- package/dist/extraction/index.js.map +1 -0
- package/dist/extraction/markdown-extractor.d.ts +11 -0
- package/dist/extraction/markdown-extractor.d.ts.map +1 -0
- package/dist/extraction/markdown-extractor.js +212 -0
- package/dist/extraction/markdown-extractor.js.map +1 -0
- package/dist/extraction/openapi-extractor.d.ts +10 -0
- package/dist/extraction/openapi-extractor.d.ts.map +1 -0
- package/dist/extraction/openapi-extractor.js +449 -0
- package/dist/extraction/openapi-extractor.js.map +1 -0
- package/dist/generator/frontmatter.d.ts +58 -0
- package/dist/generator/frontmatter.d.ts.map +1 -0
- package/dist/generator/frontmatter.js +100 -0
- package/dist/generator/frontmatter.js.map +1 -0
- package/dist/generator/index-generator.d.ts +27 -0
- package/dist/generator/index-generator.d.ts.map +1 -0
- package/dist/generator/index-generator.js +129 -0
- package/dist/generator/index-generator.js.map +1 -0
- package/dist/generator/mermaid-class-diagram.d.ts +14 -0
- package/dist/generator/mermaid-class-diagram.d.ts.map +1 -0
- package/dist/generator/mermaid-class-diagram.js +115 -0
- package/dist/generator/mermaid-class-diagram.js.map +1 -0
- package/dist/generator/mermaid-dependency-graph.d.ts +15 -0
- package/dist/generator/mermaid-dependency-graph.d.ts.map +1 -0
- package/dist/generator/mermaid-dependency-graph.js +84 -0
- package/dist/generator/mermaid-dependency-graph.js.map +1 -0
- package/dist/generator/spec-renderer.d.ts +24 -0
- package/dist/generator/spec-renderer.d.ts.map +1 -0
- package/dist/generator/spec-renderer.js +110 -0
- package/dist/generator/spec-renderer.js.map +1 -0
- package/dist/graph/dependency-graph.d.ts +24 -0
- package/dist/graph/dependency-graph.d.ts.map +1 -0
- package/dist/graph/dependency-graph.js +206 -0
- package/dist/graph/dependency-graph.js.map +1 -0
- package/dist/graph/directory-graph.d.ts +16 -0
- package/dist/graph/directory-graph.d.ts.map +1 -0
- package/dist/graph/directory-graph.js +281 -0
- package/dist/graph/directory-graph.js.map +1 -0
- package/dist/graph/mermaid-renderer.d.ts +22 -0
- package/dist/graph/mermaid-renderer.d.ts.map +1 -0
- package/dist/graph/mermaid-renderer.js +133 -0
- package/dist/graph/mermaid-renderer.js.map +1 -0
- package/dist/graph/topological-sort.d.ts +31 -0
- package/dist/graph/topological-sort.d.ts.map +1 -0
- package/dist/graph/topological-sort.js +167 -0
- package/dist/graph/topological-sort.js.map +1 -0
- package/dist/hooks/git-hook-installer.d.ts +37 -0
- package/dist/hooks/git-hook-installer.d.ts.map +1 -0
- package/dist/hooks/git-hook-installer.js +136 -0
- package/dist/hooks/git-hook-installer.js.map +1 -0
- package/dist/hooks/hook-installer.d.ts +39 -0
- package/dist/hooks/hook-installer.d.ts.map +1 -0
- package/dist/hooks/hook-installer.js +164 -0
- package/dist/hooks/hook-installer.js.map +1 -0
- package/dist/installer/skill-installer.d.ts +63 -0
- package/dist/installer/skill-installer.d.ts.map +1 -0
- package/dist/installer/skill-installer.js +203 -0
- package/dist/installer/skill-installer.js.map +1 -0
- package/dist/installer/skill-templates.d.ts +19 -0
- package/dist/installer/skill-templates.d.ts.map +1 -0
- package/dist/installer/skill-templates.js +42 -0
- package/dist/installer/skill-templates.js.map +1 -0
- package/dist/mcp/graph-tools.d.ts +17 -0
- package/dist/mcp/graph-tools.d.ts.map +1 -0
- package/dist/mcp/graph-tools.js +269 -0
- package/dist/mcp/graph-tools.js.map +1 -0
- package/dist/mcp/index.d.ts +10 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +18 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/server.d.ts +10 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +235 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/models/code-skeleton.d.ts +394 -0
- package/dist/models/code-skeleton.d.ts.map +1 -0
- package/dist/models/code-skeleton.js +119 -0
- package/dist/models/code-skeleton.js.map +1 -0
- package/dist/models/dependency-graph.d.ts +172 -0
- package/dist/models/dependency-graph.d.ts.map +1 -0
- package/dist/models/dependency-graph.js +44 -0
- package/dist/models/dependency-graph.js.map +1 -0
- package/dist/models/drift-item.d.ts +104 -0
- package/dist/models/drift-item.d.ts.map +1 -0
- package/dist/models/drift-item.js +38 -0
- package/dist/models/drift-item.js.map +1 -0
- package/dist/models/module-spec.d.ts +1905 -0
- package/dist/models/module-spec.d.ts.map +1 -0
- package/dist/models/module-spec.js +272 -0
- package/dist/models/module-spec.js.map +1 -0
- package/dist/panoramic/abstract-registry.d.ts +87 -0
- package/dist/panoramic/abstract-registry.d.ts.map +1 -0
- package/dist/panoramic/abstract-registry.js +88 -0
- package/dist/panoramic/abstract-registry.js.map +1 -0
- package/dist/panoramic/anchoring/chunker.d.ts +34 -0
- package/dist/panoramic/anchoring/chunker.d.ts.map +1 -0
- package/dist/panoramic/anchoring/chunker.js +274 -0
- package/dist/panoramic/anchoring/chunker.js.map +1 -0
- package/dist/panoramic/anchoring/edge-builder.d.ts +53 -0
- package/dist/panoramic/anchoring/edge-builder.d.ts.map +1 -0
- package/dist/panoramic/anchoring/edge-builder.js +183 -0
- package/dist/panoramic/anchoring/edge-builder.js.map +1 -0
- package/dist/panoramic/anchoring/embedding-provider.d.ts +51 -0
- package/dist/panoramic/anchoring/embedding-provider.d.ts.map +1 -0
- package/dist/panoramic/anchoring/embedding-provider.js +7 -0
- package/dist/panoramic/anchoring/embedding-provider.js.map +1 -0
- package/dist/panoramic/anchoring/index.d.ts +73 -0
- package/dist/panoramic/anchoring/index.d.ts.map +1 -0
- package/dist/panoramic/anchoring/index.js +91 -0
- package/dist/panoramic/anchoring/index.js.map +1 -0
- package/dist/panoramic/anchoring/providers/factory.d.ts +35 -0
- package/dist/panoramic/anchoring/providers/factory.d.ts.map +1 -0
- package/dist/panoramic/anchoring/providers/factory.js +33 -0
- package/dist/panoramic/anchoring/providers/factory.js.map +1 -0
- package/dist/panoramic/anchoring/providers/local-provider.d.ts +48 -0
- package/dist/panoramic/anchoring/providers/local-provider.d.ts.map +1 -0
- package/dist/panoramic/anchoring/providers/local-provider.js +145 -0
- package/dist/panoramic/anchoring/providers/local-provider.js.map +1 -0
- package/dist/panoramic/anchoring/providers/openai-provider.d.ts +45 -0
- package/dist/panoramic/anchoring/providers/openai-provider.d.ts.map +1 -0
- package/dist/panoramic/anchoring/providers/openai-provider.js +78 -0
- package/dist/panoramic/anchoring/providers/openai-provider.js.map +1 -0
- package/dist/panoramic/anchoring/similarity.d.ts +37 -0
- package/dist/panoramic/anchoring/similarity.d.ts.map +1 -0
- package/dist/panoramic/anchoring/similarity.js +75 -0
- package/dist/panoramic/anchoring/similarity.js.map +1 -0
- package/dist/panoramic/api-surface/endpoint-utils.d.ts +15 -0
- package/dist/panoramic/api-surface/endpoint-utils.d.ts.map +1 -0
- package/dist/panoramic/api-surface/endpoint-utils.js +145 -0
- package/dist/panoramic/api-surface/endpoint-utils.js.map +1 -0
- package/dist/panoramic/api-surface/express-extractor.d.ts +3 -0
- package/dist/panoramic/api-surface/express-extractor.d.ts.map +1 -0
- package/dist/panoramic/api-surface/express-extractor.js +288 -0
- package/dist/panoramic/api-surface/express-extractor.js.map +1 -0
- package/dist/panoramic/api-surface/fastapi-extractor.d.ts +6 -0
- package/dist/panoramic/api-surface/fastapi-extractor.d.ts.map +1 -0
- package/dist/panoramic/api-surface/fastapi-extractor.js +287 -0
- package/dist/panoramic/api-surface/fastapi-extractor.js.map +1 -0
- package/dist/panoramic/api-surface/framework-introspection.d.ts +3 -0
- package/dist/panoramic/api-surface/framework-introspection.d.ts.map +1 -0
- package/dist/panoramic/api-surface/framework-introspection.js +189 -0
- package/dist/panoramic/api-surface/framework-introspection.js.map +1 -0
- package/dist/panoramic/api-surface/index.d.ts +13 -0
- package/dist/panoramic/api-surface/index.d.ts.map +1 -0
- package/dist/panoramic/api-surface/index.js +238 -0
- package/dist/panoramic/api-surface/index.js.map +1 -0
- package/dist/panoramic/api-surface/openapi-extractor.d.ts +3 -0
- package/dist/panoramic/api-surface/openapi-extractor.d.ts.map +1 -0
- package/dist/panoramic/api-surface/openapi-extractor.js +247 -0
- package/dist/panoramic/api-surface/openapi-extractor.js.map +1 -0
- package/dist/panoramic/api-surface/types.d.ts +140 -0
- package/dist/panoramic/api-surface/types.d.ts.map +1 -0
- package/dist/panoramic/api-surface/types.js +7 -0
- package/dist/panoramic/api-surface/types.js.map +1 -0
- package/dist/panoramic/api-surface/utils.d.ts +29 -0
- package/dist/panoramic/api-surface/utils.d.ts.map +1 -0
- package/dist/panoramic/api-surface/utils.js +340 -0
- package/dist/panoramic/api-surface/utils.js.map +1 -0
- package/dist/panoramic/batch-project-docs.d.ts +101 -0
- package/dist/panoramic/batch-project-docs.d.ts.map +1 -0
- package/dist/panoramic/batch-project-docs.js +616 -0
- package/dist/panoramic/batch-project-docs.js.map +1 -0
- package/dist/panoramic/builders/architecture-ir-builder.d.ts +19 -0
- package/dist/panoramic/builders/architecture-ir-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/architecture-ir-builder.js +561 -0
- package/dist/panoramic/builders/architecture-ir-builder.js.map +1 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.d.ts +6 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.d.ts.map +1 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.js +98 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.js.map +1 -0
- package/dist/panoramic/builders/component-view-builder.d.ts +38 -0
- package/dist/panoramic/builders/component-view-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/component-view-builder.js +694 -0
- package/dist/panoramic/builders/component-view-builder.js.map +1 -0
- package/dist/panoramic/builders/doc-graph-builder.d.ts +179 -0
- package/dist/panoramic/builders/doc-graph-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/doc-graph-builder.js +546 -0
- package/dist/panoramic/builders/doc-graph-builder.js.map +1 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.d.ts +38 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.js +361 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.js.map +1 -0
- package/dist/panoramic/cache/cache-key-builder.d.ts +25 -0
- package/dist/panoramic/cache/cache-key-builder.d.ts.map +1 -0
- package/dist/panoramic/cache/cache-key-builder.js +119 -0
- package/dist/panoramic/cache/cache-key-builder.js.map +1 -0
- package/dist/panoramic/cache/cache-manager.d.ts +58 -0
- package/dist/panoramic/cache/cache-manager.d.ts.map +1 -0
- package/dist/panoramic/cache/cache-manager.js +170 -0
- package/dist/panoramic/cache/cache-manager.js.map +1 -0
- package/dist/panoramic/cache/content-hasher.d.ts +47 -0
- package/dist/panoramic/cache/content-hasher.d.ts.map +1 -0
- package/dist/panoramic/cache/content-hasher.js +89 -0
- package/dist/panoramic/cache/content-hasher.js.map +1 -0
- package/dist/panoramic/cache/index.d.ts +10 -0
- package/dist/panoramic/cache/index.d.ts.map +1 -0
- package/dist/panoramic/cache/index.js +13 -0
- package/dist/panoramic/cache/index.js.map +1 -0
- package/dist/panoramic/cache/manifest-manager.d.ts +83 -0
- package/dist/panoramic/cache/manifest-manager.d.ts.map +1 -0
- package/dist/panoramic/cache/manifest-manager.js +119 -0
- package/dist/panoramic/cache/manifest-manager.js.map +1 -0
- package/dist/panoramic/cache/schemas.d.ts +199 -0
- package/dist/panoramic/cache/schemas.d.ts.map +1 -0
- package/dist/panoramic/cache/schemas.js +53 -0
- package/dist/panoramic/cache/schemas.js.map +1 -0
- package/dist/panoramic/cluster-orchestrator.d.ts +278 -0
- package/dist/panoramic/cluster-orchestrator.d.ts.map +1 -0
- package/dist/panoramic/cluster-orchestrator.js +531 -0
- package/dist/panoramic/cluster-orchestrator.js.map +1 -0
- package/dist/panoramic/community/community-detector.d.ts +41 -0
- package/dist/panoramic/community/community-detector.d.ts.map +1 -0
- package/dist/panoramic/community/community-detector.js +190 -0
- package/dist/panoramic/community/community-detector.js.map +1 -0
- package/dist/panoramic/community/god-node-analyzer.d.ts +28 -0
- package/dist/panoramic/community/god-node-analyzer.d.ts.map +1 -0
- package/dist/panoramic/community/god-node-analyzer.js +91 -0
- package/dist/panoramic/community/god-node-analyzer.js.map +1 -0
- package/dist/panoramic/community/graph-report-generator.d.ts +31 -0
- package/dist/panoramic/community/graph-report-generator.d.ts.map +1 -0
- package/dist/panoramic/community/graph-report-generator.js +98 -0
- package/dist/panoramic/community/graph-report-generator.js.map +1 -0
- package/dist/panoramic/community/index.d.ts +31 -0
- package/dist/panoramic/community/index.d.ts.map +1 -0
- package/dist/panoramic/community/index.js +63 -0
- package/dist/panoramic/community/index.js.map +1 -0
- package/dist/panoramic/community/surprising-edges.d.ts +42 -0
- package/dist/panoramic/community/surprising-edges.d.ts.map +1 -0
- package/dist/panoramic/community/surprising-edges.js +154 -0
- package/dist/panoramic/community/surprising-edges.js.map +1 -0
- package/dist/panoramic/cross-reference-index.d.ts +4 -0
- package/dist/panoramic/cross-reference-index.d.ts.map +1 -0
- package/dist/panoramic/cross-reference-index.js +201 -0
- package/dist/panoramic/cross-reference-index.js.map +1 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.d.ts +7 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.d.ts.map +1 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.js +183 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.js.map +1 -0
- package/dist/panoramic/exporters/export-types.d.ts +33 -0
- package/dist/panoramic/exporters/export-types.d.ts.map +1 -0
- package/dist/panoramic/exporters/export-types.js +7 -0
- package/dist/panoramic/exporters/export-types.js.map +1 -0
- package/dist/panoramic/exporters/html-exporter.d.ts +83 -0
- package/dist/panoramic/exporters/html-exporter.d.ts.map +1 -0
- package/dist/panoramic/exporters/html-exporter.js +224 -0
- package/dist/panoramic/exporters/html-exporter.js.map +1 -0
- package/dist/panoramic/exporters/html-template.d.ts +32 -0
- package/dist/panoramic/exporters/html-template.d.ts.map +1 -0
- package/dist/panoramic/exporters/html-template.js +737 -0
- package/dist/panoramic/exporters/html-template.js.map +1 -0
- package/dist/panoramic/exporters/obsidian-exporter.d.ts +67 -0
- package/dist/panoramic/exporters/obsidian-exporter.d.ts.map +1 -0
- package/dist/panoramic/exporters/obsidian-exporter.js +333 -0
- package/dist/panoramic/exporters/obsidian-exporter.js.map +1 -0
- package/dist/panoramic/generator-registry.d.ts +86 -0
- package/dist/panoramic/generator-registry.d.ts.map +1 -0
- package/dist/panoramic/generator-registry.js +194 -0
- package/dist/panoramic/generator-registry.js.map +1 -0
- package/dist/panoramic/generators/architecture-ir-generator.d.ts +36 -0
- package/dist/panoramic/generators/architecture-ir-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/architecture-ir-generator.js +51 -0
- package/dist/panoramic/generators/architecture-ir-generator.js.map +1 -0
- package/dist/panoramic/generators/architecture-overview-generator.d.ts +31 -0
- package/dist/panoramic/generators/architecture-overview-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/architecture-overview-generator.js +454 -0
- package/dist/panoramic/generators/architecture-overview-generator.js.map +1 -0
- package/dist/panoramic/generators/config-reference-generator.d.ts +78 -0
- package/dist/panoramic/generators/config-reference-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/config-reference-generator.js +201 -0
- package/dist/panoramic/generators/config-reference-generator.js.map +1 -0
- package/dist/panoramic/generators/cross-package-analyzer.d.ts +112 -0
- package/dist/panoramic/generators/cross-package-analyzer.d.ts.map +1 -0
- package/dist/panoramic/generators/cross-package-analyzer.js +258 -0
- package/dist/panoramic/generators/cross-package-analyzer.js.map +1 -0
- package/dist/panoramic/generators/data-model-generator.d.ts +528 -0
- package/dist/panoramic/generators/data-model-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/data-model-generator.js +674 -0
- package/dist/panoramic/generators/data-model-generator.js.map +1 -0
- package/dist/panoramic/generators/event-surface-generator.d.ts +52 -0
- package/dist/panoramic/generators/event-surface-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/event-surface-generator.js +634 -0
- package/dist/panoramic/generators/event-surface-generator.js.map +1 -0
- package/dist/panoramic/generators/interface-surface-generator.d.ts +50 -0
- package/dist/panoramic/generators/interface-surface-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/interface-surface-generator.js +393 -0
- package/dist/panoramic/generators/interface-surface-generator.js.map +1 -0
- package/dist/panoramic/generators/mock-readme-generator.d.ts +90 -0
- package/dist/panoramic/generators/mock-readme-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/mock-readme-generator.js +113 -0
- package/dist/panoramic/generators/mock-readme-generator.js.map +1 -0
- package/dist/panoramic/generators/pattern-hints-generator.d.ts +28 -0
- package/dist/panoramic/generators/pattern-hints-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/pattern-hints-generator.js +170 -0
- package/dist/panoramic/generators/pattern-hints-generator.js.map +1 -0
- package/dist/panoramic/generators/runtime-topology-generator.d.ts +77 -0
- package/dist/panoramic/generators/runtime-topology-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/runtime-topology-generator.js +679 -0
- package/dist/panoramic/generators/runtime-topology-generator.js.map +1 -0
- package/dist/panoramic/generators/troubleshooting-generator.d.ts +51 -0
- package/dist/panoramic/generators/troubleshooting-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/troubleshooting-generator.js +464 -0
- package/dist/panoramic/generators/troubleshooting-generator.js.map +1 -0
- package/dist/panoramic/generators/workspace-index-generator.d.ts +148 -0
- package/dist/panoramic/generators/workspace-index-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/workspace-index-generator.js +500 -0
- package/dist/panoramic/generators/workspace-index-generator.js.map +1 -0
- package/dist/panoramic/graph/confidence-mapper.d.ts +39 -0
- package/dist/panoramic/graph/confidence-mapper.d.ts.map +1 -0
- package/dist/panoramic/graph/confidence-mapper.js +55 -0
- package/dist/panoramic/graph/confidence-mapper.js.map +1 -0
- package/dist/panoramic/graph/graph-builder.d.ts +33 -0
- package/dist/panoramic/graph/graph-builder.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-builder.js +382 -0
- package/dist/panoramic/graph/graph-builder.js.map +1 -0
- package/dist/panoramic/graph/graph-paths.d.ts +13 -0
- package/dist/panoramic/graph/graph-paths.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-paths.js +16 -0
- package/dist/panoramic/graph/graph-paths.js.map +1 -0
- package/dist/panoramic/graph/graph-query.d.ts +226 -0
- package/dist/panoramic/graph/graph-query.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-query.js +571 -0
- package/dist/panoramic/graph/graph-query.js.map +1 -0
- package/dist/panoramic/graph/graph-types.d.ts +156 -0
- package/dist/panoramic/graph/graph-types.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-types.js +10 -0
- package/dist/panoramic/graph/graph-types.js.map +1 -0
- package/dist/panoramic/graph/index.d.ts +6 -0
- package/dist/panoramic/graph/index.d.ts.map +1 -0
- package/dist/panoramic/graph/index.js +8 -0
- package/dist/panoramic/graph/index.js.map +1 -0
- package/dist/panoramic/hyperedges/constants.d.ts +16 -0
- package/dist/panoramic/hyperedges/constants.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/constants.js +13 -0
- package/dist/panoramic/hyperedges/constants.js.map +1 -0
- package/dist/panoramic/hyperedges/extractor.d.ts +80 -0
- package/dist/panoramic/hyperedges/extractor.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/extractor.js +133 -0
- package/dist/panoramic/hyperedges/extractor.js.map +1 -0
- package/dist/panoramic/hyperedges/index.d.ts +12 -0
- package/dist/panoramic/hyperedges/index.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/index.js +19 -0
- package/dist/panoramic/hyperedges/index.js.map +1 -0
- package/dist/panoramic/hyperedges/prompt.d.ts +30 -0
- package/dist/panoramic/hyperedges/prompt.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/prompt.js +88 -0
- package/dist/panoramic/hyperedges/prompt.js.map +1 -0
- package/dist/panoramic/hyperedges/schema.d.ts +91 -0
- package/dist/panoramic/hyperedges/schema.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/schema.js +52 -0
- package/dist/panoramic/hyperedges/schema.js.map +1 -0
- package/dist/panoramic/index.d.ts +17 -0
- package/dist/panoramic/index.d.ts.map +1 -0
- package/dist/panoramic/index.js +22 -0
- package/dist/panoramic/index.js.map +1 -0
- package/dist/panoramic/interfaces.d.ts +243 -0
- package/dist/panoramic/interfaces.d.ts.map +1 -0
- package/dist/panoramic/interfaces.js +130 -0
- package/dist/panoramic/interfaces.js.map +1 -0
- package/dist/panoramic/internal.d.ts +67 -0
- package/dist/panoramic/internal.d.ts.map +1 -0
- package/dist/panoramic/internal.js +93 -0
- package/dist/panoramic/internal.js.map +1 -0
- package/dist/panoramic/models/architecture-ir-model.d.ts +92 -0
- package/dist/panoramic/models/architecture-ir-model.d.ts.map +1 -0
- package/dist/panoramic/models/architecture-ir-model.js +14 -0
- package/dist/panoramic/models/architecture-ir-model.js.map +1 -0
- package/dist/panoramic/models/architecture-overview-model.d.ts +77 -0
- package/dist/panoramic/models/architecture-overview-model.d.ts.map +1 -0
- package/dist/panoramic/models/architecture-overview-model.js +31 -0
- package/dist/panoramic/models/architecture-overview-model.js.map +1 -0
- package/dist/panoramic/models/component-view-model.d.ts +127 -0
- package/dist/panoramic/models/component-view-model.d.ts.map +1 -0
- package/dist/panoramic/models/component-view-model.js +65 -0
- package/dist/panoramic/models/component-view-model.js.map +1 -0
- package/dist/panoramic/models/docs-bundle-profiles.d.ts +4 -0
- package/dist/panoramic/models/docs-bundle-profiles.d.ts.map +1 -0
- package/dist/panoramic/models/docs-bundle-profiles.js +82 -0
- package/dist/panoramic/models/docs-bundle-profiles.js.map +1 -0
- package/dist/panoramic/models/docs-bundle-types.d.ts +94 -0
- package/dist/panoramic/models/docs-bundle-types.d.ts.map +1 -0
- package/dist/panoramic/models/docs-bundle-types.js +10 -0
- package/dist/panoramic/models/docs-bundle-types.js.map +1 -0
- package/dist/panoramic/models/docs-quality-model.d.ts +125 -0
- package/dist/panoramic/models/docs-quality-model.d.ts.map +1 -0
- package/dist/panoramic/models/docs-quality-model.js +166 -0
- package/dist/panoramic/models/docs-quality-model.js.map +1 -0
- package/dist/panoramic/models/pattern-hints-model.d.ts +89 -0
- package/dist/panoramic/models/pattern-hints-model.d.ts.map +1 -0
- package/dist/panoramic/models/pattern-hints-model.js +61 -0
- package/dist/panoramic/models/pattern-hints-model.js.map +1 -0
- package/dist/panoramic/models/pattern-knowledge-base.d.ts +31 -0
- package/dist/panoramic/models/pattern-knowledge-base.d.ts.map +1 -0
- package/dist/panoramic/models/pattern-knowledge-base.js +407 -0
- package/dist/panoramic/models/pattern-knowledge-base.js.map +1 -0
- package/dist/panoramic/models/runtime-topology-model.d.ts +145 -0
- package/dist/panoramic/models/runtime-topology-model.d.ts.map +1 -0
- package/dist/panoramic/models/runtime-topology-model.js +300 -0
- package/dist/panoramic/models/runtime-topology-model.js.map +1 -0
- package/dist/panoramic/output-filenames.d.ts +26 -0
- package/dist/panoramic/output-filenames.d.ts.map +1 -0
- package/dist/panoramic/output-filenames.js +48 -0
- package/dist/panoramic/output-filenames.js.map +1 -0
- package/dist/panoramic/parser-registry.d.ts +89 -0
- package/dist/panoramic/parser-registry.d.ts.map +1 -0
- package/dist/panoramic/parser-registry.js +169 -0
- package/dist/panoramic/parser-registry.js.map +1 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.d.ts +48 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.js +52 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.js.map +1 -0
- package/dist/panoramic/parsers/abstract-config-parser.d.ts +35 -0
- package/dist/panoramic/parsers/abstract-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/abstract-config-parser.js +34 -0
- package/dist/panoramic/parsers/abstract-config-parser.js.map +1 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.d.ts +34 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.js +195 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.js.map +1 -0
- package/dist/panoramic/parsers/comment-tracker.d.ts +37 -0
- package/dist/panoramic/parsers/comment-tracker.d.ts.map +1 -0
- package/dist/panoramic/parsers/comment-tracker.js +50 -0
- package/dist/panoramic/parsers/comment-tracker.js.map +1 -0
- package/dist/panoramic/parsers/dockerfile-parser.d.ts +42 -0
- package/dist/panoramic/parsers/dockerfile-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/dockerfile-parser.js +128 -0
- package/dist/panoramic/parsers/dockerfile-parser.js.map +1 -0
- package/dist/panoramic/parsers/env-config-parser.d.ts +37 -0
- package/dist/panoramic/parsers/env-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/env-config-parser.js +73 -0
- package/dist/panoramic/parsers/env-config-parser.js.map +1 -0
- package/dist/panoramic/parsers/index.d.ts +25 -0
- package/dist/panoramic/parsers/index.d.ts.map +1 -0
- package/dist/panoramic/parsers/index.js +25 -0
- package/dist/panoramic/parsers/index.js.map +1 -0
- package/dist/panoramic/parsers/skill-md-parser.d.ts +42 -0
- package/dist/panoramic/parsers/skill-md-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/skill-md-parser.js +105 -0
- package/dist/panoramic/parsers/skill-md-parser.js.map +1 -0
- package/dist/panoramic/parsers/toml-config-parser.d.ts +39 -0
- package/dist/panoramic/parsers/toml-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/toml-config-parser.js +98 -0
- package/dist/panoramic/parsers/toml-config-parser.js.map +1 -0
- package/dist/panoramic/parsers/types.d.ts +314 -0
- package/dist/panoramic/parsers/types.d.ts.map +1 -0
- package/dist/panoramic/parsers/types.js +136 -0
- package/dist/panoramic/parsers/types.js.map +1 -0
- package/dist/panoramic/parsers/yaml-config-parser.d.ts +58 -0
- package/dist/panoramic/parsers/yaml-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/yaml-config-parser.js +356 -0
- package/dist/panoramic/parsers/yaml-config-parser.js.map +1 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.d.ts +74 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.js +421 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.js.map +1 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.d.ts +30 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.js +141 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.js.map +1 -0
- package/dist/panoramic/pipelines/adr-mapreduce.d.ts +316 -0
- package/dist/panoramic/pipelines/adr-mapreduce.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-mapreduce.js +331 -0
- package/dist/panoramic/pipelines/adr-mapreduce.js.map +1 -0
- package/dist/panoramic/pipelines/adr-migration.d.ts +26 -0
- package/dist/panoramic/pipelines/adr-migration.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-migration.js +203 -0
- package/dist/panoramic/pipelines/adr-migration.js.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.d.ts +121 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.d.ts.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.js +412 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.js.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative.d.ts +123 -0
- package/dist/panoramic/pipelines/architecture-narrative.d.ts.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative.js +419 -0
- package/dist/panoramic/pipelines/architecture-narrative.js.map +1 -0
- package/dist/panoramic/pipelines/coverage-auditor.d.ts +95 -0
- package/dist/panoramic/pipelines/coverage-auditor.d.ts.map +1 -0
- package/dist/panoramic/pipelines/coverage-auditor.js +290 -0
- package/dist/panoramic/pipelines/coverage-auditor.js.map +1 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.d.ts +32 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.d.ts.map +1 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.js +108 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.js.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.d.ts +26 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.d.ts.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.js +108 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.js.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.d.ts +16 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.d.ts.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.js +588 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.js.map +1 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.d.ts +55 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.d.ts.map +1 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.js +1045 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.js.map +1 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.d.ts +8 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.d.ts.map +1 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.js +99 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.js.map +1 -0
- package/dist/panoramic/pipelines/product-ux-docs.d.ts +123 -0
- package/dist/panoramic/pipelines/product-ux-docs.d.ts.map +1 -0
- package/dist/panoramic/pipelines/product-ux-docs.js +959 -0
- package/dist/panoramic/pipelines/product-ux-docs.js.map +1 -0
- package/dist/panoramic/project-context.d.ts +17 -0
- package/dist/panoramic/project-context.d.ts.map +1 -0
- package/dist/panoramic/project-context.js +289 -0
- package/dist/panoramic/project-context.js.map +1 -0
- package/dist/panoramic/qa/citation.d.ts +21 -0
- package/dist/panoramic/qa/citation.d.ts.map +1 -0
- package/dist/panoramic/qa/citation.js +184 -0
- package/dist/panoramic/qa/citation.js.map +1 -0
- package/dist/panoramic/qa/debt-context.d.ts +33 -0
- package/dist/panoramic/qa/debt-context.d.ts.map +1 -0
- package/dist/panoramic/qa/debt-context.js +82 -0
- package/dist/panoramic/qa/debt-context.js.map +1 -0
- package/dist/panoramic/qa/graph-retriever.d.ts +29 -0
- package/dist/panoramic/qa/graph-retriever.d.ts.map +1 -0
- package/dist/panoramic/qa/graph-retriever.js +65 -0
- package/dist/panoramic/qa/graph-retriever.js.map +1 -0
- package/dist/panoramic/qa/index.d.ts +23 -0
- package/dist/panoramic/qa/index.d.ts.map +1 -0
- package/dist/panoramic/qa/index.js +201 -0
- package/dist/panoramic/qa/index.js.map +1 -0
- package/dist/panoramic/qa/llm-caller.d.ts +35 -0
- package/dist/panoramic/qa/llm-caller.d.ts.map +1 -0
- package/dist/panoramic/qa/llm-caller.js +138 -0
- package/dist/panoramic/qa/llm-caller.js.map +1 -0
- package/dist/panoramic/qa/prompt-builder.d.ts +36 -0
- package/dist/panoramic/qa/prompt-builder.d.ts.map +1 -0
- package/dist/panoramic/qa/prompt-builder.js +143 -0
- package/dist/panoramic/qa/prompt-builder.js.map +1 -0
- package/dist/panoramic/qa/rag-reranker.d.ts +43 -0
- package/dist/panoramic/qa/rag-reranker.d.ts.map +1 -0
- package/dist/panoramic/qa/rag-reranker.js +129 -0
- package/dist/panoramic/qa/rag-reranker.js.map +1 -0
- package/dist/panoramic/qa/types.d.ts +126 -0
- package/dist/panoramic/qa/types.d.ts.map +1 -0
- package/dist/panoramic/qa/types.js +6 -0
- package/dist/panoramic/qa/types.js.map +1 -0
- package/dist/panoramic/query.d.ts +29 -0
- package/dist/panoramic/query.d.ts.map +1 -0
- package/dist/panoramic/query.js +80 -0
- package/dist/panoramic/query.js.map +1 -0
- package/dist/panoramic/stored-module-specs.d.ts +26 -0
- package/dist/panoramic/stored-module-specs.d.ts.map +1 -0
- package/dist/panoramic/stored-module-specs.js +155 -0
- package/dist/panoramic/stored-module-specs.js.map +1 -0
- package/dist/panoramic/utils/html-sanitizer.d.ts +33 -0
- package/dist/panoramic/utils/html-sanitizer.d.ts.map +1 -0
- package/dist/panoramic/utils/html-sanitizer.js +170 -0
- package/dist/panoramic/utils/html-sanitizer.js.map +1 -0
- package/dist/panoramic/utils/llm-enricher.d.ts +74 -0
- package/dist/panoramic/utils/llm-enricher.d.ts.map +1 -0
- package/dist/panoramic/utils/llm-enricher.js +315 -0
- package/dist/panoramic/utils/llm-enricher.js.map +1 -0
- package/dist/panoramic/utils/llm-facade.d.ts +66 -0
- package/dist/panoramic/utils/llm-facade.d.ts.map +1 -0
- package/dist/panoramic/utils/llm-facade.js +136 -0
- package/dist/panoramic/utils/llm-facade.js.map +1 -0
- package/dist/panoramic/utils/logger.d.ts +43 -0
- package/dist/panoramic/utils/logger.d.ts.map +1 -0
- package/dist/panoramic/utils/logger.js +76 -0
- package/dist/panoramic/utils/logger.js.map +1 -0
- package/dist/panoramic/utils/mermaid-helpers.d.ts +19 -0
- package/dist/panoramic/utils/mermaid-helpers.d.ts.map +1 -0
- package/dist/panoramic/utils/mermaid-helpers.js +21 -0
- package/dist/panoramic/utils/mermaid-helpers.js.map +1 -0
- package/dist/panoramic/utils/multi-format-writer.d.ts +43 -0
- package/dist/panoramic/utils/multi-format-writer.d.ts.map +1 -0
- package/dist/panoramic/utils/multi-format-writer.js +73 -0
- package/dist/panoramic/utils/multi-format-writer.js.map +1 -0
- package/dist/panoramic/utils/template-loader.d.ts +15 -0
- package/dist/panoramic/utils/template-loader.d.ts.map +1 -0
- package/dist/panoramic/utils/template-loader.js +65 -0
- package/dist/panoramic/utils/template-loader.js.map +1 -0
- package/dist/panoramic/utils/text-segmenter.d.ts +50 -0
- package/dist/panoramic/utils/text-segmenter.d.ts.map +1 -0
- package/dist/panoramic/utils/text-segmenter.js +151 -0
- package/dist/panoramic/utils/text-segmenter.js.map +1 -0
- package/dist/scripts/postinstall.d.ts +7 -0
- package/dist/scripts/postinstall.d.ts.map +1 -0
- package/dist/scripts/postinstall.js +70 -0
- package/dist/scripts/postinstall.js.map +1 -0
- package/dist/scripts/preuninstall.d.ts +7 -0
- package/dist/scripts/preuninstall.d.ts.map +1 -0
- package/dist/scripts/preuninstall.js +62 -0
- package/dist/scripts/preuninstall.js.map +1 -0
- package/dist/spec-store/index.d.ts +9 -0
- package/dist/spec-store/index.d.ts.map +1 -0
- package/dist/spec-store/index.js +9 -0
- package/dist/spec-store/index.js.map +1 -0
- package/dist/spec-store/spec-identity.d.ts +28 -0
- package/dist/spec-store/spec-identity.d.ts.map +1 -0
- package/dist/spec-store/spec-identity.js +24 -0
- package/dist/spec-store/spec-identity.js.map +1 -0
- package/dist/spec-store/spec-store.d.ts +62 -0
- package/dist/spec-store/spec-store.d.ts.map +1 -0
- package/dist/spec-store/spec-store.js +201 -0
- package/dist/spec-store/spec-store.js.map +1 -0
- package/dist/utils/atomic-write.d.ts +10 -0
- package/dist/utils/atomic-write.d.ts.map +1 -0
- package/dist/utils/atomic-write.js +27 -0
- package/dist/utils/atomic-write.js.map +1 -0
- package/dist/utils/chunk-splitter.d.ts +32 -0
- package/dist/utils/chunk-splitter.d.ts.map +1 -0
- package/dist/utils/chunk-splitter.js +116 -0
- package/dist/utils/chunk-splitter.js.map +1 -0
- package/dist/utils/file-scanner.d.ts +38 -0
- package/dist/utils/file-scanner.d.ts.map +1 -0
- package/dist/utils/file-scanner.js +323 -0
- package/dist/utils/file-scanner.js.map +1 -0
- package/dist/utils/git-blame.d.ts +32 -0
- package/dist/utils/git-blame.d.ts.map +1 -0
- package/dist/utils/git-blame.js +151 -0
- package/dist/utils/git-blame.js.map +1 -0
- package/dist/utils/specify-template-sync.d.ts +16 -0
- package/dist/utils/specify-template-sync.d.ts.map +1 -0
- package/dist/utils/specify-template-sync.js +66 -0
- package/dist/utils/specify-template-sync.js.map +1 -0
- package/dist/watcher/file-watcher.d.ts +77 -0
- package/dist/watcher/file-watcher.d.ts.map +1 -0
- package/dist/watcher/file-watcher.js +233 -0
- package/dist/watcher/file-watcher.js.map +1 -0
- package/dist/watcher/index.d.ts +6 -0
- package/dist/watcher/index.d.ts.map +1 -0
- package/dist/watcher/index.js +5 -0
- package/dist/watcher/index.js.map +1 -0
- package/grammars/manifest.json +28 -0
- package/grammars/tree-sitter-go.wasm +0 -0
- package/grammars/tree-sitter-java.wasm +0 -0
- package/grammars/tree-sitter-javascript.wasm +0 -0
- package/grammars/tree-sitter-python.wasm +0 -0
- package/grammars/tree-sitter-typescript.wasm +0 -0
- package/package.json +84 -0
- package/plugins/spec-driver/.claude-plugin/plugin.json +16 -0
- package/plugins/spec-driver/README.md +401 -0
- package/plugins/spec-driver/agents/analyze.artifact.yaml +10 -0
- package/plugins/spec-driver/agents/analyze.md +144 -0
- package/plugins/spec-driver/agents/checklist.artifact.yaml +8 -0
- package/plugins/spec-driver/agents/checklist.md +84 -0
- package/plugins/spec-driver/agents/clarify.artifact.yaml +6 -0
- package/plugins/spec-driver/agents/clarify.md +104 -0
- package/plugins/spec-driver/agents/constitution.artifact.yaml +9 -0
- package/plugins/spec-driver/agents/constitution.md +100 -0
- package/plugins/spec-driver/agents/implement.artifact.yaml +8 -0
- package/plugins/spec-driver/agents/implement.md +159 -0
- package/plugins/spec-driver/agents/plan.artifact.yaml +12 -0
- package/plugins/spec-driver/agents/plan.md +116 -0
- package/plugins/spec-driver/agents/product-research.artifact.yaml +11 -0
- package/plugins/spec-driver/agents/product-research.md +94 -0
- package/plugins/spec-driver/agents/quality-review.artifact.yaml +11 -0
- package/plugins/spec-driver/agents/quality-review.md +165 -0
- package/plugins/spec-driver/agents/refactor-plan.md +132 -0
- package/plugins/spec-driver/agents/spec-review.artifact.yaml +12 -0
- package/plugins/spec-driver/agents/spec-review.md +111 -0
- package/plugins/spec-driver/agents/specify.artifact.yaml +9 -0
- package/plugins/spec-driver/agents/specify.md +109 -0
- package/plugins/spec-driver/agents/sync.artifact.yaml +19 -0
- package/plugins/spec-driver/agents/sync.md +91 -0
- package/plugins/spec-driver/agents/tasks.artifact.yaml +10 -0
- package/plugins/spec-driver/agents/tasks.md +88 -0
- package/plugins/spec-driver/agents/tech-research.artifact.yaml +12 -0
- package/plugins/spec-driver/agents/tech-research.md +102 -0
- package/plugins/spec-driver/agents/verify.artifact.yaml +11 -0
- package/plugins/spec-driver/agents/verify.md +204 -0
- package/plugins/spec-driver/config/orchestration.yaml +779 -0
- package/plugins/spec-driver/contracts/orchestration-overrides-contract.yaml +124 -0
- package/plugins/spec-driver/contracts/orchestration-schema.mjs +301 -0
- package/plugins/spec-driver/contracts/scan-project-output.md +70 -0
- package/plugins/spec-driver/contracts/wrapper-source-of-truth.yaml +44 -0
- package/plugins/spec-driver/hooks/hooks.json +70 -0
- package/plugins/spec-driver/hooks/post-tool-use-format.sh +28 -0
- package/plugins/spec-driver/hooks/pre-tool-use-guard.sh +42 -0
- package/plugins/spec-driver/hooks/stop-task-check.sh +22 -0
- package/plugins/spec-driver/hooks/worktree-lifecycle.sh +33 -0
- package/plugins/spec-driver/lib/orchestration-output-serializer.mjs +219 -0
- package/plugins/spec-driver/lib/orchestration-resolver.mjs +485 -0
- package/plugins/spec-driver/lib/orchestrator-fallback.mjs +98 -0
- package/plugins/spec-driver/lib/orchestrator.mjs +280 -0
- package/plugins/spec-driver/scorecards/default-governance.yaml +63 -0
- package/plugins/spec-driver/scripts/codex-skills.sh +225 -0
- package/plugins/spec-driver/scripts/experimental/README.md +9 -0
- package/plugins/spec-driver/scripts/generate-adoption-insights.mjs +523 -0
- package/plugins/spec-driver/scripts/generate-product-entity-catalog.mjs +472 -0
- package/plugins/spec-driver/scripts/generate-product-quality-reports.mjs +18 -0
- package/plugins/spec-driver/scripts/generate-product-scorecards.mjs +25 -0
- package/plugins/spec-driver/scripts/generate-project-context-suggestions.mjs +622 -0
- package/plugins/spec-driver/scripts/generate-workflow-registry.mjs +16 -0
- package/plugins/spec-driver/scripts/init-project.sh +328 -0
- package/plugins/spec-driver/scripts/lib/config-schema.mjs +433 -0
- package/plugins/spec-driver/scripts/lib/init-project-output.sh +146 -0
- package/plugins/spec-driver/scripts/lib/product-artifact-patchers.mjs +29 -0
- package/plugins/spec-driver/scripts/lib/product-artifact-paths.mjs +129 -0
- package/plugins/spec-driver/scripts/lib/product-governance-helpers.mjs +48 -0
- package/plugins/spec-driver/scripts/lib/product-quality-core.mjs +531 -0
- package/plugins/spec-driver/scripts/lib/product-scorecard-core.mjs +810 -0
- package/plugins/spec-driver/scripts/lib/project-context-paths.mjs +21 -0
- package/plugins/spec-driver/scripts/lib/project-profile-resolver.mjs +704 -0
- package/plugins/spec-driver/scripts/lib/project-profile-schema.mjs +78 -0
- package/plugins/spec-driver/scripts/lib/script-cli-args.mjs +25 -0
- package/plugins/spec-driver/scripts/lib/script-diagnostics.mjs +29 -0
- package/plugins/spec-driver/scripts/lib/script-report-io.mjs +37 -0
- package/plugins/spec-driver/scripts/lib/simple-yaml.mjs +257 -0
- package/plugins/spec-driver/scripts/lib/sync-conflict-resolver.mjs +128 -0
- package/plugins/spec-driver/scripts/lib/sync-merge-strategy.mjs +388 -0
- package/plugins/spec-driver/scripts/lib/sync-product-mapping.mjs +228 -0
- package/plugins/spec-driver/scripts/lib/sync-timeline-builder.mjs +114 -0
- package/plugins/spec-driver/scripts/lib/sync-validator.mjs +174 -0
- package/plugins/spec-driver/scripts/lib/workflow-registry-core.mjs +281 -0
- package/plugins/spec-driver/scripts/orchestrator-cli.mjs +490 -0
- package/plugins/spec-driver/scripts/orchestrator-cli.sh +36 -0
- package/plugins/spec-driver/scripts/postinstall.sh +101 -0
- package/plugins/spec-driver/scripts/record-workflow-run.mjs +332 -0
- package/plugins/spec-driver/scripts/resolve-project-context.mjs +56 -0
- package/plugins/spec-driver/scripts/scan-project.sh +668 -0
- package/plugins/spec-driver/scripts/sync-merge-engine.mjs +663 -0
- package/plugins/spec-driver/scripts/validate-config.mjs +223 -0
- package/plugins/spec-driver/scripts/validate-orchestration-overrides.mjs +190 -0
- package/plugins/spec-driver/scripts/validate-wrapper-sources.mjs +302 -0
- package/plugins/spec-driver/skills/spec-driver-constitution/SKILL.md +77 -0
- package/plugins/spec-driver/skills/spec-driver-doc/SKILL.md +732 -0
- package/plugins/spec-driver/skills/spec-driver-feature/SKILL.md +336 -0
- package/plugins/spec-driver/skills/spec-driver-fix/SKILL.md +457 -0
- package/plugins/spec-driver/skills/spec-driver-implement/SKILL.md +653 -0
- package/plugins/spec-driver/skills/spec-driver-refactor/SKILL.md +250 -0
- package/plugins/spec-driver/skills/spec-driver-resume/SKILL.md +325 -0
- package/plugins/spec-driver/skills/spec-driver-story/SKILL.md +566 -0
- package/plugins/spec-driver/skills/spec-driver-sync/SKILL.md +300 -0
- package/plugins/spec-driver/templates/code-of-conduct-v2.1.md +85 -0
- package/plugins/spec-driver/templates/licenses/Apache-2.0.txt +201 -0
- package/plugins/spec-driver/templates/licenses/BSD-2-Clause.txt +24 -0
- package/plugins/spec-driver/templates/licenses/BSD-3-Clause.txt +28 -0
- package/plugins/spec-driver/templates/licenses/GPL-3.0.txt +232 -0
- package/plugins/spec-driver/templates/licenses/ISC.txt +15 -0
- package/plugins/spec-driver/templates/licenses/MIT.txt +21 -0
- package/plugins/spec-driver/templates/licenses/MPL-2.0.txt +373 -0
- package/plugins/spec-driver/templates/licenses/Unlicense.txt +24 -0
- package/plugins/spec-driver/templates/orchestration-overrides.example.yaml +81 -0
- package/plugins/spec-driver/templates/product-research-template.md +95 -0
- package/plugins/spec-driver/templates/product-spec-template.md +250 -0
- package/plugins/spec-driver/templates/research-synthesis-template.md +102 -0
- package/plugins/spec-driver/templates/spec-driver.config-template.yaml +244 -0
- package/plugins/spec-driver/templates/specify-base/agent-file-template.md +28 -0
- package/plugins/spec-driver/templates/specify-base/checklist-template.md +40 -0
- package/plugins/spec-driver/templates/specify-base/constitution-template.md +50 -0
- package/plugins/spec-driver/templates/specify-base/plan-template.md +134 -0
- package/plugins/spec-driver/templates/specify-base/product-research-template.md +95 -0
- package/plugins/spec-driver/templates/specify-base/project-context-template.yaml +40 -0
- package/plugins/spec-driver/templates/specify-base/research-synthesis-template.md +102 -0
- package/plugins/spec-driver/templates/specify-base/spec-template.md +115 -0
- package/plugins/spec-driver/templates/specify-base/tasks-template.md +266 -0
- package/plugins/spec-driver/templates/specify-base/tech-research-template.md +111 -0
- package/plugins/spec-driver/templates/specify-base/verification-report-template.md +63 -0
- package/plugins/spec-driver/templates/tech-research-template.md +111 -0
- package/plugins/spec-driver/templates/verification-report-template.md +63 -0
- package/plugins/spec-driver/workflows/golden-paths.yaml +39 -0
- package/plugins/spec-driver/workflows/spec-driver-doc.yaml +24 -0
- package/plugins/spec-driver/workflows/spec-driver-feature.yaml +29 -0
- package/plugins/spec-driver/workflows/spec-driver-fix.yaml +21 -0
- package/plugins/spec-driver/workflows/spec-driver-implement.yaml +23 -0
- package/plugins/spec-driver/workflows/spec-driver-resume.yaml +20 -0
- package/plugins/spec-driver/workflows/spec-driver-story.yaml +24 -0
- package/plugins/spec-driver/workflows/spec-driver-sync.yaml +34 -0
- package/plugins/spectra/.claude-plugin/plugin.json +20 -0
- package/plugins/spectra/.mcp.json +8 -0
- package/plugins/spectra/README.md +128 -0
- package/plugins/spectra/contracts/skill-source-of-truth.yaml +34 -0
- package/plugins/spectra/hooks/hooks.json +15 -0
- package/plugins/spectra/scripts/postinstall.sh +12 -0
- package/plugins/spectra/scripts/sync-skill-mirrors.mjs +148 -0
- package/plugins/spectra/scripts/validate-skill-sources.mjs +280 -0
- package/plugins/spectra/skills/spectra/SKILL.md +214 -0
- package/plugins/spectra/skills/spectra-batch/SKILL.md +232 -0
- package/plugins/spectra/skills/spectra-diff/SKILL.md +99 -0
- package/queries/go.scm +54 -0
- package/queries/java.scm +50 -0
- package/queries/javascript.scm +30 -0
- package/queries/python.scm +35 -0
- package/queries/typescript.scm +50 -0
- package/scripts/lifecycle-runner.cjs +33 -0
- package/templates/adr-draft.hbs +51 -0
- package/templates/adr-index.hbs +25 -0
- package/templates/api-surface.hbs +40 -0
- package/templates/architecture-ir.hbs +49 -0
- package/templates/architecture-narrative.hbs +116 -0
- package/templates/architecture-overview.hbs +103 -0
- package/templates/component-view.hbs +87 -0
- package/templates/config-reference.hbs +22 -0
- package/templates/coverage-report.hbs +84 -0
- package/templates/cross-package-analysis.hbs +43 -0
- package/templates/data-model.hbs +72 -0
- package/templates/delta-report.hbs +53 -0
- package/templates/docs-bundle-index.hbs +41 -0
- package/templates/drift-report.hbs +53 -0
- package/templates/dynamic-scenarios.hbs +46 -0
- package/templates/event-surface.hbs +90 -0
- package/templates/feature-brief-index.hbs +27 -0
- package/templates/feature-brief.hbs +28 -0
- package/templates/index-spec.hbs +57 -0
- package/templates/interface-surface.hbs +87 -0
- package/templates/module-spec.hbs +117 -0
- package/templates/pattern-hints.hbs +85 -0
- package/templates/product-overview.hbs +65 -0
- package/templates/quality-report.hbs +130 -0
- package/templates/runtime-topology.hbs +128 -0
- package/templates/troubleshooting.hbs +86 -0
- package/templates/user-journeys.hbs +44 -0
- package/templates/workspace-index.hbs +26 -0
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* docs-bundle-orchestrator
|
|
3
|
+
*
|
|
4
|
+
* 在 batch 既有输出之上组织 audience-oriented documentation bundles。
|
|
5
|
+
* 055 只复制和编排 markdown 输出,不重新抽取项目事实。
|
|
6
|
+
*/
|
|
7
|
+
import * as fs from 'node:fs';
|
|
8
|
+
import * as path from 'node:path';
|
|
9
|
+
import { listBatchProjectGeneratorIds, getBatchProjectOutputBaseName, BATCH_OUTPUT_SUBDIRS } from '../output-filenames.js';
|
|
10
|
+
import { DOCS_BUNDLE_VERSION, DOCS_BUNDLE_MANIFEST_FILE, DOCS_BUNDLE_ROOT_DIR, } from '../models/docs-bundle-types.js';
|
|
11
|
+
import { listDocsBundleProfiles } from '../models/docs-bundle-profiles.js';
|
|
12
|
+
import { loadTemplate } from '../utils/template-loader.js';
|
|
13
|
+
const INDEX_SPEC_ID = '_index.spec';
|
|
14
|
+
const INDEX_SPEC_FILE = '_index.spec.md';
|
|
15
|
+
const ARCHITECTURE_NARRATIVE_ID = 'architecture-narrative';
|
|
16
|
+
const BUNDLE_NAV_HOME_TITLE = 'Home';
|
|
17
|
+
const PROJECT_DOC_METADATA = {
|
|
18
|
+
'product-overview': {
|
|
19
|
+
title: 'Product Overview',
|
|
20
|
+
description: '产品定位、目标用户、核心场景与关键任务流摘要。',
|
|
21
|
+
relativePath: 'product-overview.md',
|
|
22
|
+
},
|
|
23
|
+
'user-journeys': {
|
|
24
|
+
title: 'User Journeys',
|
|
25
|
+
description: '从用户目标到关键步骤的旅程说明。',
|
|
26
|
+
relativePath: 'user-journeys.md',
|
|
27
|
+
},
|
|
28
|
+
'feature-briefs/index': {
|
|
29
|
+
title: 'Feature Briefs',
|
|
30
|
+
description: '围绕 issue/PR 或 current-spec 派生的 feature brief 集合。',
|
|
31
|
+
relativePath: 'feature-briefs/index.md',
|
|
32
|
+
},
|
|
33
|
+
'api-surface': {
|
|
34
|
+
title: 'API Surface',
|
|
35
|
+
description: '接口入口、路径、请求/响应与参数摘要。',
|
|
36
|
+
relativePath: 'api-surface.md',
|
|
37
|
+
},
|
|
38
|
+
'interface-surface': {
|
|
39
|
+
title: 'Interface Surface',
|
|
40
|
+
description: '公开入口、关键类、公开函数与关键方法摘要。',
|
|
41
|
+
relativePath: 'interface-surface.md',
|
|
42
|
+
},
|
|
43
|
+
'architecture-narrative': {
|
|
44
|
+
title: 'Architecture Narrative',
|
|
45
|
+
description: '面向人类阅读的系统叙事与关键模块说明。',
|
|
46
|
+
relativePath: 'architecture-narrative.md',
|
|
47
|
+
},
|
|
48
|
+
'architecture-overview': {
|
|
49
|
+
title: 'Architecture Overview',
|
|
50
|
+
description: 'system context / deployment / layered 结构总览。',
|
|
51
|
+
relativePath: 'architecture-overview.md',
|
|
52
|
+
},
|
|
53
|
+
'component-view': {
|
|
54
|
+
title: 'Component View',
|
|
55
|
+
description: '关键组件、边界、职责与核心关系视图。',
|
|
56
|
+
relativePath: 'component-view.md',
|
|
57
|
+
},
|
|
58
|
+
'config-reference': {
|
|
59
|
+
title: 'Config Reference',
|
|
60
|
+
description: '配置项、环境变量与默认值参考。',
|
|
61
|
+
relativePath: 'config-reference.md',
|
|
62
|
+
},
|
|
63
|
+
'cross-package-analysis': {
|
|
64
|
+
title: 'Cross-Package Analysis',
|
|
65
|
+
description: '跨包依赖拓扑、关键包关系与循环提示。',
|
|
66
|
+
relativePath: 'cross-package-analysis.md',
|
|
67
|
+
},
|
|
68
|
+
'data-model': {
|
|
69
|
+
title: 'Data Model',
|
|
70
|
+
description: '关键实体、字段与数据结构摘要。',
|
|
71
|
+
relativePath: 'data-model.md',
|
|
72
|
+
},
|
|
73
|
+
'docs/adr/index': {
|
|
74
|
+
title: 'ADR Index',
|
|
75
|
+
description: '架构决策草稿与索引入口。',
|
|
76
|
+
relativePath: 'docs/adr/index.md',
|
|
77
|
+
},
|
|
78
|
+
'dynamic-scenarios': {
|
|
79
|
+
title: 'Dynamic Scenarios',
|
|
80
|
+
description: '关键运行时场景、参与者与步骤链路。',
|
|
81
|
+
relativePath: 'dynamic-scenarios.md',
|
|
82
|
+
},
|
|
83
|
+
'event-surface': {
|
|
84
|
+
title: 'Event Surface',
|
|
85
|
+
description: '事件、通道、状态附录与消息流摘要。',
|
|
86
|
+
relativePath: 'event-surface.md',
|
|
87
|
+
},
|
|
88
|
+
'pattern-hints': {
|
|
89
|
+
title: 'Pattern Hints',
|
|
90
|
+
description: '架构模式提示、证据链与替代方案。',
|
|
91
|
+
relativePath: 'pattern-hints.md',
|
|
92
|
+
},
|
|
93
|
+
'runtime-topology': {
|
|
94
|
+
title: 'Runtime Topology',
|
|
95
|
+
description: '服务、镜像、容器、端口、卷与运行时依赖。',
|
|
96
|
+
relativePath: 'runtime-topology.md',
|
|
97
|
+
},
|
|
98
|
+
'troubleshooting': {
|
|
99
|
+
title: 'Troubleshooting',
|
|
100
|
+
description: '运行与集成问题排查入口。',
|
|
101
|
+
relativePath: 'troubleshooting.md',
|
|
102
|
+
},
|
|
103
|
+
'workspace-index': {
|
|
104
|
+
title: 'Workspace Index',
|
|
105
|
+
description: 'workspace / package 结构与依赖视图。',
|
|
106
|
+
relativePath: 'workspace-index.md',
|
|
107
|
+
},
|
|
108
|
+
[INDEX_SPEC_ID]: {
|
|
109
|
+
title: 'Architecture Index',
|
|
110
|
+
description: '模块级 spec 的全局索引入口。',
|
|
111
|
+
relativePath: INDEX_SPEC_FILE,
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
export function orchestrateDocsBundle(options) {
|
|
115
|
+
const paths = resolvePaths(options);
|
|
116
|
+
const input = buildDocsBundleInput(paths);
|
|
117
|
+
const generatedAt = new Date().toISOString();
|
|
118
|
+
const profiles = listDocsBundleProfiles().map((definition) => buildProfileManifest(definition, input, paths));
|
|
119
|
+
const manifest = {
|
|
120
|
+
version: DOCS_BUNDLE_VERSION,
|
|
121
|
+
generatedAt,
|
|
122
|
+
outputDir: paths.outputDirRelative,
|
|
123
|
+
profiles,
|
|
124
|
+
sourceInventory: [
|
|
125
|
+
...input.projectDocs,
|
|
126
|
+
...(input.indexSpec ? [input.indexSpec] : []),
|
|
127
|
+
],
|
|
128
|
+
moduleSpecCount: input.moduleSpecs.length,
|
|
129
|
+
};
|
|
130
|
+
writeProfiles(profiles, generatedAt, paths);
|
|
131
|
+
const manifestDir = options.metaDir ? path.resolve(options.metaDir) : paths.outputDir;
|
|
132
|
+
fs.mkdirSync(manifestDir, { recursive: true });
|
|
133
|
+
const manifestPathAbs = path.join(manifestDir, DOCS_BUNDLE_MANIFEST_FILE);
|
|
134
|
+
fs.writeFileSync(manifestPathAbs, stringifyYaml(manifest), 'utf-8');
|
|
135
|
+
const profileSummaries = profiles.map((profile) => toProfileSummary(profile));
|
|
136
|
+
const warnings = profiles.flatMap((profile) => profile.warnings);
|
|
137
|
+
return {
|
|
138
|
+
manifestPath: toProjectPath(paths.projectRoot, manifestPathAbs),
|
|
139
|
+
manifest,
|
|
140
|
+
profileRoots: profiles.map((profile) => profile.rootDir),
|
|
141
|
+
profiles: profileSummaries,
|
|
142
|
+
warnings,
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
export function buildDocsBundleInput(paths) {
|
|
146
|
+
const projectDocs = collectProjectDocs(paths);
|
|
147
|
+
const moduleSpecs = collectModuleSpecs(paths);
|
|
148
|
+
const indexSpec = collectIndexSpec(paths);
|
|
149
|
+
return {
|
|
150
|
+
projectRoot: paths.projectRoot,
|
|
151
|
+
outputDir: paths.outputDir,
|
|
152
|
+
projectDocs,
|
|
153
|
+
moduleSpecs,
|
|
154
|
+
indexSpec,
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function resolvePaths(options) {
|
|
158
|
+
const projectRoot = path.resolve(options.projectRoot);
|
|
159
|
+
const outputDir = path.resolve(options.outputDir);
|
|
160
|
+
return {
|
|
161
|
+
projectRoot,
|
|
162
|
+
outputDir,
|
|
163
|
+
outputDirRelative: toProjectPath(projectRoot, outputDir),
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
function collectProjectDocs(paths) {
|
|
167
|
+
const docs = [];
|
|
168
|
+
const seen = new Set();
|
|
169
|
+
// 项目级文档现在位于 project/ 子目录下
|
|
170
|
+
const projectSubDir = path.join(paths.outputDir, BATCH_OUTPUT_SUBDIRS.PROJECT);
|
|
171
|
+
for (const generatorId of listBatchProjectGeneratorIds()) {
|
|
172
|
+
const baseName = getBatchProjectOutputBaseName(generatorId);
|
|
173
|
+
// 优先查找 project/ 子目录,兼容旧版平铺布局
|
|
174
|
+
const sourcePathAbs = resolveDocPath(paths.outputDir, projectSubDir, `${baseName}.md`);
|
|
175
|
+
if (!sourcePathAbs) {
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
178
|
+
const metadata = PROJECT_DOC_METADATA[baseName] ?? {
|
|
179
|
+
title: humanizeDocumentId(baseName),
|
|
180
|
+
description: 'Project-level generated document.',
|
|
181
|
+
};
|
|
182
|
+
docs.push({
|
|
183
|
+
id: baseName,
|
|
184
|
+
title: metadata.title,
|
|
185
|
+
kind: 'project-doc',
|
|
186
|
+
generatorId,
|
|
187
|
+
sourcePath: toProjectPath(paths.projectRoot, sourcePathAbs),
|
|
188
|
+
relativePath: toProjectPath(paths.projectRoot, sourcePathAbs),
|
|
189
|
+
description: metadata.description,
|
|
190
|
+
});
|
|
191
|
+
seen.add(baseName);
|
|
192
|
+
}
|
|
193
|
+
const architectureNarrativeAbs = resolveDocPath(paths.outputDir, projectSubDir, `${ARCHITECTURE_NARRATIVE_ID}.md`);
|
|
194
|
+
if (!seen.has(ARCHITECTURE_NARRATIVE_ID) && architectureNarrativeAbs) {
|
|
195
|
+
const metadata = PROJECT_DOC_METADATA[ARCHITECTURE_NARRATIVE_ID] ?? {
|
|
196
|
+
title: humanizeDocumentId(ARCHITECTURE_NARRATIVE_ID),
|
|
197
|
+
description: 'Project-level generated document.',
|
|
198
|
+
};
|
|
199
|
+
docs.push({
|
|
200
|
+
id: ARCHITECTURE_NARRATIVE_ID,
|
|
201
|
+
title: metadata.title,
|
|
202
|
+
kind: 'project-doc',
|
|
203
|
+
generatorId: ARCHITECTURE_NARRATIVE_ID,
|
|
204
|
+
sourcePath: toProjectPath(paths.projectRoot, architectureNarrativeAbs),
|
|
205
|
+
relativePath: toProjectPath(paths.projectRoot, architectureNarrativeAbs),
|
|
206
|
+
description: metadata.description,
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
for (const [docId, metadata] of Object.entries(PROJECT_DOC_METADATA)) {
|
|
210
|
+
if (seen.has(docId) || docId === INDEX_SPEC_ID || docId === ARCHITECTURE_NARRATIVE_ID) {
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
213
|
+
const relativePath = metadata.relativePath ?? `${docId}.md`;
|
|
214
|
+
const sourcePathAbs = resolveDocPath(paths.outputDir, projectSubDir, relativePath);
|
|
215
|
+
if (!sourcePathAbs) {
|
|
216
|
+
continue;
|
|
217
|
+
}
|
|
218
|
+
docs.push({
|
|
219
|
+
id: docId,
|
|
220
|
+
title: metadata.title,
|
|
221
|
+
kind: 'project-doc',
|
|
222
|
+
generatorId: docId,
|
|
223
|
+
sourcePath: toProjectPath(paths.projectRoot, sourcePathAbs),
|
|
224
|
+
relativePath: toProjectPath(paths.projectRoot, sourcePathAbs),
|
|
225
|
+
description: metadata.description,
|
|
226
|
+
});
|
|
227
|
+
seen.add(docId);
|
|
228
|
+
}
|
|
229
|
+
return docs.sort((left, right) => left.id.localeCompare(right.id));
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* 在 project/ 子目录和 outputDir 根目录中查找文件(兼容新旧布局)
|
|
233
|
+
*/
|
|
234
|
+
function resolveDocPath(outputDir, projectSubDir, relativePath) {
|
|
235
|
+
const subDirPath = path.join(projectSubDir, relativePath);
|
|
236
|
+
if (fs.existsSync(subDirPath))
|
|
237
|
+
return subDirPath;
|
|
238
|
+
const rootPath = path.join(outputDir, relativePath);
|
|
239
|
+
if (fs.existsSync(rootPath))
|
|
240
|
+
return rootPath;
|
|
241
|
+
return undefined;
|
|
242
|
+
}
|
|
243
|
+
function collectIndexSpec(paths) {
|
|
244
|
+
// _index.spec.md 位于 modules/ 子目录(兼容旧版根目录布局)
|
|
245
|
+
const modulesSubDir = path.join(paths.outputDir, BATCH_OUTPUT_SUBDIRS.MODULES);
|
|
246
|
+
const sourcePathAbs = resolveDocPath(paths.outputDir, modulesSubDir, INDEX_SPEC_FILE);
|
|
247
|
+
if (!sourcePathAbs) {
|
|
248
|
+
return undefined;
|
|
249
|
+
}
|
|
250
|
+
const metadata = PROJECT_DOC_METADATA[INDEX_SPEC_ID] ?? {
|
|
251
|
+
title: humanizeDocumentId(INDEX_SPEC_ID),
|
|
252
|
+
description: 'Project-level generated document.',
|
|
253
|
+
};
|
|
254
|
+
return {
|
|
255
|
+
id: INDEX_SPEC_ID,
|
|
256
|
+
title: metadata.title,
|
|
257
|
+
kind: 'index-spec',
|
|
258
|
+
sourcePath: toProjectPath(paths.projectRoot, sourcePathAbs),
|
|
259
|
+
relativePath: toProjectPath(paths.projectRoot, sourcePathAbs),
|
|
260
|
+
description: metadata.description,
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
function collectModuleSpecs(paths) {
|
|
264
|
+
const results = [];
|
|
265
|
+
walkModuleSpecs(paths.outputDir, paths.projectRoot, results);
|
|
266
|
+
return results.sort((left, right) => left.relativePath.localeCompare(right.relativePath));
|
|
267
|
+
}
|
|
268
|
+
function walkModuleSpecs(dir, projectRoot, results) {
|
|
269
|
+
if (!fs.existsSync(dir)) {
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
273
|
+
if (entry.isSymbolicLink()) {
|
|
274
|
+
continue;
|
|
275
|
+
}
|
|
276
|
+
const fullPath = path.join(dir, entry.name);
|
|
277
|
+
if (entry.isDirectory()) {
|
|
278
|
+
if (entry.name === DOCS_BUNDLE_ROOT_DIR) {
|
|
279
|
+
continue;
|
|
280
|
+
}
|
|
281
|
+
walkModuleSpecs(fullPath, projectRoot, results);
|
|
282
|
+
continue;
|
|
283
|
+
}
|
|
284
|
+
if (!entry.isFile() || !entry.name.endsWith('.spec.md') || entry.name === INDEX_SPEC_FILE) {
|
|
285
|
+
continue;
|
|
286
|
+
}
|
|
287
|
+
const relativePath = toProjectPath(projectRoot, fullPath);
|
|
288
|
+
const fileName = path.basename(fullPath);
|
|
289
|
+
results.push({
|
|
290
|
+
moduleName: fileName.replace(/\.spec\.md$/, ''),
|
|
291
|
+
title: fileName.replace(/\.md$/, ''),
|
|
292
|
+
sourcePath: relativePath,
|
|
293
|
+
relativePath,
|
|
294
|
+
bundlePath: path.posix.join('modules', fileName),
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
function buildProfileManifest(definition, input, paths) {
|
|
299
|
+
const rootDirAbs = path.join(paths.outputDir, DOCS_BUNDLE_ROOT_DIR, definition.id);
|
|
300
|
+
const docsRootAbs = path.join(rootDirAbs, 'docs');
|
|
301
|
+
const mkdocsConfigAbs = path.join(rootDirAbs, 'mkdocs.yml');
|
|
302
|
+
const landingPageAbs = path.join(docsRootAbs, 'index.md');
|
|
303
|
+
const documents = [];
|
|
304
|
+
const warnings = [];
|
|
305
|
+
const navigation = [{ title: BUNDLE_NAV_HOME_TITLE, path: 'index.md' }];
|
|
306
|
+
const projectDocsById = new Map(input.projectDocs.map((doc) => [doc.id, doc]));
|
|
307
|
+
documents.push({
|
|
308
|
+
sourceId: `${definition.id}:index`,
|
|
309
|
+
title: definition.title,
|
|
310
|
+
sourcePath: '',
|
|
311
|
+
outputPath: toProjectPath(paths.projectRoot, landingPageAbs),
|
|
312
|
+
navPath: 'index.md',
|
|
313
|
+
order: 0,
|
|
314
|
+
kind: 'landing',
|
|
315
|
+
optional: false,
|
|
316
|
+
description: definition.description,
|
|
317
|
+
});
|
|
318
|
+
let order = 1;
|
|
319
|
+
for (const sourceId of definition.coreDocumentIds) {
|
|
320
|
+
const sourceDoc = projectDocsById.get(sourceId);
|
|
321
|
+
if (!sourceDoc) {
|
|
322
|
+
warnings.push(`缺少源文档: ${sourceId}`);
|
|
323
|
+
continue;
|
|
324
|
+
}
|
|
325
|
+
const document = toBundleDocument(sourceDoc, definition, paths, order);
|
|
326
|
+
documents.push(document);
|
|
327
|
+
navigation.push({ title: document.title, path: document.navPath });
|
|
328
|
+
order += 1;
|
|
329
|
+
}
|
|
330
|
+
if (definition.includeModuleSpecs) {
|
|
331
|
+
const moduleChildren = [];
|
|
332
|
+
if (input.indexSpec) {
|
|
333
|
+
const indexDocument = toIndexSpecBundleDocument(input.indexSpec, definition, paths, order);
|
|
334
|
+
documents.push(indexDocument);
|
|
335
|
+
moduleChildren.push({ title: indexDocument.title, path: indexDocument.navPath });
|
|
336
|
+
order += 1;
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
warnings.push('缺少源文档: _index.spec');
|
|
340
|
+
}
|
|
341
|
+
for (const moduleSpec of input.moduleSpecs) {
|
|
342
|
+
const moduleDocument = toModuleSpecBundleDocument(moduleSpec, definition, paths, order);
|
|
343
|
+
documents.push(moduleDocument);
|
|
344
|
+
moduleChildren.push({ title: moduleDocument.title, path: moduleDocument.navPath });
|
|
345
|
+
order += 1;
|
|
346
|
+
}
|
|
347
|
+
if (moduleChildren.length > 0) {
|
|
348
|
+
navigation.push({
|
|
349
|
+
title: definition.moduleSpecsSectionTitle ?? 'Module Specs',
|
|
350
|
+
children: moduleChildren,
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
warnings.push('未发现可纳入 bundle 的 module spec');
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
return {
|
|
358
|
+
id: definition.id,
|
|
359
|
+
title: definition.title,
|
|
360
|
+
description: definition.description,
|
|
361
|
+
rootDir: toProjectPath(paths.projectRoot, rootDirAbs),
|
|
362
|
+
docsRoot: toProjectPath(paths.projectRoot, docsRootAbs),
|
|
363
|
+
mkdocsConfigPath: toProjectPath(paths.projectRoot, mkdocsConfigAbs),
|
|
364
|
+
landingPagePath: toProjectPath(paths.projectRoot, landingPageAbs),
|
|
365
|
+
documents,
|
|
366
|
+
navigation,
|
|
367
|
+
warnings,
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
function toBundleDocument(source, definition, paths, order) {
|
|
371
|
+
const navPath = toBundleProjectDocNavPath(source, paths);
|
|
372
|
+
const outputPathAbs = path.join(paths.outputDir, DOCS_BUNDLE_ROOT_DIR, definition.id, 'docs', navPath);
|
|
373
|
+
return {
|
|
374
|
+
sourceId: source.id,
|
|
375
|
+
title: source.title,
|
|
376
|
+
sourcePath: source.sourcePath,
|
|
377
|
+
outputPath: toProjectPath(paths.projectRoot, outputPathAbs),
|
|
378
|
+
navPath,
|
|
379
|
+
order,
|
|
380
|
+
kind: source.kind,
|
|
381
|
+
optional: true,
|
|
382
|
+
description: source.description,
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
function toBundleProjectDocNavPath(source, paths) {
|
|
386
|
+
// 项目文档位于 project/ 子目录——优先相对于 project/ 子目录计算 nav path
|
|
387
|
+
const projectSubDirRelative = path.posix.join(paths.outputDirRelative, BATCH_OUTPUT_SUBDIRS.PROJECT);
|
|
388
|
+
const relativeToProject = path.posix.relative(projectSubDirRelative, source.relativePath);
|
|
389
|
+
if (relativeToProject && !relativeToProject.startsWith('..')) {
|
|
390
|
+
return relativeToProject;
|
|
391
|
+
}
|
|
392
|
+
// 兼容旧版平铺布局
|
|
393
|
+
const relativeToOutput = path.posix.relative(paths.outputDirRelative, source.relativePath);
|
|
394
|
+
if (!relativeToOutput || relativeToOutput.startsWith('..')) {
|
|
395
|
+
return path.posix.basename(source.relativePath);
|
|
396
|
+
}
|
|
397
|
+
return relativeToOutput;
|
|
398
|
+
}
|
|
399
|
+
function toIndexSpecBundleDocument(source, definition, paths, order) {
|
|
400
|
+
const navPath = path.posix.join('modules', 'architecture-index.md');
|
|
401
|
+
const outputPathAbs = path.join(paths.outputDir, DOCS_BUNDLE_ROOT_DIR, definition.id, 'docs', navPath);
|
|
402
|
+
return {
|
|
403
|
+
sourceId: source.id,
|
|
404
|
+
title: source.title,
|
|
405
|
+
sourcePath: source.sourcePath,
|
|
406
|
+
outputPath: toProjectPath(paths.projectRoot, outputPathAbs),
|
|
407
|
+
navPath,
|
|
408
|
+
order,
|
|
409
|
+
kind: source.kind,
|
|
410
|
+
optional: true,
|
|
411
|
+
description: source.description,
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
function toModuleSpecBundleDocument(source, definition, paths, order) {
|
|
415
|
+
const outputPathAbs = path.join(paths.outputDir, DOCS_BUNDLE_ROOT_DIR, definition.id, 'docs', source.bundlePath);
|
|
416
|
+
return {
|
|
417
|
+
sourceId: source.moduleName,
|
|
418
|
+
title: source.title,
|
|
419
|
+
sourcePath: source.sourcePath,
|
|
420
|
+
outputPath: toProjectPath(paths.projectRoot, outputPathAbs),
|
|
421
|
+
navPath: source.bundlePath,
|
|
422
|
+
order,
|
|
423
|
+
kind: 'module-spec',
|
|
424
|
+
optional: true,
|
|
425
|
+
description: `Module spec for ${source.moduleName}.`,
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
function writeProfiles(profiles, generatedAt, paths) {
|
|
429
|
+
for (const profile of profiles) {
|
|
430
|
+
const rootDirAbs = path.join(paths.projectRoot, profile.rootDir);
|
|
431
|
+
const docsRootAbs = path.join(paths.projectRoot, profile.docsRoot);
|
|
432
|
+
fs.rmSync(rootDirAbs, { recursive: true, force: true });
|
|
433
|
+
fs.mkdirSync(docsRootAbs, { recursive: true });
|
|
434
|
+
for (const document of profile.documents) {
|
|
435
|
+
if (document.kind === 'landing') {
|
|
436
|
+
fs.writeFileSync(path.join(paths.projectRoot, document.outputPath), renderDocsBundleIndex(profile, generatedAt), 'utf-8');
|
|
437
|
+
continue;
|
|
438
|
+
}
|
|
439
|
+
const sourcePathAbs = path.join(paths.projectRoot, document.sourcePath);
|
|
440
|
+
const outputPathAbs = path.join(paths.projectRoot, document.outputPath);
|
|
441
|
+
if (!fs.existsSync(sourcePathAbs)) {
|
|
442
|
+
continue;
|
|
443
|
+
}
|
|
444
|
+
fs.mkdirSync(path.dirname(outputPathAbs), { recursive: true });
|
|
445
|
+
// module-spec 副本注入 sourceKind 标记,避免被 scanStoredModuleSpecs 当成 canonical 纳入
|
|
446
|
+
if (document.kind === 'module-spec') {
|
|
447
|
+
const original = fs.readFileSync(sourcePathAbs, 'utf-8');
|
|
448
|
+
const annotated = injectBundleCopyFrontmatter(original, document.sourcePath);
|
|
449
|
+
fs.writeFileSync(outputPathAbs, annotated, 'utf-8');
|
|
450
|
+
}
|
|
451
|
+
else {
|
|
452
|
+
fs.copyFileSync(sourcePathAbs, outputPathAbs);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
const mkdocsPathAbs = path.join(paths.projectRoot, profile.mkdocsConfigPath);
|
|
456
|
+
fs.writeFileSync(mkdocsPathAbs, renderMkdocsConfig(profile), 'utf-8');
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
function renderDocsBundleIndex(profile, generatedAt) {
|
|
460
|
+
const template = loadTemplate('docs-bundle-index.hbs', import.meta.url);
|
|
461
|
+
const readingPath = profile.documents.filter((document) => document.kind !== 'landing' && document.kind !== 'module-spec' && document.kind !== 'index-spec');
|
|
462
|
+
const moduleDocs = profile.documents.filter((document) => document.kind === 'module-spec' || document.kind === 'index-spec');
|
|
463
|
+
const context = {
|
|
464
|
+
profileId: profile.id,
|
|
465
|
+
title: profile.title,
|
|
466
|
+
description: profile.description,
|
|
467
|
+
generatedAt,
|
|
468
|
+
readingPath,
|
|
469
|
+
moduleDocs,
|
|
470
|
+
warnings: profile.warnings,
|
|
471
|
+
};
|
|
472
|
+
return template(context);
|
|
473
|
+
}
|
|
474
|
+
function renderMkdocsConfig(profile) {
|
|
475
|
+
const nav = profile.navigation.map((item) => navItemToMkdocs(item));
|
|
476
|
+
const config = {
|
|
477
|
+
site_name: profile.title,
|
|
478
|
+
site_description: profile.description,
|
|
479
|
+
docs_dir: 'docs',
|
|
480
|
+
nav,
|
|
481
|
+
};
|
|
482
|
+
return stringifyYaml(config);
|
|
483
|
+
}
|
|
484
|
+
function navItemToMkdocs(item) {
|
|
485
|
+
if (item.children && item.children.length > 0) {
|
|
486
|
+
return {
|
|
487
|
+
[item.title]: item.children.map((child) => navItemToMkdocs(child)),
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
return {
|
|
491
|
+
[item.title]: item.path ?? '',
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
function toProfileSummary(profile) {
|
|
495
|
+
return {
|
|
496
|
+
id: profile.id,
|
|
497
|
+
title: profile.title,
|
|
498
|
+
rootDir: profile.rootDir,
|
|
499
|
+
documentCount: profile.documents.length,
|
|
500
|
+
warningCount: profile.warnings.length,
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
function toProjectPath(projectRoot, targetPath) {
|
|
504
|
+
const relativePath = path.relative(projectRoot, targetPath);
|
|
505
|
+
return relativePath.startsWith('..') ? targetPath : relativePath.split(path.sep).join('/');
|
|
506
|
+
}
|
|
507
|
+
function humanizeDocumentId(documentId) {
|
|
508
|
+
return documentId
|
|
509
|
+
.replace(/^_/, '')
|
|
510
|
+
.replace(/\.spec$/, '')
|
|
511
|
+
.split(/[-_.]/)
|
|
512
|
+
.filter((token) => token.length > 0)
|
|
513
|
+
.map((token) => token.charAt(0).toUpperCase() + token.slice(1))
|
|
514
|
+
.join(' ');
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* 在 spec 文件的 frontmatter 中注入 sourceKind: bundle_copy 和 derivedFrom 字段。
|
|
518
|
+
* 通过字符串操作在第一个 '---' 块结束前插入两行,避免引入 gray-matter 依赖。
|
|
519
|
+
* 如果文件没有合法 frontmatter,原样返回不修改。
|
|
520
|
+
*/
|
|
521
|
+
function injectBundleCopyFrontmatter(content, canonicalPath) {
|
|
522
|
+
const match = /^(---\r?\n)([\s\S]*?)(\r?\n---)/m.exec(content);
|
|
523
|
+
if (!match) {
|
|
524
|
+
return content;
|
|
525
|
+
}
|
|
526
|
+
const openFence = match[1];
|
|
527
|
+
const body = match[2];
|
|
528
|
+
const closeFence = match[3];
|
|
529
|
+
const injected = `${openFence}${body}\nsourceKind: bundle_copy\nderivedFrom: ${JSON.stringify(canonicalPath)}${closeFence}`;
|
|
530
|
+
return content.replace(match[0], injected);
|
|
531
|
+
}
|
|
532
|
+
function stringifyYaml(value, indent = 0) {
|
|
533
|
+
if (Array.isArray(value)) {
|
|
534
|
+
if (value.length === 0) {
|
|
535
|
+
return `${' '.repeat(indent)}[]`;
|
|
536
|
+
}
|
|
537
|
+
return value
|
|
538
|
+
.map((item) => {
|
|
539
|
+
if (isScalar(item)) {
|
|
540
|
+
return `${' '.repeat(indent)}- ${formatYamlScalar(item)}`;
|
|
541
|
+
}
|
|
542
|
+
const serialized = stringifyYaml(item, indent + 2).split('\n');
|
|
543
|
+
const [firstLine = '', ...restLines] = serialized;
|
|
544
|
+
return [
|
|
545
|
+
`${' '.repeat(indent)}- ${firstLine.trimStart()}`,
|
|
546
|
+
...restLines,
|
|
547
|
+
].join('\n');
|
|
548
|
+
})
|
|
549
|
+
.join('\n');
|
|
550
|
+
}
|
|
551
|
+
if (isPlainObject(value)) {
|
|
552
|
+
const entries = Object.entries(value);
|
|
553
|
+
if (entries.length === 0) {
|
|
554
|
+
return `${' '.repeat(indent)}{}`;
|
|
555
|
+
}
|
|
556
|
+
return entries
|
|
557
|
+
.map(([key, entryValue]) => {
|
|
558
|
+
if (isScalar(entryValue)) {
|
|
559
|
+
return `${' '.repeat(indent)}${key}: ${formatYamlScalar(entryValue)}`;
|
|
560
|
+
}
|
|
561
|
+
if (Array.isArray(entryValue) && entryValue.length === 0) {
|
|
562
|
+
return `${' '.repeat(indent)}${key}: []`;
|
|
563
|
+
}
|
|
564
|
+
if (isPlainObject(entryValue) && Object.keys(entryValue).length === 0) {
|
|
565
|
+
return `${' '.repeat(indent)}${key}: {}`;
|
|
566
|
+
}
|
|
567
|
+
return `${' '.repeat(indent)}${key}:\n${stringifyYaml(entryValue, indent + 2)}`;
|
|
568
|
+
})
|
|
569
|
+
.join('\n');
|
|
570
|
+
}
|
|
571
|
+
return `${' '.repeat(indent)}${formatYamlScalar(value)}`;
|
|
572
|
+
}
|
|
573
|
+
function formatYamlScalar(value) {
|
|
574
|
+
if (value === null) {
|
|
575
|
+
return 'null';
|
|
576
|
+
}
|
|
577
|
+
if (typeof value === 'number' || typeof value === 'boolean') {
|
|
578
|
+
return String(value);
|
|
579
|
+
}
|
|
580
|
+
return JSON.stringify(String(value));
|
|
581
|
+
}
|
|
582
|
+
function isScalar(value) {
|
|
583
|
+
return value === null || ['string', 'number', 'boolean'].includes(typeof value);
|
|
584
|
+
}
|
|
585
|
+
function isPlainObject(value) {
|
|
586
|
+
return value !== null && typeof value === 'object' && !Array.isArray(value);
|
|
587
|
+
}
|
|
588
|
+
//# sourceMappingURL=docs-bundle-orchestrator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs-bundle-orchestrator.js","sourceRoot":"","sources":["../../../src/panoramic/pipelines/docs-bundle-orchestrator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC3H,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,GAWrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,MAAM,aAAa,GAAG,aAAa,CAAC;AACpC,MAAM,eAAe,GAAG,gBAAgB,CAAC;AACzC,MAAM,yBAAyB,GAAG,wBAAwB,CAAC;AAC3D,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAErC,MAAM,oBAAoB,GAAkF;IAC1G,kBAAkB,EAAE;QAClB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,yBAAyB;QACtC,YAAY,EAAE,qBAAqB;KACpC;IACD,eAAe,EAAE;QACf,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,kBAAkB;QAC/B,YAAY,EAAE,kBAAkB;KACjC;IACD,sBAAsB,EAAE;QACtB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,kDAAkD;QAC/D,YAAY,EAAE,yBAAyB;KACxC;IACD,aAAa,EAAE;QACb,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,qBAAqB;QAClC,YAAY,EAAE,gBAAgB;KAC/B;IACD,mBAAmB,EAAE;QACnB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,uBAAuB;QACpC,YAAY,EAAE,sBAAsB;KACrC;IACD,wBAAwB,EAAE;QACxB,KAAK,EAAE,wBAAwB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