@workscribe/cli 1.3.0 → 1.5.0

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 CHANGED
@@ -38,12 +38,14 @@ shell hook → capture → SQLite → session grouper → AI provider → markdo
38
38
  ## Install
39
39
 
40
40
  ```bash
41
- npm install -g @workscribe/cli
41
+ <package-manager> install -g @workscribe/cli
42
42
  workscribe init
43
43
  source ~/.zshrc # or restart your terminal
44
44
  ```
45
45
 
46
- `workscribe init` walks you through choosing an AI provider and installs the shell hook. From that point, capture is automatic.
46
+ > Use the global install flag for your package manager — e.g. `npm install -g`, `yarn global add`, `pnpm add -g`, or `bun add -g`.
47
+
48
+ `workscribe init` walks you through choosing an AI provider, installs the shell hook, and offers to install a Claude Code session capture hook if Claude Code is detected. Safe to re-run — updates outdated hooks and skips steps already complete.
47
49
 
48
50
  ## AI providers
49
51
 
@@ -76,6 +78,9 @@ workscribe config set ai.apiKey <your-key>
76
78
  | `workscribe undo` | Remove the last captured event |
77
79
  | `workscribe undo -n 5` | Remove the last 5 captured events |
78
80
  | `workscribe undo --dry-run` | Preview what would be removed without deleting |
81
+ | `workscribe clear` | Delete all captured events for today |
82
+ | `workscribe clear --date 2026-05-20` | Delete all events for a specific date |
83
+ | `workscribe clear --dry-run` | Preview what would be cleared without deleting |
79
84
  | `workscribe pause` | Pause capture temporarily |
80
85
  | `workscribe resume` | Resume capture after a pause |
81
86
  | `workscribe config` | View current configuration |