import { getOpenCodeCacheRoot, getOpenCodeConfigRoot } from "@cortexkit/aft-bridge"; export declare const PACKAGE_NAME = "@cortexkit/aft-opencode"; export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org"; export declare const NPM_FETCH_TIMEOUT = 10000; export { getOpenCodeCacheRoot, getOpenCodeConfigRoot }; /** * OpenCode creates this directory when it installs an npm plugin. If it is * absent, the checker cannot find a cached version or a fallback install root * when the runtime package path is unavailable, so it skips the update. * * These are functions, not module-level constants: they read XDG_* environment * variables, and several test files mutate those process-wide. A path captured * at import time would depend on module-import order relative to those * mutations, so every caller resolves at call time instead. */ /** Root directory OpenCode uses for cached npm plugin wrapper installs. */ export declare function cacheDir(): string; /** Primary OpenCode configuration file path (standard JSON). */ export declare function userOpenCodeConfig(): string; /** Alternative OpenCode configuration file path (JSON with Comments). */ export declare function userOpenCodeConfigJsonc(): string; //# sourceMappingURL=constants.d.ts.map