spectra-cli 4.1.1 → 4.2.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.
Files changed (422) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/go-adapter.d.ts.map +1 -1
  3. package/dist/adapters/go-adapter.js +2 -0
  4. package/dist/adapters/go-adapter.js.map +1 -1
  5. package/dist/adapters/index.d.ts +1 -1
  6. package/dist/adapters/index.d.ts.map +1 -1
  7. package/dist/adapters/java-adapter.d.ts.map +1 -1
  8. package/dist/adapters/java-adapter.js +2 -0
  9. package/dist/adapters/java-adapter.js.map +1 -1
  10. package/dist/adapters/language-adapter.d.ts +47 -9
  11. package/dist/adapters/language-adapter.d.ts.map +1 -1
  12. package/dist/adapters/python-adapter.d.ts +34 -6
  13. package/dist/adapters/python-adapter.d.ts.map +1 -1
  14. package/dist/adapters/python-adapter.js +157 -59
  15. package/dist/adapters/python-adapter.js.map +1 -1
  16. package/dist/adapters/ts-js-adapter.d.ts +13 -5
  17. package/dist/adapters/ts-js-adapter.d.ts.map +1 -1
  18. package/dist/adapters/ts-js-adapter.js +55 -14
  19. package/dist/adapters/ts-js-adapter.js.map +1 -1
  20. package/dist/batch/batch-orchestrator.d.ts +30 -4
  21. package/dist/batch/batch-orchestrator.d.ts.map +1 -1
  22. package/dist/batch/batch-orchestrator.js +284 -7
  23. package/dist/batch/batch-orchestrator.js.map +1 -1
  24. package/dist/batch/delta-regenerator.d.ts +2 -2
  25. package/dist/batch/delta-regenerator.d.ts.map +1 -1
  26. package/dist/batch/delta-regenerator.js.map +1 -1
  27. package/dist/batch/module-grouper.d.ts +2 -2
  28. package/dist/batch/module-grouper.d.ts.map +1 -1
  29. package/dist/batch/module-grouper.js +1 -1
  30. package/dist/batch/module-grouper.js.map +1 -1
  31. package/dist/cli/commands/graph.js +1 -1
  32. package/dist/cli/commands/graph.js.map +1 -1
  33. package/dist/cli/commands/index.d.ts +8 -0
  34. package/dist/cli/commands/index.d.ts.map +1 -0
  35. package/dist/cli/commands/index.js +274 -0
  36. package/dist/cli/commands/index.js.map +1 -0
  37. package/dist/cli/commands/query.d.ts.map +1 -1
  38. package/dist/cli/commands/query.js +3 -1
  39. package/dist/cli/commands/query.js.map +1 -1
  40. package/dist/cli/index.js +9 -9
  41. package/dist/cli/index.js.map +1 -1
  42. package/dist/cli/utils/parse-args.d.ts +13 -1
  43. package/dist/cli/utils/parse-args.d.ts.map +1 -1
  44. package/dist/cli/utils/parse-args.js +79 -2
  45. package/dist/cli/utils/parse-args.js.map +1 -1
  46. package/dist/core/ast-analyzer.d.ts.map +1 -1
  47. package/dist/core/ast-analyzer.js +79 -5
  48. package/dist/core/ast-analyzer.js.map +1 -1
  49. package/dist/core/import-resolver.d.ts +90 -0
  50. package/dist/core/import-resolver.d.ts.map +1 -0
  51. package/dist/core/import-resolver.js +273 -0
  52. package/dist/core/import-resolver.js.map +1 -0
  53. package/dist/core/query-mappers/base-mapper.d.ts +13 -0
  54. package/dist/core/query-mappers/base-mapper.d.ts.map +1 -1
  55. package/dist/core/query-mappers/go-mapper.d.ts +68 -0
  56. package/dist/core/query-mappers/go-mapper.d.ts.map +1 -1
  57. package/dist/core/query-mappers/go-mapper.js +421 -0
  58. package/dist/core/query-mappers/go-mapper.js.map +1 -1
  59. package/dist/core/query-mappers/java-mapper.d.ts +196 -0
  60. package/dist/core/query-mappers/java-mapper.d.ts.map +1 -1
  61. package/dist/core/query-mappers/java-mapper.js +600 -0
  62. package/dist/core/query-mappers/java-mapper.js.map +1 -1
  63. package/dist/core/query-mappers/python-mapper.d.ts +55 -0
  64. package/dist/core/query-mappers/python-mapper.d.ts.map +1 -1
  65. package/dist/core/query-mappers/python-mapper.js +273 -0
  66. package/dist/core/query-mappers/python-mapper.js.map +1 -1
  67. package/dist/core/query-mappers/typescript-mapper.d.ts +102 -0
  68. package/dist/core/query-mappers/typescript-mapper.d.ts.map +1 -1
  69. package/dist/core/query-mappers/typescript-mapper.js +470 -0
  70. package/dist/core/query-mappers/typescript-mapper.js.map +1 -1
  71. package/dist/core/single-spec-orchestrator.d.ts.map +1 -1
  72. package/dist/core/single-spec-orchestrator.js +146 -9
  73. package/dist/core/single-spec-orchestrator.js.map +1 -1
  74. package/dist/core/tree-sitter-analyzer.d.ts +6 -0
  75. package/dist/core/tree-sitter-analyzer.d.ts.map +1 -1
  76. package/dist/core/tree-sitter-analyzer.js +33 -1
  77. package/dist/core/tree-sitter-analyzer.js.map +1 -1
  78. package/dist/core/tree-sitter-fallback.d.ts +7 -4
  79. package/dist/core/tree-sitter-fallback.d.ts.map +1 -1
  80. package/dist/core/tree-sitter-fallback.js +157 -12
  81. package/dist/core/tree-sitter-fallback.js.map +1 -1
  82. package/dist/extraction/extraction-types.d.ts +25 -25
  83. package/dist/generator/index-generator.d.ts +3 -3
  84. package/dist/generator/index-generator.d.ts.map +1 -1
  85. package/dist/generator/index-generator.js +1 -1
  86. package/dist/generator/index-generator.js.map +1 -1
  87. package/dist/graph/directory-graph.d.ts +14 -4
  88. package/dist/graph/directory-graph.d.ts.map +1 -1
  89. package/dist/graph/directory-graph.js +71 -128
  90. package/dist/graph/directory-graph.js.map +1 -1
  91. package/dist/graph/mermaid-renderer.d.ts +8 -5
  92. package/dist/graph/mermaid-renderer.d.ts.map +1 -1
  93. package/dist/graph/mermaid-renderer.js +3 -3
  94. package/dist/graph/mermaid-renderer.js.map +1 -1
  95. package/dist/graph/topological-sort.d.ts +13 -6
  96. package/dist/graph/topological-sort.d.ts.map +1 -1
  97. package/dist/graph/topological-sort.js +2 -2
  98. package/dist/graph/topological-sort.js.map +1 -1
  99. package/dist/knowledge-graph/call-resolver.d.ts +64 -0
  100. package/dist/knowledge-graph/call-resolver.d.ts.map +1 -0
  101. package/dist/knowledge-graph/call-resolver.js +323 -0
  102. package/dist/knowledge-graph/call-resolver.js.map +1 -0
  103. package/dist/knowledge-graph/import-resolver.d.ts +114 -0
  104. package/dist/knowledge-graph/import-resolver.d.ts.map +1 -0
  105. package/dist/knowledge-graph/import-resolver.js +537 -0
  106. package/dist/knowledge-graph/import-resolver.js.map +1 -0
  107. package/dist/knowledge-graph/incremental.d.ts +110 -0
  108. package/dist/knowledge-graph/incremental.d.ts.map +1 -0
  109. package/dist/knowledge-graph/incremental.js +410 -0
  110. package/dist/knowledge-graph/incremental.js.map +1 -0
  111. package/dist/knowledge-graph/index.d.ts +74 -0
  112. package/dist/knowledge-graph/index.d.ts.map +1 -0
  113. package/dist/knowledge-graph/index.js +156 -0
  114. package/dist/knowledge-graph/index.js.map +1 -0
  115. package/dist/knowledge-graph/module-derivation.d.ts +238 -0
  116. package/dist/knowledge-graph/module-derivation.d.ts.map +1 -0
  117. package/dist/knowledge-graph/module-derivation.js +418 -0
  118. package/dist/knowledge-graph/module-derivation.js.map +1 -0
  119. package/dist/knowledge-graph/persistence.d.ts +270 -0
  120. package/dist/knowledge-graph/persistence.d.ts.map +1 -0
  121. package/dist/knowledge-graph/persistence.js +226 -0
  122. package/dist/knowledge-graph/persistence.js.map +1 -0
  123. package/dist/knowledge-graph/query-helpers.d.ts +164 -0
  124. package/dist/knowledge-graph/query-helpers.d.ts.map +1 -0
  125. package/dist/knowledge-graph/query-helpers.js +394 -0
  126. package/dist/knowledge-graph/query-helpers.js.map +1 -0
  127. package/dist/knowledge-graph/unified-graph.d.ts +310 -0
  128. package/dist/knowledge-graph/unified-graph.d.ts.map +1 -0
  129. package/dist/knowledge-graph/unified-graph.js +182 -0
  130. package/dist/knowledge-graph/unified-graph.js.map +1 -0
  131. package/dist/mcp/agent-context-tools.d.ts +104 -0
  132. package/dist/mcp/agent-context-tools.d.ts.map +1 -0
  133. package/dist/mcp/agent-context-tools.js +854 -0
  134. package/dist/mcp/agent-context-tools.js.map +1 -0
  135. package/dist/mcp/graph-tools.d.ts +20 -0
  136. package/dist/mcp/graph-tools.d.ts.map +1 -1
  137. package/dist/mcp/graph-tools.js +71 -11
  138. package/dist/mcp/graph-tools.js.map +1 -1
  139. package/dist/mcp/lib/response-helpers.d.ts +67 -0
  140. package/dist/mcp/lib/response-helpers.d.ts.map +1 -0
  141. package/dist/mcp/lib/response-helpers.js +103 -0
  142. package/dist/mcp/lib/response-helpers.js.map +1 -0
  143. package/dist/mcp/server.d.ts +3 -1
  144. package/dist/mcp/server.d.ts.map +1 -1
  145. package/dist/mcp/server.js +9 -10
  146. package/dist/mcp/server.js.map +1 -1
  147. package/dist/models/call-site.d.ts +68 -0
  148. package/dist/models/call-site.d.ts.map +1 -0
  149. package/dist/models/call-site.js +60 -0
  150. package/dist/models/call-site.js.map +1 -0
  151. package/dist/models/code-skeleton.d.ts +78 -6
  152. package/dist/models/code-skeleton.d.ts.map +1 -1
  153. package/dist/models/code-skeleton.js +29 -0
  154. package/dist/models/code-skeleton.js.map +1 -1
  155. package/dist/models/drift-item.d.ts +4 -4
  156. package/dist/models/module-spec.d.ts +155 -94
  157. package/dist/models/module-spec.d.ts.map +1 -1
  158. package/dist/panoramic/adr-decision-pipeline.d.ts +53 -0
  159. package/dist/panoramic/adr-decision-pipeline.d.ts.map +1 -0
  160. package/dist/panoramic/adr-decision-pipeline.js +685 -0
  161. package/dist/panoramic/adr-decision-pipeline.js.map +1 -0
  162. package/dist/panoramic/api-surface-generator.d.ts +56 -0
  163. package/dist/panoramic/api-surface-generator.d.ts.map +1 -0
  164. package/dist/panoramic/api-surface-generator.js +1671 -0
  165. package/dist/panoramic/api-surface-generator.js.map +1 -0
  166. package/dist/panoramic/architecture-ir-builder.d.ts +19 -0
  167. package/dist/panoramic/architecture-ir-builder.d.ts.map +1 -0
  168. package/dist/panoramic/architecture-ir-builder.js +561 -0
  169. package/dist/panoramic/architecture-ir-builder.js.map +1 -0
  170. package/dist/panoramic/architecture-ir-exporters.d.ts +7 -0
  171. package/dist/panoramic/architecture-ir-exporters.d.ts.map +1 -0
  172. package/dist/panoramic/architecture-ir-exporters.js +183 -0
  173. package/dist/panoramic/architecture-ir-exporters.js.map +1 -0
  174. package/dist/panoramic/architecture-ir-generator.d.ts +36 -0
  175. package/dist/panoramic/architecture-ir-generator.d.ts.map +1 -0
  176. package/dist/panoramic/architecture-ir-generator.js +51 -0
  177. package/dist/panoramic/architecture-ir-generator.js.map +1 -0
  178. package/dist/panoramic/architecture-ir-mermaid-adapter.d.ts +6 -0
  179. package/dist/panoramic/architecture-ir-mermaid-adapter.d.ts.map +1 -0
  180. package/dist/panoramic/architecture-ir-mermaid-adapter.js +98 -0
  181. package/dist/panoramic/architecture-ir-mermaid-adapter.js.map +1 -0
  182. package/dist/panoramic/architecture-ir-model.d.ts +87 -0
  183. package/dist/panoramic/architecture-ir-model.d.ts.map +1 -0
  184. package/dist/panoramic/architecture-ir-model.js +20 -0
  185. package/dist/panoramic/architecture-ir-model.js.map +1 -0
  186. package/dist/panoramic/architecture-narrative.d.ts +68 -0
  187. package/dist/panoramic/architecture-narrative.d.ts.map +1 -0
  188. package/dist/panoramic/architecture-narrative.js +401 -0
  189. package/dist/panoramic/architecture-narrative.js.map +1 -0
  190. package/dist/panoramic/architecture-overview-generator.d.ts +31 -0
  191. package/dist/panoramic/architecture-overview-generator.d.ts.map +1 -0
  192. package/dist/panoramic/architecture-overview-generator.js +454 -0
  193. package/dist/panoramic/architecture-overview-generator.js.map +1 -0
  194. package/dist/panoramic/architecture-overview-model.d.ts +77 -0
  195. package/dist/panoramic/architecture-overview-model.d.ts.map +1 -0
  196. package/dist/panoramic/architecture-overview-model.js +31 -0
  197. package/dist/panoramic/architecture-overview-model.js.map +1 -0
  198. package/dist/panoramic/batch-project-docs.d.ts.map +1 -1
  199. package/dist/panoramic/batch-project-docs.js +4 -2
  200. package/dist/panoramic/batch-project-docs.js.map +1 -1
  201. package/dist/panoramic/builders/component-view-builder.d.ts +25 -1
  202. package/dist/panoramic/builders/component-view-builder.d.ts.map +1 -1
  203. package/dist/panoramic/builders/component-view-builder.js +83 -3
  204. package/dist/panoramic/builders/component-view-builder.js.map +1 -1
  205. package/dist/panoramic/builders/doc-graph-builder.d.ts +2 -2
  206. package/dist/panoramic/builders/doc-graph-builder.d.ts.map +1 -1
  207. package/dist/panoramic/builders/doc-graph-builder.js.map +1 -1
  208. package/dist/panoramic/component-view-builder.d.ts +17 -0
  209. package/dist/panoramic/component-view-builder.d.ts.map +1 -0
  210. package/dist/panoramic/component-view-builder.js +652 -0
  211. package/dist/panoramic/component-view-builder.js.map +1 -0
  212. package/dist/panoramic/component-view-model.d.ts +127 -0
  213. package/dist/panoramic/component-view-model.d.ts.map +1 -0
  214. package/dist/panoramic/component-view-model.js +65 -0
  215. package/dist/panoramic/component-view-model.js.map +1 -0
  216. package/dist/panoramic/config-reference-generator.d.ts +78 -0
  217. package/dist/panoramic/config-reference-generator.d.ts.map +1 -0
  218. package/dist/panoramic/config-reference-generator.js +199 -0
  219. package/dist/panoramic/config-reference-generator.js.map +1 -0
  220. package/dist/panoramic/coverage-auditor.d.ts +95 -0
  221. package/dist/panoramic/coverage-auditor.d.ts.map +1 -0
  222. package/dist/panoramic/coverage-auditor.js +290 -0
  223. package/dist/panoramic/coverage-auditor.js.map +1 -0
  224. package/dist/panoramic/cross-package-analyzer.d.ts +112 -0
  225. package/dist/panoramic/cross-package-analyzer.d.ts.map +1 -0
  226. package/dist/panoramic/cross-package-analyzer.js +258 -0
  227. package/dist/panoramic/cross-package-analyzer.js.map +1 -0
  228. package/dist/panoramic/data-model-generator.d.ts +528 -0
  229. package/dist/panoramic/data-model-generator.d.ts.map +1 -0
  230. package/dist/panoramic/data-model-generator.js +647 -0
  231. package/dist/panoramic/data-model-generator.js.map +1 -0
  232. package/dist/panoramic/doc-graph-builder.d.ts +80 -0
  233. package/dist/panoramic/doc-graph-builder.d.ts.map +1 -0
  234. package/dist/panoramic/doc-graph-builder.js +352 -0
  235. package/dist/panoramic/doc-graph-builder.js.map +1 -0
  236. package/dist/panoramic/docs-bundle-manifest-reader.d.ts +26 -0
  237. package/dist/panoramic/docs-bundle-manifest-reader.d.ts.map +1 -0
  238. package/dist/panoramic/docs-bundle-manifest-reader.js +106 -0
  239. package/dist/panoramic/docs-bundle-manifest-reader.js.map +1 -0
  240. package/dist/panoramic/docs-bundle-orchestrator.d.ts +14 -0
  241. package/dist/panoramic/docs-bundle-orchestrator.d.ts.map +1 -0
  242. package/dist/panoramic/docs-bundle-orchestrator.js +538 -0
  243. package/dist/panoramic/docs-bundle-orchestrator.js.map +1 -0
  244. package/dist/panoramic/docs-bundle-profiles.d.ts +4 -0
  245. package/dist/panoramic/docs-bundle-profiles.d.ts.map +1 -0
  246. package/dist/panoramic/docs-bundle-profiles.js +82 -0
  247. package/dist/panoramic/docs-bundle-profiles.js.map +1 -0
  248. package/dist/panoramic/docs-bundle-types.d.ts +94 -0
  249. package/dist/panoramic/docs-bundle-types.d.ts.map +1 -0
  250. package/dist/panoramic/docs-bundle-types.js +10 -0
  251. package/dist/panoramic/docs-bundle-types.js.map +1 -0
  252. package/dist/panoramic/docs-quality-evaluator.d.ts +31 -0
  253. package/dist/panoramic/docs-quality-evaluator.d.ts.map +1 -0
  254. package/dist/panoramic/docs-quality-evaluator.js +941 -0
  255. package/dist/panoramic/docs-quality-evaluator.js.map +1 -0
  256. package/dist/panoramic/docs-quality-model.d.ts +125 -0
  257. package/dist/panoramic/docs-quality-model.d.ts.map +1 -0
  258. package/dist/panoramic/docs-quality-model.js +166 -0
  259. package/dist/panoramic/docs-quality-model.js.map +1 -0
  260. package/dist/panoramic/dynamic-scenarios-builder.d.ts +18 -0
  261. package/dist/panoramic/dynamic-scenarios-builder.d.ts.map +1 -0
  262. package/dist/panoramic/dynamic-scenarios-builder.js +316 -0
  263. package/dist/panoramic/dynamic-scenarios-builder.js.map +1 -0
  264. package/dist/panoramic/event-surface-generator.d.ts +52 -0
  265. package/dist/panoramic/event-surface-generator.d.ts.map +1 -0
  266. package/dist/panoramic/event-surface-generator.js +507 -0
  267. package/dist/panoramic/event-surface-generator.js.map +1 -0
  268. package/dist/panoramic/generator-registry.d.ts +1 -1
  269. package/dist/panoramic/generator-registry.d.ts.map +1 -1
  270. package/dist/panoramic/generator-registry.js +5 -2
  271. package/dist/panoramic/generator-registry.js.map +1 -1
  272. package/dist/panoramic/generators/cross-package-analyzer.d.ts +5 -5
  273. package/dist/panoramic/generators/cross-package-analyzer.d.ts.map +1 -1
  274. package/dist/panoramic/generators/cross-package-analyzer.js +1 -1
  275. package/dist/panoramic/generators/cross-package-analyzer.js.map +1 -1
  276. package/dist/panoramic/generators/data-model-generator.d.ts +27 -27
  277. package/dist/panoramic/graph/confidence-mapper.d.ts +18 -0
  278. package/dist/panoramic/graph/confidence-mapper.d.ts.map +1 -1
  279. package/dist/panoramic/graph/confidence-mapper.js +26 -0
  280. package/dist/panoramic/graph/confidence-mapper.js.map +1 -1
  281. package/dist/panoramic/graph/graph-builder.d.ts.map +1 -1
  282. package/dist/panoramic/graph/graph-builder.js +78 -0
  283. package/dist/panoramic/graph/graph-builder.js.map +1 -1
  284. package/dist/panoramic/graph/graph-paths.d.ts +8 -0
  285. package/dist/panoramic/graph/graph-paths.d.ts.map +1 -1
  286. package/dist/panoramic/graph/graph-paths.js +10 -0
  287. package/dist/panoramic/graph/graph-paths.js.map +1 -1
  288. package/dist/panoramic/graph/graph-query.d.ts +33 -2
  289. package/dist/panoramic/graph/graph-query.d.ts.map +1 -1
  290. package/dist/panoramic/graph/graph-query.js +69 -19
  291. package/dist/panoramic/graph/graph-query.js.map +1 -1
  292. package/dist/panoramic/graph/graph-types.d.ts +32 -3
  293. package/dist/panoramic/graph/graph-types.d.ts.map +1 -1
  294. package/dist/panoramic/hyperedges/schema.d.ts +6 -6
  295. package/dist/panoramic/interface-surface-generator.d.ts +50 -0
  296. package/dist/panoramic/interface-surface-generator.d.ts.map +1 -0
  297. package/dist/panoramic/interface-surface-generator.js +388 -0
  298. package/dist/panoramic/interface-surface-generator.js.map +1 -0
  299. package/dist/panoramic/interfaces.d.ts +2 -2
  300. package/dist/panoramic/mock-readme-generator.d.ts +90 -0
  301. package/dist/panoramic/mock-readme-generator.d.ts.map +1 -0
  302. package/dist/panoramic/mock-readme-generator.js +111 -0
  303. package/dist/panoramic/mock-readme-generator.js.map +1 -0
  304. package/dist/panoramic/models/component-view-model.d.ts +1 -1
  305. package/dist/panoramic/models/component-view-model.d.ts.map +1 -1
  306. package/dist/panoramic/models/component-view-model.js.map +1 -1
  307. package/dist/panoramic/narrative-provenance-adapter.d.ts +8 -0
  308. package/dist/panoramic/narrative-provenance-adapter.d.ts.map +1 -0
  309. package/dist/panoramic/narrative-provenance-adapter.js +99 -0
  310. package/dist/panoramic/narrative-provenance-adapter.js.map +1 -0
  311. package/dist/panoramic/parser-registry.d.ts +1 -1
  312. package/dist/panoramic/parser-registry.js +1 -1
  313. package/dist/panoramic/parsers/types.d.ts +6 -6
  314. package/dist/panoramic/pattern-hints-generator.d.ts +28 -0
  315. package/dist/panoramic/pattern-hints-generator.d.ts.map +1 -0
  316. package/dist/panoramic/pattern-hints-generator.js +218 -0
  317. package/dist/panoramic/pattern-hints-generator.js.map +1 -0
  318. package/dist/panoramic/pattern-hints-model.d.ts +89 -0
  319. package/dist/panoramic/pattern-hints-model.d.ts.map +1 -0
  320. package/dist/panoramic/pattern-hints-model.js +61 -0
  321. package/dist/panoramic/pattern-hints-model.js.map +1 -0
  322. package/dist/panoramic/pattern-knowledge-base.d.ts +31 -0
  323. package/dist/panoramic/pattern-knowledge-base.d.ts.map +1 -0
  324. package/dist/panoramic/pattern-knowledge-base.js +407 -0
  325. package/dist/panoramic/pattern-knowledge-base.js.map +1 -0
  326. package/dist/panoramic/pipelines/coverage-auditor.d.ts.map +1 -1
  327. package/dist/panoramic/pipelines/coverage-auditor.js +4 -2
  328. package/dist/panoramic/pipelines/coverage-auditor.js.map +1 -1
  329. package/dist/panoramic/pipelines/docs-bundle-orchestrator.js +13 -6
  330. package/dist/panoramic/pipelines/docs-bundle-orchestrator.js.map +1 -1
  331. package/dist/panoramic/pipelines/product-ux-docs.d.ts +5 -0
  332. package/dist/panoramic/pipelines/product-ux-docs.d.ts.map +1 -1
  333. package/dist/panoramic/pipelines/product-ux-docs.js +34 -6
  334. package/dist/panoramic/pipelines/product-ux-docs.js.map +1 -1
  335. package/dist/panoramic/product-ux-docs.d.ts +104 -0
  336. package/dist/panoramic/product-ux-docs.d.ts.map +1 -0
  337. package/dist/panoramic/product-ux-docs.js +817 -0
  338. package/dist/panoramic/product-ux-docs.js.map +1 -0
  339. package/dist/panoramic/qa/__tests__/citation.test.d.ts +2 -0
  340. package/dist/panoramic/qa/__tests__/citation.test.d.ts.map +1 -0
  341. package/dist/panoramic/qa/__tests__/citation.test.js +193 -0
  342. package/dist/panoramic/qa/__tests__/citation.test.js.map +1 -0
  343. package/dist/panoramic/qa/__tests__/debt-context.test.d.ts +2 -0
  344. package/dist/panoramic/qa/__tests__/debt-context.test.d.ts.map +1 -0
  345. package/dist/panoramic/qa/__tests__/debt-context.test.js +154 -0
  346. package/dist/panoramic/qa/__tests__/debt-context.test.js.map +1 -0
  347. package/dist/panoramic/qa/__tests__/graph-retriever.test.d.ts +2 -0
  348. package/dist/panoramic/qa/__tests__/graph-retriever.test.d.ts.map +1 -0
  349. package/dist/panoramic/qa/__tests__/graph-retriever.test.js +148 -0
  350. package/dist/panoramic/qa/__tests__/graph-retriever.test.js.map +1 -0
  351. package/dist/panoramic/qa/__tests__/index.test.d.ts +2 -0
  352. package/dist/panoramic/qa/__tests__/index.test.d.ts.map +1 -0
  353. package/dist/panoramic/qa/__tests__/index.test.js +246 -0
  354. package/dist/panoramic/qa/__tests__/index.test.js.map +1 -0
  355. package/dist/panoramic/qa/__tests__/llm-caller.test.d.ts +2 -0
  356. package/dist/panoramic/qa/__tests__/llm-caller.test.d.ts.map +1 -0
  357. package/dist/panoramic/qa/__tests__/llm-caller.test.js +168 -0
  358. package/dist/panoramic/qa/__tests__/llm-caller.test.js.map +1 -0
  359. package/dist/panoramic/qa/__tests__/prompt-builder.test.d.ts +2 -0
  360. package/dist/panoramic/qa/__tests__/prompt-builder.test.d.ts.map +1 -0
  361. package/dist/panoramic/qa/__tests__/prompt-builder.test.js +150 -0
  362. package/dist/panoramic/qa/__tests__/prompt-builder.test.js.map +1 -0
  363. package/dist/panoramic/qa/__tests__/qa-integration.test.d.ts +2 -0
  364. package/dist/panoramic/qa/__tests__/qa-integration.test.d.ts.map +1 -0
  365. package/dist/panoramic/qa/__tests__/qa-integration.test.js +296 -0
  366. package/dist/panoramic/qa/__tests__/qa-integration.test.js.map +1 -0
  367. package/dist/panoramic/qa/__tests__/rag-reranker.test.d.ts +2 -0
  368. package/dist/panoramic/qa/__tests__/rag-reranker.test.d.ts.map +1 -0
  369. package/dist/panoramic/qa/__tests__/rag-reranker.test.js +136 -0
  370. package/dist/panoramic/qa/__tests__/rag-reranker.test.js.map +1 -0
  371. package/dist/panoramic/qa/index.d.ts.map +1 -1
  372. package/dist/panoramic/qa/index.js +10 -3
  373. package/dist/panoramic/qa/index.js.map +1 -1
  374. package/dist/panoramic/runtime-topology-generator.d.ts +77 -0
  375. package/dist/panoramic/runtime-topology-generator.d.ts.map +1 -0
  376. package/dist/panoramic/runtime-topology-generator.js +676 -0
  377. package/dist/panoramic/runtime-topology-generator.js.map +1 -0
  378. package/dist/panoramic/runtime-topology-model.d.ts +145 -0
  379. package/dist/panoramic/runtime-topology-model.d.ts.map +1 -0
  380. package/dist/panoramic/runtime-topology-model.js +300 -0
  381. package/dist/panoramic/runtime-topology-model.js.map +1 -0
  382. package/dist/panoramic/troubleshooting-generator.d.ts +51 -0
  383. package/dist/panoramic/troubleshooting-generator.d.ts.map +1 -0
  384. package/dist/panoramic/troubleshooting-generator.js +451 -0
  385. package/dist/panoramic/troubleshooting-generator.js.map +1 -0
  386. package/dist/panoramic/utils/text-segmenter.d.ts +15 -0
  387. package/dist/panoramic/utils/text-segmenter.d.ts.map +1 -1
  388. package/dist/panoramic/utils/text-segmenter.js +38 -0
  389. package/dist/panoramic/utils/text-segmenter.js.map +1 -1
  390. package/dist/panoramic/workspace-index-generator.d.ts +148 -0
  391. package/dist/panoramic/workspace-index-generator.d.ts.map +1 -0
  392. package/dist/panoramic/workspace-index-generator.js +497 -0
  393. package/dist/panoramic/workspace-index-generator.js.map +1 -0
  394. package/dist/runtime-bootstrap.d.ts +9 -0
  395. package/dist/runtime-bootstrap.d.ts.map +1 -0
  396. package/dist/runtime-bootstrap.js +33 -0
  397. package/dist/runtime-bootstrap.js.map +1 -0
  398. package/dist/utils/file-scanner.js +1 -1
  399. package/dist/utils/file-scanner.js.map +1 -1
  400. package/package.json +12 -2
  401. package/plugins/spec-driver/.claude-plugin/plugin.json +1 -1
  402. package/plugins/spec-driver/README.md +18 -1
  403. package/plugins/spec-driver/agents/implement.md +20 -1
  404. package/plugins/spec-driver/agents/plan.md +20 -1
  405. package/plugins/spec-driver/agents/quality-review.md +20 -1
  406. package/plugins/spec-driver/agents/spec-review.md +20 -1
  407. package/plugins/spec-driver/agents/verify.md +20 -1
  408. package/plugins/spec-driver/docs/customization.md +134 -0
  409. package/plugins/spec-driver/docs/spectra-mcp-integration.md +165 -0
  410. package/plugins/spec-driver/lib/preference-rules.mjs +96 -0
  411. package/plugins/spec-driver/scripts/postinstall.sh +1 -1
  412. package/plugins/spec-driver/scripts/sync-preference-rules.mjs +148 -0
  413. package/plugins/spec-driver/skills/spec-driver-feature/SKILL.md +10 -0
  414. package/plugins/spec-driver/skills/spec-driver-fix/SKILL.md +10 -0
  415. package/plugins/spec-driver/skills/spec-driver-implement/SKILL.md +10 -0
  416. package/plugins/spec-driver/skills/spec-driver-refactor/SKILL.md +10 -0
  417. package/plugins/spec-driver/skills/spec-driver-story/SKILL.md +10 -0
  418. package/plugins/spec-driver/templates/preference-rules.md +39 -0
  419. package/plugins/spectra/.claude-plugin/plugin.json +1 -1
  420. package/plugins/spectra/README.md +48 -1
  421. package/plugins/spectra/hooks/post-commit.sh +40 -0
  422. package/templates/product-overview.hbs +1 -1
@@ -0,0 +1,273 @@
1
+ /**
2
+ * import-resolver.ts — TS/JS import specifier 解析(Feature 156 W1.0 / CRITICAL-1 关闭)
3
+ *
4
+ * 背景:
5
+ * ast-analyzer.ts:376 与 tree-sitter-fallback.ts / typescript-mapper.ts 在提取 import 时
6
+ * 把 `resolvedPath` 置为 null("不解析路径,性能优化")。删除 dependency-cruiser 后,
7
+ * knowledge-graph/index.ts 的 deriveImportEdges 跳过 `resolvedPath=null` 的 import,
8
+ * 导致 TS/JS depends-on 边数为 0。
9
+ *
10
+ * 本模块提供两个核心能力:
11
+ * 1. resolveTsJsImport — specifier → 绝对路径(无法解析返回 null)
12
+ * - 覆盖 4 类 import:static / dynamic / commonjs-require / type-only(路径解析逻辑相同)
13
+ * - 支持相对路径、扩展名补全、index.{ts,js} fallback、tsconfig path alias
14
+ * - node_modules / 外部包:返回 null(不解析外部依赖)
15
+ * 2. detectImportType — 从 ts-morph 节点派生 ImportType 字面量
16
+ * - 用于 CodeSkeleton.imports[].importType + ModuleEdge.importType
17
+ *
18
+ * 设计约束:
19
+ * - 不引入新 npm 依赖(仅用 node:fs / node:path)
20
+ * - 不抛异常(无法解析返回 null + 静默忽略)
21
+ * - 跨平台:path.resolve / path.posix 兼容 win32 + posix
22
+ */
23
+ import * as fs from 'node:fs';
24
+ import * as path from 'node:path';
25
+ import { Node, SyntaxKind } from 'ts-morph';
26
+ const DEFAULT_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs'];
27
+ const DEFAULT_INDEX_FILES = ['index.ts', 'index.tsx', 'index.js', 'index.jsx'];
28
+ /**
29
+ * Feature 156 W1.0 v2 / CRIT-1:TypeScript ESM 惯例下,`import './foo.js'` 实际指向 `./foo.ts`。
30
+ *
31
+ * 当 specifier 以 JS 扩展名结尾时,先尝试对应的 TS 扩展名候选;命中则返回,否则 fallback
32
+ * 到原扩展名继续走标准解析流程(保持非 TS 项目的兼容性)。
33
+ */
34
+ const ESM_TS_EXT_MAP = {
35
+ '.js': ['.ts', '.tsx'],
36
+ '.jsx': ['.tsx'],
37
+ '.mjs': ['.mts'],
38
+ '.cjs': ['.cts'],
39
+ };
40
+ // ───────────────────────────────────────────────────────────
41
+ // resolveTsJsImport — specifier → 绝对路径
42
+ // ───────────────────────────────────────────────────────────
43
+ /**
44
+ * 把 TS/JS import specifier 解析为绝对文件路径。
45
+ *
46
+ * 解析顺序:
47
+ * 1. node 内置模块(如 'fs')/ npm 包(不带相对前缀且无 alias 命中)→ null
48
+ * 2. tsconfig path alias 命中 → 替换前缀后按相对路径流程解析
49
+ * 3. 相对路径(`./xxx` / `../xxx` / `/xxx`)→ 基于 fromFile 拼接
50
+ *
51
+ * 文件存在性检查:
52
+ * - 直接命中(specifier 已含 .ts/.js 等扩展名)
53
+ * - 扩展名补全(依次尝试 options.extensions)
54
+ * - 目录 + index 文件 fallback(如果 specifier 指向目录)
55
+ *
56
+ * 失败时静默返回 null,不抛异常(FR-28 best-effort 语义)。
57
+ *
58
+ * @param specifier - import 字符串字面量(如 './foo')
59
+ * @param fromFile - 发起 import 的源文件绝对路径
60
+ * @param projectRoot - 项目根目录(用于 alias 相对路径解析;可为空字符串,alias 失效)
61
+ * @param options - 扩展名 / index 文件 / alias 配置
62
+ * @returns 解析到的绝对路径;外部模块或解析失败返回 null
63
+ */
64
+ export function resolveTsJsImport(specifier, fromFile, projectRoot, options) {
65
+ if (!specifier || typeof specifier !== 'string')
66
+ return null;
67
+ const extensions = options?.extensions ?? DEFAULT_EXTENSIONS;
68
+ const indexFiles = options?.indexFiles ?? DEFAULT_INDEX_FILES;
69
+ // 1. node 内置模块('fs', 'path', 'node:fs')→ null(不解析外部依赖)
70
+ if (specifier.startsWith('node:'))
71
+ return null;
72
+ // 2. 尝试 tsconfig path alias(多候选最长前缀匹配,CRIT-2 v2)
73
+ const aliasCandidates = resolveAliasCandidates(specifier, projectRoot, options?.pathAliases);
74
+ for (const cand of aliasCandidates) {
75
+ const hit = tryFilePathVariants(cand, extensions, indexFiles);
76
+ if (hit)
77
+ return hit;
78
+ }
79
+ // 3. 相对路径前缀('.', '..', '/')才进入文件系统解析
80
+ if (specifier.startsWith('.') || specifier.startsWith('/')) {
81
+ const fromDir = path.dirname(path.resolve(fromFile));
82
+ const baseSpecifier = path.resolve(fromDir, specifier);
83
+ return tryFilePathVariants(baseSpecifier, extensions, indexFiles);
84
+ }
85
+ // 4. baseUrl fallback(CRIT-2 v2):未命中 alias / 非相对路径,
86
+ // 若 baseUrl 提供,则按非相对 module 解析(baseUrl + specifier)
87
+ if (options?.baseUrl) {
88
+ const baseRel = path.resolve(options.baseUrl, specifier);
89
+ const hit = tryFilePathVariants(baseRel, extensions, indexFiles);
90
+ if (hit)
91
+ return hit;
92
+ }
93
+ // 5. 不带相对前缀、无 alias / baseUrl 命中:视为 npm 包 / 外部模块 → null
94
+ return null;
95
+ }
96
+ /**
97
+ * 尝试 alias 替换,返回所有候选绝对路径列表(CRIT-2 v2)。
98
+ *
99
+ * 改进:
100
+ * 1. 支持单值与多候选数组(`Record<string, string | readonly string[]>`)
101
+ * 2. 最长前缀匹配(`@app/utils/foo` 命中 `@app/utils/*` 优先于 `@app/*`)
102
+ * 3. 一个 alias 可对应多个目标,全部作为候选返回(调用方逐个 tryFilePathVariants)
103
+ *
104
+ * @returns 候选绝对路径列表(按优先级排序:最长前缀优先 + 配置顺序);未命中返回空数组
105
+ */
106
+ function resolveAliasCandidates(specifier, projectRoot, pathAliases) {
107
+ if (!pathAliases || !projectRoot)
108
+ return [];
109
+ // 收集所有命中的 alias,按 prefix 长度降序(最长前缀优先)
110
+ const matched = [];
111
+ for (const [aliasPattern, targetValue] of Object.entries(pathAliases)) {
112
+ const aliasPrefix = aliasPattern.replace(/\*$/, '');
113
+ if (!specifier.startsWith(aliasPrefix))
114
+ continue;
115
+ const remainder = specifier.slice(aliasPrefix.length);
116
+ const targets = Array.isArray(targetValue) ? targetValue : [targetValue];
117
+ matched.push({ prefixLen: aliasPrefix.length, remainder, targets });
118
+ }
119
+ if (matched.length === 0)
120
+ return [];
121
+ matched.sort((a, b) => b.prefixLen - a.prefixLen);
122
+ const candidates = [];
123
+ for (const m of matched) {
124
+ for (const target of m.targets) {
125
+ const targetPrefix = target.replace(/\*$/, '');
126
+ const joined = path.posix.join(targetPrefix, m.remainder);
127
+ // target 可能已是绝对路径(ts.parseJsonConfigFileContent 解析后);保留绝对路径不再 join projectRoot
128
+ candidates.push(path.isAbsolute(joined) ? joined : path.resolve(projectRoot, joined));
129
+ }
130
+ }
131
+ return candidates;
132
+ }
133
+ /**
134
+ * 给定一个 base 路径,依次尝试:
135
+ * 1. base 直接存在(含扩展名)
136
+ * 2. base + 扩展名(.ts, .tsx, .js, ...)
137
+ * 3. base / index.ts、base / index.js 等
138
+ */
139
+ function tryFilePathVariants(base, extensions, indexFiles) {
140
+ // CRIT-1:TS ESM 惯例 — 若 base 以 JS 扩展名结尾,先尝试 TS 候选(如 foo.js → foo.ts)
141
+ // 命中则直接返回;不命中再 fallback 到原 base 走后续标准解析流程
142
+ const sourceExt = path.extname(base);
143
+ const tsCandidatesExts = ESM_TS_EXT_MAP[sourceExt];
144
+ if (tsCandidatesExts) {
145
+ const baseWithoutExt = base.slice(0, -sourceExt.length);
146
+ for (const tsExt of tsCandidatesExts) {
147
+ const tsCandidate = baseWithoutExt + tsExt;
148
+ if (existsAndIsFile(tsCandidate))
149
+ return tsCandidate;
150
+ }
151
+ // TS 候选未命中:继续 fallback 到下方标准解析(直接命中 / 扩展名补全 / index)
152
+ }
153
+ // 1. 直接命中
154
+ if (existsAndIsFile(base))
155
+ return base;
156
+ // 2. 扩展名补全
157
+ for (const ext of extensions) {
158
+ const candidate = base + ext;
159
+ if (existsAndIsFile(candidate))
160
+ return candidate;
161
+ }
162
+ // 3. 目录 + index 文件
163
+ if (existsAndIsDir(base)) {
164
+ for (const idxFile of indexFiles) {
165
+ const candidate = path.join(base, idxFile);
166
+ if (existsAndIsFile(candidate))
167
+ return candidate;
168
+ }
169
+ }
170
+ return null;
171
+ }
172
+ function existsAndIsFile(p) {
173
+ try {
174
+ const st = fs.statSync(p);
175
+ return st.isFile();
176
+ }
177
+ catch {
178
+ return false;
179
+ }
180
+ }
181
+ function existsAndIsDir(p) {
182
+ try {
183
+ const st = fs.statSync(p);
184
+ return st.isDirectory();
185
+ }
186
+ catch {
187
+ return false;
188
+ }
189
+ }
190
+ // ───────────────────────────────────────────────────────────
191
+ // detectImportType — 从 ts-morph 节点派生 ImportType
192
+ // ───────────────────────────────────────────────────────────
193
+ /**
194
+ * 从 ts-morph 节点派生 ImportType 字面量(FR-28 / plan §2.5)。
195
+ *
196
+ * 判断规则:
197
+ * 1. 'type-only':ImportDeclaration 且 isTypeOnly()=true
198
+ * 2. 'dynamic':CallExpression 且 callee 为 import 关键字(SyntaxKind.ImportKeyword)
199
+ * 3. 'commonjs-require':CallExpression 且 callee 文本 = "require"
200
+ * 4. 'static':默认(标准 ImportDeclaration)
201
+ *
202
+ * 注:tree-sitter / 正则降级路径不调用此函数,由调用点直接根据 query 节点类型映射
203
+ * (tree-sitter typescript-mapper 仅处理 import_statement,importType 始终为 'static' 或 'type-only',
204
+ * 由 isTypeOnly 字段派生)。
205
+ */
206
+ export function detectImportType(node) {
207
+ if (Node.isImportDeclaration(node)) {
208
+ return detectImportDeclarationType(node);
209
+ }
210
+ if (Node.isCallExpression(node)) {
211
+ return detectCallExpressionImportType(node);
212
+ }
213
+ // 兜底:未识别节点视为 static(保持非破坏性行为)
214
+ return 'static';
215
+ }
216
+ function detectImportDeclarationType(decl) {
217
+ // (a) 顶层 `import type` 关键字
218
+ if (decl.isTypeOnly())
219
+ return 'type-only';
220
+ // WARN-1 修订:混合 import(含 default 或 namespace)即使 named import 全是 type-only,
221
+ // 也保留 'static' 语义 —— default / namespace 在运行时仍是值导入。
222
+ // 仅当 (a) 没有 default + 没有 namespace + (b) 有 named import 且全为 type-only 才归 type-only。
223
+ const hasDefaultImport = decl.getDefaultImport() != null;
224
+ const hasNamespaceImport = decl.getNamespaceImport() != null;
225
+ if (hasDefaultImport || hasNamespaceImport) {
226
+ return 'static';
227
+ }
228
+ const named = decl.getNamedImports();
229
+ if (named.length > 0 && named.every((n) => n.isTypeOnly())) {
230
+ return 'type-only';
231
+ }
232
+ return 'static';
233
+ }
234
+ function detectCallExpressionImportType(call) {
235
+ if (!Node.isCallExpression(call))
236
+ return 'static';
237
+ const expr = call.getExpression();
238
+ // 动态 import:callee 为 ImportKeyword
239
+ if (expr.getKind() === SyntaxKind.ImportKeyword)
240
+ return 'dynamic';
241
+ // CommonJS require:callee 为 Identifier("require")
242
+ if (Node.isIdentifier(expr) && expr.getText() === 'require')
243
+ return 'commonjs-require';
244
+ return 'static';
245
+ }
246
+ /**
247
+ * 给定一个文件的 imports 列表,逐项调用 resolveTsJsImport 填充 resolvedPath。
248
+ *
249
+ * 复用动机:ast-analyzer / tree-sitter-analyzer / tree-sitter-fallback 三处都需要
250
+ * 在 imports 收集完毕后批量 resolve;提取此 helper 避免重复实现。
251
+ *
252
+ * - importType 默认从 `isTypeOnly` 派生(type-only / static);ts-morph 路径可在调用前覆盖。
253
+ * - 仅处理 TS/JS 语言;其他语言(Python / Go / Java)应跳过此函数。
254
+ */
255
+ export function resolveImportsForFile(imports, fromFile, projectRoot, options) {
256
+ return imports.map((imp) => {
257
+ // 已 resolve 过则保留(如 ts-morph 路径已在 ast-analyzer 中显式调用)
258
+ const alreadyResolved = imp.resolvedPath != null && imp.resolvedPath !== '';
259
+ const resolvedPath = alreadyResolved
260
+ ? imp.resolvedPath
261
+ : resolveTsJsImport(imp.moduleSpecifier, fromFile, projectRoot, options);
262
+ // 如果未显式设置 importType,从 isTypeOnly 派生
263
+ const inferredImportType = imp.isTypeOnly ? 'type-only' : 'static';
264
+ return {
265
+ ...imp,
266
+ resolvedPath: resolvedPath ?? null,
267
+ // ImportReferenceSchema 已扩展 importType?: ImportType(v152 W1.0)
268
+ importType: imp.importType
269
+ ?? inferredImportType,
270
+ };
271
+ });
272
+ }
273
+ //# sourceMappingURL=import-resolver.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-resolver.js","sourceRoot":"","sources":["../../src/core/import-resolver.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CAAC;AACL,CAAC"}
@@ -3,9 +3,12 @@
3
3
  */
4
4
  import type Parser from 'web-tree-sitter';
5
5
  import type { ExportSymbol, ImportReference, ParseError, Language } from '../../models/code-skeleton.js';
6
+ import type { CallSite } from '../../models/call-site.js';
6
7
  export interface MapperOptions {
7
8
  /** 包含私有/非导出符号 */
8
9
  includePrivate?: boolean;
10
+ /** 抽取函数调用点(Feature 151,默认 false;仅 panoramic 流水线显式传 true) */
11
+ extractCallSites?: boolean;
9
12
  }
10
13
  export interface QueryMapper {
11
14
  /** 映射器对应的语言 */
@@ -18,5 +21,15 @@ export interface QueryMapper {
18
21
  extractParseErrors(tree: Parser.Tree): ParseError[];
19
22
  /** 提取模块级文档注释(可选,仅支持此概念的语言实现,如 Python) */
20
23
  extractModuleDoc?(tree: Parser.Tree): string | null;
24
+ /**
25
+ * 抽取函数调用点(Feature 151,可选;仅 PythonMapper 在 P1 阶段实现)。
26
+ *
27
+ * 实现要求:
28
+ * - 遍历 call / attribute / binary_operator / unary_operator / decorated_definition 等 AST 节点
29
+ * - 与 truth-set extractor (scripts/lib/python-call-extractor.py) 行为对齐(CL-04)
30
+ * - dynamic call (getattr / eval / 字符串拼接 attribute) 直接 skip 不输出(EC-12)
31
+ * - bare decorator (@staticmethod / @property) 不记录(CL-04)
32
+ */
33
+ extractCallSites?(tree: Parser.Tree, source: string): CallSite[];
21
34
  }
22
35
  //# sourceMappingURL=base-mapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-mapper.d.ts","sourceRoot":"","sources":["../../../src/core/query-mappers/base-mapper.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEzG,MAAM,WAAW,aAAa;IAC5B,iBAAiB;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED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,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,eAAe,EAAE,CAAC;IAErE,wBAAwB;IACxB,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,UAAU,EAAE,CAAC;IAEpD,yCAAyC;IACzC,gBAAgB,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IAEpD;;;;;;;;OAQG;IACH,gBAAgB,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAAC;CAClE"}
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import type Parser from 'web-tree-sitter';
6
6
  import type { ExportSymbol, ImportReference, ParseError, Language } from '../../models/code-skeleton.js';
7
+ import type { CallSite } from '../../models/call-site.js';
7
8
  import type { QueryMapper, MapperOptions } from './base-mapper.js';
8
9
  export declare class GoMapper implements QueryMapper {
9
10
  readonly language: Language;
@@ -42,5 +43,72 @@ export declare class GoMapper implements QueryMapper {
42
43
  private _extractImportSpec;
43
44
  /** 递归收集 AST 中的 ERROR 节点 */
44
45
  private _collectErrors;
46
+ /**
47
+ * 抽取 Go 函数调用点。
48
+ *
49
+ * 行为对齐:
50
+ * - scripts/lib/go-call-extractor.mjs 的 _classifyCallExpression / _scanImports / _resolveGoCaller
51
+ * - call-resolver 4-stage 决策表(spec.md FR-2 表格 11 行 short-circuit)
52
+ *
53
+ * Size guard:source.length > 1MB 时返回 [](与 PythonMapper.extractCallSites 一致)。
54
+ */
55
+ extractCallSites(tree: Parser.Tree, source: string): CallSite[];
56
+ /**
57
+ * FR-5: 扫描 source_file → import_declaration → import_spec 收集 alias 集合。
58
+ *
59
+ * 与 go-call-extractor.mjs `_scanImports` 行为完全一致:
60
+ * - 自定义 alias `import f "fmt"` → 记 alias `f`
61
+ * - 标准 import `import "fmt"` → 记 path 末段 `fmt`
62
+ * - dot import (name=dot) / blank import (name=blank_identifier) → skip(不入集合)
63
+ */
64
+ private _scanImports;
65
+ /** FR-5 辅助:从 import_spec 提取 alias 名(dot/blank 返回 null)。 */
66
+ private _extractAliasFromImportSpec;
67
+ /**
68
+ * FR-7: 从 method_declaration 的 receiver 字段递归提取 type 名。
69
+ *
70
+ * 支持形态:值 receiver / 指针 / 嵌套指针 / 泛型 / 泛型指针 / qualified type,
71
+ * 与 go-call-extractor.mjs `_extractReceiverTypeName` + `_extractTypeNameRecursive` 行为一致。
72
+ */
73
+ private _extractReceiverTypeName;
74
+ /** 递归从 type 节点中提取末段 type_identifier 名(值 type / pointer / generic / qualified)。 */
75
+ private _extractTypeNameRecursive;
76
+ /** FR-7: 从 method_declaration receiver 提取 var name(identifier 子节点;可能为 null)。 */
77
+ private _extractReceiverVarName;
78
+ /**
79
+ * FR-1, FR-7: 递归遍历 AST,对 call_expression 产 CallSite。
80
+ *
81
+ * 栈协议(try/finally 配对):
82
+ * - 进入 method_declaration → push `Type.method` + receiver var
83
+ * - 进入 function_declaration → push `funcName` + null
84
+ * - 进入 func_literal → push `<closure:line:col>` + null
85
+ * - 离开时 pop(finally 块保证)
86
+ */
87
+ private _walkCallSites;
88
+ /**
89
+ * FR-1, FR-2 (11 行分类表), FR-6: 处理单个 call_expression 节点。
90
+ *
91
+ * 路由顺序按 spec.md FR-2 表格行 #1 → #11 short-circuit 匹配,先匹配的形态先返回。
92
+ */
93
+ private _handleCall;
94
+ /**
95
+ * FR-2 行 #3, #4: 解开 parenthesized_expression 的 callee。
96
+ *
97
+ * 实测形态(与 go-call-extractor.mjs `_classifyCallExpression` 行 1.6 节段一致):
98
+ * - `(T)(nil)` → parenthesized(identifier "T") → free + "T"
99
+ * - `(*T)(nil)` → parenthesized(unary_expression("*", identifier "T")) → free + "T"
100
+ * - `(*pkg.T)(nil)` → parenthesized(unary_expression("*", selector(pkg, T))) → cross-module + "T" + qualifier "pkg"
101
+ */
102
+ private _classifyParenthesized;
103
+ /**
104
+ * FR-6: phantom call 检测。
105
+ *
106
+ * - funcNode 缺失 / hasError → phantom(skip 抽取)
107
+ * - sibling 含 ERROR/MISSING → phantom
108
+ * children 仍由 _walkCallSites 递归 walk(不会因 phantom skip 整个子树)。
109
+ */
110
+ private _isPhantomCall;
111
+ /** 构造单个 CallSite 记录。 */
112
+ private _mkCallSite;
45
113
  }
46
114
  //# sourceMappingURL=go-mapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"go-mapper.d.ts","sourceRoot":"","sources":["../../../src/core/query-mappers/go-mapper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EACV,YAAY,EAEZ,eAAe,EACf,UAAU,EAEV,QAAQ,EAET,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiEnE,qBAAa,QAAS,YAAW,WAAW;IAC1C,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAQ;IAEnC;;;OAGG;IACH,cAAc,CACZ,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,aAAkB,GAC1B,YAAY,EAAE;IA+EjB;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,eAAe,EAAE;IAiBrE;;OAEG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,UAAU,EAAE;IAUnD,eAAe;IACf,OAAO,CAAC,gBAAgB;IAwBxB,4BAA4B;IAC5B,OAAO,CAAC,cAAc;IAyCtB,4CAA4C;IAC5C,OAAO,CAAC,uBAAuB;IA4B/B,qBAAqB;IACrB,OAAO,CAAC,gBAAgB;IA8CxB,oBAAoB;IACpB,OAAO,CAAC,oBAAoB;IAiC5B,yBAAyB;IACzB,OAAO,CAAC,wBAAwB;IAqChC,6CAA6C;IAC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