@lightcone-ai/daemon 0.9.35 → 0.9.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightcone-ai/daemon",
3
- "version": "0.9.35",
3
+ "version": "0.9.36",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -94,19 +94,6 @@ export class BrowserLoginSession {
94
94
  async start(connection, userId) {
95
95
  this._profileDir = profileDir(this._platform, userId);
96
96
 
97
- // Clean up stale Chrome lock files that prevent reuse of the profile dir
98
- for (const lockFile of ['SingletonLock', 'SingletonCookie', 'SingletonSocket']) {
99
- const p = path.join(this._profileDir, lockFile);
100
- try { if (existsSync(p)) rmSync(p, { force: true }); } catch {}
101
- }
102
-
103
- // Kill any process already holding CDP_PORT
104
- try {
105
- if (process.platform !== 'win32') {
106
- execSync(`lsof -ti:${CDP_PORT} | xargs kill -9`, { stdio: 'ignore' });
107
- }
108
- } catch {}
109
-
110
97
  this._proc = spawn(CHROME_BIN, [
111
98
  `--remote-debugging-port=${CDP_PORT}`,
112
99
  '--no-sandbox',
@@ -116,12 +103,6 @@ export class BrowserLoginSession {
116
103
  '--window-size=800,900',
117
104
  '--disable-blink-features=AutomationControlled',
118
105
  '--disable-infobars',
119
- '--no-first-run',
120
- '--no-default-browser-check',
121
- '--disable-hang-monitor',
122
- '--use-mock-keychain',
123
- '--password-store=basic',
124
- '--disable-gpu',
125
106
  '--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
126
107
  'about:blank',
127
108
  ], { stdio: ['ignore', 'ignore', 'pipe'], detached: false });