@t2000/cli 0.20.24 → 0.20.26
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.
|
@@ -21181,7 +21181,7 @@ function registerReadTools(server, agent) {
|
|
|
21181
21181
|
);
|
|
21182
21182
|
server.tool(
|
|
21183
21183
|
"t2000_all_rates",
|
|
21184
|
-
'Compare interest rates across ALL protocols side-by-side for every asset. Shows NAVI vs Suilend rates per asset. Use when the user asks "am I getting the best rate?" or wants to compare protocols.',
|
|
21184
|
+
'Compare interest rates across ALL protocols side-by-side for every asset. Shows NAVI vs Suilend rates per asset. Use when the user asks "am I getting the best rate?" or wants to compare protocols. NOTE: Do NOT use this to decide where to save \u2014 t2000_save always saves USDC at the best USDC rate. This tool is for informational comparisons and for deciding whether to t2000_rebalance into a different asset.',
|
|
21185
21185
|
{},
|
|
21186
21186
|
async () => {
|
|
21187
21187
|
try {
|
|
@@ -21329,7 +21329,7 @@ function registerWriteTools(server, agent) {
|
|
|
21329
21329
|
);
|
|
21330
21330
|
server.tool(
|
|
21331
21331
|
"t2000_save",
|
|
21332
|
-
'Deposit USDC to savings (earns yield). Amount is in dollars. Use "all" to save entire available balance. Set dryRun: true to preview.',
|
|
21332
|
+
'Deposit USDC to savings at the best USDC rate (earns yield). Amount is in dollars. Use "all" to save entire available balance. Set dryRun: true to preview. This saves USDC as USDC \u2014 do NOT suggest swapping to other assets first. If the user later wants to chase higher yields on other assets (e.g. USDe), use t2000_rebalance AFTER saving.',
|
|
21333
21333
|
{
|
|
21334
21334
|
amount: external_exports.union([external_exports.number(), external_exports.literal("all")]).describe('Dollar amount to save, or "all"'),
|
|
21335
21335
|
dryRun: external_exports.boolean().optional().describe("Preview without signing (default: false)")
|
|
@@ -22679,6 +22679,8 @@ ${context}
|
|
|
22679
22679
|
})
|
|
22680
22680
|
);
|
|
22681
22681
|
}
|
|
22682
|
+
console.log = (...args) => console.error("[log]", ...args);
|
|
22683
|
+
console.warn = (...args) => console.error("[warn]", ...args);
|
|
22682
22684
|
async function startMcpServer(opts) {
|
|
22683
22685
|
const agent = await createAgent(opts?.keyPath);
|
|
22684
22686
|
if (!agent.enforcer.isConfigured()) {
|
|
@@ -22698,4 +22700,4 @@ async function startMcpServer(opts) {
|
|
|
22698
22700
|
export {
|
|
22699
22701
|
startMcpServer
|
|
22700
22702
|
};
|
|
22701
|
-
//# sourceMappingURL=dist-
|
|
22703
|
+
//# sourceMappingURL=dist-BCZL4RIK.js.map
|