@t2000/cli 0.20.2 → 0.20.3

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/index.js CHANGED
@@ -368,14 +368,11 @@ function registerBalance(program2) {
368
368
  }
369
369
  printBlank();
370
370
  const stables = bal.stables ?? {};
371
- const stableEntries = Object.entries(stables).filter(([, v]) => v >= 0.01);
372
- if (stableEntries.length <= 1) {
373
- printKeyValue("Available", `${formatUsd2(bal.available)} ${pc3.dim("(checking \u2014 spendable)")}`);
374
- } else {
375
- printKeyValue("Available", `${formatUsd2(bal.available)} ${pc3.dim("(total stablecoins)")}`);
376
- for (const [symbol, amount] of stableEntries) {
377
- printLine(` ${pc3.dim(symbol)} ${formatUsd2(amount)}`);
378
- }
371
+ const usdcAmount = stables.USDC ?? 0;
372
+ const otherStables = Object.entries(stables).filter(([k, v]) => k !== "USDC" && v >= 0.01);
373
+ printKeyValue("Available", `${formatUsd2(usdcAmount)} ${pc3.dim("(checking \u2014 USDC)")}`);
374
+ for (const [symbol, amount] of otherStables) {
375
+ printLine(` ${pc3.dim(symbol)} ${formatUsd2(amount)} ${pc3.dim("(sweep: t2000 exchange " + symbol + " USDC)")}`);
379
376
  }
380
377
  if (bal.savings > 0.01) {
381
378
  const positions = await agent.positions();
@@ -2045,7 +2042,7 @@ function registerMcp(program2) {
2045
2042
  mcp.command("start", { isDefault: true }).description("Start MCP server (stdio transport)").option("--key <path>", "Key file path").action(async (opts) => {
2046
2043
  let mod;
2047
2044
  try {
2048
- mod = await import("./dist-UJGH2XLF.js");
2045
+ mod = await import("./dist-V2C7NCAD.js");
2049
2046
  } catch {
2050
2047
  console.error(
2051
2048
  "MCP server not installed. Run:\n npm install -g @t2000/mcp"