@mrciphersmith/keryx 0.4.40 → 0.4.42
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 +65334 -47556
- package/dist/core.js +755 -696
- package/dist/keryx-general-worker-entry.js +8760 -8154
- package/package.json +5 -4
- package/src/gdgraph/treesitter/adapter.ts +11 -3
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +1 -1
- 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.42",
|
|
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": {
|
|
@@ -46,14 +46,15 @@
|
|
|
46
46
|
"typecheck": "tsc --noEmit",
|
|
47
47
|
"typecheck:scripts": "tsc --project tsconfig.scripts.json --noEmit",
|
|
48
48
|
"test": "bun test",
|
|
49
|
-
"test:core": "bun test src/cli src/core src/impact-evidence/ src/shell-source-audits.test.ts src/acp/ src/assets/ src/bundle/ src/capability/ src/commands/ src/contracts/ src/ctx/ src/decisions/ src/eval/ src/flow/ src/forgetting/ src/gdgraph/ src/gdskills/ src/governance/ src/product/ src/health/ src/hub/ src/integrations/ src/job/ src/learning/ src/lib/ src/mcp/ src/memory/ src/metrics/ src/remote-control/ src/retention/ src/review/ src/rules/ src/sac/ src/security/ src/stack/ src/standard/ src/sync/ src/testing/ src/trigger/ src/wiki/ scripts/",
|
|
49
|
+
"test:core": "bun test src/cli src/core src/impact-evidence/ src/shell-source-audits.test.ts src/acp/ src/assets/ src/bundle/ src/capability/ src/commands/ src/contracts/ src/ctx/ src/decisions/ src/eval/ src/flow/ src/forgetting/ src/gdgraph/ src/gdskills/ src/governance/ src/product/ src/health/ src/hub/ src/integrations/ src/job/ src/learning/ src/lib/ src/mcp/ src/memory/ src/metrics/ src/remote-control/ src/retention/ src/review/ src/rules/ src/sac/ src/security/ src/stack/ src/standard/ src/sync/ src/testing/ src/trigger/ src/wiki/ src/worktree/ scripts/",
|
|
50
50
|
"test:client:terminal": "bun test src/tui/ src/commands/shell",
|
|
51
51
|
"test:client:streaming": "bun test src/harness/provider/",
|
|
52
52
|
"test:client:cancel-resume": "bun test src/harness/run/ src/harness/resume/ src/harness/session/ src/session/ src/bus/ src/rewind/ src/remote/ src/docs/ src/commands/sessions",
|
|
53
53
|
"test:client:runtime": "bun test src/harness/ src/mcp-client/ src/mcp-servers/ src/agents/ src/commands/agent src/commands/harness src/commands/providers src/scheduler/ src/intake/",
|
|
54
54
|
"test:client": "bun run test:client:terminal && bun run test:client:streaming && bun run test:client:cancel-resume && bun run test:client:runtime",
|
|
55
|
-
"check": "bun run lint && bun run typecheck && bun run typecheck:scripts
|
|
56
|
-
"check
|
|
55
|
+
"check:static": "bun run lint && bun run typecheck && bun run typecheck:scripts",
|
|
56
|
+
"check": "bun run check:static && bun test",
|
|
57
|
+
"check:core": "bun run check:static && bun run test:core",
|
|
57
58
|
"docs:build": "mkdocs build --strict",
|
|
58
59
|
"docs:check": "bun run check:doc-links && bun run check:retired-spellings && bun test src/cli-reference-coverage.test.ts src/standard/commands-by-task.test.ts src/standard/help-groups.test.ts",
|
|
59
60
|
"check:doc-links": "bun scripts/check-doc-links.ts",
|
|
@@ -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
|
};
|
|
@@ -21,7 +21,7 @@ license: "MIT"
|
|
|
21
21
|
---
|
|
22
22
|
# Review Orchestrator
|
|
23
23
|
|
|
24
|
-
**You are the orchestrator. Run the round yourself, inline, in the main session that loaded this skill; never hand the whole round to one subagent.** This skill routes: it detects scope, dispatches specialized reviewers, and consolidates their findings into one report sorted by severity. The reviewers do the reviewing. Where a `keryx review` command computes or refuses something, this file says "run X; it decides Y" and does not repeat the rule: read the command's output and act on it.
|
|
24
|
+
**You are the orchestrator. Run the round yourself, inline, in the main session that loaded this skill; never hand the whole round to one subagent.** This skill routes: it detects scope, dispatches specialized reviewers, and consolidates their findings into one report sorted by severity. The reviewers do the reviewing. Where a `keryx review` command computes or refuses something, this file says "run X; it decides Y" and does not repeat the rule: read the command's output and act on it. When the operator asks to launch a PR review in Desktop and the host exposes `prepare_review`, use it to open the configuration for operator confirmation. Otherwise follow the round below using the host's available tools.
|
|
25
25
|
|
|
26
26
|
## Preflight — before Step 0, in this order
|
|
27
27
|
**Engine selection fails closed.** The legacy flat path is the default. `--hierarchical` is the only hierarchical opt-in and requires all seven exact host tools: `review_agents_start`, `review_agents_plan`, `review_agents_spawn`, `review_agents_status`, `review_agents_wait`, `review_agents_result`, `review_agents_cancel`. If any is absent, stop before useful work with `STATUS: BLOCKED hierarchical_capability_unavailable — missing <names>`; never silently fall back to legacy or the autonomous runner. If all are present, follow `SKILL.detail.md` § "Review agents — explicit hierarchical path"; its start-result capability check may still refuse the selected adapter.
|
|
@@ -228,9 +228,10 @@
|
|
|
228
228
|
"partially-fixed",
|
|
229
229
|
"wont-fix",
|
|
230
230
|
"disputed",
|
|
231
|
-
"deferred"
|
|
231
|
+
"deferred",
|
|
232
|
+
"unreported"
|
|
232
233
|
],
|
|
233
|
-
"description": "What the fix round claimed. A claim, not a verified state — verifying it is the reviewer's job."
|
|
234
|
+
"description": "What the fix round claimed, or unreported when no claim was recorded. A claim, not a verified state — verifying it is the reviewer's job."
|
|
234
235
|
},
|
|
235
236
|
"claimed_evidence": {
|
|
236
237
|
"type": [
|