@t2000/cli 0.45.0 → 0.46.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.
@@ -14,7 +14,9 @@ import {
14
14
  HF_CRITICAL_THRESHOLD,
15
15
  HF_WARN_THRESHOLD,
16
16
  IKA_TYPE,
17
+ KNOWN_TARGETS,
17
18
  KeypairSigner,
19
+ LABEL_PATTERNS,
18
20
  LOFI_TYPE,
19
21
  MANIFEST_TYPE,
20
22
  MIST_PER_SUI,
@@ -53,9 +55,13 @@ import {
53
55
  buildSwapTx,
54
56
  buildUnstakeVSuiTx,
55
57
  calculateFee,
58
+ classifyAction,
59
+ classifyLabel,
60
+ classifyTransaction,
56
61
  executeAutoTopUp,
57
62
  executeWithGas,
58
63
  exportPrivateKey,
64
+ fallbackLabel,
59
65
  findSwapRoute,
60
66
  formatAssetAmount,
61
67
  formatSui,
@@ -83,6 +89,7 @@ import {
83
89
  naviDescriptor,
84
90
  rawToStable,
85
91
  rawToUsdc,
92
+ refineLendingLabel,
86
93
  resolveSymbol,
87
94
  resolveTokenType,
88
95
  saveKey,
@@ -96,7 +103,7 @@ import {
96
103
  usdcToRaw,
97
104
  validateAddress,
98
105
  walletExists
99
- } from "./chunk-MISDVBTN.js";
106
+ } from "./chunk-6ZRYQAOQ.js";
100
107
  import "./chunk-V7PXDEKG.js";
101
108
  import "./chunk-Q2LY5BHK.js";
102
109
  import "./chunk-3XUF7GM3.js";
@@ -116,7 +123,9 @@ export {
116
123
  HF_CRITICAL_THRESHOLD,
117
124
  HF_WARN_THRESHOLD,
118
125
  IKA_TYPE,
126
+ KNOWN_TARGETS,
119
127
  KeypairSigner,
128
+ LABEL_PATTERNS,
120
129
  LOFI_TYPE,
121
130
  MANIFEST_TYPE,
122
131
  MIST_PER_SUI,
@@ -155,9 +164,13 @@ export {
155
164
  buildSwapTx,
156
165
  buildUnstakeVSuiTx,
157
166
  calculateFee,
167
+ classifyAction,
168
+ classifyLabel,
169
+ classifyTransaction,
158
170
  executeAutoTopUp,
159
171
  executeWithGas,
160
172
  exportPrivateKey,
173
+ fallbackLabel,
161
174
  findSwapRoute,
162
175
  formatAssetAmount,
163
176
  formatSui,
@@ -185,6 +198,7 @@ export {
185
198
  naviDescriptor,
186
199
  rawToStable,
187
200
  rawToUsdc,
201
+ refineLendingLabel,
188
202
  resolveSymbol,
189
203
  resolveTokenType,
190
204
  saveKey,
@@ -199,4 +213,4 @@ export {
199
213
  validateAddress,
200
214
  walletExists
201
215
  };
202
- //# sourceMappingURL=dist-7CFAS7YK.js.map
216
+ //# sourceMappingURL=dist-M7AYQZSX.js.map
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  saveKey,
18
18
  truncateAddress,
19
19
  walletExists
20
- } from "./chunk-MISDVBTN.js";
20
+ } from "./chunk-6ZRYQAOQ.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-7CFAS7YK.js");
7835
+ const { T2000: T20003 } = await import("./dist-M7AYQZSX.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-HPXLVXU7.js");
8009
+ mod = await import("./dist-LGHHHTO2.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.45.0",
3
+ "version": "0.46.1",
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/mcp": "0.45.0",
46
- "@t2000/sdk": "0.45.0"
45
+ "@t2000/mcp": "0.46.1",
46
+ "@t2000/sdk": "0.46.1"
47
47
  },
48
48
  "license": "MIT",
49
49
  "scripts": {