zephyr-agent
Version:
Zephyr plugin agent
26 lines • 1.26 kB
TypeScript
export declare const ZE_PATH: string;
export declare const ZE_STORAGE_PATH: string;
export declare const ZE_LOCKS_PATH: string;
export declare const ZE_SESSION_LOCK: string;
export declare const PARTIAL_ASSET_LOCK_STALE_MS = 30000;
/** Apply POSIX owner-only permissions without weakening Windows profile ACLs. */
export declare function ensurePrivateFilePermissions(filePath: string): void;
/**
* Create the Zephyr persistence boundary and remediate artifacts created by older
* versions which inherited group/world-readable modes from the process umask.
*/
export declare function ensurePrivateStoragePermissions(zephyrPath?: string, storagePath?: string, sessionPath?: string, locksPath?: string): void;
export declare enum StorageKeys {
ze_app_partial_asset_map = "ze_app_partial_asset_map",
ze_app_config_token = "ze-application-configuration",
ze_auth_token = "ze-auth-token",
ze_secret_token = "ZE_SECRET_TOKEN",
ze_fs_cache = "ze-fs-cache",
ze_hash_cache = "ze-hash-cache",
ze_app_deploy_result = "ze-app-deploy-result",
ze_ci_auth_token = "ze-ci-auth-token",
ze_server_token = "ZE_SERVER_TOKEN",
ze_ci_token = "ZE_CI_TOKEN",
ze_user_email = "ZE_USER_EMAIL"
}
//# sourceMappingURL=storage-keys.d.ts.map