driftdetect-core 0.5.0 → 0.6.0
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,523 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Speculative Execution Engine Types
|
|
3
|
+
*
|
|
4
|
+
* Complete type definitions for the pre-flight simulation system.
|
|
5
|
+
* Supports all 6 languages: TypeScript, JavaScript, Python, Java, C#, PHP
|
|
6
|
+
*
|
|
7
|
+
* @module speculative/types
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Supported programming languages
|
|
11
|
+
*/
|
|
12
|
+
export type SupportedLanguage = 'typescript' | 'javascript' | 'python' | 'java' | 'csharp' | 'php';
|
|
13
|
+
/**
|
|
14
|
+
* Supported frameworks by language
|
|
15
|
+
*/
|
|
16
|
+
export type TypeScriptFramework = 'express' | 'nestjs' | 'nextjs' | 'fastify' | 'koa' | 'hono';
|
|
17
|
+
export type PythonFramework = 'django' | 'fastapi' | 'flask' | 'starlette';
|
|
18
|
+
export type JavaFramework = 'spring-boot' | 'spring-webflux' | 'jakarta-ee' | 'quarkus';
|
|
19
|
+
export type CSharpFramework = 'aspnet-core' | 'minimal-api' | 'blazor';
|
|
20
|
+
export type PHPFramework = 'laravel' | 'symfony' | 'slim';
|
|
21
|
+
export type SupportedFramework = TypeScriptFramework | PythonFramework | JavaFramework | CSharpFramework | PHPFramework;
|
|
22
|
+
/**
|
|
23
|
+
* File extensions by language
|
|
24
|
+
*/
|
|
25
|
+
export declare const LANGUAGE_EXTENSIONS: Record<SupportedLanguage, string[]>;
|
|
26
|
+
/**
|
|
27
|
+
* High-level task categories
|
|
28
|
+
*/
|
|
29
|
+
export type TaskType = 'add_api_endpoint' | 'add_feature' | 'add_auth' | 'add_validation' | 'add_caching' | 'add_logging' | 'add_error_handling' | 'add_test' | 'add_database' | 'add_integration' | 'fix_bug' | 'refactor' | 'security_fix' | 'performance_opt' | 'unknown';
|
|
30
|
+
/**
|
|
31
|
+
* Keywords that map to task types
|
|
32
|
+
*/
|
|
33
|
+
export declare const TASK_TYPE_KEYWORDS: Record<TaskType, string[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Parsed task from natural language
|
|
36
|
+
*/
|
|
37
|
+
export interface ParsedTask {
|
|
38
|
+
/** Original task description */
|
|
39
|
+
original: string;
|
|
40
|
+
/** Detected task type */
|
|
41
|
+
type: TaskType;
|
|
42
|
+
/** Focus area (file, directory, or feature name) */
|
|
43
|
+
focus: string;
|
|
44
|
+
/** Detected language */
|
|
45
|
+
language: SupportedLanguage | null;
|
|
46
|
+
/** Detected framework */
|
|
47
|
+
framework: SupportedFramework | null;
|
|
48
|
+
/** Extracted keywords */
|
|
49
|
+
keywords: string[];
|
|
50
|
+
/** Detected constraints */
|
|
51
|
+
constraints: string[];
|
|
52
|
+
/** Confidence in parsing (0-1) */
|
|
53
|
+
confidence: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Implementation strategy categories
|
|
57
|
+
*/
|
|
58
|
+
export type ApproachStrategy = 'middleware' | 'decorator' | 'interceptor' | 'filter' | 'aspect' | 'controller' | 'service' | 'repository' | 'handler' | 'factory' | 'inline' | 'wrapper' | 'guard' | 'annotation' | 'attribute' | 'configuration' | 'patch' | 'refactor' | 'defensive';
|
|
59
|
+
/**
|
|
60
|
+
* A candidate implementation approach
|
|
61
|
+
*/
|
|
62
|
+
export interface Approach {
|
|
63
|
+
/** Unique identifier (e.g., 'express-middleware') */
|
|
64
|
+
id: string;
|
|
65
|
+
/** Human-readable name */
|
|
66
|
+
name: string;
|
|
67
|
+
/** Description of the approach */
|
|
68
|
+
description: string;
|
|
69
|
+
/** The strategy this approach uses */
|
|
70
|
+
strategy: ApproachStrategy;
|
|
71
|
+
/** Language this approach applies to */
|
|
72
|
+
language: SupportedLanguage;
|
|
73
|
+
/** Frameworks this approach works with (empty = all) */
|
|
74
|
+
frameworks: SupportedFramework[];
|
|
75
|
+
/** Task types this approach is applicable to */
|
|
76
|
+
applicableTo: TaskType[];
|
|
77
|
+
/** Prerequisites for this approach */
|
|
78
|
+
prerequisites: string[];
|
|
79
|
+
/** Example implementation hint */
|
|
80
|
+
implementationHint: string;
|
|
81
|
+
/** Typical file patterns created/modified */
|
|
82
|
+
filePatterns: string[];
|
|
83
|
+
/** Estimated lines of code */
|
|
84
|
+
estimatedLoc: {
|
|
85
|
+
min: number;
|
|
86
|
+
max: number;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* A file or function that would be affected
|
|
91
|
+
*/
|
|
92
|
+
export interface TouchPoint {
|
|
93
|
+
/** File path (relative to project root) */
|
|
94
|
+
file: string;
|
|
95
|
+
/** Action required */
|
|
96
|
+
action: 'create' | 'modify' | 'delete';
|
|
97
|
+
/** Estimated lines changed (for modify) */
|
|
98
|
+
linesChanged?: number;
|
|
99
|
+
/** Specific functions affected */
|
|
100
|
+
functions?: string[];
|
|
101
|
+
/** Reason for the change */
|
|
102
|
+
reason: string;
|
|
103
|
+
/** Confidence in this touch point (0-1) */
|
|
104
|
+
confidence: number;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Impact on the call graph
|
|
108
|
+
*/
|
|
109
|
+
export interface CallGraphImpact {
|
|
110
|
+
/** Functions directly affected */
|
|
111
|
+
directlyAffected: number;
|
|
112
|
+
/** Functions transitively affected */
|
|
113
|
+
transitivelyAffected: number;
|
|
114
|
+
/** Entry points affected */
|
|
115
|
+
entryPointsAffected: number;
|
|
116
|
+
/** Maximum depth of impact */
|
|
117
|
+
maxDepth: number;
|
|
118
|
+
/** Affected entry point names (limited) */
|
|
119
|
+
affectedEntryPoints: string[];
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Alignment with existing patterns
|
|
123
|
+
*/
|
|
124
|
+
export interface PatternAlignment {
|
|
125
|
+
/** Patterns this approach aligns with */
|
|
126
|
+
alignedPatterns: Array<{
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
category: string;
|
|
130
|
+
confidence: number;
|
|
131
|
+
locationCount: number;
|
|
132
|
+
}>;
|
|
133
|
+
/** Overall alignment score (0-1) */
|
|
134
|
+
score: number;
|
|
135
|
+
/** Would this create outliers? */
|
|
136
|
+
createsOutliers: boolean;
|
|
137
|
+
/** Note about alignment */
|
|
138
|
+
note?: string;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Change in module coupling
|
|
142
|
+
*/
|
|
143
|
+
export interface CouplingDelta {
|
|
144
|
+
/** New dependencies added */
|
|
145
|
+
newDependencies: string[];
|
|
146
|
+
/** Dependencies removed */
|
|
147
|
+
removedDependencies: string[];
|
|
148
|
+
/** Would this create a cycle? */
|
|
149
|
+
createsCycle: boolean;
|
|
150
|
+
/** Cycle details if applicable */
|
|
151
|
+
cycleDetails?: string;
|
|
152
|
+
/** Change in instability metric (-1 to 1) */
|
|
153
|
+
instabilityDelta: number;
|
|
154
|
+
/** Affected modules */
|
|
155
|
+
affectedModules: string[];
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Security implications
|
|
159
|
+
*/
|
|
160
|
+
export interface SecurityPath {
|
|
161
|
+
/** Type of security concern */
|
|
162
|
+
type: 'sensitive_data' | 'auth_bypass' | 'injection_risk' | 'exposure' | 'privilege_escalation';
|
|
163
|
+
/** Description */
|
|
164
|
+
description: string;
|
|
165
|
+
/** Severity */
|
|
166
|
+
severity: 'low' | 'medium' | 'high' | 'critical';
|
|
167
|
+
/** Affected data/paths */
|
|
168
|
+
affected: string[];
|
|
169
|
+
/** Mitigation suggestion */
|
|
170
|
+
mitigation?: string;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Test coverage for affected code
|
|
174
|
+
*/
|
|
175
|
+
export interface TestCoverage {
|
|
176
|
+
/** Average coverage of affected files (0-1) */
|
|
177
|
+
averageCoverage: number;
|
|
178
|
+
/** Files with no test coverage */
|
|
179
|
+
uncoveredFiles: string[];
|
|
180
|
+
/** Existing tests that might need updates */
|
|
181
|
+
affectedTests: string[];
|
|
182
|
+
/** Suggested test types */
|
|
183
|
+
suggestedTestTypes: ('unit' | 'integration' | 'e2e')[];
|
|
184
|
+
/** Test files that cover affected code */
|
|
185
|
+
coveringTests: string[];
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Complete simulation result for an approach
|
|
189
|
+
*/
|
|
190
|
+
export interface SimulationResult {
|
|
191
|
+
/** Touch points */
|
|
192
|
+
touchPoints: TouchPoint[];
|
|
193
|
+
/** Call graph impact */
|
|
194
|
+
callGraphImpact: CallGraphImpact;
|
|
195
|
+
/** Pattern alignment */
|
|
196
|
+
patternAlignment: PatternAlignment;
|
|
197
|
+
/** Coupling changes */
|
|
198
|
+
couplingDelta: CouplingDelta;
|
|
199
|
+
/** Security paths */
|
|
200
|
+
securityPaths: SecurityPath[];
|
|
201
|
+
/** Test coverage */
|
|
202
|
+
testCoverage: TestCoverage;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Friction breakdown by dimension
|
|
206
|
+
*/
|
|
207
|
+
export interface FrictionBreakdown {
|
|
208
|
+
/** Structural friction (0-100) */
|
|
209
|
+
structural: number;
|
|
210
|
+
/** Pattern alignment friction (0-100) */
|
|
211
|
+
pattern: number;
|
|
212
|
+
/** Coupling friction (0-100) */
|
|
213
|
+
coupling: number;
|
|
214
|
+
/** Security friction (0-100) */
|
|
215
|
+
security: number;
|
|
216
|
+
/** Test coverage friction (0-100) */
|
|
217
|
+
test: number;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Friction weights (must sum to 1.0)
|
|
221
|
+
*/
|
|
222
|
+
export interface FrictionWeights {
|
|
223
|
+
structural: number;
|
|
224
|
+
pattern: number;
|
|
225
|
+
coupling: number;
|
|
226
|
+
security: number;
|
|
227
|
+
test: number;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Default friction weights
|
|
231
|
+
*/
|
|
232
|
+
export declare const DEFAULT_FRICTION_WEIGHTS: FrictionWeights;
|
|
233
|
+
/**
|
|
234
|
+
* Effort estimation levels
|
|
235
|
+
*/
|
|
236
|
+
export type EffortLevel = 'trivial' | 'small' | 'medium' | 'large';
|
|
237
|
+
/**
|
|
238
|
+
* Effort thresholds (in estimated minutes)
|
|
239
|
+
*/
|
|
240
|
+
export declare const EFFORT_THRESHOLDS: Record<EffortLevel, {
|
|
241
|
+
min: number;
|
|
242
|
+
max: number;
|
|
243
|
+
}>;
|
|
244
|
+
/**
|
|
245
|
+
* Complete evaluation of an approach
|
|
246
|
+
*/
|
|
247
|
+
export interface ApproachEvaluation {
|
|
248
|
+
/** The approach being evaluated */
|
|
249
|
+
approach: Approach;
|
|
250
|
+
/** Simulation results */
|
|
251
|
+
simulation: SimulationResult;
|
|
252
|
+
/** Overall friction score (0-100, lower is better) */
|
|
253
|
+
frictionScore: number;
|
|
254
|
+
/** Friction breakdown by dimension */
|
|
255
|
+
frictionBreakdown: FrictionBreakdown;
|
|
256
|
+
/** Pros of this approach */
|
|
257
|
+
pros: string[];
|
|
258
|
+
/** Cons of this approach */
|
|
259
|
+
cons: string[];
|
|
260
|
+
/** Estimated effort */
|
|
261
|
+
effort: EffortLevel;
|
|
262
|
+
/** Confidence in this evaluation (0-1) */
|
|
263
|
+
confidence: number;
|
|
264
|
+
/** Rank among evaluated approaches (1 = best) */
|
|
265
|
+
rank: number;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* A trade-off to consider
|
|
269
|
+
*/
|
|
270
|
+
export interface Tradeoff {
|
|
271
|
+
/** Condition when this trade-off applies */
|
|
272
|
+
if: string;
|
|
273
|
+
/** What to do instead */
|
|
274
|
+
then: string;
|
|
275
|
+
/** Reasoning */
|
|
276
|
+
because: string;
|
|
277
|
+
/** Which approach this favors */
|
|
278
|
+
favorsApproach?: string;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Warning about simulation
|
|
282
|
+
*/
|
|
283
|
+
export interface SimulationWarning {
|
|
284
|
+
/** Warning type */
|
|
285
|
+
type: 'security' | 'breaking_change' | 'complexity' | 'missing_data' | 'low_confidence' | 'deprecated';
|
|
286
|
+
/** Warning message */
|
|
287
|
+
message: string;
|
|
288
|
+
/** Severity */
|
|
289
|
+
severity: 'info' | 'warning' | 'critical';
|
|
290
|
+
/** Related approach ID (if specific to one) */
|
|
291
|
+
approachId?: string;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Recommendation from the engine
|
|
295
|
+
*/
|
|
296
|
+
export interface Recommendation {
|
|
297
|
+
/** Recommended approach ID */
|
|
298
|
+
approachId: string;
|
|
299
|
+
/** Approach name */
|
|
300
|
+
approachName: string;
|
|
301
|
+
/** Reasoning for the recommendation */
|
|
302
|
+
reasoning: string;
|
|
303
|
+
/** Confidence in recommendation (0-1) */
|
|
304
|
+
confidence: number;
|
|
305
|
+
/** How much better than alternatives (percentage) */
|
|
306
|
+
advantagePercent: number;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Input to the speculative execution engine
|
|
310
|
+
*/
|
|
311
|
+
export interface SimulateInput {
|
|
312
|
+
/** Natural language task description */
|
|
313
|
+
task: string;
|
|
314
|
+
/** Optional: specific area to focus on (file or directory) */
|
|
315
|
+
focus?: string;
|
|
316
|
+
/** Optional: specific approach IDs to evaluate */
|
|
317
|
+
approaches?: string[];
|
|
318
|
+
/** Optional: constraints to consider */
|
|
319
|
+
constraints?: string[];
|
|
320
|
+
/** Maximum approaches to evaluate (default: 4) */
|
|
321
|
+
maxApproaches?: number;
|
|
322
|
+
/** Custom friction weights */
|
|
323
|
+
weights?: Partial<FrictionWeights>;
|
|
324
|
+
/** Target project name (for multi-project support) */
|
|
325
|
+
project?: string;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Output from the speculative execution engine
|
|
329
|
+
*/
|
|
330
|
+
export interface SimulateOutput {
|
|
331
|
+
/** Summary of the simulation */
|
|
332
|
+
summary: string;
|
|
333
|
+
/** Parsed task */
|
|
334
|
+
task: ParsedTask;
|
|
335
|
+
/** Evaluated approaches (sorted by friction, best first) */
|
|
336
|
+
approaches: ApproachEvaluation[];
|
|
337
|
+
/** Recommendation */
|
|
338
|
+
recommendation: Recommendation;
|
|
339
|
+
/** Trade-offs to consider */
|
|
340
|
+
tradeoffs: Tradeoff[];
|
|
341
|
+
/** Warnings */
|
|
342
|
+
warnings: SimulationWarning[];
|
|
343
|
+
/** Metadata */
|
|
344
|
+
metadata: SimulationMetadata;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Simulation metadata
|
|
348
|
+
*/
|
|
349
|
+
export interface SimulationMetadata {
|
|
350
|
+
/** Time taken in ms */
|
|
351
|
+
durationMs: number;
|
|
352
|
+
/** Data sources used */
|
|
353
|
+
dataSources: ('patterns' | 'callgraph' | 'coupling' | 'boundaries' | 'tests')[];
|
|
354
|
+
/** Engine version */
|
|
355
|
+
version: string;
|
|
356
|
+
/** Project root */
|
|
357
|
+
projectRoot: string;
|
|
358
|
+
/** Whether data was from cache */
|
|
359
|
+
fromCache: boolean;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Engine configuration
|
|
363
|
+
*/
|
|
364
|
+
export interface SpeculativeEngineConfig {
|
|
365
|
+
/** Project root directory */
|
|
366
|
+
rootDir: string;
|
|
367
|
+
/** Maximum approaches to generate */
|
|
368
|
+
maxApproaches: number;
|
|
369
|
+
/** Maximum depth for call graph traversal */
|
|
370
|
+
maxCallGraphDepth: number;
|
|
371
|
+
/** Friction weights */
|
|
372
|
+
weights: FrictionWeights;
|
|
373
|
+
/** Enable caching */
|
|
374
|
+
enableCache: boolean;
|
|
375
|
+
/** Cache TTL in ms */
|
|
376
|
+
cacheTtlMs: number;
|
|
377
|
+
/** Minimum confidence to include an approach */
|
|
378
|
+
minApproachConfidence: number;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Default configuration
|
|
382
|
+
*/
|
|
383
|
+
export declare const DEFAULT_CONFIG: SpeculativeEngineConfig;
|
|
384
|
+
/**
|
|
385
|
+
* Approach template definition
|
|
386
|
+
*/
|
|
387
|
+
export interface ApproachTemplate {
|
|
388
|
+
/** Unique identifier */
|
|
389
|
+
id: string;
|
|
390
|
+
/** Human-readable name */
|
|
391
|
+
name: string;
|
|
392
|
+
/** Description */
|
|
393
|
+
description: string;
|
|
394
|
+
/** Strategy type */
|
|
395
|
+
strategy: ApproachStrategy;
|
|
396
|
+
/** Language */
|
|
397
|
+
language: SupportedLanguage;
|
|
398
|
+
/** Compatible frameworks (empty = all) */
|
|
399
|
+
frameworks: SupportedFramework[];
|
|
400
|
+
/** Applicable task types */
|
|
401
|
+
taskTypes: TaskType[];
|
|
402
|
+
/** Prerequisites (patterns, dependencies, etc.) */
|
|
403
|
+
prerequisites: string[];
|
|
404
|
+
/** Implementation hint */
|
|
405
|
+
hint: string;
|
|
406
|
+
/** File patterns typically created/modified */
|
|
407
|
+
filePatterns: string[];
|
|
408
|
+
/** Estimated LOC range */
|
|
409
|
+
locRange: [number, number];
|
|
410
|
+
/** Keywords that suggest this approach */
|
|
411
|
+
keywords: string[];
|
|
412
|
+
/** Priority when multiple approaches match (higher = preferred) */
|
|
413
|
+
priority: number;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Template registry interface
|
|
417
|
+
*/
|
|
418
|
+
export interface TemplateRegistry {
|
|
419
|
+
/** Get all templates */
|
|
420
|
+
getAll(): ApproachTemplate[];
|
|
421
|
+
/** Get templates for a language */
|
|
422
|
+
getByLanguage(language: SupportedLanguage): ApproachTemplate[];
|
|
423
|
+
/** Get templates for a task type */
|
|
424
|
+
getByTaskType(taskType: TaskType): ApproachTemplate[];
|
|
425
|
+
/** Get templates matching criteria */
|
|
426
|
+
query(criteria: TemplateQueryCriteria): ApproachTemplate[];
|
|
427
|
+
/** Get a specific template by ID */
|
|
428
|
+
get(id: string): ApproachTemplate | undefined;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Criteria for querying templates
|
|
432
|
+
*/
|
|
433
|
+
export interface TemplateQueryCriteria {
|
|
434
|
+
language?: SupportedLanguage;
|
|
435
|
+
framework?: SupportedFramework;
|
|
436
|
+
taskType?: TaskType;
|
|
437
|
+
strategy?: ApproachStrategy;
|
|
438
|
+
keywords?: string[];
|
|
439
|
+
maxResults?: number;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Dependencies required by the speculative engine
|
|
443
|
+
*/
|
|
444
|
+
export interface SpeculativeEngineDependencies {
|
|
445
|
+
/** Pattern store for pattern alignment */
|
|
446
|
+
patternStore: {
|
|
447
|
+
initialize(): Promise<void>;
|
|
448
|
+
getAll(): Array<{
|
|
449
|
+
id: string;
|
|
450
|
+
name: string;
|
|
451
|
+
category: string;
|
|
452
|
+
confidence: {
|
|
453
|
+
score: number;
|
|
454
|
+
};
|
|
455
|
+
locations: Array<{
|
|
456
|
+
file: string;
|
|
457
|
+
line: number;
|
|
458
|
+
}>;
|
|
459
|
+
outliers: Array<{
|
|
460
|
+
file: string;
|
|
461
|
+
line: number;
|
|
462
|
+
}>;
|
|
463
|
+
}>;
|
|
464
|
+
};
|
|
465
|
+
/** Call graph store for impact analysis */
|
|
466
|
+
callGraphStore: {
|
|
467
|
+
initialize(): Promise<void>;
|
|
468
|
+
getGraph(): {
|
|
469
|
+
functions: Map<string, {
|
|
470
|
+
file: string;
|
|
471
|
+
name: string;
|
|
472
|
+
calls: unknown[];
|
|
473
|
+
calledBy: unknown[];
|
|
474
|
+
}>;
|
|
475
|
+
entryPoints: string[];
|
|
476
|
+
} | null;
|
|
477
|
+
};
|
|
478
|
+
/** Coupling analyzer for coupling delta */
|
|
479
|
+
couplingAnalyzer: {
|
|
480
|
+
getGraph(): {
|
|
481
|
+
modules: Map<string, {
|
|
482
|
+
imports: string[];
|
|
483
|
+
importedBy: string[];
|
|
484
|
+
}>;
|
|
485
|
+
cycles: Array<{
|
|
486
|
+
path: string[];
|
|
487
|
+
}>;
|
|
488
|
+
} | null;
|
|
489
|
+
};
|
|
490
|
+
/** Boundary store for security analysis */
|
|
491
|
+
boundaryStore: {
|
|
492
|
+
initialize(): Promise<void>;
|
|
493
|
+
getAccessMap(): {
|
|
494
|
+
sensitiveFields: Array<{
|
|
495
|
+
table: string;
|
|
496
|
+
field: string;
|
|
497
|
+
file: string;
|
|
498
|
+
}>;
|
|
499
|
+
} | null;
|
|
500
|
+
};
|
|
501
|
+
/** Test topology analyzer for test coverage */
|
|
502
|
+
testTopologyAnalyzer: {
|
|
503
|
+
getCoverage(file: string): {
|
|
504
|
+
coverage: number;
|
|
505
|
+
tests: string[];
|
|
506
|
+
} | null;
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Result type for operations that can fail
|
|
511
|
+
*/
|
|
512
|
+
export type Result<T, E = Error> = {
|
|
513
|
+
success: true;
|
|
514
|
+
data: T;
|
|
515
|
+
} | {
|
|
516
|
+
success: false;
|
|
517
|
+
error: E;
|
|
518
|
+
};
|
|
519
|
+
/**
|
|
520
|
+
* Async result type
|
|
521
|
+
*/
|
|
522
|
+
export type AsyncResult<T, E = Error> = Promise<Result<T, E>>;
|
|
523
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/speculative/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,YAAY,GACZ,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,KAAK,CAAC;AAEV;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC;AAC/F,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;AAC3E,MAAM,MAAM,aAAa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AC,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,GAAG,IAAI,CAAC;KACzE,CAAC;CACH;AAMD;;GAEG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,IAC3B;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,GAC1B;IAAE,OAAO,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Speculative Execution Engine Types
|
|
3
|
+
*
|
|
4
|
+
* Complete type definitions for the pre-flight simulation system.
|
|
5
|
+
* Supports all 6 languages: TypeScript, JavaScript, Python, Java, C#, PHP
|
|
6
|
+
*
|
|
7
|
+
* @module speculative/types
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* File extensions by language
|
|
11
|
+
*/
|
|
12
|
+
export const LANGUAGE_EXTENSIONS = {
|
|
13
|
+
typescript: ['.ts', '.tsx', '.mts', '.cts'],
|
|
14
|
+
javascript: ['.js', '.jsx', '.mjs', '.cjs'],
|
|
15
|
+
python: ['.py', '.pyw'],
|
|
16
|
+
java: ['.java'],
|
|
17
|
+
csharp: ['.cs'],
|
|
18
|
+
php: ['.php'],
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Keywords that map to task types
|
|
22
|
+
*/
|
|
23
|
+
export const TASK_TYPE_KEYWORDS = {
|
|
24
|
+
add_api_endpoint: ['endpoint', 'route', 'api', 'rest', 'graphql', 'controller', 'handler'],
|
|
25
|
+
add_feature: ['feature', 'add', 'implement', 'create', 'build', 'new'],
|
|
26
|
+
add_auth: ['auth', 'authentication', 'authorization', 'login', 'jwt', 'oauth', 'permission', 'guard'],
|
|
27
|
+
add_validation: ['validation', 'validate', 'schema', 'input', 'sanitize', 'check'],
|
|
28
|
+
add_caching: ['cache', 'caching', 'redis', 'memcache', 'memoize', 'remember'],
|
|
29
|
+
add_logging: ['log', 'logging', 'logger', 'trace', 'debug', 'monitor', 'observability'],
|
|
30
|
+
add_error_handling: ['error', 'exception', 'catch', 'handle', 'fallback', 'retry'],
|
|
31
|
+
add_test: ['test', 'testing', 'spec', 'unit', 'integration', 'e2e', 'coverage'],
|
|
32
|
+
add_database: ['database', 'db', 'query', 'migration', 'model', 'entity', 'repository'],
|
|
33
|
+
add_integration: ['integration', 'webhook', 'api', 'external', 'third-party', 'service'],
|
|
34
|
+
fix_bug: ['fix', 'bug', 'issue', 'problem', 'broken', 'error', 'crash'],
|
|
35
|
+
refactor: ['refactor', 'clean', 'improve', 'restructure', 'reorganize', 'simplify'],
|
|
36
|
+
security_fix: ['security', 'vulnerability', 'xss', 'csrf', 'injection', 'sanitize'],
|
|
37
|
+
performance_opt: ['performance', 'optimize', 'speed', 'slow', 'fast', 'efficient'],
|
|
38
|
+
unknown: [],
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Default friction weights
|
|
42
|
+
*/
|
|
43
|
+
export const DEFAULT_FRICTION_WEIGHTS = {
|
|
44
|
+
structural: 0.25,
|
|
45
|
+
pattern: 0.30,
|
|
46
|
+
coupling: 0.15,
|
|
47
|
+
security: 0.15,
|
|
48
|
+
test: 0.15,
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Effort thresholds (in estimated minutes)
|
|
52
|
+
*/
|
|
53
|
+
export const EFFORT_THRESHOLDS = {
|
|
54
|
+
trivial: { min: 0, max: 15 },
|
|
55
|
+
small: { min: 15, max: 60 },
|
|
56
|
+
medium: { min: 60, max: 240 },
|
|
57
|
+
large: { min: 240, max: Infinity },
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Default configuration
|
|
61
|
+
*/
|
|
62
|
+
export const DEFAULT_CONFIG = {
|
|
63
|
+
rootDir: '.',
|
|
64
|
+
maxApproaches: 4,
|
|
65
|
+
maxCallGraphDepth: 10,
|
|
66
|
+
weights: DEFAULT_FRICTION_WEIGHTS,
|
|
67
|
+
enableCache: true,
|
|
68
|
+
cacheTtlMs: 5 * 60 * 1000, // 5 minutes
|
|
69
|
+
minApproachConfidence: 0.3,
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/speculative/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAiCH;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAwC;IACtE,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IAC3C,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IAC3C,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,MAAM,EAAE,CAAC,KAAK,CAAC;IACf,GAAG,EAAE,CAAC,MAAM,CAAC;CACd,CAAC;AA0BF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,gBAAgB,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,CAAC;IAC1F,WAAW,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC;IACtE,QAAQ,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC;IACrG,cAAc,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,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EAAE,IAAI;IACd,IAAI,EAAE,IAAI;CACX,CAAC;AAOF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAsD;IAClF,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;IAC5B,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;IAC3B,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;IAC7B,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE;CACnC,CAAC;AA8JF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAA4B;IACrD,OAAO,EAAE,GAAG;IACZ,aAAa,EAAE,CAAC;IAChB,iBAAiB,EAAE,EAAE;IACrB,OAAO,EAAE,wBAAwB;IACjC,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI,EAAE,YAAY;IACvC,qBAAqB,EAAE,GAAG;CAC3B,CAAC"}
|
|
@@ -23,7 +23,7 @@ export interface TestFrameworkConfig {
|
|
|
23
23
|
}
|
|
24
24
|
export declare abstract class BaseTestExtractor {
|
|
25
25
|
protected parser: Parser;
|
|
26
|
-
protected language: 'typescript' | 'javascript' | 'python' | 'java' | 'csharp' | 'php';
|
|
26
|
+
protected language: 'typescript' | 'javascript' | 'python' | 'java' | 'csharp' | 'php' | 'go';
|
|
27
27
|
constructor(parser: Parser, language: BaseTestExtractor['language']);
|
|
28
28
|
/**
|
|
29
29
|
* Extract test information from file content
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-test-extractor.d.ts","sourceRoot":"","sources":["../../../src/test-topology/extractors/base-test-extractor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EACR,aAAa,EACb,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,aAAa,EACd,MAAM,aAAa,CAAC;AAMrB,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC,UAAU,CAAC;KACzB,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAMD,8BAAsB,iBAAiB;IACrC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,QAAQ,EAAE,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"base-test-extractor.d.ts","sourceRoot":"","sources":["../../../src/test-topology/extractors/base-test-extractor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EACR,aAAa,EACb,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,aAAa,EACd,MAAM,aAAa,CAAC;AAMrB,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC,UAAU,CAAC;KACzB,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,aAAa,EAAE,MAAM,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E;IAajE;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,UAAU,GAAG,OAAO;IAS5D;;OAEG;IACH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,GAAG,IAAI;IA0B7D;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAkBpD;;OAEG;IACH,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,UAAU,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,UAAU,KAAK,IAAI,GAAG,IAAI;IAU9F;;OAEG;IACH,SAAS,CAAC,gBAAgB,CACxB,UAAU,EAAE,aAAa,EAAE,EAC3B,KAAK,EAAE,aAAa,EAAE,EACtB,WAAW,EAAE,MAAM,EAAE,GACpB,kBAAkB;IA0CrB;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAavD;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM;CAG3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-test-extractor.js","sourceRoot":"","sources":["../../../src/test-topology/extractors/base-test-extractor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkCH,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,MAAM,OAAgB,iBAAiB;IAC3B,MAAM,CAAS;IACf,QAAQ,
|
|
1
|
+
{"version":3,"file":"base-test-extractor.js","sourceRoot":"","sources":["../../../src/test-topology/extractors/base-test-extractor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkCH,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,MAAM,OAAgB,iBAAiB;IAC3B,MAAM,CAAS;IACf,QAAQ,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