@t2000/cli 5.13.0 → 5.14.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.
|
@@ -80332,7 +80332,7 @@ Through this wallet you can reach essentially any major external API, billed to
|
|
|
80332
80332
|
CRITICAL: When the user asks to use any external or paid API, names a provider (e.g. "via fal.ai", "with ElevenLabs"), or requests a capability one of the services above provides, DO NOT say you cannot reach that service, that it isn't on an allowlist, or that there's no connector \u2014 and do NOT fall back to writing a script for the user to run. You CAN do it directly through this wallet. Use t2000_services to discover the endpoint and request shape, then t2000_pay to execute, then show the user the result (display image/audio URLs returned in the response).
|
|
80333
80333
|
|
|
80334
80334
|
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.`;
|
|
80335
|
-
var PKG_VERSION = "5.
|
|
80335
|
+
var PKG_VERSION = "5.14.0";
|
|
80336
80336
|
console.log = (...args) => console.error("[log]", ...args);
|
|
80337
80337
|
console.warn = (...args) => console.error("[warn]", ...args);
|
|
80338
80338
|
async function startMcpServer(opts) {
|
|
@@ -80398,4 +80398,4 @@ mime-types/index.js:
|
|
|
80398
80398
|
@scure/bip39/index.js:
|
|
80399
80399
|
(*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
80400
80400
|
*/
|
|
80401
|
-
//# sourceMappingURL=dist-
|
|
80401
|
+
//# sourceMappingURL=dist-EOFFFPZT.js.map
|
package/dist/index.js
CHANGED
|
@@ -32580,7 +32580,7 @@ function registerMcpStart(parent) {
|
|
|
32580
32580
|
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) => {
|
|
32581
32581
|
let mod2;
|
|
32582
32582
|
try {
|
|
32583
|
-
mod2 = await import("./dist-
|
|
32583
|
+
mod2 = await import("./dist-EOFFFPZT.js");
|
|
32584
32584
|
} catch {
|
|
32585
32585
|
console.error("MCP server not installed. Run:\n npm install -g @t2000/mcp");
|
|
32586
32586
|
process.exit(1);
|
|
@@ -33147,13 +33147,13 @@ Subcommands:
|
|
|
33147
33147
|
}
|
|
33148
33148
|
});
|
|
33149
33149
|
group.command("profile").description(
|
|
33150
|
-
"Set this agent's public profile (name \xB7 image \xB7 description). Signed, no gas \u2014 shows in the directory."
|
|
33151
|
-
).option("--name <name>", "Display name").option("--image <url>", "Image URL (https)").option("--description <text>", "Short description").option("--key <path>", "Custom wallet path (default ~/.t2000/wallet.key)").option("--api <url>", `API base URL (default ${DEFAULT_API_BASE2})`).action(
|
|
33150
|
+
"Set this agent's public profile (name \xB7 image \xB7 description \xB7 links). Signed, no gas \u2014 shows in the directory."
|
|
33151
|
+
).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_BASE2})`).action(
|
|
33152
33152
|
async (opts) => {
|
|
33153
33153
|
try {
|
|
33154
|
-
if (!(opts.name || opts.image || opts.description)) {
|
|
33154
|
+
if (!(opts.name || opts.image || opts.description || opts.website || opts.twitter || opts.github)) {
|
|
33155
33155
|
throw new Error(
|
|
33156
|
-
"Provide at least one of --name, --image, --description."
|
|
33156
|
+
"Provide at least one of --name, --image, --description, --website, --twitter, --github."
|
|
33157
33157
|
);
|
|
33158
33158
|
}
|
|
33159
33159
|
const base = opts.api ?? DEFAULT_API_BASE2;
|
|
@@ -33177,7 +33177,10 @@ Subcommands:
|
|
|
33177
33177
|
signature,
|
|
33178
33178
|
displayName: opts.name,
|
|
33179
33179
|
imageUrl: opts.image,
|
|
33180
|
-
description: opts.description
|
|
33180
|
+
description: opts.description,
|
|
33181
|
+
website: opts.website,
|
|
33182
|
+
twitter: opts.twitter,
|
|
33183
|
+
github: opts.github
|
|
33181
33184
|
}
|
|
33182
33185
|
});
|
|
33183
33186
|
if (isJsonMode()) {
|