Claude Code session notifications with dashboard links #117
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#117
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Improve notifications from Claude Code sessions:
Intake: needs-input
1. Which push does iw-cli take over, and where does iw-cli send the notification?
The issue says "route notifications through iw-cli instead of direct push", but this machine has two different pushes.
~/.claude/settings.jsonsendspermission_promptnotifications to your phone throughmoshi-hook. Both Claude profiles runprocedures/.../agent-lifecycle-notify.sh, which POSTs lifecycle events to Gladys on:8888. The dashboard already shows "waiting on him" (slice 07, PR #447). So the remaining value must come from a push.Recommended: a) — it is the push that you see on the phone, so a link in it is most useful.
2. Does iw-cli only supply the hook command, or does iw-cli also write the Claude Code settings?
The hook wiring is in
~/.claude/settings.json,~/.claude-iw/settings.jsonand theproceduresrepo. All three are outside this repository. The slice 07 card makes writing outside the repo need your approval (map.md#L156-L170).iw notify) and documents the hook lines. You edit the settings files yourself.herdr integration install claude. This writes to your home directory.Recommended: a) — it changes least and writes nothing outside the repo.
3. Which dashboard address goes into the link?
The dashboard binds to
localhostand to one non-loopback address (thehostsfield of~/.local/share/iw/server/config.json). On a phone, alocalhostlink does not open.hosts. No new config. The link breaks if the order ofhostschanges.localhostonly. The link opens only on this machine.Recommended: b) — the link address is then a clear decision, and it does not depend on the bind order.
Answer in a comment on this issue, per number, for example "1: a", or in your own words; intake reads it on its next iteration.