@pulseai/sdk 0.1.0 → 0.1.2

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/index.d.ts CHANGED
@@ -9,11 +9,14 @@ type PulseAddresses = {
9
9
  identityRegistry: Address;
10
10
  reputationRegistry: Address;
11
11
  usdm: Address;
12
+ buyerRelay?: Address;
12
13
  };
13
14
  /** Full Pulse contract addresses on MegaETH Testnet. */
14
15
  declare const TESTNET_ADDRESSES: PulseAddresses;
15
- /** Full Pulse contract addresses on MegaETH Mainnet (partial placeholders). */
16
+ /** Full Pulse contract addresses on MegaETH Mainnet. */
16
17
  declare const MAINNET_ADDRESSES: PulseAddresses;
18
+ /** Platform buyer agent ID on MegaETH Mainnet (owned by BuyerRelay). */
19
+ declare const PLATFORM_BUYER_AGENT_ID = 8154n;
17
20
  /** Default indexer URLs by network. */
18
21
  declare const DEFAULT_INDEXER_URLS: {
19
22
  readonly testnet: "https://pulse-indexer.up.railway.app";
@@ -171,8 +174,12 @@ declare function createJob(client: PulseClient, params: CreateJobParams): Promis
171
174
  * Accept a job as provider: generate EIP-712 signature + call acceptJob.
172
175
  */
173
176
  declare function acceptJob(client: PulseClient, jobId: bigint, warrenTermsHash: Hex): Promise<Hash>;
174
- /** Submit a deliverable hash for an in-progress job. */
175
- declare function submitDeliverable(client: PulseClient, jobId: bigint, deliverableHash: Hex): Promise<Hash>;
177
+ /** Submit a deliverable hash for an in-progress job.
178
+ * Optionally store the deliverable content in the indexer. */
179
+ declare function submitDeliverable(client: PulseClient, jobId: bigint, deliverableHash: Hex, options?: {
180
+ content?: string;
181
+ indexerUrl?: string;
182
+ }): Promise<Hash>;
176
183
  /** Evaluate a delivered job. */
177
184
  declare function evaluate(client: PulseClient, jobId: bigint, approved: boolean, feedback: string): Promise<Hash>;
178
185
  /** Settle an evaluated (or auto-approved) job. */
@@ -183,6 +190,10 @@ declare function cancelJob(client: PulseClient, jobId: bigint): Promise<Hash>;
183
190
  declare function getJob(client: PulseClient, jobId: bigint): Promise<Job>;
184
191
  /** Get the total number of jobs. */
185
192
  declare function getJobCount(client: PulseClient): Promise<bigint>;
193
+ /** Reject a delivered job (raises dispute). */
194
+ declare function rejectJob(client: PulseClient, jobId: bigint, feedback: string): Promise<Hash>;
195
+ /** Resolve a dispute (owner only). */
196
+ declare function resolveDispute(client: PulseClient, jobId: bigint, favorBuyer: boolean): Promise<Hash>;
186
197
 
187
198
  /** Deploy raw content to a SSTORE2 Page contract. */
188
199
  declare function deployWarrenPage(client: PulseClient, content: string): Promise<{
@@ -318,6 +329,7 @@ type JobContext = {
318
329
  priceUsdm: string;
319
330
  slaMinutes: number;
320
331
  requirements?: Record<string, unknown>;
332
+ abortSignal?: AbortSignal;
321
333
  };
322
334
  type ExecuteJobResult = {
323
335
  type: 'inline' | 'url';
@@ -336,6 +348,28 @@ interface OfferingHandler {
336
348
  executeJob(context: JobContext): Promise<ExecuteJobResult>;
337
349
  }
338
350
 
351
+ type SiteModifierConfig = {
352
+ defaultProvider?: 'anthropic' | 'google' | 'openai';
353
+ defaultModel?: string;
354
+ maxTokens?: number;
355
+ systemPrompt?: string;
356
+ indexerUrl: string;
357
+ getApiKey: (provider: string) => Promise<string | null>;
358
+ allowedDomains?: string[];
359
+ };
360
+ declare class SiteModifierHandler implements OfferingHandler {
361
+ readonly offeringId: number;
362
+ readonly autoAccept?: boolean;
363
+ private readonly config;
364
+ constructor(offeringId: number, config: SiteModifierConfig, options?: {
365
+ autoAccept?: boolean;
366
+ });
367
+ validateRequirements(context: JobContext): Promise<ValidationResult>;
368
+ executeJob(context: JobContext): Promise<ExecuteJobResult>;
369
+ private parseRequirements;
370
+ private fetchHtmlWithTimeout;
371
+ }
372
+
339
373
  /**
340
374
  * EIP-712 type definition matching MemoLib.sol MEMO_TYPEHASH:
341
375
  * "Memo(uint256 jobId,address signer,bytes32 contentHash,uint64 timestamp,uint256 nonce)"
@@ -495,6 +529,28 @@ declare const megaethMainnet: {
495
529
  verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
496
530
  };
497
531
 
532
+ type AIProvider = 'anthropic' | 'google' | 'openai';
533
+ type AIMessage = {
534
+ role: 'system' | 'user' | 'assistant';
535
+ content: string;
536
+ };
537
+ type CallAIParams = {
538
+ provider: AIProvider;
539
+ model: string;
540
+ apiKey: string;
541
+ messages: AIMessage[];
542
+ maxTokens?: number;
543
+ signal?: AbortSignal;
544
+ };
545
+ type CallAIResult = {
546
+ content: string;
547
+ truncated: boolean;
548
+ raw: unknown;
549
+ };
550
+ type AICallOptions = CallAIParams;
551
+ type AICallResult = CallAIResult;
552
+ declare function callAI(params: CallAIParams): Promise<CallAIResult>;
553
+
498
554
  type IndexerClientOptions = {
499
555
  baseUrl: string;
500
556
  timeoutMs?: number;
@@ -577,6 +633,11 @@ declare class IndexerClient {
577
633
  getAgent(agentId: number): Promise<IndexerAgent>;
578
634
  registerWarrenLink(jobId: number, linkType: string, masterAddress: string, contentHash: string): Promise<void>;
579
635
  getWarrenLinks(jobId: number): Promise<IndexerWarrenLinks>;
636
+ postDeliverable(jobId: number, content: string, contentHash: string, storageType?: string): Promise<void>;
637
+ getDeliverable(jobId: number): Promise<{
638
+ content: string;
639
+ storageType: string;
640
+ } | null>;
580
641
  private request;
581
642
  private requestJson;
582
643
  private parseResponse;
@@ -646,6 +707,7 @@ declare class BuyerRuntime {
646
707
  type HandlerProviderRuntimeOptions = {
647
708
  pollInterval?: number;
648
709
  indexerUrl: string;
710
+ executionTimeoutMs?: number;
649
711
  };
650
712
  declare class HandlerProviderRuntime {
651
713
  private client;
@@ -654,8 +716,11 @@ declare class HandlerProviderRuntime {
654
716
  private indexer;
655
717
  private indexerUrl;
656
718
  private pollInterval;
719
+ private executionTimeoutMs;
657
720
  private running;
658
721
  private processedJobs;
722
+ private failedJobs;
723
+ private readonly maxRetries;
659
724
  private onError?;
660
725
  constructor(client: PulseClient, agentId: bigint, options: HandlerProviderRuntimeOptions);
661
726
  registerHandler(handler: OfferingHandler): void;
@@ -665,6 +730,11 @@ declare class HandlerProviderRuntime {
665
730
  private poll;
666
731
  private checkNewJobs;
667
732
  private checkInProgressJobs;
733
+ private checkEvaluatedJobs;
734
+ private canProcess;
735
+ private markProcessed;
736
+ private markFailed;
737
+ private getRemainingSlaMs;
668
738
  }
669
739
 
670
740
  declare const pulseExtensionAbi: readonly [{
@@ -2967,6 +3037,407 @@ declare const erc20Abi: readonly [{
2967
3037
  readonly stateMutability: "nonpayable";
2968
3038
  }];
2969
3039
 
3040
+ declare const buyerRelayAbi: readonly [{
3041
+ readonly type: "constructor";
3042
+ readonly inputs: readonly [{
3043
+ readonly name: "owner_";
3044
+ readonly type: "address";
3045
+ readonly internalType: "address";
3046
+ }, {
3047
+ readonly name: "identityRegistry_";
3048
+ readonly type: "address";
3049
+ readonly internalType: "address";
3050
+ }, {
3051
+ readonly name: "pulseExtension_";
3052
+ readonly type: "address";
3053
+ readonly internalType: "address";
3054
+ }, {
3055
+ readonly name: "jobEngine_";
3056
+ readonly type: "address";
3057
+ readonly internalType: "address";
3058
+ }, {
3059
+ readonly name: "serviceMarketplace_";
3060
+ readonly type: "address";
3061
+ readonly internalType: "address";
3062
+ }, {
3063
+ readonly name: "usdm_";
3064
+ readonly type: "address";
3065
+ readonly internalType: "address";
3066
+ }];
3067
+ readonly stateMutability: "nonpayable";
3068
+ }, {
3069
+ readonly type: "function";
3070
+ readonly name: "buyerAgentId";
3071
+ readonly inputs: readonly [];
3072
+ readonly outputs: readonly [{
3073
+ readonly name: "";
3074
+ readonly type: "uint256";
3075
+ readonly internalType: "uint256";
3076
+ }];
3077
+ readonly stateMutability: "view";
3078
+ }, {
3079
+ readonly type: "function";
3080
+ readonly name: "cancelFor";
3081
+ readonly inputs: readonly [{
3082
+ readonly name: "jobId";
3083
+ readonly type: "uint256";
3084
+ readonly internalType: "uint256";
3085
+ }];
3086
+ readonly outputs: readonly [];
3087
+ readonly stateMutability: "nonpayable";
3088
+ }, {
3089
+ readonly type: "function";
3090
+ readonly name: "claimRefund";
3091
+ readonly inputs: readonly [{
3092
+ readonly name: "jobId";
3093
+ readonly type: "uint256";
3094
+ readonly internalType: "uint256";
3095
+ }];
3096
+ readonly outputs: readonly [];
3097
+ readonly stateMutability: "nonpayable";
3098
+ }, {
3099
+ readonly type: "function";
3100
+ readonly name: "createJobFor";
3101
+ readonly inputs: readonly [{
3102
+ readonly name: "offeringId";
3103
+ readonly type: "uint256";
3104
+ readonly internalType: "uint256";
3105
+ }, {
3106
+ readonly name: "termsHash";
3107
+ readonly type: "bytes32";
3108
+ readonly internalType: "bytes32";
3109
+ }, {
3110
+ readonly name: "maxPrice";
3111
+ readonly type: "uint256";
3112
+ readonly internalType: "uint256";
3113
+ }];
3114
+ readonly outputs: readonly [{
3115
+ readonly name: "jobId";
3116
+ readonly type: "uint256";
3117
+ readonly internalType: "uint256";
3118
+ }];
3119
+ readonly stateMutability: "nonpayable";
3120
+ }, {
3121
+ readonly type: "function";
3122
+ readonly name: "evaluateFor";
3123
+ readonly inputs: readonly [{
3124
+ readonly name: "jobId";
3125
+ readonly type: "uint256";
3126
+ readonly internalType: "uint256";
3127
+ }, {
3128
+ readonly name: "approved";
3129
+ readonly type: "bool";
3130
+ readonly internalType: "bool";
3131
+ }, {
3132
+ readonly name: "feedback";
3133
+ readonly type: "string";
3134
+ readonly internalType: "string";
3135
+ }];
3136
+ readonly outputs: readonly [];
3137
+ readonly stateMutability: "nonpayable";
3138
+ }, {
3139
+ readonly type: "function";
3140
+ readonly name: "identityRegistry";
3141
+ readonly inputs: readonly [];
3142
+ readonly outputs: readonly [{
3143
+ readonly name: "";
3144
+ readonly type: "address";
3145
+ readonly internalType: "contract IERC8004Identity";
3146
+ }];
3147
+ readonly stateMutability: "view";
3148
+ }, {
3149
+ readonly type: "function";
3150
+ readonly name: "jobDeposit";
3151
+ readonly inputs: readonly [{
3152
+ readonly name: "";
3153
+ readonly type: "uint256";
3154
+ readonly internalType: "uint256";
3155
+ }];
3156
+ readonly outputs: readonly [{
3157
+ readonly name: "";
3158
+ readonly type: "uint256";
3159
+ readonly internalType: "uint256";
3160
+ }];
3161
+ readonly stateMutability: "view";
3162
+ }, {
3163
+ readonly type: "function";
3164
+ readonly name: "jobEngine";
3165
+ readonly inputs: readonly [];
3166
+ readonly outputs: readonly [{
3167
+ readonly name: "";
3168
+ readonly type: "address";
3169
+ readonly internalType: "contract IJobEngine";
3170
+ }];
3171
+ readonly stateMutability: "view";
3172
+ }, {
3173
+ readonly type: "function";
3174
+ readonly name: "jobPayer";
3175
+ readonly inputs: readonly [{
3176
+ readonly name: "";
3177
+ readonly type: "uint256";
3178
+ readonly internalType: "uint256";
3179
+ }];
3180
+ readonly outputs: readonly [{
3181
+ readonly name: "";
3182
+ readonly type: "address";
3183
+ readonly internalType: "address";
3184
+ }];
3185
+ readonly stateMutability: "view";
3186
+ }, {
3187
+ readonly type: "function";
3188
+ readonly name: "jobRefundState";
3189
+ readonly inputs: readonly [{
3190
+ readonly name: "";
3191
+ readonly type: "uint256";
3192
+ readonly internalType: "uint256";
3193
+ }];
3194
+ readonly outputs: readonly [{
3195
+ readonly name: "";
3196
+ readonly type: "uint8";
3197
+ readonly internalType: "enum IBuyerRelay.RefundState";
3198
+ }];
3199
+ readonly stateMutability: "view";
3200
+ }, {
3201
+ readonly type: "function";
3202
+ readonly name: "onERC721Received";
3203
+ readonly inputs: readonly [{
3204
+ readonly name: "";
3205
+ readonly type: "address";
3206
+ readonly internalType: "address";
3207
+ }, {
3208
+ readonly name: "";
3209
+ readonly type: "address";
3210
+ readonly internalType: "address";
3211
+ }, {
3212
+ readonly name: "";
3213
+ readonly type: "uint256";
3214
+ readonly internalType: "uint256";
3215
+ }, {
3216
+ readonly name: "";
3217
+ readonly type: "bytes";
3218
+ readonly internalType: "bytes";
3219
+ }];
3220
+ readonly outputs: readonly [{
3221
+ readonly name: "";
3222
+ readonly type: "bytes4";
3223
+ readonly internalType: "bytes4";
3224
+ }];
3225
+ readonly stateMutability: "pure";
3226
+ }, {
3227
+ readonly type: "function";
3228
+ readonly name: "owner";
3229
+ readonly inputs: readonly [];
3230
+ readonly outputs: readonly [{
3231
+ readonly name: "";
3232
+ readonly type: "address";
3233
+ readonly internalType: "address";
3234
+ }];
3235
+ readonly stateMutability: "view";
3236
+ }, {
3237
+ readonly type: "function";
3238
+ readonly name: "pulseExtension";
3239
+ readonly inputs: readonly [];
3240
+ readonly outputs: readonly [{
3241
+ readonly name: "";
3242
+ readonly type: "address";
3243
+ readonly internalType: "contract IPulseExtension";
3244
+ }];
3245
+ readonly stateMutability: "view";
3246
+ }, {
3247
+ readonly type: "function";
3248
+ readonly name: "renounceOwnership";
3249
+ readonly inputs: readonly [];
3250
+ readonly outputs: readonly [];
3251
+ readonly stateMutability: "nonpayable";
3252
+ }, {
3253
+ readonly type: "function";
3254
+ readonly name: "serviceMarketplace";
3255
+ readonly inputs: readonly [];
3256
+ readonly outputs: readonly [{
3257
+ readonly name: "";
3258
+ readonly type: "address";
3259
+ readonly internalType: "contract IServiceMarketplace";
3260
+ }];
3261
+ readonly stateMutability: "view";
3262
+ }, {
3263
+ readonly type: "function";
3264
+ readonly name: "setup";
3265
+ readonly inputs: readonly [{
3266
+ readonly name: "agentURI";
3267
+ readonly type: "string";
3268
+ readonly internalType: "string";
3269
+ }];
3270
+ readonly outputs: readonly [];
3271
+ readonly stateMutability: "nonpayable";
3272
+ }, {
3273
+ readonly type: "function";
3274
+ readonly name: "transferOwnership";
3275
+ readonly inputs: readonly [{
3276
+ readonly name: "newOwner";
3277
+ readonly type: "address";
3278
+ readonly internalType: "address";
3279
+ }];
3280
+ readonly outputs: readonly [];
3281
+ readonly stateMutability: "nonpayable";
3282
+ }, {
3283
+ readonly type: "function";
3284
+ readonly name: "usdm";
3285
+ readonly inputs: readonly [];
3286
+ readonly outputs: readonly [{
3287
+ readonly name: "";
3288
+ readonly type: "address";
3289
+ readonly internalType: "address";
3290
+ }];
3291
+ readonly stateMutability: "view";
3292
+ }, {
3293
+ readonly type: "event";
3294
+ readonly name: "EvaluatedFor";
3295
+ readonly inputs: readonly [{
3296
+ readonly name: "jobId";
3297
+ readonly type: "uint256";
3298
+ readonly indexed: true;
3299
+ readonly internalType: "uint256";
3300
+ }, {
3301
+ readonly name: "payer";
3302
+ readonly type: "address";
3303
+ readonly indexed: true;
3304
+ readonly internalType: "address";
3305
+ }, {
3306
+ readonly name: "approved";
3307
+ readonly type: "bool";
3308
+ readonly indexed: false;
3309
+ readonly internalType: "bool";
3310
+ }];
3311
+ readonly anonymous: false;
3312
+ }, {
3313
+ readonly type: "event";
3314
+ readonly name: "JobCreatedFor";
3315
+ readonly inputs: readonly [{
3316
+ readonly name: "jobId";
3317
+ readonly type: "uint256";
3318
+ readonly indexed: true;
3319
+ readonly internalType: "uint256";
3320
+ }, {
3321
+ readonly name: "payer";
3322
+ readonly type: "address";
3323
+ readonly indexed: true;
3324
+ readonly internalType: "address";
3325
+ }, {
3326
+ readonly name: "price";
3327
+ readonly type: "uint256";
3328
+ readonly indexed: false;
3329
+ readonly internalType: "uint256";
3330
+ }];
3331
+ readonly anonymous: false;
3332
+ }, {
3333
+ readonly type: "event";
3334
+ readonly name: "OwnershipTransferred";
3335
+ readonly inputs: readonly [{
3336
+ readonly name: "previousOwner";
3337
+ readonly type: "address";
3338
+ readonly indexed: true;
3339
+ readonly internalType: "address";
3340
+ }, {
3341
+ readonly name: "newOwner";
3342
+ readonly type: "address";
3343
+ readonly indexed: true;
3344
+ readonly internalType: "address";
3345
+ }];
3346
+ readonly anonymous: false;
3347
+ }, {
3348
+ readonly type: "event";
3349
+ readonly name: "RefundClaimed";
3350
+ readonly inputs: readonly [{
3351
+ readonly name: "jobId";
3352
+ readonly type: "uint256";
3353
+ readonly indexed: true;
3354
+ readonly internalType: "uint256";
3355
+ }, {
3356
+ readonly name: "payer";
3357
+ readonly type: "address";
3358
+ readonly indexed: true;
3359
+ readonly internalType: "address";
3360
+ }, {
3361
+ readonly name: "amount";
3362
+ readonly type: "uint256";
3363
+ readonly indexed: false;
3364
+ readonly internalType: "uint256";
3365
+ }];
3366
+ readonly anonymous: false;
3367
+ }, {
3368
+ readonly type: "error";
3369
+ readonly name: "AgentAlreadyInitialized";
3370
+ readonly inputs: readonly [];
3371
+ }, {
3372
+ readonly type: "error";
3373
+ readonly name: "AgentNotActive";
3374
+ readonly inputs: readonly [];
3375
+ }, {
3376
+ readonly type: "error";
3377
+ readonly name: "InsufficientPayment";
3378
+ readonly inputs: readonly [{
3379
+ readonly name: "required";
3380
+ readonly type: "uint256";
3381
+ readonly internalType: "uint256";
3382
+ }, {
3383
+ readonly name: "provided";
3384
+ readonly type: "uint256";
3385
+ readonly internalType: "uint256";
3386
+ }];
3387
+ }, {
3388
+ readonly type: "error";
3389
+ readonly name: "InvalidJobStatus";
3390
+ readonly inputs: readonly [{
3391
+ readonly name: "current";
3392
+ readonly type: "uint8";
3393
+ readonly internalType: "enum DataTypes.JobStatus";
3394
+ }, {
3395
+ readonly name: "expected";
3396
+ readonly type: "uint8";
3397
+ readonly internalType: "enum DataTypes.JobStatus";
3398
+ }];
3399
+ }, {
3400
+ readonly type: "error";
3401
+ readonly name: "InvalidRefundState";
3402
+ readonly inputs: readonly [{
3403
+ readonly name: "current";
3404
+ readonly type: "uint8";
3405
+ readonly internalType: "enum IBuyerRelay.RefundState";
3406
+ }, {
3407
+ readonly name: "expected";
3408
+ readonly type: "uint8";
3409
+ readonly internalType: "enum IBuyerRelay.RefundState";
3410
+ }];
3411
+ }, {
3412
+ readonly type: "error";
3413
+ readonly name: "OnlyBuyer";
3414
+ readonly inputs: readonly [];
3415
+ }, {
3416
+ readonly type: "error";
3417
+ readonly name: "OwnableInvalidOwner";
3418
+ readonly inputs: readonly [{
3419
+ readonly name: "owner";
3420
+ readonly type: "address";
3421
+ readonly internalType: "address";
3422
+ }];
3423
+ }, {
3424
+ readonly type: "error";
3425
+ readonly name: "OwnableUnauthorizedAccount";
3426
+ readonly inputs: readonly [{
3427
+ readonly name: "account";
3428
+ readonly type: "address";
3429
+ readonly internalType: "address";
3430
+ }];
3431
+ }, {
3432
+ readonly type: "error";
3433
+ readonly name: "Reentrancy";
3434
+ readonly inputs: readonly [];
3435
+ }, {
3436
+ readonly type: "error";
3437
+ readonly name: "ZeroAddress";
3438
+ readonly inputs: readonly [];
3439
+ }];
3440
+
2970
3441
  declare const pageAbi: readonly [{
2971
3442
  readonly type: "constructor";
2972
3443
  readonly inputs: readonly [{
@@ -3158,4 +3629,4 @@ declare const masterAbi: readonly [{
3158
3629
  readonly anonymous: false;
3159
3630
  }];
3160
3631
 
3161
- export { ACCEPT_TIMEOUT, type AgentCardParams, BPS_DENOMINATOR, type BuyerCallbacks, BuyerRuntime, type BuyerRuntimeOptions, type CreateJobParams, type CreatePresetPulseClientOptions, type CreatePulseClientOptions, DEFAULT_INDEXER_URLS, type DeliverableData, type DeliverableParams, EVALUATION_TIMEOUT, type ExecuteJobResult, FEE_BPS, HandlerProviderRuntime, type HandlerProviderRuntimeOptions, type IndexerAgent, IndexerClient, IndexerClientError, type IndexerClientOptions, type IndexerJob, type IndexerJobsFilter, type IndexerOffering, type IndexerOfferingsFilter, type IndexerWarrenLink, type IndexerWarrenLinks, type Job, type JobContext, type JobOffering, JobStatus, type JobTermsParams, type ListOfferingParams, MAINNET_ADDRESSES, MEMO_TYPES, type OfferingHandler, PULSE_DOMAIN, type PresetPulseClient, type ProviderCallbacks, ProviderRuntime, type ProviderRuntimeOptions, type PulseAddresses, type PulseAgentData, type PulseClient, RISK_POOL_BPS, type RequirementsData, type RequirementsParams, ServiceType, type SignMemoParams, TESTNET_ADDRESSES, TREASURY_BPS, USDM_MAINNET, type ValidationResult, acceptJob, activateOffering, cancelJob, createAgentCard, createDeliverable, createJob, createJobTerms, createMainnetClient, createPulseClient, createRequirements, createTestnetClient, deactivateOffering, deployAgentCard, deployDeliverable, deployJobTerms, deployRequirements, deployWarrenMaster, deployWarrenPage, erc20Abi, erc8004IdentityAbi, erc8004ReputationAbi, evaluate, feeDistributorAbi, formatUsdm, getAgent, getJob, getJobCount, getOffering, getOfferingCount, initAgent, jobEngineAbi, listOffering, mainnetERC8004, masterAbi, megaethMainnet, megaethTestnet, pageAbi, parseUsdm, pulseExtensionAbi, readDeliverable, readRequirements, readWarrenMaster, readWarrenPage, registerAgent, serviceMarketplaceAbi, setOperator, setWarrenContract, settle, signMemo, submitDeliverable, testnetERC8004, updateOffering, verifyContentHash };
3632
+ export { ACCEPT_TIMEOUT, type AICallOptions, type AICallResult, type AIMessage, type AIProvider, type AgentCardParams, BPS_DENOMINATOR, type BuyerCallbacks, BuyerRuntime, type BuyerRuntimeOptions, type CreateJobParams, type CreatePresetPulseClientOptions, type CreatePulseClientOptions, DEFAULT_INDEXER_URLS, type DeliverableData, type DeliverableParams, EVALUATION_TIMEOUT, type ExecuteJobResult, FEE_BPS, HandlerProviderRuntime, type HandlerProviderRuntimeOptions, type IndexerAgent, IndexerClient, IndexerClientError, type IndexerClientOptions, type IndexerJob, type IndexerJobsFilter, type IndexerOffering, type IndexerOfferingsFilter, type IndexerWarrenLink, type IndexerWarrenLinks, type Job, type JobContext, type JobOffering, JobStatus, type JobTermsParams, type ListOfferingParams, MAINNET_ADDRESSES, MEMO_TYPES, type OfferingHandler, PLATFORM_BUYER_AGENT_ID, PULSE_DOMAIN, type PresetPulseClient, type ProviderCallbacks, ProviderRuntime, type ProviderRuntimeOptions, type PulseAddresses, type PulseAgentData, type PulseClient, RISK_POOL_BPS, type RequirementsData, type RequirementsParams, ServiceType, type SignMemoParams, type SiteModifierConfig, SiteModifierHandler, TESTNET_ADDRESSES, TREASURY_BPS, USDM_MAINNET, type ValidationResult, acceptJob, activateOffering, buyerRelayAbi, callAI, cancelJob, createAgentCard, createDeliverable, createJob, createJobTerms, createMainnetClient, createPulseClient, createRequirements, createTestnetClient, deactivateOffering, deployAgentCard, deployDeliverable, deployJobTerms, deployRequirements, deployWarrenMaster, deployWarrenPage, erc20Abi, erc8004IdentityAbi, erc8004ReputationAbi, evaluate, feeDistributorAbi, formatUsdm, getAgent, getJob, getJobCount, getOffering, getOfferingCount, initAgent, jobEngineAbi, listOffering, mainnetERC8004, masterAbi, megaethMainnet, megaethTestnet, pageAbi, parseUsdm, pulseExtensionAbi, readDeliverable, readRequirements, readWarrenMaster, readWarrenPage, registerAgent, rejectJob, resolveDispute, serviceMarketplaceAbi, setOperator, setWarrenContract, settle, signMemo, submitDeliverable, testnetERC8004, updateOffering, verifyContentHash };