@polycode-projects/the-mechanical-code-talker 1.4.0 → 1.5.2
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/README.md +1 -1
- package/ROADMAP.md +98 -11
- package/corpus/README.md +23 -22
- package/corpus/seon/README.md +7 -6
- package/corpus/seon/concepts.jsonl +119 -0
- package/corpus/tier2/general.jsonl +49 -0
- package/corpus/tier2/generate.mjs +68 -0
- package/corpus/tier2/manifest.json +14 -0
- package/data/templates/constructions/agent-noun-relations.toml +98 -0
- package/data/templates/responses.jsonl +1 -0
- package/package.json +5 -1
- package/src/ask-vocab.mjs +39 -1
- package/src/ask.mjs +278 -32
- package/src/chat.mjs +681 -212
- package/src/completions/complete.mjs +138 -0
- package/src/completions/group.mjs +171 -0
- package/src/completions/infer.mjs +395 -0
- package/src/completions/prune.mjs +156 -0
- package/src/completions/rank.mjs +154 -0
- package/src/completions/search.mjs +85 -0
- package/src/corpus/conceptnet.mjs +36 -3
- package/src/corpus/unknown-ingest.mjs +209 -0
- package/src/extensions.mjs +14 -4
- package/src/finish.mjs +61 -18
- package/src/grammar/ace.mjs +24 -338
- package/src/grammar/lexicon.mjs +37 -194
- package/src/interpret/pipeline.mjs +23 -2
- package/src/interpret/strategies/constructions.mjs +207 -0
- package/src/interpret/strategies/grammar.mjs +24 -3
- package/src/interpret/strategies/keywords.mjs +34 -0
- package/src/memory/blocks.mjs +7 -2
- package/src/memory/core.mjs +283 -20
- package/src/memory/shacl.mjs +114 -0
- package/src/prose.mjs +5 -1
- package/src/syllogise.mjs +0 -0
- package/src/grammar/lexicon-core.json +0 -302
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comment": "tmct's starter software-domain lexicon (ROADMAP Phase 2, item 2). Every word the ACE-OWL sub-fragment parser (src/grammar/ace.mjs) is allowed to understand is DECLARED here — tmct never guesses a word's category. Nouns may declare a possessive property typing ('data' or 'object', pattern 7); adjectives MUST declare a type ('subclass' forms a class, 'data' asserts a boolean-ish datatype property, pattern 8); verbs may declare a preposition ('depend' + 'on' → dependsOn). Extend via loadLexicon(extra) with this same shape.",
|
|
3
|
-
"nouns": {
|
|
4
|
-
"module": {},
|
|
5
|
-
"class": {},
|
|
6
|
-
"function": {},
|
|
7
|
-
"method": {},
|
|
8
|
-
"attribute": {},
|
|
9
|
-
"variable": {},
|
|
10
|
-
"constant": {},
|
|
11
|
-
"test": {},
|
|
12
|
-
"suite": {},
|
|
13
|
-
"service": {},
|
|
14
|
-
"repository": {},
|
|
15
|
-
"branch": {},
|
|
16
|
-
"commit": {},
|
|
17
|
-
"tag": {},
|
|
18
|
-
"release": {},
|
|
19
|
-
"package": {},
|
|
20
|
-
"library": {},
|
|
21
|
-
"framework": {},
|
|
22
|
-
"api": {},
|
|
23
|
-
"endpoint": {},
|
|
24
|
-
"route": {},
|
|
25
|
-
"handler": {},
|
|
26
|
-
"controller": {},
|
|
27
|
-
"model": {},
|
|
28
|
-
"view": {},
|
|
29
|
-
"template": {},
|
|
30
|
-
"component": {},
|
|
31
|
-
"interface": {},
|
|
32
|
-
"type": {},
|
|
33
|
-
"category": {},
|
|
34
|
-
"kind": {},
|
|
35
|
-
"artifact": {},
|
|
36
|
-
"routine": {},
|
|
37
|
-
"part": {},
|
|
38
|
-
"helper": {},
|
|
39
|
-
"operation": {},
|
|
40
|
-
"change": {},
|
|
41
|
-
"schema": {},
|
|
42
|
-
"database": {},
|
|
43
|
-
"table": {},
|
|
44
|
-
"query": {},
|
|
45
|
-
"index": { "plural": "indices" },
|
|
46
|
-
"cache": {},
|
|
47
|
-
"queue": {},
|
|
48
|
-
"worker": {},
|
|
49
|
-
"job": {},
|
|
50
|
-
"task": {},
|
|
51
|
-
"bug": {},
|
|
52
|
-
"defect": {},
|
|
53
|
-
"issue": {},
|
|
54
|
-
"ticket": {},
|
|
55
|
-
"feature": {},
|
|
56
|
-
"requirement": {},
|
|
57
|
-
"specification": {},
|
|
58
|
-
"document": {},
|
|
59
|
-
"developer": {},
|
|
60
|
-
"engineer": {},
|
|
61
|
-
"user": {},
|
|
62
|
-
"visitor": {},
|
|
63
|
-
"team": {},
|
|
64
|
-
"project": {},
|
|
65
|
-
"codebase": {},
|
|
66
|
-
"file": {},
|
|
67
|
-
"directory": {},
|
|
68
|
-
"folder": {},
|
|
69
|
-
"line": {},
|
|
70
|
-
"symbol": {},
|
|
71
|
-
"identifier": {},
|
|
72
|
-
"comment": {},
|
|
73
|
-
"docstring": {},
|
|
74
|
-
"string": {},
|
|
75
|
-
"number": {},
|
|
76
|
-
"list": {},
|
|
77
|
-
"array": {},
|
|
78
|
-
"graph": {},
|
|
79
|
-
"node": {},
|
|
80
|
-
"edge": {},
|
|
81
|
-
"triple": {},
|
|
82
|
-
"fact": {},
|
|
83
|
-
"ontology": {},
|
|
84
|
-
"lexicon": {},
|
|
85
|
-
"grammar": {},
|
|
86
|
-
"sentence": {},
|
|
87
|
-
"utterance": {},
|
|
88
|
-
"session": {},
|
|
89
|
-
"response": {},
|
|
90
|
-
"request": {},
|
|
91
|
-
"question": {},
|
|
92
|
-
"answer": {},
|
|
93
|
-
"error": {},
|
|
94
|
-
"exception": {},
|
|
95
|
-
"warning": {},
|
|
96
|
-
"log": {},
|
|
97
|
-
"metric": {},
|
|
98
|
-
"benchmark": {},
|
|
99
|
-
"pipeline": {},
|
|
100
|
-
"build": {},
|
|
101
|
-
"deployment": {},
|
|
102
|
-
"environment": {},
|
|
103
|
-
"config": {},
|
|
104
|
-
"configuration": {},
|
|
105
|
-
"setting": {},
|
|
106
|
-
"option": {},
|
|
107
|
-
"flag": {},
|
|
108
|
-
"argument": {},
|
|
109
|
-
"parameter": {},
|
|
110
|
-
"value": {},
|
|
111
|
-
"result": {},
|
|
112
|
-
"output": {},
|
|
113
|
-
"input": {},
|
|
114
|
-
"server": {},
|
|
115
|
-
"client": {},
|
|
116
|
-
"protocol": {},
|
|
117
|
-
"message": {},
|
|
118
|
-
"event": {},
|
|
119
|
-
"hook": {},
|
|
120
|
-
"plugin": {},
|
|
121
|
-
"script": {},
|
|
122
|
-
"tool": {},
|
|
123
|
-
"command": {},
|
|
124
|
-
"prompt": {},
|
|
125
|
-
"token": {},
|
|
126
|
-
"parser": {},
|
|
127
|
-
"compiler": {},
|
|
128
|
-
"linter": {},
|
|
129
|
-
"formatter": {},
|
|
130
|
-
"runtime": {},
|
|
131
|
-
"process": {},
|
|
132
|
-
"thread": {},
|
|
133
|
-
"loop": {},
|
|
134
|
-
"statement": {},
|
|
135
|
-
"expression": {},
|
|
136
|
-
"keyword": {},
|
|
137
|
-
"scope": {},
|
|
138
|
-
"callback": {},
|
|
139
|
-
"promise": {},
|
|
140
|
-
"iterator": {},
|
|
141
|
-
"generator": {},
|
|
142
|
-
"unit": {},
|
|
143
|
-
"risk": {},
|
|
144
|
-
"prototype": {},
|
|
145
|
-
"milestone": {},
|
|
146
|
-
"sprint": {},
|
|
147
|
-
"backlog": {},
|
|
148
|
-
"roadmap": {},
|
|
149
|
-
"phase": {},
|
|
150
|
-
"pattern": {},
|
|
151
|
-
"smell": {},
|
|
152
|
-
"coverage": {},
|
|
153
|
-
"mock": {},
|
|
154
|
-
"stub": {},
|
|
155
|
-
"fixture": {},
|
|
156
|
-
"assertion": {},
|
|
157
|
-
"snapshot": {},
|
|
158
|
-
"regression": {},
|
|
159
|
-
"migration": {},
|
|
160
|
-
"refactor": {},
|
|
161
|
-
"review": {},
|
|
162
|
-
"merge": {},
|
|
163
|
-
"license": { "property": "data" },
|
|
164
|
-
"version": { "property": "data" },
|
|
165
|
-
"name": { "property": "data" },
|
|
166
|
-
"path": { "property": "data" },
|
|
167
|
-
"size": { "property": "data" },
|
|
168
|
-
"status": { "property": "data" },
|
|
169
|
-
"language": { "property": "data" },
|
|
170
|
-
"extension": { "property": "data" },
|
|
171
|
-
"churn": { "property": "data" },
|
|
172
|
-
"impact": { "property": "data" },
|
|
173
|
-
"complexity": { "property": "data" },
|
|
174
|
-
"latency": { "property": "data" },
|
|
175
|
-
"duration": { "property": "data" },
|
|
176
|
-
"frequency": { "property": "data" },
|
|
177
|
-
"severity": { "property": "data" },
|
|
178
|
-
"owner": { "property": "object" },
|
|
179
|
-
"maintainer": { "property": "object" },
|
|
180
|
-
"author": { "property": "object" },
|
|
181
|
-
"reviewer": { "property": "object" },
|
|
182
|
-
"parent": { "property": "object" },
|
|
183
|
-
"dependency": { "property": "object" }
|
|
184
|
-
},
|
|
185
|
-
"verbs": {
|
|
186
|
-
"import": {},
|
|
187
|
-
"call": {},
|
|
188
|
-
"test": {},
|
|
189
|
-
"contain": {},
|
|
190
|
-
"extend": {},
|
|
191
|
-
"use": {},
|
|
192
|
-
"depend": { "prep": "on" },
|
|
193
|
-
"rely": { "prep": "on" },
|
|
194
|
-
"inherit": { "prep": "from" },
|
|
195
|
-
"belong": { "prep": "to" },
|
|
196
|
-
"point": { "prep": "to" },
|
|
197
|
-
"implement": {},
|
|
198
|
-
"override": {},
|
|
199
|
-
"export": {},
|
|
200
|
-
"define": {},
|
|
201
|
-
"declare": {},
|
|
202
|
-
"reference": {},
|
|
203
|
-
"invoke": {},
|
|
204
|
-
"wrap": {},
|
|
205
|
-
"mock": {},
|
|
206
|
-
"cover": {},
|
|
207
|
-
"document": {},
|
|
208
|
-
"describe": {},
|
|
209
|
-
"modify": {},
|
|
210
|
-
"touch": {},
|
|
211
|
-
"fix": {},
|
|
212
|
-
"break": {},
|
|
213
|
-
"introduce": {},
|
|
214
|
-
"deprecate": {},
|
|
215
|
-
"replace": {},
|
|
216
|
-
"own": {},
|
|
217
|
-
"maintain": {},
|
|
218
|
-
"review": {},
|
|
219
|
-
"merge": {},
|
|
220
|
-
"revert": {},
|
|
221
|
-
"deploy": {},
|
|
222
|
-
"run": {},
|
|
223
|
-
"execute": {},
|
|
224
|
-
"load": {},
|
|
225
|
-
"parse": {},
|
|
226
|
-
"emit": {},
|
|
227
|
-
"validate": {},
|
|
228
|
-
"log": {},
|
|
229
|
-
"throw": {},
|
|
230
|
-
"catch": {},
|
|
231
|
-
"create": {},
|
|
232
|
-
"delete": {},
|
|
233
|
-
"update": {},
|
|
234
|
-
"expose": {},
|
|
235
|
-
"consume": {},
|
|
236
|
-
"produce": {},
|
|
237
|
-
"generate": {},
|
|
238
|
-
"configure": {},
|
|
239
|
-
"install": {},
|
|
240
|
-
"publish": {},
|
|
241
|
-
"release": {},
|
|
242
|
-
"ship": {},
|
|
243
|
-
"watch": {},
|
|
244
|
-
"trigger": {},
|
|
245
|
-
"build": {},
|
|
246
|
-
"write": {},
|
|
247
|
-
"read": {},
|
|
248
|
-
"have": {}
|
|
249
|
-
},
|
|
250
|
-
"adjectives": {
|
|
251
|
-
"legacy": { "type": "subclass" },
|
|
252
|
-
"internal": { "type": "subclass" },
|
|
253
|
-
"external": { "type": "subclass" },
|
|
254
|
-
"public": { "type": "subclass" },
|
|
255
|
-
"private": { "type": "subclass" },
|
|
256
|
-
"abstract": { "type": "subclass" },
|
|
257
|
-
"static": { "type": "subclass" },
|
|
258
|
-
"async": { "type": "subclass" },
|
|
259
|
-
"experimental": { "type": "subclass" },
|
|
260
|
-
"stable": { "type": "subclass" },
|
|
261
|
-
"core": { "type": "subclass" },
|
|
262
|
-
"shared": { "type": "subclass" },
|
|
263
|
-
"global": { "type": "subclass" },
|
|
264
|
-
"local": { "type": "subclass" },
|
|
265
|
-
"generated": { "type": "subclass" },
|
|
266
|
-
"standalone": { "type": "subclass" },
|
|
267
|
-
"primary": { "type": "subclass" },
|
|
268
|
-
"secondary": { "type": "subclass" },
|
|
269
|
-
"deprecated": { "type": "data" },
|
|
270
|
-
"fast": { "type": "data" },
|
|
271
|
-
"slow": { "type": "data" },
|
|
272
|
-
"large": { "type": "data" },
|
|
273
|
-
"small": { "type": "data" },
|
|
274
|
-
"flaky": { "type": "data" },
|
|
275
|
-
"tested": { "type": "data" },
|
|
276
|
-
"documented": { "type": "data" },
|
|
277
|
-
"buggy": { "type": "data" },
|
|
278
|
-
"broken": { "type": "data" },
|
|
279
|
-
"green": { "type": "data" },
|
|
280
|
-
"deterministic": { "type": "data" },
|
|
281
|
-
"pure": { "type": "data" },
|
|
282
|
-
"empty": { "type": "data" },
|
|
283
|
-
"stale": { "type": "data" }
|
|
284
|
-
},
|
|
285
|
-
"properNames": [
|
|
286
|
-
"tmct",
|
|
287
|
-
"Node",
|
|
288
|
-
"npm",
|
|
289
|
-
"JavaScript",
|
|
290
|
-
"TypeScript",
|
|
291
|
-
"Python",
|
|
292
|
-
"Java",
|
|
293
|
-
"Git",
|
|
294
|
-
"GitHub",
|
|
295
|
-
"GitLab",
|
|
296
|
-
"ESLint",
|
|
297
|
-
"Linux",
|
|
298
|
-
"macOS",
|
|
299
|
-
"Windows",
|
|
300
|
-
"Polycode"
|
|
301
|
-
]
|
|
302
|
-
}
|