MCPcopy Create free account
hub / github.com/backnotprop/plannotator / getPlanApprovedWithNotesPrompt

Function getPlanApprovedWithNotesPrompt

packages/shared/prompts.ts:173–187  ·  view source on GitHub ↗
(
  runtime?: PromptRuntime | null,
  config?: PlannotatorConfig,
  vars?: FeedbackVars,
)

Source from the content-addressed store, hash-verified

171};
172
173export function getPlanApprovedWithNotesPrompt(
174 runtime?: PromptRuntime | null,
175 config?: PlannotatorConfig,
176 vars?: FeedbackVars,
177): string {
178 const template = getConfiguredPrompt({
179 section: "plan",
180 key: "approvedWithNotes",
181 runtime,
182 config,
183 fallback: DEFAULT_PLAN_APPROVED_WITH_NOTES_PROMPT,
184 runtimeFallbacks: PLAN_APPROVED_WITH_NOTES_RUNTIME_DEFAULTS,
185 });
186 return resolveTemplate(template, { proceedSuffix: "", ...vars });
187}
188
189export function getPlanAutoApprovedPrompt(
190 runtime?: PromptRuntime | null,

Callers 3

prompts.test.tsFile · 0.90
executeFunction · 0.90
executeFunction · 0.85

Calls 2

getConfiguredPromptFunction · 0.70
resolveTemplateFunction · 0.70

Tested by

no test coverage detected