lazyclaw 5.4.0 → 5.4.1

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/cli.mjs +5 -12
  2. package/package.json +1 -1
package/cli.mjs CHANGED
@@ -2702,19 +2702,12 @@ async function cmdChat(flags = {}) {
2702
2702
  try { process.stdout.write(chunk); } catch { /* swallow */ }
2703
2703
  });
2704
2704
  };
2705
- // v5.4 alt-buffer splash hand-off when the alt-screen will mount,
2706
- // pre-print the splash to the PRIMARY buffer so it survives in the
2707
- // user's normal scrollback after chat exit (mirrors Claude CLI /
2708
- // opencode behavior). The Static splash item would otherwise live
2709
- // only inside the alt canvas and disappear on unmount. When alt is
2710
- // disabled (non-TTY pipelines, LAZYCLAW_NO_ALT), keep the legacy
2711
- // in-tree splash so the pre-existing visual is unchanged.
2712
- const _altWillMount = !!process.stdout.isTTY && !process.env.LAZYCLAW_NO_ALT;
2713
- if (_altWillMount) {
2714
- try { process.stdout.write(renderSplashToString(splashProps) + '\n'); } catch { /* swallow */ }
2715
- }
2705
+ // v5.4.1: splash renders INSIDE the alt-buffer (not pre-printed to
2706
+ // primary). The v5.4.0 pre-print made the screen go blank during
2707
+ // chat because alt-buffer cleared it on enter. Splash lives in the
2708
+ // Static scrollback now regardless of alt-buffer state.
2716
2709
  const ink = render(/* @__PURE__ */ React.createElement(ReplApp, {
2717
- splashProps: _altWillMount ? null : splashProps,
2710
+ splashProps,
2718
2711
  statusInfo: { provider: activeProvName, model: activeModel },
2719
2712
  runTurn: _inkRunTurn,
2720
2713
  onSlashCommand: _inkSlashHandler,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lazyclaw",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Lazy, elegant terminal CLI for chatting with Claude / OpenAI / Gemini / Ollama, orchestrating multi-step LLM workflows, and running multi-agent Slack teams with cross-task memory. Banner-on-launch, slash-command ghost autocomplete, persistent sessions, local HTTP gateway.",
5
5
  "keywords": [
6
6
  "claude",