Referenced by2
Labels2

Referencing ideas

IdeaStatusTagsSummaryKatz
napi_module_barreldoneper [stack] `crates/reqlan-napi/src/lib.rs` is a barrel: it only declares modules and re-exports the napi items. Logic lives in one module per binding surface. Modules: `scan.rs` ( scanWorkspace task, createBase ), `analysis.rs` ( NativeAnalysisRuntime ), `sql_db.rs` ( NativeSqlDb ), `workspace_index.rs` ( NativeWorkspaceIndex ), `source.rs` ( parse / extract / local-symbolic source helpers ), `planner.rs` ( barrel / move / delete plan ), `util.rs` ( shared error mappers, wire-JSON helpers ). Invariants: the JS surface and generated napi `.d.ts` do not change; modules stay flat in `src/` so `rq:[...]` comment paths keep `../../../reqlan rq` depth; `rq:` doc comments move with their items; `@implementation` refs in ["../../reqlan rq"] point at the module that holds the item, not the barrel. New analysis bindings must follow ["../core_analysis/rope.rq".rope]: engine item in `reqlan-analytical`, `analysis.rs` binding, AnalysisApi facade, and cross-referenced tests.0.036
refactor_native_plannerdoneMove and delete edit plans are pure text in the parse crate. The host supplies source text, destination text, and extra file texts. It applies the returned edits and reindexes. The planner does not read the disk, the index, or a Langium document. [refactor_symbol_move] [refactor_symbol_delete]0.108

Reference labels

"../../../crates/reqlan-napi/src/planner.rs", "../../crates/reqlan-napi/src/planner.rs"