@agentshouse/mdruntime-adapter 0.1.0-c028d11613a54 → 0.1.0-c03a088da4fb8

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.
@@ -26,131 +26,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
26
26
  readonly maxLength: 512;
27
27
  readonly pattern: '^(?:a_[A-Za-z0-9._-]+(?:\\/source)?|r_[A-Za-z0-9._-]+(?:\\/(?:settings|settings\\/schema|settings\\/model|settings\\/indexing|content))?)$';
28
28
  };
29
- readonly request: {
30
- readonly description: 'One Routine Request of a Room.';
31
- readonly type: 'object';
32
- readonly additionalProperties: false;
33
- readonly properties: {
34
- readonly routine_request: {
35
- readonly $ref: '#/$defs/id';
36
- };
37
- readonly conversation: {
38
- readonly $ref: '#/$defs/id';
39
- };
40
- readonly origin: {
41
- readonly enum: readonly ['user', 'trigger'];
42
- };
43
- readonly state: {
44
- readonly enum: readonly ['awaiting_approval', 'started', 'finished', 'not_started', 'withdrawn_by_author', 'withdrawn_admission', 'declined'];
45
- };
46
- readonly target: {
47
- readonly type: 'object';
48
- readonly additionalProperties: false;
49
- readonly properties: {
50
- readonly user: {
51
- readonly $ref: '#/$defs/id';
52
- };
53
- };
54
- readonly required: readonly ['user'];
55
- };
56
- readonly record: {
57
- readonly $ref: '#/$defs/id';
58
- };
59
- readonly routine_access: {
60
- readonly $ref: '#/$defs/id';
61
- };
62
- readonly agent: {
63
- readonly $ref: '#/$defs/id';
64
- };
65
- readonly routine: {
66
- readonly type: 'object';
67
- readonly additionalProperties: false;
68
- readonly properties: {
69
- readonly name: {
70
- readonly type: 'string';
71
- };
72
- readonly version: {
73
- readonly type: 'integer';
74
- readonly exclusiveMinimum: 0;
75
- };
76
- };
77
- readonly minProperties: 1;
78
- };
79
- readonly approved: {
80
- readonly type: 'string';
81
- readonly format: 'date-time';
82
- };
83
- readonly approved_by: {
84
- readonly type: 'object';
85
- readonly additionalProperties: false;
86
- readonly properties: {
87
- readonly user: {
88
- readonly $ref: '#/$defs/id';
89
- };
90
- };
91
- readonly required: readonly ['user'];
92
- };
93
- readonly settled_by: {
94
- readonly type: 'object';
95
- readonly additionalProperties: false;
96
- readonly properties: {
97
- readonly user: {
98
- readonly $ref: '#/$defs/id';
99
- };
100
- };
101
- readonly required: readonly ['user'];
102
- };
103
- readonly failure_category: {
104
- readonly enum: readonly ['routine_access_not_found', 'routine_retired', 'target_agent_unavailable', 'agent_unavailable', 'admission_lapsed'];
105
- };
106
- readonly created: {
107
- readonly type: 'string';
108
- readonly format: 'date-time';
109
- };
110
- readonly activated: {
111
- readonly type: 'string';
112
- readonly format: 'date-time';
113
- };
114
- readonly settled: {
115
- readonly type: 'string';
116
- readonly format: 'date-time';
117
- };
118
- readonly environment_starting: {
119
- readonly const: true;
120
- };
121
- readonly undelivered: {
122
- readonly const: true;
123
- };
124
- readonly result: {
125
- readonly type: 'string';
126
- };
127
- readonly url: {
128
- readonly type: 'string';
129
- readonly format: 'uri';
130
- };
131
- };
132
- readonly required: readonly ['routine_request', 'origin', 'state', 'target', 'created'];
133
- };
134
- readonly caller: {
135
- readonly description: "One caller of a Routine Access, a User under `user` with their account `email` and display `name`, or under `user` alone once they left the Room, or the Access's `room`, whose Triggers then call.";
136
- readonly type: 'object';
137
- readonly additionalProperties: false;
138
- readonly properties: {
139
- readonly user: {
140
- readonly $ref: '#/$defs/id';
141
- };
142
- readonly email: {
143
- readonly type: 'string';
144
- };
145
- readonly name: {
146
- readonly type: 'string';
147
- };
148
- readonly room: {
149
- readonly $ref: '#/$defs/room';
150
- };
151
- };
152
- readonly minProperties: 1;
153
- };
154
29
  readonly trigger_test: {
155
30
  readonly description: 'One test of a Trigger condition as the Trigger reference page writes one, a value compared at a `path` or `all`, `any` or `not` of tests.';
156
31
  readonly type: 'object';
@@ -187,2064 +62,192 @@ export declare const HOUSE_MODEL_DECLARATION: {
187
62
  readonly maxProperties: 1;
188
63
  };
189
64
  };
190
- readonly 'house-account': {
191
- readonly description: "The User's own identifier as `user`, their registration as `created`, their email verification and chosen language, every notification group with the channels it now reaches as `notifications`, `telegram: available` while the Building runs its Telegram bots and no Telegram account is linked to it, `linked` while one is, `started` once that account has also pressed Start in the Inbox bot, `meta`, the Building's Meta app as `application` and its signup configuration as `configuration` while it offers Connect Meta's signup, or `keys` while a business connects its own Meta app by its keys, `tiktok: available` while it offers Connect TikTok, `building: administrator` while the User is one of the Building's administrators, `full_house: true` while the User holds Full House, and the Building's caps of an App function's run as `function_limits`, its time in milliseconds as `time_ms`, its memory in bytes as `memory_bytes` and its external calls as `external_calls`.";
65
+ readonly 'house-app-preferences': {
66
+ readonly description: "An App's preferences. Its own vocabulary is in the body.";
192
67
  readonly properties: {
193
- readonly reflected: {
194
- readonly type: 'string';
195
- readonly format: 'date-time';
68
+ readonly app: {
69
+ readonly $ref: '#/$defs/app';
196
70
  };
197
- readonly user: {
71
+ };
72
+ readonly required: readonly ['app'];
73
+ };
74
+ readonly 'house-notification': {
75
+ readonly description: "One kept Human Notification for this User: its kind, when it was sent as `created`, its way in, its email's subject and each fact of its value that is not sealed, named in snake_case. An entity a fact names is an object holding its identifier under the key of its kind, when the notification carries it, and its `name`, `email` and other facts beside it; a fact holding null is absent. `way_in` is either the House `path` it opens or the entity it is about, by its identifier under the key of its kind, a Trigger with its `room`. Its body is its email's words in Markdown. Both were worded once, in the User's language when it was delivered; an App may show them or word it itself from its kind and value. Read state belongs to each browser.";
76
+ readonly properties: {
77
+ readonly notification: {
198
78
  readonly $ref: '#/$defs/id';
199
79
  };
200
- readonly email_verified: {
80
+ readonly kind: {
201
81
  readonly type: 'string';
202
- readonly format: 'date-time';
203
- };
204
- readonly language: {
205
- readonly enum: readonly ['en'];
206
- };
207
- readonly notifications: {
208
- readonly type: 'array';
209
- readonly items: {
210
- readonly type: 'object';
211
- readonly additionalProperties: false;
212
- readonly properties: {
213
- readonly group: {
214
- readonly type: 'string';
215
- };
216
- readonly channels: {
217
- readonly type: 'array';
218
- readonly items: {
219
- readonly type: 'string';
220
- };
221
- };
222
- };
223
- readonly required: readonly ['group', 'channels'];
224
- };
82
+ readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'app-room-binding-incompatible', 'app-call', 'room-ownership-offer', 'managed-environment-retention-opened', 'managed-environment-placement-intervention', 'storage-full', 'sandbox-budget-spent', 'break-glass-owner-disclosure', 'routine-start-approval-request', 'export-ready', 'export-failed', 'site-disabled', 'site-binding-incompatible', 'site-images-full', 'custom'];
225
83
  };
226
84
  readonly created: {
227
85
  readonly type: 'string';
228
86
  readonly format: 'date-time';
229
87
  };
230
- readonly telegram: {
231
- readonly enum: readonly ['available', 'linked', 'started'];
232
- };
233
- readonly meta: {
234
- readonly anyOf: readonly [{
235
- readonly const: 'keys';
236
- }, {
237
- readonly type: 'object';
238
- readonly additionalProperties: false;
239
- readonly properties: {
240
- readonly application: {
241
- readonly type: 'string';
242
- readonly pattern: '^\\d{1,32}$';
243
- };
244
- readonly configuration: {
245
- readonly type: 'string';
246
- readonly pattern: '^\\d{1,32}$';
247
- };
248
- };
249
- readonly required: readonly ['application', 'configuration'];
250
- }];
251
- };
252
- readonly tiktok: {
253
- readonly enum: readonly ['available'];
254
- };
255
- readonly building: {
256
- readonly enum: readonly ['administrator'];
257
- };
258
- readonly full_house: {
259
- readonly const: true;
260
- };
261
- readonly function_limits: {
88
+ readonly way_in: {
262
89
  readonly type: 'object';
263
90
  readonly additionalProperties: false;
264
91
  readonly properties: {
265
- readonly time_ms: {
266
- readonly type: 'integer';
267
- readonly exclusiveMinimum: 0;
92
+ readonly path: {
93
+ readonly type: 'string';
94
+ readonly pattern: '^\\/';
268
95
  };
269
- readonly memory_bytes: {
270
- readonly type: 'integer';
271
- readonly exclusiveMinimum: 0;
96
+ readonly room: {
97
+ readonly $ref: '#/$defs/room';
272
98
  };
273
- readonly external_calls: {
274
- readonly type: 'integer';
275
- readonly exclusiveMinimum: 0;
99
+ readonly app: {
100
+ readonly $ref: '#/$defs/app';
101
+ };
102
+ readonly environment: {
103
+ readonly $ref: '#/$defs/id';
104
+ };
105
+ readonly trigger: {
106
+ readonly $ref: '#/$defs/id';
107
+ };
108
+ readonly site: {
109
+ readonly $ref: '#/$defs/id';
276
110
  };
277
111
  };
278
- readonly required: readonly ['time_ms', 'memory_bytes', 'external_calls'];
279
- };
280
- };
281
- readonly required: readonly ['reflected', 'user', 'email_verified', 'notifications', 'created', 'function_limits'];
282
- };
283
- readonly 'house-agent': {
284
- readonly description: 'One registered Agent this User owns, with the `profile` and `environment` it binds, when it was `created` and, once it is, `retired`.';
285
- readonly properties: {
286
- readonly reflected: {
287
- readonly type: 'string';
288
- readonly format: 'date-time';
289
- };
290
- readonly agent: {
291
- readonly $ref: '#/$defs/id';
292
- };
293
- readonly name: {
294
- readonly type: 'string';
295
- };
296
- readonly profile: {
297
- readonly $ref: '#/$defs/id';
298
- };
299
- readonly environment: {
300
- readonly $ref: '#/$defs/id';
301
- };
302
- readonly launch_directory: {
303
- readonly type: 'string';
304
- };
305
- readonly created: {
306
- readonly type: 'string';
307
- readonly format: 'date-time';
308
- };
309
- readonly retired: {
310
- readonly type: 'string';
311
- readonly format: 'date-time';
112
+ readonly minProperties: 1;
312
113
  };
313
- };
314
- readonly required: readonly ['reflected', 'agent', 'name', 'profile', 'environment', 'launch_directory', 'created'];
315
- };
316
- readonly 'house-agent-profile': {
317
- readonly description: 'One reusable Agent Profile this User owns, with the execution route it binds and the `arguments` that route passes its CLI. Its body is its instructions, whole, in Markdown.';
318
- readonly properties: {
319
- readonly reflected: {
114
+ readonly subject: {
320
115
  readonly type: 'string';
321
- readonly format: 'date-time';
322
116
  };
323
- readonly profile: {
117
+ readonly share: {
324
118
  readonly $ref: '#/$defs/id';
325
119
  };
326
- readonly name: {
327
- readonly type: 'string';
328
- };
329
- readonly revision: {
330
- readonly type: 'integer';
331
- readonly minimum: 0;
332
- };
333
- readonly adapter_kind: {
334
- readonly type: 'string';
335
- };
336
- readonly model: {
337
- readonly type: 'string';
338
- };
339
- readonly effort: {
340
- readonly type: 'string';
341
- };
342
- readonly mode: {
343
- readonly type: 'string';
344
- };
345
- readonly arguments: {
346
- readonly type: 'array';
347
- readonly items: {
348
- readonly type: 'string';
349
- };
350
- };
351
- };
352
- readonly required: readonly ['reflected', 'profile', 'name', 'revision'];
353
- };
354
- readonly 'house-app': {
355
- readonly description: "One App this User owns, holds or installed, `ownership` naming whether it is its own or one it holds, its `owner` by `name` when another User owns it, and `my_app` `true` on this User's My App alone, with the path of its window on the control origin as `address`, its tab icon for a light and for a dark appearance as image data addresses with, while the icon is generated, its one to four colours, blend and angle, its running release as `latest_release` by `release` and `sequence`, with the external origins it declares as `external_origins`, whether its code reaches this User's conversations as `conversations`, the Room slots it declares in order as `room_slots`, each `slot` with its `access` and `types`, and the names of the App functions it declares in order as `functions`, each installation this User holds, and every User who holds the App as `holders`, this User and its owner included, by `user`, `name` and `email`. Each installation entry names the `installation`, the App's running `release` and when it was installed as `created`. Each features entry names, for an App this User does not own, a `feature`, a browser feature, a House model type or a House act its release declares, and its `consent`, `allowed` or `denied` the first time the App asked; a feature never asked is absent. `features_version` is the version of this User's latest consent change for the App.";
356
- readonly properties: {
357
- readonly reflected: {
358
- readonly type: 'string';
359
- readonly format: 'date-time';
360
- };
361
- readonly app: {
362
- readonly $ref: '#/$defs/app';
363
- };
364
- readonly address: {
365
- readonly type: 'string';
366
- readonly pattern: '^\\/app\\/a_([0123456789abcdefghjkmnpqrstvwxyz]+)\\.([0123456789abcdefghjkmnpqrstvwxyz])$';
367
- };
368
- readonly name: {
369
- readonly type: 'string';
370
- };
371
- readonly ownership: {
372
- readonly enum: readonly ['own', 'held'];
373
- };
374
- readonly owner: {
120
+ readonly issuer: {
375
121
  readonly type: 'object';
376
122
  readonly additionalProperties: false;
377
123
  readonly properties: {
378
124
  readonly name: {
379
125
  readonly type: 'string';
380
126
  };
381
- };
382
- readonly required: readonly ['name'];
383
- };
384
- readonly my_app: {
385
- readonly const: true;
386
- };
387
- readonly created: {
388
- readonly type: 'string';
389
- readonly format: 'date-time';
390
- };
391
- readonly tab_icon_light: {
392
- readonly type: 'string';
393
- readonly pattern: '^data:image\\/';
394
- };
395
- readonly tab_icon_dark: {
396
- readonly type: 'string';
397
- readonly pattern: '^data:image\\/';
398
- };
399
- readonly tab_icon_colours: {
400
- readonly type: 'array';
401
- readonly items: {
402
- readonly type: 'string';
403
- readonly pattern: '^#[0-9a-f]{6}$';
404
- };
405
- };
406
- readonly tab_icon_blend: {
407
- readonly enum: readonly ['linear', 'radial'];
408
- };
409
- readonly tab_icon_angle: {
410
- readonly type: 'integer';
411
- readonly minimum: 0;
412
- readonly maximum: 359;
413
- };
414
- readonly latest_release: {
415
- readonly type: 'object';
416
- readonly additionalProperties: false;
417
- readonly properties: {
418
- readonly release: {
419
- readonly $ref: '#/$defs/id';
420
- };
421
- readonly sequence: {
422
- readonly type: 'integer';
423
- readonly exclusiveMinimum: 0;
127
+ readonly email: {
128
+ readonly type: 'string';
129
+ readonly format: 'email';
424
130
  };
425
131
  };
426
- readonly required: readonly ['release', 'sequence'];
132
+ readonly required: readonly ['name', 'email'];
427
133
  };
428
- readonly external_origins: {
134
+ readonly rooms: {
429
135
  readonly type: 'array';
430
136
  readonly items: {
431
- readonly type: 'string';
432
- readonly format: 'uri';
137
+ readonly type: 'object';
138
+ readonly additionalProperties: false;
139
+ readonly properties: {
140
+ readonly name: {
141
+ readonly type: 'string';
142
+ };
143
+ };
144
+ readonly required: readonly ['name'];
433
145
  };
434
146
  };
435
- readonly conversations: {
436
- readonly enum: readonly ['yes', 'no'];
437
- };
438
- readonly room_slots: {
147
+ readonly apps: {
148
+ readonly maxItems: 20;
439
149
  readonly type: 'array';
440
150
  readonly items: {
441
151
  readonly type: 'object';
442
152
  readonly additionalProperties: false;
443
153
  readonly properties: {
444
- readonly slot: {
154
+ readonly name: {
445
155
  readonly type: 'string';
156
+ readonly minLength: 1;
157
+ readonly maxLength: 200;
446
158
  };
447
- readonly access: {
448
- readonly enum: readonly ['read', 'write'];
449
- };
450
- readonly types: {
159
+ readonly reaches: {
451
160
  readonly type: 'array';
452
161
  readonly items: {
453
162
  readonly type: 'string';
163
+ readonly minLength: 1;
164
+ readonly maxLength: 512;
454
165
  };
455
166
  };
456
167
  };
457
- readonly required: readonly ['slot', 'access', 'types'];
458
- };
459
- };
460
- readonly functions: {
461
- readonly type: 'array';
462
- readonly items: {
463
- readonly type: 'string';
464
- };
465
- };
466
- readonly installations: {
467
- readonly type: 'array';
468
- readonly items: {
469
- readonly type: 'object';
470
- readonly additionalProperties: false;
471
- readonly properties: {
472
- readonly installation: {
473
- readonly $ref: '#/$defs/id';
474
- };
475
- readonly release: {
476
- readonly $ref: '#/$defs/id';
477
- };
478
- readonly created: {
479
- readonly type: 'string';
480
- readonly format: 'date-time';
481
- };
482
- };
483
- readonly required: readonly ['installation', 'release', 'created'];
484
- };
485
- };
486
- readonly holders: {
487
- readonly type: 'array';
488
- readonly items: {
489
- readonly type: 'object';
490
- readonly additionalProperties: false;
491
- readonly properties: {
492
- readonly user: {
493
- readonly $ref: '#/$defs/id';
494
- };
495
- readonly name: {
496
- readonly type: 'string';
497
- };
498
- readonly email: {
499
- readonly type: 'string';
500
- };
501
- };
502
- readonly required: readonly ['user', 'name', 'email'];
503
- };
504
- };
505
- readonly features: {
506
- readonly type: 'array';
507
- readonly items: {
508
- readonly type: 'object';
509
- readonly additionalProperties: false;
510
- readonly properties: {
511
- readonly feature: {
512
- readonly type: 'string';
513
- };
514
- readonly consent: {
515
- readonly enum: readonly ['allowed', 'denied'];
516
- };
517
- };
518
- readonly required: readonly ['feature', 'consent'];
519
- };
520
- };
521
- readonly features_version: {
522
- readonly type: 'integer';
523
- readonly exclusiveMinimum: 0;
524
- };
525
- };
526
- readonly required: readonly ['reflected', 'app', 'address', 'name', 'ownership', 'created'];
527
- };
528
- readonly 'house-app-preferences': {
529
- readonly description: "An App's preferences. Its own vocabulary is in the body.";
530
- readonly properties: {
531
- readonly app: {
532
- readonly $ref: '#/$defs/app';
533
- };
534
- };
535
- readonly required: readonly ['app'];
536
- };
537
- readonly 'house-app-room-binding': {
538
- readonly description: "One durable App-Room binding this User holds: an ordered Room list, one Shared schema, or `rooms`, `all` for every Room this User has or `all_but_private` for every one but their Private Room, for a named Room slot of one `app`, shared by every device and browser installation they sign in from. Only this User's own bindings appear here. A Shared-schema binding names the `shared_schema` with its own structural `compatibility` and `findings`, the Rooms that currently use it and this User reads, and how many Rooms the instance bound leaves out. A `rooms` binding holds this User's Rooms that fit the slot, and `left_out` counts the others and those past the instance bound. Each entry names a `room` and the last structural comparison of the slot with its selected model as `compatibility`, `unchecked`, `compatible` or `incompatible`, and each finding a `room` and one exact structural `finding` of it against the slot. An explicit entry whose Room this User cannot read is absent until access returns; an empty explicit list has no document. An incompatible entry or Shared schema blocks nothing: the App still opens and the model still changes.";
539
- readonly properties: {
540
- readonly reflected: {
541
- readonly type: 'string';
542
- readonly format: 'date-time';
543
- };
544
- readonly app: {
545
- readonly $ref: '#/$defs/app';
546
- };
547
- readonly slot: {
548
- readonly type: 'string';
549
- readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
550
- };
551
- readonly types: {
552
- readonly type: 'array';
553
- readonly items: {
554
- readonly type: 'string';
555
- };
556
- };
557
- readonly slot_access: {
558
- readonly enum: readonly ['read', 'write'];
559
- };
560
- readonly shared_schema: {
561
- readonly type: 'object';
562
- readonly additionalProperties: false;
563
- readonly properties: {
564
- readonly shared_schema: {
565
- readonly $ref: '#/$defs/id';
566
- };
567
- readonly compatibility: {
568
- readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
569
- };
570
- readonly findings: {
571
- readonly type: 'array';
572
- readonly items: {
573
- readonly type: 'string';
574
- };
575
- };
576
- };
577
- readonly required: readonly ['shared_schema', 'compatibility', 'findings'];
578
- };
579
- readonly rooms: {
580
- readonly enum: readonly ['all', 'all_but_private'];
581
- };
582
- readonly left_out: {
583
- readonly type: 'integer';
584
- readonly minimum: 0;
585
- };
586
- readonly entries: {
587
- readonly type: 'array';
588
- readonly items: {
589
- readonly type: 'object';
590
- readonly additionalProperties: false;
591
- readonly properties: {
592
- readonly room: {
593
- readonly $ref: '#/$defs/room';
594
- };
595
- readonly compatibility: {
596
- readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
597
- };
598
- };
599
- readonly required: readonly ['room', 'compatibility'];
600
- };
601
- };
602
- readonly findings: {
603
- readonly type: 'array';
604
- readonly items: {
605
- readonly type: 'object';
606
- readonly additionalProperties: false;
607
- readonly properties: {
608
- readonly room: {
609
- readonly $ref: '#/$defs/room';
610
- };
611
- readonly finding: {
612
- readonly type: 'string';
613
- };
614
- };
615
- readonly required: readonly ['room', 'finding'];
616
- };
617
- };
618
- };
619
- readonly required: readonly ['reflected', 'app', 'slot'];
620
- };
621
- readonly 'house-client': {
622
- readonly description: 'One MCP client this User authorized, named as it was created. Its last use and whether its credentials expired are read on request.';
623
- readonly properties: {
624
- readonly reflected: {
625
- readonly type: 'string';
626
- readonly format: 'date-time';
627
- };
628
- readonly client: {
629
- readonly $ref: '#/$defs/id';
630
- };
631
- readonly name: {
632
- readonly type: 'string';
633
- };
634
- readonly kind: {
635
- readonly enum: readonly ['browser', 'headless'];
636
- };
637
- readonly created: {
638
- readonly type: 'string';
639
- readonly format: 'date-time';
640
- };
641
- readonly ended: {
642
- readonly type: 'string';
643
- readonly format: 'date-time';
644
- };
645
- readonly end: {
646
- readonly enum: readonly ['revoked'];
647
- };
648
- };
649
- readonly required: readonly ['reflected', 'client', 'name', 'kind', 'created'];
650
- };
651
- readonly 'house-environment': {
652
- readonly description: "One Environment this User holds, with its configuration, its `name`, the one its User entered, when it was `created`, the Rooms it reaches, `all`, `all_but_private` or the `selected` ones `rooms` names, each by its `room`, `login_code`, `yes` while it holds a reusable login code, the agent CLI kinds House admits in `offered`, the kinds House last set in `wanted`, and the latest readiness its Kit reported in `agents`. `kind` is the kind of Environment, `sandbox`, a small Environment House runs with limited capacity, especially disk, `vps`, an always-on Environment House runs with better specs, or `own` for its owner's own computer. `lifecycle` is the state of that Sandbox or VPS: `provisioning` while House creates it, `starting` while it starts or House wakes it, `available` once its Kit connected, `stopped` or `failed`. For a Sandbox, `budget` is its runtime budget in hours a month and `budget_spent` is `yes` once its runtime this UTC month reached it. Each offered entry names one adapter kind the owner may select for this Environment. Each wanted entry names one adapter kind the Kit should hold. Each agent entry names the adapter `kind`, its installed `version` or null when the Kit could not install it, for a CLI below its adapter's minimum that `minimum`, `failure`, that install's cause, `installing`, true only while the Kit installs it, whether the CLI is `signed_in`, its `models`, each `model` with its `efforts` as the CLI's session options name them, its `modes`, each `mode` with the `name` the CLI gives it, and `full_access`, the mode that bypasses every permission, or null for a CLI that offers no mode and always runs so. A wanted kind no entry names is not yet reported. `transcribe` is whether the Kit transcribes a message's audio files, as House last set it, and `transcription` names whether the Kit has the engine `installed` and the `failure` of its last download or null, as the Kit last reported it. `os` is the operating system and version of the Environment, `kit_release` the installed Kit release and `form` the computer's form, `laptop`, `desktop` or `server`, as the Kit last reported them. Placement failure is projected on its transitions; `failed` names the failure's category and never its cause. For a VPS, `ssh` is its owner's root login on port 22.";
653
- readonly properties: {
654
- readonly reflected: {
655
- readonly type: 'string';
656
- readonly format: 'date-time';
657
- };
658
- readonly environment: {
659
- readonly $ref: '#/$defs/id';
660
- };
661
- readonly name: {
662
- readonly type: 'string';
663
- };
664
- readonly created: {
665
- readonly type: 'string';
666
- readonly format: 'date-time';
667
- };
668
- readonly revoked: {
669
- readonly type: 'string';
670
- readonly format: 'date-time';
671
- };
672
- readonly reach: {
673
- readonly enum: readonly ['all', 'all_but_private', 'selected'];
674
- };
675
- readonly rooms: {
676
- readonly type: 'array';
677
- readonly items: {
678
- readonly type: 'object';
679
- readonly additionalProperties: false;
680
- readonly properties: {
681
- readonly room: {
682
- readonly $ref: '#/$defs/room';
683
- };
684
- };
685
- readonly required: readonly ['room'];
686
- };
687
- };
688
- readonly login_code: {
689
- readonly enum: readonly ['yes', 'no'];
690
- };
691
- readonly kind: {
692
- readonly enum: readonly ['sandbox', 'vps', 'own'];
693
- };
694
- readonly lifecycle: {
695
- readonly enum: readonly ['provisioning', 'starting', 'available', 'stopped', 'failed'];
696
- };
697
- readonly offered: {
698
- readonly type: 'array';
699
- readonly items: {
700
- readonly type: 'string';
701
- };
702
- };
703
- readonly wanted: {
704
- readonly type: 'array';
705
- readonly items: {
706
- readonly type: 'string';
707
- };
708
- };
709
- readonly agents: {
710
- readonly type: 'array';
711
- readonly items: {
712
- readonly type: 'object';
713
- readonly additionalProperties: false;
714
- readonly properties: {
715
- readonly kind: {
716
- readonly type: 'string';
717
- readonly minLength: 1;
718
- readonly maxLength: 64;
719
- };
720
- readonly version: {
721
- readonly anyOf: readonly [{
722
- readonly type: 'string';
723
- readonly minLength: 1;
724
- readonly maxLength: 64;
725
- }, {
726
- readonly type: 'null';
727
- }];
728
- };
729
- readonly minimum: {
730
- readonly description: "Present only for a CLI below its adapter's minimum version: that minimum.";
731
- readonly type: 'string';
732
- readonly minLength: 1;
733
- readonly maxLength: 64;
734
- };
735
- readonly failure: {
736
- readonly anyOf: readonly [{
737
- readonly type: 'string';
738
- readonly minLength: 1;
739
- readonly maxLength: 4096;
740
- }, {
741
- readonly type: 'null';
742
- }];
743
- };
744
- readonly installing: {
745
- readonly description: 'Present only while the Kit installs the CLI, whose version and failure are then null.';
746
- readonly type: 'boolean';
747
- readonly const: true;
748
- };
749
- readonly signed_in: {
750
- readonly type: 'boolean';
751
- };
752
- readonly models: {
753
- readonly maxItems: 256;
754
- readonly type: 'array';
755
- readonly items: {
756
- readonly type: 'object';
757
- readonly additionalProperties: false;
758
- readonly properties: {
759
- readonly model: {
760
- readonly type: 'string';
761
- readonly minLength: 1;
762
- };
763
- readonly efforts: {
764
- readonly maxItems: 32;
765
- readonly type: 'array';
766
- readonly items: {
767
- readonly type: 'string';
768
- readonly minLength: 1;
769
- };
770
- };
771
- };
772
- readonly required: readonly ['model', 'efforts'];
773
- };
774
- };
775
- readonly modes: {
776
- readonly maxItems: 32;
777
- readonly type: 'array';
778
- readonly items: {
779
- readonly type: 'object';
780
- readonly additionalProperties: false;
781
- readonly properties: {
782
- readonly mode: {
783
- readonly type: 'string';
784
- readonly minLength: 1;
785
- };
786
- readonly name: {
787
- readonly type: 'string';
788
- readonly minLength: 1;
789
- readonly maxLength: 128;
790
- };
791
- };
792
- readonly required: readonly ['mode', 'name'];
793
- };
794
- };
795
- readonly full_access: {
796
- readonly anyOf: readonly [{
797
- readonly type: 'string';
798
- readonly minLength: 1;
799
- }, {
800
- readonly type: 'null';
801
- }];
802
- };
803
- };
804
- readonly required: readonly ['kind', 'version', 'failure', 'signed_in', 'models', 'modes', 'full_access'];
805
- };
806
- };
807
- readonly transcribe: {
808
- readonly enum: readonly ['on', 'off'];
809
- };
810
- readonly transcription: {
811
- readonly type: 'object';
812
- readonly additionalProperties: false;
813
- readonly properties: {
814
- readonly installed: {
815
- readonly type: 'boolean';
816
- };
817
- readonly failure: {
818
- readonly anyOf: readonly [{
819
- readonly type: 'string';
820
- readonly minLength: 1;
821
- readonly maxLength: 4096;
822
- }, {
823
- readonly type: 'null';
824
- }];
825
- };
826
- };
827
- readonly required: readonly ['installed', 'failure'];
828
- };
829
- readonly os: {
830
- readonly type: 'string';
831
- };
832
- readonly kit_release: {
833
- readonly type: 'string';
834
- };
835
- readonly form: {
836
- readonly enum: readonly ['laptop', 'desktop', 'server'];
837
- };
838
- readonly failed: {
839
- readonly enum: readonly ['provisioning_failed', 'bootstrap_timeout', 'provider_capacity', 'provider_unavailable', 'provider_removed', 'placement_conflict', 'placement_intervention', 'environment_authority_unavailable'];
840
- };
841
- readonly budget: {
842
- readonly type: 'string';
843
- readonly pattern: '^\\d+(?:\\.\\d+)?$';
844
- };
845
- readonly budget_spent: {
846
- readonly enum: readonly ['yes', 'no'];
847
- };
848
- readonly ssh: {
849
- readonly type: 'string';
850
- readonly pattern: '^root@\\S+$';
851
- };
852
- };
853
- readonly required: readonly ['reflected', 'environment', 'name', 'created', 'reach', 'kind', 'offered', 'transcribe'];
854
- };
855
- readonly 'house-exports': {
856
- readonly description: "This User's Exports, each with its `status`, when it was `created` and, once it has one, when it `expires`; a ready one names its download page as `page`.";
857
- readonly properties: {
858
- readonly reflected: {
859
- readonly type: 'string';
860
- readonly format: 'date-time';
861
- };
862
- readonly exports: {
863
- readonly type: 'array';
864
- readonly items: {
865
- readonly type: 'object';
866
- readonly additionalProperties: false;
867
- readonly properties: {
868
- readonly export: {
869
- readonly $ref: '#/$defs/id';
870
- };
871
- readonly status: {
872
- readonly enum: readonly ['queued', 'running', 'ready', 'failed'];
873
- };
874
- readonly created: {
875
- readonly type: 'string';
876
- readonly format: 'date-time';
877
- };
878
- readonly expires: {
879
- readonly type: 'string';
880
- readonly format: 'date-time';
881
- };
882
- readonly page: {
883
- readonly type: 'string';
884
- readonly pattern: '^\\/exports\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
885
- };
886
- };
887
- readonly required: readonly ['export', 'status', 'created'];
888
- };
889
- };
890
- };
891
- readonly required: readonly ['reflected'];
892
- };
893
- readonly 'house-member': {
894
- readonly description: "One User who shares a Room with this User, with their current display name and accepted about-me Markdown. Their email, the Rooms they share and each one's access are in the `roster` of each `house-room` document.";
895
- readonly properties: {
896
- readonly reflected: {
897
- readonly type: 'string';
898
- readonly format: 'date-time';
899
- };
900
- readonly user: {
901
- readonly $ref: '#/$defs/id';
902
- };
903
- readonly name: {
904
- readonly type: 'string';
905
- };
906
- readonly about_me: {
907
- readonly type: 'string';
908
- };
909
- };
910
- readonly required: readonly ['reflected', 'user', 'name'];
911
- };
912
- readonly 'house-notification': {
913
- readonly description: "One kept Human Notification for this User: its kind, when it was sent as `created`, its way in, its email's subject and each fact of its value that is not sealed, named in snake_case. An entity a fact names is an object holding its identifier under the key of its kind, when the notification carries it, and its `name`, `email` and other facts beside it; a fact holding null is absent. `way_in` is either the House `path` it opens or the entity it is about, by its identifier under the key of its kind, a Trigger with its `room`. Its body is its email's words in Markdown. Both were worded once, in the User's language when it was delivered; an App may show them or word it itself from its kind and value. Read state belongs to each browser.";
914
- readonly properties: {
915
- readonly notification: {
916
- readonly $ref: '#/$defs/id';
917
- };
918
- readonly kind: {
919
- readonly type: 'string';
920
- readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'app-room-binding-incompatible', 'app-deleted', 'app-call', 'room-ownership-offer', 'managed-environment-retention-opened', 'managed-environment-placement-intervention', 'storage-full', 'sandbox-budget-spent', 'break-glass-owner-disclosure', 'routine-start-approval-request', 'routine-request-declined', 'routine-request-started', 'routine-request-finished', 'routine-request-not-started', 'export-ready', 'export-failed', 'site-disabled', 'site-binding-incompatible', 'site-room-left', 'site-images-full', 'custom', 'trigger-did-nothing', 'function-failed'];
921
- };
922
- readonly created: {
923
- readonly type: 'string';
924
- readonly format: 'date-time';
925
- };
926
- readonly way_in: {
927
- readonly type: 'object';
928
- readonly additionalProperties: false;
929
- readonly properties: {
930
- readonly path: {
931
- readonly type: 'string';
932
- readonly pattern: '^\\/';
933
- };
934
- readonly room: {
935
- readonly $ref: '#/$defs/room';
936
- };
937
- readonly app: {
938
- readonly $ref: '#/$defs/app';
939
- };
940
- readonly agent: {
941
- readonly $ref: '#/$defs/id';
942
- };
943
- readonly environment: {
944
- readonly $ref: '#/$defs/id';
945
- };
946
- readonly routine: {
947
- readonly $ref: '#/$defs/id';
948
- };
949
- readonly routine_request: {
950
- readonly $ref: '#/$defs/id';
951
- };
952
- readonly trigger: {
953
- readonly $ref: '#/$defs/id';
954
- };
955
- readonly site: {
956
- readonly $ref: '#/$defs/id';
957
- };
958
- };
959
- readonly minProperties: 1;
960
- };
961
- readonly subject: {
962
- readonly type: 'string';
963
- };
964
- readonly share: {
965
- readonly $ref: '#/$defs/id';
966
- };
967
- readonly issuer: {
968
- readonly type: 'object';
969
- readonly additionalProperties: false;
970
- readonly properties: {
971
- readonly name: {
972
- readonly type: 'string';
973
- };
974
- readonly email: {
975
- readonly type: 'string';
976
- readonly format: 'email';
977
- };
978
- };
979
- readonly required: readonly ['name', 'email'];
980
- };
981
- readonly rooms: {
982
- readonly type: 'array';
983
- readonly items: {
984
- readonly type: 'object';
985
- readonly additionalProperties: false;
986
- readonly properties: {
987
- readonly name: {
988
- readonly type: 'string';
989
- };
990
- };
991
- readonly required: readonly ['name'];
992
- };
993
- };
994
- readonly apps: {
995
- readonly maxItems: 20;
996
- readonly type: 'array';
997
- readonly items: {
998
- readonly type: 'object';
999
- readonly additionalProperties: false;
1000
- readonly properties: {
1001
- readonly name: {
1002
- readonly type: 'string';
1003
- readonly minLength: 1;
1004
- readonly maxLength: 200;
1005
- };
1006
- readonly reaches: {
1007
- readonly type: 'array';
1008
- readonly items: {
1009
- readonly type: 'string';
1010
- readonly minLength: 1;
1011
- readonly maxLength: 512;
1012
- };
1013
- };
1014
- };
1015
- readonly required: readonly ['name', 'reaches'];
1016
- };
1017
- };
1018
- readonly expires_at: {
1019
- readonly type: 'string';
1020
- readonly format: 'date-time';
1021
- };
1022
- readonly join_request: {
1023
- readonly $ref: '#/$defs/id';
1024
- };
1025
- readonly user: {
1026
- readonly type: 'object';
1027
- readonly additionalProperties: false;
1028
- readonly properties: {
1029
- readonly name: {
1030
- readonly type: 'string';
1031
- };
1032
- readonly email: {
1033
- readonly type: 'string';
1034
- readonly format: 'email';
1035
- };
1036
- };
1037
- readonly required: readonly ['name', 'email'];
1038
- };
1039
- readonly room: {
1040
- readonly type: 'object';
1041
- readonly additionalProperties: false;
1042
- readonly properties: {
1043
- readonly room: {
1044
- readonly $ref: '#/$defs/room';
1045
- };
1046
- readonly name: {
1047
- readonly type: 'string';
1048
- };
1049
- };
1050
- readonly minProperties: 1;
1051
- };
1052
- readonly app: {
1053
- readonly type: 'object';
1054
- readonly additionalProperties: false;
1055
- readonly properties: {
1056
- readonly app: {
1057
- readonly $ref: '#/$defs/app';
1058
- };
1059
- readonly name: {
1060
- readonly type: 'string';
1061
- };
1062
- };
1063
- readonly minProperties: 1;
1064
- };
1065
- readonly binding: {
1066
- readonly $ref: '#/$defs/id';
1067
- };
1068
- readonly slot: {
1069
- readonly type: 'string';
1070
- };
1071
- readonly findings: {
1072
- readonly type: 'array';
1073
- readonly items: {
1074
- readonly type: 'string';
1075
- };
1076
- };
1077
- readonly owner: {
1078
- readonly type: 'object';
1079
- readonly additionalProperties: false;
1080
- readonly properties: {
1081
- readonly name: {
1082
- readonly type: 'string';
1083
- };
1084
- };
1085
- readonly required: readonly ['name'];
1086
- };
1087
- readonly caller: {
1088
- readonly type: 'object';
1089
- readonly additionalProperties: false;
1090
- readonly properties: {
1091
- readonly user: {
1092
- readonly $ref: '#/$defs/id';
1093
- };
1094
- readonly name: {
1095
- readonly type: 'string';
1096
- };
1097
- };
1098
- readonly required: readonly ['user', 'name'];
1099
- };
1100
- readonly ownership_offer: {
1101
- readonly $ref: '#/$defs/id';
1102
- };
1103
- readonly offerer: {
1104
- readonly type: 'object';
1105
- readonly additionalProperties: false;
1106
- readonly properties: {
1107
- readonly name: {
1108
- readonly type: 'string';
1109
- };
1110
- readonly email: {
1111
- readonly type: 'string';
1112
- readonly format: 'email';
1113
- };
1114
- };
1115
- readonly required: readonly ['name', 'email'];
1116
- };
1117
- readonly environment: {
1118
- readonly type: 'object';
1119
- readonly additionalProperties: false;
1120
- readonly properties: {
1121
- readonly environment: {
1122
- readonly $ref: '#/$defs/id';
1123
- };
1124
- readonly name: {
1125
- readonly type: 'string';
1126
- };
1127
- readonly kind: {
1128
- readonly enum: readonly ['vps', 'sandbox'];
1129
- };
1130
- };
1131
- readonly required: readonly ['environment', 'name'];
1132
- };
1133
- readonly reason: {
1134
- readonly type: 'string';
1135
- };
1136
- readonly deadline: {
1137
- readonly type: 'string';
1138
- readonly format: 'date-time';
1139
- };
1140
- readonly operation_kind: {
1141
- readonly type: 'string';
1142
- };
1143
- readonly free: {
1144
- readonly type: 'object';
1145
- readonly additionalProperties: false;
1146
- readonly properties: {
1147
- readonly held: {
1148
- readonly type: 'string';
1149
- readonly pattern: '^\\d+$';
1150
- };
1151
- readonly limit: {
1152
- readonly type: 'string';
1153
- readonly pattern: '^[1-9]\\d*$';
1154
- };
1155
- readonly measure: {
1156
- readonly type: 'string';
1157
- readonly enum: readonly ['content', 'retained'];
1158
- };
1159
- };
1160
- readonly required: readonly ['held', 'limit', 'measure'];
1161
- };
1162
- readonly budget: {
1163
- readonly type: 'string';
1164
- readonly pattern: '^\\d+(?:\\.\\d+)?$';
1165
- };
1166
- readonly resets_at: {
1167
- readonly type: 'string';
1168
- readonly format: 'date-time';
1169
- };
1170
- readonly grant: {
1171
- readonly $ref: '#/$defs/id';
1172
- };
1173
- readonly category: {
1174
- readonly type: 'string';
1175
- };
1176
- readonly access_started_at: {
1177
- readonly type: 'string';
1178
- readonly format: 'date-time';
1179
- };
1180
- readonly access_ended_at: {
1181
- readonly type: 'string';
1182
- readonly format: 'date-time';
1183
- };
1184
- readonly systems: {
1185
- readonly type: 'array';
1186
- readonly items: {
1187
- readonly type: 'string';
1188
- };
1189
- };
1190
- readonly case_reference: {
1191
- readonly type: 'string';
1192
- };
1193
- readonly routine_request: {
1194
- readonly $ref: '#/$defs/id';
1195
- };
1196
- readonly requester: {
1197
- readonly type: 'object';
1198
- readonly additionalProperties: false;
1199
- readonly properties: {
1200
- readonly name: {
1201
- readonly type: 'string';
1202
- };
1203
- };
1204
- readonly required: readonly ['name'];
1205
- };
1206
- readonly agent: {
1207
- readonly type: 'object';
1208
- readonly additionalProperties: false;
1209
- readonly properties: {
1210
- readonly agent: {
1211
- readonly $ref: '#/$defs/id';
1212
- };
1213
- readonly name: {
1214
- readonly type: 'string';
1215
- };
1216
- };
1217
- readonly required: readonly ['name'];
1218
- };
1219
- readonly conversation: {
1220
- readonly $ref: '#/$defs/id';
1221
- };
1222
- readonly routine: {
1223
- readonly type: 'object';
1224
- readonly additionalProperties: false;
1225
- readonly properties: {
1226
- readonly routine: {
1227
- readonly $ref: '#/$defs/id';
1228
- };
1229
- readonly name: {
1230
- readonly type: 'string';
1231
- };
1232
- readonly version: {
1233
- readonly type: 'integer';
1234
- readonly minimum: 1;
1235
- };
1236
- };
1237
- readonly required: readonly ['name'];
1238
- };
1239
- readonly decliner: {
1240
- readonly type: 'object';
1241
- readonly additionalProperties: false;
1242
- readonly properties: {
1243
- readonly name: {
1244
- readonly type: 'string';
1245
- };
1246
- };
1247
- readonly required: readonly ['name'];
1248
- };
1249
- readonly input: {
1250
- readonly type: 'string';
1251
- };
1252
- readonly export: {
1253
- readonly $ref: '#/$defs/id';
1254
- };
1255
- readonly size_bytes: {
1256
- readonly type: 'integer';
1257
- readonly minimum: 0;
1258
- };
1259
- readonly site: {
1260
- readonly type: 'object';
1261
- readonly additionalProperties: false;
1262
- readonly properties: {
1263
- readonly site: {
1264
- readonly $ref: '#/$defs/id';
1265
- };
1266
- readonly name: {
1267
- readonly type: 'string';
1268
- };
1269
- };
1270
- readonly required: readonly ['site', 'name'];
1271
- };
1272
- readonly address: {
1273
- readonly type: 'string';
1274
- readonly maxLength: 300;
1275
- readonly format: 'uri';
1276
- };
1277
- readonly to: {
1278
- readonly type: 'object';
1279
- readonly additionalProperties: false;
1280
- readonly properties: {
1281
- readonly name: {
1282
- readonly type: 'string';
1283
- };
1284
- };
1285
- readonly required: readonly ['name'];
1286
- };
1287
- readonly copies: {
1288
- readonly type: 'integer';
1289
- readonly minimum: 0;
1290
- };
1291
- readonly bound: {
1292
- readonly type: 'integer';
1293
- readonly minimum: 0;
1294
- };
1295
- readonly title: {
1296
- readonly type: 'string';
1297
- };
1298
- readonly body: {
1299
- readonly type: 'string';
1300
- };
1301
- readonly authorship: {
1302
- readonly type: 'object';
1303
- readonly additionalProperties: false;
1304
- readonly properties: {
1305
- readonly kind: {
1306
- readonly type: 'string';
1307
- readonly const: 'trigger-action';
1308
- };
1309
- readonly trigger: {
1310
- readonly $ref: '#/$defs/id';
1311
- };
1312
- readonly position: {
1313
- readonly type: 'integer';
1314
- readonly minimum: 0;
1315
- };
1316
- };
1317
- readonly required: readonly ['kind', 'trigger', 'position'];
1318
- };
1319
- readonly path: {
1320
- readonly type: 'string';
1321
- readonly maxLength: 4096;
1322
- readonly pattern: '^\\/.*';
1323
- };
1324
- readonly trigger: {
1325
- readonly type: 'object';
1326
- readonly additionalProperties: false;
1327
- readonly properties: {
1328
- readonly trigger: {
1329
- readonly $ref: '#/$defs/id';
1330
- };
1331
- readonly name: {
1332
- readonly type: 'string';
1333
- };
1334
- };
1335
- readonly required: readonly ['trigger', 'name'];
1336
- };
1337
- readonly cause: {
1338
- readonly type: 'string';
1339
- };
1340
- readonly function: {
1341
- readonly type: 'string';
1342
- };
1343
- readonly error: {
1344
- readonly type: 'string';
1345
- };
1346
- };
1347
- readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
1348
- };
1349
- readonly 'house-ownership-offer': {
1350
- readonly description: "One open Room ownership offer addressed to this User. The Room's name and the name of the owner it is `from` are captured when the offer is made. The page is the House approval path where this User accepts or declines.";
1351
- readonly properties: {
1352
- readonly reflected: {
1353
- readonly type: 'string';
1354
- readonly format: 'date-time';
1355
- };
1356
- readonly ownership_offer: {
1357
- readonly $ref: '#/$defs/id';
1358
- };
1359
- readonly room: {
1360
- readonly type: 'object';
1361
- readonly additionalProperties: false;
1362
- readonly properties: {
1363
- readonly room: {
1364
- readonly $ref: '#/$defs/room';
1365
- };
1366
- readonly name: {
1367
- readonly type: 'string';
1368
- };
1369
- };
1370
- readonly required: readonly ['room', 'name'];
1371
- };
1372
- readonly from: {
1373
- readonly type: 'object';
1374
- readonly additionalProperties: false;
1375
- readonly properties: {
1376
- readonly name: {
1377
- readonly type: 'string';
1378
- };
1379
- };
1380
- readonly required: readonly ['name'];
1381
- };
1382
- readonly page: {
1383
- readonly type: 'string';
1384
- readonly pattern: '^\\/approve\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
1385
- };
1386
- readonly created: {
1387
- readonly type: 'string';
1388
- readonly format: 'date-time';
1389
- };
1390
- readonly expires: {
1391
- readonly type: 'string';
1392
- readonly format: 'date-time';
1393
- };
1394
- };
1395
- readonly required: readonly ['reflected', 'ownership_offer', 'room', 'from', 'page', 'created', 'expires'];
1396
- };
1397
- readonly 'house-panel-preferences': {
1398
- readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
1399
- readonly properties: {};
1400
- };
1401
- readonly 'house-profile': {
1402
- readonly description: "The User's display name, the email they sign in with and accepted about-me Markdown.";
1403
- readonly properties: {
1404
- readonly reflected: {
1405
- readonly type: 'string';
1406
- readonly format: 'date-time';
1407
- };
1408
- readonly name: {
1409
- readonly type: 'string';
1410
- };
1411
- readonly email: {
1412
- readonly type: 'string';
1413
- };
1414
- readonly about_me: {
1415
- readonly type: 'string';
1416
- };
1417
- };
1418
- readonly required: readonly ['reflected', 'name', 'email'];
1419
- };
1420
- readonly 'house-public-room': {
1421
- readonly description: 'One Public Room this User added and reads without being its member. Its members are read with `list_members`, and `leave_room` removes it.';
1422
- readonly properties: {
1423
- readonly reflected: {
1424
- readonly type: 'string';
1425
- readonly format: 'date-time';
1426
- };
1427
- readonly room: {
1428
- readonly $ref: '#/$defs/room';
1429
- };
1430
- readonly handle: {
1431
- readonly type: 'string';
1432
- readonly minLength: 6;
1433
- readonly maxLength: 63;
1434
- readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
1435
- };
1436
- readonly name: {
1437
- readonly type: 'string';
1438
- };
1439
- readonly archived: {
1440
- readonly type: 'string';
1441
- readonly format: 'date-time';
1442
- };
1443
- };
1444
- readonly required: readonly ['reflected', 'room', 'handle', 'name'];
1445
- };
1446
- readonly 'house-push-address': {
1447
- readonly description: "One push address this User minted, never its secret: the Room it captures into, the Source it names, and where an outside service's post carries its event's identifier, the header `event_header` or the JSON pointer `event_json`.";
1448
- readonly properties: {
1449
- readonly reflected: {
1450
- readonly type: 'string';
1451
- readonly format: 'date-time';
1452
- };
1453
- readonly push_address: {
1454
- readonly $ref: '#/$defs/id';
1455
- };
1456
- readonly room: {
1457
- readonly $ref: '#/$defs/room';
1458
- };
1459
- readonly source: {
1460
- readonly type: 'string';
1461
- };
1462
- readonly event_header: {
1463
- readonly type: 'string';
1464
- };
1465
- readonly event_json: {
1466
- readonly type: 'string';
1467
- };
1468
- };
1469
- readonly required: readonly ['reflected', 'push_address', 'room', 'source'];
1470
- };
1471
- readonly 'house-requests': {
1472
- readonly description: "The Routine Requests of one Room this User holds at the Keep level: each one waiting or started under `current` and the 50 that changed last under `history`. Each names its `routine` by `name` and `version`, the `target` User whose Agent it asks, the `agent` that took it, the `routine_access` and `record` it went through, the Users it was `approved_by` and `settled_by`, and when it was `created`, `approved`, `activated` and `settled`; a started one is `undelivered` while its Agent's computer has not taken it, which House hands it once that computer connects; a fact it does not hold is absent. Only the Agent’s owner sees a request’s conversation. A Room with no request has no such document.";
1473
- readonly properties: {
1474
- readonly reflected: {
1475
- readonly type: 'string';
1476
- readonly format: 'date-time';
1477
- };
1478
- readonly room: {
1479
- readonly $ref: '#/$defs/room';
1480
- };
1481
- readonly current: {
1482
- readonly type: 'array';
1483
- readonly items: {
1484
- readonly $ref: '#/$defs/request';
1485
- };
1486
- };
1487
- readonly history: {
1488
- readonly type: 'array';
1489
- readonly items: {
1490
- readonly $ref: '#/$defs/request';
1491
- };
1492
- };
1493
- };
1494
- readonly required: readonly ['reflected', 'room', 'current', 'history'];
1495
- };
1496
- readonly 'house-room': {
1497
- readonly description: "One Room this User reads, with the processing configuration that indexes it. `my_room` is `true` on this User's My Room alone, whatever its name and handle become. `admission` is `pending` while House is still settling this User into the Room, which finishes on its own and needs no act. `access` is this User's access word in the Room, `owner`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` held at the Open level; `level` is the access level they hold on its content, `search`, `open` or `keep`, and `operations` are their own on its content. `policy` is whether House indexes the Room's documents, `Off` while it withholds indexing. Each indexing entry names a folder `path` and the `policy` set on it. `shared_schema` names the Shared schema whose copy is the Room's schema while the Room uses one, with its `name`. The owner alone sees `ownership_offer`, the `nominee` it is offered to and when it `expires`, while an offer is open, and `public`, the time they made the Room public, while every House User may read it; a member who does not own it sees its `owner` by name. `roster` lists the Room's members, each with when they were `admitted`, their member `document` and the access level and operations a Room Share could offer them without giving them anything new as `held`; it and `rights` carry the access this User may see, every member's to one who manages the Room and their own otherwise; `routines` lists the Routine Accesses this User or the Room's Triggers may call in it, each with its `routine`, by `name`, `description`, `input` and `version`, its `agent` and that Agent's `owner` by name: `starts_without_approval` on one this User may call and `triggers: true` on one the Triggers may call.";
1498
- readonly properties: {
1499
- readonly reflected: {
1500
- readonly type: 'string';
1501
- readonly format: 'date-time';
1502
- };
1503
- readonly room: {
1504
- readonly $ref: '#/$defs/room';
1505
- };
1506
- readonly handle: {
1507
- readonly type: 'string';
1508
- readonly minLength: 6;
1509
- readonly maxLength: 63;
1510
- readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
1511
- };
1512
- readonly name: {
1513
- readonly type: 'string';
1514
- };
1515
- readonly my_room: {
1516
- readonly const: true;
1517
- };
1518
- readonly membership: {
1519
- readonly enum: readonly ['owner', 'member'];
1520
- };
1521
- readonly ownership_offer: {
1522
- readonly type: 'object';
1523
- readonly additionalProperties: false;
1524
- readonly properties: {
1525
- readonly nominee: {
1526
- readonly type: 'object';
1527
- readonly additionalProperties: false;
1528
- readonly properties: {
1529
- readonly user: {
1530
- readonly $ref: '#/$defs/id';
1531
- };
1532
- readonly name: {
1533
- readonly type: 'string';
1534
- };
1535
- };
1536
- readonly required: readonly ['user', 'name'];
1537
- };
1538
- readonly expires: {
1539
- readonly type: 'string';
1540
- readonly format: 'date-time';
1541
- };
1542
- };
1543
- readonly required: readonly ['nominee', 'expires'];
1544
- };
1545
- readonly access: {
1546
- readonly enum: readonly ['owner', 'manage', 'edit', 'keep', 'open', 'search'];
1547
- };
1548
- readonly level: {
1549
- readonly enum: readonly ['search', 'open', 'keep'];
1550
- };
1551
- readonly only_while_online: {
1552
- readonly const: true;
1553
- };
1554
- readonly operations: {
1555
- readonly type: 'array';
1556
- readonly items: {
1557
- readonly type: 'string';
1558
- readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
1559
- };
1560
- };
1561
- readonly owner: {
1562
- readonly type: 'object';
1563
- readonly additionalProperties: false;
1564
- readonly properties: {
1565
- readonly name: {
1566
- readonly type: 'string';
1567
- };
1568
- };
1569
- readonly required: readonly ['name'];
1570
- };
1571
- readonly members: {
1572
- readonly type: 'integer';
1573
- readonly minimum: 0;
1574
- };
1575
- readonly triggers: {
1576
- readonly type: 'integer';
1577
- readonly minimum: 0;
1578
- };
1579
- readonly published: {
1580
- readonly enum: readonly ['yes', 'no'];
1581
- };
1582
- readonly intake: {
1583
- readonly enum: readonly ['yes', 'no'];
1584
- };
1585
- readonly size: {
1586
- readonly type: 'number';
1587
- };
1588
- readonly admission: {
1589
- readonly enum: readonly ['admitted', 'pending'];
1590
- };
1591
- readonly created: {
1592
- readonly type: 'string';
1593
- readonly format: 'date-time';
1594
- };
1595
- readonly archived: {
1596
- readonly type: 'string';
1597
- readonly format: 'date-time';
1598
- };
1599
- readonly public: {
1600
- readonly type: 'string';
1601
- readonly format: 'date-time';
1602
- };
1603
- readonly policy: {
1604
- readonly enum: readonly ['On', 'Off'];
1605
- };
1606
- readonly indexing: {
1607
- readonly type: 'array';
1608
- readonly items: {
1609
- readonly type: 'object';
1610
- readonly additionalProperties: false;
1611
- readonly properties: {
1612
- readonly path: {
1613
- readonly type: 'string';
1614
- readonly minLength: 1;
1615
- };
1616
- readonly policy: {
1617
- readonly enum: readonly ['On', 'Off'];
1618
- };
1619
- };
1620
- readonly required: readonly ['path', 'policy'];
1621
- };
1622
- };
1623
- readonly shared_schema: {
1624
- readonly type: 'object';
1625
- readonly additionalProperties: false;
1626
- readonly properties: {
1627
- readonly shared_schema: {
1628
- readonly $ref: '#/$defs/id';
1629
- };
1630
- readonly name: {
1631
- readonly type: 'string';
1632
- };
1633
- };
1634
- readonly required: readonly ['shared_schema', 'name'];
1635
- };
1636
- readonly roster: {
1637
- readonly type: 'array';
1638
- readonly items: {
1639
- readonly type: 'object';
1640
- readonly additionalProperties: false;
1641
- readonly properties: {
1642
- readonly user: {
1643
- readonly $ref: '#/$defs/id';
1644
- };
1645
- readonly name: {
1646
- readonly type: 'string';
1647
- };
1648
- readonly owner: {
1649
- readonly type: 'boolean';
1650
- };
1651
- readonly email: {
1652
- readonly type: 'string';
1653
- };
1654
- readonly admitted: {
1655
- readonly type: 'string';
1656
- readonly format: 'date-time';
1657
- };
1658
- readonly access: {
1659
- readonly type: 'string';
1660
- readonly enum: readonly ['owner', 'manage', 'edit', 'keep', 'open', 'search'];
1661
- };
1662
- readonly only_while_online: {
1663
- readonly const: true;
1664
- };
1665
- readonly document: {
1666
- readonly $ref: '#/$defs/document';
1667
- };
1668
- readonly schema_roles: {
1669
- readonly type: 'array';
1670
- readonly items: {
1671
- readonly type: 'string';
1672
- };
1673
- };
1674
- readonly held: {
1675
- readonly type: 'object';
1676
- readonly additionalProperties: false;
1677
- readonly properties: {
1678
- readonly level: {
1679
- readonly anyOf: readonly [{
1680
- readonly type: 'string';
1681
- readonly enum: readonly ['search', 'open', 'keep'];
1682
- }, {
1683
- readonly type: 'null';
1684
- }];
1685
- };
1686
- readonly operations: {
1687
- readonly type: 'array';
1688
- readonly items: {
1689
- readonly type: 'string';
1690
- readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
1691
- };
1692
- };
1693
- };
1694
- readonly required: readonly ['level', 'operations'];
1695
- };
1696
- };
1697
- readonly required: readonly ['user', 'name', 'owner', 'email'];
1698
- };
1699
- };
1700
- readonly rights: {
1701
- readonly type: 'array';
1702
- readonly items: {
1703
- readonly type: 'object';
1704
- readonly additionalProperties: false;
1705
- readonly properties: {
1706
- readonly user: {
1707
- readonly $ref: '#/$defs/id';
1708
- };
1709
- readonly name: {
1710
- readonly type: 'string';
1711
- };
1712
- readonly entries: {
1713
- readonly type: 'array';
1714
- readonly items: {
1715
- readonly type: 'object';
1716
- readonly additionalProperties: false;
1717
- readonly properties: {
1718
- readonly namespace: {
1719
- readonly $ref: '#/$defs/namespace';
1720
- };
1721
- readonly level: {
1722
- readonly anyOf: readonly [{
1723
- readonly type: 'string';
1724
- readonly enum: readonly ['search', 'open', 'keep'];
1725
- }, {
1726
- readonly type: 'null';
1727
- }];
1728
- };
1729
- readonly operations: {
1730
- readonly type: 'array';
1731
- readonly items: {
1732
- readonly type: 'string';
1733
- readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
1734
- };
1735
- };
1736
- readonly sources: {
1737
- readonly type: 'array';
1738
- readonly items: {
1739
- readonly type: 'object';
1740
- readonly additionalProperties: false;
1741
- readonly properties: {
1742
- readonly kind: {
1743
- readonly type: 'string';
1744
- readonly enum: readonly ['direct', 'inherited'];
1745
- };
1746
- readonly namespace: {
1747
- readonly $ref: '#/$defs/namespace';
1748
- };
1749
- readonly level: {
1750
- readonly anyOf: readonly [{
1751
- readonly type: 'string';
1752
- readonly enum: readonly ['search', 'open', 'keep'];
1753
- }, {
1754
- readonly type: 'null';
1755
- }];
1756
- };
1757
- readonly operations: {
1758
- readonly type: 'array';
1759
- readonly items: {
1760
- readonly type: 'string';
1761
- readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
1762
- };
1763
- };
1764
- };
1765
- readonly required: readonly ['kind', 'namespace', 'level', 'operations'];
1766
- };
1767
- };
1768
- };
1769
- readonly required: readonly ['namespace', 'level', 'operations', 'sources'];
1770
- };
1771
- };
1772
- readonly direct: {
1773
- readonly type: 'array';
1774
- readonly items: {
1775
- readonly type: 'object';
1776
- readonly additionalProperties: false;
1777
- readonly properties: {
1778
- readonly namespace: {
1779
- readonly $ref: '#/$defs/namespace';
1780
- };
1781
- readonly level: {
1782
- readonly anyOf: readonly [{
1783
- readonly type: 'string';
1784
- readonly enum: readonly ['search', 'open', 'keep'];
1785
- }, {
1786
- readonly type: 'null';
1787
- }];
1788
- };
1789
- readonly operations: {
1790
- readonly type: 'array';
1791
- readonly items: {
1792
- readonly type: 'string';
1793
- readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
1794
- };
1795
- };
1796
- };
1797
- readonly required: readonly ['namespace', 'level', 'operations'];
1798
- };
1799
- };
1800
- readonly admitted: {
1801
- readonly type: 'string';
1802
- readonly format: 'date-time';
1803
- };
1804
- readonly schema_roles: {
1805
- readonly type: 'array';
1806
- readonly items: {
1807
- readonly type: 'string';
1808
- };
1809
- };
1810
- };
1811
- readonly required: readonly ['user', 'name', 'entries', 'direct', 'schema_roles'];
1812
- };
1813
- };
1814
- readonly routines: {
1815
- readonly type: 'array';
1816
- readonly items: {
1817
- readonly type: 'object';
1818
- readonly additionalProperties: false;
1819
- readonly properties: {
1820
- readonly routine_access: {
1821
- readonly $ref: '#/$defs/id';
1822
- };
1823
- readonly agent: {
1824
- readonly $ref: '#/$defs/id';
1825
- };
1826
- readonly owner: {
1827
- readonly type: 'object';
1828
- readonly additionalProperties: false;
1829
- readonly properties: {
1830
- readonly name: {
1831
- readonly type: 'string';
1832
- };
1833
- };
1834
- readonly required: readonly ['name'];
1835
- };
1836
- readonly routine: {
1837
- readonly type: 'object';
1838
- readonly additionalProperties: false;
1839
- readonly properties: {
1840
- readonly name: {
1841
- readonly type: 'string';
1842
- };
1843
- readonly description: {
1844
- readonly type: 'string';
1845
- };
1846
- readonly input: {
1847
- readonly type: 'string';
1848
- };
1849
- readonly version: {
1850
- readonly type: 'integer';
1851
- readonly exclusiveMinimum: 0;
1852
- };
1853
- };
1854
- readonly required: readonly ['name', 'description', 'input', 'version'];
1855
- };
1856
- readonly starts_without_approval: {
1857
- readonly type: 'boolean';
1858
- };
1859
- readonly triggers: {
1860
- readonly type: 'boolean';
1861
- readonly const: true;
1862
- };
1863
- };
1864
- readonly required: readonly ['routine_access', 'agent', 'owner', 'routine'];
168
+ readonly required: readonly ['name', 'reaches'];
1865
169
  };
1866
170
  };
1867
- };
1868
- readonly required: readonly ['reflected', 'room', 'name', 'membership', 'access', 'admission', 'created', 'policy'];
1869
- };
1870
- readonly 'house-routine-access': {
1871
- readonly description: "One Routine Access this User granted, its `routine` by identifier and `name`, the `agent` it calls, its `room` and when it was `created`. While a scope is `selected_users`, each invokers or starters entry names one `user` by identifier with their account `email` and display `name` as of the last write of this document, or by identifier alone once that User has left the Room. An entry naming the Access's `room` admits the Room's Triggers as a caller, or lets them start without approval, whatever the scope. `allowance` is the daily request allowance every caller is under, absent when open, `0` excluding them. Each allowances entry names a caller under a value of their own instead: the `user` or the `room` and their `allowance`, or the caller alone when they have none. While `follow_up_scope` is `selected_users`, each follow_ups entry names one User who may send follow-up mail to the conversations their requests started, as invokers entries name them; `all_admitted` lets every User caller send it, and the Agent's owner always may. `mail_allowance` is the daily follow-up mail allowance every User caller is under, and each mail_allowances entry names a `user` under an `allowance` of their own. `last_failure` is the latest withdrawn request, whatever starts after it: its `origin`, `user` or `trigger`, its time `at` and its `reason`.";
1872
- readonly properties: {
1873
- readonly reflected: {
171
+ readonly expires_at: {
1874
172
  readonly type: 'string';
1875
173
  readonly format: 'date-time';
1876
174
  };
1877
- readonly routine_access: {
1878
- readonly $ref: '#/$defs/id';
1879
- };
1880
- readonly routine: {
1881
- readonly type: 'object';
1882
- readonly additionalProperties: false;
1883
- readonly properties: {
1884
- readonly routine: {
1885
- readonly $ref: '#/$defs/id';
1886
- };
1887
- readonly name: {
1888
- readonly type: 'string';
1889
- };
1890
- };
1891
- readonly required: readonly ['routine', 'name'];
1892
- };
1893
- readonly agent: {
175
+ readonly join_request: {
1894
176
  readonly $ref: '#/$defs/id';
1895
177
  };
1896
- readonly room: {
1897
- readonly $ref: '#/$defs/room';
1898
- };
1899
- readonly invoker_scope: {
1900
- readonly type: 'string';
1901
- readonly enum: readonly ['all_members', 'selected_users'];
1902
- };
1903
- readonly start_scope: {
1904
- readonly type: 'string';
1905
- readonly enum: readonly ['none', 'all_admitted', 'selected_users'];
1906
- };
1907
- readonly follow_up_scope: {
1908
- readonly type: 'string';
1909
- readonly enum: readonly ['none', 'all_admitted', 'selected_users'];
1910
- };
1911
- readonly created: {
1912
- readonly type: 'string';
1913
- readonly format: 'date-time';
1914
- };
1915
- readonly revoked: {
1916
- readonly type: 'string';
1917
- readonly format: 'date-time';
1918
- };
1919
- readonly invokers: {
1920
- readonly type: 'array';
1921
- readonly items: {
1922
- readonly $ref: '#/$defs/caller';
1923
- };
1924
- };
1925
- readonly starters: {
1926
- readonly type: 'array';
1927
- readonly items: {
1928
- readonly $ref: '#/$defs/caller';
1929
- };
1930
- };
1931
- readonly follow_ups: {
1932
- readonly type: 'array';
1933
- readonly items: {
1934
- readonly type: 'object';
1935
- readonly additionalProperties: false;
1936
- readonly properties: {
1937
- readonly user: {
1938
- readonly $ref: '#/$defs/id';
1939
- };
1940
- readonly email: {
1941
- readonly type: 'string';
1942
- };
1943
- readonly name: {
1944
- readonly type: 'string';
1945
- };
1946
- };
1947
- readonly required: readonly ['user'];
1948
- };
1949
- };
1950
- readonly allowance: {
1951
- readonly type: 'integer';
1952
- readonly minimum: 0;
1953
- };
1954
- readonly allowances: {
1955
- readonly type: 'array';
1956
- readonly items: {
1957
- readonly type: 'object';
1958
- readonly additionalProperties: false;
1959
- readonly properties: {
1960
- readonly user: {
1961
- readonly $ref: '#/$defs/id';
1962
- };
1963
- readonly room: {
1964
- readonly $ref: '#/$defs/room';
1965
- };
1966
- readonly allowance: {
1967
- readonly type: 'integer';
1968
- readonly minimum: 0;
1969
- };
1970
- };
1971
- readonly minProperties: 1;
1972
- };
1973
- };
1974
- readonly mail_allowance: {
1975
- readonly type: 'integer';
1976
- readonly minimum: 0;
1977
- };
1978
- readonly mail_allowances: {
1979
- readonly type: 'array';
1980
- readonly items: {
1981
- readonly type: 'object';
1982
- readonly additionalProperties: false;
1983
- readonly properties: {
1984
- readonly user: {
1985
- readonly $ref: '#/$defs/id';
1986
- };
1987
- readonly allowance: {
1988
- readonly type: 'integer';
1989
- readonly minimum: 0;
1990
- };
1991
- };
1992
- readonly required: readonly ['user', 'allowance'];
1993
- };
1994
- };
1995
- readonly last_failure: {
178
+ readonly user: {
1996
179
  readonly type: 'object';
1997
180
  readonly additionalProperties: false;
1998
181
  readonly properties: {
1999
- readonly origin: {
2000
- readonly enum: readonly ['user', 'trigger'];
2001
- };
2002
- readonly at: {
182
+ readonly name: {
2003
183
  readonly type: 'string';
2004
- readonly format: 'date-time';
2005
184
  };
2006
- readonly reason: {
185
+ readonly email: {
2007
186
  readonly type: 'string';
187
+ readonly format: 'email';
2008
188
  };
2009
189
  };
2010
- readonly required: readonly ['origin', 'at', 'reason'];
2011
- };
2012
- };
2013
- readonly required: readonly ['reflected', 'routine_access', 'routine', 'agent', 'room', 'invoker_scope', 'start_scope', 'follow_up_scope', 'created'];
2014
- };
2015
- readonly 'house-routine': {
2016
- readonly description: "One Routine that serves this Room, which House alone writes from its owner's document in their Private Room: the `routine` by identifier, its `description`, the `input` a caller sends, empty when it takes nothing, and the `agent` it starts, by `agent` and the `name` that Agent had when this card was last written. The Routine's instruction is never written here.";
2017
- readonly properties: {
2018
- readonly reflected: {
2019
- readonly type: 'string';
2020
- readonly format: 'date-time';
2021
- };
2022
- readonly routine: {
2023
- readonly $ref: '#/$defs/id';
2024
- };
2025
- readonly description: {
2026
- readonly type: 'string';
2027
- };
2028
- readonly input: {
2029
- readonly type: 'string';
190
+ readonly required: readonly ['name', 'email'];
2030
191
  };
2031
- readonly agent: {
192
+ readonly room: {
2032
193
  readonly type: 'object';
2033
194
  readonly additionalProperties: false;
2034
195
  readonly properties: {
2035
- readonly agent: {
2036
- readonly $ref: '#/$defs/id';
196
+ readonly room: {
197
+ readonly $ref: '#/$defs/room';
2037
198
  };
2038
199
  readonly name: {
2039
200
  readonly type: 'string';
2040
201
  };
2041
202
  };
2042
- readonly required: readonly ['agent', 'name'];
2043
- };
2044
- };
2045
- readonly required: readonly ['reflected', 'routine', 'description', 'input', 'agent'];
2046
- };
2047
- readonly 'house-service-key': {
2048
- readonly description: "One Service key a Room this User owns or manages holds, never the key itself: its `room`, its `name`, the one `origin` House sends it to, the `form` it is sent in, its `kind` with the header or query parameter `name` or the path `prefix`, and the address of its origin's icon once House kept one.";
2049
- readonly properties: {
2050
- readonly reflected: {
2051
- readonly type: 'string';
2052
- readonly format: 'date-time';
2053
- };
2054
- readonly service_key: {
2055
- readonly $ref: '#/$defs/id';
2056
- };
2057
- readonly room: {
2058
- readonly $ref: '#/$defs/room';
2059
- };
2060
- readonly name: {
2061
- readonly type: 'string';
2062
- };
2063
- readonly origin: {
2064
- readonly type: 'string';
2065
- readonly format: 'uri';
203
+ readonly minProperties: 1;
2066
204
  };
2067
- readonly form: {
205
+ readonly app: {
2068
206
  readonly type: 'object';
2069
207
  readonly additionalProperties: false;
2070
208
  readonly properties: {
2071
- readonly kind: {
2072
- readonly enum: readonly ['bearer', 'header', 'query', 'basic', 'path'];
209
+ readonly app: {
210
+ readonly $ref: '#/$defs/app';
2073
211
  };
2074
212
  readonly name: {
2075
213
  readonly type: 'string';
2076
214
  };
2077
- readonly prefix: {
2078
- readonly type: 'string';
2079
- };
2080
215
  };
2081
- readonly required: readonly ['kind'];
2082
- };
2083
- readonly icon: {
2084
- readonly type: 'string';
2085
- readonly pattern: '^\\/service-keys\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\/icon$';
216
+ readonly minProperties: 1;
2086
217
  };
2087
- };
2088
- readonly required: readonly ['reflected', 'service_key', 'room', 'name', 'origin', 'form'];
2089
- };
2090
- readonly 'house-share': {
2091
- readonly description: "One Share this User issued, kept until it expires or is cancelled. An email delivery carries `share_to`, the address this User entered, and `invited` `true` while that address has no account, so House sent it an invitation email; a link delivery never carries the link. Each item names its `kind`, `room` or `app`, the Room or App under that key with its `name`, its `state`, `offerable`, `held`, `accepted`, `declined`, `superseded` or `ended`, an item the accepted Share could not give being `ended` with its `cause`, `offer_changed` when the recipient's access changed before it was given or `manage_access_lost` when this User no longer managed it, for a Room item the `level` it grants, the `operations` it grants as this User chose them, the access word they earn as `access`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` at the Open level, and the Schema Roles its member gets as `roles` when it names any, and for an App item the external `origins` its latest release declared when this document was written, when it declared any. An App item is never shown `held`. Each pack entry names an App item's `app`, one of its `slot`s, and the `room` of the Room item that fills it, with that Room's `name`. Each `join_requests` entry of a link delivery names one Join request, its `state`, `waiting`, `approved` or `declined`, and the User it is `from` by account `email` and display `name` as House held them when this document was written, oldest first; the House approval path of a Join request is `/approve/` followed by its identifier.";
2092
- readonly properties: {
2093
- readonly reflected: {
2094
- readonly type: 'string';
2095
- readonly format: 'date-time';
218
+ readonly release: {
219
+ readonly type: 'integer';
220
+ readonly minimum: 1;
2096
221
  };
2097
- readonly share: {
222
+ readonly binding: {
2098
223
  readonly $ref: '#/$defs/id';
2099
224
  };
2100
- readonly share_link: {
2101
- readonly enum: readonly ['yes', 'no'];
2102
- };
2103
- readonly share_to: {
225
+ readonly slot: {
2104
226
  readonly type: 'string';
2105
- readonly format: 'email';
2106
227
  };
2107
- readonly invited: {
2108
- readonly const: true;
2109
- };
2110
- readonly items: {
228
+ readonly findings: {
2111
229
  readonly type: 'array';
2112
230
  readonly items: {
2113
- readonly type: 'object';
2114
- readonly additionalProperties: false;
2115
- readonly properties: {
2116
- readonly kind: {
2117
- readonly enum: readonly ['room', 'app'];
2118
- };
2119
- readonly name: {
2120
- readonly type: 'string';
2121
- };
2122
- readonly state: {
2123
- readonly enum: readonly ['offerable', 'held', 'accepted', 'declined', 'superseded', 'ended'];
2124
- };
2125
- readonly cause: {
2126
- readonly enum: readonly ['offer_changed', 'manage_access_lost'];
2127
- };
2128
- readonly level: {
2129
- readonly enum: readonly ['search', 'open', 'keep'];
2130
- };
2131
- readonly operations: {
2132
- readonly type: 'array';
2133
- readonly items: {
2134
- readonly type: 'string';
2135
- readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
2136
- };
2137
- };
2138
- readonly access: {
2139
- readonly enum: readonly ['manage', 'edit', 'keep', 'open', 'search'];
2140
- };
2141
- readonly only_while_online: {
2142
- readonly const: true;
2143
- };
2144
- readonly roles: {
2145
- readonly type: 'array';
2146
- readonly items: {
2147
- readonly type: 'string';
2148
- };
2149
- };
2150
- readonly origins: {
2151
- readonly type: 'array';
2152
- readonly items: {
2153
- readonly type: 'string';
2154
- readonly format: 'uri';
2155
- };
2156
- };
2157
- readonly room: {
2158
- readonly $ref: '#/$defs/room';
2159
- };
2160
- readonly app: {
2161
- readonly $ref: '#/$defs/app';
2162
- };
2163
- };
2164
- readonly required: readonly ['kind', 'name', 'state', 'operations'];
231
+ readonly type: 'string';
2165
232
  };
2166
233
  };
2167
- readonly pack: {
2168
- readonly type: 'array';
2169
- readonly items: {
2170
- readonly type: 'object';
2171
- readonly additionalProperties: false;
2172
- readonly properties: {
2173
- readonly app: {
2174
- readonly $ref: '#/$defs/app';
2175
- };
2176
- readonly slot: {
2177
- readonly type: 'string';
2178
- readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
2179
- };
2180
- readonly room: {
2181
- readonly type: 'object';
2182
- readonly additionalProperties: false;
2183
- readonly properties: {
2184
- readonly room: {
2185
- readonly $ref: '#/$defs/room';
2186
- };
2187
- readonly name: {
2188
- readonly type: 'string';
2189
- };
2190
- };
2191
- readonly required: readonly ['room', 'name'];
2192
- };
234
+ readonly caller: {
235
+ readonly type: 'object';
236
+ readonly additionalProperties: false;
237
+ readonly properties: {
238
+ readonly user: {
239
+ readonly $ref: '#/$defs/id';
2193
240
  };
2194
- readonly required: readonly ['app', 'slot', 'room'];
2195
- };
2196
- };
2197
- readonly join_requests: {
2198
- readonly type: 'array';
2199
- readonly items: {
2200
- readonly type: 'object';
2201
- readonly additionalProperties: false;
2202
- readonly properties: {
2203
- readonly join_request: {
2204
- readonly $ref: '#/$defs/id';
2205
- };
2206
- readonly state: {
2207
- readonly enum: readonly ['waiting', 'approved', 'declined'];
2208
- };
2209
- readonly from: {
2210
- readonly type: 'object';
2211
- readonly additionalProperties: false;
2212
- readonly properties: {
2213
- readonly email: {
2214
- readonly type: 'string';
2215
- };
2216
- readonly name: {
2217
- readonly type: 'string';
2218
- };
2219
- };
2220
- readonly required: readonly ['email', 'name'];
2221
- };
241
+ readonly name: {
242
+ readonly type: 'string';
2222
243
  };
2223
- readonly required: readonly ['join_request', 'state', 'from'];
2224
244
  };
245
+ readonly required: readonly ['user', 'name'];
2225
246
  };
2226
- readonly created: {
2227
- readonly type: 'string';
2228
- readonly format: 'date-time';
2229
- };
2230
- readonly expires: {
2231
- readonly type: 'string';
2232
- readonly format: 'date-time';
2233
- };
2234
- };
2235
- readonly required: readonly ['reflected', 'share', 'share_link', 'created', 'expires'];
2236
- };
2237
- readonly 'house-share-offer': {
2238
- readonly description: "One live Share offered to this User by email while an item of it is still offered, `from` its issuer by display `name` and account `email`. Each item names its `kind`, `room` or `app`, its `name`, its `state` for this User, `offerable`, `held`, `accepted`, `declined`, `superseded` or `ended`, an item the accepted Share could not give being `ended` with its `cause`, `offer_changed` when this User's access changed before it was given or `manage_access_lost` when its issuer no longer managed it, for a Room item the `level` it grants, the `operations` it grants and the access word they earn as `access`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` at the Open level; it carries no reference. A Room item's access level and operations are the ones its issuer chose for the Room's content; its holder reads the Room's settings at that level, and holds `manageAccess` over its document model when it names `manageAccess`. A Room item naming Schema Roles names them as `roles`, which accepting the Share adds to this User's own in that Room. An App item grants use of the App and never its source, is never shown `held`, and names as `origins` the external origins its latest release declared when this document was written, when it declared any, which accepting the Share lets its code reach. Each pack entry names an offered `app`, one of its `slot`s, and the offered `room` that fills it, each by `name`. Names are as House held them when this document was written. The page is the House approval path where this User accepts or declines the whole Share.";
2239
- readonly properties: {
2240
- readonly reflected: {
2241
- readonly type: 'string';
2242
- readonly format: 'date-time';
2243
- };
2244
- readonly share: {
247
+ readonly ownership_offer: {
2245
248
  readonly $ref: '#/$defs/id';
2246
249
  };
2247
- readonly from: {
250
+ readonly offerer: {
2248
251
  readonly type: 'object';
2249
252
  readonly additionalProperties: false;
2250
253
  readonly properties: {
@@ -2258,366 +261,228 @@ export declare const HOUSE_MODEL_DECLARATION: {
2258
261
  };
2259
262
  readonly required: readonly ['name', 'email'];
2260
263
  };
2261
- readonly page: {
2262
- readonly type: 'string';
2263
- readonly pattern: '^\\/approve\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
2264
- };
2265
- readonly items: {
2266
- readonly type: 'array';
2267
- readonly items: {
2268
- readonly type: 'object';
2269
- readonly additionalProperties: false;
2270
- readonly properties: {
2271
- readonly kind: {
2272
- readonly enum: readonly ['room', 'app'];
2273
- };
2274
- readonly name: {
2275
- readonly type: 'string';
2276
- };
2277
- readonly state: {
2278
- readonly enum: readonly ['offerable', 'held', 'accepted', 'declined', 'superseded', 'ended'];
2279
- };
2280
- readonly cause: {
2281
- readonly enum: readonly ['offer_changed', 'manage_access_lost'];
2282
- };
2283
- readonly level: {
2284
- readonly enum: readonly ['search', 'open', 'keep'];
2285
- };
2286
- readonly operations: {
2287
- readonly type: 'array';
2288
- readonly items: {
2289
- readonly type: 'string';
2290
- readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
2291
- };
2292
- };
2293
- readonly access: {
2294
- readonly enum: readonly ['manage', 'edit', 'keep', 'open', 'search'];
2295
- };
2296
- readonly only_while_online: {
2297
- readonly const: true;
2298
- };
2299
- readonly roles: {
2300
- readonly type: 'array';
2301
- readonly items: {
2302
- readonly type: 'string';
2303
- };
2304
- };
2305
- readonly origins: {
2306
- readonly type: 'array';
2307
- readonly items: {
2308
- readonly type: 'string';
2309
- readonly format: 'uri';
2310
- };
2311
- };
264
+ readonly environment: {
265
+ readonly type: 'object';
266
+ readonly additionalProperties: false;
267
+ readonly properties: {
268
+ readonly environment: {
269
+ readonly $ref: '#/$defs/id';
2312
270
  };
2313
- readonly required: readonly ['kind', 'name', 'state', 'operations'];
2314
- };
2315
- };
2316
- readonly pack: {
2317
- readonly type: 'array';
2318
- readonly items: {
2319
- readonly type: 'object';
2320
- readonly additionalProperties: false;
2321
- readonly properties: {
2322
- readonly app: {
2323
- readonly type: 'object';
2324
- readonly additionalProperties: false;
2325
- readonly properties: {
2326
- readonly name: {
2327
- readonly type: 'string';
2328
- };
2329
- };
2330
- readonly required: readonly ['name'];
2331
- };
2332
- readonly slot: {
2333
- readonly type: 'string';
2334
- readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
2335
- };
2336
- readonly room: {
2337
- readonly type: 'object';
2338
- readonly additionalProperties: false;
2339
- readonly properties: {
2340
- readonly name: {
2341
- readonly type: 'string';
2342
- };
2343
- };
2344
- readonly required: readonly ['name'];
2345
- };
271
+ readonly name: {
272
+ readonly type: 'string';
273
+ };
274
+ readonly kind: {
275
+ readonly enum: readonly ['vps', 'sandbox'];
2346
276
  };
2347
- readonly required: readonly ['app', 'slot', 'room'];
2348
277
  };
278
+ readonly required: readonly ['environment', 'name'];
2349
279
  };
2350
- readonly created: {
280
+ readonly reason: {
281
+ readonly type: 'string';
282
+ };
283
+ readonly deadline: {
2351
284
  readonly type: 'string';
2352
285
  readonly format: 'date-time';
2353
286
  };
2354
- readonly expires: {
287
+ readonly operation_kind: {
288
+ readonly type: 'string';
289
+ };
290
+ readonly free: {
291
+ readonly type: 'object';
292
+ readonly additionalProperties: false;
293
+ readonly properties: {
294
+ readonly held: {
295
+ readonly type: 'string';
296
+ readonly pattern: '^\\d+$';
297
+ };
298
+ readonly limit: {
299
+ readonly type: 'string';
300
+ readonly pattern: '^[1-9]\\d*$';
301
+ };
302
+ readonly measure: {
303
+ readonly type: 'string';
304
+ readonly enum: readonly ['content', 'retained'];
305
+ };
306
+ };
307
+ readonly required: readonly ['held', 'limit', 'measure'];
308
+ };
309
+ readonly budget: {
2355
310
  readonly type: 'string';
2356
- readonly format: 'date-time';
311
+ readonly pattern: '^\\d+(?:\\.\\d+)?$';
2357
312
  };
2358
- };
2359
- readonly required: readonly ['reflected', 'share', 'from', 'page', 'created', 'expires'];
2360
- };
2361
- readonly 'house-site': {
2362
- readonly description: "One Site this User owns: its `name`, its address under this environment's Site suffix, its own `app`, the tab icon it shows, the one this User set for the Site while `tab_icon_from` is `site` and that App's while it is `app`, the running `release` of that App, which the Site serves, by `release` and `sequence`, its title and `intake_room`, the Intake Room by its `room`, whether an operator disabled it, its mode, and every Room slot of that release in its order. Each slot names its `slot` and as `entries` each Room its list holds, in list order, by its `room`, with that entry's address `segment` and the last `compatibility` outcome of that entry; a slot that lists no Room has no entry. Each finding names its `slot`, its `room` and one exact structural `finding` of that Room against the slot. An incompatible entry stays listed and blocks nothing. `release` is absent until that App's first release. `disabled` is `yes` while an operator holds the Site disabled, and `disabled_reason` carries the reason the operator stated; visitors then find the Site unavailable, this User may still change or delete it, and only an operator enables it again. `mode` is `snapshot` while visitors see the Published Snapshot `publication` names, or `live` while they see what its Rooms hold as it changes, which needs Full House; only this User changes it. `unpublished` is `yes` while this User holds the Site unpublished: visitors then find it unavailable at every address and nothing else changes, and only this User's republication serves it again; an operator's enable never does. `suspended` is `yes` while visitors find the Site unavailable at every address for the reason `suspended_reason` names: `full_house_required` while the Site is `live` and this User lacks Full House, or `public_delivery_limit` while what House's server sent for this User's Sites this UTC month has reached this User's Public delivery limit, unless `public_overage` is `on` while this User holds Full House. A suspension keeps the publication, the addresses, the Custom domains and every act of this User's, and ends by itself at the next UTC month, when this User gains Full House or when `public_overage` turns `on` while this User holds Full House; it lifts no Unpublish and no operator's disable. `public_overage` is `on` while this User keeps the Site serving past the Public delivery limit, which it does only while this User holds Full House; what it sends past the limit is charged as overage. It stays `on` when Full House ends and acts again when Full House returns. `publication` is the Published Snapshot the Site serves, or serves once republished, absent while it holds none. `acts` names the publication acts this User may take now: `unpublish` while the Site is published, `republish` while it is unpublished and holds a publication to serve; Publish data also serves an unpublished Site again, with what its Rooms hold. A cleared title is absent. `description` carries presentation. `screenshot` is the address of the image House captured of the Site at its primary address after a release, which a shared link to the Site shows, absent before the first capture. `analytics` is the owner's measurement ID the Site loads its analytics tag with, absent while unset. `indexing` is the search-engines-and-agents switch: while it is `yes`, the Site serves its documents as Markdown and lists them in its indexes. `entry_fallback` names the last time this release's Entry Data Contract could not serve an Entry Page as HTML: its `cause` (`over_bound`, `query_refused` or `unavailable`), the `route` and when it was `recorded`; that page then started the App as usual. `external_origins` names the declared external origins of that release. `notify_me` is `on` while the Site's notification Trigger is present and enabled in its Intake Room. `addresses` lists every address the Site answers at: its address under the Site suffix and each active Custom domain; every address other than `primary_address` redirects to it. Each `domains` entry names one Custom domain's `host`, its `state`, `pending`, `active` or `failed`, the DNS alias target its hostname must point at as `dns_target`, which is this environment's and the same for every domain, and the edge's `reason` when it gives one.";
2363
- readonly properties: {
2364
- readonly reflected: {
313
+ readonly resets_at: {
2365
314
  readonly type: 'string';
2366
315
  readonly format: 'date-time';
2367
316
  };
2368
- readonly site: {
317
+ readonly grant: {
2369
318
  readonly $ref: '#/$defs/id';
2370
319
  };
2371
- readonly name: {
320
+ readonly category: {
2372
321
  readonly type: 'string';
2373
322
  };
2374
- readonly address: {
323
+ readonly access_started_at: {
2375
324
  readonly type: 'string';
2376
- readonly format: 'uri';
325
+ readonly format: 'date-time';
326
+ };
327
+ readonly access_ended_at: {
328
+ readonly type: 'string';
329
+ readonly format: 'date-time';
2377
330
  };
2378
- readonly addresses: {
331
+ readonly systems: {
2379
332
  readonly type: 'array';
2380
333
  readonly items: {
2381
334
  readonly type: 'string';
2382
- readonly format: 'uri';
2383
335
  };
2384
336
  };
2385
- readonly primary_address: {
337
+ readonly case_reference: {
2386
338
  readonly type: 'string';
2387
- readonly format: 'uri';
2388
339
  };
2389
- readonly domains: {
2390
- readonly type: 'array';
2391
- readonly items: {
2392
- readonly type: 'object';
2393
- readonly additionalProperties: false;
2394
- readonly properties: {
2395
- readonly host: {
2396
- readonly type: 'string';
2397
- };
2398
- readonly state: {
2399
- readonly enum: readonly ['pending', 'active', 'failed'];
2400
- };
2401
- readonly dns_target: {
2402
- readonly type: 'string';
2403
- };
2404
- readonly reason: {
2405
- readonly type: 'string';
2406
- };
340
+ readonly routine_request: {
341
+ readonly $ref: '#/$defs/id';
342
+ };
343
+ readonly requester: {
344
+ readonly type: 'object';
345
+ readonly additionalProperties: false;
346
+ readonly properties: {
347
+ readonly name: {
348
+ readonly type: 'string';
2407
349
  };
2408
- readonly required: readonly ['host', 'state', 'dns_target'];
2409
350
  };
351
+ readonly required: readonly ['name'];
2410
352
  };
2411
- readonly app: {
2412
- readonly $ref: '#/$defs/app';
2413
- };
2414
- readonly tab_icon_light: {
2415
- readonly type: 'string';
2416
- readonly pattern: '^data:image\\/';
353
+ readonly agent: {
354
+ readonly type: 'object';
355
+ readonly additionalProperties: false;
356
+ readonly properties: {
357
+ readonly agent: {
358
+ readonly $ref: '#/$defs/id';
359
+ };
360
+ readonly name: {
361
+ readonly type: 'string';
362
+ };
363
+ };
364
+ readonly required: readonly ['name'];
2417
365
  };
2418
- readonly tab_icon_dark: {
2419
- readonly type: 'string';
2420
- readonly pattern: '^data:image\\/';
366
+ readonly conversation: {
367
+ readonly $ref: '#/$defs/id';
2421
368
  };
2422
- readonly tab_icon_colours: {
2423
- readonly type: 'array';
2424
- readonly items: {
2425
- readonly type: 'string';
2426
- readonly pattern: '^#[0-9a-f]{6}$';
369
+ readonly routine: {
370
+ readonly type: 'object';
371
+ readonly additionalProperties: false;
372
+ readonly properties: {
373
+ readonly name: {
374
+ readonly type: 'string';
375
+ };
376
+ readonly version: {
377
+ readonly type: 'integer';
378
+ readonly minimum: 1;
379
+ };
2427
380
  };
381
+ readonly required: readonly ['name'];
2428
382
  };
2429
- readonly tab_icon_blend: {
2430
- readonly enum: readonly ['linear', 'radial'];
383
+ readonly export: {
384
+ readonly $ref: '#/$defs/id';
2431
385
  };
2432
- readonly tab_icon_angle: {
386
+ readonly size_bytes: {
2433
387
  readonly type: 'integer';
2434
388
  readonly minimum: 0;
2435
- readonly maximum: 359;
2436
389
  };
2437
- readonly tab_icon_from: {
2438
- readonly enum: readonly ['site', 'app'];
2439
- };
2440
- readonly release: {
390
+ readonly site: {
2441
391
  readonly type: 'object';
2442
392
  readonly additionalProperties: false;
2443
393
  readonly properties: {
2444
- readonly release: {
394
+ readonly site: {
2445
395
  readonly $ref: '#/$defs/id';
2446
396
  };
2447
- readonly sequence: {
2448
- readonly type: 'integer';
2449
- readonly exclusiveMinimum: 0;
397
+ readonly name: {
398
+ readonly type: 'string';
2450
399
  };
2451
400
  };
2452
- readonly required: readonly ['release', 'sequence'];
401
+ readonly required: readonly ['site', 'name'];
2453
402
  };
2454
- readonly title: {
403
+ readonly address: {
2455
404
  readonly type: 'string';
405
+ readonly maxLength: 300;
406
+ readonly format: 'uri';
2456
407
  };
2457
- readonly description: {
2458
- readonly type: 'string';
408
+ readonly copies: {
409
+ readonly type: 'integer';
410
+ readonly minimum: 0;
411
+ };
412
+ readonly bound: {
413
+ readonly type: 'integer';
414
+ readonly minimum: 0;
2459
415
  };
2460
- readonly screenshot: {
416
+ readonly title: {
2461
417
  readonly type: 'string';
2462
- readonly format: 'uri';
2463
418
  };
2464
- readonly analytics: {
419
+ readonly body: {
2465
420
  readonly type: 'string';
2466
- readonly pattern: '^G-[A-Z0-9]{1,32}$';
2467
421
  };
2468
- readonly intake_room: {
422
+ readonly authorship: {
2469
423
  readonly type: 'object';
2470
424
  readonly additionalProperties: false;
2471
425
  readonly properties: {
2472
- readonly room: {
2473
- readonly $ref: '#/$defs/room';
426
+ readonly kind: {
427
+ readonly type: 'string';
428
+ readonly const: 'trigger-action';
429
+ };
430
+ readonly trigger: {
431
+ readonly $ref: '#/$defs/id';
432
+ };
433
+ readonly position: {
434
+ readonly type: 'integer';
435
+ readonly minimum: 0;
2474
436
  };
2475
437
  };
2476
- readonly required: readonly ['room'];
2477
- };
2478
- readonly external_origins: {
2479
- readonly type: 'array';
2480
- readonly items: {
2481
- readonly type: 'string';
2482
- readonly format: 'uri';
2483
- };
2484
- };
2485
- readonly disabled: {
2486
- readonly enum: readonly ['yes', 'no'];
438
+ readonly required: readonly ['kind', 'trigger', 'position'];
2487
439
  };
2488
- readonly disabled_reason: {
440
+ readonly path: {
2489
441
  readonly type: 'string';
442
+ readonly maxLength: 4096;
443
+ readonly pattern: '^\\/.*';
2490
444
  };
2491
- readonly mode: {
2492
- readonly enum: readonly ['snapshot', 'live'];
2493
- };
2494
- readonly unpublished: {
2495
- readonly enum: readonly ['yes', 'no'];
2496
- };
2497
- readonly suspended: {
2498
- readonly enum: readonly ['yes', 'no'];
2499
- };
2500
- readonly suspended_reason: {
445
+ };
446
+ readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
447
+ };
448
+ readonly 'house-panel-preferences': {
449
+ readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
450
+ readonly properties: {};
451
+ };
452
+ readonly 'house-routine': {
453
+ readonly description: "One Routine that serves this Room, which House alone writes from its owner's document in their Private Room: the `routine` by identifier, its `description`, the `input` a caller sends, empty when it takes nothing, and the `agent` it starts, by `agent` and the `name` that Agent had when this card was last written. The Routine's instruction is never written here.";
454
+ readonly properties: {
455
+ readonly reflected: {
2501
456
  readonly type: 'string';
2502
- readonly enum: readonly ['full_house_required', 'public_delivery_limit'];
2503
- };
2504
- readonly public_overage: {
2505
- readonly enum: readonly ['on', 'off'];
457
+ readonly format: 'date-time';
2506
458
  };
2507
- readonly publication: {
459
+ readonly routine: {
2508
460
  readonly $ref: '#/$defs/id';
2509
461
  };
2510
- readonly acts: {
2511
- readonly type: 'array';
2512
- readonly items: {
2513
- readonly type: 'string';
2514
- readonly enum: readonly ['unpublish', 'republish'];
2515
- };
462
+ readonly description: {
463
+ readonly type: 'string';
2516
464
  };
2517
- readonly indexing: {
2518
- readonly enum: readonly ['yes', 'no'];
465
+ readonly input: {
466
+ readonly type: 'string';
2519
467
  };
2520
- readonly entry_fallback: {
468
+ readonly agent: {
2521
469
  readonly type: 'object';
2522
470
  readonly additionalProperties: false;
2523
471
  readonly properties: {
2524
- readonly cause: {
2525
- readonly enum: readonly ['over_bound', 'query_refused', 'unavailable'];
2526
- };
2527
- readonly route: {
2528
- readonly type: 'string';
472
+ readonly agent: {
473
+ readonly $ref: '#/$defs/id';
2529
474
  };
2530
- readonly recorded: {
475
+ readonly name: {
2531
476
  readonly type: 'string';
2532
- readonly format: 'date-time';
2533
- };
2534
- };
2535
- readonly required: readonly ['cause', 'route', 'recorded'];
2536
- };
2537
- readonly created: {
2538
- readonly type: 'string';
2539
- readonly format: 'date-time';
2540
- };
2541
- readonly new_browsers: {
2542
- readonly type: 'integer';
2543
- readonly minimum: 0;
2544
- };
2545
- readonly submissions: {
2546
- readonly type: 'integer';
2547
- readonly minimum: 0;
2548
- };
2549
- readonly notify_me: {
2550
- readonly enum: readonly ['on', 'off'];
2551
- };
2552
- readonly image_copies: {
2553
- readonly type: 'integer';
2554
- readonly minimum: 0;
2555
- };
2556
- readonly image_copy_bound: {
2557
- readonly type: 'integer';
2558
- readonly minimum: 0;
2559
- };
2560
- readonly image_copy_limit_reached: {
2561
- readonly enum: readonly ['yes', 'no'];
2562
- };
2563
- readonly slots: {
2564
- readonly type: 'array';
2565
- readonly items: {
2566
- readonly type: 'object';
2567
- readonly additionalProperties: false;
2568
- readonly properties: {
2569
- readonly slot: {
2570
- readonly type: 'string';
2571
- readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
2572
- };
2573
- readonly entries: {
2574
- readonly type: 'array';
2575
- readonly items: {
2576
- readonly type: 'object';
2577
- readonly additionalProperties: false;
2578
- readonly properties: {
2579
- readonly room: {
2580
- readonly $ref: '#/$defs/room';
2581
- };
2582
- readonly segment: {
2583
- readonly type: 'string';
2584
- };
2585
- readonly compatibility: {
2586
- readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
2587
- };
2588
- };
2589
- readonly required: readonly ['room', 'segment', 'compatibility'];
2590
- };
2591
- };
2592
- };
2593
- readonly required: readonly ['slot', 'entries'];
2594
- };
2595
- };
2596
- readonly findings: {
2597
- readonly type: 'array';
2598
- readonly items: {
2599
- readonly type: 'object';
2600
- readonly additionalProperties: false;
2601
- readonly properties: {
2602
- readonly slot: {
2603
- readonly type: 'string';
2604
- readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
2605
- };
2606
- readonly room: {
2607
- readonly $ref: '#/$defs/room';
2608
- };
2609
- readonly finding: {
2610
- readonly type: 'string';
2611
- };
2612
477
  };
2613
- readonly required: readonly ['slot', 'room', 'finding'];
2614
478
  };
479
+ readonly required: readonly ['agent', 'name'];
2615
480
  };
2616
481
  };
2617
- readonly required: readonly ['reflected', 'site', 'name', 'address', 'primary_address', 'app', 'tab_icon_from', 'disabled', 'mode', 'unpublished', 'suspended', 'public_overage', 'indexing', 'created', 'new_browsers', 'submissions', 'notify_me', 'image_copies', 'image_copy_bound', 'image_copy_limit_reached'];
482
+ readonly required: readonly ['reflected', 'routine', 'description', 'input', 'agent'];
2618
483
  };
2619
484
  readonly 'house-trigger': {
2620
- readonly description: "One Trigger of this Room as its acts wrote it, which House alone writes: its `description`, the `condition` it fires on, its `actions` in order, whether each action and the Trigger are `enabled`, `paused_by` `types` while a change of the Room's types paused it, its `creator` by `user` and the `name` they had then, and when it was `created`. A `notify` action reaches the `users` its `to` names, the members its `fields` name in the matched document and the holders of its `roles`; a `routine` action sends its `payload` through its `routine_access`; a `function` action runs the `function` its `app`'s latest release declares, on House's servers, or, naming no `app`, the Room owner's Environment function of that name on its Environment, which only a Trigger of their Private Room holds. Whether an action's target holds is not written: it follows from the Room's members, the Routine Access, the App's latest release and the owner's functions.";
485
+ readonly description: "One Trigger of this Room as its acts wrote it, which House alone writes: its `description`, the `condition` it fires on, its `actions` in order, whether each action and the Trigger are `enabled`, `paused_by` `types` while a change of the Room's types paused it, its `creator` by `user` and the `name` they had then, and when it was `created`. A `notify` action reaches the `users` its `to` names, the members its `fields` name in the matched document and the holders of its `roles`; a `routine` action sends its `payload` to the Routine whose card under this Room's `house/routines/` its `card` names, absent while this Room holds no card of that Routine; a `message` action puts its `text` into the active conversation that Routine started for what the Event is about, or starts that Routine when none is active; a `done` action marks Done every active conversation a Routine Request of this Room started for the Event's document; a `function` action runs the `function` its `app`'s latest release declares, on House's servers, or, naming no `app`, the Room owner's Environment function of that name on its Environment, which only a Trigger of their Private Room holds. Whether an action's target holds is not written: it follows from the Room's members, the Routine's card, the App's latest release and the owner's functions.";
2621
486
  readonly properties: {
2622
487
  readonly reflected: {
2623
488
  readonly type: 'string';
@@ -2728,6 +593,18 @@ export declare const HOUSE_MODEL_DECLARATION: {
2728
593
  };
2729
594
  };
2730
595
  readonly required: readonly ['on'];
596
+ }, {
597
+ readonly type: 'object';
598
+ readonly additionalProperties: false;
599
+ readonly properties: {
600
+ readonly on: {
601
+ readonly const: 'messages';
602
+ };
603
+ readonly match: {
604
+ readonly $ref: '#/$defs/trigger_test';
605
+ };
606
+ };
607
+ readonly required: readonly ['on'];
2731
608
  }, {
2732
609
  readonly type: 'object';
2733
610
  readonly additionalProperties: false;
@@ -2842,14 +719,46 @@ export declare const HOUSE_MODEL_DECLARATION: {
2842
719
  readonly enabled: {
2843
720
  readonly type: 'boolean';
2844
721
  };
2845
- readonly routine_access: {
2846
- readonly $ref: '#/$defs/id';
722
+ readonly card: {
723
+ readonly type: 'string';
724
+ readonly minLength: 1;
2847
725
  };
2848
726
  readonly payload: {
2849
727
  readonly type: 'string';
2850
728
  };
2851
729
  };
2852
730
  readonly required: readonly ['kind', 'enabled', 'payload'];
731
+ }, {
732
+ readonly type: 'object';
733
+ readonly additionalProperties: false;
734
+ readonly properties: {
735
+ readonly kind: {
736
+ readonly const: 'message';
737
+ };
738
+ readonly enabled: {
739
+ readonly type: 'boolean';
740
+ };
741
+ readonly card: {
742
+ readonly type: 'string';
743
+ readonly minLength: 1;
744
+ };
745
+ readonly text: {
746
+ readonly type: 'string';
747
+ };
748
+ };
749
+ readonly required: readonly ['kind', 'enabled', 'text'];
750
+ }, {
751
+ readonly type: 'object';
752
+ readonly additionalProperties: false;
753
+ readonly properties: {
754
+ readonly kind: {
755
+ readonly const: 'done';
756
+ };
757
+ readonly enabled: {
758
+ readonly type: 'boolean';
759
+ };
760
+ };
761
+ readonly required: readonly ['kind', 'enabled'];
2853
762
  }, {
2854
763
  readonly type: 'object';
2855
764
  readonly additionalProperties: false;