@t2000/cli 5.15.0 → 5.15.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.
@@ -80543,7 +80543,7 @@ Through this wallet you can reach essentially any major external API, billed to
80543
80543
  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).
80544
80544
 
80545
80545
  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.`;
80546
- var PKG_VERSION = "5.15.0";
80546
+ var PKG_VERSION = "5.15.1";
80547
80547
  console.log = (...args) => console.error("[log]", ...args);
80548
80548
  console.warn = (...args) => console.error("[warn]", ...args);
80549
80549
  async function startMcpServer(opts) {
@@ -80610,4 +80610,4 @@ mime-types/index.js:
80610
80610
  @scure/bip39/index.js:
80611
80611
  (*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
80612
80612
  */
80613
- //# sourceMappingURL=dist-UVKQOQSP.js.map
80613
+ //# sourceMappingURL=dist-JDPHHZMS.js.map
package/dist/index.js CHANGED
@@ -32433,9 +32433,10 @@ function registerChat(program3) {
32433
32433
  printJson({ models });
32434
32434
  return;
32435
32435
  }
32436
+ const usd = (n) => n == null ? "?" : `$${Number(n.toFixed(4))}`;
32436
32437
  printBlank();
32437
32438
  for (const m of models) {
32438
- const price = m.inputPer1M != null ? ` \u2014 $${m.inputPer1M}/$${m.outputPer1M} per 1M` : "";
32439
+ const price = m.inputPer1M != null ? ` \u2014 ${usd(m.inputPer1M)}/${usd(m.outputPer1M)} per 1M` : "";
32439
32440
  const priv = m.privacy ? ` [${m.privacy}]` : "";
32440
32441
  printLine(` ${m.id}${priv}${price}`);
32441
32442
  }
@@ -32800,7 +32801,7 @@ function registerMcpStart(parent) {
32800
32801
  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) => {
32801
32802
  let mod2;
32802
32803
  try {
32803
- mod2 = await import("./dist-UVKQOQSP.js");
32804
+ mod2 = await import("./dist-JDPHHZMS.js");
32804
32805
  } catch {
32805
32806
  console.error("MCP server not installed. Run:\n npm install -g @t2000/mcp");
32806
32807
  process.exit(1);