@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" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
|
|
47
|
+
supported?: boolean;
|
|
48
|
+
maxBytes?: number;
|
|
49
|
+
acceptedMimeTypes?: string[];
|
|
50
|
+
}, {
|
|
51
|
+
reason?: string;
|
|
52
|
+
status?: "failed" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
|
|
53
|
+
supported?: boolean;
|
|
54
|
+
maxBytes?: number;
|
|
55
|
+
acceptedMimeTypes?: string[];
|
|
56
|
+
}>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
metadata?: Record<string, JsonValue>;
|
|
59
|
+
timestamp?: string;
|
|
60
|
+
content?: string;
|
|
61
|
+
messageId?: 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" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
|
|
68
|
+
supported?: boolean;
|
|
69
|
+
maxBytes?: number;
|
|
70
|
+
acceptedMimeTypes?: string[];
|
|
71
|
+
};
|
|
72
|
+
}, {
|
|
73
|
+
metadata?: Record<string, JsonValue>;
|
|
74
|
+
timestamp?: string;
|
|
75
|
+
content?: string;
|
|
76
|
+
messageId?: 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" | "rejected" | "unsupported" | "available" | "selected" | "uploading" | "scanning" | "ready";
|
|
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
|
code?: 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
|
+
transport?: string;
|
|
216
|
+
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
217
|
+
endpoint?: string;
|
|
218
|
+
}, {
|
|
219
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
220
|
+
transport?: string;
|
|
221
|
+
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
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
|
+
nonce?: string;
|
|
266
|
+
algorithm?: string;
|
|
267
|
+
ciphertext?: 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
|
+
nonce?: string;
|
|
282
|
+
algorithm?: string;
|
|
283
|
+
ciphertext?: 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
|
+
content?: string;
|
|
302
|
+
role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
|
|
303
|
+
messageId?: string;
|
|
304
|
+
cipherEnvelope?: {
|
|
305
|
+
nonce?: string;
|
|
306
|
+
algorithm?: string;
|
|
307
|
+
ciphertext?: 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
|
+
content?: string;
|
|
325
|
+
role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
|
|
326
|
+
messageId?: string;
|
|
327
|
+
cipherEnvelope?: {
|
|
328
|
+
nonce?: string;
|
|
329
|
+
algorithm?: string;
|
|
330
|
+
ciphertext?: 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?: "ready" | "blocked" | "connecting" | "ended" | "expired";
|
|
350
|
+
uaid?: string;
|
|
351
|
+
transport?: string;
|
|
352
|
+
sessionId?: string;
|
|
353
|
+
agentUrl?: string;
|
|
354
|
+
route?: {
|
|
355
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
356
|
+
transport?: string;
|
|
357
|
+
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
358
|
+
endpoint?: string;
|
|
359
|
+
};
|
|
360
|
+
history?: {
|
|
361
|
+
metadata?: Record<string, JsonValue>;
|
|
362
|
+
timestamp?: string;
|
|
363
|
+
content?: string;
|
|
364
|
+
role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
|
|
365
|
+
messageId?: string;
|
|
366
|
+
cipherEnvelope?: {
|
|
367
|
+
nonce?: string;
|
|
368
|
+
algorithm?: string;
|
|
369
|
+
ciphertext?: 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?: "ready" | "blocked" | "connecting" | "ended" | "expired";
|
|
388
|
+
uaid?: string;
|
|
389
|
+
transport?: string;
|
|
390
|
+
sessionId?: string;
|
|
391
|
+
agentUrl?: string;
|
|
392
|
+
route?: {
|
|
393
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
394
|
+
transport?: string;
|
|
395
|
+
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
396
|
+
endpoint?: string;
|
|
397
|
+
};
|
|
398
|
+
history?: {
|
|
399
|
+
metadata?: Record<string, JsonValue>;
|
|
400
|
+
timestamp?: string;
|
|
401
|
+
content?: string;
|
|
402
|
+
role?: "error" | "agent" | "user" | "system" | "tool" | "payment" | "delivery";
|
|
403
|
+
messageId?: string;
|
|
404
|
+
cipherEnvelope?: {
|
|
405
|
+
nonce?: string;
|
|
406
|
+
algorithm?: string;
|
|
407
|
+
ciphertext?: 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;
|
|
@@ -872,11 +1151,11 @@ export declare const resolveResponseSchema: z.ZodObject<{
|
|
|
872
1151
|
image?: string;
|
|
873
1152
|
adapter?: string;
|
|
874
1153
|
protocols?: string[];
|
|
1154
|
+
available?: boolean;
|
|
875
1155
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
876
1156
|
originalId?: string;
|
|
877
1157
|
communicationSupported?: boolean;
|
|
878
1158
|
routingSupported?: boolean;
|
|
879
|
-
available?: boolean;
|
|
880
1159
|
availabilityStatus?: string;
|
|
881
1160
|
availabilityCheckedAt?: string;
|
|
882
1161
|
availabilitySource?: string;
|
|
@@ -919,11 +1198,11 @@ export declare const resolveResponseSchema: z.ZodObject<{
|
|
|
919
1198
|
image?: string;
|
|
920
1199
|
adapter?: string;
|
|
921
1200
|
protocols?: string[];
|
|
1201
|
+
available?: boolean;
|
|
922
1202
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
923
1203
|
originalId?: string;
|
|
924
1204
|
communicationSupported?: boolean;
|
|
925
1205
|
routingSupported?: boolean;
|
|
926
|
-
available?: boolean;
|
|
927
1206
|
availabilityStatus?: string;
|
|
928
1207
|
availabilityCheckedAt?: string;
|
|
929
1208
|
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?: "
|
|
2994
|
+
state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
|
|
2716
2995
|
uaid?: string;
|
|
2717
2996
|
agent?: {
|
|
2718
2997
|
name?: string;
|
|
@@ -2730,6 +3009,12 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2730
3009
|
estimatedCredits?: number;
|
|
2731
3010
|
estimatedUsd?: number;
|
|
2732
3011
|
};
|
|
3012
|
+
route?: {
|
|
3013
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
3014
|
+
transport?: string;
|
|
3015
|
+
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
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
|
-
transport?: string;
|
|
2813
|
-
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
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
|
transport?: string;
|
|
@@ -2842,7 +3121,7 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2842
3121
|
};
|
|
2843
3122
|
traceId?: string;
|
|
2844
3123
|
}, {
|
|
2845
|
-
state?: "
|
|
3124
|
+
state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
|
|
2846
3125
|
uaid?: string;
|
|
2847
3126
|
agent?: {
|
|
2848
3127
|
name?: string;
|
|
@@ -2860,6 +3139,12 @@ export declare const createSessionResponseSchema: z.ZodObject<{
|
|
|
2860
3139
|
estimatedCredits?: number;
|
|
2861
3140
|
estimatedUsd?: number;
|
|
2862
3141
|
};
|
|
3142
|
+
route?: {
|
|
3143
|
+
type?: "hcs-10" | "unknown" | "http" | "a2a" | "mcp" | "openrouter" | "acp" | "xmtp" | "moltbook" | "agentverse" | "nanda" | "erc-8004" | "x402";
|
|
3144
|
+
transport?: string;
|
|
3145
|
+
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
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
|
-
transport?: string;
|
|
2943
|
-
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
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
|
transport?: string;
|
|
@@ -3118,6 +3397,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3118
3397
|
content?: string;
|
|
3119
3398
|
sessionId?: string;
|
|
3120
3399
|
messageId?: string;
|
|
3400
|
+
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
3401
|
+
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";
|
|
3121
3402
|
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
3122
3403
|
history?: {
|
|
3123
3404
|
metadata?: Record<string, JsonValue>;
|
|
@@ -3148,10 +3429,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3148
3429
|
ops?: Record<string, JsonValue>[];
|
|
3149
3430
|
encrypted?: boolean;
|
|
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>;
|
|
@@ -3160,6 +3439,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3160
3439
|
content?: string;
|
|
3161
3440
|
sessionId?: string;
|
|
3162
3441
|
messageId?: string;
|
|
3442
|
+
deliveryState?: "failed" | "draft" | "queued" | "persisted" | "delivered" | "streaming" | "responded" | "timeout" | "cancelled";
|
|
3443
|
+
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";
|
|
3163
3444
|
replyMode?: "stream" | "none" | "delivery_only" | "direct" | "poll";
|
|
3164
3445
|
history?: {
|
|
3165
3446
|
metadata?: Record<string, JsonValue>;
|
|
@@ -3190,10 +3471,8 @@ export declare const sendMessageResponseSchema: z.ZodObject<{
|
|
|
3190
3471
|
ops?: Record<string, JsonValue>[];
|
|
3191
3472
|
encrypted?: boolean;
|
|
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?: "
|
|
3483
|
+
state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
|
|
3205
3484
|
sessionId?: string;
|
|
3206
3485
|
}, {
|
|
3207
3486
|
message?: string;
|
|
3208
|
-
state?: "
|
|
3487
|
+
state?: "ready" | "blocked" | "connecting" | "ended" | "expired";
|
|
3209
3488
|
sessionId?: string;
|
|
3210
3489
|
}>;
|
|
3211
3490
|
export declare const chatHistorySnapshotResponseSchema: z.ZodObject<{
|
|
@@ -5394,11 +5673,11 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5394
5673
|
image?: string;
|
|
5395
5674
|
adapter?: string;
|
|
5396
5675
|
protocols?: string[];
|
|
5676
|
+
available?: boolean;
|
|
5397
5677
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5398
5678
|
originalId?: string;
|
|
5399
5679
|
communicationSupported?: boolean;
|
|
5400
5680
|
routingSupported?: boolean;
|
|
5401
|
-
available?: boolean;
|
|
5402
5681
|
availabilityStatus?: string;
|
|
5403
5682
|
availabilityCheckedAt?: string;
|
|
5404
5683
|
availabilitySource?: string;
|
|
@@ -5443,11 +5722,11 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5443
5722
|
image?: string;
|
|
5444
5723
|
adapter?: string;
|
|
5445
5724
|
protocols?: string[];
|
|
5725
|
+
available?: boolean;
|
|
5446
5726
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5447
5727
|
originalId?: string;
|
|
5448
5728
|
communicationSupported?: boolean;
|
|
5449
5729
|
routingSupported?: boolean;
|
|
5450
|
-
available?: boolean;
|
|
5451
5730
|
availabilityStatus?: string;
|
|
5452
5731
|
availabilityCheckedAt?: string;
|
|
5453
5732
|
availabilitySource?: string;
|
|
@@ -5500,11 +5779,11 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5500
5779
|
image?: string;
|
|
5501
5780
|
adapter?: string;
|
|
5502
5781
|
protocols?: string[];
|
|
5782
|
+
available?: boolean;
|
|
5503
5783
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5504
5784
|
originalId?: string;
|
|
5505
5785
|
communicationSupported?: boolean;
|
|
5506
5786
|
routingSupported?: boolean;
|
|
5507
|
-
available?: boolean;
|
|
5508
5787
|
availabilityStatus?: string;
|
|
5509
5788
|
availabilityCheckedAt?: string;
|
|
5510
5789
|
availabilitySource?: string;
|
|
@@ -5557,11 +5836,11 @@ export declare const vectorSearchResponseSchema: z.ZodObject<{
|
|
|
5557
5836
|
image?: string;
|
|
5558
5837
|
adapter?: string;
|
|
5559
5838
|
protocols?: string[];
|
|
5839
|
+
available?: boolean;
|
|
5560
5840
|
metadataFacet?: Record<string, JsonValue | JsonValue[] | Record<string, JsonValue>>;
|
|
5561
5841
|
originalId?: string;
|
|
5562
5842
|
communicationSupported?: boolean;
|
|
5563
5843
|
routingSupported?: boolean;
|
|
5564
|
-
available?: boolean;
|
|
5565
5844
|
availabilityStatus?: string;
|
|
5566
5845
|
availabilityCheckedAt?: string;
|
|
5567
5846
|
availabilitySource?: string;
|