@vultisig/cli 2.18.6 → 2.18.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vultisig/cli
2
2
 
3
+ ## 2.18.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1033](https://github.com/vultisig/vultisig-sdk/pull/1033) [`f682eda`](https://github.com/vultisig/vultisig-sdk/commit/f682eda5607a8263e90b18d9ff7167eb2e0a7004) Thanks [@neavra](https://github.com/neavra)! - docs(cli): regenerate the README "Exit Codes" table from the `ExitCode` enum (the single source of truth in `src/core/errors.ts`). The shipped table was stale and mislabelled every non-zero code — e.g. it called `2` "invalid usage" and `3` "configuration error" when the CLI actually returns `2` for authentication-required and `3` for a retryable network error, so a script written to the README's codes misclassified every failure. Codes `8`–`11` (ACK_FAILED, DUPLICATE_BROADCAST, and the two `agent ask` turn-outcome codes) were also undocumented. Also corrects the "disable colored output" env var to `NO_COLOR` (the cross-tool standard the CLI honours; `VULTISIG_NO_COLOR` still works). Adds a doc-lint test that fails if the README table drifts from the enum. Docs-only, but the README ships in the npm package, so this is a patch.
8
+
3
9
  ## 2.18.6
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -693,13 +693,23 @@ explorer:https://etherscan.io/tx/0x9f8e7d6c...
693
693
  "success": true,
694
694
  "data": {
695
695
  "balances": [
696
- { "chain": "Ethereum", "symbol": "ETH", "amount": "1.5", "decimals": 18, "raw_amount": "1500000000000000000" }
696
+ {
697
+ "chain": "Ethereum",
698
+ "symbol": "ETH",
699
+ "amount": "1.5",
700
+ "decimals": 18,
701
+ "raw_amount": "1500000000000000000"
702
+ }
697
703
  ]
698
704
  }
699
705
  }
700
706
  ],
701
707
  "transactions": [
702
- { "hash": "0x9f8e7d6c...", "chain": "ethereum", "explorerUrl": "https://etherscan.io/tx/0x9f8e7d6c..." }
708
+ {
709
+ "hash": "0x9f8e7d6c...",
710
+ "chain": "ethereum",
711
+ "explorerUrl": "https://etherscan.io/tx/0x9f8e7d6c..."
712
+ }
703
713
  ]
704
714
  }
705
715
  ```
@@ -707,7 +717,10 @@ explorer:https://etherscan.io/tx/0x9f8e7d6c...
707
717
  On failure, stdout is a single JSON object with both a human `error` string and a stable `code` (the `error` field is unchanged for older parsers):
708
718
 
709
719
  ```json
710
- { "error": "Agent backend unreachable at https://example.invalid", "code": "BACKEND_UNREACHABLE" }
720
+ {
721
+ "error": "Agent backend unreachable at https://example.invalid",
722
+ "code": "BACKEND_UNREACHABLE"
723
+ }
711
724
  ```
712
725
 
713
726
  Each entry in `tool_calls` may include `code` when `success` is false (same values as below).
@@ -983,8 +996,18 @@ vultisig balance -o json
983
996
  ```json
984
997
  {
985
998
  "balances": [
986
- { "chain": "ethereum", "native": "1.5", "symbol": "ETH", "usdValue": "3750.00" },
987
- { "chain": "bitcoin", "native": "0.1", "symbol": "BTC", "usdValue": "6500.00" }
999
+ {
1000
+ "chain": "ethereum",
1001
+ "native": "1.5",
1002
+ "symbol": "ETH",
1003
+ "usdValue": "3750.00"
1004
+ },
1005
+ {
1006
+ "chain": "bitcoin",
1007
+ "native": "0.1",
1008
+ "symbol": "BTC",
1009
+ "usdValue": "6500.00"
1010
+ }
988
1011
  ]
989
1012
  }
990
1013
  ```
@@ -1061,8 +1084,8 @@ VULTISIG_CONFIG_DIR=/custom/path
1061
1084
  # Override FastVault and relay via a shared base URL
1062
1085
  VULTISIG_SERVER_URL=http://127.0.0.1:8080
1063
1086
 
1064
- # Disable colored output
1065
- VULTISIG_NO_COLOR=1
1087
+ # Disable colored output (NO_COLOR is the cross-tool standard; VULTISIG_NO_COLOR also works)
1088
+ NO_COLOR=1
1066
1089
 
1067
1090
  # Enable silent mode (suppress spinners and info messages)
1068
1091
  VULTISIG_SILENT=1
@@ -1111,16 +1134,24 @@ Configuration is stored in `~/.vultisig/`:
1111
1134
 
1112
1135
  ## Exit Codes
1113
1136
 
1114
- | Code | Meaning |
1115
- | ---- | -------------------- |
1116
- | 0 | Success |
1117
- | 1 | General error |
1118
- | 2 | Invalid usage |
1119
- | 3 | Configuration error |
1120
- | 4 | Authentication error |
1121
- | 5 | Network error |
1122
- | 6 | Vault error |
1123
- | 7 | Transaction error |
1137
+ | Code | Meaning |
1138
+ | ---- | ---------------------------------------------------------------------------------- |
1139
+ | 0 | Success |
1140
+ | 1 | Usage error (bad arguments, unknown command) |
1141
+ | 2 | Authentication required |
1142
+ | 3 | Network error (retryable) |
1143
+ | 4 | Invalid input (bad chain, address, amount) |
1144
+ | 5 | Resource not found (token, route) |
1145
+ | 6 | External service error (retryable) |
1146
+ | 7 | Unknown/unexpected error |
1147
+ | 8 | Broadcast succeeded but post-broadcast report failed — hash is valid, do NOT retry |
1148
+ | 9 | Duplicate broadcast refused (nothing sent) — retry with --force to override |
1149
+ | 10 | agent ask: a fund-safety guardrail blocked the requested action |
1150
+ | 11 | agent ask: the model refused or asked a clarifying question (no action taken) |
1151
+
1152
+ > These are generated from the `ExitCode` enum in `src/core/errors.ts` (the single source of
1153
+ > truth) and are covered by a doc-lint test that fails if this table drifts from the code. Run
1154
+ > `vultisig --help` for the same list.
1124
1155
 
1125
1156
  ## Troubleshooting
1126
1157
 
package/dist/index.js CHANGED
@@ -14450,7 +14450,7 @@ var cachedVersion = null;
14450
14450
  function getVersion() {
14451
14451
  if (cachedVersion) return cachedVersion;
14452
14452
  if (true) {
14453
- cachedVersion = "2.18.6";
14453
+ cachedVersion = "2.18.7";
14454
14454
  return cachedVersion;
14455
14455
  }
14456
14456
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vultisig/cli",
3
- "version": "2.18.6",
3
+ "version": "2.18.7",
4
4
  "description": "The self-custody MPC wallet CLI for AI coding agents (Claude Code, Cursor, OpenCode). Natural-language agent mode, 36+ chains, DKLS23 threshold signatures. Seedless.",
5
5
  "type": "module",
6
6
  "bin": {