mindweave 3.2.0 → 3.2.2

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 (48) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/App.js +5 -18
  3. package/dist/cli/App.js.map +1 -1
  4. package/dist/cli/blockSpacing.js +4 -0
  5. package/dist/cli/blockSpacing.js.map +1 -1
  6. package/dist/cli/components/BlockView.js +1 -1
  7. package/dist/cli/components/BlockView.js.map +1 -1
  8. package/dist/cli/components/TipLine.js +1 -1
  9. package/dist/cli/components/TipLine.js.map +1 -1
  10. package/dist/cli/components/ToolLine.js +1 -1
  11. package/dist/cli/components/ToolLine.js.map +1 -1
  12. package/dist/cli/components/WorkGroup.js +62 -12
  13. package/dist/cli/components/WorkGroup.js.map +1 -1
  14. package/dist/cli/help.js +14 -1
  15. package/dist/cli/help.js.map +1 -1
  16. package/dist/cli/shellNotes.js +21 -0
  17. package/dist/cli/shellNotes.js.map +1 -0
  18. package/dist/cli/toolDisplay.js +8 -2
  19. package/dist/cli/toolDisplay.js.map +1 -1
  20. package/dist/cli/transcript.js +2 -2
  21. package/dist/cli/transcript.js.map +1 -1
  22. package/dist/cli/workLines.js +63 -8
  23. package/dist/cli/workLines.js.map +1 -1
  24. package/dist/cli/zz_show.js +24 -0
  25. package/dist/cli/zz_show.js.map +1 -0
  26. package/dist/core/turnRunner.js +20 -2
  27. package/dist/core/turnRunner.js.map +1 -1
  28. package/dist/drivers/anthropic/manifest.js +23 -1
  29. package/dist/drivers/anthropic/manifest.js.map +1 -1
  30. package/dist/dynamo/engine.js +54 -32
  31. package/dist/dynamo/engine.js.map +1 -1
  32. package/dist/memory/compaction.js +0 -37
  33. package/dist/memory/compaction.js.map +1 -1
  34. package/dist/memory/earlier.js +13 -0
  35. package/dist/memory/earlier.js.map +1 -1
  36. package/dist/memory/session.js +7 -0
  37. package/dist/memory/session.js.map +1 -1
  38. package/dist/memory/sessionMemory.js +202 -72
  39. package/dist/memory/sessionMemory.js.map +1 -1
  40. package/dist/memory/store.js +11 -0
  41. package/dist/memory/store.js.map +1 -1
  42. package/dist/tools/rebuildDetail.js +2 -3
  43. package/dist/tools/rebuildDetail.js.map +1 -1
  44. package/dist/tools/sessionTools.js +24 -1
  45. package/dist/tools/sessionTools.js.map +1 -1
  46. package/dist/tools/ui.js +7 -7
  47. package/dist/tools/ui.js.map +1 -1
  48. package/package.json +3 -3
package/README.md CHANGED
@@ -50,7 +50,7 @@ npm link
50
50
 
51
51
  ## What it does
52
52
 
53
- - **16 providers, 62 models** — DeepSeek, Anthropic, OpenAI, Gemini, xAI, Mistral, Groq, Cerebras,
53
+ - **16 providers, 63 models** — DeepSeek, Anthropic, OpenAI, Gemini, xAI, Mistral, Groq, Cerebras,
54
54
  Qwen, Kimi, GLM, Meta, MiniMax, Tencent, OpenRouter, and local models through Ollama
55
55
  with no key at all. [PROVIDERS.md](src/drivers/PROVIDERS.md)
56
56
  - **Real tools** — file reads and edits, search, a shell with background jobs,
package/dist/cli/App.js CHANGED
@@ -77,6 +77,7 @@ import { applyScreenMode } from "./screenShell.js";
77
77
  import { saveScreenMode } from "./screenStore.js";
78
78
  import { needsMeasure, pruneHeights } from "./blockHeights.js";
79
79
  import { expandableAt, hitBlock, hitItem } from "./expandHits.js";
80
+ import { shellNote } from "./shellNotes.js";
80
81
  import { readFileSync, statSync } from "node:fs";
81
82
  import { compactUiDetail, rebuildFull, writtenFromDisk } from "../tools/rebuildDetail.js";
82
83
  import { shownText } from "../memory/compaction.js";
@@ -740,24 +741,10 @@ export function App({ resumeSessionId, initialScreen }) {
740
741
  setBgTick((t) => t + 1);
741
742
  const mgr = session.current?.toolContext.backgroundShells;
742
743
  for (const { info: sh, kind } of mgr?.takeUiEvents() ?? []) {
743
- // A shell reaching "ready" says nothing the tool row did not already say when it
744
- // backgrounded the command, and being killed at the user's request is not news
745
- // either — they asked for it. A command that DIED ON ITS OWN is news, because
746
- // nothing else on screen would tell them their dev server had fallen over.
747
- if (kind === "ready")
748
- continue;
749
- // The watchdog flagged a running shell as stuck — a prompt it is blocked on, or a
750
- // long silence on a command that should be working. Worth a line: otherwise it sits
751
- // invisible until it times out.
752
- if (kind === "stalled") {
753
- const why = sh.stallReason === "prompt" ? "waiting for input?" : "no output for a while — stuck?";
754
- addTool(`shell #${sh.id} (${clipCmd(sh.command)}) ${why}`, { error: true });
755
- continue;
756
- }
757
- if (sh.status === "killed" && sh.stoppedBy === "user")
758
- continue;
759
- const verb = sh.status === "killed" ? "killed" : `finished — exit ${sh.exitCode}`;
760
- addTool(`shell #${sh.id} (${clipCmd(sh.command)}) ${verb}`, { error: sh.status !== "killed" && sh.exitCode !== 0 });
744
+ // Only what nothing else on screen says: see shellNotes.
745
+ const line = shellNote(sh, kind, clipCmd);
746
+ if (line)
747
+ addTool(line.text, { error: line.error });
761
748
  }
762
749
  }
763
750
  // A server's state moved. Repaint, and surface anything the pool needs the user to