@agentshouse/mdruntime-adapter 0.1.0-c392f202fd8ec → 0.1.0-c3a7788c02a90

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';
@@ -890,25 +765,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
890
765
  };
891
766
  readonly required: readonly ['reflected'];
892
767
  };
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
768
  readonly 'house-notification': {
913
769
  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
770
  readonly properties: {
@@ -1346,54 +1202,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
1346
1202
  };
1347
1203
  readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
1348
1204
  };
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
1205
  readonly 'house-panel-preferences': {
1398
1206
  readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
1399
1207
  readonly properties: {};
@@ -1417,1049 +1225,140 @@ export declare const HOUSE_MODEL_DECLARATION: {
1417
1225
  };
1418
1226
  readonly required: readonly ['reflected', 'name', 'email'];
1419
1227
  };
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.';
1228
+ readonly 'house-routine': {
1229
+ 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.";
1422
1230
  readonly properties: {
1423
1231
  readonly reflected: {
1424
1232
  readonly type: 'string';
1425
1233
  readonly format: 'date-time';
1426
1234
  };
1427
- readonly room: {
1428
- readonly $ref: '#/$defs/room';
1235
+ readonly routine: {
1236
+ readonly $ref: '#/$defs/id';
1429
1237
  };
1430
- readonly handle: {
1238
+ readonly description: {
1431
1239
  readonly type: 'string';
1432
- readonly minLength: 6;
1433
- readonly maxLength: 63;
1434
- readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
1435
1240
  };
1436
- readonly name: {
1241
+ readonly input: {
1437
1242
  readonly type: 'string';
1438
1243
  };
1439
- readonly archived: {
1440
- readonly type: 'string';
1441
- readonly format: 'date-time';
1244
+ readonly agent: {
1245
+ readonly type: 'object';
1246
+ readonly additionalProperties: false;
1247
+ readonly properties: {
1248
+ readonly agent: {
1249
+ readonly $ref: '#/$defs/id';
1250
+ };
1251
+ readonly name: {
1252
+ readonly type: 'string';
1253
+ };
1254
+ };
1255
+ readonly required: readonly ['agent', 'name'];
1442
1256
  };
1443
1257
  };
1444
- readonly required: readonly ['reflected', 'room', 'handle', 'name'];
1258
+ readonly required: readonly ['reflected', 'routine', 'description', 'input', 'agent'];
1445
1259
  };
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`.";
1260
+ readonly 'house-site': {
1261
+ 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, and is absent on a Building that offers no Public overage. `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.";
1448
1262
  readonly properties: {
1449
1263
  readonly reflected: {
1450
1264
  readonly type: 'string';
1451
1265
  readonly format: 'date-time';
1452
1266
  };
1453
- readonly push_address: {
1267
+ readonly site: {
1454
1268
  readonly $ref: '#/$defs/id';
1455
1269
  };
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: {
1270
+ readonly name: {
1466
1271
  readonly type: 'string';
1467
1272
  };
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: {
1273
+ readonly address: {
1475
1274
  readonly type: 'string';
1476
- readonly format: 'date-time';
1477
- };
1478
- readonly room: {
1479
- readonly $ref: '#/$defs/room';
1275
+ readonly format: 'uri';
1480
1276
  };
1481
- readonly current: {
1277
+ readonly addresses: {
1482
1278
  readonly type: 'array';
1483
1279
  readonly items: {
1484
- readonly $ref: '#/$defs/request';
1280
+ readonly type: 'string';
1281
+ readonly format: 'uri';
1485
1282
  };
1486
1283
  };
1487
- readonly history: {
1284
+ readonly primary_address: {
1285
+ readonly type: 'string';
1286
+ readonly format: 'uri';
1287
+ };
1288
+ readonly domains: {
1488
1289
  readonly type: 'array';
1489
1290
  readonly items: {
1490
- readonly $ref: '#/$defs/request';
1291
+ readonly type: 'object';
1292
+ readonly additionalProperties: false;
1293
+ readonly properties: {
1294
+ readonly host: {
1295
+ readonly type: 'string';
1296
+ };
1297
+ readonly state: {
1298
+ readonly enum: readonly ['pending', 'active', 'failed'];
1299
+ };
1300
+ readonly dns_target: {
1301
+ readonly type: 'string';
1302
+ };
1303
+ readonly reason: {
1304
+ readonly type: 'string';
1305
+ };
1306
+ };
1307
+ readonly required: readonly ['host', 'state', 'dns_target'];
1491
1308
  };
1492
1309
  };
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';
1310
+ readonly app: {
1311
+ readonly $ref: '#/$defs/app';
1505
1312
  };
1506
- readonly handle: {
1313
+ readonly tab_icon_light: {
1507
1314
  readonly type: 'string';
1508
- readonly minLength: 6;
1509
- readonly maxLength: 63;
1510
- readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
1315
+ readonly pattern: '^data:image\\/';
1511
1316
  };
1512
- readonly name: {
1317
+ readonly tab_icon_dark: {
1513
1318
  readonly type: 'string';
1319
+ readonly pattern: '^data:image\\/';
1514
1320
  };
1515
- readonly my_room: {
1516
- readonly const: true;
1321
+ readonly tab_icon_colours: {
1322
+ readonly type: 'array';
1323
+ readonly items: {
1324
+ readonly type: 'string';
1325
+ readonly pattern: '^#[0-9a-f]{6}$';
1326
+ };
1517
1327
  };
1518
- readonly membership: {
1519
- readonly enum: readonly ['owner', 'member'];
1328
+ readonly tab_icon_blend: {
1329
+ readonly enum: readonly ['linear', 'radial'];
1520
1330
  };
1521
- readonly ownership_offer: {
1331
+ readonly tab_icon_angle: {
1332
+ readonly type: 'integer';
1333
+ readonly minimum: 0;
1334
+ readonly maximum: 359;
1335
+ };
1336
+ readonly tab_icon_from: {
1337
+ readonly enum: readonly ['site', 'app'];
1338
+ };
1339
+ readonly release: {
1522
1340
  readonly type: 'object';
1523
1341
  readonly additionalProperties: false;
1524
1342
  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'];
1343
+ readonly release: {
1344
+ readonly $ref: '#/$defs/id';
1537
1345
  };
1538
- readonly expires: {
1539
- readonly type: 'string';
1540
- readonly format: 'date-time';
1346
+ readonly sequence: {
1347
+ readonly type: 'integer';
1348
+ readonly exclusiveMinimum: 0;
1541
1349
  };
1542
1350
  };
1543
- readonly required: readonly ['nominee', 'expires'];
1351
+ readonly required: readonly ['release', 'sequence'];
1544
1352
  };
1545
- readonly access: {
1546
- readonly enum: readonly ['owner', 'manage', 'edit', 'keep', 'open', 'search'];
1353
+ readonly title: {
1354
+ readonly type: 'string';
1547
1355
  };
1548
- readonly level: {
1549
- readonly enum: readonly ['search', 'open', 'keep'];
1356
+ readonly description: {
1357
+ readonly type: 'string';
1550
1358
  };
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'];
1865
- };
1866
- };
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: {
1874
- readonly type: 'string';
1875
- readonly format: 'date-time';
1876
- };
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: {
1894
- readonly $ref: '#/$defs/id';
1895
- };
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: {
1996
- readonly type: 'object';
1997
- readonly additionalProperties: false;
1998
- readonly properties: {
1999
- readonly origin: {
2000
- readonly enum: readonly ['user', 'trigger'];
2001
- };
2002
- readonly at: {
2003
- readonly type: 'string';
2004
- readonly format: 'date-time';
2005
- };
2006
- readonly reason: {
2007
- readonly type: 'string';
2008
- };
2009
- };
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';
2030
- };
2031
- readonly agent: {
2032
- readonly type: 'object';
2033
- readonly additionalProperties: false;
2034
- readonly properties: {
2035
- readonly agent: {
2036
- readonly $ref: '#/$defs/id';
2037
- };
2038
- readonly name: {
2039
- readonly type: 'string';
2040
- };
2041
- };
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';
2066
- };
2067
- readonly form: {
2068
- readonly type: 'object';
2069
- readonly additionalProperties: false;
2070
- readonly properties: {
2071
- readonly kind: {
2072
- readonly enum: readonly ['bearer', 'header', 'query', 'basic', 'path'];
2073
- };
2074
- readonly name: {
2075
- readonly type: 'string';
2076
- };
2077
- readonly prefix: {
2078
- readonly type: 'string';
2079
- };
2080
- };
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$';
2086
- };
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';
2096
- };
2097
- readonly share: {
2098
- readonly $ref: '#/$defs/id';
2099
- };
2100
- readonly share_link: {
2101
- readonly enum: readonly ['yes', 'no'];
2102
- };
2103
- readonly share_to: {
2104
- readonly type: 'string';
2105
- readonly format: 'email';
2106
- };
2107
- readonly invited: {
2108
- readonly const: true;
2109
- };
2110
- readonly items: {
2111
- readonly type: 'array';
2112
- 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'];
2165
- };
2166
- };
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
- };
2193
- };
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
- };
2222
- };
2223
- readonly required: readonly ['join_request', 'state', 'from'];
2224
- };
2225
- };
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: {
2245
- readonly $ref: '#/$defs/id';
2246
- };
2247
- readonly from: {
2248
- readonly type: 'object';
2249
- readonly additionalProperties: false;
2250
- readonly properties: {
2251
- readonly name: {
2252
- readonly type: 'string';
2253
- };
2254
- readonly email: {
2255
- readonly type: 'string';
2256
- readonly format: 'email';
2257
- };
2258
- };
2259
- readonly required: readonly ['name', 'email'];
2260
- };
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
- };
2312
- };
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
- };
2346
- };
2347
- readonly required: readonly ['app', 'slot', 'room'];
2348
- };
2349
- };
2350
- readonly created: {
2351
- readonly type: 'string';
2352
- readonly format: 'date-time';
2353
- };
2354
- readonly expires: {
2355
- readonly type: 'string';
2356
- readonly format: 'date-time';
2357
- };
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: {
2365
- readonly type: 'string';
2366
- readonly format: 'date-time';
2367
- };
2368
- readonly site: {
2369
- readonly $ref: '#/$defs/id';
2370
- };
2371
- readonly name: {
2372
- readonly type: 'string';
2373
- };
2374
- readonly address: {
2375
- readonly type: 'string';
2376
- readonly format: 'uri';
2377
- };
2378
- readonly addresses: {
2379
- readonly type: 'array';
2380
- readonly items: {
2381
- readonly type: 'string';
2382
- readonly format: 'uri';
2383
- };
2384
- };
2385
- readonly primary_address: {
2386
- readonly type: 'string';
2387
- readonly format: 'uri';
2388
- };
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
- };
2407
- };
2408
- readonly required: readonly ['host', 'state', 'dns_target'];
2409
- };
2410
- };
2411
- readonly app: {
2412
- readonly $ref: '#/$defs/app';
2413
- };
2414
- readonly tab_icon_light: {
2415
- readonly type: 'string';
2416
- readonly pattern: '^data:image\\/';
2417
- };
2418
- readonly tab_icon_dark: {
2419
- readonly type: 'string';
2420
- readonly pattern: '^data:image\\/';
2421
- };
2422
- readonly tab_icon_colours: {
2423
- readonly type: 'array';
2424
- readonly items: {
2425
- readonly type: 'string';
2426
- readonly pattern: '^#[0-9a-f]{6}$';
2427
- };
2428
- };
2429
- readonly tab_icon_blend: {
2430
- readonly enum: readonly ['linear', 'radial'];
2431
- };
2432
- readonly tab_icon_angle: {
2433
- readonly type: 'integer';
2434
- readonly minimum: 0;
2435
- readonly maximum: 359;
2436
- };
2437
- readonly tab_icon_from: {
2438
- readonly enum: readonly ['site', 'app'];
2439
- };
2440
- readonly release: {
2441
- readonly type: 'object';
2442
- readonly additionalProperties: false;
2443
- readonly properties: {
2444
- readonly release: {
2445
- readonly $ref: '#/$defs/id';
2446
- };
2447
- readonly sequence: {
2448
- readonly type: 'integer';
2449
- readonly exclusiveMinimum: 0;
2450
- };
2451
- };
2452
- readonly required: readonly ['release', 'sequence'];
2453
- };
2454
- readonly title: {
2455
- readonly type: 'string';
2456
- };
2457
- readonly description: {
2458
- readonly type: 'string';
2459
- };
2460
- readonly screenshot: {
2461
- readonly type: 'string';
2462
- readonly format: 'uri';
1359
+ readonly screenshot: {
1360
+ readonly type: 'string';
1361
+ readonly format: 'uri';
2463
1362
  };
2464
1363
  readonly analytics: {
2465
1364
  readonly type: 'string';
@@ -2614,10 +1513,10 @@ export declare const HOUSE_MODEL_DECLARATION: {
2614
1513
  };
2615
1514
  };
2616
1515
  };
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'];
1516
+ readonly required: readonly ['reflected', 'site', 'name', 'address', 'primary_address', 'app', 'tab_icon_from', 'disabled', 'mode', 'unpublished', 'suspended', 'indexing', 'created', 'new_browsers', 'submissions', 'notify_me', 'image_copies', 'image_copy_bound', 'image_copy_limit_reached'];
2618
1517
  };
2619
1518
  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.";
1519
+ 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 `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
1520
  readonly properties: {
2622
1521
  readonly reflected: {
2623
1522
  readonly type: 'string';
@@ -2842,8 +1741,9 @@ export declare const HOUSE_MODEL_DECLARATION: {
2842
1741
  readonly enabled: {
2843
1742
  readonly type: 'boolean';
2844
1743
  };
2845
- readonly routine_access: {
2846
- readonly $ref: '#/$defs/id';
1744
+ readonly card: {
1745
+ readonly type: 'string';
1746
+ readonly minLength: 1;
2847
1747
  };
2848
1748
  readonly payload: {
2849
1749
  readonly type: 'string';