log-viewer
Reviewed
at commit 39335b2
Show the last 60 lines of a small local log with an optional filter.
0 upvotes
Log in to upvote or save- Made by
- Yash Thakker
- Pinned commit
-
39335b2d1e5885573fabbb98ef2dd4c49f011f86 - What we checked
-
Adds a /log-viewer command that opens a pane showing the last 60 lines of a text file you name (default app.log, up to 256 KiB), optionally filtered by a search word. It reads only that file when you open or refresh it, makes no network calls, runs no programs and stores nothing.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (to register the log-viewer command), command.run (filtered to log-viewer) and ui.render for its own pane. Runtime calls: $.command.register, $.fs.stat, $.fs.read (read-only, size capped at 262144 bytes, path from the command argument or the pane input, rejected only when empty, starting with a dash or containing control characters), $.ui.open, $.ui.invalidate, $.ui.resolve. Filtering is a case-insensitive substring match in memory. Output is stripped of control characters and truncated to 9000 characters. Errors are caught and shown in the pane. No writes, no network, no process execution. No npm dependencies.
- 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: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: yes
- Hooked events
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/log-viewer/)