@pulseai/sdk 0.1.1 → 0.1.3

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
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";
@@ -318,6 +321,32 @@ declare function createRequirements(params: RequirementsParams): {
318
321
  hash: Hex;
319
322
  };
320
323
 
324
+ type JsonSchema = {
325
+ type: 'object';
326
+ properties: Record<string, {
327
+ type: 'string' | 'number' | 'boolean' | 'object' | 'array';
328
+ description?: string;
329
+ enum?: unknown[];
330
+ items?: {
331
+ type: string;
332
+ };
333
+ }>;
334
+ required?: string[];
335
+ };
336
+ /** Pulse offering schema document (JSON Schema-based). */
337
+ type OfferingSchema = {
338
+ version: number;
339
+ serviceRequirements: JsonSchema;
340
+ deliverableRequirements: JsonSchema;
341
+ };
342
+ /** Default schemas by service type (Custom/5 intentionally omitted). */
343
+ declare const DEFAULT_SCHEMAS: Record<number, OfferingSchema>;
344
+ /** Validate runtime data against a compact JSON Schema object definition. */
345
+ declare function validateAgainstSchema(data: Record<string, unknown> | undefined, schema: JsonSchema): {
346
+ valid: boolean;
347
+ reason?: string;
348
+ };
349
+
321
350
  type JobContext = {
322
351
  jobId: bigint;
323
352
  offeringId: bigint;
@@ -333,6 +362,11 @@ type ExecuteJobResult = {
333
362
  content?: string;
334
363
  url?: string;
335
364
  mimeType?: string;
365
+ usage?: {
366
+ provider: string;
367
+ inputTokens: number;
368
+ outputTokens: number;
369
+ };
336
370
  };
337
371
  type ValidationResult = {
338
372
  valid: boolean;
@@ -341,6 +375,7 @@ type ValidationResult = {
341
375
  interface OfferingHandler {
342
376
  offeringId: number;
343
377
  autoAccept?: boolean;
378
+ schema?: OfferingSchema;
344
379
  validateRequirements?(context: JobContext): Promise<ValidationResult>;
345
380
  executeJob(context: JobContext): Promise<ExecuteJobResult>;
346
381
  }
@@ -357,6 +392,7 @@ type SiteModifierConfig = {
357
392
  declare class SiteModifierHandler implements OfferingHandler {
358
393
  readonly offeringId: number;
359
394
  readonly autoAccept?: boolean;
395
+ readonly schema: OfferingSchema;
360
396
  private readonly config;
361
397
  constructor(offeringId: number, config: SiteModifierConfig, options?: {
362
398
  autoAccept?: boolean;
@@ -539,9 +575,15 @@ type CallAIParams = {
539
575
  maxTokens?: number;
540
576
  signal?: AbortSignal;
541
577
  };
578
+ type AIUsage = {
579
+ inputTokens: number;
580
+ outputTokens: number;
581
+ };
542
582
  type CallAIResult = {
543
583
  content: string;
584
+ truncated: boolean;
544
585
  raw: unknown;
586
+ usage?: AIUsage;
545
587
  };
546
588
  type AICallOptions = CallAIParams;
547
589
  type AICallResult = CallAIResult;
@@ -584,6 +626,7 @@ interface IndexerOffering {
584
626
  priceUsdm: string;
585
627
  slaMinutes: number | null;
586
628
  description: string | null;
629
+ requirementsSchemaUri?: string;
587
630
  active: boolean;
588
631
  blockNumber: number | null;
589
632
  txHash: string | null;
@@ -716,6 +759,7 @@ declare class HandlerProviderRuntime {
716
759
  private running;
717
760
  private processedJobs;
718
761
  private failedJobs;
762
+ private schemaCache;
719
763
  private readonly maxRetries;
720
764
  private onError?;
721
765
  constructor(client: PulseClient, agentId: bigint, options: HandlerProviderRuntimeOptions);
@@ -726,9 +770,15 @@ declare class HandlerProviderRuntime {
726
770
  private poll;
727
771
  private checkNewJobs;
728
772
  private checkInProgressJobs;
773
+ private checkEvaluatedJobs;
729
774
  private canProcess;
730
775
  private markProcessed;
731
776
  private markFailed;
777
+ private validateSchemaRequirements;
778
+ private resolveOfferingSchemaFromUri;
779
+ private parseDataUriJson;
780
+ private isOfferingSchema;
781
+ private isJsonSchema;
732
782
  private getRemainingSlaMs;
733
783
  }
734
784
 
@@ -3032,6 +3082,407 @@ declare const erc20Abi: readonly [{
3032
3082
  readonly stateMutability: "nonpayable";
3033
3083
  }];
3034
3084
 
3085
+ declare const buyerRelayAbi: readonly [{
3086
+ readonly type: "constructor";
3087
+ readonly inputs: readonly [{
3088
+ readonly name: "owner_";
3089
+ readonly type: "address";
3090
+ readonly internalType: "address";
3091
+ }, {
3092
+ readonly name: "identityRegistry_";
3093
+ readonly type: "address";
3094
+ readonly internalType: "address";
3095
+ }, {
3096
+ readonly name: "pulseExtension_";
3097
+ readonly type: "address";
3098
+ readonly internalType: "address";
3099
+ }, {
3100
+ readonly name: "jobEngine_";
3101
+ readonly type: "address";
3102
+ readonly internalType: "address";
3103
+ }, {
3104
+ readonly name: "serviceMarketplace_";
3105
+ readonly type: "address";
3106
+ readonly internalType: "address";
3107
+ }, {
3108
+ readonly name: "usdm_";
3109
+ readonly type: "address";
3110
+ readonly internalType: "address";
3111
+ }];
3112
+ readonly stateMutability: "nonpayable";
3113
+ }, {
3114
+ readonly type: "function";
3115
+ readonly name: "buyerAgentId";
3116
+ readonly inputs: readonly [];
3117
+ readonly outputs: readonly [{
3118
+ readonly name: "";
3119
+ readonly type: "uint256";
3120
+ readonly internalType: "uint256";
3121
+ }];
3122
+ readonly stateMutability: "view";
3123
+ }, {
3124
+ readonly type: "function";
3125
+ readonly name: "cancelFor";
3126
+ readonly inputs: readonly [{
3127
+ readonly name: "jobId";
3128
+ readonly type: "uint256";
3129
+ readonly internalType: "uint256";
3130
+ }];
3131
+ readonly outputs: readonly [];
3132
+ readonly stateMutability: "nonpayable";
3133
+ }, {
3134
+ readonly type: "function";
3135
+ readonly name: "claimRefund";
3136
+ readonly inputs: readonly [{
3137
+ readonly name: "jobId";
3138
+ readonly type: "uint256";
3139
+ readonly internalType: "uint256";
3140
+ }];
3141
+ readonly outputs: readonly [];
3142
+ readonly stateMutability: "nonpayable";
3143
+ }, {
3144
+ readonly type: "function";
3145
+ readonly name: "createJobFor";
3146
+ readonly inputs: readonly [{
3147
+ readonly name: "offeringId";
3148
+ readonly type: "uint256";
3149
+ readonly internalType: "uint256";
3150
+ }, {
3151
+ readonly name: "termsHash";
3152
+ readonly type: "bytes32";
3153
+ readonly internalType: "bytes32";
3154
+ }, {
3155
+ readonly name: "maxPrice";
3156
+ readonly type: "uint256";
3157
+ readonly internalType: "uint256";
3158
+ }];
3159
+ readonly outputs: readonly [{
3160
+ readonly name: "jobId";
3161
+ readonly type: "uint256";
3162
+ readonly internalType: "uint256";
3163
+ }];
3164
+ readonly stateMutability: "nonpayable";
3165
+ }, {
3166
+ readonly type: "function";
3167
+ readonly name: "evaluateFor";
3168
+ readonly inputs: readonly [{
3169
+ readonly name: "jobId";
3170
+ readonly type: "uint256";
3171
+ readonly internalType: "uint256";
3172
+ }, {
3173
+ readonly name: "approved";
3174
+ readonly type: "bool";
3175
+ readonly internalType: "bool";
3176
+ }, {
3177
+ readonly name: "feedback";
3178
+ readonly type: "string";
3179
+ readonly internalType: "string";
3180
+ }];
3181
+ readonly outputs: readonly [];
3182
+ readonly stateMutability: "nonpayable";
3183
+ }, {
3184
+ readonly type: "function";
3185
+ readonly name: "identityRegistry";
3186
+ readonly inputs: readonly [];
3187
+ readonly outputs: readonly [{
3188
+ readonly name: "";
3189
+ readonly type: "address";
3190
+ readonly internalType: "contract IERC8004Identity";
3191
+ }];
3192
+ readonly stateMutability: "view";
3193
+ }, {
3194
+ readonly type: "function";
3195
+ readonly name: "jobDeposit";
3196
+ readonly inputs: readonly [{
3197
+ readonly name: "";
3198
+ readonly type: "uint256";
3199
+ readonly internalType: "uint256";
3200
+ }];
3201
+ readonly outputs: readonly [{
3202
+ readonly name: "";
3203
+ readonly type: "uint256";
3204
+ readonly internalType: "uint256";
3205
+ }];
3206
+ readonly stateMutability: "view";
3207
+ }, {
3208
+ readonly type: "function";
3209
+ readonly name: "jobEngine";
3210
+ readonly inputs: readonly [];
3211
+ readonly outputs: readonly [{
3212
+ readonly name: "";
3213
+ readonly type: "address";
3214
+ readonly internalType: "contract IJobEngine";
3215
+ }];
3216
+ readonly stateMutability: "view";
3217
+ }, {
3218
+ readonly type: "function";
3219
+ readonly name: "jobPayer";
3220
+ readonly inputs: readonly [{
3221
+ readonly name: "";
3222
+ readonly type: "uint256";
3223
+ readonly internalType: "uint256";
3224
+ }];
3225
+ readonly outputs: readonly [{
3226
+ readonly name: "";
3227
+ readonly type: "address";
3228
+ readonly internalType: "address";
3229
+ }];
3230
+ readonly stateMutability: "view";
3231
+ }, {
3232
+ readonly type: "function";
3233
+ readonly name: "jobRefundState";
3234
+ readonly inputs: readonly [{
3235
+ readonly name: "";
3236
+ readonly type: "uint256";
3237
+ readonly internalType: "uint256";
3238
+ }];
3239
+ readonly outputs: readonly [{
3240
+ readonly name: "";
3241
+ readonly type: "uint8";
3242
+ readonly internalType: "enum IBuyerRelay.RefundState";
3243
+ }];
3244
+ readonly stateMutability: "view";
3245
+ }, {
3246
+ readonly type: "function";
3247
+ readonly name: "onERC721Received";
3248
+ readonly inputs: readonly [{
3249
+ readonly name: "";
3250
+ readonly type: "address";
3251
+ readonly internalType: "address";
3252
+ }, {
3253
+ readonly name: "";
3254
+ readonly type: "address";
3255
+ readonly internalType: "address";
3256
+ }, {
3257
+ readonly name: "";
3258
+ readonly type: "uint256";
3259
+ readonly internalType: "uint256";
3260
+ }, {
3261
+ readonly name: "";
3262
+ readonly type: "bytes";
3263
+ readonly internalType: "bytes";
3264
+ }];
3265
+ readonly outputs: readonly [{
3266
+ readonly name: "";
3267
+ readonly type: "bytes4";
3268
+ readonly internalType: "bytes4";
3269
+ }];
3270
+ readonly stateMutability: "pure";
3271
+ }, {
3272
+ readonly type: "function";
3273
+ readonly name: "owner";
3274
+ readonly inputs: readonly [];
3275
+ readonly outputs: readonly [{
3276
+ readonly name: "";
3277
+ readonly type: "address";
3278
+ readonly internalType: "address";
3279
+ }];
3280
+ readonly stateMutability: "view";
3281
+ }, {
3282
+ readonly type: "function";
3283
+ readonly name: "pulseExtension";
3284
+ readonly inputs: readonly [];
3285
+ readonly outputs: readonly [{
3286
+ readonly name: "";
3287
+ readonly type: "address";
3288
+ readonly internalType: "contract IPulseExtension";
3289
+ }];
3290
+ readonly stateMutability: "view";
3291
+ }, {
3292
+ readonly type: "function";
3293
+ readonly name: "renounceOwnership";
3294
+ readonly inputs: readonly [];
3295
+ readonly outputs: readonly [];
3296
+ readonly stateMutability: "nonpayable";
3297
+ }, {
3298
+ readonly type: "function";
3299
+ readonly name: "serviceMarketplace";
3300
+ readonly inputs: readonly [];
3301
+ readonly outputs: readonly [{
3302
+ readonly name: "";
3303
+ readonly type: "address";
3304
+ readonly internalType: "contract IServiceMarketplace";
3305
+ }];
3306
+ readonly stateMutability: "view";
3307
+ }, {
3308
+ readonly type: "function";
3309
+ readonly name: "setup";
3310
+ readonly inputs: readonly [{
3311
+ readonly name: "agentURI";
3312
+ readonly type: "string";
3313
+ readonly internalType: "string";
3314
+ }];
3315
+ readonly outputs: readonly [];
3316
+ readonly stateMutability: "nonpayable";
3317
+ }, {
3318
+ readonly type: "function";
3319
+ readonly name: "transferOwnership";
3320
+ readonly inputs: readonly [{
3321
+ readonly name: "newOwner";
3322
+ readonly type: "address";
3323
+ readonly internalType: "address";
3324
+ }];
3325
+ readonly outputs: readonly [];
3326
+ readonly stateMutability: "nonpayable";
3327
+ }, {
3328
+ readonly type: "function";
3329
+ readonly name: "usdm";
3330
+ readonly inputs: readonly [];
3331
+ readonly outputs: readonly [{
3332
+ readonly name: "";
3333
+ readonly type: "address";
3334
+ readonly internalType: "address";
3335
+ }];
3336
+ readonly stateMutability: "view";
3337
+ }, {
3338
+ readonly type: "event";
3339
+ readonly name: "EvaluatedFor";
3340
+ readonly inputs: readonly [{
3341
+ readonly name: "jobId";
3342
+ readonly type: "uint256";
3343
+ readonly indexed: true;
3344
+ readonly internalType: "uint256";
3345
+ }, {
3346
+ readonly name: "payer";
3347
+ readonly type: "address";
3348
+ readonly indexed: true;
3349
+ readonly internalType: "address";
3350
+ }, {
3351
+ readonly name: "approved";
3352
+ readonly type: "bool";
3353
+ readonly indexed: false;
3354
+ readonly internalType: "bool";
3355
+ }];
3356
+ readonly anonymous: false;
3357
+ }, {
3358
+ readonly type: "event";
3359
+ readonly name: "JobCreatedFor";
3360
+ readonly inputs: readonly [{
3361
+ readonly name: "jobId";
3362
+ readonly type: "uint256";
3363
+ readonly indexed: true;
3364
+ readonly internalType: "uint256";
3365
+ }, {
3366
+ readonly name: "payer";
3367
+ readonly type: "address";
3368
+ readonly indexed: true;
3369
+ readonly internalType: "address";
3370
+ }, {
3371
+ readonly name: "price";
3372
+ readonly type: "uint256";
3373
+ readonly indexed: false;
3374
+ readonly internalType: "uint256";
3375
+ }];
3376
+ readonly anonymous: false;
3377
+ }, {
3378
+ readonly type: "event";
3379
+ readonly name: "OwnershipTransferred";
3380
+ readonly inputs: readonly [{
3381
+ readonly name: "previousOwner";
3382
+ readonly type: "address";
3383
+ readonly indexed: true;
3384
+ readonly internalType: "address";
3385
+ }, {
3386
+ readonly name: "newOwner";
3387
+ readonly type: "address";
3388
+ readonly indexed: true;
3389
+ readonly internalType: "address";
3390
+ }];
3391
+ readonly anonymous: false;
3392
+ }, {
3393
+ readonly type: "event";
3394
+ readonly name: "RefundClaimed";
3395
+ readonly inputs: readonly [{
3396
+ readonly name: "jobId";
3397
+ readonly type: "uint256";
3398
+ readonly indexed: true;
3399
+ readonly internalType: "uint256";
3400
+ }, {
3401
+ readonly name: "payer";
3402
+ readonly type: "address";
3403
+ readonly indexed: true;
3404
+ readonly internalType: "address";
3405
+ }, {
3406
+ readonly name: "amount";
3407
+ readonly type: "uint256";
3408
+ readonly indexed: false;
3409
+ readonly internalType: "uint256";
3410
+ }];
3411
+ readonly anonymous: false;
3412
+ }, {
3413
+ readonly type: "error";
3414
+ readonly name: "AgentAlreadyInitialized";
3415
+ readonly inputs: readonly [];
3416
+ }, {
3417
+ readonly type: "error";
3418
+ readonly name: "AgentNotActive";
3419
+ readonly inputs: readonly [];
3420
+ }, {
3421
+ readonly type: "error";
3422
+ readonly name: "InsufficientPayment";
3423
+ readonly inputs: readonly [{
3424
+ readonly name: "required";
3425
+ readonly type: "uint256";
3426
+ readonly internalType: "uint256";
3427
+ }, {
3428
+ readonly name: "provided";
3429
+ readonly type: "uint256";
3430
+ readonly internalType: "uint256";
3431
+ }];
3432
+ }, {
3433
+ readonly type: "error";
3434
+ readonly name: "InvalidJobStatus";
3435
+ readonly inputs: readonly [{
3436
+ readonly name: "current";
3437
+ readonly type: "uint8";
3438
+ readonly internalType: "enum DataTypes.JobStatus";
3439
+ }, {
3440
+ readonly name: "expected";
3441
+ readonly type: "uint8";
3442
+ readonly internalType: "enum DataTypes.JobStatus";
3443
+ }];
3444
+ }, {
3445
+ readonly type: "error";
3446
+ readonly name: "InvalidRefundState";
3447
+ readonly inputs: readonly [{
3448
+ readonly name: "current";
3449
+ readonly type: "uint8";
3450
+ readonly internalType: "enum IBuyerRelay.RefundState";
3451
+ }, {
3452
+ readonly name: "expected";
3453
+ readonly type: "uint8";
3454
+ readonly internalType: "enum IBuyerRelay.RefundState";
3455
+ }];
3456
+ }, {
3457
+ readonly type: "error";
3458
+ readonly name: "OnlyBuyer";
3459
+ readonly inputs: readonly [];
3460
+ }, {
3461
+ readonly type: "error";
3462
+ readonly name: "OwnableInvalidOwner";
3463
+ readonly inputs: readonly [{
3464
+ readonly name: "owner";
3465
+ readonly type: "address";
3466
+ readonly internalType: "address";
3467
+ }];
3468
+ }, {
3469
+ readonly type: "error";
3470
+ readonly name: "OwnableUnauthorizedAccount";
3471
+ readonly inputs: readonly [{
3472
+ readonly name: "account";
3473
+ readonly type: "address";
3474
+ readonly internalType: "address";
3475
+ }];
3476
+ }, {
3477
+ readonly type: "error";
3478
+ readonly name: "Reentrancy";
3479
+ readonly inputs: readonly [];
3480
+ }, {
3481
+ readonly type: "error";
3482
+ readonly name: "ZeroAddress";
3483
+ readonly inputs: readonly [];
3484
+ }];
3485
+
3035
3486
  declare const pageAbi: readonly [{
3036
3487
  readonly type: "constructor";
3037
3488
  readonly inputs: readonly [{
@@ -3223,4 +3674,4 @@ declare const masterAbi: readonly [{
3223
3674
  readonly anonymous: false;
3224
3675
  }];
3225
3676
 
3226
- 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, 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, 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 };
3677
+ export { ACCEPT_TIMEOUT, type AICallOptions, type AICallResult, type AIMessage, type AIProvider, type AIUsage, type AgentCardParams, BPS_DENOMINATOR, type BuyerCallbacks, BuyerRuntime, type BuyerRuntimeOptions, type CreateJobParams, type CreatePresetPulseClientOptions, type CreatePulseClientOptions, DEFAULT_INDEXER_URLS, DEFAULT_SCHEMAS, 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 JsonSchema, type ListOfferingParams, MAINNET_ADDRESSES, MEMO_TYPES, type OfferingHandler, type OfferingSchema, 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, validateAgainstSchema, verifyContentHash };