@mrciphersmith/keryx 0.2.53 → 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.
Files changed (2) hide show
  1. package/dist/cli.js +16 -7
  2. 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
- history.push({ role: "user", content: renderAnchorsBlock(touch.slate.anchors), provenance: "project" });
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
- history.push({ role: "user", content: hint, provenance: "project" });
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";
@@ -33785,7 +33793,7 @@ function buildMcpModuleEntry() {
33785
33793
  expose: {
33786
33794
  tools: true,
33787
33795
  resources: true,
33788
- modules: ["gdgraph", "gdctx", "security", "flow", "memory", "health", "testing", "wiki", "standard", "sac", "gdskills"]
33796
+ modules: ["gdgraph", "gdctx", "security", "flow", "memory", "health", "testing", "wiki", "standard", "sac", "slate", "gdskills"]
33789
33797
  }
33790
33798
  };
33791
33799
  }
@@ -43462,7 +43470,8 @@ var MODULE_MANIFEST_KEY = {
43462
43470
  wiki: "gdwiki",
43463
43471
  standard: null,
43464
43472
  mcp: null,
43465
- sac: null
43473
+ sac: null,
43474
+ slate: null
43466
43475
  };
43467
43476
  function readMcpEntry(manifest) {
43468
43477
  const entry = manifest.modules?.mcp;
@@ -53405,7 +53414,7 @@ import { spawnSync as spawnSync2 } from "child_process";
53405
53414
  // package.json
53406
53415
  var package_default = {
53407
53416
  name: "@mrciphersmith/keryx",
53408
- version: "0.2.53",
53417
+ version: "0.2.55",
53409
53418
  description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
53410
53419
  private: false,
53411
53420
  publishConfig: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrciphersmith/keryx",
3
- "version": "0.2.53",
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": {