@hol-org/rb-client 0.1.181 → 0.1.183

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.cts CHANGED
@@ -283,6 +283,401 @@ declare enum AIAgentCapability {
283
283
  type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | {
284
284
  [key: string]: JsonValue$1;
285
285
  };
286
+ declare const chatTimelineEntrySchema: z.ZodObject<{
287
+ messageId: z.ZodString;
288
+ kind: z.ZodEnum<["user", "assistant", "system", "tool", "payment", "delivery", "error"]>;
289
+ content: z.ZodString;
290
+ timestamp: z.ZodString;
291
+ deliveryState: z.ZodOptional<z.ZodEnum<["draft", "queued", "persisted", "delivered", "streaming", "responded", "failed", "timeout", "cancelled"]>>;
292
+ errorCode: z.ZodOptional<z.ZodString>;
293
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>;
294
+ attachment: z.ZodOptional<z.ZodObject<{
295
+ supported: z.ZodBoolean;
296
+ status: z.ZodEnum<["unsupported", "available", "selected", "uploading", "scanning", "ready", "failed", "rejected"]>;
297
+ maxBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
298
+ acceptedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
299
+ reason: z.ZodOptional<z.ZodString>;
300
+ }, "strip", z.ZodTypeAny, {
301
+ reason?: string;
302
+ status?: "failed" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
303
+ supported?: boolean;
304
+ maxBytes?: number;
305
+ acceptedMimeTypes?: string[];
306
+ }, {
307
+ reason?: string;
308
+ status?: "failed" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
309
+ supported?: boolean;
310
+ maxBytes?: number;
311
+ acceptedMimeTypes?: string[];
312
+ }>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ metadata?: Record<string, JsonValue$1>;
315
+ timestamp?: string;
316
+ content?: string;
317
+ messageId?: string;
318
+ kind?: "error" | "user" | "system" | "tool" | "payment" | "delivery" | "assistant";
319
+ deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
320
+ errorCode?: string;
321
+ attachment?: {
322
+ reason?: string;
323
+ status?: "failed" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
324
+ supported?: boolean;
325
+ maxBytes?: number;
326
+ acceptedMimeTypes?: string[];
327
+ };
328
+ }, {
329
+ metadata?: Record<string, JsonValue$1>;
330
+ timestamp?: string;
331
+ content?: string;
332
+ messageId?: string;
333
+ kind?: "error" | "user" | "system" | "tool" | "payment" | "delivery" | "assistant";
334
+ deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
335
+ errorCode?: string;
336
+ attachment?: {
337
+ reason?: string;
338
+ status?: "failed" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
339
+ supported?: boolean;
340
+ maxBytes?: number;
341
+ acceptedMimeTypes?: string[];
342
+ };
343
+ }>;
344
+ declare const chatRouteSummarySchema: z.ZodObject<{
345
+ type: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
346
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
347
+ transport: z.ZodString;
348
+ endpoint: z.ZodOptional<z.ZodString>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
351
+ transport?: string;
352
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
353
+ endpoint?: string;
354
+ }, {
355
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
356
+ transport?: string;
357
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
358
+ endpoint?: string;
359
+ }>;
360
+ declare const chatPaymentStateSchema: z.ZodObject<{
361
+ required: z.ZodBoolean;
362
+ provider: z.ZodOptional<z.ZodEnum<["credits", "x402", "acp", "openrouter"]>>;
363
+ status: z.ZodEnum<["not_required", "preflight", "required", "approved", "paid", "failed"]>;
364
+ estimatedCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
365
+ estimatedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
368
+ required?: boolean;
369
+ provider?: "credits" | "openrouter" | "acp" | "x402";
370
+ estimatedCredits?: number;
371
+ estimatedUsd?: number;
372
+ }, {
373
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
374
+ required?: boolean;
375
+ provider?: "credits" | "openrouter" | "acp" | "x402";
376
+ estimatedCredits?: number;
377
+ estimatedUsd?: number;
378
+ }>;
379
+ declare const chatReadinessResponseSchema: z.ZodObject<{
380
+ status: z.ZodEnum<["responsive", "delivery_only", "degraded", "blocked", "unknown"]>;
381
+ routeType: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
382
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
383
+ transport: z.ZodString;
384
+ endpoint: z.ZodOptional<z.ZodString>;
385
+ checkedAt: z.ZodString;
386
+ cachedUntil: z.ZodString;
387
+ latencyMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
388
+ lastSuccessfulReplyAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
+ lastDeliveryConfirmationAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
+ lastFailureCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTH_REQUIRED", "CREDITS_REQUIRED", "PAYMENT_REQUIRED", "AGENT_UNRESPONSIVE", "ROUTE_UNAVAILABLE", "PROTOCOL_UNSUPPORTED", "BROKER_NOT_EXECUTABLE", "NETWORK_TIMEOUT", "STREAM_STALLED", "HISTORY_UNAVAILABLE", "ENCRYPTION_REQUIRED", "RATE_LIMITED", "VALIDATION_ERROR", "UNKNOWN_ERROR"]>>>;
391
+ supportsStreaming: z.ZodBoolean;
392
+ supportsHistory: z.ZodBoolean;
393
+ supportsEncryption: z.ZodBoolean;
394
+ supportsPayments: z.ZodBoolean;
395
+ supportsAttachments: z.ZodBoolean;
396
+ requiresAuth: z.ZodBoolean;
397
+ operatorActionRequired: z.ZodBoolean;
398
+ issue: z.ZodOptional<z.ZodObject<{
399
+ code: z.ZodString;
400
+ message: z.ZodString;
401
+ details: z.ZodOptional<z.ZodString>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ message?: string;
404
+ details?: string;
405
+ code?: string;
406
+ }, {
407
+ message?: string;
408
+ details?: string;
409
+ code?: string;
410
+ }>>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
413
+ transport?: string;
414
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
415
+ endpoint?: string;
416
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
417
+ checkedAt?: string;
418
+ cachedUntil?: string;
419
+ latencyMs?: number;
420
+ lastSuccessfulReplyAt?: string;
421
+ lastDeliveryConfirmationAt?: string;
422
+ lastFailureCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
423
+ supportsStreaming?: boolean;
424
+ supportsHistory?: boolean;
425
+ supportsEncryption?: boolean;
426
+ supportsPayments?: boolean;
427
+ supportsAttachments?: boolean;
428
+ requiresAuth?: boolean;
429
+ operatorActionRequired?: boolean;
430
+ issue?: {
431
+ message?: string;
432
+ details?: string;
433
+ code?: string;
434
+ };
435
+ }, {
436
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
437
+ transport?: string;
438
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
439
+ endpoint?: string;
440
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
441
+ checkedAt?: string;
442
+ cachedUntil?: string;
443
+ latencyMs?: number;
444
+ lastSuccessfulReplyAt?: string;
445
+ lastDeliveryConfirmationAt?: string;
446
+ lastFailureCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
447
+ supportsStreaming?: boolean;
448
+ supportsHistory?: boolean;
449
+ supportsEncryption?: boolean;
450
+ supportsPayments?: boolean;
451
+ supportsAttachments?: boolean;
452
+ requiresAuth?: boolean;
453
+ operatorActionRequired?: boolean;
454
+ issue?: {
455
+ message?: string;
456
+ details?: string;
457
+ code?: string;
458
+ };
459
+ }>;
460
+ declare const chatSessionResumeResponseSchema: z.ZodObject<{
461
+ sessionId: z.ZodString;
462
+ uaid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
463
+ agentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
464
+ route: z.ZodObject<{
465
+ type: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
466
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
467
+ transport: z.ZodString;
468
+ endpoint: z.ZodOptional<z.ZodString>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
471
+ transport?: string;
472
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
473
+ endpoint?: string;
474
+ }, {
475
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
476
+ transport?: string;
477
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
478
+ endpoint?: string;
479
+ }>;
480
+ transport: z.ZodString;
481
+ history: z.ZodArray<z.ZodObject<{
482
+ messageId: z.ZodString;
483
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
484
+ content: z.ZodString;
485
+ timestamp: z.ZodString;
486
+ cipherEnvelope: z.ZodOptional<z.ZodObject<{
487
+ algorithm: z.ZodString;
488
+ ciphertext: z.ZodString;
489
+ nonce: z.ZodString;
490
+ associatedData: z.ZodOptional<z.ZodString>;
491
+ keyLocator: z.ZodOptional<z.ZodObject<{
492
+ sessionId: z.ZodOptional<z.ZodString>;
493
+ revision: z.ZodOptional<z.ZodNumber>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ sessionId?: string;
496
+ revision?: number;
497
+ }, {
498
+ sessionId?: string;
499
+ revision?: number;
500
+ }>>;
501
+ recipients: z.ZodArray<z.ZodObject<{
502
+ uaid: z.ZodOptional<z.ZodString>;
503
+ ledgerAccountId: z.ZodOptional<z.ZodString>;
504
+ userId: z.ZodOptional<z.ZodString>;
505
+ email: z.ZodOptional<z.ZodString>;
506
+ encryptedShare: z.ZodString;
507
+ }, "strip", z.ZodTypeAny, {
508
+ uaid?: string;
509
+ ledgerAccountId?: string;
510
+ userId?: string;
511
+ email?: string;
512
+ encryptedShare?: string;
513
+ }, {
514
+ uaid?: string;
515
+ ledgerAccountId?: string;
516
+ userId?: string;
517
+ email?: string;
518
+ encryptedShare?: string;
519
+ }>, "many">;
520
+ }, "strip", z.ZodTypeAny, {
521
+ nonce?: string;
522
+ algorithm?: string;
523
+ ciphertext?: string;
524
+ associatedData?: string;
525
+ keyLocator?: {
526
+ sessionId?: string;
527
+ revision?: number;
528
+ };
529
+ recipients?: {
530
+ uaid?: string;
531
+ ledgerAccountId?: string;
532
+ userId?: string;
533
+ email?: string;
534
+ encryptedShare?: string;
535
+ }[];
536
+ }, {
537
+ nonce?: string;
538
+ algorithm?: string;
539
+ ciphertext?: string;
540
+ associatedData?: string;
541
+ keyLocator?: {
542
+ sessionId?: string;
543
+ revision?: number;
544
+ };
545
+ recipients?: {
546
+ uaid?: string;
547
+ ledgerAccountId?: string;
548
+ userId?: string;
549
+ email?: string;
550
+ encryptedShare?: string;
551
+ }[];
552
+ }>>;
553
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ metadata?: Record<string, JsonValue$1>;
556
+ timestamp?: string;
557
+ content?: string;
558
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
559
+ messageId?: string;
560
+ cipherEnvelope?: {
561
+ nonce?: string;
562
+ algorithm?: string;
563
+ ciphertext?: string;
564
+ associatedData?: string;
565
+ keyLocator?: {
566
+ sessionId?: string;
567
+ revision?: number;
568
+ };
569
+ recipients?: {
570
+ uaid?: string;
571
+ ledgerAccountId?: string;
572
+ userId?: string;
573
+ email?: string;
574
+ encryptedShare?: string;
575
+ }[];
576
+ };
577
+ }, {
578
+ metadata?: Record<string, JsonValue$1>;
579
+ timestamp?: string;
580
+ content?: string;
581
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
582
+ messageId?: string;
583
+ cipherEnvelope?: {
584
+ nonce?: string;
585
+ algorithm?: string;
586
+ ciphertext?: string;
587
+ associatedData?: string;
588
+ keyLocator?: {
589
+ sessionId?: string;
590
+ revision?: number;
591
+ };
592
+ recipients?: {
593
+ uaid?: string;
594
+ ledgerAccountId?: string;
595
+ userId?: string;
596
+ email?: string;
597
+ encryptedShare?: string;
598
+ }[];
599
+ };
600
+ }>, "many">;
601
+ historyTtlSeconds: z.ZodOptional<z.ZodNumber>;
602
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public"]>>;
603
+ state: z.ZodEnum<["connecting", "ready", "blocked", "ended", "expired"]>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
606
+ uaid?: string;
607
+ transport?: string;
608
+ sessionId?: string;
609
+ agentUrl?: string;
610
+ route?: {
611
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
612
+ transport?: string;
613
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
614
+ endpoint?: string;
615
+ };
616
+ history?: {
617
+ metadata?: Record<string, JsonValue$1>;
618
+ timestamp?: string;
619
+ content?: string;
620
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
621
+ messageId?: string;
622
+ cipherEnvelope?: {
623
+ nonce?: string;
624
+ algorithm?: string;
625
+ ciphertext?: string;
626
+ associatedData?: string;
627
+ keyLocator?: {
628
+ sessionId?: string;
629
+ revision?: number;
630
+ };
631
+ recipients?: {
632
+ uaid?: string;
633
+ ledgerAccountId?: string;
634
+ userId?: string;
635
+ email?: string;
636
+ encryptedShare?: string;
637
+ }[];
638
+ };
639
+ }[];
640
+ historyTtlSeconds?: number;
641
+ visibility?: "private" | "public";
642
+ }, {
643
+ state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
644
+ uaid?: string;
645
+ transport?: string;
646
+ sessionId?: string;
647
+ agentUrl?: string;
648
+ route?: {
649
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
650
+ transport?: string;
651
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
652
+ endpoint?: string;
653
+ };
654
+ history?: {
655
+ metadata?: Record<string, JsonValue$1>;
656
+ timestamp?: string;
657
+ content?: string;
658
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
659
+ messageId?: string;
660
+ cipherEnvelope?: {
661
+ nonce?: string;
662
+ algorithm?: string;
663
+ ciphertext?: string;
664
+ associatedData?: string;
665
+ keyLocator?: {
666
+ sessionId?: string;
667
+ revision?: number;
668
+ };
669
+ recipients?: {
670
+ uaid?: string;
671
+ ledgerAccountId?: string;
672
+ userId?: string;
673
+ email?: string;
674
+ encryptedShare?: string;
675
+ }[];
676
+ };
677
+ }[];
678
+ historyTtlSeconds?: number;
679
+ visibility?: "private" | "public";
680
+ }>;
286
681
  declare const searchResponseSchema: z.ZodObject<{
287
682
  hits: z.ZodArray<z.ZodObject<{
288
683
  id: z.ZodString;
@@ -1012,11 +1407,11 @@ declare const resolveResponseSchema: z.ZodObject<{
1012
1407
  image?: string;
1013
1408
  adapter?: string;
1014
1409
  protocols?: string[];
1410
+ available?: boolean;
1015
1411
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
1016
1412
  originalId?: string;
1017
1413
  communicationSupported?: boolean;
1018
1414
  routingSupported?: boolean;
1019
- available?: boolean;
1020
1415
  availabilityStatus?: string;
1021
1416
  availabilityCheckedAt?: string;
1022
1417
  availabilitySource?: string;
@@ -1059,11 +1454,11 @@ declare const resolveResponseSchema: z.ZodObject<{
1059
1454
  image?: string;
1060
1455
  adapter?: string;
1061
1456
  protocols?: string[];
1457
+ available?: boolean;
1062
1458
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
1063
1459
  originalId?: string;
1064
1460
  communicationSupported?: boolean;
1065
1461
  routingSupported?: boolean;
1066
- available?: boolean;
1067
1462
  availabilityStatus?: string;
1068
1463
  availabilityCheckedAt?: string;
1069
1464
  availabilitySource?: string;
@@ -2005,14 +2400,14 @@ declare const agentFeedbackEligibilityResponseSchema: z.ZodObject<{
2005
2400
  nativeFeeEstimate: z.ZodOptional<z.ZodNumber>;
2006
2401
  }, "strip", z.ZodTypeAny, {
2007
2402
  reason?: string;
2008
- eligible?: boolean;
2009
2403
  estimatedCredits?: number;
2404
+ eligible?: boolean;
2010
2405
  usdEstimate?: number;
2011
2406
  nativeFeeEstimate?: number;
2012
2407
  }, {
2013
2408
  reason?: string;
2014
- eligible?: boolean;
2015
2409
  estimatedCredits?: number;
2410
+ eligible?: boolean;
2016
2411
  usdEstimate?: number;
2017
2412
  nativeFeeEstimate?: number;
2018
2413
  }>>;
@@ -2025,8 +2420,8 @@ declare const agentFeedbackEligibilityResponseSchema: z.ZodObject<{
2025
2420
  minimumMessages?: number;
2026
2421
  onchain?: {
2027
2422
  reason?: string;
2028
- eligible?: boolean;
2029
2423
  estimatedCredits?: number;
2424
+ eligible?: boolean;
2030
2425
  usdEstimate?: number;
2031
2426
  nativeFeeEstimate?: number;
2032
2427
  };
@@ -2039,8 +2434,8 @@ declare const agentFeedbackEligibilityResponseSchema: z.ZodObject<{
2039
2434
  minimumMessages?: number;
2040
2435
  onchain?: {
2041
2436
  reason?: string;
2042
- eligible?: boolean;
2043
2437
  estimatedCredits?: number;
2438
+ eligible?: boolean;
2044
2439
  usdEstimate?: number;
2045
2440
  nativeFeeEstimate?: number;
2046
2441
  };
@@ -2324,7 +2719,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
2324
2719
  }>;
2325
2720
  history: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2326
2721
  messageId: z.ZodString;
2327
- role: z.ZodEnum<["user", "agent"]>;
2722
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
2328
2723
  content: z.ZodString;
2329
2724
  timestamp: z.ZodString;
2330
2725
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -2399,7 +2794,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
2399
2794
  metadata?: Record<string, JsonValue$1>;
2400
2795
  timestamp?: string;
2401
2796
  content?: string;
2402
- role?: "agent" | "user";
2797
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2403
2798
  messageId?: string;
2404
2799
  cipherEnvelope?: {
2405
2800
  nonce?: string;
@@ -2422,7 +2817,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
2422
2817
  metadata?: Record<string, JsonValue$1>;
2423
2818
  timestamp?: string;
2424
2819
  content?: string;
2425
- role?: "agent" | "user";
2820
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2426
2821
  messageId?: string;
2427
2822
  cipherEnvelope?: {
2428
2823
  nonce?: string;
@@ -2729,7 +3124,130 @@ declare const createSessionResponseSchema: z.ZodObject<{
2729
3124
  expiresAt?: number;
2730
3125
  };
2731
3126
  }>>>;
3127
+ route: z.ZodOptional<z.ZodObject<{
3128
+ type: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
3129
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
3130
+ transport: z.ZodString;
3131
+ endpoint: z.ZodOptional<z.ZodString>;
3132
+ }, "strip", z.ZodTypeAny, {
3133
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3134
+ transport?: string;
3135
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3136
+ endpoint?: string;
3137
+ }, {
3138
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3139
+ transport?: string;
3140
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3141
+ endpoint?: string;
3142
+ }>>;
3143
+ transport: z.ZodOptional<z.ZodString>;
3144
+ senderUaid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3145
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public"]>>;
3146
+ payment: z.ZodOptional<z.ZodObject<{
3147
+ required: z.ZodBoolean;
3148
+ provider: z.ZodOptional<z.ZodEnum<["credits", "x402", "acp", "openrouter"]>>;
3149
+ status: z.ZodEnum<["not_required", "preflight", "required", "approved", "paid", "failed"]>;
3150
+ estimatedCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3151
+ estimatedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3152
+ }, "strip", z.ZodTypeAny, {
3153
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
3154
+ required?: boolean;
3155
+ provider?: "credits" | "openrouter" | "acp" | "x402";
3156
+ estimatedCredits?: number;
3157
+ estimatedUsd?: number;
3158
+ }, {
3159
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
3160
+ required?: boolean;
3161
+ provider?: "credits" | "openrouter" | "acp" | "x402";
3162
+ estimatedCredits?: number;
3163
+ estimatedUsd?: number;
3164
+ }>>;
3165
+ readiness: z.ZodOptional<z.ZodObject<{
3166
+ status: z.ZodEnum<["responsive", "delivery_only", "degraded", "blocked", "unknown"]>;
3167
+ routeType: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
3168
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
3169
+ transport: z.ZodString;
3170
+ endpoint: z.ZodOptional<z.ZodString>;
3171
+ checkedAt: z.ZodString;
3172
+ cachedUntil: z.ZodString;
3173
+ latencyMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3174
+ lastSuccessfulReplyAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3175
+ lastDeliveryConfirmationAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3176
+ lastFailureCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTH_REQUIRED", "CREDITS_REQUIRED", "PAYMENT_REQUIRED", "AGENT_UNRESPONSIVE", "ROUTE_UNAVAILABLE", "PROTOCOL_UNSUPPORTED", "BROKER_NOT_EXECUTABLE", "NETWORK_TIMEOUT", "STREAM_STALLED", "HISTORY_UNAVAILABLE", "ENCRYPTION_REQUIRED", "RATE_LIMITED", "VALIDATION_ERROR", "UNKNOWN_ERROR"]>>>;
3177
+ supportsStreaming: z.ZodBoolean;
3178
+ supportsHistory: z.ZodBoolean;
3179
+ supportsEncryption: z.ZodBoolean;
3180
+ supportsPayments: z.ZodBoolean;
3181
+ supportsAttachments: z.ZodBoolean;
3182
+ requiresAuth: z.ZodBoolean;
3183
+ operatorActionRequired: z.ZodBoolean;
3184
+ issue: z.ZodOptional<z.ZodObject<{
3185
+ code: z.ZodString;
3186
+ message: z.ZodString;
3187
+ details: z.ZodOptional<z.ZodString>;
3188
+ }, "strip", z.ZodTypeAny, {
3189
+ message?: string;
3190
+ details?: string;
3191
+ code?: string;
3192
+ }, {
3193
+ message?: string;
3194
+ details?: string;
3195
+ code?: string;
3196
+ }>>;
3197
+ }, "strip", z.ZodTypeAny, {
3198
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
3199
+ transport?: string;
3200
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3201
+ endpoint?: string;
3202
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3203
+ checkedAt?: string;
3204
+ cachedUntil?: string;
3205
+ latencyMs?: number;
3206
+ lastSuccessfulReplyAt?: string;
3207
+ lastDeliveryConfirmationAt?: string;
3208
+ lastFailureCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
3209
+ supportsStreaming?: boolean;
3210
+ supportsHistory?: boolean;
3211
+ supportsEncryption?: boolean;
3212
+ supportsPayments?: boolean;
3213
+ supportsAttachments?: boolean;
3214
+ requiresAuth?: boolean;
3215
+ operatorActionRequired?: boolean;
3216
+ issue?: {
3217
+ message?: string;
3218
+ details?: string;
3219
+ code?: string;
3220
+ };
3221
+ }, {
3222
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
3223
+ transport?: string;
3224
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3225
+ endpoint?: string;
3226
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3227
+ checkedAt?: string;
3228
+ cachedUntil?: string;
3229
+ latencyMs?: number;
3230
+ lastSuccessfulReplyAt?: string;
3231
+ lastDeliveryConfirmationAt?: string;
3232
+ lastFailureCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
3233
+ supportsStreaming?: boolean;
3234
+ supportsHistory?: boolean;
3235
+ supportsEncryption?: boolean;
3236
+ supportsPayments?: boolean;
3237
+ supportsAttachments?: boolean;
3238
+ requiresAuth?: boolean;
3239
+ operatorActionRequired?: boolean;
3240
+ issue?: {
3241
+ message?: string;
3242
+ details?: string;
3243
+ code?: string;
3244
+ };
3245
+ }>>;
3246
+ state: z.ZodOptional<z.ZodEnum<["connecting", "ready", "blocked", "ended", "expired"]>>;
3247
+ traceId: z.ZodOptional<z.ZodString>;
3248
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2732
3249
  }, "strip", z.ZodTypeAny, {
3250
+ state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
2733
3251
  uaid?: string;
2734
3252
  agent?: {
2735
3253
  name?: string;
@@ -2737,12 +3255,27 @@ declare const createSessionResponseSchema: z.ZodObject<{
2737
3255
  description?: string;
2738
3256
  skills?: string[];
2739
3257
  };
3258
+ transport?: string;
2740
3259
  sessionId?: string;
3260
+ expiresAt?: string;
3261
+ payment?: {
3262
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
3263
+ required?: boolean;
3264
+ provider?: "credits" | "openrouter" | "acp" | "x402";
3265
+ estimatedCredits?: number;
3266
+ estimatedUsd?: number;
3267
+ };
3268
+ route?: {
3269
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3270
+ transport?: string;
3271
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3272
+ endpoint?: string;
3273
+ };
2741
3274
  history?: {
2742
3275
  metadata?: Record<string, JsonValue$1>;
2743
3276
  timestamp?: string;
2744
3277
  content?: string;
2745
- role?: "agent" | "user";
3278
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2746
3279
  messageId?: string;
2747
3280
  cipherEnvelope?: {
2748
3281
  nonce?: string;
@@ -2763,6 +3296,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
2763
3296
  };
2764
3297
  }[];
2765
3298
  historyTtlSeconds?: number;
3299
+ visibility?: "private" | "public";
2766
3300
  encryption?: {
2767
3301
  algorithm?: string;
2768
3302
  requester?: {
@@ -2815,7 +3349,35 @@ declare const createSessionResponseSchema: z.ZodObject<{
2815
3349
  expiresAt?: number;
2816
3350
  };
2817
3351
  };
3352
+ senderUaid?: string;
3353
+ readiness?: {
3354
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
3355
+ transport?: string;
3356
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3357
+ endpoint?: string;
3358
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3359
+ checkedAt?: string;
3360
+ cachedUntil?: string;
3361
+ latencyMs?: number;
3362
+ lastSuccessfulReplyAt?: string;
3363
+ lastDeliveryConfirmationAt?: string;
3364
+ lastFailureCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
3365
+ supportsStreaming?: boolean;
3366
+ supportsHistory?: boolean;
3367
+ supportsEncryption?: boolean;
3368
+ supportsPayments?: boolean;
3369
+ supportsAttachments?: boolean;
3370
+ requiresAuth?: boolean;
3371
+ operatorActionRequired?: boolean;
3372
+ issue?: {
3373
+ message?: string;
3374
+ details?: string;
3375
+ code?: string;
3376
+ };
3377
+ };
3378
+ traceId?: string;
2818
3379
  }, {
3380
+ state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
2819
3381
  uaid?: string;
2820
3382
  agent?: {
2821
3383
  name?: string;
@@ -2823,12 +3385,27 @@ declare const createSessionResponseSchema: z.ZodObject<{
2823
3385
  description?: string;
2824
3386
  skills?: string[];
2825
3387
  };
3388
+ transport?: string;
2826
3389
  sessionId?: string;
3390
+ expiresAt?: string;
3391
+ payment?: {
3392
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
3393
+ required?: boolean;
3394
+ provider?: "credits" | "openrouter" | "acp" | "x402";
3395
+ estimatedCredits?: number;
3396
+ estimatedUsd?: number;
3397
+ };
3398
+ route?: {
3399
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3400
+ transport?: string;
3401
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3402
+ endpoint?: string;
3403
+ };
2827
3404
  history?: {
2828
3405
  metadata?: Record<string, JsonValue$1>;
2829
3406
  timestamp?: string;
2830
3407
  content?: string;
2831
- role?: "agent" | "user";
3408
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2832
3409
  messageId?: string;
2833
3410
  cipherEnvelope?: {
2834
3411
  nonce?: string;
@@ -2849,6 +3426,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
2849
3426
  };
2850
3427
  }[];
2851
3428
  historyTtlSeconds?: number;
3429
+ visibility?: "private" | "public";
2852
3430
  encryption?: {
2853
3431
  algorithm?: string;
2854
3432
  requester?: {
@@ -2901,6 +3479,33 @@ declare const createSessionResponseSchema: z.ZodObject<{
2901
3479
  expiresAt?: number;
2902
3480
  };
2903
3481
  };
3482
+ senderUaid?: string;
3483
+ readiness?: {
3484
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
3485
+ transport?: string;
3486
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3487
+ endpoint?: string;
3488
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
3489
+ checkedAt?: string;
3490
+ cachedUntil?: string;
3491
+ latencyMs?: number;
3492
+ lastSuccessfulReplyAt?: string;
3493
+ lastDeliveryConfirmationAt?: string;
3494
+ lastFailureCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
3495
+ supportsStreaming?: boolean;
3496
+ supportsHistory?: boolean;
3497
+ supportsEncryption?: boolean;
3498
+ supportsPayments?: boolean;
3499
+ supportsAttachments?: boolean;
3500
+ requiresAuth?: boolean;
3501
+ operatorActionRequired?: boolean;
3502
+ issue?: {
3503
+ message?: string;
3504
+ details?: string;
3505
+ code?: string;
3506
+ };
3507
+ };
3508
+ traceId?: string;
2904
3509
  }>;
2905
3510
  declare const sendMessageResponseSchema: z.ZodObject<{
2906
3511
  sessionId: z.ZodString;
@@ -2912,7 +3517,7 @@ declare const sendMessageResponseSchema: z.ZodObject<{
2912
3517
  ops: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>, "many">>;
2913
3518
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
2914
3519
  messageId: z.ZodString;
2915
- role: z.ZodEnum<["user", "agent"]>;
3520
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
2916
3521
  content: z.ZodString;
2917
3522
  timestamp: z.ZodString;
2918
3523
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -2987,7 +3592,7 @@ declare const sendMessageResponseSchema: z.ZodObject<{
2987
3592
  metadata?: Record<string, JsonValue$1>;
2988
3593
  timestamp?: string;
2989
3594
  content?: string;
2990
- role?: "agent" | "user";
3595
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2991
3596
  messageId?: string;
2992
3597
  cipherEnvelope?: {
2993
3598
  nonce?: string;
@@ -3010,7 +3615,7 @@ declare const sendMessageResponseSchema: z.ZodObject<{
3010
3615
  metadata?: Record<string, JsonValue$1>;
3011
3616
  timestamp?: string;
3012
3617
  content?: string;
3013
- role?: "agent" | "user";
3618
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3014
3619
  messageId?: string;
3015
3620
  cipherEnvelope?: {
3016
3621
  nonce?: string;
@@ -3032,17 +3637,30 @@ declare const sendMessageResponseSchema: z.ZodObject<{
3032
3637
  }>, "many">>;
3033
3638
  historyTtlSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3034
3639
  encrypted: z.ZodOptional<z.ZodBoolean>;
3640
+ messageId: z.ZodOptional<z.ZodString>;
3641
+ assistantMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3642
+ deliveryState: z.ZodOptional<z.ZodEnum<["draft", "queued", "persisted", "delivered", "streaming", "responded", "failed", "timeout", "cancelled"]>>;
3643
+ replyMode: z.ZodOptional<z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>>;
3644
+ deliveryConfirmation: z.ZodOptional<z.ZodBoolean>;
3645
+ idempotent: z.ZodOptional<z.ZodBoolean>;
3646
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>;
3647
+ errorCode: z.ZodOptional<z.ZodEnum<["AUTH_REQUIRED", "CREDITS_REQUIRED", "PAYMENT_REQUIRED", "AGENT_UNRESPONSIVE", "ROUTE_UNAVAILABLE", "PROTOCOL_UNSUPPORTED", "BROKER_NOT_EXECUTABLE", "NETWORK_TIMEOUT", "STREAM_STALLED", "HISTORY_UNAVAILABLE", "ENCRYPTION_REQUIRED", "RATE_LIMITED", "VALIDATION_ERROR", "UNKNOWN_ERROR"]>>;
3035
3648
  }, "strip", z.ZodTypeAny, {
3036
3649
  message?: string;
3650
+ metadata?: Record<string, JsonValue$1>;
3037
3651
  timestamp?: string;
3038
3652
  uaid?: string;
3039
3653
  content?: string;
3040
3654
  sessionId?: string;
3655
+ messageId?: string;
3656
+ deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
3657
+ errorCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
3658
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3041
3659
  history?: {
3042
3660
  metadata?: Record<string, JsonValue$1>;
3043
3661
  timestamp?: string;
3044
3662
  content?: string;
3045
- role?: "agent" | "user";
3663
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3046
3664
  messageId?: string;
3047
3665
  cipherEnvelope?: {
3048
3666
  nonce?: string;
@@ -3066,17 +3684,25 @@ declare const sendMessageResponseSchema: z.ZodObject<{
3066
3684
  rawResponse?: JsonValue$1;
3067
3685
  ops?: Record<string, JsonValue$1>[];
3068
3686
  encrypted?: boolean;
3687
+ assistantMessageId?: string;
3688
+ deliveryConfirmation?: boolean;
3689
+ idempotent?: boolean;
3069
3690
  }, {
3070
3691
  message?: string;
3692
+ metadata?: Record<string, JsonValue$1>;
3071
3693
  timestamp?: string;
3072
3694
  uaid?: string;
3073
3695
  content?: string;
3074
3696
  sessionId?: string;
3697
+ messageId?: string;
3698
+ deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
3699
+ errorCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
3700
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
3075
3701
  history?: {
3076
3702
  metadata?: Record<string, JsonValue$1>;
3077
3703
  timestamp?: string;
3078
3704
  content?: string;
3079
- role?: "agent" | "user";
3705
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3080
3706
  messageId?: string;
3081
3707
  cipherEnvelope?: {
3082
3708
  nonce?: string;
@@ -3100,12 +3726,28 @@ declare const sendMessageResponseSchema: z.ZodObject<{
3100
3726
  rawResponse?: JsonValue$1;
3101
3727
  ops?: Record<string, JsonValue$1>[];
3102
3728
  encrypted?: boolean;
3729
+ assistantMessageId?: string;
3730
+ deliveryConfirmation?: boolean;
3731
+ idempotent?: boolean;
3732
+ }>;
3733
+ declare const chatSessionEndResponseSchema: z.ZodObject<{
3734
+ message: z.ZodString;
3735
+ sessionId: z.ZodString;
3736
+ state: z.ZodOptional<z.ZodEnum<["connecting", "ready", "blocked", "ended", "expired"]>>;
3737
+ }, "strip", z.ZodTypeAny, {
3738
+ message?: string;
3739
+ state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
3740
+ sessionId?: string;
3741
+ }, {
3742
+ message?: string;
3743
+ state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
3744
+ sessionId?: string;
3103
3745
  }>;
3104
3746
  declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
3105
3747
  sessionId: z.ZodString;
3106
3748
  history: z.ZodArray<z.ZodObject<{
3107
3749
  messageId: z.ZodString;
3108
- role: z.ZodEnum<["user", "agent"]>;
3750
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
3109
3751
  content: z.ZodString;
3110
3752
  timestamp: z.ZodString;
3111
3753
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -3180,7 +3822,7 @@ declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
3180
3822
  metadata?: Record<string, JsonValue$1>;
3181
3823
  timestamp?: string;
3182
3824
  content?: string;
3183
- role?: "agent" | "user";
3825
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3184
3826
  messageId?: string;
3185
3827
  cipherEnvelope?: {
3186
3828
  nonce?: string;
@@ -3203,7 +3845,7 @@ declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
3203
3845
  metadata?: Record<string, JsonValue$1>;
3204
3846
  timestamp?: string;
3205
3847
  content?: string;
3206
- role?: "agent" | "user";
3848
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3207
3849
  messageId?: string;
3208
3850
  cipherEnvelope?: {
3209
3851
  nonce?: string;
@@ -3230,7 +3872,7 @@ declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
3230
3872
  metadata?: Record<string, JsonValue$1>;
3231
3873
  timestamp?: string;
3232
3874
  content?: string;
3233
- role?: "agent" | "user";
3875
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3234
3876
  messageId?: string;
3235
3877
  cipherEnvelope?: {
3236
3878
  nonce?: string;
@@ -3257,7 +3899,7 @@ declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
3257
3899
  metadata?: Record<string, JsonValue$1>;
3258
3900
  timestamp?: string;
3259
3901
  content?: string;
3260
- role?: "agent" | "user";
3902
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3261
3903
  messageId?: string;
3262
3904
  cipherEnvelope?: {
3263
3905
  nonce?: string;
@@ -3283,7 +3925,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3283
3925
  sessionId: z.ZodString;
3284
3926
  history: z.ZodArray<z.ZodObject<{
3285
3927
  messageId: z.ZodString;
3286
- role: z.ZodEnum<["user", "agent"]>;
3928
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
3287
3929
  content: z.ZodString;
3288
3930
  timestamp: z.ZodString;
3289
3931
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -3358,7 +4000,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3358
4000
  metadata?: Record<string, JsonValue$1>;
3359
4001
  timestamp?: string;
3360
4002
  content?: string;
3361
- role?: "agent" | "user";
4003
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3362
4004
  messageId?: string;
3363
4005
  cipherEnvelope?: {
3364
4006
  nonce?: string;
@@ -3381,7 +4023,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3381
4023
  metadata?: Record<string, JsonValue$1>;
3382
4024
  timestamp?: string;
3383
4025
  content?: string;
3384
- role?: "agent" | "user";
4026
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3385
4027
  messageId?: string;
3386
4028
  cipherEnvelope?: {
3387
4029
  nonce?: string;
@@ -3403,7 +4045,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3403
4045
  }>, "many">;
3404
4046
  summaryEntry: z.ZodObject<{
3405
4047
  messageId: z.ZodString;
3406
- role: z.ZodEnum<["user", "agent"]>;
4048
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
3407
4049
  content: z.ZodString;
3408
4050
  timestamp: z.ZodString;
3409
4051
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -3478,7 +4120,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3478
4120
  metadata?: Record<string, JsonValue$1>;
3479
4121
  timestamp?: string;
3480
4122
  content?: string;
3481
- role?: "agent" | "user";
4123
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3482
4124
  messageId?: string;
3483
4125
  cipherEnvelope?: {
3484
4126
  nonce?: string;
@@ -3501,7 +4143,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3501
4143
  metadata?: Record<string, JsonValue$1>;
3502
4144
  timestamp?: string;
3503
4145
  content?: string;
3504
- role?: "agent" | "user";
4146
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3505
4147
  messageId?: string;
3506
4148
  cipherEnvelope?: {
3507
4149
  nonce?: string;
@@ -3523,7 +4165,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3523
4165
  }>;
3524
4166
  preservedEntries: z.ZodArray<z.ZodObject<{
3525
4167
  messageId: z.ZodString;
3526
- role: z.ZodEnum<["user", "agent"]>;
4168
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
3527
4169
  content: z.ZodString;
3528
4170
  timestamp: z.ZodString;
3529
4171
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -3598,7 +4240,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3598
4240
  metadata?: Record<string, JsonValue$1>;
3599
4241
  timestamp?: string;
3600
4242
  content?: string;
3601
- role?: "agent" | "user";
4243
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3602
4244
  messageId?: string;
3603
4245
  cipherEnvelope?: {
3604
4246
  nonce?: string;
@@ -3621,7 +4263,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3621
4263
  metadata?: Record<string, JsonValue$1>;
3622
4264
  timestamp?: string;
3623
4265
  content?: string;
3624
- role?: "agent" | "user";
4266
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3625
4267
  messageId?: string;
3626
4268
  cipherEnvelope?: {
3627
4269
  nonce?: string;
@@ -3651,7 +4293,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3651
4293
  metadata?: Record<string, JsonValue$1>;
3652
4294
  timestamp?: string;
3653
4295
  content?: string;
3654
- role?: "agent" | "user";
4296
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3655
4297
  messageId?: string;
3656
4298
  cipherEnvelope?: {
3657
4299
  nonce?: string;
@@ -3676,7 +4318,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3676
4318
  metadata?: Record<string, JsonValue$1>;
3677
4319
  timestamp?: string;
3678
4320
  content?: string;
3679
- role?: "agent" | "user";
4321
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3680
4322
  messageId?: string;
3681
4323
  cipherEnvelope?: {
3682
4324
  nonce?: string;
@@ -3700,7 +4342,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3700
4342
  metadata?: Record<string, JsonValue$1>;
3701
4343
  timestamp?: string;
3702
4344
  content?: string;
3703
- role?: "agent" | "user";
4345
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3704
4346
  messageId?: string;
3705
4347
  cipherEnvelope?: {
3706
4348
  nonce?: string;
@@ -3728,7 +4370,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3728
4370
  metadata?: Record<string, JsonValue$1>;
3729
4371
  timestamp?: string;
3730
4372
  content?: string;
3731
- role?: "agent" | "user";
4373
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3732
4374
  messageId?: string;
3733
4375
  cipherEnvelope?: {
3734
4376
  nonce?: string;
@@ -3753,7 +4395,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3753
4395
  metadata?: Record<string, JsonValue$1>;
3754
4396
  timestamp?: string;
3755
4397
  content?: string;
3756
- role?: "agent" | "user";
4398
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3757
4399
  messageId?: string;
3758
4400
  cipherEnvelope?: {
3759
4401
  nonce?: string;
@@ -3777,7 +4419,7 @@ declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3777
4419
  metadata?: Record<string, JsonValue$1>;
3778
4420
  timestamp?: string;
3779
4421
  content?: string;
3780
- role?: "agent" | "user";
4422
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3781
4423
  messageId?: string;
3782
4424
  cipherEnvelope?: {
3783
4425
  nonce?: string;
@@ -5280,11 +5922,11 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
5280
5922
  image?: string;
5281
5923
  adapter?: string;
5282
5924
  protocols?: string[];
5925
+ available?: boolean;
5283
5926
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
5284
5927
  originalId?: string;
5285
5928
  communicationSupported?: boolean;
5286
5929
  routingSupported?: boolean;
5287
- available?: boolean;
5288
5930
  availabilityStatus?: string;
5289
5931
  availabilityCheckedAt?: string;
5290
5932
  availabilitySource?: string;
@@ -5329,11 +5971,11 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
5329
5971
  image?: string;
5330
5972
  adapter?: string;
5331
5973
  protocols?: string[];
5974
+ available?: boolean;
5332
5975
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
5333
5976
  originalId?: string;
5334
5977
  communicationSupported?: boolean;
5335
5978
  routingSupported?: boolean;
5336
- available?: boolean;
5337
5979
  availabilityStatus?: string;
5338
5980
  availabilityCheckedAt?: string;
5339
5981
  availabilitySource?: string;
@@ -5386,11 +6028,11 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
5386
6028
  image?: string;
5387
6029
  adapter?: string;
5388
6030
  protocols?: string[];
6031
+ available?: boolean;
5389
6032
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
5390
6033
  originalId?: string;
5391
6034
  communicationSupported?: boolean;
5392
6035
  routingSupported?: boolean;
5393
- available?: boolean;
5394
6036
  availabilityStatus?: string;
5395
6037
  availabilityCheckedAt?: string;
5396
6038
  availabilitySource?: string;
@@ -5443,11 +6085,11 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
5443
6085
  image?: string;
5444
6086
  adapter?: string;
5445
6087
  protocols?: string[];
6088
+ available?: boolean;
5446
6089
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
5447
6090
  originalId?: string;
5448
6091
  communicationSupported?: boolean;
5449
6092
  routingSupported?: boolean;
5450
- available?: boolean;
5451
6093
  availabilityStatus?: string;
5452
6094
  availabilityCheckedAt?: string;
5453
6095
  availabilitySource?: string;
@@ -5493,7 +6135,7 @@ declare const searchStatusResponseSchema: z.ZodObject<{
5493
6135
  }>>;
5494
6136
  }, "strip", z.ZodTypeAny, {
5495
6137
  details?: Record<string, any>;
5496
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
6138
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5497
6139
  enabled?: boolean;
5498
6140
  healthy?: boolean;
5499
6141
  lastUpdated?: string;
@@ -5504,7 +6146,7 @@ declare const searchStatusResponseSchema: z.ZodObject<{
5504
6146
  };
5505
6147
  }, {
5506
6148
  details?: Record<string, any>;
5507
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
6149
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5508
6150
  enabled?: boolean;
5509
6151
  healthy?: boolean;
5510
6152
  lastUpdated?: string;
@@ -5518,7 +6160,7 @@ declare const searchStatusResponseSchema: z.ZodObject<{
5518
6160
  storageMode?: string;
5519
6161
  vectorStatus?: {
5520
6162
  details?: Record<string, any>;
5521
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
6163
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5522
6164
  enabled?: boolean;
5523
6165
  healthy?: boolean;
5524
6166
  lastUpdated?: string;
@@ -5532,7 +6174,7 @@ declare const searchStatusResponseSchema: z.ZodObject<{
5532
6174
  storageMode?: string;
5533
6175
  vectorStatus?: {
5534
6176
  details?: Record<string, any>;
5535
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
6177
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5536
6178
  enabled?: boolean;
5537
6179
  healthy?: boolean;
5538
6180
  lastUpdated?: string;
@@ -5833,16 +6475,16 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
5833
6475
  id?: string;
5834
6476
  createdAt?: string;
5835
6477
  protocol?: string;
5836
- agentId?: string;
5837
6478
  endpoint?: string;
6479
+ agentId?: string;
5838
6480
  }, {
5839
6481
  metadata?: Record<string, string | number | boolean>;
5840
6482
  status?: "error" | "connected" | "disconnected";
5841
6483
  id?: string;
5842
6484
  createdAt?: string;
5843
6485
  protocol?: string;
5844
- agentId?: string;
5845
6486
  endpoint?: string;
6487
+ agentId?: string;
5846
6488
  }>>;
5847
6489
  adapter: z.ZodOptional<z.ZodString>;
5848
6490
  agentId: z.ZodOptional<z.ZodString>;
@@ -5853,8 +6495,8 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
5853
6495
  id?: string;
5854
6496
  createdAt?: string;
5855
6497
  protocol?: string;
5856
- agentId?: string;
5857
6498
  endpoint?: string;
6499
+ agentId?: string;
5858
6500
  };
5859
6501
  adapter?: string;
5860
6502
  agentId?: string;
@@ -5866,8 +6508,8 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
5866
6508
  id?: string;
5867
6509
  createdAt?: string;
5868
6510
  protocol?: string;
5869
- agentId?: string;
5870
6511
  endpoint?: string;
6512
+ agentId?: string;
5871
6513
  };
5872
6514
  adapter?: string;
5873
6515
  agentId?: string;
@@ -6467,8 +7109,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6467
7109
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6468
7110
  registry?: string;
6469
7111
  networkName?: string;
6470
- agentId?: string;
6471
7112
  estimatedCredits?: number;
7113
+ agentId?: string;
6472
7114
  agentUri?: string;
6473
7115
  registryKey?: string;
6474
7116
  networkId?: string;
@@ -6499,8 +7141,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6499
7141
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6500
7142
  registry?: string;
6501
7143
  networkName?: string;
6502
- agentId?: string;
6503
7144
  estimatedCredits?: number;
7145
+ agentId?: string;
6504
7146
  agentUri?: string;
6505
7147
  registryKey?: string;
6506
7148
  networkId?: string;
@@ -6598,8 +7240,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6598
7240
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6599
7241
  registry?: string;
6600
7242
  networkName?: string;
6601
- agentId?: string;
6602
7243
  estimatedCredits?: number;
7244
+ agentId?: string;
6603
7245
  agentUri?: string;
6604
7246
  registryKey?: string;
6605
7247
  networkId?: string;
@@ -6630,8 +7272,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6630
7272
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6631
7273
  registry?: string;
6632
7274
  networkName?: string;
6633
- agentId?: string;
6634
7275
  estimatedCredits?: number;
7276
+ agentId?: string;
6635
7277
  agentUri?: string;
6636
7278
  registryKey?: string;
6637
7279
  networkId?: string;
@@ -6750,8 +7392,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6750
7392
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6751
7393
  registry?: string;
6752
7394
  networkName?: string;
6753
- agentId?: string;
6754
7395
  estimatedCredits?: number;
7396
+ agentId?: string;
6755
7397
  agentUri?: string;
6756
7398
  registryKey?: string;
6757
7399
  networkId?: string;
@@ -6783,8 +7425,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6783
7425
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6784
7426
  registry?: string;
6785
7427
  networkName?: string;
6786
- agentId?: string;
6787
7428
  estimatedCredits?: number;
7429
+ agentId?: string;
6788
7430
  agentUri?: string;
6789
7431
  registryKey?: string;
6790
7432
  networkId?: string;
@@ -6903,8 +7545,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6903
7545
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6904
7546
  registry?: string;
6905
7547
  networkName?: string;
6906
- agentId?: string;
6907
7548
  estimatedCredits?: number;
7549
+ agentId?: string;
6908
7550
  agentUri?: string;
6909
7551
  registryKey?: string;
6910
7552
  networkId?: string;
@@ -6936,8 +7578,8 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6936
7578
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6937
7579
  registry?: string;
6938
7580
  networkName?: string;
6939
- agentId?: string;
6940
7581
  estimatedCredits?: number;
7582
+ agentId?: string;
6941
7583
  agentUri?: string;
6942
7584
  registryKey?: string;
6943
7585
  networkId?: string;
@@ -7329,8 +7971,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7329
7971
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7330
7972
  registry?: string;
7331
7973
  networkName?: string;
7332
- agentId?: string;
7333
7974
  estimatedCredits?: number;
7975
+ agentId?: string;
7334
7976
  agentUri?: string;
7335
7977
  registryKey?: string;
7336
7978
  networkId?: string;
@@ -7361,8 +8003,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7361
8003
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7362
8004
  registry?: string;
7363
8005
  networkName?: string;
7364
- agentId?: string;
7365
8006
  estimatedCredits?: number;
8007
+ agentId?: string;
7366
8008
  agentUri?: string;
7367
8009
  registryKey?: string;
7368
8010
  networkId?: string;
@@ -7460,8 +8102,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7460
8102
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7461
8103
  registry?: string;
7462
8104
  networkName?: string;
7463
- agentId?: string;
7464
8105
  estimatedCredits?: number;
8106
+ agentId?: string;
7465
8107
  agentUri?: string;
7466
8108
  registryKey?: string;
7467
8109
  networkId?: string;
@@ -7492,8 +8134,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7492
8134
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7493
8135
  registry?: string;
7494
8136
  networkName?: string;
7495
- agentId?: string;
7496
8137
  estimatedCredits?: number;
8138
+ agentId?: string;
7497
8139
  agentUri?: string;
7498
8140
  registryKey?: string;
7499
8141
  networkId?: string;
@@ -7612,8 +8254,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7612
8254
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7613
8255
  registry?: string;
7614
8256
  networkName?: string;
7615
- agentId?: string;
7616
8257
  estimatedCredits?: number;
8258
+ agentId?: string;
7617
8259
  agentUri?: string;
7618
8260
  registryKey?: string;
7619
8261
  networkId?: string;
@@ -7645,8 +8287,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7645
8287
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7646
8288
  registry?: string;
7647
8289
  networkName?: string;
7648
- agentId?: string;
7649
8290
  estimatedCredits?: number;
8291
+ agentId?: string;
7650
8292
  agentUri?: string;
7651
8293
  registryKey?: string;
7652
8294
  networkId?: string;
@@ -7765,8 +8407,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7765
8407
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7766
8408
  registry?: string;
7767
8409
  networkName?: string;
7768
- agentId?: string;
7769
8410
  estimatedCredits?: number;
8411
+ agentId?: string;
7770
8412
  agentUri?: string;
7771
8413
  registryKey?: string;
7772
8414
  networkId?: string;
@@ -7798,8 +8440,8 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7798
8440
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7799
8441
  registry?: string;
7800
8442
  networkName?: string;
7801
- agentId?: string;
7802
8443
  estimatedCredits?: number;
8444
+ agentId?: string;
7803
8445
  agentUri?: string;
7804
8446
  registryKey?: string;
7805
8447
  networkId?: string;
@@ -8191,8 +8833,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8191
8833
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8192
8834
  registry?: string;
8193
8835
  networkName?: string;
8194
- agentId?: string;
8195
8836
  estimatedCredits?: number;
8837
+ agentId?: string;
8196
8838
  agentUri?: string;
8197
8839
  registryKey?: string;
8198
8840
  networkId?: string;
@@ -8223,8 +8865,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8223
8865
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8224
8866
  registry?: string;
8225
8867
  networkName?: string;
8226
- agentId?: string;
8227
8868
  estimatedCredits?: number;
8869
+ agentId?: string;
8228
8870
  agentUri?: string;
8229
8871
  registryKey?: string;
8230
8872
  networkId?: string;
@@ -8322,8 +8964,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8322
8964
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8323
8965
  registry?: string;
8324
8966
  networkName?: string;
8325
- agentId?: string;
8326
8967
  estimatedCredits?: number;
8968
+ agentId?: string;
8327
8969
  agentUri?: string;
8328
8970
  registryKey?: string;
8329
8971
  networkId?: string;
@@ -8354,8 +8996,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8354
8996
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8355
8997
  registry?: string;
8356
8998
  networkName?: string;
8357
- agentId?: string;
8358
8999
  estimatedCredits?: number;
9000
+ agentId?: string;
8359
9001
  agentUri?: string;
8360
9002
  registryKey?: string;
8361
9003
  networkId?: string;
@@ -8487,8 +9129,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8487
9129
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8488
9130
  registry?: string;
8489
9131
  networkName?: string;
8490
- agentId?: string;
8491
9132
  estimatedCredits?: number;
9133
+ agentId?: string;
8492
9134
  agentUri?: string;
8493
9135
  registryKey?: string;
8494
9136
  networkId?: string;
@@ -8520,8 +9162,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8520
9162
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8521
9163
  registry?: string;
8522
9164
  networkName?: string;
8523
- agentId?: string;
8524
9165
  estimatedCredits?: number;
9166
+ agentId?: string;
8525
9167
  agentUri?: string;
8526
9168
  registryKey?: string;
8527
9169
  networkId?: string;
@@ -8645,8 +9287,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8645
9287
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8646
9288
  registry?: string;
8647
9289
  networkName?: string;
8648
- agentId?: string;
8649
9290
  estimatedCredits?: number;
9291
+ agentId?: string;
8650
9292
  agentUri?: string;
8651
9293
  registryKey?: string;
8652
9294
  networkId?: string;
@@ -8678,8 +9320,8 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
8678
9320
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8679
9321
  registry?: string;
8680
9322
  networkName?: string;
8681
- agentId?: string;
8682
9323
  estimatedCredits?: number;
9324
+ agentId?: string;
8683
9325
  agentUri?: string;
8684
9326
  registryKey?: string;
8685
9327
  networkId?: string;
@@ -9076,8 +9718,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9076
9718
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9077
9719
  registry?: string;
9078
9720
  networkName?: string;
9079
- agentId?: string;
9080
9721
  estimatedCredits?: number;
9722
+ agentId?: string;
9081
9723
  agentUri?: string;
9082
9724
  registryKey?: string;
9083
9725
  networkId?: string;
@@ -9108,8 +9750,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9108
9750
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9109
9751
  registry?: string;
9110
9752
  networkName?: string;
9111
- agentId?: string;
9112
9753
  estimatedCredits?: number;
9754
+ agentId?: string;
9113
9755
  agentUri?: string;
9114
9756
  registryKey?: string;
9115
9757
  networkId?: string;
@@ -9207,8 +9849,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9207
9849
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9208
9850
  registry?: string;
9209
9851
  networkName?: string;
9210
- agentId?: string;
9211
9852
  estimatedCredits?: number;
9853
+ agentId?: string;
9212
9854
  agentUri?: string;
9213
9855
  registryKey?: string;
9214
9856
  networkId?: string;
@@ -9239,8 +9881,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9239
9881
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9240
9882
  registry?: string;
9241
9883
  networkName?: string;
9242
- agentId?: string;
9243
9884
  estimatedCredits?: number;
9885
+ agentId?: string;
9244
9886
  agentUri?: string;
9245
9887
  registryKey?: string;
9246
9888
  networkId?: string;
@@ -9359,8 +10001,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9359
10001
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9360
10002
  registry?: string;
9361
10003
  networkName?: string;
9362
- agentId?: string;
9363
10004
  estimatedCredits?: number;
10005
+ agentId?: string;
9364
10006
  agentUri?: string;
9365
10007
  registryKey?: string;
9366
10008
  networkId?: string;
@@ -9392,8 +10034,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9392
10034
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9393
10035
  registry?: string;
9394
10036
  networkName?: string;
9395
- agentId?: string;
9396
10037
  estimatedCredits?: number;
10038
+ agentId?: string;
9397
10039
  agentUri?: string;
9398
10040
  registryKey?: string;
9399
10041
  networkId?: string;
@@ -9512,8 +10154,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9512
10154
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9513
10155
  registry?: string;
9514
10156
  networkName?: string;
9515
- agentId?: string;
9516
10157
  estimatedCredits?: number;
10158
+ agentId?: string;
9517
10159
  agentUri?: string;
9518
10160
  registryKey?: string;
9519
10161
  networkId?: string;
@@ -9545,8 +10187,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9545
10187
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9546
10188
  registry?: string;
9547
10189
  networkName?: string;
9548
- agentId?: string;
9549
10190
  estimatedCredits?: number;
10191
+ agentId?: string;
9550
10192
  agentUri?: string;
9551
10193
  registryKey?: string;
9552
10194
  networkId?: string;
@@ -9937,8 +10579,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9937
10579
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9938
10580
  registry?: string;
9939
10581
  networkName?: string;
9940
- agentId?: string;
9941
10582
  estimatedCredits?: number;
10583
+ agentId?: string;
9942
10584
  agentUri?: string;
9943
10585
  registryKey?: string;
9944
10586
  networkId?: string;
@@ -9969,8 +10611,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9969
10611
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9970
10612
  registry?: string;
9971
10613
  networkName?: string;
9972
- agentId?: string;
9973
10614
  estimatedCredits?: number;
10615
+ agentId?: string;
9974
10616
  agentUri?: string;
9975
10617
  registryKey?: string;
9976
10618
  networkId?: string;
@@ -10068,8 +10710,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10068
10710
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10069
10711
  registry?: string;
10070
10712
  networkName?: string;
10071
- agentId?: string;
10072
10713
  estimatedCredits?: number;
10714
+ agentId?: string;
10073
10715
  agentUri?: string;
10074
10716
  registryKey?: string;
10075
10717
  networkId?: string;
@@ -10100,8 +10742,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10100
10742
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10101
10743
  registry?: string;
10102
10744
  networkName?: string;
10103
- agentId?: string;
10104
10745
  estimatedCredits?: number;
10746
+ agentId?: string;
10105
10747
  agentUri?: string;
10106
10748
  registryKey?: string;
10107
10749
  networkId?: string;
@@ -10220,8 +10862,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10220
10862
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10221
10863
  registry?: string;
10222
10864
  networkName?: string;
10223
- agentId?: string;
10224
10865
  estimatedCredits?: number;
10866
+ agentId?: string;
10225
10867
  agentUri?: string;
10226
10868
  registryKey?: string;
10227
10869
  networkId?: string;
@@ -10253,8 +10895,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10253
10895
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10254
10896
  registry?: string;
10255
10897
  networkName?: string;
10256
- agentId?: string;
10257
10898
  estimatedCredits?: number;
10899
+ agentId?: string;
10258
10900
  agentUri?: string;
10259
10901
  registryKey?: string;
10260
10902
  networkId?: string;
@@ -10373,8 +11015,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10373
11015
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10374
11016
  registry?: string;
10375
11017
  networkName?: string;
10376
- agentId?: string;
10377
11018
  estimatedCredits?: number;
11019
+ agentId?: string;
10378
11020
  agentUri?: string;
10379
11021
  registryKey?: string;
10380
11022
  networkId?: string;
@@ -10406,8 +11048,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10406
11048
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10407
11049
  registry?: string;
10408
11050
  networkName?: string;
10409
- agentId?: string;
10410
11051
  estimatedCredits?: number;
11052
+ agentId?: string;
10411
11053
  agentUri?: string;
10412
11054
  registryKey?: string;
10413
11055
  networkId?: string;
@@ -10798,8 +11440,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10798
11440
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10799
11441
  registry?: string;
10800
11442
  networkName?: string;
10801
- agentId?: string;
10802
11443
  estimatedCredits?: number;
11444
+ agentId?: string;
10803
11445
  agentUri?: string;
10804
11446
  registryKey?: string;
10805
11447
  networkId?: string;
@@ -10830,8 +11472,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10830
11472
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10831
11473
  registry?: string;
10832
11474
  networkName?: string;
10833
- agentId?: string;
10834
11475
  estimatedCredits?: number;
11476
+ agentId?: string;
10835
11477
  agentUri?: string;
10836
11478
  registryKey?: string;
10837
11479
  networkId?: string;
@@ -10929,8 +11571,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10929
11571
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10930
11572
  registry?: string;
10931
11573
  networkName?: string;
10932
- agentId?: string;
10933
11574
  estimatedCredits?: number;
11575
+ agentId?: string;
10934
11576
  agentUri?: string;
10935
11577
  registryKey?: string;
10936
11578
  networkId?: string;
@@ -10961,8 +11603,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10961
11603
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10962
11604
  registry?: string;
10963
11605
  networkName?: string;
10964
- agentId?: string;
10965
11606
  estimatedCredits?: number;
11607
+ agentId?: string;
10966
11608
  agentUri?: string;
10967
11609
  registryKey?: string;
10968
11610
  networkId?: string;
@@ -11094,8 +11736,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
11094
11736
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
11095
11737
  registry?: string;
11096
11738
  networkName?: string;
11097
- agentId?: string;
11098
11739
  estimatedCredits?: number;
11740
+ agentId?: string;
11099
11741
  agentUri?: string;
11100
11742
  registryKey?: string;
11101
11743
  networkId?: string;
@@ -11127,8 +11769,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
11127
11769
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
11128
11770
  registry?: string;
11129
11771
  networkName?: string;
11130
- agentId?: string;
11131
11772
  estimatedCredits?: number;
11773
+ agentId?: string;
11132
11774
  agentUri?: string;
11133
11775
  registryKey?: string;
11134
11776
  networkId?: string;
@@ -11252,8 +11894,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
11252
11894
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
11253
11895
  registry?: string;
11254
11896
  networkName?: string;
11255
- agentId?: string;
11256
11897
  estimatedCredits?: number;
11898
+ agentId?: string;
11257
11899
  agentUri?: string;
11258
11900
  registryKey?: string;
11259
11901
  networkId?: string;
@@ -11285,8 +11927,8 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
11285
11927
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
11286
11928
  registry?: string;
11287
11929
  networkName?: string;
11288
- agentId?: string;
11289
11930
  estimatedCredits?: number;
11931
+ agentId?: string;
11290
11932
  agentUri?: string;
11291
11933
  registryKey?: string;
11292
11934
  networkId?: string;
@@ -15053,9 +15695,6 @@ declare const x402CreditPurchaseResponseSchema: z.ZodObject<{
15053
15695
  }, "strip", z.ZodTypeAny, {
15054
15696
  accountId?: string;
15055
15697
  success?: boolean;
15056
- balance?: number;
15057
- creditedCredits?: number;
15058
- usdAmount?: number;
15059
15698
  payment?: {
15060
15699
  payer?: string;
15061
15700
  requirement?: Record<string, JsonValue$1>;
@@ -15067,12 +15706,12 @@ declare const x402CreditPurchaseResponseSchema: z.ZodObject<{
15067
15706
  errorReason?: string;
15068
15707
  };
15069
15708
  };
15070
- }, {
15071
- accountId?: string;
15072
- success?: boolean;
15073
15709
  balance?: number;
15074
15710
  creditedCredits?: number;
15075
15711
  usdAmount?: number;
15712
+ }, {
15713
+ accountId?: string;
15714
+ success?: boolean;
15076
15715
  payment?: {
15077
15716
  payer?: string;
15078
15717
  requirement?: Record<string, JsonValue$1>;
@@ -15084,6 +15723,9 @@ declare const x402CreditPurchaseResponseSchema: z.ZodObject<{
15084
15723
  errorReason?: string;
15085
15724
  };
15086
15725
  };
15726
+ balance?: number;
15727
+ creditedCredits?: number;
15728
+ usdAmount?: number;
15087
15729
  }>;
15088
15730
  declare const x402MinimumsResponseSchema: z.ZodObject<{
15089
15731
  minimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16178,17 +16820,17 @@ declare const adapterDetailsResponseSchema: z.ZodObject<{
16178
16820
  notes: z.ZodOptional<z.ZodString>;
16179
16821
  }, "strip", z.ZodTypeAny, {
16180
16822
  transport?: string;
16181
- supportsChat?: boolean;
16182
16823
  delivery?: string;
16183
16824
  streaming?: boolean;
16184
16825
  requiresAuth?: string[];
16826
+ supportsChat?: boolean;
16185
16827
  notes?: string;
16186
16828
  }, {
16187
16829
  transport?: string;
16188
- supportsChat?: boolean;
16189
16830
  delivery?: string;
16190
16831
  streaming?: boolean;
16191
16832
  requiresAuth?: string[];
16833
+ supportsChat?: boolean;
16192
16834
  notes?: string;
16193
16835
  }>>;
16194
16836
  capabilities: z.ZodObject<{
@@ -16232,10 +16874,10 @@ declare const adapterDetailsResponseSchema: z.ZodObject<{
16232
16874
  supportedProtocols?: string[];
16233
16875
  chatProfile?: {
16234
16876
  transport?: string;
16235
- supportsChat?: boolean;
16236
16877
  delivery?: string;
16237
16878
  streaming?: boolean;
16238
16879
  requiresAuth?: string[];
16880
+ supportsChat?: boolean;
16239
16881
  notes?: string;
16240
16882
  };
16241
16883
  priority?: number;
@@ -16258,10 +16900,10 @@ declare const adapterDetailsResponseSchema: z.ZodObject<{
16258
16900
  supportedProtocols?: string[];
16259
16901
  chatProfile?: {
16260
16902
  transport?: string;
16261
- supportsChat?: boolean;
16262
16903
  delivery?: string;
16263
16904
  streaming?: boolean;
16264
16905
  requiresAuth?: string[];
16906
+ supportsChat?: boolean;
16265
16907
  notes?: string;
16266
16908
  };
16267
16909
  priority?: number;
@@ -16286,10 +16928,10 @@ declare const adapterDetailsResponseSchema: z.ZodObject<{
16286
16928
  supportedProtocols?: string[];
16287
16929
  chatProfile?: {
16288
16930
  transport?: string;
16289
- supportsChat?: boolean;
16290
16931
  delivery?: string;
16291
16932
  streaming?: boolean;
16292
16933
  requiresAuth?: string[];
16934
+ supportsChat?: boolean;
16293
16935
  notes?: string;
16294
16936
  };
16295
16937
  priority?: number;
@@ -16314,10 +16956,10 @@ declare const adapterDetailsResponseSchema: z.ZodObject<{
16314
16956
  supportedProtocols?: string[];
16315
16957
  chatProfile?: {
16316
16958
  transport?: string;
16317
- supportsChat?: boolean;
16318
16959
  delivery?: string;
16319
16960
  streaming?: boolean;
16320
16961
  requiresAuth?: string[];
16962
+ supportsChat?: boolean;
16321
16963
  notes?: string;
16322
16964
  };
16323
16965
  priority?: number;
@@ -37732,6 +38374,7 @@ interface RegistryBrokerClientOptions {
37732
38374
  encryption?: ClientEncryptionOptions;
37733
38375
  }
37734
38376
  type ChatHistoryEntry = z.infer<typeof createSessionResponseSchema>['history'][number];
38377
+ type ChatTimelineEntry = z.infer<typeof chatTimelineEntrySchema>;
37735
38378
  type CipherEnvelope = NonNullable<ChatHistoryEntry['cipherEnvelope']>;
37736
38379
  type CipherEnvelopeRecipient = CipherEnvelope['recipients'][number];
37737
38380
  interface EphemeralKeyPair {
@@ -37981,7 +38624,13 @@ type RegistriesResponse = z.infer<typeof registriesResponseSchema>;
37981
38624
  type PopularSearchesResponse = z.infer<typeof popularResponseSchema>;
37982
38625
  type ResolvedAgentResponse = z.infer<typeof resolveResponseSchema>;
37983
38626
  type CreateSessionResponse = z.infer<typeof createSessionResponseSchema>;
38627
+ type ChatSessionResumeResponse = z.infer<typeof chatSessionResumeResponseSchema>;
37984
38628
  type SendMessageResponse = z.infer<typeof sendMessageResponseSchema>;
38629
+ type ChatReadinessResponse = z.infer<typeof chatReadinessResponseSchema>;
38630
+ type ChatSessionEndResponse = z.infer<typeof chatSessionEndResponseSchema>;
38631
+ type ChatRouteSummary = z.infer<typeof chatRouteSummarySchema>;
38632
+ type ChatPaymentState = z.infer<typeof chatPaymentStateSchema>;
38633
+ type ChatRetryResponse = SendMessageResponse;
37985
38634
  type SkillSecurityBreakdownResponse = z.infer<typeof skillSecurityBreakdownResponseSchema>;
37986
38635
  type ChatHistorySnapshotResponse = z.infer<typeof chatHistorySnapshotResponseSchema>;
37987
38636
  type ChatHistoryCompactionResponse = z.infer<typeof chatHistoryCompactionResponseSchema>;
@@ -38275,12 +38924,28 @@ type CreateSessionBasePayload = {
38275
38924
  historyTtlSeconds?: number;
38276
38925
  encryptionRequested?: boolean;
38277
38926
  senderUaid?: string;
38927
+ visibility?: 'private' | 'public';
38928
+ idempotencyKey?: string;
38278
38929
  };
38279
38930
  type CreateSessionRequestPayload = (CreateSessionBasePayload & {
38280
38931
  uaid: string;
38281
38932
  }) | (CreateSessionBasePayload & {
38282
38933
  agentUrl: string;
38283
38934
  });
38935
+ type ChatReadinessRequestPayload = {
38936
+ uaid: string;
38937
+ agentUrl?: never;
38938
+ forceRefresh?: boolean;
38939
+ } | {
38940
+ agentUrl: string;
38941
+ uaid?: never;
38942
+ forceRefresh?: boolean;
38943
+ };
38944
+ interface ChatRetryRequestPayload extends SendMessageBasePayload {
38945
+ sessionId: string;
38946
+ uaid?: string;
38947
+ agentUrl?: string;
38948
+ }
38284
38949
  interface CompactHistoryRequestPayload {
38285
38950
  sessionId: string;
38286
38951
  preserveEntries?: number;
@@ -38294,6 +38959,9 @@ interface SendMessageBasePayload {
38294
38959
  auth?: AgentAuthConfig;
38295
38960
  cipherEnvelope?: CipherEnvelope;
38296
38961
  encryption?: SendMessageEncryptionOptions;
38962
+ idempotencyKey?: string;
38963
+ senderUaid?: string;
38964
+ transport?: 'xmtp' | 'moltbook' | 'http' | 'a2a' | 'acp';
38297
38965
  }
38298
38966
  interface StartEncryptedChatSessionOptions {
38299
38967
  uaid: string;
@@ -38488,9 +39156,13 @@ interface ConversationContextState {
38488
39156
 
38489
39157
  interface RegistryBrokerChatApi {
38490
39158
  start: (options: StartChatOptions) => Promise<ChatConversationHandle>;
39159
+ readiness: (payload: ChatReadinessRequestPayload) => Promise<ChatReadinessResponse>;
38491
39160
  createSession: (payload: CreateSessionRequestPayload) => Promise<CreateSessionResponse>;
39161
+ resumeSession: (sessionId: string) => Promise<ChatSessionResumeResponse>;
38492
39162
  sendMessage: (payload: SendMessageRequestPayload) => Promise<SendMessageResponse>;
38493
- endSession: (sessionId: string) => Promise<void>;
39163
+ retryMessage: (messageId: string, payload: ChatRetryRequestPayload) => Promise<ChatRetryResponse>;
39164
+ cancelSession: (sessionId: string) => Promise<ChatSessionEndResponse>;
39165
+ endSession: (sessionId: string) => Promise<ChatSessionEndResponse>;
38494
39166
  getHistory: (sessionId: string, options?: ChatHistoryFetchOptions) => Promise<ChatHistorySnapshotWithDecryptedEntries>;
38495
39167
  compactHistory: (payload: CompactHistoryRequestPayload) => Promise<ChatHistoryCompactionResponse>;
38496
39168
  getEncryptionStatus: (sessionId: string) => Promise<SessionEncryptionStatusResponse>;
@@ -38786,6 +39458,8 @@ declare class RegistryBrokerClient {
38786
39458
  resolveDecryptionContext(sessionId: string, options?: ChatHistoryFetchOptions): ConversationContextState | null;
38787
39459
  decryptHistoryEntryFromContext(_sessionId: string, entry: ChatHistoryEntry, context: ConversationContextState): string | null;
38788
39460
  createSession(payload: CreateSessionRequestPayload, allowHistoryAutoTopUp?: boolean): Promise<CreateSessionResponse>;
39461
+ resumeSession(sessionId: string): Promise<ChatSessionResumeResponse>;
39462
+ checkChatReadiness(payload: ChatReadinessRequestPayload): Promise<ChatReadinessResponse>;
38789
39463
  startChat(options: StartChatOptions): Promise<ChatConversationHandle>;
38790
39464
  startConversation(options: StartConversationOptions): Promise<ChatConversationHandle>;
38791
39465
  acceptConversation(options: AcceptConversationOptions): Promise<ChatConversationHandle>;
@@ -38793,7 +39467,9 @@ declare class RegistryBrokerClient {
38793
39467
  fetchEncryptionStatus(sessionId: string): Promise<SessionEncryptionStatusResponse>;
38794
39468
  postEncryptionHandshake(sessionId: string, payload: EncryptionHandshakeSubmissionPayload): Promise<EncryptionHandshakeRecord>;
38795
39469
  sendMessage(payload: SendMessageRequestPayload): Promise<SendMessageResponse>;
38796
- endSession(sessionId: string): Promise<void>;
39470
+ retryMessage(messageId: string, payload: ChatRetryRequestPayload): Promise<ChatRetryResponse>;
39471
+ cancelSession(sessionId: string): Promise<ChatSessionEndResponse>;
39472
+ endSession(sessionId: string): Promise<ChatSessionEndResponse>;
38797
39473
  createPlaintextConversationHandle(sessionId: string, summary: SessionEncryptionSummary | null, defaultAuth?: AgentAuthConfig, context?: {
38798
39474
  uaid?: string;
38799
39475
  agentUrl?: string;
@@ -38899,4 +39575,4 @@ declare const buildJobStatusMessage: (input: {
38899
39575
  jobId: number;
38900
39576
  }) => string;
38901
39577
 
38902
- export { type AcceptConversationOptions, type AcceptEncryptedChatSessionOptions, type AdapterDetailsResponse, type AdapterRegistryAdaptersResponse, type AdapterRegistryCategoriesResponse, type AdapterRegistryCategory, type AdapterRegistryCreateCategoryResponse, type AdapterRegistrySubmissionStatusResponse, type AdapterRegistrySubmitAdapterAcceptedResponse, type AdapterRegistrySubmitAdapterResponse, type AdaptersResponse, type AdditionalRegistryCatalogResponse, type AdditionalRegistryDescriptor, type AdditionalRegistryNetworkDescriptor, type AgentAuthConfig, type AgentAuthType, type AgentFeedbackEligibilityRequest, type AgentFeedbackEligibilityResponse, type AgentFeedbackEntriesIndexResponse, type AgentFeedbackIndexResponse, type AgentFeedbackQuery, type AgentFeedbackResponse, type AgentFeedbackSubmissionRequest, type AgentFeedbackSubmissionResponse, type AgentProfile, type AgentRegistrationRequest, type AgentRegistrationRequestMetadata, type AgentSearchHit, type AutoRegisterEncryptionKeyOptions, type AutoTopUpOptions, type CanonicalLedgerNetwork, type ChatConversationHandle, type ChatHistoryCompactionResponse, type ChatHistoryEntry, type ChatHistoryFetchOptions, type ChatHistorySnapshotResponse, type ChatHistorySnapshotWithDecryptedEntries, type CipherEnvelope, type CipherEnvelopeRecipient, type ClientEncryptionOptions, type CompactHistoryRequestPayload, type ConversationEncryptionOptions, type ConversationMode, type CreateAdapterRegistryCategoryRequest, type CreateSessionRequestPayload, type CreateSessionResponse, type CreditBalanceResponse, type CreditProviderSummary, type CreditProvidersResponse, type CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DelegationOpportunity, type DelegationPlanCandidate, type DelegationPlanFilter, type DelegationPlanRequest, type DelegationPlanResponse, type DelegationWorkspaceContext, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, GUARD_CANONICAL_PATH_PREFIX, GUARD_COMPAT_PATH_PREFIX, type GenerateEncryptionKeyPairOptions, type GuardAbomResponse, type GuardAbomSummary, type GuardAlertPreferences, type GuardAlertPreferencesUpdate, type GuardArtifactTimelineResponse, type GuardBalanceResponse, type GuardBucketBalance, type GuardContractVersion, type GuardDevice, type GuardDeviceListResponse, type GuardEntitlements, type GuardExceptionItem, type GuardExceptionListResponse, type GuardExceptionScope, type GuardExceptionSource, type GuardExceptionUpsert, type GuardExportSignature, type GuardFeedItem, type GuardFeedResponse, type GuardFeedSummary, type GuardHistoryArtifact, type GuardInventoryArtifact, type GuardInventoryDiffEntry, type GuardInventoryDiffResponse, type GuardInventoryResponse, type GuardOverviewResponse, type GuardPainSignal, type GuardPainSignalAggregate, type GuardPainSignalAggregateResponse, type GuardPainSignalIngestItem, type GuardPainSignalListResponse, type GuardPlanId, type GuardPolicy, type GuardPreflightEvidence, type GuardPreflightRequest, type GuardPreflightVerdictResponse, type GuardPrincipal, type GuardReceipt, type GuardReceiptExportResponse, type GuardReceiptExportSummary, type GuardReceiptHistoryResponse, type GuardReceiptSyncPayload, type GuardReceiptSyncResponse, type GuardRevocationResponse, type GuardSessionResponse, type GuardTeamPolicyAuditItem, type GuardTeamPolicyPack, type GuardTeamPolicyPackUpdate, type GuardTimelineEvent, type GuardTrustByHashResponse, type GuardTrustMatch, type GuardTrustResolveQuery, type GuardTrustResolveResponse, type GuardWatchlistItem, type GuardWatchlistLookupResponse, type GuardWatchlistResponse, type GuardWatchlistUpsert, HOL_CHAT_PROTOCOL_ID, type HbarPurchaseIntentRequest, type HbarPurchaseIntentResponse, type HistoryAutoTopUpOptions, type HolChatOp, type HolChatOpBase, type HolChatOpName, type InitializeAgentClientOptions, type InitializedAgentClient, type JsonObject, type JsonPrimitive, type JsonValue, type LedgerAuthenticationLogger, type LedgerAuthenticationOptions, type LedgerAuthenticationSignerResult, type LedgerChallengeRequest, type LedgerChallengeResponse, type LedgerCredentialAuthOptions, type LedgerVerifyRequest, type LedgerVerifyResponse, type MetricsSummaryResponse, type MoltbookOwnerRegistrationUpdateRequest, type MoltbookOwnerRegistrationUpdateResponse, type PopularSearchesResponse, type PrivateKeySignerOptions, type ProtocolDetectionMessage, type ProtocolsResponse, type RecipientIdentity, type RegisterAgentOptions, type RegisterAgentPartialResponse, type RegisterAgentPendingResponse, type RegisterAgentQuoteResponse, type RegisterAgentResponse, type RegisterAgentSuccessResponse, type RegisterEncryptionKeyPayload, type RegisterEncryptionKeyResponse, type RegisterStatusResponse, type RegistrationProgressAdditionalEntry, type RegistrationProgressRecord, type RegistrationProgressResponse, type RegistrationProgressWaitOptions, type RegistriesResponse, RegistryBrokerClient, type RegistryBrokerClientOptions, RegistryBrokerError, RegistryBrokerParseError, type RegistrySearchByNamespaceResponse, type RegistryStatsResponse, type ResolvedAgentResponse, type SearchFacetsResponse, type SearchParams, type SearchResult, type SearchStatusResponse, type SendMessageBasePayload, type SendMessageEncryptionOptions, type SendMessageRequestPayload, type SendMessageResponse, type SessionEncryptionStatusResponse, type SessionEncryptionSummary, type SharedSecretInput, type SkillBadgeMetric, type SkillBadgeQuery, type SkillBadgeResponse, type SkillBadgeStyle, type SkillCatalogChannel, type SkillCatalogItem, type SkillCatalogQueryOptions, type SkillCatalogResponse, type SkillCatalogSortBy, type SkillCatalogVersionSummary, type SkillConversionSignalsResponse, type SkillDeprecationRecord, type SkillDeprecationSetRequest, type SkillDeprecationsResponse, type SkillInstallArtifactDescriptor, type SkillInstallBadgeDescriptor, type SkillInstallCopyTelemetryRequest, type SkillInstallCopyTelemetryResponse, type SkillInstallResolverDescriptor, type SkillInstallResponse, type SkillInstallShareDescriptor, type SkillInstallSnippetSet, type SkillListOptions, type SkillPreviewByRepoRequest, type SkillPreviewLookupRequest, type SkillPreviewLookupResponse, type SkillPreviewRecord, type SkillPreviewReport, type SkillPreviewSuggestedNextStep, type SkillQuotePreviewRange, type SkillQuotePreviewRequest, type SkillQuotePreviewResponse, type SkillRecommendedVersionResponse, type SkillRecommendedVersionSetRequest, type SkillRegistryCategoriesResponse, type SkillRegistryConfigResponse, type SkillRegistryFileDescriptor, type SkillRegistryFileInput, type SkillRegistryFileRole, type SkillRegistryJobStatusResponse, type SkillRegistryListResponse, type SkillRegistryMineResponse, type SkillRegistryMyListResponse, type SkillRegistryOwnershipResponse, type SkillRegistryPublishRequest, type SkillRegistryPublishResponse, type SkillRegistryPublishSummary, type SkillRegistryQuoteRequest, type SkillRegistryQuoteResponse, type SkillRegistryTagsResponse, type SkillRegistryVersionsResponse, type SkillRegistryVoteRequest, type SkillRegistryVoteStatusResponse, type SkillResolverManifestResponse, type SkillSecurityBreakdownRequest, type SkillSecurityBreakdownResponse, type SkillStatusChecks, type SkillStatusNextStep, type SkillStatusPreviewMetadata, type SkillStatusProvenanceSignals, type SkillStatusRequest, type SkillStatusResponse, type SkillStatusVerificationSignals, type SkillTrustTier, type SkillVerificationDomainProofChallengeRequest, type SkillVerificationDomainProofChallengeResponse, type SkillVerificationDomainProofVerifyRequest, type SkillVerificationDomainProofVerifyResponse, type SkillVerificationRequest, type SkillVerificationRequestCreateRequest, type SkillVerificationRequestCreateResponse, type SkillVerificationStatusResponse, type SkillVerificationTier, type StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type UploadSkillPreviewFromGithubOidcRequest, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type VerificationChallengeDetailsResponse, type VerificationChallengeResponse, type VerificationDnsStatusQuery, type VerificationDnsStatusResponse, type VerificationDnsVerifyRequest, type VerificationOwnershipResponse, type VerificationStatusResponse, type VerificationVerifyResponse, type VerificationVerifySenderResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, buildJobStatusMessage, buildPaymentApproveMessage, buildPaymentDeclineMessage, canonicalizeLedgerNetwork, closeUaidConnection, createPrivateKeySigner, createPrivateKeySignerAsync, dashboardStats, getRegistrationProgress, getRegistrationQuote, getUaidConnectionStatus, isHolChatOp, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse, parseHolChatOps, registerAgent, resolveUaid, updateAgent, validateUaid, waitForRegistrationCompletion };
39578
+ export { type AcceptConversationOptions, type AcceptEncryptedChatSessionOptions, type AdapterDetailsResponse, type AdapterRegistryAdaptersResponse, type AdapterRegistryCategoriesResponse, type AdapterRegistryCategory, type AdapterRegistryCreateCategoryResponse, type AdapterRegistrySubmissionStatusResponse, type AdapterRegistrySubmitAdapterAcceptedResponse, type AdapterRegistrySubmitAdapterResponse, type AdaptersResponse, type AdditionalRegistryCatalogResponse, type AdditionalRegistryDescriptor, type AdditionalRegistryNetworkDescriptor, type AgentAuthConfig, type AgentAuthType, type AgentFeedbackEligibilityRequest, type AgentFeedbackEligibilityResponse, type AgentFeedbackEntriesIndexResponse, type AgentFeedbackIndexResponse, type AgentFeedbackQuery, type AgentFeedbackResponse, type AgentFeedbackSubmissionRequest, type AgentFeedbackSubmissionResponse, type AgentProfile, type AgentRegistrationRequest, type AgentRegistrationRequestMetadata, type AgentSearchHit, type AutoRegisterEncryptionKeyOptions, type AutoTopUpOptions, type CanonicalLedgerNetwork, type ChatConversationHandle, type ChatHistoryCompactionResponse, type ChatHistoryEntry, type ChatHistoryFetchOptions, type ChatHistorySnapshotResponse, type ChatHistorySnapshotWithDecryptedEntries, type ChatPaymentState, type ChatReadinessRequestPayload, type ChatReadinessResponse, type ChatRetryRequestPayload, type ChatRetryResponse, type ChatRouteSummary, type ChatSessionEndResponse, type ChatSessionResumeResponse, type ChatTimelineEntry, type CipherEnvelope, type CipherEnvelopeRecipient, type ClientEncryptionOptions, type CompactHistoryRequestPayload, type ConversationEncryptionOptions, type ConversationMode, type CreateAdapterRegistryCategoryRequest, type CreateSessionRequestPayload, type CreateSessionResponse, type CreditBalanceResponse, type CreditProviderSummary, type CreditProvidersResponse, type CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DelegationOpportunity, type DelegationPlanCandidate, type DelegationPlanFilter, type DelegationPlanRequest, type DelegationPlanResponse, type DelegationWorkspaceContext, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, GUARD_CANONICAL_PATH_PREFIX, GUARD_COMPAT_PATH_PREFIX, type GenerateEncryptionKeyPairOptions, type GuardAbomResponse, type GuardAbomSummary, type GuardAlertPreferences, type GuardAlertPreferencesUpdate, type GuardArtifactTimelineResponse, type GuardBalanceResponse, type GuardBucketBalance, type GuardContractVersion, type GuardDevice, type GuardDeviceListResponse, type GuardEntitlements, type GuardExceptionItem, type GuardExceptionListResponse, type GuardExceptionScope, type GuardExceptionSource, type GuardExceptionUpsert, type GuardExportSignature, type GuardFeedItem, type GuardFeedResponse, type GuardFeedSummary, type GuardHistoryArtifact, type GuardInventoryArtifact, type GuardInventoryDiffEntry, type GuardInventoryDiffResponse, type GuardInventoryResponse, type GuardOverviewResponse, type GuardPainSignal, type GuardPainSignalAggregate, type GuardPainSignalAggregateResponse, type GuardPainSignalIngestItem, type GuardPainSignalListResponse, type GuardPlanId, type GuardPolicy, type GuardPreflightEvidence, type GuardPreflightRequest, type GuardPreflightVerdictResponse, type GuardPrincipal, type GuardReceipt, type GuardReceiptExportResponse, type GuardReceiptExportSummary, type GuardReceiptHistoryResponse, type GuardReceiptSyncPayload, type GuardReceiptSyncResponse, type GuardRevocationResponse, type GuardSessionResponse, type GuardTeamPolicyAuditItem, type GuardTeamPolicyPack, type GuardTeamPolicyPackUpdate, type GuardTimelineEvent, type GuardTrustByHashResponse, type GuardTrustMatch, type GuardTrustResolveQuery, type GuardTrustResolveResponse, type GuardWatchlistItem, type GuardWatchlistLookupResponse, type GuardWatchlistResponse, type GuardWatchlistUpsert, HOL_CHAT_PROTOCOL_ID, type HbarPurchaseIntentRequest, type HbarPurchaseIntentResponse, type HistoryAutoTopUpOptions, type HolChatOp, type HolChatOpBase, type HolChatOpName, type InitializeAgentClientOptions, type InitializedAgentClient, type JsonObject, type JsonPrimitive, type JsonValue, type LedgerAuthenticationLogger, type LedgerAuthenticationOptions, type LedgerAuthenticationSignerResult, type LedgerChallengeRequest, type LedgerChallengeResponse, type LedgerCredentialAuthOptions, type LedgerVerifyRequest, type LedgerVerifyResponse, type MetricsSummaryResponse, type MoltbookOwnerRegistrationUpdateRequest, type MoltbookOwnerRegistrationUpdateResponse, type PopularSearchesResponse, type PrivateKeySignerOptions, type ProtocolDetectionMessage, type ProtocolsResponse, type RecipientIdentity, type RegisterAgentOptions, type RegisterAgentPartialResponse, type RegisterAgentPendingResponse, type RegisterAgentQuoteResponse, type RegisterAgentResponse, type RegisterAgentSuccessResponse, type RegisterEncryptionKeyPayload, type RegisterEncryptionKeyResponse, type RegisterStatusResponse, type RegistrationProgressAdditionalEntry, type RegistrationProgressRecord, type RegistrationProgressResponse, type RegistrationProgressWaitOptions, type RegistriesResponse, RegistryBrokerClient, type RegistryBrokerClientOptions, RegistryBrokerError, RegistryBrokerParseError, type RegistrySearchByNamespaceResponse, type RegistryStatsResponse, type ResolvedAgentResponse, type SearchFacetsResponse, type SearchParams, type SearchResult, type SearchStatusResponse, type SendMessageBasePayload, type SendMessageEncryptionOptions, type SendMessageRequestPayload, type SendMessageResponse, type SessionEncryptionStatusResponse, type SessionEncryptionSummary, type SharedSecretInput, type SkillBadgeMetric, type SkillBadgeQuery, type SkillBadgeResponse, type SkillBadgeStyle, type SkillCatalogChannel, type SkillCatalogItem, type SkillCatalogQueryOptions, type SkillCatalogResponse, type SkillCatalogSortBy, type SkillCatalogVersionSummary, type SkillConversionSignalsResponse, type SkillDeprecationRecord, type SkillDeprecationSetRequest, type SkillDeprecationsResponse, type SkillInstallArtifactDescriptor, type SkillInstallBadgeDescriptor, type SkillInstallCopyTelemetryRequest, type SkillInstallCopyTelemetryResponse, type SkillInstallResolverDescriptor, type SkillInstallResponse, type SkillInstallShareDescriptor, type SkillInstallSnippetSet, type SkillListOptions, type SkillPreviewByRepoRequest, type SkillPreviewLookupRequest, type SkillPreviewLookupResponse, type SkillPreviewRecord, type SkillPreviewReport, type SkillPreviewSuggestedNextStep, type SkillQuotePreviewRange, type SkillQuotePreviewRequest, type SkillQuotePreviewResponse, type SkillRecommendedVersionResponse, type SkillRecommendedVersionSetRequest, type SkillRegistryCategoriesResponse, type SkillRegistryConfigResponse, type SkillRegistryFileDescriptor, type SkillRegistryFileInput, type SkillRegistryFileRole, type SkillRegistryJobStatusResponse, type SkillRegistryListResponse, type SkillRegistryMineResponse, type SkillRegistryMyListResponse, type SkillRegistryOwnershipResponse, type SkillRegistryPublishRequest, type SkillRegistryPublishResponse, type SkillRegistryPublishSummary, type SkillRegistryQuoteRequest, type SkillRegistryQuoteResponse, type SkillRegistryTagsResponse, type SkillRegistryVersionsResponse, type SkillRegistryVoteRequest, type SkillRegistryVoteStatusResponse, type SkillResolverManifestResponse, type SkillSecurityBreakdownRequest, type SkillSecurityBreakdownResponse, type SkillStatusChecks, type SkillStatusNextStep, type SkillStatusPreviewMetadata, type SkillStatusProvenanceSignals, type SkillStatusRequest, type SkillStatusResponse, type SkillStatusVerificationSignals, type SkillTrustTier, type SkillVerificationDomainProofChallengeRequest, type SkillVerificationDomainProofChallengeResponse, type SkillVerificationDomainProofVerifyRequest, type SkillVerificationDomainProofVerifyResponse, type SkillVerificationRequest, type SkillVerificationRequestCreateRequest, type SkillVerificationRequestCreateResponse, type SkillVerificationStatusResponse, type SkillVerificationTier, type StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type UploadSkillPreviewFromGithubOidcRequest, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type VerificationChallengeDetailsResponse, type VerificationChallengeResponse, type VerificationDnsStatusQuery, type VerificationDnsStatusResponse, type VerificationDnsVerifyRequest, type VerificationOwnershipResponse, type VerificationStatusResponse, type VerificationVerifyResponse, type VerificationVerifySenderResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, buildJobStatusMessage, buildPaymentApproveMessage, buildPaymentDeclineMessage, canonicalizeLedgerNetwork, closeUaidConnection, createPrivateKeySigner, createPrivateKeySignerAsync, dashboardStats, getRegistrationProgress, getRegistrationQuote, getUaidConnectionStatus, isHolChatOp, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse, parseHolChatOps, registerAgent, resolveUaid, updateAgent, validateUaid, waitForRegistrationCompletion };