@workscribe/cli 1.1.3 → 1.2.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 CHANGED
@@ -8,13 +8,11 @@ Workscribe is a CLI tool that passively captures your terminal activity and tran
8
8
  $ workscribe summary
9
9
 
10
10
  ## api-service (feature/auth) — 2h 15m
11
-
12
11
  - Set up authentication feature branch and installed JWT dependencies
13
12
  - Resolved failing test suite for token validation logic
14
13
  - Committed authentication middleware fixes
15
14
 
16
15
  ## infrastructure — 45m
17
-
18
16
  - Restarted staging environment and verified deployment stability
19
17
  - Investigated and resolved Docker networking issue in compose setup
20
18
  ```
@@ -27,6 +25,16 @@ A shell hook captures every command you run. At the end of the day, `workscribe
27
25
  shell hook → capture → SQLite → session grouper → AI provider → markdown
28
26
  ```
29
27
 
28
+ ## Requirements
29
+
30
+ | Dependency | Version | Notes |
31
+ |---|---|---|
32
+ | Node.js | **22 or later** | Uses the built-in `node:sqlite` module — not available in Node 20 or earlier |
33
+ | Shell | zsh or bash | Hook is appended to `~/.zshrc` or `~/.bashrc` by `workscribe init` |
34
+ | OS | macOS or Linux | Windows is not supported |
35
+
36
+ > Check your version: `node --version`
37
+
30
38
  ## Install
31
39
 
32
40
  ```bash
@@ -37,8 +45,6 @@ source ~/.zshrc # or restart your terminal
37
45
 
38
46
  `workscribe init` walks you through choosing an AI provider and installs the shell hook. From that point, capture is automatic.
39
47
 
40
- **Requirements:** Node.js 22+, macOS or Linux (zsh or bash)
41
-
42
48
  ## AI providers
43
49
 
44
50
  Workscribe works with any of these — switch at any time via config:
@@ -67,6 +73,9 @@ workscribe config set ai.apiKey <your-key>
67
73
  | `workscribe events` | List captured events |
68
74
  | `workscribe export` | Save today's summary as a markdown file |
69
75
  | `workscribe status` | Check capture is active and show event counts |
76
+ | `workscribe undo` | Remove the last captured event |
77
+ | `workscribe undo -n 5` | Remove the last 5 captured events |
78
+ | `workscribe undo --dry-run` | Preview what would be removed without deleting |
70
79
  | `workscribe pause` | Pause capture temporarily |
71
80
  | `workscribe resume` | Resume capture after a pause |
72
81
  | `workscribe config` | View current configuration |
@@ -86,6 +95,14 @@ workscribe config set ai.apiKey <your-key>
86
95
  workscribe config set session.idleTimeout 20 # minutes before a new session starts (default: 30)
87
96
  workscribe config set ai.model gpt-4o # override the default model for your provider
88
97
  workscribe config set redact.extra "MY_PATTERN" # add a custom redaction regex
98
+
99
+ # Override the display name for a local clone whose folder name differs from the repo
100
+ workscribe config set projects./Users/me/sandbox/myrepo actual-repo-name
101
+
102
+ # Post summaries to Slack or a custom webhook
103
+ workscribe config set integrations.slackWebhook https://hooks.slack.com/services/...
104
+ workscribe summary --slack
105
+ workscribe summary --webhook https://custom.endpoint/hook
89
106
  ```
90
107
 
91
108
  Config is stored at `~/.workscribe/config.json`.