@t2000/cli 0.25.13 → 0.25.14

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.
@@ -4,17 +4,21 @@ import {
4
4
  BPS_DENOMINATOR,
5
5
  CETUS_USDC_SUI_POOL,
6
6
  CLOCK_ID,
7
+ COIN_REGISTRY,
7
8
  ContactManager,
8
9
  DEFAULT_NETWORK,
9
10
  DEFAULT_SAFEGUARD_CONFIG,
11
+ ETH_TYPE,
10
12
  GAS_RESERVE_MIN,
11
13
  KeypairSigner,
12
14
  MIST_PER_SUI,
15
+ NAVX_TYPE,
13
16
  NaviAdapter,
14
17
  OUTBOUND_OPS,
15
18
  ProtocolRegistry,
16
19
  STABLE_ASSETS,
17
20
  SUI_DECIMALS,
21
+ SUI_TYPE,
18
22
  SUPPORTED_ASSETS,
19
23
  SafeguardEnforcer,
20
24
  SafeguardError,
@@ -22,10 +26,16 @@ import {
22
26
  T2000Error,
23
27
  TOKEN_MAP,
24
28
  USDC_DECIMALS,
29
+ USDC_TYPE,
30
+ USDE_TYPE,
31
+ USDSUI_TYPE,
32
+ USDT_TYPE,
25
33
  VOLO_METADATA,
26
34
  VOLO_PKG,
27
35
  VOLO_POOL,
28
36
  VSUI_TYPE,
37
+ WAL_TYPE,
38
+ WBTC_TYPE,
29
39
  ZkLoginSigner,
30
40
  addCollectFeeToTx,
31
41
  allDescriptors,
@@ -43,6 +53,7 @@ import {
43
53
  generateKeypair,
44
54
  getAddress,
45
55
  getDecimals,
56
+ getDecimalsForCoinType,
46
57
  getGasStatus,
47
58
  getRates,
48
59
  getSwapQuote,
@@ -55,6 +66,7 @@ import {
55
66
  naviDescriptor,
56
67
  rawToStable,
57
68
  rawToUsdc,
69
+ resolveSymbol,
58
70
  resolveTokenType,
59
71
  saveKey,
60
72
  shouldAutoTopUp,
@@ -67,7 +79,7 @@ import {
67
79
  usdcToRaw,
68
80
  validateAddress,
69
81
  walletExists
70
- } from "./chunk-LE7LKEOJ.js";
82
+ } from "./chunk-DNBWOMKV.js";
71
83
  import "./chunk-V7PXDEKG.js";
72
84
  import "./chunk-Q2LY5BHK.js";
73
85
  import "./chunk-3XUF7GM3.js";
@@ -77,17 +89,21 @@ export {
77
89
  BPS_DENOMINATOR,
78
90
  CETUS_USDC_SUI_POOL,
79
91
  CLOCK_ID,
92
+ COIN_REGISTRY,
80
93
  ContactManager,
81
94
  DEFAULT_NETWORK,
82
95
  DEFAULT_SAFEGUARD_CONFIG,
96
+ ETH_TYPE,
83
97
  GAS_RESERVE_MIN,
84
98
  KeypairSigner,
85
99
  MIST_PER_SUI,
100
+ NAVX_TYPE,
86
101
  NaviAdapter,
87
102
  OUTBOUND_OPS,
88
103
  ProtocolRegistry,
89
104
  STABLE_ASSETS,
90
105
  SUI_DECIMALS,
106
+ SUI_TYPE,
91
107
  SUPPORTED_ASSETS,
92
108
  SafeguardEnforcer,
93
109
  SafeguardError,
@@ -95,10 +111,16 @@ export {
95
111
  T2000Error,
96
112
  TOKEN_MAP,
97
113
  USDC_DECIMALS,
114
+ USDC_TYPE,
115
+ USDE_TYPE,
116
+ USDSUI_TYPE,
117
+ USDT_TYPE,
98
118
  VOLO_METADATA,
99
119
  VOLO_PKG,
100
120
  VOLO_POOL,
101
121
  VSUI_TYPE,
122
+ WAL_TYPE,
123
+ WBTC_TYPE,
102
124
  ZkLoginSigner,
103
125
  addCollectFeeToTx,
104
126
  allDescriptors,
@@ -116,6 +138,7 @@ export {
116
138
  generateKeypair,
117
139
  getAddress,
118
140
  getDecimals,
141
+ getDecimalsForCoinType,
119
142
  getGasStatus,
120
143
  getRates,
121
144
  getSwapQuote,
@@ -128,6 +151,7 @@ export {
128
151
  naviDescriptor,
129
152
  rawToStable,
130
153
  rawToUsdc,
154
+ resolveSymbol,
131
155
  resolveTokenType,
132
156
  saveKey,
133
157
  shouldAutoTopUp,
@@ -141,4 +165,4 @@ export {
141
165
  validateAddress,
142
166
  walletExists
143
167
  };
144
- //# sourceMappingURL=dist-TAMLN5Z7.js.map
168
+ //# sourceMappingURL=dist-JZ5RZWFT.js.map
@@ -7,7 +7,7 @@ import {
7
7
  ZodOptional,
8
8
  external_exports,
9
9
  objectType
10
- } from "./chunk-LE7LKEOJ.js";
10
+ } from "./chunk-DNBWOMKV.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-4FXGI3TM.js.map
18317
+ //# sourceMappingURL=dist-ZHHT2ROZ.js.map
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  saveKey,
18
18
  truncateAddress,
19
19
  walletExists
20
- } from "./chunk-LE7LKEOJ.js";
20
+ } from "./chunk-DNBWOMKV.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-TAMLN5Z7.js");
7839
+ const { T2000: T20003 } = await import("./dist-JZ5RZWFT.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-4FXGI3TM.js");
8013
+ mod = await import("./dist-ZHHT2ROZ.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.25.13",
3
+ "version": "0.25.14",
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/sdk": "0.21.13",
46
- "@t2000/mcp": "0.25.13"
45
+ "@t2000/mcp": "0.25.14",
46
+ "@t2000/sdk": "0.21.14"
47
47
  },
48
48
  "license": "MIT",
49
49
  "scripts": {