@agentshouse/app-bridge 0.1.0-ce602e5dccd9f → 0.1.0-ce61879ee484f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +2 -2
  2. package/dist/index.d.ts +47 -504
  3. package/dist/mdmodel/body.d.ts +84 -0
  4. package/dist/mdmodel/built-in.d.ts +3 -0
  5. package/dist/mdmodel/crockford.d.ts +3 -0
  6. package/dist/mdmodel/definition.d.ts +18 -9
  7. package/dist/mdmodel/document.d.ts +7 -4
  8. package/dist/mdmodel/event.d.ts +1 -2
  9. package/dist/mdmodel/fields.d.ts +1 -1
  10. package/dist/mdmodel/house-model.d.ts +826 -0
  11. package/dist/mdmodel/house-references.d.ts +3 -0
  12. package/dist/mdmodel/index.d.ts +15 -6
  13. package/dist/mdmodel/markdown.d.ts +28 -4
  14. package/dist/mdmodel/paths.d.ts +10 -1
  15. package/dist/mdmodel/room-types.d.ts +6 -0
  16. package/dist/mdmodel/types.d.ts +3 -6
  17. package/dist/mdmodel/validate.d.ts +2 -1
  18. package/dist/mdruntime/actions.d.ts +8 -2
  19. package/dist/mdruntime/adapter.d.ts +13 -7
  20. package/dist/mdruntime/attached-model.d.ts +0 -1
  21. package/dist/mdruntime/change-set.d.ts +4 -0
  22. package/dist/mdruntime/client.d.ts +6 -17
  23. package/dist/mdruntime/compile.d.ts +2 -0
  24. package/dist/mdruntime/conversation-live.d.ts +10 -2
  25. package/dist/mdruntime/conversation.d.ts +26 -5
  26. package/dist/mdruntime/durability.d.ts +4 -0
  27. package/dist/mdruntime/failure.d.ts +2 -0
  28. package/dist/mdruntime/listing.d.ts +5 -9
  29. package/dist/mdruntime/messages.d.ts +9 -2
  30. package/dist/mdruntime/observation.d.ts +3 -2
  31. package/dist/mdruntime/opened.d.ts +1 -1
  32. package/dist/mdruntime/outcome.d.ts +3 -0
  33. package/dist/mdruntime/overlay.d.ts +3 -0
  34. package/dist/mdruntime/presence.d.ts +51 -0
  35. package/dist/mdruntime/readiness.d.ts +1 -1
  36. package/dist/mdruntime/reads.d.ts +3 -1
  37. package/dist/mdruntime/recovery.d.ts +3 -1
  38. package/dist/mdruntime/retried.d.ts +29 -0
  39. package/dist/mdruntime/room-draft.d.ts +2 -3
  40. package/dist/mdruntime/runtime.d.ts +6 -16
  41. package/dist/mdruntime/save.d.ts +40 -83
  42. package/dist/mdruntime/saves.d.ts +2 -40
  43. package/dist/mdruntime/socket/lanes.d.ts +12 -4
  44. package/dist/mdruntime/socket.d.ts +3 -5
  45. package/dist/mdruntime/source.d.ts +0 -7
  46. package/dist/mdruntime/store/records.d.ts +7 -3
  47. package/dist/mdruntime/store.d.ts +10 -5
  48. package/dist/mdruntime/stored.d.ts +1 -0
  49. package/dist/mdruntime/surface.d.ts +1 -1
  50. package/dist/mdruntime/tables.d.ts +6 -3
  51. package/dist/mdruntime/wire.d.ts +47 -3
  52. package/dist/session-content/index.d.ts +1 -1
  53. package/dist/session-content/parts.d.ts +4 -3
  54. package/dist/session-content/turn.d.ts +3 -3
  55. package/docs/families.md +4 -9
  56. package/package.json +2 -2
  57. package/dist/mdruntime/install.d.ts +0 -55
  58. package/dist/mdruntime/log.d.ts +0 -5
  59. package/dist/mdruntime/socket/rooms.d.ts +0 -40
  60. package/dist/mdruntime/store/fences.d.ts +0 -15
  61. package/dist/mdruntime/turn.d.ts +0 -8
package/dist/index.d.ts CHANGED
@@ -1,7 +1,12 @@
1
1
  import type { MdRuntimeClient, Open } from './mdruntime/client.js';
2
2
  export interface HouseMethods {
3
+ readonly "agent-functions/decide": {
4
+ readonly params: never;
5
+ readonly result: never;
6
+ };
3
7
  readonly "agent-functions/requests/list": {
4
8
  readonly params: {
9
+ readonly operation_id?: string;
5
10
  readonly room_ref: string;
6
11
  };
7
12
  readonly result: {
@@ -16,7 +21,9 @@ export interface HouseMethods {
16
21
  };
17
22
  };
18
23
  readonly "apps/features/list": {
19
- readonly params: {};
24
+ readonly params: {
25
+ readonly operation_id?: string;
26
+ };
20
27
  readonly result: {
21
28
  readonly features: readonly {
22
29
  readonly allowed: boolean;
@@ -25,7 +32,9 @@ export interface HouseMethods {
25
32
  };
26
33
  };
27
34
  readonly "apps/holders/list": {
28
- readonly params: {};
35
+ readonly params: {
36
+ readonly operation_id?: string;
37
+ };
29
38
  readonly result: {
30
39
  readonly holders: readonly {
31
40
  readonly name: string;
@@ -36,6 +45,7 @@ export interface HouseMethods {
36
45
  readonly "apps/messages/send": {
37
46
  readonly params: {
38
47
  readonly body: unknown;
48
+ readonly operation_id?: string;
39
49
  readonly to: string;
40
50
  };
41
51
  readonly result: {
@@ -44,7 +54,7 @@ export interface HouseMethods {
44
54
  };
45
55
  readonly "apps/relay/read": {
46
56
  readonly params: {
47
- readonly [key: string]: never;
57
+ readonly operation_id?: string;
48
58
  };
49
59
  readonly result: {
50
60
  readonly expires_at: string;
@@ -57,6 +67,7 @@ export interface HouseMethods {
57
67
  };
58
68
  readonly "apps/ring": {
59
69
  readonly params: {
70
+ readonly operation_id?: string;
60
71
  readonly to: string;
61
72
  };
62
73
  readonly result: {
@@ -72,7 +83,7 @@ export interface HouseMethods {
72
83
  } | {
73
84
  readonly user: string;
74
85
  };
75
- readonly operation_id: string;
86
+ readonly operation_id?: string;
76
87
  readonly path: string;
77
88
  readonly room_ref: string;
78
89
  };
@@ -98,7 +109,7 @@ export interface HouseMethods {
98
109
  };
99
110
  readonly "chats/reply": {
100
111
  readonly params: {
101
- readonly operation_id: string;
112
+ readonly operation_id?: string;
102
113
  readonly path: string;
103
114
  readonly room_ref: string;
104
115
  readonly template?: {
@@ -121,6 +132,7 @@ export interface HouseMethods {
121
132
  };
122
133
  readonly "chats/return": {
123
134
  readonly params: {
135
+ readonly operation_id?: string;
124
136
  readonly path: string;
125
137
  readonly room_ref: string;
126
138
  };
@@ -146,7 +158,7 @@ export interface HouseMethods {
146
158
  };
147
159
  readonly "chats/take-control": {
148
160
  readonly params: {
149
- readonly operation_id: string;
161
+ readonly operation_id?: string;
150
162
  readonly path: string;
151
163
  readonly room_ref: string;
152
164
  };
@@ -171,437 +183,52 @@ export interface HouseMethods {
171
183
  };
172
184
  };
173
185
  readonly "conversations/create": {
174
- readonly params: {
175
- readonly agent_id: string;
176
- readonly operation_id: string;
177
- };
178
- readonly result: {
179
- readonly agent_id: string;
180
- readonly authority: string;
181
- readonly conversation_id: string;
182
- readonly log_epoch: string;
183
- readonly position: string;
184
- readonly url: string;
185
- };
186
+ readonly params: never;
187
+ readonly result: never;
186
188
  };
187
189
  readonly "conversations/delete": {
188
- readonly params: {
189
- readonly conversation_id: string;
190
- readonly operation_id: string;
191
- };
192
- readonly result: {
193
- readonly authority: string;
194
- readonly conversation_id: string;
195
- readonly log_epoch: string;
196
- readonly outcome: "deleted";
197
- readonly position: string;
198
- };
199
- };
200
- readonly "conversations/end": {
201
- readonly params: {
202
- readonly conversation_id: string;
203
- readonly operation_id: string;
204
- };
205
- readonly result: {
206
- readonly agent_id: string;
207
- readonly authority: string;
208
- readonly conversation_id: string;
209
- readonly jobs: readonly {
210
- readonly name: string;
211
- }[];
212
- readonly log_epoch: string;
213
- readonly position: string;
214
- readonly url: string;
215
- };
190
+ readonly params: never;
191
+ readonly result: never;
216
192
  };
217
193
  readonly "conversations/history/list": {
218
- readonly params: {
219
- readonly conversations: readonly {
220
- readonly after?: {
221
- readonly accepted_at: string;
222
- readonly message_id: string;
223
- };
224
- readonly conversation_id: string;
225
- }[];
226
- readonly limit?: number;
227
- };
228
- readonly result: {
229
- readonly histories: readonly {
230
- readonly agent_id: string;
231
- readonly conversation_id: string;
232
- readonly messages: readonly {
233
- readonly accepted_at: string;
234
- readonly content: null | {
235
- readonly parts: readonly ({
236
- readonly calls: null | number;
237
- readonly duration: null | number;
238
- readonly kind: "agent" | "fork" | "workflow";
239
- readonly name: null | string;
240
- readonly parent: null | number;
241
- readonly report: null | string;
242
- readonly status: "done" | "failed" | "running" | "stopped";
243
- readonly step: null | string;
244
- readonly task: string;
245
- readonly tokens: null | number;
246
- readonly type: "subagent";
247
- } | {
248
- readonly command: string;
249
- readonly parent: null | number;
250
- readonly target: null | string;
251
- readonly type: "message";
252
- } | {
253
- readonly duration: null | number;
254
- readonly exit: null | number;
255
- readonly kind: "command";
256
- readonly line: string;
257
- readonly output: string;
258
- readonly parent: null | number;
259
- readonly status: "done" | "failed" | "running" | "stopped";
260
- readonly type: "call";
261
- } | {
262
- readonly duration: null | number;
263
- readonly files: readonly {
264
- readonly added: number;
265
- readonly diff: null | string;
266
- readonly path: string;
267
- readonly removed: number;
268
- }[];
269
- readonly kind: "edit";
270
- readonly line: string;
271
- readonly parent: null | number;
272
- readonly status: "done" | "failed" | "running" | "stopped";
273
- readonly type: "call";
274
- } | {
275
- readonly duration: null | number;
276
- readonly kind: "fetch" | "other" | "tool";
277
- readonly line: string;
278
- readonly output: string;
279
- readonly parent: null | number;
280
- readonly status: "done" | "failed" | "running" | "stopped";
281
- readonly type: "call";
282
- } | {
283
- readonly duration: null | number;
284
- readonly kind: "read" | "search";
285
- readonly line: string;
286
- readonly parent: null | number;
287
- readonly returned: null | number;
288
- readonly status: "done" | "failed" | "running" | "stopped";
289
- readonly type: "call";
290
- } | {
291
- readonly entries: readonly {
292
- readonly content: string;
293
- readonly status: "done" | "pending" | "running";
294
- }[];
295
- readonly parent: null | number;
296
- readonly type: "plan";
297
- } | {
298
- readonly file: string;
299
- readonly media_type: string;
300
- readonly name: string;
301
- readonly parent: null | number;
302
- readonly type: "image";
303
- } | {
304
- readonly kind: "compaction" | "error" | "info" | "mode" | "model" | "retry" | "warning";
305
- readonly parent: null | number;
306
- readonly text: string;
307
- readonly type: "notice";
308
- } | {
309
- readonly kind: "monitor" | "schedule" | "shell" | "task";
310
- readonly label: string;
311
- readonly parent: null | number;
312
- readonly status: "done" | "failed" | "running" | "stopped";
313
- readonly type: "background";
314
- } | {
315
- readonly parent: null | number;
316
- readonly text: string;
317
- readonly type: "reasoning" | "text";
318
- })[];
319
- readonly state: {
320
- readonly branch: null | string;
321
- readonly context: null | {
322
- readonly breakdown: readonly {
323
- readonly name: string;
324
- readonly tokens: number;
325
- }[];
326
- readonly used: number;
327
- readonly window: number;
328
- };
329
- readonly cost: null | {
330
- readonly amount: number;
331
- readonly currency: string;
332
- };
333
- readonly duration: null | number;
334
- readonly effort: null | string;
335
- readonly files: readonly {
336
- readonly added: number;
337
- readonly path: string;
338
- readonly removed: number;
339
- }[];
340
- readonly limits: readonly {
341
- readonly minutes: number;
342
- readonly name: null | string;
343
- readonly percent: number;
344
- readonly resets: null | string;
345
- }[];
346
- readonly mode: null | string;
347
- readonly model: null | string;
348
- readonly pull: null | {
349
- readonly number: number;
350
- readonly url: string;
351
- };
352
- readonly running: readonly {
353
- readonly kind: "monitor" | "schedule" | "shell" | "subagent" | "task";
354
- readonly label: string;
355
- readonly next: null | string;
356
- readonly progress: null | string;
357
- }[];
358
- readonly suggestion: null | string;
359
- readonly title: null | string;
360
- readonly tokens: null | {
361
- readonly cache_read: number;
362
- readonly cache_write: number;
363
- readonly input: number;
364
- readonly output: number;
365
- };
366
- readonly worktree: null | string;
367
- };
368
- readonly tokens: null | {
369
- readonly cache_read: number;
370
- readonly cache_write: number;
371
- readonly input: number;
372
- readonly output: number;
373
- };
374
- };
375
- readonly conversation_id: string;
376
- readonly failure: null | string;
377
- readonly message_id: string;
378
- readonly role: "assistant" | "house" | "user";
379
- readonly sender?: "conversation" | "customer" | "owner" | "replier" | "report" | "requester" | "trigger";
380
- readonly source?: {
381
- readonly agent: {
382
- readonly id: string;
383
- readonly name: string;
384
- readonly url: string;
385
- };
386
- readonly approved_at?: string;
387
- readonly declined_at?: string;
388
- readonly kind: "mail";
389
- readonly owner: {
390
- readonly name: string;
391
- readonly user: string;
392
- };
393
- readonly request: string;
394
- readonly room: string;
395
- } | {
396
- readonly agent: {
397
- readonly id: string;
398
- readonly name: string;
399
- readonly url: string;
400
- };
401
- readonly conversation: {
402
- readonly id: string;
403
- readonly name: string;
404
- readonly url: string;
405
- };
406
- readonly kind: "conversation";
407
- } | {
408
- readonly agent: {
409
- readonly id: string;
410
- readonly name: string;
411
- readonly url: string;
412
- };
413
- readonly kind: "declined";
414
- readonly owner: {
415
- readonly name: string;
416
- readonly user: string;
417
- };
418
- readonly request: string;
419
- } | {
420
- readonly agent_function: null | {
421
- readonly id: string;
422
- readonly name: string;
423
- readonly version: number;
424
- };
425
- readonly approved_at: null | string;
426
- readonly kind: "request";
427
- readonly request: string;
428
- readonly requester: {
429
- readonly name: string;
430
- readonly room: string;
431
- readonly url: string;
432
- } | {
433
- readonly name: string;
434
- readonly user: string;
435
- };
436
- readonly room: {
437
- readonly handle: string;
438
- readonly name: string;
439
- readonly ref: string;
440
- readonly url: string;
441
- };
442
- } | {
443
- readonly kind: "reply";
444
- readonly name: string;
445
- } | {
446
- readonly kind: "trigger";
447
- readonly path: null | string;
448
- readonly room: {
449
- readonly handle: string;
450
- readonly name: string;
451
- readonly ref: string;
452
- readonly url: string;
453
- };
454
- readonly trigger: {
455
- readonly description: string;
456
- readonly id: string;
457
- };
458
- };
459
- readonly telegram_undelivered?: true;
460
- readonly text: string;
461
- readonly transcripts?: readonly {
462
- readonly path: string;
463
- readonly text: string;
464
- }[];
465
- readonly turn_id: null | string;
466
- readonly url?: string;
467
- readonly waiting?: true;
468
- }[];
469
- readonly next: null | {
470
- readonly accepted_at: string;
471
- readonly message_id: string;
472
- };
473
- readonly url: string;
474
- }[];
475
- };
194
+ readonly params: never;
195
+ readonly result: never;
476
196
  };
477
197
  readonly "conversations/interaction/answer": {
478
- readonly params: {
479
- readonly conversation_id: string;
480
- readonly interaction_id: string;
481
- readonly operation_id: string;
482
- readonly response: readonly unknown[] | boolean | null | number | {
483
- readonly [key: string]: unknown;
484
- } | string;
485
- };
486
- readonly result: {
487
- readonly agent_id: string;
488
- readonly authority: string;
489
- readonly conversation_id: string;
490
- readonly interaction_id: string;
491
- readonly log_epoch: string;
492
- readonly position: string;
493
- readonly url: string;
494
- };
198
+ readonly params: never;
199
+ readonly result: never;
495
200
  };
496
201
  readonly "conversations/interrupt": {
497
- readonly params: {
498
- readonly conversation_id: string;
499
- readonly operation_id: string;
500
- };
501
- readonly result: {
502
- readonly agent_id: string;
503
- readonly authority: string;
504
- readonly conversation_id: string;
505
- readonly log_epoch: string;
506
- readonly position: string;
507
- readonly url: string;
508
- };
202
+ readonly params: never;
203
+ readonly result: never;
509
204
  };
510
205
  readonly "conversations/kill": {
511
- readonly params: {
512
- readonly conversation_id: string;
513
- readonly operation_id: string;
514
- };
515
- readonly result: {
516
- readonly agent_id: string;
517
- readonly authority: string;
518
- readonly conversation_id: string;
519
- readonly log_epoch: string;
520
- readonly position: string;
521
- readonly url: string;
522
- };
206
+ readonly params: never;
207
+ readonly result: never;
523
208
  };
524
209
  readonly "conversations/option/set": {
525
- readonly params: {
526
- readonly conversation_id: string;
527
- readonly operation_id: string;
528
- readonly option: string;
529
- readonly value: boolean | string;
530
- };
531
- readonly result: {
532
- readonly agent_id: string;
533
- readonly authority: string;
534
- readonly conversation_id: string;
535
- readonly log_epoch: string;
536
- readonly position: string;
537
- readonly url: string;
538
- };
210
+ readonly params: never;
211
+ readonly result: never;
539
212
  };
540
213
  readonly "conversations/rename": {
541
- readonly params: {
542
- readonly conversation_id: string;
543
- readonly name: string;
544
- readonly operation_id: string;
545
- };
546
- readonly result: {
547
- readonly agent_id: string;
548
- readonly authority: string;
549
- readonly conversation_id: string;
550
- readonly log_epoch: string;
551
- readonly name: string;
552
- readonly position: string;
553
- readonly url: string;
554
- };
214
+ readonly params: never;
215
+ readonly result: never;
555
216
  };
556
217
  readonly "conversations/retry": {
557
- readonly params: {
558
- readonly conversation_id: string;
559
- readonly message_id: string;
560
- readonly operation_id: string;
561
- };
562
- readonly result: {
563
- readonly agent_id: string;
564
- readonly authority: string;
565
- readonly conversation_id: string;
566
- readonly log_epoch: string;
567
- readonly message_id: string;
568
- readonly position: string;
569
- readonly url: string;
570
- };
218
+ readonly params: never;
219
+ readonly result: never;
571
220
  };
572
221
  readonly "conversations/send": {
573
- readonly params: {
574
- readonly conversation_id: string;
575
- readonly operation_id: string;
576
- readonly text: string;
577
- };
578
- readonly result: {
579
- readonly agent_id: string;
580
- readonly authority: string;
581
- readonly conversation_id: string;
582
- readonly log_epoch: string;
583
- readonly message_id: string;
584
- readonly position: string;
585
- readonly url: string;
586
- };
222
+ readonly params: never;
223
+ readonly result: never;
587
224
  };
588
- readonly "records/list": {
589
- readonly params: {
590
- readonly order?: "asc" | "desc";
591
- readonly room_ref: string;
592
- };
593
- readonly result: {
594
- readonly records: readonly {
595
- readonly body: null | string;
596
- readonly claimed: unknown;
597
- readonly created_at: string;
598
- readonly record: string;
599
- readonly ref: string;
600
- }[];
601
- };
225
+ readonly "conversations/take-out": {
226
+ readonly params: never;
227
+ readonly result: never;
602
228
  };
603
229
  readonly "rooms/access/list": {
604
230
  readonly params: {
231
+ readonly operation_id?: string;
605
232
  readonly room_ref: string;
606
233
  };
607
234
  readonly result: {
@@ -640,6 +267,7 @@ export interface HouseMethods {
640
267
  readonly "rooms/members/list": {
641
268
  readonly params: {
642
269
  readonly history?: boolean;
270
+ readonly operation_id?: string;
643
271
  readonly room_ref: string;
644
272
  };
645
273
  readonly result: {
@@ -664,6 +292,7 @@ export interface HouseMethods {
664
292
  };
665
293
  readonly "rooms/settings/processing/read": {
666
294
  readonly params: {
295
+ readonly operation_id?: string;
667
296
  readonly path: string;
668
297
  readonly room_ref: string;
669
298
  };
@@ -705,6 +334,7 @@ export interface HouseMethods {
705
334
  };
706
335
  readonly "storage/inventory/read": {
707
336
  readonly params: {
337
+ readonly operation_id?: string;
708
338
  readonly room_ref?: string;
709
339
  readonly rooms?: "owned";
710
340
  };
@@ -717,19 +347,9 @@ export interface HouseMethods {
717
347
  readonly state: "settled";
718
348
  };
719
349
  readonly indexed_text: {
720
- readonly approximate_pages: null | string;
721
350
  readonly bytes: string;
722
351
  readonly gigabytes: string;
723
352
  };
724
- readonly measurement: {
725
- readonly page_reference: null | {
726
- readonly bytes_per_page: string;
727
- readonly encoding: string;
728
- readonly font: string;
729
- readonly font_size_pt: string;
730
- readonly layout: string;
731
- };
732
- };
733
353
  readonly room_ref: string;
734
354
  readonly total: {
735
355
  readonly bytes: string;
@@ -745,19 +365,9 @@ export interface HouseMethods {
745
365
  readonly state: "settled";
746
366
  };
747
367
  readonly indexed_text: {
748
- readonly approximate_pages: null | string;
749
368
  readonly bytes: string;
750
369
  readonly gigabytes: string;
751
370
  };
752
- readonly measurement: {
753
- readonly page_reference: null | {
754
- readonly bytes_per_page: string;
755
- readonly encoding: string;
756
- readonly font: string;
757
- readonly font_size_pt: string;
758
- readonly layout: string;
759
- };
760
- };
761
371
  readonly rooms?: readonly {
762
372
  readonly blob: {
763
373
  readonly bytes: string;
@@ -767,19 +377,9 @@ export interface HouseMethods {
767
377
  readonly state: "settled";
768
378
  };
769
379
  readonly indexed_text: {
770
- readonly approximate_pages: null | string;
771
380
  readonly bytes: string;
772
381
  readonly gigabytes: string;
773
382
  };
774
- readonly measurement: {
775
- readonly page_reference: null | {
776
- readonly bytes_per_page: string;
777
- readonly encoding: string;
778
- readonly font: string;
779
- readonly font_size_pt: string;
780
- readonly layout: string;
781
- };
782
- };
783
383
  readonly room_ref: string;
784
384
  readonly total: {
785
385
  readonly bytes: string;
@@ -796,65 +396,11 @@ export interface HouseMethods {
796
396
  readonly bytes: string;
797
397
  readonly gigabytes: string;
798
398
  };
799
- } | {
800
- readonly blob: {
801
- readonly bytes: string;
802
- readonly gigabytes: string;
803
- };
804
- readonly freshness: {
805
- readonly state: "settled";
806
- };
807
- readonly indexed_text: {
808
- readonly approximate_pages: null | string;
809
- readonly bytes: string;
810
- readonly gigabytes: string;
811
- };
812
- readonly measurement: {
813
- readonly page_reference: null | {
814
- readonly bytes_per_page: string;
815
- readonly encoding: string;
816
- readonly font: string;
817
- readonly font_size_pt: string;
818
- readonly layout: string;
819
- };
820
- };
821
- readonly rooms?: readonly {
822
- readonly blob: {
823
- readonly bytes: string;
824
- readonly gigabytes: string;
825
- };
826
- readonly freshness: {
827
- readonly state: "settled";
828
- };
829
- readonly indexed_text: {
830
- readonly approximate_pages: null | string;
831
- readonly bytes: string;
832
- readonly gigabytes: string;
833
- };
834
- readonly measurement: {
835
- readonly page_reference: null | {
836
- readonly bytes_per_page: string;
837
- readonly encoding: string;
838
- readonly font: string;
839
- readonly font_size_pt: string;
840
- readonly layout: string;
841
- };
842
- };
843
- readonly room_ref: string;
844
- readonly total: {
845
- readonly bytes: string;
846
- readonly gigabytes: string;
847
- };
848
- readonly url: string;
849
- }[];
850
- readonly total: {
851
- readonly bytes: string;
852
- readonly gigabytes: string;
853
- };
854
399
  };
855
400
  };
856
401
  readonly "triggers/fired/list": {
857
402
  readonly params: {
403
+ readonly operation_id?: string;
858
404
  readonly room_ref?: string;
859
405
  };
860
406
  readonly result: {
@@ -1016,7 +562,7 @@ export interface HouseCredentialState {
1016
562
  readonly state: Open<'none' | 'held' | 'rejected'>;
1017
563
  readonly expiresAt: number | null;
1018
564
  }
1019
- export type HouseDatabaseFailure = 'unsupported' | 'damaged';
565
+ export type HouseDatabaseFailure = 'damaged';
1020
566
  export type HouseAnalyticsChoice = 'accept' | 'decline';
1021
567
  export interface HouseAnalytics {
1022
568
  readonly measures: boolean;
@@ -1120,7 +666,6 @@ export interface HouseBrowserRefused extends Error {
1120
666
  export interface HouseCooperation {
1121
667
  placed(): Promise<void> | void;
1122
668
  }
1123
- export type HouseChatWidth = 'full' | '3/4' | '1/2' | '1/3';
1124
669
  export interface HouseChatOpened {
1125
670
  readonly conversation: string | null;
1126
671
  readonly agent: string | null;
@@ -1128,8 +673,6 @@ export interface HouseChatOpened {
1128
673
  export interface HouseChatOptions {
1129
674
  readonly conversation?: string | null;
1130
675
  readonly agent?: string | null;
1131
- readonly showChats?: boolean;
1132
- readonly width?: HouseChatWidth;
1133
676
  readonly onOpen?: (opened: HouseChatOpened) => void;
1134
677
  readonly onLink?: (href: string) => void;
1135
678
  }