dependency-lens
Reviewed
at commit f7da140
Dependency Lens
0 upvotes
Log in to upvote or save- Made by
- YeonwooSung
- Pinned commit
-
f7da140f3fc63aa5c083f75cd48700517e882c68 - What we checked
-
Adds a /deps command that compares package.json and package-lock.json at a git ref (default HEAD) with the working copy and lists changed dependencies, install-script changes and lockfile differences. It reads those two files and runs read-only git commands in your project; it never installs anything and makes no network calls. It stores only the chosen base ref.
Review details
Static review of the source at the pinned commit; not run. Delta review of the changes since b375bb2; the rest carries over from the review at that commit. Registers session.start (registers the /deps command), command.run for /deps and tool.call. The tool.call handler is a pass-through: it checks 'observe' in Feature.prototype, which is false for this feature, so it returns next(e) without reading or storing anything. /deps runs only git (rev-parse --verify, ls-tree, show) through $.process.run with a 10 s timeout and the project as cwd; the base ref given to '/deps base <ref>' is validated by a regex that must start with an alphanumeric or underscore, so it cannot become a git option. Reads package.json and package-lock.json from the working directory with $.fs.read and compares them with the versions in the git object store. Output is passed through safeText (control-character stripping and best-effort secret redaction) and capped at 32 KiB. Persistent state is {base} via $.store.get/set. Failures are returned as text. No network, no model calls, no writes to files. Changes in this version: the store key is now the plugin name plus a non-cryptographic hash of the working directory and session id instead of the raw JSON, with a fallback read of the old key when it is short enough; version bump to 0.1.2. No new capability. The register.ts adapter is shared boilerplate across the author's mods and contains unused code for other features. npm dependencies: none.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
- Hooked events
- None listed
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/dependency-lens/)