@agentshouse/app-bridge 0.1.0-c4848a8050141 → 0.1.0-c4eb6deb151a4

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 (43) hide show
  1. package/dist/calls.d.ts +431 -373
  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 +52 -18
  12. package/dist/mdruntime/chain.d.ts +10 -0
  13. package/dist/mdruntime/change-set.d.ts +9 -16
  14. package/dist/mdruntime/change.d.ts +31 -1
  15. package/dist/mdruntime/client.d.ts +6 -1
  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 +12 -5
  19. package/dist/mdruntime/conversation.d.ts +9 -3
  20. package/dist/mdruntime/durability.d.ts +3 -1
  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 +29 -4
  27. package/dist/mdruntime/overlay.d.ts +2 -6
  28. package/dist/mdruntime/query.d.ts +5 -1
  29. package/dist/mdruntime/reach.d.ts +5 -1
  30. package/dist/mdruntime/readiness.d.ts +18 -3
  31. package/dist/mdruntime/recovery.d.ts +2 -2
  32. package/dist/mdruntime/replica.d.ts +57 -38
  33. package/dist/mdruntime/room-draft.d.ts +3 -1
  34. package/dist/mdruntime/save.d.ts +50 -15
  35. package/dist/mdruntime/search.d.ts +11 -43
  36. package/dist/mdruntime/shared.d.ts +5 -3
  37. package/dist/mdruntime/store.d.ts +87 -92
  38. package/dist/mdruntime/stored.d.ts +144 -0
  39. package/dist/mdruntime/tables.d.ts +341 -0
  40. package/dist/mdruntime/wire.d.ts +16 -0
  41. package/package.json +1 -1
  42. package/dist/mdruntime/rows.d.ts +0 -38
  43. 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;
@@ -170,43 +187,32 @@ export interface HouseMethods {
170
187
  readonly url: string;
171
188
  };
172
189
  };
190
+ readonly 'conversation.retry': {
191
+ readonly params: {
192
+ readonly conversation_id: string;
193
+ readonly operation_id: string;
194
+ readonly message_id: string;
195
+ };
196
+ readonly result: {
197
+ readonly conversation_id: string;
198
+ readonly agent_id: string;
199
+ readonly message_id: string;
200
+ readonly authority: string;
201
+ readonly position: string;
202
+ readonly log_epoch: string;
203
+ readonly url: string;
204
+ };
205
+ };
173
206
  readonly 'conversation.send': {
174
207
  readonly params: {
175
208
  readonly conversation: string;
176
- readonly files?: readonly {
177
- readonly blob: Blob;
178
- readonly byteLength: number;
179
- readonly contentHash: string;
180
- readonly height?: number;
181
- readonly mediaType: string;
182
- readonly name: string;
183
- readonly width?: number;
184
- }[];
185
209
  readonly operation_id: string;
186
- readonly text?: string;
210
+ readonly text: string;
187
211
  };
188
212
  readonly result: {
189
213
  readonly agent_id: string;
190
214
  readonly authority: string;
191
215
  readonly conversation_id: string;
192
- readonly files: readonly {
193
- readonly name: string;
194
- readonly media_type: string | null;
195
- readonly dimensions: {
196
- readonly width: number;
197
- readonly height: number;
198
- } | null;
199
- readonly bytes: number;
200
- readonly sha256: string;
201
- readonly file: string | null;
202
- readonly page: string;
203
- readonly upload?: {
204
- readonly method: 'POST';
205
- readonly operation: string;
206
- readonly url: string;
207
- readonly expires_at: string;
208
- };
209
- }[];
210
216
  readonly log_epoch: string;
211
217
  readonly message_id: string;
212
218
  readonly position: string;
@@ -259,6 +265,86 @@ export interface HouseMethods {
259
265
  readonly log_epoch: string;
260
266
  };
261
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
+ };
262
348
  readonly 'member.list': {
263
349
  readonly params: {
264
350
  readonly room_ref: string;
@@ -334,42 +420,20 @@ export interface HouseMethods {
334
420
  readonly order?: 'asc' | 'desc';
335
421
  };
336
422
  readonly result: {
337
- readonly attachments: readonly {
338
- readonly bytes: number;
339
- readonly file: string;
340
- readonly media_type: string | null;
341
- readonly name: string | null;
342
- readonly referrer: {
343
- readonly record: string;
344
- readonly room_ref: string;
345
- };
346
- readonly sha256: string;
347
- }[];
348
- readonly body: string | null;
349
- readonly claimed: unknown;
350
- readonly created_at: string;
351
423
  readonly record: string;
352
424
  readonly ref: string;
425
+ readonly created_at: string;
426
+ readonly body: string | null;
427
+ readonly claimed: unknown;
353
428
  } | {
354
- readonly next_cursor?: string;
355
429
  readonly records: readonly {
356
- readonly attachments: readonly {
357
- readonly bytes: number;
358
- readonly file: string;
359
- readonly media_type: string | null;
360
- readonly name: string | null;
361
- readonly referrer: {
362
- readonly record: string;
363
- readonly room_ref: string;
364
- };
365
- readonly sha256: string;
366
- }[];
367
- readonly body: string | null;
368
- readonly claimed: unknown;
369
- readonly created_at: string;
370
430
  readonly record: string;
371
431
  readonly ref: string;
432
+ readonly created_at: string;
433
+ readonly body: string | null;
434
+ readonly claimed: unknown;
372
435
  }[];
436
+ readonly next_cursor?: string;
373
437
  };
374
438
  };
375
439
  readonly 'relay.read': {
@@ -395,7 +459,8 @@ export interface HouseMethods {
395
459
  readonly description: string;
396
460
  readonly input: string;
397
461
  readonly version: number;
398
- readonly startsWithoutApproval: boolean;
462
+ readonly startsWithoutApproval?: boolean;
463
+ readonly room?: true;
399
464
  readonly url: string;
400
465
  }[];
401
466
  };
@@ -413,12 +478,25 @@ export interface HouseMethods {
413
478
  readonly state: 'live' | 'revoked' | 'routine_retired' | 'agent_retired' | 'target_owner_key_inactive';
414
479
  readonly invokers: {
415
480
  readonly scope: 'all_members' | 'selected_users';
416
- readonly users: readonly {
481
+ readonly users: readonly ({
417
482
  readonly user: string;
418
483
  readonly display_name: string | null;
419
- }[];
484
+ } | {
485
+ readonly room: string;
486
+ readonly url: string;
487
+ })[];
420
488
  };
421
489
  readonly starts_without_approval: {
490
+ readonly scope: 'none' | 'all_admitted' | 'selected_users';
491
+ readonly users: readonly ({
492
+ readonly user: string;
493
+ readonly display_name: string | null;
494
+ } | {
495
+ readonly room: string;
496
+ readonly url: string;
497
+ })[];
498
+ };
499
+ readonly follow_up_mail: {
422
500
  readonly scope: 'none' | 'all_admitted' | 'selected_users';
423
501
  readonly users: readonly {
424
502
  readonly user: string;
@@ -450,13 +528,18 @@ export interface HouseMethods {
450
528
  readonly access: string;
451
529
  };
452
530
  readonly result: {
453
- readonly grantees: readonly {
531
+ readonly grantees: readonly ({
454
532
  readonly user: string;
455
533
  readonly name: string;
456
534
  readonly email: string;
457
535
  readonly used: number;
458
- readonly quota: number | null;
459
- }[];
536
+ readonly allowance: number | null;
537
+ } | {
538
+ readonly room: string;
539
+ readonly used: number;
540
+ readonly allowance: number | null;
541
+ readonly url: string;
542
+ })[];
460
543
  };
461
544
  };
462
545
  readonly 'routineRequest.list': {
@@ -549,320 +632,288 @@ export interface HouseMethods {
549
632
  };
550
633
  readonly 'trigger.list': {
551
634
  readonly params: {
552
- readonly room_ref: string;
635
+ readonly room_refs: readonly string[];
553
636
  };
554
637
  readonly result: {
555
- readonly triggers: readonly {
556
- readonly trigger: string;
557
- readonly owner: string;
558
- readonly description: string;
559
- readonly condition: {
560
- readonly on: 'documents';
561
- readonly scope: {
562
- readonly type: string;
563
- } | {
564
- readonly folder: string;
565
- } | {
566
- 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;
567
645
  };
568
- readonly mode: 'starts_matching';
569
- readonly new_documents: boolean;
570
- readonly match: {
571
- readonly all: readonly unknown[];
572
- } | {
573
- readonly any: readonly unknown[];
574
- } | {
575
- readonly not: unknown;
576
- } | {
577
- readonly path: string;
578
- readonly eq: string | number | boolean | {
579
- 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;
580
655
  };
581
- } | {
582
- readonly path: string;
583
- readonly in: readonly (string | number | boolean | {
584
- readonly owner: true;
585
- })[];
586
- } | {
587
- readonly path: string;
588
- readonly exists: boolean;
589
- } | {
590
- readonly path: string;
591
- readonly contains: string | number | boolean | {
592
- 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;
593
691
  };
594
- } | {
595
- readonly path: string;
596
- readonly gt: number | string;
597
- } | {
598
- readonly path: string;
599
- readonly gte: number | string;
600
- } | {
601
- readonly path: string;
602
- readonly lt: number | string;
603
- } | {
604
- readonly path: string;
605
- readonly lte: number | string;
606
- } | {
607
- readonly path: string;
608
- readonly prefix: string;
609
- };
610
- readonly by?: {
611
- readonly all: readonly unknown[];
612
- } | {
613
- readonly any: readonly unknown[];
614
- } | {
615
- readonly not: unknown;
616
- } | {
617
- readonly path: string;
618
- readonly eq: string | number | boolean | {
619
- 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;
620
725
  };
621
- } | {
622
- readonly path: string;
623
- readonly in: readonly (string | number | boolean | {
624
- readonly owner: true;
625
- })[];
626
- } | {
627
- readonly path: string;
628
- readonly exists: boolean;
629
- } | {
630
- readonly path: string;
631
- readonly contains: string | number | boolean | {
632
- 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;
633
735
  };
634
- } | {
635
- readonly path: string;
636
- readonly gt: number | string;
637
- } | {
638
- readonly path: string;
639
- readonly gte: number | string;
640
- } | {
641
- readonly path: string;
642
- readonly lt: number | string;
643
- } | {
644
- readonly path: string;
645
- readonly lte: number | string;
646
- } | {
647
- readonly path: string;
648
- readonly prefix: string;
649
- };
650
- } | {
651
- readonly on: 'documents';
652
- readonly scope: {
653
- readonly type: string;
654
- } | {
655
- readonly folder: string;
656
- } | {
657
- readonly document: string;
658
- };
659
- readonly mode: 'field_changes';
660
- readonly field: string;
661
- readonly from?: readonly (string | number | boolean | {
662
- readonly owner: true;
663
- })[] | 'new';
664
- readonly to?: readonly (string | number | boolean | {
665
- readonly owner: true;
666
- })[] | 'deleted';
667
- readonly match?: {
668
- readonly all: readonly unknown[];
669
- } | {
670
- readonly any: readonly unknown[];
671
- } | {
672
- readonly not: unknown;
673
- } | {
674
- readonly path: string;
675
- readonly eq: string | number | boolean | {
676
- readonly owner: true;
677
- };
678
- } | {
679
- readonly path: string;
680
- readonly in: readonly (string | number | boolean | {
681
- readonly owner: true;
682
- })[];
683
- } | {
684
- readonly path: string;
685
- readonly exists: boolean;
686
- } | {
687
- readonly path: string;
688
- readonly contains: string | number | boolean | {
689
- 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;
690
773
  };
691
- } | {
692
- readonly path: string;
693
- readonly gt: number | string;
694
- } | {
695
- readonly path: string;
696
- readonly gte: number | string;
697
- } | {
698
- readonly path: string;
699
- readonly lt: number | string;
700
- } | {
701
- readonly path: string;
702
- readonly lte: number | string;
703
- } | {
704
- readonly path: string;
705
- readonly prefix: string;
706
- };
707
- readonly by?: {
708
- readonly all: readonly unknown[];
709
- } | {
710
- readonly any: readonly unknown[];
711
- } | {
712
- readonly not: unknown;
713
- } | {
714
- readonly path: string;
715
- readonly eq: string | number | boolean | {
716
- 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;
717
807
  };
718
- } | {
719
- readonly path: string;
720
- readonly in: readonly (string | number | boolean | {
721
- readonly owner: true;
722
- })[];
723
- } | {
724
- readonly path: string;
725
- readonly exists: boolean;
726
- } | {
727
- readonly path: string;
728
- readonly contains: string | number | boolean | {
729
- 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;
730
846
  };
731
847
  } | {
732
- readonly path: string;
733
- readonly gt: number | string;
734
- } | {
735
- readonly path: string;
736
- readonly gte: number | string;
737
- } | {
738
- readonly path: string;
739
- readonly lt: number | string;
740
- } | {
741
- readonly path: string;
742
- readonly lte: number | string;
743
- } | {
744
- readonly path: string;
745
- readonly prefix: string;
746
- };
747
- } | {
748
- readonly on: 'items';
749
- readonly source?: string;
750
- readonly address?: string;
751
- readonly match?: {
752
- readonly all: readonly unknown[];
753
- } | {
754
- readonly any: readonly unknown[];
755
- } | {
756
- readonly not: unknown;
848
+ readonly on: 'clock';
849
+ readonly cron: string;
850
+ readonly time_zone: string;
757
851
  } | {
758
- readonly path: string;
759
- readonly eq: string | number | boolean | {
760
- readonly owner: true;
852
+ readonly on: 'clock';
853
+ readonly scope: {
854
+ readonly type: string;
761
855
  };
762
- } | {
763
- readonly path: string;
764
- readonly in: readonly (string | number | boolean | {
765
- readonly owner: true;
766
- })[];
767
- } | {
768
- readonly path: string;
769
- readonly exists: boolean;
770
- } | {
771
- readonly path: string;
772
- readonly contains: string | number | boolean | {
773
- 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;
774
893
  };
775
- } | {
776
- readonly path: string;
777
- readonly gt: number | string;
778
- } | {
779
- readonly path: string;
780
- readonly gte: number | string;
781
- } | {
782
- readonly path: string;
783
- readonly lt: number | string;
784
- } | {
785
- readonly path: string;
786
- readonly lte: number | string;
787
- } | {
788
- readonly path: string;
789
- readonly prefix: string;
790
- };
791
- } | {
792
- readonly on: 'clock';
793
- readonly cron: string;
794
- readonly time_zone: string;
795
- } | {
796
- readonly on: 'clock';
797
- readonly scope: {
798
- readonly type: string;
799
894
  };
800
- readonly date: string;
801
- readonly days: number;
802
- readonly at: string;
803
- readonly time_zone: string;
804
- readonly match?: {
805
- readonly all: readonly unknown[];
806
- } | {
807
- readonly any: readonly unknown[];
808
- } | {
809
- readonly not: unknown;
810
- } | {
811
- readonly path: string;
812
- readonly eq: string | number | boolean | {
813
- 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[];
814
906
  };
815
- } | {
816
- readonly path: string;
817
- readonly in: readonly (string | number | boolean | {
818
- readonly owner: true;
819
- })[];
820
- } | {
821
- readonly path: string;
822
- readonly exists: boolean;
823
- } | {
824
- readonly path: string;
825
- readonly contains: string | number | boolean | {
826
- readonly owner: true;
827
- };
828
- } | {
829
- readonly path: string;
830
- readonly gt: number | string;
831
- } | {
832
- readonly path: string;
833
- readonly gte: number | string;
834
- } | {
835
- readonly path: string;
836
- readonly lt: number | string;
837
- } | {
838
- readonly path: string;
839
- readonly lte: number | string;
840
- } | {
841
- readonly path: string;
842
- readonly prefix: string;
843
- };
844
- };
845
- readonly enabled: boolean;
846
- readonly actions: readonly ({
847
- readonly kind: 'notify';
848
- readonly enabled?: boolean;
849
- readonly title?: string;
850
- readonly text?: string;
851
- } | {
852
- readonly kind: 'routine';
853
- readonly enabled?: boolean;
854
- readonly access?: string;
855
- readonly payload?: string;
856
- readonly references?: readonly {
857
- readonly room_ref: string;
858
- readonly ref: string;
859
- readonly url: string;
860
- }[];
861
- } | {
862
- readonly kind: 'conversation';
863
- readonly enabled?: boolean;
864
- readonly conversation_id?: string;
865
- })[];
907
+ readonly holds: boolean;
908
+ } | {
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;
866
917
  }[];
867
918
  };
868
919
  };
@@ -880,15 +931,18 @@ export interface HouseMethods {
880
931
  readonly actions: readonly ({
881
932
  readonly position: number;
882
933
  readonly outcome: 'notified';
883
- readonly notification: string;
934
+ readonly reached: number;
935
+ } | {
936
+ readonly position: number;
937
+ readonly outcome: 'no_target';
884
938
  } | {
885
939
  readonly position: number;
886
940
  readonly outcome: 'requested';
887
941
  readonly request: string;
888
942
  } | {
889
943
  readonly position: number;
890
- readonly outcome: 'sent';
891
- readonly message: string;
944
+ readonly outcome: 'continued';
945
+ readonly request: string;
892
946
  } | {
893
947
  readonly position: number;
894
948
  readonly outcome: 'refused';
@@ -897,12 +951,12 @@ export interface HouseMethods {
897
951
  readonly position: number;
898
952
  readonly outcome: 'refused';
899
953
  readonly code: 'limit_reached';
900
- 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';
901
955
  } | {
902
956
  readonly position: number;
903
957
  readonly outcome: 'refused';
904
958
  readonly code: 'limit_reached';
905
- 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';
906
960
  readonly retry_at: string;
907
961
  } | {
908
962
  readonly position: number;
@@ -923,15 +977,19 @@ export interface HouseMethods {
923
977
  readonly position: number;
924
978
  readonly outcome: 'refused';
925
979
  readonly code: 'limit_reached';
926
- readonly limit: 'house_writes';
980
+ readonly limit: 'writes';
927
981
  readonly period: 'minute' | 'day';
928
982
  readonly retry_at: string;
929
983
  } | {
930
984
  readonly position: number;
931
985
  readonly outcome: 'refused';
932
- readonly code: 'limit_reached';
933
- readonly limit: 'mcp_reads' | 'mcp_downloads';
934
- 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';
935
993
  readonly retry_at: string;
936
994
  } | {
937
995
  readonly position: number;