@jelou/cli 1.4.0 → 1.5.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 +18 -12
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -292,23 +292,29 @@ jelou functions deploy --no-confirm --json | jq '.data.url'
292
292
  not a TTY)
293
293
  - `--json` outputs `{ "ok": true, "data": ... }` to stdout
294
294
 
295
- ### Composite mode (`JELOU_CLI_MODE=agent`)
295
+ ### Composite mode (`--agent`)
296
296
 
297
- For AI coding agents and automation that want one switch instead of three,
298
- `JELOU_CLI_MODE=agent` flips a coherent set of "machine consumer" defaults.
299
- Explicit env vars always override the composite — set `NO_COLOR=0` (or
300
- `JELOU_NO_INPUT=0` etc.) to opt back in to a single dimension while keeping the
301
- rest of the agent profile.
297
+ For AI coding agents and automation that want one switch instead of three, the
298
+ `--agent` flag flips a coherent set of "machine consumer" defaults. It implies
299
+ `--json --no-input --compact` and sets `NO_COLOR=1`, `JELOU_NO_INPUT=1`,
300
+ `JELOU_NO_SPINNERS=1` for downstream child processes. Explicit per-component env
301
+ vars override the composite — set `NO_COLOR=0` to opt back in to a single
302
+ dimension while keeping the rest of the agent profile.
302
303
 
303
- | Env var | When `JELOU_CLI_MODE=agent` | When unset |
304
- | ------------------- | --------------------------- | ------------- |
305
- | `JELOU_NO_INPUT` | implies `1` | default unset |
306
- | `NO_COLOR` | implies `1` | default unset |
307
- | `JELOU_NO_SPINNERS` | implies `1` | default unset |
304
+ | Env var | When `--agent` is set | When unset |
305
+ | ------------------- | --------------------- | ------------- |
306
+ | `JELOU_NO_INPUT` | implies `1` | default unset |
307
+ | `NO_COLOR` | implies `1` | default unset |
308
+ | `JELOU_NO_SPINNERS` | implies `1` | default unset |
308
309
 
309
310
  Composite mode is **output behavior only** — it never bypasses safety nets.
310
311
  `.jelou/incoming/` preservation, `UNRESOLVED_INCOMING` push refusal, validation,
311
- and dirty-state checks always run regardless of the mode flag.
312
+ and dirty-state checks always run regardless of the mode flag. See
313
+ `docs/best-practices/mode-flags-vs-safety.md` for the full policy.
314
+
315
+ > **Note:** Earlier versions accepted a `JELOU_CLI_MODE=agent` env var as an
316
+ > alternate entry point. That surface was removed; use the `--agent` flag (or
317
+ > `alias jelou='jelou --agent'` in your shell) for the same effect.
312
318
 
313
319
  See the [full CI reference](../../docs/cli.md#ci--non-interactive-mode) for
314
320
  per-command flags and GitHub Actions examples.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jelou/cli",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Jelou CLI — manage functions, brains, channels, and more",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
@@ -17,11 +17,11 @@
17
17
  "LICENSE"
18
18
  ],
19
19
  "optionalDependencies": {
20
- "@jelou/cli-darwin-arm64": "1.4.0",
21
- "@jelou/cli-darwin-x64": "1.4.0",
22
- "@jelou/cli-linux-x64": "1.4.0",
23
- "@jelou/cli-linux-arm64": "1.4.0",
24
- "@jelou/cli-win32-x64": "1.4.0"
20
+ "@jelou/cli-darwin-arm64": "1.5.1",
21
+ "@jelou/cli-darwin-x64": "1.5.1",
22
+ "@jelou/cli-linux-x64": "1.5.1",
23
+ "@jelou/cli-linux-arm64": "1.5.1",
24
+ "@jelou/cli-win32-x64": "1.5.1"
25
25
  },
26
26
  "keywords": [
27
27
  "jelou",