From 6f37f1d8fff6c3310ae4725110ba4511aaa69c43 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 21 Jan 2026 04:37:22 +0000 Subject: [PATCH] fix: record tui input history (#1348) (thanks @vignesh07) --- CHANGELOG.md | 1 + src/cli/program/command-registry.ts | 1 - src/cli/program/register.subclis.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 897bb18f3..5058a6ce3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ Docs: https://docs.clawd.bot - Skills: add download installs with OS-filtered install options; add local sherpa-onnx-tts skill. - Docs: clarify WhatsApp voice notes and Windows WSL portproxy LAN access notes. - UI: add copy-as-markdown with error feedback and drop legacy list view. (#1345) — thanks @bradleypriest. +- TUI: add input history (up/down) for submitted messages. (#1348) — thanks @vignesh07. ### Fixes - Discovery: shorten Bonjour DNS-SD service type to `_clawdbot-gw._tcp` and update discovery clients/docs. - Agents: preserve subagent announce thread/topic routing + queued replies across channels. (#1241) — thanks @gnarco. diff --git a/src/cli/program/command-registry.ts b/src/cli/program/command-registry.ts index 122cacdb6..0b4618ef0 100644 --- a/src/cli/program/command-registry.ts +++ b/src/cli/program/command-registry.ts @@ -70,7 +70,6 @@ const routeSessions: RouteSpec = { match: (path) => path[0] === "sessions", run: async (argv) => { const json = hasFlag(argv, "--json"); - const verbose = getVerboseFlag(argv); const store = getFlagValue(argv, "--store"); if (store === null) return false; const active = getFlagValue(argv, "--active"); diff --git a/src/cli/program/register.subclis.ts b/src/cli/program/register.subclis.ts index 2f5e46921..74b075af0 100644 --- a/src/cli/program/register.subclis.ts +++ b/src/cli/program/register.subclis.ts @@ -18,7 +18,7 @@ const shouldRegisterPrimaryOnly = (argv: string[]) => { return true; }; -const shouldEagerRegisterSubcommands = (argv: string[]) => { +const shouldEagerRegisterSubcommands = (_argv: string[]) => { return isTruthyEnvValue(process.env.CLAWDBOT_DISABLE_LAZY_SUBCOMMANDS); };