import { createExtensionRuntime, type ResourceLoader } from "@earendil-works/pi-coding-agent" export class InMemoryResourceLoader implements ResourceLoader { private readonly extensions: ReturnType = { extensions: [], errors: [], runtime: createExtensionRuntime(), } constructor(private readonly systemPrompt: string) {} getExtensions(): ReturnType { return this.extensions } getSkills(): ReturnType { return { skills: [], diagnostics: [] } } getPrompts(): ReturnType { return { prompts: [], diagnostics: [] } } getThemes(): ReturnType { return { themes: [], diagnostics: [] } } getAgentsFiles(): ReturnType { return { agentsFiles: [] } } getSystemPrompt(): string { return this.systemPrompt } getAppendSystemPrompt(): string[] { return [] } extendResources(_paths: Parameters[0]): void {} async reload(_options?: Parameters[0]): Promise {} }