c8ctl-plugin-nano 1.10.0 → 1.10.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
@@ -298,7 +298,7 @@ and the history cap.
298
298
  > ⚠️ With `--in-memory`, restart recovers nothing, and Raft/replicated logs are
299
299
  > not persisted. Use it for stress/throughput testing, not durability testing.
300
300
 
301
- ## Console profile (`--console` / `--profile`)
301
+ ## Console profile (`--console`)
302
302
 
303
303
  The server ships a browser console. Pick how much of it is exposed at runtime:
304
304
 
@@ -308,10 +308,9 @@ c8ctl nano start --console observe # observability views only; authoring refu
308
308
  c8ctl nano start --console off # headless: no console router at all
309
309
  ```
310
310
 
311
- - Values: `studio` (default), `observe`, `off`. `--profile` is an alias for
312
- `--console`, and an inherited `NANOBPMN_CONSOLE` env var is honored when neither
313
- flag is passed. The plugin passes the choice through as `NANOBPMN_CONSOLE` on
314
- every node.
311
+ - Values: `studio` (default), `observe`, `off`. An inherited `NANOBPMN_CONSOLE`
312
+ env var is honored when the flag is not passed. The plugin passes the choice
313
+ through as `NANOBPMN_CONSOLE` on every node.
315
314
 
316
315
  ## Configuration (`set` / `config`)
317
316
 
package/c8ctl-plugin.js CHANGED
@@ -398,7 +398,7 @@ function parseRequest(args, flags) {
398
398
  capture: Boolean(flags?.capture),
399
399
  inMemory: Boolean(flags?.['in-memory'] || flags?.['no-journal']),
400
400
  historyMax: intFlag('history-max'),
401
- console: flags?.console ?? flags?.profile,
401
+ console: flags?.console,
402
402
  workspace: Boolean(flags?.workspace),
403
403
  check: Boolean(flags?.check),
404
404
  binary: flags?.binary,
@@ -552,7 +552,7 @@ const CONSOLE_PROFILES = ['off', 'observe', 'studio'];
552
552
 
553
553
  /**
554
554
  * Resolves the runtime console profile to pass through as NANOBPMN_CONSOLE.
555
- * Precedence: --console/--profile flag > inherited NANOBPMN_CONSOLE env >
555
+ * Precedence: --console flag > inherited NANOBPMN_CONSOLE env >
556
556
  * 'studio' (the full IDE, our default). Unknown values are rejected so a typo
557
557
  * fails fast here rather than silently degrading the console in the server.
558
558
  */
@@ -708,7 +708,7 @@ async function startCluster(req) {
708
708
  // outside the per-node data dir so "nano clean" never wipes it.
709
709
  NANOBPMN_WORKSPACE_DIR: workspaceDir,
710
710
  // Runtime console profile (off | observe | studio). Default studio (full
711
- // IDE); pass-through so --console/--profile or an inherited NANOBPMN_CONSOLE
711
+ // IDE); pass-through so --console or an inherited NANOBPMN_CONSOLE
712
712
  // picks the observability-only or headless surface. See nano-bpm ADR 0035 §C.
713
713
  NANOBPMN_CONSOLE: consoleProfile,
714
714
  };
@@ -3513,8 +3513,7 @@ export const commands = {
3513
3513
  'in-memory': { type: 'boolean', description: 'start: run with NO on-disk journal/read-model (in-memory engine; state lost on restart). Alias: --no-journal' },
3514
3514
  'no-journal': { type: 'boolean', description: 'start: alias for --in-memory' },
3515
3515
  'history-max': { type: 'string', description: 'start: cap retained terminal instances in the read model (NANOBPMN_HISTORY_MAX_INSTANCES; 0/unset = unbounded)' },
3516
- console: { type: 'string', description: 'start: runtime console profile off|observe|studio (NANOBPMN_CONSOLE; default studio). Alias: --profile' },
3517
- profile: { type: 'string', description: 'start: alias for --console (off|observe|studio; default studio)' },
3516
+ console: { type: 'string', description: 'start: runtime console profile off|observe|studio (NANOBPMN_CONSOLE; default studio)' },
3518
3517
  follow: { type: 'boolean', description: 'logs: stream output (tail -F)', short: 'f' },
3519
3518
  purge: { type: 'boolean', description: 'stop/restart: also delete per-node engine data' },
3520
3519
  force: { type: 'boolean', description: 'start: stop any existing cluster first' },
@@ -3704,7 +3703,7 @@ function printUsage() {
3704
3703
  console.log(' --capture start: enable trace capture (recorded-input replay) on every node');
3705
3704
  console.log(' --in-memory start: run with NO on-disk journal/read-model (alias --no-journal; state lost on restart)');
3706
3705
  console.log(' --history-max <n> start: cap retained terminal instances in the read model (0/unset = unbounded)');
3707
- console.log(' --console <profile> start: runtime console profile off|observe|studio (alias --profile; default studio)');
3706
+ console.log(' --console <profile> start: runtime console profile off|observe|studio (default studio)');
3708
3707
  console.log(' --binary <path> Path to the nanobpmn server binary (overrides "set bin")');
3709
3708
  console.log(' --purge stop: also delete per-node engine data');
3710
3709
  console.log(' --force start: stop any existing cluster first');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c8ctl-plugin-nano",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "type": "module",
5
5
  "description": "c8ctl plugin to start, inspect, and stop a local Nano BPM (nanobpmn) cluster",
6
6
  "main": "c8ctl-plugin.js",
@@ -49,12 +49,12 @@
49
49
  "semantic-release": "^25.0.3"
50
50
  },
51
51
  "optionalDependencies": {
52
- "@nanobpm/c8ctl-plugin-nano-darwin-arm64": "1.10.0",
53
- "@nanobpm/c8ctl-plugin-nano-darwin-x64": "1.10.0",
54
- "@nanobpm/c8ctl-plugin-nano-linux-x64": "1.10.0",
55
- "@nanobpm/c8ctl-plugin-nano-linux-arm64": "1.10.0",
56
- "@nanobpm/c8ctl-plugin-nano-linux-armv7": "1.10.0",
57
- "@nanobpm/c8ctl-plugin-nano-linux-armv6": "1.10.0",
58
- "@nanobpm/c8ctl-plugin-nano-win32-x64": "1.10.0"
52
+ "@nanobpm/c8ctl-plugin-nano-darwin-arm64": "1.10.1",
53
+ "@nanobpm/c8ctl-plugin-nano-darwin-x64": "1.10.1",
54
+ "@nanobpm/c8ctl-plugin-nano-linux-x64": "1.10.1",
55
+ "@nanobpm/c8ctl-plugin-nano-linux-arm64": "1.10.1",
56
+ "@nanobpm/c8ctl-plugin-nano-linux-armv7": "1.10.1",
57
+ "@nanobpm/c8ctl-plugin-nano-linux-armv6": "1.10.1",
58
+ "@nanobpm/c8ctl-plugin-nano-win32-x64": "1.10.1"
59
59
  }
60
60
  }