Repository navigation
v1.2.1 — Python/Go imports resolve, trees released
Patch release closing the two gaps a review of v1.2.0 found — both verified against the code and reproduced before fixing.
Python/Go imports now resolve internally. v1.2.0 extracted Python and Go imports but left them external — and Python relative imports were worse than external: slash-based path logic mangled from .utils import helper into a bogus internal path (pkg/.utils) that matches no file. Now Python specifiers are kept verbatim at extraction and a dedicated resolution pass internalizes them through the package layout (leading dots as package levels, module.py / package/__init__.py candidates, absolute imports from the project root). Go imports prefixed by the go.mod module path resolve to the target package's first .go file. Knowledge Graph import edges — and the one-hop code excerpts built on them — now work for Python and Go like they already did for TS/JS.
Tree-sitter parses are released after extraction. Tree objects hold WASM-heap memory that a JS WeakMap cannot free; the scanner now releases each file's parse once its facts are extracted, so long-lived watch / mcp sessions no longer accumulate trees across rescans.
Tests: scanner 125 pass / 0 fail (3 new), all other suites green and in CI.
Install: npx devos-os@1.2.1 — npm: https://www.npmjs.com/package/devos-os