@t2000/cli 0.19.2 → 0.20.0

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
@@ -1,6 +1,6 @@
1
1
  # @t2000/cli
2
2
 
3
- Your personal AI financial advisor on Sui. Guided setup, AI gateway with Telegram + WebChat, heartbeat tasks, send USDC, earn yield, borrow, auto-rebalance, and pay for APIs. USDC in, USDC out — multi-stablecoin optimization happens internally.
3
+ Your personal AI financial advisor on Sui. Guided setup, MCP integration for Claude Desktop / Cursor / Windsurf, send USDC, earn yield, borrow, invest, auto-rebalance, and pay for APIs. USDC in, USDC out — multi-stablecoin optimization happens internally.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@t2000/cli)](https://www.npmjs.com/package/@t2000/cli)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
@@ -37,33 +37,26 @@ t2000 init
37
37
  🎉 Bank account created
38
38
  Address: 0x8b3e...d412
39
39
 
40
- Step 3 of 5 — Connect AI
41
- Which LLM provider? Claude (Anthropic)
42
- Opening Anthropic API keys page in your browser...
43
- Paste your Anthropic API key: ****
44
- Claude connected — model: claude-sonnet-4-20250514
40
+ Step 2 of 3 — Connect AI platforms
41
+ Which AI platforms do you use? (space to select)
42
+ Claude Desktop
43
+ Cursor
44
+ Windsurf
45
45
 
46
- Step 4 of 5 Connect Telegram (optional)
47
- Opening BotFather in Telegram...
48
- Paste the bot token: ****
49
- ✓ Telegram connected
46
+ Adding t2000 to your AI platforms...
47
+ Claude Desktop configured
48
+ Cursor configured
50
49
 
51
- Step 5 of 5 — Set safeguards
50
+ Step 3 of 3 — Set safeguards
52
51
  ✓ Safeguards configured
53
52
 
54
53
  ┌─────────────────────────────────────────┐
55
54
  │ ✓ You're all set │
56
- Start your agent: t2000 gateway
55
+ Next steps:
56
+ │ 1. Restart Claude Desktop / Cursor │
57
+ │ 2. Ask: "What's my t2000 balance?" │
57
58
  └─────────────────────────────────────────┘
58
59
 
59
- ❯ t2000 gateway
60
- ✓ Agent unlocked (0x8b3e...d412)
61
- ✓ Claude connected (claude-sonnet-4-20250514)
62
- ✓ Telegram connected
63
- ✓ WebChat at http://localhost:2000
64
- ✓ Heartbeat started (4 tasks)
65
- ✓ Ready — talk to your agent
66
-
67
60
  ❯ t2000 send 10 USDC to 0x8b3e...d412
68
61
  ✓ Sent $10.00 USDC → 0x8b3e...d412
69
62
  Gas: 0.0042 SUI (self-funded)
@@ -158,31 +151,23 @@ t2000 init
158
151
 
159
152
  | Command | Description |
160
153
  |---------|-------------|
161
- | `t2000 init` | Guided setup wizard — wallet, PIN, AI (Claude/GPT), Telegram, safeguards. Browser auto-opens API key pages. |
154
+ | `t2000 init` | Guided setup wizard — wallet, PIN, MCP platforms (Claude Desktop/Cursor/Windsurf), safeguards. |
162
155
 
163
- ### AI Gateway
156
+ ### MCP (AI Integration)
164
157
 
165
158
  | Command | Description |
166
159
  |---------|-------------|
167
- | `t2000 gateway` | Start the AI financial advisor (foreground) |
168
- | `t2000 gateway --port 3000` | Custom WebChat port |
169
- | `t2000 gateway --no-telegram` | Skip Telegram channel |
170
- | `t2000 gateway --no-heartbeat` | Skip heartbeat tasks |
171
- | `t2000 gateway --verbose` | Debug logging |
172
- | `t2000 gateway install` | Install as background daemon (launchd on macOS, systemd on Linux) |
173
- | `t2000 gateway uninstall` | Remove the daemon |
174
- | `t2000 gateway status` | Check if the gateway is running |
175
- | `t2000 gateway logs` | Tail gateway logs (structured JSON) |
176
- | `t2000 gateway logs -f` | Follow log output |
160
+ | `t2000 mcp install` | Auto-configure MCP in Claude Desktop, Cursor, and Windsurf |
161
+ | `t2000 mcp uninstall` | Remove MCP config from AI platforms |
162
+ | `t2000 mcp` | Start MCP server (stdio — used by AI platforms, not run manually) |
177
163
 
178
164
  ### Config (dot-notation)
179
165
 
180
166
  | Command | Description |
181
167
  |---------|-------------|
182
- | `t2000 config set llm.provider anthropic` | Set LLM provider |
183
- | `t2000 config set llm.apiKey sk-ant-...` | Set LLM API key |
184
- | `t2000 config set channels.telegram.botToken <token>` | Set Telegram bot token |
185
- | `t2000 config get llm.provider` | Read a nested config value |
168
+ | `t2000 config set maxPerTx 100` | Set max per transaction |
169
+ | `t2000 config set maxDailySend 500` | Set max daily sends |
170
+ | `t2000 config get maxPerTx` | Read a config value |
186
171
 
187
172
  ### Wallet
188
173
 
@@ -5,16 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
- }) : x)(function(x) {
11
- if (typeof require !== "undefined") return require.apply(this, arguments);
12
- throw Error('Dynamic require of "' + x + '" is not supported');
13
- });
14
- var __esm = (fn, res) => function __init() {
15
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
16
- };
17
- var __commonJS = (cb, mod) => function __require2() {
8
+ var __commonJS = (cb, mod) => function __require() {
18
9
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
10
  };
20
11
  var __export = (target, all) => {
@@ -37,14 +28,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
37
28
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
38
29
  mod
39
30
  ));
40
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
31
 
42
32
  export {
43
- __require,
44
- __esm,
45
33
  __commonJS,
46
34
  __export,
47
- __toESM,
48
- __toCommonJS
35
+ __toESM
49
36
  };
50
- //# sourceMappingURL=chunk-YPWSCLE3.js.map
37
+ //# sourceMappingURL=chunk-45YCL2KY.js.map