@t2000/cli 0.24.0 → 0.24.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.
@@ -7,7 +7,7 @@ import {
7
7
  ZodOptional,
8
8
  external_exports,
9
9
  objectType
10
- } from "./chunk-JJCGJTSI.js";
10
+ } from "./chunk-NVVRO5EM.js";
11
11
  import "./chunk-V7PXDEKG.js";
12
12
  import "./chunk-Q2LY5BHK.js";
13
13
  import "./chunk-3XUF7GM3.js";
@@ -18314,4 +18314,4 @@ async function startMcpServer(opts) {
18314
18314
  export {
18315
18315
  startMcpServer
18316
18316
  };
18317
- //# sourceMappingURL=dist-22NK522A.js.map
18317
+ //# sourceMappingURL=dist-I2SVTLMJ.js.map
@@ -19,14 +19,23 @@ import {
19
19
  SafeguardError,
20
20
  T2000,
21
21
  T2000Error,
22
+ TOKEN_MAP,
22
23
  USDC_DECIMALS,
24
+ VOLO_METADATA,
25
+ VOLO_PKG,
26
+ VOLO_POOL,
27
+ VSUI_TYPE,
23
28
  ZkLoginSigner,
24
29
  addCollectFeeToTx,
25
30
  allDescriptors,
31
+ buildStakeVSuiTx,
32
+ buildSwapTx,
33
+ buildUnstakeVSuiTx,
26
34
  calculateFee,
27
35
  executeAutoTopUp,
28
36
  executeWithGas,
29
37
  exportPrivateKey,
38
+ findSwapRoute,
30
39
  formatAssetAmount,
31
40
  formatSui,
32
41
  formatUsd,
@@ -35,6 +44,8 @@ import {
35
44
  getDecimals,
36
45
  getGasStatus,
37
46
  getRates,
47
+ getSwapQuote,
48
+ getVoloStats,
38
49
  keypairFromPrivateKey,
39
50
  loadKey,
40
51
  mapMoveAbortCode,
@@ -43,6 +54,7 @@ import {
43
54
  naviDescriptor,
44
55
  rawToStable,
45
56
  rawToUsdc,
57
+ resolveTokenType,
46
58
  saveKey,
47
59
  shouldAutoTopUp,
48
60
  simulateTransaction,
@@ -54,7 +66,7 @@ import {
54
66
  usdcToRaw,
55
67
  validateAddress,
56
68
  walletExists
57
- } from "./chunk-JJCGJTSI.js";
69
+ } from "./chunk-NVVRO5EM.js";
58
70
  import "./chunk-V7PXDEKG.js";
59
71
  import "./chunk-Q2LY5BHK.js";
60
72
  import "./chunk-3XUF7GM3.js";
@@ -79,14 +91,23 @@ export {
79
91
  SafeguardError,
80
92
  T2000,
81
93
  T2000Error,
94
+ TOKEN_MAP,
82
95
  USDC_DECIMALS,
96
+ VOLO_METADATA,
97
+ VOLO_PKG,
98
+ VOLO_POOL,
99
+ VSUI_TYPE,
83
100
  ZkLoginSigner,
84
101
  addCollectFeeToTx,
85
102
  allDescriptors,
103
+ buildStakeVSuiTx,
104
+ buildSwapTx,
105
+ buildUnstakeVSuiTx,
86
106
  calculateFee,
87
107
  executeAutoTopUp,
88
108
  executeWithGas,
89
109
  exportPrivateKey,
110
+ findSwapRoute,
90
111
  formatAssetAmount,
91
112
  formatSui,
92
113
  formatUsd,
@@ -95,6 +116,8 @@ export {
95
116
  getDecimals,
96
117
  getGasStatus,
97
118
  getRates,
119
+ getSwapQuote,
120
+ getVoloStats,
98
121
  keypairFromPrivateKey,
99
122
  loadKey,
100
123
  mapMoveAbortCode,
@@ -103,6 +126,7 @@ export {
103
126
  naviDescriptor,
104
127
  rawToStable,
105
128
  rawToUsdc,
129
+ resolveTokenType,
106
130
  saveKey,
107
131
  shouldAutoTopUp,
108
132
  simulateTransaction,
@@ -115,4 +139,4 @@ export {
115
139
  validateAddress,
116
140
  walletExists
117
141
  };
118
- //# sourceMappingURL=dist-2P6AEWCE.js.map
142
+ //# sourceMappingURL=dist-OCRGWGZT.js.map
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  saveKey,
18
18
  truncateAddress,
19
19
  walletExists
20
- } from "./chunk-JJCGJTSI.js";
20
+ } from "./chunk-NVVRO5EM.js";
21
21
  import "./chunk-V7PXDEKG.js";
22
22
  import "./chunk-Q2LY5BHK.js";
23
23
  import "./chunk-3XUF7GM3.js";
@@ -7836,7 +7836,7 @@ function registerLock(program3) {
7836
7836
  });
7837
7837
  program3.command("unlock").description("Unlock agent \u2014 resume operations").action(async () => {
7838
7838
  try {
7839
- const { T2000: T20003 } = await import("./dist-2P6AEWCE.js");
7839
+ const { T2000: T20003 } = await import("./dist-OCRGWGZT.js");
7840
7840
  const MAX_ATTEMPTS2 = 3;
7841
7841
  let pin;
7842
7842
  for (let attempt = 1; attempt <= MAX_ATTEMPTS2; attempt++) {
@@ -8010,7 +8010,7 @@ function registerMcp(program3) {
8010
8010
  mcp.command("start", { isDefault: true }).description("Start MCP server (stdio transport)").option("--key <path>", "Key file path").action(async (opts) => {
8011
8011
  let mod;
8012
8012
  try {
8013
- mod = await import("./dist-22NK522A.js");
8013
+ mod = await import("./dist-I2SVTLMJ.js");
8014
8014
  } catch {
8015
8015
  console.error(
8016
8016
  "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.24.0",
3
+ "version": "0.24.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.24.0",
46
- "@t2000/sdk": "0.20.0"
45
+ "@t2000/mcp": "0.24.2",
46
+ "@t2000/sdk": "0.20.4"
47
47
  },
48
48
  "license": "MIT",
49
49
  "scripts": {