@inventarch/runtime 3.2.2 → 3.4.0
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/LANGUAGE.md +1 -1
- package/README.md +4 -2
- package/SPEC.md +7 -5
- package/dist/coordinate.d.ts +4 -4
- package/dist/coordinate.d.ts.map +1 -1
- package/dist/coordinate.js +6 -4
- package/dist/coordinate.js.map +1 -1
- package/dist/door.d.ts +1 -0
- package/dist/door.d.ts.map +1 -1
- package/dist/door.js +3 -2
- package/dist/door.js.map +1 -1
- package/dist/machine-protocol.d.ts +2 -0
- package/dist/machine-protocol.d.ts.map +1 -1
- package/dist/machine-protocol.js +12 -5
- package/dist/machine-protocol.js.map +1 -1
- package/dist/packet-host.d.ts.map +1 -1
- package/dist/packet-host.js +2 -8
- package/dist/packet-host.js.map +1 -1
- package/dist/packet.js +1 -1
- package/dist/packet.js.map +1 -1
- package/dist/position.d.ts +3 -3
- package/dist/position.d.ts.map +1 -1
- package/dist/position.js +15 -4
- package/dist/position.js.map +1 -1
- package/dist/publication.d.ts.map +1 -1
- package/dist/publication.js +77 -10
- package/dist/publication.js.map +1 -1
- package/dist/scope-key.d.ts +9 -5
- package/dist/scope-key.d.ts.map +1 -1
- package/dist/scope-key.js +28 -9
- package/dist/scope-key.js.map +1 -1
- package/package.json +5 -5
package/dist/scope-key.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import type { Phase } from '@inventarch/language';
|
|
1
|
+
import type { Phase, Primitive } from '@inventarch/language';
|
|
2
2
|
import type { ReadHandle, SeatResolution } from '@inventarch/db';
|
|
3
3
|
import type { Shape } from './classify.js';
|
|
4
4
|
import type { PreparedCoordinate } from './coordinate.js';
|
|
5
|
+
/** Ordered display parts shared by host renderers; each host applies its own output escaping. */
|
|
6
|
+
export declare function scopeKeyTextParts(key: ScopeKey): readonly string[];
|
|
5
7
|
/**
|
|
6
|
-
* The scope key K = (S, H, P, d, n, w) (SPEC R14).
|
|
8
|
+
* The scope key K = (S, H, P, d, n, w), optionally overriding its cognitive primitive (SPEC R14).
|
|
7
9
|
*
|
|
8
10
|
* A key names where a reader sits (the seat), what it intends (the shape), the phase it works in, how many rows a body
|
|
9
11
|
* may hop (depth) and how many entries it may load (budget), optionally restricted to one word. This module holds the
|
|
@@ -37,6 +39,8 @@ export interface ScopeKey {
|
|
|
37
39
|
readonly budget: number;
|
|
38
40
|
/** w: a word registered in the closure, restricting seeds and tallies inside the body; absent for none. */
|
|
39
41
|
readonly word?: string;
|
|
42
|
+
/** An explicit cognitive primitive; absent, derive it from the shape without adding a key part. */
|
|
43
|
+
readonly primitive?: Primitive;
|
|
40
44
|
}
|
|
41
45
|
/** K0 = (the repository's `@workspace`, context, orient, 0, 0, no word): a pointers-only first position. */
|
|
42
46
|
export declare const K0: ScopeKey;
|
|
@@ -67,13 +71,13 @@ export interface ResolvedScopeKey {
|
|
|
67
71
|
* the record declared at it (`seat`), the rule `by` that declares it and the path's claimants.
|
|
68
72
|
*/
|
|
69
73
|
readonly resolution?: SeatResolution;
|
|
70
|
-
/**
|
|
74
|
+
/** Shape and phase declared; category derived; primitive declared when supplied, otherwise derived from shape. */
|
|
71
75
|
readonly coordinate: PreparedCoordinate;
|
|
72
76
|
}
|
|
73
77
|
/**
|
|
74
78
|
* R14: complete a partial key with its defaults, so every host applies the same ones. A partial naming
|
|
75
|
-
* no part is K0. Otherwise `shape` defaults to context, `phase` to the anchor
|
|
76
|
-
*
|
|
79
|
+
* no part is K0. Otherwise `shape` defaults to context, `phase` to the anchor of the explicit primitive or the shape's
|
|
80
|
+
* primitive, `depth` to 1 and `budget` to 16, and a seat, word or primitive override stays absent
|
|
77
81
|
* unless named; a part whose value is `undefined` is not named. The result is checked as resolveScopeKey checks a
|
|
78
82
|
* key's form, so its refusals are the same IA-RUNTIME-REQUEST-INVALID ones; nothing is read, so the word and the seat
|
|
79
83
|
* are checked only when the key is resolved.
|
package/dist/scope-key.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope-key.d.ts","sourceRoot":"","sources":["../src/scope-key.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"scope-key.d.ts","sourceRoot":"","sources":["../src/scope-key.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAI1D,iGAAiG;AACjG,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,QAAQ,GAAG,SAAS,MAAM,EAAE,CAUlE;AAED;;;;;;;;;GASG;AAEH,6DAA6D;AAC7D,eAAO,MAAM,cAAc;;;EAAmD,CAAC;AAI/E,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,wCAAwC;IACxC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,iCAAiC;IACjC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,sEAAsE;IACtE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,6GAA6G;IAC7G,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,2GAA2G;IAC3G,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,mGAAmG;IACnG,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;CAChC;AAED,4GAA4G;AAC5G,eAAO,MAAM,EAAE,EAAE,QAAoF,CAAC;AAEtG;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,mHAAmH;IACnH,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;IACnD,4GAA4G;IAC5G,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,sDAAsD;IACtD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;CACjC;AACD,MAAM,WAAW,gBAAgB;IAC/B,qGAAqG;IACrG,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,cAAc,CAAC;IACrC,kHAAkH;IAClH,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;CACzC;AAiFD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,OAAO,CAAC,QAAQ,CAAM,GAAG,QAAQ,CAa3E;AACD;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAK3E;AACD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,gBAAgB,CA4CnG"}
|
package/dist/scope-key.js
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import { isAbsolute, relative, sep } from 'node:path';
|
|
2
|
-
import { PHASES, PRIMITIVE_ANCHORS, SHAPE_ROWS, SHAPES, isPhase } from '@inventarch/language';
|
|
2
|
+
import { PHASES, PRIMITIVES, PRIMITIVE_ANCHORS, SHAPE_ROWS, SHAPES, isPhase, isPrimitive } from '@inventarch/language';
|
|
3
3
|
import { scopeCoordinate } from './coordinate.js';
|
|
4
4
|
import { RuntimeError } from './errors.js';
|
|
5
5
|
import { freeze } from './types.js';
|
|
6
|
+
/** Ordered display parts shared by host renderers; each host applies its own output escaping. */
|
|
7
|
+
export function scopeKeyTextParts(key) {
|
|
8
|
+
return [
|
|
9
|
+
`seat ${key.seat === undefined ? "the repository's workspace" : typeof key.seat === 'string' ? key.seat : key.seat.path || '.'}`,
|
|
10
|
+
`shape ${key.shape}`,
|
|
11
|
+
`phase ${key.phase}`,
|
|
12
|
+
`depth ${key.depth}`,
|
|
13
|
+
`budget ${key.budget}`,
|
|
14
|
+
...(key.word === undefined ? [] : [`word ${key.word}`]),
|
|
15
|
+
...(key.primitive === undefined ? [] : [`primitive ${key.primitive}`]),
|
|
16
|
+
];
|
|
17
|
+
}
|
|
6
18
|
/**
|
|
7
|
-
* The scope key K = (S, H, P, d, n, w) (SPEC R14).
|
|
19
|
+
* The scope key K = (S, H, P, d, n, w), optionally overriding its cognitive primitive (SPEC R14).
|
|
8
20
|
*
|
|
9
21
|
* A key names where a reader sits (the seat), what it intends (the shape), the phase it works in, how many rows a body
|
|
10
22
|
* may hop (depth) and how many entries it may load (budget), optionally restricted to one word. This module holds the
|
|
@@ -19,7 +31,7 @@ export const SCOPE_KEY_CAPS = Object.freeze({ depth: 2, budget: 64 });
|
|
|
19
31
|
const DEFAULTS = { depth: 1, budget: 16 };
|
|
20
32
|
/** K0 = (the repository's `@workspace`, context, orient, 0, 0, no word): a pointers-only first position. */
|
|
21
33
|
export const K0 = Object.freeze({ shape: 'context', phase: 'orient', depth: 0, budget: 0 });
|
|
22
|
-
const PARTS = ['seat', 'shape', 'phase', 'depth', 'budget', 'word'];
|
|
34
|
+
const PARTS = ['seat', 'shape', 'phase', 'depth', 'budget', 'word', 'primitive'];
|
|
23
35
|
/**
|
|
24
36
|
* The one command each key refusal names, its closed set printed or its cap given. A key that is no key and a seat the
|
|
25
37
|
* scope does not hold name the position without one, K0, which every scope can compute, and a word the closure does
|
|
@@ -30,6 +42,7 @@ const NEXT = {
|
|
|
30
42
|
seat: 'ia position',
|
|
31
43
|
shape: `ia position --shape <${SHAPES.join('|')}>`,
|
|
32
44
|
phase: `ia position --phase <${PHASES.join('|')}>`,
|
|
45
|
+
primitive: `ia position --primitive <${PRIMITIVES.join('|')}>`,
|
|
33
46
|
depth: `ia position --depth ${SCOPE_KEY_CAPS.depth}`,
|
|
34
47
|
budget: `ia position --budget ${SCOPE_KEY_CAPS.budget}`,
|
|
35
48
|
word: 'ia vocabulary',
|
|
@@ -47,6 +60,11 @@ function shapeOf(value) {
|
|
|
47
60
|
invalid(`Scope key shape must be one of ${SHAPES.join(', ')}`, NEXT.shape);
|
|
48
61
|
return value;
|
|
49
62
|
}
|
|
63
|
+
function primitiveOf(value) {
|
|
64
|
+
if (typeof value !== 'string' || !isPrimitive(value))
|
|
65
|
+
invalid(`Scope key primitive must be one of ${PRIMITIVES.join(', ')}`, NEXT.primitive);
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
50
68
|
/** An object whose own parts are all key parts. */
|
|
51
69
|
function parted(key) {
|
|
52
70
|
if (key === null || typeof key !== 'object' || Array.isArray(key))
|
|
@@ -61,7 +79,7 @@ function parted(key) {
|
|
|
61
79
|
* and the word's type. Returns a frozen copy, its parts in K order.
|
|
62
80
|
*/
|
|
63
81
|
function formed(supplied) {
|
|
64
|
-
const key = parted(supplied), { seat, phase, word } = key, shape = shapeOf(key.shape);
|
|
82
|
+
const key = parted(supplied), { seat, phase, word } = key, shape = shapeOf(key.shape), primitive = key.primitive === undefined ? undefined : primitiveOf(key.primitive);
|
|
65
83
|
if (typeof phase !== 'string' || !isPhase(phase))
|
|
66
84
|
invalid(`Scope key phase must be one of ${PHASES.join(', ')}`, NEXT.phase);
|
|
67
85
|
const depth = capped(key.depth, 'depth'), budget = capped(key.budget, 'budget');
|
|
@@ -84,12 +102,13 @@ function formed(supplied) {
|
|
|
84
102
|
depth,
|
|
85
103
|
budget,
|
|
86
104
|
...(word === undefined ? {} : { word: word }),
|
|
105
|
+
...(primitive === undefined ? {} : { primitive }),
|
|
87
106
|
});
|
|
88
107
|
}
|
|
89
108
|
/**
|
|
90
109
|
* R14: complete a partial key with its defaults, so every host applies the same ones. A partial naming
|
|
91
|
-
* no part is K0. Otherwise `shape` defaults to context, `phase` to the anchor
|
|
92
|
-
*
|
|
110
|
+
* no part is K0. Otherwise `shape` defaults to context, `phase` to the anchor of the explicit primitive or the shape's
|
|
111
|
+
* primitive, `depth` to 1 and `budget` to 16, and a seat, word or primitive override stays absent
|
|
93
112
|
* unless named; a part whose value is `undefined` is not named. The result is checked as resolveScopeKey checks a
|
|
94
113
|
* key's form, so its refusals are the same IA-RUNTIME-REQUEST-INVALID ones; nothing is read, so the word and the seat
|
|
95
114
|
* are checked only when the key is resolved.
|
|
@@ -98,11 +117,11 @@ export function normalizeScopeKey(partial = {}) {
|
|
|
98
117
|
const key = parted(partial), named = (part) => key[part] !== undefined;
|
|
99
118
|
if (!PARTS.some(named))
|
|
100
119
|
return K0;
|
|
101
|
-
const shape = named('shape') ? shapeOf(key.shape) : 'context';
|
|
120
|
+
const shape = named('shape') ? shapeOf(key.shape) : 'context', primitive = named('primitive') ? primitiveOf(key.primitive) : SHAPE_ROWS[shape].primitive;
|
|
102
121
|
return formed({
|
|
103
122
|
...key,
|
|
104
123
|
shape,
|
|
105
|
-
phase: named('phase') ? key.phase : PRIMITIVE_ANCHORS[
|
|
124
|
+
phase: named('phase') ? key.phase : PRIMITIVE_ANCHORS[primitive],
|
|
106
125
|
depth: named('depth') ? key.depth : DEFAULTS.depth,
|
|
107
126
|
budget: named('budget') ? key.budget : DEFAULTS.budget,
|
|
108
127
|
});
|
|
@@ -135,7 +154,7 @@ export function rootRelative(root, path) {
|
|
|
135
154
|
export function resolveScopeKey(handle, within, key) {
|
|
136
155
|
if (typeof within !== 'string' || within.length === 0)
|
|
137
156
|
invalid('Runtime reads require an explicit scope token');
|
|
138
|
-
const valid = formed(key), { seat, word } = valid, coordinate = scopeCoordinate(valid.shape, valid.phase);
|
|
157
|
+
const valid = formed(key), { seat, word } = valid, coordinate = scopeCoordinate(valid.shape, valid.phase, valid.primitive);
|
|
139
158
|
// The reads, each through the token: the word against the view's registry, then the seat.
|
|
140
159
|
if (word !== undefined) {
|
|
141
160
|
const words = handle.words({ within });
|
package/dist/scope-key.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope-key.js","sourceRoot":"","sources":["../src/scope-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"scope-key.js","sourceRoot":"","sources":["../src/scope-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIvH,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,iGAAiG;AACjG,MAAM,UAAU,iBAAiB,CAAC,GAAa;IAC7C,OAAO;QACL,QAAQ,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,GAAG,EAAE;QAChI,SAAS,GAAG,CAAC,KA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,CAAC,CAAC;QACtD,OAAO,MAAM,CAAC;YACZ,GAAG,EAAE,KAAK;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,WAAW;gBACjB,GAAG,CAAC,UAAU,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,UAAU,CAAC,IAAI,EAAE,CAAC;gBACvE,GAAG,OAAO,CAAC,UAAU,CAAC;aACvB;YACD,UAAU;YACV,UAAU;SACX,CAAC,CAAC;IACL,CAAC;IACD,qHAAqH;IACrH,MAAM,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACrG,IAAI,UAAU,CAAC,OAAO,KAAK,SAAS;QAClC,OAAO,CACL,wBAAwB,IAAI,CAAC,IAAI,gFAAgF,EACjH,IAAI,CAAC,IAAI,CACV,CAAC;IACJ,OAAO,MAAM,CAAC;QACZ,GAAG,EAAE,EAAE,GAAG,KAAK,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,EAAE;QAClD,IAAI,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,EAAE;QACzE,UAAU;QACV,UAAU;KACX,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inventarch/runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -167,14 +167,14 @@
|
|
|
167
167
|
"LANGUAGE.md"
|
|
168
168
|
],
|
|
169
169
|
"dependencies": {
|
|
170
|
-
"@inventarch/language": "3.
|
|
171
|
-
"@inventarch/graph": "3.
|
|
172
|
-
"@inventarch/db": "3.
|
|
170
|
+
"@inventarch/language": "3.4.0",
|
|
171
|
+
"@inventarch/graph": "3.4.0",
|
|
172
|
+
"@inventarch/db": "3.4.0"
|
|
173
173
|
},
|
|
174
174
|
"devDependencies": {
|
|
175
175
|
"@types/node": "^22.19.0",
|
|
176
176
|
"typescript": "^5.9.3",
|
|
177
|
-
"vitest": "^4.1.
|
|
177
|
+
"vitest": "^4.1.12"
|
|
178
178
|
},
|
|
179
179
|
"license": "Apache-2.0",
|
|
180
180
|
"engines": {
|