@kimuson/claude-code-viewer 0.4.3 → 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 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:
@@ -110,6 +144,11 @@ Settings can be configured from the sidebar in Claude Code Viewer.
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
 
package/dist/main.js CHANGED
@@ -4876,7 +4876,7 @@ import { z as z28 } from "zod";
4876
4876
  // package.json
4877
4877
  var package_default = {
4878
4878
  name: "@kimuson/claude-code-viewer",
4879
- version: "0.4.2",
4879
+ version: "0.4.3",
4880
4880
  type: "module",
4881
4881
  license: "MIT",
4882
4882
  repository: {
@@ -5127,7 +5127,7 @@ import z27 from "zod";
5127
5127
 
5128
5128
  // src/lib/i18n/schema.ts
5129
5129
  import z26 from "zod";
5130
- var localeSchema = z26.enum(["ja", "en"]);
5130
+ var localeSchema = z26.enum(["ja", "en", "zh_CN"]);
5131
5131
 
5132
5132
  // src/server/lib/config/config.ts
5133
5133
  var userConfigSchema = z27.object({