cc-viewer 1.6.309 → 1.6.310
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 +2 -55
- package/dist/assets/App-JIy7ipem.js +2 -0
- package/dist/assets/{MdxEditorPanel-BIz7RaKp.js → MdxEditorPanel-Dfn62V7N.js} +1 -1
- package/dist/assets/Mobile-Dbhv9o_l.js +1 -0
- package/dist/assets/{index-DXWePKtv.js → index-DgGJTx-b.js} +2 -2
- package/dist/assets/seqResourceLoaders-CC0PRWqk.js +2 -0
- package/dist/index.html +1 -1
- package/package.json +3 -2
- package/server/lib/context-rules.js +143 -0
- package/server/lib/context-watcher.js +12 -19
- package/server/routes/events.js +4 -3
- package/dist/assets/App-CHtygEiz.js +0 -2
- package/dist/assets/Mobile-NfvYGMaE.js +0 -1
- package/dist/assets/seqResourceLoaders-Dk2VUDDk.js +0 -2
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ Based on Claude Code, a Vibe Coding tool that distills and accumulates real deve
|
|
|
11
11
|
5. Native experience preserved: only enhances Claude Code's capabilities without making any substantive changes to the core, keeping the native experience intact;
|
|
12
12
|
6. Third-party model support: compatible with deepseek-v4-\*, GLM 5.1, Kimi K2.6, with cc-switch built in so you can hot-swap third-party tools at any time;
|
|
13
13
|
|
|
14
|
+
<img width="860" alt="cc-viewer — deploy once, share with every device" src="https://raw.githubusercontent.com/weiesky/cc-viewer/main/docs/cc-viewer-share.svg" />
|
|
15
|
+
|
|
14
16
|
English | [简体中文](./docs/README.zh.md) | [繁體中文](./docs/README.zh-TW.md) | [한국어](./docs/README.ko.md) | [日本語](./docs/README.ja.md) | [Deutsch](./docs/README.de.md) | [Español](./docs/README.es.md) | [Français](./docs/README.fr.md) | [Italiano](./docs/README.it.md) | [Dansk](./docs/README.da.md) | [Polski](./docs/README.pl.md) | [Русский](./docs/README.ru.md) | [العربية](./docs/README.ar.md) | [Norsk](./docs/README.no.md) | [Português (Brasil)](./docs/README.pt-BR.md) | [ไทย](./docs/README.th.md) | [Türkçe](./docs/README.tr.md) | [Українська](./docs/README.uk.md)
|
|
15
17
|
|
|
16
18
|
## Usage
|
|
@@ -150,61 +152,6 @@ By default, remote (LAN) access requires the `?token=` query that ccv prints at
|
|
|
150
152
|
* Each request inlines Token usage stats (input/output tokens, cache creation/read, hit rate)
|
|
151
153
|
* Compatible with Claude Code Router (CCR) and other proxy scenarios — falls back to matching requests by API path pattern
|
|
152
154
|
|
|
153
|
-
### Conversation mode
|
|
154
|
-
|
|
155
|
-
Click the "Conversation Mode" button at the top right to parse the Main Agent's full conversation history into a chat interface:
|
|
156
|
-
|
|
157
|
-
<img height="764" width="1500" alt="image" src="https://github.com/user-attachments/assets/725b57c8-6128-4225-b157-7dba2738b1c6" />
|
|
158
|
-
|
|
159
|
-
* Agent Team display is not yet supported
|
|
160
|
-
* User messages are right-aligned (blue bubbles), Main Agent replies are left-aligned (dark bubbles)
|
|
161
|
-
* `thinking` blocks are collapsed by default and rendered as Markdown — click to expand and view the reasoning; one-click translation is supported (still unstable)
|
|
162
|
-
* User-selection messages (AskUserQuestion) are displayed in Q\&A form
|
|
163
|
-
* Two-way mode sync: switching to Conversation mode auto-scrolls to the conversation that matches the selected request; switching back to the raw mode auto-scrolls to the selected request
|
|
164
|
-
* Settings panel: toggle the default collapsed state of tool results and thinking blocks
|
|
165
|
-
* Mobile conversation browsing: in mobile CLI mode, tap the "Conversation Browse" button in the top bar to slide out a read-only conversation view and browse the full history on your phone
|
|
166
|
-
|
|
167
|
-
### Log management
|
|
168
|
-
|
|
169
|
-
From the CC-Viewer dropdown menu in the top-left:
|
|
170
|
-
|
|
171
|
-
<img height="760" width="1500" alt="image" src="https://github.com/user-attachments/assets/33295e2b-f2e0-4968-a6f1-6f3d1404454e" />
|
|
172
|
-
|
|
173
|
-
**Log compression**
|
|
174
|
-
Regarding logs, I want to state clearly that I haven't modified Anthropic's official definition — log integrity is guaranteed.
|
|
175
|
-
However, individual log entries for the 1M Opus model can get extremely large in later stages. Thanks to some log optimizations applied to MainAgent, the size can be reduced by at least 66% even without gzip.
|
|
176
|
-
The parser for these compressed logs can be extracted from the current repository.
|
|
177
|
-
|
|
178
|
-
### More handy useful features
|
|
179
|
-
|
|
180
|
-
<img height="767" width="1500" alt="image" src="https://github.com/user-attachments/assets/add558c5-9c4d-468a-ac6f-d8d64759fdbd" />
|
|
181
|
-
|
|
182
|
-
You can quickly locate your prompts via the sidebar tools.
|
|
183
|
-
|
|
184
|
-
***
|
|
185
|
-
|
|
186
|
-
<img height="765" width="1500" alt="image" src="https://github.com/user-attachments/assets/82b8eb67-82f5-41b1-89d6-341c95a047ed" />
|
|
187
|
-
|
|
188
|
-
The interesting KV-Cache-Text feature shows you exactly what Claude sees.
|
|
189
|
-
|
|
190
|
-
***
|
|
191
|
-
|
|
192
|
-
<img height="765" width="1500" alt="image" src="https://github.com/user-attachments/assets/54cdfa4e-677c-4aed-a5bb-5fd946600c46" />
|
|
193
|
-
|
|
194
|
-
You can upload images and describe your needs — Claude's image understanding is remarkably strong, and as you know, you can paste images directly with Ctrl + V; the full content shows up in the conversation.
|
|
195
|
-
|
|
196
|
-
***
|
|
197
|
-
|
|
198
|
-
<img height="370" width="600" alt="image" src="https://github.com/user-attachments/assets/87d332ea-3e34-4957-b442-f9d070211fbf" />
|
|
199
|
-
|
|
200
|
-
You can customize plugins directly, manage all cc-viewer processes, and cc-viewer supports hot-switching to third-party APIs (yes, you can use GLM, Kimi, MiniMax, Qwen, DeepSeek — though I think they're all rather weak at the moment).
|
|
201
|
-
|
|
202
|
-
***
|
|
203
|
-
|
|
204
|
-
<img height="746" width="1500" alt="image" src="https://github.com/user-attachments/assets/b1f60c7c-1438-4ecc-8c64-193d21ee3445" />
|
|
205
|
-
|
|
206
|
-
More features waiting for you to discover... for example: the system supports Agent Team and ships with a built-in Code Reviewer. Codex Code Reviewer integration is coming very soon (I strongly recommend using Codex to review Claude Code's code).
|
|
207
|
-
|
|
208
155
|
<a href="https://www.star-history.com/?repos=weiesky%2Fcc-viewer&type=date&legend=top-left">
|
|
209
156
|
<picture>
|
|
210
157
|
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=weiesky/cc-viewer&type=date&theme=dark&legend=top-left" />
|