@hashgraphonline/standards-sdk 0.1.182 → 0.1.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/services/registry-broker/client/base-client.d.ts +2 -1
- package/dist/browser/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/client/chat.d.ts +3 -1
- package/dist/browser/services/registry-broker/client/chat.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/schemas.d.ts +307 -28
- package/dist/browser/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/types.d.ts +6 -1
- package/dist/browser/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser/standards-sdk.browser.js +45 -0
- package/dist/browser/standards-sdk.browser.js.map +1 -1
- package/dist/browser-root/services/registry-broker/client/base-client.d.ts +2 -1
- package/dist/browser-root/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/client/chat.d.ts +3 -1
- package/dist/browser-root/services/registry-broker/client/chat.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/schemas.d.ts +307 -28
- package/dist/browser-root/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/types.d.ts +6 -1
- package/dist/browser-root/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser-root/standards-sdk.root-browser.js +70 -0
- package/dist/browser-root/standards-sdk.root-browser.js.map +1 -1
- package/dist/cjs/services/registry-broker/client/base-client.d.ts +2 -1
- package/dist/cjs/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/client/chat.d.ts +3 -1
- package/dist/cjs/services/registry-broker/client/chat.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/schemas.d.ts +307 -28
- package/dist/cjs/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/types.d.ts +6 -1
- package/dist/cjs/services/registry-broker/types.d.ts.map +1 -1
- package/dist/cjs/standards-sdk.cjs +1 -1
- package/dist/cjs/standards-sdk.cjs.map +1 -1
- package/dist/es/services/registry-broker/client/base-client.d.ts +2 -1
- package/dist/es/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/es/services/registry-broker/client/chat.d.ts +3 -1
- package/dist/es/services/registry-broker/client/chat.d.ts.map +1 -1
- package/dist/es/services/registry-broker/schemas.d.ts +307 -28
- package/dist/es/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/es/services/registry-broker/types.d.ts +6 -1
- package/dist/es/services/registry-broker/types.d.ts.map +1 -1
- package/dist/es/standards-sdk.es121.js +1 -1
- package/dist/es/standards-sdk.es128.js +5 -5
- package/dist/es/standards-sdk.es138.js +1 -1
- package/dist/es/standards-sdk.es139.js +1 -1
- package/dist/es/standards-sdk.es140.js +5 -5
- package/dist/es/standards-sdk.es142.js +2 -2
- package/dist/es/standards-sdk.es145.js +6 -3
- package/dist/es/standards-sdk.es145.js.map +1 -1
- package/dist/es/standards-sdk.es148.js.map +1 -1
- package/dist/es/standards-sdk.es149.js +1 -1
- package/dist/es/standards-sdk.es161.js +46 -0
- package/dist/es/standards-sdk.es161.js.map +1 -1
- package/dist/es/standards-sdk.es163.js +54 -15
- package/dist/es/standards-sdk.es163.js.map +1 -1
- package/dist/es/standards-sdk.es164.js +102 -47
- package/dist/es/standards-sdk.es164.js.map +1 -1
- package/dist/es/standards-sdk.es165.js +64 -94
- package/dist/es/standards-sdk.es165.js.map +1 -1
- package/dist/es/standards-sdk.es166.js +180 -61
- package/dist/es/standards-sdk.es166.js.map +1 -1
- package/dist/es/standards-sdk.es167.js +14 -197
- package/dist/es/standards-sdk.es167.js.map +1 -1
- package/dist/es/standards-sdk.es168.js +66 -165
- package/dist/es/standards-sdk.es168.js.map +1 -1
- package/dist/es/standards-sdk.es169.js +657 -307
- package/dist/es/standards-sdk.es169.js.map +1 -1
- package/dist/es/standards-sdk.es170.js +120 -294
- package/dist/es/standards-sdk.es170.js.map +1 -1
- package/dist/es/standards-sdk.es171.js +191 -322
- package/dist/es/standards-sdk.es171.js.map +1 -1
- package/dist/es/standards-sdk.es172.js +294 -279
- package/dist/es/standards-sdk.es172.js.map +1 -1
- package/dist/es/standards-sdk.es173.js +440 -63
- package/dist/es/standards-sdk.es173.js.map +1 -1
- package/dist/es/standards-sdk.es174.js +317 -658
- package/dist/es/standards-sdk.es174.js.map +1 -1
- package/dist/es/standards-sdk.es175.js +66 -63
- package/dist/es/standards-sdk.es175.js.map +1 -1
- package/dist/es/standards-sdk.es177.js +24 -1
- package/dist/es/standards-sdk.es177.js.map +1 -1
- package/dist/es/standards-sdk.es179.js +1 -1
- package/dist/es/standards-sdk.es182.js +1 -1
- package/dist/es/standards-sdk.es56.js +1 -1
- package/dist/es/standards-sdk.es59.js +1 -1
- package/dist/es/standards-sdk.es60.js +1 -1
- package/dist/es/standards-sdk.es62.js +1 -1
- package/dist/es/standards-sdk.es63.js +2 -2
- package/dist/es/standards-sdk.es64.js +1 -1
- package/dist/es/standards-sdk.es65.js +1 -1
- package/dist/es/standards-sdk.es66.js +1 -1
- package/dist/es/standards-sdk.es69.js +1 -1
- package/dist/es/standards-sdk.es71.js +1 -1
- package/dist/es/standards-sdk.es72.js +1 -1
- package/package.json +1 -1
|
@@ -27,6 +27,64 @@ export declare enum AIAgentCapability {
|
|
|
27
27
|
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
28
28
|
[key: string]: JsonValue;
|
|
29
29
|
};
|
|
30
|
+
export declare const chatTimelineEntrySchema: z.ZodObject<{
|
|
31
|
+
messageId: z.ZodString;
|
|
32
|
+
kind: z.ZodEnum<["user", "assistant", "system", "tool", "payment", "delivery", "error"]>;
|
|
33
|
+
content: z.ZodString;
|
|
34
|
+
timestamp: z.ZodString;
|
|
35
|
+
deliveryState: z.ZodOptional<z.ZodEnum<["draft", "queued", "persisted", "delivered", "streaming", "responded", "failed", "timeout", "cancelled"]>>;
|
|
36
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
37
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
|
|
38
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
supported: z.ZodBoolean;
|
|
40
|
+
status: z.ZodEnum<["unsupported", "available", "selected", "uploading", "scanning", "ready", "failed", "rejected"]>;
|
|
41
|
+
maxBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
acceptedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
reason?: string;
|
|
46
|
+
status?: "failed" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready" | "rejected";
|
|
47
|
+
supported?: boolean;
|
|
48
|
+
maxBytes?: number;
|
|
49
|
+
acceptedMimeTypes?: string[];
|
|
50
|
+
}, {
|
|
51
|
+
reason?: string;
|
|
52
|
+
status?: "failed" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready" | "rejected";
|
|
53
|
+
supported?: boolean;
|
|
54
|
+
maxBytes?: number;
|
|
55
|
+
acceptedMimeTypes?: string[];
|
|
56
|
+
}>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
metadata?: Record<string, JsonValue>;
|
|
59
|
+
timestamp?: string;
|
|
60
|
+
messageId?: string;
|
|
61
|
+
content?: string;
|
|
62
|
+
kind?: "error" | "user" | "system" | "tool" | "payment" | "delivery" | "assistant";
|
|
63
|
+
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
64
|
+
errorCode?: string;
|
|
65
|
+
attachment?: {
|
|
66
|
+
reason?: string;
|
|
67
|
+
status?: "failed" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready" | "rejected";
|
|
68
|
+
supported?: boolean;
|
|
69
|
+
maxBytes?: number;
|
|
70
|
+
acceptedMimeTypes?: string[];
|
|
71
|
+
};
|
|
72
|
+
}, {
|
|
73
|
+
metadata?: Record<string, JsonValue>;
|
|
74
|
+
timestamp?: string;
|
|
75
|
+
messageId?: string;
|
|
76
|
+
content?: string;
|
|
77
|
+
kind?: "error" | "user" | "system" | "tool" | "payment" | "delivery" | "assistant";
|
|
78
|
+
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
79
|
+
errorCode?: string;
|
|
80
|
+
attachment?: {
|
|
81
|
+
reason?: string;
|
|
82
|
+
status?: "failed" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready" | "rejected";
|
|
83
|
+
supported?: boolean;
|
|
84
|
+
maxBytes?: number;
|
|
85
|
+
acceptedMimeTypes?: string[];
|
|
86
|
+
};
|
|
87
|
+
}>;
|
|
30
88
|
export declare const chatRouteSummarySchema: z.ZodObject<{
|
|
31
89
|
type: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
|
|
32
90
|
replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
|
|
@@ -143,6 +201,227 @@ export declare const chatReadinessResponseSchema: z.ZodObject<{
|
|
|
143
201
|
details?: string;
|
|
144
202
|
};
|
|
145
203
|
}>;
|
|
204
|
+
export declare const chatSessionResumeResponseSchema: z.ZodObject<{
|
|
205
|
+
sessionId: z.ZodString;
|
|
206
|
+
uaid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
|
+
agentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
|
+
route: z.ZodObject<{
|
|
209
|
+
type: z.ZodEnum<["a2a", "hcs-10", "mcp", "openrouter", "acp", "xmtp", "moltbook", "agentverse", "nanda", "http", "erc-8004", "x402", "unknown"]>;
|
|
210
|
+
replyMode: z.ZodEnum<["direct", "stream", "poll", "delivery_only", "none"]>;
|
|
211
|
+
transport: z.ZodString;
|
|
212
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
215
|
+
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
216
|
+
transport?: string;
|
|
217
|
+
endpoint?: string;
|
|
218
|
+
}, {
|
|
219
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
220
|
+
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
221
|
+
transport?: string;
|
|
222
|
+
endpoint?: string;
|
|
223
|
+
}>;
|
|
224
|
+
transport: z.ZodString;
|
|
225
|
+
history: z.ZodArray<z.ZodObject<{
|
|
226
|
+
messageId: z.ZodString;
|
|
227
|
+
role: z.ZodEnum<["user", "agent", "system", "tool", "payment", "delivery", "error"]>;
|
|
228
|
+
content: z.ZodString;
|
|
229
|
+
timestamp: z.ZodString;
|
|
230
|
+
cipherEnvelope: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
algorithm: z.ZodString;
|
|
232
|
+
ciphertext: z.ZodString;
|
|
233
|
+
nonce: z.ZodString;
|
|
234
|
+
associatedData: z.ZodOptional<z.ZodString>;
|
|
235
|
+
keyLocator: z.ZodOptional<z.ZodObject<{
|
|
236
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
237
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
sessionId?: string;
|
|
240
|
+
revision?: number;
|
|
241
|
+
}, {
|
|
242
|
+
sessionId?: string;
|
|
243
|
+
revision?: number;
|
|
244
|
+
}>>;
|
|
245
|
+
recipients: z.ZodArray<z.ZodObject<{
|
|
246
|
+
uaid: z.ZodOptional<z.ZodString>;
|
|
247
|
+
ledgerAccountId: z.ZodOptional<z.ZodString>;
|
|
248
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
249
|
+
email: z.ZodOptional<z.ZodString>;
|
|
250
|
+
encryptedShare: z.ZodString;
|
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
|
252
|
+
uaid?: string;
|
|
253
|
+
ledgerAccountId?: string;
|
|
254
|
+
userId?: string;
|
|
255
|
+
email?: string;
|
|
256
|
+
encryptedShare?: string;
|
|
257
|
+
}, {
|
|
258
|
+
uaid?: string;
|
|
259
|
+
ledgerAccountId?: string;
|
|
260
|
+
userId?: string;
|
|
261
|
+
email?: string;
|
|
262
|
+
encryptedShare?: string;
|
|
263
|
+
}>, "many">;
|
|
264
|
+
}, "strip", z.ZodTypeAny, {
|
|
265
|
+
algorithm?: string;
|
|
266
|
+
ciphertext?: string;
|
|
267
|
+
nonce?: string;
|
|
268
|
+
associatedData?: string;
|
|
269
|
+
keyLocator?: {
|
|
270
|
+
sessionId?: string;
|
|
271
|
+
revision?: number;
|
|
272
|
+
};
|
|
273
|
+
recipients?: {
|
|
274
|
+
uaid?: string;
|
|
275
|
+
ledgerAccountId?: string;
|
|
276
|
+
userId?: string;
|
|
277
|
+
email?: string;
|
|
278
|
+
encryptedShare?: string;
|
|
279
|
+
}[];
|
|
280
|
+
}, {
|
|
281
|
+
algorithm?: string;
|
|
282
|
+
ciphertext?: string;
|
|
283
|
+
nonce?: string;
|
|
284
|
+
associatedData?: string;
|
|
285
|
+
keyLocator?: {
|
|
286
|
+
sessionId?: string;
|
|
287
|
+
revision?: number;
|
|
288
|
+
};
|
|
289
|
+
recipients?: {
|
|
290
|
+
uaid?: string;
|
|
291
|
+
ledgerAccountId?: string;
|
|
292
|
+
userId?: string;
|
|
293
|
+
email?: string;
|
|
294
|
+
encryptedShare?: string;
|
|
295
|
+
}[];
|
|
296
|
+
}>>;
|
|
297
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
|
|
298
|
+
}, "strip", z.ZodTypeAny, {
|
|
299
|
+
metadata?: Record<string, JsonValue>;
|
|
300
|
+
timestamp?: string;
|
|
301
|
+
role?: "error" | "user" | "agent" | "system" | "tool" | "payment" | "delivery";
|
|
302
|
+
messageId?: string;
|
|
303
|
+
content?: string;
|
|
304
|
+
cipherEnvelope?: {
|
|
305
|
+
algorithm?: string;
|
|
306
|
+
ciphertext?: string;
|
|
307
|
+
nonce?: string;
|
|
308
|
+
associatedData?: string;
|
|
309
|
+
keyLocator?: {
|
|
310
|
+
sessionId?: string;
|
|
311
|
+
revision?: number;
|
|
312
|
+
};
|
|
313
|
+
recipients?: {
|
|
314
|
+
uaid?: string;
|
|
315
|
+
ledgerAccountId?: string;
|
|
316
|
+
userId?: string;
|
|
317
|
+
email?: string;
|
|
318
|
+
encryptedShare?: string;
|
|
319
|
+
}[];
|
|
320
|
+
};
|
|
321
|
+
}, {
|
|
322
|
+
metadata?: Record<string, JsonValue>;
|
|
323
|
+
timestamp?: string;
|
|
324
|
+
role?: "error" | "user" | "agent" | "system" | "tool" | "payment" | "delivery";
|
|
325
|
+
messageId?: string;
|
|
326
|
+
content?: string;
|
|
327
|
+
cipherEnvelope?: {
|
|
328
|
+
algorithm?: string;
|
|
329
|
+
ciphertext?: string;
|
|
330
|
+
nonce?: string;
|
|
331
|
+
associatedData?: string;
|
|
332
|
+
keyLocator?: {
|
|
333
|
+
sessionId?: string;
|
|
334
|
+
revision?: number;
|
|
335
|
+
};
|
|
336
|
+
recipients?: {
|
|
337
|
+
uaid?: string;
|
|
338
|
+
ledgerAccountId?: string;
|
|
339
|
+
userId?: string;
|
|
340
|
+
email?: string;
|
|
341
|
+
encryptedShare?: string;
|
|
342
|
+
}[];
|
|
343
|
+
};
|
|
344
|
+
}>, "many">;
|
|
345
|
+
historyTtlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
visibility: z.ZodOptional<z.ZodEnum<["private", "public"]>>;
|
|
347
|
+
state: z.ZodEnum<["connecting", "ready", "blocked", "ended", "expired"]>;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
state?: "ended" | "ready" | "blocked" | "connecting" | "expired";
|
|
350
|
+
uaid?: string;
|
|
351
|
+
sessionId?: string;
|
|
352
|
+
transport?: string;
|
|
353
|
+
agentUrl?: string;
|
|
354
|
+
route?: {
|
|
355
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
356
|
+
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
357
|
+
transport?: string;
|
|
358
|
+
endpoint?: string;
|
|
359
|
+
};
|
|
360
|
+
history?: {
|
|
361
|
+
metadata?: Record<string, JsonValue>;
|
|
362
|
+
timestamp?: string;
|
|
363
|
+
role?: "error" | "user" | "agent" | "system" | "tool" | "payment" | "delivery";
|
|
364
|
+
messageId?: string;
|
|
365
|
+
content?: string;
|
|
366
|
+
cipherEnvelope?: {
|
|
367
|
+
algorithm?: string;
|
|
368
|
+
ciphertext?: string;
|
|
369
|
+
nonce?: string;
|
|
370
|
+
associatedData?: string;
|
|
371
|
+
keyLocator?: {
|
|
372
|
+
sessionId?: string;
|
|
373
|
+
revision?: number;
|
|
374
|
+
};
|
|
375
|
+
recipients?: {
|
|
376
|
+
uaid?: string;
|
|
377
|
+
ledgerAccountId?: string;
|
|
378
|
+
userId?: string;
|
|
379
|
+
email?: string;
|
|
380
|
+
encryptedShare?: string;
|
|
381
|
+
}[];
|
|
382
|
+
};
|
|
383
|
+
}[];
|
|
384
|
+
historyTtlSeconds?: number;
|
|
385
|
+
visibility?: "private" | "public";
|
|
386
|
+
}, {
|
|
387
|
+
state?: "ended" | "ready" | "blocked" | "connecting" | "expired";
|
|
388
|
+
uaid?: string;
|
|
389
|
+
sessionId?: string;
|
|
390
|
+
transport?: string;
|
|
391
|
+
agentUrl?: string;
|
|
392
|
+
route?: {
|
|
393
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
394
|
+
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
395
|
+
transport?: string;
|
|
396
|
+
endpoint?: string;
|
|
397
|
+
};
|
|
398
|
+
history?: {
|
|
399
|
+
metadata?: Record<string, JsonValue>;
|
|
400
|
+
timestamp?: string;
|
|
401
|
+
role?: "error" | "user" | "agent" | "system" | "tool" | "payment" | "delivery";
|
|
402
|
+
messageId?: string;
|
|
403
|
+
content?: string;
|
|
404
|
+
cipherEnvelope?: {
|
|
405
|
+
algorithm?: string;
|
|
406
|
+
ciphertext?: string;
|
|
407
|
+
nonce?: string;
|
|
408
|
+
associatedData?: string;
|
|
409
|
+
keyLocator?: {
|
|
410
|
+
sessionId?: string;
|
|
411
|
+
revision?: number;
|
|
412
|
+
};
|
|
413
|
+
recipients?: {
|
|
414
|
+
uaid?: string;
|
|
415
|
+
ledgerAccountId?: string;
|
|
416
|
+
userId?: string;
|
|
417
|
+
email?: string;
|
|
418
|
+
encryptedShare?: string;
|
|
419
|
+
}[];
|
|
420
|
+
};
|
|
421
|
+
}[];
|
|
422
|
+
historyTtlSeconds?: number;
|
|
423
|
+
visibility?: "private" | "public";
|
|
424
|
+
}>;
|
|
146
425
|
export declare const searchResponseSchema: z.ZodObject<{
|
|
147
426
|
hits: z.ZodArray<z.ZodObject<{
|
|
148
427
|
id: z.ZodString;
|
|
@@ -855,6 +1134,7 @@ export declare const resolveResponseSchema: z.ZodObject<{
|
|
|
855
1134
|
id?: string;
|
|
856
1135
|
protocols?: string[];
|
|
857
1136
|
createdAt?: string;
|
|
1137
|
+
available?: boolean;
|
|
858
1138
|
endpoints?: string[] | Record<string, JsonValue>;
|
|
859
1139
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
860
1140
|
profile?: {
|
|
@@ -875,7 +1155,6 @@ export declare const resolveResponseSchema: z.ZodObject<{
|
|
|
875
1155
|
originalId?: string;
|
|
876
1156
|
communicationSupported?: boolean;
|
|
877
1157
|
routingSupported?: boolean;
|
|
878
|
-
available?: boolean;
|
|
879
1158
|
availabilityStatus?: string;
|
|
880
1159
|
availabilityCheckedAt?: string;
|
|
881
1160
|
availabilitySource?: string;
|
|
@@ -902,6 +1181,7 @@ export declare const resolveResponseSchema: z.ZodObject<{
|
|
|
902
1181
|
id?: string;
|
|
903
1182
|
protocols?: string[];
|
|
904
1183
|
createdAt?: string;
|
|
1184
|
+
available?: boolean;
|
|
905
1185
|
endpoints?: string[] | Record<string, JsonValue>;
|
|
906
1186
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
907
1187
|
profile?: {
|
|
@@ -922,7 +1202,6 @@ export declare const resolveResponseSchema: z.ZodObject<{
|
|
|
922
1202
|
originalId?: string;
|
|
923
1203
|
communicationSupported?: boolean;
|
|
924
1204
|
routingSupported?: boolean;
|
|
925
|
-
available?: boolean;
|
|
926
1205
|
availabilityStatus?: string;
|
|
927
1206
|
availabilityCheckedAt?: string;
|
|
928
1207
|
availabilitySource?: string;
|
|
@@ -2712,7 +2991,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2712
2991
|
traceId: z.ZodOptional<z.ZodString>;
|
|
2713
2992
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2714
2993
|
}, "strip", z.ZodTypeAny, {
|
|
2715
|
-
state?: "ended" | "
|
|
2994
|
+
state?: "ended" | "ready" | "blocked" | "connecting" | "expired";
|
|
2716
2995
|
uaid?: string;
|
|
2717
2996
|
sessionId?: string;
|
|
2718
2997
|
expiresAt?: string;
|
|
@@ -2730,6 +3009,12 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2730
3009
|
estimatedUsd?: number;
|
|
2731
3010
|
};
|
|
2732
3011
|
transport?: string;
|
|
3012
|
+
route?: {
|
|
3013
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
3014
|
+
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
3015
|
+
transport?: string;
|
|
3016
|
+
endpoint?: string;
|
|
3017
|
+
};
|
|
2733
3018
|
history?: {
|
|
2734
3019
|
metadata?: Record<string, JsonValue>;
|
|
2735
3020
|
timestamp?: string;
|
|
@@ -2755,6 +3040,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2755
3040
|
};
|
|
2756
3041
|
}[];
|
|
2757
3042
|
historyTtlSeconds?: number;
|
|
3043
|
+
visibility?: "private" | "public";
|
|
2758
3044
|
encryption?: {
|
|
2759
3045
|
algorithm?: string;
|
|
2760
3046
|
requester?: {
|
|
@@ -2807,14 +3093,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2807
3093
|
expiresAt?: number;
|
|
2808
3094
|
};
|
|
2809
3095
|
};
|
|
2810
|
-
route?: {
|
|
2811
|
-
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
2812
|
-
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
2813
|
-
transport?: string;
|
|
2814
|
-
endpoint?: string;
|
|
2815
|
-
};
|
|
2816
3096
|
senderUaid?: string;
|
|
2817
|
-
visibility?: "private" | "public";
|
|
2818
3097
|
readiness?: {
|
|
2819
3098
|
status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
|
|
2820
3099
|
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
@@ -2842,7 +3121,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2842
3121
|
};
|
|
2843
3122
|
traceId?: string;
|
|
2844
3123
|
}, {
|
|
2845
|
-
state?: "ended" | "
|
|
3124
|
+
state?: "ended" | "ready" | "blocked" | "connecting" | "expired";
|
|
2846
3125
|
uaid?: string;
|
|
2847
3126
|
sessionId?: string;
|
|
2848
3127
|
expiresAt?: string;
|
|
@@ -2860,6 +3139,12 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2860
3139
|
estimatedUsd?: number;
|
|
2861
3140
|
};
|
|
2862
3141
|
transport?: string;
|
|
3142
|
+
route?: {
|
|
3143
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
3144
|
+
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
3145
|
+
transport?: string;
|
|
3146
|
+
endpoint?: string;
|
|
3147
|
+
};
|
|
2863
3148
|
history?: {
|
|
2864
3149
|
metadata?: Record<string, JsonValue>;
|
|
2865
3150
|
timestamp?: string;
|
|
@@ -2885,6 +3170,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2885
3170
|
};
|
|
2886
3171
|
}[];
|
|
2887
3172
|
historyTtlSeconds?: number;
|
|
3173
|
+
visibility?: "private" | "public";
|
|
2888
3174
|
encryption?: {
|
|
2889
3175
|
algorithm?: string;
|
|
2890
3176
|
requester?: {
|
|
@@ -2937,14 +3223,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2937
3223
|
expiresAt?: number;
|
|
2938
3224
|
};
|
|
2939
3225
|
};
|
|
2940
|
-
route?: {
|
|
2941
|
-
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
2942
|
-
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
2943
|
-
transport?: string;
|
|
2944
|
-
endpoint?: string;
|
|
2945
|
-
};
|
|
2946
3226
|
senderUaid?: string;
|
|
2947
|
-
visibility?: "private" | "public";
|
|
2948
3227
|
readiness?: {
|
|
2949
3228
|
status?: "unknown" | "responsive" | "delivery_only" | "degraded" | "blocked";
|
|
2950
3229
|
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
@@ -3119,6 +3398,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3119
3398
|
sessionId?: string;
|
|
3120
3399
|
messageId?: string;
|
|
3121
3400
|
content?: string;
|
|
3401
|
+
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
3402
|
+
errorCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
|
|
3122
3403
|
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
3123
3404
|
history?: {
|
|
3124
3405
|
metadata?: Record<string, JsonValue>;
|
|
@@ -3148,10 +3429,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3148
3429
|
rawResponse?: JsonValue;
|
|
3149
3430
|
ops?: Record<string, JsonValue>[];
|
|
3150
3431
|
assistantMessageId?: string;
|
|
3151
|
-
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
3152
3432
|
deliveryConfirmation?: boolean;
|
|
3153
3433
|
idempotent?: boolean;
|
|
3154
|
-
errorCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
|
|
3155
3434
|
}, {
|
|
3156
3435
|
message?: string;
|
|
3157
3436
|
metadata?: Record<string, JsonValue>;
|
|
@@ -3161,6 +3440,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3161
3440
|
sessionId?: string;
|
|
3162
3441
|
messageId?: string;
|
|
3163
3442
|
content?: string;
|
|
3443
|
+
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
3444
|
+
errorCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
|
|
3164
3445
|
replyMode?: "delivery_only" | "direct" | "stream" | "poll" | "none";
|
|
3165
3446
|
history?: {
|
|
3166
3447
|
metadata?: Record<string, JsonValue>;
|
|
@@ -3190,10 +3471,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3190
3471
|
rawResponse?: JsonValue;
|
|
3191
3472
|
ops?: Record<string, JsonValue>[];
|
|
3192
3473
|
assistantMessageId?: string;
|
|
3193
|
-
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
3194
3474
|
deliveryConfirmation?: boolean;
|
|
3195
3475
|
idempotent?: boolean;
|
|
3196
|
-
errorCode?: "AUTH_REQUIRED" | "CREDITS_REQUIRED" | "PAYMENT_REQUIRED" | "AGENT_UNRESPONSIVE" | "ROUTE_UNAVAILABLE" | "PROTOCOL_UNSUPPORTED" | "BROKER_NOT_EXECUTABLE" | "NETWORK_TIMEOUT" | "STREAM_STALLED" | "HISTORY_UNAVAILABLE" | "ENCRYPTION_REQUIRED" | "RATE_LIMITED" | "VALIDATION_ERROR" | "UNKNOWN_ERROR";
|
|
3197
3476
|
}>;
|
|
3198
3477
|
export declare const chatSessionEndResponseSchema: z.ZodObject<{
|
|
3199
3478
|
message: z.ZodString;
|
|
@@ -3201,11 +3480,11 @@ export declare const chatSessionEndResponseSchema: z.ZodObject<{
|
|
|
3201
3480
|
state: z.ZodOptional<z.ZodEnum<["connecting", "ready", "blocked", "ended", "expired"]>>;
|
|
3202
3481
|
}, "strip", z.ZodTypeAny, {
|
|
3203
3482
|
message?: string;
|
|
3204
|
-
state?: "ended" | "
|
|
3483
|
+
state?: "ended" | "ready" | "blocked" | "connecting" | "expired";
|
|
3205
3484
|
sessionId?: string;
|
|
3206
3485
|
}, {
|
|
3207
3486
|
message?: string;
|
|
3208
|
-
state?: "ended" | "
|
|
3487
|
+
state?: "ended" | "ready" | "blocked" | "connecting" | "expired";
|
|
3209
3488
|
sessionId?: string;
|
|
3210
3489
|
}>;
|
|
3211
3490
|
export declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
|
|
@@ -5377,6 +5656,7 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5377
5656
|
id?: string;
|
|
5378
5657
|
protocols?: string[];
|
|
5379
5658
|
createdAt?: string;
|
|
5659
|
+
available?: boolean;
|
|
5380
5660
|
endpoints?: string[] | Record<string, JsonValue>;
|
|
5381
5661
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5382
5662
|
profile?: {
|
|
@@ -5397,7 +5677,6 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5397
5677
|
originalId?: string;
|
|
5398
5678
|
communicationSupported?: boolean;
|
|
5399
5679
|
routingSupported?: boolean;
|
|
5400
|
-
available?: boolean;
|
|
5401
5680
|
availabilityStatus?: string;
|
|
5402
5681
|
availabilityCheckedAt?: string;
|
|
5403
5682
|
availabilitySource?: string;
|
|
@@ -5426,6 +5705,7 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5426
5705
|
id?: string;
|
|
5427
5706
|
protocols?: string[];
|
|
5428
5707
|
createdAt?: string;
|
|
5708
|
+
available?: boolean;
|
|
5429
5709
|
endpoints?: string[] | Record<string, JsonValue>;
|
|
5430
5710
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5431
5711
|
profile?: {
|
|
@@ -5446,7 +5726,6 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5446
5726
|
originalId?: string;
|
|
5447
5727
|
communicationSupported?: boolean;
|
|
5448
5728
|
routingSupported?: boolean;
|
|
5449
|
-
available?: boolean;
|
|
5450
5729
|
availabilityStatus?: string;
|
|
5451
5730
|
availabilityCheckedAt?: string;
|
|
5452
5731
|
availabilitySource?: string;
|
|
@@ -5483,6 +5762,7 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5483
5762
|
id?: string;
|
|
5484
5763
|
protocols?: string[];
|
|
5485
5764
|
createdAt?: string;
|
|
5765
|
+
available?: boolean;
|
|
5486
5766
|
endpoints?: string[] | Record<string, JsonValue>;
|
|
5487
5767
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5488
5768
|
profile?: {
|
|
@@ -5503,7 +5783,6 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5503
5783
|
originalId?: string;
|
|
5504
5784
|
communicationSupported?: boolean;
|
|
5505
5785
|
routingSupported?: boolean;
|
|
5506
|
-
available?: boolean;
|
|
5507
5786
|
availabilityStatus?: string;
|
|
5508
5787
|
availabilityCheckedAt?: string;
|
|
5509
5788
|
availabilitySource?: string;
|
|
@@ -5540,6 +5819,7 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5540
5819
|
id?: string;
|
|
5541
5820
|
protocols?: string[];
|
|
5542
5821
|
createdAt?: string;
|
|
5822
|
+
available?: boolean;
|
|
5543
5823
|
endpoints?: string[] | Record<string, JsonValue>;
|
|
5544
5824
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5545
5825
|
profile?: {
|
|
@@ -5560,7 +5840,6 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5560
5840
|
originalId?: string;
|
|
5561
5841
|
communicationSupported?: boolean;
|
|
5562
5842
|
routingSupported?: boolean;
|
|
5563
|
-
available?: boolean;
|
|
5564
5843
|
availabilityStatus?: string;
|
|
5565
5844
|
availabilityCheckedAt?: string;
|
|
5566
5845
|
availabilitySource?: string;
|