@pi-harness/plugin-module-search
v0.1.33
Published
Find imports, exports, and declared symbols in bounded workspace source files without modifying them.
Downloads
898
Maintainers
Readme
@pi-harness/plugin-module-search
Module Search — Find imports, exports, and declared symbols in bounded workspace source files without modifying them.
Install
npm install --save-exact @pi-harness/plugin-module-searchEnable
Add the entry to the Cordis profile the harness starts from:
- id: module-search
name: "@pi-harness/plugin-module-search"
config: {}The Pi Harness plugin marketplace installs and enables this package for you; the steps above are the manual equivalent.
Native sessions
Searches use the active native session workspace, or the harness launch directory when no runtime exists. Session, manager, session ID, or cwd changes clear the last report. A pending search rejects on a session change or cancellation instead of returning or caching stale results; retained tools reject after plugin disposal. Bounded source reads observe cancellation between their open, metadata and 64 KiB chunk boundaries; an individual filesystem operation already in flight must settle first.
Incomplete results
Results are bounded by file, traversal, and match limits. When a limit truncates the scan or files are skipped (for example, oversized or unreadable sources), both the model-visible tool text and the web panel warn that additional matches may be missing. A zero-match partial scan does not prove a symbol is absent. Structured details retain the collected matches and scanned/skipped counts.
