@vultisig/cli 0.25.0 → 0.26.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @vultisig/cli
2
2
 
3
+ ## 0.26.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#507](https://github.com/vultisig/vultisig-sdk/pull/507) [`cb80440`](https://github.com/vultisig/vultisig-sdk/commit/cb804408b9607aacb143a7a941f0f9f1986f2379) Thanks [@rcoderdev](https://github.com/rcoderdev)! - Add SwapKit as a configurable general swap provider for EVM and Solana source routes.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#506](https://github.com/vultisig/vultisig-sdk/pull/506) [`b1ce322`](https://github.com/vultisig/vultisig-sdk/commit/b1ce3226039d46055d11726cc0e971dd7a09a035) Thanks [@neavra](https://github.com/neavra)! - agent: send ecdsa/eddsa/chain_code in MessageContext so MCP receives vault info
12
+
13
+ The CLI's `MessageContext` was missing `ecdsa_public_key`, `eddsa_public_key`,
14
+ and `hex_chain_code` — fields vultiagent-app's `agentContext.ts` has always
15
+ sent. agent-backend reads these via `extractVaultInfoFromContext` to build
16
+ `req.VaultInfo`, which is then injected into MCP tool calls flagged with
17
+ `_meta.inject_vault_args: true`. Without them, every such tool errors with
18
+ "Vault not configured" at the MCP layer — currently observable for the
19
+ unified `show_receive_request` (vultisig/mcp#179, vultisig/agent-backend#554),
20
+ but the same gap will break any future `inject_vault_args` tool dispatched
21
+ through the CLI. `buildMessageContext` and `buildMinimalContext` now populate
22
+ the three fields from `vault.publicKeys.{ecdsa,eddsa}` + `vault.hexChainCode`.
23
+
24
+ Also picks up Ehsan's review nit on [#500](https://github.com/vultisig/vultisig-sdk/issues/500): removes the stray `/**` opener on
25
+ `client.ts:43` (the line above `isErrorPayloadObject`'s docblock).
26
+
27
+ - Updated dependencies [[`cb80440`](https://github.com/vultisig/vultisig-sdk/commit/cb804408b9607aacb143a7a941f0f9f1986f2379)]:
28
+ - @vultisig/core-chain@2.2.0
29
+ - @vultisig/sdk@0.26.0
30
+ - @vultisig/client-shared@0.2.10
31
+ - @vultisig/rujira@21.0.0
32
+
3
33
  ## 0.25.0
4
34
 
5
35
  ### Patch Changes
package/dist/index.js CHANGED
@@ -5302,7 +5302,10 @@ async function buildMessageContext(vault) {
5302
5302
  const context = {
5303
5303
  vault_address: vault.publicKeys.ecdsa,
5304
5304
  vault_name: vault.name,
5305
- mldsa_public_key: vault.publicKeyMldsa
5305
+ mldsa_public_key: vault.publicKeyMldsa,
5306
+ ecdsa_public_key: vault.publicKeys.ecdsa,
5307
+ eddsa_public_key: vault.publicKeys.eddsa,
5308
+ hex_chain_code: vault.hexChainCode
5306
5309
  };
5307
5310
  applyChainPublicKeys(vault, context);
5308
5311
  try {
@@ -5366,7 +5369,10 @@ async function buildMessageContext(vault) {
5366
5369
  async function buildMinimalContext(vault) {
5367
5370
  const context = {
5368
5371
  vault_address: vault.publicKeys.ecdsa,
5369
- vault_name: vault.name
5372
+ vault_name: vault.name,
5373
+ ecdsa_public_key: vault.publicKeys.ecdsa,
5374
+ eddsa_public_key: vault.publicKeys.eddsa,
5375
+ hex_chain_code: vault.hexChainCode
5370
5376
  };
5371
5377
  applyChainPublicKeys(vault, context);
5372
5378
  try {
@@ -8762,7 +8768,7 @@ var cachedVersion = null;
8762
8768
  function getVersion() {
8763
8769
  if (cachedVersion) return cachedVersion;
8764
8770
  if (true) {
8765
- cachedVersion = "0.25.0";
8771
+ cachedVersion = "0.26.0";
8766
8772
  return cachedVersion;
8767
8773
  }
8768
8774
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vultisig/cli",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
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": {
@@ -73,10 +73,10 @@
73
73
  "@cosmjs/stargate": "^0.38.1",
74
74
  "@napi-rs/keyring": "^1.3.0",
75
75
  "@noble/hashes": "^2.0.1",
76
- "@vultisig/client-shared": "^0.2.9",
77
- "@vultisig/core-chain": "^2.1.0",
78
- "@vultisig/rujira": "^20.0.0",
79
- "@vultisig/sdk": "^0.25.0",
76
+ "@vultisig/client-shared": "^0.2.10",
77
+ "@vultisig/core-chain": "^2.2.0",
78
+ "@vultisig/rujira": "^21.0.0",
79
+ "@vultisig/sdk": "^0.26.0",
80
80
  "chalk": "^5.6.2",
81
81
  "cli-table3": "^0.6.5",
82
82
  "commander": "^14.0.3",