tunnel-observer
Reviewed
at commit b468b10
MIDDLEWARE TUNNEL stage 1: Observer: sees the call first, stamps t0, prints what enters
0 upvotes
Log in to upvote or save- Made by
- ucsandman
- Pinned commit
-
b468b10503c9104109141c45f93f4a373160d9d1 - What we checked
-
A small demo of stacked tool-call handlers: when a Bash command contains the word "tunnel", it writes a few log lines with the command start, the other handlers' timings and the total time. It changes nothing, reads no files, runs no programs and makes no network calls.
Review details
Static review of the source at the pinned commit; not run. Registers one handler, on('tool.call', { tool: 'Bash', command: /tunnel/i }), which stamps a start time, calls $.ui.log with the first 60 characters of the command, awaits next(e), then logs the pipeline trace (next.trace plugin names, tiers and milliseconds) and the elapsed time, and returns the result unchanged. It only fires for Bash commands matching /tunnel/i. No store, fs, process, env, network or model calls. It is stage 1 of a four-stage demo (observer, cost, policy, telemetry) meant to be loaded together.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: no
- 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
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/tunnel-observer/)