@hashgraphonline/standards-sdk 0.1.181 → 0.1.182

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.
Files changed (112) hide show
  1. package/dist/browser/services/registry-broker/client/base-client.d.ts +5 -2
  2. package/dist/browser/services/registry-broker/client/base-client.d.ts.map +1 -1
  3. package/dist/browser/services/registry-broker/client/chat.d.ts +9 -3
  4. package/dist/browser/services/registry-broker/client/chat.d.ts.map +1 -1
  5. package/dist/browser/services/registry-broker/schemas.d.ts +471 -108
  6. package/dist/browser/services/registry-broker/schemas.d.ts.map +1 -1
  7. package/dist/browser/services/registry-broker/types.d.ts +22 -1
  8. package/dist/browser/services/registry-broker/types.d.ts.map +1 -1
  9. package/dist/browser/standards-sdk.browser.js +141 -3
  10. package/dist/browser/standards-sdk.browser.js.map +1 -1
  11. package/dist/browser-root/services/registry-broker/client/base-client.d.ts +5 -2
  12. package/dist/browser-root/services/registry-broker/client/base-client.d.ts.map +1 -1
  13. package/dist/browser-root/services/registry-broker/client/chat.d.ts +9 -3
  14. package/dist/browser-root/services/registry-broker/client/chat.d.ts.map +1 -1
  15. package/dist/browser-root/services/registry-broker/schemas.d.ts +471 -108
  16. package/dist/browser-root/services/registry-broker/schemas.d.ts.map +1 -1
  17. package/dist/browser-root/services/registry-broker/types.d.ts +22 -1
  18. package/dist/browser-root/services/registry-broker/types.d.ts.map +1 -1
  19. package/dist/browser-root/standards-sdk.root-browser.js +313 -6
  20. package/dist/browser-root/standards-sdk.root-browser.js.map +1 -1
  21. package/dist/cjs/services/registry-broker/client/base-client.d.ts +5 -2
  22. package/dist/cjs/services/registry-broker/client/base-client.d.ts.map +1 -1
  23. package/dist/cjs/services/registry-broker/client/chat.d.ts +9 -3
  24. package/dist/cjs/services/registry-broker/client/chat.d.ts.map +1 -1
  25. package/dist/cjs/services/registry-broker/schemas.d.ts +587 -224
  26. package/dist/cjs/services/registry-broker/schemas.d.ts.map +1 -1
  27. package/dist/cjs/services/registry-broker/types.d.ts +22 -1
  28. package/dist/cjs/services/registry-broker/types.d.ts.map +1 -1
  29. package/dist/cjs/standards-sdk.cjs +1 -1
  30. package/dist/cjs/standards-sdk.cjs.map +1 -1
  31. package/dist/es/services/registry-broker/client/base-client.d.ts +5 -2
  32. package/dist/es/services/registry-broker/client/base-client.d.ts.map +1 -1
  33. package/dist/es/services/registry-broker/client/chat.d.ts +9 -3
  34. package/dist/es/services/registry-broker/client/chat.d.ts.map +1 -1
  35. package/dist/es/services/registry-broker/schemas.d.ts +587 -224
  36. package/dist/es/services/registry-broker/schemas.d.ts.map +1 -1
  37. package/dist/es/services/registry-broker/types.d.ts +22 -1
  38. package/dist/es/services/registry-broker/types.d.ts.map +1 -1
  39. package/dist/es/standards-sdk.es116.js +1 -1
  40. package/dist/es/standards-sdk.es121.js +1 -1
  41. package/dist/es/standards-sdk.es127.js +1 -1
  42. package/dist/es/standards-sdk.es128.js +5 -5
  43. package/dist/es/standards-sdk.es138.js +1 -1
  44. package/dist/es/standards-sdk.es139.js +1 -1
  45. package/dist/es/standards-sdk.es140.js +5 -5
  46. package/dist/es/standards-sdk.es142.js +3 -3
  47. package/dist/es/standards-sdk.es143.js +1 -1
  48. package/dist/es/standards-sdk.es145.js +13 -4
  49. package/dist/es/standards-sdk.es145.js.map +1 -1
  50. package/dist/es/standards-sdk.es147.js +1 -1
  51. package/dist/es/standards-sdk.es148.js.map +1 -1
  52. package/dist/es/standards-sdk.es149.js +1 -1
  53. package/dist/es/standards-sdk.es16.js +1 -1
  54. package/dist/es/standards-sdk.es161.js +2488 -12476
  55. package/dist/es/standards-sdk.es161.js.map +1 -1
  56. package/dist/es/standards-sdk.es162.js +12461 -2331
  57. package/dist/es/standards-sdk.es162.js.map +1 -1
  58. package/dist/es/standards-sdk.es164.js +47 -102
  59. package/dist/es/standards-sdk.es164.js.map +1 -1
  60. package/dist/es/standards-sdk.es165.js +96 -58
  61. package/dist/es/standards-sdk.es165.js.map +1 -1
  62. package/dist/es/standards-sdk.es166.js +73 -48
  63. package/dist/es/standards-sdk.es166.js.map +1 -1
  64. package/dist/es/standards-sdk.es167.js +180 -61
  65. package/dist/es/standards-sdk.es167.js.map +1 -1
  66. package/dist/es/standards-sdk.es168.js +160 -188
  67. package/dist/es/standards-sdk.es168.js.map +1 -1
  68. package/dist/es/standards-sdk.es169.js +289 -139
  69. package/dist/es/standards-sdk.es169.js.map +1 -1
  70. package/dist/es/standards-sdk.es170.js +298 -274
  71. package/dist/es/standards-sdk.es170.js.map +1 -1
  72. package/dist/es/standards-sdk.es171.js +369 -262
  73. package/dist/es/standards-sdk.es171.js.map +1 -1
  74. package/dist/es/standards-sdk.es172.js +194 -316
  75. package/dist/es/standards-sdk.es172.js.map +1 -1
  76. package/dist/es/standards-sdk.es173.js +64 -319
  77. package/dist/es/standards-sdk.es173.js.map +1 -1
  78. package/dist/es/standards-sdk.es174.js +664 -68
  79. package/dist/es/standards-sdk.es174.js.map +1 -1
  80. package/dist/es/standards-sdk.es175.js +68 -667
  81. package/dist/es/standards-sdk.es175.js.map +1 -1
  82. package/dist/es/standards-sdk.es176.js +1 -1
  83. package/dist/es/standards-sdk.es177.js +167 -4
  84. package/dist/es/standards-sdk.es177.js.map +1 -1
  85. package/dist/es/standards-sdk.es179.js +2 -2
  86. package/dist/es/standards-sdk.es18.js +2 -2
  87. package/dist/es/standards-sdk.es180.js +1 -1
  88. package/dist/es/standards-sdk.es181.js +1 -1
  89. package/dist/es/standards-sdk.es182.js +2 -2
  90. package/dist/es/standards-sdk.es183.js +1 -1
  91. package/dist/es/standards-sdk.es184.js +1 -1
  92. package/dist/es/standards-sdk.es185.js +1 -1
  93. package/dist/es/standards-sdk.es19.js +2 -2
  94. package/dist/es/standards-sdk.es27.js +2 -2
  95. package/dist/es/standards-sdk.es30.js +1 -1
  96. package/dist/es/standards-sdk.es31.js +1 -1
  97. package/dist/es/standards-sdk.es35.js +2 -2
  98. package/dist/es/standards-sdk.es36.js +1 -1
  99. package/dist/es/standards-sdk.es37.js +1 -1
  100. package/dist/es/standards-sdk.es56.js +1 -1
  101. package/dist/es/standards-sdk.es59.js +1 -1
  102. package/dist/es/standards-sdk.es60.js +1 -1
  103. package/dist/es/standards-sdk.es62.js +1 -1
  104. package/dist/es/standards-sdk.es63.js +2 -2
  105. package/dist/es/standards-sdk.es64.js +1 -1
  106. package/dist/es/standards-sdk.es65.js +1 -1
  107. package/dist/es/standards-sdk.es66.js +1 -1
  108. package/dist/es/standards-sdk.es67.js +1 -1
  109. package/dist/es/standards-sdk.es69.js +1 -1
  110. package/dist/es/standards-sdk.es75.js +1 -1
  111. package/dist/es/standards-sdk.es84.js +1 -1
  112. package/package.json +1 -1
@@ -27,6 +27,122 @@ export declare enum AIAgentCapability {
27
27
  type JsonValue = string | number | boolean | null | JsonValue[] | {
28
28
  [key: string]: JsonValue;
29
29
  };
30
+ export declare const chatRouteSummarySchema: z.ZodObject<{
31
+ type: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
32
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
33
+ transport: z.ZodString;
34
+ endpoint: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
37
+ transport?: string;
38
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
39
+ endpoint?: string;
40
+ }, {
41
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
42
+ transport?: string;
43
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
44
+ endpoint?: string;
45
+ }>;
46
+ export declare const chatPaymentStateSchema: z.ZodObject<{
47
+ required: z.ZodBoolean;
48
+ provider: z.ZodOptional<z.ZodEnum<["credits", "x402", "acp", "openrouter"]>>;
49
+ status: z.ZodEnum<["not_required", "preflight", "required", "approved", "paid", "failed"]>;
50
+ estimatedCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ estimatedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
54
+ required?: boolean;
55
+ provider?: "credits" | "openrouter" | "acp" | "x402";
56
+ estimatedCredits?: number;
57
+ estimatedUsd?: number;
58
+ }, {
59
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
60
+ required?: boolean;
61
+ provider?: "credits" | "openrouter" | "acp" | "x402";
62
+ estimatedCredits?: number;
63
+ estimatedUsd?: number;
64
+ }>;
65
+ export declare const chatReadinessResponseSchema: z.ZodObject<{
66
+ status: z.ZodEnum<["responsive", "delivery_only", "degraded", "blocked", "unknown"]>;
67
+ routeType: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
68
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
69
+ transport: z.ZodString;
70
+ endpoint: z.ZodOptional<z.ZodString>;
71
+ checkedAt: z.ZodString;
72
+ cachedUntil: z.ZodString;
73
+ latencyMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
74
+ lastSuccessfulReplyAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ lastDeliveryConfirmationAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ 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"]>>>;
77
+ supportsStreaming: z.ZodBoolean;
78
+ supportsHistory: z.ZodBoolean;
79
+ supportsEncryption: z.ZodBoolean;
80
+ supportsPayments: z.ZodBoolean;
81
+ supportsAttachments: z.ZodBoolean;
82
+ requiresAuth: z.ZodBoolean;
83
+ operatorActionRequired: z.ZodBoolean;
84
+ issue: z.ZodOptional<z.ZodObject<{
85
+ code: z.ZodString;
86
+ message: z.ZodString;
87
+ details: z.ZodOptional<z.ZodString>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ message?: string;
90
+ details?: string;
91
+ code?: string;
92
+ }, {
93
+ message?: string;
94
+ details?: string;
95
+ code?: string;
96
+ }>>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
99
+ transport?: string;
100
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
101
+ endpoint?: string;
102
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
103
+ checkedAt?: string;
104
+ cachedUntil?: string;
105
+ latencyMs?: number;
106
+ lastSuccessfulReplyAt?: string;
107
+ lastDeliveryConfirmationAt?: string;
108
+ 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";
109
+ supportsStreaming?: boolean;
110
+ supportsHistory?: boolean;
111
+ supportsEncryption?: boolean;
112
+ supportsPayments?: boolean;
113
+ supportsAttachments?: boolean;
114
+ requiresAuth?: boolean;
115
+ operatorActionRequired?: boolean;
116
+ issue?: {
117
+ message?: string;
118
+ details?: string;
119
+ code?: string;
120
+ };
121
+ }, {
122
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
123
+ transport?: string;
124
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
125
+ endpoint?: string;
126
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
127
+ checkedAt?: string;
128
+ cachedUntil?: string;
129
+ latencyMs?: number;
130
+ lastSuccessfulReplyAt?: string;
131
+ lastDeliveryConfirmationAt?: string;
132
+ 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";
133
+ supportsStreaming?: boolean;
134
+ supportsHistory?: boolean;
135
+ supportsEncryption?: boolean;
136
+ supportsPayments?: boolean;
137
+ supportsAttachments?: boolean;
138
+ requiresAuth?: boolean;
139
+ operatorActionRequired?: boolean;
140
+ issue?: {
141
+ message?: string;
142
+ details?: string;
143
+ code?: string;
144
+ };
145
+ }>;
30
146
  export declare const searchResponseSchema: z.ZodObject<{
31
147
  hits: z.ZodArray<z.ZodObject<{
32
148
  id: z.ZodString;
@@ -1749,14 +1865,14 @@ export declare const agentFeedbackEligibilityResponseSchema: z.ZodObject<{
1749
1865
  nativeFeeEstimate: z.ZodOptional<z.ZodNumber>;
1750
1866
  }, "strip", z.ZodTypeAny, {
1751
1867
  reason?: string;
1752
- eligible?: boolean;
1753
1868
  estimatedCredits?: number;
1869
+ eligible?: boolean;
1754
1870
  usdEstimate?: number;
1755
1871
  nativeFeeEstimate?: number;
1756
1872
  }, {
1757
1873
  reason?: string;
1758
- eligible?: boolean;
1759
1874
  estimatedCredits?: number;
1875
+ eligible?: boolean;
1760
1876
  usdEstimate?: number;
1761
1877
  nativeFeeEstimate?: number;
1762
1878
  }>>;
@@ -1769,8 +1885,8 @@ export declare const agentFeedbackEligibilityResponseSchema: z.ZodObject<{
1769
1885
  minimumMessages?: number;
1770
1886
  onchain?: {
1771
1887
  reason?: string;
1772
- eligible?: boolean;
1773
1888
  estimatedCredits?: number;
1889
+ eligible?: boolean;
1774
1890
  usdEstimate?: number;
1775
1891
  nativeFeeEstimate?: number;
1776
1892
  };
@@ -1783,8 +1899,8 @@ export declare const agentFeedbackEligibilityResponseSchema: z.ZodObject<{
1783
1899
  minimumMessages?: number;
1784
1900
  onchain?: {
1785
1901
  reason?: string;
1786
- eligible?: boolean;
1787
1902
  estimatedCredits?: number;
1903
+ eligible?: boolean;
1788
1904
  usdEstimate?: number;
1789
1905
  nativeFeeEstimate?: number;
1790
1906
  };
@@ -2068,7 +2184,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2068
2184
  }>;
2069
2185
  history: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2070
2186
  messageId: z.ZodString;
2071
- role: z.ZodEnum<["user", "agent"]>;
2187
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
2072
2188
  content: z.ZodString;
2073
2189
  timestamp: z.ZodString;
2074
2190
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -2143,7 +2259,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2143
2259
  metadata?: Record<string, JsonValue>;
2144
2260
  timestamp?: string;
2145
2261
  content?: string;
2146
- role?: "agent" | "user";
2262
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2147
2263
  messageId?: string;
2148
2264
  cipherEnvelope?: {
2149
2265
  nonce?: string;
@@ -2166,7 +2282,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2166
2282
  metadata?: Record<string, JsonValue>;
2167
2283
  timestamp?: string;
2168
2284
  content?: string;
2169
- role?: "agent" | "user";
2285
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2170
2286
  messageId?: string;
2171
2287
  cipherEnvelope?: {
2172
2288
  nonce?: string;
@@ -2473,7 +2589,130 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2473
2589
  expiresAt?: number;
2474
2590
  };
2475
2591
  }>>>;
2592
+ route: z.ZodOptional<z.ZodObject<{
2593
+ type: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
2594
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
2595
+ transport: z.ZodString;
2596
+ endpoint: z.ZodOptional<z.ZodString>;
2597
+ }, "strip", z.ZodTypeAny, {
2598
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2599
+ transport?: string;
2600
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2601
+ endpoint?: string;
2602
+ }, {
2603
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2604
+ transport?: string;
2605
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2606
+ endpoint?: string;
2607
+ }>>;
2608
+ transport: z.ZodOptional<z.ZodString>;
2609
+ senderUaid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2610
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public"]>>;
2611
+ payment: z.ZodOptional<z.ZodObject<{
2612
+ required: z.ZodBoolean;
2613
+ provider: z.ZodOptional<z.ZodEnum<["credits", "x402", "acp", "openrouter"]>>;
2614
+ status: z.ZodEnum<["not_required", "preflight", "required", "approved", "paid", "failed"]>;
2615
+ estimatedCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2616
+ estimatedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2617
+ }, "strip", z.ZodTypeAny, {
2618
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
2619
+ required?: boolean;
2620
+ provider?: "credits" | "openrouter" | "acp" | "x402";
2621
+ estimatedCredits?: number;
2622
+ estimatedUsd?: number;
2623
+ }, {
2624
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
2625
+ required?: boolean;
2626
+ provider?: "credits" | "openrouter" | "acp" | "x402";
2627
+ estimatedCredits?: number;
2628
+ estimatedUsd?: number;
2629
+ }>>;
2630
+ readiness: z.ZodOptional<z.ZodObject<{
2631
+ status: z.ZodEnum<["responsive", "delivery_only", "degraded", "blocked", "unknown"]>;
2632
+ routeType: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
2633
+ replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
2634
+ transport: z.ZodString;
2635
+ endpoint: z.ZodOptional<z.ZodString>;
2636
+ checkedAt: z.ZodString;
2637
+ cachedUntil: z.ZodString;
2638
+ latencyMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2639
+ lastSuccessfulReplyAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2640
+ lastDeliveryConfirmationAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2641
+ 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"]>>>;
2642
+ supportsStreaming: z.ZodBoolean;
2643
+ supportsHistory: z.ZodBoolean;
2644
+ supportsEncryption: z.ZodBoolean;
2645
+ supportsPayments: z.ZodBoolean;
2646
+ supportsAttachments: z.ZodBoolean;
2647
+ requiresAuth: z.ZodBoolean;
2648
+ operatorActionRequired: z.ZodBoolean;
2649
+ issue: z.ZodOptional<z.ZodObject<{
2650
+ code: z.ZodString;
2651
+ message: z.ZodString;
2652
+ details: z.ZodOptional<z.ZodString>;
2653
+ }, "strip", z.ZodTypeAny, {
2654
+ message?: string;
2655
+ details?: string;
2656
+ code?: string;
2657
+ }, {
2658
+ message?: string;
2659
+ details?: string;
2660
+ code?: string;
2661
+ }>>;
2662
+ }, "strip", z.ZodTypeAny, {
2663
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
2664
+ transport?: string;
2665
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2666
+ endpoint?: string;
2667
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2668
+ checkedAt?: string;
2669
+ cachedUntil?: string;
2670
+ latencyMs?: number;
2671
+ lastSuccessfulReplyAt?: string;
2672
+ lastDeliveryConfirmationAt?: string;
2673
+ 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";
2674
+ supportsStreaming?: boolean;
2675
+ supportsHistory?: boolean;
2676
+ supportsEncryption?: boolean;
2677
+ supportsPayments?: boolean;
2678
+ supportsAttachments?: boolean;
2679
+ requiresAuth?: boolean;
2680
+ operatorActionRequired?: boolean;
2681
+ issue?: {
2682
+ message?: string;
2683
+ details?: string;
2684
+ code?: string;
2685
+ };
2686
+ }, {
2687
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
2688
+ transport?: string;
2689
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2690
+ endpoint?: string;
2691
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2692
+ checkedAt?: string;
2693
+ cachedUntil?: string;
2694
+ latencyMs?: number;
2695
+ lastSuccessfulReplyAt?: string;
2696
+ lastDeliveryConfirmationAt?: string;
2697
+ 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";
2698
+ supportsStreaming?: boolean;
2699
+ supportsHistory?: boolean;
2700
+ supportsEncryption?: boolean;
2701
+ supportsPayments?: boolean;
2702
+ supportsAttachments?: boolean;
2703
+ requiresAuth?: boolean;
2704
+ operatorActionRequired?: boolean;
2705
+ issue?: {
2706
+ message?: string;
2707
+ details?: string;
2708
+ code?: string;
2709
+ };
2710
+ }>>;
2711
+ state: z.ZodOptional<z.ZodEnum<["connecting", "ready", "blocked", "ended", "expired"]>>;
2712
+ traceId: z.ZodOptional<z.ZodString>;
2713
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2476
2714
  }, "strip", z.ZodTypeAny, {
2715
+ state?: "blocked" | "connecting" | "ready" | "ended" | "expired";
2477
2716
  uaid?: string;
2478
2717
  agent?: {
2479
2718
  name?: string;
@@ -2481,12 +2720,21 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2481
2720
  description?: string;
2482
2721
  skills?: string[];
2483
2722
  };
2723
+ transport?: string;
2484
2724
  sessionId?: string;
2725
+ expiresAt?: string;
2726
+ payment?: {
2727
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
2728
+ required?: boolean;
2729
+ provider?: "credits" | "openrouter" | "acp" | "x402";
2730
+ estimatedCredits?: number;
2731
+ estimatedUsd?: number;
2732
+ };
2485
2733
  history?: {
2486
2734
  metadata?: Record<string, JsonValue>;
2487
2735
  timestamp?: string;
2488
2736
  content?: string;
2489
- role?: "agent" | "user";
2737
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2490
2738
  messageId?: string;
2491
2739
  cipherEnvelope?: {
2492
2740
  nonce?: string;
@@ -2559,7 +2807,42 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2559
2807
  expiresAt?: number;
2560
2808
  };
2561
2809
  };
2810
+ route?: {
2811
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2812
+ transport?: string;
2813
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2814
+ endpoint?: string;
2815
+ };
2816
+ senderUaid?: string;
2817
+ visibility?: "private" | "public";
2818
+ readiness?: {
2819
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
2820
+ transport?: string;
2821
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2822
+ endpoint?: string;
2823
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2824
+ checkedAt?: string;
2825
+ cachedUntil?: string;
2826
+ latencyMs?: number;
2827
+ lastSuccessfulReplyAt?: string;
2828
+ lastDeliveryConfirmationAt?: string;
2829
+ 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";
2830
+ supportsStreaming?: boolean;
2831
+ supportsHistory?: boolean;
2832
+ supportsEncryption?: boolean;
2833
+ supportsPayments?: boolean;
2834
+ supportsAttachments?: boolean;
2835
+ requiresAuth?: boolean;
2836
+ operatorActionRequired?: boolean;
2837
+ issue?: {
2838
+ message?: string;
2839
+ details?: string;
2840
+ code?: string;
2841
+ };
2842
+ };
2843
+ traceId?: string;
2562
2844
  }, {
2845
+ state?: "blocked" | "connecting" | "ready" | "ended" | "expired";
2563
2846
  uaid?: string;
2564
2847
  agent?: {
2565
2848
  name?: string;
@@ -2567,12 +2850,21 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2567
2850
  description?: string;
2568
2851
  skills?: string[];
2569
2852
  };
2853
+ transport?: string;
2570
2854
  sessionId?: string;
2855
+ expiresAt?: string;
2856
+ payment?: {
2857
+ status?: "failed" | "required" | "not_required" | "preflight" | "approved" | "paid";
2858
+ required?: boolean;
2859
+ provider?: "credits" | "openrouter" | "acp" | "x402";
2860
+ estimatedCredits?: number;
2861
+ estimatedUsd?: number;
2862
+ };
2571
2863
  history?: {
2572
2864
  metadata?: Record<string, JsonValue>;
2573
2865
  timestamp?: string;
2574
2866
  content?: string;
2575
- role?: "agent" | "user";
2867
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2576
2868
  messageId?: string;
2577
2869
  cipherEnvelope?: {
2578
2870
  nonce?: string;
@@ -2645,6 +2937,40 @@ export declare const createSessionResponseSchema: z.ZodObject<{
2645
2937
  expiresAt?: number;
2646
2938
  };
2647
2939
  };
2940
+ route?: {
2941
+ type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2942
+ transport?: string;
2943
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2944
+ endpoint?: string;
2945
+ };
2946
+ senderUaid?: string;
2947
+ visibility?: "private" | "public";
2948
+ readiness?: {
2949
+ status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
2950
+ transport?: string;
2951
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2952
+ endpoint?: string;
2953
+ routeType?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
2954
+ checkedAt?: string;
2955
+ cachedUntil?: string;
2956
+ latencyMs?: number;
2957
+ lastSuccessfulReplyAt?: string;
2958
+ lastDeliveryConfirmationAt?: string;
2959
+ 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";
2960
+ supportsStreaming?: boolean;
2961
+ supportsHistory?: boolean;
2962
+ supportsEncryption?: boolean;
2963
+ supportsPayments?: boolean;
2964
+ supportsAttachments?: boolean;
2965
+ requiresAuth?: boolean;
2966
+ operatorActionRequired?: boolean;
2967
+ issue?: {
2968
+ message?: string;
2969
+ details?: string;
2970
+ code?: string;
2971
+ };
2972
+ };
2973
+ traceId?: string;
2648
2974
  }>;
2649
2975
  export declare const sendMessageResponseSchema: z.ZodObject<{
2650
2976
  sessionId: z.ZodString;
@@ -2656,7 +2982,7 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
2656
2982
  ops: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">>;
2657
2983
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
2658
2984
  messageId: z.ZodString;
2659
- role: z.ZodEnum<["user", "agent"]>;
2985
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
2660
2986
  content: z.ZodString;
2661
2987
  timestamp: z.ZodString;
2662
2988
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -2731,7 +3057,7 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
2731
3057
  metadata?: Record<string, JsonValue>;
2732
3058
  timestamp?: string;
2733
3059
  content?: string;
2734
- role?: "agent" | "user";
3060
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2735
3061
  messageId?: string;
2736
3062
  cipherEnvelope?: {
2737
3063
  nonce?: string;
@@ -2754,7 +3080,7 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
2754
3080
  metadata?: Record<string, JsonValue>;
2755
3081
  timestamp?: string;
2756
3082
  content?: string;
2757
- role?: "agent" | "user";
3083
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2758
3084
  messageId?: string;
2759
3085
  cipherEnvelope?: {
2760
3086
  nonce?: string;
@@ -2776,17 +3102,28 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
2776
3102
  }>, "many">>;
2777
3103
  historyTtlSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2778
3104
  encrypted: z.ZodOptional<z.ZodBoolean>;
3105
+ messageId: z.ZodOptional<z.ZodString>;
3106
+ assistantMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3107
+ deliveryState: z.ZodOptional<z.ZodEnum<["draft", "queued", "persisted", "delivered", "streaming", "responded", "failed", "timeout", "cancelled"]>>;
3108
+ replyMode: z.ZodOptional<z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>>;
3109
+ deliveryConfirmation: z.ZodOptional<z.ZodBoolean>;
3110
+ idempotent: z.ZodOptional<z.ZodBoolean>;
3111
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
3112
+ 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"]>>;
2779
3113
  }, "strip", z.ZodTypeAny, {
2780
3114
  message?: string;
3115
+ metadata?: Record<string, JsonValue>;
2781
3116
  timestamp?: string;
2782
3117
  uaid?: string;
2783
3118
  content?: string;
2784
3119
  sessionId?: string;
3120
+ messageId?: string;
3121
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2785
3122
  history?: {
2786
3123
  metadata?: Record<string, JsonValue>;
2787
3124
  timestamp?: string;
2788
3125
  content?: string;
2789
- role?: "agent" | "user";
3126
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2790
3127
  messageId?: string;
2791
3128
  cipherEnvelope?: {
2792
3129
  nonce?: string;
@@ -2810,17 +3147,25 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
2810
3147
  rawResponse?: JsonValue;
2811
3148
  ops?: Record<string, JsonValue>[];
2812
3149
  encrypted?: boolean;
3150
+ assistantMessageId?: string;
3151
+ deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
3152
+ deliveryConfirmation?: boolean;
3153
+ idempotent?: boolean;
3154
+ 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";
2813
3155
  }, {
2814
3156
  message?: string;
3157
+ metadata?: Record<string, JsonValue>;
2815
3158
  timestamp?: string;
2816
3159
  uaid?: string;
2817
3160
  content?: string;
2818
3161
  sessionId?: string;
3162
+ messageId?: string;
3163
+ replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
2819
3164
  history?: {
2820
3165
  metadata?: Record<string, JsonValue>;
2821
3166
  timestamp?: string;
2822
3167
  content?: string;
2823
- role?: "agent" | "user";
3168
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2824
3169
  messageId?: string;
2825
3170
  cipherEnvelope?: {
2826
3171
  nonce?: string;
@@ -2844,12 +3189,30 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
2844
3189
  rawResponse?: JsonValue;
2845
3190
  ops?: Record<string, JsonValue>[];
2846
3191
  encrypted?: boolean;
3192
+ assistantMessageId?: string;
3193
+ deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
3194
+ deliveryConfirmation?: boolean;
3195
+ idempotent?: boolean;
3196
+ 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";
3197
+ }>;
3198
+ export declare const chatSessionEndResponseSchema: z.ZodObject<{
3199
+ message: z.ZodString;
3200
+ sessionId: z.ZodString;
3201
+ state: z.ZodOptional<z.ZodEnum<["connecting", "ready", "blocked", "ended", "expired"]>>;
3202
+ }, "strip", z.ZodTypeAny, {
3203
+ message?: string;
3204
+ state?: "blocked" | "connecting" | "ready" | "ended" | "expired";
3205
+ sessionId?: string;
3206
+ }, {
3207
+ message?: string;
3208
+ state?: "blocked" | "connecting" | "ready" | "ended" | "expired";
3209
+ sessionId?: string;
2847
3210
  }>;
2848
3211
  export declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
2849
3212
  sessionId: z.ZodString;
2850
3213
  history: z.ZodArray<z.ZodObject<{
2851
3214
  messageId: z.ZodString;
2852
- role: z.ZodEnum<["user", "agent"]>;
3215
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
2853
3216
  content: z.ZodString;
2854
3217
  timestamp: z.ZodString;
2855
3218
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -2924,7 +3287,7 @@ export declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
2924
3287
  metadata?: Record<string, JsonValue>;
2925
3288
  timestamp?: string;
2926
3289
  content?: string;
2927
- role?: "agent" | "user";
3290
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2928
3291
  messageId?: string;
2929
3292
  cipherEnvelope?: {
2930
3293
  nonce?: string;
@@ -2947,7 +3310,7 @@ export declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
2947
3310
  metadata?: Record<string, JsonValue>;
2948
3311
  timestamp?: string;
2949
3312
  content?: string;
2950
- role?: "agent" | "user";
3313
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2951
3314
  messageId?: string;
2952
3315
  cipherEnvelope?: {
2953
3316
  nonce?: string;
@@ -2974,7 +3337,7 @@ export declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
2974
3337
  metadata?: Record<string, JsonValue>;
2975
3338
  timestamp?: string;
2976
3339
  content?: string;
2977
- role?: "agent" | "user";
3340
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
2978
3341
  messageId?: string;
2979
3342
  cipherEnvelope?: {
2980
3343
  nonce?: string;
@@ -3001,7 +3364,7 @@ export declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
3001
3364
  metadata?: Record<string, JsonValue>;
3002
3365
  timestamp?: string;
3003
3366
  content?: string;
3004
- role?: "agent" | "user";
3367
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3005
3368
  messageId?: string;
3006
3369
  cipherEnvelope?: {
3007
3370
  nonce?: string;
@@ -3034,7 +3397,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3034
3397
  sessionId: z.ZodString;
3035
3398
  history: z.ZodArray<z.ZodObject<{
3036
3399
  messageId: z.ZodString;
3037
- role: z.ZodEnum<["user", "agent"]>;
3400
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
3038
3401
  content: z.ZodString;
3039
3402
  timestamp: z.ZodString;
3040
3403
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -3109,7 +3472,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3109
3472
  metadata?: Record<string, JsonValue>;
3110
3473
  timestamp?: string;
3111
3474
  content?: string;
3112
- role?: "agent" | "user";
3475
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3113
3476
  messageId?: string;
3114
3477
  cipherEnvelope?: {
3115
3478
  nonce?: string;
@@ -3132,7 +3495,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3132
3495
  metadata?: Record<string, JsonValue>;
3133
3496
  timestamp?: string;
3134
3497
  content?: string;
3135
- role?: "agent" | "user";
3498
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3136
3499
  messageId?: string;
3137
3500
  cipherEnvelope?: {
3138
3501
  nonce?: string;
@@ -3154,7 +3517,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3154
3517
  }>, "many">;
3155
3518
  summaryEntry: z.ZodObject<{
3156
3519
  messageId: z.ZodString;
3157
- role: z.ZodEnum<["user", "agent"]>;
3520
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
3158
3521
  content: z.ZodString;
3159
3522
  timestamp: z.ZodString;
3160
3523
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -3229,7 +3592,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3229
3592
  metadata?: Record<string, JsonValue>;
3230
3593
  timestamp?: string;
3231
3594
  content?: string;
3232
- role?: "agent" | "user";
3595
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3233
3596
  messageId?: string;
3234
3597
  cipherEnvelope?: {
3235
3598
  nonce?: string;
@@ -3252,7 +3615,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3252
3615
  metadata?: Record<string, JsonValue>;
3253
3616
  timestamp?: string;
3254
3617
  content?: string;
3255
- role?: "agent" | "user";
3618
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3256
3619
  messageId?: string;
3257
3620
  cipherEnvelope?: {
3258
3621
  nonce?: string;
@@ -3274,7 +3637,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3274
3637
  }>;
3275
3638
  preservedEntries: z.ZodArray<z.ZodObject<{
3276
3639
  messageId: z.ZodString;
3277
- role: z.ZodEnum<["user", "agent"]>;
3640
+ role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
3278
3641
  content: z.ZodString;
3279
3642
  timestamp: z.ZodString;
3280
3643
  cipherEnvelope: z.ZodOptional<z.ZodObject<{
@@ -3349,7 +3712,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3349
3712
  metadata?: Record<string, JsonValue>;
3350
3713
  timestamp?: string;
3351
3714
  content?: string;
3352
- role?: "agent" | "user";
3715
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3353
3716
  messageId?: string;
3354
3717
  cipherEnvelope?: {
3355
3718
  nonce?: string;
@@ -3372,7 +3735,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3372
3735
  metadata?: Record<string, JsonValue>;
3373
3736
  timestamp?: string;
3374
3737
  content?: string;
3375
- role?: "agent" | "user";
3738
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3376
3739
  messageId?: string;
3377
3740
  cipherEnvelope?: {
3378
3741
  nonce?: string;
@@ -3402,7 +3765,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3402
3765
  metadata?: Record<string, JsonValue>;
3403
3766
  timestamp?: string;
3404
3767
  content?: string;
3405
- role?: "agent" | "user";
3768
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3406
3769
  messageId?: string;
3407
3770
  cipherEnvelope?: {
3408
3771
  nonce?: string;
@@ -3427,7 +3790,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3427
3790
  metadata?: Record<string, JsonValue>;
3428
3791
  timestamp?: string;
3429
3792
  content?: string;
3430
- role?: "agent" | "user";
3793
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3431
3794
  messageId?: string;
3432
3795
  cipherEnvelope?: {
3433
3796
  nonce?: string;
@@ -3451,7 +3814,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3451
3814
  metadata?: Record<string, JsonValue>;
3452
3815
  timestamp?: string;
3453
3816
  content?: string;
3454
- role?: "agent" | "user";
3817
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3455
3818
  messageId?: string;
3456
3819
  cipherEnvelope?: {
3457
3820
  nonce?: string;
@@ -3479,7 +3842,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3479
3842
  metadata?: Record<string, JsonValue>;
3480
3843
  timestamp?: string;
3481
3844
  content?: string;
3482
- role?: "agent" | "user";
3845
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3483
3846
  messageId?: string;
3484
3847
  cipherEnvelope?: {
3485
3848
  nonce?: string;
@@ -3504,7 +3867,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3504
3867
  metadata?: Record<string, JsonValue>;
3505
3868
  timestamp?: string;
3506
3869
  content?: string;
3507
- role?: "agent" | "user";
3870
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3508
3871
  messageId?: string;
3509
3872
  cipherEnvelope?: {
3510
3873
  nonce?: string;
@@ -3528,7 +3891,7 @@ export declare const chatHistoryCompactionResponseSchema: z.ZodObject<{
3528
3891
  metadata?: Record<string, JsonValue>;
3529
3892
  timestamp?: string;
3530
3893
  content?: string;
3531
- role?: "agent" | "user";
3894
+ role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
3532
3895
  messageId?: string;
3533
3896
  cipherEnvelope?: {
3534
3897
  nonce?: string;
@@ -5244,7 +5607,7 @@ export declare const searchStatusResponseSchema: z.ZodObject<{
5244
5607
  }>>;
5245
5608
  }, "strip", z.ZodTypeAny, {
5246
5609
  details?: Record<string, any>;
5247
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
5610
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5248
5611
  enabled?: boolean;
5249
5612
  healthy?: boolean;
5250
5613
  lastUpdated?: string;
@@ -5255,7 +5618,7 @@ export declare const searchStatusResponseSchema: z.ZodObject<{
5255
5618
  };
5256
5619
  }, {
5257
5620
  details?: Record<string, any>;
5258
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
5621
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5259
5622
  enabled?: boolean;
5260
5623
  healthy?: boolean;
5261
5624
  lastUpdated?: string;
@@ -5269,7 +5632,7 @@ export declare const searchStatusResponseSchema: z.ZodObject<{
5269
5632
  storageMode?: string;
5270
5633
  vectorStatus?: {
5271
5634
  details?: Record<string, any>;
5272
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
5635
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5273
5636
  enabled?: boolean;
5274
5637
  healthy?: boolean;
5275
5638
  lastUpdated?: string;
@@ -5283,7 +5646,7 @@ export declare const searchStatusResponseSchema: z.ZodObject<{
5283
5646
  storageMode?: string;
5284
5647
  vectorStatus?: {
5285
5648
  details?: Record<string, any>;
5286
- mode?: "error" | "healthy" | "disabled" | "initializing" | "degraded";
5649
+ mode?: "error" | "degraded" | "healthy" | "disabled" | "initializing";
5287
5650
  enabled?: boolean;
5288
5651
  healthy?: boolean;
5289
5652
  lastUpdated?: string;
@@ -5584,16 +5947,16 @@ export declare const uaidConnectionStatusSchema: z.ZodObject<{
5584
5947
  id?: string;
5585
5948
  createdAt?: string;
5586
5949
  protocol?: string;
5587
- agentId?: string;
5588
5950
  endpoint?: string;
5951
+ agentId?: string;
5589
5952
  }, {
5590
5953
  metadata?: Record<string, string | number | boolean>;
5591
5954
  status?: "error" | "connected" | "disconnected";
5592
5955
  id?: string;
5593
5956
  createdAt?: string;
5594
5957
  protocol?: string;
5595
- agentId?: string;
5596
5958
  endpoint?: string;
5959
+ agentId?: string;
5597
5960
  }>>;
5598
5961
  adapter: z.ZodOptional<z.ZodString>;
5599
5962
  agentId: z.ZodOptional<z.ZodString>;
@@ -5604,8 +5967,8 @@ export declare const uaidConnectionStatusSchema: z.ZodObject<{
5604
5967
  id?: string;
5605
5968
  createdAt?: string;
5606
5969
  protocol?: string;
5607
- agentId?: string;
5608
5970
  endpoint?: string;
5971
+ agentId?: string;
5609
5972
  };
5610
5973
  adapter?: string;
5611
5974
  agentId?: string;
@@ -5617,8 +5980,8 @@ export declare const uaidConnectionStatusSchema: z.ZodObject<{
5617
5980
  id?: string;
5618
5981
  createdAt?: string;
5619
5982
  protocol?: string;
5620
- agentId?: string;
5621
5983
  endpoint?: string;
5984
+ agentId?: string;
5622
5985
  };
5623
5986
  adapter?: string;
5624
5987
  agentId?: string;
@@ -6218,8 +6581,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6218
6581
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6219
6582
  registry?: string;
6220
6583
  networkName?: string;
6221
- agentId?: string;
6222
6584
  estimatedCredits?: number;
6585
+ agentId?: string;
6223
6586
  agentUri?: string;
6224
6587
  registryKey?: string;
6225
6588
  networkId?: string;
@@ -6250,8 +6613,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6250
6613
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6251
6614
  registry?: string;
6252
6615
  networkName?: string;
6253
- agentId?: string;
6254
6616
  estimatedCredits?: number;
6617
+ agentId?: string;
6255
6618
  agentUri?: string;
6256
6619
  registryKey?: string;
6257
6620
  networkId?: string;
@@ -6349,8 +6712,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6349
6712
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6350
6713
  registry?: string;
6351
6714
  networkName?: string;
6352
- agentId?: string;
6353
6715
  estimatedCredits?: number;
6716
+ agentId?: string;
6354
6717
  agentUri?: string;
6355
6718
  registryKey?: string;
6356
6719
  networkId?: string;
@@ -6381,8 +6744,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6381
6744
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6382
6745
  registry?: string;
6383
6746
  networkName?: string;
6384
- agentId?: string;
6385
6747
  estimatedCredits?: number;
6748
+ agentId?: string;
6386
6749
  agentUri?: string;
6387
6750
  registryKey?: string;
6388
6751
  networkId?: string;
@@ -6501,8 +6864,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6501
6864
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6502
6865
  registry?: string;
6503
6866
  networkName?: string;
6504
- agentId?: string;
6505
6867
  estimatedCredits?: number;
6868
+ agentId?: string;
6506
6869
  agentUri?: string;
6507
6870
  registryKey?: string;
6508
6871
  networkId?: string;
@@ -6534,8 +6897,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6534
6897
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6535
6898
  registry?: string;
6536
6899
  networkName?: string;
6537
- agentId?: string;
6538
6900
  estimatedCredits?: number;
6901
+ agentId?: string;
6539
6902
  agentUri?: string;
6540
6903
  registryKey?: string;
6541
6904
  networkId?: string;
@@ -6654,8 +7017,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6654
7017
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6655
7018
  registry?: string;
6656
7019
  networkName?: string;
6657
- agentId?: string;
6658
7020
  estimatedCredits?: number;
7021
+ agentId?: string;
6659
7022
  agentUri?: string;
6660
7023
  registryKey?: string;
6661
7024
  networkId?: string;
@@ -6687,8 +7050,8 @@ export declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6687
7050
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
6688
7051
  registry?: string;
6689
7052
  networkName?: string;
6690
- agentId?: string;
6691
7053
  estimatedCredits?: number;
7054
+ agentId?: string;
6692
7055
  agentUri?: string;
6693
7056
  registryKey?: string;
6694
7057
  networkId?: string;
@@ -7080,8 +7443,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7080
7443
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7081
7444
  registry?: string;
7082
7445
  networkName?: string;
7083
- agentId?: string;
7084
7446
  estimatedCredits?: number;
7447
+ agentId?: string;
7085
7448
  agentUri?: string;
7086
7449
  registryKey?: string;
7087
7450
  networkId?: string;
@@ -7112,8 +7475,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7112
7475
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7113
7476
  registry?: string;
7114
7477
  networkName?: string;
7115
- agentId?: string;
7116
7478
  estimatedCredits?: number;
7479
+ agentId?: string;
7117
7480
  agentUri?: string;
7118
7481
  registryKey?: string;
7119
7482
  networkId?: string;
@@ -7211,8 +7574,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7211
7574
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7212
7575
  registry?: string;
7213
7576
  networkName?: string;
7214
- agentId?: string;
7215
7577
  estimatedCredits?: number;
7578
+ agentId?: string;
7216
7579
  agentUri?: string;
7217
7580
  registryKey?: string;
7218
7581
  networkId?: string;
@@ -7243,8 +7606,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7243
7606
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7244
7607
  registry?: string;
7245
7608
  networkName?: string;
7246
- agentId?: string;
7247
7609
  estimatedCredits?: number;
7610
+ agentId?: string;
7248
7611
  agentUri?: string;
7249
7612
  registryKey?: string;
7250
7613
  networkId?: string;
@@ -7363,8 +7726,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7363
7726
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7364
7727
  registry?: string;
7365
7728
  networkName?: string;
7366
- agentId?: string;
7367
7729
  estimatedCredits?: number;
7730
+ agentId?: string;
7368
7731
  agentUri?: string;
7369
7732
  registryKey?: string;
7370
7733
  networkId?: string;
@@ -7396,8 +7759,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7396
7759
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7397
7760
  registry?: string;
7398
7761
  networkName?: string;
7399
- agentId?: string;
7400
7762
  estimatedCredits?: number;
7763
+ agentId?: string;
7401
7764
  agentUri?: string;
7402
7765
  registryKey?: string;
7403
7766
  networkId?: string;
@@ -7516,8 +7879,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7516
7879
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7517
7880
  registry?: string;
7518
7881
  networkName?: string;
7519
- agentId?: string;
7520
7882
  estimatedCredits?: number;
7883
+ agentId?: string;
7521
7884
  agentUri?: string;
7522
7885
  registryKey?: string;
7523
7886
  networkId?: string;
@@ -7549,8 +7912,8 @@ export declare const registerAgentPendingResponseSchema: z.ZodObject<{
7549
7912
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7550
7913
  registry?: string;
7551
7914
  networkName?: string;
7552
- agentId?: string;
7553
7915
  estimatedCredits?: number;
7916
+ agentId?: string;
7554
7917
  agentUri?: string;
7555
7918
  registryKey?: string;
7556
7919
  networkId?: string;
@@ -7942,8 +8305,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
7942
8305
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7943
8306
  registry?: string;
7944
8307
  networkName?: string;
7945
- agentId?: string;
7946
8308
  estimatedCredits?: number;
8309
+ agentId?: string;
7947
8310
  agentUri?: string;
7948
8311
  registryKey?: string;
7949
8312
  networkId?: string;
@@ -7974,8 +8337,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
7974
8337
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
7975
8338
  registry?: string;
7976
8339
  networkName?: string;
7977
- agentId?: string;
7978
8340
  estimatedCredits?: number;
8341
+ agentId?: string;
7979
8342
  agentUri?: string;
7980
8343
  registryKey?: string;
7981
8344
  networkId?: string;
@@ -8073,8 +8436,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
8073
8436
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8074
8437
  registry?: string;
8075
8438
  networkName?: string;
8076
- agentId?: string;
8077
8439
  estimatedCredits?: number;
8440
+ agentId?: string;
8078
8441
  agentUri?: string;
8079
8442
  registryKey?: string;
8080
8443
  networkId?: string;
@@ -8105,8 +8468,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
8105
8468
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8106
8469
  registry?: string;
8107
8470
  networkName?: string;
8108
- agentId?: string;
8109
8471
  estimatedCredits?: number;
8472
+ agentId?: string;
8110
8473
  agentUri?: string;
8111
8474
  registryKey?: string;
8112
8475
  networkId?: string;
@@ -8238,8 +8601,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
8238
8601
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8239
8602
  registry?: string;
8240
8603
  networkName?: string;
8241
- agentId?: string;
8242
8604
  estimatedCredits?: number;
8605
+ agentId?: string;
8243
8606
  agentUri?: string;
8244
8607
  registryKey?: string;
8245
8608
  networkId?: string;
@@ -8271,8 +8634,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
8271
8634
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8272
8635
  registry?: string;
8273
8636
  networkName?: string;
8274
- agentId?: string;
8275
8637
  estimatedCredits?: number;
8638
+ agentId?: string;
8276
8639
  agentUri?: string;
8277
8640
  registryKey?: string;
8278
8641
  networkId?: string;
@@ -8396,8 +8759,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
8396
8759
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8397
8760
  registry?: string;
8398
8761
  networkName?: string;
8399
- agentId?: string;
8400
8762
  estimatedCredits?: number;
8763
+ agentId?: string;
8401
8764
  agentUri?: string;
8402
8765
  registryKey?: string;
8403
8766
  networkId?: string;
@@ -8429,8 +8792,8 @@ export declare const registerAgentPartialResponseSchema: z.ZodObject<{
8429
8792
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8430
8793
  registry?: string;
8431
8794
  networkName?: string;
8432
- agentId?: string;
8433
8795
  estimatedCredits?: number;
8796
+ agentId?: string;
8434
8797
  agentUri?: string;
8435
8798
  registryKey?: string;
8436
8799
  networkId?: string;
@@ -8827,8 +9190,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8827
9190
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8828
9191
  registry?: string;
8829
9192
  networkName?: string;
8830
- agentId?: string;
8831
9193
  estimatedCredits?: number;
9194
+ agentId?: string;
8832
9195
  agentUri?: string;
8833
9196
  registryKey?: string;
8834
9197
  networkId?: string;
@@ -8859,8 +9222,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8859
9222
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8860
9223
  registry?: string;
8861
9224
  networkName?: string;
8862
- agentId?: string;
8863
9225
  estimatedCredits?: number;
9226
+ agentId?: string;
8864
9227
  agentUri?: string;
8865
9228
  registryKey?: string;
8866
9229
  networkId?: string;
@@ -8958,8 +9321,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8958
9321
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8959
9322
  registry?: string;
8960
9323
  networkName?: string;
8961
- agentId?: string;
8962
9324
  estimatedCredits?: number;
9325
+ agentId?: string;
8963
9326
  agentUri?: string;
8964
9327
  registryKey?: string;
8965
9328
  networkId?: string;
@@ -8990,8 +9353,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8990
9353
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
8991
9354
  registry?: string;
8992
9355
  networkName?: string;
8993
- agentId?: string;
8994
9356
  estimatedCredits?: number;
9357
+ agentId?: string;
8995
9358
  agentUri?: string;
8996
9359
  registryKey?: string;
8997
9360
  networkId?: string;
@@ -9110,8 +9473,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9110
9473
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9111
9474
  registry?: string;
9112
9475
  networkName?: string;
9113
- agentId?: string;
9114
9476
  estimatedCredits?: number;
9477
+ agentId?: string;
9115
9478
  agentUri?: string;
9116
9479
  registryKey?: string;
9117
9480
  networkId?: string;
@@ -9143,8 +9506,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9143
9506
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9144
9507
  registry?: string;
9145
9508
  networkName?: string;
9146
- agentId?: string;
9147
9509
  estimatedCredits?: number;
9510
+ agentId?: string;
9148
9511
  agentUri?: string;
9149
9512
  registryKey?: string;
9150
9513
  networkId?: string;
@@ -9263,8 +9626,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9263
9626
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9264
9627
  registry?: string;
9265
9628
  networkName?: string;
9266
- agentId?: string;
9267
9629
  estimatedCredits?: number;
9630
+ agentId?: string;
9268
9631
  agentUri?: string;
9269
9632
  registryKey?: string;
9270
9633
  networkId?: string;
@@ -9296,8 +9659,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9296
9659
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9297
9660
  registry?: string;
9298
9661
  networkName?: string;
9299
- agentId?: string;
9300
9662
  estimatedCredits?: number;
9663
+ agentId?: string;
9301
9664
  agentUri?: string;
9302
9665
  registryKey?: string;
9303
9666
  networkId?: string;
@@ -9688,8 +10051,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9688
10051
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9689
10052
  registry?: string;
9690
10053
  networkName?: string;
9691
- agentId?: string;
9692
10054
  estimatedCredits?: number;
10055
+ agentId?: string;
9693
10056
  agentUri?: string;
9694
10057
  registryKey?: string;
9695
10058
  networkId?: string;
@@ -9720,8 +10083,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9720
10083
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9721
10084
  registry?: string;
9722
10085
  networkName?: string;
9723
- agentId?: string;
9724
10086
  estimatedCredits?: number;
10087
+ agentId?: string;
9725
10088
  agentUri?: string;
9726
10089
  registryKey?: string;
9727
10090
  networkId?: string;
@@ -9819,8 +10182,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9819
10182
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9820
10183
  registry?: string;
9821
10184
  networkName?: string;
9822
- agentId?: string;
9823
10185
  estimatedCredits?: number;
10186
+ agentId?: string;
9824
10187
  agentUri?: string;
9825
10188
  registryKey?: string;
9826
10189
  networkId?: string;
@@ -9851,8 +10214,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9851
10214
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9852
10215
  registry?: string;
9853
10216
  networkName?: string;
9854
- agentId?: string;
9855
10217
  estimatedCredits?: number;
10218
+ agentId?: string;
9856
10219
  agentUri?: string;
9857
10220
  registryKey?: string;
9858
10221
  networkId?: string;
@@ -9971,8 +10334,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9971
10334
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
9972
10335
  registry?: string;
9973
10336
  networkName?: string;
9974
- agentId?: string;
9975
10337
  estimatedCredits?: number;
10338
+ agentId?: string;
9976
10339
  agentUri?: string;
9977
10340
  registryKey?: string;
9978
10341
  networkId?: string;
@@ -10004,8 +10367,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10004
10367
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10005
10368
  registry?: string;
10006
10369
  networkName?: string;
10007
- agentId?: string;
10008
10370
  estimatedCredits?: number;
10371
+ agentId?: string;
10009
10372
  agentUri?: string;
10010
10373
  registryKey?: string;
10011
10374
  networkId?: string;
@@ -10124,8 +10487,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10124
10487
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10125
10488
  registry?: string;
10126
10489
  networkName?: string;
10127
- agentId?: string;
10128
10490
  estimatedCredits?: number;
10491
+ agentId?: string;
10129
10492
  agentUri?: string;
10130
10493
  registryKey?: string;
10131
10494
  networkId?: string;
@@ -10157,8 +10520,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10157
10520
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10158
10521
  registry?: string;
10159
10522
  networkName?: string;
10160
- agentId?: string;
10161
10523
  estimatedCredits?: number;
10524
+ agentId?: string;
10162
10525
  agentUri?: string;
10163
10526
  registryKey?: string;
10164
10527
  networkId?: string;
@@ -10549,8 +10912,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10549
10912
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10550
10913
  registry?: string;
10551
10914
  networkName?: string;
10552
- agentId?: string;
10553
10915
  estimatedCredits?: number;
10916
+ agentId?: string;
10554
10917
  agentUri?: string;
10555
10918
  registryKey?: string;
10556
10919
  networkId?: string;
@@ -10581,8 +10944,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10581
10944
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10582
10945
  registry?: string;
10583
10946
  networkName?: string;
10584
- agentId?: string;
10585
10947
  estimatedCredits?: number;
10948
+ agentId?: string;
10586
10949
  agentUri?: string;
10587
10950
  registryKey?: string;
10588
10951
  networkId?: string;
@@ -10680,8 +11043,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10680
11043
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10681
11044
  registry?: string;
10682
11045
  networkName?: string;
10683
- agentId?: string;
10684
11046
  estimatedCredits?: number;
11047
+ agentId?: string;
10685
11048
  agentUri?: string;
10686
11049
  registryKey?: string;
10687
11050
  networkId?: string;
@@ -10712,8 +11075,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10712
11075
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10713
11076
  registry?: string;
10714
11077
  networkName?: string;
10715
- agentId?: string;
10716
11078
  estimatedCredits?: number;
11079
+ agentId?: string;
10717
11080
  agentUri?: string;
10718
11081
  registryKey?: string;
10719
11082
  networkId?: string;
@@ -10845,8 +11208,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10845
11208
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10846
11209
  registry?: string;
10847
11210
  networkName?: string;
10848
- agentId?: string;
10849
11211
  estimatedCredits?: number;
11212
+ agentId?: string;
10850
11213
  agentUri?: string;
10851
11214
  registryKey?: string;
10852
11215
  networkId?: string;
@@ -10878,8 +11241,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10878
11241
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
10879
11242
  registry?: string;
10880
11243
  networkName?: string;
10881
- agentId?: string;
10882
11244
  estimatedCredits?: number;
11245
+ agentId?: string;
10883
11246
  agentUri?: string;
10884
11247
  registryKey?: string;
10885
11248
  networkId?: string;
@@ -11003,8 +11366,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
11003
11366
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
11004
11367
  registry?: string;
11005
11368
  networkName?: string;
11006
- agentId?: string;
11007
11369
  estimatedCredits?: number;
11370
+ agentId?: string;
11008
11371
  agentUri?: string;
11009
11372
  registryKey?: string;
11010
11373
  networkId?: string;
@@ -11036,8 +11399,8 @@ export declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
11036
11399
  status?: "error" | "created" | "pending" | "duplicate" | "skipped" | "updated";
11037
11400
  registry?: string;
11038
11401
  networkName?: string;
11039
- agentId?: string;
11040
11402
  estimatedCredits?: number;
11403
+ agentId?: string;
11041
11404
  agentUri?: string;
11042
11405
  registryKey?: string;
11043
11406
  networkId?: string;
@@ -14895,9 +15258,6 @@ export declare const x402CreditPurchaseResponseSchema: z.ZodObject<{
14895
15258
  }, "strip", z.ZodTypeAny, {
14896
15259
  accountId?: string;
14897
15260
  success?: boolean;
14898
- balance?: number;
14899
- creditedCredits?: number;
14900
- usdAmount?: number;
14901
15261
  payment?: {
14902
15262
  payer?: string;
14903
15263
  requirement?: Record<string, JsonValue>;
@@ -14909,12 +15269,12 @@ export declare const x402CreditPurchaseResponseSchema: z.ZodObject<{
14909
15269
  errorReason?: string;
14910
15270
  };
14911
15271
  };
14912
- }, {
14913
- accountId?: string;
14914
- success?: boolean;
14915
15272
  balance?: number;
14916
15273
  creditedCredits?: number;
14917
15274
  usdAmount?: number;
15275
+ }, {
15276
+ accountId?: string;
15277
+ success?: boolean;
14918
15278
  payment?: {
14919
15279
  payer?: string;
14920
15280
  requirement?: Record<string, JsonValue>;
@@ -14926,6 +15286,9 @@ export declare const x402CreditPurchaseResponseSchema: z.ZodObject<{
14926
15286
  errorReason?: string;
14927
15287
  };
14928
15288
  };
15289
+ balance?: number;
15290
+ creditedCredits?: number;
15291
+ usdAmount?: number;
14929
15292
  }>;
14930
15293
  export declare const x402MinimumsResponseSchema: z.ZodObject<{
14931
15294
  minimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16270,17 +16633,17 @@ export declare const adapterChatProfileSchema: z.ZodObject<{
16270
16633
  notes: z.ZodOptional<z.ZodString>;
16271
16634
  }, "strip", z.ZodTypeAny, {
16272
16635
  transport?: string;
16273
- supportsChat?: boolean;
16274
16636
  delivery?: string;
16275
16637
  streaming?: boolean;
16276
16638
  requiresAuth?: string[];
16639
+ supportsChat?: boolean;
16277
16640
  notes?: string;
16278
16641
  }, {
16279
16642
  transport?: string;
16280
- supportsChat?: boolean;
16281
16643
  delivery?: string;
16282
16644
  streaming?: boolean;
16283
16645
  requiresAuth?: string[];
16646
+ supportsChat?: boolean;
16284
16647
  notes?: string;
16285
16648
  }>;
16286
16649
  export declare const adapterDescriptorSchema: z.ZodObject<{
@@ -16300,17 +16663,17 @@ export declare const adapterDescriptorSchema: z.ZodObject<{
16300
16663
  notes: z.ZodOptional<z.ZodString>;
16301
16664
  }, "strip", z.ZodTypeAny, {
16302
16665
  transport?: string;
16303
- supportsChat?: boolean;
16304
16666
  delivery?: string;
16305
16667
  streaming?: boolean;
16306
16668
  requiresAuth?: string[];
16669
+ supportsChat?: boolean;
16307
16670
  notes?: string;
16308
16671
  }, {
16309
16672
  transport?: string;
16310
- supportsChat?: boolean;
16311
16673
  delivery?: string;
16312
16674
  streaming?: boolean;
16313
16675
  requiresAuth?: string[];
16676
+ supportsChat?: boolean;
16314
16677
  notes?: string;
16315
16678
  }>>;
16316
16679
  capabilities: z.ZodObject<{
@@ -16354,10 +16717,10 @@ export declare const adapterDescriptorSchema: z.ZodObject<{
16354
16717
  supportedProtocols?: string[];
16355
16718
  chatProfile?: {
16356
16719
  transport?: string;
16357
- supportsChat?: boolean;
16358
16720
  delivery?: string;
16359
16721
  streaming?: boolean;
16360
16722
  requiresAuth?: string[];
16723
+ supportsChat?: boolean;
16361
16724
  notes?: string;
16362
16725
  };
16363
16726
  priority?: number;
@@ -16380,10 +16743,10 @@ export declare const adapterDescriptorSchema: z.ZodObject<{
16380
16743
  supportedProtocols?: string[];
16381
16744
  chatProfile?: {
16382
16745
  transport?: string;
16383
- supportsChat?: boolean;
16384
16746
  delivery?: string;
16385
16747
  streaming?: boolean;
16386
16748
  requiresAuth?: string[];
16749
+ supportsChat?: boolean;
16387
16750
  notes?: string;
16388
16751
  };
16389
16752
  priority?: number;
@@ -16406,17 +16769,17 @@ export declare const adapterDetailsResponseSchema: z.ZodObject<{
16406
16769
  notes: z.ZodOptional<z.ZodString>;
16407
16770
  }, "strip", z.ZodTypeAny, {
16408
16771
  transport?: string;
16409
- supportsChat?: boolean;
16410
16772
  delivery?: string;
16411
16773
  streaming?: boolean;
16412
16774
  requiresAuth?: string[];
16775
+ supportsChat?: boolean;
16413
16776
  notes?: string;
16414
16777
  }, {
16415
16778
  transport?: string;
16416
- supportsChat?: boolean;
16417
16779
  delivery?: string;
16418
16780
  streaming?: boolean;
16419
16781
  requiresAuth?: string[];
16782
+ supportsChat?: boolean;
16420
16783
  notes?: string;
16421
16784
  }>>;
16422
16785
  capabilities: z.ZodObject<{
@@ -16460,10 +16823,10 @@ export declare const adapterDetailsResponseSchema: z.ZodObject<{
16460
16823
  supportedProtocols?: string[];
16461
16824
  chatProfile?: {
16462
16825
  transport?: string;
16463
- supportsChat?: boolean;
16464
16826
  delivery?: string;
16465
16827
  streaming?: boolean;
16466
16828
  requiresAuth?: string[];
16829
+ supportsChat?: boolean;
16467
16830
  notes?: string;
16468
16831
  };
16469
16832
  priority?: number;
@@ -16486,10 +16849,10 @@ export declare const adapterDetailsResponseSchema: z.ZodObject<{
16486
16849
  supportedProtocols?: string[];
16487
16850
  chatProfile?: {
16488
16851
  transport?: string;
16489
- supportsChat?: boolean;
16490
16852
  delivery?: string;
16491
16853
  streaming?: boolean;
16492
16854
  requiresAuth?: string[];
16855
+ supportsChat?: boolean;
16493
16856
  notes?: string;
16494
16857
  };
16495
16858
  priority?: number;
@@ -16514,10 +16877,10 @@ export declare const adapterDetailsResponseSchema: z.ZodObject<{
16514
16877
  supportedProtocols?: string[];
16515
16878
  chatProfile?: {
16516
16879
  transport?: string;
16517
- supportsChat?: boolean;
16518
16880
  delivery?: string;
16519
16881
  streaming?: boolean;
16520
16882
  requiresAuth?: string[];
16883
+ supportsChat?: boolean;
16521
16884
  notes?: string;
16522
16885
  };
16523
16886
  priority?: number;
@@ -16542,10 +16905,10 @@ export declare const adapterDetailsResponseSchema: z.ZodObject<{
16542
16905
  supportedProtocols?: string[];
16543
16906
  chatProfile?: {
16544
16907
  transport?: string;
16545
- supportsChat?: boolean;
16546
16908
  delivery?: string;
16547
16909
  streaming?: boolean;
16548
16910
  requiresAuth?: string[];
16911
+ supportsChat?: boolean;
16549
16912
  notes?: string;
16550
16913
  };
16551
16914
  priority?: number;