iclavue 10.5.2 → 10.5.4
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.md +5 -5
- package/dist/clavue.js +1 -1
- package/dist/cli.js +18 -18
- package/dist/mao-command.js +1 -1
- package/dist/native/clavue-pager +0 -0
- package/dist/native/clavue-pager-darwin-arm64 +0 -0
- package/dist/native/manifest.json +2 -2
- package/dist/openai-responses-adapter.js +1 -1
- package/dist/provider-setup.js +1 -1
- package/docs/clavue-grok-display-replica-plan.md +73 -0
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Grok CLI Display Replica Plan (Clavue Pager)
|
|
2
|
+
|
|
3
|
+
> Goal: **First replicate Grok Build TUI display logic**, then re-layer Clavue
|
|
4
|
+
> delivery advantages (Outcome / Needs Input / multi-route).
|
|
5
|
+
> Reference: local `grok` 0.2.93 (`xai-grok-pager` + `xai-grok-shell` strings).
|
|
6
|
+
> Date: 2026-07-11
|
|
7
|
+
|
|
8
|
+
## Why users still “see no update”
|
|
9
|
+
|
|
10
|
+
1. **Version is already 10.5.2** — process list shows
|
|
11
|
+
`…/iclavue/dist/native/clavue-pager-darwin-arm64 --agent`.
|
|
12
|
+
Reliability fixes (select/copy, multi-line) are loaded; **look-and-feel** is still Clavue-chrome heavy.
|
|
13
|
+
2. **Design gap, not install gap** — sticky Tier-0 under the header + always-on Responding row + long footer ≠ Grok’s quiet density.
|
|
14
|
+
3. **Must fully quit** old sessions; in-process pager does not hot-reload layout.
|
|
15
|
+
|
|
16
|
+
## Grok baseline layout (from product use + binary strings)
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
┌ header: cwd · model tokens/ctx ┐
|
|
20
|
+
│ │
|
|
21
|
+
│ journal (user / assistant / compact tools) │
|
|
22
|
+
│ … scrolls … │
|
|
23
|
+
│ │
|
|
24
|
+
│ [Responding… 3s] ← only while turn active │
|
|
25
|
+
│ ──────────────────────────────────────── │
|
|
26
|
+
│ > draft │
|
|
27
|
+
│ esc · enter · / … │
|
|
28
|
+
└──────────────────────────────────────────────────────────┘
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
| Region | Grok behavior | Clavue 10.5.2 before this wave |
|
|
32
|
+
|--------|---------------|--------------------------------|
|
|
33
|
+
| Header | One line identity | Similar (ok) |
|
|
34
|
+
| Sticky / status | Near action / in stream | **Top band** under header (looks like empty board) |
|
|
35
|
+
| Progress | `Responding` / `Running tool` only when busy | **Always 1 row** even idle |
|
|
36
|
+
| Prompt | Thin rule + `>` | Surface plate + TOP border (ok-ish) |
|
|
37
|
+
| Footer | Short keys | Dense keys |
|
|
38
|
+
| Tools | Compact one-liners | Similar when compact |
|
|
39
|
+
| Outcome | Calm end-of-turn | Loud sticky FAILED/ok |
|
|
40
|
+
|
|
41
|
+
## Phase A — layout replica (this PR)
|
|
42
|
+
|
|
43
|
+
1. **Sticky band moves above Responding/prompt** (not under header).
|
|
44
|
+
2. **Responding row = 0 when idle** (no quiet placeholder).
|
|
45
|
+
3. **Sticky default cap = 1** — only actionable Tier-0 (Needs Input / FAILED).
|
|
46
|
+
4. **Footer idle string** shortened to Grok-like chips.
|
|
47
|
+
5. Keep reliability: bottom-first reserve, prompt select/copy, Ctrl+J.
|
|
48
|
+
|
|
49
|
+
## Phase B — stream density (next)
|
|
50
|
+
|
|
51
|
+
1. Tool cards: one-line default; expand on select (Grok expand).
|
|
52
|
+
2. Thinking: collapsed by default; toggle key (Grok Ctrl+E class).
|
|
53
|
+
3. Assistant body: soft-wrap; less vertical padding between turns.
|
|
54
|
+
4. Drop double chrome (journal Outcome card + sticky Delivery ok).
|
|
55
|
+
|
|
56
|
+
## Phase C — Clavue delta (after look matches)
|
|
57
|
+
|
|
58
|
+
1. Re-introduce Delivery / verify as **end-of-turn card only** (not sticky ok).
|
|
59
|
+
2. Needs Input: one sticky line above prompt + empty Enter → panel.
|
|
60
|
+
3. Multi-route header badges stay minimal.
|
|
61
|
+
|
|
62
|
+
## Acceptance (Phase A)
|
|
63
|
+
|
|
64
|
+
- Empty idle session: header + blank journal + `>` + short footer (no top banner, no Responding row).
|
|
65
|
+
- Running: `Responding…` / phase strip **directly above** input.
|
|
66
|
+
- Needs Input: single warning line **just above** progress/input, not floating under header.
|
|
67
|
+
- User on `iclavue@10.5.2+` after **full restart** reports visual closer to Grok.
|
|
68
|
+
|
|
69
|
+
## Non-goals
|
|
70
|
+
|
|
71
|
+
- Pixel clone of Grok brand / colors.
|
|
72
|
+
- Copy Grok Esc≠cancel (Clavue keeps Esc cancel ladder).
|
|
73
|
+
- Multi-OS binary packaging in this phase.
|
package/package.json
CHANGED