@danypops/zodiac-lector
v0.0.10
Published
Package-owned Lector contribution for Zodiac workspace resources
Maintainers
Readme
@danypops/zodiac-lector
Package-owned Lector contribution for Zodiac. It registers only:
lector.workspace.openlector.file.openlector.file.savelector.search.textandlector.search.fileslector.symbol.hover,lector.symbol.definition, andlector.symbol.referenceslector.diagnostics.showlector.call-graph.prepare,lector.call-graph.incoming,lector.call-graph.outgoing, andlector.call-graph.reachablelector.git.status,lector.git.log,lector.git.diff, andlector.git.compare-symbol- the bounded
lector:workspace/tree/text/semantic/call-graph/Git resource provider
The contribution connects to an authenticated running Lector daemon. Workspace identity is explicit, file paths remain workspace-relative, and every resource read requires byte and entry bounds. Text projections expose Lector's host-neutral GuardedLiveBuffer; saves use the last observed content hash and preserve dirty local text when an external write makes that guard stale. Semantic projections preserve Lector provenance, explicit ready/degraded/stale states, and UTF-16 position semantics without exposing LSP wire types. Call-graph projections distinguish live code intelligence from the persisted symbol graph, use stable opaque node identities and openable declaration locations, and expose depth/node/edge/byte/deadline truncation. Read-only Git projections expose branch/status, bounded history, structured diff hunks, exact revisions, symbol comparisons, and openable working-tree locations; Lector owns Git parsing and typed non-repository, bad-revision, binary, detached, renamed, deleted, and truncated outcomes. It does not expose force-directed rendering, unbounded graphs, Git mutation, annotations, package-source, repository-cache, React, or shell behavior.
This PoC vendors the exact packed @zodiac/[email protected] artifact inside this package; it never depends on a machine-local absolute path.
