@tryglen/cli 0.52.32 → 0.52.34

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
@@ -108,9 +108,9 @@ is addressed.
108
108
 
109
109
  ## Telemetry
110
110
 
111
- When a glen command fails or warns, the CLI reports an **error code** (for example `install.path_missing` or `api.auth_expired`) so the Glen team can see when the CLI breaks for people. Each report carries only the code, the command name, the names of the flags you used (like `--update`, never their values), the coding agent, the CLI/Node versions, the OS, and a count. **Never** your prompts, transcripts, search queries, code, file paths, flag values, or error messages. The server rejects anything else.
111
+ When a glen command fails or warns, the CLI reports an **error code** (for example `install.path_missing` or `api.auth_expired`) so the Glen team can see when the CLI breaks for people. Each report carries only the code and its category, whether it was an error or a warning, the command name, the names of the flags you used (like `--update`, never their values), the name of the coding agent whose hook ran the command, the CLI and Node versions, the OS and CPU architecture (like `darwin` and `arm64`), a system error code (like `EACCES`) or HTTP status when there is one, and how many times it happened and when. **Never** your prompts, transcripts, search queries, code, file paths, flag values, or error messages. The server rejects anything else.
112
112
 
113
- Reports are saved in `~/.glen/events.json` and sent in the background, so commands and hooks never wait on them. They are sent in incognito too, because they carry no glen content. A random install id links reports from before `glen login` to your account after you log in.
113
+ Reports are saved in `~/.glen/events.json` and sent in the background, so commands and hooks never wait on them. They are sent in incognito too, because they carry no glen content. Each batch also carries a random install id kept in `~/.glen/install-id`, and your API key when you're logged in, so reports from before `glen login` can be linked to your account after you log in.
114
114
 
115
115
  Turn it off with `glen telemetry disable`, `GLEN_TELEMETRY_DISABLED=1` or `DO_NOT_TRACK=1`. Set `GLEN_TELEMETRY_DEBUG=1` to see exactly what would be sent.
116
116
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glen",
3
- "version": "0.52.32",
3
+ "version": "0.52.34",
4
4
  "description": "Shared team memory for coding agents: capture on every turn and skill-driven recall via the glen CLI.",
5
5
  "author": {
6
6
  "name": "Glen",
@@ -9,8 +9,13 @@ user what changed. After the `status:` lines, doctor lists problems: `error:`
9
9
  (broken) and `warning:` (worth fixing) lines, each with a `fix:` line under it,
10
10
  then `hint:` lines for things that may not apply. It still exits 0.
11
11
 
12
- - `glen: command not found` → install the CLI: `npm install -g @tryglen/cli`,
13
- then run `glen install` (it sets up the plugin + hooks for this agent).
12
+ - `glen: command not found` → run
13
+ `npx @tryglen/cli@latest install --agent <agent>`, with `<agent>` set to the
14
+ agent you are running in (the command's `--help` lists the names). It installs
15
+ the CLI, even if npm's global folder isn't writable, and sets up this agent's
16
+ plugin, or prints the steps to do it. `glen` may still not be on PATH in this
17
+ shell: if the output prints a PATH fix or a full path to `glen`, apply it or
18
+ use that path. Then run `glen login`, because `--agent` skips sign-in.
14
19
  - `status: cli=<x> latest=<y> channel=<...>` where y is newer than x → run
15
20
  `glen update` (updates the CLI and any installed glen plugins in one go).
16
21
  - `status: login=missing ...` → run `glen login`. A browser window opens with
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryglen/cli",
3
- "version": "0.52.32",
3
+ "version": "0.52.34",
4
4
  "description": "Glen CLI: memory for coding agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,5 +41,5 @@
41
41
  "node": ">=20"
42
42
  },
43
43
  "license": "MIT",
44
- "gitHead": "4b53cc8e067b9d9b787a724d2385cb5eb0f21546"
44
+ "gitHead": "2893b5a287808a9e8ea5d3d9cb00fa55200d8a14"
45
45
  }