iclavue 11.3.6 → 11.3.7
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 +7 -7
- package/dist/clavue.js +1 -1
- package/dist/cli.js +21 -21
- 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/clavue-pager-darwin-x64 +0 -0
- package/dist/native/clavue-pager-linux-x64 +0 -0
- package/dist/native/manifest.json +13 -12
- package/dist/openai-responses-adapter.js +2 -2
- package/dist/provider-setup.js +1 -1
- package/docs/clavue-pager-interaction-contract.md +15 -12
- package/package.json +1 -1
package/dist/provider-setup.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createInterface } from 'node:readline/promises'
|
|
|
7
7
|
import { stdin, stdout } from 'node:process'
|
|
8
8
|
import { fileURLToPath } from 'node:url'
|
|
9
9
|
|
|
10
|
-
const APP_VERSION = '11.3.
|
|
10
|
+
const APP_VERSION = '11.3.7'
|
|
11
11
|
const APP_NPM_PACKAGE_NAME = 'clavue'
|
|
12
12
|
export const CURRENT_PROVIDER_PROFILE_ID = '__current_provider__'
|
|
13
13
|
const SUPPORTED_LANGUAGES = new Set(['en', 'zh'])
|
|
@@ -81,13 +81,13 @@ Also: **Ctrl+U** clears draft anytime (kill line).
|
|
|
81
81
|
| Order | Condition | Effect |
|
|
82
82
|
|-------|-----------|--------|
|
|
83
83
|
| 0 | Esc×2 rewind picker open | Close picker |
|
|
84
|
-
| 1 | Running | Steal-Esc first: clear text selection → Scrollback→Prompt. Then **cancel turn**
|
|
84
|
+
| 1 | Running | Steal-Esc first: clear text selection → Scrollback→Prompt. Then **cancel turn**. **Empty composer + no file mutations** (typo / misclick): conversation-rewind that last send and **restore the prompt** (Grok cancelRewind — no `/rewind`). Typed follow-up drafts are kept. File-touching turns: cancel only + ~1s grace so mashed Esc cannot open the picker. |
|
|
85
85
|
| 2 | Completions open | Close menu |
|
|
86
86
|
| 3 | History browse | Restore live buffer |
|
|
87
87
|
| 4 | Text selection | Clear selection |
|
|
88
88
|
| 5 | Scrollback focus | Focus prompt (Clavue convenience; Grok does not use Esc for focus) |
|
|
89
89
|
| 6 | Draft non-empty | **Double-Esc within 800ms** clears draft (first press tips `Esc again to clear`) · non-`/` drafts save to ↑ history |
|
|
90
|
-
| 7 | Idle empty | **Double-Esc** within 800ms · first press tips
|
|
90
|
+
| 7 | Idle empty | **Double-Esc** within 800ms · first press tips. Second: **lossless last turn unsends** (prompt back in the dock). Otherwise opens the **rewind picker**. |
|
|
91
91
|
|
|
92
92
|
**Ctrl+C vs Esc (Grok):** mid-turn non-empty draft — Ctrl+C clears draft first (turn keeps running); Esc cancels immediately and keeps draft. Idle non-empty — Ctrl+C clears in one press; Esc requires two presses within 800ms.
|
|
93
93
|
|
|
@@ -101,22 +101,25 @@ Also: **Ctrl+U** clears draft anytime (kill line).
|
|
|
101
101
|
|
|
102
102
|
Status tip: default path **truncates** the selected turn and everything after.
|
|
103
103
|
|
|
104
|
-
### Esc×2 confirm overlay (
|
|
104
|
+
### Esc×2 confirm overlay (Grok Rewind radios)
|
|
105
105
|
|
|
106
|
-
Skip confirm when lossless (no file-checkpoint delta): direct conversation rewind + fill prompt.
|
|
106
|
+
Skip confirm when lossless (no file-checkpoint delta): direct conversation rewind + fill prompt. After send with no file mutations, Esc (running) / Esc×2 (idle) unsends without opening this overlay.
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
|
111
|
-
|
|
112
|
-
|
|
|
113
|
-
|
|
|
114
|
-
|
|
|
108
|
+
Shown only when the selected turn **touched files**. Title **Rewind**. Default = conversation **&** code.
|
|
109
|
+
|
|
110
|
+
| Option | Effect |
|
|
111
|
+
|--------|--------|
|
|
112
|
+
| **1 Restore conversation & code** (recommended) | Engine: HEAD + branch, file checkpoints, rehydrate truncated journal, put prompt in draft |
|
|
113
|
+
| 2 Restore conversation only | Engine: conversation HEAD rewind only |
|
|
114
|
+
| 3 Restore files only | Engine: file checkpoints only (journal stays) |
|
|
115
|
+
| 4 Restore prompt only | Local: fill draft for re-send (no engine mutate) |
|
|
115
116
|
|
|
116
117
|
| Key | Effect |
|
|
117
118
|
|-----|--------|
|
|
118
119
|
| ↑ ↓ | Move option |
|
|
119
|
-
|
|
|
120
|
+
| 1-4 | Jump to option |
|
|
121
|
+
| y | Copy selected prompt |
|
|
122
|
+
| Enter | Submit (`session.rewind` → engine) |
|
|
120
123
|
| Esc / q | Back to message list |
|
|
121
124
|
|
|
122
125
|
**Forbidden:** wiping the entire a2p journal when prompt text fails exact match — fall back to picker rank (`indexFromEnd`).
|
package/package.json
CHANGED