/**
 * Pi agent configuration
 */
import * as path from "path";
import { configLoader } from "../../../cli/features/configLoader.js";
import { createInstructionsLoader } from "../../../cli/features/shared/instructionsLoader.js";
import { skillsLoader } from "../../../cli/features/shared/skillsLoader.js";
import { createSlashCommandsLoader } from "../../../cli/features/shared/slashCommandsLoader.js";
import { createSubagentsLoader } from "../../../cli/features/shared/subagentsLoader.js";
export const piAgentConfig = {
    name: "pi",
    displayName: "Pi",
    description: "Instructions, skills, subagents, commands",
    getAgentDir: ({ installDir }) => path.join(installDir, ".pi", "agent"),
    getSkillsDir: ({ installDir }) => path.join(installDir, ".pi", "agent", "skills"),
    getSubagentsDir: ({ installDir }) => path.join(installDir, ".pi", "agent", "subagents"),
    getSlashcommandsDir: ({ installDir }) => path.join(installDir, ".pi", "agent", "prompts"),
    getInstructionsFilePath: ({ installDir }) => path.join(installDir, ".pi", "agent", "AGENTS.md"),
    getLoaders: () => [
        configLoader,
        skillsLoader,
        createInstructionsLoader({ managedFiles: ["AGENTS.md"] }),
        createSlashCommandsLoader({ managedDirs: ["prompts"] }),
        createSubagentsLoader({
            managedDirs: ["subagents"],
            targetFormat: "pi-markdown",
        }),
    ],
};
//# sourceMappingURL=agent.js.map