@vultisig/cli 2.12.0 → 2.13.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 +15 -0
- package/dist/index.js +19 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @vultisig/cli
|
|
2
2
|
|
|
3
|
+
## 2.13.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`17fcbc0`](https://github.com/vultisig/vultisig-sdk/commit/17fcbc0acf983959be7faaf4ab789b4268a83c31), [`4941508`](https://github.com/vultisig/vultisig-sdk/commit/4941508f5002e1251b5cc1cbc08ed0ebc379646a)]:
|
|
8
|
+
- @vultisig/core-chain@2.22.0
|
|
9
|
+
- @vultisig/sdk@2.13.0
|
|
10
|
+
- @vultisig/rujira@46.0.0
|
|
11
|
+
|
|
12
|
+
## 2.12.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#898](https://github.com/vultisig/vultisig-sdk/pull/898) [`8daa669`](https://github.com/vultisig/vultisig-sdk/commit/8daa6696670cefb6f5fa3e800ff433ba7a95c132) Thanks [@neavra](https://github.com/neavra)! - Agent: when the backend asks the CLI to run a client-side tool it doesn't implement, emit a structured `TOOL_UNSUPPORTED` error code (in the failure `RecentAction`'s `data.code`) so the backend/LLM can branch — pick an alternative instead of retrying or waiting on an action that will never report. The CLI now routes SSE `tool-input-available` frames on the backend's full client-side tool contract (a superset of the implemented dispatch registry), so an unimplemented tool reaches the dispatcher and reports `TOOL_UNSUPPORTED` instead of silently degrading to display-only progress. The human-readable stderr line and `error` string are preserved.
|
|
17
|
+
|
|
3
18
|
## 2.12.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -8082,6 +8082,7 @@ var AgentErrorCode = /* @__PURE__ */ ((AgentErrorCode3) => {
|
|
|
8082
8082
|
AgentErrorCode3["PASSWORD_REQUIRED"] = "PASSWORD_REQUIRED";
|
|
8083
8083
|
AgentErrorCode3["CONFIRMATION_REQUIRED"] = "CONFIRMATION_REQUIRED";
|
|
8084
8084
|
AgentErrorCode3["ACTION_NOT_IMPLEMENTED"] = "ACTION_NOT_IMPLEMENTED";
|
|
8085
|
+
AgentErrorCode3["TOOL_UNSUPPORTED"] = "TOOL_UNSUPPORTED";
|
|
8085
8086
|
AgentErrorCode3["INVALID_INPUT"] = "INVALID_INPUT";
|
|
8086
8087
|
AgentErrorCode3["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
8087
8088
|
AgentErrorCode3["TIMEOUT"] = "TIMEOUT";
|
|
@@ -12136,6 +12137,21 @@ var CLIENT_SIDE_TOOL_DISPATCH = {
|
|
|
12136
12137
|
vault_chain: (ex, id, input) => ex.vaultChain(id, input),
|
|
12137
12138
|
address_book: (ex, id, input) => ex.addressBook(id, input)
|
|
12138
12139
|
};
|
|
12140
|
+
var BACKEND_CLIENT_SIDE_TOOL_NAMES = [
|
|
12141
|
+
"vault_coin",
|
|
12142
|
+
"vault_chain",
|
|
12143
|
+
"create_vault",
|
|
12144
|
+
"plugin_install",
|
|
12145
|
+
"create_policy",
|
|
12146
|
+
"delete_policy",
|
|
12147
|
+
"sign_typed_data",
|
|
12148
|
+
"polymarket_sign_bet",
|
|
12149
|
+
"polymarket_sign_batch"
|
|
12150
|
+
];
|
|
12151
|
+
var CLIENT_SIDE_DISPATCH_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
12152
|
+
...BACKEND_CLIENT_SIDE_TOOL_NAMES,
|
|
12153
|
+
...Object.keys(CLIENT_SIDE_TOOL_DISPATCH)
|
|
12154
|
+
]);
|
|
12139
12155
|
var MAX_MESSAGE_LOOP_DEPTH = 16;
|
|
12140
12156
|
var RECOVERY_POLL_INTERVAL_MS = 2e3;
|
|
12141
12157
|
var RECOVERY_MAX_POLLS = 90;
|
|
@@ -12167,7 +12183,7 @@ var AgentSession = class {
|
|
|
12167
12183
|
this.config = config;
|
|
12168
12184
|
this.client = new AgentClient(config.backendUrl);
|
|
12169
12185
|
this.client.verbose = !!config.verbose;
|
|
12170
|
-
this.client.setClientSideToolNames(new Set(
|
|
12186
|
+
this.client.setClientSideToolNames(new Set(CLIENT_SIDE_DISPATCH_TOOL_NAMES));
|
|
12171
12187
|
if (config.profile) {
|
|
12172
12188
|
this.client.setProfile(config.profile);
|
|
12173
12189
|
}
|
|
@@ -12781,7 +12797,7 @@ var AgentSession = class {
|
|
|
12781
12797
|
this.pendingToolResults.push({
|
|
12782
12798
|
tool: toolName,
|
|
12783
12799
|
success: false,
|
|
12784
|
-
data: { error: `unimplemented in CLI: ${toolName}` }
|
|
12800
|
+
data: { code: "TOOL_UNSUPPORTED" /* TOOL_UNSUPPORTED */, error: `unimplemented in CLI: ${toolName}` }
|
|
12785
12801
|
});
|
|
12786
12802
|
return;
|
|
12787
12803
|
}
|
|
@@ -13529,7 +13545,7 @@ var cachedVersion = null;
|
|
|
13529
13545
|
function getVersion() {
|
|
13530
13546
|
if (cachedVersion) return cachedVersion;
|
|
13531
13547
|
if (true) {
|
|
13532
|
-
cachedVersion = "2.
|
|
13548
|
+
cachedVersion = "2.13.0";
|
|
13533
13549
|
return cachedVersion;
|
|
13534
13550
|
}
|
|
13535
13551
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vultisig/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.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": {
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"@napi-rs/keyring": "^1.3.0",
|
|
75
75
|
"@noble/hashes": "^2.2.0",
|
|
76
76
|
"@vultisig/client-shared": "^0.2.17",
|
|
77
|
-
"@vultisig/core-chain": "^2.
|
|
78
|
-
"@vultisig/rujira": "^
|
|
79
|
-
"@vultisig/sdk": "^2.
|
|
77
|
+
"@vultisig/core-chain": "^2.22.0",
|
|
78
|
+
"@vultisig/rujira": "^46.0.0",
|
|
79
|
+
"@vultisig/sdk": "^2.13.0",
|
|
80
80
|
"chalk": "^5.6.2",
|
|
81
81
|
"cli-table3": "^0.6.5",
|
|
82
82
|
"commander": "^15.0.0",
|