@polycode-projects/the-mechanical-code-talker 2.5.4 → 2.6.0

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/README.md CHANGED
@@ -285,8 +285,8 @@ steps:
285
285
  - src/handlers/tasks.mjs (imports it) — tests: test/tasks.test.mjs
286
286
  - src/server/router.mjs (imports it) — tests: none recorded
287
287
  depth 2 (2):
288
- - src/handlers/users.mjs (imports it) — tests: none recorded
289
- - src/server/app.mjs (imports it) — tests: none recorded
288
+ - src/handlers/users.mjs (reaches it through an intermediary) — tests: none recorded
289
+ - src/server/app.mjs (reaches it through an intermediary) — tests: none recorded
290
290
  2. tmct_untested {}
291
291
  7 source module(s) with no covering test module:
292
292
  src/core/validate.mjs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polycode-projects/the-mechanical-code-talker",
3
- "version": "2.5.4",
3
+ "version": "2.6.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "The Mechanical Code Talker (tmct) — a tolerant, offline, $0 chat surface that guides you toward precision queries about a software repository. ELIZA/PARRY-style but domain-obsessed with code. No model calls; no codebase index of its own.",
@@ -413,7 +413,11 @@ export function renderImpact(graph, ind, { maxDepth = 8 } = {}) {
413
413
  const tests = dep.tests.length
414
414
  ? `tests: ${capJoin(dep.tests, IMPACT_TESTS_PER_DEP)}`
415
415
  : "tests: none recorded";
416
- lines.push(` - ${dep.label} (${dep.via} it) ${tests}`);
416
+ // Past depth 1 the via verb describes the hop to the dependent's own
417
+ // parent, not an edge to the changed module — saying "imports it" there
418
+ // would claim a direct edge that does not exist.
419
+ const receipt = i === 0 ? `${dep.via} it` : "reaches it through an intermediary";
420
+ lines.push(` - ${dep.label} (${receipt}) — ${tests}`);
417
421
  }
418
422
  if (level.length > IMPACT_PER_DEPTH) lines.push(` …+${level.length - IMPACT_PER_DEPTH} more at depth ${i + 1}`);
419
423
  });
@@ -1388,7 +1388,8 @@
1388
1388
  lines.push(i === 0 ? `depth 1 (${level.length} direct dependents):` : `depth ${i + 1} (${level.length}):`);
1389
1389
  for (const dep of level.slice(0, IMPACT_PER_DEPTH)) {
1390
1390
  const tests = dep.tests.length ? `tests: ${capJoin(dep.tests, IMPACT_TESTS_PER_DEP)}` : "tests: none recorded";
1391
- lines.push(` - ${dep.label} (${dep.via} it) \u2014 ${tests}`);
1391
+ const receipt = i === 0 ? `${dep.via} it` : "reaches it through an intermediary";
1392
+ lines.push(` - ${dep.label} (${receipt}) \u2014 ${tests}`);
1392
1393
  }
1393
1394
  if (level.length > IMPACT_PER_DEPTH) lines.push(` \u2026+${level.length - IMPACT_PER_DEPTH} more at depth ${i + 1}`);
1394
1395
  });