@t2000/cli 0.46.1 → 0.46.3
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/{chunk-6ZRYQAOQ.js → chunk-EGIY4JBI.js} +77 -24
- package/dist/{chunk-6ZRYQAOQ.js.map → chunk-EGIY4JBI.js.map} +1 -1
- package/dist/{dist-LGHHHTO2.js → dist-4YHW4PXA.js} +56 -25
- package/dist/{dist-LGHHHTO2.js.map → dist-4YHW4PXA.js.map} +1 -1
- package/dist/{dist-M7AYQZSX.js → dist-MFJH54HH.js} +14 -2
- package/dist/index.js +3 -3
- package/package.json +3 -3
- /package/dist/{dist-M7AYQZSX.js.map → dist-MFJH54HH.js.map} +0 -0
|
@@ -61,6 +61,9 @@ import {
|
|
|
61
61
|
executeAutoTopUp,
|
|
62
62
|
executeWithGas,
|
|
63
63
|
exportPrivateKey,
|
|
64
|
+
extractTransferDetails,
|
|
65
|
+
extractTxCommands,
|
|
66
|
+
extractTxSender,
|
|
64
67
|
fallbackLabel,
|
|
65
68
|
findSwapRoute,
|
|
66
69
|
formatAssetAmount,
|
|
@@ -87,6 +90,9 @@ import {
|
|
|
87
90
|
mapWalletError,
|
|
88
91
|
mistToSui,
|
|
89
92
|
naviDescriptor,
|
|
93
|
+
parseSuiRpcTx,
|
|
94
|
+
queryHistory,
|
|
95
|
+
queryTransaction,
|
|
90
96
|
rawToStable,
|
|
91
97
|
rawToUsdc,
|
|
92
98
|
refineLendingLabel,
|
|
@@ -103,7 +109,7 @@ import {
|
|
|
103
109
|
usdcToRaw,
|
|
104
110
|
validateAddress,
|
|
105
111
|
walletExists
|
|
106
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-EGIY4JBI.js";
|
|
107
113
|
import "./chunk-V7PXDEKG.js";
|
|
108
114
|
import "./chunk-Q2LY5BHK.js";
|
|
109
115
|
import "./chunk-3XUF7GM3.js";
|
|
@@ -170,6 +176,9 @@ export {
|
|
|
170
176
|
executeAutoTopUp,
|
|
171
177
|
executeWithGas,
|
|
172
178
|
exportPrivateKey,
|
|
179
|
+
extractTransferDetails,
|
|
180
|
+
extractTxCommands,
|
|
181
|
+
extractTxSender,
|
|
173
182
|
fallbackLabel,
|
|
174
183
|
findSwapRoute,
|
|
175
184
|
formatAssetAmount,
|
|
@@ -196,6 +205,9 @@ export {
|
|
|
196
205
|
mapWalletError,
|
|
197
206
|
mistToSui,
|
|
198
207
|
naviDescriptor,
|
|
208
|
+
parseSuiRpcTx,
|
|
209
|
+
queryHistory,
|
|
210
|
+
queryTransaction,
|
|
199
211
|
rawToStable,
|
|
200
212
|
rawToUsdc,
|
|
201
213
|
refineLendingLabel,
|
|
@@ -213,4 +225,4 @@ export {
|
|
|
213
225
|
validateAddress,
|
|
214
226
|
walletExists
|
|
215
227
|
};
|
|
216
|
-
//# sourceMappingURL=dist-
|
|
228
|
+
//# sourceMappingURL=dist-MFJH54HH.js.map
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
saveKey,
|
|
18
18
|
truncateAddress,
|
|
19
19
|
walletExists
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EGIY4JBI.js";
|
|
21
21
|
import "./chunk-V7PXDEKG.js";
|
|
22
22
|
import "./chunk-Q2LY5BHK.js";
|
|
23
23
|
import "./chunk-3XUF7GM3.js";
|
|
@@ -7832,7 +7832,7 @@ function registerLock(program3) {
|
|
|
7832
7832
|
});
|
|
7833
7833
|
program3.command("unlock").description("Unlock agent \u2014 resume operations").action(async () => {
|
|
7834
7834
|
try {
|
|
7835
|
-
const { T2000: T20003 } = await import("./dist-
|
|
7835
|
+
const { T2000: T20003 } = await import("./dist-MFJH54HH.js");
|
|
7836
7836
|
const MAX_ATTEMPTS2 = 3;
|
|
7837
7837
|
let pin;
|
|
7838
7838
|
for (let attempt = 1; attempt <= MAX_ATTEMPTS2; attempt++) {
|
|
@@ -8006,7 +8006,7 @@ function registerMcp(program3) {
|
|
|
8006
8006
|
mcp.command("start", { isDefault: true }).description("Start MCP server (stdio transport)").option("--key <path>", "Key file path").action(async (opts) => {
|
|
8007
8007
|
let mod;
|
|
8008
8008
|
try {
|
|
8009
|
-
mod = await import("./dist-
|
|
8009
|
+
mod = await import("./dist-4YHW4PXA.js");
|
|
8010
8010
|
} catch {
|
|
8011
8011
|
console.error(
|
|
8012
8012
|
"MCP server not installed. Run:\n npm install -g @t2000/mcp"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2000/cli",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.3",
|
|
4
4
|
"description": "A bank account for AI agents on Sui — guided setup, MCP integration, send, save, borrow, swap. Same 40 tools as the engine, scriptable from any shell.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"tsup": "^8",
|
|
43
43
|
"typescript": "^5",
|
|
44
44
|
"vitest": "^3",
|
|
45
|
-
"@t2000/mcp": "0.46.
|
|
46
|
-
"@t2000/sdk": "0.46.
|
|
45
|
+
"@t2000/mcp": "0.46.3",
|
|
46
|
+
"@t2000/sdk": "0.46.3"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"scripts": {
|
|
File without changes
|