Commit Graph

20 Commits

Author SHA1 Message Date
David Ibia d92041b6dd feat(tmux): ctrl+click a file path to open it by type
tmux-open-path takes the path under the mouse, strips :line:col, #L, @ and file:// decorations, and resolves it against the pane directory and then its git root. Markdown opens in Markdown Preview (added to Brewfile.apps), images, PDFs and directories in yazi, and everything else in nvim at the clicked line, both in a split beside the pane.
2026-10-10 22:12:36 +01:00
David Ibia 0ec56aa8c5 feat(omo): reset hand-set Ghostty tab titles when a tab gets focus
A tab renamed in Ghostty ignores the title tmux sends, so it stops
showing its session name. omo-status focus now clears that override
through Ghostty's set_tab_title action, finding the tab by its terminal
title, so every tab shows its tmux session again.
2026-10-08 15:07:03 +01:00
David Ibia 4290874f43 fix(omo): read the event from omo's UserPromptSubmit payload
omo names the event in "event" for UserPromptSubmit, without the
"hook_event_name" field its Stop and Notification payloads carry. The
script only read hook_event_name, so it ignored every prompt and the
blue working marker never showed. Read either field.
2026-10-07 21:28:32 +01:00
David Ibia 6fb7007ea9 feat(omo): coloured tab markers and clickable Ghostty banners
omo-notify now drives three signals from omo's UserPromptSubmit, Stop
and Notification hooks:

- A sound through afplay, so Focus modes cannot mute it
- A Ghostty notification (OSC 777) written to the session's tmux client
  terminal, so clicking it opens the tab it came from. This replaces the
  osascript banner, which opened Script Editor's file picker on click
- omo-status markers in front of the tab title: red error, amber
  waiting for input, green finished, blue working. A tab shows its most
  urgent agent; focusing it clears red, amber and green and selects the
  pane that sent the banner

tmux puts @omo_status in the title and runs omo-status on client focus.
2026-10-06 23:02:55 +01:00
David Ibia 81e5c6be67 feat(owt): add all and cd commands for workspaces across repos
- owt all lists the workspaces of every repo with their branch and
  source checkout, from any directory
- owt cd jumps into a workspace by name, repo/name or an fzf picker
  that starts filtered to the current repo
- An owt function in .zshrc performs the cd, since a script cannot
  change its parent shell's directory
2026-10-06 23:02:29 +01:00
David Ibia e7264987f4 feat(bin): add pbcopy/pbpaste shims for headless clipboard over OSC 52
Headless servers have no DISPLAY or WAYLAND_DISPLAY, so xclip and xsel
cannot reach a clipboard even when installed. These shims use OSC 52 to
hand text to the terminal emulator on the other end of the SSH connection,
which puts it on the local machine's clipboard.

Inside tmux, pbcopy uses `tmux load-buffer -w -` so the text lands in the
tmux paste buffer and is forwarded outward (requires `set-clipboard on`).
Outside tmux it writes the escape sequence to /dev/tty directly. Both fall
back to xclip/wl-copy when a real display is present.

pbpaste reads the tmux buffer only; terminals refuse OSC 52 reads, since
that would let any remote program siphon the user's clipboard.
2026-10-05 19:47:14 +01:00
David Ibia be1bae96ca feat(omo): add omo-notify macOS notification hook 2026-10-03 16:37:09 +01:00
David Ibia 6e2350dc66 feat(owt): share the main checkout's omo memory with workspaces
omo keys project memory by folder path, so each workspace started with an
empty store. owt new and owt open now link the workspace's memory id to the
main checkout's store, and owt done and owt rm remove the link.
2026-10-03 15:13:26 +01:00
David Ibia b11d1adcc5 feat(owt): add Conductor-style git worktree workspaces
owt new creates a randomly named workspace per task under ~/worktrees/<repo>,
copies .env files, installs dependencies and opens omo in a tmux window with
the workspace's Linear conventions. owt done checks merge state (git or a
merged Gitea PR via tea) before removing the worktree, branches and window.
2026-10-03 14:53:46 +01:00
David Ibia 74a718efa8 fix(docker-nuke): give accurate recovery advice when the daemon does not return
The failure path advised --deep and a disk-space check regardless of cause.
On the first live run that was wrong on both counts: 101 GiB were free and
--deep was irrelevant. Docker Desktop had crashed on startup, and the actual
fix was launching it from the Dock.

Branch the advice on whether any Docker process survived the relaunch. No
survivors means the app did not stay up, which no programmatic relaunch can
work around; survivors mean it is up but not answering yet.
2026-07-20 16:51:16 +01:00
David Ibia 7831f0c799 fix(docker-nuke): make dump failure non-fatal and surface failed kills 2026-07-20 02:40:47 +01:00
David Ibia 1b07307860 feat(docker-nuke): wire up main, dry-run mode, and docs 2026-07-20 01:56:07 +01:00
David Ibia ecd414362a feat(docker-nuke): add restart, daemon polling, and triage summary 2026-07-20 01:41:26 +01:00
David Ibia 252a356426 feat(docker-nuke): add three-stage kill escalation 2026-07-20 01:06:49 +01:00
David Ibia a49eb5adef feat(docker-nuke): add pre-kill diagnostic dump with retention 2026-07-20 00:15:45 +01:00
David Ibia 49380dc87d feat(docker-nuke): add timeout-bounded daemon health check 2026-07-19 23:22:03 +01:00
David Ibia ca256661b8 feat(docker-nuke): add self-excluding Docker process discovery 2026-07-19 23:10:37 +01:00
David Ibia 4e1e09559b feat(docker-nuke): add run_timeout helper with pure-bash fallback 2026-07-19 22:01:45 +01:00
David Ibia 36caeafd03 feat(docker-nuke): add script scaffold, arg parsing, and test harness 2026-07-19 21:49:14 +01:00
David Ibia e34f495368 feat(bin): add new scripts for managing Claude profiles and sessions. 2025-11-09 14:09:30 +01:00