Nesarf/mega-index-map
A cross-workspace library for dsh: agents record the files, tools, environments and work they meet into $DSH_HOME/library so any session can index, search and reuse them.
library_record stores an object and routes changes through verify/confirm, refusing changes to records classed as immutable until the user decides. library_index offers rebuild (dedupe, sort, report conflicts), a read-only two-way audit of a directory against the library, an indexing pass bounded by depth and an entry ceiling, a verify pass that re-fingerprints and reports unchanged/changed/gone/never-fingerprinted/unreadable separately, and a prune. Files above maxHashBytes are hashed by size plus head and tail slices and marked partial rather than passed off as a full digest. A drive root is refused outright — the library exists to replace whole-disk scans, not to become one.
Install
dsh plugin --profile web add github:Nesarf/mega-index-mapThe GitHub install line from the README (no npm publication is claimed there). The optional injectPrompt config prepends a short notice to each session's first user message and points at $DSH_HOME/mega-index-prompt.md, whose wording can be replaced wholesale if you want different guidance.
Compatibility
Every tool documents when it is the cheaper answer, which is the design premise: library_query before researching again, library_detect before hunting for a tool, library_sniff before opening a file to guess its type, library_index op=audit before walking a directory. Releases are PKCS#7-signed with a hash file and certificate, and the README is explicit that the mascot art is not covered by the MIT grant on the code.
Details
- Repo: Nesarf/mega-index-map
- Category: Memory
- Stars: 0
- Version: repo bundle; see signed releases
Alternatives
alcheme-labs/dsh-experience-map · Relistencode/dsh-recall · Roarpeng/GraphFlow