@kimuson/claude-code-viewer 0.4.2 → 0.4.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 +40 -1
- package/dist/main.js +459 -261
- package/dist/main.js.map +4 -4
- package/dist/static/assets/index-52rNYQAH.js +1 -0
- package/dist/static/assets/{index-Gic8S5Lu.js → index-DFmNnbaj.js} +1 -1
- package/dist/static/assets/index-DLA4zb1O.js +6 -0
- package/dist/static/assets/index-DutDIkvw.js +1 -0
- package/dist/static/assets/index-XKo9yk8p.js +1 -0
- package/dist/static/assets/index-hJaFyqiY.js +181 -0
- package/dist/static/assets/index-tkMROyMY.css +1 -0
- package/dist/static/assets/index-yRcA1geA.js +135 -0
- package/dist/static/assets/label-Dws6Ewzu.js +105 -0
- package/dist/static/assets/messages-ChjmV9GI.js +1 -0
- package/dist/static/assets/messages-DLi20Ryh.js +1 -0
- package/dist/static/assets/messages-H7YsW45d.js +1 -0
- package/dist/static/index.html +2 -2
- package/package.json +4 -2
- package/dist/static/assets/fileUtils-Dx6psFN4.js +0 -1
- package/dist/static/assets/index-9_i65aDK.js +0 -1
- package/dist/static/assets/index-BOZi-nvY.js +0 -115
- package/dist/static/assets/index-BSbB57mR.css +0 -1
- package/dist/static/assets/index-C4k414nW.js +0 -1
- package/dist/static/assets/index-CUFn_afi.js +0 -6
- package/dist/static/assets/index-CUzR7g73.js +0 -194
- package/dist/static/assets/index-dP8USCrN.js +0 -1
- package/dist/static/assets/label-CwNfCtYa.js +0 -105
- package/dist/static/assets/messages-Bbqi5Aw-.js +0 -1
- package/dist/static/assets/messages-CQJqvH5I.js +0 -1
package/README.md
CHANGED
|
@@ -63,6 +63,40 @@ claude-code-viewer
|
|
|
63
63
|
|
|
64
64
|
The server will start on port 3400 (or your specified PORT). Open `http://localhost:3400` in your browser to access the interface.
|
|
65
65
|
|
|
66
|
+
### Docker Deployment
|
|
67
|
+
|
|
68
|
+
Build the image locally:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
docker build -t claude-code-viewer .
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Run the container directly:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
docker run --rm -p 3400:3400 \
|
|
78
|
+
-e ANTHROPIC_BASE_URL=... \
|
|
79
|
+
-e ANTHROPIC_API_KEY=... \
|
|
80
|
+
-e ANTHROPIC_AUTH_TOKEN=... \
|
|
81
|
+
claude-code-viewer
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Alternatively, use the provided Compose configuration:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
docker compose up --build
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
> Note: `docker-compose.yml` ships without mounting `claude_home` by default. If you need the container to reuse an existing Claude workspace, map a volume to `/root/.claude`, for example:
|
|
91
|
+
>
|
|
92
|
+
> ```yaml
|
|
93
|
+
> services:
|
|
94
|
+
> app:
|
|
95
|
+
> volumes:
|
|
96
|
+
> - /path/to/claude_home:/root/.claude
|
|
97
|
+
> ```
|
|
98
|
+
|
|
99
|
+
|
|
66
100
|
## Data Source
|
|
67
101
|
|
|
68
102
|
The application reads Claude Code conversation logs from:
|
|
@@ -103,13 +137,18 @@ Settings can be configured from the sidebar in Claude Code Viewer.
|
|
|
103
137
|
| Setting | Default | Description |
|
|
104
138
|
| --- | --- | --- |
|
|
105
139
|
| Hide sessions without user messages | true | Claude Code creates logs for operations like `/compact` that aren't tied to actual tasks, which can create noise. When enabled, sessions without user messages are hidden. |
|
|
106
|
-
| Unify sessions with same title |
|
|
140
|
+
| Unify sessions with same title | false | When resuming, Claude Code creates a new session with regenerated conversation logs. When enabled, only the latest session with the same title is displayed. |
|
|
107
141
|
| Enter Key Behavior | Shift+Enter | Specifies which key combination sends messages. Options include Enter, Shift+Enter, and Command+Enter. |
|
|
108
142
|
| Permission Mode | Ask permission | Controls the approval logic when Claude Code requests tool invocations. By default, users approve requests through the UI. This feature requires Claude Code v1.0.82 or later; earlier versions automatically approve regardless of this setting. |
|
|
109
143
|
| Theme | System | Toggles between Dark Mode and Light Mode. Default follows system settings. |
|
|
110
144
|
| Notifications | None | Enables sound notifications when running session processes complete. Choose from multiple notification sounds with test playback functionality. |
|
|
111
145
|
| Language | System | Interface language selection. Supports English and Japanese with automatic system detection. |
|
|
112
146
|
|
|
147
|
+
## Internationalization (i18n)
|
|
148
|
+
|
|
149
|
+
Claude Code Viewer currently supports **English** and **Japanese**. Adding new languages is straightforward—simply add a new `messages.json` file for your locale (see [src/i18n/locales/](./src/i18n/locales/) for examples).
|
|
150
|
+
|
|
151
|
+
However, we haven't added other languages yet because we're uncertain about demand. **If you'd like support for your language, please open an issue**—we'll add it quickly!
|
|
113
152
|
|
|
114
153
|
## Alternatives & Differentiation
|
|
115
154
|
|