@vultisig/cli 0.10.0 → 0.11.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 +8 -0
- package/README.md +1 -1
- package/dist/index.js +9 -9
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @vultisig/cli
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`5286b98`](https://github.com/vultisig/vultisig-sdk/commit/5286b98d19692acd216a2c95d5a7a903217bef36)]:
|
|
8
|
+
- @vultisig/sdk@0.11.0
|
|
9
|
+
- @vultisig/rujira@7.0.0
|
|
10
|
+
|
|
3
11
|
## 0.10.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -668,7 +668,7 @@ explorer:https://etherscan.io/tx/0x9f8e7d6c...
|
|
|
668
668
|
|
|
669
669
|
**Agent ask options:**
|
|
670
670
|
- `--session <id>` - Continue an existing conversation
|
|
671
|
-
- `--backend-url <url>` - Agent backend URL (default:
|
|
671
|
+
- `--backend-url <url>` - Agent backend URL (default: https://abe.vultisig.com)
|
|
672
672
|
- `--password <password>` - Vault password for signing
|
|
673
673
|
- `--verbose` - Show tool calls and debug info on stderr
|
|
674
674
|
- `--json` - Output structured JSON
|
package/dist/index.js
CHANGED
|
@@ -6956,7 +6956,7 @@ function summarizeData(data) {
|
|
|
6956
6956
|
async function executeAgent(ctx2, options) {
|
|
6957
6957
|
const vault = await ctx2.ensureActiveVault();
|
|
6958
6958
|
const config = {
|
|
6959
|
-
backendUrl: options.backendUrl || process.env.VULTISIG_AGENT_URL || "
|
|
6959
|
+
backendUrl: options.backendUrl || process.env.VULTISIG_AGENT_URL || "https://abe.vultisig.com",
|
|
6960
6960
|
vaultName: vault.name,
|
|
6961
6961
|
password: options.password,
|
|
6962
6962
|
viaAgent: options.viaAgent,
|
|
@@ -6996,7 +6996,7 @@ async function executeAgentAsk(ctx2, message, options) {
|
|
|
6996
6996
|
try {
|
|
6997
6997
|
const vault = await ctx2.ensureActiveVault();
|
|
6998
6998
|
const config = {
|
|
6999
|
-
backendUrl: options.backendUrl || process.env.VULTISIG_AGENT_URL || "
|
|
6999
|
+
backendUrl: options.backendUrl || process.env.VULTISIG_AGENT_URL || "https://abe.vultisig.com",
|
|
7000
7000
|
vaultName: vault.name,
|
|
7001
7001
|
password: options.password,
|
|
7002
7002
|
sessionId: options.session,
|
|
@@ -7051,7 +7051,7 @@ tx:${tx.chain}:${tx.hash}
|
|
|
7051
7051
|
}
|
|
7052
7052
|
async function executeAgentSessionsList(ctx2, options) {
|
|
7053
7053
|
const vault = await ctx2.ensureActiveVault();
|
|
7054
|
-
const backendUrl = options.backendUrl || process.env.VULTISIG_AGENT_URL || "
|
|
7054
|
+
const backendUrl = options.backendUrl || process.env.VULTISIG_AGENT_URL || "https://abe.vultisig.com";
|
|
7055
7055
|
const client = await createAuthenticatedClient(backendUrl, vault, options.password);
|
|
7056
7056
|
const publicKey = vault.publicKeys.ecdsa;
|
|
7057
7057
|
const PAGE_SIZE = 100;
|
|
@@ -7098,7 +7098,7 @@ async function executeAgentSessionsList(ctx2, options) {
|
|
|
7098
7098
|
}
|
|
7099
7099
|
async function executeAgentSessionsDelete(ctx2, sessionId, options) {
|
|
7100
7100
|
const vault = await ctx2.ensureActiveVault();
|
|
7101
|
-
const backendUrl = options.backendUrl || process.env.VULTISIG_AGENT_URL || "
|
|
7101
|
+
const backendUrl = options.backendUrl || process.env.VULTISIG_AGENT_URL || "https://abe.vultisig.com";
|
|
7102
7102
|
const client = await createAuthenticatedClient(backendUrl, vault, options.password);
|
|
7103
7103
|
const publicKey = vault.publicKeys.ecdsa;
|
|
7104
7104
|
await client.deleteConversation(sessionId, publicKey);
|
|
@@ -8528,7 +8528,7 @@ var cachedVersion = null;
|
|
|
8528
8528
|
function getVersion() {
|
|
8529
8529
|
if (cachedVersion) return cachedVersion;
|
|
8530
8530
|
if (true) {
|
|
8531
|
-
cachedVersion = "0.
|
|
8531
|
+
cachedVersion = "0.11.0";
|
|
8532
8532
|
return cachedVersion;
|
|
8533
8533
|
}
|
|
8534
8534
|
try {
|
|
@@ -9531,7 +9531,7 @@ rujiraCmd.command("withdraw <asset> <amount> <l1Address>").description("Withdraw
|
|
|
9531
9531
|
}
|
|
9532
9532
|
)
|
|
9533
9533
|
);
|
|
9534
|
-
var agentCmd = program.command("agent").description("AI-powered chat interface for wallet operations").option("--via-agent", "Use NDJSON pipe mode for agent-to-agent communication").option("--verbose", "Show detailed tool call parameters and debug output").option("--backend-url <url>", "Agent backend URL (default:
|
|
9534
|
+
var agentCmd = program.command("agent").description("AI-powered chat interface for wallet operations").option("--via-agent", "Use NDJSON pipe mode for agent-to-agent communication").option("--verbose", "Show detailed tool call parameters and debug output").option("--backend-url <url>", "Agent backend URL (default: https://abe.vultisig.com)").option("--password <password>", "Vault password for signing operations").option("--password-ttl <ms>", "Password cache TTL in milliseconds (default: 300000, 86400000/24h for --via-agent)").option("--session-id <id>", "Resume an existing session").action(async (options) => {
|
|
9535
9535
|
const MAX_TTL = 864e5;
|
|
9536
9536
|
let passwordTTL;
|
|
9537
9537
|
if (options.passwordTtl) {
|
|
@@ -9552,7 +9552,7 @@ var agentCmd = program.command("agent").description("AI-powered chat interface f
|
|
|
9552
9552
|
sessionId: options.sessionId
|
|
9553
9553
|
});
|
|
9554
9554
|
});
|
|
9555
|
-
agentCmd.command("ask <message>").description("Send a single message and get the response (for AI agent integration)").option("--session <id>", "Continue an existing conversation").option("--backend-url <url>", "Agent backend URL (default:
|
|
9555
|
+
agentCmd.command("ask <message>").description("Send a single message and get the response (for AI agent integration)").option("--session <id>", "Continue an existing conversation").option("--backend-url <url>", "Agent backend URL (default: https://abe.vultisig.com)").option("--password <password>", "Vault password for signing operations").option("--verbose", "Show tool calls and debug info on stderr").option("--json", "Output structured JSON instead of text").action(
|
|
9556
9556
|
async (message, options) => {
|
|
9557
9557
|
const parentOpts = agentCmd.opts();
|
|
9558
9558
|
const context = await init(
|
|
@@ -9568,7 +9568,7 @@ agentCmd.command("ask <message>").description("Send a single message and get the
|
|
|
9568
9568
|
}
|
|
9569
9569
|
);
|
|
9570
9570
|
var sessionsCmd = agentCmd.command("sessions").description("Manage agent chat sessions");
|
|
9571
|
-
sessionsCmd.command("list").description("List chat sessions for the current vault").option("--backend-url <url>", "Agent backend URL (default:
|
|
9571
|
+
sessionsCmd.command("list").description("List chat sessions for the current vault").option("--backend-url <url>", "Agent backend URL (default: https://abe.vultisig.com)").option("--password <password>", "Vault password for authentication").action(
|
|
9572
9572
|
withExit(async (options) => {
|
|
9573
9573
|
const parentOpts = agentCmd.opts();
|
|
9574
9574
|
const context = await init(program.opts().vault, options.password || parentOpts.password);
|
|
@@ -9578,7 +9578,7 @@ sessionsCmd.command("list").description("List chat sessions for the current vaul
|
|
|
9578
9578
|
});
|
|
9579
9579
|
})
|
|
9580
9580
|
);
|
|
9581
|
-
sessionsCmd.command("delete <id>").description("Delete a chat session").option("--backend-url <url>", "Agent backend URL (default:
|
|
9581
|
+
sessionsCmd.command("delete <id>").description("Delete a chat session").option("--backend-url <url>", "Agent backend URL (default: https://abe.vultisig.com)").option("--password <password>", "Vault password for authentication").action(
|
|
9582
9582
|
withExit(async (id, options) => {
|
|
9583
9583
|
const parentOpts = agentCmd.opts();
|
|
9584
9584
|
const context = await init(program.opts().vault, options.password || parentOpts.password);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vultisig/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Command-line wallet for Vultisig - multi-chain MPC wallet management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@cosmjs/proto-signing": "^0.38.1",
|
|
54
54
|
"@cosmjs/stargate": "^0.38.1",
|
|
55
55
|
"@noble/hashes": "^2.0.1",
|
|
56
|
-
"@vultisig/rujira": "^
|
|
57
|
-
"@vultisig/sdk": "^0.
|
|
56
|
+
"@vultisig/rujira": "^7.0.0",
|
|
57
|
+
"@vultisig/sdk": "^0.11.0",
|
|
58
58
|
"chalk": "^5.6.2",
|
|
59
59
|
"cli-table3": "^0.6.5",
|
|
60
60
|
"commander": "^14.0.3",
|