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 clineAgentConfig = {
    name: "cline",
    displayName: "Cline",
    description: "Instructions, skills, subagents, commands",
    getAgentDir: ({ installDir }) => path.join(installDir, ".cline"),
    getSkillsDir: ({ installDir }) => path.join(installDir, ".cline", "skills"),
    getSubagentsDir: ({ installDir }) => path.join(installDir, ".cline", "agents"),
    getSlashcommandsDir: ({ installDir }) => path.join(installDir, ".cline", "commands"),
    getInstructionsFilePath: ({ installDir }) => path.join(installDir, ".cline", "rules", "AGENTS.md"),
    getLoaders: () => [
        configLoader,
        skillsLoader,
        createInstructionsLoader({ managedDirs: ["rules"] }),
        createSlashCommandsLoader({ managedDirs: ["commands"] }),
        createSubagentsLoader({ managedDirs: ["agents"] }),
    ],
};
//# sourceMappingURL=agent.js.map