@polycode-projects/the-mechanical-code-talker 2.7.8 → 2.7.9

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polycode-projects/the-mechanical-code-talker",
3
- "version": "2.7.8",
3
+ "version": "2.7.9",
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.",
@@ -490,7 +490,12 @@ async function runWorldCommand(cmd, { world, memoryDir, env, graph, cache }) {
490
490
  const digest = await worldDigest(object, { memoryDir, memory, rows, state, graph });
491
491
  const body = digest ?? `nothing more about the ${object} is written down yet.`;
492
492
  const containerNote = !person && isContainer(rows, object) ? ` ${containerStatusPhrase(object, { state })}` : "";
493
- const text = person ? `the ${object} doesn't have much to say, but you know: ${body}` : `${body}${containerNote}`;
493
+ // Framing follows the VERB the player typed, not the object's type: talking
494
+ // to a lamp still reads as an attempted conversation (nothing replies, but
495
+ // you learn what's known), and examining a person still reads as a plain
496
+ // inspection, never the "doesn't have much to say" framing that belongs to
497
+ // a failed talk attempt.
498
+ const text = cmd.verb === "talk" ? `the ${object} doesn't have much to say, but you know: ${body}` : `${body}${containerNote}`;
494
499
  return answer(
495
500
  text,
496
501
  noteFor(`${cmd.verb} — an extractive completions digest over the current world facts mentioning "${object}"`),