@vultisig/cli 2.19.0 → 2.19.10
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 +68 -0
- package/dist/index.js +4069 -3930
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,73 @@
|
|
|
1
1
|
# @vultisig/cli
|
|
2
2
|
|
|
3
|
+
## 2.19.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1076](https://github.com/vultisig/vultisig-sdk/pull/1076) [`5179edd`](https://github.com/vultisig/vultisig-sdk/commit/5179edd9eb25b392941f9649a455e92bfd5bf8b5) Thanks [@neavra](https://github.com/neavra)! - fix(chains): validate `chains --add <chain>` against the registry before persisting
|
|
8
|
+
|
|
9
|
+
An invalid `chains --add fakechain` correctly reported INVALID_CHAIN but still wrote
|
|
10
|
+
"fakechain" to the vault's chain list (chain resolution falls back to the raw user
|
|
11
|
+
string when the name doesn't match the registry). Every subsequent address-deriving
|
|
12
|
+
command then re-derived the bogus chain and dumped a stack trace to stderr until it was
|
|
13
|
+
manually removed. The `--add` path now validates against the supported-chain registry
|
|
14
|
+
first and fails closed — nothing is persisted for an unsupported chain.
|
|
15
|
+
|
|
16
|
+
- [#1127](https://github.com/vultisig/vultisig-sdk/pull/1127) [`dea1efa`](https://github.com/vultisig/vultisig-sdk/commit/dea1efae6fbd2975de4ac5a26b2e8210999a0f4f) Thanks [@neavra](https://github.com/neavra)! - fix(cli): honor VULTISIG_CONFIG_DIR for vault storage
|
|
17
|
+
|
|
18
|
+
The documented `VULTISIG_CONFIG_DIR` env var was a no-op for vault storage: the
|
|
19
|
+
CLI constructed the SDK without a storage override, so vaults, the active-vault
|
|
20
|
+
pointer and cache always resolved to `~/.vultisig` even when the var pointed
|
|
21
|
+
elsewhere — only `config.json` and the agent journal honored it, producing a
|
|
22
|
+
split-brain config location that broke CI/container isolation and multi-tenant
|
|
23
|
+
use. The CLI now roots SDK vault storage at `getConfigDir()` via a shared
|
|
24
|
+
`createVaultStorage()` helper. When the var is unset it falls back to
|
|
25
|
+
`~/.vultisig`, so the default location is unchanged.
|
|
26
|
+
|
|
27
|
+
- [#1126](https://github.com/vultisig/vultisig-sdk/pull/1126) [`6054ff5`](https://github.com/vultisig/vultisig-sdk/commit/6054ff599e4133c9853f31e8ca2413ab52f606fb) Thanks [@neavra](https://github.com/neavra)! - fix(mpc): keep keygen tracing off stdout so `-o json` output stays parseable
|
|
28
|
+
|
|
29
|
+
The DKLS and Schnorr keygen/reshare/key-import ceremonies logged progress
|
|
30
|
+
(session ids, raw wire messages, "keygen complete", …) to stdout via ungated
|
|
31
|
+
`console.log`. stdout is the machine channel for the CLI's `-o json` mode, so
|
|
32
|
+
the documented `create fast … -o json` agent flow produced unparseable stdout
|
|
33
|
+
(`JSON.parse(stdout)` failed on the leading garbage) and leaked MPC internals
|
|
34
|
+
into terminals and CI logs.
|
|
35
|
+
|
|
36
|
+
Route that tracing through a gated logger that writes to stderr only when
|
|
37
|
+
`VULTISIG_DEBUG=1`, so stdout carries only the final JSON envelope while
|
|
38
|
+
the debug output stays available to humans on demand. No keygen behavior
|
|
39
|
+
changes — only the log sink moves off stdout.
|
|
40
|
+
|
|
41
|
+
- [#1077](https://github.com/vultisig/vultisig-sdk/pull/1077) [`5e5494c`](https://github.com/vultisig/vultisig-sdk/commit/5e5494cf103ea5c17431b6a6231b30931eb004bb) Thanks [@neavra](https://github.com/neavra)! - Tolerate a corrupt `activeVaultId.json` at startup. A truncated or unparseable
|
|
42
|
+
active-vault pointer used to throw during CLI initialization, which broke every
|
|
43
|
+
command — including `vultisig vaults`, the one you run to recover. The pointer
|
|
44
|
+
read now fails open (treated as "no active vault") and self-heals by clearing
|
|
45
|
+
the bad pointer, so vaults still list with none marked active.
|
|
46
|
+
- Updated dependencies [[`280956f`](https://github.com/vultisig/vultisig-sdk/commit/280956f1743564ea271a03c4735f70151b63f161), [`90070f3`](https://github.com/vultisig/vultisig-sdk/commit/90070f39be011821f7508c7ff094025861dce040), [`0e3f86d`](https://github.com/vultisig/vultisig-sdk/commit/0e3f86db82ed086b1e200a6f83434a638f593c17), [`6054ff5`](https://github.com/vultisig/vultisig-sdk/commit/6054ff599e4133c9853f31e8ca2413ab52f606fb), [`b37e726`](https://github.com/vultisig/vultisig-sdk/commit/b37e7264db3291adca1cb366f1311446d6add439), [`1b2636b`](https://github.com/vultisig/vultisig-sdk/commit/1b2636b535736a711fc537a87d2f51090fe6342d), [`2c9d34e`](https://github.com/vultisig/vultisig-sdk/commit/2c9d34e0837f68d92769c7aefa566ffb1c0c52c7), [`ffc75a6`](https://github.com/vultisig/vultisig-sdk/commit/ffc75a6e76af699a78b0fc3411ab052ce5000c91), [`fc595a1`](https://github.com/vultisig/vultisig-sdk/commit/fc595a17cb4901af1dfeac2521b93bb75823068f), [`776c539`](https://github.com/vultisig/vultisig-sdk/commit/776c5398764314f140f18ab4f86a1801fe9fdfe6)]:
|
|
47
|
+
- @vultisig/sdk@2.19.10
|
|
48
|
+
- @vultisig/core-chain@2.24.2
|
|
49
|
+
|
|
50
|
+
## 2.19.7
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- [#1027](https://github.com/vultisig/vultisig-sdk/pull/1027) [`47908cf`](https://github.com/vultisig/vultisig-sdk/commit/47908cfff78942be6220438f08ab08c61178f282) Thanks [@neavra](https://github.com/neavra)! - Wire the broadcast-journal double-spend guard into the direct `send` and `swap`
|
|
55
|
+
commands. Previously only the `agent ask` path consulted the persistent journal,
|
|
56
|
+
so a retried `send`/`swap` re-broadcast an identical intent (audit P5-1, HIGH —
|
|
57
|
+
double-spend). Both paths now share ONE journal: an identical send/swap within
|
|
58
|
+
the dedupe window is refused (exit code 9) instead of broadcasting a second time,
|
|
59
|
+
and `send`/`swap` gain a `--force` flag to override the guard.
|
|
60
|
+
|
|
61
|
+
`--max` sends/swaps fingerprint a stable sentinel (not the drift-prone resolved
|
|
62
|
+
amount) so a `--max` retry can't slip past the guard when the fee/balance moves.
|
|
63
|
+
The journal is namespaced by the vault's ECDSA key (falling back to the vault id),
|
|
64
|
+
so a native/EVM `send` and an identical `agent ask` cross-dedupe against the one
|
|
65
|
+
journal; ERC-20-token cross-path and swap cross-path dedup are out of scope (a
|
|
66
|
+
missed dedup, never a double-spend).
|
|
67
|
+
|
|
68
|
+
- Updated dependencies [[`b1f2887`](https://github.com/vultisig/vultisig-sdk/commit/b1f288758ba627061c9c26085f96a3541b131163), [`f54d53a`](https://github.com/vultisig/vultisig-sdk/commit/f54d53a0252d133c2d2d6b37c649542cb4069fd3)]:
|
|
69
|
+
- @vultisig/sdk@2.19.7
|
|
70
|
+
|
|
3
71
|
## 2.19.0
|
|
4
72
|
|
|
5
73
|
### Patch Changes
|