@mrciphersmith/keryx 0.4.16 → 0.4.18
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/core.js
CHANGED
|
@@ -17438,6 +17438,11 @@ var init_guard = __esm(() => {
|
|
|
17438
17438
|
};
|
|
17439
17439
|
});
|
|
17440
17440
|
|
|
17441
|
+
// src/review/cost.ts
|
|
17442
|
+
function estimateTokens(text) {
|
|
17443
|
+
return Math.ceil(text.length / 4);
|
|
17444
|
+
}
|
|
17445
|
+
|
|
17441
17446
|
// src/lib/keryx-home.ts
|
|
17442
17447
|
import os2 from "os";
|
|
17443
17448
|
import path59 from "path";
|
|
@@ -27066,6 +27071,7 @@ import {
|
|
|
27066
27071
|
chmodSync as chmodSync2,
|
|
27067
27072
|
closeSync,
|
|
27068
27073
|
constants as constants3,
|
|
27074
|
+
copyFileSync,
|
|
27069
27075
|
fstatSync as fstatSync2,
|
|
27070
27076
|
mkdirSync as mkdirSync2,
|
|
27071
27077
|
openSync,
|
|
@@ -29991,11 +29997,6 @@ async function collectReviewers(projectRoot, deps = {}) {
|
|
|
29991
29997
|
return { bundled, bundledSource, project };
|
|
29992
29998
|
}
|
|
29993
29999
|
|
|
29994
|
-
// src/review/cost.ts
|
|
29995
|
-
function estimateTokens(text) {
|
|
29996
|
-
return Math.ceil(text.length / 4);
|
|
29997
|
-
}
|
|
29998
|
-
|
|
29999
30000
|
// src/review/jev-select.ts
|
|
30000
30001
|
var CORE_MANDATORY_REVIEWER_IDS = [
|
|
30001
30002
|
"review-logic",
|
|
@@ -31393,7 +31394,6 @@ function projectRootOfPackage(packageDir) {
|
|
|
31393
31394
|
|
|
31394
31395
|
// src/review/conform-state.ts
|
|
31395
31396
|
init_redact();
|
|
31396
|
-
|
|
31397
31397
|
// src/review/jev-risk.ts
|
|
31398
31398
|
var TEST_INFIX_RE = /\.(test|spec)\./;
|
|
31399
31399
|
var TEST_DIR_RE = /(^|\/)(__tests__|tests?)\//;
|
|
@@ -34636,11 +34636,11 @@ async function intentNoteForNewFlow(cwd, dir) {
|
|
|
34636
34636
|
}
|
|
34637
34637
|
}
|
|
34638
34638
|
// src/flow/check-ac.ts
|
|
34639
|
+
init_service2();
|
|
34640
|
+
init_fs();
|
|
34639
34641
|
import { createHash as createHash11 } from "crypto";
|
|
34640
34642
|
import { chmod as chmod4, mkdir as mkdir11, readFile as readFile33 } from "fs/promises";
|
|
34641
34643
|
import path70 from "path";
|
|
34642
|
-
init_service2();
|
|
34643
|
-
init_fs();
|
|
34644
34644
|
var AC_LINE2 = /^\s*[-*]\s*(AC\d+)\s*:\s?(.*)$/i;
|
|
34645
34645
|
function parseAcceptanceCriteria(content) {
|
|
34646
34646
|
const out = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.18",
|
|
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": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"model": {
|
|
55
|
-
"description": "The `model` block `keryx review tier` printed for this dispatch (Step 6) — pasted verbatim, never composed by hand. `tier` is the mechanical vocabulary the command emits (`light`/`standard`/`deep`), never a model name. `provider`/`model` are present when the command resolved a concrete model; legacy unresolved tiers use `inherit: true`. A routing
|
|
55
|
+
"description": "The `model` block `keryx review tier` printed for this dispatch (Step 6) — pasted verbatim, never composed by hand. `tier` is the mechanical vocabulary the command emits (`light`/`standard`/`deep`), never a model name. `provider`/`model` are present when the command resolved a concrete model; legacy unresolved tiers use `inherit: true`. A routing refusal instead emits `dispatchable: false` and dispatch-check rejects it, so it can never become an implicit session fallback. Field naming otherwise matches `model` in `contracts/subagent-dispatch.schema.json` and the object `keryx review tier --json` prints under its own `model` key.",
|
|
56
56
|
"type": "object",
|
|
57
57
|
"additionalProperties": false,
|
|
58
58
|
"required": [
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"dispatchable": {
|
|
97
97
|
"type": "boolean",
|
|
98
|
-
"description": "False only when routing
|
|
98
|
+
"description": "False only when routing refused selection. This tier result is report-only and dispatch-check rejects it; it must not be reinterpreted as inherit/session fallback."
|
|
99
99
|
},
|
|
100
100
|
"tier_resolution": {
|
|
101
101
|
"type": "string",
|