@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=JSON.parse('{"Available commands":["Available commands"],"Available files and directories":["Available files and directories"],"Close sidebar":["Close Sidebar"],"Compare from":["Compare from"],"Compare to":["Compare to"],"Failed to commit":["Failed to commit"],"Failed to commit and push":["Failed to commit and push"],"Failed to push":["Failed to push"],"Message input with completion support":["Message input with completion support"],"Reload MCP servers":["Reload MCP servers"],"Retry Push":["Retry Push"],"Select enter key behavior":["Select enter key behavior"],"Select language":["Select language"],"Select permission mode":["Select permission mode"],"Select theme":["Select theme"],"Type your message here... (Start with / for commands, @ for files, Command+Enter to send)":["Type your message here... (Start with / for commands, @ for files, Command+Enter to send)"],"Type your message here... (Start with / for commands, @ for files, Enter to send)":["Type your message here... (Start with / for commands, @ for files, Enter to send)"],"Type your message here... (Start with / for commands, @ for files, Shift+Enter to send)":["Type your message here... (Start with / for commands, @ for files, Shift+Enter to send)"],"Uncommitted changes":["Uncommitted changes"],"assistant.thinking":["Thinking"],"assistant.tool.input_parameters":["Input Parameters"],"assistant.tool.message_count":[["count"]," messages"],"assistant.tool.result":["Tool Result"],"assistant.tool.task_id":["Task ID"],"assistant.tool.tool_id":["Tool ID"],"assistant.tool.view_task":["View Task"],"assistant.tool.view_task_details":["View Task Details"],"chat.attach_file":["Attach"],"chat.autocomplete.active":["Autocomplete Active"],"chat.button.start":["Start Chat"],"chat.error.send_failed":["Failed to send message. Please try again."],"chat.modal.title":["Start New Chat"],"chat.placeholder.continue.command_enter":["Type your message... (Start with / for commands, @ for files, Command+Enter to send)"],"chat.placeholder.continue.enter":["Type your message... (Start with / for commands, @ for files, Enter to send)"],"chat.placeholder.continue.shift_enter":["Type your message... (Start with / for commands, @ for files, Shift+Enter to send)"],"chat.placeholder.resume.command_enter":["Type your message... (Start with / for commands, @ for files, Command+Enter to send)"],"chat.placeholder.resume.enter":["Type your message... (Start with / for commands, @ for files, Enter to send)"],"chat.placeholder.resume.shift_enter":["Type your message... (Start with / for commands, @ for files, Shift+Enter to send)"],"chat.resume":["Resume"],"chat.scheduled_send.failed":["Failed to schedule message"],"chat.scheduled_send.success":["Message scheduled successfully"],"chat.scheduled_send.success_description":["You can view and manage it in the Scheduler tab"],"chat.send":["Send"],"chat.send_mode.immediate":["Send Now"],"chat.send_mode.label":["Send Mode"],"chat.send_mode.scheduled":["Schedule Send"],"chat.send_mode.scheduled_time":["Scheduled Send Time"],"chat.status.processing":["Processing..."],"common.action.cancel":["Cancel"],"common.cancel":["Cancel"],"common.create":["Create"],"common.delete":["Delete"],"common.deleting":["Deleting..."],"common.error":["Error"],"common.loading":["Loading..."],"common.reload":["Reload"],"common.saving":["Saving..."],"common.update":["Update"],"control.branch":["Branch"],"control.git":["Git"],"control.metadata":["Metadata"],"control.new":["New"],"control.new_chat":["New Chat"],"control.open_git_dialog":["Open Git Dialog"],"control.project_path":["Project Path"],"control.scroll_to_bottom":["Scroll to Bottom"],"control.scroll_to_top":["Scroll to Top"],"control.session_id":["Session ID"],"conversation.error.raw_content":["Raw Data: "],"conversation.error.report_issue":["Report This Issue"],"conversation.error.schema":["Schema Error"],"conversation.error.schema_validation":["Schema Validation Error"],"conversation.error.schema_validation.description":["Failed to parse this conversation entry. This may be due to format changes or parsing issues."],"cron_builder.cron_expression":["Cron Expression"],"cron_builder.custom":["Custom"],"cron_builder.daily":["Daily"],"cron_builder.day_of_week":["Day of Week"],"cron_builder.expression":["Cron Expression"],"cron_builder.friday":["Friday"],"cron_builder.hour":["Hour (0-23)"],"cron_builder.hourly":["Hourly"],"cron_builder.minute":["Minute (0-59)"],"cron_builder.monday":["Monday"],"cron_builder.preview":["Preview"],"cron_builder.saturday":["Saturday"],"cron_builder.schedule_type":["Schedule Type"],"cron_builder.sunday":["Sunday"],"cron_builder.thursday":["Thursday"],"cron_builder.tuesday":["Tuesday"],"cron_builder.wednesday":["Wednesday"],"cron_builder.weekly":["Weekly"],"diff.commit":["Commit"],"diff.commit.changes":["Commit Changes"],"diff.commit.message":["Commit Message"],"diff.commit.push":["Commit & Push"],"diff.committing":["Committing..."],"diff.committing.pushing":["Committing & Pushing..."],"diff.deselect.all":["Deselect All"],"diff.enter.message":["Please enter a commit message"],"diff.files":["Files"],"diff.files.changed":["files changed"],"diff.loading":["Loading diff..."],"diff.push":["Push"],"diff.pushing":["Pushing..."],"diff.select.all":["Select All"],"diff.select.file":["Please select at least one file"],"directory_picker.current":["Current: "],"directory_picker.loading":["Loading..."],"directory_picker.no_directories":["No Directories Found"],"directory_picker.show_hidden":["Show Hidden Files"],"mcp.error.load_failed":["Failed to load MCP servers: ",["error"]],"mcp.no.servers":["No MCP Servers Found"],"mcp.title":["MCP Servers"],"notfound.button.go_home":["Go Home"],"notfound.default.description":["The page you are looking for does not exist or has been moved."],"notfound.default.title":["Page Not Found"],"notfound.project.description":["The project you are looking for does not exist."],"notfound.project.title":["No Projects Found"],"notfound.session.description":["The session you are looking for does not exist."],"notfound.session.title":["Session Not Found"],"notification.beep":["Beep"],"notification.chime":["Chime"],"notification.description":["Select sound to play when Claude Code task completes"],"notification.none":["None"],"notification.ping":["Ping"],"notification.pop":["Pop"],"notification.test":["Test"],"project.new":["New Project"],"project.setup.action.setting_up":["Setting up..."],"project.setup.action.setup":["Set Up Project"],"project.setup.description":["Navigate to the directory to set up as a Claude Code project. If CLAUDE.md exists, it describes the project; otherwise initialize with <0>/init</0>."],"project.setup.title":["Set Up New Project"],"project_list.last_modified":["Last Modified: "],"project_list.messages":["Messages: "],"project_list.no_projects.description":["No Claude Code projects found in your ~/.claude/projects directory. Start a conversation with Claude Code to set up your first project."],"project_list.no_projects.title":["No Projects Found"],"project_list.view_conversations":["View Conversations"],"projects.page.description":["View Claude Code conversation history and project operations"],"projects.page.loading":["Loading projects..."],"projects.page.title":["Projects"],"scheduler.create_job":["Create Job"],"scheduler.delete_dialog.description":["Are you sure you want to delete this scheduler job? This action cannot be undone."],"scheduler.delete_dialog.title":["Delete Scheduler Job"],"scheduler.dialog.description":["Configure a scheduled job to send messages to Claude Code"],"scheduler.dialog.title.create":["Create Scheduled Job"],"scheduler.dialog.title.edit":["Edit Scheduled Job"],"scheduler.error.load_failed":["Failed to load scheduler jobs: ",["error"]],"scheduler.form.concurrency_policy":["Concurrency Policy"],"scheduler.form.concurrency_policy.run":["Run even if already running"],"scheduler.form.concurrency_policy.skip":["Skip if already running"],"scheduler.form.enabled":["Enable"],"scheduler.form.enabled.description":["Enable or disable this scheduled job"],"scheduler.form.message":["Message Content"],"scheduler.form.message.aria_label":["Message input with completion support (/ for commands, @ for files)"],"scheduler.form.message.hint":["/ for command completion, @ for file completion"],"scheduler.form.message.placeholder":["Type message to send to Claude Code... (/ for commands, @ for files)"],"scheduler.form.name":["Job Name"],"scheduler.form.reserved_time":["Scheduled Execution Time"],"scheduler.form.reserved_time.hint":["Will be executed once at the specified date and time, then automatically deleted"],"scheduler.form.schedule_type":["Schedule Type"],"scheduler.form.schedule_type.cron":["Recurring (Cron)"],"scheduler.form.schedule_type.reserved":["One-time Execution"],"scheduler.job.create_failed":["Failed to create job"],"scheduler.job.created":["Job created successfully"],"scheduler.job.delete_failed":["Failed to delete job"],"scheduler.job.deleted":["Job deleted successfully"],"scheduler.job.update_failed":["Failed to update job"],"scheduler.job.updated":["Job updated successfully"],"scheduler.last_run":["Last Run"],"scheduler.no_jobs":["No scheduler jobs"],"scheduler.status.disabled":["Disabled"],"scheduler.status.enabled":["Enabled"],"scheduler.title":["Scheduler"],"session.conversation.abort":["Abort"],"session.conversation.paused":["Paused"],"session.conversation.running":["Running"],"session.processing":["Claude Code is processing..."],"session.status.paused":["Paused"],"session.status.running":["Running"],"sessions.load.more":["Load More"],"sessions.new":["New"],"sessions.title":["Sessions"],"sessions.total":["Total"],"settings.description":["Display and behavior settings"],"settings.input.enter_key_behavior":["Enter Key Behavior"],"settings.input.enter_key_behavior.command_enter":["Send with Command+Enter"],"settings.input.enter_key_behavior.description":["Select Enter key behavior for message input"],"settings.input.enter_key_behavior.enter":["Send with Enter"],"settings.input.enter_key_behavior.shift_enter":["Send with Shift+Enter (Default)"],"settings.loading":["Loading settings..."],"settings.locale":["Language"],"settings.locale.description":["Select your preferred language"],"settings.locale.en":["English"],"settings.locale.ja":["Japanese"],"settings.locale.zh_CN":["Chinese (Simplified)"],"settings.notifications":["Notifications"],"settings.permission.mode":["Permission Mode"],"settings.permission.mode.accept_edits":["Accept Edits (Auto-approve file edits)"],"settings.permission.mode.bypass_permissions":["Bypass Permissions (No prompts)"],"settings.permission.mode.default":["Default (Confirm Permissions)"],"settings.permission.mode.description":["Control how file operation permission requests are handled"],"settings.permission.mode.plan":["Plan Mode (Planning only)"],"settings.permission.mode.unavailable":["This feature is not available in your Claude Code version. All tools are automatically approved."],"settings.section.notifications":["Notifications"],"settings.section.session_display":["Session Display"],"settings.section.system_info":["System Information"],"settings.session.display":["Session Display"],"settings.session.hide_no_user_message":["Hide Sessions Without User Messages"],"settings.session.hide_no_user_message.description":["Show only sessions that contain user commands or messages"],"settings.session.unify_same_title":["Unify Sessions with Same Title"],"settings.session.unify_same_title.description":["When multiple sessions have the same title, show only the latest session"],"settings.tab.title":["Display and Notification Settings"],"settings.theme":["Theme"],"settings.theme.dark":["Dark"],"settings.theme.description":["Select your preferred color theme"],"settings.theme.light":["Light"],"settings.theme.system":["System"],"settings.title":["Settings"],"sidebar.back.to.projects":["Back to Projects"],"sidebar.show.mcp.settings":["Show MCP Server Settings"],"sidebar.show.scheduler.jobs":["Show Scheduler Jobs"],"sidebar.show.session.list":["Show Session List"],"system.info.tab.title":["Show System Information"],"system_info.available_features":["Available Features"],"system_info.claude_code":["Claude Code"],"system_info.description":["Version and feature information"],"system_info.executable_path":["Executable Path"],"system_info.feature.agent_sdk.description":["Uses @anthropic-ai/claude-agent-sdk instead of @anthropic-ai/claude-code"],"system_info.feature.agent_sdk.title":["Extended Agent Mode"],"system_info.feature.tool_approval.description":["Approve or reject tool executions before Claude runs them, giving you full control over actions"],"system_info.feature.tool_approval.title":["Tool Approval"],"system_info.feature.unknown.description":["Feature information unavailable"],"system_info.title":["System Information"],"system_info.unknown":["Unknown"],"system_info.version_label":["Version"],"system_info.viewer_version":["Claude Code Viewer"],"user.content.document.pdf":["PDF Document"],"user.content.document.text":["Text Document"],"user.content.image":["Attached Image"],"user.content.unsupported_document":["Unsupported Document"],"user.content.unsupported_document.description":["Document type not supported for display"],"user.content.unsupported_media":["Unsupported Media"],"user.content.unsupported_media.description":["Media format not supported for display"]}');export{e as messages};
|
package/dist/static/index.html
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
content="Web Viewer for Claude Code history"
|
|
9
9
|
/>
|
|
10
10
|
<title>Claude Code Viewer</title>
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
12
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-yRcA1geA.js"></script>
|
|
12
|
+
<link rel="stylesheet" crossorigin href="/assets/index-tkMROyMY.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
15
|
<div id="app"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimuson/claude-code-viewer",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"claude-code-viewer": "./dist/main.js"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@anthropic-ai/claude-agent-sdk": "0.1.
|
|
21
|
+
"@anthropic-ai/claude-agent-sdk": "0.1.30",
|
|
22
22
|
"@anthropic-ai/claude-code": "2.0.24",
|
|
23
23
|
"@anthropic-ai/sdk": "0.67.0",
|
|
24
24
|
"@effect/platform": "0.92.1",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@radix-ui/react-collapsible": "1.1.12",
|
|
33
33
|
"@radix-ui/react-dialog": "1.1.15",
|
|
34
34
|
"@radix-ui/react-hover-card": "1.1.15",
|
|
35
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
35
36
|
"@radix-ui/react-select": "2.2.6",
|
|
36
37
|
"@radix-ui/react-slot": "1.2.3",
|
|
37
38
|
"@radix-ui/react-tabs": "1.1.13",
|
|
@@ -111,6 +112,7 @@
|
|
|
111
112
|
"e2e": "./scripts/e2e/exec_e2e.sh",
|
|
112
113
|
"e2e:start-server": "./scripts/e2e/start_server.sh",
|
|
113
114
|
"e2e:capture-snapshots": "./scripts/e2e/capture_snapshots.sh",
|
|
115
|
+
"lingui:extract": "lingui extract --clean",
|
|
114
116
|
"lingui:compile": "lingui compile --typescript"
|
|
115
117
|
}
|
|
116
118
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const s=e=>e.startsWith("image/")?"image":e==="application/pdf"?"pdf":"text",i=e=>new Promise((a,r)=>{const t=new FileReader;t.onload=()=>{const o=t.result;if(typeof o=="string"){const n=o.split(",")[1];a(n??"")}else r(new Error("Failed to read file as base64"))},t.onerror=()=>{r(new Error("Failed to read file"))},t.readAsDataURL(e)}),d=e=>new Promise((a,r)=>{const t=new FileReader;t.onload=()=>{const o=t.result;typeof o=="string"?a(o):r(new Error("Failed to read file as text"))},t.onerror=()=>{r(new Error("Failed to read file"))},t.readAsText(e)}),p=async e=>{const a=s(e.type);if(a==="text")return{type:"text",content:await d(e)};const r=await i(e);return a==="image"?{type:"image",block:{type:"image",source:{type:"base64",media_type:e.type,data:r}}}:{type:"document",block:{type:"document",source:{type:"base64",media_type:"application/pdf",data:r}}}};export{s as determineFileType,i as fileToBase64,d as fileToText,p as processFile};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,N as e,T as t}from"./index-BOZi-nvY.js";const n=()=>o.jsx(e,{message:o.jsx(t,{id:"notfound.project.title",message:"Project Not Found"}),description:o.jsx(t,{id:"notfound.project.description",message:"The project you are looking for does not exist."})});export{n as notFoundComponent};
|