@t2000/cli 0.22.19 → 0.22.21

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.
@@ -4,7 +4,7 @@ import {
4
4
  SafeguardError,
5
5
  T2000,
6
6
  T2000Error
7
- } from "./chunk-L6CQW3XK.js";
7
+ } from "./chunk-ZNF5QSAT.js";
8
8
  import "./chunk-AB65Y674.js";
9
9
  import "./chunk-IHPSFXUW.js";
10
10
  import "./chunk-3W7OQGNS.js";
@@ -21512,7 +21512,7 @@ function registerWriteTools(server, agent) {
21512
21512
  }
21513
21513
  );
21514
21514
  server.tool(
21515
- "t2000_exchange",
21515
+ "t2000_swap",
21516
21516
  "Swap assets via Cetus DEX (e.g. USDC to SUI, SUI to USDC). Amount is in source asset units. Set dryRun: true to get a quote without executing.",
21517
21517
  {
21518
21518
  amount: external_exports.number().describe("Amount to swap (in source asset units)"),
@@ -22250,7 +22250,7 @@ ${context}
22250
22250
  " - Show new health factor and interest cost",
22251
22251
  "",
22252
22252
  'For SWAP scenarios ("swap $X A to B", "buy $X BTC", "sell 0.1 ETH"):',
22253
- " - Call t2000_exchange with dryRun: true",
22253
+ " - Call t2000_swap with dryRun: true",
22254
22254
  "",
22255
22255
  "ALWAYS present results as a BEFORE \u2192 AFTER comparison table:",
22256
22256
  "",
@@ -22364,7 +22364,7 @@ ${context}
22364
22364
  "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",
22365
22365
  "",
22366
22366
  "\u{1F4B0} Net Worth: $X \u2014 Checking $X | Savings $X | Investment $X",
22367
- "\u{1F4C8} Activity: X sends, X saves, X trades, X swaps",
22367
+ "\u{1F4C8} Activity: X sends, X saves, X buys, X swaps",
22368
22368
  "\u{1F4B8} Yield: $X.XX this week, X% APY, $X/month projected",
22369
22369
  "\u{1F4CA} Portfolio: Per-asset P&L, best & worst performer",
22370
22370
  "\u{1F504} DCA: Runs this week, next run, total invested",
@@ -22548,7 +22548,7 @@ ${context}
22548
22548
  " Available pairs: any combination of USDC, SUI, BTC, ETH, GOLD, USDT, USDe, USDsui",
22549
22549
  "",
22550
22550
  "Step 2 \u2014 Preview the swap:",
22551
- " Run t2000_exchange with dryRun: true",
22551
+ " Run t2000_swap with dryRun: true",
22552
22552
  " Show:",
22553
22553
  " Input: X FROM \u2192 Expected output: Y TO",
22554
22554
  " Rate: 1 FROM = Z TO",
@@ -22561,7 +22561,7 @@ ${context}
22561
22561
  " If price impact > 1%, warn the user about the impact",
22562
22562
  "",
22563
22563
  "Step 4 \u2014 Execute:",
22564
- " Run t2000_exchange with dryRun: false",
22564
+ " Run t2000_swap with dryRun: false",
22565
22565
  " Show: amount received, rate, transaction link",
22566
22566
  " Show updated balance"
22567
22567
  ].join("\n")
@@ -22833,4 +22833,4 @@ async function startMcpServer(opts) {
22833
22833
  export {
22834
22834
  startMcpServer
22835
22835
  };
22836
- //# sourceMappingURL=dist-T2QOLDAP.js.map
22836
+ //# sourceMappingURL=dist-73ESA7QZ.js.map