@agentshouse/mdruntime-adapter 0.1.0-c8d322eea4abd → 0.1.0-c8f2ffa9f2e89

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.
Files changed (45) hide show
  1. package/dist/actions.d.ts.map +1 -1
  2. package/dist/actions.js +7 -6
  3. package/dist/adapter.d.ts.map +1 -1
  4. package/dist/adapter.js +51 -36
  5. package/dist/authored-path.js +1 -1
  6. package/dist/chunks.d.ts +1 -1
  7. package/dist/chunks.d.ts.map +1 -1
  8. package/dist/chunks.js +37 -15
  9. package/dist/history.d.ts +1 -6
  10. package/dist/history.d.ts.map +1 -1
  11. package/dist/history.js +21 -28
  12. package/dist/house-model.d.ts +133 -4
  13. package/dist/house-model.d.ts.map +1 -1
  14. package/dist/house-model.js +157 -98
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +1 -0
  18. package/dist/refusal.d.ts +2 -1
  19. package/dist/refusal.d.ts.map +1 -1
  20. package/dist/refusal.js +12 -6
  21. package/dist/room-types.d.ts.map +1 -1
  22. package/dist/room-types.js +62 -46
  23. package/dist/search.d.ts.map +1 -1
  24. package/dist/search.js +4 -4
  25. package/dist/session-content/index.d.ts +1 -1
  26. package/dist/session-content/parts.d.ts +4 -3
  27. package/dist/session-content/turn.d.ts +3 -3
  28. package/dist/site.d.ts.map +1 -1
  29. package/dist/site.js +12 -10
  30. package/dist/space-schema.d.ts +1 -1
  31. package/dist/space-schema.d.ts.map +1 -1
  32. package/dist/space-schema.js +2 -2
  33. package/dist/stream.d.ts.map +1 -1
  34. package/dist/stream.js +34 -11
  35. package/dist/transport.d.ts +3 -5
  36. package/dist/transport.d.ts.map +1 -1
  37. package/dist/uncertain.d.ts +5 -0
  38. package/dist/uncertain.d.ts.map +1 -0
  39. package/dist/uncertain.js +11 -0
  40. package/dist/upload.d.ts +3 -1
  41. package/dist/upload.d.ts.map +1 -1
  42. package/dist/upload.js +8 -6
  43. package/dist/write.d.ts.map +1 -1
  44. package/dist/write.js +17 -15
  45. package/package.json +2 -2
@@ -26,6 +26,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
26
26
  readonly description: "An App's preferences. Its own vocabulary is in the body.";
27
27
  readonly properties: {
28
28
  readonly app: {
29
+ readonly title: 'App';
29
30
  readonly $ref: '#/$defs/app';
30
31
  };
31
32
  };
@@ -35,54 +36,68 @@ export declare const HOUSE_MODEL_DECLARATION: {
35
36
  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.";
36
37
  readonly properties: {
37
38
  readonly notification: {
39
+ readonly title: 'Notification';
38
40
  readonly $ref: '#/$defs/id';
39
41
  };
40
42
  readonly kind: {
43
+ readonly title: 'Kind';
41
44
  readonly type: 'string';
42
45
  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'];
43
46
  };
44
47
  readonly created: {
48
+ readonly title: 'Created';
45
49
  readonly type: 'string';
46
50
  readonly format: 'date-time';
47
51
  };
48
52
  readonly read: {
53
+ readonly title: 'Read';
49
54
  readonly type: 'string';
50
55
  readonly format: 'date-time';
51
56
  };
52
57
  readonly way_in: {
58
+ readonly title: 'Way in';
53
59
  readonly type: 'object';
54
60
  readonly additionalProperties: false;
55
61
  readonly properties: {
56
62
  readonly path: {
63
+ readonly title: 'Path';
57
64
  readonly type: 'string';
58
65
  readonly pattern: '^\\/';
59
66
  };
60
67
  readonly room: {
68
+ readonly title: 'Room';
61
69
  readonly $ref: '#/$defs/room';
62
70
  };
63
71
  readonly environment: {
72
+ readonly title: 'Environment';
64
73
  readonly $ref: '#/$defs/id';
65
74
  };
66
75
  readonly trigger: {
76
+ readonly title: 'Trigger';
67
77
  readonly $ref: '#/$defs/id';
68
78
  };
69
79
  };
70
80
  readonly minProperties: 1;
71
81
  };
72
82
  readonly subject: {
83
+ readonly title: 'Subject';
73
84
  readonly type: 'string';
74
85
  };
75
86
  readonly share: {
87
+ readonly title: 'Share';
76
88
  readonly $ref: '#/$defs/id';
77
89
  };
78
90
  readonly issuer: {
91
+ readonly title: 'Issuer';
79
92
  readonly type: 'object';
80
93
  readonly additionalProperties: false;
81
94
  readonly properties: {
82
95
  readonly name: {
96
+ readonly title: 'Name';
83
97
  readonly type: 'string';
84
98
  };
85
99
  readonly email: {
100
+ readonly title: 'Email';
86
101
  readonly type: 'string';
87
102
  readonly format: 'email';
88
103
  };
@@ -90,12 +105,14 @@ export declare const HOUSE_MODEL_DECLARATION: {
90
105
  readonly required: readonly ['name', 'email'];
91
106
  };
92
107
  readonly rooms: {
108
+ readonly title: 'Rooms';
93
109
  readonly type: 'array';
94
110
  readonly items: {
95
111
  readonly type: 'object';
96
112
  readonly additionalProperties: false;
97
113
  readonly properties: {
98
114
  readonly name: {
115
+ readonly title: 'Name';
99
116
  readonly type: 'string';
100
117
  };
101
118
  };
@@ -103,17 +120,20 @@ export declare const HOUSE_MODEL_DECLARATION: {
103
120
  };
104
121
  };
105
122
  readonly apps: {
123
+ readonly title: 'Apps';
106
124
  readonly type: 'array';
107
125
  readonly items: {
108
126
  readonly type: 'object';
109
127
  readonly additionalProperties: false;
110
128
  readonly properties: {
111
129
  readonly name: {
130
+ readonly title: 'Name';
112
131
  readonly type: 'string';
113
132
  readonly minLength: 1;
114
133
  readonly maxLength: 200;
115
134
  };
116
135
  readonly reaches: {
136
+ readonly title: 'Reaches';
117
137
  readonly type: 'array';
118
138
  readonly items: {
119
139
  readonly type: 'string';
@@ -126,12 +146,14 @@ export declare const HOUSE_MODEL_DECLARATION: {
126
146
  };
127
147
  };
128
148
  readonly spaces: {
149
+ readonly title: 'Spaces';
129
150
  readonly type: 'array';
130
151
  readonly items: {
131
152
  readonly type: 'object';
132
153
  readonly additionalProperties: false;
133
154
  readonly properties: {
134
155
  readonly name: {
156
+ readonly title: 'Name';
135
157
  readonly type: 'string';
136
158
  };
137
159
  };
@@ -139,20 +161,25 @@ export declare const HOUSE_MODEL_DECLARATION: {
139
161
  };
140
162
  };
141
163
  readonly expires_at: {
164
+ readonly title: 'Expires at';
142
165
  readonly type: 'string';
143
166
  readonly format: 'date-time';
144
167
  };
145
168
  readonly join_request: {
169
+ readonly title: 'Join request';
146
170
  readonly $ref: '#/$defs/id';
147
171
  };
148
172
  readonly user: {
173
+ readonly title: 'User';
149
174
  readonly type: 'object';
150
175
  readonly additionalProperties: false;
151
176
  readonly properties: {
152
177
  readonly name: {
178
+ readonly title: 'Name';
153
179
  readonly type: 'string';
154
180
  };
155
181
  readonly email: {
182
+ readonly title: 'Email';
156
183
  readonly type: 'string';
157
184
  readonly format: 'email';
158
185
  };
@@ -160,49 +187,60 @@ export declare const HOUSE_MODEL_DECLARATION: {
160
187
  readonly required: readonly ['name'];
161
188
  };
162
189
  readonly room: {
190
+ readonly title: 'Room';
163
191
  readonly type: 'object';
164
192
  readonly additionalProperties: false;
165
193
  readonly properties: {
166
194
  readonly room: {
195
+ readonly title: 'Room';
167
196
  readonly $ref: '#/$defs/room';
168
197
  };
169
198
  readonly name: {
199
+ readonly title: 'Name';
170
200
  readonly type: 'string';
171
201
  };
172
202
  };
173
203
  readonly minProperties: 1;
174
204
  };
175
205
  readonly app: {
206
+ readonly title: 'App';
176
207
  readonly type: 'object';
177
208
  readonly additionalProperties: false;
178
209
  readonly properties: {
179
210
  readonly app: {
211
+ readonly title: 'App';
180
212
  readonly $ref: '#/$defs/app';
181
213
  };
182
214
  };
183
215
  readonly required: readonly ['app'];
184
216
  };
185
217
  readonly space: {
218
+ readonly title: 'Space';
186
219
  readonly type: 'object';
187
220
  readonly additionalProperties: false;
188
221
  readonly properties: {
189
222
  readonly space: {
223
+ readonly title: 'Space';
190
224
  readonly $ref: '#/$defs/space';
191
225
  };
192
226
  };
193
227
  readonly required: readonly ['space'];
194
228
  };
195
229
  readonly ownership_offer: {
230
+ readonly title: 'Ownership offer';
196
231
  readonly $ref: '#/$defs/id';
197
232
  };
198
233
  readonly offerer: {
234
+ readonly title: 'Offerer';
199
235
  readonly type: 'object';
200
236
  readonly additionalProperties: false;
201
237
  readonly properties: {
202
238
  readonly name: {
239
+ readonly title: 'Name';
203
240
  readonly type: 'string';
204
241
  };
205
242
  readonly email: {
243
+ readonly title: 'Email';
206
244
  readonly type: 'string';
207
245
  readonly format: 'email';
208
246
  };
@@ -210,41 +248,51 @@ export declare const HOUSE_MODEL_DECLARATION: {
210
248
  readonly required: readonly ['name', 'email'];
211
249
  };
212
250
  readonly environment: {
251
+ readonly title: 'Environment';
213
252
  readonly type: 'object';
214
253
  readonly additionalProperties: false;
215
254
  readonly properties: {
216
255
  readonly environment: {
256
+ readonly title: 'Environment';
217
257
  readonly $ref: '#/$defs/id';
218
258
  };
219
259
  readonly name: {
260
+ readonly title: 'Name';
220
261
  readonly type: 'string';
221
262
  };
222
263
  readonly kind: {
264
+ readonly title: 'Kind';
223
265
  readonly enum: readonly ['vps', 'sandbox'];
224
266
  };
225
267
  };
226
268
  readonly required: readonly ['environment', 'name'];
227
269
  };
228
270
  readonly reason: {
271
+ readonly title: 'Reason';
229
272
  readonly type: 'string';
230
273
  };
231
274
  readonly deadline: {
275
+ readonly title: 'Deadline';
232
276
  readonly type: 'string';
233
277
  readonly format: 'date-time';
234
278
  };
235
279
  readonly free: {
280
+ readonly title: 'Free';
236
281
  readonly type: 'object';
237
282
  readonly additionalProperties: false;
238
283
  readonly properties: {
239
284
  readonly held: {
285
+ readonly title: 'Held';
240
286
  readonly type: 'string';
241
287
  readonly pattern: '^\\d+$';
242
288
  };
243
289
  readonly limit: {
290
+ readonly title: 'Limit';
244
291
  readonly type: 'string';
245
292
  readonly pattern: '^[1-9]\\d*$';
246
293
  };
247
294
  readonly measure: {
295
+ readonly title: 'Measure';
248
296
  readonly type: 'string';
249
297
  readonly enum: readonly ['content', 'retained'];
250
298
  };
@@ -252,9 +300,11 @@ export declare const HOUSE_MODEL_DECLARATION: {
252
300
  readonly required: readonly ['held', 'limit', 'measure'];
253
301
  };
254
302
  readonly chat: {
303
+ readonly title: 'Chat';
255
304
  readonly type: 'string';
256
305
  };
257
306
  readonly missing: {
307
+ readonly title: 'Missing';
258
308
  readonly type: 'array';
259
309
  readonly items: {
260
310
  readonly type: 'string';
@@ -262,61 +312,73 @@ export declare const HOUSE_MODEL_DECLARATION: {
262
312
  };
263
313
  };
264
314
  readonly budget: {
315
+ readonly title: 'Budget';
265
316
  readonly type: 'string';
266
317
  readonly pattern: '^\\d+(?:\\.\\d+)?$';
267
318
  };
268
319
  readonly resets_at: {
320
+ readonly title: 'Resets at';
269
321
  readonly type: 'string';
270
322
  readonly format: 'date-time';
271
323
  };
272
324
  readonly grant: {
325
+ readonly title: 'Grant';
273
326
  readonly $ref: '#/$defs/id';
274
327
  };
275
328
  readonly category: {
329
+ readonly title: 'Category';
276
330
  readonly type: 'string';
277
331
  };
278
332
  readonly access_started_at: {
333
+ readonly title: 'Access started at';
279
334
  readonly type: 'string';
280
335
  readonly format: 'date-time';
281
336
  };
282
337
  readonly access_ended_at: {
338
+ readonly title: 'Access ended at';
283
339
  readonly type: 'string';
284
340
  readonly format: 'date-time';
285
341
  };
286
342
  readonly systems: {
343
+ readonly title: 'Systems';
287
344
  readonly type: 'array';
288
345
  readonly items: {
289
346
  readonly type: 'string';
290
347
  };
291
348
  };
292
349
  readonly case_reference: {
350
+ readonly title: 'Case reference';
293
351
  readonly type: 'string';
294
352
  };
295
353
  readonly export: {
354
+ readonly title: 'Export';
296
355
  readonly $ref: '#/$defs/id';
297
356
  };
298
357
  readonly size_bytes: {
358
+ readonly title: 'Size in bytes';
299
359
  readonly type: 'integer';
300
360
  readonly minimum: 0;
301
361
  };
302
- readonly title: {
303
- readonly type: 'string';
304
- };
305
- readonly body: {
362
+ readonly name: {
363
+ readonly title: 'Name';
306
364
  readonly type: 'string';
307
365
  };
308
366
  readonly authorship: {
367
+ readonly title: 'Authorship';
309
368
  readonly type: 'object';
310
369
  readonly additionalProperties: false;
311
370
  readonly properties: {
312
371
  readonly kind: {
372
+ readonly title: 'Kind';
313
373
  readonly type: 'string';
314
374
  readonly const: 'trigger-action';
315
375
  };
316
376
  readonly trigger: {
377
+ readonly title: 'Trigger';
317
378
  readonly $ref: '#/$defs/id';
318
379
  };
319
380
  readonly position: {
381
+ readonly title: 'Position';
320
382
  readonly type: 'integer';
321
383
  readonly minimum: 0;
322
384
  };
@@ -324,63 +386,77 @@ export declare const HOUSE_MODEL_DECLARATION: {
324
386
  readonly required: readonly ['kind', 'trigger', 'position'];
325
387
  };
326
388
  readonly path: {
389
+ readonly title: 'Path';
327
390
  readonly type: 'string';
328
391
  readonly maxLength: 4096;
329
392
  readonly pattern: '^\\/.*';
330
393
  };
331
394
  readonly trigger: {
395
+ readonly title: 'Trigger';
332
396
  readonly type: 'object';
333
397
  readonly additionalProperties: false;
334
398
  readonly properties: {
335
399
  readonly trigger: {
400
+ readonly title: 'Trigger';
336
401
  readonly $ref: '#/$defs/id';
337
402
  };
338
403
  readonly description: {
404
+ readonly title: 'Description';
339
405
  readonly type: 'string';
340
406
  };
341
407
  };
342
408
  readonly required: readonly ['trigger', 'description'];
343
409
  };
344
410
  readonly code: {
411
+ readonly title: 'Code';
345
412
  readonly type: 'string';
346
413
  readonly enum: readonly ['failed', 'function_failed', 'function_not_started', 'agent_function_request_not_started'];
347
414
  };
348
415
  readonly action: {
416
+ readonly title: 'Action';
349
417
  readonly type: 'integer';
350
418
  readonly minimum: 0;
351
419
  };
352
420
  readonly moment: {
421
+ readonly title: 'Moment';
353
422
  readonly type: 'string';
354
423
  readonly format: 'date-time';
355
424
  };
356
425
  readonly error: {
426
+ readonly title: 'Error';
357
427
  readonly type: 'string';
358
428
  };
359
429
  readonly agent_function: {
430
+ readonly title: 'Agent function';
360
431
  readonly type: 'object';
361
432
  readonly additionalProperties: false;
362
433
  readonly properties: {
363
434
  readonly name: {
435
+ readonly title: 'Name';
364
436
  readonly type: 'string';
365
437
  };
366
438
  };
367
439
  readonly required: readonly ['name'];
368
440
  };
369
441
  readonly agent: {
442
+ readonly title: 'Agent';
370
443
  readonly type: 'object';
371
444
  readonly additionalProperties: false;
372
445
  readonly properties: {
373
446
  readonly name: {
447
+ readonly title: 'Name';
374
448
  readonly type: 'string';
375
449
  };
376
450
  };
377
451
  readonly required: readonly ['name'];
378
452
  };
379
453
  readonly ended: {
454
+ readonly title: 'Ended';
380
455
  readonly type: 'string';
381
456
  readonly enum: readonly ['finished', 'failed'];
382
457
  };
383
458
  readonly duration: {
459
+ readonly title: 'Duration';
384
460
  readonly type: 'integer';
385
461
  readonly minimum: 1;
386
462
  };
@@ -395,26 +471,33 @@ export declare const HOUSE_MODEL_DECLARATION: {
395
471
  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.";
396
472
  readonly properties: {
397
473
  readonly reflected: {
474
+ readonly title: 'Reflected';
398
475
  readonly type: 'string';
399
476
  readonly format: 'date-time';
400
477
  };
401
478
  readonly agent_function: {
479
+ readonly title: 'Agent function';
402
480
  readonly $ref: '#/$defs/id';
403
481
  };
404
482
  readonly description: {
483
+ readonly title: 'Description';
405
484
  readonly type: 'string';
406
485
  };
407
486
  readonly input: {
487
+ readonly title: 'Input';
408
488
  readonly type: 'string';
409
489
  };
410
490
  readonly agent: {
491
+ readonly title: 'Agent';
411
492
  readonly type: 'object';
412
493
  readonly additionalProperties: false;
413
494
  readonly properties: {
414
495
  readonly agent: {
496
+ readonly title: 'Agent';
415
497
  readonly $ref: '#/$defs/id';
416
498
  };
417
499
  readonly name: {
500
+ readonly title: 'Name';
418
501
  readonly type: 'string';
419
502
  };
420
503
  };
@@ -427,17 +510,21 @@ export declare const HOUSE_MODEL_DECLARATION: {
427
510
  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.';
428
511
  readonly properties: {
429
512
  readonly description: {
513
+ readonly title: 'Description';
430
514
  readonly type: 'string';
431
515
  readonly maxLength: 2000;
432
516
  readonly pattern: '\\S';
433
517
  };
434
518
  readonly input: {
519
+ readonly title: 'Input';
435
520
  readonly type: 'string';
436
521
  };
437
522
  readonly agent: {
523
+ readonly title: 'Agent';
438
524
  readonly $ref: '#/$defs/id';
439
525
  };
440
526
  readonly afk: {
527
+ readonly title: 'AFK';
441
528
  readonly type: 'boolean';
442
529
  };
443
530
  };
@@ -447,21 +534,26 @@ export declare const HOUSE_MODEL_DECLARATION: {
447
534
  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.";
448
535
  readonly properties: {
449
536
  readonly reflected: {
537
+ readonly title: 'Reflected';
450
538
  readonly type: 'string';
451
539
  readonly format: 'date-time';
452
540
  };
453
541
  readonly trigger: {
542
+ readonly title: 'Trigger';
454
543
  readonly $ref: '#/$defs/id';
455
544
  };
456
545
  readonly description: {
546
+ readonly title: 'Description';
457
547
  readonly type: 'string';
458
548
  };
459
549
  readonly condition: {
550
+ readonly title: 'Condition';
460
551
  readonly description: 'When it fires, as the Trigger reference page writes it, a document it names at its current path.';
461
552
  readonly type: 'object';
462
553
  readonly additionalProperties: true;
463
554
  };
464
555
  readonly actions: {
556
+ readonly title: 'Actions';
465
557
  readonly type: 'array';
466
558
  readonly items: {
467
559
  readonly anyOf: readonly [{
@@ -469,28 +561,35 @@ export declare const HOUSE_MODEL_DECLARATION: {
469
561
  readonly additionalProperties: false;
470
562
  readonly properties: {
471
563
  readonly kind: {
564
+ readonly title: 'Kind';
472
565
  readonly const: 'notify';
473
566
  };
474
567
  readonly enabled: {
568
+ readonly title: 'Enabled';
475
569
  readonly type: 'boolean';
476
570
  };
477
571
  readonly title: {
572
+ readonly title: 'Title';
478
573
  readonly type: 'string';
479
574
  };
480
575
  readonly text: {
576
+ readonly title: 'Text';
481
577
  readonly type: 'string';
482
578
  };
483
579
  readonly to: {
580
+ readonly title: 'To';
484
581
  readonly type: 'object';
485
582
  readonly additionalProperties: false;
486
583
  readonly properties: {
487
584
  readonly users: {
585
+ readonly title: 'Users';
488
586
  readonly type: 'array';
489
587
  readonly items: {
490
588
  readonly type: 'object';
491
589
  readonly additionalProperties: false;
492
590
  readonly properties: {
493
591
  readonly user: {
592
+ readonly title: 'User';
494
593
  readonly $ref: '#/$defs/id';
495
594
  };
496
595
  };
@@ -498,12 +597,14 @@ export declare const HOUSE_MODEL_DECLARATION: {
498
597
  };
499
598
  };
500
599
  readonly fields: {
600
+ readonly title: 'Fields';
501
601
  readonly type: 'array';
502
602
  readonly items: {
503
603
  readonly type: 'string';
504
604
  };
505
605
  };
506
606
  readonly roles: {
607
+ readonly title: 'Roles';
507
608
  readonly type: 'array';
508
609
  readonly items: {
509
610
  readonly type: 'string';
@@ -519,16 +620,20 @@ export declare const HOUSE_MODEL_DECLARATION: {
519
620
  readonly additionalProperties: false;
520
621
  readonly properties: {
521
622
  readonly kind: {
623
+ readonly title: 'Kind';
522
624
  readonly const: 'agent_function';
523
625
  };
524
626
  readonly enabled: {
627
+ readonly title: 'Enabled';
525
628
  readonly type: 'boolean';
526
629
  };
527
630
  readonly card: {
631
+ readonly title: 'Card';
528
632
  readonly type: 'string';
529
633
  readonly minLength: 1;
530
634
  };
531
635
  readonly payload: {
636
+ readonly title: 'Payload';
532
637
  readonly type: 'string';
533
638
  };
534
639
  };
@@ -538,16 +643,20 @@ export declare const HOUSE_MODEL_DECLARATION: {
538
643
  readonly additionalProperties: false;
539
644
  readonly properties: {
540
645
  readonly kind: {
646
+ readonly title: 'Kind';
541
647
  readonly const: 'message';
542
648
  };
543
649
  readonly enabled: {
650
+ readonly title: 'Enabled';
544
651
  readonly type: 'boolean';
545
652
  };
546
653
  readonly card: {
654
+ readonly title: 'Card';
547
655
  readonly type: 'string';
548
656
  readonly minLength: 1;
549
657
  };
550
658
  readonly text: {
659
+ readonly title: 'Text';
551
660
  readonly type: 'string';
552
661
  };
553
662
  };
@@ -557,9 +666,11 @@ export declare const HOUSE_MODEL_DECLARATION: {
557
666
  readonly additionalProperties: false;
558
667
  readonly properties: {
559
668
  readonly kind: {
669
+ readonly title: 'Kind';
560
670
  readonly const: 'done';
561
671
  };
562
672
  readonly enabled: {
673
+ readonly title: 'Enabled';
563
674
  readonly type: 'boolean';
564
675
  };
565
676
  };
@@ -569,15 +680,19 @@ export declare const HOUSE_MODEL_DECLARATION: {
569
680
  readonly additionalProperties: false;
570
681
  readonly properties: {
571
682
  readonly kind: {
683
+ readonly title: 'Kind';
572
684
  readonly const: 'function';
573
685
  };
574
686
  readonly enabled: {
687
+ readonly title: 'Enabled';
575
688
  readonly type: 'boolean';
576
689
  };
577
690
  readonly app: {
691
+ readonly title: 'App';
578
692
  readonly $ref: '#/$defs/app';
579
693
  };
580
694
  readonly function: {
695
+ readonly title: 'Function';
581
696
  readonly type: 'string';
582
697
  };
583
698
  };
@@ -586,25 +701,31 @@ export declare const HOUSE_MODEL_DECLARATION: {
586
701
  };
587
702
  };
588
703
  readonly enabled: {
704
+ readonly title: 'Enabled';
589
705
  readonly type: 'boolean';
590
706
  };
591
707
  readonly paused_by: {
708
+ readonly title: 'Paused by';
592
709
  readonly enum: readonly ['types'];
593
710
  };
594
711
  readonly creator: {
712
+ readonly title: 'Creator';
595
713
  readonly type: 'object';
596
714
  readonly additionalProperties: false;
597
715
  readonly properties: {
598
716
  readonly user: {
717
+ readonly title: 'User';
599
718
  readonly $ref: '#/$defs/id';
600
719
  };
601
720
  readonly name: {
721
+ readonly title: 'Name';
602
722
  readonly type: 'string';
603
723
  };
604
724
  };
605
725
  readonly required: readonly ['user', 'name'];
606
726
  };
607
727
  readonly created: {
728
+ readonly title: 'Created';
608
729
  readonly type: 'string';
609
730
  readonly format: 'date-time';
610
731
  };
@@ -615,32 +736,40 @@ export declare const HOUSE_MODEL_DECLARATION: {
615
736
  readonly description: "One Web Wizard an agent made for this User: the `environment` it runs on, with the `name` that Environment had when the Web Wizard was made, and its `state`, `waiting` until its owner presses Run or Keep, `running`, `finished` with the script's `exit_code`, `failed`, `cancelled` when its page closed before the script ended, `lapsed` when nobody ran it in its time, or `kept` when its owner kept the script, without running it, as their Environment function named `function`. Its body is the script, whole, in one fenced code block. The terminal's output is never kept.";
616
737
  readonly properties: {
617
738
  readonly reflected: {
739
+ readonly title: 'Reflected';
618
740
  readonly type: 'string';
619
741
  readonly format: 'date-time';
620
742
  };
621
743
  readonly web_wizard: {
744
+ readonly title: 'Web Wizard';
622
745
  readonly $ref: '#/$defs/id';
623
746
  };
624
747
  readonly environment: {
748
+ readonly title: 'Environment';
625
749
  readonly type: 'object';
626
750
  readonly additionalProperties: false;
627
751
  readonly properties: {
628
752
  readonly environment: {
753
+ readonly title: 'Environment';
629
754
  readonly $ref: '#/$defs/id';
630
755
  };
631
756
  readonly name: {
757
+ readonly title: 'Name';
632
758
  readonly type: 'string';
633
759
  };
634
760
  };
635
761
  readonly required: readonly ['environment', 'name'];
636
762
  };
637
763
  readonly state: {
764
+ readonly title: 'State';
638
765
  readonly enum: readonly ['waiting', 'running', 'finished', 'failed', 'cancelled', 'lapsed', 'kept'];
639
766
  };
640
767
  readonly exit_code: {
768
+ readonly title: 'Exit code';
641
769
  readonly type: 'integer';
642
770
  };
643
771
  readonly function: {
772
+ readonly title: 'Function';
644
773
  readonly type: 'string';
645
774
  };
646
775
  };