@agentshouse/mdruntime-adapter 0.1.0-c637ad982fd79 → 0.1.0-c648eb955ddfd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/actions.d.ts +2 -1
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +11 -3
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +74 -76
- package/dist/chunks.d.ts +38 -0
- package/dist/chunks.d.ts.map +1 -0
- package/dist/chunks.js +247 -0
- package/dist/discovery.d.ts +10 -3
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +34 -8
- package/dist/history.d.ts.map +1 -1
- package/dist/history.js +3 -2
- package/dist/house-model.d.ts +138 -1370
- package/dist/house-model.d.ts.map +1 -1
- package/dist/house-model.js +82 -733
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/model.d.ts +5 -7
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +30 -18
- package/dist/read.d.ts +19 -9
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +46 -143
- package/dist/room-types.d.ts +0 -2
- package/dist/room-types.d.ts.map +1 -1
- package/dist/room-types.js +6 -11
- 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 +33 -41
- package/dist/space-schema.d.ts +7 -0
- package/dist/space-schema.d.ts.map +1 -0
- package/dist/space-schema.js +18 -0
- package/dist/stream.d.ts +6 -4
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +91 -18
- package/dist/transport.d.ts +11 -10
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +12 -11
- package/dist/write.d.ts +2 -1
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +8 -23
- package/package.json +2 -2
- package/dist/part.d.ts +0 -14
- package/dist/part.d.ts.map +0 -1
- package/dist/part.js +0 -90
- package/dist/room-stream.d.ts +0 -19
- package/dist/room-stream.d.ts.map +0 -1
- package/dist/room-stream.js +0 -57
package/dist/house-model.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TypedPath } from '@agentshouse/mdruntime';
|
|
1
2
|
export declare const HOUSE_MODEL_DECLARATION: {
|
|
2
3
|
readonly $defs: {
|
|
3
4
|
readonly room: {
|
|
@@ -26,379 +27,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
26
27
|
readonly maxLength: 512;
|
|
27
28
|
readonly pattern: '^(?:a_[A-Za-z0-9._-]+(?:\\/source)?|r_[A-Za-z0-9._-]+(?:\\/(?:settings|settings\\/schema|settings\\/model|settings\\/indexing|content))?)$';
|
|
28
29
|
};
|
|
29
|
-
readonly trigger_test: {
|
|
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.';
|
|
31
|
-
readonly type: 'object';
|
|
32
|
-
readonly additionalProperties: true;
|
|
33
|
-
};
|
|
34
|
-
readonly trigger_values: {
|
|
35
|
-
readonly type: 'array';
|
|
36
|
-
readonly items: {
|
|
37
|
-
readonly anyOf: readonly [{
|
|
38
|
-
readonly type: 'string';
|
|
39
|
-
}, {
|
|
40
|
-
readonly type: 'number';
|
|
41
|
-
}, {
|
|
42
|
-
readonly type: 'boolean';
|
|
43
|
-
}];
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
readonly trigger_scope: {
|
|
47
|
-
readonly description: 'The documents a Trigger condition watches, by `type`, by `folder` or one document at its `path`, which `create_trigger` takes as `document`.';
|
|
48
|
-
readonly type: 'object';
|
|
49
|
-
readonly additionalProperties: false;
|
|
50
|
-
readonly properties: {
|
|
51
|
-
readonly type: {
|
|
52
|
-
readonly type: 'string';
|
|
53
|
-
};
|
|
54
|
-
readonly folder: {
|
|
55
|
-
readonly type: 'string';
|
|
56
|
-
};
|
|
57
|
-
readonly path: {
|
|
58
|
-
readonly type: 'string';
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
readonly minProperties: 1;
|
|
62
|
-
readonly maxProperties: 1;
|
|
63
|
-
};
|
|
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
30
|
};
|
|
403
31
|
readonly 'house-app-preferences': {
|
|
404
32
|
readonly description: "An App's preferences. Its own vocabulary is in the body.";
|
|
@@ -409,373 +37,21 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
409
37
|
};
|
|
410
38
|
readonly required: readonly ['app'];
|
|
411
39
|
};
|
|
412
|
-
readonly 'house-
|
|
413
|
-
readonly description: "One
|
|
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.';
|
|
40
|
+
readonly 'house-notification': {
|
|
41
|
+
readonly description: "One kept 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` is when the User opened it or marked it read, on any device: the one field House adds after delivery.";
|
|
498
42
|
readonly properties: {
|
|
499
|
-
readonly
|
|
500
|
-
readonly type: 'string';
|
|
501
|
-
readonly format: 'date-time';
|
|
502
|
-
};
|
|
503
|
-
readonly client: {
|
|
43
|
+
readonly notification: {
|
|
504
44
|
readonly $ref: '#/$defs/id';
|
|
505
45
|
};
|
|
506
|
-
readonly name: {
|
|
507
|
-
readonly type: 'string';
|
|
508
|
-
};
|
|
509
46
|
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
47
|
readonly type: 'string';
|
|
48
|
+
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'room-ownership-offer', 'managed-environment-retention-opened', 'storage-full', 'sandbox-budget-spent', 'trigger-failed', 'room-telegram-chat-paused', 'break-glass-owner-disclosure', 'export-ready', 'export-failed', 'custom', 'agent-function-request-finished'];
|
|
538
49
|
};
|
|
539
50
|
readonly created: {
|
|
540
51
|
readonly type: 'string';
|
|
541
52
|
readonly format: 'date-time';
|
|
542
53
|
};
|
|
543
|
-
readonly
|
|
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
|
-
readonly 'house-notification': {
|
|
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.";
|
|
770
|
-
readonly properties: {
|
|
771
|
-
readonly notification: {
|
|
772
|
-
readonly $ref: '#/$defs/id';
|
|
773
|
-
};
|
|
774
|
-
readonly kind: {
|
|
775
|
-
readonly type: 'string';
|
|
776
|
-
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'app-room-binding-incompatible', 'app-deleted', 'app-call', 'room-ownership-offer', 'managed-environment-retention-opened', 'managed-environment-placement-intervention', 'storage-full', 'sandbox-budget-spent', 'break-glass-owner-disclosure', 'routine-start-approval-request', 'routine-request-declined', 'routine-request-started', 'routine-request-finished', 'routine-request-not-started', 'export-ready', 'export-failed', 'site-disabled', 'site-binding-incompatible', 'site-room-left', 'site-images-full', 'custom', 'trigger-did-nothing', 'function-failed'];
|
|
777
|
-
};
|
|
778
|
-
readonly created: {
|
|
54
|
+
readonly read: {
|
|
779
55
|
readonly type: 'string';
|
|
780
56
|
readonly format: 'date-time';
|
|
781
57
|
};
|
|
@@ -787,30 +63,15 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
787
63
|
readonly type: 'string';
|
|
788
64
|
readonly pattern: '^\\/';
|
|
789
65
|
};
|
|
790
|
-
readonly room: {
|
|
791
|
-
readonly $ref: '#/$defs/room';
|
|
792
|
-
};
|
|
793
|
-
readonly app: {
|
|
794
|
-
readonly $ref: '#/$defs/app';
|
|
795
|
-
};
|
|
796
|
-
readonly agent: {
|
|
797
|
-
readonly $ref: '#/$defs/id';
|
|
66
|
+
readonly room: {
|
|
67
|
+
readonly $ref: '#/$defs/room';
|
|
798
68
|
};
|
|
799
69
|
readonly environment: {
|
|
800
70
|
readonly $ref: '#/$defs/id';
|
|
801
71
|
};
|
|
802
|
-
readonly routine: {
|
|
803
|
-
readonly $ref: '#/$defs/id';
|
|
804
|
-
};
|
|
805
|
-
readonly routine_request: {
|
|
806
|
-
readonly $ref: '#/$defs/id';
|
|
807
|
-
};
|
|
808
72
|
readonly trigger: {
|
|
809
73
|
readonly $ref: '#/$defs/id';
|
|
810
74
|
};
|
|
811
|
-
readonly site: {
|
|
812
|
-
readonly $ref: '#/$defs/id';
|
|
813
|
-
};
|
|
814
75
|
};
|
|
815
76
|
readonly minProperties: 1;
|
|
816
77
|
};
|
|
@@ -912,46 +173,8 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
912
173
|
readonly app: {
|
|
913
174
|
readonly $ref: '#/$defs/app';
|
|
914
175
|
};
|
|
915
|
-
readonly name: {
|
|
916
|
-
readonly type: 'string';
|
|
917
|
-
};
|
|
918
|
-
};
|
|
919
|
-
readonly minProperties: 1;
|
|
920
|
-
};
|
|
921
|
-
readonly binding: {
|
|
922
|
-
readonly $ref: '#/$defs/id';
|
|
923
|
-
};
|
|
924
|
-
readonly slot: {
|
|
925
|
-
readonly type: 'string';
|
|
926
|
-
};
|
|
927
|
-
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
|
-
};
|
|
940
|
-
};
|
|
941
|
-
readonly required: readonly ['name'];
|
|
942
|
-
};
|
|
943
|
-
readonly caller: {
|
|
944
|
-
readonly type: 'object';
|
|
945
|
-
readonly additionalProperties: false;
|
|
946
|
-
readonly properties: {
|
|
947
|
-
readonly user: {
|
|
948
|
-
readonly $ref: '#/$defs/id';
|
|
949
|
-
};
|
|
950
|
-
readonly name: {
|
|
951
|
-
readonly type: 'string';
|
|
952
|
-
};
|
|
953
176
|
};
|
|
954
|
-
readonly required: readonly ['
|
|
177
|
+
readonly required: readonly ['app'];
|
|
955
178
|
};
|
|
956
179
|
readonly ownership_offer: {
|
|
957
180
|
readonly $ref: '#/$defs/id';
|
|
@@ -993,9 +216,6 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
993
216
|
readonly type: 'string';
|
|
994
217
|
readonly format: 'date-time';
|
|
995
218
|
};
|
|
996
|
-
readonly operation_kind: {
|
|
997
|
-
readonly type: 'string';
|
|
998
|
-
};
|
|
999
219
|
readonly free: {
|
|
1000
220
|
readonly type: 'object';
|
|
1001
221
|
readonly additionalProperties: false;
|
|
@@ -1015,508 +235,200 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1015
235
|
};
|
|
1016
236
|
readonly required: readonly ['held', 'limit', 'measure'];
|
|
1017
237
|
};
|
|
1018
|
-
readonly
|
|
1019
|
-
readonly type: 'string';
|
|
1020
|
-
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
1021
|
-
};
|
|
1022
|
-
readonly resets_at: {
|
|
1023
|
-
readonly type: 'string';
|
|
1024
|
-
readonly format: 'date-time';
|
|
1025
|
-
};
|
|
1026
|
-
readonly grant: {
|
|
1027
|
-
readonly $ref: '#/$defs/id';
|
|
1028
|
-
};
|
|
1029
|
-
readonly category: {
|
|
1030
|
-
readonly type: 'string';
|
|
1031
|
-
};
|
|
1032
|
-
readonly access_started_at: {
|
|
1033
|
-
readonly type: 'string';
|
|
1034
|
-
readonly format: 'date-time';
|
|
1035
|
-
};
|
|
1036
|
-
readonly access_ended_at: {
|
|
238
|
+
readonly chat: {
|
|
1037
239
|
readonly type: 'string';
|
|
1038
|
-
readonly format: 'date-time';
|
|
1039
240
|
};
|
|
1040
|
-
readonly
|
|
241
|
+
readonly missing: {
|
|
1041
242
|
readonly type: 'array';
|
|
1042
243
|
readonly items: {
|
|
1043
244
|
readonly type: 'string';
|
|
245
|
+
readonly enum: readonly ['private', 'topics', 'ban_users', 'invite_users', 'manage_topics', 'post_messages', 'edit_messages'];
|
|
1044
246
|
};
|
|
1045
247
|
};
|
|
1046
|
-
readonly
|
|
1047
|
-
readonly type: 'string';
|
|
1048
|
-
};
|
|
1049
|
-
readonly routine_request: {
|
|
1050
|
-
readonly $ref: '#/$defs/id';
|
|
1051
|
-
};
|
|
1052
|
-
readonly requester: {
|
|
1053
|
-
readonly type: 'object';
|
|
1054
|
-
readonly additionalProperties: false;
|
|
1055
|
-
readonly properties: {
|
|
1056
|
-
readonly name: {
|
|
1057
|
-
readonly type: 'string';
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
|
-
readonly required: readonly ['name'];
|
|
1061
|
-
};
|
|
1062
|
-
readonly agent: {
|
|
1063
|
-
readonly type: 'object';
|
|
1064
|
-
readonly additionalProperties: false;
|
|
1065
|
-
readonly properties: {
|
|
1066
|
-
readonly agent: {
|
|
1067
|
-
readonly $ref: '#/$defs/id';
|
|
1068
|
-
};
|
|
1069
|
-
readonly name: {
|
|
1070
|
-
readonly type: 'string';
|
|
1071
|
-
};
|
|
1072
|
-
};
|
|
1073
|
-
readonly required: readonly ['name'];
|
|
1074
|
-
};
|
|
1075
|
-
readonly conversation: {
|
|
1076
|
-
readonly $ref: '#/$defs/id';
|
|
1077
|
-
};
|
|
1078
|
-
readonly routine: {
|
|
1079
|
-
readonly type: 'object';
|
|
1080
|
-
readonly additionalProperties: false;
|
|
1081
|
-
readonly properties: {
|
|
1082
|
-
readonly routine: {
|
|
1083
|
-
readonly $ref: '#/$defs/id';
|
|
1084
|
-
};
|
|
1085
|
-
readonly name: {
|
|
1086
|
-
readonly type: 'string';
|
|
1087
|
-
};
|
|
1088
|
-
readonly version: {
|
|
1089
|
-
readonly type: 'integer';
|
|
1090
|
-
readonly minimum: 1;
|
|
1091
|
-
};
|
|
1092
|
-
};
|
|
1093
|
-
readonly required: readonly ['name'];
|
|
1094
|
-
};
|
|
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
|
-
readonly export: {
|
|
1109
|
-
readonly $ref: '#/$defs/id';
|
|
1110
|
-
};
|
|
1111
|
-
readonly size_bytes: {
|
|
1112
|
-
readonly type: 'integer';
|
|
1113
|
-
readonly minimum: 0;
|
|
1114
|
-
};
|
|
1115
|
-
readonly site: {
|
|
1116
|
-
readonly type: 'object';
|
|
1117
|
-
readonly additionalProperties: false;
|
|
1118
|
-
readonly properties: {
|
|
1119
|
-
readonly site: {
|
|
1120
|
-
readonly $ref: '#/$defs/id';
|
|
1121
|
-
};
|
|
1122
|
-
readonly name: {
|
|
1123
|
-
readonly type: 'string';
|
|
1124
|
-
};
|
|
1125
|
-
};
|
|
1126
|
-
readonly required: readonly ['site', 'name'];
|
|
1127
|
-
};
|
|
1128
|
-
readonly address: {
|
|
1129
|
-
readonly type: 'string';
|
|
1130
|
-
readonly maxLength: 300;
|
|
1131
|
-
readonly format: 'uri';
|
|
1132
|
-
};
|
|
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
|
-
readonly copies: {
|
|
1144
|
-
readonly type: 'integer';
|
|
1145
|
-
readonly minimum: 0;
|
|
1146
|
-
};
|
|
1147
|
-
readonly bound: {
|
|
1148
|
-
readonly type: 'integer';
|
|
1149
|
-
readonly minimum: 0;
|
|
1150
|
-
};
|
|
1151
|
-
readonly title: {
|
|
1152
|
-
readonly type: 'string';
|
|
1153
|
-
};
|
|
1154
|
-
readonly body: {
|
|
1155
|
-
readonly type: 'string';
|
|
1156
|
-
};
|
|
1157
|
-
readonly authorship: {
|
|
1158
|
-
readonly type: 'object';
|
|
1159
|
-
readonly additionalProperties: false;
|
|
1160
|
-
readonly properties: {
|
|
1161
|
-
readonly kind: {
|
|
1162
|
-
readonly type: 'string';
|
|
1163
|
-
readonly const: 'trigger-action';
|
|
1164
|
-
};
|
|
1165
|
-
readonly trigger: {
|
|
1166
|
-
readonly $ref: '#/$defs/id';
|
|
1167
|
-
};
|
|
1168
|
-
readonly position: {
|
|
1169
|
-
readonly type: 'integer';
|
|
1170
|
-
readonly minimum: 0;
|
|
1171
|
-
};
|
|
1172
|
-
};
|
|
1173
|
-
readonly required: readonly ['kind', 'trigger', 'position'];
|
|
1174
|
-
};
|
|
1175
|
-
readonly path: {
|
|
1176
|
-
readonly type: 'string';
|
|
1177
|
-
readonly maxLength: 4096;
|
|
1178
|
-
readonly pattern: '^\\/.*';
|
|
1179
|
-
};
|
|
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
|
-
};
|
|
1203
|
-
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
1204
|
-
};
|
|
1205
|
-
readonly 'house-panel-preferences': {
|
|
1206
|
-
readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
|
|
1207
|
-
readonly properties: {};
|
|
1208
|
-
};
|
|
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
|
-
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.";
|
|
1230
|
-
readonly properties: {
|
|
1231
|
-
readonly reflected: {
|
|
1232
|
-
readonly type: 'string';
|
|
1233
|
-
readonly format: 'date-time';
|
|
1234
|
-
};
|
|
1235
|
-
readonly routine: {
|
|
1236
|
-
readonly $ref: '#/$defs/id';
|
|
1237
|
-
};
|
|
1238
|
-
readonly description: {
|
|
1239
|
-
readonly type: 'string';
|
|
1240
|
-
};
|
|
1241
|
-
readonly input: {
|
|
248
|
+
readonly budget: {
|
|
1242
249
|
readonly type: 'string';
|
|
250
|
+
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
1243
251
|
};
|
|
1244
|
-
readonly
|
|
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'];
|
|
1256
|
-
};
|
|
1257
|
-
};
|
|
1258
|
-
readonly required: readonly ['reflected', 'routine', 'description', 'input', 'agent'];
|
|
1259
|
-
};
|
|
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: {
|
|
252
|
+
readonly resets_at: {
|
|
1264
253
|
readonly type: 'string';
|
|
1265
254
|
readonly format: 'date-time';
|
|
1266
255
|
};
|
|
1267
|
-
readonly
|
|
256
|
+
readonly grant: {
|
|
1268
257
|
readonly $ref: '#/$defs/id';
|
|
1269
258
|
};
|
|
1270
|
-
readonly
|
|
259
|
+
readonly category: {
|
|
260
|
+
readonly type: 'string';
|
|
261
|
+
};
|
|
262
|
+
readonly access_started_at: {
|
|
1271
263
|
readonly type: 'string';
|
|
264
|
+
readonly format: 'date-time';
|
|
1272
265
|
};
|
|
1273
|
-
readonly
|
|
266
|
+
readonly access_ended_at: {
|
|
1274
267
|
readonly type: 'string';
|
|
1275
|
-
readonly format: '
|
|
268
|
+
readonly format: 'date-time';
|
|
1276
269
|
};
|
|
1277
|
-
readonly
|
|
270
|
+
readonly systems: {
|
|
1278
271
|
readonly type: 'array';
|
|
1279
272
|
readonly items: {
|
|
1280
273
|
readonly type: 'string';
|
|
1281
|
-
readonly format: 'uri';
|
|
1282
274
|
};
|
|
1283
275
|
};
|
|
1284
|
-
readonly
|
|
276
|
+
readonly case_reference: {
|
|
1285
277
|
readonly type: 'string';
|
|
1286
|
-
readonly format: 'uri';
|
|
1287
278
|
};
|
|
1288
|
-
readonly
|
|
1289
|
-
readonly
|
|
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
|
-
};
|
|
279
|
+
readonly export: {
|
|
280
|
+
readonly $ref: '#/$defs/id';
|
|
1309
281
|
};
|
|
1310
|
-
readonly
|
|
1311
|
-
readonly
|
|
282
|
+
readonly size_bytes: {
|
|
283
|
+
readonly type: 'integer';
|
|
284
|
+
readonly minimum: 0;
|
|
1312
285
|
};
|
|
1313
|
-
readonly
|
|
286
|
+
readonly title: {
|
|
1314
287
|
readonly type: 'string';
|
|
1315
|
-
readonly pattern: '^data:image\\/';
|
|
1316
288
|
};
|
|
1317
|
-
readonly
|
|
289
|
+
readonly body: {
|
|
1318
290
|
readonly type: 'string';
|
|
1319
|
-
readonly pattern: '^data:image\\/';
|
|
1320
291
|
};
|
|
1321
|
-
readonly
|
|
1322
|
-
readonly type: '
|
|
1323
|
-
readonly
|
|
1324
|
-
|
|
1325
|
-
readonly
|
|
292
|
+
readonly authorship: {
|
|
293
|
+
readonly type: 'object';
|
|
294
|
+
readonly additionalProperties: false;
|
|
295
|
+
readonly properties: {
|
|
296
|
+
readonly kind: {
|
|
297
|
+
readonly type: 'string';
|
|
298
|
+
readonly const: 'trigger-action';
|
|
299
|
+
};
|
|
300
|
+
readonly trigger: {
|
|
301
|
+
readonly $ref: '#/$defs/id';
|
|
302
|
+
};
|
|
303
|
+
readonly position: {
|
|
304
|
+
readonly type: 'integer';
|
|
305
|
+
readonly minimum: 0;
|
|
306
|
+
};
|
|
1326
307
|
};
|
|
308
|
+
readonly required: readonly ['kind', 'trigger', 'position'];
|
|
1327
309
|
};
|
|
1328
|
-
readonly
|
|
1329
|
-
readonly
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
readonly type: 'integer';
|
|
1333
|
-
readonly minimum: 0;
|
|
1334
|
-
readonly maximum: 359;
|
|
1335
|
-
};
|
|
1336
|
-
readonly tab_icon_from: {
|
|
1337
|
-
readonly enum: readonly ['site', 'app'];
|
|
310
|
+
readonly path: {
|
|
311
|
+
readonly type: 'string';
|
|
312
|
+
readonly maxLength: 4096;
|
|
313
|
+
readonly pattern: '^\\/.*';
|
|
1338
314
|
};
|
|
1339
|
-
readonly
|
|
315
|
+
readonly trigger: {
|
|
1340
316
|
readonly type: 'object';
|
|
1341
317
|
readonly additionalProperties: false;
|
|
1342
318
|
readonly properties: {
|
|
1343
|
-
readonly
|
|
319
|
+
readonly trigger: {
|
|
1344
320
|
readonly $ref: '#/$defs/id';
|
|
1345
321
|
};
|
|
1346
|
-
readonly
|
|
1347
|
-
readonly type: '
|
|
1348
|
-
readonly exclusiveMinimum: 0;
|
|
322
|
+
readonly description: {
|
|
323
|
+
readonly type: 'string';
|
|
1349
324
|
};
|
|
1350
325
|
};
|
|
1351
|
-
readonly required: readonly ['
|
|
326
|
+
readonly required: readonly ['trigger', 'description'];
|
|
1352
327
|
};
|
|
1353
|
-
readonly
|
|
328
|
+
readonly code: {
|
|
1354
329
|
readonly type: 'string';
|
|
330
|
+
readonly enum: readonly ['failed', 'function_failed', 'function_not_started', 'agent_function_request_not_started'];
|
|
1355
331
|
};
|
|
1356
|
-
readonly
|
|
1357
|
-
readonly type: '
|
|
332
|
+
readonly action: {
|
|
333
|
+
readonly type: 'integer';
|
|
334
|
+
readonly minimum: 0;
|
|
1358
335
|
};
|
|
1359
|
-
readonly
|
|
336
|
+
readonly moment: {
|
|
1360
337
|
readonly type: 'string';
|
|
1361
|
-
readonly format: '
|
|
338
|
+
readonly format: 'date-time';
|
|
1362
339
|
};
|
|
1363
|
-
readonly
|
|
340
|
+
readonly error: {
|
|
1364
341
|
readonly type: 'string';
|
|
1365
|
-
readonly pattern: '^G-[A-Z0-9]{1,32}$';
|
|
1366
342
|
};
|
|
1367
|
-
readonly
|
|
343
|
+
readonly agent_function: {
|
|
1368
344
|
readonly type: 'object';
|
|
1369
345
|
readonly additionalProperties: false;
|
|
1370
346
|
readonly properties: {
|
|
1371
|
-
readonly
|
|
1372
|
-
readonly
|
|
347
|
+
readonly name: {
|
|
348
|
+
readonly type: 'string';
|
|
1373
349
|
};
|
|
1374
350
|
};
|
|
1375
|
-
readonly required: readonly ['
|
|
351
|
+
readonly required: readonly ['name'];
|
|
1376
352
|
};
|
|
1377
|
-
readonly
|
|
1378
|
-
readonly type: '
|
|
1379
|
-
readonly
|
|
1380
|
-
|
|
1381
|
-
readonly
|
|
353
|
+
readonly agent: {
|
|
354
|
+
readonly type: 'object';
|
|
355
|
+
readonly additionalProperties: false;
|
|
356
|
+
readonly properties: {
|
|
357
|
+
readonly name: {
|
|
358
|
+
readonly type: 'string';
|
|
359
|
+
};
|
|
1382
360
|
};
|
|
361
|
+
readonly required: readonly ['name'];
|
|
1383
362
|
};
|
|
1384
|
-
readonly
|
|
1385
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1386
|
-
};
|
|
1387
|
-
readonly disabled_reason: {
|
|
363
|
+
readonly ended: {
|
|
1388
364
|
readonly type: 'string';
|
|
365
|
+
readonly enum: readonly ['finished', 'failed'];
|
|
1389
366
|
};
|
|
1390
|
-
readonly
|
|
1391
|
-
readonly
|
|
1392
|
-
|
|
1393
|
-
readonly unpublished: {
|
|
1394
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1395
|
-
};
|
|
1396
|
-
readonly suspended: {
|
|
1397
|
-
readonly enum: readonly ['yes', 'no'];
|
|
367
|
+
readonly duration: {
|
|
368
|
+
readonly type: 'integer';
|
|
369
|
+
readonly minimum: 1;
|
|
1398
370
|
};
|
|
1399
|
-
|
|
371
|
+
};
|
|
372
|
+
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
373
|
+
};
|
|
374
|
+
readonly 'house-panel-preferences': {
|
|
375
|
+
readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
|
|
376
|
+
readonly properties: {};
|
|
377
|
+
};
|
|
378
|
+
readonly 'house-agent-function': {
|
|
379
|
+
readonly description: "One Agent function that serves this Room, which House alone writes from its owner's document in their Private Room: the `agent_function` 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 Agent function's instruction is never written here.";
|
|
380
|
+
readonly properties: {
|
|
381
|
+
readonly reflected: {
|
|
1400
382
|
readonly type: 'string';
|
|
1401
|
-
readonly
|
|
1402
|
-
};
|
|
1403
|
-
readonly public_overage: {
|
|
1404
|
-
readonly enum: readonly ['on', 'off'];
|
|
383
|
+
readonly format: 'date-time';
|
|
1405
384
|
};
|
|
1406
|
-
readonly
|
|
385
|
+
readonly agent_function: {
|
|
1407
386
|
readonly $ref: '#/$defs/id';
|
|
1408
387
|
};
|
|
1409
|
-
readonly
|
|
1410
|
-
readonly type: '
|
|
1411
|
-
readonly items: {
|
|
1412
|
-
readonly type: 'string';
|
|
1413
|
-
readonly enum: readonly ['unpublish', 'republish'];
|
|
1414
|
-
};
|
|
388
|
+
readonly description: {
|
|
389
|
+
readonly type: 'string';
|
|
1415
390
|
};
|
|
1416
|
-
readonly
|
|
1417
|
-
readonly
|
|
391
|
+
readonly input: {
|
|
392
|
+
readonly type: 'string';
|
|
1418
393
|
};
|
|
1419
|
-
readonly
|
|
394
|
+
readonly agent: {
|
|
1420
395
|
readonly type: 'object';
|
|
1421
396
|
readonly additionalProperties: false;
|
|
1422
397
|
readonly properties: {
|
|
1423
|
-
readonly
|
|
1424
|
-
readonly
|
|
1425
|
-
};
|
|
1426
|
-
readonly route: {
|
|
1427
|
-
readonly type: 'string';
|
|
398
|
+
readonly agent: {
|
|
399
|
+
readonly $ref: '#/$defs/id';
|
|
1428
400
|
};
|
|
1429
|
-
readonly
|
|
401
|
+
readonly name: {
|
|
1430
402
|
readonly type: 'string';
|
|
1431
|
-
readonly format: 'date-time';
|
|
1432
403
|
};
|
|
1433
404
|
};
|
|
1434
|
-
readonly required: readonly ['
|
|
405
|
+
readonly required: readonly ['agent', 'name'];
|
|
1435
406
|
};
|
|
1436
|
-
|
|
407
|
+
};
|
|
408
|
+
readonly required: readonly ['reflected', 'agent_function', 'description', 'input', 'agent'];
|
|
409
|
+
};
|
|
410
|
+
readonly 'house-agent-function-document': {
|
|
411
|
+
readonly description: 'One Agent function as its owner writes it in their Private Room at rooms/<room-handle>/agent-functions/<name>.md, a path that binds this type and a document that names no type: what it does as `description`, what a caller sends as `input`, empty when it takes nothing, the `agent` it starts, by identifier, and `afk`, true for a run nobody watches, off when absent. Its body is the instruction that Agent follows.';
|
|
412
|
+
readonly properties: {
|
|
413
|
+
readonly description: {
|
|
1437
414
|
readonly type: 'string';
|
|
1438
|
-
readonly
|
|
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;
|
|
415
|
+
readonly maxLength: 2000;
|
|
416
|
+
readonly pattern: '\\S';
|
|
1458
417
|
};
|
|
1459
|
-
readonly
|
|
1460
|
-
readonly
|
|
418
|
+
readonly input: {
|
|
419
|
+
readonly type: 'string';
|
|
1461
420
|
};
|
|
1462
|
-
readonly
|
|
1463
|
-
readonly
|
|
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
|
-
};
|
|
421
|
+
readonly agent: {
|
|
422
|
+
readonly $ref: '#/$defs/id';
|
|
1494
423
|
};
|
|
1495
|
-
readonly
|
|
1496
|
-
readonly type: '
|
|
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
|
-
};
|
|
424
|
+
readonly afk: {
|
|
425
|
+
readonly type: 'boolean';
|
|
1514
426
|
};
|
|
1515
427
|
};
|
|
1516
|
-
readonly required: readonly ['
|
|
428
|
+
readonly required: readonly ['description', 'input', 'agent'];
|
|
1517
429
|
};
|
|
1518
430
|
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`;
|
|
431
|
+
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`; an `agent_function` action sends its `payload` to the Agent function whose card under this Room's `house/agent-functions/` its `card` names, absent while this Room holds no card of that Agent function; a `message` action puts its `text` into the active conversation that Agent function started for what the Event is about, or starts that Agent function when none is active; a `done` action marks Done every active conversation an Agent function 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 Agent function's card, the App's latest release and the owner's functions.";
|
|
1520
432
|
readonly properties: {
|
|
1521
433
|
readonly reflected: {
|
|
1522
434
|
readonly type: 'string';
|
|
@@ -1529,166 +441,9 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1529
441
|
readonly type: 'string';
|
|
1530
442
|
};
|
|
1531
443
|
readonly condition: {
|
|
1532
|
-
readonly
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
readonly properties: {
|
|
1536
|
-
readonly on: {
|
|
1537
|
-
readonly const: 'documents';
|
|
1538
|
-
};
|
|
1539
|
-
readonly scope: {
|
|
1540
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
1541
|
-
};
|
|
1542
|
-
readonly mode: {
|
|
1543
|
-
readonly const: 'starts_matching';
|
|
1544
|
-
};
|
|
1545
|
-
readonly new_documents: {
|
|
1546
|
-
readonly type: 'boolean';
|
|
1547
|
-
};
|
|
1548
|
-
readonly match: {
|
|
1549
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1550
|
-
};
|
|
1551
|
-
readonly by: {
|
|
1552
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1553
|
-
};
|
|
1554
|
-
readonly moved_between_rooms: {
|
|
1555
|
-
readonly type: 'boolean';
|
|
1556
|
-
};
|
|
1557
|
-
};
|
|
1558
|
-
readonly required: readonly ['on', 'scope', 'mode', 'new_documents', 'match'];
|
|
1559
|
-
}, {
|
|
1560
|
-
readonly type: 'object';
|
|
1561
|
-
readonly additionalProperties: false;
|
|
1562
|
-
readonly properties: {
|
|
1563
|
-
readonly on: {
|
|
1564
|
-
readonly const: 'documents';
|
|
1565
|
-
};
|
|
1566
|
-
readonly scope: {
|
|
1567
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
1568
|
-
};
|
|
1569
|
-
readonly mode: {
|
|
1570
|
-
readonly const: 'field_changes';
|
|
1571
|
-
};
|
|
1572
|
-
readonly field: {
|
|
1573
|
-
readonly type: 'string';
|
|
1574
|
-
};
|
|
1575
|
-
readonly from: {
|
|
1576
|
-
readonly anyOf: readonly [{
|
|
1577
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
1578
|
-
}, {
|
|
1579
|
-
readonly const: 'new';
|
|
1580
|
-
}];
|
|
1581
|
-
};
|
|
1582
|
-
readonly to: {
|
|
1583
|
-
readonly anyOf: readonly [{
|
|
1584
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
1585
|
-
}, {
|
|
1586
|
-
readonly const: 'deleted';
|
|
1587
|
-
}];
|
|
1588
|
-
};
|
|
1589
|
-
readonly match: {
|
|
1590
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1591
|
-
};
|
|
1592
|
-
readonly by: {
|
|
1593
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1594
|
-
};
|
|
1595
|
-
readonly moved_between_rooms: {
|
|
1596
|
-
readonly type: 'boolean';
|
|
1597
|
-
};
|
|
1598
|
-
};
|
|
1599
|
-
readonly required: readonly ['on', 'scope', 'mode', 'field'];
|
|
1600
|
-
}, {
|
|
1601
|
-
readonly type: 'object';
|
|
1602
|
-
readonly additionalProperties: false;
|
|
1603
|
-
readonly properties: {
|
|
1604
|
-
readonly on: {
|
|
1605
|
-
readonly const: 'items';
|
|
1606
|
-
};
|
|
1607
|
-
readonly source: {
|
|
1608
|
-
readonly type: 'string';
|
|
1609
|
-
};
|
|
1610
|
-
readonly address: {
|
|
1611
|
-
readonly type: 'string';
|
|
1612
|
-
};
|
|
1613
|
-
readonly match: {
|
|
1614
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1615
|
-
};
|
|
1616
|
-
};
|
|
1617
|
-
readonly required: readonly ['on'];
|
|
1618
|
-
}, {
|
|
1619
|
-
readonly type: 'object';
|
|
1620
|
-
readonly additionalProperties: false;
|
|
1621
|
-
readonly properties: {
|
|
1622
|
-
readonly on: {
|
|
1623
|
-
readonly const: 'notifications';
|
|
1624
|
-
};
|
|
1625
|
-
readonly match: {
|
|
1626
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1627
|
-
};
|
|
1628
|
-
};
|
|
1629
|
-
readonly required: readonly ['on'];
|
|
1630
|
-
}, {
|
|
1631
|
-
readonly type: 'object';
|
|
1632
|
-
readonly additionalProperties: false;
|
|
1633
|
-
readonly properties: {
|
|
1634
|
-
readonly on: {
|
|
1635
|
-
readonly const: 'messages';
|
|
1636
|
-
};
|
|
1637
|
-
readonly match: {
|
|
1638
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1639
|
-
};
|
|
1640
|
-
};
|
|
1641
|
-
readonly required: readonly ['on'];
|
|
1642
|
-
}, {
|
|
1643
|
-
readonly type: 'object';
|
|
1644
|
-
readonly additionalProperties: false;
|
|
1645
|
-
readonly properties: {
|
|
1646
|
-
readonly on: {
|
|
1647
|
-
readonly const: 'clock';
|
|
1648
|
-
};
|
|
1649
|
-
readonly cron: {
|
|
1650
|
-
readonly type: 'string';
|
|
1651
|
-
};
|
|
1652
|
-
readonly time_zone: {
|
|
1653
|
-
readonly type: 'string';
|
|
1654
|
-
};
|
|
1655
|
-
};
|
|
1656
|
-
readonly required: readonly ['on', 'cron', 'time_zone'];
|
|
1657
|
-
}, {
|
|
1658
|
-
readonly type: 'object';
|
|
1659
|
-
readonly additionalProperties: false;
|
|
1660
|
-
readonly properties: {
|
|
1661
|
-
readonly on: {
|
|
1662
|
-
readonly const: 'clock';
|
|
1663
|
-
};
|
|
1664
|
-
readonly scope: {
|
|
1665
|
-
readonly type: 'object';
|
|
1666
|
-
readonly additionalProperties: false;
|
|
1667
|
-
readonly properties: {
|
|
1668
|
-
readonly type: {
|
|
1669
|
-
readonly type: 'string';
|
|
1670
|
-
};
|
|
1671
|
-
};
|
|
1672
|
-
readonly required: readonly ['type'];
|
|
1673
|
-
};
|
|
1674
|
-
readonly date: {
|
|
1675
|
-
readonly type: 'string';
|
|
1676
|
-
};
|
|
1677
|
-
readonly days: {
|
|
1678
|
-
readonly type: 'integer';
|
|
1679
|
-
};
|
|
1680
|
-
readonly at: {
|
|
1681
|
-
readonly type: 'string';
|
|
1682
|
-
};
|
|
1683
|
-
readonly time_zone: {
|
|
1684
|
-
readonly type: 'string';
|
|
1685
|
-
};
|
|
1686
|
-
readonly match: {
|
|
1687
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
1688
|
-
};
|
|
1689
|
-
};
|
|
1690
|
-
readonly required: readonly ['on', 'scope', 'date', 'days', 'at', 'time_zone'];
|
|
1691
|
-
}];
|
|
444
|
+
readonly description: 'When it fires, as the Trigger reference page writes it, a document it names at its current path.';
|
|
445
|
+
readonly type: 'object';
|
|
446
|
+
readonly additionalProperties: true;
|
|
1692
447
|
};
|
|
1693
448
|
readonly actions: {
|
|
1694
449
|
readonly type: 'array';
|
|
@@ -1748,7 +503,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1748
503
|
readonly additionalProperties: false;
|
|
1749
504
|
readonly properties: {
|
|
1750
505
|
readonly kind: {
|
|
1751
|
-
readonly const: '
|
|
506
|
+
readonly const: 'agent_function';
|
|
1752
507
|
};
|
|
1753
508
|
readonly enabled: {
|
|
1754
509
|
readonly type: 'boolean';
|
|
@@ -1781,6 +536,18 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1781
536
|
};
|
|
1782
537
|
};
|
|
1783
538
|
readonly required: readonly ['kind', 'enabled', 'text'];
|
|
539
|
+
}, {
|
|
540
|
+
readonly type: 'object';
|
|
541
|
+
readonly additionalProperties: false;
|
|
542
|
+
readonly properties: {
|
|
543
|
+
readonly kind: {
|
|
544
|
+
readonly const: 'done';
|
|
545
|
+
};
|
|
546
|
+
readonly enabled: {
|
|
547
|
+
readonly type: 'boolean';
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
readonly required: readonly ['kind', 'enabled'];
|
|
1784
551
|
}, {
|
|
1785
552
|
readonly type: 'object';
|
|
1786
553
|
readonly additionalProperties: false;
|
|
@@ -1865,6 +632,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
1865
632
|
};
|
|
1866
633
|
};
|
|
1867
634
|
export declare const HOUSE_MODEL_TYPES: string;
|
|
635
|
+
export declare const HOUSE_TYPED_PATHS: readonly TypedPath[];
|
|
1868
636
|
type Model = typeof HOUSE_MODEL_DECLARATION;
|
|
1869
637
|
type Definitions = Model['$defs'];
|
|
1870
638
|
export type HouseModelType = Exclude<keyof Model, '$defs'>;
|