@agentshouse/mdruntime-adapter 0.1.0-c192ba5f83f13 → 0.1.0-c19cd0fd6cd22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.ts +1 -1
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +7 -3
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +15 -2
- package/dist/history.d.ts.map +1 -1
- package/dist/history.js +2 -1
- package/dist/house-model.d.ts +40 -1043
- package/dist/house-model.d.ts.map +1 -1
- package/dist/house-model.js +19 -571
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/read.d.ts +5 -1
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +28 -2
- package/dist/room-stream.d.ts +1 -0
- package/dist/room-stream.d.ts.map +1 -1
- package/dist/room-stream.js +23 -2
- package/dist/room-types.d.ts +2 -2
- package/dist/room-types.d.ts.map +1 -1
- package/dist/room-types.js +5 -6
- package/dist/search.d.ts +5 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +47 -0
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +9 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +13 -7
- package/dist/transport.d.ts +5 -2
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +2 -0
- package/dist/write.d.ts +2 -1
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +7 -17
- package/package.json +2 -2
package/dist/house-model.d.ts
CHANGED
|
@@ -62,344 +62,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
62
62
|
readonly maxProperties: 1;
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
|
-
readonly 'house-account': {
|
|
66
|
-
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`.";
|
|
67
|
-
readonly properties: {
|
|
68
|
-
readonly reflected: {
|
|
69
|
-
readonly type: 'string';
|
|
70
|
-
readonly format: 'date-time';
|
|
71
|
-
};
|
|
72
|
-
readonly user: {
|
|
73
|
-
readonly $ref: '#/$defs/id';
|
|
74
|
-
};
|
|
75
|
-
readonly email_verified: {
|
|
76
|
-
readonly type: 'string';
|
|
77
|
-
readonly format: 'date-time';
|
|
78
|
-
};
|
|
79
|
-
readonly language: {
|
|
80
|
-
readonly enum: readonly ['en'];
|
|
81
|
-
};
|
|
82
|
-
readonly notifications: {
|
|
83
|
-
readonly type: 'array';
|
|
84
|
-
readonly items: {
|
|
85
|
-
readonly type: 'object';
|
|
86
|
-
readonly additionalProperties: false;
|
|
87
|
-
readonly properties: {
|
|
88
|
-
readonly group: {
|
|
89
|
-
readonly type: 'string';
|
|
90
|
-
};
|
|
91
|
-
readonly channels: {
|
|
92
|
-
readonly type: 'array';
|
|
93
|
-
readonly items: {
|
|
94
|
-
readonly type: 'string';
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
readonly required: readonly ['group', 'channels'];
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
readonly created: {
|
|
102
|
-
readonly type: 'string';
|
|
103
|
-
readonly format: 'date-time';
|
|
104
|
-
};
|
|
105
|
-
readonly telegram: {
|
|
106
|
-
readonly enum: readonly ['available', 'linked', 'started'];
|
|
107
|
-
};
|
|
108
|
-
readonly meta: {
|
|
109
|
-
readonly anyOf: readonly [{
|
|
110
|
-
readonly const: 'keys';
|
|
111
|
-
}, {
|
|
112
|
-
readonly type: 'object';
|
|
113
|
-
readonly additionalProperties: false;
|
|
114
|
-
readonly properties: {
|
|
115
|
-
readonly application: {
|
|
116
|
-
readonly type: 'string';
|
|
117
|
-
readonly pattern: '^\\d{1,32}$';
|
|
118
|
-
};
|
|
119
|
-
readonly configuration: {
|
|
120
|
-
readonly type: 'string';
|
|
121
|
-
readonly pattern: '^\\d{1,32}$';
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
readonly required: readonly ['application', 'configuration'];
|
|
125
|
-
}];
|
|
126
|
-
};
|
|
127
|
-
readonly tiktok: {
|
|
128
|
-
readonly enum: readonly ['available'];
|
|
129
|
-
};
|
|
130
|
-
readonly building: {
|
|
131
|
-
readonly enum: readonly ['administrator'];
|
|
132
|
-
};
|
|
133
|
-
readonly full_house: {
|
|
134
|
-
readonly const: true;
|
|
135
|
-
};
|
|
136
|
-
readonly function_limits: {
|
|
137
|
-
readonly type: 'object';
|
|
138
|
-
readonly additionalProperties: false;
|
|
139
|
-
readonly properties: {
|
|
140
|
-
readonly time_ms: {
|
|
141
|
-
readonly type: 'integer';
|
|
142
|
-
readonly exclusiveMinimum: 0;
|
|
143
|
-
};
|
|
144
|
-
readonly memory_bytes: {
|
|
145
|
-
readonly type: 'integer';
|
|
146
|
-
readonly exclusiveMinimum: 0;
|
|
147
|
-
};
|
|
148
|
-
readonly external_calls: {
|
|
149
|
-
readonly type: 'integer';
|
|
150
|
-
readonly exclusiveMinimum: 0;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
readonly required: readonly ['time_ms', 'memory_bytes', 'external_calls'];
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
readonly required: readonly ['reflected', 'user', 'email_verified', 'notifications', 'created', 'function_limits'];
|
|
157
|
-
};
|
|
158
|
-
readonly 'house-agent': {
|
|
159
|
-
readonly description: 'One registered Agent this User owns, with the `profile` and `environment` it binds, when it was `created` and, once it is, `retired`.';
|
|
160
|
-
readonly properties: {
|
|
161
|
-
readonly reflected: {
|
|
162
|
-
readonly type: 'string';
|
|
163
|
-
readonly format: 'date-time';
|
|
164
|
-
};
|
|
165
|
-
readonly agent: {
|
|
166
|
-
readonly $ref: '#/$defs/id';
|
|
167
|
-
};
|
|
168
|
-
readonly name: {
|
|
169
|
-
readonly type: 'string';
|
|
170
|
-
};
|
|
171
|
-
readonly profile: {
|
|
172
|
-
readonly $ref: '#/$defs/id';
|
|
173
|
-
};
|
|
174
|
-
readonly environment: {
|
|
175
|
-
readonly $ref: '#/$defs/id';
|
|
176
|
-
};
|
|
177
|
-
readonly launch_directory: {
|
|
178
|
-
readonly type: 'string';
|
|
179
|
-
};
|
|
180
|
-
readonly created: {
|
|
181
|
-
readonly type: 'string';
|
|
182
|
-
readonly format: 'date-time';
|
|
183
|
-
};
|
|
184
|
-
readonly retired: {
|
|
185
|
-
readonly type: 'string';
|
|
186
|
-
readonly format: 'date-time';
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
readonly required: readonly ['reflected', 'agent', 'name', 'profile', 'environment', 'launch_directory', 'created'];
|
|
190
|
-
};
|
|
191
|
-
readonly 'house-agent-profile': {
|
|
192
|
-
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.';
|
|
193
|
-
readonly properties: {
|
|
194
|
-
readonly reflected: {
|
|
195
|
-
readonly type: 'string';
|
|
196
|
-
readonly format: 'date-time';
|
|
197
|
-
};
|
|
198
|
-
readonly profile: {
|
|
199
|
-
readonly $ref: '#/$defs/id';
|
|
200
|
-
};
|
|
201
|
-
readonly name: {
|
|
202
|
-
readonly type: 'string';
|
|
203
|
-
};
|
|
204
|
-
readonly revision: {
|
|
205
|
-
readonly type: 'integer';
|
|
206
|
-
readonly minimum: 0;
|
|
207
|
-
};
|
|
208
|
-
readonly adapter_kind: {
|
|
209
|
-
readonly type: 'string';
|
|
210
|
-
};
|
|
211
|
-
readonly model: {
|
|
212
|
-
readonly type: 'string';
|
|
213
|
-
};
|
|
214
|
-
readonly effort: {
|
|
215
|
-
readonly type: 'string';
|
|
216
|
-
};
|
|
217
|
-
readonly mode: {
|
|
218
|
-
readonly type: 'string';
|
|
219
|
-
};
|
|
220
|
-
readonly arguments: {
|
|
221
|
-
readonly type: 'array';
|
|
222
|
-
readonly items: {
|
|
223
|
-
readonly type: 'string';
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
readonly required: readonly ['reflected', 'profile', 'name', 'revision'];
|
|
228
|
-
};
|
|
229
|
-
readonly 'house-app': {
|
|
230
|
-
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.";
|
|
231
|
-
readonly properties: {
|
|
232
|
-
readonly reflected: {
|
|
233
|
-
readonly type: 'string';
|
|
234
|
-
readonly format: 'date-time';
|
|
235
|
-
};
|
|
236
|
-
readonly app: {
|
|
237
|
-
readonly $ref: '#/$defs/app';
|
|
238
|
-
};
|
|
239
|
-
readonly address: {
|
|
240
|
-
readonly type: 'string';
|
|
241
|
-
readonly pattern: '^\\/app\\/a_([0123456789abcdefghjkmnpqrstvwxyz]+)\\.([0123456789abcdefghjkmnpqrstvwxyz])$';
|
|
242
|
-
};
|
|
243
|
-
readonly name: {
|
|
244
|
-
readonly type: 'string';
|
|
245
|
-
};
|
|
246
|
-
readonly ownership: {
|
|
247
|
-
readonly enum: readonly ['own', 'held'];
|
|
248
|
-
};
|
|
249
|
-
readonly owner: {
|
|
250
|
-
readonly type: 'object';
|
|
251
|
-
readonly additionalProperties: false;
|
|
252
|
-
readonly properties: {
|
|
253
|
-
readonly name: {
|
|
254
|
-
readonly type: 'string';
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
readonly required: readonly ['name'];
|
|
258
|
-
};
|
|
259
|
-
readonly my_app: {
|
|
260
|
-
readonly const: true;
|
|
261
|
-
};
|
|
262
|
-
readonly created: {
|
|
263
|
-
readonly type: 'string';
|
|
264
|
-
readonly format: 'date-time';
|
|
265
|
-
};
|
|
266
|
-
readonly tab_icon_light: {
|
|
267
|
-
readonly type: 'string';
|
|
268
|
-
readonly pattern: '^data:image\\/';
|
|
269
|
-
};
|
|
270
|
-
readonly tab_icon_dark: {
|
|
271
|
-
readonly type: 'string';
|
|
272
|
-
readonly pattern: '^data:image\\/';
|
|
273
|
-
};
|
|
274
|
-
readonly tab_icon_colours: {
|
|
275
|
-
readonly type: 'array';
|
|
276
|
-
readonly items: {
|
|
277
|
-
readonly type: 'string';
|
|
278
|
-
readonly pattern: '^#[0-9a-f]{6}$';
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
readonly tab_icon_blend: {
|
|
282
|
-
readonly enum: readonly ['linear', 'radial'];
|
|
283
|
-
};
|
|
284
|
-
readonly tab_icon_angle: {
|
|
285
|
-
readonly type: 'integer';
|
|
286
|
-
readonly minimum: 0;
|
|
287
|
-
readonly maximum: 359;
|
|
288
|
-
};
|
|
289
|
-
readonly latest_release: {
|
|
290
|
-
readonly type: 'object';
|
|
291
|
-
readonly additionalProperties: false;
|
|
292
|
-
readonly properties: {
|
|
293
|
-
readonly release: {
|
|
294
|
-
readonly $ref: '#/$defs/id';
|
|
295
|
-
};
|
|
296
|
-
readonly sequence: {
|
|
297
|
-
readonly type: 'integer';
|
|
298
|
-
readonly exclusiveMinimum: 0;
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
readonly required: readonly ['release', 'sequence'];
|
|
302
|
-
};
|
|
303
|
-
readonly external_origins: {
|
|
304
|
-
readonly type: 'array';
|
|
305
|
-
readonly items: {
|
|
306
|
-
readonly type: 'string';
|
|
307
|
-
readonly format: 'uri';
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
readonly conversations: {
|
|
311
|
-
readonly enum: readonly ['yes', 'no'];
|
|
312
|
-
};
|
|
313
|
-
readonly room_slots: {
|
|
314
|
-
readonly type: 'array';
|
|
315
|
-
readonly items: {
|
|
316
|
-
readonly type: 'object';
|
|
317
|
-
readonly additionalProperties: false;
|
|
318
|
-
readonly properties: {
|
|
319
|
-
readonly slot: {
|
|
320
|
-
readonly type: 'string';
|
|
321
|
-
};
|
|
322
|
-
readonly access: {
|
|
323
|
-
readonly enum: readonly ['read', 'write'];
|
|
324
|
-
};
|
|
325
|
-
readonly types: {
|
|
326
|
-
readonly type: 'array';
|
|
327
|
-
readonly items: {
|
|
328
|
-
readonly type: 'string';
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
readonly required: readonly ['slot', 'access', 'types'];
|
|
333
|
-
};
|
|
334
|
-
};
|
|
335
|
-
readonly functions: {
|
|
336
|
-
readonly type: 'array';
|
|
337
|
-
readonly items: {
|
|
338
|
-
readonly type: 'string';
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
readonly installations: {
|
|
342
|
-
readonly type: 'array';
|
|
343
|
-
readonly items: {
|
|
344
|
-
readonly type: 'object';
|
|
345
|
-
readonly additionalProperties: false;
|
|
346
|
-
readonly properties: {
|
|
347
|
-
readonly installation: {
|
|
348
|
-
readonly $ref: '#/$defs/id';
|
|
349
|
-
};
|
|
350
|
-
readonly release: {
|
|
351
|
-
readonly $ref: '#/$defs/id';
|
|
352
|
-
};
|
|
353
|
-
readonly created: {
|
|
354
|
-
readonly type: 'string';
|
|
355
|
-
readonly format: 'date-time';
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
readonly required: readonly ['installation', 'release', 'created'];
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
readonly holders: {
|
|
362
|
-
readonly type: 'array';
|
|
363
|
-
readonly items: {
|
|
364
|
-
readonly type: 'object';
|
|
365
|
-
readonly additionalProperties: false;
|
|
366
|
-
readonly properties: {
|
|
367
|
-
readonly user: {
|
|
368
|
-
readonly $ref: '#/$defs/id';
|
|
369
|
-
};
|
|
370
|
-
readonly name: {
|
|
371
|
-
readonly type: 'string';
|
|
372
|
-
};
|
|
373
|
-
readonly email: {
|
|
374
|
-
readonly type: 'string';
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
readonly required: readonly ['user', 'name', 'email'];
|
|
378
|
-
};
|
|
379
|
-
};
|
|
380
|
-
readonly features: {
|
|
381
|
-
readonly type: 'array';
|
|
382
|
-
readonly items: {
|
|
383
|
-
readonly type: 'object';
|
|
384
|
-
readonly additionalProperties: false;
|
|
385
|
-
readonly properties: {
|
|
386
|
-
readonly feature: {
|
|
387
|
-
readonly type: 'string';
|
|
388
|
-
};
|
|
389
|
-
readonly consent: {
|
|
390
|
-
readonly enum: readonly ['allowed', 'denied'];
|
|
391
|
-
};
|
|
392
|
-
};
|
|
393
|
-
readonly required: readonly ['feature', 'consent'];
|
|
394
|
-
};
|
|
395
|
-
};
|
|
396
|
-
readonly features_version: {
|
|
397
|
-
readonly type: 'integer';
|
|
398
|
-
readonly exclusiveMinimum: 0;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
readonly required: readonly ['reflected', 'app', 'address', 'name', 'ownership', 'created'];
|
|
402
|
-
};
|
|
403
65
|
readonly 'house-app-preferences': {
|
|
404
66
|
readonly description: "An App's preferences. Its own vocabulary is in the body.";
|
|
405
67
|
readonly properties: {
|
|
@@ -409,362 +71,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
409
71
|
};
|
|
410
72
|
readonly required: readonly ['app'];
|
|
411
73
|
};
|
|
412
|
-
readonly 'house-app-room-binding': {
|
|
413
|
-
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.";
|
|
414
|
-
readonly properties: {
|
|
415
|
-
readonly reflected: {
|
|
416
|
-
readonly type: 'string';
|
|
417
|
-
readonly format: 'date-time';
|
|
418
|
-
};
|
|
419
|
-
readonly app: {
|
|
420
|
-
readonly $ref: '#/$defs/app';
|
|
421
|
-
};
|
|
422
|
-
readonly slot: {
|
|
423
|
-
readonly type: 'string';
|
|
424
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
425
|
-
};
|
|
426
|
-
readonly types: {
|
|
427
|
-
readonly type: 'array';
|
|
428
|
-
readonly items: {
|
|
429
|
-
readonly type: 'string';
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
readonly slot_access: {
|
|
433
|
-
readonly enum: readonly ['read', 'write'];
|
|
434
|
-
};
|
|
435
|
-
readonly shared_schema: {
|
|
436
|
-
readonly type: 'object';
|
|
437
|
-
readonly additionalProperties: false;
|
|
438
|
-
readonly properties: {
|
|
439
|
-
readonly shared_schema: {
|
|
440
|
-
readonly $ref: '#/$defs/id';
|
|
441
|
-
};
|
|
442
|
-
readonly compatibility: {
|
|
443
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
444
|
-
};
|
|
445
|
-
readonly findings: {
|
|
446
|
-
readonly type: 'array';
|
|
447
|
-
readonly items: {
|
|
448
|
-
readonly type: 'string';
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
readonly required: readonly ['shared_schema', 'compatibility', 'findings'];
|
|
453
|
-
};
|
|
454
|
-
readonly rooms: {
|
|
455
|
-
readonly enum: readonly ['all', 'all_but_private'];
|
|
456
|
-
};
|
|
457
|
-
readonly left_out: {
|
|
458
|
-
readonly type: 'integer';
|
|
459
|
-
readonly minimum: 0;
|
|
460
|
-
};
|
|
461
|
-
readonly entries: {
|
|
462
|
-
readonly type: 'array';
|
|
463
|
-
readonly items: {
|
|
464
|
-
readonly type: 'object';
|
|
465
|
-
readonly additionalProperties: false;
|
|
466
|
-
readonly properties: {
|
|
467
|
-
readonly room: {
|
|
468
|
-
readonly $ref: '#/$defs/room';
|
|
469
|
-
};
|
|
470
|
-
readonly compatibility: {
|
|
471
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
readonly required: readonly ['room', 'compatibility'];
|
|
475
|
-
};
|
|
476
|
-
};
|
|
477
|
-
readonly findings: {
|
|
478
|
-
readonly type: 'array';
|
|
479
|
-
readonly items: {
|
|
480
|
-
readonly type: 'object';
|
|
481
|
-
readonly additionalProperties: false;
|
|
482
|
-
readonly properties: {
|
|
483
|
-
readonly room: {
|
|
484
|
-
readonly $ref: '#/$defs/room';
|
|
485
|
-
};
|
|
486
|
-
readonly finding: {
|
|
487
|
-
readonly type: 'string';
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
readonly required: readonly ['room', 'finding'];
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
readonly required: readonly ['reflected', 'app', 'slot'];
|
|
495
|
-
};
|
|
496
|
-
readonly 'house-client': {
|
|
497
|
-
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.';
|
|
498
|
-
readonly properties: {
|
|
499
|
-
readonly reflected: {
|
|
500
|
-
readonly type: 'string';
|
|
501
|
-
readonly format: 'date-time';
|
|
502
|
-
};
|
|
503
|
-
readonly client: {
|
|
504
|
-
readonly $ref: '#/$defs/id';
|
|
505
|
-
};
|
|
506
|
-
readonly name: {
|
|
507
|
-
readonly type: 'string';
|
|
508
|
-
};
|
|
509
|
-
readonly kind: {
|
|
510
|
-
readonly enum: readonly ['browser', 'headless'];
|
|
511
|
-
};
|
|
512
|
-
readonly created: {
|
|
513
|
-
readonly type: 'string';
|
|
514
|
-
readonly format: 'date-time';
|
|
515
|
-
};
|
|
516
|
-
readonly ended: {
|
|
517
|
-
readonly type: 'string';
|
|
518
|
-
readonly format: 'date-time';
|
|
519
|
-
};
|
|
520
|
-
readonly end: {
|
|
521
|
-
readonly enum: readonly ['revoked'];
|
|
522
|
-
};
|
|
523
|
-
};
|
|
524
|
-
readonly required: readonly ['reflected', 'client', 'name', 'kind', 'created'];
|
|
525
|
-
};
|
|
526
|
-
readonly 'house-environment': {
|
|
527
|
-
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.";
|
|
528
|
-
readonly properties: {
|
|
529
|
-
readonly reflected: {
|
|
530
|
-
readonly type: 'string';
|
|
531
|
-
readonly format: 'date-time';
|
|
532
|
-
};
|
|
533
|
-
readonly environment: {
|
|
534
|
-
readonly $ref: '#/$defs/id';
|
|
535
|
-
};
|
|
536
|
-
readonly name: {
|
|
537
|
-
readonly type: 'string';
|
|
538
|
-
};
|
|
539
|
-
readonly created: {
|
|
540
|
-
readonly type: 'string';
|
|
541
|
-
readonly format: 'date-time';
|
|
542
|
-
};
|
|
543
|
-
readonly revoked: {
|
|
544
|
-
readonly type: 'string';
|
|
545
|
-
readonly format: 'date-time';
|
|
546
|
-
};
|
|
547
|
-
readonly reach: {
|
|
548
|
-
readonly enum: readonly ['all', 'all_but_private', 'selected'];
|
|
549
|
-
};
|
|
550
|
-
readonly rooms: {
|
|
551
|
-
readonly type: 'array';
|
|
552
|
-
readonly items: {
|
|
553
|
-
readonly type: 'object';
|
|
554
|
-
readonly additionalProperties: false;
|
|
555
|
-
readonly properties: {
|
|
556
|
-
readonly room: {
|
|
557
|
-
readonly $ref: '#/$defs/room';
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
readonly required: readonly ['room'];
|
|
561
|
-
};
|
|
562
|
-
};
|
|
563
|
-
readonly login_code: {
|
|
564
|
-
readonly enum: readonly ['yes', 'no'];
|
|
565
|
-
};
|
|
566
|
-
readonly kind: {
|
|
567
|
-
readonly enum: readonly ['sandbox', 'vps', 'own'];
|
|
568
|
-
};
|
|
569
|
-
readonly lifecycle: {
|
|
570
|
-
readonly enum: readonly ['provisioning', 'starting', 'available', 'stopped', 'failed'];
|
|
571
|
-
};
|
|
572
|
-
readonly offered: {
|
|
573
|
-
readonly type: 'array';
|
|
574
|
-
readonly items: {
|
|
575
|
-
readonly type: 'string';
|
|
576
|
-
};
|
|
577
|
-
};
|
|
578
|
-
readonly wanted: {
|
|
579
|
-
readonly type: 'array';
|
|
580
|
-
readonly items: {
|
|
581
|
-
readonly type: 'string';
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
readonly agents: {
|
|
585
|
-
readonly type: 'array';
|
|
586
|
-
readonly items: {
|
|
587
|
-
readonly type: 'object';
|
|
588
|
-
readonly additionalProperties: false;
|
|
589
|
-
readonly properties: {
|
|
590
|
-
readonly kind: {
|
|
591
|
-
readonly type: 'string';
|
|
592
|
-
readonly minLength: 1;
|
|
593
|
-
readonly maxLength: 64;
|
|
594
|
-
};
|
|
595
|
-
readonly version: {
|
|
596
|
-
readonly anyOf: readonly [{
|
|
597
|
-
readonly type: 'string';
|
|
598
|
-
readonly minLength: 1;
|
|
599
|
-
readonly maxLength: 64;
|
|
600
|
-
}, {
|
|
601
|
-
readonly type: 'null';
|
|
602
|
-
}];
|
|
603
|
-
};
|
|
604
|
-
readonly minimum: {
|
|
605
|
-
readonly description: "Present only for a CLI below its adapter's minimum version: that minimum.";
|
|
606
|
-
readonly type: 'string';
|
|
607
|
-
readonly minLength: 1;
|
|
608
|
-
readonly maxLength: 64;
|
|
609
|
-
};
|
|
610
|
-
readonly failure: {
|
|
611
|
-
readonly anyOf: readonly [{
|
|
612
|
-
readonly type: 'string';
|
|
613
|
-
readonly minLength: 1;
|
|
614
|
-
readonly maxLength: 4096;
|
|
615
|
-
}, {
|
|
616
|
-
readonly type: 'null';
|
|
617
|
-
}];
|
|
618
|
-
};
|
|
619
|
-
readonly installing: {
|
|
620
|
-
readonly description: 'Present only while the Kit installs the CLI, whose version and failure are then null.';
|
|
621
|
-
readonly type: 'boolean';
|
|
622
|
-
readonly const: true;
|
|
623
|
-
};
|
|
624
|
-
readonly signed_in: {
|
|
625
|
-
readonly type: 'boolean';
|
|
626
|
-
};
|
|
627
|
-
readonly models: {
|
|
628
|
-
readonly maxItems: 256;
|
|
629
|
-
readonly type: 'array';
|
|
630
|
-
readonly items: {
|
|
631
|
-
readonly type: 'object';
|
|
632
|
-
readonly additionalProperties: false;
|
|
633
|
-
readonly properties: {
|
|
634
|
-
readonly model: {
|
|
635
|
-
readonly type: 'string';
|
|
636
|
-
readonly minLength: 1;
|
|
637
|
-
};
|
|
638
|
-
readonly efforts: {
|
|
639
|
-
readonly maxItems: 32;
|
|
640
|
-
readonly type: 'array';
|
|
641
|
-
readonly items: {
|
|
642
|
-
readonly type: 'string';
|
|
643
|
-
readonly minLength: 1;
|
|
644
|
-
};
|
|
645
|
-
};
|
|
646
|
-
};
|
|
647
|
-
readonly required: readonly ['model', 'efforts'];
|
|
648
|
-
};
|
|
649
|
-
};
|
|
650
|
-
readonly modes: {
|
|
651
|
-
readonly maxItems: 32;
|
|
652
|
-
readonly type: 'array';
|
|
653
|
-
readonly items: {
|
|
654
|
-
readonly type: 'object';
|
|
655
|
-
readonly additionalProperties: false;
|
|
656
|
-
readonly properties: {
|
|
657
|
-
readonly mode: {
|
|
658
|
-
readonly type: 'string';
|
|
659
|
-
readonly minLength: 1;
|
|
660
|
-
};
|
|
661
|
-
readonly name: {
|
|
662
|
-
readonly type: 'string';
|
|
663
|
-
readonly minLength: 1;
|
|
664
|
-
readonly maxLength: 128;
|
|
665
|
-
};
|
|
666
|
-
};
|
|
667
|
-
readonly required: readonly ['mode', 'name'];
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
readonly full_access: {
|
|
671
|
-
readonly anyOf: readonly [{
|
|
672
|
-
readonly type: 'string';
|
|
673
|
-
readonly minLength: 1;
|
|
674
|
-
}, {
|
|
675
|
-
readonly type: 'null';
|
|
676
|
-
}];
|
|
677
|
-
};
|
|
678
|
-
};
|
|
679
|
-
readonly required: readonly ['kind', 'version', 'failure', 'signed_in', 'models', 'modes', 'full_access'];
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
readonly transcribe: {
|
|
683
|
-
readonly enum: readonly ['on', 'off'];
|
|
684
|
-
};
|
|
685
|
-
readonly transcription: {
|
|
686
|
-
readonly type: 'object';
|
|
687
|
-
readonly additionalProperties: false;
|
|
688
|
-
readonly properties: {
|
|
689
|
-
readonly installed: {
|
|
690
|
-
readonly type: 'boolean';
|
|
691
|
-
};
|
|
692
|
-
readonly failure: {
|
|
693
|
-
readonly anyOf: readonly [{
|
|
694
|
-
readonly type: 'string';
|
|
695
|
-
readonly minLength: 1;
|
|
696
|
-
readonly maxLength: 4096;
|
|
697
|
-
}, {
|
|
698
|
-
readonly type: 'null';
|
|
699
|
-
}];
|
|
700
|
-
};
|
|
701
|
-
};
|
|
702
|
-
readonly required: readonly ['installed', 'failure'];
|
|
703
|
-
};
|
|
704
|
-
readonly os: {
|
|
705
|
-
readonly type: 'string';
|
|
706
|
-
};
|
|
707
|
-
readonly kit_release: {
|
|
708
|
-
readonly type: 'string';
|
|
709
|
-
};
|
|
710
|
-
readonly form: {
|
|
711
|
-
readonly enum: readonly ['laptop', 'desktop', 'server'];
|
|
712
|
-
};
|
|
713
|
-
readonly failed: {
|
|
714
|
-
readonly enum: readonly ['provisioning_failed', 'bootstrap_timeout', 'provider_capacity', 'provider_unavailable', 'provider_removed', 'placement_conflict', 'placement_intervention', 'environment_authority_unavailable'];
|
|
715
|
-
};
|
|
716
|
-
readonly budget: {
|
|
717
|
-
readonly type: 'string';
|
|
718
|
-
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
719
|
-
};
|
|
720
|
-
readonly budget_spent: {
|
|
721
|
-
readonly enum: readonly ['yes', 'no'];
|
|
722
|
-
};
|
|
723
|
-
readonly ssh: {
|
|
724
|
-
readonly type: 'string';
|
|
725
|
-
readonly pattern: '^root@\\S+$';
|
|
726
|
-
};
|
|
727
|
-
};
|
|
728
|
-
readonly required: readonly ['reflected', 'environment', 'name', 'created', 'reach', 'kind', 'offered', 'transcribe'];
|
|
729
|
-
};
|
|
730
|
-
readonly 'house-exports': {
|
|
731
|
-
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`.";
|
|
732
|
-
readonly properties: {
|
|
733
|
-
readonly reflected: {
|
|
734
|
-
readonly type: 'string';
|
|
735
|
-
readonly format: 'date-time';
|
|
736
|
-
};
|
|
737
|
-
readonly exports: {
|
|
738
|
-
readonly type: 'array';
|
|
739
|
-
readonly items: {
|
|
740
|
-
readonly type: 'object';
|
|
741
|
-
readonly additionalProperties: false;
|
|
742
|
-
readonly properties: {
|
|
743
|
-
readonly export: {
|
|
744
|
-
readonly $ref: '#/$defs/id';
|
|
745
|
-
};
|
|
746
|
-
readonly status: {
|
|
747
|
-
readonly enum: readonly ['queued', 'running', 'ready', 'failed'];
|
|
748
|
-
};
|
|
749
|
-
readonly created: {
|
|
750
|
-
readonly type: 'string';
|
|
751
|
-
readonly format: 'date-time';
|
|
752
|
-
};
|
|
753
|
-
readonly expires: {
|
|
754
|
-
readonly type: 'string';
|
|
755
|
-
readonly format: 'date-time';
|
|
756
|
-
};
|
|
757
|
-
readonly page: {
|
|
758
|
-
readonly type: 'string';
|
|
759
|
-
readonly pattern: '^\\/exports\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
|
|
760
|
-
};
|
|
761
|
-
};
|
|
762
|
-
readonly required: readonly ['export', 'status', 'created'];
|
|
763
|
-
};
|
|
764
|
-
};
|
|
765
|
-
};
|
|
766
|
-
readonly required: readonly ['reflected'];
|
|
767
|
-
};
|
|
768
74
|
readonly 'house-notification': {
|
|
769
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.";
|
|
770
76
|
readonly properties: {
|
|
@@ -773,7 +79,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
773
79
|
};
|
|
774
80
|
readonly kind: {
|
|
775
81
|
readonly type: 'string';
|
|
776
|
-
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'app-room-binding-incompatible', 'app-
|
|
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'];
|
|
777
83
|
};
|
|
778
84
|
readonly created: {
|
|
779
85
|
readonly type: 'string';
|
|
@@ -793,18 +99,9 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
793
99
|
readonly app: {
|
|
794
100
|
readonly $ref: '#/$defs/app';
|
|
795
101
|
};
|
|
796
|
-
readonly agent: {
|
|
797
|
-
readonly $ref: '#/$defs/id';
|
|
798
|
-
};
|
|
799
102
|
readonly environment: {
|
|
800
103
|
readonly $ref: '#/$defs/id';
|
|
801
104
|
};
|
|
802
|
-
readonly routine: {
|
|
803
|
-
readonly $ref: '#/$defs/id';
|
|
804
|
-
};
|
|
805
|
-
readonly routine_request: {
|
|
806
|
-
readonly $ref: '#/$defs/id';
|
|
807
|
-
};
|
|
808
105
|
readonly trigger: {
|
|
809
106
|
readonly $ref: '#/$defs/id';
|
|
810
107
|
};
|
|
@@ -918,6 +215,10 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
918
215
|
};
|
|
919
216
|
readonly minProperties: 1;
|
|
920
217
|
};
|
|
218
|
+
readonly release: {
|
|
219
|
+
readonly type: 'integer';
|
|
220
|
+
readonly minimum: 1;
|
|
221
|
+
};
|
|
921
222
|
readonly binding: {
|
|
922
223
|
readonly $ref: '#/$defs/id';
|
|
923
224
|
};
|
|
@@ -925,20 +226,10 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
925
226
|
readonly type: 'string';
|
|
926
227
|
};
|
|
927
228
|
readonly findings: {
|
|
928
|
-
readonly type: 'array';
|
|
929
|
-
readonly items: {
|
|
930
|
-
readonly type: 'string';
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
readonly owner: {
|
|
934
|
-
readonly type: 'object';
|
|
935
|
-
readonly additionalProperties: false;
|
|
936
|
-
readonly properties: {
|
|
937
|
-
readonly name: {
|
|
938
|
-
readonly type: 'string';
|
|
939
|
-
};
|
|
229
|
+
readonly type: 'array';
|
|
230
|
+
readonly items: {
|
|
231
|
+
readonly type: 'string';
|
|
940
232
|
};
|
|
941
|
-
readonly required: readonly ['name'];
|
|
942
233
|
};
|
|
943
234
|
readonly caller: {
|
|
944
235
|
readonly type: 'object';
|
|
@@ -1079,9 +370,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1079
370
|
readonly type: 'object';
|
|
1080
371
|
readonly additionalProperties: false;
|
|
1081
372
|
readonly properties: {
|
|
1082
|
-
readonly routine: {
|
|
1083
|
-
readonly $ref: '#/$defs/id';
|
|
1084
|
-
};
|
|
1085
373
|
readonly name: {
|
|
1086
374
|
readonly type: 'string';
|
|
1087
375
|
};
|
|
@@ -1092,19 +380,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1092
380
|
};
|
|
1093
381
|
readonly required: readonly ['name'];
|
|
1094
382
|
};
|
|
1095
|
-
readonly decliner: {
|
|
1096
|
-
readonly type: 'object';
|
|
1097
|
-
readonly additionalProperties: false;
|
|
1098
|
-
readonly properties: {
|
|
1099
|
-
readonly name: {
|
|
1100
|
-
readonly type: 'string';
|
|
1101
|
-
};
|
|
1102
|
-
};
|
|
1103
|
-
readonly required: readonly ['name'];
|
|
1104
|
-
};
|
|
1105
|
-
readonly input: {
|
|
1106
|
-
readonly type: 'string';
|
|
1107
|
-
};
|
|
1108
383
|
readonly export: {
|
|
1109
384
|
readonly $ref: '#/$defs/id';
|
|
1110
385
|
};
|
|
@@ -1130,16 +405,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1130
405
|
readonly maxLength: 300;
|
|
1131
406
|
readonly format: 'uri';
|
|
1132
407
|
};
|
|
1133
|
-
readonly to: {
|
|
1134
|
-
readonly type: 'object';
|
|
1135
|
-
readonly additionalProperties: false;
|
|
1136
|
-
readonly properties: {
|
|
1137
|
-
readonly name: {
|
|
1138
|
-
readonly type: 'string';
|
|
1139
|
-
};
|
|
1140
|
-
};
|
|
1141
|
-
readonly required: readonly ['name'];
|
|
1142
|
-
};
|
|
1143
408
|
readonly copies: {
|
|
1144
409
|
readonly type: 'integer';
|
|
1145
410
|
readonly minimum: 0;
|
|
@@ -1177,28 +442,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1177
442
|
readonly maxLength: 4096;
|
|
1178
443
|
readonly pattern: '^\\/.*';
|
|
1179
444
|
};
|
|
1180
|
-
readonly trigger: {
|
|
1181
|
-
readonly type: 'object';
|
|
1182
|
-
readonly additionalProperties: false;
|
|
1183
|
-
readonly properties: {
|
|
1184
|
-
readonly trigger: {
|
|
1185
|
-
readonly $ref: '#/$defs/id';
|
|
1186
|
-
};
|
|
1187
|
-
readonly name: {
|
|
1188
|
-
readonly type: 'string';
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
1191
|
-
readonly required: readonly ['trigger', 'name'];
|
|
1192
|
-
};
|
|
1193
|
-
readonly cause: {
|
|
1194
|
-
readonly type: 'string';
|
|
1195
|
-
};
|
|
1196
|
-
readonly function: {
|
|
1197
|
-
readonly type: 'string';
|
|
1198
|
-
};
|
|
1199
|
-
readonly error: {
|
|
1200
|
-
readonly type: 'string';
|
|
1201
|
-
};
|
|
1202
445
|
};
|
|
1203
446
|
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
1204
447
|
};
|
|
@@ -1206,25 +449,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1206
449
|
readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
|
|
1207
450
|
readonly properties: {};
|
|
1208
451
|
};
|
|
1209
|
-
readonly 'house-profile': {
|
|
1210
|
-
readonly description: "The User's display name, the email they sign in with and accepted about-me Markdown.";
|
|
1211
|
-
readonly properties: {
|
|
1212
|
-
readonly reflected: {
|
|
1213
|
-
readonly type: 'string';
|
|
1214
|
-
readonly format: 'date-time';
|
|
1215
|
-
};
|
|
1216
|
-
readonly name: {
|
|
1217
|
-
readonly type: 'string';
|
|
1218
|
-
};
|
|
1219
|
-
readonly email: {
|
|
1220
|
-
readonly type: 'string';
|
|
1221
|
-
};
|
|
1222
|
-
readonly about_me: {
|
|
1223
|
-
readonly type: 'string';
|
|
1224
|
-
};
|
|
1225
|
-
};
|
|
1226
|
-
readonly required: readonly ['reflected', 'name', 'email'];
|
|
1227
|
-
};
|
|
1228
452
|
readonly 'house-routine': {
|
|
1229
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.";
|
|
1230
454
|
readonly properties: {
|
|
@@ -1257,266 +481,8 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1257
481
|
};
|
|
1258
482
|
readonly required: readonly ['reflected', 'routine', 'description', 'input', 'agent'];
|
|
1259
483
|
};
|
|
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.";
|
|
1262
|
-
readonly properties: {
|
|
1263
|
-
readonly reflected: {
|
|
1264
|
-
readonly type: 'string';
|
|
1265
|
-
readonly format: 'date-time';
|
|
1266
|
-
};
|
|
1267
|
-
readonly site: {
|
|
1268
|
-
readonly $ref: '#/$defs/id';
|
|
1269
|
-
};
|
|
1270
|
-
readonly name: {
|
|
1271
|
-
readonly type: 'string';
|
|
1272
|
-
};
|
|
1273
|
-
readonly address: {
|
|
1274
|
-
readonly type: 'string';
|
|
1275
|
-
readonly format: 'uri';
|
|
1276
|
-
};
|
|
1277
|
-
readonly addresses: {
|
|
1278
|
-
readonly type: 'array';
|
|
1279
|
-
readonly items: {
|
|
1280
|
-
readonly type: 'string';
|
|
1281
|
-
readonly format: 'uri';
|
|
1282
|
-
};
|
|
1283
|
-
};
|
|
1284
|
-
readonly primary_address: {
|
|
1285
|
-
readonly type: 'string';
|
|
1286
|
-
readonly format: 'uri';
|
|
1287
|
-
};
|
|
1288
|
-
readonly domains: {
|
|
1289
|
-
readonly type: 'array';
|
|
1290
|
-
readonly items: {
|
|
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'];
|
|
1308
|
-
};
|
|
1309
|
-
};
|
|
1310
|
-
readonly app: {
|
|
1311
|
-
readonly $ref: '#/$defs/app';
|
|
1312
|
-
};
|
|
1313
|
-
readonly tab_icon_light: {
|
|
1314
|
-
readonly type: 'string';
|
|
1315
|
-
readonly pattern: '^data:image\\/';
|
|
1316
|
-
};
|
|
1317
|
-
readonly tab_icon_dark: {
|
|
1318
|
-
readonly type: 'string';
|
|
1319
|
-
readonly pattern: '^data:image\\/';
|
|
1320
|
-
};
|
|
1321
|
-
readonly tab_icon_colours: {
|
|
1322
|
-
readonly type: 'array';
|
|
1323
|
-
readonly items: {
|
|
1324
|
-
readonly type: 'string';
|
|
1325
|
-
readonly pattern: '^#[0-9a-f]{6}$';
|
|
1326
|
-
};
|
|
1327
|
-
};
|
|
1328
|
-
readonly tab_icon_blend: {
|
|
1329
|
-
readonly enum: readonly ['linear', 'radial'];
|
|
1330
|
-
};
|
|
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: {
|
|
1340
|
-
readonly type: 'object';
|
|
1341
|
-
readonly additionalProperties: false;
|
|
1342
|
-
readonly properties: {
|
|
1343
|
-
readonly release: {
|
|
1344
|
-
readonly $ref: '#/$defs/id';
|
|
1345
|
-
};
|
|
1346
|
-
readonly sequence: {
|
|
1347
|
-
readonly type: 'integer';
|
|
1348
|
-
readonly exclusiveMinimum: 0;
|
|
1349
|
-
};
|
|
1350
|
-
};
|
|
1351
|
-
readonly required: readonly ['release', 'sequence'];
|
|
1352
|
-
};
|
|
1353
|
-
readonly title: {
|
|
1354
|
-
readonly type: 'string';
|
|
1355
|
-
};
|
|
1356
|
-
readonly description: {
|
|
1357
|
-
readonly type: 'string';
|
|
1358
|
-
};
|
|
1359
|
-
readonly screenshot: {
|
|
1360
|
-
readonly type: 'string';
|
|
1361
|
-
readonly format: 'uri';
|
|
1362
|
-
};
|
|
1363
|
-
readonly analytics: {
|
|
1364
|
-
readonly type: 'string';
|
|
1365
|
-
readonly pattern: '^G-[A-Z0-9]{1,32}$';
|
|
1366
|
-
};
|
|
1367
|
-
readonly intake_room: {
|
|
1368
|
-
readonly type: 'object';
|
|
1369
|
-
readonly additionalProperties: false;
|
|
1370
|
-
readonly properties: {
|
|
1371
|
-
readonly room: {
|
|
1372
|
-
readonly $ref: '#/$defs/room';
|
|
1373
|
-
};
|
|
1374
|
-
};
|
|
1375
|
-
readonly required: readonly ['room'];
|
|
1376
|
-
};
|
|
1377
|
-
readonly external_origins: {
|
|
1378
|
-
readonly type: 'array';
|
|
1379
|
-
readonly items: {
|
|
1380
|
-
readonly type: 'string';
|
|
1381
|
-
readonly format: 'uri';
|
|
1382
|
-
};
|
|
1383
|
-
};
|
|
1384
|
-
readonly disabled: {
|
|
1385
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1386
|
-
};
|
|
1387
|
-
readonly disabled_reason: {
|
|
1388
|
-
readonly type: 'string';
|
|
1389
|
-
};
|
|
1390
|
-
readonly mode: {
|
|
1391
|
-
readonly enum: readonly ['snapshot', 'live'];
|
|
1392
|
-
};
|
|
1393
|
-
readonly unpublished: {
|
|
1394
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1395
|
-
};
|
|
1396
|
-
readonly suspended: {
|
|
1397
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1398
|
-
};
|
|
1399
|
-
readonly suspended_reason: {
|
|
1400
|
-
readonly type: 'string';
|
|
1401
|
-
readonly enum: readonly ['full_house_required', 'public_delivery_limit'];
|
|
1402
|
-
};
|
|
1403
|
-
readonly public_overage: {
|
|
1404
|
-
readonly enum: readonly ['on', 'off'];
|
|
1405
|
-
};
|
|
1406
|
-
readonly publication: {
|
|
1407
|
-
readonly $ref: '#/$defs/id';
|
|
1408
|
-
};
|
|
1409
|
-
readonly acts: {
|
|
1410
|
-
readonly type: 'array';
|
|
1411
|
-
readonly items: {
|
|
1412
|
-
readonly type: 'string';
|
|
1413
|
-
readonly enum: readonly ['unpublish', 'republish'];
|
|
1414
|
-
};
|
|
1415
|
-
};
|
|
1416
|
-
readonly indexing: {
|
|
1417
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1418
|
-
};
|
|
1419
|
-
readonly entry_fallback: {
|
|
1420
|
-
readonly type: 'object';
|
|
1421
|
-
readonly additionalProperties: false;
|
|
1422
|
-
readonly properties: {
|
|
1423
|
-
readonly cause: {
|
|
1424
|
-
readonly enum: readonly ['over_bound', 'query_refused', 'unavailable'];
|
|
1425
|
-
};
|
|
1426
|
-
readonly route: {
|
|
1427
|
-
readonly type: 'string';
|
|
1428
|
-
};
|
|
1429
|
-
readonly recorded: {
|
|
1430
|
-
readonly type: 'string';
|
|
1431
|
-
readonly format: 'date-time';
|
|
1432
|
-
};
|
|
1433
|
-
};
|
|
1434
|
-
readonly required: readonly ['cause', 'route', 'recorded'];
|
|
1435
|
-
};
|
|
1436
|
-
readonly created: {
|
|
1437
|
-
readonly type: 'string';
|
|
1438
|
-
readonly format: 'date-time';
|
|
1439
|
-
};
|
|
1440
|
-
readonly new_browsers: {
|
|
1441
|
-
readonly type: 'integer';
|
|
1442
|
-
readonly minimum: 0;
|
|
1443
|
-
};
|
|
1444
|
-
readonly submissions: {
|
|
1445
|
-
readonly type: 'integer';
|
|
1446
|
-
readonly minimum: 0;
|
|
1447
|
-
};
|
|
1448
|
-
readonly notify_me: {
|
|
1449
|
-
readonly enum: readonly ['on', 'off'];
|
|
1450
|
-
};
|
|
1451
|
-
readonly image_copies: {
|
|
1452
|
-
readonly type: 'integer';
|
|
1453
|
-
readonly minimum: 0;
|
|
1454
|
-
};
|
|
1455
|
-
readonly image_copy_bound: {
|
|
1456
|
-
readonly type: 'integer';
|
|
1457
|
-
readonly minimum: 0;
|
|
1458
|
-
};
|
|
1459
|
-
readonly image_copy_limit_reached: {
|
|
1460
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1461
|
-
};
|
|
1462
|
-
readonly slots: {
|
|
1463
|
-
readonly type: 'array';
|
|
1464
|
-
readonly items: {
|
|
1465
|
-
readonly type: 'object';
|
|
1466
|
-
readonly additionalProperties: false;
|
|
1467
|
-
readonly properties: {
|
|
1468
|
-
readonly slot: {
|
|
1469
|
-
readonly type: 'string';
|
|
1470
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
1471
|
-
};
|
|
1472
|
-
readonly entries: {
|
|
1473
|
-
readonly type: 'array';
|
|
1474
|
-
readonly items: {
|
|
1475
|
-
readonly type: 'object';
|
|
1476
|
-
readonly additionalProperties: false;
|
|
1477
|
-
readonly properties: {
|
|
1478
|
-
readonly room: {
|
|
1479
|
-
readonly $ref: '#/$defs/room';
|
|
1480
|
-
};
|
|
1481
|
-
readonly segment: {
|
|
1482
|
-
readonly type: 'string';
|
|
1483
|
-
};
|
|
1484
|
-
readonly compatibility: {
|
|
1485
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
1486
|
-
};
|
|
1487
|
-
};
|
|
1488
|
-
readonly required: readonly ['room', 'segment', 'compatibility'];
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
readonly required: readonly ['slot', 'entries'];
|
|
1493
|
-
};
|
|
1494
|
-
};
|
|
1495
|
-
readonly findings: {
|
|
1496
|
-
readonly type: 'array';
|
|
1497
|
-
readonly items: {
|
|
1498
|
-
readonly type: 'object';
|
|
1499
|
-
readonly additionalProperties: false;
|
|
1500
|
-
readonly properties: {
|
|
1501
|
-
readonly slot: {
|
|
1502
|
-
readonly type: 'string';
|
|
1503
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
1504
|
-
};
|
|
1505
|
-
readonly room: {
|
|
1506
|
-
readonly $ref: '#/$defs/room';
|
|
1507
|
-
};
|
|
1508
|
-
readonly finding: {
|
|
1509
|
-
readonly type: 'string';
|
|
1510
|
-
};
|
|
1511
|
-
};
|
|
1512
|
-
readonly required: readonly ['slot', 'room', 'finding'];
|
|
1513
|
-
};
|
|
1514
|
-
};
|
|
1515
|
-
};
|
|
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'];
|
|
1517
|
-
};
|
|
1518
484
|
readonly 'house-trigger': {
|
|
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.";
|
|
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.";
|
|
1520
486
|
readonly properties: {
|
|
1521
487
|
readonly reflected: {
|
|
1522
488
|
readonly type: 'string';
|
|
@@ -1762,6 +728,37 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1762
728
|
};
|
|
1763
729
|
};
|
|
1764
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'];
|
|
1765
762
|
}, {
|
|
1766
763
|
readonly type: 'object';
|
|
1767
764
|
readonly additionalProperties: false;
|