MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / isAutoDesignName

Function isAutoDesignName

packages/core/src/agent.ts:376–378  ·  view source on GitHub ↗
(name: string | undefined)

Source from the content-addressed store, hash-verified

374}
375
376function isAutoDesignName(name: string | undefined): boolean {
377 return name === 'Untitled design' || /^Untitled design \d+$/.test(name ?? '');
378}
379
380function autoTitleFromPrompt(prompt: string): string {
381 const condensed = prompt.replace(/\s+/g, ' ').trim();

Callers 3

agenticToolGuidanceFunction · 0.85
buildWorkspaceBriefFunction · 0.85
generateViaAgentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected