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.
- package/README.md +1 -1
- package/dist/cli/App.js +5 -18
- package/dist/cli/App.js.map +1 -1
- package/dist/cli/blockSpacing.js +4 -0
- package/dist/cli/blockSpacing.js.map +1 -1
- package/dist/cli/components/BlockView.js +1 -1
- package/dist/cli/components/BlockView.js.map +1 -1
- package/dist/cli/components/TipLine.js +1 -1
- package/dist/cli/components/TipLine.js.map +1 -1
- package/dist/cli/components/ToolLine.js +1 -1
- package/dist/cli/components/ToolLine.js.map +1 -1
- package/dist/cli/components/WorkGroup.js +62 -12
- package/dist/cli/components/WorkGroup.js.map +1 -1
- package/dist/cli/help.js +14 -1
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/shellNotes.js +21 -0
- package/dist/cli/shellNotes.js.map +1 -0
- package/dist/cli/toolDisplay.js +8 -2
- package/dist/cli/toolDisplay.js.map +1 -1
- package/dist/cli/transcript.js +2 -2
- package/dist/cli/transcript.js.map +1 -1
- package/dist/cli/workLines.js +63 -8
- package/dist/cli/workLines.js.map +1 -1
- package/dist/cli/zz_show.js +24 -0
- package/dist/cli/zz_show.js.map +1 -0
- package/dist/core/turnRunner.js +20 -2
- package/dist/core/turnRunner.js.map +1 -1
- package/dist/drivers/anthropic/manifest.js +23 -1
- package/dist/drivers/anthropic/manifest.js.map +1 -1
- package/dist/dynamo/engine.js +54 -32
- package/dist/dynamo/engine.js.map +1 -1
- package/dist/memory/compaction.js +0 -37
- package/dist/memory/compaction.js.map +1 -1
- package/dist/memory/earlier.js +13 -0
- package/dist/memory/earlier.js.map +1 -1
- package/dist/memory/session.js +7 -0
- package/dist/memory/session.js.map +1 -1
- package/dist/memory/sessionMemory.js +202 -72
- package/dist/memory/sessionMemory.js.map +1 -1
- package/dist/memory/store.js +11 -0
- package/dist/memory/store.js.map +1 -1
- package/dist/tools/rebuildDetail.js +2 -3
- package/dist/tools/rebuildDetail.js.map +1 -1
- package/dist/tools/sessionTools.js +24 -1
- package/dist/tools/sessionTools.js.map +1 -1
- package/dist/tools/ui.js +7 -7
- package/dist/tools/ui.js.map +1 -1
- 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,
|
|
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
|
-
//
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
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
|