@aaa-sentinel/ai-usage 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.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -58,7 +58,8 @@ Messages are printed in Spanish.
58
58
 
59
59
  One request per day of usage, with **the day, the model and the counters** — input, output,
60
60
  cache-read and cache-write tokens, and the number of turns — plus a random identifier generated
61
- on this machine that only tells two laptops apart.
61
+ on this machine that only tells two laptops apart. Each run also asks the server which tool the
62
+ connection is for; that request carries nothing but the token.
62
63
 
63
64
  Not the prompt, not the code, not the conversation, not your email and not the path of a
64
65
  transcript. The CLI reads only the tool its connection is for: a connection enrolled for Cursor
@@ -97,7 +98,9 @@ None is required.
97
98
  | `SENTINEL_USAGE_CLAUDE_DIR` | Claude Code projects folder. Defaults to `projects` under `CLAUDE_CONFIG_DIR` or `~/.claude` |
98
99
  | `SENTINEL_USAGE_CODEX_HOME` | Codex folder. Defaults to `CODEX_HOME` or `~/.codex` |
99
100
 
100
- The token is stored in `usage.json` inside `SENTINEL_USAGE_HOME`, readable only by your user.
101
+ The token is stored in `usage.json` inside `SENTINEL_USAGE_HOME`. On macOS and Linux the file is
102
+ readable only by your user (mode 600); on Windows it inherits the permissions of your profile
103
+ folder.
101
104
 
102
105
  ## Troubleshooting
103
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaa-sentinel/ai-usage",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Report individual Cursor, Claude Code, Copilot and Codex usage to AAA Sentinel; prompts and tokens stay on the laptop",
5
5
  "license": "MIT",
6
6
  "type": "module",