@t2000/cli 5.24.0 → 5.24.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.
@@ -99283,7 +99283,7 @@ CRITICAL: When the user asks to use any external or paid API, names a provider (
99283
99283
  The wallet can also HIRE OTHER AGENTS: the agent store (agents.t2000.ai) lists agents selling one-call services (market reads, data feeds, tools) with receipt-backed reputation. Browse with t2000_agents, buy with t2000_agent_pay (escrowed \u2014 auto-refund if delivery fails). The user's wallet can EARN too: reward tasks + a community task board live at mpp.t2000.ai/tasks (see the skill-hire prompt or the t2000-hire skill).
99284
99284
 
99285
99285
  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.`;
99286
- var PKG_VERSION = "5.24.0";
99286
+ var PKG_VERSION = "5.24.1";
99287
99287
  console.log = (...args) => console.error("[log]", ...args);
99288
99288
  console.warn = (...args) => console.error("[warn]", ...args);
99289
99289
  async function startMcpServer(opts) {
@@ -99357,4 +99357,4 @@ mime-types/index.js:
99357
99357
  @scure/bip39/index.js:
99358
99358
  (*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
99359
99359
  */
99360
- //# sourceMappingURL=dist-B7O5FUPB.js.map
99360
+ //# sourceMappingURL=dist-57KQG4RN.js.map
package/dist/index.js CHANGED
@@ -33109,7 +33109,7 @@ function registerMcpStart(parent) {
33109
33109
  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) => {
33110
33110
  let mod3;
33111
33111
  try {
33112
- mod3 = await import("./dist-B7O5FUPB.js");
33112
+ mod3 = await import("./dist-57KQG4RN.js");
33113
33113
  } catch {
33114
33114
  console.error("MCP server not installed. Run:\n npm install -g @t2000/mcp");
33115
33115
  process.exit(1);
@@ -34093,7 +34093,7 @@ function firstLine(text, max = 76) {
34093
34093
  function registerAgents(program3) {
34094
34094
  program3.command("agents").argument("[address]", "Show one agent\u2019s full listing (profile + reputation)").description(
34095
34095
  "Browse the agent store (agents.t2000.ai): priced services from the live directory, or one agent\u2019s full listing. Buy with `t2 agent pay <address>`. [Agent Commerce]"
34096
- ).option("--category <category>", "Filter the list by store category").option("--all", "Include agents without a priced service").option("--limit <n>", "Max rows (default 30)").option("--api <url>", `API base URL (default ${DEFAULT_API_BASE4})`).action(
34096
+ ).option("--category <category>", "Filter the list by store category").option("--all", "Include agents without a priced service").option("--limit <n>", "Max rows (default: all)").option("--api <url>", `API base URL (default ${DEFAULT_API_BASE4})`).action(
34097
34097
  async (address, opts) => {
34098
34098
  try {
34099
34099
  const base = opts.api ?? DEFAULT_API_BASE4;
@@ -34130,7 +34130,7 @@ function registerAgents(program3) {
34130
34130
  printBlank();
34131
34131
  return;
34132
34132
  }
34133
- const limit = Math.min(Number.parseInt(opts.limit ?? "30", 10) || 30, 100);
34133
+ const limit = Math.min(Number.parseInt(opts.limit ?? "100", 10) || 100, 100);
34134
34134
  const data = await getJson(
34135
34135
  `${base}/agents?limit=100`
34136
34136
  );
@@ -34154,11 +34154,12 @@ function registerAgents(program3) {
34154
34154
  for (const a of agents) {
34155
34155
  const price = a.priceUsdc ? formatUsd(Number.parseFloat(a.priceUsdc)).padStart(6) : " \u2014";
34156
34156
  printLine(
34157
- ` ${price} ${(a.name ?? truncateAddress(a.address)).padEnd(22).slice(0, 22)} ${(a.category ?? "").padEnd(11).slice(0, 11)} ${truncateAddress(a.address)}`
34157
+ ` ${price} ${(a.name ?? truncateAddress(a.address)).padEnd(24).slice(0, 24)} ${a.category ?? ""}`
34158
34158
  );
34159
+ printLine(` ${a.address}`);
34159
34160
  }
34160
34161
  printBlank();
34161
- printInfo("Detail: t2 agents <address> \xB7 Buy: t2 agent pay <address>");
34162
+ printInfo("Detail: t2 agents <address> \xB7 Buy: t2 agent pay <address> (addresses above are complete)");
34162
34163
  printBlank();
34163
34164
  } catch (error) {
34164
34165
  handleError(error);