claudecode-history-viewer 1.0.1 → 1.0.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/README.en-US.md CHANGED
@@ -25,17 +25,21 @@ Requires **Node.js 18+**. Optional: existing `~/.claude` / `~/.cursor` history o
25
25
  ### Use from npm (recommended)
26
26
 
27
27
  ```bash
28
- npx claudecode-history-viewer
28
+ npx -y claudecode-history-viewer
29
29
  ```
30
30
 
31
- Or install globally:
31
+ `npx` may ask to install the package on first run; `-y` skips the prompt. Later runs often skip it once cached.
32
+
33
+ Or install globally (no prompt):
32
34
 
33
35
  ```bash
34
36
  npm install -g claudecode-history-viewer
35
37
  claudecode-history-viewer
36
38
  ```
37
39
 
38
- Open **http://localhost:3747**. Disable auto-open: `NO_OPEN_BROWSER=1 npx claudecode-history-viewer`
40
+ Open **http://localhost:3747**
41
+
42
+ Disable auto-open: `NO_OPEN_BROWSER=1 npx -y claudecode-history-viewer`
39
43
 
40
44
  ### Clone from GitHub (development)
41
45
 
@@ -111,7 +115,7 @@ Project slugs like `-Users-you-code-project` are decoded to readable paths in th
111
115
 
112
116
  | Issue | Fix |
113
117
  |-------|-----|
114
- | Cannot connect to backend | Run `npx claudecode-history-viewer` or `npm start`; ensure port `3747` is free |
118
+ | Cannot connect to backend | Run `npx -y claudecode-history-viewer` or `npm start`; ensure port `3747` is free |
115
119
  | Empty session list | Ensure history dirs exist and tools have written data |
116
120
  | Search/highlight off | Press **Enter** in in-session search, or use ◀ ▶ after render |
117
121
 
package/README.md CHANGED
@@ -25,17 +25,21 @@
25
25
  ### 从 npm 使用(推荐)
26
26
 
27
27
  ```bash
28
- npx claudecode-history-viewer
28
+ npx -y claudecode-history-viewer
29
29
  ```
30
30
 
31
- 或全局安装后执行:
31
+ `npx` 首次运行会询问是否安装依赖,加 `-y` 可跳过确认;装过后再次执行通常不再提示。
32
+
33
+ 或全局安装后执行(无二次确认):
32
34
 
33
35
  ```bash
34
36
  npm install -g claudecode-history-viewer
35
37
  claudecode-history-viewer
36
38
  ```
37
39
 
38
- 浏览器访问 **http://localhost:3747**。禁用自动打开:`NO_OPEN_BROWSER=1 npx claudecode-history-viewer`
40
+ 浏览器访问 **http://localhost:3747**
41
+
42
+ 禁用自动打开:`NO_OPEN_BROWSER=1 npx -y claudecode-history-viewer`
39
43
 
40
44
  ### 从 GitHub 克隆(开发 / 改代码)
41
45
 
@@ -111,7 +115,7 @@ npm run build && npm start
111
115
 
112
116
  | 问题 | 处理 |
113
117
  |------|------|
114
- | 无法连接后端 | 确认已运行 `npx claudecode-history-viewer` 或 `npm start`,端口 `3747` 未被占用 |
118
+ | 无法连接后端 | 确认已运行 `npx -y claudecode-history-viewer` 或 `npm start`,端口 `3747` 未被占用 |
115
119
  | 列表为空 | 确认对应目录存在且已有工具产生的历史 |
116
120
  | 搜索/高亮不准 | 会话内搜索按 **回车** 或等渲染后用 ◀ ▶ |
117
121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudecode-history-viewer",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Local web viewer for Claude Code and Cursor conversation history",
5
5
  "license": "MIT",
6
6
  "author": "wonderomg",