@t2000/sdk 10.36.0 → 10.36.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.
- package/README.md +2 -0
- package/dist/index.cjs +31 -361
- package/dist/index.d.cts +27 -78
- package/dist/index.d.ts +27 -78
- package/dist/index.js +32 -361
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -33,9 +33,6 @@ interface ChatResult {
|
|
|
33
33
|
content: string;
|
|
34
34
|
model: string;
|
|
35
35
|
usage?: ChatUsage;
|
|
36
|
-
/** Confidential calls (`phala/*`) return a TEE attestation receipt id —
|
|
37
|
-
* fetch + verify it at `/v1/aci/receipts/{id}`. Absent for ZDR models. */
|
|
38
|
-
receiptId?: string;
|
|
39
36
|
/** The verbatim OpenAI-shaped response body. */
|
|
40
37
|
raw: unknown;
|
|
41
38
|
}
|
|
@@ -55,9 +52,7 @@ interface ApiModel {
|
|
|
55
52
|
declare function chatCompletion(params: ChatParams): Promise<ChatResult>;
|
|
56
53
|
/** Streaming chat completion — yields assistant text deltas as they arrive
|
|
57
54
|
* (parses the OpenAI SSE `data:` frames). */
|
|
58
|
-
declare function chatCompletionStream(params: ChatParams): AsyncGenerator<string,
|
|
59
|
-
receiptId?: string;
|
|
60
|
-
}, unknown>;
|
|
55
|
+
declare function chatCompletionStream(params: ChatParams): AsyncGenerator<string, void, unknown>;
|
|
61
56
|
/** List Private Inference model catalog (`GET /v1/models`). The key is sent when
|
|
62
57
|
* available but not required (the catalog may be public). */
|
|
63
58
|
declare function listModels(opts?: {
|
|
@@ -65,66 +60,6 @@ declare function listModels(opts?: {
|
|
|
65
60
|
apiBase?: string;
|
|
66
61
|
}): Promise<ApiModel[]>;
|
|
67
62
|
|
|
68
|
-
type CheckStatus = 'pass' | 'fail' | 'skip';
|
|
69
|
-
type TrustMode = 'trustless' | 'receipt-asserted' | 'roadmap';
|
|
70
|
-
interface VerifyCheck {
|
|
71
|
-
name: string;
|
|
72
|
-
status: CheckStatus;
|
|
73
|
-
detail: string;
|
|
74
|
-
trust: TrustMode;
|
|
75
|
-
}
|
|
76
|
-
interface VerifyAnchor {
|
|
77
|
-
txDigest: string;
|
|
78
|
-
anchoredAtMs?: string;
|
|
79
|
-
anchoredBy?: string;
|
|
80
|
-
explorer: string;
|
|
81
|
-
}
|
|
82
|
-
/** A typed TCB claim from the attested upstream (dstack ACI §tcb-and-claims). */
|
|
83
|
-
interface UpstreamClaim {
|
|
84
|
-
name: string;
|
|
85
|
-
status: string;
|
|
86
|
-
source?: string;
|
|
87
|
-
}
|
|
88
|
-
interface VerifyUpstream {
|
|
89
|
-
provider?: string;
|
|
90
|
-
modelId?: string;
|
|
91
|
-
result?: string;
|
|
92
|
-
tcbStatus?: string;
|
|
93
|
-
/** The attested-session id (`as_…`) — resolve at GET /v1/aci/sessions/{id}. */
|
|
94
|
-
sessionId?: string;
|
|
95
|
-
/** Typed TCB claims (tee_attested, tcb_up_to_date, gpu_attested, …). */
|
|
96
|
-
claims?: UpstreamClaim[];
|
|
97
|
-
}
|
|
98
|
-
interface VerifyResult {
|
|
99
|
-
receiptId: string;
|
|
100
|
-
/** True iff the receipt resolved AND its on-chain Sui anchor matches. */
|
|
101
|
-
verified: boolean;
|
|
102
|
-
/** The trustless core: an on-chain ReceiptAnchored event matches the receipt. */
|
|
103
|
-
anchorVerified: boolean;
|
|
104
|
-
checks: VerifyCheck[];
|
|
105
|
-
wireHash?: string;
|
|
106
|
-
workloadId?: string;
|
|
107
|
-
upstream?: VerifyUpstream;
|
|
108
|
-
anchor?: VerifyAnchor;
|
|
109
|
-
}
|
|
110
|
-
interface VerifyOptions {
|
|
111
|
-
/** Override the API base (default `api.audric.ai/v1`). */
|
|
112
|
-
apiBase?: string;
|
|
113
|
-
/** Sui network for the trustless anchor read (default `mainnet`). */
|
|
114
|
-
network?: 'mainnet' | 'testnet';
|
|
115
|
-
/** Confidential model id for fetching the attested receipt-signing key
|
|
116
|
-
* (default `phala/glm-5.2`; the gateway key is workload-wide). */
|
|
117
|
-
model?: string;
|
|
118
|
-
/** Skip the local DCAP quote verification (the slower, network-bound check). */
|
|
119
|
-
skipQuote?: boolean;
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Verify a confidential response by its receipt id. Reads the signed receipt
|
|
123
|
-
* (public), its on-chain Sui anchor (trustless), and reports a per-check result
|
|
124
|
-
* that FAILS CLOSED on any forgery or mismatch.
|
|
125
|
-
*/
|
|
126
|
-
declare function verifyReceipt(receiptId: string, opts?: VerifyOptions): Promise<VerifyResult>;
|
|
127
|
-
|
|
128
63
|
interface LimitsConfig {
|
|
129
64
|
/** Caps any single outbound write (send | swap | pay) by USD value. */
|
|
130
65
|
perTxUsd?: number;
|
|
@@ -285,19 +220,13 @@ declare class T2000 extends EventEmitter<T2000Events> {
|
|
|
285
220
|
pay(options: PayOptions): Promise<PayResult>;
|
|
286
221
|
/** Non-streaming chat completion against Private Inference. */
|
|
287
222
|
chat(params: ChatParams): Promise<ChatResult>;
|
|
288
|
-
/** Streaming chat completion — async-iterate the assistant text deltas
|
|
289
|
-
|
|
290
|
-
chatStream(params: ChatParams): AsyncGenerator<string, {
|
|
291
|
-
receiptId?: string;
|
|
292
|
-
}, unknown>;
|
|
223
|
+
/** Streaming chat completion — async-iterate the assistant text deltas. */
|
|
224
|
+
chatStream(params: ChatParams): AsyncGenerator<string, void, unknown>;
|
|
293
225
|
/** The Private Inference model catalog (`GET /v1/models`). */
|
|
294
226
|
models(opts?: {
|
|
295
227
|
apiKey?: string;
|
|
296
228
|
apiBase?: string;
|
|
297
229
|
}): Promise<ApiModel[]>;
|
|
298
|
-
/** Verify a confidential response by receipt id — checks the signed receipt
|
|
299
|
-
* + its trustless on-chain Sui anchor. Fails closed on any mismatch. */
|
|
300
|
-
verify(receiptId: string, opts?: VerifyOptions): Promise<VerifyResult>;
|
|
301
230
|
swap(params: {
|
|
302
231
|
from: string;
|
|
303
232
|
to: string;
|
|
@@ -611,7 +540,12 @@ declare function setSponsoredTxGuard(guard: SponsoredTxGuard | null): void;
|
|
|
611
540
|
interface OpenJobRow {
|
|
612
541
|
id: string;
|
|
613
542
|
title: string | null;
|
|
614
|
-
|
|
543
|
+
/** The full task — DETAIL-ROUTE ONLY (S.1156): present on `getOpenJob`,
|
|
544
|
+
* absent on `listOpenJobs` rows (the board stays bounded). */
|
|
545
|
+
brief?: string | null;
|
|
546
|
+
/** One bounded line of the brief (≤140 chars) on BOARD rows — a gist for
|
|
547
|
+
* picking which opening to read, never the task itself. */
|
|
548
|
+
briefPreview?: string | null;
|
|
615
549
|
maxUsdc: number;
|
|
616
550
|
slaMinutes: number;
|
|
617
551
|
status: 'open' | 'claimed' | 'cancelled' | 'refunded' | 'expired';
|
|
@@ -639,9 +573,24 @@ interface OpenJobFilter {
|
|
|
639
573
|
query?: string;
|
|
640
574
|
buyer?: string;
|
|
641
575
|
limit?: number;
|
|
576
|
+
/** Page start (0-based) — feed a page's `nextOffset` back in. */
|
|
577
|
+
offset?: number;
|
|
578
|
+
}
|
|
579
|
+
/** One page of the board (S.1156) — HONEST about the rest: `total` counts
|
|
580
|
+
* every matching opening, `returned` the rows in this page, `truncated` +
|
|
581
|
+
* `nextOffset` say how to page. One page is never the whole board. */
|
|
582
|
+
interface OpenJobsPage {
|
|
583
|
+
total: number;
|
|
584
|
+
returned: number;
|
|
585
|
+
truncated: boolean;
|
|
586
|
+
nextOffset?: number;
|
|
587
|
+
openJobs: OpenJobRow[];
|
|
642
588
|
}
|
|
643
|
-
/** Browse the Open board (GET /v1/open-jobs — public, no key needed).
|
|
644
|
-
|
|
589
|
+
/** Browse the Open board (GET /v1/open-jobs — public, no key needed).
|
|
590
|
+
* Returns the page envelope, not a bare list — read `truncated` before
|
|
591
|
+
* treating the rows as the whole board. A degraded body (no counts)
|
|
592
|
+
* normalizes to `total = returned`, never an invented total. */
|
|
593
|
+
declare function listOpenJobs(base: string, filter?: OpenJobFilter): Promise<OpenJobsPage>;
|
|
645
594
|
/** Fetch one opening by id (0x… object id; legacy UUIDs still resolve
|
|
646
595
|
* during the Phase 2 drain window). */
|
|
647
596
|
declare function getOpenJob(base: string, id: string): Promise<OpenJobRow>;
|
|
@@ -1223,4 +1172,4 @@ declare function fullHandle(label: string, parentName?: string): string;
|
|
|
1223
1172
|
*/
|
|
1224
1173
|
declare function displayHandle(label: string, parentName?: string): string;
|
|
1225
1174
|
|
|
1226
|
-
export { AUDRIC_PARENT, AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type ApiModel, type AppenderContext, BalanceResponse, type BuildAddLeafParams, type BuildRevokeLeafParams, type ChatMessage, type ChatParams, type ChatResult, type ChatUsage, type
|
|
1175
|
+
export { AUDRIC_PARENT, AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type ApiModel, type AppenderContext, BalanceResponse, type BuildAddLeafParams, type BuildRevokeLeafParams, type ChatMessage, type ChatParams, type ChatResult, type ChatUsage, type ComposeTxOptions, type ComposeTxResult, DEFAULT_API_BASE, type DailySpend, DepositInfo, ESCROW_JOB_TYPE_MARKER, InvalidAddressError, type LabelValidationResult, type LimitAssertInput, LimitEnforcer, LimitExceededError, type LimitKind, type LimitOperation, type LimitsConfig, type LimitsFile, type NormalizedAddress, OPENING_TYPE_MARKER, type OpenJobFilter, type OpenJobRow, type OpenJobsPage, OverlayFeeConfig, PayOptions, PayResult, PaymentRequest, SPONSORED_PYTH_DEPENDENT_PROVIDERS, SUINS_NAME_REGEX, SUI_ADDRESS_REGEX, SUI_ADDRESS_STRICT_REGEX, SendResult, type SendTransferInput, SendableAsset, SerializedCetusRoute, type SponsoredTxGuard, type StepPreview, SuinsNotRegisteredError, type SuinsParent, SuinsRpcError, SupportedAsset, type SwapExecuteInput, SwapQuoteResult, SwapResult, SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, WRITE_APPENDER_REGISTRY, type WriteStep, type WriteToolName, X402Probe, ZkLoginProof, approxUsdValue, assertLimitConfig, buildAddLeafTx, buildRevokeLeafTx, cancelOpenJob, canonicalizeRecipientInput, chatCompletion, chatCompletionStream, claimOpenJob, clearLimits, composeTx, customHireEnvelope, dailySpentToday, deriveAllowedAddressesFromPtb, displayHandle, exportPrivateKey, fullHandle, generateKeypair, getAddress, getLimits, getOpenJob, getSponsoredSwapProviders, getSwapQuote, hasLimits, isCustomHireEnvelope, keypairFromPrivateKey, listModels, listOpenJobs, loadKey, looksLikeSuiNs, normalizeAddressInput, postOpenJob, queryBalance, readLimitsFile, recordDailySpend, refundOpenJob, resolveAddressToSuinsViaRpc, resolveCreatedObjectId, resolveSuinsViaRpc, saveBech32, saveKey, setLimits, setSponsoredTxGuard, submitJobReview, validateLabel, walletExists, writeLimitsFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -33,9 +33,6 @@ interface ChatResult {
|
|
|
33
33
|
content: string;
|
|
34
34
|
model: string;
|
|
35
35
|
usage?: ChatUsage;
|
|
36
|
-
/** Confidential calls (`phala/*`) return a TEE attestation receipt id —
|
|
37
|
-
* fetch + verify it at `/v1/aci/receipts/{id}`. Absent for ZDR models. */
|
|
38
|
-
receiptId?: string;
|
|
39
36
|
/** The verbatim OpenAI-shaped response body. */
|
|
40
37
|
raw: unknown;
|
|
41
38
|
}
|
|
@@ -55,9 +52,7 @@ interface ApiModel {
|
|
|
55
52
|
declare function chatCompletion(params: ChatParams): Promise<ChatResult>;
|
|
56
53
|
/** Streaming chat completion — yields assistant text deltas as they arrive
|
|
57
54
|
* (parses the OpenAI SSE `data:` frames). */
|
|
58
|
-
declare function chatCompletionStream(params: ChatParams): AsyncGenerator<string,
|
|
59
|
-
receiptId?: string;
|
|
60
|
-
}, unknown>;
|
|
55
|
+
declare function chatCompletionStream(params: ChatParams): AsyncGenerator<string, void, unknown>;
|
|
61
56
|
/** List Private Inference model catalog (`GET /v1/models`). The key is sent when
|
|
62
57
|
* available but not required (the catalog may be public). */
|
|
63
58
|
declare function listModels(opts?: {
|
|
@@ -65,66 +60,6 @@ declare function listModels(opts?: {
|
|
|
65
60
|
apiBase?: string;
|
|
66
61
|
}): Promise<ApiModel[]>;
|
|
67
62
|
|
|
68
|
-
type CheckStatus = 'pass' | 'fail' | 'skip';
|
|
69
|
-
type TrustMode = 'trustless' | 'receipt-asserted' | 'roadmap';
|
|
70
|
-
interface VerifyCheck {
|
|
71
|
-
name: string;
|
|
72
|
-
status: CheckStatus;
|
|
73
|
-
detail: string;
|
|
74
|
-
trust: TrustMode;
|
|
75
|
-
}
|
|
76
|
-
interface VerifyAnchor {
|
|
77
|
-
txDigest: string;
|
|
78
|
-
anchoredAtMs?: string;
|
|
79
|
-
anchoredBy?: string;
|
|
80
|
-
explorer: string;
|
|
81
|
-
}
|
|
82
|
-
/** A typed TCB claim from the attested upstream (dstack ACI §tcb-and-claims). */
|
|
83
|
-
interface UpstreamClaim {
|
|
84
|
-
name: string;
|
|
85
|
-
status: string;
|
|
86
|
-
source?: string;
|
|
87
|
-
}
|
|
88
|
-
interface VerifyUpstream {
|
|
89
|
-
provider?: string;
|
|
90
|
-
modelId?: string;
|
|
91
|
-
result?: string;
|
|
92
|
-
tcbStatus?: string;
|
|
93
|
-
/** The attested-session id (`as_…`) — resolve at GET /v1/aci/sessions/{id}. */
|
|
94
|
-
sessionId?: string;
|
|
95
|
-
/** Typed TCB claims (tee_attested, tcb_up_to_date, gpu_attested, …). */
|
|
96
|
-
claims?: UpstreamClaim[];
|
|
97
|
-
}
|
|
98
|
-
interface VerifyResult {
|
|
99
|
-
receiptId: string;
|
|
100
|
-
/** True iff the receipt resolved AND its on-chain Sui anchor matches. */
|
|
101
|
-
verified: boolean;
|
|
102
|
-
/** The trustless core: an on-chain ReceiptAnchored event matches the receipt. */
|
|
103
|
-
anchorVerified: boolean;
|
|
104
|
-
checks: VerifyCheck[];
|
|
105
|
-
wireHash?: string;
|
|
106
|
-
workloadId?: string;
|
|
107
|
-
upstream?: VerifyUpstream;
|
|
108
|
-
anchor?: VerifyAnchor;
|
|
109
|
-
}
|
|
110
|
-
interface VerifyOptions {
|
|
111
|
-
/** Override the API base (default `api.audric.ai/v1`). */
|
|
112
|
-
apiBase?: string;
|
|
113
|
-
/** Sui network for the trustless anchor read (default `mainnet`). */
|
|
114
|
-
network?: 'mainnet' | 'testnet';
|
|
115
|
-
/** Confidential model id for fetching the attested receipt-signing key
|
|
116
|
-
* (default `phala/glm-5.2`; the gateway key is workload-wide). */
|
|
117
|
-
model?: string;
|
|
118
|
-
/** Skip the local DCAP quote verification (the slower, network-bound check). */
|
|
119
|
-
skipQuote?: boolean;
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Verify a confidential response by its receipt id. Reads the signed receipt
|
|
123
|
-
* (public), its on-chain Sui anchor (trustless), and reports a per-check result
|
|
124
|
-
* that FAILS CLOSED on any forgery or mismatch.
|
|
125
|
-
*/
|
|
126
|
-
declare function verifyReceipt(receiptId: string, opts?: VerifyOptions): Promise<VerifyResult>;
|
|
127
|
-
|
|
128
63
|
interface LimitsConfig {
|
|
129
64
|
/** Caps any single outbound write (send | swap | pay) by USD value. */
|
|
130
65
|
perTxUsd?: number;
|
|
@@ -285,19 +220,13 @@ declare class T2000 extends EventEmitter<T2000Events> {
|
|
|
285
220
|
pay(options: PayOptions): Promise<PayResult>;
|
|
286
221
|
/** Non-streaming chat completion against Private Inference. */
|
|
287
222
|
chat(params: ChatParams): Promise<ChatResult>;
|
|
288
|
-
/** Streaming chat completion — async-iterate the assistant text deltas
|
|
289
|
-
|
|
290
|
-
chatStream(params: ChatParams): AsyncGenerator<string, {
|
|
291
|
-
receiptId?: string;
|
|
292
|
-
}, unknown>;
|
|
223
|
+
/** Streaming chat completion — async-iterate the assistant text deltas. */
|
|
224
|
+
chatStream(params: ChatParams): AsyncGenerator<string, void, unknown>;
|
|
293
225
|
/** The Private Inference model catalog (`GET /v1/models`). */
|
|
294
226
|
models(opts?: {
|
|
295
227
|
apiKey?: string;
|
|
296
228
|
apiBase?: string;
|
|
297
229
|
}): Promise<ApiModel[]>;
|
|
298
|
-
/** Verify a confidential response by receipt id — checks the signed receipt
|
|
299
|
-
* + its trustless on-chain Sui anchor. Fails closed on any mismatch. */
|
|
300
|
-
verify(receiptId: string, opts?: VerifyOptions): Promise<VerifyResult>;
|
|
301
230
|
swap(params: {
|
|
302
231
|
from: string;
|
|
303
232
|
to: string;
|
|
@@ -611,7 +540,12 @@ declare function setSponsoredTxGuard(guard: SponsoredTxGuard | null): void;
|
|
|
611
540
|
interface OpenJobRow {
|
|
612
541
|
id: string;
|
|
613
542
|
title: string | null;
|
|
614
|
-
|
|
543
|
+
/** The full task — DETAIL-ROUTE ONLY (S.1156): present on `getOpenJob`,
|
|
544
|
+
* absent on `listOpenJobs` rows (the board stays bounded). */
|
|
545
|
+
brief?: string | null;
|
|
546
|
+
/** One bounded line of the brief (≤140 chars) on BOARD rows — a gist for
|
|
547
|
+
* picking which opening to read, never the task itself. */
|
|
548
|
+
briefPreview?: string | null;
|
|
615
549
|
maxUsdc: number;
|
|
616
550
|
slaMinutes: number;
|
|
617
551
|
status: 'open' | 'claimed' | 'cancelled' | 'refunded' | 'expired';
|
|
@@ -639,9 +573,24 @@ interface OpenJobFilter {
|
|
|
639
573
|
query?: string;
|
|
640
574
|
buyer?: string;
|
|
641
575
|
limit?: number;
|
|
576
|
+
/** Page start (0-based) — feed a page's `nextOffset` back in. */
|
|
577
|
+
offset?: number;
|
|
578
|
+
}
|
|
579
|
+
/** One page of the board (S.1156) — HONEST about the rest: `total` counts
|
|
580
|
+
* every matching opening, `returned` the rows in this page, `truncated` +
|
|
581
|
+
* `nextOffset` say how to page. One page is never the whole board. */
|
|
582
|
+
interface OpenJobsPage {
|
|
583
|
+
total: number;
|
|
584
|
+
returned: number;
|
|
585
|
+
truncated: boolean;
|
|
586
|
+
nextOffset?: number;
|
|
587
|
+
openJobs: OpenJobRow[];
|
|
642
588
|
}
|
|
643
|
-
/** Browse the Open board (GET /v1/open-jobs — public, no key needed).
|
|
644
|
-
|
|
589
|
+
/** Browse the Open board (GET /v1/open-jobs — public, no key needed).
|
|
590
|
+
* Returns the page envelope, not a bare list — read `truncated` before
|
|
591
|
+
* treating the rows as the whole board. A degraded body (no counts)
|
|
592
|
+
* normalizes to `total = returned`, never an invented total. */
|
|
593
|
+
declare function listOpenJobs(base: string, filter?: OpenJobFilter): Promise<OpenJobsPage>;
|
|
645
594
|
/** Fetch one opening by id (0x… object id; legacy UUIDs still resolve
|
|
646
595
|
* during the Phase 2 drain window). */
|
|
647
596
|
declare function getOpenJob(base: string, id: string): Promise<OpenJobRow>;
|
|
@@ -1223,4 +1172,4 @@ declare function fullHandle(label: string, parentName?: string): string;
|
|
|
1223
1172
|
*/
|
|
1224
1173
|
declare function displayHandle(label: string, parentName?: string): string;
|
|
1225
1174
|
|
|
1226
|
-
export { AUDRIC_PARENT, AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type ApiModel, type AppenderContext, BalanceResponse, type BuildAddLeafParams, type BuildRevokeLeafParams, type ChatMessage, type ChatParams, type ChatResult, type ChatUsage, type
|
|
1175
|
+
export { AUDRIC_PARENT, AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type ApiModel, type AppenderContext, BalanceResponse, type BuildAddLeafParams, type BuildRevokeLeafParams, type ChatMessage, type ChatParams, type ChatResult, type ChatUsage, type ComposeTxOptions, type ComposeTxResult, DEFAULT_API_BASE, type DailySpend, DepositInfo, ESCROW_JOB_TYPE_MARKER, InvalidAddressError, type LabelValidationResult, type LimitAssertInput, LimitEnforcer, LimitExceededError, type LimitKind, type LimitOperation, type LimitsConfig, type LimitsFile, type NormalizedAddress, OPENING_TYPE_MARKER, type OpenJobFilter, type OpenJobRow, type OpenJobsPage, OverlayFeeConfig, PayOptions, PayResult, PaymentRequest, SPONSORED_PYTH_DEPENDENT_PROVIDERS, SUINS_NAME_REGEX, SUI_ADDRESS_REGEX, SUI_ADDRESS_STRICT_REGEX, SendResult, type SendTransferInput, SendableAsset, SerializedCetusRoute, type SponsoredTxGuard, type StepPreview, SuinsNotRegisteredError, type SuinsParent, SuinsRpcError, SupportedAsset, type SwapExecuteInput, SwapQuoteResult, SwapResult, SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, WRITE_APPENDER_REGISTRY, type WriteStep, type WriteToolName, X402Probe, ZkLoginProof, approxUsdValue, assertLimitConfig, buildAddLeafTx, buildRevokeLeafTx, cancelOpenJob, canonicalizeRecipientInput, chatCompletion, chatCompletionStream, claimOpenJob, clearLimits, composeTx, customHireEnvelope, dailySpentToday, deriveAllowedAddressesFromPtb, displayHandle, exportPrivateKey, fullHandle, generateKeypair, getAddress, getLimits, getOpenJob, getSponsoredSwapProviders, getSwapQuote, hasLimits, isCustomHireEnvelope, keypairFromPrivateKey, listModels, listOpenJobs, loadKey, looksLikeSuiNs, normalizeAddressInput, postOpenJob, queryBalance, readLimitsFile, recordDailySpend, refundOpenJob, resolveAddressToSuinsViaRpc, resolveCreatedObjectId, resolveSuinsViaRpc, saveBech32, saveKey, setLimits, setSponsoredTxGuard, submitJobReview, validateLabel, walletExists, writeLimitsFile };
|