From 2d035f432cdae71c4870906b1d1b4f6787412102 Mon Sep 17 00:00:00 2001 From: romgX <156889089+romgX@users.noreply.github.com> Date: Wed, 11 Mar 2026 01:36:46 +0800 Subject: [PATCH] v0.8.6 --- src/cookie.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cookie.ts b/src/cookie.ts index 5702f52..aed2a0c 100644 --- a/src/cookie.ts +++ b/src/cookie.ts @@ -23,6 +23,7 @@ export interface DesktopCookies { organizationId: string deviceId: string cfClearance: string + cfBm: string } // ---- macOS-specific functions ---- @@ -131,6 +132,7 @@ async function extractCookiesDarwin(): Promise { organizationId: '', deviceId: '', cfClearance: '', + cfBm: '', } try { @@ -149,6 +151,7 @@ async function extractCookiesDarwin(): Promise { case 'lastActiveOrg': result.organizationId = value; break case 'anthropic-device-id': result.deviceId = value; break case 'cf_clearance': result.cfClearance = value; break + case '__cf_bm': result.cfBm = value; break } } } finally { @@ -289,6 +292,7 @@ async function extractCookiesWindows(): Promise { organizationId: '', deviceId: '', cfClearance: '', + cfBm: '', } try { @@ -307,6 +311,7 @@ async function extractCookiesWindows(): Promise { case 'lastActiveOrg': result.organizationId = value; break case 'anthropic-device-id': result.deviceId = value; break case 'cf_clearance': result.cfClearance = value; break + case '__cf_bm': result.cfBm = value; break } } } finally {