Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(crestodian): avoid TUI message shadowing
  • Loading branch information
fuller-stack-dev committed Jul 7, 2026
commit aba71da9a5a3603dce1fa69e2ff2ba5705218104
4 changes: 2 additions & 2 deletions src/crestodian/tui-backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export async function runCrestodianTui(
for (;;) {
// A returned agent request is single-use; a later wizard handoff must not
// replay it when Crestodian re-enters the chat shell.
const message = nextInput;
const initialMessage = nextInput;
nextInput = undefined;
const engine = createChatEngine(opts);
let welcome: string;
Expand All @@ -352,7 +352,7 @@ export async function runCrestodianTui(
backend,
config: {},
title: "openclaw crestodian",
...(message ? { message } : {}),
...(initialMessage ? { message: initialMessage } : {}),
});
} finally {
await backend.dispose();
Expand Down
Loading