iclavue 13.9.4 → 13.9.6

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.
@@ -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 = '13.9.4'
10
+ const APP_VERSION = '13.9.6'
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'])
@@ -164,6 +164,13 @@ Dashboard open → `host_roster` refresh · header chip `{i}/{n}`.
164
164
  **`[` / `]`** → `host_cycle` · multi-line peek · **x** → `host_stop` · idle fold `+N more`.
165
165
  Opt out: `CLAVUE_SESSION_HOST=0`. Cap: `CLAVUE_SESSION_HOST_MAX` (default 8).
166
166
 
167
+ **Inactive peers (other pagers · informational):**
168
+ Dashboard open / `host_roster` also refreshes `host.inactive` from `listPeerSessions()` and ListPeers cloud peers.
169
+ Self and in-process Session Host rows are omitted.
170
+ Collapsed **`○ 本机其他会话`** (English **`Inactive`**) · **→** / click the header to expand.
171
+ Select peeks cwd / status / uptime. Enter copies the address and points at `SendMessage`.
172
+ Does not `host_attach`, does not hydrate another process's journal.
173
+
167
174
  ## Extensions modal (Grok Build)
168
175
 
169
176
  | Entry | Effect |
@@ -109,6 +109,7 @@ Every message:
109
109
  | `host.attached` | `hostId`, `sessionId?`, `taskId?`, `alreadyAttached?` — successful host attachment |
110
110
  | `host.error` | `message`, `hostId?`, `code?` — host attach or dispatch failure |
111
111
  | `host.peek` | `hostId`, `lines[]`, `phase?`, `title?`, `peek?` — selected host detail snapshot |
112
+ | `host.inactive` | `peers[]` — Dashboard 本机其他会话/Inactive (listPeerSessions + cloud peers); informational only, never host_attach |
112
113
  | `parallel.needs_input` | `total`, `line`, `items[{id,source,label,reason,kind}]` — engineering gates hub (perms + workers) |
113
114
  | `parallel.merge` | `runId`, `goal`, `ok`, `ready[]`, `failed[]`, `pending[]`, `steps[]`, `summary`, `body`, `agentPrompt` — multi-agent merge suggestion card (L1 present; apply via agent = L2) |
114
115
  | `parallel.aggregate` | `runId`, `goal`, `ok`, `verdict`, `verdictLine`, `wallClockLabel`, `done`/`failed`/`pending`, `ready[]`, `steps[]`, `summary`, `body`, `agentPrompt` — one-screen results card (P2c) |
package/install.sh CHANGED
@@ -45,7 +45,7 @@ check_node() {
45
45
  local node_major
46
46
  node_major="$(node -p "process.versions.node.split('.')[0]" 2>/dev/null || true)"
47
47
  if [[ -z "$node_major" || "$node_major" -lt "$MIN_NODE_MAJOR" ]]; then
48
- printf 'clavue requires Node.js %s or newer. Found: %s\n' \
48
+ printf 'iclavue requires Node.js %s or newer. Found: %s\n' \
49
49
  "$MIN_NODE_MAJOR" "$(node -v 2>/dev/null || echo unknown)" >&2
50
50
  printf 'Upgrade Node, then re-run:\n' >&2
51
51
  printf ' nvm install %s && nvm use %s\n' "$MIN_NODE_MAJOR" "$MIN_NODE_MAJOR" >&2
@@ -121,23 +121,24 @@ clean_global_residue() {
121
121
  warn_alias_conflicts() {
122
122
  local name path
123
123
  local any=0
124
- printf 'Checking mindshare launch aliases...\n'
125
- for name in agent ai chat; do
124
+ printf 'Checking iclavue bin names (iclavue / code)...\n'
125
+ printf ' Note: global `clavue` is reserved for clavue-v1 — this package will not install it.\n'
126
+ for name in iclavue code; do
126
127
  if command -v "$name" >/dev/null 2>&1; then
127
128
  path="$(command -v "$name" 2>/dev/null || true)"
128
- if [[ -n "$path" ]] && printf '%s' "$path" | grep -Eqi 'iclavue|clavue'; then
129
- printf ' · %s → %s (Clavue — ok)\n' "$name" "$path"
129
+ if [[ -n "$path" ]] && printf '%s' "$path" | grep -Eqi 'iclavue'; then
130
+ printf ' · %s → %s (iclavue — ok)\n' "$name" "$path"
130
131
  continue
131
132
  fi
132
133
  any=1
133
134
  printf ' ! %s already on PATH: %s\n' "$name" "${path:-?}"
134
- printf ' npm install will point this name at Clavue.\n'
135
+ printf ' npm install will point this name at iclavue.\n'
135
136
  else
136
- printf ' · %s free — will install as Clavue alias\n' "$name"
137
+ printf ' · %s free — will install as iclavue launcher\n' "$name"
137
138
  fi
138
139
  done
139
140
  if [[ "$any" -eq 1 ]]; then
140
- printf '\nAlias conflict (not fatal). Primary command: clavue\n\n'
141
+ printf '\nAlias conflict (not fatal). Primary commands: iclavue / code\n\n'
141
142
  fi
142
143
  }
143
144
 
@@ -179,9 +180,9 @@ main() {
179
180
 
180
181
  printf '\nInstalled %s@%s\n' "$PACKAGE" "$version"
181
182
  printf 'Commands:\n'
182
- printf ' clavue (primary)\n'
183
- printf ' agent · ai · chat (aliases)\n'
184
- printf ' iclavue (package name)\n'
183
+ printf ' iclavue (primary)\n'
184
+ printf ' code (short alias)\n'
185
+ printf ' (global `clavue` is reserved for clavue-v1 — not installed by this package)\n'
185
186
  case "$(uname -s 2>/dev/null || echo unknown)" in
186
187
  MINGW*|MSYS*|CYGWIN*|Windows_NT)
187
188
  printf '\nWindows note:\n'
@@ -191,18 +192,18 @@ main() {
191
192
  ;;
192
193
  esac
193
194
 
194
- if command -v clavue >/dev/null 2>&1; then
195
- clavue --version || true
196
- elif command -v iclavue >/dev/null 2>&1; then
195
+ if command -v iclavue >/dev/null 2>&1; then
197
196
  iclavue --version || true
197
+ elif command -v code >/dev/null 2>&1 && command -v code | grep -Eqi 'iclavue'; then
198
+ code --version || true
198
199
  else
199
- printf 'Warning: clavue not on PATH. Check: npm bin -g\n' >&2
200
+ printf 'Warning: iclavue not on PATH. Check: npm bin -g\n' >&2
200
201
  fi
201
202
 
202
203
  printf '\nNext:\n'
203
- printf ' clavue\n'
204
+ printf ' iclavue\n'
204
205
  printf ' First launch: set provider / API (or login Clavue Cloud).\n'
205
- printf ' Reopen setup: clavue provider\n'
206
+ printf ' Reopen setup: iclavue provider\n'
206
207
  printf ' Docs: https://www.clavue.com\n'
207
208
  printf '\n'
208
209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iclavue",
3
- "version": "13.9.4",
3
+ "version": "13.9.6",
4
4
  "description": "Clavue: execution-first AI coding CLI with direct repo tools, provider routing, native workflows, MCP integration, and long-session recovery",
5
5
  "keywords": [
6
6
  "iclavue",
@@ -25,11 +25,8 @@
25
25
  ],
26
26
  "type": "module",
27
27
  "bin": {
28
- "clavue": "dist/clavue.js",
29
28
  "iclavue": "dist/clavue.js",
30
- "agent": "dist/clavue.js",
31
- "ai": "dist/clavue.js",
32
- "chat": "dist/clavue.js"
29
+ "code": "dist/clavue.js"
33
30
  },
34
31
  "files": [
35
32
  "dist/**",
package/repair.sh CHANGED
@@ -93,7 +93,7 @@ clean_residue() {
93
93
  done
94
94
  done
95
95
 
96
- for bin_name in clavue iclavue agent ai chat; do
96
+ for bin_name in iclavue code clavue agent ai chat; do
97
97
  bin_link="${prefix}/bin/${bin_name}"
98
98
  if [[ -L "$bin_link" && ! -e "$bin_link" ]]; then
99
99
  printf ' - removing dangling bin symlink %s\n' "$bin_link"
@@ -156,13 +156,13 @@ main() {
156
156
  fi
157
157
 
158
158
  printf '\nInstalled %s@%s globally.\n' "$PACKAGE" "$version"
159
- printf 'CLI commands: clavue · agent · ai · chat (also: iclavue)\n'
160
- if command -v clavue >/dev/null 2>&1; then
161
- clavue --version || true
162
- elif command -v iclavue >/dev/null 2>&1; then
159
+ printf 'CLI commands: iclavue · code (global clavue reserved for clavue-v1)\n'
160
+ if command -v iclavue >/dev/null 2>&1; then
163
161
  iclavue --version || true
162
+ elif command -v code >/dev/null 2>&1; then
163
+ code --version || true
164
164
  else
165
- printf 'Warning: clavue/iclavue not on PATH. Reopen shell or check `npm bin -g`.\n' >&2
165
+ printf 'Warning: iclavue/code not on PATH. Reopen shell or check `npm bin -g`.\n' >&2
166
166
  fi
167
167
  }
168
168