@t2000/cli 0.17.14 → 0.17.16
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.
|
@@ -21558,6 +21558,19 @@ function registerWriteTools(server, agent) {
|
|
|
21558
21558
|
}
|
|
21559
21559
|
}
|
|
21560
21560
|
);
|
|
21561
|
+
server.tool(
|
|
21562
|
+
"t2000_claim_rewards",
|
|
21563
|
+
"Claim pending protocol rewards (vSUI, DEEP, SPRING_SUI) from lending positions. Rewards accrue from DeFi incentive programs on NAVI and Suilend.",
|
|
21564
|
+
{},
|
|
21565
|
+
async () => {
|
|
21566
|
+
try {
|
|
21567
|
+
const result = await mutex.run(() => agent.claimRewards());
|
|
21568
|
+
return { content: [{ type: "text", text: JSON.stringify(result) }] };
|
|
21569
|
+
} catch (err) {
|
|
21570
|
+
return errorResult(err);
|
|
21571
|
+
}
|
|
21572
|
+
}
|
|
21573
|
+
);
|
|
21561
21574
|
}
|
|
21562
21575
|
function registerSafetyTools(server, agent) {
|
|
21563
21576
|
server.tool(
|
|
@@ -22169,4 +22182,4 @@ async function startMcpServer(opts) {
|
|
|
22169
22182
|
export {
|
|
22170
22183
|
startMcpServer
|
|
22171
22184
|
};
|
|
22172
|
-
//# sourceMappingURL=dist-
|
|
22185
|
+
//# sourceMappingURL=dist-3TGAP6PT.js.map
|