@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 +21 -36
- package/dist/{chunk-YPWSCLE3.js → chunk-45YCL2KY.js} +3 -16
- package/dist/{dist-NNID5OEY.js → dist-UJGH2XLF.js} +6823 -1504
- package/dist/dist-UJGH2XLF.js.map +1 -0
- package/dist/index.js +117 -409
- package/dist/index.js.map +1 -1
- package/package.json +4 -6
- package/dist/chunk-5TJJMPLT.js +0 -5337
- package/dist/chunk-5TJJMPLT.js.map +0 -1
- package/dist/chunk-7KJXKMEM.js +0 -2055
- package/dist/chunk-7KJXKMEM.js.map +0 -1
- package/dist/dist-NNID5OEY.js.map +0 -1
- package/dist/dist-PJEEL7WQ.js +0 -27152
- package/dist/dist-PJEEL7WQ.js.map +0 -1
- package/dist/fileFromPath-TJOXOKGY.js +0 -131
- package/dist/fileFromPath-TJOXOKGY.js.map +0 -1
- /package/dist/{chunk-YPWSCLE3.js.map → chunk-45YCL2KY.js.map} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @t2000/cli
|
|
2
2
|
|
|
3
|
-
Your personal AI financial advisor on Sui. Guided setup,
|
|
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
|
[](https://www.npmjs.com/package/@t2000/cli)
|
|
6
6
|
[](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
|
|
41
|
-
Which
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
✓ Telegram connected
|
|
46
|
+
Adding t2000 to your AI platforms...
|
|
47
|
+
✓ Claude Desktop configured
|
|
48
|
+
✓ Cursor configured
|
|
50
49
|
|
|
51
|
-
Step
|
|
50
|
+
Step 3 of 3 — Set safeguards
|
|
52
51
|
✓ Safeguards configured
|
|
53
52
|
|
|
54
53
|
┌─────────────────────────────────────────┐
|
|
55
54
|
│ ✓ You're all set │
|
|
56
|
-
│
|
|
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,
|
|
154
|
+
| `t2000 init` | Guided setup wizard — wallet, PIN, MCP platforms (Claude Desktop/Cursor/Windsurf), safeguards. |
|
|
162
155
|
|
|
163
|
-
### AI
|
|
156
|
+
### MCP (AI Integration)
|
|
164
157
|
|
|
165
158
|
| Command | Description |
|
|
166
159
|
|---------|-------------|
|
|
167
|
-
| `t2000
|
|
168
|
-
| `t2000
|
|
169
|
-
| `t2000
|
|
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
|
|
183
|
-
| `t2000 config set
|
|
184
|
-
| `t2000 config
|
|
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
|
|
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-
|
|
37
|
+
//# sourceMappingURL=chunk-45YCL2KY.js.map
|