/** * Stable device identifier — persisted UUIDv4 keyed to the CLEO home directory. * * Used by providers that enforce device-ID stability on every request * (`X-Msh-Device-Id` for Kimi Code; future GitHub Copilot / Cursor). The UUID * is written once at first use and reused across processes — losing it would * trigger device re-registration prompts upstream. * * Storage: `${CLEO_HOME}/device-id` — single-line UUIDv4, no metadata. Path * resolves through `getCleoHome()` so it follows XDG conventions on Linux * and stays inside the CLEO home on Windows/macOS. * * @module llm/stable-device-id * @task T9321 * @epic T9261 T-LLM-CRED-CENTRALIZATION */ /** * Return the stable device UUID for this CLEO installation. * * Creates the file on first call (atomic write — tmp+rename pattern). All * subsequent calls in the same process return the cached value. Across * processes, the file is the source of truth. * * The UUID is OPAQUE — callers MUST treat it as a stable identifier and not * encode any meaning into its bytes. * * @returns A UUIDv4 string in canonical hyphenated form. * * @task T9321 */ export declare function getStableDeviceId(): string; /** * Reset the in-memory cache. Test-only — production code never calls this. * * @internal */ export declare function _resetDeviceIdCacheForTests(): void; //# sourceMappingURL=stable-device-id.d.ts.map