@t2000/cli 0.26.0 → 0.26.2
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-FSE25UF3.js → chunk-KLHAR3XK.js} +31 -5
- package/dist/{chunk-FSE25UF3.js.map → chunk-KLHAR3XK.js.map} +1 -1
- package/dist/{dist-AY4QEDAC.js → dist-KAYOSIOG.js} +2 -2
- package/dist/{dist-ZKTRDHRL.js → dist-KWDZR46D.js} +8 -2
- package/dist/index.js +3 -3
- package/package.json +3 -3
- /package/dist/{dist-AY4QEDAC.js.map → dist-KAYOSIOG.js.map} +0 -0
- /package/dist/{dist-ZKTRDHRL.js.map → dist-KWDZR46D.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
ZodOptional,
|
|
8
8
|
external_exports,
|
|
9
9
|
objectType
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KLHAR3XK.js";
|
|
11
11
|
import "./chunk-V7PXDEKG.js";
|
|
12
12
|
import "./chunk-Q2LY5BHK.js";
|
|
13
13
|
import "./chunk-3XUF7GM3.js";
|
|
@@ -18312,4 +18312,4 @@ async function startMcpServer(opts) {
|
|
|
18312
18312
|
export {
|
|
18313
18313
|
startMcpServer
|
|
18314
18314
|
};
|
|
18315
|
-
//# sourceMappingURL=dist-
|
|
18315
|
+
//# sourceMappingURL=dist-KAYOSIOG.js.map
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
MIST_PER_SUI,
|
|
18
18
|
NAVX_TYPE,
|
|
19
19
|
NaviAdapter,
|
|
20
|
+
OPERATION_ASSETS,
|
|
20
21
|
OUTBOUND_OPS,
|
|
21
22
|
ProtocolRegistry,
|
|
22
23
|
STABLE_ASSETS,
|
|
@@ -42,6 +43,7 @@ import {
|
|
|
42
43
|
ZkLoginSigner,
|
|
43
44
|
addCollectFeeToTx,
|
|
44
45
|
allDescriptors,
|
|
46
|
+
assertAllowedAsset,
|
|
45
47
|
buildStakeVSuiTx,
|
|
46
48
|
buildSwapTx,
|
|
47
49
|
buildUnstakeVSuiTx,
|
|
@@ -62,6 +64,7 @@ import {
|
|
|
62
64
|
getSwapQuote,
|
|
63
65
|
getTier,
|
|
64
66
|
getVoloStats,
|
|
67
|
+
isAllowedAsset,
|
|
65
68
|
isSupported,
|
|
66
69
|
isTier1,
|
|
67
70
|
isTier2,
|
|
@@ -86,7 +89,7 @@ import {
|
|
|
86
89
|
usdcToRaw,
|
|
87
90
|
validateAddress,
|
|
88
91
|
walletExists
|
|
89
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-KLHAR3XK.js";
|
|
90
93
|
import "./chunk-V7PXDEKG.js";
|
|
91
94
|
import "./chunk-Q2LY5BHK.js";
|
|
92
95
|
import "./chunk-3XUF7GM3.js";
|
|
@@ -109,6 +112,7 @@ export {
|
|
|
109
112
|
MIST_PER_SUI,
|
|
110
113
|
NAVX_TYPE,
|
|
111
114
|
NaviAdapter,
|
|
115
|
+
OPERATION_ASSETS,
|
|
112
116
|
OUTBOUND_OPS,
|
|
113
117
|
ProtocolRegistry,
|
|
114
118
|
STABLE_ASSETS,
|
|
@@ -134,6 +138,7 @@ export {
|
|
|
134
138
|
ZkLoginSigner,
|
|
135
139
|
addCollectFeeToTx,
|
|
136
140
|
allDescriptors,
|
|
141
|
+
assertAllowedAsset,
|
|
137
142
|
buildStakeVSuiTx,
|
|
138
143
|
buildSwapTx,
|
|
139
144
|
buildUnstakeVSuiTx,
|
|
@@ -154,6 +159,7 @@ export {
|
|
|
154
159
|
getSwapQuote,
|
|
155
160
|
getTier,
|
|
156
161
|
getVoloStats,
|
|
162
|
+
isAllowedAsset,
|
|
157
163
|
isSupported,
|
|
158
164
|
isTier1,
|
|
159
165
|
isTier2,
|
|
@@ -179,4 +185,4 @@ export {
|
|
|
179
185
|
validateAddress,
|
|
180
186
|
walletExists
|
|
181
187
|
};
|
|
182
|
-
//# sourceMappingURL=dist-
|
|
188
|
+
//# sourceMappingURL=dist-KWDZR46D.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-KLHAR3XK.js";
|
|
21
21
|
import "./chunk-V7PXDEKG.js";
|
|
22
22
|
import "./chunk-Q2LY5BHK.js";
|
|
23
23
|
import "./chunk-3XUF7GM3.js";
|
|
@@ -7835,7 +7835,7 @@ function registerLock(program3) {
|
|
|
7835
7835
|
});
|
|
7836
7836
|
program3.command("unlock").description("Unlock agent \u2014 resume operations").action(async () => {
|
|
7837
7837
|
try {
|
|
7838
|
-
const { T2000: T20003 } = await import("./dist-
|
|
7838
|
+
const { T2000: T20003 } = await import("./dist-KWDZR46D.js");
|
|
7839
7839
|
const MAX_ATTEMPTS2 = 3;
|
|
7840
7840
|
let pin;
|
|
7841
7841
|
for (let attempt = 1; attempt <= MAX_ATTEMPTS2; attempt++) {
|
|
@@ -8009,7 +8009,7 @@ function registerMcp(program3) {
|
|
|
8009
8009
|
mcp.command("start", { isDefault: true }).description("Start MCP server (stdio transport)").option("--key <path>", "Key file path").action(async (opts) => {
|
|
8010
8010
|
let mod;
|
|
8011
8011
|
try {
|
|
8012
|
-
mod = await import("./dist-
|
|
8012
|
+
mod = await import("./dist-KAYOSIOG.js");
|
|
8013
8013
|
} catch {
|
|
8014
8014
|
console.error(
|
|
8015
8015
|
"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.26.
|
|
3
|
+
"version": "0.26.2",
|
|
4
4
|
"description": "A bank account for AI agents on Sui — guided setup, MCP, send, save, borrow, rebalance",
|
|
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.26.
|
|
46
|
-
"@t2000/sdk": "0.22.
|
|
45
|
+
"@t2000/mcp": "0.26.2",
|
|
46
|
+
"@t2000/sdk": "0.22.3"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"scripts": {
|
|
File without changes
|
|
File without changes
|