@mycodemap/mycodemap 2.0.0 → 2.7.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/CHANGELOG.md +20 -0
- package/README.md +59 -184
- package/dist/cli/commands/agent-metrics/human.d.ts +4 -0
- package/dist/cli/commands/agent-metrics/human.d.ts.map +1 -0
- package/dist/cli/commands/agent-metrics/human.js +134 -0
- package/dist/cli/commands/agent-metrics/human.js.map +1 -0
- package/dist/cli/commands/agent-metrics/index.d.ts +15 -0
- package/dist/cli/commands/agent-metrics/index.d.ts.map +1 -0
- package/dist/cli/commands/agent-metrics/index.js +116 -0
- package/dist/cli/commands/agent-metrics/index.js.map +1 -0
- package/dist/cli/commands/analyze.d.ts +3 -196
- package/dist/cli/commands/analyze.d.ts.map +1 -1
- package/dist/cli/commands/analyze.js +9 -1163
- package/dist/cli/commands/analyze.js.map +1 -1
- package/dist/cli/commands/benchmark.d.ts.map +1 -1
- package/dist/cli/commands/benchmark.js +5 -2
- package/dist/cli/commands/benchmark.js.map +1 -1
- package/dist/cli/commands/complexity.d.ts.map +1 -1
- package/dist/cli/commands/complexity.js +62 -95
- package/dist/cli/commands/complexity.js.map +1 -1
- package/dist/cli/commands/deps.d.ts +3 -60
- package/dist/cli/commands/deps.d.ts.map +1 -1
- package/dist/cli/commands/deps.js +16 -351
- package/dist/cli/commands/deps.js.map +1 -1
- package/dist/cli/commands/env-contract.d.ts +3 -0
- package/dist/cli/commands/env-contract.d.ts.map +1 -0
- package/dist/cli/commands/env-contract.js +221 -0
- package/dist/cli/commands/env-contract.js.map +1 -0
- package/dist/cli/commands/generate.d.ts +19 -1
- package/dist/cli/commands/generate.d.ts.map +1 -1
- package/dist/cli/commands/generate.js +735 -89
- package/dist/cli/commands/generate.js.map +1 -1
- package/dist/cli/commands/impact.d.ts +4 -38
- package/dist/cli/commands/impact.d.ts.map +1 -1
- package/dist/cli/commands/impact.js +133 -375
- package/dist/cli/commands/impact.js.map +1 -1
- package/dist/cli/commands/init.d.ts +1 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +61 -2
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/preview.d.ts +3 -0
- package/dist/cli/commands/preview.d.ts.map +1 -0
- package/dist/cli/commands/preview.js +216 -0
- package/dist/cli/commands/preview.js.map +1 -0
- package/dist/cli/commands/query.d.ts +2 -21
- package/dist/cli/commands/query.d.ts.map +1 -1
- package/dist/cli/commands/query.js +15 -683
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/cli/commands/watch-foreground.d.ts.map +1 -1
- package/dist/cli/commands/watch-foreground.js +5 -1
- package/dist/cli/commands/watch-foreground.js.map +1 -1
- package/dist/cli/config-loader.d.ts.map +1 -1
- package/dist/cli/config-loader.js +51 -13
- package/dist/cli/config-loader.js.map +1 -1
- package/dist/cli/doctor/check-env-contract.d.ts +3 -0
- package/dist/cli/doctor/check-env-contract.d.ts.map +1 -0
- package/dist/cli/doctor/check-env-contract.js +96 -0
- package/dist/cli/doctor/check-env-contract.js.map +1 -0
- package/dist/cli/doctor/check-native-deps.d.ts.map +1 -1
- package/dist/cli/doctor/check-native-deps.js +20 -4
- package/dist/cli/doctor/check-native-deps.js.map +1 -1
- package/dist/cli/doctor/orchestrator.d.ts.map +1 -1
- package/dist/cli/doctor/orchestrator.js +5 -2
- package/dist/cli/doctor/orchestrator.js.map +1 -1
- package/dist/cli/env-contract/check.d.ts +18 -0
- package/dist/cli/env-contract/check.d.ts.map +1 -0
- package/dist/cli/env-contract/check.js +118 -0
- package/dist/cli/env-contract/check.js.map +1 -0
- package/dist/cli/env-contract/discovery.d.ts +12 -0
- package/dist/cli/env-contract/discovery.d.ts.map +1 -0
- package/dist/cli/env-contract/discovery.js +249 -0
- package/dist/cli/env-contract/discovery.js.map +1 -0
- package/dist/cli/env-contract/filters.d.ts +10 -0
- package/dist/cli/env-contract/filters.d.ts.map +1 -0
- package/dist/cli/env-contract/filters.js +23 -0
- package/dist/cli/env-contract/filters.js.map +1 -0
- package/dist/cli/env-contract/index.d.ts +6 -0
- package/dist/cli/env-contract/index.d.ts.map +1 -0
- package/dist/cli/env-contract/index.js +8 -0
- package/dist/cli/env-contract/index.js.map +1 -0
- package/dist/cli/env-contract/reminder-engine.d.ts +34 -0
- package/dist/cli/env-contract/reminder-engine.d.ts.map +1 -0
- package/dist/cli/env-contract/reminder-engine.js +51 -0
- package/dist/cli/env-contract/reminder-engine.js.map +1 -0
- package/dist/cli/env-contract/reminder-hook-runner.d.ts +45 -0
- package/dist/cli/env-contract/reminder-hook-runner.d.ts.map +1 -0
- package/dist/cli/env-contract/reminder-hook-runner.js +273 -0
- package/dist/cli/env-contract/reminder-hook-runner.js.map +1 -0
- package/dist/cli/env-contract/reminder-ledger.d.ts +11 -0
- package/dist/cli/env-contract/reminder-ledger.d.ts.map +1 -0
- package/dist/cli/env-contract/reminder-ledger.js +37 -0
- package/dist/cli/env-contract/reminder-ledger.js.map +1 -0
- package/dist/cli/env-contract/types.d.ts +48 -0
- package/dist/cli/env-contract/types.d.ts.map +1 -0
- package/dist/cli/env-contract/types.js +22 -0
- package/dist/cli/env-contract/types.js.map +1 -0
- package/dist/cli/env-contract/validation.d.ts +10 -0
- package/dist/cli/env-contract/validation.d.ts.map +1 -0
- package/dist/cli/env-contract/validation.js +116 -0
- package/dist/cli/env-contract/validation.js.map +1 -0
- package/dist/cli/first-run-guide.d.ts.map +1 -1
- package/dist/cli/first-run-guide.js +8 -3
- package/dist/cli/first-run-guide.js.map +1 -1
- package/dist/cli/index.js +23 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/assistant-plan.d.ts +14 -0
- package/dist/cli/init/assistant-plan.d.ts.map +1 -0
- package/dist/cli/init/assistant-plan.js +208 -0
- package/dist/cli/init/assistant-plan.js.map +1 -0
- package/dist/cli/init/detect.d.ts +28 -0
- package/dist/cli/init/detect.d.ts.map +1 -0
- package/dist/cli/init/detect.js +63 -0
- package/dist/cli/init/detect.js.map +1 -0
- package/dist/cli/init/env-contract-plan.d.ts +28 -0
- package/dist/cli/init/env-contract-plan.d.ts.map +1 -0
- package/dist/cli/init/env-contract-plan.js +184 -0
- package/dist/cli/init/env-contract-plan.js.map +1 -0
- package/dist/cli/init/manifest-extractors.d.ts +22 -0
- package/dist/cli/init/manifest-extractors.d.ts.map +1 -0
- package/dist/cli/init/manifest-extractors.js +185 -0
- package/dist/cli/init/manifest-extractors.js.map +1 -0
- package/dist/cli/init/profile-loader.d.ts +49 -0
- package/dist/cli/init/profile-loader.d.ts.map +1 -0
- package/dist/cli/init/profile-loader.js +107 -0
- package/dist/cli/init/profile-loader.js.map +1 -0
- package/dist/cli/init/profile-plan.d.ts +38 -0
- package/dist/cli/init/profile-plan.d.ts.map +1 -0
- package/dist/cli/init/profile-plan.js +120 -0
- package/dist/cli/init/profile-plan.js.map +1 -0
- package/dist/cli/init/profiles/generic.json +16 -0
- package/dist/cli/init/profiles/go.json +12 -0
- package/dist/cli/init/profiles/nodejs.json +16 -0
- package/dist/cli/init/profiles/python.json +17 -0
- package/dist/cli/init/profiles/rust.json +12 -0
- package/dist/cli/init/receipt.d.ts.map +1 -1
- package/dist/cli/init/receipt.js +107 -7
- package/dist/cli/init/receipt.js.map +1 -1
- package/dist/cli/init/reconciler.d.ts +10 -1
- package/dist/cli/init/reconciler.d.ts.map +1 -1
- package/dist/cli/init/reconciler.js +85 -15
- package/dist/cli/init/reconciler.js.map +1 -1
- package/dist/cli/interface-contract/commands/agent-metrics.d.ts +3 -0
- package/dist/cli/interface-contract/commands/agent-metrics.d.ts.map +1 -0
- package/dist/cli/interface-contract/commands/agent-metrics.js +217 -0
- package/dist/cli/interface-contract/commands/agent-metrics.js.map +1 -0
- package/dist/cli/interface-contract/commands/analyze.d.ts.map +1 -1
- package/dist/cli/interface-contract/commands/analyze.js +1 -0
- package/dist/cli/interface-contract/commands/analyze.js.map +1 -1
- package/dist/cli/interface-contract/commands/benchmark.d.ts.map +1 -1
- package/dist/cli/interface-contract/commands/benchmark.js +1 -0
- package/dist/cli/interface-contract/commands/benchmark.js.map +1 -1
- package/dist/cli/interface-contract/commands/deps.d.ts.map +1 -1
- package/dist/cli/interface-contract/commands/deps.js +1 -0
- package/dist/cli/interface-contract/commands/deps.js.map +1 -1
- package/dist/cli/interface-contract/commands/doctor.d.ts.map +1 -1
- package/dist/cli/interface-contract/commands/doctor.js +1 -0
- package/dist/cli/interface-contract/commands/doctor.js.map +1 -1
- package/dist/cli/interface-contract/commands/env-contract.d.ts +3 -0
- package/dist/cli/interface-contract/commands/env-contract.d.ts.map +1 -0
- package/dist/cli/interface-contract/commands/env-contract.js +168 -0
- package/dist/cli/interface-contract/commands/env-contract.js.map +1 -0
- package/dist/cli/interface-contract/commands/index.d.ts +5 -2
- package/dist/cli/interface-contract/commands/index.d.ts.map +1 -1
- package/dist/cli/interface-contract/commands/index.js +7 -1
- package/dist/cli/interface-contract/commands/index.js.map +1 -1
- package/dist/cli/interface-contract/commands/init.d.ts.map +1 -1
- package/dist/cli/interface-contract/commands/init.js +9 -0
- package/dist/cli/interface-contract/commands/init.js.map +1 -1
- package/dist/cli/interface-contract/commands/preview.d.ts +3 -0
- package/dist/cli/interface-contract/commands/preview.d.ts.map +1 -0
- package/dist/cli/interface-contract/commands/preview.js +118 -0
- package/dist/cli/interface-contract/commands/preview.js.map +1 -0
- package/dist/cli/interface-contract/commands/query.d.ts.map +1 -1
- package/dist/cli/interface-contract/commands/query.js +1 -0
- package/dist/cli/interface-contract/commands/query.js.map +1 -1
- package/dist/cli/interface-contract/index.d.ts +1 -1
- package/dist/cli/interface-contract/index.d.ts.map +1 -1
- package/dist/cli/interface-contract/index.js +2 -2
- package/dist/cli/interface-contract/index.js.map +1 -1
- package/dist/cli/interface-contract/schema.d.ts.map +1 -1
- package/dist/cli/interface-contract/schema.js +1 -0
- package/dist/cli/interface-contract/schema.js.map +1 -1
- package/dist/cli/interface-contract/types.d.ts +1 -0
- package/dist/cli/interface-contract/types.d.ts.map +1 -1
- package/dist/cli/output/error-codes.d.ts +2 -0
- package/dist/cli/output/error-codes.d.ts.map +1 -1
- package/dist/cli/output/error-codes.js +12 -0
- package/dist/cli/output/error-codes.js.map +1 -1
- package/dist/cli/output/errors.d.ts.map +1 -1
- package/dist/cli/output/errors.js +12 -0
- package/dist/cli/output/errors.js.map +1 -1
- package/dist/cli/output/wasm-fallback.d.ts +1 -0
- package/dist/cli/output/wasm-fallback.d.ts.map +1 -1
- package/dist/cli/output/wasm-fallback.js.map +1 -1
- package/dist/cli/preview/complexity-scanner.d.ts +21 -0
- package/dist/cli/preview/complexity-scanner.d.ts.map +1 -0
- package/dist/cli/preview/complexity-scanner.js +52 -0
- package/dist/cli/preview/complexity-scanner.js.map +1 -0
- package/dist/cli/preview/dependency-extractor.d.ts +38 -0
- package/dist/cli/preview/dependency-extractor.d.ts.map +1 -0
- package/dist/cli/preview/dependency-extractor.js +140 -0
- package/dist/cli/preview/dependency-extractor.js.map +1 -0
- package/dist/cli/preview/preview-renderer.d.ts +32 -0
- package/dist/cli/preview/preview-renderer.d.ts.map +1 -0
- package/dist/cli/preview/preview-renderer.js +54 -0
- package/dist/cli/preview/preview-renderer.js.map +1 -0
- package/dist/cli/storage-runtime.d.ts +7 -0
- package/dist/cli/storage-runtime.d.ts.map +1 -1
- package/dist/cli/storage-runtime.js +22 -0
- package/dist/cli/storage-runtime.js.map +1 -1
- package/dist/cli-new/index.js +1 -1
- package/dist/cli-new/index.js.map +1 -1
- package/dist/composition/parser-composition.d.ts +7 -0
- package/dist/composition/parser-composition.d.ts.map +1 -0
- package/dist/composition/parser-composition.js +15 -0
- package/dist/composition/parser-composition.js.map +1 -0
- package/dist/core/analyzer.d.ts.map +1 -1
- package/dist/core/analyzer.js +83 -67
- package/dist/core/analyzer.js.map +1 -1
- package/dist/core/ast-complexity-analyzer.d.ts +12 -6
- package/dist/core/ast-complexity-analyzer.d.ts.map +1 -1
- package/dist/core/ast-complexity-analyzer.js +368 -209
- package/dist/core/ast-complexity-analyzer.js.map +1 -1
- package/dist/core/file-discovery.d.ts +1 -1
- package/dist/core/file-discovery.d.ts.map +1 -1
- package/dist/core/file-discovery.js +3 -0
- package/dist/core/file-discovery.js.map +1 -1
- package/dist/core/global-index.d.ts +3 -1
- package/dist/core/global-index.d.ts.map +1 -1
- package/dist/core/global-index.js +69 -4
- package/dist/core/global-index.js.map +1 -1
- package/dist/domain/entities/CodeGraph.d.ts +3 -0
- package/dist/domain/entities/CodeGraph.d.ts.map +1 -1
- package/dist/domain/entities/CodeGraph.js +19 -2
- package/dist/domain/entities/CodeGraph.js.map +1 -1
- package/dist/domain/entities/Dependency.d.ts +5 -2
- package/dist/domain/entities/Dependency.d.ts.map +1 -1
- package/dist/domain/entities/Dependency.js +49 -3
- package/dist/domain/entities/Dependency.js.map +1 -1
- package/dist/domain/repositories/CodeGraphRepository.d.ts +5 -0
- package/dist/domain/repositories/CodeGraphRepository.d.ts.map +1 -1
- package/dist/domain/repositories/CodeGraphRepository.js.map +1 -1
- package/dist/execution/contract-tools/analyze.d.ts +205 -0
- package/dist/execution/contract-tools/analyze.d.ts.map +1 -0
- package/dist/execution/contract-tools/analyze.js +1215 -0
- package/dist/execution/contract-tools/analyze.js.map +1 -0
- package/dist/execution/contract-tools/deps.d.ts +62 -0
- package/dist/execution/contract-tools/deps.d.ts.map +1 -0
- package/dist/execution/contract-tools/deps.js +234 -0
- package/dist/execution/contract-tools/deps.js.map +1 -0
- package/dist/execution/contract-tools/index.d.ts +5 -0
- package/dist/execution/contract-tools/index.d.ts.map +1 -0
- package/dist/execution/contract-tools/index.js +7 -0
- package/dist/execution/contract-tools/index.js.map +1 -0
- package/dist/execution/contract-tools/query.d.ts +60 -0
- package/dist/execution/contract-tools/query.d.ts.map +1 -0
- package/dist/execution/contract-tools/query.js +532 -0
- package/dist/execution/contract-tools/query.js.map +1 -0
- package/dist/execution/contract-tools/types.d.ts +26 -0
- package/dist/execution/contract-tools/types.d.ts.map +1 -0
- package/dist/execution/contract-tools/types.js +32 -0
- package/dist/execution/contract-tools/types.js.map +1 -0
- package/dist/generator/index.d.ts.map +1 -1
- package/dist/generator/index.js +0 -3
- package/dist/generator/index.js.map +1 -1
- package/dist/infrastructure/parser/enhancers/TypeScriptTypeEnhancer.d.ts +12 -0
- package/dist/infrastructure/parser/enhancers/TypeScriptTypeEnhancer.d.ts.map +1 -0
- package/dist/infrastructure/parser/enhancers/TypeScriptTypeEnhancer.js +55 -0
- package/dist/infrastructure/parser/enhancers/TypeScriptTypeEnhancer.js.map +1 -0
- package/dist/infrastructure/parser/implementations/GoParser.d.ts +2 -1
- package/dist/infrastructure/parser/implementations/GoParser.d.ts.map +1 -1
- package/dist/infrastructure/parser/implementations/GoParser.js +13 -1
- package/dist/infrastructure/parser/implementations/GoParser.js.map +1 -1
- package/dist/infrastructure/parser/implementations/PythonTreeSitterParser.d.ts +114 -0
- package/dist/infrastructure/parser/implementations/PythonTreeSitterParser.d.ts.map +1 -0
- package/dist/infrastructure/parser/implementations/PythonTreeSitterParser.js +1022 -0
- package/dist/infrastructure/parser/implementations/PythonTreeSitterParser.js.map +1 -0
- package/dist/infrastructure/parser/implementations/TreeSitterParser.d.ts +78 -0
- package/dist/infrastructure/parser/implementations/TreeSitterParser.d.ts.map +1 -0
- package/dist/infrastructure/parser/implementations/TreeSitterParser.js +648 -0
- package/dist/infrastructure/parser/implementations/TreeSitterParser.js.map +1 -0
- package/dist/infrastructure/parser/implementations/TypeScriptParser.d.ts +3 -55
- package/dist/infrastructure/parser/implementations/TypeScriptParser.d.ts.map +1 -1
- package/dist/infrastructure/parser/implementations/TypeScriptParser.js +4 -411
- package/dist/infrastructure/parser/implementations/TypeScriptParser.js.map +1 -1
- package/dist/infrastructure/parser/index.d.ts +2 -0
- package/dist/infrastructure/parser/index.d.ts.map +1 -1
- package/dist/infrastructure/parser/index.js +9 -6
- package/dist/infrastructure/parser/index.js.map +1 -1
- package/dist/infrastructure/parser/interfaces/ParserBase.d.ts.map +1 -1
- package/dist/infrastructure/parser/interfaces/ParserBase.js +1 -0
- package/dist/infrastructure/parser/interfaces/ParserBase.js.map +1 -1
- package/dist/infrastructure/repositories/CodeGraphRepositoryImpl.d.ts +2 -0
- package/dist/infrastructure/repositories/CodeGraphRepositoryImpl.d.ts.map +1 -1
- package/dist/infrastructure/repositories/CodeGraphRepositoryImpl.js +4 -0
- package/dist/infrastructure/repositories/CodeGraphRepositoryImpl.js.map +1 -1
- package/dist/infrastructure/storage/StorageFactory.d.ts +5 -18
- package/dist/infrastructure/storage/StorageFactory.d.ts.map +1 -1
- package/dist/infrastructure/storage/StorageFactory.js +30 -98
- package/dist/infrastructure/storage/StorageFactory.js.map +1 -1
- package/dist/infrastructure/storage/adapters/SQLiteStorage.d.ts +13 -1
- package/dist/infrastructure/storage/adapters/SQLiteStorage.d.ts.map +1 -1
- package/dist/infrastructure/storage/adapters/SQLiteStorage.js +321 -75
- package/dist/infrastructure/storage/adapters/SQLiteStorage.js.map +1 -1
- package/dist/infrastructure/storage/adapters/sqlite-loader.d.ts +22 -0
- package/dist/infrastructure/storage/adapters/sqlite-loader.d.ts.map +1 -1
- package/dist/infrastructure/storage/adapters/sqlite-loader.js +78 -22
- package/dist/infrastructure/storage/adapters/sqlite-loader.js.map +1 -1
- package/dist/infrastructure/storage/community-helpers.d.ts +4 -0
- package/dist/infrastructure/storage/community-helpers.d.ts.map +1 -0
- package/dist/infrastructure/storage/community-helpers.js +392 -0
- package/dist/infrastructure/storage/community-helpers.js.map +1 -0
- package/dist/infrastructure/storage/graph-helpers.d.ts +22 -5
- package/dist/infrastructure/storage/graph-helpers.d.ts.map +1 -1
- package/dist/infrastructure/storage/graph-helpers.js +496 -91
- package/dist/infrastructure/storage/graph-helpers.js.map +1 -1
- package/dist/infrastructure/storage/index.d.ts +1 -1
- package/dist/infrastructure/storage/index.d.ts.map +1 -1
- package/dist/infrastructure/storage/index.js +1 -1
- package/dist/infrastructure/storage/index.js.map +1 -1
- package/dist/infrastructure/storage/interfaces/StorageBase.d.ts +2 -2
- package/dist/infrastructure/storage/interfaces/StorageBase.d.ts.map +1 -1
- package/dist/infrastructure/storage/interfaces/StorageBase.js.map +1 -1
- package/dist/infrastructure/storage/sqlite/GovernanceGraphCache.d.ts +2 -0
- package/dist/infrastructure/storage/sqlite/GovernanceGraphCache.d.ts.map +1 -1
- package/dist/infrastructure/storage/sqlite/GovernanceGraphCache.js +52 -12
- package/dist/infrastructure/storage/sqlite/GovernanceGraphCache.js.map +1 -1
- package/dist/infrastructure/storage/sqlite/schema.d.ts +2 -2
- package/dist/infrastructure/storage/sqlite/schema.d.ts.map +1 -1
- package/dist/infrastructure/storage/sqlite/schema.js +49 -1
- package/dist/infrastructure/storage/sqlite/schema.js.map +1 -1
- package/dist/interface/config/index.d.ts +5 -3
- package/dist/interface/config/index.d.ts.map +1 -1
- package/dist/interface/types/index.d.ts +37 -6
- package/dist/interface/types/index.d.ts.map +1 -1
- package/dist/interface/types/parser.d.ts +85 -0
- package/dist/interface/types/parser.d.ts.map +1 -1
- package/dist/interface/types/storage.d.ts +227 -10
- package/dist/interface/types/storage.d.ts.map +1 -1
- package/dist/orchestrator/agent-metrics-service.d.ts +126 -0
- package/dist/orchestrator/agent-metrics-service.d.ts.map +1 -0
- package/dist/orchestrator/agent-metrics-service.js +444 -0
- package/dist/orchestrator/agent-metrics-service.js.map +1 -0
- package/dist/parser/enhancers/PythonTypeEnhancer.d.ts +26 -0
- package/dist/parser/enhancers/PythonTypeEnhancer.d.ts.map +1 -0
- package/dist/parser/enhancers/PythonTypeEnhancer.js +440 -0
- package/dist/parser/enhancers/PythonTypeEnhancer.js.map +1 -0
- package/dist/parser/implementations/smart-parser.d.ts.map +1 -1
- package/dist/parser/implementations/smart-parser.js +7 -69
- package/dist/parser/implementations/smart-parser.js.map +1 -1
- package/dist/parser/implementations/tree-sitter-loader.d.ts +2 -0
- package/dist/parser/implementations/tree-sitter-loader.d.ts.map +1 -1
- package/dist/parser/implementations/tree-sitter-loader.js +46 -15
- package/dist/parser/implementations/tree-sitter-loader.js.map +1 -1
- package/dist/parser/index.d.ts +5 -3
- package/dist/parser/index.d.ts.map +1 -1
- package/dist/parser/index.js +68 -6
- package/dist/parser/index.js.map +1 -1
- package/dist/parser/interfaces/IParser.d.ts +19 -6
- package/dist/parser/interfaces/IParser.d.ts.map +1 -1
- package/dist/parser/interfaces/IParser.js +2 -3
- package/dist/parser/interfaces/IParser.js.map +1 -1
- package/dist/server/handlers/AnalysisHandler.d.ts +13 -2
- package/dist/server/handlers/AnalysisHandler.d.ts.map +1 -1
- package/dist/server/handlers/AnalysisHandler.js +24 -0
- package/dist/server/handlers/AnalysisHandler.js.map +1 -1
- package/dist/server/handlers/QueryHandler.d.ts.map +1 -1
- package/dist/server/handlers/QueryHandler.js +11 -30
- package/dist/server/handlers/QueryHandler.js.map +1 -1
- package/dist/server/mcp/context-tool.d.ts +9 -0
- package/dist/server/mcp/context-tool.d.ts.map +1 -0
- package/dist/server/mcp/context-tool.js +257 -0
- package/dist/server/mcp/context-tool.js.map +1 -0
- package/dist/server/mcp/schema-adapter.d.ts +11 -1
- package/dist/server/mcp/schema-adapter.d.ts.map +1 -1
- package/dist/server/mcp/schema-adapter.js +126 -7
- package/dist/server/mcp/schema-adapter.js.map +1 -1
- package/dist/server/mcp/server.d.ts +3 -3
- package/dist/server/mcp/server.d.ts.map +1 -1
- package/dist/server/mcp/server.js +114 -30
- package/dist/server/mcp/server.js.map +1 -1
- package/dist/server/mcp/service.d.ts +6 -2
- package/dist/server/mcp/service.d.ts.map +1 -1
- package/dist/server/mcp/service.js +138 -36
- package/dist/server/mcp/service.js.map +1 -1
- package/dist/server/mcp/stdio-transport.d.ts +23 -0
- package/dist/server/mcp/stdio-transport.d.ts.map +1 -0
- package/dist/server/mcp/stdio-transport.js +101 -0
- package/dist/server/mcp/stdio-transport.js.map +1 -0
- package/dist/server/mcp/types.d.ts +133 -8
- package/dist/server/mcp/types.d.ts.map +1 -1
- package/dist/server/routes/api.d.ts.map +1 -1
- package/dist/server/routes/api.js +11 -2
- package/dist/server/routes/api.js.map +1 -1
- package/docs/AI_ASSISTANT_SETUP.md +112 -0
- package/docs/API.md +170 -0
- package/docs/CONFIGURATION.md +141 -0
- package/docs/DEVELOPMENT.md +96 -0
- package/docs/GETTING-STARTED.md +114 -0
- package/docs/SETUP_GUIDE.md +49 -0
- package/docs/TESTING.md +81 -0
- package/docs/ai-guide/OUTPUT.md +51 -8
- package/docs/backlog.md +232 -144
- package/docs/brainstorms/2026-05-10-agent-effectiveness-validation-requirements.md +112 -0
- package/docs/generated/phase-58/subagent-evidence/claude-hook-example.json +15 -0
- package/docs/generated/phase-58/subagent-evidence/claude-session.md +146 -0
- package/docs/generated/phase-58/subagent-evidence/claude-subagent.json +28 -0
- package/docs/generated/phase-58/subagent-evidence/codex-agent-example.toml +19 -0
- package/docs/generated/phase-58/subagent-evidence/codex-session.md +150 -0
- package/docs/generated/phase-58/subagent-evidence/codex-subagent.json +20 -0
- package/docs/generated/phase-58/subagent-evidence/negative-no-retrieval.json +12 -0
- package/docs/generated/phase-58/subagent-evidence/verification-manifest.json +19 -0
- package/docs/ideation/2026-05-02-subagent-environment-contract-injection-ideation.md +183 -0
- package/docs/ideation/2026-05-04-subagent-hooks-deep-dive-ideation.md +133 -0
- package/docs/ideation/2026-05-10-agent-effectiveness-validation-ideation.md +219 -0
- package/package.json +8 -3
- package/scripts/copy-build-assets.mjs +23 -0
- package/scripts/hooks/templates/pre-commit +33 -2
- package/scripts/tests/test_rule_control_workflow.py +15 -1
- package/scripts/verify-subagent-env-contract.mjs +279 -0
- package/dist/parser/implementations/tree-sitter-parser.d.ts +0 -60
- package/dist/parser/implementations/tree-sitter-parser.d.ts.map +0 -1
- package/dist/parser/implementations/tree-sitter-parser.js +0 -380
- package/dist/parser/implementations/tree-sitter-parser.js.map +0 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<!-- generated-by: gsd-doc-writer -->
|
|
2
|
+
|
|
3
|
+
# Getting Started
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
- Node.js `>= 20.0.0`
|
|
8
|
+
- npm, pnpm, or yarn
|
|
9
|
+
- A repository with source files to analyze
|
|
10
|
+
|
|
11
|
+
The tool can run without native build toolchains. When native dependencies are unavailable, the runtime falls back to WASM paths.
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
### Install from npm (recommended for users)
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g @mycodemap/mycodemap
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
`mycodemap` is the primary binary. `codemap` is kept as an alias.
|
|
22
|
+
|
|
23
|
+
### Build from source (for contributors)
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
git clone https://github.com/yuanyuanyuan/mycodemap.git
|
|
27
|
+
cd mycodemap
|
|
28
|
+
npm install
|
|
29
|
+
npm run build
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
After building, run the CLI locally via `node dist/cli/index.js` or link it:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm link
|
|
36
|
+
mycodemap --help
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## First Run
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
mycodemap init
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
By default, `init` prints a reconciliation preview. Use `--yes` to apply the plan immediately.
|
|
46
|
+
|
|
47
|
+
If the repository has a recognizable project marker, `init` can auto-detect a profile. Use `--profile <name>` to override that detection.
|
|
48
|
+
|
|
49
|
+
Next:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
mycodemap generate
|
|
53
|
+
mycodemap doctor
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`generate` writes analysis artifacts to `.mycodemap/`. `doctor` checks the runtime, workspace, and agent integrations.
|
|
57
|
+
|
|
58
|
+
## What Gets Written
|
|
59
|
+
|
|
60
|
+
- `.mycodemap/config.json` as the canonical config file
|
|
61
|
+
- `.mycodemap/codemap.json` as the persisted graph data
|
|
62
|
+
- `.mycodemap/logs/` for runtime logs when enabled
|
|
63
|
+
- additional generated reports depending on the command you run
|
|
64
|
+
|
|
65
|
+
## Minimal Workflow
|
|
66
|
+
|
|
67
|
+
1. Install the package.
|
|
68
|
+
2. Run `mycodemap init` or `mycodemap init --yes`.
|
|
69
|
+
3. Run `mycodemap generate`.
|
|
70
|
+
4. Inspect the output in `.mycodemap/`.
|
|
71
|
+
5. Run `mycodemap doctor` if something looks off.
|
|
72
|
+
|
|
73
|
+
## Common Setup Issues
|
|
74
|
+
|
|
75
|
+
### Command not found after global install
|
|
76
|
+
|
|
77
|
+
If `mycodemap` is not recognized after `npm install -g`, refresh the shell hash or use `npx`:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
hash -r
|
|
81
|
+
npx mycodemap --help
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Native dependency build failures
|
|
85
|
+
|
|
86
|
+
Packages like `tree-sitter` and `better-sqlite3` may require a C++ compiler on your system. If the install fails:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# Ubuntu/Debian
|
|
90
|
+
sudo apt-get install build-essential
|
|
91
|
+
|
|
92
|
+
# macOS
|
|
93
|
+
xcode-select --install
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
When native modules are unavailable, CodeMap falls back to WASM equivalents automatically.
|
|
97
|
+
|
|
98
|
+
### Node.js version mismatch
|
|
99
|
+
|
|
100
|
+
CodeMap requires Node.js `>= 20.0.0`. If you see an engine-unsupported error, upgrade Node.js or use a version manager such as `nvm`.
|
|
101
|
+
|
|
102
|
+
## Common Follow-Up Commands
|
|
103
|
+
|
|
104
|
+
- `mycodemap query` to search symbols and modules
|
|
105
|
+
- `mycodemap deps` to inspect dependencies
|
|
106
|
+
- `mycodemap impact -f <file>` to estimate change impact
|
|
107
|
+
- `mycodemap benchmark` to compare native and WASM startup paths
|
|
108
|
+
- `mycodemap --schema` to inspect the CLI contract
|
|
109
|
+
|
|
110
|
+
## Next Steps
|
|
111
|
+
|
|
112
|
+
- See [DEVELOPMENT.md](DEVELOPMENT.md) for local development setup, build commands, and contribution workflow.
|
|
113
|
+
- See [TESTING.md](TESTING.md) for how to run the test suite and write new tests.
|
|
114
|
+
- See [CONFIGURATION.md](CONFIGURATION.md) for the full config file format, environment variables, and per-environment overrides.
|
package/docs/SETUP_GUIDE.md
CHANGED
|
@@ -96,6 +96,55 @@ mycodemap init -y
|
|
|
96
96
|
|
|
97
97
|
`init` 会同步 `.mycodemap/hooks/` 与 `.mycodemap/rules/`,但不会自动改写 `CLAUDE.md` / `AGENTS.md`;相关引用片段会通过 receipt 提示你手动加入。
|
|
98
98
|
|
|
99
|
+
#### 理解 Init 收据
|
|
100
|
+
|
|
101
|
+
`mycodemap init` 完成后会输出一份收据,分为两个部分:
|
|
102
|
+
|
|
103
|
+
**Main Agent(主 Agent 上下文)**
|
|
104
|
+
- 报告已生成的上下文文件路径(如 `claude-context.md`、`agents-context.md`)
|
|
105
|
+
- 指导你将相关内容手动合并到项目根目录的 `CLAUDE.md` / `AGENTS.md`
|
|
106
|
+
- 检测已同步状态:如果 `CLAUDE.md` 已包含 `.mycodemap/` 引用,标记为 `already-synced`
|
|
107
|
+
|
|
108
|
+
**Subagent(子 Agent 配置)**
|
|
109
|
+
- 报告平台配置示例文件(如 `claude-hook-example.json`、`codex-agent-example.toml`)
|
|
110
|
+
- 指导你将配置复制到对应平台设置目录
|
|
111
|
+
|
|
112
|
+
收据还会显示**个性化下一步**,基于实际安装的资产生成,而非固定的三步欢迎信息。
|
|
113
|
+
|
|
114
|
+
> 注意:`init` 不会自动改写 `CLAUDE.md`、`AGENTS.md` 等团队共管文件。所有需要手动操作的步骤都会在收据中明确标注。
|
|
115
|
+
|
|
116
|
+
#### 环境契约(Environment Contract)
|
|
117
|
+
|
|
118
|
+
`mycodemap init` 还会生成 `.mycodemap/env-contract.json`,这是一个结构化的项目规则索引,包含:
|
|
119
|
+
|
|
120
|
+
- **执行规则**:shell 命令包装(rtk)、测试入口命令(vitest run)
|
|
121
|
+
- **提交规则**:commit message 格式(`[TAG] scope: message`)、有效标签列表
|
|
122
|
+
- **验证规则**:真实场景验证要求、代码质量标准
|
|
123
|
+
- **来源追踪**:每条规则的源文件和 hash,用于漂移检测
|
|
124
|
+
|
|
125
|
+
子代理(Claude Code / Codex CLI 的委托代理)通过以下方式检索契约:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# CLI 检索(按代理类型过滤)
|
|
129
|
+
mycodemap env-contract --for worker --json
|
|
130
|
+
mycodemap env-contract --for explore --json
|
|
131
|
+
|
|
132
|
+
# MCP 检索
|
|
133
|
+
codemap_env_contract(agentType="worker")
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
检查契约一致性和源文件漂移:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# 检查契约是否过期或缺失关键项
|
|
140
|
+
mycodemap env-contract --check
|
|
141
|
+
|
|
142
|
+
# 全面健康诊断(包含 env-contract 状态)
|
|
143
|
+
mycodemap doctor
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
> 冲突(如 hook 要求大写标签但文档示例写小写)会被报告为警告,不会阻断。源文件漂移会导致 `--check` 返回非零退出码,需要运行 `mycodemap env-contract --update` 重新生成。
|
|
147
|
+
|
|
99
148
|
生成的 canonical 配置文件 `.mycodemap/config.json`:
|
|
100
149
|
|
|
101
150
|
```json
|
package/docs/TESTING.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<!-- generated-by: gsd-doc-writer -->
|
|
2
|
+
|
|
3
|
+
# Testing
|
|
4
|
+
|
|
5
|
+
## Test Stack
|
|
6
|
+
|
|
7
|
+
CodeMap uses Vitest (`^1.1.0`) for unit, integration, and workflow tests. Coverage reporting is provided by `@vitest/coverage-v8` (`^1.6.1`).
|
|
8
|
+
|
|
9
|
+
The default configuration (`vitest.config.ts`) runs tests in `src/**/*.test.ts` with a Node environment, `globals: true`, and a `threads` pool (max 2 threads). The E2E suite uses a separate configuration (`vitest.e2e.config.ts`) that runs `tests/e2e/**/*.test.ts` with up to 4 threads. Both configs enforce a 10-second timeout per test and hook.
|
|
10
|
+
|
|
11
|
+
No global setup file is required; install dependencies with `npm ci` (or `npm install`) and run tests directly.
|
|
12
|
+
|
|
13
|
+
## Main Test Commands
|
|
14
|
+
|
|
15
|
+
| Command | Purpose |
|
|
16
|
+
|---|---|
|
|
17
|
+
| `npm test` | Run the default Vitest suite (all `src/**/*.test.ts` files) |
|
|
18
|
+
| `npm run test:e2e` | Run the end-to-end workflow suite (`tests/e2e/**/*.test.ts`) |
|
|
19
|
+
| `npx vitest` | Start Vitest in watch mode |
|
|
20
|
+
| `npm run benchmark` | Run benchmark validation |
|
|
21
|
+
| `npm run test:all` | Run tests followed by benchmarks |
|
|
22
|
+
| `npm run check:all` | Run typecheck, lint, tests, and docs validation |
|
|
23
|
+
|
|
24
|
+
## What the Tests Cover
|
|
25
|
+
|
|
26
|
+
- CLI command behavior and output formatting
|
|
27
|
+
- parser and analyzer logic
|
|
28
|
+
- storage backends and fallback behavior
|
|
29
|
+
- HTTP API route handling
|
|
30
|
+
- MCP and env-contract plumbing
|
|
31
|
+
- release, workflow, and guardrail commands
|
|
32
|
+
|
|
33
|
+
## Practical Guidance
|
|
34
|
+
|
|
35
|
+
- Prefer real filesystem and subprocess behavior for workflow and integration tests.
|
|
36
|
+
- Use mocks for small units, but do not substitute mocks for end-to-end behavior that the repository already exercises with real I/O.
|
|
37
|
+
- When a test changes command output, update the docs if the user-facing behavior changed.
|
|
38
|
+
|
|
39
|
+
## Running a Single File
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx vitest run src/core/__tests__/analyzer.test.ts
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Writing New Tests
|
|
46
|
+
|
|
47
|
+
Unit and integration tests live next to source code in `src/**/__tests__/*.test.ts`. End-to-end tests live in `tests/e2e/*.e2e.test.ts`. There is no dedicated global setup or shared helper file; tests import Vitest's `describe`, `it`, and `expect` directly.
|
|
48
|
+
|
|
49
|
+
When adding a new test:
|
|
50
|
+
- Place unit tests in `src/<module>/__tests__/<name>.test.ts`
|
|
51
|
+
- Place E2E tests in `tests/e2e/<name>.e2e.test.ts`
|
|
52
|
+
- Use `tests/fixtures/` for sample project data and `tests/golden/` for expected output snapshots
|
|
53
|
+
|
|
54
|
+
## Coverage Requirements
|
|
55
|
+
|
|
56
|
+
No minimum coverage threshold is configured in `vitest.config.ts`. Coverage is generated on demand with:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npx vitest run --coverage
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The default reporter outputs text, lcov, and HTML to `./coverage`.
|
|
63
|
+
|
|
64
|
+
## CI Integration
|
|
65
|
+
|
|
66
|
+
Tests run in the **CI Gateway** workflow (`.github/workflows/ci-gateway.yml`), which triggers on pushes and pull requests to `main` and `develop`.
|
|
67
|
+
|
|
68
|
+
Relevant CI steps:
|
|
69
|
+
1. `npm test` — runs the default Vitest suite
|
|
70
|
+
2. `npm run test:e2e` — runs the E2E workflow guardrail
|
|
71
|
+
|
|
72
|
+
The same workflow also runs typecheck, lint, docs validation, contract gate checks, and CLI guardrails before considering the build green.
|
|
73
|
+
|
|
74
|
+
## Before Release
|
|
75
|
+
|
|
76
|
+
Run the validation gates that protect the repo:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npm run docs:check
|
|
80
|
+
npm run docs:check:pre-release
|
|
81
|
+
```
|
package/docs/ai-guide/OUTPUT.md
CHANGED
|
@@ -166,11 +166,22 @@ interface CodeMap {
|
|
|
166
166
|
graphStatus?: "complete" | "partial";
|
|
167
167
|
failedFileCount?: number;
|
|
168
168
|
parseFailureFiles?: string[];
|
|
169
|
-
actualMode?: "fast" | "smart";
|
|
170
169
|
pluginReport?: PluginExecutionReport;
|
|
171
170
|
}
|
|
172
171
|
```
|
|
173
172
|
|
|
173
|
+
### parser 模式收敛说明
|
|
174
|
+
|
|
175
|
+
- 运行时主路径已收敛到 registry-backed tree-sitter parser。
|
|
176
|
+
- `fast` / `smart` / `hybrid` 不再表示健康的运行模式;显式传入时应返回 `DEPRECATED_PARSER_MODE`,并附带 remediation 与 `nextCommand`。
|
|
177
|
+
- `CodeMap` 输出不再暴露 `actualMode`,因为运行时不再做 hybrid 自动切换。
|
|
178
|
+
|
|
179
|
+
### storage 持久化收敛说明
|
|
180
|
+
|
|
181
|
+
- 持久化后端已收敛到 SQLite family;健康配置只应使用 `storage.type = "sqlite"`,或使用 `auto` 作为 SQLite-family alias。
|
|
182
|
+
- `memory` 仍可用于测试或临时运行,但不属于持久化 truth。
|
|
183
|
+
- 显式请求 `filesystem` / `kuzudb` 必须失败,并返回 `UNSUPPORTED_STORAGE_TYPE`、`remediationPlan` 与 `nextCommand`,而不是静默降级继续运行。
|
|
184
|
+
|
|
174
185
|
### graph integrity 语义
|
|
175
186
|
|
|
176
187
|
| 字段 | 含义 | 何时出现 |
|
|
@@ -232,6 +243,35 @@ CLI-as-MCP Automatic Gateway 的核心机制:
|
|
|
232
243
|
|
|
233
244
|
> 注意:tool 定义是自动生成的。如果你看到某个命令在 CLI 可用但在 MCP 不可见,检查该命令是否已注册到 `Interface Contract Schema`。
|
|
234
245
|
|
|
246
|
+
### Phase 61 直连收敛
|
|
247
|
+
|
|
248
|
+
- `query` / `deps` / `analyze` 已不再把 MCP 成功响应编码为 `cli_redirect`。
|
|
249
|
+
- 这三个工具现在共享 `src/execution/contract-tools/` 下的 transport-free executor,CLI wrapper 与 MCP handler 都只负责参数归一化、渲染和 transport。
|
|
250
|
+
- MCP 的外层 envelope 统一为:
|
|
251
|
+
|
|
252
|
+
```typescript
|
|
253
|
+
interface ContractToolExecutionResult<TResult> {
|
|
254
|
+
status: "ok" | "error";
|
|
255
|
+
result?: TResult;
|
|
256
|
+
error?: {
|
|
257
|
+
code: string;
|
|
258
|
+
message: string;
|
|
259
|
+
remediation?: string;
|
|
260
|
+
details?: Record<string, unknown>;
|
|
261
|
+
};
|
|
262
|
+
diagnostics: {
|
|
263
|
+
tool: "query" | "deps" | "analyze";
|
|
264
|
+
rootDir: string;
|
|
265
|
+
dataPath?: string;
|
|
266
|
+
durationMs?: number;
|
|
267
|
+
cacheHit?: boolean;
|
|
268
|
+
notes?: string[];
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
- `codemap_query` 现在承载的是 CLI `query` 的 direct-execution truth;symbol graph 专用查询保留在 `codemap_impact` 这类 native tool 中,而不再和 `query` 形成双真相。
|
|
274
|
+
|
|
235
275
|
```typescript
|
|
236
276
|
type McpToolStatus = "ok" | "not_found" | "ambiguous" | "unavailable";
|
|
237
277
|
type McpToolConfidence = "high" | "ambiguous" | "unavailable";
|
|
@@ -297,16 +337,19 @@ interface McpImpactResult {
|
|
|
297
337
|
|
|
298
338
|
```typescript
|
|
299
339
|
interface CodemapQueryInput {
|
|
300
|
-
symbol
|
|
301
|
-
|
|
340
|
+
symbol?: string;
|
|
341
|
+
module?: string;
|
|
342
|
+
deps?: string;
|
|
343
|
+
search?: string;
|
|
344
|
+
limit?: number;
|
|
345
|
+
structured?: boolean;
|
|
302
346
|
}
|
|
303
347
|
```
|
|
304
348
|
|
|
305
349
|
语义:
|
|
306
|
-
- `status = "ok"
|
|
307
|
-
- `status = "
|
|
308
|
-
- `
|
|
309
|
-
- `status = "ambiguous"` + `AMBIGUOUS_EDGE`:同名符号无法仅靠 `symbol` / `filePath` 消歧
|
|
350
|
+
- `status = "ok"`:`result` 内返回 CLI `query` 的原生命令负载(`type/query/count/results/metrics`)
|
|
351
|
+
- `status = "error"`:`error.code` 明确标识失败原因,例如 `MISSING_QUERY_TYPE`、`INDEX_NOT_FOUND`
|
|
352
|
+
- `diagnostics` 持续暴露 tool 名称、根目录、耗时与缓存信息,方便 host / agent 做自动化判断
|
|
310
353
|
|
|
311
354
|
### `codemap_impact`
|
|
312
355
|
|
|
@@ -434,7 +477,7 @@ interface DoctorOutput {
|
|
|
434
477
|
"summary": { "pass": 1, "warn": 1, "fail": 0, "skip": 0 },
|
|
435
478
|
"checks": [
|
|
436
479
|
{ "name": "config_file", "status": "pass", "message": "mycodemap.config.json 存在" },
|
|
437
|
-
{ "name": "storage_type", "status": "warn", "message": "storage.type 未显式设置,使用 auto", "remediation": "建议显式设置为 sqlite
|
|
480
|
+
{ "name": "storage_type", "status": "warn", "message": "storage.type 未显式设置,使用 auto", "remediation": "建议显式设置为 sqlite,或保留 auto 作为 SQLite-family alias" }
|
|
438
481
|
]
|
|
439
482
|
},
|
|
440
483
|
{
|