revert: roll back v12.3.3 (Issue Blowout 2026)
SessionStart context injection regressed in v12.3.3 — no memory context is being delivered to new sessions. Rolling back to the v12.3.2 tree state while the regression is investigated. Reverts #2080. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
/**
|
||||
* Authenticated fetch wrapper for viewer API calls.
|
||||
* Reads the auth token injected into the page by the server (#1932/#1933).
|
||||
*/
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
__CLAUDE_MEM_AUTH_TOKEN__?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export function authFetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response> {
|
||||
const token = window.__CLAUDE_MEM_AUTH_TOKEN__;
|
||||
if (!token) {
|
||||
return fetch(input, init);
|
||||
}
|
||||
|
||||
const headers = new Headers(init?.headers);
|
||||
headers.set('Authorization', `Bearer ${token}`);
|
||||
|
||||
return fetch(input, { ...init, headers });
|
||||
}
|
||||
Reference in New Issue
Block a user