fix(coding-agent): reduce redundant slow tests

This commit is contained in:
Armin Ronacher 2026-08-17 22:57:18 +02:00
parent 54d22b74b3
commit b82a374c7d
8 changed files with 146 additions and 235 deletions

View file

@ -63,6 +63,11 @@ export function isValidThinkingLevel(level: string): level is ThinkingLevel {
return VALID_THINKING_LEVELS.includes(level as ThinkingLevel);
}
export function normalizeSessionName(value: string): string | undefined {
const name = value.trim();
return name.length > 0 ? name : undefined;
}
export function parseArgs(args: string[]): Args {
const result: Args = {
messages: [],