neurastream 0.2.51 → 0.2.52
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/package.json
CHANGED
|
@@ -937,7 +937,10 @@ export function createOmpAdapter(pi: ExtensionHost, initial: Config, freshConfig
|
|
|
937
937
|
try {
|
|
938
938
|
after = readFileSync(file, "utf8");
|
|
939
939
|
} catch {}
|
|
940
|
-
|
|
940
|
+
// agentId must be the agent identity (ctx.agent.id = spawn name for subs), not the
|
|
941
|
+
// tool-call id: matchReviewSpawn compares it with the registered review spawn name,
|
|
942
|
+
// and a toolCallId there made every named reviewer's verdict restore (2026-10-29).
|
|
943
|
+
const d = checkPlanEdit({ path: file, before, after, agent: c.kind === "sub" ? "sub" : "main", agentId: c.id ?? "main" }, cfg);
|
|
941
944
|
if (!d.allow && d.restore) {
|
|
942
945
|
try {
|
|
943
946
|
if (d.restore.text === null) rmSync(d.restore.path, { force: true });
|