@hol-org/rb-client 0.1.147 → 0.1.149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { Buffer } from 'buffer';
2
1
  import { z, ZodError } from 'zod';
3
2
  import { Signer } from '@hashgraph/sdk';
3
+ import { Buffer } from 'buffer';
4
4
 
5
5
  interface AdapterPackage {
6
6
  registry: string;
@@ -990,6 +990,8 @@ declare const resolveResponseSchema: z.ZodObject<{
990
990
  uaid?: string;
991
991
  description?: string;
992
992
  id?: string;
993
+ createdAt?: string;
994
+ updatedAt?: string;
993
995
  registry?: string;
994
996
  profile?: {
995
997
  type?: number;
@@ -1009,7 +1011,6 @@ declare const resolveResponseSchema: z.ZodObject<{
1009
1011
  image?: string;
1010
1012
  adapter?: string;
1011
1013
  protocols?: string[];
1012
- createdAt?: string;
1013
1014
  endpoints?: string[] | Record<string, JsonValue$1>;
1014
1015
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
1015
1016
  originalId?: string;
@@ -1023,7 +1024,6 @@ declare const resolveResponseSchema: z.ZodObject<{
1023
1024
  availabilityScore?: number;
1024
1025
  capabilityLabels?: string[];
1025
1026
  capabilityTokens?: string[];
1026
- updatedAt?: string;
1027
1027
  lastSeen?: string;
1028
1028
  lastIndexed?: string;
1029
1029
  } & {
@@ -1037,6 +1037,8 @@ declare const resolveResponseSchema: z.ZodObject<{
1037
1037
  uaid?: string;
1038
1038
  description?: string;
1039
1039
  id?: string;
1040
+ createdAt?: string;
1041
+ updatedAt?: string;
1040
1042
  registry?: string;
1041
1043
  profile?: {
1042
1044
  type?: number;
@@ -1056,7 +1058,6 @@ declare const resolveResponseSchema: z.ZodObject<{
1056
1058
  image?: string;
1057
1059
  adapter?: string;
1058
1060
  protocols?: string[];
1059
- createdAt?: string;
1060
1061
  endpoints?: string[] | Record<string, JsonValue$1>;
1061
1062
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
1062
1063
  originalId?: string;
@@ -1070,7 +1071,6 @@ declare const resolveResponseSchema: z.ZodObject<{
1070
1071
  availabilityScore?: number;
1071
1072
  capabilityLabels?: string[];
1072
1073
  capabilityTokens?: string[];
1073
- updatedAt?: string;
1074
1074
  lastSeen?: string;
1075
1075
  lastIndexed?: string;
1076
1076
  } & {
@@ -1087,14 +1087,14 @@ declare const agentFeedbackResponseSchema: z.ZodObject<{
1087
1087
  updatedAt: z.ZodOptional<z.ZodString>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
1089
  network?: string;
1090
- registry?: string;
1091
1090
  updatedAt?: string;
1091
+ registry?: string;
1092
1092
  averageScore?: number;
1093
1093
  totalFeedbacks?: number;
1094
1094
  }, {
1095
1095
  network?: string;
1096
- registry?: string;
1097
1096
  updatedAt?: string;
1097
+ registry?: string;
1098
1098
  averageScore?: number;
1099
1099
  totalFeedbacks?: number;
1100
1100
  }>;
@@ -1114,8 +1114,8 @@ declare const agentFeedbackResponseSchema: z.ZodObject<{
1114
1114
  }, "strip", z.ZodTypeAny, {
1115
1115
  network?: string;
1116
1116
  client?: string;
1117
- registry?: string;
1118
1117
  createdAt?: string;
1118
+ registry?: string;
1119
1119
  agentId?: number;
1120
1120
  score?: number;
1121
1121
  tag1?: string;
@@ -1127,8 +1127,8 @@ declare const agentFeedbackResponseSchema: z.ZodObject<{
1127
1127
  }, {
1128
1128
  network?: string;
1129
1129
  client?: string;
1130
- registry?: string;
1131
1130
  createdAt?: string;
1131
+ registry?: string;
1132
1132
  agentId?: number;
1133
1133
  score?: number;
1134
1134
  tag1?: string;
@@ -1142,8 +1142,8 @@ declare const agentFeedbackResponseSchema: z.ZodObject<{
1142
1142
  entries?: {
1143
1143
  network?: string;
1144
1144
  client?: string;
1145
- registry?: string;
1146
1145
  createdAt?: string;
1146
+ registry?: string;
1147
1147
  agentId?: number;
1148
1148
  score?: number;
1149
1149
  tag1?: string;
@@ -1156,8 +1156,8 @@ declare const agentFeedbackResponseSchema: z.ZodObject<{
1156
1156
  uaid?: string;
1157
1157
  summary?: {
1158
1158
  network?: string;
1159
- registry?: string;
1160
1159
  updatedAt?: string;
1160
+ registry?: string;
1161
1161
  averageScore?: number;
1162
1162
  totalFeedbacks?: number;
1163
1163
  };
@@ -1165,8 +1165,8 @@ declare const agentFeedbackResponseSchema: z.ZodObject<{
1165
1165
  entries?: {
1166
1166
  network?: string;
1167
1167
  client?: string;
1168
- registry?: string;
1169
1168
  createdAt?: string;
1169
+ registry?: string;
1170
1170
  agentId?: number;
1171
1171
  score?: number;
1172
1172
  tag1?: string;
@@ -1179,8 +1179,8 @@ declare const agentFeedbackResponseSchema: z.ZodObject<{
1179
1179
  uaid?: string;
1180
1180
  summary?: {
1181
1181
  network?: string;
1182
- registry?: string;
1183
1182
  updatedAt?: string;
1183
+ registry?: string;
1184
1184
  averageScore?: number;
1185
1185
  totalFeedbacks?: number;
1186
1186
  };
@@ -1300,14 +1300,14 @@ declare const agentFeedbackIndexResponseSchema: z.ZodObject<{
1300
1300
  updatedAt: z.ZodOptional<z.ZodString>;
1301
1301
  }, "strip", z.ZodTypeAny, {
1302
1302
  network?: string;
1303
- registry?: string;
1304
1303
  updatedAt?: string;
1304
+ registry?: string;
1305
1305
  averageScore?: number;
1306
1306
  totalFeedbacks?: number;
1307
1307
  }, {
1308
1308
  network?: string;
1309
- registry?: string;
1310
1309
  updatedAt?: string;
1310
+ registry?: string;
1311
1311
  averageScore?: number;
1312
1312
  totalFeedbacks?: number;
1313
1313
  }>>;
@@ -1319,8 +1319,8 @@ declare const agentFeedbackIndexResponseSchema: z.ZodObject<{
1319
1319
  agentId?: number;
1320
1320
  summary?: {
1321
1321
  network?: string;
1322
- registry?: string;
1323
1322
  updatedAt?: string;
1323
+ registry?: string;
1324
1324
  averageScore?: number;
1325
1325
  totalFeedbacks?: number;
1326
1326
  };
@@ -1332,8 +1332,8 @@ declare const agentFeedbackIndexResponseSchema: z.ZodObject<{
1332
1332
  agentId?: number;
1333
1333
  summary?: {
1334
1334
  network?: string;
1335
- registry?: string;
1336
1335
  updatedAt?: string;
1336
+ registry?: string;
1337
1337
  averageScore?: number;
1338
1338
  totalFeedbacks?: number;
1339
1339
  };
@@ -1350,8 +1350,8 @@ declare const agentFeedbackIndexResponseSchema: z.ZodObject<{
1350
1350
  agentId?: number;
1351
1351
  summary?: {
1352
1352
  network?: string;
1353
- registry?: string;
1354
1353
  updatedAt?: string;
1354
+ registry?: string;
1355
1355
  averageScore?: number;
1356
1356
  totalFeedbacks?: number;
1357
1357
  };
@@ -1368,8 +1368,8 @@ declare const agentFeedbackIndexResponseSchema: z.ZodObject<{
1368
1368
  agentId?: number;
1369
1369
  summary?: {
1370
1370
  network?: string;
1371
- registry?: string;
1372
1371
  updatedAt?: string;
1372
+ registry?: string;
1373
1373
  averageScore?: number;
1374
1374
  totalFeedbacks?: number;
1375
1375
  };
@@ -1398,8 +1398,8 @@ declare const agentFeedbackEntriesIndexResponseSchema: z.ZodObject<{
1398
1398
  }, "strip", z.ZodTypeAny, {
1399
1399
  network?: string;
1400
1400
  client?: string;
1401
- registry?: string;
1402
1401
  createdAt?: string;
1402
+ registry?: string;
1403
1403
  agentId?: number;
1404
1404
  score?: number;
1405
1405
  tag1?: string;
@@ -1411,8 +1411,8 @@ declare const agentFeedbackEntriesIndexResponseSchema: z.ZodObject<{
1411
1411
  }, {
1412
1412
  network?: string;
1413
1413
  client?: string;
1414
- registry?: string;
1415
1414
  createdAt?: string;
1415
+ registry?: string;
1416
1416
  agentId?: number;
1417
1417
  score?: number;
1418
1418
  tag1?: string;
@@ -1427,8 +1427,8 @@ declare const agentFeedbackEntriesIndexResponseSchema: z.ZodObject<{
1427
1427
  entry?: {
1428
1428
  network?: string;
1429
1429
  client?: string;
1430
- registry?: string;
1431
1430
  createdAt?: string;
1431
+ registry?: string;
1432
1432
  agentId?: number;
1433
1433
  score?: number;
1434
1434
  tag1?: string;
@@ -1443,8 +1443,8 @@ declare const agentFeedbackEntriesIndexResponseSchema: z.ZodObject<{
1443
1443
  entry?: {
1444
1444
  network?: string;
1445
1445
  client?: string;
1446
- registry?: string;
1447
1446
  createdAt?: string;
1447
+ registry?: string;
1448
1448
  agentId?: number;
1449
1449
  score?: number;
1450
1450
  tag1?: string;
@@ -1464,8 +1464,8 @@ declare const agentFeedbackEntriesIndexResponseSchema: z.ZodObject<{
1464
1464
  entry?: {
1465
1465
  network?: string;
1466
1466
  client?: string;
1467
- registry?: string;
1468
1467
  createdAt?: string;
1468
+ registry?: string;
1469
1469
  agentId?: number;
1470
1470
  score?: number;
1471
1471
  tag1?: string;
@@ -1485,8 +1485,8 @@ declare const agentFeedbackEntriesIndexResponseSchema: z.ZodObject<{
1485
1485
  entry?: {
1486
1486
  network?: string;
1487
1487
  client?: string;
1488
- registry?: string;
1489
1488
  createdAt?: string;
1489
+ registry?: string;
1490
1490
  agentId?: number;
1491
1491
  score?: number;
1492
1492
  tag1?: string;
@@ -1762,6 +1762,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
1762
1762
  }>>;
1763
1763
  }, "strip", z.ZodTypeAny, {
1764
1764
  status?: "pending" | "complete";
1765
+ createdAt?: string;
1765
1766
  algorithm?: string;
1766
1767
  sessionId?: string;
1767
1768
  requester?: {
@@ -1788,10 +1789,10 @@ declare const createSessionResponseSchema: z.ZodObject<{
1788
1789
  ephemeralPublicKey?: string;
1789
1790
  submittedAt?: string;
1790
1791
  };
1791
- createdAt?: string;
1792
1792
  expiresAt?: number;
1793
1793
  }, {
1794
1794
  status?: "pending" | "complete";
1795
+ createdAt?: string;
1795
1796
  algorithm?: string;
1796
1797
  sessionId?: string;
1797
1798
  requester?: {
@@ -1818,7 +1819,6 @@ declare const createSessionResponseSchema: z.ZodObject<{
1818
1819
  ephemeralPublicKey?: string;
1819
1820
  submittedAt?: string;
1820
1821
  };
1821
- createdAt?: string;
1822
1822
  expiresAt?: number;
1823
1823
  }>>>;
1824
1824
  }, "strip", z.ZodTypeAny, {
@@ -1843,6 +1843,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
1843
1843
  requireCiphertext?: boolean;
1844
1844
  handshake?: {
1845
1845
  status?: "pending" | "complete";
1846
+ createdAt?: string;
1846
1847
  algorithm?: string;
1847
1848
  sessionId?: string;
1848
1849
  requester?: {
@@ -1869,7 +1870,6 @@ declare const createSessionResponseSchema: z.ZodObject<{
1869
1870
  ephemeralPublicKey?: string;
1870
1871
  submittedAt?: string;
1871
1872
  };
1872
- createdAt?: string;
1873
1873
  expiresAt?: number;
1874
1874
  };
1875
1875
  }, {
@@ -1894,6 +1894,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
1894
1894
  requireCiphertext?: boolean;
1895
1895
  handshake?: {
1896
1896
  status?: "pending" | "complete";
1897
+ createdAt?: string;
1897
1898
  algorithm?: string;
1898
1899
  sessionId?: string;
1899
1900
  requester?: {
@@ -1920,7 +1921,6 @@ declare const createSessionResponseSchema: z.ZodObject<{
1920
1921
  ephemeralPublicKey?: string;
1921
1922
  submittedAt?: string;
1922
1923
  };
1923
- createdAt?: string;
1924
1924
  expiresAt?: number;
1925
1925
  };
1926
1926
  }>>>;
@@ -1980,6 +1980,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
1980
1980
  requireCiphertext?: boolean;
1981
1981
  handshake?: {
1982
1982
  status?: "pending" | "complete";
1983
+ createdAt?: string;
1983
1984
  algorithm?: string;
1984
1985
  sessionId?: string;
1985
1986
  requester?: {
@@ -2006,7 +2007,6 @@ declare const createSessionResponseSchema: z.ZodObject<{
2006
2007
  ephemeralPublicKey?: string;
2007
2008
  submittedAt?: string;
2008
2009
  };
2009
- createdAt?: string;
2010
2010
  expiresAt?: number;
2011
2011
  };
2012
2012
  };
@@ -2066,6 +2066,7 @@ declare const createSessionResponseSchema: z.ZodObject<{
2066
2066
  requireCiphertext?: boolean;
2067
2067
  handshake?: {
2068
2068
  status?: "pending" | "complete";
2069
+ createdAt?: string;
2069
2070
  algorithm?: string;
2070
2071
  sessionId?: string;
2071
2072
  requester?: {
@@ -2092,7 +2093,6 @@ declare const createSessionResponseSchema: z.ZodObject<{
2092
2093
  ephemeralPublicKey?: string;
2093
2094
  submittedAt?: string;
2094
2095
  };
2095
- createdAt?: string;
2096
2096
  expiresAt?: number;
2097
2097
  };
2098
2098
  };
@@ -2104,6 +2104,7 @@ declare const sendMessageResponseSchema: z.ZodObject<{
2104
2104
  timestamp: z.ZodString;
2105
2105
  rawResponse: z.ZodOptional<z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>;
2106
2106
  content: z.ZodOptional<z.ZodString>;
2107
+ ops: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>, "many">>;
2107
2108
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
2108
2109
  messageId: z.ZodString;
2109
2110
  role: z.ZodEnum<["user", "agent"]>;
@@ -2258,6 +2259,7 @@ declare const sendMessageResponseSchema: z.ZodObject<{
2258
2259
  }[];
2259
2260
  historyTtlSeconds?: number;
2260
2261
  rawResponse?: JsonValue$1;
2262
+ ops?: Record<string, JsonValue$1>[];
2261
2263
  encrypted?: boolean;
2262
2264
  }, {
2263
2265
  timestamp?: string;
@@ -2291,6 +2293,7 @@ declare const sendMessageResponseSchema: z.ZodObject<{
2291
2293
  }[];
2292
2294
  historyTtlSeconds?: number;
2293
2295
  rawResponse?: JsonValue$1;
2296
+ ops?: Record<string, JsonValue$1>[];
2294
2297
  encrypted?: boolean;
2295
2298
  }>;
2296
2299
  declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
@@ -3117,6 +3120,7 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3117
3120
  }>>;
3118
3121
  }, "strip", z.ZodTypeAny, {
3119
3122
  status?: "pending" | "complete";
3123
+ createdAt?: string;
3120
3124
  algorithm?: string;
3121
3125
  sessionId?: string;
3122
3126
  requester?: {
@@ -3143,10 +3147,10 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3143
3147
  ephemeralPublicKey?: string;
3144
3148
  submittedAt?: string;
3145
3149
  };
3146
- createdAt?: string;
3147
3150
  expiresAt?: number;
3148
3151
  }, {
3149
3152
  status?: "pending" | "complete";
3153
+ createdAt?: string;
3150
3154
  algorithm?: string;
3151
3155
  sessionId?: string;
3152
3156
  requester?: {
@@ -3173,7 +3177,6 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3173
3177
  ephemeralPublicKey?: string;
3174
3178
  submittedAt?: string;
3175
3179
  };
3176
- createdAt?: string;
3177
3180
  expiresAt?: number;
3178
3181
  }>>>;
3179
3182
  }, "strip", z.ZodTypeAny, {
@@ -3198,6 +3201,7 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3198
3201
  requireCiphertext?: boolean;
3199
3202
  handshake?: {
3200
3203
  status?: "pending" | "complete";
3204
+ createdAt?: string;
3201
3205
  algorithm?: string;
3202
3206
  sessionId?: string;
3203
3207
  requester?: {
@@ -3224,7 +3228,6 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3224
3228
  ephemeralPublicKey?: string;
3225
3229
  submittedAt?: string;
3226
3230
  };
3227
- createdAt?: string;
3228
3231
  expiresAt?: number;
3229
3232
  };
3230
3233
  }, {
@@ -3249,6 +3252,7 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3249
3252
  requireCiphertext?: boolean;
3250
3253
  handshake?: {
3251
3254
  status?: "pending" | "complete";
3255
+ createdAt?: string;
3252
3256
  algorithm?: string;
3253
3257
  sessionId?: string;
3254
3258
  requester?: {
@@ -3275,7 +3279,6 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3275
3279
  ephemeralPublicKey?: string;
3276
3280
  submittedAt?: string;
3277
3281
  };
3278
- createdAt?: string;
3279
3282
  expiresAt?: number;
3280
3283
  };
3281
3284
  }>>;
@@ -3303,6 +3306,7 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3303
3306
  requireCiphertext?: boolean;
3304
3307
  handshake?: {
3305
3308
  status?: "pending" | "complete";
3309
+ createdAt?: string;
3306
3310
  algorithm?: string;
3307
3311
  sessionId?: string;
3308
3312
  requester?: {
@@ -3329,7 +3333,6 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3329
3333
  ephemeralPublicKey?: string;
3330
3334
  submittedAt?: string;
3331
3335
  };
3332
- createdAt?: string;
3333
3336
  expiresAt?: number;
3334
3337
  };
3335
3338
  };
@@ -3357,6 +3360,7 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3357
3360
  requireCiphertext?: boolean;
3358
3361
  handshake?: {
3359
3362
  status?: "pending" | "complete";
3363
+ createdAt?: string;
3360
3364
  algorithm?: string;
3361
3365
  sessionId?: string;
3362
3366
  requester?: {
@@ -3383,7 +3387,6 @@ declare const sessionEncryptionStatusResponseSchema: z.ZodObject<{
3383
3387
  ephemeralPublicKey?: string;
3384
3388
  submittedAt?: string;
3385
3389
  };
3386
- createdAt?: string;
3387
3390
  expiresAt?: number;
3388
3391
  };
3389
3392
  };
@@ -3466,6 +3469,7 @@ declare const encryptionHandshakeResponseSchema: z.ZodObject<{
3466
3469
  }>>;
3467
3470
  }, "strip", z.ZodTypeAny, {
3468
3471
  status?: "pending" | "complete";
3472
+ createdAt?: string;
3469
3473
  algorithm?: string;
3470
3474
  sessionId?: string;
3471
3475
  requester?: {
@@ -3492,10 +3496,10 @@ declare const encryptionHandshakeResponseSchema: z.ZodObject<{
3492
3496
  ephemeralPublicKey?: string;
3493
3497
  submittedAt?: string;
3494
3498
  };
3495
- createdAt?: string;
3496
3499
  expiresAt?: number;
3497
3500
  }, {
3498
3501
  status?: "pending" | "complete";
3502
+ createdAt?: string;
3499
3503
  algorithm?: string;
3500
3504
  sessionId?: string;
3501
3505
  requester?: {
@@ -3522,13 +3526,13 @@ declare const encryptionHandshakeResponseSchema: z.ZodObject<{
3522
3526
  ephemeralPublicKey?: string;
3523
3527
  submittedAt?: string;
3524
3528
  };
3525
- createdAt?: string;
3526
3529
  expiresAt?: number;
3527
3530
  }>;
3528
3531
  }, "strip", z.ZodTypeAny, {
3529
3532
  sessionId?: string;
3530
3533
  handshake?: {
3531
3534
  status?: "pending" | "complete";
3535
+ createdAt?: string;
3532
3536
  algorithm?: string;
3533
3537
  sessionId?: string;
3534
3538
  requester?: {
@@ -3555,13 +3559,13 @@ declare const encryptionHandshakeResponseSchema: z.ZodObject<{
3555
3559
  ephemeralPublicKey?: string;
3556
3560
  submittedAt?: string;
3557
3561
  };
3558
- createdAt?: string;
3559
3562
  expiresAt?: number;
3560
3563
  };
3561
3564
  }, {
3562
3565
  sessionId?: string;
3563
3566
  handshake?: {
3564
3567
  status?: "pending" | "complete";
3568
+ createdAt?: string;
3565
3569
  algorithm?: string;
3566
3570
  sessionId?: string;
3567
3571
  requester?: {
@@ -3588,7 +3592,6 @@ declare const encryptionHandshakeResponseSchema: z.ZodObject<{
3588
3592
  ephemeralPublicKey?: string;
3589
3593
  submittedAt?: string;
3590
3594
  };
3591
- createdAt?: string;
3592
3595
  expiresAt?: number;
3593
3596
  };
3594
3597
  }>;
@@ -3607,23 +3610,23 @@ declare const registerEncryptionKeyResponseSchema: z.ZodObject<{
3607
3610
  keyType?: string;
3608
3611
  uaid?: string;
3609
3612
  id?: string;
3613
+ createdAt?: string;
3614
+ updatedAt?: string;
3610
3615
  publicKey?: string;
3611
3616
  ledgerAccountId?: string;
3612
3617
  userId?: string;
3613
3618
  email?: string;
3614
- createdAt?: string;
3615
- updatedAt?: string;
3616
3619
  ledgerNetwork?: string;
3617
3620
  }, {
3618
3621
  keyType?: string;
3619
3622
  uaid?: string;
3620
3623
  id?: string;
3624
+ createdAt?: string;
3625
+ updatedAt?: string;
3621
3626
  publicKey?: string;
3622
3627
  ledgerAccountId?: string;
3623
3628
  userId?: string;
3624
3629
  email?: string;
3625
- createdAt?: string;
3626
- updatedAt?: string;
3627
3630
  ledgerNetwork?: string;
3628
3631
  }>;
3629
3632
  declare const ledgerChallengeResponseSchema: z.ZodObject<{
@@ -3654,8 +3657,8 @@ declare const ledgerVerifyResponseSchema: z.ZodObject<{
3654
3657
  ledgerNetworkCanonical: z.ZodOptional<z.ZodString>;
3655
3658
  }, "strip", z.ZodTypeAny, {
3656
3659
  id?: string;
3657
- ledgerAccountId?: string;
3658
3660
  createdAt?: string;
3661
+ ledgerAccountId?: string;
3659
3662
  ledgerNetwork?: string;
3660
3663
  label?: string;
3661
3664
  prefix?: string;
@@ -3665,8 +3668,8 @@ declare const ledgerVerifyResponseSchema: z.ZodObject<{
3665
3668
  ledgerNetworkCanonical?: string;
3666
3669
  }, {
3667
3670
  id?: string;
3668
- ledgerAccountId?: string;
3669
3671
  createdAt?: string;
3672
+ ledgerAccountId?: string;
3670
3673
  ledgerNetwork?: string;
3671
3674
  label?: string;
3672
3675
  prefix?: string;
@@ -3684,8 +3687,8 @@ declare const ledgerVerifyResponseSchema: z.ZodObject<{
3684
3687
  network?: string;
3685
3688
  apiKey?: {
3686
3689
  id?: string;
3687
- ledgerAccountId?: string;
3688
3690
  createdAt?: string;
3691
+ ledgerAccountId?: string;
3689
3692
  ledgerNetwork?: string;
3690
3693
  label?: string;
3691
3694
  prefix?: string;
@@ -3701,8 +3704,8 @@ declare const ledgerVerifyResponseSchema: z.ZodObject<{
3701
3704
  network?: string;
3702
3705
  apiKey?: {
3703
3706
  id?: string;
3704
- ledgerAccountId?: string;
3705
3707
  createdAt?: string;
3708
+ ledgerAccountId?: string;
3706
3709
  ledgerNetwork?: string;
3707
3710
  label?: string;
3708
3711
  prefix?: string;
@@ -4450,6 +4453,8 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4450
4453
  uaid?: string;
4451
4454
  description?: string;
4452
4455
  id?: string;
4456
+ createdAt?: string;
4457
+ updatedAt?: string;
4453
4458
  registry?: string;
4454
4459
  profile?: {
4455
4460
  type?: number;
@@ -4469,7 +4474,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4469
4474
  image?: string;
4470
4475
  adapter?: string;
4471
4476
  protocols?: string[];
4472
- createdAt?: string;
4473
4477
  endpoints?: string[] | Record<string, JsonValue$1>;
4474
4478
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
4475
4479
  originalId?: string;
@@ -4483,7 +4487,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4483
4487
  availabilityScore?: number;
4484
4488
  capabilityLabels?: string[];
4485
4489
  capabilityTokens?: string[];
4486
- updatedAt?: string;
4487
4490
  lastSeen?: string;
4488
4491
  lastIndexed?: string;
4489
4492
  } & {
@@ -4499,6 +4502,8 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4499
4502
  uaid?: string;
4500
4503
  description?: string;
4501
4504
  id?: string;
4505
+ createdAt?: string;
4506
+ updatedAt?: string;
4502
4507
  registry?: string;
4503
4508
  profile?: {
4504
4509
  type?: number;
@@ -4518,7 +4523,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4518
4523
  image?: string;
4519
4524
  adapter?: string;
4520
4525
  protocols?: string[];
4521
- createdAt?: string;
4522
4526
  endpoints?: string[] | Record<string, JsonValue$1>;
4523
4527
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
4524
4528
  originalId?: string;
@@ -4532,7 +4536,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4532
4536
  availabilityScore?: number;
4533
4537
  capabilityLabels?: string[];
4534
4538
  capabilityTokens?: string[];
4535
- updatedAt?: string;
4536
4539
  lastSeen?: string;
4537
4540
  lastIndexed?: string;
4538
4541
  } & {
@@ -4556,6 +4559,8 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4556
4559
  uaid?: string;
4557
4560
  description?: string;
4558
4561
  id?: string;
4562
+ createdAt?: string;
4563
+ updatedAt?: string;
4559
4564
  registry?: string;
4560
4565
  profile?: {
4561
4566
  type?: number;
@@ -4575,7 +4580,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4575
4580
  image?: string;
4576
4581
  adapter?: string;
4577
4582
  protocols?: string[];
4578
- createdAt?: string;
4579
4583
  endpoints?: string[] | Record<string, JsonValue$1>;
4580
4584
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
4581
4585
  originalId?: string;
@@ -4589,7 +4593,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4589
4593
  availabilityScore?: number;
4590
4594
  capabilityLabels?: string[];
4591
4595
  capabilityTokens?: string[];
4592
- updatedAt?: string;
4593
4596
  lastSeen?: string;
4594
4597
  lastIndexed?: string;
4595
4598
  } & {
@@ -4613,6 +4616,8 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4613
4616
  uaid?: string;
4614
4617
  description?: string;
4615
4618
  id?: string;
4619
+ createdAt?: string;
4620
+ updatedAt?: string;
4616
4621
  registry?: string;
4617
4622
  profile?: {
4618
4623
  type?: number;
@@ -4632,7 +4637,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4632
4637
  image?: string;
4633
4638
  adapter?: string;
4634
4639
  protocols?: string[];
4635
- createdAt?: string;
4636
4640
  endpoints?: string[] | Record<string, JsonValue$1>;
4637
4641
  metadataFacet?: Record<string, JsonValue$1 | JsonValue$1[] | Record<string, JsonValue$1>>;
4638
4642
  originalId?: string;
@@ -4646,7 +4650,6 @@ declare const vectorSearchResponseSchema: z.ZodObject<{
4646
4650
  availabilityScore?: number;
4647
4651
  capabilityLabels?: string[];
4648
4652
  capabilityTokens?: string[];
4649
- updatedAt?: string;
4650
4653
  lastSeen?: string;
4651
4654
  lastIndexed?: string;
4652
4655
  } & {
@@ -5023,16 +5026,16 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
5023
5026
  metadata?: Record<string, string | number | boolean>;
5024
5027
  status?: "error" | "connected" | "disconnected";
5025
5028
  id?: string;
5026
- protocol?: string;
5027
5029
  createdAt?: string;
5030
+ protocol?: string;
5028
5031
  agentId?: string;
5029
5032
  endpoint?: string;
5030
5033
  }, {
5031
5034
  metadata?: Record<string, string | number | boolean>;
5032
5035
  status?: "error" | "connected" | "disconnected";
5033
5036
  id?: string;
5034
- protocol?: string;
5035
5037
  createdAt?: string;
5038
+ protocol?: string;
5036
5039
  agentId?: string;
5037
5040
  endpoint?: string;
5038
5041
  }>>;
@@ -5043,8 +5046,8 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
5043
5046
  metadata?: Record<string, string | number | boolean>;
5044
5047
  status?: "error" | "connected" | "disconnected";
5045
5048
  id?: string;
5046
- protocol?: string;
5047
5049
  createdAt?: string;
5050
+ protocol?: string;
5048
5051
  agentId?: string;
5049
5052
  endpoint?: string;
5050
5053
  };
@@ -5056,8 +5059,8 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
5056
5059
  metadata?: Record<string, string | number | boolean>;
5057
5060
  status?: "error" | "connected" | "disconnected";
5058
5061
  id?: string;
5059
- protocol?: string;
5060
5062
  createdAt?: string;
5063
+ protocol?: string;
5061
5064
  agentId?: string;
5062
5065
  endpoint?: string;
5063
5066
  };
@@ -5515,11 +5518,11 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
5515
5518
  tId: z.ZodNullable<z.ZodString>;
5516
5519
  sizeBytes: z.ZodOptional<z.ZodNumber>;
5517
5520
  }, "strip", z.ZodTypeAny, {
5518
- tId?: string;
5519
5521
  sizeBytes?: number;
5520
- }, {
5521
5522
  tId?: string;
5523
+ }, {
5522
5524
  sizeBytes?: number;
5525
+ tId?: string;
5523
5526
  }>>;
5524
5527
  profileRegistry: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
5525
5528
  topicId: z.ZodOptional<z.ZodString>;
@@ -5850,15 +5853,21 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
5850
5853
  };
5851
5854
  }>, "many">>;
5852
5855
  additionalRegistryCostPerRegistry: z.ZodOptional<z.ZodNumber>;
5856
+ additionalRegistrySecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>>;
5853
5857
  }, "strip", z.ZodTypeAny, {
5854
5858
  uaid?: string;
5855
5859
  status?: "created" | "duplicate" | "updated";
5860
+ credits?: {
5861
+ total?: number;
5862
+ base?: number;
5863
+ additional?: number;
5864
+ };
5856
5865
  registry?: string;
5857
5866
  message?: string;
5858
5867
  success?: true;
5859
5868
  profile?: {
5860
- tId?: string;
5861
5869
  sizeBytes?: number;
5870
+ tId?: string;
5862
5871
  };
5863
5872
  agent?: {
5864
5873
  type?: string;
@@ -5887,11 +5896,6 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
5887
5896
  endpoint?: string;
5888
5897
  };
5889
5898
  agentId?: string;
5890
- credits?: {
5891
- total?: number;
5892
- base?: number;
5893
- additional?: number;
5894
- };
5895
5899
  attemptId?: string;
5896
5900
  openConvAI?: {
5897
5901
  compatible?: boolean;
@@ -6002,15 +6006,21 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6002
6006
  };
6003
6007
  }[];
6004
6008
  additionalRegistryCostPerRegistry?: number;
6009
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
6005
6010
  }, {
6006
6011
  uaid?: string;
6007
6012
  status?: "created" | "duplicate" | "updated";
6013
+ credits?: {
6014
+ total?: number;
6015
+ base?: number;
6016
+ additional?: number;
6017
+ };
6008
6018
  registry?: string;
6009
6019
  message?: string;
6010
6020
  success?: true;
6011
6021
  profile?: {
6012
- tId?: string;
6013
6022
  sizeBytes?: number;
6023
+ tId?: string;
6014
6024
  };
6015
6025
  agent?: {
6016
6026
  type?: string;
@@ -6039,11 +6049,6 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6039
6049
  endpoint?: string;
6040
6050
  };
6041
6051
  agentId?: string;
6042
- credits?: {
6043
- total?: number;
6044
- base?: number;
6045
- additional?: number;
6046
- };
6047
6052
  attemptId?: string;
6048
6053
  openConvAI?: {
6049
6054
  compatible?: boolean;
@@ -6154,6 +6159,7 @@ declare const registerAgentSuccessResponseSchema: z.ZodObject<{
6154
6159
  };
6155
6160
  }[];
6156
6161
  additionalRegistryCostPerRegistry?: number;
6162
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
6157
6163
  }>;
6158
6164
  declare const registerAgentPendingResponseSchema: z.ZodObject<{
6159
6165
  success: z.ZodLiteral<true>;
@@ -6374,11 +6380,11 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
6374
6380
  tId: z.ZodNullable<z.ZodString>;
6375
6381
  sizeBytes: z.ZodOptional<z.ZodNumber>;
6376
6382
  }, "strip", z.ZodTypeAny, {
6377
- tId?: string;
6378
6383
  sizeBytes?: number;
6379
- }, {
6380
6384
  tId?: string;
6385
+ }, {
6381
6386
  sizeBytes?: number;
6387
+ tId?: string;
6382
6388
  }>>;
6383
6389
  profileRegistry: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
6384
6390
  topicId: z.ZodOptional<z.ZodString>;
@@ -6709,15 +6715,21 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
6709
6715
  };
6710
6716
  }>, "many">>;
6711
6717
  additionalRegistryCostPerRegistry: z.ZodOptional<z.ZodNumber>;
6718
+ additionalRegistrySecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>>;
6712
6719
  }, "strip", z.ZodTypeAny, {
6713
6720
  uaid?: string;
6714
6721
  status?: "pending";
6722
+ credits?: {
6723
+ total?: number;
6724
+ base?: number;
6725
+ additional?: number;
6726
+ };
6715
6727
  registry?: string;
6716
6728
  message?: string;
6717
6729
  success?: true;
6718
6730
  profile?: {
6719
- tId?: string;
6720
6731
  sizeBytes?: number;
6732
+ tId?: string;
6721
6733
  };
6722
6734
  agent?: {
6723
6735
  type?: string;
@@ -6746,11 +6758,6 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
6746
6758
  endpoint?: string;
6747
6759
  };
6748
6760
  agentId?: string;
6749
- credits?: {
6750
- total?: number;
6751
- base?: number;
6752
- additional?: number;
6753
- };
6754
6761
  attemptId?: string;
6755
6762
  openConvAI?: {
6756
6763
  compatible?: boolean;
@@ -6861,15 +6868,21 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
6861
6868
  };
6862
6869
  }[];
6863
6870
  additionalRegistryCostPerRegistry?: number;
6871
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
6864
6872
  }, {
6865
6873
  uaid?: string;
6866
6874
  status?: "pending";
6875
+ credits?: {
6876
+ total?: number;
6877
+ base?: number;
6878
+ additional?: number;
6879
+ };
6867
6880
  registry?: string;
6868
6881
  message?: string;
6869
6882
  success?: true;
6870
6883
  profile?: {
6871
- tId?: string;
6872
6884
  sizeBytes?: number;
6885
+ tId?: string;
6873
6886
  };
6874
6887
  agent?: {
6875
6888
  type?: string;
@@ -6898,11 +6911,6 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
6898
6911
  endpoint?: string;
6899
6912
  };
6900
6913
  agentId?: string;
6901
- credits?: {
6902
- total?: number;
6903
- base?: number;
6904
- additional?: number;
6905
- };
6906
6914
  attemptId?: string;
6907
6915
  openConvAI?: {
6908
6916
  compatible?: boolean;
@@ -7013,6 +7021,7 @@ declare const registerAgentPendingResponseSchema: z.ZodObject<{
7013
7021
  };
7014
7022
  }[];
7015
7023
  additionalRegistryCostPerRegistry?: number;
7024
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
7016
7025
  }>;
7017
7026
  declare const registerAgentPartialResponseSchema: z.ZodObject<{
7018
7027
  success: z.ZodLiteral<false>;
@@ -7233,11 +7242,11 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7233
7242
  tId: z.ZodNullable<z.ZodString>;
7234
7243
  sizeBytes: z.ZodOptional<z.ZodNumber>;
7235
7244
  }, "strip", z.ZodTypeAny, {
7236
- tId?: string;
7237
7245
  sizeBytes?: number;
7238
- }, {
7239
7246
  tId?: string;
7247
+ }, {
7240
7248
  sizeBytes?: number;
7249
+ tId?: string;
7241
7250
  }>>;
7242
7251
  profileRegistry: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
7243
7252
  topicId: z.ZodOptional<z.ZodString>;
@@ -7568,6 +7577,7 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7568
7577
  };
7569
7578
  }>, "many">>;
7570
7579
  additionalRegistryCostPerRegistry: z.ZodOptional<z.ZodNumber>;
7580
+ additionalRegistrySecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>>;
7571
7581
  errors: z.ZodArray<z.ZodObject<{
7572
7582
  registry: z.ZodString;
7573
7583
  registryKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7584,12 +7594,17 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7584
7594
  }, "strip", z.ZodTypeAny, {
7585
7595
  uaid?: string;
7586
7596
  status?: "partial";
7597
+ credits?: {
7598
+ total?: number;
7599
+ base?: number;
7600
+ additional?: number;
7601
+ };
7587
7602
  registry?: string;
7588
7603
  message?: string;
7589
7604
  success?: false;
7590
7605
  profile?: {
7591
- tId?: string;
7592
7606
  sizeBytes?: number;
7607
+ tId?: string;
7593
7608
  };
7594
7609
  agent?: {
7595
7610
  type?: string;
@@ -7618,11 +7633,6 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7618
7633
  endpoint?: string;
7619
7634
  };
7620
7635
  agentId?: string;
7621
- credits?: {
7622
- total?: number;
7623
- base?: number;
7624
- additional?: number;
7625
- };
7626
7636
  attemptId?: string;
7627
7637
  openConvAI?: {
7628
7638
  compatible?: boolean;
@@ -7733,6 +7743,7 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7733
7743
  };
7734
7744
  }[];
7735
7745
  additionalRegistryCostPerRegistry?: number;
7746
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
7736
7747
  errors?: {
7737
7748
  error?: string;
7738
7749
  registry?: string;
@@ -7741,12 +7752,17 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7741
7752
  }, {
7742
7753
  uaid?: string;
7743
7754
  status?: "partial";
7755
+ credits?: {
7756
+ total?: number;
7757
+ base?: number;
7758
+ additional?: number;
7759
+ };
7744
7760
  registry?: string;
7745
7761
  message?: string;
7746
7762
  success?: false;
7747
7763
  profile?: {
7748
- tId?: string;
7749
7764
  sizeBytes?: number;
7765
+ tId?: string;
7750
7766
  };
7751
7767
  agent?: {
7752
7768
  type?: string;
@@ -7775,11 +7791,6 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7775
7791
  endpoint?: string;
7776
7792
  };
7777
7793
  agentId?: string;
7778
- credits?: {
7779
- total?: number;
7780
- base?: number;
7781
- additional?: number;
7782
- };
7783
7794
  attemptId?: string;
7784
7795
  openConvAI?: {
7785
7796
  compatible?: boolean;
@@ -7890,6 +7901,7 @@ declare const registerAgentPartialResponseSchema: z.ZodObject<{
7890
7901
  };
7891
7902
  }[];
7892
7903
  additionalRegistryCostPerRegistry?: number;
7904
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
7893
7905
  errors?: {
7894
7906
  error?: string;
7895
7907
  registry?: string;
@@ -8115,11 +8127,11 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8115
8127
  tId: z.ZodNullable<z.ZodString>;
8116
8128
  sizeBytes: z.ZodOptional<z.ZodNumber>;
8117
8129
  }, "strip", z.ZodTypeAny, {
8118
- tId?: string;
8119
8130
  sizeBytes?: number;
8120
- }, {
8121
8131
  tId?: string;
8132
+ }, {
8122
8133
  sizeBytes?: number;
8134
+ tId?: string;
8123
8135
  }>>;
8124
8136
  profileRegistry: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
8125
8137
  topicId: z.ZodOptional<z.ZodString>;
@@ -8450,15 +8462,21 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8450
8462
  };
8451
8463
  }>, "many">>;
8452
8464
  additionalRegistryCostPerRegistry: z.ZodOptional<z.ZodNumber>;
8465
+ additionalRegistrySecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>>;
8453
8466
  }, "strip", z.ZodTypeAny, {
8454
8467
  uaid?: string;
8455
8468
  status?: "created" | "duplicate" | "updated";
8469
+ credits?: {
8470
+ total?: number;
8471
+ base?: number;
8472
+ additional?: number;
8473
+ };
8456
8474
  registry?: string;
8457
8475
  message?: string;
8458
8476
  success?: true;
8459
8477
  profile?: {
8460
- tId?: string;
8461
8478
  sizeBytes?: number;
8479
+ tId?: string;
8462
8480
  };
8463
8481
  agent?: {
8464
8482
  type?: string;
@@ -8487,11 +8505,6 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8487
8505
  endpoint?: string;
8488
8506
  };
8489
8507
  agentId?: string;
8490
- credits?: {
8491
- total?: number;
8492
- base?: number;
8493
- additional?: number;
8494
- };
8495
8508
  attemptId?: string;
8496
8509
  openConvAI?: {
8497
8510
  compatible?: boolean;
@@ -8602,15 +8615,21 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8602
8615
  };
8603
8616
  }[];
8604
8617
  additionalRegistryCostPerRegistry?: number;
8618
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
8605
8619
  }, {
8606
8620
  uaid?: string;
8607
8621
  status?: "created" | "duplicate" | "updated";
8622
+ credits?: {
8623
+ total?: number;
8624
+ base?: number;
8625
+ additional?: number;
8626
+ };
8608
8627
  registry?: string;
8609
8628
  message?: string;
8610
8629
  success?: true;
8611
8630
  profile?: {
8612
- tId?: string;
8613
8631
  sizeBytes?: number;
8632
+ tId?: string;
8614
8633
  };
8615
8634
  agent?: {
8616
8635
  type?: string;
@@ -8639,11 +8658,6 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8639
8658
  endpoint?: string;
8640
8659
  };
8641
8660
  agentId?: string;
8642
- credits?: {
8643
- total?: number;
8644
- base?: number;
8645
- additional?: number;
8646
- };
8647
8661
  attemptId?: string;
8648
8662
  openConvAI?: {
8649
8663
  compatible?: boolean;
@@ -8754,6 +8768,7 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8754
8768
  };
8755
8769
  }[];
8756
8770
  additionalRegistryCostPerRegistry?: number;
8771
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
8757
8772
  }>, z.ZodObject<{
8758
8773
  success: z.ZodLiteral<true>;
8759
8774
  status: z.ZodLiteral<"pending">;
@@ -8973,11 +8988,11 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
8973
8988
  tId: z.ZodNullable<z.ZodString>;
8974
8989
  sizeBytes: z.ZodOptional<z.ZodNumber>;
8975
8990
  }, "strip", z.ZodTypeAny, {
8976
- tId?: string;
8977
8991
  sizeBytes?: number;
8978
- }, {
8979
8992
  tId?: string;
8993
+ }, {
8980
8994
  sizeBytes?: number;
8995
+ tId?: string;
8981
8996
  }>>;
8982
8997
  profileRegistry: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
8983
8998
  topicId: z.ZodOptional<z.ZodString>;
@@ -9308,15 +9323,21 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9308
9323
  };
9309
9324
  }>, "many">>;
9310
9325
  additionalRegistryCostPerRegistry: z.ZodOptional<z.ZodNumber>;
9326
+ additionalRegistrySecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>>;
9311
9327
  }, "strip", z.ZodTypeAny, {
9312
9328
  uaid?: string;
9313
9329
  status?: "pending";
9330
+ credits?: {
9331
+ total?: number;
9332
+ base?: number;
9333
+ additional?: number;
9334
+ };
9314
9335
  registry?: string;
9315
9336
  message?: string;
9316
9337
  success?: true;
9317
9338
  profile?: {
9318
- tId?: string;
9319
9339
  sizeBytes?: number;
9340
+ tId?: string;
9320
9341
  };
9321
9342
  agent?: {
9322
9343
  type?: string;
@@ -9345,11 +9366,6 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9345
9366
  endpoint?: string;
9346
9367
  };
9347
9368
  agentId?: string;
9348
- credits?: {
9349
- total?: number;
9350
- base?: number;
9351
- additional?: number;
9352
- };
9353
9369
  attemptId?: string;
9354
9370
  openConvAI?: {
9355
9371
  compatible?: boolean;
@@ -9460,15 +9476,21 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9460
9476
  };
9461
9477
  }[];
9462
9478
  additionalRegistryCostPerRegistry?: number;
9479
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
9463
9480
  }, {
9464
9481
  uaid?: string;
9465
9482
  status?: "pending";
9483
+ credits?: {
9484
+ total?: number;
9485
+ base?: number;
9486
+ additional?: number;
9487
+ };
9466
9488
  registry?: string;
9467
9489
  message?: string;
9468
9490
  success?: true;
9469
9491
  profile?: {
9470
- tId?: string;
9471
9492
  sizeBytes?: number;
9493
+ tId?: string;
9472
9494
  };
9473
9495
  agent?: {
9474
9496
  type?: string;
@@ -9497,11 +9519,6 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9497
9519
  endpoint?: string;
9498
9520
  };
9499
9521
  agentId?: string;
9500
- credits?: {
9501
- total?: number;
9502
- base?: number;
9503
- additional?: number;
9504
- };
9505
9522
  attemptId?: string;
9506
9523
  openConvAI?: {
9507
9524
  compatible?: boolean;
@@ -9612,6 +9629,7 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9612
9629
  };
9613
9630
  }[];
9614
9631
  additionalRegistryCostPerRegistry?: number;
9632
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
9615
9633
  }>, z.ZodObject<{
9616
9634
  success: z.ZodLiteral<false>;
9617
9635
  status: z.ZodLiteral<"partial">;
@@ -9831,11 +9849,11 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
9831
9849
  tId: z.ZodNullable<z.ZodString>;
9832
9850
  sizeBytes: z.ZodOptional<z.ZodNumber>;
9833
9851
  }, "strip", z.ZodTypeAny, {
9834
- tId?: string;
9835
9852
  sizeBytes?: number;
9836
- }, {
9837
9853
  tId?: string;
9854
+ }, {
9838
9855
  sizeBytes?: number;
9856
+ tId?: string;
9839
9857
  }>>;
9840
9858
  profileRegistry: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
9841
9859
  topicId: z.ZodOptional<z.ZodString>;
@@ -10166,6 +10184,7 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10166
10184
  };
10167
10185
  }>, "many">>;
10168
10186
  additionalRegistryCostPerRegistry: z.ZodOptional<z.ZodNumber>;
10187
+ additionalRegistrySecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>>>;
10169
10188
  errors: z.ZodArray<z.ZodObject<{
10170
10189
  registry: z.ZodString;
10171
10190
  registryKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10182,12 +10201,17 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10182
10201
  }, "strip", z.ZodTypeAny, {
10183
10202
  uaid?: string;
10184
10203
  status?: "partial";
10204
+ credits?: {
10205
+ total?: number;
10206
+ base?: number;
10207
+ additional?: number;
10208
+ };
10185
10209
  registry?: string;
10186
10210
  message?: string;
10187
10211
  success?: false;
10188
10212
  profile?: {
10189
- tId?: string;
10190
10213
  sizeBytes?: number;
10214
+ tId?: string;
10191
10215
  };
10192
10216
  agent?: {
10193
10217
  type?: string;
@@ -10216,11 +10240,6 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10216
10240
  endpoint?: string;
10217
10241
  };
10218
10242
  agentId?: string;
10219
- credits?: {
10220
- total?: number;
10221
- base?: number;
10222
- additional?: number;
10223
- };
10224
10243
  attemptId?: string;
10225
10244
  openConvAI?: {
10226
10245
  compatible?: boolean;
@@ -10331,6 +10350,7 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10331
10350
  };
10332
10351
  }[];
10333
10352
  additionalRegistryCostPerRegistry?: number;
10353
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
10334
10354
  errors?: {
10335
10355
  error?: string;
10336
10356
  registry?: string;
@@ -10339,12 +10359,17 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10339
10359
  }, {
10340
10360
  uaid?: string;
10341
10361
  status?: "partial";
10362
+ credits?: {
10363
+ total?: number;
10364
+ base?: number;
10365
+ additional?: number;
10366
+ };
10342
10367
  registry?: string;
10343
10368
  message?: string;
10344
10369
  success?: false;
10345
10370
  profile?: {
10346
- tId?: string;
10347
10371
  sizeBytes?: number;
10372
+ tId?: string;
10348
10373
  };
10349
10374
  agent?: {
10350
10375
  type?: string;
@@ -10373,11 +10398,6 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10373
10398
  endpoint?: string;
10374
10399
  };
10375
10400
  agentId?: string;
10376
- credits?: {
10377
- total?: number;
10378
- base?: number;
10379
- additional?: number;
10380
- };
10381
10401
  attemptId?: string;
10382
10402
  openConvAI?: {
10383
10403
  compatible?: boolean;
@@ -10488,6 +10508,7 @@ declare const registerAgentResponseSchema: z.ZodUnion<[z.ZodObject<{
10488
10508
  };
10489
10509
  }[];
10490
10510
  additionalRegistryCostPerRegistry?: number;
10511
+ additionalRegistrySecrets?: Record<string, Record<string, JsonValue$1>>;
10491
10512
  errors?: {
10492
10513
  error?: string;
10493
10514
  registry?: string;
@@ -10536,6 +10557,7 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10536
10557
  error?: string;
10537
10558
  metadata?: Record<string, JsonValue$1>;
10538
10559
  status?: "completed" | "failed" | "pending" | "in_progress";
10560
+ credits?: number;
10539
10561
  networkName?: string;
10540
10562
  agentId?: string;
10541
10563
  label?: string;
@@ -10544,12 +10566,12 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10544
10566
  registryKey?: string;
10545
10567
  networkId?: string;
10546
10568
  chainId?: number;
10547
- credits?: number;
10548
10569
  registryId?: string;
10549
10570
  }, {
10550
10571
  error?: string;
10551
10572
  metadata?: Record<string, JsonValue$1>;
10552
10573
  status?: "completed" | "failed" | "pending" | "in_progress";
10574
+ credits?: number;
10553
10575
  networkName?: string;
10554
10576
  agentId?: string;
10555
10577
  label?: string;
@@ -10558,7 +10580,6 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10558
10580
  registryKey?: string;
10559
10581
  networkId?: string;
10560
10582
  chainId?: number;
10561
- credits?: number;
10562
10583
  registryId?: string;
10563
10584
  }>>;
10564
10585
  errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -10578,6 +10599,7 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10578
10599
  error?: string;
10579
10600
  metadata?: Record<string, JsonValue$1>;
10580
10601
  status?: "completed" | "failed" | "pending" | "in_progress";
10602
+ credits?: number;
10581
10603
  networkName?: string;
10582
10604
  agentId?: string;
10583
10605
  label?: string;
@@ -10586,7 +10608,6 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10586
10608
  registryKey?: string;
10587
10609
  networkId?: string;
10588
10610
  chainId?: number;
10589
- credits?: number;
10590
10611
  registryId?: string;
10591
10612
  }>;
10592
10613
  errors?: string[];
@@ -10609,6 +10630,7 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10609
10630
  error?: string;
10610
10631
  metadata?: Record<string, JsonValue$1>;
10611
10632
  status?: "completed" | "failed" | "pending" | "in_progress";
10633
+ credits?: number;
10612
10634
  networkName?: string;
10613
10635
  agentId?: string;
10614
10636
  label?: string;
@@ -10617,7 +10639,6 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10617
10639
  registryKey?: string;
10618
10640
  networkId?: string;
10619
10641
  chainId?: number;
10620
- credits?: number;
10621
10642
  registryId?: string;
10622
10643
  }>;
10623
10644
  errors?: string[];
@@ -10642,6 +10663,7 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10642
10663
  error?: string;
10643
10664
  metadata?: Record<string, JsonValue$1>;
10644
10665
  status?: "completed" | "failed" | "pending" | "in_progress";
10666
+ credits?: number;
10645
10667
  networkName?: string;
10646
10668
  agentId?: string;
10647
10669
  label?: string;
@@ -10650,7 +10672,6 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10650
10672
  registryKey?: string;
10651
10673
  networkId?: string;
10652
10674
  chainId?: number;
10653
- credits?: number;
10654
10675
  registryId?: string;
10655
10676
  }>;
10656
10677
  errors?: string[];
@@ -10675,6 +10696,7 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10675
10696
  error?: string;
10676
10697
  metadata?: Record<string, JsonValue$1>;
10677
10698
  status?: "completed" | "failed" | "pending" | "in_progress";
10699
+ credits?: number;
10678
10700
  networkName?: string;
10679
10701
  agentId?: string;
10680
10702
  label?: string;
@@ -10683,7 +10705,6 @@ declare const registrationProgressResponseSchema: z.ZodObject<{
10683
10705
  registryKey?: string;
10684
10706
  networkId?: string;
10685
10707
  chainId?: number;
10686
- credits?: number;
10687
10708
  registryId?: string;
10688
10709
  }>;
10689
10710
  errors?: string[];
@@ -10710,6 +10731,7 @@ declare const registrationProgressAdditionalEntrySchema: z.ZodObject<{
10710
10731
  error?: string;
10711
10732
  metadata?: Record<string, JsonValue$1>;
10712
10733
  status?: "completed" | "failed" | "pending" | "in_progress";
10734
+ credits?: number;
10713
10735
  networkName?: string;
10714
10736
  agentId?: string;
10715
10737
  label?: string;
@@ -10718,12 +10740,12 @@ declare const registrationProgressAdditionalEntrySchema: z.ZodObject<{
10718
10740
  registryKey?: string;
10719
10741
  networkId?: string;
10720
10742
  chainId?: number;
10721
- credits?: number;
10722
10743
  registryId?: string;
10723
10744
  }, {
10724
10745
  error?: string;
10725
10746
  metadata?: Record<string, JsonValue$1>;
10726
10747
  status?: "completed" | "failed" | "pending" | "in_progress";
10748
+ credits?: number;
10727
10749
  networkName?: string;
10728
10750
  agentId?: string;
10729
10751
  label?: string;
@@ -10732,7 +10754,6 @@ declare const registrationProgressAdditionalEntrySchema: z.ZodObject<{
10732
10754
  registryKey?: string;
10733
10755
  networkId?: string;
10734
10756
  chainId?: number;
10735
- credits?: number;
10736
10757
  registryId?: string;
10737
10758
  }>;
10738
10759
  declare const registrationProgressRecordSchema: z.ZodObject<{
@@ -10776,6 +10797,7 @@ declare const registrationProgressRecordSchema: z.ZodObject<{
10776
10797
  error?: string;
10777
10798
  metadata?: Record<string, JsonValue$1>;
10778
10799
  status?: "completed" | "failed" | "pending" | "in_progress";
10800
+ credits?: number;
10779
10801
  networkName?: string;
10780
10802
  agentId?: string;
10781
10803
  label?: string;
@@ -10784,12 +10806,12 @@ declare const registrationProgressRecordSchema: z.ZodObject<{
10784
10806
  registryKey?: string;
10785
10807
  networkId?: string;
10786
10808
  chainId?: number;
10787
- credits?: number;
10788
10809
  registryId?: string;
10789
10810
  }, {
10790
10811
  error?: string;
10791
10812
  metadata?: Record<string, JsonValue$1>;
10792
10813
  status?: "completed" | "failed" | "pending" | "in_progress";
10814
+ credits?: number;
10793
10815
  networkName?: string;
10794
10816
  agentId?: string;
10795
10817
  label?: string;
@@ -10798,7 +10820,6 @@ declare const registrationProgressRecordSchema: z.ZodObject<{
10798
10820
  registryKey?: string;
10799
10821
  networkId?: string;
10800
10822
  chainId?: number;
10801
- credits?: number;
10802
10823
  registryId?: string;
10803
10824
  }>>;
10804
10825
  errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -10818,6 +10839,7 @@ declare const registrationProgressRecordSchema: z.ZodObject<{
10818
10839
  error?: string;
10819
10840
  metadata?: Record<string, JsonValue$1>;
10820
10841
  status?: "completed" | "failed" | "pending" | "in_progress";
10842
+ credits?: number;
10821
10843
  networkName?: string;
10822
10844
  agentId?: string;
10823
10845
  label?: string;
@@ -10826,7 +10848,6 @@ declare const registrationProgressRecordSchema: z.ZodObject<{
10826
10848
  registryKey?: string;
10827
10849
  networkId?: string;
10828
10850
  chainId?: number;
10829
- credits?: number;
10830
10851
  registryId?: string;
10831
10852
  }>;
10832
10853
  errors?: string[];
@@ -10849,6 +10870,7 @@ declare const registrationProgressRecordSchema: z.ZodObject<{
10849
10870
  error?: string;
10850
10871
  metadata?: Record<string, JsonValue$1>;
10851
10872
  status?: "completed" | "failed" | "pending" | "in_progress";
10873
+ credits?: number;
10852
10874
  networkName?: string;
10853
10875
  agentId?: string;
10854
10876
  label?: string;
@@ -10857,7 +10879,6 @@ declare const registrationProgressRecordSchema: z.ZodObject<{
10857
10879
  registryKey?: string;
10858
10880
  networkId?: string;
10859
10881
  chainId?: number;
10860
- credits?: number;
10861
10882
  registryId?: string;
10862
10883
  }>;
10863
10884
  errors?: string[];
@@ -10902,15 +10923,15 @@ declare const creditPurchaseResponseSchema: z.ZodObject<{
10902
10923
  consensusTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10903
10924
  }, "strip", z.ZodTypeAny, {
10904
10925
  transactionId?: string;
10905
- success?: boolean;
10906
10926
  credits?: number;
10927
+ success?: boolean;
10907
10928
  consensusTimestamp?: string;
10908
10929
  purchaser?: string;
10909
10930
  hbarAmount?: number;
10910
10931
  }, {
10911
10932
  transactionId?: string;
10912
- success?: boolean;
10913
10933
  credits?: number;
10934
+ success?: boolean;
10914
10935
  consensusTimestamp?: string;
10915
10936
  purchaser?: string;
10916
10937
  hbarAmount?: number;
@@ -12300,6 +12321,215 @@ declare const searchFacetsResponseSchema: z.ZodObject<{
12300
12321
  adapters?: string[];
12301
12322
  }[];
12302
12323
  }>;
12324
+ declare const verificationChallengeResponseSchema: z.ZodObject<{
12325
+ challengeId: z.ZodString;
12326
+ code: z.ZodString;
12327
+ expiresAt: z.ZodString;
12328
+ expectedHandle: z.ZodString;
12329
+ instructions: z.ZodString;
12330
+ existingOwnership: z.ZodOptional<z.ZodObject<{
12331
+ ownerType: z.ZodString;
12332
+ ownerId: z.ZodString;
12333
+ ownerHandle: z.ZodOptional<z.ZodString>;
12334
+ verifiedAt: z.ZodOptional<z.ZodString>;
12335
+ method: z.ZodOptional<z.ZodString>;
12336
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12337
+ ownerType: z.ZodString;
12338
+ ownerId: z.ZodString;
12339
+ ownerHandle: z.ZodOptional<z.ZodString>;
12340
+ verifiedAt: z.ZodOptional<z.ZodString>;
12341
+ method: z.ZodOptional<z.ZodString>;
12342
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12343
+ ownerType: z.ZodString;
12344
+ ownerId: z.ZodString;
12345
+ ownerHandle: z.ZodOptional<z.ZodString>;
12346
+ verifiedAt: z.ZodOptional<z.ZodString>;
12347
+ method: z.ZodOptional<z.ZodString>;
12348
+ }, z.ZodTypeAny, "passthrough">>>;
12349
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12350
+ challengeId: z.ZodString;
12351
+ code: z.ZodString;
12352
+ expiresAt: z.ZodString;
12353
+ expectedHandle: z.ZodString;
12354
+ instructions: z.ZodString;
12355
+ existingOwnership: z.ZodOptional<z.ZodObject<{
12356
+ ownerType: z.ZodString;
12357
+ ownerId: z.ZodString;
12358
+ ownerHandle: z.ZodOptional<z.ZodString>;
12359
+ verifiedAt: z.ZodOptional<z.ZodString>;
12360
+ method: z.ZodOptional<z.ZodString>;
12361
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12362
+ ownerType: z.ZodString;
12363
+ ownerId: z.ZodString;
12364
+ ownerHandle: z.ZodOptional<z.ZodString>;
12365
+ verifiedAt: z.ZodOptional<z.ZodString>;
12366
+ method: z.ZodOptional<z.ZodString>;
12367
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12368
+ ownerType: z.ZodString;
12369
+ ownerId: z.ZodString;
12370
+ ownerHandle: z.ZodOptional<z.ZodString>;
12371
+ verifiedAt: z.ZodOptional<z.ZodString>;
12372
+ method: z.ZodOptional<z.ZodString>;
12373
+ }, z.ZodTypeAny, "passthrough">>>;
12374
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12375
+ challengeId: z.ZodString;
12376
+ code: z.ZodString;
12377
+ expiresAt: z.ZodString;
12378
+ expectedHandle: z.ZodString;
12379
+ instructions: z.ZodString;
12380
+ existingOwnership: z.ZodOptional<z.ZodObject<{
12381
+ ownerType: z.ZodString;
12382
+ ownerId: z.ZodString;
12383
+ ownerHandle: z.ZodOptional<z.ZodString>;
12384
+ verifiedAt: z.ZodOptional<z.ZodString>;
12385
+ method: z.ZodOptional<z.ZodString>;
12386
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12387
+ ownerType: z.ZodString;
12388
+ ownerId: z.ZodString;
12389
+ ownerHandle: z.ZodOptional<z.ZodString>;
12390
+ verifiedAt: z.ZodOptional<z.ZodString>;
12391
+ method: z.ZodOptional<z.ZodString>;
12392
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12393
+ ownerType: z.ZodString;
12394
+ ownerId: z.ZodString;
12395
+ ownerHandle: z.ZodOptional<z.ZodString>;
12396
+ verifiedAt: z.ZodOptional<z.ZodString>;
12397
+ method: z.ZodOptional<z.ZodString>;
12398
+ }, z.ZodTypeAny, "passthrough">>>;
12399
+ }, z.ZodTypeAny, "passthrough">>;
12400
+ declare const verificationChallengeDetailsResponseSchema: z.ZodObject<{
12401
+ challengeId: z.ZodString;
12402
+ uaid: z.ZodString;
12403
+ code: z.ZodString;
12404
+ expiresAt: z.ZodString;
12405
+ status: z.ZodString;
12406
+ message: z.ZodOptional<z.ZodString>;
12407
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12408
+ challengeId: z.ZodString;
12409
+ uaid: z.ZodString;
12410
+ code: z.ZodString;
12411
+ expiresAt: z.ZodString;
12412
+ status: z.ZodString;
12413
+ message: z.ZodOptional<z.ZodString>;
12414
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12415
+ challengeId: z.ZodString;
12416
+ uaid: z.ZodString;
12417
+ code: z.ZodString;
12418
+ expiresAt: z.ZodString;
12419
+ status: z.ZodString;
12420
+ message: z.ZodOptional<z.ZodString>;
12421
+ }, z.ZodTypeAny, "passthrough">>;
12422
+ declare const verificationVerifyResponseSchema: z.ZodObject<{
12423
+ verified: z.ZodBoolean;
12424
+ uaid: z.ZodString;
12425
+ ownerType: z.ZodString;
12426
+ ownerId: z.ZodString;
12427
+ ownerHandle: z.ZodOptional<z.ZodString>;
12428
+ method: z.ZodOptional<z.ZodString>;
12429
+ verificationPostUrl: z.ZodOptional<z.ZodString>;
12430
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12431
+ verified: z.ZodBoolean;
12432
+ uaid: z.ZodString;
12433
+ ownerType: z.ZodString;
12434
+ ownerId: z.ZodString;
12435
+ ownerHandle: z.ZodOptional<z.ZodString>;
12436
+ method: z.ZodOptional<z.ZodString>;
12437
+ verificationPostUrl: z.ZodOptional<z.ZodString>;
12438
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12439
+ verified: z.ZodBoolean;
12440
+ uaid: z.ZodString;
12441
+ ownerType: z.ZodString;
12442
+ ownerId: z.ZodString;
12443
+ ownerHandle: z.ZodOptional<z.ZodString>;
12444
+ method: z.ZodOptional<z.ZodString>;
12445
+ verificationPostUrl: z.ZodOptional<z.ZodString>;
12446
+ }, z.ZodTypeAny, "passthrough">>;
12447
+ declare const verificationOwnershipResponseSchema: z.ZodObject<{
12448
+ uaid: z.ZodString;
12449
+ ownerType: z.ZodString;
12450
+ ownerId: z.ZodString;
12451
+ ownerHandle: z.ZodOptional<z.ZodString>;
12452
+ chain: z.ZodString;
12453
+ verifiedAt: z.ZodString;
12454
+ method: z.ZodString;
12455
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12456
+ uaid: z.ZodString;
12457
+ ownerType: z.ZodString;
12458
+ ownerId: z.ZodString;
12459
+ ownerHandle: z.ZodOptional<z.ZodString>;
12460
+ chain: z.ZodString;
12461
+ verifiedAt: z.ZodString;
12462
+ method: z.ZodString;
12463
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12464
+ uaid: z.ZodString;
12465
+ ownerType: z.ZodString;
12466
+ ownerId: z.ZodString;
12467
+ ownerHandle: z.ZodOptional<z.ZodString>;
12468
+ chain: z.ZodString;
12469
+ verifiedAt: z.ZodString;
12470
+ method: z.ZodString;
12471
+ }, z.ZodTypeAny, "passthrough">>;
12472
+ declare const verificationStatusResponseSchema: z.ZodObject<{
12473
+ uaid: z.ZodString;
12474
+ verified: z.ZodBoolean;
12475
+ chain: z.ZodNullable<z.ZodString>;
12476
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12477
+ uaid: z.ZodString;
12478
+ verified: z.ZodBoolean;
12479
+ chain: z.ZodNullable<z.ZodString>;
12480
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12481
+ uaid: z.ZodString;
12482
+ verified: z.ZodBoolean;
12483
+ chain: z.ZodNullable<z.ZodString>;
12484
+ }, z.ZodTypeAny, "passthrough">>;
12485
+ declare const verificationVerifySenderResponseSchema: z.ZodObject<{
12486
+ verified: z.ZodBoolean;
12487
+ uaid: z.ZodString;
12488
+ ownerType: z.ZodString;
12489
+ ownerId: z.ZodString;
12490
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12491
+ verified: z.ZodBoolean;
12492
+ uaid: z.ZodString;
12493
+ ownerType: z.ZodString;
12494
+ ownerId: z.ZodString;
12495
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12496
+ verified: z.ZodBoolean;
12497
+ uaid: z.ZodString;
12498
+ ownerType: z.ZodString;
12499
+ ownerId: z.ZodString;
12500
+ }, z.ZodTypeAny, "passthrough">>;
12501
+ declare const registerStatusResponseSchema: z.ZodObject<{
12502
+ registered: z.ZodBoolean;
12503
+ agent: z.ZodOptional<z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>;
12504
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12505
+ registered: z.ZodBoolean;
12506
+ agent: z.ZodOptional<z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>;
12507
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12508
+ registered: z.ZodBoolean;
12509
+ agent: z.ZodOptional<z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>;
12510
+ }, z.ZodTypeAny, "passthrough">>;
12511
+ declare const moltbookOwnerRegistrationUpdateResponseSchema: z.ZodObject<{
12512
+ ok: z.ZodBoolean;
12513
+ uaid: z.ZodString;
12514
+ registered: z.ZodBoolean;
12515
+ registeredAt: z.ZodOptional<z.ZodString>;
12516
+ agent: z.ZodOptional<z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>;
12517
+ warning: z.ZodOptional<z.ZodString>;
12518
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12519
+ ok: z.ZodBoolean;
12520
+ uaid: z.ZodString;
12521
+ registered: z.ZodBoolean;
12522
+ registeredAt: z.ZodOptional<z.ZodString>;
12523
+ agent: z.ZodOptional<z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>;
12524
+ warning: z.ZodOptional<z.ZodString>;
12525
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12526
+ ok: z.ZodBoolean;
12527
+ uaid: z.ZodString;
12528
+ registered: z.ZodBoolean;
12529
+ registeredAt: z.ZodOptional<z.ZodString>;
12530
+ agent: z.ZodOptional<z.ZodType<JsonValue$1, z.ZodTypeDef, JsonValue$1>>;
12531
+ warning: z.ZodOptional<z.ZodString>;
12532
+ }, z.ZodTypeAny, "passthrough">>;
12303
12533
 
12304
12534
  type JsonPrimitive = string | number | boolean | null;
12305
12535
  type JsonValue = JsonPrimitive | JsonValue[] | JsonObject;
@@ -12311,6 +12541,13 @@ interface RegistryBrokerClientOptions {
12311
12541
  fetchImplementation?: typeof fetch;
12312
12542
  defaultHeaders?: Record<string, string>;
12313
12543
  apiKey?: string;
12544
+ /**
12545
+ * Optional account identifier to send as the `x-account-id` header.
12546
+ *
12547
+ * This is used by some Registry Broker deployments to attribute registrations
12548
+ * when no API key / user session is present (for example local docker E2E).
12549
+ */
12550
+ accountId?: string;
12314
12551
  ledgerApiKey?: string;
12315
12552
  registrationAutoTopUp?: AutoTopUpOptions;
12316
12553
  historyAutoTopUp?: HistoryAutoTopUpOptions;
@@ -12429,6 +12666,21 @@ type AgentFeedbackResponse = z.infer<typeof agentFeedbackResponseSchema>;
12429
12666
  type AgentFeedbackEligibilityResponse = z.infer<typeof agentFeedbackEligibilityResponseSchema>;
12430
12667
  type AgentFeedbackSubmissionResponse = z.infer<typeof agentFeedbackSubmissionResponseSchema>;
12431
12668
  type AgentFeedbackIndexResponse = z.infer<typeof agentFeedbackIndexResponseSchema>;
12669
+ type VerificationStatusResponse = z.infer<typeof verificationStatusResponseSchema>;
12670
+ type VerificationChallengeResponse = z.infer<typeof verificationChallengeResponseSchema>;
12671
+ type VerificationChallengeDetailsResponse = z.infer<typeof verificationChallengeDetailsResponseSchema>;
12672
+ type VerificationVerifyResponse = z.infer<typeof verificationVerifyResponseSchema>;
12673
+ type VerificationOwnershipResponse = z.infer<typeof verificationOwnershipResponseSchema>;
12674
+ type VerificationVerifySenderResponse = z.infer<typeof verificationVerifySenderResponseSchema>;
12675
+ type RegisterStatusResponse = z.infer<typeof registerStatusResponseSchema>;
12676
+ type MoltbookOwnerRegistrationUpdateResponse = z.infer<typeof moltbookOwnerRegistrationUpdateResponseSchema>;
12677
+ interface MoltbookOwnerRegistrationUpdateRequest {
12678
+ registered?: boolean;
12679
+ name?: string;
12680
+ description?: string;
12681
+ endpoint?: string;
12682
+ metadata?: JsonObject;
12683
+ }
12432
12684
  type AgentFeedbackEntriesIndexResponse = z.infer<typeof agentFeedbackEntriesIndexResponseSchema>;
12433
12685
  interface AgentFeedbackQuery {
12434
12686
  includeRevoked?: boolean;
@@ -12569,6 +12821,7 @@ interface ChatConversationHandle {
12569
12821
  summary?: SessionEncryptionSummary | null;
12570
12822
  send: (options: EncryptedChatSendOptions) => Promise<SendMessageResponse>;
12571
12823
  decryptHistoryEntry: (entry: ChatHistoryEntry) => string | null;
12824
+ fetchHistory: (options?: ChatHistoryFetchOptions) => Promise<DecryptedHistoryEntry[]>;
12572
12825
  }
12573
12826
  interface EncryptedChatSessionHandle extends ChatConversationHandle {
12574
12827
  summary: SessionEncryptionSummary;
@@ -12715,72 +12968,30 @@ interface SubmitAdapterRegistryAdapterRequest {
12715
12968
  }
12716
12969
  type SearchFacetsResponse = z.infer<typeof searchFacetsResponseSchema>;
12717
12970
 
12718
- declare module './base-client' {
12719
- interface RegistryBrokerClient {
12720
- readonly encryption: {
12721
- registerKey: (payload: RegisterEncryptionKeyPayload) => Promise<RegisterEncryptionKeyResponse>;
12722
- generateEphemeralKeyPair: () => EphemeralKeyPair;
12723
- deriveSharedSecret: (options: DeriveSharedSecretOptions) => Buffer;
12724
- encryptCipherEnvelope: (options: EncryptCipherEnvelopeOptions) => CipherEnvelope;
12725
- decryptCipherEnvelope: (options: DecryptCipherEnvelopeOptions) => string;
12726
- ensureAgentKey: (options: EnsureAgentKeyOptions) => Promise<{
12727
- publicKey: string;
12728
- privateKey?: string;
12729
- }>;
12730
- };
12731
- generateEncryptionKeyPair(options?: GenerateEncryptionKeyPairOptions): Promise<{
12732
- privateKey: string;
12733
- publicKey: string;
12734
- envPath?: string;
12735
- envVar: string;
12736
- }>;
12737
- createEphemeralKeyPair(): EphemeralKeyPair;
12738
- deriveSharedSecret(options: DeriveSharedSecretOptions): Buffer;
12739
- buildCipherEnvelope(options: EncryptCipherEnvelopeOptions): CipherEnvelope;
12740
- openCipherEnvelope(options: DecryptCipherEnvelopeOptions): string;
12741
- normalizeSharedSecret(input: SharedSecretInput): Buffer;
12742
- bootstrapEncryptionOptions(options?: ClientEncryptionOptions): Promise<{
12743
- publicKey: string;
12744
- privateKey?: string;
12745
- } | null>;
12746
- }
12971
+ interface ConversationContextInput {
12972
+ sessionId: string;
12973
+ sharedSecret: Uint8Array | Buffer;
12974
+ identity?: RecipientIdentity;
12747
12975
  }
12748
-
12749
- declare module './base-client' {
12750
- interface RegistryBrokerClient {
12751
- search(params?: SearchParams): Promise<SearchResult>;
12752
- stats(): Promise<RegistryStatsResponse>;
12753
- registries(): Promise<RegistriesResponse>;
12754
- getAdditionalRegistries(): Promise<AdditionalRegistryCatalogResponse>;
12755
- popularSearches(): Promise<PopularSearchesResponse>;
12756
- listProtocols(): Promise<ProtocolsResponse>;
12757
- detectProtocol(message: ProtocolDetectionMessage): Promise<DetectProtocolResponse>;
12758
- registrySearchByNamespace(registry: string, query?: string): Promise<RegistrySearchByNamespaceResponse>;
12759
- vectorSearch(request: VectorSearchRequest): Promise<VectorSearchResponse>;
12760
- searchStatus(): Promise<SearchStatusResponse>;
12761
- websocketStats(): Promise<WebsocketStatsResponse>;
12762
- metricsSummary(): Promise<MetricsSummaryResponse>;
12763
- facets(adapter?: string): Promise<SearchFacetsResponse>;
12764
- }
12976
+ interface ConversationContextState {
12977
+ sessionId: string;
12978
+ sharedSecret: Buffer;
12979
+ identity?: RecipientIdentity;
12765
12980
  }
12766
12981
 
12767
- declare module './base-client' {
12768
- interface RegistryBrokerClient {
12769
- adapters(): Promise<AdaptersResponse>;
12770
- adaptersDetailed(): Promise<AdapterDetailsResponse>;
12771
- adapterRegistryCategories(): Promise<AdapterRegistryCategoriesResponse>;
12772
- adapterRegistryAdapters(filters?: {
12773
- category?: string;
12774
- entity?: string;
12775
- keywords?: string[];
12776
- query?: string;
12777
- limit?: number;
12778
- offset?: number;
12779
- }): Promise<AdapterRegistryAdaptersResponse>;
12780
- createAdapterRegistryCategory(payload: CreateAdapterRegistryCategoryRequest): Promise<AdapterRegistryCategory>;
12781
- submitAdapterRegistryAdapter(payload: SubmitAdapterRegistryAdapterRequest): Promise<AdapterRegistrySubmitAdapterAcceptedResponse>;
12782
- adapterRegistrySubmissionStatus(submissionId: string): Promise<AdapterRegistrySubmissionStatusResponse>;
12783
- }
12982
+ interface RegistryBrokerChatApi {
12983
+ start: (options: StartChatOptions) => Promise<ChatConversationHandle>;
12984
+ createSession: (payload: CreateSessionRequestPayload) => Promise<CreateSessionResponse>;
12985
+ sendMessage: (payload: SendMessageRequestPayload) => Promise<SendMessageResponse>;
12986
+ endSession: (sessionId: string) => Promise<void>;
12987
+ getHistory: (sessionId: string, options?: ChatHistoryFetchOptions) => Promise<ChatHistorySnapshotWithDecryptedEntries>;
12988
+ compactHistory: (payload: CompactHistoryRequestPayload) => Promise<ChatHistoryCompactionResponse>;
12989
+ getEncryptionStatus: (sessionId: string) => Promise<SessionEncryptionStatusResponse>;
12990
+ submitEncryptionHandshake: (sessionId: string, payload: EncryptionHandshakeSubmissionPayload) => Promise<EncryptionHandshakeRecord>;
12991
+ createEncryptedSession: (options: StartEncryptedChatSessionOptions) => Promise<EncryptedChatSessionHandle>;
12992
+ acceptEncryptedSession: (options: AcceptEncryptedChatSessionOptions) => Promise<EncryptedChatSessionHandle>;
12993
+ startConversation: (options: StartConversationOptions) => Promise<ChatConversationHandle>;
12994
+ acceptConversation: (options: AcceptConversationOptions) => Promise<ChatConversationHandle>;
12784
12995
  }
12785
12996
 
12786
12997
  type X402NetworkId = 'base' | 'base-sepolia';
@@ -12807,96 +13018,6 @@ type X402PurchaseResult = X402CreditPurchaseResponse & {
12807
13018
  paymentResponseHeader?: string;
12808
13019
  paymentResponse?: unknown;
12809
13020
  };
12810
- declare module './base-client' {
12811
- interface RegistryBrokerClient {
12812
- purchaseCreditsWithHbar(params: {
12813
- accountId: string;
12814
- privateKey: string;
12815
- hbarAmount: number;
12816
- memo?: string;
12817
- metadata?: JsonObject;
12818
- }): Promise<CreditPurchaseResponse>;
12819
- getX402Minimums(): Promise<X402MinimumsResponse>;
12820
- purchaseCreditsWithX402(params: PurchaseCreditsWithX402Params): Promise<X402PurchaseResult>;
12821
- buyCreditsWithX402(params: BuyCreditsWithX402Params): Promise<X402PurchaseResult>;
12822
- }
12823
- }
12824
-
12825
- declare module './base-client' {
12826
- interface RegistryBrokerClient {
12827
- resolveUaid(uaid: string): Promise<ResolvedAgentResponse>;
12828
- registerAgent(payload: AgentRegistrationRequest, options?: RegisterAgentOptions): Promise<RegisterAgentResponse>;
12829
- getRegistrationQuote(payload: AgentRegistrationRequest): Promise<RegisterAgentQuoteResponse>;
12830
- updateAgent(uaid: string, payload: AgentRegistrationRequest): Promise<RegisterAgentResponse>;
12831
- getRegistrationProgress(attemptId: string): Promise<RegistrationProgressRecord | null>;
12832
- waitForRegistrationCompletion(attemptId: string, options?: RegistrationProgressWaitOptions): Promise<RegistrationProgressRecord>;
12833
- validateUaid(uaid: string): Promise<UaidValidationResponse>;
12834
- getUaidConnectionStatus(uaid: string): Promise<UaidConnectionStatus>;
12835
- closeUaidConnection(uaid: string): Promise<void>;
12836
- dashboardStats(): Promise<DashboardStatsResponse>;
12837
- }
12838
- }
12839
-
12840
- declare module './base-client' {
12841
- interface RegistryBrokerClient {
12842
- createLedgerChallenge(payload: LedgerChallengeRequest): Promise<LedgerChallengeResponse>;
12843
- verifyLedgerChallenge(payload: LedgerVerifyRequest): Promise<LedgerVerifyResponse>;
12844
- authenticateWithLedger(options: LedgerAuthenticationOptions): Promise<LedgerVerifyResponse>;
12845
- authenticateWithLedgerCredentials(options: LedgerCredentialAuthOptions): Promise<LedgerVerifyResponse>;
12846
- }
12847
- }
12848
-
12849
- interface ConversationContextInput {
12850
- sessionId: string;
12851
- sharedSecret: Uint8Array | Buffer;
12852
- identity?: RecipientIdentity;
12853
- }
12854
- interface ConversationContextState {
12855
- sessionId: string;
12856
- sharedSecret: Buffer;
12857
- identity?: RecipientIdentity;
12858
- }
12859
- declare module './base-client' {
12860
- interface RegistryBrokerClient {
12861
- fetchHistorySnapshot(sessionId: string, options?: ChatHistoryFetchOptions): Promise<ChatHistorySnapshotWithDecryptedEntries>;
12862
- attachDecryptedHistory(sessionId: string, snapshot: ChatHistorySnapshotResponse, options?: ChatHistoryFetchOptions): ChatHistorySnapshotWithDecryptedEntries;
12863
- registerConversationContextForEncryption(context: ConversationContextInput): void;
12864
- resolveDecryptionContext(sessionId: string, options?: ChatHistoryFetchOptions): ConversationContextState | null;
12865
- decryptHistoryEntryFromContext(sessionId: string, entry: ChatHistoryEntry, context: ConversationContextState): string | null;
12866
- }
12867
- }
12868
-
12869
- declare module './base-client' {
12870
- interface RegistryBrokerClient {
12871
- readonly chat: {
12872
- start: (options: StartChatOptions) => Promise<ChatConversationHandle>;
12873
- createSession: (payload: CreateSessionRequestPayload) => Promise<CreateSessionResponse>;
12874
- sendMessage: (payload: SendMessageRequestPayload) => Promise<SendMessageResponse>;
12875
- endSession: (sessionId: string) => Promise<void>;
12876
- getHistory: (sessionId: string, options?: ChatHistoryFetchOptions) => Promise<ChatHistorySnapshotWithDecryptedEntries>;
12877
- compactHistory: (payload: CompactHistoryRequestPayload) => Promise<ChatHistoryCompactionResponse>;
12878
- getEncryptionStatus: (sessionId: string) => Promise<SessionEncryptionStatusResponse>;
12879
- submitEncryptionHandshake: (sessionId: string, payload: EncryptionHandshakeSubmissionPayload) => Promise<EncryptionHandshakeRecord>;
12880
- createEncryptedSession?: (options: StartEncryptedChatSessionOptions) => Promise<EncryptedChatSessionHandle>;
12881
- acceptEncryptedSession?: (options: AcceptEncryptedChatSessionOptions) => Promise<EncryptedChatSessionHandle>;
12882
- startConversation: (options: StartConversationOptions) => Promise<ChatConversationHandle>;
12883
- acceptConversation: (options: AcceptConversationOptions) => Promise<ChatConversationHandle>;
12884
- };
12885
- createSession(payload: CreateSessionRequestPayload, allowHistoryAutoTopUp?: boolean): Promise<CreateSessionResponse>;
12886
- startChat(options: StartChatOptions): Promise<ChatConversationHandle>;
12887
- startConversation(options: StartConversationOptions): Promise<ChatConversationHandle>;
12888
- acceptConversation(options: AcceptConversationOptions): Promise<ChatConversationHandle>;
12889
- compactHistory(payload: CompactHistoryRequestPayload): Promise<ChatHistoryCompactionResponse>;
12890
- fetchEncryptionStatus(sessionId: string): Promise<SessionEncryptionStatusResponse>;
12891
- postEncryptionHandshake(sessionId: string, payload: EncryptionHandshakeSubmissionPayload): Promise<EncryptionHandshakeRecord>;
12892
- sendMessage(payload: SendMessageRequestPayload): Promise<SendMessageResponse>;
12893
- endSession(sessionId: string): Promise<void>;
12894
- createPlaintextConversationHandle(sessionId: string, summary: SessionEncryptionSummary | null, defaultAuth?: AgentAuthConfig, context?: {
12895
- uaid?: string;
12896
- agentUrl?: string;
12897
- }): ChatConversationHandle;
12898
- }
12899
- }
12900
13021
 
12901
13022
  interface InitializedAgentClient {
12902
13023
  client: RegistryBrokerClient;
@@ -12905,7 +13026,7 @@ interface InitializedAgentClient {
12905
13026
  privateKey?: string;
12906
13027
  } | null;
12907
13028
  }
12908
- interface GenerateEncryptionKeyPairOptions$1 {
13029
+ interface GenerateEncryptionKeyPairOptions {
12909
13030
  keyType?: 'secp256k1';
12910
13031
  envVar?: string;
12911
13032
  envPath?: string;
@@ -12925,7 +13046,13 @@ declare class RegistryBrokerClient {
12925
13046
  readonly historyAutoTopUp?: HistoryAutoTopUpOptions;
12926
13047
  readonly encryptionOptions?: ClientEncryptionOptions;
12927
13048
  encryptionBootstrapPromise: Promise<void> | null;
13049
+ private chatApi;
13050
+ private encryptedChatManager;
13051
+ private encryptionApi;
13052
+ private conversationContexts;
12928
13053
  constructor(options?: RegistryBrokerClientOptions);
13054
+ get chat(): RegistryBrokerChatApi;
13055
+ get encryption(): RegistryBrokerEncryptionApi;
12929
13056
  setApiKey(apiKey?: string): void;
12930
13057
  setLedgerApiKey(apiKey?: string): void;
12931
13058
  setDefaultHeader(name: string, value?: string | null): void;
@@ -12947,10 +13074,114 @@ declare class RegistryBrokerClient {
12947
13074
  }): Promise<AgentFeedbackEntriesIndexResponse>;
12948
13075
  checkAgentFeedbackEligibility(uaid: string, payload: AgentFeedbackEligibilityRequest): Promise<AgentFeedbackEligibilityResponse>;
12949
13076
  submitAgentFeedback(uaid: string, payload: AgentFeedbackSubmissionRequest): Promise<AgentFeedbackSubmissionResponse>;
13077
+ search(params?: SearchParams): Promise<SearchResult>;
13078
+ searchErc8004ByAgentId(params: {
13079
+ chainId: number;
13080
+ agentId: number | bigint | string;
13081
+ limit?: number;
13082
+ page?: number;
13083
+ sortBy?: string;
13084
+ sortOrder?: 'asc' | 'desc' | string;
13085
+ }): Promise<SearchResult>;
13086
+ stats(): Promise<RegistryStatsResponse>;
13087
+ registries(): Promise<RegistriesResponse>;
13088
+ getAdditionalRegistries(): Promise<AdditionalRegistryCatalogResponse>;
13089
+ popularSearches(): Promise<PopularSearchesResponse>;
13090
+ listProtocols(): Promise<ProtocolsResponse>;
13091
+ detectProtocol(message: ProtocolDetectionMessage): Promise<DetectProtocolResponse>;
13092
+ registrySearchByNamespace(registry: string, query?: string): Promise<RegistrySearchByNamespaceResponse>;
13093
+ vectorSearch(request: VectorSearchRequest): Promise<VectorSearchResponse>;
13094
+ searchStatus(): Promise<SearchStatusResponse>;
13095
+ websocketStats(): Promise<WebsocketStatsResponse>;
13096
+ metricsSummary(): Promise<MetricsSummaryResponse>;
13097
+ facets(adapter?: string): Promise<SearchFacetsResponse>;
13098
+ adapters(): Promise<AdaptersResponse>;
13099
+ adaptersDetailed(): Promise<AdapterDetailsResponse>;
13100
+ adapterRegistryCategories(): Promise<AdapterRegistryCategoriesResponse>;
13101
+ adapterRegistryAdapters(filters?: {
13102
+ category?: string;
13103
+ entity?: string;
13104
+ keywords?: string[];
13105
+ query?: string;
13106
+ limit?: number;
13107
+ offset?: number;
13108
+ }): Promise<AdapterRegistryAdaptersResponse>;
13109
+ createAdapterRegistryCategory(payload: CreateAdapterRegistryCategoryRequest): Promise<AdapterRegistryCategory>;
13110
+ submitAdapterRegistryAdapter(payload: SubmitAdapterRegistryAdapterRequest): Promise<AdapterRegistrySubmitAdapterAcceptedResponse>;
13111
+ adapterRegistrySubmissionStatus(submissionId: string): Promise<AdapterRegistrySubmissionStatusResponse>;
13112
+ resolveUaid(uaid: string): Promise<ResolvedAgentResponse>;
13113
+ performRegisterAgent(payload: AgentRegistrationRequest): Promise<RegisterAgentResponse>;
13114
+ private calculateHbarAmount;
13115
+ private resolveCreditsToPurchase;
13116
+ ensureCreditsForRegistration(payload: AgentRegistrationRequest, autoTopUp: RegisterAgentOptions['autoTopUp']): Promise<void>;
13117
+ registerAgent(payload: AgentRegistrationRequest, options?: RegisterAgentOptions): Promise<RegisterAgentResponse>;
13118
+ getRegistrationQuote(payload: AgentRegistrationRequest): Promise<RegisterAgentQuoteResponse>;
13119
+ updateAgent(uaid: string, payload: AgentRegistrationRequest): Promise<RegisterAgentResponse>;
13120
+ getRegisterStatus(uaid: string): Promise<RegisterStatusResponse>;
13121
+ registerOwnedMoltbookAgent(uaid: string, payload: MoltbookOwnerRegistrationUpdateRequest): Promise<MoltbookOwnerRegistrationUpdateResponse>;
13122
+ getRegistrationProgress(attemptId: string): Promise<RegistrationProgressRecord | null>;
13123
+ waitForRegistrationCompletion(attemptId: string, options?: RegistrationProgressWaitOptions): Promise<RegistrationProgressRecord>;
13124
+ validateUaid(uaid: string): Promise<UaidValidationResponse>;
13125
+ getUaidConnectionStatus(uaid: string): Promise<UaidConnectionStatus>;
13126
+ closeUaidConnection(uaid: string): Promise<void>;
13127
+ dashboardStats(): Promise<DashboardStatsResponse>;
13128
+ purchaseCreditsWithHbar(params: {
13129
+ accountId: string;
13130
+ privateKey: string;
13131
+ hbarAmount: number;
13132
+ memo?: string;
13133
+ metadata?: JsonObject;
13134
+ }): Promise<CreditPurchaseResponse>;
13135
+ getX402Minimums(): Promise<X402MinimumsResponse>;
13136
+ purchaseCreditsWithX402(params: PurchaseCreditsWithX402Params): Promise<X402PurchaseResult>;
13137
+ buyCreditsWithX402(params: BuyCreditsWithX402Params): Promise<X402PurchaseResult>;
13138
+ generateEncryptionKeyPair(options?: GenerateEncryptionKeyPairOptions): Promise<{
13139
+ privateKey: string;
13140
+ publicKey: string;
13141
+ envPath?: string;
13142
+ envVar: string;
13143
+ }>;
13144
+ createLedgerChallenge(payload: LedgerChallengeRequest): Promise<LedgerChallengeResponse>;
13145
+ verifyLedgerChallenge(payload: LedgerVerifyRequest): Promise<LedgerVerifyResponse>;
13146
+ authenticateWithLedger(options: LedgerAuthenticationOptions): Promise<LedgerVerifyResponse>;
13147
+ authenticateWithLedgerCredentials(options: LedgerCredentialAuthOptions): Promise<LedgerVerifyResponse>;
13148
+ getVerificationStatus(uaid: string): Promise<VerificationStatusResponse>;
13149
+ createVerificationChallenge(uaid: string): Promise<VerificationChallengeResponse>;
13150
+ getVerificationChallenge(challengeId: string): Promise<VerificationChallengeDetailsResponse>;
13151
+ verifyVerificationChallenge(params: {
13152
+ challengeId: string;
13153
+ method?: 'moltbook-post' | string;
13154
+ }): Promise<VerificationVerifyResponse>;
13155
+ getVerificationOwnership(uaid: string): Promise<VerificationOwnershipResponse>;
13156
+ verifySenderOwnership(uaid: string): Promise<VerificationVerifySenderResponse>;
13157
+ fetchHistorySnapshot(sessionId: string, options?: ChatHistoryFetchOptions): Promise<ChatHistorySnapshotWithDecryptedEntries>;
13158
+ attachDecryptedHistory(sessionId: string, snapshot: ChatHistorySnapshotResponse, options?: ChatHistoryFetchOptions): ChatHistorySnapshotWithDecryptedEntries;
13159
+ registerConversationContextForEncryption(context: ConversationContextInput): void;
13160
+ resolveDecryptionContext(sessionId: string, options?: ChatHistoryFetchOptions): ConversationContextState | null;
13161
+ decryptHistoryEntryFromContext(_sessionId: string, entry: ChatHistoryEntry, context: ConversationContextState): string | null;
13162
+ createSession(payload: CreateSessionRequestPayload, allowHistoryAutoTopUp?: boolean): Promise<CreateSessionResponse>;
13163
+ startChat(options: StartChatOptions): Promise<ChatConversationHandle>;
13164
+ startConversation(options: StartConversationOptions): Promise<ChatConversationHandle>;
13165
+ acceptConversation(options: AcceptConversationOptions): Promise<ChatConversationHandle>;
13166
+ compactHistory(payload: CompactHistoryRequestPayload): Promise<ChatHistoryCompactionResponse>;
13167
+ fetchEncryptionStatus(sessionId: string): Promise<SessionEncryptionStatusResponse>;
13168
+ postEncryptionHandshake(sessionId: string, payload: EncryptionHandshakeSubmissionPayload): Promise<EncryptionHandshakeRecord>;
13169
+ sendMessage(payload: SendMessageRequestPayload): Promise<SendMessageResponse>;
13170
+ endSession(sessionId: string): Promise<void>;
13171
+ createPlaintextConversationHandle(sessionId: string, summary: SessionEncryptionSummary | null, defaultAuth?: AgentAuthConfig, context?: {
13172
+ uaid?: string;
13173
+ agentUrl?: string;
13174
+ }): ChatConversationHandle;
13175
+ private getEncryptedChatManager;
12950
13176
  private extractErrorBody;
12951
13177
  parseWithSchema<T>(value: JsonValue, schema: z.ZodSchema<T>, context: string): T;
12952
13178
  delay(ms: number, signal?: AbortSignal): Promise<void>;
12953
13179
  assertNodeRuntime(feature: string): void;
13180
+ createEphemeralKeyPair(): EphemeralKeyPair;
13181
+ deriveSharedSecret(options: DeriveSharedSecretOptions): Buffer;
13182
+ buildCipherEnvelope(options: EncryptCipherEnvelopeOptions): CipherEnvelope;
13183
+ openCipherEnvelope(options: DecryptCipherEnvelopeOptions): string;
13184
+ normalizeSharedSecret(input: SharedSecretInput): Buffer;
12954
13185
  bufferFromString(value: string): Buffer;
12955
13186
  hexToBuffer(value: string): Uint8Array;
12956
13187
  extractInsufficientCreditsDetails(error: unknown): {
@@ -12960,11 +13191,27 @@ declare class RegistryBrokerClient {
12960
13191
  shouldAutoTopUpHistory(payload: CreateSessionRequestPayload, error: Error | null): boolean;
12961
13192
  executeHistoryAutoTopUp(reason: string): Promise<void>;
12962
13193
  initializeEncryptionBootstrap(options: ClientEncryptionOptions): Promise<void>;
13194
+ bootstrapEncryptionOptions(options?: ClientEncryptionOptions): Promise<{
13195
+ publicKey: string;
13196
+ privateKey?: string;
13197
+ } | null>;
12963
13198
  }
12964
13199
  declare const isPendingRegisterAgentResponse: (response: RegisterAgentResponse) => response is RegisterAgentPendingResponse;
12965
13200
  declare const isPartialRegisterAgentResponse: (response: RegisterAgentResponse) => response is RegisterAgentPartialResponse;
12966
13201
  declare const isSuccessRegisterAgentResponse: (response: RegisterAgentResponse) => response is RegisterAgentSuccessResponse;
12967
13202
 
13203
+ interface RegistryBrokerEncryptionApi {
13204
+ registerKey: (payload: RegisterEncryptionKeyPayload) => Promise<RegisterEncryptionKeyResponse>;
13205
+ generateEphemeralKeyPair: () => EphemeralKeyPair;
13206
+ deriveSharedSecret: (options: DeriveSharedSecretOptions) => Buffer;
13207
+ encryptCipherEnvelope: (options: EncryptCipherEnvelopeOptions) => CipherEnvelope;
13208
+ decryptCipherEnvelope: (options: DecryptCipherEnvelopeOptions) => string;
13209
+ ensureAgentKey: (options: EnsureAgentKeyOptions) => Promise<{
13210
+ publicKey: string;
13211
+ privateKey?: string;
13212
+ }>;
13213
+ }
13214
+
12968
13215
  interface ErrorDetails {
12969
13216
  status: number;
12970
13217
  statusText: string;
@@ -13001,6 +13248,28 @@ interface CanonicalLedgerNetwork {
13001
13248
  }
13002
13249
  declare const canonicalizeLedgerNetwork: (network: string) => CanonicalLedgerNetwork;
13003
13250
 
13004
- interface RegistryBrokerClient extends import('./base-client').RegistryBrokerClient {}
13251
+ declare const HOL_CHAT_PROTOCOL_ID: "hol-chat";
13252
+ type HolChatOpName = 'payment_request' | 'payment_approve' | 'payment_decline' | 'payment_result' | 'job_status';
13253
+ interface HolChatOpBase {
13254
+ p: typeof HOL_CHAT_PROTOCOL_ID;
13255
+ op: HolChatOpName;
13256
+ request_id: string;
13257
+ m?: string;
13258
+ data?: Record<string, unknown>;
13259
+ }
13260
+ type HolChatOp = HolChatOpBase;
13261
+ declare const isHolChatOp: (value: unknown) => value is HolChatOp;
13262
+ declare const parseHolChatOps: (ops: unknown) => HolChatOp[];
13263
+ declare const buildPaymentApproveMessage: (input: {
13264
+ requestId: string;
13265
+ jobId: number;
13266
+ }) => string;
13267
+ declare const buildPaymentDeclineMessage: (input: {
13268
+ requestId: string;
13269
+ }) => string;
13270
+ declare const buildJobStatusMessage: (input: {
13271
+ requestId: string;
13272
+ jobId: number;
13273
+ }) => string;
13005
13274
 
13006
- 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 CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, type GenerateEncryptionKeyPairOptions$1 as GenerateEncryptionKeyPairOptions, type HistoryAutoTopUpOptions, 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 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 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 StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, canonicalizeLedgerNetwork, createPrivateKeySigner, createPrivateKeySignerAsync, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse };
13275
+ 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 CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, type GenerateEncryptionKeyPairOptions, HOL_CHAT_PROTOCOL_ID, 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 StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type VerificationChallengeDetailsResponse, type VerificationChallengeResponse, type VerificationOwnershipResponse, type VerificationStatusResponse, type VerificationVerifyResponse, type VerificationVerifySenderResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, buildJobStatusMessage, buildPaymentApproveMessage, buildPaymentDeclineMessage, canonicalizeLedgerNetwork, createPrivateKeySigner, createPrivateKeySignerAsync, isHolChatOp, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse, parseHolChatOps };