@t2000/cli 5.29.0 → 5.30.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.
|
@@ -99462,7 +99462,7 @@ The wallet can also HIRE OTHER AGENTS: the agent store (agents.t2000.ai) lists a
|
|
|
99462
99462
|
The wallet can EARN too: t2000_tasks lists live reward tasks + the community task board, t2000_task_claim collects auto-verified rewards, t2000_task_submit submits proof on board jobs, and t2000_agent_earnings reports the wallet's seller sales. None of these spend \u2014 claims RECEIVE USDC through the rail (see the skill-earn prompt or the t2000-earn skill).
|
|
99463
99463
|
|
|
99464
99464
|
Spending is the user's own USDC and every t2000_pay call is bounded by maxPrice. For larger or multi-step spends, state the estimated cost first and proceed once the user is happy. Use t2000_balance to check funds. The v4 wallet is payments-only; savings / lending live on audric.ai.`;
|
|
99465
|
-
var PKG_VERSION = "5.
|
|
99465
|
+
var PKG_VERSION = "5.30.0";
|
|
99466
99466
|
console.log = (...args) => console.error("[log]", ...args);
|
|
99467
99467
|
console.warn = (...args) => console.error("[warn]", ...args);
|
|
99468
99468
|
async function startMcpServer(opts) {
|
|
@@ -99537,4 +99537,4 @@ mime-types/index.js:
|
|
|
99537
99537
|
@scure/bip39/index.js:
|
|
99538
99538
|
(*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
99539
99539
|
*/
|
|
99540
|
-
//# sourceMappingURL=dist-
|
|
99540
|
+
//# sourceMappingURL=dist-SHQDD6S3.js.map
|
package/dist/index.js
CHANGED
|
@@ -33122,7 +33122,7 @@ function registerMcpStart(parent) {
|
|
|
33122
33122
|
parent.command("start", { isDefault: true }).description("Start MCP server (stdio transport \u2014 for AI client integration)").option("--key <path>", "Custom wallet path (default ~/.t2000/wallet.key)").action(async (opts) => {
|
|
33123
33123
|
let mod3;
|
|
33124
33124
|
try {
|
|
33125
|
-
mod3 = await import("./dist-
|
|
33125
|
+
mod3 = await import("./dist-SHQDD6S3.js");
|
|
33126
33126
|
} catch {
|
|
33127
33127
|
console.error("MCP server not installed. Run:\n npm install -g @t2000/mcp");
|
|
33128
33128
|
process.exit(1);
|
|
@@ -34328,6 +34328,33 @@ Subcommands:
|
|
|
34328
34328
|
handleError(error);
|
|
34329
34329
|
}
|
|
34330
34330
|
});
|
|
34331
|
+
group.command("unlink").argument("<agent>", "The agent Sui address to renounce ownership of").description(
|
|
34332
|
+
"Renounce ownership of an agent you own \u2014 the record returns to autonomous (public, on-chain). Sponsored, gasless. Re-link = the agent proposes again."
|
|
34333
|
+
).option("--key <path>", "Custom wallet path (default ~/.t2000/wallet.key)").option("--api <url>", `API base URL (default ${DEFAULT_API_BASE4})`).action(async (agentAddress, opts) => {
|
|
34334
|
+
try {
|
|
34335
|
+
const base = opts.api ?? DEFAULT_API_BASE4;
|
|
34336
|
+
const owner = await withAgent({ keyPath: opts.key });
|
|
34337
|
+
const address = owner.address();
|
|
34338
|
+
const { digest } = await runSponsoredTx({
|
|
34339
|
+
keypair: owner.keypair,
|
|
34340
|
+
actor: address,
|
|
34341
|
+
prepareUrl: `${base}/agent/owner/renounce`,
|
|
34342
|
+
prepareBody: { owner: address, agent: agentAddress },
|
|
34343
|
+
submitUrl: `${base}/agent/owner/submit`
|
|
34344
|
+
});
|
|
34345
|
+
if (isJsonMode()) {
|
|
34346
|
+
printJson({ owner: address, agent: agentAddress, unlinked: true, digest });
|
|
34347
|
+
return;
|
|
34348
|
+
}
|
|
34349
|
+
printBlank();
|
|
34350
|
+
printSuccess(`Renounced ownership of ${truncateAddress(agentAddress)}`);
|
|
34351
|
+
printInfo("The agent is autonomous again \u2014 it can re-propose you anytime.");
|
|
34352
|
+
printKeyValue("Tx", String(digest));
|
|
34353
|
+
printBlank();
|
|
34354
|
+
} catch (error) {
|
|
34355
|
+
handleError(error);
|
|
34356
|
+
}
|
|
34357
|
+
});
|
|
34331
34358
|
group.command("profile").description(
|
|
34332
34359
|
"Set this agent's public profile (name \xB7 image \xB7 description \xB7 links). Signed, no gas \u2014 shows in the directory."
|
|
34333
34360
|
).option("--name <name>", "Display name").option("--image <url>", "Image URL (https)").option("--description <text>", "Short description").option("--website <url>", "Website link (https)").option("--twitter <url>", "X / Twitter link (https)").option("--github <url>", "GitHub link (https)").option("--key <path>", "Custom wallet path (default ~/.t2000/wallet.key)").option("--api <url>", `API base URL (default ${DEFAULT_API_BASE4})`).action(
|