kontext-sdk 0.10.0 → 0.11.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/README.md +57 -265
- package/dist/index.d.mts +309 -2
- package/dist/index.d.ts +309 -2
- package/dist/index.js +721 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +719 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -452,6 +452,12 @@ interface KontextConfig {
|
|
|
452
452
|
* - 'both': pre-send screening + post-send full verify
|
|
453
453
|
*/
|
|
454
454
|
interceptorMode?: 'post-send' | 'pre-send' | 'both';
|
|
455
|
+
/**
|
|
456
|
+
* Wallet provider configuration. When provided, SDK initializes the
|
|
457
|
+
* corresponding wallet manager (Circle, Coinbase, or MetaMask) for
|
|
458
|
+
* compliance-wrapped wallet operations.
|
|
459
|
+
*/
|
|
460
|
+
walletProvider?: WalletProviderConfig;
|
|
455
461
|
}
|
|
456
462
|
/** Screening configuration for pluggable multi-provider sanctions screening */
|
|
457
463
|
interface ScreeningConfig {
|
|
@@ -500,6 +506,141 @@ interface WalletMonitoringConfig {
|
|
|
500
506
|
/** Polling interval in ms for HTTP transports (default: 12000) */
|
|
501
507
|
pollingIntervalMs?: number;
|
|
502
508
|
}
|
|
509
|
+
type WalletProviderType = 'none' | 'circle' | 'coinbase' | 'metamask';
|
|
510
|
+
type WalletProviderConfig = WalletProviderNone | WalletProviderCircle | WalletProviderCoinbase | WalletProviderMetaMask;
|
|
511
|
+
interface WalletProviderNone {
|
|
512
|
+
type: 'none';
|
|
513
|
+
}
|
|
514
|
+
interface WalletProviderCircle {
|
|
515
|
+
type: 'circle';
|
|
516
|
+
apiKeyEnvVar: string;
|
|
517
|
+
entitySecretEnvVar: string;
|
|
518
|
+
circleEnvironment: 'sandbox' | 'production';
|
|
519
|
+
walletSetName?: string;
|
|
520
|
+
secretsStorage: SecretsStorageConfig;
|
|
521
|
+
}
|
|
522
|
+
interface WalletProviderCoinbase {
|
|
523
|
+
type: 'coinbase';
|
|
524
|
+
apiKeyIdEnvVar: string;
|
|
525
|
+
apiKeySecretEnvVar: string;
|
|
526
|
+
walletSecretEnvVar: string;
|
|
527
|
+
cdpEnvironment: 'testnet' | 'mainnet';
|
|
528
|
+
secretsStorage: SecretsStorageConfig;
|
|
529
|
+
}
|
|
530
|
+
interface WalletProviderMetaMask {
|
|
531
|
+
type: 'metamask';
|
|
532
|
+
clientIdEnvVar: string;
|
|
533
|
+
authConnectionId: string;
|
|
534
|
+
web3AuthNetwork: 'sapphire_mainnet' | 'sapphire_devnet';
|
|
535
|
+
secretsStorage: SecretsStorageConfig;
|
|
536
|
+
}
|
|
537
|
+
type SecretsStorageConfig = {
|
|
538
|
+
type: 'dotenv';
|
|
539
|
+
path: string;
|
|
540
|
+
} | {
|
|
541
|
+
type: 'file';
|
|
542
|
+
path: string;
|
|
543
|
+
} | {
|
|
544
|
+
type: 'gcp-secret-manager';
|
|
545
|
+
project: string;
|
|
546
|
+
} | {
|
|
547
|
+
type: 'aws-secrets-manager';
|
|
548
|
+
region: string;
|
|
549
|
+
} | {
|
|
550
|
+
type: 'hashicorp-vault';
|
|
551
|
+
address: string;
|
|
552
|
+
};
|
|
553
|
+
interface CircleWalletConfig {
|
|
554
|
+
apiKey: string;
|
|
555
|
+
entitySecret: string;
|
|
556
|
+
baseUrl?: string;
|
|
557
|
+
}
|
|
558
|
+
interface CreateWalletSetInput {
|
|
559
|
+
name: string;
|
|
560
|
+
idempotencyKey?: string;
|
|
561
|
+
}
|
|
562
|
+
interface CircleWalletSet {
|
|
563
|
+
id: string;
|
|
564
|
+
name: string;
|
|
565
|
+
custodyType: string;
|
|
566
|
+
createDate: string;
|
|
567
|
+
updateDate: string;
|
|
568
|
+
}
|
|
569
|
+
interface CreateWalletInput {
|
|
570
|
+
walletSetId: string;
|
|
571
|
+
blockchains: Chain[];
|
|
572
|
+
count?: number;
|
|
573
|
+
accountType?: 'EOA' | 'SCA';
|
|
574
|
+
idempotencyKey?: string;
|
|
575
|
+
}
|
|
576
|
+
interface CircleWallet {
|
|
577
|
+
id: string;
|
|
578
|
+
state: string;
|
|
579
|
+
address: string;
|
|
580
|
+
blockchain: string;
|
|
581
|
+
walletSetId: string;
|
|
582
|
+
createDate: string;
|
|
583
|
+
}
|
|
584
|
+
interface CircleTransferInput {
|
|
585
|
+
walletId: string;
|
|
586
|
+
tokenAddress: string;
|
|
587
|
+
destinationAddress: string;
|
|
588
|
+
amount: string;
|
|
589
|
+
blockchain: Chain;
|
|
590
|
+
agentId?: string;
|
|
591
|
+
idempotencyKey?: string;
|
|
592
|
+
}
|
|
593
|
+
interface CircleTransferResult {
|
|
594
|
+
id: string;
|
|
595
|
+
state: string;
|
|
596
|
+
txHash?: string;
|
|
597
|
+
complianceResult?: VerifyResult;
|
|
598
|
+
}
|
|
599
|
+
interface CoinbaseWalletConfig {
|
|
600
|
+
apiKeyId: string;
|
|
601
|
+
apiKeySecret: string;
|
|
602
|
+
walletSecret: string;
|
|
603
|
+
}
|
|
604
|
+
interface CoinbaseAccount {
|
|
605
|
+
address: string;
|
|
606
|
+
name?: string;
|
|
607
|
+
network: string;
|
|
608
|
+
}
|
|
609
|
+
interface CoinbaseTransferInput {
|
|
610
|
+
fromAddress: string;
|
|
611
|
+
toAddress: string;
|
|
612
|
+
amount: string;
|
|
613
|
+
token: Token;
|
|
614
|
+
network: string;
|
|
615
|
+
agentId?: string;
|
|
616
|
+
}
|
|
617
|
+
interface CoinbaseTransferResult {
|
|
618
|
+
transactionHash: string;
|
|
619
|
+
status: string;
|
|
620
|
+
complianceResult?: VerifyResult;
|
|
621
|
+
}
|
|
622
|
+
interface MetaMaskWalletConfig {
|
|
623
|
+
clientId: string;
|
|
624
|
+
authConnectionId: string;
|
|
625
|
+
web3AuthNetwork: 'sapphire_mainnet' | 'sapphire_devnet';
|
|
626
|
+
}
|
|
627
|
+
interface MetaMaskAccount {
|
|
628
|
+
address: string;
|
|
629
|
+
publicKey: string;
|
|
630
|
+
}
|
|
631
|
+
interface MetaMaskTransferInput {
|
|
632
|
+
toAddress: string;
|
|
633
|
+
amount: string;
|
|
634
|
+
token: Token;
|
|
635
|
+
chain: Chain;
|
|
636
|
+
agentId?: string;
|
|
637
|
+
idToken: string;
|
|
638
|
+
}
|
|
639
|
+
interface MetaMaskTransferResult {
|
|
640
|
+
transactionHash: string;
|
|
641
|
+
status: string;
|
|
642
|
+
complianceResult?: VerifyResult;
|
|
643
|
+
}
|
|
503
644
|
/**
|
|
504
645
|
* Interface for metadata validation. Compatible with Zod schemas and any
|
|
505
646
|
* validator that implements a `parse` method.
|
|
@@ -2410,6 +2551,9 @@ declare class Kontext {
|
|
|
2410
2551
|
private behavioralFingerprinter;
|
|
2411
2552
|
private crossSessionLinker;
|
|
2412
2553
|
private confidenceScorer;
|
|
2554
|
+
private circleWalletManager;
|
|
2555
|
+
private coinbaseWalletManager;
|
|
2556
|
+
private metamaskWalletManager;
|
|
2413
2557
|
private constructor();
|
|
2414
2558
|
/**
|
|
2415
2559
|
* Initialize the Kontext SDK.
|
|
@@ -2474,6 +2618,12 @@ declare class Kontext {
|
|
|
2474
2618
|
private getCrossSessionLinker;
|
|
2475
2619
|
/** Lazy-init KYAConfidenceScorer on first use. */
|
|
2476
2620
|
private getConfidenceScorer;
|
|
2621
|
+
/** Lazy-init CircleWalletManager from config.walletProvider */
|
|
2622
|
+
private getCircleManager;
|
|
2623
|
+
/** Lazy-init CoinbaseWalletManager from config.walletProvider */
|
|
2624
|
+
private getCoinbaseManager;
|
|
2625
|
+
/** Lazy-init MetaMaskWalletManager from config.walletProvider */
|
|
2626
|
+
private getMetaMaskManager;
|
|
2477
2627
|
/**
|
|
2478
2628
|
* Log a generic agent action.
|
|
2479
2629
|
*
|
|
@@ -2929,6 +3079,25 @@ declare class Kontext {
|
|
|
2929
3079
|
* Get the underlying FeatureFlagManager (or null if not configured).
|
|
2930
3080
|
*/
|
|
2931
3081
|
getFeatureFlagManager(): FeatureFlagManager | null;
|
|
3082
|
+
/** Create a Circle wallet set. Enterprise plan required. */
|
|
3083
|
+
createCircleWalletSet(input: CreateWalletSetInput): Promise<CircleWalletSet>;
|
|
3084
|
+
/** Create Circle wallet(s) in a wallet set. Enterprise plan required. */
|
|
3085
|
+
createCircleWallet(input: CreateWalletInput): Promise<CircleWallet[]>;
|
|
3086
|
+
/** Transfer via Circle with auto-compliance. Enterprise plan required. */
|
|
3087
|
+
circleTransferWithCompliance(input: CircleTransferInput): Promise<CircleTransferResult>;
|
|
3088
|
+
/** Create a Coinbase CDP account. Enterprise plan required. */
|
|
3089
|
+
createCoinbaseAccount(opts?: {
|
|
3090
|
+
name?: string;
|
|
3091
|
+
network?: string;
|
|
3092
|
+
}): Promise<CoinbaseAccount>;
|
|
3093
|
+
/** List Coinbase CDP accounts. Enterprise plan required. */
|
|
3094
|
+
listCoinbaseAccounts(): Promise<CoinbaseAccount[]>;
|
|
3095
|
+
/** Transfer via Coinbase CDP with auto-compliance. Enterprise plan required. */
|
|
3096
|
+
coinbaseTransferWithCompliance(input: CoinbaseTransferInput): Promise<CoinbaseTransferResult>;
|
|
3097
|
+
/** Connect to MetaMask Embedded Wallet for a user. Enterprise plan required. */
|
|
3098
|
+
metamaskConnect(idToken: string): Promise<MetaMaskAccount>;
|
|
3099
|
+
/** Transfer via MetaMask with auto-compliance. Enterprise plan required. */
|
|
3100
|
+
metamaskTransferWithCompliance(input: MetaMaskTransferInput): Promise<MetaMaskTransferResult>;
|
|
2932
3101
|
/**
|
|
2933
3102
|
* Get the wallet monitor instance (or null if not configured).
|
|
2934
3103
|
* Used by the viem interceptor for dedup registration.
|
|
@@ -2941,7 +3110,7 @@ declare class Kontext {
|
|
|
2941
3110
|
}
|
|
2942
3111
|
|
|
2943
3112
|
/** Features gated by plan tier */
|
|
2944
|
-
type GatedFeature = 'advanced-anomaly-rules' | 'sar-ctr-reports' | 'webhooks' | 'ofac-screening' | 'csv-export' | 'multi-chain' | 'cftc-compliance' | 'circle-wallets' | 'circle-compliance' | 'gas-station' | 'cctp-transfers' | 'approval-policies' | 'unified-screening' | 'blocklist-manager' | 'kya-identity' | 'kya-behavioral';
|
|
3113
|
+
type GatedFeature = 'advanced-anomaly-rules' | 'sar-ctr-reports' | 'webhooks' | 'ofac-screening' | 'csv-export' | 'multi-chain' | 'cftc-compliance' | 'circle-wallets' | 'circle-compliance' | 'gas-station' | 'cctp-transfers' | 'approval-policies' | 'unified-screening' | 'blocklist-manager' | 'kya-identity' | 'kya-behavioral' | 'coinbase-wallets' | 'metamask-wallets';
|
|
2945
3114
|
/**
|
|
2946
3115
|
* Check if a feature is available on the given plan.
|
|
2947
3116
|
* Returns true if allowed, false if not.
|
|
@@ -4027,6 +4196,7 @@ interface KontextConfigFile {
|
|
|
4027
4196
|
ctrAmount?: string;
|
|
4028
4197
|
};
|
|
4029
4198
|
apiKey?: string;
|
|
4199
|
+
walletProvider?: WalletProviderConfig;
|
|
4030
4200
|
}
|
|
4031
4201
|
/**
|
|
4032
4202
|
* Discover and load kontext.config.json by walking up from startDir.
|
|
@@ -4034,4 +4204,141 @@ interface KontextConfigFile {
|
|
|
4034
4204
|
*/
|
|
4035
4205
|
declare function loadConfigFile(startDir?: string): KontextConfigFile | null;
|
|
4036
4206
|
|
|
4037
|
-
|
|
4207
|
+
/**
|
|
4208
|
+
* CircleWalletManager wraps Circle Programmable Wallets (developer-controlled)
|
|
4209
|
+
* with automatic compliance logging via Kontext.
|
|
4210
|
+
*
|
|
4211
|
+
* Enterprise plan-gated — plan checks enforced at the Kontext client level.
|
|
4212
|
+
*/
|
|
4213
|
+
declare class CircleWalletManager {
|
|
4214
|
+
private readonly apiKey;
|
|
4215
|
+
private readonly entitySecret;
|
|
4216
|
+
private readonly baseUrl;
|
|
4217
|
+
private kontext;
|
|
4218
|
+
constructor(config: CircleWalletConfig);
|
|
4219
|
+
/** Link to Kontext instance for auto-compliance logging */
|
|
4220
|
+
setKontext(kontext: any): void;
|
|
4221
|
+
/** Validate credentials by calling Circle's configuration endpoint */
|
|
4222
|
+
validateCredentials(): Promise<boolean>;
|
|
4223
|
+
/** Create a wallet set (container for wallets) */
|
|
4224
|
+
createWalletSet(input: CreateWalletSetInput): Promise<CircleWalletSet>;
|
|
4225
|
+
/** Create wallet(s) in a wallet set */
|
|
4226
|
+
createWallet(input: CreateWalletInput): Promise<CircleWallet[]>;
|
|
4227
|
+
/** List wallets, optionally filtered by wallet set */
|
|
4228
|
+
listWallets(walletSetId?: string): Promise<CircleWallet[]>;
|
|
4229
|
+
/** Get wallet token balances */
|
|
4230
|
+
getBalance(walletId: string): Promise<{
|
|
4231
|
+
token: string;
|
|
4232
|
+
amount: string;
|
|
4233
|
+
}[]>;
|
|
4234
|
+
/** Transfer with auto-compliance: runs verify() before/after transfer */
|
|
4235
|
+
transferWithCompliance(input: CircleTransferInput): Promise<CircleTransferResult>;
|
|
4236
|
+
private headers;
|
|
4237
|
+
private request;
|
|
4238
|
+
private mapChain;
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4241
|
+
/**
|
|
4242
|
+
* CoinbaseWalletManager wraps Coinbase Developer Platform (CDP) server wallets
|
|
4243
|
+
* with automatic compliance logging via Kontext.
|
|
4244
|
+
*
|
|
4245
|
+
* Enterprise plan-gated — plan checks enforced at the Kontext client level.
|
|
4246
|
+
*
|
|
4247
|
+
* Auth model:
|
|
4248
|
+
* - API requests: JWT Bearer token signed with apiKeySecret (Ed25519), 120s expiry
|
|
4249
|
+
* - Wallet operations: X-Wallet-Auth header (JWT signed with walletSecret, 60s expiry)
|
|
4250
|
+
*/
|
|
4251
|
+
declare class CoinbaseWalletManager {
|
|
4252
|
+
private readonly apiKeyId;
|
|
4253
|
+
private readonly apiKeySecret;
|
|
4254
|
+
private readonly walletSecret;
|
|
4255
|
+
private readonly baseUrl;
|
|
4256
|
+
private kontext;
|
|
4257
|
+
constructor(config: CoinbaseWalletConfig);
|
|
4258
|
+
/** Link to Kontext instance for auto-compliance logging */
|
|
4259
|
+
setKontext(kontext: any): void;
|
|
4260
|
+
/** Validate credentials by listing accounts */
|
|
4261
|
+
validateCredentials(): Promise<boolean>;
|
|
4262
|
+
/** Create an EVM account */
|
|
4263
|
+
createAccount(opts?: {
|
|
4264
|
+
name?: string;
|
|
4265
|
+
network?: string;
|
|
4266
|
+
}): Promise<CoinbaseAccount>;
|
|
4267
|
+
/** List accounts */
|
|
4268
|
+
listAccounts(): Promise<CoinbaseAccount[]>;
|
|
4269
|
+
/** Get token balances for an address */
|
|
4270
|
+
getBalances(address: string, network: string): Promise<{
|
|
4271
|
+
token: string;
|
|
4272
|
+
amount: string;
|
|
4273
|
+
}[]>;
|
|
4274
|
+
/** Transfer with auto-compliance: runs verify() before/after transfer */
|
|
4275
|
+
transferWithCompliance(input: CoinbaseTransferInput): Promise<CoinbaseTransferResult>;
|
|
4276
|
+
/**
|
|
4277
|
+
* Build auth headers. CDP uses JWT Bearer tokens:
|
|
4278
|
+
* - API auth: signed with apiKeySecret, apiKeyId as kid, 120s expiry
|
|
4279
|
+
* - Wallet auth: X-Wallet-Auth header signed with walletSecret, 60s expiry
|
|
4280
|
+
*
|
|
4281
|
+
* Note: Full Ed25519 JWT signing requires the jose or crypto module.
|
|
4282
|
+
* This implementation provides the header structure; production use
|
|
4283
|
+
* should integrate with @coinbase/cdp-sdk for proper JWT signing.
|
|
4284
|
+
*/
|
|
4285
|
+
private headers;
|
|
4286
|
+
/**
|
|
4287
|
+
* Build a minimal JWT structure. In production, this should use Ed25519
|
|
4288
|
+
* signing via the crypto module or jose library. Here we build the
|
|
4289
|
+
* structure that CDP expects.
|
|
4290
|
+
*/
|
|
4291
|
+
private buildJwt;
|
|
4292
|
+
private request;
|
|
4293
|
+
private mapNetwork;
|
|
4294
|
+
}
|
|
4295
|
+
|
|
4296
|
+
/**
|
|
4297
|
+
* MetaMaskWalletManager wraps MetaMask Embedded Wallets (via Web3Auth Node SDK)
|
|
4298
|
+
* with automatic compliance logging via Kontext.
|
|
4299
|
+
*
|
|
4300
|
+
* Enterprise plan-gated — plan checks enforced at the Kontext client level.
|
|
4301
|
+
*
|
|
4302
|
+
* Requirements:
|
|
4303
|
+
* - `@web3auth/node-sdk` must be installed as a peer dependency
|
|
4304
|
+
* - Stateless: each connect() call is independent (no session state)
|
|
4305
|
+
* - Infura RPC access is pre-integrated (no separate key needed)
|
|
4306
|
+
*/
|
|
4307
|
+
declare class MetaMaskWalletManager {
|
|
4308
|
+
private readonly clientId;
|
|
4309
|
+
private readonly authConnectionId;
|
|
4310
|
+
private readonly web3AuthNetwork;
|
|
4311
|
+
private kontext;
|
|
4312
|
+
constructor(config: MetaMaskWalletConfig);
|
|
4313
|
+
/** Link to Kontext instance for auto-compliance logging */
|
|
4314
|
+
setKontext(kontext: any): void;
|
|
4315
|
+
/**
|
|
4316
|
+
* Validate credentials by attempting to initialize Web3Auth.
|
|
4317
|
+
* Returns false if @web3auth/node-sdk is not installed.
|
|
4318
|
+
*/
|
|
4319
|
+
validateCredentials(): Promise<boolean>;
|
|
4320
|
+
/**
|
|
4321
|
+
* Connect and get account for a user.
|
|
4322
|
+
* Requires a JWT idToken for custom auth via authConnectionId.
|
|
4323
|
+
*/
|
|
4324
|
+
connect(idToken: string): Promise<MetaMaskAccount>;
|
|
4325
|
+
/**
|
|
4326
|
+
* Get the private key for an authenticated user.
|
|
4327
|
+
* Use with caution — only for signing transactions server-side.
|
|
4328
|
+
*/
|
|
4329
|
+
getPrivateKey(idToken: string): Promise<string>;
|
|
4330
|
+
/** Transfer with auto-compliance: runs verify() before/after transfer */
|
|
4331
|
+
transferWithCompliance(input: MetaMaskTransferInput): Promise<MetaMaskTransferResult>;
|
|
4332
|
+
/**
|
|
4333
|
+
* Dynamically import @web3auth/node-sdk. Returns null if not installed.
|
|
4334
|
+
*/
|
|
4335
|
+
private loadWeb3Auth;
|
|
4336
|
+
/**
|
|
4337
|
+
* Require @web3auth/node-sdk — throws if not installed.
|
|
4338
|
+
*/
|
|
4339
|
+
private requireWeb3Auth;
|
|
4340
|
+
private getAccounts;
|
|
4341
|
+
private requestPrivateKey;
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
export { type ActionLog, type AgentCard, type AgentData, type AgentIdentity, AgentIdentityRegistry, type AgentLink, type AgentSession, type AggregatedScreeningResult, type AnchorResult, type AnchorVerification, type AnomalyCallback, type AnomalyDetectionConfig, AnomalyDetector, type AnomalyEvent, type AnomalyRuleType, type AnomalySeverity, type AnomalyThresholds, type AttestationDecision, type AttestationPayload, type AttestationRequest, type AttestationResponse, type AttestationSignature, type BehavioralEmbedding, BehavioralFingerprinter, CHAIN_ID_MAP, CURRENCY_REQUIRED_LISTS, type Chain, ChainalysisFreeAPIProvider, ChainalysisOracleProvider, type CheckpointStatus, type CircleTransferInput, type CircleTransferResult, type CircleWallet, type CircleWalletConfig, CircleWalletManager, type CircleWalletSet, type ClusteringEvidence, type ClusteringHeuristic, type CoinbaseAccount, type CoinbaseTransferInput, type CoinbaseTransferResult, type CoinbaseWalletConfig, CoinbaseWalletManager, type ComplianceCertificate, type ComplianceCheckResult, type ComplianceReport, type ConfirmTaskInput, type ConsensusStrategy, ConsoleExporter, type CounterpartyAttestation, type CounterpartyConfig, type CreateCheckpointInput, type CreateSessionInput, type CreateTaskInput, type CreateWalletInput, type CreateWalletSetInput, CrossSessionLinker, type CrossSessionLinkerConfig, type DateRange, DigestChain, type DigestLink, type DigestVerification, type ERC8021Attribution, type ERC8021Config, type EntityStatus, type EntityType, type Environment, type EventExporter, type ExportFormat, type ExportOptions, type ExportResult, type ExporterResult, type FeatureFlag, type FeatureFlagConfig, FeatureFlagManager, FileStorage, type FinancialFeatures, type FlagPlanTargeting, type FlagScope, type FlagTargeting, type GatedFeature, type GenerateComplianceCertificateInput, type HumanAttestation, JsonFileExporter, type Jurisdiction, KONTEXT_BUILDER_CODE, type KYAConfidenceLevel, type KYAConfidenceScore, KYAConfidenceScorer, type KYAConfidenceScorerConfig, type KYAEnvelope, type KYAScoreComponent, type KYCProviderReference, type KYCStatus, Kontext, type KontextConfig, KontextError, KontextErrorCode, type KontextMode, type LimitEvent, type LinkSignal, type LinkStatus, type LogActionInput, type LogLevel, type LogReasoningInput, type LogTransactionInput, type MatchType, MemoryStorage, type MetaMaskAccount, type MetaMaskTransferInput, type MetaMaskTransferResult, type MetaMaskWalletConfig, MetaMaskWalletManager, type MetadataValidator, type NetworkFeatures, NoopExporter, OFACAddressProvider, OFACEntityProvider, type OnChainAnchorConfig, OnChainExporter, OpenSanctionsLocalProvider, OpenSanctionsProvider, type OperationalFeatures, PLAN_LIMITS, PaymentCompliance, type PlanConfig, PlanManager, type PlanTier, type PlanUsage, type PolicyConfig, type PrecisionTimestamp, type ProvenanceAction, type ProvenanceAttestor, type ProvenanceBundle, type ProvenanceBundleVerification, type ProvenanceCheckpoint, ProvenanceManager, type QueryType, type ReasoningEntry, type RegisterIdentityInput, type ReportOptions, type ReportType, type RiskFactor, STABLECOIN_CONTRACTS, type SanctionsCheckResult, type SanctionsList, ScreeningAggregator, type ScreeningAggregatorConfig, type ScreeningConfig, type ScreeningContext, type ScreeningMatch, type ScreeningProvider, type ScreeningResult, type SecretsStorageConfig, type SessionConstraints, type SessionStatus, type StorageAdapter, TOKEN_REQUIRED_LISTS, type Task, type TaskEvidence, type TaskStatus, type TemporalFeatures, type Token, type TransactionEvaluation, type TransactionRecord, type TrustFactor, type TrustScore, TrustScorer, UKOFSIProvider, type UpdateIdentityInput, UsdcCompliance, type UsdcComplianceCheck, type VerificationKey, type VerifyInput, type VerifyResult, ViemComplianceError, type ViemInstrumentationOptions, type WalletClientLike, type WalletCluster, WalletClusterer, type WalletClusteringConfig, type WalletMapping, WalletMonitor, type WalletMonitoringConfig, type WalletProviderCircle, type WalletProviderCoinbase, type WalletProviderConfig, type WalletProviderMetaMask, type WalletProviderNone, type WalletProviderType, anchorDigest, encodeERC8021Suffix, exchangeAttestation, fetchAgentCard, fetchTransactionAttribution, getAnchor, getRequiredLists, isBlockchainAddress, isCryptoTransaction, isFeatureAvailable, loadConfigFile, parseERC8021Suffix, providerSupportsQuery, requirePlan, verifyAnchor, verifyExportedChain, withKontextCompliance };
|