@t2000/cli 9.6.0 → 9.7.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-UGQY67E3.js → chunk-HCEFAB2I.js} +212 -1
- package/dist/chunk-HCEFAB2I.js.map +1 -0
- package/dist/{dist-WHAWAYBP.js → dist-46NOW6ZX.js} +26 -2
- package/dist/{dist-VTNYUSEM.js → dist-KBL32JNX.js} +8 -3
- package/dist/{dist-VTNYUSEM.js.map → dist-KBL32JNX.js.map} +1 -1
- package/dist/index.js +336 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-UGQY67E3.js.map +0 -1
- /package/dist/{dist-WHAWAYBP.js.map → dist-46NOW6ZX.js.map} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
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
|
+
A2A_ESCROW_PACKAGE_ID,
|
|
3
4
|
AGENT_ID_PARENT,
|
|
4
5
|
AGENT_ID_PARENT_NAME,
|
|
5
6
|
AGENT_ID_PARENT_NFT_ID,
|
|
@@ -18,6 +19,7 @@ import {
|
|
|
18
19
|
GAS_RESERVE_MIN,
|
|
19
20
|
IKA_TYPE,
|
|
20
21
|
InvalidAddressError,
|
|
22
|
+
JOB_STATES,
|
|
21
23
|
KNOWN_TARGETS,
|
|
22
24
|
KeypairSigner,
|
|
23
25
|
LABEL_PATTERNS,
|
|
@@ -25,6 +27,7 @@ import {
|
|
|
25
27
|
LimitEnforcer,
|
|
26
28
|
LimitExceededError,
|
|
27
29
|
MANIFEST_TYPE,
|
|
30
|
+
MAX_JOB_USDC,
|
|
28
31
|
MIST_PER_SUI,
|
|
29
32
|
NAVX_TYPE,
|
|
30
33
|
OPERATION_ASSETS,
|
|
@@ -61,6 +64,11 @@ import {
|
|
|
61
64
|
assertAllowedAsset,
|
|
62
65
|
assertLimitConfig,
|
|
63
66
|
buildAddLeafTx,
|
|
67
|
+
buildCreateJobTx,
|
|
68
|
+
buildDeliverJobTx,
|
|
69
|
+
buildRefundJobTx,
|
|
70
|
+
buildRejectJobTx,
|
|
71
|
+
buildReleaseJobTx,
|
|
64
72
|
buildRevokeLeafTx,
|
|
65
73
|
buildSendTx,
|
|
66
74
|
buildSwapTx,
|
|
@@ -95,6 +103,7 @@ import {
|
|
|
95
103
|
getCoinMeta,
|
|
96
104
|
getDecimals,
|
|
97
105
|
getDecimalsForCoinType,
|
|
106
|
+
getJob,
|
|
98
107
|
getLimits,
|
|
99
108
|
getSponsoredSwapProviders,
|
|
100
109
|
getSuiClient,
|
|
@@ -104,6 +113,7 @@ import {
|
|
|
104
113
|
isAllowedAsset,
|
|
105
114
|
isCetusRouteFresh,
|
|
106
115
|
isInRegistry,
|
|
116
|
+
jobActionsFor,
|
|
107
117
|
keypairFromPrivateKey,
|
|
108
118
|
listModels,
|
|
109
119
|
loadKey,
|
|
@@ -117,6 +127,7 @@ import {
|
|
|
117
127
|
parseMppSuiChallenge,
|
|
118
128
|
parseSuiRpcTx,
|
|
119
129
|
payWithMpp,
|
|
130
|
+
preflightCreateJob,
|
|
120
131
|
preflightFail,
|
|
121
132
|
preflightPay,
|
|
122
133
|
preflightSend,
|
|
@@ -148,10 +159,11 @@ import {
|
|
|
148
159
|
validateAddress,
|
|
149
160
|
validateLabel,
|
|
150
161
|
verifyCetusRouteCoinMatch,
|
|
162
|
+
verifyJobForSeller,
|
|
151
163
|
verifyReceipt,
|
|
152
164
|
walletExists,
|
|
153
165
|
writeLimitsFile
|
|
154
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-HCEFAB2I.js";
|
|
155
167
|
import "./chunk-634W6JCI.js";
|
|
156
168
|
import "./chunk-BHQGGFE6.js";
|
|
157
169
|
import "./chunk-QHLVOCU6.js";
|
|
@@ -165,6 +177,7 @@ import "./chunk-SUSL7H4U.js";
|
|
|
165
177
|
import "./chunk-PDKJSPAS.js";
|
|
166
178
|
import "./chunk-YPWSCLE3.js";
|
|
167
179
|
export {
|
|
180
|
+
A2A_ESCROW_PACKAGE_ID,
|
|
168
181
|
AGENT_ID_PARENT,
|
|
169
182
|
AGENT_ID_PARENT_NAME,
|
|
170
183
|
AGENT_ID_PARENT_NFT_ID,
|
|
@@ -183,6 +196,7 @@ export {
|
|
|
183
196
|
GAS_RESERVE_MIN,
|
|
184
197
|
IKA_TYPE,
|
|
185
198
|
InvalidAddressError,
|
|
199
|
+
JOB_STATES,
|
|
186
200
|
KNOWN_TARGETS,
|
|
187
201
|
KeypairSigner,
|
|
188
202
|
LABEL_PATTERNS,
|
|
@@ -190,6 +204,7 @@ export {
|
|
|
190
204
|
LimitEnforcer,
|
|
191
205
|
LimitExceededError,
|
|
192
206
|
MANIFEST_TYPE,
|
|
207
|
+
MAX_JOB_USDC,
|
|
193
208
|
MIST_PER_SUI,
|
|
194
209
|
NAVX_TYPE,
|
|
195
210
|
OPERATION_ASSETS,
|
|
@@ -226,6 +241,11 @@ export {
|
|
|
226
241
|
assertAllowedAsset,
|
|
227
242
|
assertLimitConfig,
|
|
228
243
|
buildAddLeafTx,
|
|
244
|
+
buildCreateJobTx,
|
|
245
|
+
buildDeliverJobTx,
|
|
246
|
+
buildRefundJobTx,
|
|
247
|
+
buildRejectJobTx,
|
|
248
|
+
buildReleaseJobTx,
|
|
229
249
|
buildRevokeLeafTx,
|
|
230
250
|
buildSendTx,
|
|
231
251
|
buildSwapTx,
|
|
@@ -260,6 +280,7 @@ export {
|
|
|
260
280
|
getCoinMeta,
|
|
261
281
|
getDecimals,
|
|
262
282
|
getDecimalsForCoinType,
|
|
283
|
+
getJob,
|
|
263
284
|
getLimits,
|
|
264
285
|
getSponsoredSwapProviders,
|
|
265
286
|
getSuiClient,
|
|
@@ -269,6 +290,7 @@ export {
|
|
|
269
290
|
isAllowedAsset,
|
|
270
291
|
isCetusRouteFresh,
|
|
271
292
|
isInRegistry,
|
|
293
|
+
jobActionsFor,
|
|
272
294
|
keypairFromPrivateKey,
|
|
273
295
|
listModels,
|
|
274
296
|
loadKey,
|
|
@@ -282,6 +304,7 @@ export {
|
|
|
282
304
|
parseMppSuiChallenge,
|
|
283
305
|
parseSuiRpcTx,
|
|
284
306
|
payWithMpp,
|
|
307
|
+
preflightCreateJob,
|
|
285
308
|
preflightFail,
|
|
286
309
|
preflightPay,
|
|
287
310
|
preflightSend,
|
|
@@ -313,8 +336,9 @@ export {
|
|
|
313
336
|
validateAddress,
|
|
314
337
|
validateLabel,
|
|
315
338
|
verifyCetusRouteCoinMatch,
|
|
339
|
+
verifyJobForSeller,
|
|
316
340
|
verifyReceipt,
|
|
317
341
|
walletExists,
|
|
318
342
|
writeLimitsFile
|
|
319
343
|
};
|
|
320
|
-
//# sourceMappingURL=dist-
|
|
344
|
+
//# sourceMappingURL=dist-46NOW6ZX.js.map
|