@agentgates/cli 0.44.0 → 0.44.1
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 -7
- 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.44.
|
|
3131
|
+
CLI_VERSION = "0.44.1";
|
|
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.44.
|
|
31870
|
+
version: "0.44.1",
|
|
31871
31871
|
description: "Wallet operations for AI agents and humans",
|
|
31872
31872
|
keywords: [
|
|
31873
31873
|
"crypto",
|
|
@@ -72018,12 +72018,12 @@ function mcpTools() {
|
|
|
72018
72018
|
description: "This machine's Agentgates key: the address a person allows on their Passwords board (agentgates passwords allow --agent <address>), and where the key lives. No network, no cost.",
|
|
72019
72019
|
inputSchema: { type: "object", properties: {}, additionalProperties: false },
|
|
72020
72020
|
handler: async () => {
|
|
72021
|
-
const {
|
|
72021
|
+
const { state } = await requirePasswordsKey();
|
|
72022
72022
|
return {
|
|
72023
72023
|
ok: true,
|
|
72024
|
-
address:
|
|
72024
|
+
address: state.address,
|
|
72025
72025
|
key: process.env.AGENTGATES_PASSWORDS_SEED ? "AGENTGATES_PASSWORDS_SEED" : passwordsKeyPath(),
|
|
72026
|
-
allow: `agentgates passwords allow --agent ${
|
|
72026
|
+
allow: `agentgates passwords allow --agent ${state.address}`
|
|
72027
72027
|
};
|
|
72028
72028
|
}
|
|
72029
72029
|
},
|
|
@@ -72032,9 +72032,9 @@ function mcpTools() {
|
|
|
72032
72032
|
description: "The saved logins this key holds and the ones it may use under a permit: id, label, kind, hosts, username. Clear fields only; no secret ever rides. Free.",
|
|
72033
72033
|
inputSchema: { type: "object", properties: {}, additionalProperties: false },
|
|
72034
72034
|
handler: async () => {
|
|
72035
|
-
const { wallet } = await requirePasswordsKey();
|
|
72035
|
+
const { wallet, state } = await requirePasswordsKey();
|
|
72036
72036
|
const rows = await listRows(wallet);
|
|
72037
|
-
return { ok: true, address:
|
|
72037
|
+
return { ok: true, address: state.address, ...rows };
|
|
72038
72038
|
}
|
|
72039
72039
|
},
|
|
72040
72040
|
{
|