@mrciphersmith/keryx 0.4.39 → 0.4.41
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/dist/cli.js +26593 -13636
- package/dist/core.js +602 -558
- package/dist/keryx-general-worker-entry.js +8498 -7997
- package/package.json +1 -1
- package/src/gdgraph/treesitter/adapter.ts +11 -3
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +174 -463
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.detail.md +154 -584
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +212 -852
- package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-input.schema.json +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.41",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
// It NEVER throws out (C0-11): every parse error is caught and the file is
|
|
11
11
|
// skipped, so an opt-in ceiling can never break the deterministic seam.
|
|
12
12
|
|
|
13
|
+
import path from "node:path";
|
|
14
|
+
import { desktopResourceDirectory } from "../../lib/self-invocation";
|
|
13
15
|
import { isCapabilityEnabled, resolveCapability, type CapabilityAdapter, type CapabilitySpec } from "../../capability/seam";
|
|
14
16
|
import { warnCapabilityDegraded } from "../../capability/warn-once";
|
|
15
17
|
import type { CallEdge, SymbolLayer, SymbolNode } from "../types";
|
|
@@ -386,12 +388,13 @@ function normalizeParserApi(dep: unknown): ParserApi | null {
|
|
|
386
388
|
return null;
|
|
387
389
|
}
|
|
388
390
|
|
|
391
|
+
type ParserInit = (options?: { locateFile: (name: string, prefix: string) => string }) => Promise<void>;
|
|
389
392
|
const classInit = (ParserClass as unknown as { init?: unknown }).init;
|
|
390
393
|
const init =
|
|
391
394
|
typeof classInit === "function"
|
|
392
|
-
? (classInit as
|
|
395
|
+
? (classInit as ParserInit).bind(ParserClass)
|
|
393
396
|
: typeof ns.init === "function"
|
|
394
|
-
? (ns.init as
|
|
397
|
+
? (ns.init as ParserInit).bind(ns)
|
|
395
398
|
: undefined;
|
|
396
399
|
|
|
397
400
|
// Resolve the grammar loader LAZILY: in 0.22 `Parser.Language.load` only
|
|
@@ -410,7 +413,12 @@ function normalizeParserApi(dep: unknown): ParserApi | null {
|
|
|
410
413
|
};
|
|
411
414
|
|
|
412
415
|
return {
|
|
413
|
-
...(init ? { init
|
|
416
|
+
...(init ? { init: () => {
|
|
417
|
+
const resources = desktopResourceDirectory();
|
|
418
|
+
if (!resources) return init();
|
|
419
|
+
return init({ locateFile: (name, prefix) =>
|
|
420
|
+
name === "tree-sitter.wasm" ? path.join(resources, "tree-sitter.wasm") : path.resolve(prefix, name) });
|
|
421
|
+
} } : {}),
|
|
414
422
|
loadLanguage,
|
|
415
423
|
create: () => new ParserClass(),
|
|
416
424
|
};
|