projmux 0.6.6 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-ko.md +36 -5
- package/README.md +40 -12
- package/docs/agent-workflow.md +24 -16
- package/docs/ai-agent-shortcuts.md +11 -6
- package/docs/architecture.md +4 -3
- package/docs/assets/projmux-ai-attention.gif +0 -0
- package/docs/assets/projmux-skill-workflow.gif +0 -0
- package/docs/cli.md +89 -41
- package/docs/configuration.md +51 -22
- package/docs/hooks.md +33 -0
- package/docs/install.md +8 -8
- package/docs/keybindings.md +59 -33
- package/docs/native-picker-no-fzf-poc.md +3 -2
- package/docs/native-picker-parity.md +6 -3
- package/docs/notify-queue.md +99 -26
- package/docs/session-restore.md +8 -4
- package/docs/settings-ia.md +17 -7
- package/docs/statusbar.md +34 -7
- package/docs/testing.md +10 -3
- package/docs/upgrading.md +10 -4
- package/docs/usage-tracking.md +42 -13
- package/package.json +5 -5
- package/docs/assets/projmux-shell-sidebar.gif +0 -0
- package/docs/readme-hero-gif-recording.md +0 -97
package/README-ko.md
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
<img src="docs/assets/projmux-icon.png" alt="projmux icon" width="112">
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
프로젝트별 tmux workspace를 빠르게 전환하고,
|
|
8
|
-
attention까지 함께 다루는 터미널
|
|
7
|
+
프로젝트별 tmux workspace를 빠르게 전환하고, Claude Code, Codex,
|
|
8
|
+
Antigravity pane의 preview/status context/attention까지 함께 다루는 터미널
|
|
9
|
+
workspace 도구입니다.
|
|
9
10
|
|
|
10
11
|
[](https://www.npmjs.com/package/projmux)
|
|
11
12
|
[](https://github.com/crevissepartners/projmux/actions/workflows/ci.yml)
|
|
@@ -15,7 +16,7 @@ attention까지 함께 다루는 터미널 workspace 도구입니다.
|
|
|
15
16
|
<p align="center">
|
|
16
17
|
<img src="docs/assets/projmux-ai-attention.gif" alt="projmux AI attention demo" width="820">
|
|
17
18
|
<br>
|
|
18
|
-
<em
|
|
19
|
+
<em>project를 오가며 AI permission 대기를 상태줄에서 확인하고, notification list에서 해당 pane으로 돌아갑니다.</em>
|
|
19
20
|
</p>
|
|
20
21
|
|
|
21
22
|
## 무엇인가
|
|
@@ -23,6 +24,8 @@ attention까지 함께 다루는 터미널 workspace 도구입니다.
|
|
|
23
24
|
`projmux`는 프로젝트 디렉터리를 오래 유지되는 tmux session으로 연결합니다.
|
|
24
25
|
프로젝트 전환, session preview, AI split 실행, tmux 안의 상태 표시를 한
|
|
25
26
|
키보드 중심 workspace 앱으로 묶습니다.
|
|
27
|
+
Claude Code와 Codex hook event를 직접 수집하고, 수동으로 연결한 Antigravity
|
|
28
|
+
hook/statusline event도 같은 notification 흐름으로 다룹니다.
|
|
26
29
|
|
|
27
30
|
터미널 workspace를 한 명령으로 열고, 한 세트의 키로 project/window/pane,
|
|
28
31
|
notification, settings 사이를 오가고 싶을 때 사용합니다.
|
|
@@ -59,7 +62,7 @@ projmux shell
|
|
|
59
62
|
|
|
60
63
|
- `Alt-1`: project sidebar.
|
|
61
64
|
- `Alt-2`: notification list.
|
|
62
|
-
- `Alt-3`:
|
|
65
|
+
- `Alt-3`: Recent Windows.
|
|
63
66
|
- `Alt-4`: AI split picker.
|
|
64
67
|
- `Alt-5`: settings.
|
|
65
68
|
- `Alt-6`: project switcher popup.
|
|
@@ -82,17 +85,45 @@ projmux shell
|
|
|
82
85
|
설정은 [Configuration](docs/configuration.md)을 참고하세요. installer별 update
|
|
83
86
|
동작은 [Upgrading](docs/upgrading.md)에 있습니다.
|
|
84
87
|
|
|
88
|
+
## 에이전트 스킬
|
|
89
|
+
|
|
90
|
+
projmux shortcut은 AI 도구의 user-level skill 또는 slash command로도 등록할
|
|
91
|
+
수 있습니다. 스킬은 같은 CLI contract를 감싸는 얇은 wrapper입니다:
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
projmux ai split --agent codex right
|
|
95
|
+
projmux ai split --agent claude down
|
|
96
|
+
projmux ai split --agent antigravity right
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
`/projmux:codex-right` 같은 Claude slash command를 등록한 뒤 prompt와 함께
|
|
100
|
+
실행시키면, Claude가 projmux command를 호출하고 현재 project에 붙은 managed
|
|
101
|
+
Codex pane이 새로 열립니다. prompt는 새 pane으로 바로 전달되고,
|
|
102
|
+
permission/completion hook event가 tmux 상태줄과 notification list에
|
|
103
|
+
표시됩니다.
|
|
104
|
+
Antigravity도 같은 managed split 경로로 실행되며, 수동 hook ingest와 session
|
|
105
|
+
resume 지원 범위는 CLI reference에 정리되어 있습니다.
|
|
106
|
+
|
|
107
|
+
설치 template과 naming convention은
|
|
108
|
+
[AI Agent Shortcuts](docs/ai-agent-shortcuts.md)에 정리되어 있습니다.
|
|
109
|
+
|
|
110
|
+
<p align="center">
|
|
111
|
+
<img src="docs/assets/projmux-skill-workflow.gif" alt="projmux skill workflow demo" width="820">
|
|
112
|
+
<br>
|
|
113
|
+
<em>Claude가 prompt와 함께 등록된 projmux skill을 호출해 managed Codex pane을 열고, Codex가 그 자리에서 응답합니다.</em>
|
|
114
|
+
</p>
|
|
115
|
+
|
|
85
116
|
## 추가 문서
|
|
86
117
|
|
|
87
118
|
- [Install](docs/install.md)
|
|
88
119
|
- [Configuration](docs/configuration.md)
|
|
89
120
|
- [Terminal Keybindings](docs/keybindings.md)
|
|
121
|
+
- [AI Agent Shortcuts](docs/ai-agent-shortcuts.md)
|
|
90
122
|
- [CLI Reference](docs/cli.md)
|
|
91
123
|
- [Statusbar](docs/statusbar.md)
|
|
92
124
|
- [Hooks](docs/hooks.md)
|
|
93
125
|
- [Usage tracking](docs/usage-tracking.md)
|
|
94
126
|
- [Agent Workflow](docs/agent-workflow.md)
|
|
95
|
-
- [README Hero GIF Recording](docs/readme-hero-gif-recording.md)
|
|
96
127
|
|
|
97
128
|
## 개발
|
|
98
129
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<strong>A tmux-native workspace for multi-agent AI development.</strong>
|
|
9
9
|
<br>
|
|
10
|
-
<em>
|
|
10
|
+
<em>Managed Claude Code, Codex, and Antigravity panes with hook-driven attention and agent-aware session resume.</em>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
13
|
<p align="center">
|
|
@@ -25,20 +25,20 @@ projmux shell
|
|
|
25
25
|
<p align="center">
|
|
26
26
|
<img src="docs/assets/projmux-ai-attention.gif" alt="projmux AI attention demo" width="820">
|
|
27
27
|
<br>
|
|
28
|
-
<em>
|
|
28
|
+
<em>Switch between projects while an AI pane waits for permission, then jump back from the tmux notification list.</em>
|
|
29
29
|
</p>
|
|
30
30
|
|
|
31
31
|
## Why
|
|
32
32
|
|
|
33
|
-
Six tmux windows. Each one is running Claude Code or
|
|
34
|
-
repo. Three are idle. One is waiting on a permission prompt. One
|
|
35
|
-
hour ago and you have no idea which.
|
|
33
|
+
Six tmux windows. Each one is running Claude Code, Codex, or Antigravity on a
|
|
34
|
+
different repo. Three are idle. One is waiting on a permission prompt. One
|
|
35
|
+
crashed an hour ago and you have no idea which.
|
|
36
36
|
|
|
37
|
-
projmux ingests Claude Code and Codex hook events directly,
|
|
38
|
-
per-pane state in the tmux
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
fresh one.
|
|
37
|
+
projmux ingests Claude Code and Codex hook events directly, accepts manually
|
|
38
|
+
wired Antigravity hook/statusline events, shows live per-pane state in the tmux
|
|
39
|
+
status bar, and lets one keystroke take you to the pane that actually needs
|
|
40
|
+
you. It also remembers each agent's resume id, so after a reboot every pane
|
|
41
|
+
comes back as the *same* conversation — not a fresh one.
|
|
42
42
|
|
|
43
43
|
## Requirements
|
|
44
44
|
|
|
@@ -71,7 +71,7 @@ Inside the app:
|
|
|
71
71
|
|
|
72
72
|
- `Alt-1` opens the project sidebar.
|
|
73
73
|
- `Alt-2` opens the notification list.
|
|
74
|
-
- `Alt-3` opens
|
|
74
|
+
- `Alt-3` opens Recent Windows.
|
|
75
75
|
- `Alt-4` opens the AI split picker.
|
|
76
76
|
- `Alt-5` opens settings.
|
|
77
77
|
|
|
@@ -94,6 +94,35 @@ For detailed configuration, including `PROJMUX_PROJDIR`, managed roots,
|
|
|
94
94
|
notifications, and usage tracking, see [Configuration](docs/configuration.md).
|
|
95
95
|
For update behavior by installer type, see [Upgrading](docs/upgrading.md).
|
|
96
96
|
|
|
97
|
+
## Agent Skills
|
|
98
|
+
|
|
99
|
+
projmux shortcuts can also live in your AI tool as user-level skills or slash
|
|
100
|
+
commands. A skill is just a thin wrapper around the same CLI contract:
|
|
101
|
+
|
|
102
|
+
```sh
|
|
103
|
+
projmux ai split --agent codex right
|
|
104
|
+
projmux ai split --agent claude down
|
|
105
|
+
projmux ai split --agent antigravity right
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
After registering a Claude slash command such as `/projmux:codex-right`, ask
|
|
109
|
+
Claude to use it with a prompt. Claude runs the projmux command, Codex opens in
|
|
110
|
+
a managed pane attached to the current project, and the prompt is delivered
|
|
111
|
+
there immediately.
|
|
112
|
+
projmux tracks hook events from the opened pane and shows permission or
|
|
113
|
+
completion notifications in tmux.
|
|
114
|
+
Antigravity uses the same managed split path, with manual hook ingest and
|
|
115
|
+
session resume support documented in the CLI reference.
|
|
116
|
+
|
|
117
|
+
Install templates and naming conventions are in
|
|
118
|
+
[AI Agent Shortcuts](docs/ai-agent-shortcuts.md).
|
|
119
|
+
|
|
120
|
+
<p align="center">
|
|
121
|
+
<img src="docs/assets/projmux-skill-workflow.gif" alt="projmux skill workflow demo" width="820">
|
|
122
|
+
<br>
|
|
123
|
+
<em>Claude invokes a registered projmux skill with a prompt, opens a managed Codex pane, and Codex answers there.</em>
|
|
124
|
+
</p>
|
|
125
|
+
|
|
97
126
|
## More Docs
|
|
98
127
|
|
|
99
128
|
- [Install](docs/install.md)
|
|
@@ -105,7 +134,6 @@ For update behavior by installer type, see [Upgrading](docs/upgrading.md).
|
|
|
105
134
|
- [Hooks](docs/hooks.md)
|
|
106
135
|
- [Usage tracking](docs/usage-tracking.md)
|
|
107
136
|
- [Agent Workflow](docs/agent-workflow.md)
|
|
108
|
-
- [README Hero GIF Recording](docs/readme-hero-gif-recording.md)
|
|
109
137
|
|
|
110
138
|
## Development
|
|
111
139
|
|
package/docs/agent-workflow.md
CHANGED
|
@@ -29,18 +29,22 @@
|
|
|
29
29
|
- `make fmt`: repository formatting for Go, shell snippets, and generated docs where applicable.
|
|
30
30
|
- `make fix`: safe automatic fixes such as `go fix` and repository-approved cleanup steps.
|
|
31
31
|
- `make npm-pack`: local npm binary package staging and `npm pack --dry-run` for the root package plus platform packages.
|
|
32
|
-
- `make test`: fast unit coverage for app-layer AI split native agent launch/selective popup-toggle/settings/status/notification parity including AI pane option metadata, watcher metadata bootstrap for existing panes, capture-backed reply detection, missing-pane watcher shutdown, armed focus-only reply badge clearing, busy attention preservation on focus clear, manual AI topic preservation while watcher status still updates, agent-labeled desktop notification message context with pane-title-first body text, global/project-local lifecycle hook dispatch for post-create/pre-create/post-attach/send-noti with project hook and `.projmux/config.toml` trust-store hashing plus env/settings kill-switch gating, declarative startup command and hook run coverage, `send-noti` stdin JSON delivery plus `PROJMUX_NOTIFY_*` env payload, notify queue write success/failure/depth-guard dispatch rules, notify/statusbar/sidebar origin-client focus routing, project config env/kube session environment application, Settings project config env/kube/startup form writes with trust-store refresh and preserved hook commands, startup command send-keys orchestration plus startup pane replay markers, pre-create abort behavior, and shared projmux notification icon paths, and scoped even row/column resizing after shell and agent splits, status-bar git/kube segment parity including muted git branch block styling and compact dirty/staged/ahead/behind state colors, statusbar pwd display-only native-framed path popup with shared popup-wait-key/no-extra-payload-line command coverage, no clipboard or tmux buffer copy, and popup-wait-key cursor/raw-mode restore coverage, statusbar usage native HUD popup alignment/height-budget/threshold palette/muted sync-staleness/fallback coverage without raw CLI popup or popup-toggle stacking, statusbar settings click popup fallback and settings chip right-edge rendering without default trailing space, popup-toggle stale marker recovery, isolated `projmux shell` tmux app launch/config generation including home fallback plus project-context default session targeting from `PROJMUX_CWD` or nearest project marker, app-owned project-name statusbar layout, distinct project badge color, and quiet debounced session-state autosave command/app-config trigger,
|
|
33
|
-
- `make test` also covers Settings > AI Settings > Enabled agents Phase 0 config behavior: missing config enables Claude and
|
|
34
|
-
- `make test` also covers
|
|
32
|
+
- `make test`: fast unit coverage for app-layer AI split native agent launch/selective popup-toggle/settings/status/notification parity including AI pane option metadata, watcher metadata bootstrap for existing panes, capture-backed reply detection, missing-pane watcher shutdown, armed focus-only reply badge clearing, busy attention preservation on focus clear, manual AI topic preservation while watcher status still updates, agent-labeled desktop notification message context with pane-title-first body text, global/project-local lifecycle hook dispatch for post-create/pre-create/post-attach/send-noti with project hook and `.projmux/config.toml` trust-store hashing plus env/settings kill-switch gating, declarative startup command and hook run coverage, `send-noti` stdin JSON delivery plus `PROJMUX_NOTIFY_*` env payload, notify queue write success/failure/depth-guard dispatch rules, notify/statusbar/sidebar origin-client focus routing, project config env/kube session environment application, Settings project config env/kube/startup form writes with trust-store refresh and preserved hook commands, startup command send-keys orchestration plus startup pane replay markers, pre-create abort behavior, and shared projmux notification icon paths, and scoped even row/column resizing after shell and agent splits, status-bar git/kube segment parity including muted git branch block styling and compact dirty/staged/ahead/behind state colors, statusbar pwd display-only native-framed path popup with shared popup-wait-key/no-extra-payload-line command coverage, no clipboard or tmux buffer copy, and popup-wait-key cursor/raw-mode restore coverage, statusbar usage native HUD popup alignment/height-budget/threshold palette/muted sync-staleness/fallback coverage without raw CLI popup or popup-toggle stacking, statusbar settings click popup fallback and settings chip right-edge rendering without default trailing space, popup-toggle stale marker recovery, isolated `projmux shell` tmux app launch/config generation including home fallback plus project-context default session targeting from `PROJMUX_CWD` or nearest project marker, app-owned project-name statusbar layout, distinct project badge color, and quiet debounced session-state autosave command/app-config trigger, shell-entry welcome release prompt and inline update handling, shell update skip-by-latest-tag behavior plus best-effort stale-cache refresh, pane/window keybindings, keymap.toml tmux override rendering/stale unbinds including retired direct/UserKey cleanup, Settings Keybindings root/list/detail capture flows including parse-error rows, unsafe raw capture and timeout guards, disable/reset writes, app config regeneration, live tmux source-file reload, and no-live-tmux save behavior, window rename bindings, pane rename helper/binding, pane-exit rebalance command/hooks, hook-pane and after-select-pane based attention focus hooks, attention badge toggle/clear/list/window rendering, attach/current/kill/pin/preview/prune/sessions/session-popup/settings commands, switch, tag, tmux helper commands, update status/check/apply cache and installer detection including GitHub Release binary asset selection/extraction/replacement, doctor install-missing command selection, AI notify integration diagnostics, and Session State resume metadata diagnostics, Settings AI notify integration diagnostics read-only status/conflict/CLI guidance, and Settings About update status/check action wiring, untitled standalone popup-toggle marker close/config install, direct popup minimum sizing, AI picker minimum width and height, sidebar minimum width and compact badge spacing, preview select writes, popup render output after cycling, switch picker pin action behavior without inline settings rows, nested settings hub sections for AI defaults, project picker filesystem scan/pin actions, Project Root settings source/shadowing/set/current/clear flows, app/keybinding info including Ctrl-M rename forwarding, and About version/source rendering, switch picker focused-session kill, switch picker launcher-key abort bindings, switch explicit project-root, unconfigured-root, and weak managed-root heuristic parity, switch popup hiding new-session candidates while sidebar keeps create-capable rows, switch row project-name display with `~` pinned to the top and live-session-first sorting, pretty-path, preview-context including kube context/namespace, switch settings subcommand flows including add-current-pin, interactive add-pin picker, and settings label/preview polish including Phase 2 Settings/hookmaker/project-startup/trust/quit destructive row color regression strings, native preview wiring, baseline picker surface parity including prompt/footer/header fallback without app-name filler and search-key scoped card matching, sidebar compact action-only key footer, sidebar preview-window/start-position behavior without focus-time session switching, sidebar row/window ANSI styling with pane-aggregated attention badge state and AI topic labels, Alt+2/Alt+3 legacy popup row, preview-window, pane metadata, and pane-snapshot parity, switch read0 card rows with active/inactive title styling, right-side status badges, combined directory/git metadata with muted inactive branch styling, statusbar-matched block window tabs with window attention badges, read0 expect-key action parsing, restored pin/tag card badges, and restrained selected-row marker styling, switch preview metadata without duplicated directory/git rows, preview metadata rendering, popup pane display names for AI agents, AI topics, and shell commands, switch preview cycle bindings, sessions picker preview/cycle/open/kill wiring including attached-session fallback behavior, sessions picker launcher-key abort bindings, popup/switch preview summary formatting, popup sessions tmux entry helpers, switch/popup/session rendering, session identity, session-state Claude/Codex/Antigravity resume and declarative startup replay, session snapshot capture/autosave recipe classification including save/autosave pre-capture resume metadata refresh from live AI session ids including Antigravity conversation ids, Claude transcript paths, and Codex rollout log cwd matching/ambiguity skips, candidate discovery, config path derivation, popup preview read-models, and pure state rules including preview, tag, and lifecycle stores.
|
|
33
|
+
- `make test` also covers Settings > AI Settings > Enabled agents Phase 0 config behavior: missing config enables Claude, Codex, and Antigravity, unknown saved provider names are ignored without disabling known providers, Settings toggles persist Claude/Codex/Antigravity only, shell/selective are absent from enabled-agent rows, and a saved default split mode warns when its provider is disabled.
|
|
34
|
+
- `make test` also covers native Alt-1 sidebar `Sidebar:KillSession` mutable refresh: the action kills through the focused-session safety path, keeps the native picker session open, refreshes rows and preview with `picker.Action.Mutate`/`DeferredUpdate`, and preserves the previous-live-session guard.
|
|
35
|
+
- `make test` also covers Notify sidebar pane-grouped read-model rows and interactions: collapsed pane inbox group construction, fixed three-line group cards with stable project/provider, topic/context, aggregate metadata, and latest-preview slots including topic-with-project cases, child-count badges that match expandable child rows without rendering `+0`, childless group headers without strong fold affordance, selected/expanded marker-only row shape changes, duplicate label/preview reduction, worst-severity aggregation, inactive/gone group display and child-count rendering, pane-less fallback grouping, compact newest-first child event rows with warn/critical severity preservation, Right/Left fold mutation plus childless Right no-op refresh, folded and expanded live group Enter focus+ack with mixed-severity critical rows, inactive-but-routable group Enter focus+ack, gone group Enter cleanup without focus including critical rows, target-gone race cleanup, transient focus-failure no-ack refresh, child Enter focus/ack preservation, explicit group acknowledgement including mixed-severity critical rows, and grouped deferred refresh output with expanded-state pruning.
|
|
36
|
+
- `make test` also covers the AI provider metadata registry for Claude/Codex/Antigravity launch providers: registry-derived enabled-agent defaults and ordering, Settings enabled-agent rows, AI picker visibility for disabled providers, ambient usage model scope derivation for quota-supported providers, hook diagnostic provider metadata, Antigravity session-state support metadata, and explicit diagnostics for disabled providers without adding unsupported quota adapters.
|
|
37
|
+
- `make test` also covers usage HUD/all-model filtering from Settings > AI Settings > Enabled agents: ambient `status usage` and `usage --model all` scope collection/rendering to enabled Claude/Codex providers, all-disabled all-model output shows a Settings fallback without refreshing adapters, disabled cached rows/backoff do not leak into ambient output, and explicit `usage --model claude|codex` still collects/renders the requested provider even when disabled.
|
|
38
|
+
- `make test` also covers AI semantic badge renderer aggregation for window-list, sidebar rows, switch window tabs, popup pane summaries, and pane-border topic badges using prompt-required > response-complete > in-progress priority while preserving blank no-state lanes, response-complete live badge consume on attention clear without idling action-required/progress badges, plus Settings > Appearance AI badge style selection for dot/emoji/off pane-border, Alt-1 sidebar window/preview tabs, and tmux window-status compatibility with dot as the persisted/config fallback.
|
|
35
39
|
- `make test` also covers AI semantic badge Phase 3 theme-role hardening: `@projmux_ai_badge_kind` storage values and aggregate priority stay unchanged, `minimal` remains a read-time alias for the `off` badge style, progress/success/action-required badge roles stay distinct, permission/input status badges do not use critical red, and critical notify queue severity does not drive live AI status badge colors or desktop notification urgency.
|
|
36
|
-
- `make test` also covers keybinding surface tier catalog rules, action-centered `keymap.toml` `keys = [...]` multi-alias parsing/writing, quoted internal `Surface:Action` tables, legacy popup action ID aliases, canonical popup toggle names, generated tmux config multi-alias rendering, global/direct conflict detection, surface-scoped native picker command conflict detection, Settings Keybindings list/search/detail surface-aware picker-local labels,
|
|
37
|
-
- `make test` also covers welcome revisit policy:
|
|
40
|
+
- `make test` also covers keybinding surface tier catalog rules, action-centered `keymap.toml` `keys = [...]` multi-alias parsing/writing, quoted internal `Surface:Action` tables, legacy popup action ID aliases, canonical popup toggle names, AI split popup-vs-direct action labels, generated tmux config multi-alias rendering, global/direct conflict detection, surface-scoped native picker command conflict detection, Settings Keybindings list/search/detail surface-aware picker-local labels, compact action-list state copy, flat Keys list/action detail rows, key detail remove/test rows, Add key default press-key flow with Advanced typed entry, collapsed Troubleshooting entry copy, Labs compatibility redirect to the Keybindings root, capture/add-key flows, unsafe raw capture, reset behavior, stale guide docs guards, and welcome/runtime footer copy that avoids hardcoded launch-key guides.
|
|
41
|
+
- `make test` also covers welcome revisit policy: legacy welcome state remains readable without suppressing shell entry, Enter continues without storing release skip, `s` stores an update skip for the current latest tag when an update is available, source installs show disabled Upgrade guidance, stale update cache refresh is best-effort, Settings > About > Welcome opens a Settings-native viewer without pending state, and shell prompt display does not schedule a redundant attach popup.
|
|
38
42
|
- `make test` also covers transport-dependent app tmux defaults for pane/window navigation (`M-Left`/`M-Right`/`M-Up`/`M-Down` and `M-S-Left`/`M-S-Right`) while keeping visible default chords, allowing additive safe plain aliases that do not store or remove the transport defaults, and no UserKey/CSI-u generated fallback.
|
|
39
|
-
- `make test` also covers direct `projmux ai split --agent <claude|codex|shell|selective>` launches, enabled-agent gating for disabled direct launches and disabled saved defaults, `--force-agent` as an explicit direct CLI-only override, selective picker filtering with all-disabled shell fallback guidance, config-default preservation, extra args appended to resolved agent executables, managed pane metadata, title watcher startup, layout application, plain shell split behavior, selective picker delegation,
|
|
43
|
+
- `make test` also covers direct `projmux ai split --agent <claude|codex|antigravity|shell|selective>` launches, enabled-agent gating for disabled direct launches and disabled saved defaults, `--force-agent` as an explicit direct CLI-only override, selective picker filtering with all-disabled shell fallback guidance, config-default preservation, extra args appended to resolved agent executables, managed pane metadata, title watcher startup, layout application, plain shell split behavior, selective picker delegation, invalid direct-agent usage errors, and regressions that direct concrete-agent and saved-default splits create a new pane without probing existing AI pane metadata or selecting an existing pane, including when launched from the current AI pane.
|
|
40
44
|
- `make test` also covers Settings IA regression guards for `send-noti` visibility in Hooks, no nested Project recipe inside Hooks, Project recipe/AI/Labs view-first detail rows, Appearance Path/Git/Notify icon direct off/symbol/emoji preview selection with no Change page, Notifications root/Desktop notifications/Delivery sources relocation, localized Korean Desktop notifications root/detail chrome without visible English residue, Delivery sources command-row clipboard copy, and Labs Project Hooks overview-first rows.
|
|
41
45
|
- `make test` also covers AI desktop notification dedupe precedence (env override > Settings saved value > default), Desktop notifications mode persistence through `desktop-notify-mode`, saved-config precedence over live tmux options, `projmux tmux apply` regeneration of `@projmux_desktop_notify_mode`, configured dedupe-window collapse/send behavior, Settings > Notifications AI dedupe preset/custom rows, explicit notify focus consume rules for selected critical rows and older same-pane non-critical AI cleanup, preservation of critical/permission/stop-failure/external/git/k8s rows during bulk cleanup, OS Toast click-to-focus queue consume, WSL Toast protocol handler hidden-launcher registration with `wsl.exe --exec` URI forwarding, and attention clear paths that do not ack the queue.
|
|
42
46
|
- `make test` also covers AI hook runtime action precedence over catalog defaults, runtime quiet for known Codex notify events, runtime notify for known Claude quiet events, generic in-app-only notify rows for known Codex hook events without specialized handlers, suppression of desktop notification and `send-noti` dispatch on that generic path, separation of runtime hook action from catalog install events, Settings > Notifications hook quiet policy display/write behavior without external install/remove execution, hook desktop notification payload parity with the in-app queue text across the shared OS notification payload, normal/transient OS urgency and expiration for critical AI queue rows, and dormant title/capture fallback gating once a pane is hook-active.
|
|
43
|
-
- `make test` also covers Settings > Session State as global settings-only UI with default-off auto-save and no window/pane tree, Settings > Project > Session State project-derived identity plus project auto-save override/effective source rows and distinct Save latest snapshot / Save named snapshot labels, closed-project save disabled reasons, named snapshot portable path conversion, project/global auto-save precedence, Projects > Sessions > State read-only latest/named snapshot overview with window/pane cwd/recipe/agent-resume health, user-facing `projmux session-state` status/save/delete/restore dry-run actions including explicit manual save bypass of disabled autosave and agent resume status/confidence preview, and Project open sidebar startup coverage for
|
|
47
|
+
- `make test` also covers Settings > Session State as global settings-only UI with default-off auto-save, Sidebar startup picker relocation/compatibility, and no window/pane tree, Settings > Project > Session State project-derived identity plus project auto-save override/effective source rows and distinct Save latest snapshot / Save named snapshot labels, closed-project save disabled reasons, named snapshot portable path conversion, project/global auto-save precedence, Projects > Sessions > State read-only latest/named snapshot overview with window/pane cwd/recipe/agent-resume health, user-facing `projmux session-state` status/save/delete/restore dry-run actions including explicit manual save bypass of disabled autosave and agent resume status/confidence preview, and Project open sidebar startup coverage for Session State opt-in `Start project`, default-off empty creation, Latest snapshot, Named snapshot, Empty session, Back, saved-at row metadata, existing-session skip, startup-before-trust ordering, detached sidebar open continuation before client-scoped separate trust popup handoff without sidebar inline trust UI, trust approve continuation, and trust deny/cancel no-session sidebar refresh behavior.
|
|
44
48
|
- `make test` also covers `projmux shell` usage without startup selector flags, project-context default target lookup from `PROJMUX_CWD` or nearest project marker, explicit `--session` separation from project-derived defaults, and direct empty attach behavior without shell startup picker/replay.
|
|
45
49
|
- `make test` also covers app tmux naming metadata policy: pane border and automatic window rename share the visible pane label expression, AI topic panes feed window tab labels through `@projmux_ai_topic`, shell panes prefer the visible shell command label such as `zsh`, and `projmux shell` disables program-driven window renames while keeping automatic rename enabled.
|
|
46
50
|
- `make test` also covers manual Session State Save snapshot and restore dry-run preview actions, title-first pane preview labels with legacy snapshot fallback, missing-snapshot messaging, and the absence of the removed statusbar State shortcut.
|
|
@@ -59,20 +63,24 @@
|
|
|
59
63
|
- `make test` also covers the Globalization Phase 6 governance guard: Go string-literal audit classification for hardcoded Korean candidates, English user-facing candidates, and ignored literal/data/debug examples; no unapproved runtime Korean literals outside catalog/formatter/test fixtures; `en-US` coverage for every embedded default catalog key; and required `ko-KR` coverage for migrated notify, Settings, picker, welcome, update, and help surfaces.
|
|
60
64
|
- `make test` also covers `projmux ai integrate tmux-bell` dry-run/install/remove tmux command planning, managed `alert-bell` hook append/idempotence/removal, preservation of unmanaged bell hooks, and `projmux ai ingest bell --pane` queue push/metadata/dedupe behavior for non-AI-managed panes.
|
|
61
65
|
- `make test` also covers `projmux ai ingest log` tail/path rendering and bounded JSONL log trimming for ingest diagnostics.
|
|
62
|
-
- `make test` also covers welcome revisit policy:
|
|
66
|
+
- `make test` also covers welcome revisit policy: legacy `skip_version` readability without shell suppression, `s` Skip until next vs Enter continue, Settings > About > Welcome native viewer, best-effort shell update cache refresh, and attach-popup no-duplicate/no-op behavior.
|
|
63
67
|
- `make test` also covers `projmux quit` action-picker rows, cancel/close no-op behavior, explicit quit of only app-owned mux runtimes marked by `@projmux_app=1` on the selected `tmux`/`psmux -L projmux` backend, missing/default runtime no-ops, dispatcher wiring, and `Settings > About > Quit projmux` routing through the same picker before any shutdown side effect.
|
|
64
|
-
- `make test` also covers the built-in semantic palette foundation: non-empty fallback truecolor/tmux tokens, distinct action/attention/AI/progress/danger roles, native picker chip/current/titlebar render strings including titlebar frame background/foreground inheritance without separate overlay ANSI, statusbar git/notify/usage/settings palette regressions, attention/pane-border/popup/switch progress color guards, renderer-only lead-mode topic prefix styling, settings/trust/destructive row color guards, Theme settings Phase 0/1 resolver behavior for project/global/fallback source labels, preset fill, explicit token override, invalid-layer warnings, and truecolor-to-tmux mapping, Phase 2 fallback render parity and project/global color isolation for native picker and tmux status/window background adapters, Phase 3 desired font config save/resolve plus unsupported `not applied` status without breaking no-adapter fallback rendering, and Phase 4 Settings theme editing boundaries for project/global resets, project inherit-vs-override labels, effective source labels, and project config theme values feeding the native project popup render path.
|
|
68
|
+
- `make test` also covers the built-in semantic palette foundation: non-empty fallback truecolor/tmux tokens, distinct action/attention/AI/progress/danger roles, native picker chip/current/titlebar render strings including titlebar frame background/foreground inheritance without separate overlay ANSI, statusbar git/notify/usage/settings palette regressions, attention/pane-border/popup/switch progress color guards, renderer-only lead-mode topic prefix styling, settings/trust/destructive row color guards, Theme settings Phase 0/1 resolver behavior for project/global/fallback source labels, preset fill, explicit token override, invalid-layer warnings, and truecolor-to-tmux mapping, Phase 2 fallback render parity and project/global color isolation for native picker and tmux status/window background adapters, native popup-toggle `display-popup -s` body style propagation from the effective theme without touching global popup/shell/status styles, Phase 3 desired font config save/resolve plus unsupported `not applied` status without breaking no-adapter fallback rendering, and Phase 4 Settings theme editing boundaries for project/global resets, project inherit-vs-override labels, effective source labels, and project config theme values feeding the native project popup render path.
|
|
69
|
+
- `make test` also covers Recent Windows Phase 0 state/model behavior: server-scoped file paths, missing/corrupt state policy with corrupt-file backup, MRU newest-first recording, same-window dedupe and promotion, default queue limiting, current-window exclusion, cross-session candidate retention, gone-window pruning against live window inventory, and label fallback rules that keep win/pane ids as debug fallback instead of the primary row label.
|
|
70
|
+
- `make test` also covers Recent Windows Phase 1 native picker behavior: `projmux window recent` empty-state messaging, cross-session candidate picker rows with descriptive project/session/window/pane command age metadata, window-only switching without pane restoration, switch-failure refresh/prune handling, and gone-window pruning before picker selection.
|
|
71
|
+
- `make test` also covers Recent Windows Phase 2/3/4 keybinding, popup, and runtime recorder integration: `RecentWindows:Open` owns the guaranteed `M-3` launch default, generated tmux config uses client-scoped `tmux popup-toggle recent-windows`, the popup body runs `projmux window recent`, generated tmux config installs background `window record` hooks for window and client-session changes plus first-use population without `session-window-changed`, `window record` snapshots current tmux socket/session/window/active-pane metadata into the socket-scoped store with escaped field parsing, repeated same-window record fires dedupe instead of growing entries, the queue remains bounded by `recentwindows.DefaultLimit`, Settings > Keybindings shows Recent Windows with the `M-3` default, setup probe text names Recent Windows, `SessionPopupToggle` no longer owns the guaranteed `M-3` default, and escaped tmux field separators are parsed for current/list window metadata.
|
|
65
72
|
- Current focused unit coverage also includes strict notify SOT behavior
|
|
66
73
|
(TTL does not remove rows, focus success and target-gone clicks ack,
|
|
67
|
-
reconcile reports stale rows), `notify list --live` queue/live explanations, notify sidebar
|
|
68
|
-
|
|
69
|
-
actions, notify/statusbar/sidebar attention-vs-AI palette assertions including muted
|
|
70
|
-
|
|
71
|
-
focusing, non-critical `x` bulk clear that preserves critical rows,
|
|
72
|
-
state rendering after all visible non-critical rows are cleared, and
|
|
74
|
+
reconcile reports inactive `queue-stale` rows), `notify list --live` queue/live explanations, notify sidebar
|
|
75
|
+
three-line grouped card rendering with child-count/fold semantics plus focus/ack/non-critical-clear/clear-all
|
|
76
|
+
actions, notify/statusbar/sidebar attention-vs-AI palette assertions including muted inactive/gone rows,
|
|
77
|
+
native picker-session-local `a` ack that refreshes the sidebar without
|
|
78
|
+
focusing or restarting the picker, non-critical `x` bulk clear that preserves critical rows, empty
|
|
79
|
+
state rendering after all visible non-critical rows are cleared, and notify queue-write refresh events
|
|
80
|
+
that update an open native sidebar best-effort without failing queue pushes, and `focus` dispatch diagnostics for session fallback, unresolved
|
|
73
81
|
targets, window fallback, pane fallback, explicit id failures as unresolved exits, and
|
|
74
82
|
notify-only fallback.
|
|
75
|
-
- Picker focused unit coverage includes backend-neutral picker item/action mapping, native title-focused filtering, numeric selection, shared close actions including raw native custom actions, deprecated picker backend value normalization, AI picker title chrome and stable search-key ordering, Settings title chrome and root section order, Settings Labs shell without backend choices plus keybindings compatibility redirect, environment override normalization, compact multi-line metadata gutters with one-column-indented metadata, proportional native scrollbar thumb rendering, native row width clamps that preserve ANSI resets and Korean/wide-cell frame geometry with matched scrollbar/no-scrollbar row budgets including Settings > Appearance AI badge preview rows and parent long emoji preview rows, native app-background coverage for fallback/effective themes across content padding, empty no-footer rows, footer rows, scrollbars, split-preview gaps, reset-to-padding continuation, and Korean Settings > Appearance AI badge style chips/prompt/emoji rows, multiline partial next/previous item row rendering with rendered-row scrollbar units, fixed split-preview and sidebar list viewports with scrollbar tracks, native up/down-family navigation wrap with empty-list safety and PageUp/PageDown/Home/End clamp regression coverage, native mouse down/follow-drag/release behavior, deferred native row updates that preserve filter/selection state, preview tab/control normalization before width clipping, optional native frame titlebars without same-line rule fill and with title/chip gap inheritance guards, titled native Alt-1 sidebar chrome, statusbar-preserving sidebar popup height, native-only compact project sidebar popup sizing, cheap Alt-1 first-paint rows with deferred git/window/attention/preview enrichment, fixed three-line Alt-1 sidebar row geometry across cheap/enriched paints, bulk switch existing-session classification with per-candidate fallback, and notify sidebar title/popup sizing.
|
|
83
|
+
- Picker focused unit coverage includes backend-neutral picker item/action mapping, native title-focused filtering, numeric selection, shared close actions including raw native custom actions, deprecated picker backend value normalization, AI picker title chrome and stable search-key ordering, Settings title chrome and root section order, Settings Labs shell without backend choices plus keybindings compatibility redirect, environment override normalization, compact multi-line metadata gutters with one-column-indented metadata, proportional native scrollbar thumb rendering, native row width clamps that preserve ANSI resets and Korean/wide-cell frame geometry with matched scrollbar/no-scrollbar row budgets including Settings > Appearance AI badge preview rows and parent long emoji preview rows, native app-background and semantic selected/muted/accent/warning/critical role coverage for fallback/effective themes across content padding, empty no-footer rows, footer rows, scrollbars, split-preview gaps, reset-to-padding continuation, and Korean Settings > Appearance AI badge style chips/prompt/emoji rows, multiline partial next/previous item row rendering with rendered-row scrollbar units, fixed split-preview and sidebar list viewports with scrollbar tracks, native up/down-family navigation wrap with empty-list safety and PageUp/PageDown/Home/End clamp regression coverage, native mouse down/follow-drag/release behavior, deferred native row updates that preserve filter/selection state and can repeat from event triggers, preview tab/control normalization before width clipping, optional native frame titlebars without same-line rule fill and with title/chip gap inheritance guards, titled native Alt-1 sidebar chrome, statusbar-preserving sidebar popup height, native-only compact project sidebar popup sizing, cheap Alt-1 first-paint rows with deferred git/window/attention/preview enrichment, fixed three-line Alt-1 sidebar row geometry across cheap/enriched paints, bulk switch existing-session classification with per-candidate fallback, and notify sidebar title/popup sizing.
|
|
76
84
|
- Doctor focused unit coverage includes native Windows psmux dependency policy, Windows `stty` skip behavior, Linux tmux required/stale behavior, and native Windows tmux bell fallback skip diagnostics.
|
|
77
85
|
- psmux focused unit coverage includes Windows native command rendering policy: PowerShell-generated config callbacks quote `projmux.exe` and argv without POSIX shell quoting, direct CreateProcess/C-runtime command-line rendering remains separate from PowerShell and `cmd.exe /c`, and paths/args containing spaces, quotes, backtick, dollar, ampersand, pipe, redirect characters, semicolon, parentheses, braces, caret, percent, and exclamation are pinned as data.
|
|
78
86
|
- psmux app/session foundation focused unit coverage includes `PROJMUX_MUX_BACKEND` and platform-default backend selection, psmux `-L projmux` session create/attach/switch/ephemeral marker command args, list-sessions/list-windows/list-panes minimal inventory parsing, selected-backend app command wiring, and the explicit absence of pane-scoped metadata in psmux inventory rows.
|
|
@@ -22,6 +22,11 @@ projmux ai split --agent codex right
|
|
|
22
22
|
projmux ai split --agent claude down
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
Every direct AI split invocation creates a new managed AI pane for the selected
|
|
26
|
+
agent. Existing Codex, Claude, or Antigravity panes in the same project/session
|
|
27
|
+
are left in place and are not selected by the shortcut. `right` and `down`
|
|
28
|
+
choose where the new pane is created.
|
|
29
|
+
|
|
25
30
|
Add the separator only when you have extra arguments for the selected agent:
|
|
26
31
|
|
|
27
32
|
```sh
|
|
@@ -42,18 +47,18 @@ project defaults or current recommendations. If there are no private extra
|
|
|
42
47
|
arguments, omit the separator entirely; do not leave a trailing bare `--`.
|
|
43
48
|
|
|
44
49
|
Settings > AI Settings > Enabled agents is the source of truth for whether
|
|
45
|
-
Claude and
|
|
50
|
+
Claude, Codex, and Antigravity may be launched. Disabled agents do not appear in the
|
|
46
51
|
selective picker, and direct shortcut commands such as
|
|
47
52
|
`projmux ai split --agent codex right` fail clearly instead of launching. This
|
|
48
53
|
is intentional: shortcuts are thin direct CLI wrappers and must respect the
|
|
49
54
|
same disabled state as hand-written commands.
|
|
50
55
|
|
|
51
56
|
`--force-agent` is the only override, and it is explicit CLI policy for direct
|
|
52
|
-
`--agent claude|codex` launches. Do not put it in shared picker,
|
|
53
|
-
or general shortcut registrations. Use it only in a private
|
|
54
|
-
when you deliberately want to launch a disabled agent without
|
|
55
|
-
Settings. If every AI agent is disabled, `--agent selective` still
|
|
56
|
-
plain `shell` split and guidance to re-enable Claude/Codex.
|
|
57
|
+
`--agent claude|codex|antigravity` launches. Do not put it in shared picker,
|
|
58
|
+
default-mode, or general shortcut registrations. Use it only in a private
|
|
59
|
+
one-shot command when you deliberately want to launch a disabled agent without
|
|
60
|
+
changing Settings. If every AI agent is disabled, `--agent selective` still
|
|
61
|
+
offers a plain `shell` split and guidance to re-enable Claude/Codex/Antigravity.
|
|
57
62
|
|
|
58
63
|
`shell` and `selective` are not targets for extra agent arguments. Use them
|
|
59
64
|
without a tail:
|
package/docs/architecture.md
CHANGED
|
@@ -139,13 +139,14 @@ does not own the truth of every live badge.
|
|
|
139
139
|
TTL is not a removal condition. `projmux notify list --live` adds a
|
|
140
140
|
read-only comparison against live pane state, explaining manual reply
|
|
141
141
|
badges without queue entries, live AI replies with/missing queue entries,
|
|
142
|
-
and stale `ai:` entries.
|
|
142
|
+
and inactive (`queue-stale`) `ai:` entries.
|
|
143
143
|
- **Ack** — `projmux notify ack <id>` removes one entry; `--all`
|
|
144
|
-
flushes everything.
|
|
144
|
+
flushes everything. Interactive focus/click handlers ack after successful
|
|
145
|
+
focus, and gone/unroutable targets clean up without focusing.
|
|
145
146
|
- **Reconcile** — `projmux notify reconcile` walks
|
|
146
147
|
`tmux list-panes -a` and back-fills entries for panes whose
|
|
147
148
|
attention state is `reply` AND whose AI agent option is set,
|
|
148
|
-
reporting
|
|
149
|
+
reporting inactive `ai:` entries that no longer match a live reply+agent pane without
|
|
149
150
|
acking them.
|
|
150
151
|
`make install` and `projmux upgrade` invoke it so the queue
|
|
151
152
|
recovers from any drift introduced by a lost daemon.
|
|
Binary file
|
|
Binary file
|
package/docs/cli.md
CHANGED
|
@@ -19,7 +19,7 @@ projmux <command> [args...]
|
|
|
19
19
|
|
|
20
20
|
| Command | Purpose |
|
|
21
21
|
| --- | --- |
|
|
22
|
-
| `ai` | Manage tmux AI splits (Codex/Claude) and per-pane status. |
|
|
22
|
+
| `ai` | Manage tmux AI splits (Codex/Claude/Antigravity) and per-pane status. |
|
|
23
23
|
| `attention` | View and manage live tmux pane attention state. |
|
|
24
24
|
| `attach` | Open tmux lifecycle entry helpers. |
|
|
25
25
|
| `current` | Resolve the active tmux pane path. |
|
|
@@ -129,9 +129,9 @@ with `--json`. Doctor does not diagnose terminal key delivery; use `projmux
|
|
|
129
129
|
setup` for that.
|
|
130
130
|
|
|
131
131
|
`Settings > Notifications > Delivery sources` shows active Codex hooks, Claude,
|
|
132
|
-
and tmux statuses, conflicts, config paths, and
|
|
133
|
-
|
|
134
|
-
Codex, Claude, or tmux notify wiring.
|
|
132
|
+
Antigravity manual hook ingest, and tmux statuses, conflicts, config paths, and
|
|
133
|
+
copyable AI integration commands where available. Settings does not install or
|
|
134
|
+
remove external Codex, Claude, Antigravity, or tmux notify wiring.
|
|
135
135
|
|
|
136
136
|
## focus
|
|
137
137
|
|
|
@@ -152,6 +152,10 @@ client is attached on that socket, it emits the configured desktop
|
|
|
152
152
|
notification instead. `--socket` is explicit; when omitted, the socket is
|
|
153
153
|
derived from `$TMUX`.
|
|
154
154
|
|
|
155
|
+
After a successful tmux focus, `projmux focus` dispatches host-terminal
|
|
156
|
+
osfocus only when Desktop notification mode is `raise`. Modes `off` /
|
|
157
|
+
`none` and `notify` keep focus in tmux without a host-window raise.
|
|
158
|
+
|
|
155
159
|
`--client` is a preferred origin tmux client. In-app consumers such as the
|
|
156
160
|
status bar and notify sidebar pass the clicked client so focus redirects that
|
|
157
161
|
display first. If that client is gone, focus falls back to an attached client
|
|
@@ -202,23 +206,33 @@ projmux notify reconcile [--json]
|
|
|
202
206
|
- `push` — append (or refresh, with `--id`) one entry. `--ttl` defaults to
|
|
203
207
|
`600` seconds as freshness metadata; it does not remove rows from
|
|
204
208
|
`notify list`. `--text` is hard-capped to 80 runes (longer text is
|
|
205
|
-
truncated server-side). After a successful queue write, projmux
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
+
truncated server-side). After a successful queue write, projmux sends a
|
|
210
|
+
best-effort refresh event to open native notify sidebars and fires
|
|
211
|
+
declarative `[hooks.send-noti]` asynchronously if configured. Event delivery
|
|
212
|
+
failure does not fail the queue write; reopening the sidebar still shows the
|
|
213
|
+
latest queue. The hook gets a JSON payload on stdin plus
|
|
214
|
+
`PROJMUX_NOTIFY_*` env vars, and it does not replace the normal desktop
|
|
215
|
+
notification path.
|
|
209
216
|
- `list` — newest-first pending queue table `ID AGE SEV SRC TARGET TEXT`
|
|
210
217
|
(or JSON). `--severity` and `--source` are repeatable filters.
|
|
211
218
|
`--live` adds a non-mutating explanation table (or JSON report) that
|
|
212
219
|
compares queued entries with live pane attention. It calls out manual
|
|
213
220
|
reply badges that do not queue because no AI agent is attached, live AI
|
|
214
|
-
reply panes missing a queue entry, matched AI reply entries,
|
|
215
|
-
queue entries whose live pane no longer matches
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
221
|
+
reply panes missing a queue entry, matched AI reply entries, inactive
|
|
222
|
+
(`queue-stale`) queue entries whose live pane EXISTS but no longer matches
|
|
223
|
+
reply+agent state, and gone (`queue-gone`) entries whose pane is absent from
|
|
224
|
+
the real tmux live pane inventory (or which have no routable target).
|
|
225
|
+
`--ui=sidebar` opens the compact interactive notify list where Enter
|
|
226
|
+
focuses and acks live or inactive-routable targets, cleans gone/unroutable
|
|
227
|
+
targets without focusing, `a` acks the selected row, `x` clears non-critical
|
|
228
|
+
rows, and `Ctrl-X` clears all; opening or navigating the sidebar does not ack.
|
|
229
|
+
While open, the native
|
|
230
|
+
sidebar refreshes its row list on successful queue-write events without an
|
|
231
|
+
Alt-2 close/reopen toggle, using the same deferred refresh path as `a` and
|
|
232
|
+
`x`. The sidebar uses two-line cards with notification text first and
|
|
233
|
+
compact age/project/window/pane metadata below. Hidden queue ids remain
|
|
234
|
+
action values, but the sidebar has no search input. `--client` is used by
|
|
235
|
+
tmux popup launchers to keep row-select focus on the clicked client.
|
|
222
236
|
- `ack <id>` removes one entry; `--all` flushes the queue.
|
|
223
237
|
- `reconcile` — walks `tmux list-panes -a` and back-fills entries for
|
|
224
238
|
panes whose attention state is `reply` AND whose AI agent option is
|
|
@@ -234,7 +248,7 @@ Authoritative AI token usage. See [usage-tracking.md](usage-tracking.md)
|
|
|
234
248
|
for adapter detail.
|
|
235
249
|
|
|
236
250
|
```
|
|
237
|
-
projmux usage [--model codex|claude|all] [--window 5h|weekly|all]
|
|
251
|
+
projmux usage [--model codex|claude|antigravity|all] [--window 5h|weekly|all]
|
|
238
252
|
[--json] [--force|-f]
|
|
239
253
|
```
|
|
240
254
|
|
|
@@ -245,6 +259,11 @@ Codex shares the global `30s`). `--json` emits the snapshot array; when
|
|
|
245
259
|
backoff is active the wrapper `{snapshots, backoff}` object is emitted
|
|
246
260
|
instead.
|
|
247
261
|
|
|
262
|
+
Antigravity has no supported 5-hour/weekly quota adapter. `--model
|
|
263
|
+
antigravity` renders an explicit unsupported note: the stable Antigravity
|
|
264
|
+
signal is `context-window-only` statusline data, which is not mixed into the
|
|
265
|
+
Claude/Codex quota HUD.
|
|
266
|
+
|
|
248
267
|
## status
|
|
249
268
|
|
|
250
269
|
Per-segment status-bar renderers. All four are silent on failure — the
|
|
@@ -321,7 +340,7 @@ supplied window.
|
|
|
321
340
|
## ai
|
|
322
341
|
|
|
323
342
|
```
|
|
324
|
-
projmux ai split [--agent <claude|codex|shell|selective>] [--force-agent] [right|down] [-- <extra-arg>...]
|
|
343
|
+
projmux ai split [--agent <claude|codex|antigravity|shell|selective>] [--force-agent] [right|down] [-- <extra-arg>...]
|
|
325
344
|
projmux ai picker --inside <right|down>
|
|
326
345
|
projmux ai settings
|
|
327
346
|
projmux ai status set <thinking|waiting|idle> [--pane <id>]
|
|
@@ -329,6 +348,7 @@ projmux ai notify <reset|notify> [--pane <id>]
|
|
|
329
348
|
projmux ai watch-title [--pane <id>]
|
|
330
349
|
projmux ai ingest codex-hook < payload.json
|
|
331
350
|
projmux ai ingest claude-hook < payload.json
|
|
351
|
+
projmux ai ingest antigravity-hook < payload.json
|
|
332
352
|
projmux ai ingest bell --pane <pane_id>
|
|
333
353
|
projmux ai ingest log [--tail N] [--json] [--path]
|
|
334
354
|
projmux ai integrate codex [--dry-run] [--remove]
|
|
@@ -351,21 +371,25 @@ yellow respectively. That palette is independent from notify queue
|
|
|
351
371
|
can still render a non-red action-required status badge.
|
|
352
372
|
|
|
353
373
|
`ai split right|down` uses the configured default split mode. Add
|
|
354
|
-
`--agent claude`, `--agent codex`, `--agent
|
|
355
|
-
a one-shot launch without changing that default.
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
374
|
+
`--agent claude`, `--agent codex`, `--agent antigravity`, `--agent shell`, or
|
|
375
|
+
`--agent selective` for a one-shot launch without changing that default.
|
|
376
|
+
Concrete `--agent claude|codex|antigravity` invocations create a new managed
|
|
377
|
+
agent pane every time; existing managed AI panes in the same project/session are
|
|
378
|
+
not selected or reused.
|
|
379
|
+
`--agent selective` opens the existing picker flow; `--agent shell` opens the
|
|
380
|
+
existing plain shell split. Arguments after `--` are extra arguments appended to
|
|
381
|
+
the resolved `claude`, `codex`, or `agy` executable inside the managed wrapper;
|
|
382
|
+
projmux still sets the context directory, tmux title, AI pane metadata, title
|
|
383
|
+
watcher, and split layout.
|
|
384
|
+
Settings > AI Settings > Enabled agents controls Claude/Codex/Antigravity launch
|
|
361
385
|
visibility. Disabled agents are hidden from the selective picker and from the
|
|
362
386
|
default-mode picker. A saved default that later becomes disabled fails clearly
|
|
363
|
-
instead of falling back to another agent. Direct
|
|
364
|
-
also fail when disabled, including
|
|
365
|
-
deliberate one-shot direct CLI
|
|
366
|
-
default paths do not use this
|
|
367
|
-
|
|
368
|
-
re-enable Claude/Codex.
|
|
387
|
+
instead of falling back to another agent. Direct
|
|
388
|
+
`--agent claude|codex|antigravity` launches also fail when disabled, including
|
|
389
|
+
shortcuts that call the same command. For a deliberate one-shot direct CLI
|
|
390
|
+
launch, pass `--force-agent`; picker and saved default paths do not use this
|
|
391
|
+
override. If all AI agents are disabled, the selective picker still offers the
|
|
392
|
+
plain `shell` split and shows guidance to re-enable Claude/Codex/Antigravity.
|
|
369
393
|
For user-level skill, slash-command, editor, or launcher registrations that
|
|
370
394
|
call this contract, see [AI Agent Shortcuts](ai-agent-shortcuts.md).
|
|
371
395
|
|
|
@@ -425,6 +449,28 @@ precedence over catalog `action` for known Claude events too; for example a
|
|
|
425
449
|
noisy notify event can be made state-only or quiet without changing installed
|
|
426
450
|
Claude hook commands.
|
|
427
451
|
|
|
452
|
+
`ingest antigravity-hook` is the manual hook/statusline entrypoint for
|
|
453
|
+
Antigravity CLI `agy` payloads observed in the Phase 0b smoke. Projmux does not
|
|
454
|
+
provide `projmux ai integrate antigravity`, does not install Antigravity hooks,
|
|
455
|
+
and does not mutate Antigravity user config. If users wire Antigravity manually,
|
|
456
|
+
the hook/statusline command should call an absolute `projmux` path or run from a
|
|
457
|
+
known cwd because relative command paths failed smoke.
|
|
458
|
+
|
|
459
|
+
The default known Antigravity catalog is intentionally narrow:
|
|
460
|
+
`PostInvocation` is quiet/log-only, `Stop` is notify, and `Statusline` is notify
|
|
461
|
+
only when manually wired and `tool_confirmation_pending=true`. `Stop` with
|
|
462
|
+
`error` or a non-normal `terminationReason` pushes a critical error row; `Stop`
|
|
463
|
+
without those error signals pushes an info completion row. Accepted identity
|
|
464
|
+
fields include `conversationId`/`conversation_id`, `cwd` or `workspace.path`,
|
|
465
|
+
`transcriptPath`, `fullyIdle`, `agent_state`, and `context_window`.
|
|
466
|
+
Antigravity notify metadata uses `agent=antigravity`. Phase 3 session-state
|
|
467
|
+
restore is included: Antigravity ingest stores `conversationId` as pane thread
|
|
468
|
+
metadata for matching and as session-state resume metadata. Restore uses
|
|
469
|
+
`agy --conversation <uuid>` when that id is present and UUID-shaped; otherwise
|
|
470
|
+
session-state preview/doctor render `resume unavailable`. Usage quota HUD
|
|
471
|
+
support remains unsupported because the only stable usage signal is
|
|
472
|
+
`context-window-only` statusline data. Transcript contents are not read.
|
|
473
|
+
|
|
428
474
|
`ingest bell --pane <pane_id>` is the narrow tmux-bell fallback ingest path.
|
|
429
475
|
It does not require the pane to be AI-managed. Projmux resolves session,
|
|
430
476
|
window, pane, title, command, and socket metadata from tmux, pushes an info
|
|
@@ -610,8 +656,8 @@ projmux tmux apply
|
|
|
610
656
|
Helpers tmux's keybindings and the install pipeline call into. Modes
|
|
611
657
|
accepted by `popup-toggle` mirror the historical sessionizer surface:
|
|
612
658
|
`session-popup`, `sessionizer`, `sessionizer-sidebar`,
|
|
613
|
-
`notify-sidebar`, `
|
|
614
|
-
`ai-split-settings`.
|
|
659
|
+
`notify-sidebar`, `recent-windows`, `ai-split-picker-right`,
|
|
660
|
+
`ai-split-picker-down`, `ai-split-settings`.
|
|
615
661
|
`apply` reloads the live `-L projmux` server's config without restarting
|
|
616
662
|
it; `make install` and `projmux upgrade` invoke it after replacing the
|
|
617
663
|
binary.
|
|
@@ -637,10 +683,13 @@ latest/update/cache result. `--json` emits the same machine-readable
|
|
|
637
683
|
status shape for both subcommands.
|
|
638
684
|
|
|
639
685
|
`projmux shell` reads the same cache before opening the isolated tmux app.
|
|
640
|
-
When the cache is
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
686
|
+
When the cache is missing or stale, shell startup attempts a bounded
|
|
687
|
+
best-effort refresh, then continues even if the network check fails. When a
|
|
688
|
+
fresh cached update is available, the shell welcome uses Enter=Continue,
|
|
689
|
+
`u`=Upgrade, and `s`=Skip until next. Upgrade invokes only
|
|
690
|
+
`projmux update apply`; Skip until next writes the latest release tag to
|
|
691
|
+
`${XDG_CACHE_HOME:-~/.cache}/projmux/update-skip.json` and suppresses that tag
|
|
692
|
+
until a newer latest release appears.
|
|
644
693
|
|
|
645
694
|
Installer detection honors
|
|
646
695
|
`PROJMUX_INSTALLER=npm|go|github-release|source`. When unset or invalid,
|
|
@@ -675,9 +724,8 @@ installs.
|
|
|
675
724
|
projmux welcome [--popup [--force]]
|
|
676
725
|
```
|
|
677
726
|
|
|
678
|
-
Prints the
|
|
679
|
-
|
|
680
|
-
walkthrough at any time.
|
|
727
|
+
Prints the shell-entry release prompt and bootstrap reminder without starting
|
|
728
|
+
tmux. This is useful when you want to revisit the welcome view at any time.
|
|
681
729
|
|
|
682
730
|
`--popup` is the tmux attach-helper form. It shows the popup only when a
|
|
683
731
|
pending attach welcome marker exists. `--popup --force` opens the popup without
|
|
@@ -710,7 +758,7 @@ flags with the top-level `switch` UX:
|
|
|
710
758
|
tmux default shell when set, otherwise `/bin/sh`. `shell` starts or attaches
|
|
711
759
|
the app session directly after resolving the target app session name and
|
|
712
760
|
startup directory. Alt-1 sidebar project open defaults to `Empty session`; the
|
|
713
|
-
|
|
761
|
+
Session State `Sidebar startup picker` opt-in shows `Latest snapshot`, `Named
|
|
714
762
|
snapshot`, and `Empty session` before creating a closed project session.
|
|
715
763
|
`Latest snapshot` is auto-saved; named snapshots are fixed until the user
|
|
716
764
|
saves or replaces them.
|