@secretkeylabs/xverse-agent-wallet 0.1.9 → 0.1.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/dist/cli.js +28 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -371929,6 +371929,33 @@ ${candidates.join(`
|
|
|
371929
371929
|
console.error(dim(` - ${target.name.padEnd(12)} not detected`));
|
|
371930
371930
|
}
|
|
371931
371931
|
}
|
|
371932
|
+
console.error(dim(`
|
|
371933
|
+
Tip: For GitHub Copilot, add .github/copilot-instructions.md to your repo.`));
|
|
371934
|
+
const AGENT_BINARIES = {
|
|
371935
|
+
"Claude Code": undefined,
|
|
371936
|
+
Cursor: "cursor",
|
|
371937
|
+
Windsurf: "windsurf",
|
|
371938
|
+
Cline: "cline",
|
|
371939
|
+
"Codex CLI": "codex",
|
|
371940
|
+
OpenClaw: "openclaw",
|
|
371941
|
+
Hermes: "hermes"
|
|
371942
|
+
};
|
|
371943
|
+
const startCommands = [];
|
|
371944
|
+
for (const name of installed) {
|
|
371945
|
+
const bin = AGENT_BINARIES[name];
|
|
371946
|
+
if (bin === undefined && name === "Claude Code") {
|
|
371947
|
+
startCommands.push({ name, command: "xverse-wallet agent" });
|
|
371948
|
+
} else if (bin !== undefined) {
|
|
371949
|
+
startCommands.push({ name, command: `xverse-wallet agent --agent ${bin}` });
|
|
371950
|
+
}
|
|
371951
|
+
}
|
|
371952
|
+
if (startCommands.length > 0) {
|
|
371953
|
+
console.error(`
|
|
371954
|
+
Start your agent with wallet access:`);
|
|
371955
|
+
for (const { name, command } of startCommands) {
|
|
371956
|
+
console.error(` ${name.padEnd(12)} ${green(command)}`);
|
|
371957
|
+
}
|
|
371958
|
+
}
|
|
371932
371959
|
}, uninstallSkill = async () => {
|
|
371933
371960
|
const removed = [];
|
|
371934
371961
|
for (const target of AGENT_TARGETS) {
|
|
@@ -380481,7 +380508,7 @@ Run with --yes to confirm.`,
|
|
|
380481
380508
|
};
|
|
380482
380509
|
|
|
380483
380510
|
// index.ts
|
|
380484
|
-
var cliVersion = "0.1.
|
|
380511
|
+
var cliVersion = "0.1.10";
|
|
380485
380512
|
setXClientVersion(`xverse-agent-wallet/${cliVersion}`);
|
|
380486
380513
|
var program = new Command;
|
|
380487
380514
|
program.name("xverse-wallet").version(cliVersion).description("Xverse wallet CLI");
|