@vultisig/cli 0.14.0 → 0.14.2
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 +6 -0
- package/dist/index.js +18 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @vultisig/cli
|
|
2
2
|
|
|
3
|
+
## 0.14.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#233](https://github.com/vultisig/vultisig-sdk/pull/233) [`a0387b4`](https://github.com/vultisig/vultisig-sdk/commit/a0387b42b816c26fedf71a089fb461257d331be7) Thanks [@rcoderdev](https://github.com/rcoderdev)! - CLI agent executor now surfaces unimplemented and stub actions as failures (`success: false`) instead of returning misleading success. Removed `get_market_price` and `thorchain_query` from the local auto-execute allowlist where there is no implementation.
|
|
8
|
+
|
|
3
9
|
## 0.14.0
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -4929,7 +4929,6 @@ var AUTO_EXECUTE_ACTIONS = /* @__PURE__ */ new Set([
|
|
|
4929
4929
|
"address_book_add",
|
|
4930
4930
|
"address_book_remove",
|
|
4931
4931
|
"get_address_book",
|
|
4932
|
-
"get_market_price",
|
|
4933
4932
|
"get_balances",
|
|
4934
4933
|
"get_portfolio",
|
|
4935
4934
|
"search_token",
|
|
@@ -4941,8 +4940,7 @@ var AUTO_EXECUTE_ACTIONS = /* @__PURE__ */ new Set([
|
|
|
4941
4940
|
"sign_tx",
|
|
4942
4941
|
"sign_typed_data",
|
|
4943
4942
|
"read_evm_contract",
|
|
4944
|
-
"scan_tx"
|
|
4945
|
-
"thorchain_query"
|
|
4943
|
+
"scan_tx"
|
|
4946
4944
|
]);
|
|
4947
4945
|
var PASSWORD_REQUIRED_ACTIONS = /* @__PURE__ */ new Set(["sign_tx", "sign_typed_data", "build_custom_tx"]);
|
|
4948
4946
|
|
|
@@ -5103,7 +5101,9 @@ var AgentExecutor = class {
|
|
|
5103
5101
|
case "read_evm_contract":
|
|
5104
5102
|
return this.readEvmContract(params);
|
|
5105
5103
|
default:
|
|
5106
|
-
|
|
5104
|
+
throw new Error(
|
|
5105
|
+
`Action type '${action.type}' is not implemented locally. The backend may handle this action server-side.`
|
|
5106
|
+
);
|
|
5107
5107
|
}
|
|
5108
5108
|
}
|
|
5109
5109
|
// ============================================================================
|
|
@@ -5909,19 +5909,21 @@ var AgentExecutor = class {
|
|
|
5909
5909
|
// Address Book
|
|
5910
5910
|
// ============================================================================
|
|
5911
5911
|
async getAddressBook() {
|
|
5912
|
-
|
|
5912
|
+
throw new Error("get_address_book is not yet implemented locally. The backend may handle this action server-side.");
|
|
5913
5913
|
}
|
|
5914
|
-
async addAddressBookEntry(
|
|
5915
|
-
|
|
5914
|
+
async addAddressBookEntry(_params) {
|
|
5915
|
+
throw new Error("address_book_add is not yet implemented locally. The backend may handle this action server-side.");
|
|
5916
5916
|
}
|
|
5917
|
-
async removeAddressBookEntry(
|
|
5918
|
-
|
|
5917
|
+
async removeAddressBookEntry(_params) {
|
|
5918
|
+
throw new Error(
|
|
5919
|
+
"address_book_remove is not yet implemented locally. The backend may handle this action server-side."
|
|
5920
|
+
);
|
|
5919
5921
|
}
|
|
5920
5922
|
// ============================================================================
|
|
5921
5923
|
// Token Search & Other
|
|
5922
5924
|
// ============================================================================
|
|
5923
|
-
async searchToken(
|
|
5924
|
-
|
|
5925
|
+
async searchToken(_params) {
|
|
5926
|
+
throw new Error("search_token is not yet implemented locally. The backend may handle this action server-side.");
|
|
5925
5927
|
}
|
|
5926
5928
|
async listVaults() {
|
|
5927
5929
|
return {
|
|
@@ -5935,11 +5937,11 @@ var AgentExecutor = class {
|
|
|
5935
5937
|
]
|
|
5936
5938
|
};
|
|
5937
5939
|
}
|
|
5938
|
-
async scanTx(
|
|
5939
|
-
|
|
5940
|
+
async scanTx(_params) {
|
|
5941
|
+
throw new Error("scan_tx is not yet implemented locally. The backend may handle this action server-side.");
|
|
5940
5942
|
}
|
|
5941
|
-
async readEvmContract(
|
|
5942
|
-
|
|
5943
|
+
async readEvmContract(_params) {
|
|
5944
|
+
throw new Error("read_evm_contract is not yet implemented locally. The backend may handle this action server-side.");
|
|
5943
5945
|
}
|
|
5944
5946
|
};
|
|
5945
5947
|
async function encodeContractCall(functionName, params) {
|
|
@@ -8792,7 +8794,7 @@ var cachedVersion = null;
|
|
|
8792
8794
|
function getVersion() {
|
|
8793
8795
|
if (cachedVersion) return cachedVersion;
|
|
8794
8796
|
if (true) {
|
|
8795
|
-
cachedVersion = "0.14.
|
|
8797
|
+
cachedVersion = "0.14.2";
|
|
8796
8798
|
return cachedVersion;
|
|
8797
8799
|
}
|
|
8798
8800
|
try {
|