@inventarch/runtime 0.0.0-stage → 1.1.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 +56 -0
- package/LICENSE +202 -0
- package/NOTICE +4 -0
- package/README.md +11 -2
- package/SPEC.md +77 -0
- package/dist/authoring/index.d.ts +159 -0
- package/dist/authoring/index.d.ts.map +1 -0
- package/dist/authoring/index.js +416 -0
- package/dist/authoring/index.js.map +1 -0
- package/dist/authoring-execution/execution.d.ts +12 -0
- package/dist/authoring-execution/execution.d.ts.map +1 -0
- package/dist/authoring-execution/execution.js +73 -0
- package/dist/authoring-execution/execution.js.map +1 -0
- package/dist/authoring-execution/index.d.ts +6 -0
- package/dist/authoring-execution/index.d.ts.map +1 -0
- package/dist/authoring-execution/index.js +6 -0
- package/dist/authoring-execution/index.js.map +1 -0
- package/dist/authoring-execution/inventory.d.ts +5 -0
- package/dist/authoring-execution/inventory.d.ts.map +1 -0
- package/dist/authoring-execution/inventory.js +46 -0
- package/dist/authoring-execution/inventory.js.map +1 -0
- package/dist/authoring-execution/shared.d.ts +22 -0
- package/dist/authoring-execution/shared.d.ts.map +1 -0
- package/dist/authoring-execution/shared.js +101 -0
- package/dist/authoring-execution/shared.js.map +1 -0
- package/dist/authoring-execution/types.d.ts +43 -0
- package/dist/authoring-execution/types.d.ts.map +1 -0
- package/dist/authoring-execution/types.js +21 -0
- package/dist/authoring-execution/types.js.map +1 -0
- package/dist/candidate.d.ts +49 -0
- package/dist/candidate.d.ts.map +1 -0
- package/dist/candidate.js +158 -0
- package/dist/candidate.js.map +1 -0
- package/dist/classify.d.ts +12 -0
- package/dist/classify.d.ts.map +1 -0
- package/dist/classify.js +21 -0
- package/dist/classify.js.map +1 -0
- package/dist/collect.d.ts +16 -0
- package/dist/collect.d.ts.map +1 -0
- package/dist/collect.js +133 -0
- package/dist/collect.js.map +1 -0
- package/dist/context.d.ts +5 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +124 -0
- package/dist/context.js.map +1 -0
- package/dist/coordinate.d.ts +21 -0
- package/dist/coordinate.d.ts.map +1 -0
- package/dist/coordinate.js +40 -0
- package/dist/coordinate.js.map +1 -0
- package/dist/door.d.ts +17 -0
- package/dist/door.d.ts.map +1 -0
- package/dist/door.js +217 -0
- package/dist/door.js.map +1 -0
- package/dist/editor/index.d.ts +5 -0
- package/dist/editor/index.d.ts.map +1 -0
- package/dist/editor/index.js +4 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/editor/types.d.ts +226 -0
- package/dist/editor/types.d.ts.map +1 -0
- package/dist/editor/types.js +2 -0
- package/dist/editor/types.js.map +1 -0
- package/dist/editor/workspace.d.ts +46 -0
- package/dist/editor/workspace.d.ts.map +1 -0
- package/dist/editor/workspace.js +903 -0
- package/dist/editor/workspace.js.map +1 -0
- package/dist/entry.d.ts +9 -0
- package/dist/entry.d.ts.map +1 -0
- package/dist/entry.js +26 -0
- package/dist/entry.js.map +1 -0
- package/dist/errors.d.ts +8 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/machine-protocol.d.ts +33 -0
- package/dist/machine-protocol.d.ts.map +1 -0
- package/dist/machine-protocol.js +339 -0
- package/dist/machine-protocol.js.map +1 -0
- package/dist/mentions.d.ts +20 -0
- package/dist/mentions.d.ts.map +1 -0
- package/dist/mentions.js +79 -0
- package/dist/mentions.js.map +1 -0
- package/dist/publication.d.ts +22 -0
- package/dist/publication.d.ts.map +1 -0
- package/dist/publication.js +275 -0
- package/dist/publication.js.map +1 -0
- package/dist/render.d.ts +9 -0
- package/dist/render.d.ts.map +1 -0
- package/dist/render.js +78 -0
- package/dist/render.js.map +1 -0
- package/dist/select.d.ts +16 -0
- package/dist/select.d.ts.map +1 -0
- package/dist/select.js +55 -0
- package/dist/select.js.map +1 -0
- package/dist/steward.d.ts +22 -0
- package/dist/steward.d.ts.map +1 -0
- package/dist/steward.js +45 -0
- package/dist/steward.js.map +1 -0
- package/dist/types.d.ts +97 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +10 -0
- package/dist/types.js.map +1 -0
- package/package.json +162 -3
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { Band, EdgeReference, Kind, Span, Term } from '@inventarch/language';
|
|
2
|
+
import type { Edge } from '@inventarch/graph';
|
|
3
|
+
import type { Scope } from '@inventarch/db';
|
|
4
|
+
import type { CoordinateOptions, PreparedCoordinate } from './coordinate.js';
|
|
5
|
+
export interface ContextRequest {
|
|
6
|
+
readonly within: string;
|
|
7
|
+
readonly text: string;
|
|
8
|
+
readonly coordinate: Readonly<Record<string, unknown>>;
|
|
9
|
+
readonly subject?: string | EdgeReference;
|
|
10
|
+
readonly follow?: readonly string[];
|
|
11
|
+
readonly revision?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface Budget {
|
|
14
|
+
readonly tokens: number;
|
|
15
|
+
readonly records: number;
|
|
16
|
+
}
|
|
17
|
+
export interface Tokenizer {
|
|
18
|
+
readonly name: string;
|
|
19
|
+
count(text: string): number;
|
|
20
|
+
}
|
|
21
|
+
export interface ContextOptions extends CoordinateOptions {
|
|
22
|
+
/** Opt-in topical assembly; all blocking governance is still reserved first. Selection is unchanged. */
|
|
23
|
+
readonly ranking?: 'native' | 'topical';
|
|
24
|
+
readonly tokenizer?: Tokenizer;
|
|
25
|
+
/**
|
|
26
|
+
* Attach each cell entry's `purpose` and count it toward the text budget. Off by default, so a caller that delivers
|
|
27
|
+
* only `text` is not charged for text it drops.
|
|
28
|
+
*/
|
|
29
|
+
readonly purpose?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface Citation extends Span {
|
|
32
|
+
readonly path: string;
|
|
33
|
+
}
|
|
34
|
+
export interface Clause {
|
|
35
|
+
readonly key: string;
|
|
36
|
+
readonly text: string;
|
|
37
|
+
readonly condition?: readonly Term[];
|
|
38
|
+
readonly citation: Citation;
|
|
39
|
+
}
|
|
40
|
+
export interface Entry {
|
|
41
|
+
readonly address: string;
|
|
42
|
+
readonly identity: string;
|
|
43
|
+
readonly kind: Kind;
|
|
44
|
+
readonly band: Band;
|
|
45
|
+
readonly step: 1 | 2 | 3 | 4 | 5 | 6;
|
|
46
|
+
readonly score: number;
|
|
47
|
+
readonly why: string;
|
|
48
|
+
readonly text: string;
|
|
49
|
+
readonly citations: readonly Citation[];
|
|
50
|
+
readonly condition?: readonly Term[];
|
|
51
|
+
readonly clauses?: readonly Clause[];
|
|
52
|
+
readonly severity?: string;
|
|
53
|
+
/**
|
|
54
|
+
* A cell entry's record `says` and `answers`, so a delivered step names what its method is for, present when the
|
|
55
|
+
* caller asks for it (`ContextOptions.purpose`). It counts toward the text budget with `text`. Other entries carry the
|
|
56
|
+
* record's meaning in their `text` already.
|
|
57
|
+
*/
|
|
58
|
+
readonly purpose?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface Omission {
|
|
61
|
+
readonly address: string;
|
|
62
|
+
readonly reason: 'budget' | 'disqualified' | 'unresolved';
|
|
63
|
+
readonly detail: string;
|
|
64
|
+
}
|
|
65
|
+
export interface Packet {
|
|
66
|
+
readonly ranking?: 'topical';
|
|
67
|
+
readonly revision: string;
|
|
68
|
+
readonly scope: Scope;
|
|
69
|
+
readonly coordinate: PreparedCoordinate;
|
|
70
|
+
readonly included: readonly Entry[];
|
|
71
|
+
readonly omitted: readonly Omission[];
|
|
72
|
+
readonly followed: readonly Edge[];
|
|
73
|
+
readonly gated: readonly Edge[];
|
|
74
|
+
readonly dangling: readonly Edge[];
|
|
75
|
+
readonly limits: Budget & {
|
|
76
|
+
readonly tokensUsed: number;
|
|
77
|
+
readonly recordsUsed: number;
|
|
78
|
+
readonly estimator: string;
|
|
79
|
+
readonly envelopeBytes: number;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export interface Refusal {
|
|
83
|
+
readonly ok: false;
|
|
84
|
+
readonly code: string;
|
|
85
|
+
readonly message: string;
|
|
86
|
+
readonly escalation?: 'coordinate-incomplete' | 'deny-wins-tie' | 'no-candidate';
|
|
87
|
+
readonly missing?: readonly string[];
|
|
88
|
+
readonly required?: Budget;
|
|
89
|
+
readonly reduction?: readonly string[];
|
|
90
|
+
}
|
|
91
|
+
export type ContextResult = {
|
|
92
|
+
readonly ok: true;
|
|
93
|
+
readonly packet: Packet;
|
|
94
|
+
} | Refusal;
|
|
95
|
+
/** Result objects contain plain JSON data and already immutable graph products. */
|
|
96
|
+
export declare function freeze<T>(value: T): T;
|
|
97
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE7E,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACvD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAC1C,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AACD,MA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,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,uBAAuB,GAAG,eAAe,GAAG,cAAc,CAAC;IACjF,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC;AACD,MAAM,MAAM,aAAa,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC;AAErF,mFAAmF;AACnF,wBAAgB,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAMrC"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Result objects contain plain JSON data and already immutable graph products. */
|
|
2
|
+
export function freeze(value) {
|
|
3
|
+
if (value !== null && typeof value === 'object' && !Object.isFrozen(value)) {
|
|
4
|
+
for (const child of Object.values(value))
|
|
5
|
+
freeze(child);
|
|
6
|
+
Object.freeze(value);
|
|
7
|
+
}
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AA6FA,mFAAmF;AACnF,MAAM,UAAU,MAAM,CAAI,KAAQ;IAChC,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3E,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;YAAE,MAAM,CAAC,KAAK,CAAC,CAAC;QACxD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,165 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inventarch/runtime",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./editor": {
|
|
13
|
+
"types": "./dist/editor/index.d.ts",
|
|
14
|
+
"default": "./dist/editor/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./authoring": {
|
|
17
|
+
"types": "./dist/authoring/index.d.ts",
|
|
18
|
+
"default": "./dist/authoring/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./entry": {
|
|
21
|
+
"types": "./dist/entry.d.ts",
|
|
22
|
+
"default": "./dist/entry.js"
|
|
23
|
+
},
|
|
24
|
+
"./authoring-execution": {
|
|
25
|
+
"types": "./dist/authoring-execution/index.d.ts",
|
|
26
|
+
"default": "./dist/authoring-execution/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./internal/authoring-execution/execution": {
|
|
29
|
+
"types": "./dist/authoring-execution/execution.d.ts",
|
|
30
|
+
"default": "./dist/authoring-execution/execution.js"
|
|
31
|
+
},
|
|
32
|
+
"./internal/authoring-execution/index": {
|
|
33
|
+
"types": "./dist/authoring-execution/index.d.ts",
|
|
34
|
+
"default": "./dist/authoring-execution/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./internal/authoring-execution/inventory": {
|
|
37
|
+
"types": "./dist/authoring-execution/inventory.d.ts",
|
|
38
|
+
"default": "./dist/authoring-execution/inventory.js"
|
|
39
|
+
},
|
|
40
|
+
"./internal/authoring-execution/shared": {
|
|
41
|
+
"types": "./dist/authoring-execution/shared.d.ts",
|
|
42
|
+
"default": "./dist/authoring-execution/shared.js"
|
|
43
|
+
},
|
|
44
|
+
"./internal/authoring-execution/types": {
|
|
45
|
+
"types": "./dist/authoring-execution/types.d.ts",
|
|
46
|
+
"default": "./dist/authoring-execution/types.js"
|
|
47
|
+
},
|
|
48
|
+
"./internal/authoring/index": {
|
|
49
|
+
"types": "./dist/authoring/index.d.ts",
|
|
50
|
+
"default": "./dist/authoring/index.js"
|
|
51
|
+
},
|
|
52
|
+
"./internal/candidate": {
|
|
53
|
+
"types": "./dist/candidate.d.ts",
|
|
54
|
+
"default": "./dist/candidate.js"
|
|
55
|
+
},
|
|
56
|
+
"./internal/classify": {
|
|
57
|
+
"types": "./dist/classify.d.ts",
|
|
58
|
+
"default": "./dist/classify.js"
|
|
59
|
+
},
|
|
60
|
+
"./internal/collect": {
|
|
61
|
+
"types": "./dist/collect.d.ts",
|
|
62
|
+
"default": "./dist/collect.js"
|
|
63
|
+
},
|
|
64
|
+
"./internal/context": {
|
|
65
|
+
"types": "./dist/context.d.ts",
|
|
66
|
+
"default": "./dist/context.js"
|
|
67
|
+
},
|
|
68
|
+
"./internal/coordinate": {
|
|
69
|
+
"types": "./dist/coordinate.d.ts",
|
|
70
|
+
"default": "./dist/coordinate.js"
|
|
71
|
+
},
|
|
72
|
+
"./internal/door": {
|
|
73
|
+
"types": "./dist/door.d.ts",
|
|
74
|
+
"default": "./dist/door.js"
|
|
75
|
+
},
|
|
76
|
+
"./internal/editor/index": {
|
|
77
|
+
"types": "./dist/editor/index.d.ts",
|
|
78
|
+
"default": "./dist/editor/index.js"
|
|
79
|
+
},
|
|
80
|
+
"./internal/editor/types": {
|
|
81
|
+
"types": "./dist/editor/types.d.ts",
|
|
82
|
+
"default": "./dist/editor/types.js"
|
|
83
|
+
},
|
|
84
|
+
"./internal/editor/workspace": {
|
|
85
|
+
"types": "./dist/editor/workspace.d.ts",
|
|
86
|
+
"default": "./dist/editor/workspace.js"
|
|
87
|
+
},
|
|
88
|
+
"./internal/entry": {
|
|
89
|
+
"types": "./dist/entry.d.ts",
|
|
90
|
+
"default": "./dist/entry.js"
|
|
91
|
+
},
|
|
92
|
+
"./internal/errors": {
|
|
93
|
+
"types": "./dist/errors.d.ts",
|
|
94
|
+
"default": "./dist/errors.js"
|
|
95
|
+
},
|
|
96
|
+
"./internal/index": {
|
|
97
|
+
"types": "./dist/index.d.ts",
|
|
98
|
+
"default": "./dist/index.js"
|
|
99
|
+
},
|
|
100
|
+
"./internal/machine-protocol": {
|
|
101
|
+
"types": "./dist/machine-protocol.d.ts",
|
|
102
|
+
"default": "./dist/machine-protocol.js"
|
|
103
|
+
},
|
|
104
|
+
"./internal/mentions": {
|
|
105
|
+
"types": "./dist/mentions.d.ts",
|
|
106
|
+
"default": "./dist/mentions.js"
|
|
107
|
+
},
|
|
108
|
+
"./internal/publication": {
|
|
109
|
+
"types": "./dist/publication.d.ts",
|
|
110
|
+
"default": "./dist/publication.js"
|
|
111
|
+
},
|
|
112
|
+
"./internal/render": {
|
|
113
|
+
"types": "./dist/render.d.ts",
|
|
114
|
+
"default": "./dist/render.js"
|
|
115
|
+
},
|
|
116
|
+
"./internal/select": {
|
|
117
|
+
"types": "./dist/select.d.ts",
|
|
118
|
+
"default": "./dist/select.js"
|
|
119
|
+
},
|
|
120
|
+
"./internal/steward": {
|
|
121
|
+
"types": "./dist/steward.d.ts",
|
|
122
|
+
"default": "./dist/steward.js"
|
|
123
|
+
},
|
|
124
|
+
"./internal/types": {
|
|
125
|
+
"types": "./dist/types.d.ts",
|
|
126
|
+
"default": "./dist/types.js"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"files": [
|
|
130
|
+
"dist",
|
|
131
|
+
"README.md",
|
|
132
|
+
"SPEC.md",
|
|
133
|
+
"LICENSE",
|
|
134
|
+
"NOTICE",
|
|
135
|
+
"LANGUAGE.md"
|
|
136
|
+
],
|
|
137
|
+
"dependencies": {
|
|
138
|
+
"@inventarch/language": "1.1.0",
|
|
139
|
+
"@inventarch/graph": "1.1.0",
|
|
140
|
+
"@inventarch/db": "1.1.0"
|
|
141
|
+
},
|
|
142
|
+
"devDependencies": {
|
|
143
|
+
"@types/node": "^22.19.0",
|
|
144
|
+
"typescript": "^5.9.3",
|
|
145
|
+
"vitest": "^4.1.4"
|
|
146
|
+
},
|
|
147
|
+
"license": "Apache-2.0",
|
|
148
|
+
"engines": {
|
|
149
|
+
"node": ">=22.22.0 <23"
|
|
150
|
+
},
|
|
151
|
+
"publishConfig": {
|
|
152
|
+
"access": "public",
|
|
153
|
+
"registry": "https://registry.npmjs.org"
|
|
154
|
+
},
|
|
155
|
+
"repository": {
|
|
156
|
+
"type": "git",
|
|
157
|
+
"url": "git+https://github.com/inventarch/ia.git",
|
|
158
|
+
"directory": "packages/runtime"
|
|
159
|
+
},
|
|
160
|
+
"scripts": {
|
|
161
|
+
"build": "tsc -p tsconfig.json",
|
|
162
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc -p tsconfig.tests.json",
|
|
163
|
+
"test": "vitest run --config vitest.config.mts"
|
|
164
|
+
}
|
|
6
165
|
}
|