projmux 0.15.2 → 0.15.3
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/docs/agent-workflow.md +495 -22
- package/docs/architecture.md +17 -8
- package/docs/claude-coordination-endpoints.md +28 -7
- package/docs/cli-guide.md +49 -9
- package/docs/cli.md +40 -17
- package/docs/configuration.md +65 -0
- package/docs/heterogeneous-dialogue-canary.md +8 -3
- package/docs/keybindings.md +40 -1
- package/docs/legacy-cli-retirement.md +1 -1
- package/docs/settings-ia.md +31 -0
- package/docs/statusbar.md +10 -4
- package/docs/theme-palette.md +14 -0
- package/docs/usage-tracking.md +33 -6
- package/package.json +5 -5
package/docs/theme-palette.md
CHANGED
|
@@ -54,6 +54,7 @@ onto these stable names:
|
|
|
54
54
|
| `action_required` | AI needs-input/approval badge color | AI action-required badge (independent of `critical`) |
|
|
55
55
|
| `pane_active_bg` | active-pane background tint | active-pane window-active-style tint (tmux pane chrome) |
|
|
56
56
|
| `focus` | active-pane border color | active-pane border (tmux pane chrome) |
|
|
57
|
+
| `provenance` | fallback-data-source label color | compact usage label for a row served by a fallback source (never a usage threshold color) |
|
|
57
58
|
|
|
58
59
|
`text_primary` and `chrome_foreground` split the old broad foreground behavior:
|
|
59
60
|
changing primary content text no longer repaints frame/title/search/border/status
|
|
@@ -71,6 +72,17 @@ failure, destructive, over-limit, or risk states. `pane_active_bg` and `focus`
|
|
|
71
72
|
are also public keys driving the active-pane tint and border (tmux-only pane
|
|
72
73
|
chrome, with no ANSI/native role).
|
|
73
74
|
|
|
75
|
+
`provenance` colors a compact usage label whose numbers came from a fallback
|
|
76
|
+
data source instead of the provider's authoritative one (today: a Codex row
|
|
77
|
+
outside a healthy app-server). It is deliberately neither `warning` nor
|
|
78
|
+
`critical` — those mean usage thresholds — nor the `accent.ai` label color a
|
|
79
|
+
healthy row uses, because it is the only signal that row carries. Every built-in
|
|
80
|
+
preset defines it as an orange (hue 15-45°) whose nearest tmux color differs
|
|
81
|
+
from that preset's five state colors and from `colour121`; the fallback theme
|
|
82
|
+
uses `colour208`, and an explicit light `status_background` darkens that literal
|
|
83
|
+
the same way it darkens the other statusbar text roles. It is a tmux-only role
|
|
84
|
+
(`usage.provenance_fg`) with no ANSI/native counterpart.
|
|
85
|
+
|
|
74
86
|
Renderer-only role names such as `accent.ai`, `state.progress`, `git.branch`,
|
|
75
87
|
and trust colors remain in `internal/theme/palette.go` until Phase 2+ maps each
|
|
76
88
|
surface to the resolver tokens. The key product contract for this phase is that
|
|
@@ -200,6 +212,7 @@ light experience with `daylight` also requires a light terminal theme.
|
|
|
200
212
|
| `action_required` | `#d97706` | `colour172` |
|
|
201
213
|
| `pane_active_bg` | `#e8e4dc` | `colour254` |
|
|
202
214
|
| `focus` | `#2563eb` | `colour26` |
|
|
215
|
+
| `provenance` | `#944400` | `colour94` |
|
|
203
216
|
|
|
204
217
|
## Fallback Inventory
|
|
205
218
|
|
|
@@ -221,6 +234,7 @@ Accents and state:
|
|
|
221
234
|
| `accent.action` | `141;205;142`, strong `122;199;173` | `colour29` bg / `colour230` fg |
|
|
222
235
|
| `accent.attention` | notify HUD background/project family | `colour53`, project `colour90` |
|
|
223
236
|
| `accent.ai` | notify agent `colour37` family | `colour37` bg / `colour121` fg |
|
|
237
|
+
| `usage.provenance_fg` | not emitted on native surfaces | `colour208` (public `provenance` token) |
|
|
224
238
|
| `state.progress` | `255;204;102`; switch attention/busy dot, pane-border in-progress badge, and pending notify title/bell/badge `colour220` | `colour220` |
|
|
225
239
|
| `state.action_required` | AI approval/input-required status badge amber-orange; currently aliases the established warning token | `colour214` |
|
|
226
240
|
| `state.warning` | usage/status popup warning ANSI 256 wrapper; non-AI warning chrome | `colour214` |
|
package/docs/usage-tracking.md
CHANGED
|
@@ -248,11 +248,26 @@ provider or an opaque bucket cannot manufacture a window row.
|
|
|
248
248
|
For native Codex multi-bucket rows, the exact `codex` bucket wins the HUD
|
|
249
249
|
projection, then the legacy empty bucket, then lexical bucket order. The HUD
|
|
250
250
|
compact identity is derived from that same row: a healthy authoritative
|
|
251
|
-
`app-server` row is simply `Codex`, a
|
|
252
|
-
`Codex [
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
251
|
+
`app-server` row is simply `Codex`, a retained last-known-good row is
|
|
252
|
+
`Codex [stale]`, and a fallback row keeps the bare `Codex` text while the HUD
|
|
253
|
+
paints its label with the dedicated `provenance` theme color. Blank, malformed,
|
|
254
|
+
or future non-stale provenance also fails conservatively to that same fallback
|
|
255
|
+
presentation rather than looking native or expanding the compact vocabulary.
|
|
256
|
+
|
|
257
|
+
That label used to spend 11 cells on a ` [fallback]` tag. It now spends none in
|
|
258
|
+
the HUD and one in the text tiers, which is what the user asked for:
|
|
259
|
+
*"이거 간단한 로드맵 거리긴한대 codex[fallback] 하단 status 바대신 주황색의 Codex가나오는게어때"*
|
|
260
|
+
and, once the color-rule options were laid out, *"B로 가자"* — a role color of its
|
|
261
|
+
own rather than a reused threshold color, with `[stale]` left alone. That role
|
|
262
|
+
color is the public `provenance` theme token (`colour208` in the fallback
|
|
263
|
+
theme); see [theme-palette.md](theme-palette.md).
|
|
264
|
+
|
|
265
|
+
Below the bar tiers the segment is colorless, so a fallback row spells
|
|
266
|
+
`Codex^ 5h:17%` there, or `X^ 5h:17%` at the single-letter tier: one ASCII cell
|
|
267
|
+
in place of the tag. A client that cannot paint color, or a theme that sets
|
|
268
|
+
`provenance` to the ordinary label color, therefore shows no fallback signal in
|
|
269
|
+
the HUD at all — the recovery path is the full surface below.
|
|
270
|
+
The exact raw source and closed fallback/stale reason stay
|
|
256
271
|
in `agent usage --model codex` table/JSON output and in
|
|
257
272
|
`projmux diagnostics log --component usage`; compact labels never replace
|
|
258
273
|
those fields.
|
|
@@ -329,7 +344,19 @@ When a collection fails, the failure is visible in three places:
|
|
|
329
344
|
|
|
330
345
|
The row carries the provider and closed source/failure enums and nothing else:
|
|
331
346
|
`collect-failed` (whole-adapter failure, `level=error`) or `rows-skipped`
|
|
332
|
-
(partial failure, `level=info`).
|
|
347
|
+
(partial failure, `level=info`). A whole Claude failure names its class in
|
|
348
|
+
place of `collect-failed`, also at `level=error`:
|
|
349
|
+
`credentials-unavailable` (no credentials path resolved, or the credentials
|
|
350
|
+
file is missing, unreadable, or unparseable), `credentials-token-empty`,
|
|
351
|
+
`auth-rejected` (a 401 the stored refresh token could not recover from: no
|
|
352
|
+
refresh token, a failed refresh round-trip, or another 401 for the refreshed
|
|
353
|
+
token), `rate-limited` (429), `http-status` (any other non-200 response),
|
|
354
|
+
`network-error` (the request could not be built or sent, or its body could
|
|
355
|
+
not be read), or `response-invalid` (a 200 body that did not parse). The
|
|
356
|
+
class comes from the adapter's typed error, never from its message text. A
|
|
357
|
+
failure without a class stays `collect-failed`, and so does every whole
|
|
358
|
+
Codex or Antigravity failure. Status codes, paths, upstream bodies, and
|
|
359
|
+
credentials never reach the row. Codex rollout fallback records
|
|
333
360
|
`source=rollout` plus its closed fallback reason; retained data records
|
|
334
361
|
`source=last-known-good` plus its closed stale reason. A healthy native
|
|
335
362
|
collection writes no row at all. Identical `(provider, source, failure)`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projmux",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "tmux project session manager",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/crevissepartners/projmux#readme",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"package:npm:pack": "scripts/package-npm.sh --pack"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@projmux/linux-x64": "0.15.
|
|
32
|
-
"@projmux/linux-arm64": "0.15.
|
|
33
|
-
"@projmux/darwin-x64": "0.15.
|
|
34
|
-
"@projmux/darwin-arm64": "0.15.
|
|
31
|
+
"@projmux/linux-x64": "0.15.3",
|
|
32
|
+
"@projmux/linux-arm64": "0.15.3",
|
|
33
|
+
"@projmux/darwin-x64": "0.15.3",
|
|
34
|
+
"@projmux/darwin-arm64": "0.15.3"
|
|
35
35
|
}
|
|
36
36
|
}
|