diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-16 13:29:32 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-16 13:29:32 +0100 |
| commit | 63c676e60b21334a2d21329b0d409da7908ba560 (patch) | |
| tree | bafe15dcaae86c637e65cc85f5995749ed3774ac /README.md | |
| parent | ff52144a55d994c642930df3378bcdb7f299e98f (diff) | |
| download | agent-lamp-master.tar.gz agent-lamp-master.zip | |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -21,6 +21,17 @@ Turns an IKEA TRADFRI colour bulb into a notification light for coding agents. P agent-lamp --pair HOST CODE pair with the gateway agent-lamp --selftest +## Wiring + +- Claude Code: async hooks running `agent-lamp claude` on Notification, + PreToolUse (matcher `AskUserQuestion`), PostToolUse, Stop, StopFailure, + UserPromptSubmit and SessionEnd. +- opencode: `@mohak34/opencode-notifier` with `"command": {"path": + "notify-sound", "args": ["{event}", "{sessionID}"]}`; quickshell's + `notify-sound` forwards both arguments to `agent-lamp`. +- `agent-lamp reset` at logout, suspend and poweroff. +- `$XDG_RUNTIME_DIR/status.nolamp` holding `1` keeps the bulb dark. + ## License Copyright (C) 2026 Danilo M. <danix@danix.xyz> |
