fix(install): point the launcher-only caveat at the thing that resolves it

The caveat #429 added ends with "see the docs above", and "the docs
above" is CLI_DOCS[$i], which for DeepSeek is the upstream harness repo.
Per docs/deepseek-integration.md the harness ships only the web,
headless and base profiles, so following that link and running
`npm install -g @deepseek-ai/dsh` leaves the reader exactly where the
caveat is warning them about: a dsh that cannot drive a pane. What
actually resolves it is Codeman's own Run dropdown, which offers
"DeepSeek: add a terminal profile..." and installs one in a click.

The new wording stays generic for any future launcherProfile entry,
since Codeman is the thing being installed at all three call sites.

Also flips one word in the generator: the comment said "see
installCommandFor below" and that function is defined above it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer
2026-09-18 13:41:45 +02:00
parent f32c4f60d5
commit dee674d3e2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ cli_catalog_print_install_hints() {
elif [[ -n "${CLI_DOCS[$i]}" ]]; then elif [[ -n "${CLI_DOCS[$i]}" ]]; then
echo -e " ${CLI_LABELS[$i]}: see ${CYAN}${CLI_DOCS[$i]}${NC}" echo -e " ${CLI_LABELS[$i]}: see ${CYAN}${CLI_DOCS[$i]}${NC}"
if [[ "${CLI_LAUNCHER_ONLY[$i]}" == "1" ]]; then if [[ "${CLI_LAUNCHER_ONLY[$i]}" == "1" ]]; then
echo -e " (its package installs a launcher only — it needs a profile that can drive a pane, see the docs above)" echo -e " (installs a launcher only: it still needs a terminal profile, and Codeman's Run menu can add one)"
fi fi
fi fi
done done
+1 -1
View File
@@ -151,7 +151,7 @@ export function renderInstallShBlock(entries: CliEntry[] = STOCK_CLIS): string {
labels.push(shQuote(entry.label)); labels.push(shQuote(entry.label));
enabled.push(entry.enabled ? '1' : '0'); enabled.push(entry.enabled ? '1' : '0');
// Parallel to CLI_IDS: 1 when this entry's install command installs a launcher rather // Parallel to CLI_IDS: 1 when this entry's install command installs a launcher rather
// than something that can drive a pane on its own (see installCommandFor below). Purely // than something that can drive a pane on its own (see installCommandFor above). Purely
// derived from discovery.launcherProfile — install.sh's hint printer reads this to add a // derived from discovery.launcherProfile — install.sh's hint printer reads this to add a
// caveat instead of hardcoding which id it means. // caveat instead of hardcoding which id it means.
launcherOnly.push(entry.discovery.launcherProfile ? '1' : '0'); launcherOnly.push(entry.discovery.launcherProfile ? '1' : '0');