summon secrets. stay frosty.
Shell-first 1Password picker for tmux, tuned to behave better inside cmux.
It keeps the raw .sh shape from tmux-1password, but if it detects CMUX_WORKSPACE_ID and CMUX_SURFACE_ID it will:
- send the selected secret back through the active
cmuxsurface - set a sidebar status pill / progress hint when 1Password needs attention
- fire a
cmux notifywhen unlock/sign-in gets blocked
No Electron blob. No framework sermon. Just shell, fzf, op, and a keybind.
prefix + uopens the pickerEntersends the passwordCtrl+usends the OTP/TOTP- optional clipboard mode still works
- tmux path stays intact
set -g @plugin 'KyTiXo/cmux-1password'Reload TPM. Hit prefix + I. Carry on.
git clone https://github.com/KyTiXo/cmux-1password ~/.config/cmux-1passwordrun-shell ~/.config/cmux-1password/plugin.tmuxThen:
tmux source-file ~/.tmux.confset -g @1password-key 'u'
set -g @1password-account 'my'
set -g @1password-vault ''
set -g @1password-filter-tags ''
set -g @1password-copy-to-clipboard 'off'
set -g @1password-debug 'off'Inside a real cmux terminal, this repo treats:
CMUX_WORKSPACE_IDas the workspace booleanCMUX_SURFACE_IDas the secret send targetcmux set-status/cmux set-progressas the "hey idiot unlock 1Password" workspace flag
If 1Password blocks on sign-in or biometric unlock, the workspace can light up without leaking the secret itself.
Run this inside a cmux terminal:
./smoke-test.shWhat it does:
- pings
cmux - prints
identify/ current workspace state - creates a new left split
- renames the tab to
1Password Smoke - sets a status pill + progress bar
- sends a harmless notification
- dumps pane / surface / sidebar state so you can inspect the graph
Cleanup mode:
./smoke-test.sh --cleanup- no secret text is written to README-land logs
- selected item lookup uses item IDs, not title-grep roulette
- session token cache uses a private temp file, not a fixed world-readable path
Drop in a screenshot or clip later. Repo is staged for it.
MIT