@t2000/cli 0.10.3 → 0.10.4
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 +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -114,11 +114,11 @@ t2000 init
|
|
|
114
114
|
|
|
115
115
|
| Command | Description |
|
|
116
116
|
|---------|-------------|
|
|
117
|
-
| `t2000 save <amount> [--protocol <name>]` | Deposit
|
|
118
|
-
| `t2000 save all` | Deposit all available USDC |
|
|
117
|
+
| `t2000 save <amount> [--protocol <name>]` | Deposit to savings (earn ~2–8% APY). Auto-converts non-USDC stables. Auto-selects best rate or use `--protocol navi\|suilend`. |
|
|
118
|
+
| `t2000 save all` | Deposit all available stablecoins (auto-converts to USDC) |
|
|
119
119
|
| `t2000 withdraw <amount>` | Withdraw from savings. Always returns USDC (auto-swaps non-USDC positions). |
|
|
120
120
|
| `t2000 borrow <amount>` | Borrow USDC against savings collateral |
|
|
121
|
-
| `t2000 repay <amount>` | Repay outstanding USDC
|
|
121
|
+
| `t2000 repay <amount>` | Repay outstanding debt (auto-swaps USDC to borrowed asset if non-USDC). Use `repay all` for full repayment. |
|
|
122
122
|
| `t2000 rebalance [--dry-run]` | Optimize yield — move savings to best rate across protocols and stablecoins internally |
|
|
123
123
|
| `t2000 exchange <amount> <from> <to>` | Exchange tokens via Cetus DEX (e.g. `t2000 exchange 5 USDC SUI`). Options: `--slippage <pct>` (default: 3%) |
|
|
124
124
|
| `t2000 health` | Check savings health factor |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2000/cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"description": "CLI bank account for AI agents on Sui — send, save, borrow, rebalance from your terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"commander": "^13",
|
|
38
38
|
"hono": "^4",
|
|
39
39
|
"picocolors": "^1",
|
|
40
|
-
"@t2000/
|
|
41
|
-
"@t2000/
|
|
40
|
+
"@t2000/sdk": "0.10.4",
|
|
41
|
+
"@t2000/x402": "0.3.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^20",
|