dsh tui: exit hint suggests dshcli --resume <id> but no such binary exists (command not found) #4751
Replies: 1 comment
|
Your harness-side fact checks out, and it points at where the fix has to happen — which is not this repository. Verified: the CLI package declares exactly one binary: "bin": { "dsh": "lib/bin.js" }So But Two things worth carrying into that report:
Nothing here is harness behaviour, so there is no version of this that gets fixed by upgrading |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
On exit, the TUI prints a resume hint that names a binary which does not exist:
Running
dshcli --resume ...fails withdshcli: command not found. The actual CLI entry point isdsh; the working command isdsh --profile tui --resume <session>.Environment
dsh0.1.1-rc.2,dsh-tui-plugin0.3.0, Windows (Git Bash)Root cause
lib/tui/i18n.js→'exit.resumeHint': 'Resume this session: dshcli --resume {id}'(written on exit inlib/index.js:63).dshcliis the internal commander command name declared inlib/startup.js(.name('dshcli')), not an installed binary —dsh-tui-plugindeclares nobinfield in its package.json, and@deepseek-ai/dshonly exposesdsh("bin": { "dsh": "lib/bin.js" }).So the hint is not copy-paste executable; a user who follows it literally gets
command not foundand may believe resume is broken (see the related report about--resumerendering an empty conversation).Suggested fix
Print the actual launcher invocation, e.g.
dsh --profile tui --resume {id}(or resolve it from the real entry point), so the hint is copy-paste executable.All reactions