ccanalyzer 1.0.0 → 1.0.1
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 +47 -0
- package/package.json +8 -2
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# ccanalyzer
|
|
2
|
+
|
|
3
|
+
A web-based dashboard for analyzing your [Claude Code](https://claude.ai/code) sessions — costs, token usage, agent activity, and conversation timelines.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
[](https://www.npmjs.com/package/ccanalyzer)
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npx -y ccanalyzer@latest
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Opens a local dashboard at **http://localhost:3737** in your browser.
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
|
|
18
|
+
- **Dashboard** — all projects with token counts, costs, and last activity
|
|
19
|
+
- **Session browser** — list sessions per project sorted by recency
|
|
20
|
+
- **Session detail** — full message thread with token/cost breakdown per exchange
|
|
21
|
+
- **Gantt timeline** — visual timeline of user turns, AI responses, and spawned agents
|
|
22
|
+
- Click a **message bar** → see the exchange inline
|
|
23
|
+
- Click an **agent bar** → open the full agent conversation in a popup
|
|
24
|
+
- **Agent popup** — complete agent conversation with stats (input/output tokens, cost)
|
|
25
|
+
|
|
26
|
+
## Custom config directory
|
|
27
|
+
|
|
28
|
+
By default, ccanalyzer reads `~/.claude`. To analyze a different Claude config directory (e.g. a work profile or a custom `CLAUDE_CONFIG_DIR`):
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
CLAUDE_CONFIG_DIR=/path/to/your/.claude npx -y ccanalyzer@latest
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Example — analyze a secondary profile:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
CLAUDE_CONFIG_DIR=~/.claude-work npx -y ccanalyzer@latest
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Requirements
|
|
41
|
+
|
|
42
|
+
- Node.js >= 18
|
|
43
|
+
- Claude Code sessions in `~/.claude/projects/` (or your custom `CLAUDE_CONFIG_DIR`)
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccanalyzer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Web-based analyzer for Claude Code sessions",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ccanalyzer": "./bin/index.js"
|
|
@@ -20,7 +20,13 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
23
|
-
"keywords": [
|
|
23
|
+
"keywords": [
|
|
24
|
+
"claude",
|
|
25
|
+
"claude-code",
|
|
26
|
+
"analytics",
|
|
27
|
+
"sessions",
|
|
28
|
+
"ccanalyzer"
|
|
29
|
+
],
|
|
24
30
|
"license": "MIT",
|
|
25
31
|
"repository": {
|
|
26
32
|
"type": "git",
|