aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3d90699..f3f7af0 100644
--- a/README.md
+++ b/README.md
@@ -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>