(logger: Logger, workingDirectory: string, customPromptsEnabled = false)
| 328 | private runtimePrompts: RuntimePrompts |
| 329 | |
| 330 | constructor(logger: Logger, workingDirectory: string, customPromptsEnabled = false) { |
| 331 | this.logger = logger |
| 332 | this.paths = resolvePromptPaths(workingDirectory) |
| 333 | this.customPromptsEnabled = customPromptsEnabled |
| 334 | this.runtimePrompts = createBundledRuntimePrompts() |
| 335 | |
| 336 | if (this.customPromptsEnabled) { |
| 337 | this.ensureDefaultFiles() |
| 338 | } |
| 339 | this.reload() |
| 340 | } |
| 341 | |
| 342 | getRuntimePrompts(): RuntimePrompts { |
| 343 | return { ...this.runtimePrompts } |
nothing calls this directly
no test coverage detected