"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCockpitDir = getCockpitDir;
exports.getCockpitCacheDir = getCockpitCacheDir;
exports.getClaudeDir = getClaudeDir;
exports.getClaudeUserConfigFile = getClaudeUserConfigFile;
const node_os_1 = require("node:os");
const node_path_1 = __importDefault(require("node:path"));
function getCockpitDir() {
    return process.env.COCKPIT_CONFIG_DIR ?? node_path_1.default.join((0, node_os_1.homedir)(), ".cockpit");
}
function getCockpitCacheDir() {
    return process.env.COCKPIT_CACHE_DIR ?? node_path_1.default.join((0, node_os_1.homedir)(), ".cache", "cockpit");
}
function getClaudeDir() {
    return process.env.CLAUDE_CONFIG_DIR ?? node_path_1.default.join((0, node_os_1.homedir)(), ".claude");
}
function getClaudeUserConfigFile() {
    return node_path_1.default.join(process.env.CLAUDE_CONFIG_DIR ?? (0, node_os_1.homedir)(), ".claude.json");
}
