driftdetect-core 0.5.0 → 0.6.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/dist/boundaries/types.d.ts +1 -1
- package/dist/boundaries/types.d.ts.map +1 -1
- package/dist/call-graph/analysis/graph-builder.d.ts.map +1 -1
- package/dist/call-graph/analysis/graph-builder.js +1 -0
- package/dist/call-graph/analysis/graph-builder.js.map +1 -1
- package/dist/call-graph/extractors/go-data-access-extractor.d.ts +80 -0
- package/dist/call-graph/extractors/go-data-access-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/go-data-access-extractor.js +457 -0
- package/dist/call-graph/extractors/go-data-access-extractor.js.map +1 -0
- package/dist/call-graph/extractors/go-extractor.d.ts +103 -0
- package/dist/call-graph/extractors/go-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/go-extractor.js +509 -0
- package/dist/call-graph/extractors/go-extractor.js.map +1 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.d.ts +97 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.js +496 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.js.map +1 -0
- package/dist/call-graph/extractors/regex/go-regex.d.ts +51 -0
- package/dist/call-graph/extractors/regex/go-regex.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/go-regex.js +435 -0
- package/dist/call-graph/extractors/regex/go-regex.js.map +1 -0
- package/dist/call-graph/extractors/regex/index.d.ts +1 -0
- package/dist/call-graph/extractors/regex/index.d.ts.map +1 -1
- package/dist/call-graph/extractors/regex/index.js +8 -0
- package/dist/call-graph/extractors/regex/index.js.map +1 -1
- package/dist/call-graph/index.d.ts +3 -0
- package/dist/call-graph/index.d.ts.map +1 -1
- package/dist/call-graph/index.js +5 -0
- package/dist/call-graph/index.js.map +1 -1
- package/dist/call-graph/types.d.ts +1 -1
- package/dist/call-graph/types.d.ts.map +1 -1
- package/dist/constraints/extraction/constraint-synthesizer.d.ts +72 -0
- package/dist/constraints/extraction/constraint-synthesizer.d.ts.map +1 -0
- package/dist/constraints/extraction/constraint-synthesizer.js +336 -0
- package/dist/constraints/extraction/constraint-synthesizer.js.map +1 -0
- package/dist/constraints/extraction/index.d.ts +10 -0
- package/dist/constraints/extraction/index.d.ts.map +1 -0
- package/dist/constraints/extraction/index.js +10 -0
- package/dist/constraints/extraction/index.js.map +1 -0
- package/dist/constraints/extraction/invariant-detector.d.ts +109 -0
- package/dist/constraints/extraction/invariant-detector.d.ts.map +1 -0
- package/dist/constraints/extraction/invariant-detector.js +979 -0
- package/dist/constraints/extraction/invariant-detector.js.map +1 -0
- package/dist/constraints/index.d.ts +15 -0
- package/dist/constraints/index.d.ts.map +1 -0
- package/dist/constraints/index.js +16 -0
- package/dist/constraints/index.js.map +1 -0
- package/dist/constraints/store/constraint-store.d.ts +110 -0
- package/dist/constraints/store/constraint-store.d.ts.map +1 -0
- package/dist/constraints/store/constraint-store.js +584 -0
- package/dist/constraints/store/constraint-store.js.map +1 -0
- package/dist/constraints/types.d.ts +605 -0
- package/dist/constraints/types.d.ts.map +1 -0
- package/dist/constraints/types.js +57 -0
- package/dist/constraints/types.js.map +1 -0
- package/dist/constraints/verification/constraint-verifier.d.ts +100 -0
- package/dist/constraints/verification/constraint-verifier.d.ts.map +1 -0
- package/dist/constraints/verification/constraint-verifier.js +638 -0
- package/dist/constraints/verification/constraint-verifier.js.map +1 -0
- package/dist/constraints/verification/index.d.ts +8 -0
- package/dist/constraints/verification/index.d.ts.map +1 -0
- package/dist/constraints/verification/index.js +8 -0
- package/dist/constraints/verification/index.js.map +1 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.d.ts +121 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.d.ts.map +1 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.js +904 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.js.map +1 -0
- package/dist/decisions/analyzer/index.d.ts +5 -0
- package/dist/decisions/analyzer/index.d.ts.map +1 -0
- package/dist/decisions/analyzer/index.js +5 -0
- package/dist/decisions/analyzer/index.js.map +1 -0
- package/dist/decisions/extractors/base-commit-extractor.d.ts +104 -0
- package/dist/decisions/extractors/base-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/base-commit-extractor.js +305 -0
- package/dist/decisions/extractors/base-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/csharp-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/csharp-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/csharp-commit-extractor.js +281 -0
- package/dist/decisions/extractors/csharp-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/index.d.ts +31 -0
- package/dist/decisions/extractors/index.d.ts.map +1 -0
- package/dist/decisions/extractors/index.js +63 -0
- package/dist/decisions/extractors/index.js.map +1 -0
- package/dist/decisions/extractors/java-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/java-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/java-commit-extractor.js +248 -0
- package/dist/decisions/extractors/java-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/php-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/php-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/php-commit-extractor.js +280 -0
- package/dist/decisions/extractors/php-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/python-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/python-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/python-commit-extractor.js +248 -0
- package/dist/decisions/extractors/python-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/typescript-commit-extractor.d.ts +37 -0
- package/dist/decisions/extractors/typescript-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/typescript-commit-extractor.js +229 -0
- package/dist/decisions/extractors/typescript-commit-extractor.js.map +1 -0
- package/dist/decisions/git/commit-parser.d.ts +58 -0
- package/dist/decisions/git/commit-parser.d.ts.map +1 -0
- package/dist/decisions/git/commit-parser.js +344 -0
- package/dist/decisions/git/commit-parser.js.map +1 -0
- package/dist/decisions/git/diff-analyzer.d.ts +30 -0
- package/dist/decisions/git/diff-analyzer.d.ts.map +1 -0
- package/dist/decisions/git/diff-analyzer.js +492 -0
- package/dist/decisions/git/diff-analyzer.js.map +1 -0
- package/dist/decisions/git/git-walker.d.ts +64 -0
- package/dist/decisions/git/git-walker.d.ts.map +1 -0
- package/dist/decisions/git/git-walker.js +441 -0
- package/dist/decisions/git/git-walker.js.map +1 -0
- package/dist/decisions/git/index.d.ts +11 -0
- package/dist/decisions/git/index.d.ts.map +1 -0
- package/dist/decisions/git/index.js +13 -0
- package/dist/decisions/git/index.js.map +1 -0
- package/dist/decisions/git/types.d.ts +223 -0
- package/dist/decisions/git/types.d.ts.map +1 -0
- package/dist/decisions/git/types.js +7 -0
- package/dist/decisions/git/types.js.map +1 -0
- package/dist/decisions/index.d.ts +27 -0
- package/dist/decisions/index.d.ts.map +1 -0
- package/dist/decisions/index.js +45 -0
- package/dist/decisions/index.js.map +1 -0
- package/dist/decisions/types.d.ts +530 -0
- package/dist/decisions/types.d.ts.map +1 -0
- package/dist/decisions/types.js +8 -0
- package/dist/decisions/types.js.map +1 -0
- package/dist/go/go-analyzer.d.ts +203 -0
- package/dist/go/go-analyzer.d.ts.map +1 -0
- package/dist/go/go-analyzer.js +509 -0
- package/dist/go/go-analyzer.js.map +1 -0
- package/dist/go/index.d.ts +7 -0
- package/dist/go/index.d.ts.map +1 -0
- package/dist/go/index.js +8 -0
- package/dist/go/index.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -1
- package/dist/parsers/tree-sitter/go-loader.d.ts +50 -0
- package/dist/parsers/tree-sitter/go-loader.d.ts.map +1 -0
- package/dist/parsers/tree-sitter/go-loader.js +161 -0
- package/dist/parsers/tree-sitter/go-loader.js.map +1 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.d.ts +250 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.d.ts.map +1 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.js +707 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.js.map +1 -0
- package/dist/parsers/types.d.ts +1 -1
- package/dist/parsers/types.d.ts.map +1 -1
- package/dist/simulation/approach-generator.d.ts +73 -0
- package/dist/simulation/approach-generator.d.ts.map +1 -0
- package/dist/simulation/approach-generator.js +371 -0
- package/dist/simulation/approach-generator.js.map +1 -0
- package/dist/simulation/index.d.ts +14 -0
- package/dist/simulation/index.d.ts.map +1 -0
- package/dist/simulation/index.js +19 -0
- package/dist/simulation/index.js.map +1 -0
- package/dist/simulation/language-strategies/csharp-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/csharp-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/csharp-strategies.js +118 -0
- package/dist/simulation/language-strategies/csharp-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/index.d.ts +41 -0
- package/dist/simulation/language-strategies/index.d.ts.map +1 -0
- package/dist/simulation/language-strategies/index.js +92 -0
- package/dist/simulation/language-strategies/index.js.map +1 -0
- package/dist/simulation/language-strategies/java-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/java-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/java-strategies.js +119 -0
- package/dist/simulation/language-strategies/java-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/php-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/php-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/php-strategies.js +129 -0
- package/dist/simulation/language-strategies/php-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/python-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/python-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/python-strategies.js +208 -0
- package/dist/simulation/language-strategies/python-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/types.d.ts +67 -0
- package/dist/simulation/language-strategies/types.d.ts.map +1 -0
- package/dist/simulation/language-strategies/types.js +23 -0
- package/dist/simulation/language-strategies/types.js.map +1 -0
- package/dist/simulation/language-strategies/typescript-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/typescript-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/typescript-strategies.js +251 -0
- package/dist/simulation/language-strategies/typescript-strategies.js.map +1 -0
- package/dist/simulation/scorers/friction-scorer.d.ts +45 -0
- package/dist/simulation/scorers/friction-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/friction-scorer.js +336 -0
- package/dist/simulation/scorers/friction-scorer.js.map +1 -0
- package/dist/simulation/scorers/impact-scorer.d.ts +56 -0
- package/dist/simulation/scorers/impact-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/impact-scorer.js +273 -0
- package/dist/simulation/scorers/impact-scorer.js.map +1 -0
- package/dist/simulation/scorers/index.d.ts +12 -0
- package/dist/simulation/scorers/index.d.ts.map +1 -0
- package/dist/simulation/scorers/index.js +12 -0
- package/dist/simulation/scorers/index.js.map +1 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.d.ts +83 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.js +367 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.js.map +1 -0
- package/dist/simulation/scorers/security-scorer.d.ts +63 -0
- package/dist/simulation/scorers/security-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/security-scorer.js +346 -0
- package/dist/simulation/scorers/security-scorer.js.map +1 -0
- package/dist/simulation/simulation-engine.d.ts +89 -0
- package/dist/simulation/simulation-engine.d.ts.map +1 -0
- package/dist/simulation/simulation-engine.js +480 -0
- package/dist/simulation/simulation-engine.js.map +1 -0
- package/dist/simulation/types.d.ts +200 -0
- package/dist/simulation/types.d.ts.map +1 -0
- package/dist/simulation/types.js +23 -0
- package/dist/simulation/types.js.map +1 -0
- package/dist/speculative/approach-generator.d.ts +2 -0
- package/dist/speculative/approach-generator.d.ts.map +1 -0
- package/dist/speculative/approach-generator.js +2 -0
- package/dist/speculative/approach-generator.js.map +1 -0
- package/dist/speculative/templates/types.d.ts +133 -0
- package/dist/speculative/templates/types.d.ts.map +1 -0
- package/dist/speculative/templates/types.js +208 -0
- package/dist/speculative/templates/types.js.map +1 -0
- package/dist/speculative/types.d.ts +523 -0
- package/dist/speculative/types.d.ts.map +1 -0
- package/dist/speculative/types.js +71 -0
- package/dist/speculative/types.js.map +1 -0
- package/dist/test-topology/extractors/base-test-extractor.d.ts +1 -1
- package/dist/test-topology/extractors/base-test-extractor.d.ts.map +1 -1
- package/dist/test-topology/extractors/base-test-extractor.js.map +1 -1
- package/dist/test-topology/extractors/go-test-extractor.d.ts +33 -0
- package/dist/test-topology/extractors/go-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/go-test-extractor.js +436 -0
- package/dist/test-topology/extractors/go-test-extractor.js.map +1 -0
- package/dist/test-topology/extractors/index.d.ts +1 -0
- package/dist/test-topology/extractors/index.d.ts.map +1 -1
- package/dist/test-topology/extractors/index.js +1 -0
- package/dist/test-topology/extractors/index.js.map +1 -1
- package/dist/test-topology/extractors/regex/go-test-regex.d.ts +62 -0
- package/dist/test-topology/extractors/regex/go-test-regex.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/go-test-regex.js +528 -0
- package/dist/test-topology/extractors/regex/go-test-regex.js.map +1 -0
- package/dist/test-topology/extractors/regex/index.d.ts +1 -0
- package/dist/test-topology/extractors/regex/index.d.ts.map +1 -1
- package/dist/test-topology/extractors/regex/index.js +4 -0
- package/dist/test-topology/extractors/regex/index.js.map +1 -1
- package/dist/test-topology/hybrid-test-topology-analyzer.d.ts.map +1 -1
- package/dist/test-topology/hybrid-test-topology-analyzer.js +1 -0
- package/dist/test-topology/hybrid-test-topology-analyzer.js.map +1 -1
- package/dist/test-topology/test-topology-analyzer.d.ts.map +1 -1
- package/dist/test-topology/test-topology-analyzer.js +1 -0
- package/dist/test-topology/test-topology-analyzer.js.map +1 -1
- package/dist/test-topology/types.d.ts +2 -2
- package/dist/test-topology/types.d.ts.map +1 -1
- package/dist/unified-provider/matching/database-sql-matcher.d.ts +42 -0
- package/dist/unified-provider/matching/database-sql-matcher.d.ts.map +1 -0
- package/dist/unified-provider/matching/database-sql-matcher.js +282 -0
- package/dist/unified-provider/matching/database-sql-matcher.js.map +1 -0
- package/dist/unified-provider/matching/gorm-matcher.d.ts +41 -0
- package/dist/unified-provider/matching/gorm-matcher.d.ts.map +1 -0
- package/dist/unified-provider/matching/gorm-matcher.js +222 -0
- package/dist/unified-provider/matching/gorm-matcher.js.map +1 -0
- package/dist/unified-provider/matching/index.d.ts +3 -0
- package/dist/unified-provider/matching/index.d.ts.map +1 -1
- package/dist/unified-provider/matching/index.js +4 -0
- package/dist/unified-provider/matching/index.js.map +1 -1
- package/dist/unified-provider/matching/matcher-registry.d.ts.map +1 -1
- package/dist/unified-provider/matching/matcher-registry.js +7 -0
- package/dist/unified-provider/matching/matcher-registry.js.map +1 -1
- package/dist/unified-provider/matching/sqlx-matcher.d.ts +40 -0
- package/dist/unified-provider/matching/sqlx-matcher.d.ts.map +1 -0
- package/dist/unified-provider/matching/sqlx-matcher.js +214 -0
- package/dist/unified-provider/matching/sqlx-matcher.js.map +1 -0
- package/dist/unified-provider/normalization/go-normalizer.d.ts +62 -0
- package/dist/unified-provider/normalization/go-normalizer.d.ts.map +1 -0
- package/dist/unified-provider/normalization/go-normalizer.js +608 -0
- package/dist/unified-provider/normalization/go-normalizer.js.map +1 -0
- package/dist/unified-provider/normalization/index.d.ts +1 -0
- package/dist/unified-provider/normalization/index.d.ts.map +1 -1
- package/dist/unified-provider/normalization/index.js +6 -1
- package/dist/unified-provider/normalization/index.js.map +1 -1
- package/dist/unified-provider/types.d.ts +1 -1
- package/dist/unified-provider/types.d.ts.map +1 -1
- package/dist/wpf/extractors/binding-error-detector.d.ts +75 -0
- package/dist/wpf/extractors/binding-error-detector.d.ts.map +1 -0
- package/dist/wpf/extractors/binding-error-detector.js +290 -0
- package/dist/wpf/extractors/binding-error-detector.js.map +1 -0
- package/dist/wpf/extractors/code-behind-linker.d.ts +70 -0
- package/dist/wpf/extractors/code-behind-linker.d.ts.map +1 -0
- package/dist/wpf/extractors/code-behind-linker.js +172 -0
- package/dist/wpf/extractors/code-behind-linker.js.map +1 -0
- package/dist/wpf/extractors/dependency-property-extractor.d.ts +61 -0
- package/dist/wpf/extractors/dependency-property-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/dependency-property-extractor.js +201 -0
- package/dist/wpf/extractors/dependency-property-extractor.js.map +1 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.d.ts +82 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.d.ts.map +1 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.js +412 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.js.map +1 -0
- package/dist/wpf/extractors/regex/xaml-regex.d.ts +77 -0
- package/dist/wpf/extractors/regex/xaml-regex.d.ts.map +1 -0
- package/dist/wpf/extractors/regex/xaml-regex.js +353 -0
- package/dist/wpf/extractors/regex/xaml-regex.js.map +1 -0
- package/dist/wpf/extractors/resource-dictionary-parser.d.ts +103 -0
- package/dist/wpf/extractors/resource-dictionary-parser.d.ts.map +1 -0
- package/dist/wpf/extractors/resource-dictionary-parser.js +296 -0
- package/dist/wpf/extractors/resource-dictionary-parser.js.map +1 -0
- package/dist/wpf/extractors/value-converter-extractor.d.ts +128 -0
- package/dist/wpf/extractors/value-converter-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/value-converter-extractor.js +312 -0
- package/dist/wpf/extractors/value-converter-extractor.js.map +1 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.d.ts +104 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.js +513 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.js.map +1 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.d.ts +98 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.js +444 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.js.map +1 -0
- package/dist/wpf/index.d.ts +25 -0
- package/dist/wpf/index.d.ts.map +1 -0
- package/dist/wpf/index.js +31 -0
- package/dist/wpf/index.js.map +1 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.d.ts +82 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.d.ts.map +1 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.js +311 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.js.map +1 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.d.ts +129 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.d.ts.map +1 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.js +367 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.js.map +1 -0
- package/dist/wpf/linkers/datacontext-resolver.d.ts +66 -0
- package/dist/wpf/linkers/datacontext-resolver.d.ts.map +1 -0
- package/dist/wpf/linkers/datacontext-resolver.js +240 -0
- package/dist/wpf/linkers/datacontext-resolver.js.map +1 -0
- package/dist/wpf/linkers/viewmodel-linker.d.ts +71 -0
- package/dist/wpf/linkers/viewmodel-linker.d.ts.map +1 -0
- package/dist/wpf/linkers/viewmodel-linker.js +268 -0
- package/dist/wpf/linkers/viewmodel-linker.js.map +1 -0
- package/dist/wpf/types.d.ts +451 -0
- package/dist/wpf/types.d.ts.map +1 -0
- package/dist/wpf/types.js +8 -0
- package/dist/wpf/types.js.map +1 -0
- package/dist/wpf/wpf-analyzer.d.ts +114 -0
- package/dist/wpf/wpf-analyzer.d.ts.map +1 -0
- package/dist/wpf/wpf-analyzer.js +332 -0
- package/dist/wpf/wpf-analyzer.js.map +1 -0
- package/dist/wrappers/integration/adapter.d.ts.map +1 -1
- package/dist/wrappers/integration/adapter.js +1 -0
- package/dist/wrappers/integration/adapter.js.map +1 -1
- package/package.json +29 -18
- package/LICENSE +0 -21
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Git Walker
|
|
3
|
+
*
|
|
4
|
+
* Traverses git history and extracts commit information.
|
|
5
|
+
* Uses simple-git for git operations.
|
|
6
|
+
*/
|
|
7
|
+
import * as path from 'node:path';
|
|
8
|
+
// ============================================================================
|
|
9
|
+
// Language Detection
|
|
10
|
+
// ============================================================================
|
|
11
|
+
const LANGUAGE_EXTENSIONS = {
|
|
12
|
+
// TypeScript
|
|
13
|
+
'.ts': 'typescript',
|
|
14
|
+
'.tsx': 'typescript',
|
|
15
|
+
'.mts': 'typescript',
|
|
16
|
+
'.cts': 'typescript',
|
|
17
|
+
// JavaScript
|
|
18
|
+
'.js': 'javascript',
|
|
19
|
+
'.jsx': 'javascript',
|
|
20
|
+
'.mjs': 'javascript',
|
|
21
|
+
'.cjs': 'javascript',
|
|
22
|
+
// Python
|
|
23
|
+
'.py': 'python',
|
|
24
|
+
'.pyw': 'python',
|
|
25
|
+
'.pyi': 'python',
|
|
26
|
+
// Java
|
|
27
|
+
'.java': 'java',
|
|
28
|
+
// C#
|
|
29
|
+
'.cs': 'csharp',
|
|
30
|
+
// PHP
|
|
31
|
+
'.php': 'php',
|
|
32
|
+
'.phtml': 'php',
|
|
33
|
+
};
|
|
34
|
+
const TEST_PATTERNS = [
|
|
35
|
+
/\.test\.[jt]sx?$/,
|
|
36
|
+
/\.spec\.[jt]sx?$/,
|
|
37
|
+
/_test\.py$/,
|
|
38
|
+
/test_.*\.py$/,
|
|
39
|
+
/Test\.java$/,
|
|
40
|
+
/Tests\.java$/,
|
|
41
|
+
/Test\.cs$/,
|
|
42
|
+
/Tests\.cs$/,
|
|
43
|
+
/Test\.php$/,
|
|
44
|
+
/Tests\.php$/,
|
|
45
|
+
/__tests__\//,
|
|
46
|
+
/\/tests?\//i,
|
|
47
|
+
/\/spec\//i,
|
|
48
|
+
];
|
|
49
|
+
const CONFIG_PATTERNS = [
|
|
50
|
+
/\.config\.[jt]s$/,
|
|
51
|
+
/\.config\.json$/,
|
|
52
|
+
/\.json$/,
|
|
53
|
+
/\.ya?ml$/,
|
|
54
|
+
/\.toml$/,
|
|
55
|
+
/\.ini$/,
|
|
56
|
+
/\.env/,
|
|
57
|
+
/Dockerfile/,
|
|
58
|
+
/docker-compose/,
|
|
59
|
+
/\.gitignore$/,
|
|
60
|
+
/\.eslintrc/,
|
|
61
|
+
/\.prettierrc/,
|
|
62
|
+
/tsconfig/,
|
|
63
|
+
/package\.json$/,
|
|
64
|
+
/requirements\.txt$/,
|
|
65
|
+
/pyproject\.toml$/,
|
|
66
|
+
/pom\.xml$/,
|
|
67
|
+
/build\.gradle/,
|
|
68
|
+
/\.csproj$/,
|
|
69
|
+
/composer\.json$/,
|
|
70
|
+
];
|
|
71
|
+
const DOCS_PATTERNS = [
|
|
72
|
+
/\.md$/,
|
|
73
|
+
/\.mdx$/,
|
|
74
|
+
/\.rst$/,
|
|
75
|
+
/\.txt$/,
|
|
76
|
+
/README/i,
|
|
77
|
+
/CHANGELOG/i,
|
|
78
|
+
/LICENSE/i,
|
|
79
|
+
/CONTRIBUTING/i,
|
|
80
|
+
/\/docs?\//i,
|
|
81
|
+
];
|
|
82
|
+
/**
|
|
83
|
+
* Detect language from file path
|
|
84
|
+
*/
|
|
85
|
+
export function detectLanguage(filePath) {
|
|
86
|
+
const ext = path.extname(filePath).toLowerCase();
|
|
87
|
+
// Check for known language extensions
|
|
88
|
+
const lang = LANGUAGE_EXTENSIONS[ext];
|
|
89
|
+
if (lang) {
|
|
90
|
+
return lang;
|
|
91
|
+
}
|
|
92
|
+
// Check for config files
|
|
93
|
+
if (CONFIG_PATTERNS.some(p => p.test(filePath))) {
|
|
94
|
+
return 'config';
|
|
95
|
+
}
|
|
96
|
+
// Check for docs
|
|
97
|
+
if (DOCS_PATTERNS.some(p => p.test(filePath))) {
|
|
98
|
+
return 'docs';
|
|
99
|
+
}
|
|
100
|
+
return 'other';
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Classify a file
|
|
104
|
+
*/
|
|
105
|
+
export function classifyFile(filePath) {
|
|
106
|
+
const language = detectLanguage(filePath);
|
|
107
|
+
const isSource = language !== 'other' && language !== 'config' && language !== 'docs';
|
|
108
|
+
const isTest = TEST_PATTERNS.some(p => p.test(filePath));
|
|
109
|
+
const isConfig = CONFIG_PATTERNS.some(p => p.test(filePath));
|
|
110
|
+
const isDocs = DOCS_PATTERNS.some(p => p.test(filePath));
|
|
111
|
+
// Check for dependency manifests
|
|
112
|
+
const manifestTypes = {
|
|
113
|
+
'package.json': 'npm',
|
|
114
|
+
'requirements.txt': 'pip',
|
|
115
|
+
'pyproject.toml': 'pip',
|
|
116
|
+
'Pipfile': 'pip',
|
|
117
|
+
'pom.xml': 'maven',
|
|
118
|
+
'build.gradle': 'gradle',
|
|
119
|
+
'build.gradle.kts': 'gradle',
|
|
120
|
+
'composer.json': 'composer',
|
|
121
|
+
};
|
|
122
|
+
const fileName = path.basename(filePath);
|
|
123
|
+
const isDependencyManifest = fileName in manifestTypes || filePath.endsWith('.csproj');
|
|
124
|
+
const manifestType = manifestTypes[fileName] || (filePath.endsWith('.csproj') ? 'nuget' : undefined);
|
|
125
|
+
const result = {
|
|
126
|
+
isSource,
|
|
127
|
+
isTest,
|
|
128
|
+
isConfig,
|
|
129
|
+
isDocs,
|
|
130
|
+
isBuild: /\/(build|dist|out|target|bin|obj)\//i.test(filePath),
|
|
131
|
+
isDependencyManifest,
|
|
132
|
+
};
|
|
133
|
+
if (manifestType) {
|
|
134
|
+
result.manifestType = manifestType;
|
|
135
|
+
}
|
|
136
|
+
return result;
|
|
137
|
+
}
|
|
138
|
+
// ============================================================================
|
|
139
|
+
// Git Walker Class
|
|
140
|
+
// ============================================================================
|
|
141
|
+
/**
|
|
142
|
+
* Git history walker
|
|
143
|
+
*/
|
|
144
|
+
export class GitWalker {
|
|
145
|
+
options;
|
|
146
|
+
constructor(options) {
|
|
147
|
+
this.options = {
|
|
148
|
+
maxCommits: 1000,
|
|
149
|
+
includeMergeCommits: false,
|
|
150
|
+
followRenames: true,
|
|
151
|
+
includeDiffs: true,
|
|
152
|
+
...options,
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Walk git history and retrieve commits
|
|
157
|
+
*/
|
|
158
|
+
async walk() {
|
|
159
|
+
const startTime = Date.now();
|
|
160
|
+
// Dynamic import of simple-git to avoid issues if not installed
|
|
161
|
+
const { simpleGit } = await import('simple-git');
|
|
162
|
+
const git = simpleGit(this.options.rootDir);
|
|
163
|
+
// Build log options
|
|
164
|
+
const logOptions = [
|
|
165
|
+
'--format=%H|%h|%s|%b|%an|%ae|%aI|%P',
|
|
166
|
+
'--name-status',
|
|
167
|
+
'--numstat',
|
|
168
|
+
];
|
|
169
|
+
if (this.options.since) {
|
|
170
|
+
logOptions.push(`--since=${this.options.since.toISOString()}`);
|
|
171
|
+
}
|
|
172
|
+
if (this.options.until) {
|
|
173
|
+
logOptions.push(`--until=${this.options.until.toISOString()}`);
|
|
174
|
+
}
|
|
175
|
+
if (this.options.maxCommits) {
|
|
176
|
+
logOptions.push(`-n ${this.options.maxCommits}`);
|
|
177
|
+
}
|
|
178
|
+
if (!this.options.includeMergeCommits) {
|
|
179
|
+
logOptions.push('--no-merges');
|
|
180
|
+
}
|
|
181
|
+
if (this.options.followRenames) {
|
|
182
|
+
logOptions.push('-M');
|
|
183
|
+
}
|
|
184
|
+
// Get branches
|
|
185
|
+
const branchResult = await git.branch();
|
|
186
|
+
const branches = this.options.branches || [branchResult.current];
|
|
187
|
+
// Get commits
|
|
188
|
+
const commits = [];
|
|
189
|
+
try {
|
|
190
|
+
// Use raw log for more control
|
|
191
|
+
const rawLog = await git.raw(['log', ...logOptions, ...branches]);
|
|
192
|
+
const parsedCommits = this.parseRawLog(rawLog);
|
|
193
|
+
// Filter by paths if specified
|
|
194
|
+
const filteredCommits = this.filterByPaths(parsedCommits);
|
|
195
|
+
commits.push(...filteredCommits);
|
|
196
|
+
}
|
|
197
|
+
catch (error) {
|
|
198
|
+
// Fallback to simpler log if raw fails
|
|
199
|
+
console.warn('Raw log failed, using simple log:', error);
|
|
200
|
+
// Build log options for simple-git
|
|
201
|
+
const logOpts = {};
|
|
202
|
+
if (this.options.maxCommits) {
|
|
203
|
+
logOpts.maxCount = this.options.maxCommits;
|
|
204
|
+
}
|
|
205
|
+
const log = await git.log(logOpts);
|
|
206
|
+
for (const entry of log.all) {
|
|
207
|
+
commits.push(this.convertLogEntry(entry));
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
// Calculate date range
|
|
211
|
+
const dates = commits.map(c => c.date.getTime());
|
|
212
|
+
const dateRange = {
|
|
213
|
+
earliest: new Date(Math.min(...dates)),
|
|
214
|
+
latest: new Date(Math.max(...dates)),
|
|
215
|
+
};
|
|
216
|
+
return {
|
|
217
|
+
commits,
|
|
218
|
+
totalCommits: commits.length,
|
|
219
|
+
hasMore: commits.length >= (this.options.maxCommits || 1000),
|
|
220
|
+
branches,
|
|
221
|
+
dateRange,
|
|
222
|
+
duration: Date.now() - startTime,
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Get a single commit by SHA
|
|
227
|
+
*/
|
|
228
|
+
async getCommit(sha) {
|
|
229
|
+
const { simpleGit } = await import('simple-git');
|
|
230
|
+
const git = simpleGit(this.options.rootDir);
|
|
231
|
+
try {
|
|
232
|
+
const show = await git.show([sha, '--format=%H|%h|%s|%b|%an|%ae|%aI|%P', '--name-status', '--numstat']);
|
|
233
|
+
const commits = this.parseRawLog(show);
|
|
234
|
+
return commits[0] || null;
|
|
235
|
+
}
|
|
236
|
+
catch {
|
|
237
|
+
return null;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Get file content at a specific commit
|
|
242
|
+
*/
|
|
243
|
+
async getFileAtCommit(sha, filePath) {
|
|
244
|
+
const { simpleGit } = await import('simple-git');
|
|
245
|
+
const git = simpleGit(this.options.rootDir);
|
|
246
|
+
try {
|
|
247
|
+
return await git.show([`${sha}:${filePath}`]);
|
|
248
|
+
}
|
|
249
|
+
catch {
|
|
250
|
+
return null;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Get diff between two commits
|
|
255
|
+
*/
|
|
256
|
+
async getDiff(fromSha, toSha) {
|
|
257
|
+
const { simpleGit } = await import('simple-git');
|
|
258
|
+
const git = simpleGit(this.options.rootDir);
|
|
259
|
+
return git.diff([fromSha, toSha]);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Parse raw git log output
|
|
263
|
+
*/
|
|
264
|
+
parseRawLog(rawLog) {
|
|
265
|
+
const commits = [];
|
|
266
|
+
const lines = rawLog.split('\n');
|
|
267
|
+
let currentCommit = null;
|
|
268
|
+
let currentFiles = [];
|
|
269
|
+
let inBody = false;
|
|
270
|
+
let bodyLines = [];
|
|
271
|
+
for (const line of lines) {
|
|
272
|
+
// Check for commit header line (format: SHA|shortSHA|subject|body|author|email|date|parents)
|
|
273
|
+
if (line.includes('|') && line.match(/^[a-f0-9]{40}\|/)) {
|
|
274
|
+
// Save previous commit
|
|
275
|
+
if (currentCommit && currentCommit.sha) {
|
|
276
|
+
currentCommit.files = currentFiles;
|
|
277
|
+
currentCommit.body = bodyLines.join('\n').trim();
|
|
278
|
+
commits.push(currentCommit);
|
|
279
|
+
}
|
|
280
|
+
// Parse new commit
|
|
281
|
+
const parts = line.split('|');
|
|
282
|
+
const [sha, shortSha, subject, body, authorName, authorEmail, dateStr, parentsStr] = parts;
|
|
283
|
+
if (!sha || !shortSha) {
|
|
284
|
+
continue;
|
|
285
|
+
}
|
|
286
|
+
currentCommit = {
|
|
287
|
+
sha,
|
|
288
|
+
shortSha,
|
|
289
|
+
subject: subject || '',
|
|
290
|
+
body: body || '',
|
|
291
|
+
authorName: authorName || '',
|
|
292
|
+
authorEmail: authorEmail || '',
|
|
293
|
+
date: new Date(dateStr || Date.now()),
|
|
294
|
+
parents: parentsStr ? parentsStr.split(' ').filter(Boolean) : [],
|
|
295
|
+
isMerge: (parentsStr?.split(' ').filter(Boolean).length || 0) > 1,
|
|
296
|
+
files: [],
|
|
297
|
+
};
|
|
298
|
+
currentFiles = [];
|
|
299
|
+
bodyLines = body ? [body] : [];
|
|
300
|
+
inBody = true;
|
|
301
|
+
continue;
|
|
302
|
+
}
|
|
303
|
+
// Parse file changes (name-status format: M\tfile.ts)
|
|
304
|
+
const statusMatch = line.match(/^([AMDRC])\d*\t(.+?)(?:\t(.+))?$/);
|
|
305
|
+
if (statusMatch && currentCommit) {
|
|
306
|
+
const status = statusMatch[1];
|
|
307
|
+
const filePath = statusMatch[2];
|
|
308
|
+
const newPath = statusMatch[3];
|
|
309
|
+
if (!status || !filePath)
|
|
310
|
+
continue;
|
|
311
|
+
const effectivePath = newPath || filePath;
|
|
312
|
+
const classification = classifyFile(effectivePath);
|
|
313
|
+
const fileChange = {
|
|
314
|
+
path: effectivePath,
|
|
315
|
+
status: this.mapStatus(status),
|
|
316
|
+
additions: 0,
|
|
317
|
+
deletions: 0,
|
|
318
|
+
language: detectLanguage(effectivePath),
|
|
319
|
+
isTest: classification.isTest,
|
|
320
|
+
isConfig: classification.isConfig,
|
|
321
|
+
};
|
|
322
|
+
if (status === 'R' && filePath) {
|
|
323
|
+
fileChange.previousPath = filePath;
|
|
324
|
+
}
|
|
325
|
+
currentFiles.push(fileChange);
|
|
326
|
+
continue;
|
|
327
|
+
}
|
|
328
|
+
// Parse numstat (additions\tdeletions\tfile)
|
|
329
|
+
const numstatMatch = line.match(/^(\d+|-)\t(\d+|-)\t(.+)$/);
|
|
330
|
+
if (numstatMatch && currentCommit) {
|
|
331
|
+
const additions = numstatMatch[1];
|
|
332
|
+
const deletions = numstatMatch[2];
|
|
333
|
+
const filePath = numstatMatch[3];
|
|
334
|
+
if (!additions || !deletions || !filePath)
|
|
335
|
+
continue;
|
|
336
|
+
const file = currentFiles.find(f => f.path === filePath || f.previousPath === filePath);
|
|
337
|
+
if (file) {
|
|
338
|
+
file.additions = additions === '-' ? 0 : parseInt(additions, 10);
|
|
339
|
+
file.deletions = deletions === '-' ? 0 : parseInt(deletions, 10);
|
|
340
|
+
}
|
|
341
|
+
continue;
|
|
342
|
+
}
|
|
343
|
+
// Accumulate body lines
|
|
344
|
+
if (inBody && line && !line.startsWith('diff ')) {
|
|
345
|
+
bodyLines.push(line);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
// Don't forget the last commit
|
|
349
|
+
if (currentCommit && currentCommit.sha) {
|
|
350
|
+
currentCommit.files = currentFiles;
|
|
351
|
+
currentCommit.body = bodyLines.join('\n').trim();
|
|
352
|
+
commits.push(currentCommit);
|
|
353
|
+
}
|
|
354
|
+
return commits;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Map git status letter to our status type
|
|
358
|
+
*/
|
|
359
|
+
mapStatus(status) {
|
|
360
|
+
switch (status) {
|
|
361
|
+
case 'A': return 'added';
|
|
362
|
+
case 'M': return 'modified';
|
|
363
|
+
case 'D': return 'deleted';
|
|
364
|
+
case 'R': return 'renamed';
|
|
365
|
+
case 'C': return 'copied';
|
|
366
|
+
default: return 'modified';
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Convert simple-git log entry to our format
|
|
371
|
+
*/
|
|
372
|
+
convertLogEntry(entry) {
|
|
373
|
+
return {
|
|
374
|
+
sha: entry.hash,
|
|
375
|
+
shortSha: entry.hash.substring(0, 7),
|
|
376
|
+
subject: entry.message,
|
|
377
|
+
body: entry.body || '',
|
|
378
|
+
authorName: entry.author_name,
|
|
379
|
+
authorEmail: entry.author_email,
|
|
380
|
+
date: new Date(entry.date),
|
|
381
|
+
parents: [],
|
|
382
|
+
isMerge: false,
|
|
383
|
+
files: (entry.diff?.files || []).map(f => {
|
|
384
|
+
const classification = classifyFile(f.file);
|
|
385
|
+
return {
|
|
386
|
+
path: f.file,
|
|
387
|
+
status: 'modified',
|
|
388
|
+
additions: f.insertions || 0,
|
|
389
|
+
deletions: f.deletions || 0,
|
|
390
|
+
language: detectLanguage(f.file),
|
|
391
|
+
isTest: classification.isTest,
|
|
392
|
+
isConfig: classification.isConfig,
|
|
393
|
+
};
|
|
394
|
+
}),
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Filter commits by include/exclude paths
|
|
399
|
+
*/
|
|
400
|
+
filterByPaths(commits) {
|
|
401
|
+
if (!this.options.includePaths?.length && !this.options.excludePaths?.length) {
|
|
402
|
+
return commits;
|
|
403
|
+
}
|
|
404
|
+
return commits.filter(commit => {
|
|
405
|
+
// Check if any file matches include patterns
|
|
406
|
+
if (this.options.includePaths?.length) {
|
|
407
|
+
const hasIncluded = commit.files.some(f => this.options.includePaths.some(pattern => this.matchGlob(f.path, pattern)));
|
|
408
|
+
if (!hasIncluded)
|
|
409
|
+
return false;
|
|
410
|
+
}
|
|
411
|
+
// Check if all files are excluded
|
|
412
|
+
if (this.options.excludePaths?.length) {
|
|
413
|
+
const allExcluded = commit.files.every(f => this.options.excludePaths.some(pattern => this.matchGlob(f.path, pattern)));
|
|
414
|
+
if (allExcluded)
|
|
415
|
+
return false;
|
|
416
|
+
}
|
|
417
|
+
return true;
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Simple glob matching
|
|
422
|
+
*/
|
|
423
|
+
matchGlob(filePath, pattern) {
|
|
424
|
+
// Convert glob to regex
|
|
425
|
+
const regex = new RegExp('^' +
|
|
426
|
+
pattern
|
|
427
|
+
.replace(/\./g, '\\.')
|
|
428
|
+
.replace(/\*\*/g, '.*')
|
|
429
|
+
.replace(/\*/g, '[^/]*')
|
|
430
|
+
.replace(/\?/g, '.') +
|
|
431
|
+
'$');
|
|
432
|
+
return regex.test(filePath);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Create a git walker instance
|
|
437
|
+
*/
|
|
438
|
+
export function createGitWalker(options) {
|
|
439
|
+
return new GitWalker(options);
|
|
440
|
+
}
|
|
441
|
+
//# sourceMappingURL=git-walker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-walker.js","sourceRoot":"","sources":["../../../src/decisions/git/git-walker.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAYlC,+EAA+E;AAC/E,qBAAqB;AACrB,+EAA+E;AAE/E,MAAM,mBAAmB,GAAqC;IAC5D,aAAa;IACb,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,YAAY;IACpB,aAAa;IACb,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,YAAY;IACpB,SAAS;IACT,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO;IACP,OAAO,EAAE,MAAM;IACf,KAAK;IACL,KAAK,EAAE,QAAQ;IACf,MAAM;IACN,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,aAAa,GAAG;IACpB,kBAAkB;IAClB,kBAAkB;IAClB,YAAY;IACZ,cAAc;IACd,aAAa;IACb,cAAc;IACd,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,aAAa;IACb,aAAa;IACb,WAAW;CACZ,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,kBAAkB;IAClB,iBAAiB;IACjB,SAAS;IACT,UAAU;IACV,SAAS;IACT,QAAQ;IACR,OAAO;IACP,YAAY;IACZ,gBAAgB;IAChB,cAAc;IACd,YAAY;IACZ,cAA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,OAAO,IAAI,SAAS,CAAC,OAAO,CAAC,CAAC;AAChC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Git Integration Module
|
|
3
|
+
*
|
|
4
|
+
* Provides git history traversal, commit parsing, and diff analysis
|
|
5
|
+
* for decision mining.
|
|
6
|
+
*/
|
|
7
|
+
export type { GitWalkerOptions, GitWalkResult, ParsedDiff, DiffHunk, DiffLine, ParsedCommitMessage, ConventionalCommitType, FooterToken, MessageReference, LanguageDetection, FileClassification, ParsedManifest, ManifestDependency, ManifestDiff, } from './types.js';
|
|
8
|
+
export { GitWalker, createGitWalker, detectLanguage, classifyFile, } from './git-walker.js';
|
|
9
|
+
export { CommitParser, createCommitParser, parseCommitMessage, extractMessageSignals, } from './commit-parser.js';
|
|
10
|
+
export { parseDiff, analyzeArchitecturalSignals, analyzeDependencyChanges, analyzeDependencyChangesSync, compareManifests, } from './diff-analyzer.js';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decisions/git/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EACV,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACnB,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,YAAY,GACb,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,SAAS,EACT,eAAe,EACf,cAAc,EACd,YAAY,GACb,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,SAAS,EACT,2BAA2B,EAC3B,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Git Integration Module
|
|
3
|
+
*
|
|
4
|
+
* Provides git history traversal, commit parsing, and diff analysis
|
|
5
|
+
* for decision mining.
|
|
6
|
+
*/
|
|
7
|
+
// Git Walker
|
|
8
|
+
export { GitWalker, createGitWalker, detectLanguage, classifyFile, } from './git-walker.js';
|
|
9
|
+
// Commit Parser
|
|
10
|
+
export { CommitParser, createCommitParser, parseCommitMessage, extractMessageSignals, } from './commit-parser.js';
|
|
11
|
+
// Diff Analyzer
|
|
12
|
+
export { parseDiff, analyzeArchitecturalSignals, analyzeDependencyChanges, analyzeDependencyChangesSync, compareManifests, } from './diff-analyzer.js';
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/decisions/git/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAoBH,aAAa;AACb,OAAO,EACL,SAAS,EACT,eAAe,EACf,cAAc,EACd,YAAY,GACb,MAAM,iBAAiB,CAAC;AAEzB,gBAAgB;AAChB,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAE5B,gBAAgB;AAChB,OAAO,EACL,SAAS,EACT,2BAA2B,EAC3B,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,oBAAoB,CAAC"}
|