Skip to content

generateName

generateName(prompt): string

Defined in: src/namer.ts:456

Derive a session name from a task prompt. Pure and deterministic — no network, no local model. The salient words of a task prompt are already in the prompt, so a heuristic slug matches or beats a local LLM for a 1–4 word name (benchmarked in PR #83) without the RAM/latency cost.

string

string