@t2000/cli 0.17.26 → 0.17.28

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 CHANGED
@@ -216,6 +216,7 @@ t2000 init
216
216
  | `t2000 invest sell <amount\|all> <asset>` | Sell crypto back to USDC (auto-withdraws if earning) |
217
217
  | `t2000 invest earn <asset>` | Deposit invested asset into best-rate lending for yield |
218
218
  | `t2000 invest unearn <asset>` | Withdraw from lending, keep in portfolio |
219
+ | `t2000 invest rebalance` | Move earning positions to better-rate protocols |
219
220
  | `t2000 portfolio` | View investment portfolio with cost-basis P&L (strategy grouping) |
220
221
 
221
222
  ### Strategies (PTB Atomic)
@@ -155,7 +155,7 @@ export function registerInvest(program) {
155
155
  .description('Move earning positions to better-rate protocols')
156
156
  .option('--key <path>', 'Key file path')
157
157
  .option('--dry-run', 'Preview moves without executing')
158
- .option('--min-diff <pct>', 'Minimum APY difference to trigger move', '0.5')
158
+ .option('--min-diff <pct>', 'Minimum APY difference to trigger move', '0.1')
159
159
  .action(async (opts) => {
160
160
  try {
161
161
  const pin = await resolvePin();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t2000/cli",
3
- "version": "0.17.26",
3
+ "version": "0.17.28",
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,11 +37,11 @@
37
37
  "commander": "^13",
38
38
  "hono": "^4",
39
39
  "picocolors": "^1",
40
- "@t2000/sdk": "0.17.26",
41
- "@t2000/x402": "0.3.0"
40
+ "@t2000/x402": "0.3.0",
41
+ "@t2000/sdk": "0.17.28"
42
42
  },
43
43
  "optionalDependencies": {
44
- "@t2000/mcp": "0.17.26"
44
+ "@t2000/mcp": "0.17.28"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^20",