Expand description
omni-dev sessions — track the Claude Code sessions running across every
terminal and VS Code window, via the daemon’s sessions service.
The subcommands split by role:
listis a read client (likeomni-dev worktrees list): it asks the daemon’ssessionsservice for the live set and renders it.hookis the feed sink: Claude Code runs it per hook event; it reads the hook JSON on stdin, maps it to anobserve/endop, and fire-and-forgets it to the daemon socket. It must never block or fail a Claude turn — a missing daemon, a bad payload, or any other error is swallowed and it always exits 0.install-hooks/uninstall-hooksidempotently merge (or remove) the hook block in~/.claude/settings.json, preserving any hooks already there.install-wrapper/uninstall-wrapperare the same idea for Feed 4: they write the shim that VS Code’s Claude extension launchesomni-dev claude-wrapthrough, and point the extension’sclaudeCode.claudeProcessWrappersetting at it.
The register/heartbeat feed from the companion VS Code extension talks to the socket directly (like the worktrees companion), not through this CLI.
Structs§
- Hook
Command - The Claude Code hook sink: reads one hook event’s JSON on stdin and reports it to the daemon. Fire-and-forget and infallible-by-design.
- Install
Hooks Command - Installs the sessions-tracker hooks into
~/.claude/settings.json. - Install
Wrapper Command - Installs the
claude-wrapshim and points VS Code’s Claude extension at it. - List
Command - Lists the live cross-window set of running Claude sessions.
- Sessions
Command - Sessions: see the Claude Code sessions running across every terminal and VS Code window, kept live by the daemon.
- Uninstall
Hooks Command - Removes the sessions-tracker hooks from
~/.claude/settings.json. - Uninstall
Wrapper Command - Removes the wrapper setting and the shim it points at.
- Window
Command - Reports a window’s Claude embedding counts (the companion
windowfeed op). - Window
Unregister Command - Removes a window’s embedding report — the companion
window-unregisterfeed op made typed. Prints whether an entry was actually removed.
Enums§
- Sessions
Subcommands - Sessions subcommands.