MCPcopy
hub / github.com/codeaashu/claude-code / buildUltraplanPrompt

Function buildUltraplanPrompt

src/commands/ultraplan.tsx:63–73  ·  view source on GitHub ↗
(blurb: string, seedPlan?: string)

Source from the content-addressed store, hash-verified

61 * system-reminder so the browser renders them; scaffolding is hidden.
62 */
63export function buildUltraplanPrompt(blurb: string, seedPlan?: string): string {
64 const parts: string[] = [];
65 if (seedPlan) {
66 parts.push('Here is a draft plan to refine:', '', seedPlan, '');
67 }
68 parts.push(ULTRAPLAN_INSTRUCTIONS);
69 if (blurb) {
70 parts.push('', blurb);
71 }
72 return parts.join('\n');
73}
74function startDetachedPoll(taskId: string, sessionId: string, url: string, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void): void {
75 const started = Date.now();
76 let failed = false;

Callers 1

launchDetachedFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected