@agentshouse/mdmodel 0.1.0-c3d58cb8652e6 → 0.1.0-c423be616ea39
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/API.md +262 -191
- package/README.md +15 -18
- package/dist/blocks.d.ts.map +1 -1
- package/dist/blocks.js +33 -26
- package/dist/condition.d.ts +38 -14
- package/dist/condition.d.ts.map +1 -1
- package/dist/condition.js +401 -180
- package/dist/definition.d.ts +24 -1
- package/dist/definition.d.ts.map +1 -1
- package/dist/definition.js +303 -29
- package/dist/divide.d.ts.map +1 -1
- package/dist/divide.js +27 -17
- package/dist/document.d.ts +6 -3
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +315 -167
- package/dist/fields.d.ts +2 -0
- package/dist/fields.d.ts.map +1 -1
- package/dist/fields.js +7 -0
- package/dist/index.d.ts +15 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -6
- package/dist/links.d.ts +3 -0
- package/dist/links.d.ts.map +1 -1
- package/dist/links.js +66 -40
- package/dist/paths.d.ts +10 -1
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +115 -12
- package/dist/project.d.ts +1 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +38 -15
- package/dist/references.d.ts +2 -2
- package/dist/references.d.ts.map +1 -1
- package/dist/references.js +6 -1
- package/dist/schema.js +2 -2
- package/dist/types.d.ts +49 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/validate.d.ts +30 -2
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +290 -121
- package/dist/yaml.d.ts +7 -3
- package/dist/yaml.d.ts.map +1 -1
- package/dist/yaml.js +72 -43
- package/fixtures/README.md +6 -5
- package/fixtures/cases/cross-room-link/context.json +1 -0
- package/fixtures/cases/cross-room-link/expected.json +1 -0
- package/fixtures/cases/cross-room-link/library/clients/acme.md +6 -0
- package/fixtures/cases/cross-room-link/schema.yaml +3 -0
- package/fixtures/cases/cross-room-reference/context.json +1 -0
- package/fixtures/cases/cross-room-reference/expected.json +1 -0
- package/fixtures/cases/cross-room-reference/library/clients/acme.md +9 -0
- package/fixtures/cases/cross-room-reference/schema.yaml +9 -0
- package/fixtures/division.json +26 -26
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -26,30 +26,27 @@ if (checked.verdict === 'accept') {
|
|
|
26
26
|
|
|
27
27
|
const parsed = parse('---\ntype: note\ntitle: Hello\n---\n');
|
|
28
28
|
if (parsed.ok) {
|
|
29
|
-
const next = apply(parsed.document,
|
|
30
|
-
kind: 'field',
|
|
31
|
-
|
|
32
|
-
value: 'World',
|
|
33
|
-
prior: 'Hello',
|
|
34
|
-
});
|
|
29
|
+
const next = apply(parsed.document, [
|
|
30
|
+
{ kind: 'field', name: 'title', value: 'World', prior: 'Hello' },
|
|
31
|
+
]);
|
|
35
32
|
if (next.outcome === 'applied') serialize(next.document);
|
|
36
33
|
}
|
|
37
34
|
```
|
|
38
35
|
|
|
39
36
|
## API
|
|
40
37
|
|
|
41
|
-
| Export | Purpose
|
|
42
|
-
| ---------------------------------------------- |
|
|
43
|
-
| `verify` | Verify one schema text into a model of MD Types
|
|
44
|
-
| `validate` | Validate a text Library; returns acceptance or one refusal
|
|
45
|
-
| `parse`, `serialize` | Read and write one Document
|
|
46
|
-
| `apply` | Apply
|
|
47
|
-
| `links`, `target`, `retarget` | Inventory and rewrite link destinations
|
|
48
|
-
| `escapePointer` | Write one key as a JSON Pointer token
|
|
49
|
-
| `project`, `divide` | Embedding projection input and its division into Spans
|
|
50
|
-
| `facts`, `factKind`, `holds`, `fires` | A condition over a Document and over one of its changes
|
|
51
|
-
| `MARKDOWN_SYNTAX_PROFILE`, `VERSION` | The pinned Markdown profile (GFM 0.29) and MD model version
|
|
52
|
-
| `MEMBER_FIELD`, `SITE_FIELD`, `RECEIVED_FIELD` | The field names validation counts as declared beyond a type's own
|
|
38
|
+
| Export | Purpose |
|
|
39
|
+
| ---------------------------------------------- | ------------------------------------------------------------------ |
|
|
40
|
+
| `verify` | Verify one schema text into a model of MD Types |
|
|
41
|
+
| `validate` | Validate a text Library; returns acceptance or one refusal |
|
|
42
|
+
| `parse`, `serialize` | Read and write one Document |
|
|
43
|
+
| `apply` | Apply field, section, preamble, link and reference changes at once |
|
|
44
|
+
| `links`, `target`, `retarget` | Inventory and rewrite link destinations |
|
|
45
|
+
| `escapePointer` | Write one key as a JSON Pointer token |
|
|
46
|
+
| `project`, `divide` | Embedding projection input and its division into Spans |
|
|
47
|
+
| `facts`, `factKind`, `holds`, `fires` | A condition over a Document and over one of its changes |
|
|
48
|
+
| `MARKDOWN_SYNTAX_PROFILE`, `VERSION` | The pinned Markdown profile (GFM 0.29) and MD model version |
|
|
49
|
+
| `MEMBER_FIELD`, `SITE_FIELD`, `RECEIVED_FIELD` | The field names validation counts as declared beyond a type's own |
|
|
53
50
|
|
|
54
51
|
The full reference is in [`API.md`](API.md). The conformance corpus and its
|
|
55
52
|
verdict format and rule ids are described in [`fixtures/README.md`](fixtures/README.md).
|
package/dist/blocks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../src/blocks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;
|
|
1
|
+
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../src/blocks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AA+BF,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,WAAW,EAAE,CA8BrF;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,CAe/E"}
|
package/dist/blocks.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fenceSpans } from './links.js';
|
|
2
|
-
const HEADING = /^(#{1,6})(?!#)[ \t]+(.+?)[ \t]
|
|
1
|
+
import { fenceSpans, spanCursor } from './links.js';
|
|
2
|
+
const HEADING = /^(#{1,6})(?!#)[ \t]+(.+?)(?:[ \t]+#+)?[ \t]*$/;
|
|
3
3
|
function lineAt(content, from, to) {
|
|
4
4
|
const nl = content.indexOf('\n', from);
|
|
5
5
|
const end = nl === -1 || nl >= to ? to : nl;
|
|
@@ -7,40 +7,47 @@ function lineAt(content, from, to) {
|
|
|
7
7
|
return { text: raw.endsWith('\r') ? raw.slice(0, -1) : raw, next: end === to ? to : end + 1 };
|
|
8
8
|
}
|
|
9
9
|
function scan(content, from, to, visit) {
|
|
10
|
-
const
|
|
10
|
+
const fenced = spanCursor(fenceSpans(content.slice(from, to)));
|
|
11
11
|
let i = from;
|
|
12
12
|
while (i < to) {
|
|
13
13
|
const { text, next } = lineAt(content, i, to);
|
|
14
|
-
|
|
15
|
-
visit({
|
|
16
|
-
text,
|
|
17
|
-
start: i,
|
|
18
|
-
next,
|
|
19
|
-
fenced: fences.some(([start, end]) => at >= start && at < end),
|
|
20
|
-
});
|
|
14
|
+
visit({ text, start: i, next, fenced: fenced(i - from) !== undefined });
|
|
21
15
|
if (next === i)
|
|
22
16
|
break;
|
|
23
17
|
i = next;
|
|
24
18
|
}
|
|
25
19
|
}
|
|
20
|
+
const HASH = 0x23;
|
|
26
21
|
export function headingLines(content, from, to) {
|
|
27
22
|
const found = [];
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
if (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
23
|
+
let fenced = null;
|
|
24
|
+
let i = from;
|
|
25
|
+
while (i < to) {
|
|
26
|
+
const nl = content.indexOf('\n', i);
|
|
27
|
+
const end = nl === -1 || nl >= to ? to : nl;
|
|
28
|
+
const next = end === to ? to : end + 1;
|
|
29
|
+
if (content.charCodeAt(i) === HASH) {
|
|
30
|
+
fenced ??= spanCursor(fenceSpans(content.slice(from, to)));
|
|
31
|
+
if (fenced(i - from) === undefined) {
|
|
32
|
+
const { text } = lineAt(content, i, to);
|
|
33
|
+
const match = HEADING.exec(text);
|
|
34
|
+
const hashes = match?.[1];
|
|
35
|
+
const name = match?.[2];
|
|
36
|
+
if (hashes !== undefined && name !== undefined) {
|
|
37
|
+
found.push({
|
|
38
|
+
level: hashes.length,
|
|
39
|
+
name: name.trim(),
|
|
40
|
+
start: i,
|
|
41
|
+
textEnd: i + text.length,
|
|
42
|
+
next,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (next === i)
|
|
48
|
+
break;
|
|
49
|
+
i = next;
|
|
50
|
+
}
|
|
44
51
|
return found;
|
|
45
52
|
}
|
|
46
53
|
export function blockRanges(content, from, to) {
|
package/dist/condition.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type ValueFacts } from './definition.js';
|
|
1
|
+
import { type Definition, type ValueFacts } from './definition.js';
|
|
2
2
|
import type { Document, VerifiedModel } from './types.js';
|
|
3
|
-
export type ConditionValue = string | number | boolean
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export type ConditionValue = string | number | boolean;
|
|
4
|
+
export declare const CONDITION_OPERATORS: readonly ['eq', 'in', 'exists', 'contains', 'gt', 'gte', 'lt', 'lte', 'prefix'];
|
|
5
|
+
export type ConditionOperator = (typeof CONDITION_OPERATORS)[number];
|
|
6
6
|
export type ConditionTest = {
|
|
7
7
|
readonly all: readonly ConditionTest[];
|
|
8
8
|
} | {
|
|
@@ -41,6 +41,7 @@ type DocumentEventBase = {
|
|
|
41
41
|
readonly on: 'documents';
|
|
42
42
|
readonly scope: ConditionScope;
|
|
43
43
|
readonly by?: ConditionTest;
|
|
44
|
+
readonly moved_between_rooms?: boolean;
|
|
44
45
|
};
|
|
45
46
|
export type DocumentCondition = (DocumentEventBase & {
|
|
46
47
|
readonly mode: 'starts_matching';
|
|
@@ -77,18 +78,30 @@ export type DateCondition = {
|
|
|
77
78
|
};
|
|
78
79
|
export type Condition = DocumentCondition | ItemCondition | CronCondition | DateCondition;
|
|
79
80
|
export type FactKind = 'string' | 'number' | 'boolean' | 'date' | 'time' | 'enum' | 'reference';
|
|
81
|
+
type Scalar = string | number | boolean;
|
|
80
82
|
export type Fact = {
|
|
81
83
|
readonly kind: FactKind;
|
|
82
|
-
readonly value: Scalar
|
|
84
|
+
readonly value: Scalar;
|
|
85
|
+
readonly member?: string;
|
|
86
|
+
} | {
|
|
87
|
+
readonly kind: 'prose';
|
|
88
|
+
} | {
|
|
89
|
+
readonly kind: 'null';
|
|
90
|
+
} | {
|
|
91
|
+
readonly kind: 'unreadable';
|
|
92
|
+
} | {
|
|
93
|
+
readonly kind: 'list';
|
|
94
|
+
readonly items: readonly Fact[];
|
|
95
|
+
} | {
|
|
96
|
+
readonly kind: 'object';
|
|
97
|
+
readonly fields: Readonly<Record<string, Fact>>;
|
|
83
98
|
};
|
|
84
99
|
export type DocumentFacts = {
|
|
85
100
|
readonly id: string;
|
|
86
101
|
readonly path: string;
|
|
87
102
|
readonly type: string | null;
|
|
88
103
|
readonly fields: Readonly<Record<string, Fact>>;
|
|
89
|
-
readonly
|
|
90
|
-
readonly prose: readonly string[];
|
|
91
|
-
readonly unreadable: readonly string[];
|
|
104
|
+
readonly sections: readonly string[];
|
|
92
105
|
};
|
|
93
106
|
export declare const WRITE_DOORS: readonly ['browser', 'agent', 'client'];
|
|
94
107
|
export type WriteDoor = (typeof WRITE_DOORS)[number];
|
|
@@ -102,13 +115,12 @@ export type DocumentEvent = {
|
|
|
102
115
|
readonly after: DocumentFacts | null;
|
|
103
116
|
readonly changed: readonly string[];
|
|
104
117
|
readonly by: Actor;
|
|
118
|
+
readonly moved_between_rooms: boolean;
|
|
105
119
|
};
|
|
106
120
|
export type ItemFacts = {
|
|
107
121
|
readonly delivery: string;
|
|
108
122
|
readonly source: string | null;
|
|
109
123
|
readonly address: string | null;
|
|
110
|
-
readonly has_attachment: boolean;
|
|
111
|
-
readonly provider: string | null;
|
|
112
124
|
readonly container: string | null;
|
|
113
125
|
readonly author: string | null;
|
|
114
126
|
readonly headers: Readonly<Record<string, string>>;
|
|
@@ -121,17 +133,29 @@ export type Resolved = {
|
|
|
121
133
|
readonly member?: string;
|
|
122
134
|
};
|
|
123
135
|
type Truth = boolean | undefined;
|
|
124
|
-
type Scalar = string | number | boolean;
|
|
125
136
|
export declare function factKind(facts: ValueFacts): FactKind | null;
|
|
126
137
|
export declare function facts(document: Document, at: {
|
|
127
138
|
readonly id: string;
|
|
128
139
|
readonly path: string;
|
|
129
140
|
}, model: VerifiedModel, resolve: (target: string) => Resolved | undefined): DocumentFacts;
|
|
141
|
+
export declare function prosePaths(facts: DocumentFacts): string[];
|
|
142
|
+
export declare function datePointers(fields: Readonly<Record<string, ValueFacts>>): string[];
|
|
143
|
+
export declare function valuedChange(definition: Definition, field: string): boolean;
|
|
144
|
+
export declare function changeFields(definition: Definition): string[];
|
|
145
|
+
export declare function memberPointers(definition: Definition, memberType: string): string[];
|
|
146
|
+
export declare const DOCUMENT_PATHS: readonly string[];
|
|
147
|
+
export declare const ACTOR_PATHS: readonly string[];
|
|
148
|
+
export declare const ITEM_PATHS: readonly string[];
|
|
149
|
+
export declare function testOperators(definitions: readonly Definition[], path: string, memberType: string | null): readonly ConditionOperator[];
|
|
150
|
+
export declare function actorOperators(path: string): readonly ConditionOperator[];
|
|
151
|
+
export declare function itemOperators(path: string): readonly ConditionOperator[];
|
|
152
|
+
export declare function itemKind(path: string): FactKind | null;
|
|
130
153
|
export declare function dated(value: unknown): value is string;
|
|
131
154
|
export declare function instant(value: unknown): bigint | undefined;
|
|
132
155
|
export declare function pointed(value: unknown, pointer: string): unknown;
|
|
133
|
-
export declare function
|
|
134
|
-
export declare function
|
|
135
|
-
export declare function
|
|
156
|
+
export declare function members(document: DocumentFacts, path: string): readonly string[];
|
|
157
|
+
export declare function holds(test: ConditionTest, document: DocumentFacts): Truth;
|
|
158
|
+
export declare function fires(condition: DocumentCondition, event: DocumentEvent): boolean;
|
|
159
|
+
export declare function itemFires(condition: ItemCondition, item: ItemFacts): boolean;
|
|
136
160
|
export {};
|
|
137
161
|
//# sourceMappingURL=condition.d.ts.map
|
package/dist/condition.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../src/condition.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../src/condition.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,UAAU,EAEf,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,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