@t2000/mcp 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.
- package/README.md +1 -1
- package/dist/bin.js +5 -5
- package/dist/bin.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -551,7 +551,7 @@ function registerWriteTools(server, agent) {
|
|
|
551
551
|
}
|
|
552
552
|
);
|
|
553
553
|
server.tool(
|
|
554
|
-
"
|
|
554
|
+
"t2000_swap",
|
|
555
555
|
"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.",
|
|
556
556
|
{
|
|
557
557
|
amount: z.number().describe("Amount to swap (in source asset units)"),
|
|
@@ -1289,7 +1289,7 @@ ${context}
|
|
|
1289
1289
|
" - Show new health factor and interest cost",
|
|
1290
1290
|
"",
|
|
1291
1291
|
'For SWAP scenarios ("swap $X A to B", "buy $X BTC", "sell 0.1 ETH"):',
|
|
1292
|
-
" - Call
|
|
1292
|
+
" - Call t2000_swap with dryRun: true",
|
|
1293
1293
|
"",
|
|
1294
1294
|
"ALWAYS present results as a BEFORE \u2192 AFTER comparison table:",
|
|
1295
1295
|
"",
|
|
@@ -1403,7 +1403,7 @@ ${context}
|
|
|
1403
1403
|
"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",
|
|
1404
1404
|
"",
|
|
1405
1405
|
"\u{1F4B0} Net Worth: $X \u2014 Checking $X | Savings $X | Investment $X",
|
|
1406
|
-
"\u{1F4C8} Activity: X sends, X saves, X
|
|
1406
|
+
"\u{1F4C8} Activity: X sends, X saves, X buys, X swaps",
|
|
1407
1407
|
"\u{1F4B8} Yield: $X.XX this week, X% APY, $X/month projected",
|
|
1408
1408
|
"\u{1F4CA} Portfolio: Per-asset P&L, best & worst performer",
|
|
1409
1409
|
"\u{1F504} DCA: Runs this week, next run, total invested",
|
|
@@ -1587,7 +1587,7 @@ ${context}
|
|
|
1587
1587
|
" Available pairs: any combination of USDC, SUI, BTC, ETH, GOLD, USDT, USDe, USDsui",
|
|
1588
1588
|
"",
|
|
1589
1589
|
"Step 2 \u2014 Preview the swap:",
|
|
1590
|
-
" Run
|
|
1590
|
+
" Run t2000_swap with dryRun: true",
|
|
1591
1591
|
" Show:",
|
|
1592
1592
|
" Input: X FROM \u2192 Expected output: Y TO",
|
|
1593
1593
|
" Rate: 1 FROM = Z TO",
|
|
@@ -1600,7 +1600,7 @@ ${context}
|
|
|
1600
1600
|
" If price impact > 1%, warn the user about the impact",
|
|
1601
1601
|
"",
|
|
1602
1602
|
"Step 4 \u2014 Execute:",
|
|
1603
|
-
" Run
|
|
1603
|
+
" Run t2000_swap with dryRun: false",
|
|
1604
1604
|
" Show: amount received, rate, transaction link",
|
|
1605
1605
|
" Show updated balance"
|
|
1606
1606
|
].join("\n")
|