@net-mesh/cli 0.35.0 → 0.37.0

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 +26 -10
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -28,19 +28,26 @@ net-mesh --help
28
28
  | `version` | SDK version + build metadata. |
29
29
  | `identity` | Generate / inspect / fingerprint operator identity files. |
30
30
  | `admin` | Signed admin-chain commits — drain, cordon, maintenance, drop-replicas, etc. |
31
- | `ice` | Break-glass ICE — simulate then commit force-drain / evict / restart / cutover. |
32
- | `snapshot` | One-shot `MeshOsSnapshot` reads (and `--watch` for streaming). |
31
+ | `ice` | Break-glass ICE — simulate then commit freeze-cluster / thaw-cluster / flush-avoid-lists / force-evict-replica / force-restart-daemon / force-cutover / kill-migration. |
32
+ | `snapshot` | One-shot substrate reads, both requiring `--local`: `get` prints the `MeshOsSnapshot`; `status` prints the typed `StatusSummary`. |
33
33
  | `audit` | Read-only queries against the RedEX-committed audit ledger. |
34
- | `log tail` | Substrate log stream (`--follow`, `--daemon`, `--level`). |
34
+ | `log tail` | Substrate log stream (`--follow`, `--daemon`, `--min-level`). |
35
35
  | `failures tail` | Substrate failure stream — same shape as `log tail`. |
36
36
  | `cap` | Capability advertisement + discovery. |
37
- | `peer` | Peer + NAT-traversal helpers. |
37
+ | `peer` | Peer + NAT-traversal helpers (`peer ls` today; reflex/NAT in Phase 2). |
38
38
  | `daemon` | Per-daemon listing from the local snapshot. |
39
39
  | `netdb` | NetDB local KV adapter — Cortex-backed tasks + memories. |
40
+ | `org` | Organization root authority authoring (keygen / issue-cert / issue-floors). |
41
+ | `node` | Node ownership provisioning (`adopt`). |
40
42
  | `subnet` | Hierarchical subnet inspection (`show`, `ls`, `tree`). |
41
43
  | `gateway` | `SubnetGateway` stats + export-table operator surface. |
42
44
  | `channel` | `ChannelConfigRegistry` inspection (`visibility`, `ls`). |
43
45
  | `aggregator` | `AggregatorDaemon` inspection + remote query. |
46
+ | `transfer` | Blob + directory transfer (`recv-blob` / `send-blob` / `recv-dir` / `send-dir` / `ls` / `status` / `cancel`). |
47
+ | `wrap` | Wrap a local stdio MCP server as owner-only mesh capabilities. |
48
+ | `mcp` | MCP bridge — expose mesh capabilities to a local MCP host (`serve`). |
49
+ | `forwarding` | Caller-side credential/header forwarding policy + audit (deny-by-default). |
50
+ | `typegen` | Generate typed language bindings from discovered tool descriptors. |
44
51
  | `completion` | Emit a shell-completion script (`bash` / `zsh` / `fish` / `powershell`). |
45
52
  | `man` | Emit the troff(1) man page on stdout. |
46
53
 
@@ -50,6 +57,7 @@ Applied to every subcommand; environment-variable fallbacks in brackets:
50
57
 
51
58
  - `--config <path>` `[NET_MESH_CONFIG]` — profile file (default `$XDG_CONFIG_HOME/net-mesh/config.toml`).
52
59
  - `--profile <name>` `[NET_MESH_PROFILE]` — named profile within the config file.
60
+ - `--insecure-config-permissions` `[NET_MESH_INSECURE_CONFIG_PERMISSIONS]` — read the profile even when it is group/world-accessible or owned by another user.
53
61
  - `--output (json|yaml|ndjson|table|text)` — auto-detects `table`/`text` on TTY and `json`/`ndjson` off-TTY.
54
62
  - `--quiet` / `-q` — suppress stderr diagnostics.
55
63
  - `--verbose` / `-v` — `-v` info, `-vv` debug, `-vvv` trace. `NET_MESH_LOG=` env-filter overrides.
@@ -80,12 +88,20 @@ Operator identity files are authored by `net-mesh identity generate` — ed25519
80
88
  Typed via `ExitCodeKind`. Scripts can match on the discriminator:
81
89
 
82
90
  - `0` — success
83
- - `2` — usage / parse error
84
- - `3` — config / identity load failure
85
- - `4` — substrate refused the action (auth, ICE threshold, etc.)
86
- - `5` — timeout
87
- - `6` — transport error
91
+ - `1` — generic error
92
+ - `2` — invalid arguments / parse error
93
+ - `3` — SDK error
94
+ - `4` — ICE simulation blocked
95
+ - `5` — operator-policy reject
96
+ - `6` — connection failure
97
+ - `7` — timeout
98
+ - `8` — confirmation refused
99
+ - `10` — `daemon`: factory id not registered
100
+ - `11` — `db`: query JSON failed to parse
101
+ - `12` — `db`: predicate DSL (`--where` / `--filter`) failed to parse
102
+ - `13` — `ice`: a supplied operator signature failed verification
103
+ - `14` — `typegen diff --exit-code`: a breaking schema change was detected
88
104
 
89
105
  ## License
90
106
 
91
- Apache-2.0.
107
+ MIT OR Apache-2.0. See [`LICENSE-MIT`](LICENSE-MIT) and [`LICENSE-APACHE`](LICENSE-APACHE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-mesh/cli",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "net-mesh — unified command-line interface for the Net mesh",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "repository": {
@@ -29,13 +29,13 @@
29
29
  },
30
30
  "//": "Per-platform binary packages are listed as optionalDependencies. npm fetches only the one whose `os`/`cpu`/`libc` constraints match the install host; bin/net-mesh.js resolves whichever landed at runtime and execs the bundled binary.",
31
31
  "optionalDependencies": {
32
- "@net-mesh/cli-linux-x64-gnu": "0.35.0",
33
- "@net-mesh/cli-linux-x64-musl": "0.35.0",
34
- "@net-mesh/cli-linux-arm64-gnu": "0.35.0",
35
- "@net-mesh/cli-linux-arm64-musl": "0.35.0",
36
- "@net-mesh/cli-darwin-x64": "0.35.0",
37
- "@net-mesh/cli-darwin-arm64": "0.35.0",
38
- "@net-mesh/cli-win32-x64": "0.35.0",
39
- "@net-mesh/cli-win32-arm64": "0.35.0"
32
+ "@net-mesh/cli-linux-x64-gnu": "0.37.0",
33
+ "@net-mesh/cli-linux-x64-musl": "0.37.0",
34
+ "@net-mesh/cli-linux-arm64-gnu": "0.37.0",
35
+ "@net-mesh/cli-linux-arm64-musl": "0.37.0",
36
+ "@net-mesh/cli-darwin-x64": "0.37.0",
37
+ "@net-mesh/cli-darwin-arm64": "0.37.0",
38
+ "@net-mesh/cli-win32-x64": "0.37.0",
39
+ "@net-mesh/cli-win32-arm64": "0.37.0"
40
40
  }
41
41
  }