@kimuson/claude-code-viewer 0.5.3 → 0.5.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 +16 -0
- package/dist/main.js +5 -3
- package/dist/main.js.map +2 -2
- package/dist/static/assets/ProtectedRoute-BKa2KNL5.js +56 -0
- package/dist/static/assets/{eye-BuSdfkCQ.js → eye-BuuMK_10.js} +1 -1
- package/dist/static/assets/index-B5f8xC3F.js +199 -0
- package/dist/static/assets/{index-CBG0FPYe.js → index-CPXteyzl.js} +1 -1
- package/dist/static/assets/{index-D_1RM2pr.js → index-if6WtkX7.js} +2 -2
- package/dist/static/assets/{label-ab04u_PM.js → label-CBuy4auH.js} +1 -1
- package/dist/static/assets/{login-COCPEEcP.js → login-Umq8wXxy.js} +1 -1
- package/dist/static/assets/messages-BJ1VgsgX.js +1 -0
- package/dist/static/assets/messages-IXcunSHt.js +1 -0
- package/dist/static/assets/messages-oFJMtVzX.js +1 -0
- package/dist/static/assets/{session-epIuYKPK.js → session-DTsxKUn0.js} +1 -1
- package/dist/static/assets/{session-DJVVqSFi.js → session-k-eoDLbo.js} +7 -7
- package/dist/static/index.html +1 -1
- package/package.json +1 -1
- package/dist/static/assets/ProtectedRoute-BS9wovkS.js +0 -56
- package/dist/static/assets/index-CHE_q6qo.js +0 -199
- package/dist/static/assets/messages-Bsehwubv.js +0 -1
- package/dist/static/assets/messages-CybTnc3U.js +0 -1
- package/dist/static/assets/messages-fKC_gHHM.js +0 -1
package/README.md
CHANGED
|
@@ -138,6 +138,10 @@ The application reads Claude Code conversation logs from:
|
|
|
138
138
|
|
|
139
139
|
**Note on Version Support**: Recent versions of Claude Code have adopted more aggressive summarization behavior. To accommodate users who prefer to pin to specific versions, Claude Code Viewer maintains compatibility with Claude Code v1.0.50 and later for the foreseeable future.
|
|
140
140
|
|
|
141
|
+
### Environment Variables
|
|
142
|
+
|
|
143
|
+
**NODE_ENV Consideration**: If you have `NODE_ENV=development` set in your environment (from other projects or system configuration), the application may not work correctly. Either set `NODE_ENV=production` or leave it unset when running Claude Code Viewer.
|
|
144
|
+
|
|
141
145
|
## Configuration
|
|
142
146
|
|
|
143
147
|
### Command-Line Options and Environment Variables
|
|
@@ -166,6 +170,7 @@ Settings can be configured from the sidebar in Claude Code Viewer.
|
|
|
166
170
|
| 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. |
|
|
167
171
|
| 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. |
|
|
168
172
|
| Enter Key Behavior | Shift+Enter | Specifies which key combination sends messages. Options include Enter, Shift+Enter, and Command+Enter. |
|
|
173
|
+
| Search Hotkey | Command+K | Select the hotkey to open search dialog. Options include Ctrl+K and Command+K. |
|
|
169
174
|
| 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. |
|
|
170
175
|
| Theme | System | Toggles between Dark Mode and Light Mode. Default follows system settings. |
|
|
171
176
|
| Notifications | None | Enables sound notifications when running session processes complete. Choose from multiple notification sounds with test playback functionality. |
|
|
@@ -224,6 +229,17 @@ Claude Code Viewer is designed with remote hosting in mind. To support remote de
|
|
|
224
229
|
|
|
225
230
|
The application features a separated client-server architecture that enables remote hosting. **Basic password authentication is available** via the `--password` command-line option or `CCV_PASSWORD` environment variable. When set, users must authenticate with the configured password before accessing the application. However, this is a simple single-password authentication mechanism without advanced features like multi-user support, role-based access control, or OAuth integration. If you require more sophisticated authentication, carefully evaluate your security requirements and implement appropriate access controls at the infrastructure level (e.g., reverse proxy with OAuth, VPN, IP whitelisting).
|
|
226
231
|
|
|
232
|
+
## Privacy and Network Communication
|
|
233
|
+
|
|
234
|
+
Claude Code Viewer is designed with privacy in mind:
|
|
235
|
+
|
|
236
|
+
- **Localhost-Only Communication**: The application runs a web client and API server on localhost, communicating exclusively between your browser and the local server
|
|
237
|
+
- **Anthropic API Access**: Claude Code is invoked via the Claude Agent SDK, which handles communication to the Anthropic API. No other external services are contacted
|
|
238
|
+
- **No Tracking or Telemetry**: The application does not collect crash reports, usage statistics, or any other telemetry. Tracking for Claude Code itself follows the settings configured in Claude Code's own configuration
|
|
239
|
+
- **Network Isolation**: The application functions correctly even if network access is restricted to only the Anthropic API and the localhost port. There are no plans to add external network dependencies in the future
|
|
240
|
+
|
|
241
|
+
If you have concerns about network access, you can verify that the application only communicates with the Anthropic API and localhost by monitoring network traffic.
|
|
242
|
+
|
|
227
243
|
## License
|
|
228
244
|
|
|
229
245
|
This project is available under the MIT License.
|
package/dist/main.js
CHANGED
|
@@ -7,7 +7,7 @@ import { Effect as Effect49 } from "effect";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "@kimuson/claude-code-viewer",
|
|
10
|
-
version: "0.5.
|
|
10
|
+
version: "0.5.4",
|
|
11
11
|
description: "A full-featured web-based Claude Code client that provides complete interactive functionality for managing Claude Code projects.",
|
|
12
12
|
type: "module",
|
|
13
13
|
license: "MIT",
|
|
@@ -1670,7 +1670,8 @@ var LayerImpl12 = Effect17.gen(function* () {
|
|
|
1670
1670
|
enterKeyBehavior: "shift-enter-send",
|
|
1671
1671
|
permissionMode: "default",
|
|
1672
1672
|
locale: DEFAULT_LOCALE,
|
|
1673
|
-
theme: "system"
|
|
1673
|
+
theme: "system",
|
|
1674
|
+
searchHotkey: "command-k"
|
|
1674
1675
|
});
|
|
1675
1676
|
const setUserConfig = (newConfig) => Effect17.gen(function* () {
|
|
1676
1677
|
yield* Ref5.update(configRef, () => newConfig);
|
|
@@ -6971,7 +6972,8 @@ var userConfigSchema = z27.object({
|
|
|
6971
6972
|
enterKeyBehavior: z27.enum(["shift-enter-send", "enter-send", "command-enter-send"]).optional().default("shift-enter-send"),
|
|
6972
6973
|
permissionMode: z27.enum(["acceptEdits", "bypassPermissions", "default", "plan"]).optional().default("default"),
|
|
6973
6974
|
locale: localeSchema.optional().default("en"),
|
|
6974
|
-
theme: z27.enum(["light", "dark", "system"]).optional().default("system")
|
|
6975
|
+
theme: z27.enum(["light", "dark", "system"]).optional().default("system"),
|
|
6976
|
+
searchHotkey: z27.enum(["ctrl-k", "command-k"]).optional().default("command-k")
|
|
6975
6977
|
});
|
|
6976
6978
|
var defaultUserConfig = userConfigSchema.parse({});
|
|
6977
6979
|
|