@t2000/cli 1.24.14 → 1.25.1
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-TTDWK2PS.js → chunk-GGXOFR5Y.js} +1051 -931
- package/dist/chunk-GGXOFR5Y.js.map +1 -0
- package/dist/{dist-7M62MFJX.js → dist-BVJI5QD5.js} +5321 -5211
- package/dist/{dist-7M62MFJX.js.map → dist-BVJI5QD5.js.map} +1 -1
- package/dist/{dist-WOMMOCNC.js → dist-X5FWXI7K.js} +10 -2
- package/dist/index.js +3 -3
- package/package.json +3 -3
- package/dist/chunk-TTDWK2PS.js.map +0 -1
- /package/dist/{dist-WOMMOCNC.js.map → dist-X5FWXI7K.js.map} +0 -0
|
@@ -75,6 +75,7 @@ import {
|
|
|
75
75
|
classifyTransaction,
|
|
76
76
|
composeTx,
|
|
77
77
|
deriveAllowedAddressesFromPtb,
|
|
78
|
+
deserializeCetusRoute,
|
|
78
79
|
displayHandle,
|
|
79
80
|
exportPrivateKey,
|
|
80
81
|
extractTransferDetails,
|
|
@@ -100,6 +101,7 @@ import {
|
|
|
100
101
|
getTier,
|
|
101
102
|
getVoloStats,
|
|
102
103
|
isAllowedAsset,
|
|
104
|
+
isCetusRouteFresh,
|
|
103
105
|
isInRegistry,
|
|
104
106
|
isSupported,
|
|
105
107
|
isTier1,
|
|
@@ -123,6 +125,7 @@ import {
|
|
|
123
125
|
saveKey,
|
|
124
126
|
selectAndSplitCoin,
|
|
125
127
|
selectSuiCoin,
|
|
128
|
+
serializeCetusRoute,
|
|
126
129
|
simulateTransaction,
|
|
127
130
|
stableToRaw,
|
|
128
131
|
suiToMist,
|
|
@@ -131,8 +134,9 @@ import {
|
|
|
131
134
|
usdcToRaw,
|
|
132
135
|
validateAddress,
|
|
133
136
|
validateLabel,
|
|
137
|
+
verifyCetusRouteCoinMatch,
|
|
134
138
|
walletExists
|
|
135
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-GGXOFR5Y.js";
|
|
136
140
|
import "./chunk-NXTB2IJH.js";
|
|
137
141
|
import "./chunk-OCLKPYUU.js";
|
|
138
142
|
import "./chunk-6JATGRLJ.js";
|
|
@@ -217,6 +221,7 @@ export {
|
|
|
217
221
|
classifyTransaction,
|
|
218
222
|
composeTx,
|
|
219
223
|
deriveAllowedAddressesFromPtb,
|
|
224
|
+
deserializeCetusRoute,
|
|
220
225
|
displayHandle,
|
|
221
226
|
exportPrivateKey,
|
|
222
227
|
extractTransferDetails,
|
|
@@ -242,6 +247,7 @@ export {
|
|
|
242
247
|
getTier,
|
|
243
248
|
getVoloStats,
|
|
244
249
|
isAllowedAsset,
|
|
250
|
+
isCetusRouteFresh,
|
|
245
251
|
isInRegistry,
|
|
246
252
|
isSupported,
|
|
247
253
|
isTier1,
|
|
@@ -265,6 +271,7 @@ export {
|
|
|
265
271
|
saveKey,
|
|
266
272
|
selectAndSplitCoin,
|
|
267
273
|
selectSuiCoin,
|
|
274
|
+
serializeCetusRoute,
|
|
268
275
|
simulateTransaction,
|
|
269
276
|
stableToRaw,
|
|
270
277
|
suiToMist,
|
|
@@ -273,6 +280,7 @@ export {
|
|
|
273
280
|
usdcToRaw,
|
|
274
281
|
validateAddress,
|
|
275
282
|
validateLabel,
|
|
283
|
+
verifyCetusRouteCoinMatch,
|
|
276
284
|
walletExists
|
|
277
285
|
};
|
|
278
|
-
//# sourceMappingURL=dist-
|
|
286
|
+
//# sourceMappingURL=dist-X5FWXI7K.js.map
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
saveKey,
|
|
13
13
|
truncateAddress,
|
|
14
14
|
walletExists
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GGXOFR5Y.js";
|
|
16
16
|
import {
|
|
17
17
|
esm_default3 as esm_default,
|
|
18
18
|
esm_default8 as esm_default2
|
|
@@ -7863,7 +7863,7 @@ function registerLock(program3) {
|
|
|
7863
7863
|
});
|
|
7864
7864
|
program3.command("unlock").description("Unlock agent \u2014 resume operations").action(async () => {
|
|
7865
7865
|
try {
|
|
7866
|
-
const { T2000: T20003 } = await import("./dist-
|
|
7866
|
+
const { T2000: T20003 } = await import("./dist-X5FWXI7K.js");
|
|
7867
7867
|
const MAX_ATTEMPTS2 = 3;
|
|
7868
7868
|
let pin;
|
|
7869
7869
|
for (let attempt = 1; attempt <= MAX_ATTEMPTS2; attempt++) {
|
|
@@ -8037,7 +8037,7 @@ function registerMcp(program3) {
|
|
|
8037
8037
|
mcp.command("start", { isDefault: true }).description("Start MCP server (stdio transport)").option("--key <path>", "Key file path").action(async (opts) => {
|
|
8038
8038
|
let mod;
|
|
8039
8039
|
try {
|
|
8040
|
-
mod = await import("./dist-
|
|
8040
|
+
mod = await import("./dist-BVJI5QD5.js");
|
|
8041
8041
|
} catch {
|
|
8042
8042
|
console.error(
|
|
8043
8043
|
"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": "1.
|
|
3
|
+
"version": "1.25.1",
|
|
4
4
|
"description": "A bank account for AI agents on Sui — guided setup, MCP integration, send, save, borrow, swap. Same 34 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": "1.
|
|
46
|
-
"@t2000/sdk": "1.
|
|
45
|
+
"@t2000/mcp": "1.25.1",
|
|
46
|
+
"@t2000/sdk": "1.25.1"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"scripts": {
|