@mrciphersmith/keryx 0.2.54 → 0.2.55
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 +13 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19314,6 +19314,8 @@ async function runAgentTurnCore(io, deps, history, userLine, options = {}) {
|
|
|
19314
19314
|
const spawnConcurrencyCandidates = calls.filter((call) => call.name === "spawn_subagent" && reservationByCallId.get(call.id)?.ok === true);
|
|
19315
19315
|
const untrustedGateBlocksSpawns = untrustedContentSeen || batchContainsUntrustedWeb;
|
|
19316
19316
|
const concurrentSpawnResults = spawnConcurrencyCandidates.length >= 2 && !untrustedGateBlocksSpawns ? await runConcurrentSpawnBatch(spawnConcurrencyCandidates, toolByName, io, deps) : undefined;
|
|
19317
|
+
let anchorsToAnnounce;
|
|
19318
|
+
let repeatedFailureHint;
|
|
19317
19319
|
for (const call of calls) {
|
|
19318
19320
|
if (isAborted()) {
|
|
19319
19321
|
system(`
|
|
@@ -19375,8 +19377,7 @@ ${modelOutput}` : modelOutput,
|
|
|
19375
19377
|
runtime: { provider: deps.providerId, model: deps.modelId }
|
|
19376
19378
|
});
|
|
19377
19379
|
if (touch.changed) {
|
|
19378
|
-
|
|
19379
|
-
io.onHistoryChange?.("tool");
|
|
19380
|
+
anchorsToAnnounce = touch.slate.anchors;
|
|
19380
19381
|
}
|
|
19381
19382
|
} catch (err) {
|
|
19382
19383
|
io.onSystem?.(`slate touch update failed (ignored): ${err instanceof Error ? err.message : String(err)}
|
|
@@ -19397,14 +19398,21 @@ ${modelOutput}` : modelOutput,
|
|
|
19397
19398
|
system(`
|
|
19398
19399
|
${hint}
|
|
19399
19400
|
`);
|
|
19400
|
-
|
|
19401
|
-
io.onHistoryChange?.("tool");
|
|
19401
|
+
repeatedFailureHint = hint;
|
|
19402
19402
|
}
|
|
19403
19403
|
} else {
|
|
19404
19404
|
lastErrorByHash.delete(reservation.hash);
|
|
19405
19405
|
errorStreakByHash.delete(reservation.hash);
|
|
19406
19406
|
}
|
|
19407
19407
|
}
|
|
19408
|
+
if (anchorsToAnnounce !== undefined) {
|
|
19409
|
+
history.push({ role: "user", content: renderAnchorsBlock(anchorsToAnnounce), provenance: "project" });
|
|
19410
|
+
io.onHistoryChange?.("tool");
|
|
19411
|
+
}
|
|
19412
|
+
if (repeatedFailureHint !== undefined) {
|
|
19413
|
+
history.push({ role: "user", content: repeatedFailureHint, provenance: "project" });
|
|
19414
|
+
io.onHistoryChange?.("tool");
|
|
19415
|
+
}
|
|
19408
19416
|
const noProgress = !executedAny && calls.length > 0;
|
|
19409
19417
|
if (exhaustedBudget !== undefined || noProgress) {
|
|
19410
19418
|
const finishReason = exhaustedBudget !== undefined ? "budget" : "no-progress";
|
|
@@ -53406,7 +53414,7 @@ import { spawnSync as spawnSync2 } from "child_process";
|
|
|
53406
53414
|
// package.json
|
|
53407
53415
|
var package_default = {
|
|
53408
53416
|
name: "@mrciphersmith/keryx",
|
|
53409
|
-
version: "0.2.
|
|
53417
|
+
version: "0.2.55",
|
|
53410
53418
|
description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
53411
53419
|
private: false,
|
|
53412
53420
|
publishConfig: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.55",
|
|
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": {
|