@t2000/engine 0.5.10 → 0.5.12
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 +2 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -999,7 +999,7 @@ var transactionHistoryTool = buildTool({
|
|
|
999
999
|
});
|
|
1000
1000
|
var saveDepositTool = buildTool({
|
|
1001
1001
|
name: "save_deposit",
|
|
1002
|
-
description: "Deposit into NAVI lending to earn yield. Supports any NAVI-listed asset: USDC, USDT, SUI, WAL, ETH, NAVX, GOLD, USDe, USDsui.
|
|
1002
|
+
description: "Deposit into NAVI lending to earn yield. Supports any NAVI-listed asset: USDC, USDT, SUI, WAL, ETH, NAVX, GOLD, USDe, USDsui. Amount is in token units (not USD).",
|
|
1003
1003
|
inputSchema: z.object({
|
|
1004
1004
|
amount: z.number().positive(),
|
|
1005
1005
|
asset: z.string().optional().describe("Asset to deposit (default: USDC). Supports: USDC, USDT, SUI, WAL, ETH, NAVX, GOLD, USDe, USDsui")
|
|
@@ -1040,7 +1040,7 @@ var saveDepositTool = buildTool({
|
|
|
1040
1040
|
});
|
|
1041
1041
|
var withdrawTool = buildTool({
|
|
1042
1042
|
name: "withdraw",
|
|
1043
|
-
description: "Withdraw from NAVI lending back to wallet. Supports any deposited asset
|
|
1043
|
+
description: "Withdraw from NAVI lending back to wallet. Supports any deposited asset: USDC, USDT, SUI, WAL, ETH, NAVX, GOLD, USDe, USDsui. Checks health factor to prevent liquidation if there is outstanding debt.",
|
|
1044
1044
|
inputSchema: z.object({
|
|
1045
1045
|
amount: z.number().positive(),
|
|
1046
1046
|
asset: z.string().optional().describe("Asset to withdraw (default: picks largest position). Supports: USDC, USDT, SUI, WAL, ETH, NAVX, GOLD, USDe, USDsui")
|
|
@@ -2024,9 +2024,6 @@ var QueryEngine = class {
|
|
|
2024
2024
|
yield { type: "turn_complete", stopReason: "end_turn" };
|
|
2025
2025
|
return;
|
|
2026
2026
|
}
|
|
2027
|
-
if (this.mcpManager && typeof this.mcpManager.cache?.invalidate === "function") {
|
|
2028
|
-
this.mcpManager.cache.invalidate();
|
|
2029
|
-
}
|
|
2030
2027
|
yield* this.agentLoop(null, signal, false);
|
|
2031
2028
|
}
|
|
2032
2029
|
interrupt() {
|