@review-agent/core 0.1.2 → 0.1.3
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/index.d.ts +1 -1
- package/dist/index.js +7 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -466,7 +466,7 @@ declare const RECORD_VERSION: 1;
|
|
|
466
466
|
/** The version of this engine, on every record it writes. Kept in step with
|
|
467
467
|
* `packages/core/package.json` by `record.test.ts` — a record whose engine version is a guess is
|
|
468
468
|
* worth less than no record at all (design §4.7). */
|
|
469
|
-
declare const ENGINE_VERSION = "0.1.
|
|
469
|
+
declare const ENGINE_VERSION = "0.1.3";
|
|
470
470
|
type RecordedSkill = {
|
|
471
471
|
id: string;
|
|
472
472
|
path: string;
|
package/dist/index.js
CHANGED
|
@@ -136,11 +136,14 @@ var spawnClaude = (a) => new Promise((resolve3, reject) => {
|
|
|
136
136
|
reject(e instanceof Error ? e : new Error(String(e)));
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
|
-
const
|
|
139
|
+
const viaNode = /\.(c|m)?js$/i.test(bin);
|
|
140
|
+
const child = spawn(viaNode ? process.execPath : bin, viaNode ? [bin, ...a.argv] : a.argv, {
|
|
140
141
|
cwd: a.cwd,
|
|
141
142
|
env: childEnv(a.extraEnv),
|
|
142
143
|
signal: a.signal,
|
|
143
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
144
|
+
stdio: ["pipe", "pipe", "pipe"],
|
|
145
|
+
// No console window flashing up when the reviewer runs from a GUI app or a service on Windows.
|
|
146
|
+
windowsHide: true
|
|
144
147
|
});
|
|
145
148
|
let out = "";
|
|
146
149
|
let err = "";
|
|
@@ -371,7 +374,7 @@ var runEngine = async (i) => {
|
|
|
371
374
|
// review in progress, and a login failure reporting it would send someone looking at budgets.
|
|
372
375
|
cutShort: terminalReason !== "completed" && failure?.kind !== "cli-error",
|
|
373
376
|
// Always false, and it is not an oversight: nothing can fire. The spike of 2026-09-13
|
|
374
|
-
// (
|
|
377
|
+
// (a spike during development) proved the delivery half works — a PostToolUse hook passed through
|
|
375
378
|
// --settings survives --restricted and demonstrably puts text in front of the model — and then
|
|
376
379
|
// found there is no spend to trigger it on. The hook event carries no cost, no usage and no
|
|
377
380
|
// token count; --no-session-persistence means the transcript it points at is never written; and
|
|
@@ -917,7 +920,7 @@ var runRecheckPass = async (a) => {
|
|
|
917
920
|
|
|
918
921
|
// src/record.ts
|
|
919
922
|
var RECORD_VERSION = 1;
|
|
920
|
-
var ENGINE_VERSION = "0.1.
|
|
923
|
+
var ENGINE_VERSION = "0.1.3";
|
|
921
924
|
var buildReviewRecord = (a) => {
|
|
922
925
|
const { request, settings, result, startedAt, finishedAt } = a;
|
|
923
926
|
return {
|