@t2000/cli 0.40.4 → 0.41.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/dist/{chunk-4YV63VD3.js → chunk-MISDVBTN.js} +8 -2
- package/dist/{chunk-4YV63VD3.js.map → chunk-MISDVBTN.js.map} +1 -1
- package/dist/{dist-V5TR4H22.js → dist-5VJWN7TU.js} +6 -3
- package/dist/{dist-V5TR4H22.js.map → dist-5VJWN7TU.js.map} +1 -1
- package/dist/{dist-X2WIJABG.js → dist-7CFAS7YK.js} +8 -2
- package/dist/index.js +3 -3
- package/package.json +3 -3
- /package/dist/{dist-X2WIJABG.js.map → dist-7CFAS7YK.js.map} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'module'; import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const require = __createRequire(import.meta.url); const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename);
|
|
2
2
|
import {
|
|
3
3
|
ALL_NAVI_ASSETS,
|
|
4
|
+
BORROW_FEE_BPS,
|
|
4
5
|
BPS_DENOMINATOR,
|
|
5
6
|
CETUS_USDC_SUI_POOL,
|
|
6
7
|
CLOCK_ID,
|
|
@@ -21,7 +22,9 @@ import {
|
|
|
21
22
|
NaviAdapter,
|
|
22
23
|
OPERATION_ASSETS,
|
|
23
24
|
OUTBOUND_OPS,
|
|
25
|
+
OVERLAY_FEE_RATE,
|
|
24
26
|
ProtocolRegistry,
|
|
27
|
+
SAVE_FEE_BPS,
|
|
25
28
|
STABLE_ASSETS,
|
|
26
29
|
SUI_DECIMALS,
|
|
27
30
|
SUI_TYPE,
|
|
@@ -93,13 +96,14 @@ import {
|
|
|
93
96
|
usdcToRaw,
|
|
94
97
|
validateAddress,
|
|
95
98
|
walletExists
|
|
96
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-MISDVBTN.js";
|
|
97
100
|
import "./chunk-V7PXDEKG.js";
|
|
98
101
|
import "./chunk-Q2LY5BHK.js";
|
|
99
102
|
import "./chunk-3XUF7GM3.js";
|
|
100
103
|
import "./chunk-YPWSCLE3.js";
|
|
101
104
|
export {
|
|
102
105
|
ALL_NAVI_ASSETS,
|
|
106
|
+
BORROW_FEE_BPS,
|
|
103
107
|
BPS_DENOMINATOR,
|
|
104
108
|
CETUS_USDC_SUI_POOL,
|
|
105
109
|
CLOCK_ID,
|
|
@@ -120,7 +124,9 @@ export {
|
|
|
120
124
|
NaviAdapter,
|
|
121
125
|
OPERATION_ASSETS,
|
|
122
126
|
OUTBOUND_OPS,
|
|
127
|
+
OVERLAY_FEE_RATE,
|
|
123
128
|
ProtocolRegistry,
|
|
129
|
+
SAVE_FEE_BPS,
|
|
124
130
|
STABLE_ASSETS,
|
|
125
131
|
SUI_DECIMALS,
|
|
126
132
|
SUI_TYPE,
|
|
@@ -193,4 +199,4 @@ export {
|
|
|
193
199
|
validateAddress,
|
|
194
200
|
walletExists
|
|
195
201
|
};
|
|
196
|
-
//# sourceMappingURL=dist-
|
|
202
|
+
//# sourceMappingURL=dist-7CFAS7YK.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-MISDVBTN.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-7CFAS7YK.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-5VJWN7TU.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.
|
|
3
|
+
"version": "0.41.0",
|
|
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/
|
|
46
|
-
"@t2000/
|
|
45
|
+
"@t2000/sdk": "0.41.0",
|
|
46
|
+
"@t2000/mcp": "0.41.0"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"scripts": {
|
|
File without changes
|