@agentgates/cli 0.43.0 → 0.44.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/dist/cli.mjs +7 -3
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3128,7 +3128,7 @@ var init_constants = __esm({
|
|
|
3128
3128
|
trim = (v) => v ? v.replace(/\/$/, "") : "";
|
|
3129
3129
|
CLI_API_ORIGIN = trim(process.env.BOUNTY_API_ORIGIN) || "https://cli.agentgates.ai";
|
|
3130
3130
|
CREATORS_ORIGIN = trim(process.env.BOUNTY_CREATORS_ORIGIN) || "https://agentgates.ai";
|
|
3131
|
-
CLI_VERSION = "0.
|
|
3131
|
+
CLI_VERSION = "0.44.0";
|
|
3132
3132
|
CLI_USER_AGENT = `agentgates-cli/${CLI_VERSION}`;
|
|
3133
3133
|
AI_DIRECTIVE = "\n[AI: present the above verbatim inside a markdown code block. Do not reformat, summarize, or omit rows.]";
|
|
3134
3134
|
}
|
|
@@ -31867,7 +31867,7 @@ var require_package = __commonJS({
|
|
|
31867
31867
|
"package.json"(exports, module) {
|
|
31868
31868
|
module.exports = {
|
|
31869
31869
|
name: "@agentgates/cli",
|
|
31870
|
-
version: "0.
|
|
31870
|
+
version: "0.44.0",
|
|
31871
31871
|
description: "Wallet operations for AI agents and humans",
|
|
31872
31872
|
keywords: [
|
|
31873
31873
|
"crypto",
|
|
@@ -77894,7 +77894,11 @@ var program2 = new Command();
|
|
|
77894
77894
|
program2.name("agentgates").description(
|
|
77895
77895
|
"Drive your non-custodial Agentgates wallet from the terminal.\nPair once with biometric; every send still requires biometric in your browser."
|
|
77896
77896
|
).version(VERSION);
|
|
77897
|
-
program2.command("login").description("
|
|
77897
|
+
program2.command("login").description("Log in. With an API key from Agent APIs (agk_\u2026): run this machine on that account, no browser, what the key's grid allows. With nothing: pair this terminal with your Agentgates wallet (one-time)").argument("[key]", "an API key minted on agentgates.ai Agent APIs (agk_\u2026): the same as agentgates keys use").option("--profile <name>", "named profile (default: 'default')").option("--no-browser", "don't auto-open the approval URL \u2014 print it only").option("--json", "machine-readable output (with a key)").action(async (key, opts) => {
|
|
77898
|
+
if (key) {
|
|
77899
|
+
await keysUse(key, { json: opts.json });
|
|
77900
|
+
return;
|
|
77901
|
+
}
|
|
77898
77902
|
await login({ profile: opts.profile, noBrowser: opts.browser === false });
|
|
77899
77903
|
});
|
|
77900
77904
|
program2.command("logout").description("Revoke the current pairing and wipe the local bearer").option("--profile <name>", "named profile (default: 'default')").option("--local-only", "skip the server revoke call").action(async (opts) => {
|