zozul-cli 0.1.0 → 0.1.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.
@@ -21,6 +21,7 @@ jobs:
21
21
 
22
22
  - run: npm test
23
23
 
24
- - run: npm publish --access public
24
+ - name: Publish (skip if version already exists)
25
+ run: npm publish --access public || true
25
26
  env:
26
27
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/README.md CHANGED
@@ -17,8 +17,8 @@ Each source has different strengths. OTEL is the authoritative source for **cost
17
17
  ## Quick start
18
18
 
19
19
  ```bash
20
- # Install and build
21
- npm install && npm link
20
+ # Install globally from npm
21
+ npm install -g zozul-cli
22
22
 
23
23
  # Configure Claude Code and install as a background service (recommended)
24
24
  zozul install --service
@@ -57,18 +57,15 @@ open http://localhost:7890/dashboard
57
57
  | `zozul serve` | Start the server (dashboard, hooks, OTEL receiver, API) on port 7890 |
58
58
  | `zozul install` | Configure Claude Code hooks and OTEL in `~/.claude/settings.json` |
59
59
  | `zozul install --service` | Configure Claude Code **and** install zozul as a login service (auto-starts) |
60
- | `zozul uninstall` | Remove zozul config from Claude Code settings |
61
- | `zozul uninstall --service` | Also stop and remove the background service |
62
- | `zozul restart` | Restart the background service (picks up new builds) |
63
- | `zozul service-status` | Show whether the background service is installed and running |
64
- | `zozul ingest` | Parse all Claude Code session JSONL files into the database |
65
- | `zozul ingest --force` | Re-ingest sessions that already exist (picks up new turns) |
66
- | `zozul sessions` | List recorded sessions with token/cost summaries |
67
- | `zozul session <id>` | Show full details and conversation for a session |
68
- | `zozul stats` | Show aggregate statistics across all sessions |
69
- | `zozul db-clean` | Remove rows with invalid timestamps from the database |
70
- | `zozul db-clean --session <id>` | Remove all data for a specific session |
71
- | `zozul show-config` | Preview the Claude Code config that would be installed |
60
+ | `zozul install --status` | Show whether the background service is installed and running |
61
+ | `zozul install --restart` | Restart the background service (picks up new builds) |
62
+ | `zozul install --dry-run` | Preview the config that would be installed |
63
+ | `zozul uninstall` | Remove zozul hooks, OTEL config, git hook, and background service |
64
+ | `zozul context <tags...>` | Set active task tags for tagging turns (e.g. `zozul context "UI" "Feature"`) |
65
+ | `zozul context --list` | List all tasks that have been used |
66
+ | `zozul context --clear` | Clear the active task context |
67
+ | `zozul sync` | Sync local data to the remote zozul backend |
68
+ | `zozul sync --dry-run` | Show what would be synced without sending data |
72
69
 
73
70
  ## Architecture
74
71
 
@@ -174,5 +171,12 @@ CLI flags override `.env` values.
174
171
  ## Requirements
175
172
 
176
173
  - Node.js 18+
174
+ - npm
177
175
  - Claude Code installed (`claude --version`)
178
176
  - Claude Pro, Max, Teams, Enterprise, or API key
177
+
178
+ ## Updating
179
+
180
+ ```bash
181
+ npm install -g zozul-cli
182
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zozul-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Observability for Claude Code — track token usage, costs, turns, and conversation history",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",