Skip to content

llmName

llmName(taskText, deps, label): Promise<string | null>

Defined in: src/namer-llm.ts:146

Comprehend a session’s subject via a transient interactive claude (subscription OAuth — NOT claude -p, which bills as extra API usage). Spawns haiku in a fresh temp dir with only the Write tool, polls for the slug file, sanitizes it, then tears the agent + dir down. Returns a clean slug, or null on any failure/timeout/empty — the caller then keeps the heuristic name. label is the herdr tab label (e.g. “name TASK-07”), mirroring the critic’s “review TASK-07”.

string

LlmNamerDeps

string

Promise<string | null>