@agentshouse/app-bridge 0.1.0-c346d10d5d020 → 0.1.0-c38399ec02f49

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 (45) hide show
  1. package/dist/calls.d.ts +398 -368
  2. package/dist/index.d.ts +2 -0
  3. package/dist/mdmodel/condition.d.ts +20 -8
  4. package/dist/mdmodel/definition.d.ts +3 -1
  5. package/dist/mdmodel/document.d.ts +4 -4
  6. package/dist/mdmodel/index.d.ts +9 -7
  7. package/dist/mdmodel/links.d.ts +28 -0
  8. package/dist/mdmodel/paths.d.ts +9 -1
  9. package/dist/mdmodel/types.d.ts +26 -4
  10. package/dist/mdmodel/validate.d.ts +27 -4
  11. package/dist/mdruntime/adapter.d.ts +41 -32
  12. package/dist/mdruntime/binary.d.ts +0 -5
  13. package/dist/mdruntime/chain.d.ts +10 -0
  14. package/dist/mdruntime/change-set.d.ts +6 -16
  15. package/dist/mdruntime/change.d.ts +31 -1
  16. package/dist/mdruntime/client.d.ts +6 -3
  17. package/dist/mdruntime/collection.d.ts +6 -20
  18. package/dist/mdruntime/compile.d.ts +15 -0
  19. package/dist/mdruntime/connection.d.ts +13 -8
  20. package/dist/mdruntime/conversation.d.ts +6 -3
  21. package/dist/mdruntime/durability.d.ts +3 -5
  22. package/dist/mdruntime/file.d.ts +2 -10
  23. package/dist/mdruntime/fulltext.d.ts +26 -0
  24. package/dist/mdruntime/messages.d.ts +27 -0
  25. package/dist/mdruntime/observation.d.ts +12 -0
  26. package/dist/mdruntime/opened.d.ts +21 -0
  27. package/dist/mdruntime/outcome.d.ts +28 -4
  28. package/dist/mdruntime/overlay.d.ts +1 -4
  29. package/dist/mdruntime/query.d.ts +5 -1
  30. package/dist/mdruntime/reach.d.ts +5 -3
  31. package/dist/mdruntime/readiness.d.ts +19 -9
  32. package/dist/mdruntime/recovery.d.ts +2 -2
  33. package/dist/mdruntime/replica.d.ts +57 -39
  34. package/dist/mdruntime/room-draft.d.ts +3 -1
  35. package/dist/mdruntime/save.d.ts +49 -14
  36. package/dist/mdruntime/search.d.ts +11 -43
  37. package/dist/mdruntime/shared.d.ts +4 -3
  38. package/dist/mdruntime/store.d.ts +87 -94
  39. package/dist/mdruntime/stored.d.ts +144 -0
  40. package/dist/mdruntime/tables.d.ts +343 -0
  41. package/dist/mdruntime/wire.d.ts +13 -1
  42. package/docs/families.md +3 -3
  43. package/package.json +1 -1
  44. package/dist/mdruntime/rows.d.ts +0 -38
  45. package/dist/mdruntime/turn.d.ts +0 -8
package/dist/calls.d.ts CHANGED
@@ -16,16 +16,19 @@ export interface HouseMethods {
16
16
  readonly user_name: string;
17
17
  readonly entries: readonly {
18
18
  readonly namespace: string;
19
- readonly operations: readonly ('read' | 'write' | 'delete' | 'sync' | 'export' | 'manageAccess')[];
19
+ readonly read: 'mcp' | 'online' | 'local' | null;
20
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
20
21
  readonly sources: readonly {
21
22
  readonly kind: 'direct' | 'inherited';
22
23
  readonly namespace: string;
23
- readonly operations: readonly ('read' | 'write' | 'delete' | 'sync' | 'export' | 'manageAccess')[];
24
+ readonly read: 'mcp' | 'online' | 'local' | null;
25
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
24
26
  }[];
25
27
  }[];
26
28
  readonly direct: readonly {
27
29
  readonly namespace: string;
28
- readonly operations: readonly ('read' | 'write' | 'delete' | 'sync' | 'export' | 'manageAccess')[];
30
+ readonly read: 'mcp' | 'online' | 'local' | null;
31
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
29
32
  }[];
30
33
  readonly admitted_at: string | null;
31
34
  readonly schema_roles: readonly string[];
@@ -61,10 +64,24 @@ export interface HouseMethods {
61
64
  readonly url: string;
62
65
  };
63
66
  };
67
+ readonly 'conversation.attach': {
68
+ readonly params: {
69
+ readonly blob: Blob;
70
+ readonly byteLength: number;
71
+ readonly contentHash: string;
72
+ readonly mediaType: string;
73
+ readonly name: string;
74
+ readonly room: string;
75
+ };
76
+ readonly result: {
77
+ readonly path: string;
78
+ };
79
+ };
64
80
  readonly 'conversation.create': {
65
81
  readonly params: {
66
82
  readonly agent_id: string;
67
83
  readonly operation_id?: string;
84
+ readonly replaces?: string;
68
85
  };
69
86
  readonly result: {
70
87
  readonly agent_id: string;
@@ -189,40 +206,13 @@ export interface HouseMethods {
189
206
  readonly 'conversation.send': {
190
207
  readonly params: {
191
208
  readonly conversation: string;
192
- readonly files?: readonly {
193
- readonly blob: Blob;
194
- readonly byteLength: number;
195
- readonly contentHash: string;
196
- readonly height?: number;
197
- readonly mediaType: string;
198
- readonly name: string;
199
- readonly width?: number;
200
- }[];
201
209
  readonly operation_id: string;
202
- readonly text?: string;
210
+ readonly text: string;
203
211
  };
204
212
  readonly result: {
205
213
  readonly agent_id: string;
206
214
  readonly authority: string;
207
215
  readonly conversation_id: string;
208
- readonly files: readonly {
209
- readonly name: string;
210
- readonly media_type: string | null;
211
- readonly dimensions: {
212
- readonly width: number;
213
- readonly height: number;
214
- } | null;
215
- readonly bytes: number;
216
- readonly sha256: string;
217
- readonly file: string | null;
218
- readonly page: string;
219
- readonly upload?: {
220
- readonly method: 'POST';
221
- readonly operation: string;
222
- readonly url: string;
223
- readonly expires_at: string;
224
- };
225
- }[];
226
216
  readonly log_epoch: string;
227
217
  readonly message_id: string;
228
218
  readonly position: string;
@@ -275,6 +265,86 @@ export interface HouseMethods {
275
265
  readonly log_epoch: string;
276
266
  };
277
267
  };
268
+ readonly 'inboxChat.assign': {
269
+ readonly params: {
270
+ readonly room_ref: string;
271
+ readonly path: string;
272
+ readonly assignee: {
273
+ readonly user: string;
274
+ } | {
275
+ readonly agent: string;
276
+ } | null;
277
+ };
278
+ readonly result: {
279
+ readonly room_ref: string;
280
+ readonly path: string;
281
+ readonly assignee: {
282
+ readonly user: string;
283
+ readonly name: string;
284
+ } | {
285
+ readonly agent: string;
286
+ readonly name: string;
287
+ } | null;
288
+ readonly return_to: {
289
+ readonly agent: string;
290
+ readonly name: string;
291
+ } | null;
292
+ readonly authority: string;
293
+ readonly position: string;
294
+ readonly log_epoch: string;
295
+ readonly url: string;
296
+ };
297
+ };
298
+ readonly 'inboxChat.return': {
299
+ readonly params: {
300
+ readonly room_ref: string;
301
+ readonly path: string;
302
+ };
303
+ readonly result: {
304
+ readonly room_ref: string;
305
+ readonly path: string;
306
+ readonly assignee: {
307
+ readonly user: string;
308
+ readonly name: string;
309
+ } | {
310
+ readonly agent: string;
311
+ readonly name: string;
312
+ } | null;
313
+ readonly return_to: {
314
+ readonly agent: string;
315
+ readonly name: string;
316
+ } | null;
317
+ readonly authority: string;
318
+ readonly position: string;
319
+ readonly log_epoch: string;
320
+ readonly url: string;
321
+ };
322
+ };
323
+ readonly 'inboxChat.takeControl': {
324
+ readonly params: {
325
+ readonly room_ref: string;
326
+ readonly path: string;
327
+ };
328
+ readonly result: {
329
+ readonly room_ref: string;
330
+ readonly path: string;
331
+ readonly assignee: {
332
+ readonly user: string;
333
+ readonly name: string;
334
+ } | {
335
+ readonly agent: string;
336
+ readonly name: string;
337
+ } | null;
338
+ readonly return_to: {
339
+ readonly agent: string;
340
+ readonly name: string;
341
+ } | null;
342
+ readonly authority: string;
343
+ readonly position: string;
344
+ readonly log_epoch: string;
345
+ readonly url: string;
346
+ };
347
+ };
278
348
  readonly 'member.list': {
279
349
  readonly params: {
280
350
  readonly room_ref: string;
@@ -350,42 +420,20 @@ export interface HouseMethods {
350
420
  readonly order?: 'asc' | 'desc';
351
421
  };
352
422
  readonly result: {
353
- readonly attachments: readonly {
354
- readonly bytes: number;
355
- readonly file: string;
356
- readonly media_type: string | null;
357
- readonly name: string | null;
358
- readonly referrer: {
359
- readonly record: string;
360
- readonly room_ref: string;
361
- };
362
- readonly sha256: string;
363
- }[];
364
- readonly body: string | null;
365
- readonly claimed: unknown;
366
- readonly created_at: string;
367
423
  readonly record: string;
368
424
  readonly ref: string;
425
+ readonly created_at: string;
426
+ readonly body: string | null;
427
+ readonly claimed: unknown;
369
428
  } | {
370
- readonly next_cursor?: string;
371
429
  readonly records: readonly {
372
- readonly attachments: readonly {
373
- readonly bytes: number;
374
- readonly file: string;
375
- readonly media_type: string | null;
376
- readonly name: string | null;
377
- readonly referrer: {
378
- readonly record: string;
379
- readonly room_ref: string;
380
- };
381
- readonly sha256: string;
382
- }[];
383
- readonly body: string | null;
384
- readonly claimed: unknown;
385
- readonly created_at: string;
386
430
  readonly record: string;
387
431
  readonly ref: string;
432
+ readonly created_at: string;
433
+ readonly body: string | null;
434
+ readonly claimed: unknown;
388
435
  }[];
436
+ readonly next_cursor?: string;
389
437
  };
390
438
  };
391
439
  readonly 'relay.read': {
@@ -448,6 +496,13 @@ export interface HouseMethods {
448
496
  readonly url: string;
449
497
  })[];
450
498
  };
499
+ readonly follow_up_mail: {
500
+ readonly scope: 'none' | 'all_admitted' | 'selected_users';
501
+ readonly users: readonly {
502
+ readonly user: string;
503
+ readonly display_name: string | null;
504
+ }[];
505
+ };
451
506
  readonly granted_at: string;
452
507
  readonly revoked_at: string | null;
453
508
  readonly rooms?: {
@@ -478,11 +533,11 @@ export interface HouseMethods {
478
533
  readonly name: string;
479
534
  readonly email: string;
480
535
  readonly used: number;
481
- readonly quota: number | null;
536
+ readonly allowance: number | null;
482
537
  } | {
483
538
  readonly room: string;
484
539
  readonly used: number;
485
- readonly quota: number | null;
540
+ readonly allowance: number | null;
486
541
  readonly url: string;
487
542
  })[];
488
543
  };
@@ -577,320 +632,288 @@ export interface HouseMethods {
577
632
  };
578
633
  readonly 'trigger.list': {
579
634
  readonly params: {
580
- readonly room_ref: string;
635
+ readonly room_refs: readonly string[];
581
636
  };
582
637
  readonly result: {
583
- readonly triggers: readonly {
584
- readonly trigger: string;
585
- readonly owner: string;
586
- readonly description: string;
587
- readonly condition: {
588
- readonly on: 'documents';
589
- readonly scope: {
590
- readonly type: string;
591
- } | {
592
- readonly folder: string;
593
- } | {
594
- readonly document: string;
638
+ readonly rooms: readonly {
639
+ readonly room_ref: string;
640
+ readonly triggers: readonly {
641
+ readonly trigger: string;
642
+ readonly creator: {
643
+ readonly user: string;
644
+ readonly name: string;
595
645
  };
596
- readonly mode: 'starts_matching';
597
- readonly new_documents: boolean;
598
- readonly match: {
599
- readonly all: readonly unknown[];
600
- } | {
601
- readonly any: readonly unknown[];
602
- } | {
603
- readonly not: unknown;
604
- } | {
605
- readonly path: string;
606
- readonly eq: string | number | boolean | {
607
- readonly owner: true;
646
+ readonly description: string;
647
+ readonly condition: {
648
+ readonly on: 'documents';
649
+ readonly scope: {
650
+ readonly type: string;
651
+ } | {
652
+ readonly folder: string;
653
+ } | {
654
+ readonly document: string;
608
655
  };
609
- } | {
610
- readonly path: string;
611
- readonly in: readonly (string | number | boolean | {
612
- readonly owner: true;
613
- })[];
614
- } | {
615
- readonly path: string;
616
- readonly exists: boolean;
617
- } | {
618
- readonly path: string;
619
- readonly contains: string | number | boolean | {
620
- readonly owner: true;
656
+ readonly mode: 'starts_matching';
657
+ readonly new_documents: boolean;
658
+ readonly match: {
659
+ readonly all: readonly unknown[];
660
+ } | {
661
+ readonly any: readonly unknown[];
662
+ } | {
663
+ readonly not: unknown;
664
+ } | {
665
+ readonly path: string;
666
+ readonly eq: string | number | boolean;
667
+ } | {
668
+ readonly path: string;
669
+ readonly in: readonly (string | number | boolean)[];
670
+ } | {
671
+ readonly path: string;
672
+ readonly exists: boolean;
673
+ } | {
674
+ readonly path: string;
675
+ readonly contains: string | number | boolean;
676
+ } | {
677
+ readonly path: string;
678
+ readonly gt: number | string;
679
+ } | {
680
+ readonly path: string;
681
+ readonly gte: number | string;
682
+ } | {
683
+ readonly path: string;
684
+ readonly lt: number | string;
685
+ } | {
686
+ readonly path: string;
687
+ readonly lte: number | string;
688
+ } | {
689
+ readonly path: string;
690
+ readonly prefix: string;
621
691
  };
622
- } | {
623
- readonly path: string;
624
- readonly gt: number | string;
625
- } | {
626
- readonly path: string;
627
- readonly gte: number | string;
628
- } | {
629
- readonly path: string;
630
- readonly lt: number | string;
631
- } | {
632
- readonly path: string;
633
- readonly lte: number | string;
634
- } | {
635
- readonly path: string;
636
- readonly prefix: string;
637
- };
638
- readonly by?: {
639
- readonly all: readonly unknown[];
640
- } | {
641
- readonly any: readonly unknown[];
642
- } | {
643
- readonly not: unknown;
644
- } | {
645
- readonly path: string;
646
- readonly eq: string | number | boolean | {
647
- readonly owner: true;
692
+ readonly by?: {
693
+ readonly all: readonly unknown[];
694
+ } | {
695
+ readonly any: readonly unknown[];
696
+ } | {
697
+ readonly not: unknown;
698
+ } | {
699
+ readonly path: string;
700
+ readonly eq: string | number | boolean;
701
+ } | {
702
+ readonly path: string;
703
+ readonly in: readonly (string | number | boolean)[];
704
+ } | {
705
+ readonly path: string;
706
+ readonly exists: boolean;
707
+ } | {
708
+ readonly path: string;
709
+ readonly contains: string | number | boolean;
710
+ } | {
711
+ readonly path: string;
712
+ readonly gt: number | string;
713
+ } | {
714
+ readonly path: string;
715
+ readonly gte: number | string;
716
+ } | {
717
+ readonly path: string;
718
+ readonly lt: number | string;
719
+ } | {
720
+ readonly path: string;
721
+ readonly lte: number | string;
722
+ } | {
723
+ readonly path: string;
724
+ readonly prefix: string;
648
725
  };
649
- } | {
650
- readonly path: string;
651
- readonly in: readonly (string | number | boolean | {
652
- readonly owner: true;
653
- })[];
654
- } | {
655
- readonly path: string;
656
- readonly exists: boolean;
657
- } | {
658
- readonly path: string;
659
- readonly contains: string | number | boolean | {
660
- readonly owner: true;
661
- };
662
- } | {
663
- readonly path: string;
664
- readonly gt: number | string;
665
- } | {
666
- readonly path: string;
667
- readonly gte: number | string;
668
- } | {
669
- readonly path: string;
670
- readonly lt: number | string;
671
- } | {
672
- readonly path: string;
673
- readonly lte: number | string;
674
- } | {
675
- readonly path: string;
676
- readonly prefix: string;
677
- };
678
- } | {
679
- readonly on: 'documents';
680
- readonly scope: {
681
- readonly type: string;
682
- } | {
683
- readonly folder: string;
684
- } | {
685
- readonly document: string;
686
- };
687
- readonly mode: 'field_changes';
688
- readonly field: string;
689
- readonly from?: readonly (string | number | boolean | {
690
- readonly owner: true;
691
- })[] | 'new';
692
- readonly to?: readonly (string | number | boolean | {
693
- readonly owner: true;
694
- })[] | 'deleted';
695
- readonly match?: {
696
- readonly all: readonly unknown[];
697
- } | {
698
- readonly any: readonly unknown[];
699
- } | {
700
- readonly not: unknown;
701
- } | {
702
- readonly path: string;
703
- readonly eq: string | number | boolean | {
704
- readonly owner: true;
726
+ readonly moved_between_rooms?: boolean;
727
+ } | {
728
+ readonly on: 'documents';
729
+ readonly scope: {
730
+ readonly type: string;
731
+ } | {
732
+ readonly folder: string;
733
+ } | {
734
+ readonly document: string;
705
735
  };
706
- } | {
707
- readonly path: string;
708
- readonly in: readonly (string | number | boolean | {
709
- readonly owner: true;
710
- })[];
711
- } | {
712
- readonly path: string;
713
- readonly exists: boolean;
714
- } | {
715
- readonly path: string;
716
- readonly contains: string | number | boolean | {
717
- readonly owner: true;
736
+ readonly mode: 'field_changes';
737
+ readonly field: string;
738
+ readonly from?: readonly (string | number | boolean)[] | 'new';
739
+ readonly to?: readonly (string | number | boolean)[] | 'deleted';
740
+ readonly match?: {
741
+ readonly all: readonly unknown[];
742
+ } | {
743
+ readonly any: readonly unknown[];
744
+ } | {
745
+ readonly not: unknown;
746
+ } | {
747
+ readonly path: string;
748
+ readonly eq: string | number | boolean;
749
+ } | {
750
+ readonly path: string;
751
+ readonly in: readonly (string | number | boolean)[];
752
+ } | {
753
+ readonly path: string;
754
+ readonly exists: boolean;
755
+ } | {
756
+ readonly path: string;
757
+ readonly contains: string | number | boolean;
758
+ } | {
759
+ readonly path: string;
760
+ readonly gt: number | string;
761
+ } | {
762
+ readonly path: string;
763
+ readonly gte: number | string;
764
+ } | {
765
+ readonly path: string;
766
+ readonly lt: number | string;
767
+ } | {
768
+ readonly path: string;
769
+ readonly lte: number | string;
770
+ } | {
771
+ readonly path: string;
772
+ readonly prefix: string;
718
773
  };
719
- } | {
720
- readonly path: string;
721
- readonly gt: number | string;
722
- } | {
723
- readonly path: string;
724
- readonly gte: number | string;
725
- } | {
726
- readonly path: string;
727
- readonly lt: number | string;
728
- } | {
729
- readonly path: string;
730
- readonly lte: number | string;
731
- } | {
732
- readonly path: string;
733
- readonly prefix: string;
734
- };
735
- readonly by?: {
736
- readonly all: readonly unknown[];
737
- } | {
738
- readonly any: readonly unknown[];
739
- } | {
740
- readonly not: unknown;
741
- } | {
742
- readonly path: string;
743
- readonly eq: string | number | boolean | {
744
- readonly owner: true;
774
+ readonly by?: {
775
+ readonly all: readonly unknown[];
776
+ } | {
777
+ readonly any: readonly unknown[];
778
+ } | {
779
+ readonly not: unknown;
780
+ } | {
781
+ readonly path: string;
782
+ readonly eq: string | number | boolean;
783
+ } | {
784
+ readonly path: string;
785
+ readonly in: readonly (string | number | boolean)[];
786
+ } | {
787
+ readonly path: string;
788
+ readonly exists: boolean;
789
+ } | {
790
+ readonly path: string;
791
+ readonly contains: string | number | boolean;
792
+ } | {
793
+ readonly path: string;
794
+ readonly gt: number | string;
795
+ } | {
796
+ readonly path: string;
797
+ readonly gte: number | string;
798
+ } | {
799
+ readonly path: string;
800
+ readonly lt: number | string;
801
+ } | {
802
+ readonly path: string;
803
+ readonly lte: number | string;
804
+ } | {
805
+ readonly path: string;
806
+ readonly prefix: string;
745
807
  };
746
- } | {
747
- readonly path: string;
748
- readonly in: readonly (string | number | boolean | {
749
- readonly owner: true;
750
- })[];
751
- } | {
752
- readonly path: string;
753
- readonly exists: boolean;
754
- } | {
755
- readonly path: string;
756
- readonly contains: string | number | boolean | {
757
- readonly owner: true;
808
+ readonly moved_between_rooms?: boolean;
809
+ } | {
810
+ readonly on: 'items';
811
+ readonly source?: string;
812
+ readonly address?: string;
813
+ readonly match?: {
814
+ readonly all: readonly unknown[];
815
+ } | {
816
+ readonly any: readonly unknown[];
817
+ } | {
818
+ readonly not: unknown;
819
+ } | {
820
+ readonly path: string;
821
+ readonly eq: string | number | boolean;
822
+ } | {
823
+ readonly path: string;
824
+ readonly in: readonly (string | number | boolean)[];
825
+ } | {
826
+ readonly path: string;
827
+ readonly exists: boolean;
828
+ } | {
829
+ readonly path: string;
830
+ readonly contains: string | number | boolean;
831
+ } | {
832
+ readonly path: string;
833
+ readonly gt: number | string;
834
+ } | {
835
+ readonly path: string;
836
+ readonly gte: number | string;
837
+ } | {
838
+ readonly path: string;
839
+ readonly lt: number | string;
840
+ } | {
841
+ readonly path: string;
842
+ readonly lte: number | string;
843
+ } | {
844
+ readonly path: string;
845
+ readonly prefix: string;
758
846
  };
759
847
  } | {
760
- readonly path: string;
761
- readonly gt: number | string;
762
- } | {
763
- readonly path: string;
764
- readonly gte: number | string;
765
- } | {
766
- readonly path: string;
767
- readonly lt: number | string;
768
- } | {
769
- readonly path: string;
770
- readonly lte: number | string;
771
- } | {
772
- readonly path: string;
773
- readonly prefix: string;
774
- };
775
- } | {
776
- readonly on: 'items';
777
- readonly source?: string;
778
- readonly address?: string;
779
- readonly match?: {
780
- readonly all: readonly unknown[];
848
+ readonly on: 'clock';
849
+ readonly cron: string;
850
+ readonly time_zone: string;
781
851
  } | {
782
- readonly any: readonly unknown[];
783
- } | {
784
- readonly not: unknown;
785
- } | {
786
- readonly path: string;
787
- readonly eq: string | number | boolean | {
788
- readonly owner: true;
852
+ readonly on: 'clock';
853
+ readonly scope: {
854
+ readonly type: string;
789
855
  };
790
- } | {
791
- readonly path: string;
792
- readonly in: readonly (string | number | boolean | {
793
- readonly owner: true;
794
- })[];
795
- } | {
796
- readonly path: string;
797
- readonly exists: boolean;
798
- } | {
799
- readonly path: string;
800
- readonly contains: string | number | boolean | {
801
- readonly owner: true;
856
+ readonly date: string;
857
+ readonly days: number;
858
+ readonly at: string;
859
+ readonly time_zone: string;
860
+ readonly match?: {
861
+ readonly all: readonly unknown[];
862
+ } | {
863
+ readonly any: readonly unknown[];
864
+ } | {
865
+ readonly not: unknown;
866
+ } | {
867
+ readonly path: string;
868
+ readonly eq: string | number | boolean;
869
+ } | {
870
+ readonly path: string;
871
+ readonly in: readonly (string | number | boolean)[];
872
+ } | {
873
+ readonly path: string;
874
+ readonly exists: boolean;
875
+ } | {
876
+ readonly path: string;
877
+ readonly contains: string | number | boolean;
878
+ } | {
879
+ readonly path: string;
880
+ readonly gt: number | string;
881
+ } | {
882
+ readonly path: string;
883
+ readonly gte: number | string;
884
+ } | {
885
+ readonly path: string;
886
+ readonly lt: number | string;
887
+ } | {
888
+ readonly path: string;
889
+ readonly lte: number | string;
890
+ } | {
891
+ readonly path: string;
892
+ readonly prefix: string;
802
893
  };
803
- } | {
804
- readonly path: string;
805
- readonly gt: number | string;
806
- } | {
807
- readonly path: string;
808
- readonly gte: number | string;
809
- } | {
810
- readonly path: string;
811
- readonly lt: number | string;
812
- } | {
813
- readonly path: string;
814
- readonly lte: number | string;
815
- } | {
816
- readonly path: string;
817
- readonly prefix: string;
818
- };
819
- } | {
820
- readonly on: 'clock';
821
- readonly cron: string;
822
- readonly time_zone: string;
823
- } | {
824
- readonly on: 'clock';
825
- readonly scope: {
826
- readonly type: string;
827
894
  };
828
- readonly date: string;
829
- readonly days: number;
830
- readonly at: string;
831
- readonly time_zone: string;
832
- readonly match?: {
833
- readonly all: readonly unknown[];
834
- } | {
835
- readonly any: readonly unknown[];
836
- } | {
837
- readonly not: unknown;
838
- } | {
839
- readonly path: string;
840
- readonly eq: string | number | boolean | {
841
- readonly owner: true;
842
- };
843
- } | {
844
- readonly path: string;
845
- readonly in: readonly (string | number | boolean | {
846
- readonly owner: true;
847
- })[];
848
- } | {
849
- readonly path: string;
850
- readonly exists: boolean;
851
- } | {
852
- readonly path: string;
853
- readonly contains: string | number | boolean | {
854
- readonly owner: true;
895
+ readonly enabled: boolean;
896
+ readonly paused_by?: 'types';
897
+ readonly actions: readonly ({
898
+ readonly kind: 'notify';
899
+ readonly enabled: boolean;
900
+ readonly title: string;
901
+ readonly text: string;
902
+ readonly to: {
903
+ readonly users: readonly string[];
904
+ readonly fields: readonly string[];
905
+ readonly roles: readonly string[];
855
906
  };
907
+ readonly holds: boolean;
856
908
  } | {
857
- readonly path: string;
858
- readonly gt: number | string;
859
- } | {
860
- readonly path: string;
861
- readonly gte: number | string;
862
- } | {
863
- readonly path: string;
864
- readonly lt: number | string;
865
- } | {
866
- readonly path: string;
867
- readonly lte: number | string;
868
- } | {
869
- readonly path: string;
870
- readonly prefix: string;
871
- };
872
- };
873
- readonly enabled: boolean;
874
- readonly actions: readonly ({
875
- readonly kind: 'notify';
876
- readonly enabled?: boolean;
877
- readonly title?: string;
878
- readonly text?: string;
879
- } | {
880
- readonly kind: 'routine';
881
- readonly enabled?: boolean;
882
- readonly access?: string;
883
- readonly payload?: string;
884
- readonly references?: readonly {
885
- readonly room_ref: string;
886
- readonly ref: string;
887
- readonly url: string;
888
- }[];
889
- } | {
890
- readonly kind: 'conversation';
891
- readonly enabled?: boolean;
892
- readonly conversation_id?: string;
893
- })[];
909
+ readonly kind: 'routine';
910
+ readonly enabled: boolean;
911
+ readonly access?: string;
912
+ readonly payload: string;
913
+ readonly holds: boolean;
914
+ })[];
915
+ }[];
916
+ readonly url: string;
894
917
  }[];
895
918
  };
896
919
  };
@@ -908,15 +931,18 @@ export interface HouseMethods {
908
931
  readonly actions: readonly ({
909
932
  readonly position: number;
910
933
  readonly outcome: 'notified';
911
- readonly notification: string;
934
+ readonly reached: number;
935
+ } | {
936
+ readonly position: number;
937
+ readonly outcome: 'no_target';
912
938
  } | {
913
939
  readonly position: number;
914
940
  readonly outcome: 'requested';
915
941
  readonly request: string;
916
942
  } | {
917
943
  readonly position: number;
918
- readonly outcome: 'sent';
919
- readonly message: string;
944
+ readonly outcome: 'continued';
945
+ readonly request: string;
920
946
  } | {
921
947
  readonly position: number;
922
948
  readonly outcome: 'refused';
@@ -925,12 +951,12 @@ export interface HouseMethods {
925
951
  readonly position: number;
926
952
  readonly outcome: 'refused';
927
953
  readonly code: 'limit_reached';
928
- readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'address_submissions' | 'house_writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'external_calls' | 'export_starts' | 'routine_requests' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'member_triggers' | 'app_sockets' | 'kit_sockets';
954
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
929
955
  } | {
930
956
  readonly position: number;
931
957
  readonly outcome: 'refused';
932
958
  readonly code: 'limit_reached';
933
- readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'address_submissions' | 'house_writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'external_calls' | 'export_starts' | 'routine_requests' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'member_triggers' | 'app_sockets' | 'kit_sockets';
959
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
934
960
  readonly retry_at: string;
935
961
  } | {
936
962
  readonly position: number;
@@ -951,15 +977,19 @@ export interface HouseMethods {
951
977
  readonly position: number;
952
978
  readonly outcome: 'refused';
953
979
  readonly code: 'limit_reached';
954
- readonly limit: 'house_writes';
980
+ readonly limit: 'writes';
955
981
  readonly period: 'minute' | 'day';
956
982
  readonly retry_at: string;
957
983
  } | {
958
984
  readonly position: number;
959
985
  readonly outcome: 'refused';
960
- readonly code: 'limit_reached';
961
- readonly limit: 'mcp_reads' | 'mcp_downloads';
962
- readonly value: string;
986
+ readonly code: 'cap_reached';
987
+ readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'shared_schemas' | 'export_starts' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_connections' | 'open_uploads' | 'waiting_web_wizards' | 'folder_subscriptions';
988
+ } | {
989
+ readonly position: number;
990
+ readonly outcome: 'refused';
991
+ readonly code: 'cap_reached';
992
+ readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'shared_schemas' | 'export_starts' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_connections' | 'open_uploads' | 'waiting_web_wizards' | 'folder_subscriptions';
963
993
  readonly retry_at: string;
964
994
  } | {
965
995
  readonly position: number;