@elaraai/east-codex-plugin 1.0.102 → 1.0.104
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/.build/daemon/lsp.js +9 -5
- package/.build/daemon/server.js +9 -5
- package/.codex-plugin/plugin.json +1 -1
- package/index.json +1039 -666
- package/package.json +1 -1
- package/skills/e3/SKILL.md +13 -6
- package/skills/e3/reference/cli.md +1 -1
- package/skills/e3/reference/record-indexes.md +51 -1
- package/skills/e3-ui/SKILL.md +60 -41
- package/skills/east-ontology/SKILL.md +6 -7
package/.build/daemon/lsp.js
CHANGED
|
@@ -2425,7 +2425,7 @@ function isFactoryInput(node, ctx) {
|
|
|
2425
2425
|
const t = ctx.ts;
|
|
2426
2426
|
const sf = ctx.sourceFile;
|
|
2427
2427
|
return membersOf2(node).some((m) => {
|
|
2428
|
-
const type = t.isPropertySignature(m) ? m.type : void 0;
|
|
2428
|
+
const type = t.isPropertySignature(m) || t.isMethodSignature(m) ? m.type : void 0;
|
|
2429
2429
|
return type !== void 0 && /\b(?:SubtypeExprOrValue|ExprType)</.test(type.getText(sf));
|
|
2430
2430
|
});
|
|
2431
2431
|
}
|
|
@@ -3475,11 +3475,15 @@ function findNearestTsconfig(fromPath) {
|
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
function loadTypeScript(projectDir) {
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3478
|
+
for (const from of [join3(projectDir, "_.js"), import.meta.url]) {
|
|
3479
|
+
try {
|
|
3480
|
+
const found = createRequire2(from)("typescript");
|
|
3481
|
+
if (typeof found.createLanguageService === "function")
|
|
3482
|
+
return found;
|
|
3483
|
+
} catch {
|
|
3484
|
+
}
|
|
3482
3485
|
}
|
|
3486
|
+
throw new Error(`East diagnostics need TypeScript's compiler API, which no \`typescript\` found from ${projectDir} carries (TypeScript 7's has none): install it as "typescript": "npm:@typescript/typescript6", beside "typescript-7": "npm:typescript@7" for tsc`);
|
|
3483
3487
|
}
|
|
3484
3488
|
function toCategory(t, category) {
|
|
3485
3489
|
if (category === t.DiagnosticCategory.Error)
|
package/.build/daemon/server.js
CHANGED
|
@@ -2429,7 +2429,7 @@ function isFactoryInput(node, ctx) {
|
|
|
2429
2429
|
const t = ctx.ts;
|
|
2430
2430
|
const sf = ctx.sourceFile;
|
|
2431
2431
|
return membersOf2(node).some((m) => {
|
|
2432
|
-
const type = t.isPropertySignature(m) ? m.type : void 0;
|
|
2432
|
+
const type = t.isPropertySignature(m) || t.isMethodSignature(m) ? m.type : void 0;
|
|
2433
2433
|
return type !== void 0 && /\b(?:SubtypeExprOrValue|ExprType)</.test(type.getText(sf));
|
|
2434
2434
|
});
|
|
2435
2435
|
}
|
|
@@ -3479,11 +3479,15 @@ function findNearestTsconfig(fromPath) {
|
|
|
3479
3479
|
}
|
|
3480
3480
|
}
|
|
3481
3481
|
function loadTypeScript(projectDir) {
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3482
|
+
for (const from of [join3(projectDir, "_.js"), import.meta.url]) {
|
|
3483
|
+
try {
|
|
3484
|
+
const found = createRequire2(from)("typescript");
|
|
3485
|
+
if (typeof found.createLanguageService === "function")
|
|
3486
|
+
return found;
|
|
3487
|
+
} catch {
|
|
3488
|
+
}
|
|
3486
3489
|
}
|
|
3490
|
+
throw new Error(`East diagnostics need TypeScript's compiler API, which no \`typescript\` found from ${projectDir} carries (TypeScript 7's has none): install it as "typescript": "npm:@typescript/typescript6", beside "typescript-7": "npm:typescript@7" for tsc`);
|
|
3487
3491
|
}
|
|
3488
3492
|
function toCategory(t, category) {
|
|
3489
3493
|
if (category === t.DiagnosticCategory.Error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "east-codex-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.104",
|
|
4
4
|
"description": "East programming language ecosystem - a statically typed, expression-based language for business logic, data processing, UI definitions, and durable execution",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Elara AI",
|