@agentshouse/app-bridge 0.1.0-c6cf78fcfa1b4 → 0.1.0-c6f0ca4067690

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 (44) hide show
  1. package/dist/calls.d.ts +395 -372
  2. package/dist/index.d.ts +2 -0
  3. package/dist/mdmodel/condition.d.ts +20 -8
  4. package/dist/mdmodel/definition.d.ts +2 -1
  5. package/dist/mdmodel/document.d.ts +4 -4
  6. package/dist/mdmodel/index.d.ts +7 -6
  7. package/dist/mdmodel/links.d.ts +28 -0
  8. package/dist/mdmodel/types.d.ts +8 -4
  9. package/dist/mdmodel/validate.d.ts +25 -4
  10. package/dist/mdruntime/adapter.d.ts +41 -32
  11. package/dist/mdruntime/binary.d.ts +0 -5
  12. package/dist/mdruntime/chain.d.ts +10 -0
  13. package/dist/mdruntime/change-set.d.ts +6 -16
  14. package/dist/mdruntime/change.d.ts +31 -1
  15. package/dist/mdruntime/client.d.ts +6 -3
  16. package/dist/mdruntime/collection.d.ts +6 -20
  17. package/dist/mdruntime/compile.d.ts +15 -0
  18. package/dist/mdruntime/connection.d.ts +13 -8
  19. package/dist/mdruntime/conversation.d.ts +6 -3
  20. package/dist/mdruntime/durability.d.ts +3 -5
  21. package/dist/mdruntime/file.d.ts +2 -10
  22. package/dist/mdruntime/fulltext.d.ts +26 -0
  23. package/dist/mdruntime/messages.d.ts +27 -0
  24. package/dist/mdruntime/observation.d.ts +12 -0
  25. package/dist/mdruntime/opened.d.ts +21 -0
  26. package/dist/mdruntime/outcome.d.ts +28 -4
  27. package/dist/mdruntime/overlay.d.ts +1 -4
  28. package/dist/mdruntime/query.d.ts +5 -1
  29. package/dist/mdruntime/reach.d.ts +5 -3
  30. package/dist/mdruntime/readiness.d.ts +20 -9
  31. package/dist/mdruntime/recovery.d.ts +2 -2
  32. package/dist/mdruntime/replica.d.ts +57 -39
  33. package/dist/mdruntime/room-draft.d.ts +3 -1
  34. package/dist/mdruntime/save.d.ts +49 -14
  35. package/dist/mdruntime/search.d.ts +11 -43
  36. package/dist/mdruntime/shared.d.ts +4 -3
  37. package/dist/mdruntime/store.d.ts +87 -94
  38. package/dist/mdruntime/stored.d.ts +144 -0
  39. package/dist/mdruntime/tables.d.ts +353 -0
  40. package/dist/mdruntime/wire.d.ts +13 -1
  41. package/docs/families.md +3 -3
  42. package/package.json +1 -1
  43. package/dist/mdruntime/rows.d.ts +0 -38
  44. 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;
@@ -344,48 +414,19 @@ export interface HouseMethods {
344
414
  readonly 'record.list': {
345
415
  readonly params: {
346
416
  readonly room_ref: string;
347
- readonly record?: string;
348
417
  readonly cursor?: string;
349
418
  readonly limit?: number;
350
419
  readonly order?: 'asc' | 'desc';
351
420
  };
352
421
  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
- readonly record: string;
368
- readonly ref: string;
369
- } | {
370
- readonly next_cursor?: string;
371
422
  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
423
  readonly record: string;
387
424
  readonly ref: string;
425
+ readonly created_at: string;
426
+ readonly body: string | null;
427
+ readonly claimed: unknown;
388
428
  }[];
429
+ readonly next_cursor?: string;
389
430
  };
390
431
  };
391
432
  readonly 'relay.read': {
@@ -448,6 +489,13 @@ export interface HouseMethods {
448
489
  readonly url: string;
449
490
  })[];
450
491
  };
492
+ readonly follow_up_mail: {
493
+ readonly scope: 'none' | 'all_admitted' | 'selected_users';
494
+ readonly users: readonly {
495
+ readonly user: string;
496
+ readonly display_name: string | null;
497
+ }[];
498
+ };
451
499
  readonly granted_at: string;
452
500
  readonly revoked_at: string | null;
453
501
  readonly rooms?: {
@@ -478,11 +526,11 @@ export interface HouseMethods {
478
526
  readonly name: string;
479
527
  readonly email: string;
480
528
  readonly used: number;
481
- readonly quota: number | null;
529
+ readonly allowance: number | null;
482
530
  } | {
483
531
  readonly room: string;
484
532
  readonly used: number;
485
- readonly quota: number | null;
533
+ readonly allowance: number | null;
486
534
  readonly url: string;
487
535
  })[];
488
536
  };
@@ -577,320 +625,288 @@ export interface HouseMethods {
577
625
  };
578
626
  readonly 'trigger.list': {
579
627
  readonly params: {
580
- readonly room_ref: string;
628
+ readonly room_refs: readonly string[];
581
629
  };
582
630
  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;
631
+ readonly rooms: readonly {
632
+ readonly room_ref: string;
633
+ readonly triggers: readonly {
634
+ readonly trigger: string;
635
+ readonly creator: {
636
+ readonly user: string;
637
+ readonly name: string;
595
638
  };
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;
639
+ readonly description: string;
640
+ readonly condition: {
641
+ readonly on: 'documents';
642
+ readonly scope: {
643
+ readonly type: string;
644
+ } | {
645
+ readonly folder: string;
646
+ } | {
647
+ readonly document: string;
608
648
  };
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;
649
+ readonly mode: 'starts_matching';
650
+ readonly new_documents: boolean;
651
+ readonly match: {
652
+ readonly all: readonly unknown[];
653
+ } | {
654
+ readonly any: readonly unknown[];
655
+ } | {
656
+ readonly not: unknown;
657
+ } | {
658
+ readonly path: string;
659
+ readonly eq: string | number | boolean;
660
+ } | {
661
+ readonly path: string;
662
+ readonly in: readonly (string | number | boolean)[];
663
+ } | {
664
+ readonly path: string;
665
+ readonly exists: boolean;
666
+ } | {
667
+ readonly path: string;
668
+ readonly contains: string | number | boolean;
669
+ } | {
670
+ readonly path: string;
671
+ readonly gt: number | string;
672
+ } | {
673
+ readonly path: string;
674
+ readonly gte: number | string;
675
+ } | {
676
+ readonly path: string;
677
+ readonly lt: number | string;
678
+ } | {
679
+ readonly path: string;
680
+ readonly lte: number | string;
681
+ } | {
682
+ readonly path: string;
683
+ readonly prefix: string;
621
684
  };
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;
685
+ readonly by?: {
686
+ readonly all: readonly unknown[];
687
+ } | {
688
+ readonly any: readonly unknown[];
689
+ } | {
690
+ readonly not: unknown;
691
+ } | {
692
+ readonly path: string;
693
+ readonly eq: string | number | boolean;
694
+ } | {
695
+ readonly path: string;
696
+ readonly in: readonly (string | number | boolean)[];
697
+ } | {
698
+ readonly path: string;
699
+ readonly exists: boolean;
700
+ } | {
701
+ readonly path: string;
702
+ readonly contains: string | number | boolean;
703
+ } | {
704
+ readonly path: string;
705
+ readonly gt: number | string;
706
+ } | {
707
+ readonly path: string;
708
+ readonly gte: number | string;
709
+ } | {
710
+ readonly path: string;
711
+ readonly lt: number | string;
712
+ } | {
713
+ readonly path: string;
714
+ readonly lte: number | string;
715
+ } | {
716
+ readonly path: string;
717
+ readonly prefix: string;
648
718
  };
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;
719
+ readonly moved_between_rooms?: boolean;
720
+ } | {
721
+ readonly on: 'documents';
722
+ readonly scope: {
723
+ readonly type: string;
724
+ } | {
725
+ readonly folder: string;
726
+ } | {
727
+ readonly document: string;
661
728
  };
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;
705
- };
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;
729
+ readonly mode: 'field_changes';
730
+ readonly field: string;
731
+ readonly from?: readonly (string | number | boolean)[] | 'new';
732
+ readonly to?: readonly (string | number | boolean)[] | 'deleted';
733
+ readonly match?: {
734
+ readonly all: readonly unknown[];
735
+ } | {
736
+ readonly any: readonly unknown[];
737
+ } | {
738
+ readonly not: unknown;
739
+ } | {
740
+ readonly path: string;
741
+ readonly eq: string | number | boolean;
742
+ } | {
743
+ readonly path: string;
744
+ readonly in: readonly (string | number | boolean)[];
745
+ } | {
746
+ readonly path: string;
747
+ readonly exists: boolean;
748
+ } | {
749
+ readonly path: string;
750
+ readonly contains: string | number | boolean;
751
+ } | {
752
+ readonly path: string;
753
+ readonly gt: number | string;
754
+ } | {
755
+ readonly path: string;
756
+ readonly gte: number | string;
757
+ } | {
758
+ readonly path: string;
759
+ readonly lt: number | string;
760
+ } | {
761
+ readonly path: string;
762
+ readonly lte: number | string;
763
+ } | {
764
+ readonly path: string;
765
+ readonly prefix: string;
718
766
  };
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;
767
+ readonly by?: {
768
+ readonly all: readonly unknown[];
769
+ } | {
770
+ readonly any: readonly unknown[];
771
+ } | {
772
+ readonly not: unknown;
773
+ } | {
774
+ readonly path: string;
775
+ readonly eq: string | number | boolean;
776
+ } | {
777
+ readonly path: string;
778
+ readonly in: readonly (string | number | boolean)[];
779
+ } | {
780
+ readonly path: string;
781
+ readonly exists: boolean;
782
+ } | {
783
+ readonly path: string;
784
+ readonly contains: string | number | boolean;
785
+ } | {
786
+ readonly path: string;
787
+ readonly gt: number | string;
788
+ } | {
789
+ readonly path: string;
790
+ readonly gte: number | string;
791
+ } | {
792
+ readonly path: string;
793
+ readonly lt: number | string;
794
+ } | {
795
+ readonly path: string;
796
+ readonly lte: number | string;
797
+ } | {
798
+ readonly path: string;
799
+ readonly prefix: string;
745
800
  };
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;
801
+ readonly moved_between_rooms?: boolean;
802
+ } | {
803
+ readonly on: 'items';
804
+ readonly source?: string;
805
+ readonly address?: string;
806
+ readonly match?: {
807
+ readonly all: readonly unknown[];
808
+ } | {
809
+ readonly any: readonly unknown[];
810
+ } | {
811
+ readonly not: unknown;
812
+ } | {
813
+ readonly path: string;
814
+ readonly eq: string | number | boolean;
815
+ } | {
816
+ readonly path: string;
817
+ readonly in: readonly (string | number | boolean)[];
818
+ } | {
819
+ readonly path: string;
820
+ readonly exists: boolean;
821
+ } | {
822
+ readonly path: string;
823
+ readonly contains: string | number | boolean;
824
+ } | {
825
+ readonly path: string;
826
+ readonly gt: number | string;
827
+ } | {
828
+ readonly path: string;
829
+ readonly gte: number | string;
830
+ } | {
831
+ readonly path: string;
832
+ readonly lt: number | string;
833
+ } | {
834
+ readonly path: string;
835
+ readonly lte: number | string;
836
+ } | {
837
+ readonly path: string;
838
+ readonly prefix: string;
758
839
  };
759
840
  } | {
760
- readonly path: string;
761
- readonly gt: number | string;
841
+ readonly on: 'clock';
842
+ readonly cron: string;
843
+ readonly time_zone: string;
762
844
  } | {
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[];
781
- } | {
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;
845
+ readonly on: 'clock';
846
+ readonly scope: {
847
+ readonly type: string;
789
848
  };
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;
849
+ readonly date: string;
850
+ readonly days: number;
851
+ readonly at: string;
852
+ readonly time_zone: string;
853
+ readonly match?: {
854
+ readonly all: readonly unknown[];
855
+ } | {
856
+ readonly any: readonly unknown[];
857
+ } | {
858
+ readonly not: unknown;
859
+ } | {
860
+ readonly path: string;
861
+ readonly eq: string | number | boolean;
862
+ } | {
863
+ readonly path: string;
864
+ readonly in: readonly (string | number | boolean)[];
865
+ } | {
866
+ readonly path: string;
867
+ readonly exists: boolean;
868
+ } | {
869
+ readonly path: string;
870
+ readonly contains: string | number | boolean;
871
+ } | {
872
+ readonly path: string;
873
+ readonly gt: number | string;
874
+ } | {
875
+ readonly path: string;
876
+ readonly gte: number | string;
877
+ } | {
878
+ readonly path: string;
879
+ readonly lt: number | string;
880
+ } | {
881
+ readonly path: string;
882
+ readonly lte: number | string;
883
+ } | {
884
+ readonly path: string;
885
+ readonly prefix: string;
802
886
  };
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
887
  };
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;
888
+ readonly enabled: boolean;
889
+ readonly paused_by?: 'types';
890
+ readonly actions: readonly ({
891
+ readonly kind: 'notify';
892
+ readonly enabled: boolean;
893
+ readonly title: string;
894
+ readonly text: string;
895
+ readonly to: {
896
+ readonly users: readonly string[];
897
+ readonly fields: readonly string[];
898
+ readonly roles: readonly string[];
842
899
  };
900
+ readonly holds: boolean;
843
901
  } | {
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;
855
- };
856
- } | {
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
- })[];
902
+ readonly kind: 'routine';
903
+ readonly enabled: boolean;
904
+ readonly access?: string;
905
+ readonly payload: string;
906
+ readonly holds: boolean;
907
+ })[];
908
+ }[];
909
+ readonly url: string;
894
910
  }[];
895
911
  };
896
912
  };
@@ -908,15 +924,18 @@ export interface HouseMethods {
908
924
  readonly actions: readonly ({
909
925
  readonly position: number;
910
926
  readonly outcome: 'notified';
911
- readonly notification: string;
927
+ readonly reached: number;
928
+ } | {
929
+ readonly position: number;
930
+ readonly outcome: 'no_target';
912
931
  } | {
913
932
  readonly position: number;
914
933
  readonly outcome: 'requested';
915
934
  readonly request: string;
916
935
  } | {
917
936
  readonly position: number;
918
- readonly outcome: 'sent';
919
- readonly message: string;
937
+ readonly outcome: 'continued';
938
+ readonly request: string;
920
939
  } | {
921
940
  readonly position: number;
922
941
  readonly outcome: 'refused';
@@ -925,12 +944,12 @@ export interface HouseMethods {
925
944
  readonly position: number;
926
945
  readonly outcome: 'refused';
927
946
  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';
947
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
929
948
  } | {
930
949
  readonly position: number;
931
950
  readonly outcome: 'refused';
932
951
  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';
952
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
934
953
  readonly retry_at: string;
935
954
  } | {
936
955
  readonly position: number;
@@ -951,15 +970,19 @@ export interface HouseMethods {
951
970
  readonly position: number;
952
971
  readonly outcome: 'refused';
953
972
  readonly code: 'limit_reached';
954
- readonly limit: 'house_writes';
973
+ readonly limit: 'writes';
955
974
  readonly period: 'minute' | 'day';
956
975
  readonly retry_at: string;
957
976
  } | {
958
977
  readonly position: number;
959
978
  readonly outcome: 'refused';
960
- readonly code: 'limit_reached';
961
- readonly limit: 'mcp_reads' | 'mcp_downloads';
962
- readonly value: string;
979
+ readonly code: 'cap_reached';
980
+ 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';
981
+ } | {
982
+ readonly position: number;
983
+ readonly outcome: 'refused';
984
+ readonly code: 'cap_reached';
985
+ 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
986
  readonly retry_at: string;
964
987
  } | {
965
988
  readonly position: number;