@vultisig/cli 0.15.4 → 0.16.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 (3) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/index.js +1347 -604
  3. package/package.json +8 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # @vultisig/cli
2
2
 
3
+ ## 0.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#204](https://github.com/vultisig/vultisig-sdk/pull/204) [`0388700`](https://github.com/vultisig/vultisig-sdk/commit/03887009b7579fc0b193d068d4a205cdd3b7c214) Thanks [@premiumjibles](https://github.com/premiumjibles)! - feat(cli): agent-friendly CLI + new @vultisig/mcp package
8
+
9
+ ## @vultisig/cli
10
+ - Auto-TTY JSON output (`--output`, `--ci`, `--quiet`, `--fields`, `--non-interactive`)
11
+ - Versioned `{ success, v: 1, data }` envelope and typed error envelope with exit codes 0-7
12
+ - Safety: fixed `swap`/`send`/`execute`/`rujira swap`/`rujira withdraw` auto-executing in JSON mode; `--yes` now required uniformly
13
+ - `--dry-run` coverage across all mutating commands
14
+ - `vsig schema` machine-readable command introspection
15
+ - Auth: replaced `keytar` with `@napi-rs/keyring`, encrypted-file fallback for headless environments (AES-256-GCM + async scrypt)
16
+
17
+ ## @vultisig/client-shared (new package)
18
+
19
+ Shared client infrastructure for `@vultisig/cli` and `@vultisig/mcp`: auth setup, config store, credential store (keyring + file fallback), tool descriptions, vault discovery.
20
+
21
+ ## @vultisig/sdk
22
+ - `VaultBase.send()` and `VaultBase.swap()` accept `amount: 'max'`
23
+ - `SwapService` rejects quotes with near-zero output to guard against bad provider routes
24
+ - `FiatValueService.fetchTokenPrice` returns `0` for non-EVM chains instead of throwing (effective behavior identical — `getPortfolioValue` already caught the throw)
25
+ - `ServerManager`: removed stdout `console.log` calls that corrupted JSON output; raised `waitForPeers` timeout from 30s to 120s and tightened poll interval from 2s to 500ms
26
+
27
+ ## @vultisig/core-chain
28
+ - Narrowed EVM broadcast retry list to strings that genuinely indicate "same tx already in mempool under this hash" (`already known`, `transaction already exists`, `tx already in mempool`). Dropped strings that can silently swallow real broadcast failures (`nonce too low`, `transaction is temporarily banned`, `future transaction tries to replace pending`, `could not replace existing tx`)
29
+
30
+ ## @vultisig/core-mpc
31
+ - `maxInboundWaitTime` raised from 1 to 3 minutes for flaky networks
32
+ - Added 100ms sleep in `processInbound` recursion to prevent hot-looping on empty inbound
33
+ - Setup message polling: same 10-second budget, polls 5× more often (50 × 200ms vs 10 × 1000ms)
34
+
35
+ - [#290](https://github.com/vultisig/vultisig-sdk/pull/290) [`83fe4c3`](https://github.com/vultisig/vultisig-sdk/commit/83fe4c3c58637aea4823d0eaa7f21d4c5cdf3dc7) Thanks [@rcoderdev](https://github.com/rcoderdev)! - Add `@vultisig/sdk/vite` helper plugin so Vite consumers exclude wasm glue packages from `optimizeDeps`, and harden dist ESM relative import rewriting with tests.
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [[`0388700`](https://github.com/vultisig/vultisig-sdk/commit/03887009b7579fc0b193d068d4a205cdd3b7c214), [`83fe4c3`](https://github.com/vultisig/vultisig-sdk/commit/83fe4c3c58637aea4823d0eaa7f21d4c5cdf3dc7)]:
40
+ - @vultisig/client-shared@0.2.0
41
+ - @vultisig/sdk@0.16.0
42
+ - @vultisig/rujira@11.0.0
43
+
3
44
  ## 0.15.4
4
45
 
5
46
  ### Patch Changes