refactor(open-sse): remove reverse coupling open-sse -> src (E2)

Move clineAuth into open-sse/shared (src re-exports back). Add standalone
open-sse/shared/machineId for codex session hashing (no @/lib/dataDir).
sttCore receives sttConfig via param instead of importing AI_PROVIDERS.
No behavior change; gate: no regression (26 known-fails unchanged).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
decolua
2026-06-13 16:35:07 +07:00
co-authored by Cursor
parent 8f0a9ff9d4
commit 87fe069e9e
9 changed files with 65 additions and 46 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { PROVIDERS } from "../config/providers.js";
import { buildClineHeaders } from "../../src/shared/utils/clineAuth.js";
import { buildClineHeaders } from "../shared/clineAuth.js";
const OPENAI_COMPATIBLE_PREFIX = "openai-compatible-";
const OPENAI_COMPATIBLE_DEFAULTS = {