@agentshouse/app-bridge 0.1.0-c6cf78fcfa1b4 → 0.1.0-c6f4d423ead48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/calls.d.ts +121 -395
- package/dist/index.d.ts +23 -0
- package/dist/mdmodel/condition.d.ts +20 -8
- package/dist/mdmodel/definition.d.ts +2 -1
- package/dist/mdmodel/document.d.ts +4 -4
- package/dist/mdmodel/index.d.ts +7 -6
- package/dist/mdmodel/links.d.ts +28 -0
- package/dist/mdmodel/types.d.ts +9 -4
- package/dist/mdmodel/validate.d.ts +25 -4
- package/dist/mdruntime/adapter.d.ts +58 -32
- package/dist/mdruntime/binary.d.ts +0 -5
- package/dist/mdruntime/chain.d.ts +10 -0
- package/dist/mdruntime/change-set.d.ts +6 -16
- package/dist/mdruntime/change.d.ts +31 -1
- package/dist/mdruntime/client.d.ts +9 -5
- package/dist/mdruntime/collection.d.ts +6 -20
- package/dist/mdruntime/compile.d.ts +15 -0
- package/dist/mdruntime/connection.d.ts +16 -9
- package/dist/mdruntime/conversation.d.ts +4 -3
- package/dist/mdruntime/durability.d.ts +3 -5
- package/dist/mdruntime/fulltext.d.ts +26 -0
- package/dist/mdruntime/identity.d.ts +6 -0
- package/dist/mdruntime/media.d.ts +7 -0
- package/dist/mdruntime/messages.d.ts +27 -0
- package/dist/mdruntime/observation.d.ts +12 -0
- package/dist/mdruntime/opened.d.ts +21 -0
- package/dist/mdruntime/outcome.d.ts +40 -5
- package/dist/mdruntime/overlay.d.ts +1 -4
- package/dist/mdruntime/query.d.ts +11 -1
- package/dist/mdruntime/reach.d.ts +11 -3
- package/dist/mdruntime/readiness.d.ts +20 -9
- package/dist/mdruntime/recovery.d.ts +2 -2
- package/dist/mdruntime/replica.d.ts +56 -39
- package/dist/mdruntime/room-draft.d.ts +4 -1
- package/dist/mdruntime/save.d.ts +49 -14
- package/dist/mdruntime/search.d.ts +11 -43
- package/dist/mdruntime/shared.d.ts +4 -3
- package/dist/mdruntime/store.d.ts +83 -95
- package/dist/mdruntime/stored.d.ts +151 -0
- package/dist/mdruntime/tables.d.ts +351 -0
- package/dist/mdruntime/wire.d.ts +17 -1
- package/dist/test-host.d.ts +7 -1
- package/dist/test-host.js +16 -0
- package/docs/families.md +22 -5
- package/package.json +8 -3
- package/dist/mdruntime/file.d.ts +0 -19
- package/dist/mdruntime/rows.d.ts +0 -38
- package/dist/mdruntime/turn.d.ts +0 -8
package/README.md
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
The types of the agents.house App bridge, an accessor and an in-page test host.
|
|
4
4
|
House builds the bridge object in every App it serves and hands it to the page
|
|
5
5
|
before the App's own scripts run; `houseBridge()` returns that object, so an App
|
|
6
|
-
carries no bridge code of its own. It carries
|
|
6
|
+
carries no bridge code of its own. It carries twelve families: navigation,
|
|
7
7
|
ceremonies, installation, notifications, status, Site image reads, App release
|
|
8
|
-
code, external calls, App messages
|
|
8
|
+
code, external calls, App messages, App and Site screenshot reads and the Chat.
|
|
9
9
|
[docs/families.md](docs/families.md) describes each and the test host.
|
|
10
10
|
|
|
11
11
|
The bridge carries no credential handling and no Runtime family. House builds
|
|
12
|
-
the MD Runtime client into the page beside the bridge
|
|
13
|
-
|
|
12
|
+
the MD Runtime client into the page beside the bridge and serves it the Chat, so
|
|
13
|
+
the App imports, constructs and bundles neither: `bridge.runtime` resolves to the client.
|
|
14
14
|
|
|
15
|
-
House's
|
|
15
|
+
House's guide to building an App is its Guide's `apps/` pages, which `open_guide` opens.
|
|
16
16
|
|
|
17
17
|
## Use
|
|
18
18
|
|
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
|
|
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
|
|
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
|
|
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[];
|
|
@@ -65,6 +68,7 @@ export interface HouseMethods {
|
|
|
65
68
|
readonly params: {
|
|
66
69
|
readonly agent_id: string;
|
|
67
70
|
readonly operation_id?: string;
|
|
71
|
+
readonly replaces?: string;
|
|
68
72
|
};
|
|
69
73
|
readonly result: {
|
|
70
74
|
readonly agent_id: string;
|
|
@@ -189,40 +193,13 @@ export interface HouseMethods {
|
|
|
189
193
|
readonly 'conversation.send': {
|
|
190
194
|
readonly params: {
|
|
191
195
|
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
196
|
readonly operation_id: string;
|
|
202
|
-
readonly text
|
|
197
|
+
readonly text: string;
|
|
203
198
|
};
|
|
204
199
|
readonly result: {
|
|
205
200
|
readonly agent_id: string;
|
|
206
201
|
readonly authority: string;
|
|
207
202
|
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
203
|
readonly log_epoch: string;
|
|
227
204
|
readonly message_id: string;
|
|
228
205
|
readonly position: string;
|
|
@@ -250,7 +227,7 @@ export interface HouseMethods {
|
|
|
250
227
|
readonly params: Readonly<Record<string, never>>;
|
|
251
228
|
readonly result: {
|
|
252
229
|
readonly features: readonly {
|
|
253
|
-
readonly feature:
|
|
230
|
+
readonly feature: string;
|
|
254
231
|
readonly allowed: boolean;
|
|
255
232
|
}[];
|
|
256
233
|
};
|
|
@@ -275,6 +252,86 @@ export interface HouseMethods {
|
|
|
275
252
|
readonly log_epoch: string;
|
|
276
253
|
};
|
|
277
254
|
};
|
|
255
|
+
readonly 'inboxChat.assign': {
|
|
256
|
+
readonly params: {
|
|
257
|
+
readonly room_ref: string;
|
|
258
|
+
readonly path: string;
|
|
259
|
+
readonly assignee: {
|
|
260
|
+
readonly user: string;
|
|
261
|
+
} | {
|
|
262
|
+
readonly agent: string;
|
|
263
|
+
} | null;
|
|
264
|
+
};
|
|
265
|
+
readonly result: {
|
|
266
|
+
readonly room_ref: string;
|
|
267
|
+
readonly path: string;
|
|
268
|
+
readonly assignee: {
|
|
269
|
+
readonly user: string;
|
|
270
|
+
readonly name: string;
|
|
271
|
+
} | {
|
|
272
|
+
readonly agent: string;
|
|
273
|
+
readonly name: string;
|
|
274
|
+
} | null;
|
|
275
|
+
readonly return_to: {
|
|
276
|
+
readonly agent: string;
|
|
277
|
+
readonly name: string;
|
|
278
|
+
} | null;
|
|
279
|
+
readonly authority: string;
|
|
280
|
+
readonly position: string;
|
|
281
|
+
readonly log_epoch: string;
|
|
282
|
+
readonly url: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
readonly 'inboxChat.return': {
|
|
286
|
+
readonly params: {
|
|
287
|
+
readonly room_ref: string;
|
|
288
|
+
readonly path: string;
|
|
289
|
+
};
|
|
290
|
+
readonly result: {
|
|
291
|
+
readonly room_ref: string;
|
|
292
|
+
readonly path: string;
|
|
293
|
+
readonly assignee: {
|
|
294
|
+
readonly user: string;
|
|
295
|
+
readonly name: string;
|
|
296
|
+
} | {
|
|
297
|
+
readonly agent: string;
|
|
298
|
+
readonly name: string;
|
|
299
|
+
} | null;
|
|
300
|
+
readonly return_to: {
|
|
301
|
+
readonly agent: string;
|
|
302
|
+
readonly name: string;
|
|
303
|
+
} | null;
|
|
304
|
+
readonly authority: string;
|
|
305
|
+
readonly position: string;
|
|
306
|
+
readonly log_epoch: string;
|
|
307
|
+
readonly url: string;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
readonly 'inboxChat.takeControl': {
|
|
311
|
+
readonly params: {
|
|
312
|
+
readonly room_ref: string;
|
|
313
|
+
readonly path: string;
|
|
314
|
+
};
|
|
315
|
+
readonly result: {
|
|
316
|
+
readonly room_ref: string;
|
|
317
|
+
readonly path: string;
|
|
318
|
+
readonly assignee: {
|
|
319
|
+
readonly user: string;
|
|
320
|
+
readonly name: string;
|
|
321
|
+
} | {
|
|
322
|
+
readonly agent: string;
|
|
323
|
+
readonly name: string;
|
|
324
|
+
} | null;
|
|
325
|
+
readonly return_to: {
|
|
326
|
+
readonly agent: string;
|
|
327
|
+
readonly name: string;
|
|
328
|
+
} | null;
|
|
329
|
+
readonly authority: string;
|
|
330
|
+
readonly position: string;
|
|
331
|
+
readonly log_epoch: string;
|
|
332
|
+
readonly url: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
278
335
|
readonly 'member.list': {
|
|
279
336
|
readonly params: {
|
|
280
337
|
readonly room_ref: string;
|
|
@@ -344,48 +401,19 @@ export interface HouseMethods {
|
|
|
344
401
|
readonly 'record.list': {
|
|
345
402
|
readonly params: {
|
|
346
403
|
readonly room_ref: string;
|
|
347
|
-
readonly record?: string;
|
|
348
404
|
readonly cursor?: string;
|
|
349
405
|
readonly limit?: number;
|
|
350
406
|
readonly order?: 'asc' | 'desc';
|
|
351
407
|
};
|
|
352
408
|
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
409
|
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
410
|
readonly record: string;
|
|
387
411
|
readonly ref: string;
|
|
412
|
+
readonly created_at: string;
|
|
413
|
+
readonly body: string | null;
|
|
414
|
+
readonly claimed: unknown;
|
|
388
415
|
}[];
|
|
416
|
+
readonly next_cursor?: string;
|
|
389
417
|
};
|
|
390
418
|
};
|
|
391
419
|
readonly 'relay.read': {
|
|
@@ -448,6 +476,13 @@ export interface HouseMethods {
|
|
|
448
476
|
readonly url: string;
|
|
449
477
|
})[];
|
|
450
478
|
};
|
|
479
|
+
readonly follow_up_mail: {
|
|
480
|
+
readonly scope: 'none' | 'all_admitted' | 'selected_users';
|
|
481
|
+
readonly users: readonly {
|
|
482
|
+
readonly user: string;
|
|
483
|
+
readonly display_name: string | null;
|
|
484
|
+
}[];
|
|
485
|
+
};
|
|
451
486
|
readonly granted_at: string;
|
|
452
487
|
readonly revoked_at: string | null;
|
|
453
488
|
readonly rooms?: {
|
|
@@ -478,11 +513,11 @@ export interface HouseMethods {
|
|
|
478
513
|
readonly name: string;
|
|
479
514
|
readonly email: string;
|
|
480
515
|
readonly used: number;
|
|
481
|
-
readonly
|
|
516
|
+
readonly allowance: number | null;
|
|
482
517
|
} | {
|
|
483
518
|
readonly room: string;
|
|
484
519
|
readonly used: number;
|
|
485
|
-
readonly
|
|
520
|
+
readonly allowance: number | null;
|
|
486
521
|
readonly url: string;
|
|
487
522
|
})[];
|
|
488
523
|
};
|
|
@@ -575,325 +610,6 @@ export interface HouseMethods {
|
|
|
575
610
|
readonly submitted: true;
|
|
576
611
|
};
|
|
577
612
|
};
|
|
578
|
-
readonly 'trigger.list': {
|
|
579
|
-
readonly params: {
|
|
580
|
-
readonly room_ref: string;
|
|
581
|
-
};
|
|
582
|
-
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;
|
|
595
|
-
};
|
|
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;
|
|
608
|
-
};
|
|
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;
|
|
621
|
-
};
|
|
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;
|
|
648
|
-
};
|
|
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;
|
|
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;
|
|
718
|
-
};
|
|
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;
|
|
745
|
-
};
|
|
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;
|
|
758
|
-
};
|
|
759
|
-
} | {
|
|
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[];
|
|
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;
|
|
789
|
-
};
|
|
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;
|
|
802
|
-
};
|
|
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
|
-
};
|
|
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;
|
|
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
|
-
})[];
|
|
894
|
-
}[];
|
|
895
|
-
};
|
|
896
|
-
};
|
|
897
613
|
readonly 'triggerOccurrence.list': {
|
|
898
614
|
readonly params: {
|
|
899
615
|
readonly room_ref: string;
|
|
@@ -908,15 +624,19 @@ export interface HouseMethods {
|
|
|
908
624
|
readonly actions: readonly ({
|
|
909
625
|
readonly position: number;
|
|
910
626
|
readonly outcome: 'notified';
|
|
911
|
-
readonly
|
|
627
|
+
readonly reached: number;
|
|
628
|
+
} | {
|
|
629
|
+
readonly position: number;
|
|
630
|
+
readonly outcome: 'no_target';
|
|
631
|
+
readonly code: 'no_recipient' | 'routine_access_not_found' | 'routine_retired' | 'target_agent_unavailable';
|
|
912
632
|
} | {
|
|
913
633
|
readonly position: number;
|
|
914
634
|
readonly outcome: 'requested';
|
|
915
635
|
readonly request: string;
|
|
916
636
|
} | {
|
|
917
637
|
readonly position: number;
|
|
918
|
-
readonly outcome: '
|
|
919
|
-
readonly
|
|
638
|
+
readonly outcome: 'continued';
|
|
639
|
+
readonly request: string;
|
|
920
640
|
} | {
|
|
921
641
|
readonly position: number;
|
|
922
642
|
readonly outcome: 'refused';
|
|
@@ -925,12 +645,12 @@ export interface HouseMethods {
|
|
|
925
645
|
readonly position: number;
|
|
926
646
|
readonly outcome: 'refused';
|
|
927
647
|
readonly code: 'limit_reached';
|
|
928
|
-
readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | '
|
|
648
|
+
readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
|
|
929
649
|
} | {
|
|
930
650
|
readonly position: number;
|
|
931
651
|
readonly outcome: 'refused';
|
|
932
652
|
readonly code: 'limit_reached';
|
|
933
|
-
readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | '
|
|
653
|
+
readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
|
|
934
654
|
readonly retry_at: string;
|
|
935
655
|
} | {
|
|
936
656
|
readonly position: number;
|
|
@@ -951,22 +671,28 @@ export interface HouseMethods {
|
|
|
951
671
|
readonly position: number;
|
|
952
672
|
readonly outcome: 'refused';
|
|
953
673
|
readonly code: 'limit_reached';
|
|
954
|
-
readonly limit: '
|
|
674
|
+
readonly limit: 'writes';
|
|
955
675
|
readonly period: 'minute' | 'day';
|
|
956
676
|
readonly retry_at: string;
|
|
957
677
|
} | {
|
|
958
678
|
readonly position: number;
|
|
959
679
|
readonly outcome: 'refused';
|
|
960
|
-
readonly code: '
|
|
961
|
-
readonly
|
|
962
|
-
|
|
680
|
+
readonly code: 'cap_reached';
|
|
681
|
+
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';
|
|
682
|
+
} | {
|
|
683
|
+
readonly position: number;
|
|
684
|
+
readonly outcome: 'refused';
|
|
685
|
+
readonly code: 'cap_reached';
|
|
686
|
+
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
687
|
readonly retry_at: string;
|
|
964
688
|
} | {
|
|
965
689
|
readonly position: number;
|
|
966
690
|
readonly outcome: 'withdrawn';
|
|
691
|
+
readonly code: 'agent_unavailable';
|
|
967
692
|
} | {
|
|
968
693
|
readonly position: number;
|
|
969
694
|
readonly outcome: 'failed';
|
|
695
|
+
readonly code: 'internal_error' | 'routine_request_not_started';
|
|
970
696
|
} | {
|
|
971
697
|
readonly position: number;
|
|
972
698
|
readonly outcome: 'waiting';
|