@agentshouse/mdmodel 0.1.0-c47d22bab1bc8 → 0.1.0-c4c6dbb0dc160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/built-in.js +1 -1
- package/dist/event.d.ts +1 -1
- package/dist/event.d.ts.map +1 -1
- package/dist/event.js +1 -1
- package/dist/house-model.d.ts +97 -9
- package/dist/house-model.d.ts.map +1 -1
- package/dist/house-model.js +45 -8
- package/dist/query/language.js +1 -1
- package/fixtures/README.md +2 -1
- package/fixtures/queries.json +163 -1
- package/package.json +1 -1
package/dist/built-in.js
CHANGED
|
@@ -19,7 +19,7 @@ function builtIn(text, provided) {
|
|
|
19
19
|
marked(definition),
|
|
20
20
|
])))),
|
|
21
21
|
});
|
|
22
|
-
throw new Error(`House
|
|
22
|
+
throw new Error(`House’s built-in types refuse: ${checked.rule} ${checked.location ?? ''}`.trim());
|
|
23
23
|
}
|
|
24
24
|
export const HOUSE_MODEL = builtIn(modelText(HOUSE_MODEL_DECLARATION));
|
|
25
25
|
export const HOUSE_ROOM_TYPES = Object.freeze({
|
package/dist/event.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type DocumentFacts = {
|
|
|
27
27
|
readonly fields: Readonly<Record<string, Fact>>;
|
|
28
28
|
};
|
|
29
29
|
export declare const TEXT_FIELD = "/text";
|
|
30
|
-
export declare const WRITE_DOORS: readonly ['browser', '
|
|
30
|
+
export declare const WRITE_DOORS: readonly ['browser', 'client', 'environment', 'function'];
|
|
31
31
|
export type WriteDoor = (typeof WRITE_DOORS)[number];
|
|
32
32
|
export type Actor = {
|
|
33
33
|
readonly user?: string;
|
package/dist/event.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../src/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,UAAU,EAEhB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAoB,KAA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T_FIELD = '/text';
|
|
7
|
-
export const WRITE_DOORS = ['browser', '
|
|
7
|
+
export const WRITE_DOORS = ['browser', 'client', 'environment', 'function'];
|
|
8
8
|
const PROSE = { kind: 'prose' };
|
|
9
9
|
const NULL = { kind: 'null' };
|
|
10
10
|
const UNREADABLE = { kind: 'unreadable' };
|
package/dist/house-model.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
readonly 'house-app-preferences': {
|
|
28
|
-
readonly description:
|
|
28
|
+
readonly description: 'An App’s preferences. Its own vocabulary is in the body.';
|
|
29
29
|
readonly properties: {
|
|
30
30
|
readonly app: {
|
|
31
31
|
readonly title: 'App';
|
|
@@ -35,7 +35,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
35
35
|
readonly required: readonly ['app'];
|
|
36
36
|
};
|
|
37
37
|
readonly 'house-notification': {
|
|
38
|
-
readonly description:
|
|
38
|
+
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.';
|
|
39
39
|
readonly properties: {
|
|
40
40
|
readonly notification: {
|
|
41
41
|
readonly title: 'Notification';
|
|
@@ -44,7 +44,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
44
44
|
readonly kind: {
|
|
45
45
|
readonly title: 'Kind';
|
|
46
46
|
readonly type: 'string';
|
|
47
|
-
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'room-ownership-offer', 'new-instructions', 'managed-environment-retention-opened', 'storage-full', 'sandbox-budget-spent', 'trigger-failed', 'app-origins-added', 'room-telegram-chat-paused', 'viber-number-unlinked', 'conversation-work-kept', 'break-glass-owner-disclosure', 'export-ready', 'export-failed', 'custom', 'agent-function-request-finished', 'storage-past-included'];
|
|
47
|
+
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'room-ownership-offer', 'new-instructions', 'started-on-outdated-instructions', 'instructions-proposal', 'managed-environment-retention-opened', 'storage-full', 'sandbox-budget-spent', 'trigger-failed', 'app-origins-added', 'room-telegram-chat-paused', 'viber-number-unlinked', 'conversation-work-kept', 'break-glass-owner-disclosure', 'export-ready', 'export-failed', 'custom', 'agent-function-request-finished', 'storage-past-included'];
|
|
48
48
|
};
|
|
49
49
|
readonly created: {
|
|
50
50
|
readonly title: 'Created';
|
|
@@ -290,6 +290,22 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
290
290
|
readonly type: 'integer';
|
|
291
291
|
readonly minimum: 1;
|
|
292
292
|
};
|
|
293
|
+
readonly instructions_proposal: {
|
|
294
|
+
readonly title: 'Instructions proposal';
|
|
295
|
+
readonly $ref: '#/$defs/id';
|
|
296
|
+
};
|
|
297
|
+
readonly proposer: {
|
|
298
|
+
readonly title: 'Proposer';
|
|
299
|
+
readonly type: 'object';
|
|
300
|
+
readonly additionalProperties: false;
|
|
301
|
+
readonly properties: {
|
|
302
|
+
readonly name: {
|
|
303
|
+
readonly title: 'Name';
|
|
304
|
+
readonly type: 'string';
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
readonly required: readonly ['name'];
|
|
308
|
+
};
|
|
293
309
|
readonly offerer: {
|
|
294
310
|
readonly title: 'Offerer';
|
|
295
311
|
readonly type: 'object';
|
|
@@ -573,11 +589,11 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
573
589
|
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
574
590
|
};
|
|
575
591
|
readonly 'house-panel-preferences': {
|
|
576
|
-
readonly description:
|
|
592
|
+
readonly description: 'The panel’s preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.';
|
|
577
593
|
readonly properties: {};
|
|
578
594
|
};
|
|
579
595
|
readonly 'house-agent-function': {
|
|
580
|
-
readonly description:
|
|
596
|
+
readonly description: 'One Agent function that serves this Room, which House alone writes from its owner’s document in their Private Room and their Standing answer for it: the `agent_function` by identifier, its `description`, the `input` a caller sends, empty when it takes nothing, the `agent` it starts, by `agent` and the `name` that Agent had when this card was last written, and its `answer`, how a request from anyone but its owner starts: `at_once`, `ask_me`, which waits for its owner’s approval, or `off`, which refuses it. The Agent function’s instruction is never written here.';
|
|
581
597
|
readonly properties: {
|
|
582
598
|
readonly reflected: {
|
|
583
599
|
readonly title: 'Reflected';
|
|
@@ -621,7 +637,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
621
637
|
readonly required: readonly ['reflected', 'agent_function', 'description', 'input', 'agent', 'answer'];
|
|
622
638
|
};
|
|
623
639
|
readonly 'house-agent-function-document': {
|
|
624
|
-
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,
|
|
640
|
+
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, `afk`, true for a run nobody watches, off when absent, and where its runs work: `copy`, a copy of the Room, `none`, `new`, the default, or the `existing` one whose path its starter passes; `repository`, the `url` of one entry of the Room’s `settings/repositories.md`, none when absent; `code`, only with a `repository`, its clone’s `main` folder, a `new_worktree` on a new branch, the default, or the `existing` worktree whose path and branch its starter passes; and `read_only`, which makes `main` the default `code` and tells each run its task is read-only, enforcing nothing. Its body is the instruction that Agent follows.';
|
|
625
641
|
readonly properties: {
|
|
626
642
|
readonly description: {
|
|
627
643
|
readonly title: 'Description';
|
|
@@ -641,11 +657,33 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
641
657
|
readonly title: 'AFK';
|
|
642
658
|
readonly type: 'boolean';
|
|
643
659
|
};
|
|
660
|
+
readonly copy: {
|
|
661
|
+
readonly title: 'Copy';
|
|
662
|
+
readonly type: 'string';
|
|
663
|
+
readonly enum: readonly ['none', 'new', 'existing'];
|
|
664
|
+
};
|
|
665
|
+
readonly repository: {
|
|
666
|
+
readonly title: 'Repository';
|
|
667
|
+
readonly type: 'string';
|
|
668
|
+
readonly minLength: 1;
|
|
669
|
+
};
|
|
670
|
+
readonly code: {
|
|
671
|
+
readonly title: 'Code';
|
|
672
|
+
readonly type: 'string';
|
|
673
|
+
readonly enum: readonly ['main', 'new_worktree', 'existing'];
|
|
674
|
+
};
|
|
675
|
+
readonly read_only: {
|
|
676
|
+
readonly title: 'Read-only';
|
|
677
|
+
readonly type: 'boolean';
|
|
678
|
+
};
|
|
644
679
|
};
|
|
645
680
|
readonly required: readonly ['description', 'input', 'agent'];
|
|
681
|
+
readonly dependentRequired: {
|
|
682
|
+
readonly code: readonly ['repository'];
|
|
683
|
+
};
|
|
646
684
|
};
|
|
647
685
|
readonly 'house-trigger': {
|
|
648
|
-
readonly description:
|
|
686
|
+
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`, or, `in_group`, posts once in this Room’s Telegram group in their place, mentioning each; an `agent_function` action starts the Agent function whose card under this Room’s `house/agent-functions/` its `card` names with the Event, `card` absent while this Room holds no card of that Agent function; a `message` action puts the Event into the active conversation that Agent function started for what the Event is about, or starts that Agent function with it when none is active; the request either starts runs on the `model` and `effort` the action names, the Agent’s where it names none; a `function` action runs the `function` its `app`’s latest release declares, on House’s servers, while the `user` it was `attached_by` owns this Room, or, naming no `app`, the Environment function of that name the `user` its `owner` names keeps, on its Environment, from any Room that Environment reaches, at once while its owner has it on there, never while it is off, and at once in the owner’s Private Room, its target holding while that Environment reaches this Room. 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, who owns this Room, and each owner’s functions and the Rooms their Environments reach.';
|
|
649
687
|
readonly properties: {
|
|
650
688
|
readonly reflected: {
|
|
651
689
|
readonly title: 'Reflected';
|
|
@@ -891,7 +929,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
891
929
|
readonly required: readonly ['reflected', 'trigger', 'description', 'condition', 'actions', 'enabled', 'creator', 'created'];
|
|
892
930
|
};
|
|
893
931
|
readonly 'house-record': {
|
|
894
|
-
readonly description:
|
|
932
|
+
readonly description: 'One Record: a Markdown document House received from outside, written by the `record` op of `update` or by a push address, and edited by nobody afterwards. `received` is what House attests: `at`, when House accepted it; `through`, the push address that delivered it, or `by`, the User whose act delivered it; `key`, its delivery key, where it has one; and `original`, the path of its original beside it, where it has one. `claimed` is what its sender says, kept as delivered, conventionally `from`, `date`, `subject` and a push delivery’s request `headers`; House vouches for none of it. Its body is kept as delivered, and no Room or Space schema validates it.';
|
|
895
933
|
readonly properties: {
|
|
896
934
|
readonly received: {
|
|
897
935
|
readonly title: 'Received';
|
|
@@ -931,7 +969,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
931
969
|
readonly required: readonly ['received', 'claimed'];
|
|
932
970
|
};
|
|
933
971
|
readonly 'house-web-wizard': {
|
|
934
|
-
readonly description:
|
|
972
|
+
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.';
|
|
935
973
|
readonly properties: {
|
|
936
974
|
readonly reflected: {
|
|
937
975
|
readonly title: 'Reflected';
|
|
@@ -973,6 +1011,56 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
973
1011
|
};
|
|
974
1012
|
readonly required: readonly ['reflected', 'web_wizard', 'environment', 'state'];
|
|
975
1013
|
};
|
|
1014
|
+
readonly 'house-instructions-proposal': {
|
|
1015
|
+
readonly description: 'One change of this Room’s instructions an Agent proposed and its person sent to the Room, which House alone writes: the `instructions_proposal` by identifier, its `proposer` by `user` and the `name` they had when it was last written, the `base_version` of the instructions it was written against, absent when the Room had none, its `state`, `sent` while it waits for a holder of Can change instructions, `accepted` once one made it the Room’s `version`, or `not_taken` once a later version closed it, and when it was `created`. Its body is the proposed text, whole.';
|
|
1016
|
+
readonly properties: {
|
|
1017
|
+
readonly reflected: {
|
|
1018
|
+
readonly title: 'Reflected';
|
|
1019
|
+
readonly type: 'string';
|
|
1020
|
+
readonly format: 'date-time';
|
|
1021
|
+
};
|
|
1022
|
+
readonly instructions_proposal: {
|
|
1023
|
+
readonly title: 'Instructions proposal';
|
|
1024
|
+
readonly $ref: '#/$defs/id';
|
|
1025
|
+
};
|
|
1026
|
+
readonly proposer: {
|
|
1027
|
+
readonly title: 'Proposer';
|
|
1028
|
+
readonly type: 'object';
|
|
1029
|
+
readonly additionalProperties: false;
|
|
1030
|
+
readonly properties: {
|
|
1031
|
+
readonly user: {
|
|
1032
|
+
readonly title: 'User';
|
|
1033
|
+
readonly $ref: '#/$defs/id';
|
|
1034
|
+
};
|
|
1035
|
+
readonly name: {
|
|
1036
|
+
readonly title: 'Name';
|
|
1037
|
+
readonly type: 'string';
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
readonly required: readonly ['user', 'name'];
|
|
1041
|
+
};
|
|
1042
|
+
readonly base_version: {
|
|
1043
|
+
readonly title: 'Base version';
|
|
1044
|
+
readonly type: 'integer';
|
|
1045
|
+
readonly minimum: 1;
|
|
1046
|
+
};
|
|
1047
|
+
readonly state: {
|
|
1048
|
+
readonly title: 'State';
|
|
1049
|
+
readonly enum: readonly ['sent', 'accepted', 'not_taken'];
|
|
1050
|
+
};
|
|
1051
|
+
readonly version: {
|
|
1052
|
+
readonly title: 'Version';
|
|
1053
|
+
readonly type: 'integer';
|
|
1054
|
+
readonly minimum: 1;
|
|
1055
|
+
};
|
|
1056
|
+
readonly created: {
|
|
1057
|
+
readonly title: 'Created';
|
|
1058
|
+
readonly type: 'string';
|
|
1059
|
+
readonly format: 'date-time';
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
readonly required: readonly ['reflected', 'instructions_proposal', 'proposer', 'state', 'created'];
|
|
1063
|
+
};
|
|
976
1064
|
};
|
|
977
1065
|
export declare const HOUSE_TYPED_PATHS: readonly TypedPath[];
|
|
978
1066
|
type Model = typeof HOUSE_MODEL_DECLARATION;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"house-model.d.ts","sourceRoot":"","sources":["../src/house-model.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AAEpD,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAE1C,eAAO,MAAM,uBAAuB;aAClC,KAAK;iBACH,IAAI;qBACF,WAAW,EAAE,sDAAsD;qBACnE,IAAI,EAAE,QAAQ;qBACd,OAAO;;iBAET,GAAG;qBACD,WAAW,EAAE,oDAAoD;qBACjE,IAAI,EAAE,QAAQ;qBACd,OAAO;;iBAET,KAAK;qBACH,WAAW,EAAE,yDAAyD;qBACtE,IAAI,EAAE,QAAQ;qBACd,OAAO;;iBAET,EAAE;qBACA,WAAW,EACT,2JAA2J;qBAC7J,IAAI,EAAE,QAAQ;qBACd,MAAM,EAAE,MAAM;;;aAGlB,uBAAuB;iBACrB,WAAW,EAAE,0DAA0D;iBACvE,UAAU;qBAAI,GAAG;yBAAI,KAAK,E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,MAAM,CAAC,EAAE,CAAA;CAAE,GAC/C,CAAC,SAAS,MAAM,WAAW,GACzB,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACrB,KAAK,GACP,CAAC,SAAS;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;CAAE,GAClC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,GACX,CAAC,SAAS;IAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GACvC,UAAU,CAAC,CAAC,CAAC,GACb,OAAO,CAAC;AAEtB,KAAK,QAAQ,CAAC,IAAI,SAAS,cAAc,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS;IAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;CAAE,GAC7F,CAAC,GACD,EAAE,CAAC;AAEP,MAAM,MAAM,mBAAmB,CAAC,IAAI,SAAS,cAAc,IAAI,UAAU,CAAC;IACxE,QAAQ,CAAC,UAAU,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE;YAAE,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAA;SAAE,CAAA;KAAE,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClF,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;CAC9D,CAAC,CAAC"}
|
package/dist/house-model.js
CHANGED
|
@@ -25,12 +25,12 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
'house-app-preferences': {
|
|
28
|
-
description:
|
|
28
|
+
description: 'An App’s preferences. Its own vocabulary is in the body.',
|
|
29
29
|
properties: { app: { title: 'App', $ref: '#/$defs/app' } },
|
|
30
30
|
required: ['app'],
|
|
31
31
|
},
|
|
32
32
|
'house-notification': {
|
|
33
|
-
description:
|
|
33
|
+
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.',
|
|
34
34
|
properties: {
|
|
35
35
|
notification: { title: 'Notification', $ref: '#/$defs/id' },
|
|
36
36
|
kind: {
|
|
@@ -42,6 +42,8 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
42
42
|
'join-request-approved',
|
|
43
43
|
'room-ownership-offer',
|
|
44
44
|
'new-instructions',
|
|
45
|
+
'started-on-outdated-instructions',
|
|
46
|
+
'instructions-proposal',
|
|
45
47
|
'managed-environment-retention-opened',
|
|
46
48
|
'storage-full',
|
|
47
49
|
'sandbox-budget-spent',
|
|
@@ -191,6 +193,14 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
191
193
|
ownership_offer: { title: 'Ownership offer', $ref: '#/$defs/id' },
|
|
192
194
|
version: { title: 'Version', type: 'integer', minimum: 1 },
|
|
193
195
|
approved_version: { title: 'Approved version', type: 'integer', minimum: 1 },
|
|
196
|
+
instructions_proposal: { title: 'Instructions proposal', $ref: '#/$defs/id' },
|
|
197
|
+
proposer: {
|
|
198
|
+
title: 'Proposer',
|
|
199
|
+
type: 'object',
|
|
200
|
+
additionalProperties: false,
|
|
201
|
+
properties: { name: { title: 'Name', type: 'string' } },
|
|
202
|
+
required: ['name'],
|
|
203
|
+
},
|
|
194
204
|
offerer: {
|
|
195
205
|
title: 'Offerer',
|
|
196
206
|
type: 'object',
|
|
@@ -334,11 +344,11 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
334
344
|
required: ['notification', 'kind', 'created', 'way_in', 'subject'],
|
|
335
345
|
},
|
|
336
346
|
'house-panel-preferences': {
|
|
337
|
-
description:
|
|
347
|
+
description: 'The panel’s preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.',
|
|
338
348
|
properties: {},
|
|
339
349
|
},
|
|
340
350
|
'house-agent-function': {
|
|
341
|
-
description:
|
|
351
|
+
description: 'One Agent function that serves this Room, which House alone writes from its owner’s document in their Private Room and their Standing answer for it: the `agent_function` by identifier, its `description`, the `input` a caller sends, empty when it takes nothing, the `agent` it starts, by `agent` and the `name` that Agent had when this card was last written, and its `answer`, how a request from anyone but its owner starts: `at_once`, `ask_me`, which waits for its owner’s approval, or `off`, which refuses it. The Agent function’s instruction is never written here.',
|
|
342
352
|
properties: {
|
|
343
353
|
reflected: { title: 'Reflected', type: 'string', format: 'date-time' },
|
|
344
354
|
agent_function: { title: 'Agent function', $ref: '#/$defs/id' },
|
|
@@ -359,17 +369,22 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
359
369
|
required: ['reflected', 'agent_function', 'description', 'input', 'agent', 'answer'],
|
|
360
370
|
},
|
|
361
371
|
'house-agent-function-document': {
|
|
362
|
-
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,
|
|
372
|
+
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, `afk`, true for a run nobody watches, off when absent, and where its runs work: `copy`, a copy of the Room, `none`, `new`, the default, or the `existing` one whose path its starter passes; `repository`, the `url` of one entry of the Room’s `settings/repositories.md`, none when absent; `code`, only with a `repository`, its clone’s `main` folder, a `new_worktree` on a new branch, the default, or the `existing` worktree whose path and branch its starter passes; and `read_only`, which makes `main` the default `code` and tells each run its task is read-only, enforcing nothing. Its body is the instruction that Agent follows.',
|
|
363
373
|
properties: {
|
|
364
374
|
description: { title: 'Description', type: 'string', maxLength: 2000, pattern: '\\S' },
|
|
365
375
|
input: { title: 'Input', type: 'string' },
|
|
366
376
|
agent: { title: 'Agent', $ref: '#/$defs/id' },
|
|
367
377
|
afk: { title: 'AFK', type: 'boolean' },
|
|
378
|
+
copy: { title: 'Copy', type: 'string', enum: ['none', 'new', 'existing'] },
|
|
379
|
+
repository: { title: 'Repository', type: 'string', minLength: 1 },
|
|
380
|
+
code: { title: 'Code', type: 'string', enum: ['main', 'new_worktree', 'existing'] },
|
|
381
|
+
read_only: { title: 'Read-only', type: 'boolean' },
|
|
368
382
|
},
|
|
369
383
|
required: ['description', 'input', 'agent'],
|
|
384
|
+
dependentRequired: { code: ['repository'] },
|
|
370
385
|
},
|
|
371
386
|
'house-trigger': {
|
|
372
|
-
description:
|
|
387
|
+
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`, or, `in_group`, posts once in this Room’s Telegram group in their place, mentioning each; an `agent_function` action starts the Agent function whose card under this Room’s `house/agent-functions/` its `card` names with the Event, `card` absent while this Room holds no card of that Agent function; a `message` action puts the Event into the active conversation that Agent function started for what the Event is about, or starts that Agent function with it when none is active; the request either starts runs on the `model` and `effort` the action names, the Agent’s where it names none; a `function` action runs the `function` its `app`’s latest release declares, on House’s servers, while the `user` it was `attached_by` owns this Room, or, naming no `app`, the Environment function of that name the `user` its `owner` names keeps, on its Environment, from any Room that Environment reaches, at once while its owner has it on there, never while it is off, and at once in the owner’s Private Room, its target holding while that Environment reaches this Room. 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, who owns this Room, and each owner’s functions and the Rooms their Environments reach.',
|
|
373
388
|
properties: {
|
|
374
389
|
reflected: { title: 'Reflected', type: 'string', format: 'date-time' },
|
|
375
390
|
trigger: { title: 'Trigger', $ref: '#/$defs/id' },
|
|
@@ -505,7 +520,7 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
505
520
|
],
|
|
506
521
|
},
|
|
507
522
|
'house-record': {
|
|
508
|
-
description:
|
|
523
|
+
description: 'One Record: a Markdown document House received from outside, written by the `record` op of `update` or by a push address, and edited by nobody afterwards. `received` is what House attests: `at`, when House accepted it; `through`, the push address that delivered it, or `by`, the User whose act delivered it; `key`, its delivery key, where it has one; and `original`, the path of its original beside it, where it has one. `claimed` is what its sender says, kept as delivered, conventionally `from`, `date`, `subject` and a push delivery’s request `headers`; House vouches for none of it. Its body is kept as delivered, and no Room or Space schema validates it.',
|
|
509
524
|
properties: {
|
|
510
525
|
received: {
|
|
511
526
|
title: 'Received',
|
|
@@ -525,7 +540,7 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
525
540
|
required: ['received', 'claimed'],
|
|
526
541
|
},
|
|
527
542
|
'house-web-wizard': {
|
|
528
|
-
description:
|
|
543
|
+
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.',
|
|
529
544
|
properties: {
|
|
530
545
|
reflected: { title: 'Reflected', type: 'string', format: 'date-time' },
|
|
531
546
|
web_wizard: { title: 'Web Wizard', $ref: '#/$defs/id' },
|
|
@@ -548,6 +563,28 @@ export const HOUSE_MODEL_DECLARATION = {
|
|
|
548
563
|
},
|
|
549
564
|
required: ['reflected', 'web_wizard', 'environment', 'state'],
|
|
550
565
|
},
|
|
566
|
+
'house-instructions-proposal': {
|
|
567
|
+
description: 'One change of this Room’s instructions an Agent proposed and its person sent to the Room, which House alone writes: the `instructions_proposal` by identifier, its `proposer` by `user` and the `name` they had when it was last written, the `base_version` of the instructions it was written against, absent when the Room had none, its `state`, `sent` while it waits for a holder of Can change instructions, `accepted` once one made it the Room’s `version`, or `not_taken` once a later version closed it, and when it was `created`. Its body is the proposed text, whole.',
|
|
568
|
+
properties: {
|
|
569
|
+
reflected: { title: 'Reflected', type: 'string', format: 'date-time' },
|
|
570
|
+
instructions_proposal: { title: 'Instructions proposal', $ref: '#/$defs/id' },
|
|
571
|
+
proposer: {
|
|
572
|
+
title: 'Proposer',
|
|
573
|
+
type: 'object',
|
|
574
|
+
additionalProperties: false,
|
|
575
|
+
properties: {
|
|
576
|
+
user: { title: 'User', $ref: '#/$defs/id' },
|
|
577
|
+
name: { title: 'Name', type: 'string' },
|
|
578
|
+
},
|
|
579
|
+
required: ['user', 'name'],
|
|
580
|
+
},
|
|
581
|
+
base_version: { title: 'Base version', type: 'integer', minimum: 1 },
|
|
582
|
+
state: { title: 'State', enum: ['sent', 'accepted', 'not_taken'] },
|
|
583
|
+
version: { title: 'Version', type: 'integer', minimum: 1 },
|
|
584
|
+
created: { title: 'Created', type: 'string', format: 'date-time' },
|
|
585
|
+
},
|
|
586
|
+
required: ['reflected', 'instructions_proposal', 'proposer', 'state', 'created'],
|
|
587
|
+
},
|
|
551
588
|
};
|
|
552
589
|
export const HOUSE_TYPED_PATHS = [
|
|
553
590
|
{ path: 'settings/panel.md', type: 'house-panel-preferences', named: true, body: false },
|
package/dist/query/language.js
CHANGED
|
@@ -217,7 +217,7 @@ function kind(declared, checked, at) {
|
|
|
217
217
|
declared.some((spec) => fits(spec.facts, checked))) {
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
throw new QueryError('wrong-kind', at, `${JSON.stringify(checked)} is not of its field
|
|
220
|
+
throw new QueryError('wrong-kind', at, `${JSON.stringify(checked)} is not of its field’s kind`, [
|
|
221
221
|
...new Set(declared.flatMap((spec) => kindWords(itemOf(spec.facts)))),
|
|
222
222
|
]);
|
|
223
223
|
}
|
package/fixtures/README.md
CHANGED
|
@@ -55,7 +55,8 @@ are the collection's Documents by Room and Path, a link into a Room the reader d
|
|
|
55
55
|
followed by none, must both answer `matches`. A case that tests other
|
|
56
56
|
Documents names in `refusedInMemory` the part `matches` refuses there as `invalid-query`, since
|
|
57
57
|
one Document cannot answer it, and only the SQL condition answers `matches`. A new operator
|
|
58
|
-
adds its cases here first.
|
|
58
|
+
adds its cases here first. The `actor` type's `door` holds the MD model's `WRITE_DOORS`, each
|
|
59
|
+
matched by its own case, as a Trigger condition's `by` reads it. With `types: ["task"]`, every `task` Document both evaluators match, in each case `matches` answers but a `record`'s or an `actor`'s, lies within the
|
|
59
60
|
index plan `walkOf` takes for each case: among the keys of the equality or list it walks, and
|
|
60
61
|
within the runs of keys it walks an order by each indexed field in, a missing value's among
|
|
61
62
|
them, so a new driving test adds its cases here too. Each of `orders` carries a `name`, one `orderBy` clause on a field the `task` type
|
package/fixtures/queries.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema": "task:\n type: object\n properties:\n title: { type: string }\n status: { enum: [open, done] }\n due: { type: string, format: date }\n at: { type: string, format: date-time }\n ends: { type: [string, \"null\"], format: date-time }\n place:\n type: object\n properties:\n city: { type: string }\n starts: { type: string, format: time }\n points: { type: number }\n count: { type: integer }\n done: { type: boolean }\n priority: { type: integer, enum: [1, 2, 3] }\n flagged: { enum: [true, false] }\n tier: { enum: [1, 2, null] }\n rank: { enum: [1, high] }\n code: { type: string, maxLength: 12 }\n owner: { type: string, reference: person }\n blocked_by: { type: array, items: { type: string, reference: task } }\n watchers: { type: array, items: { type: string, reference: person, cross_room: true } }\n labels: { type: array, items: { type: string } }\n times: { type: array, items: { type: string, format: date-time } }\n steps:\n type: array\n items:\n type: object\n properties:\n name: { type: string }\n at: { type: string, format: date-time }\n indexed: [status, due, at, ends, starts, points, count, done, tier, code]\nperson:\n type: object\n properties:\n name: { type: string }\nrecord:\n type: object\n properties:\n path: { type: string }\n received:\n type: object\n properties:\n at: { type: string, format: date-time }\n through: { type: string }\n by: { type: string }\n key: { type: string }\n original: { type: string }\n claimed: { type: object }\n json: { type: object }\n",
|
|
2
|
+
"schema": "task:\n type: object\n properties:\n title: { type: string }\n status: { enum: [open, done] }\n due: { type: string, format: date }\n at: { type: string, format: date-time }\n ends: { type: [string, \"null\"], format: date-time }\n place:\n type: object\n properties:\n city: { type: string }\n starts: { type: string, format: time }\n points: { type: number }\n count: { type: integer }\n done: { type: boolean }\n priority: { type: integer, enum: [1, 2, 3] }\n flagged: { enum: [true, false] }\n tier: { enum: [1, 2, null] }\n rank: { enum: [1, high] }\n code: { type: string, maxLength: 12 }\n owner: { type: string, reference: person }\n blocked_by: { type: array, items: { type: string, reference: task } }\n watchers: { type: array, items: { type: string, reference: person, cross_room: true } }\n labels: { type: array, items: { type: string } }\n times: { type: array, items: { type: string, format: date-time } }\n steps:\n type: array\n items:\n type: object\n properties:\n name: { type: string }\n at: { type: string, format: date-time }\n indexed: [status, due, at, ends, starts, points, count, done, tier, code]\nperson:\n type: object\n properties:\n name: { type: string }\nrecord:\n type: object\n properties:\n path: { type: string }\n received:\n type: object\n properties:\n at: { type: string, format: date-time }\n through: { type: string }\n by: { type: string }\n key: { type: string }\n original: { type: string }\n claimed: { type: object }\n json: { type: object }\nactor:\n type: object\n properties:\n user: { type: string }\n door: { enum: [browser, client, environment, function] }\n",
|
|
3
3
|
"reads": [
|
|
4
4
|
"team"
|
|
5
5
|
],
|
|
@@ -266,6 +266,46 @@
|
|
|
266
266
|
"subject": "Quote for the garden"
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
+
},
|
|
270
|
+
"browser-actor": {
|
|
271
|
+
"path": "actors/browser.md",
|
|
272
|
+
"type": "actor",
|
|
273
|
+
"fileId": "file-browser-actor",
|
|
274
|
+
"text": null,
|
|
275
|
+
"fields": {
|
|
276
|
+
"user": "0197a3c4-5d6e-7f80-9a1b-2c3d4e5f6a70",
|
|
277
|
+
"door": "browser"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"client-actor": {
|
|
281
|
+
"path": "actors/client.md",
|
|
282
|
+
"type": "actor",
|
|
283
|
+
"fileId": "file-client-actor",
|
|
284
|
+
"text": null,
|
|
285
|
+
"fields": {
|
|
286
|
+
"user": "0197a3c4-5d6e-7f80-9a1b-2c3d4e5f6a70",
|
|
287
|
+
"door": "client"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"environment-actor": {
|
|
291
|
+
"path": "actors/environment.md",
|
|
292
|
+
"type": "actor",
|
|
293
|
+
"fileId": "file-environment-actor",
|
|
294
|
+
"text": null,
|
|
295
|
+
"fields": {
|
|
296
|
+
"user": "0197a3c4-5d6e-7f80-9a1b-2c3d4e5f6a70",
|
|
297
|
+
"door": "environment"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"function-actor": {
|
|
301
|
+
"path": "actors/function.md",
|
|
302
|
+
"type": "actor",
|
|
303
|
+
"fileId": "file-function-actor",
|
|
304
|
+
"text": null,
|
|
305
|
+
"fields": {
|
|
306
|
+
"user": "0197a3c4-5d6e-7f80-9a1b-2c3d4e5f6a70",
|
|
307
|
+
"door": "function"
|
|
308
|
+
}
|
|
269
309
|
}
|
|
270
310
|
},
|
|
271
311
|
"cases": [
|
|
@@ -1855,6 +1895,128 @@
|
|
|
1855
1895
|
},
|
|
1856
1896
|
"document": "mailed-record",
|
|
1857
1897
|
"matches": false
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "a door test names a change made through browser",
|
|
1901
|
+
"query": {
|
|
1902
|
+
"types": [
|
|
1903
|
+
"actor"
|
|
1904
|
+
],
|
|
1905
|
+
"where": {
|
|
1906
|
+
"/door": "browser"
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
"document": "browser-actor",
|
|
1910
|
+
"matches": true
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"name": "a door test of client leaves a change made through browser out",
|
|
1914
|
+
"query": {
|
|
1915
|
+
"types": [
|
|
1916
|
+
"actor"
|
|
1917
|
+
],
|
|
1918
|
+
"where": {
|
|
1919
|
+
"/door": "client"
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1922
|
+
"document": "browser-actor",
|
|
1923
|
+
"matches": false
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "a door test names a change made through client",
|
|
1927
|
+
"query": {
|
|
1928
|
+
"types": [
|
|
1929
|
+
"actor"
|
|
1930
|
+
],
|
|
1931
|
+
"where": {
|
|
1932
|
+
"/door": "client"
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
"document": "client-actor",
|
|
1936
|
+
"matches": true
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"name": "a door test of environment leaves a change made through client out",
|
|
1940
|
+
"query": {
|
|
1941
|
+
"types": [
|
|
1942
|
+
"actor"
|
|
1943
|
+
],
|
|
1944
|
+
"where": {
|
|
1945
|
+
"/door": "environment"
|
|
1946
|
+
}
|
|
1947
|
+
},
|
|
1948
|
+
"document": "client-actor",
|
|
1949
|
+
"matches": false
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"name": "a door test names a change made through environment",
|
|
1953
|
+
"query": {
|
|
1954
|
+
"types": [
|
|
1955
|
+
"actor"
|
|
1956
|
+
],
|
|
1957
|
+
"where": {
|
|
1958
|
+
"/door": "environment"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"document": "environment-actor",
|
|
1962
|
+
"matches": true
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"name": "a door test of function leaves a change made through environment out",
|
|
1966
|
+
"query": {
|
|
1967
|
+
"types": [
|
|
1968
|
+
"actor"
|
|
1969
|
+
],
|
|
1970
|
+
"where": {
|
|
1971
|
+
"/door": "function"
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1974
|
+
"document": "environment-actor",
|
|
1975
|
+
"matches": false
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"name": "a door test names a change made through function",
|
|
1979
|
+
"query": {
|
|
1980
|
+
"types": [
|
|
1981
|
+
"actor"
|
|
1982
|
+
],
|
|
1983
|
+
"where": {
|
|
1984
|
+
"/door": "function"
|
|
1985
|
+
}
|
|
1986
|
+
},
|
|
1987
|
+
"document": "function-actor",
|
|
1988
|
+
"matches": true
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"name": "a door test of browser leaves a change made through function out",
|
|
1992
|
+
"query": {
|
|
1993
|
+
"types": [
|
|
1994
|
+
"actor"
|
|
1995
|
+
],
|
|
1996
|
+
"where": {
|
|
1997
|
+
"/door": "browser"
|
|
1998
|
+
}
|
|
1999
|
+
},
|
|
2000
|
+
"document": "function-actor",
|
|
2001
|
+
"matches": false
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "a door test of an AI client or an Environment names an Environment's change",
|
|
2005
|
+
"query": {
|
|
2006
|
+
"types": [
|
|
2007
|
+
"actor"
|
|
2008
|
+
],
|
|
2009
|
+
"where": {
|
|
2010
|
+
"/door": {
|
|
2011
|
+
"$in": [
|
|
2012
|
+
"client",
|
|
2013
|
+
"environment"
|
|
2014
|
+
]
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
"document": "environment-actor",
|
|
2019
|
+
"matches": true
|
|
1858
2020
|
}
|
|
1859
2021
|
],
|
|
1860
2022
|
"orders": [
|
package/package.json
CHANGED