@broberg/lens-daemon 0.1.35 → 0.1.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 +1 -1
- package/src/browser.ts +3 -0
- package/src/capture-session.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broberg/lens-daemon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"description": "The Lens module of the cardmem daemon (flows, critic, coverage, capture sessions, the /lens/* routes and the cardmem-lens MCP) as a package. The daemon mounts createLensRouter(deps) + createLensMcpRouter(deps). Bun runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/src/browser.ts
CHANGED
|
@@ -404,6 +404,9 @@ export function runBrowserLaunchOptions(b: RunBrowser) {
|
|
|
404
404
|
return {
|
|
405
405
|
channel: b.channel,
|
|
406
406
|
headless: b.visible !== true,
|
|
407
|
+
// Playwright launches with --no-sandbox by default. This browser carries a real
|
|
408
|
+
// login (Google) and browses the open web, so Chrome's renderer sandbox stays ON.
|
|
409
|
+
chromiumSandbox: true,
|
|
407
410
|
ignoreDefaultArgs: ['--enable-automation'],
|
|
408
411
|
args: ['--disable-blink-features=AutomationControlled', '--disable-dev-shm-usage'],
|
|
409
412
|
};
|
package/src/capture-session.ts
CHANGED
|
@@ -68,6 +68,9 @@ export function profileLaunchOptions(channel: ProfileChannel = EXTENSION_CHANNEL
|
|
|
68
68
|
// F009.136 — 'chrome' when the runs that will use this profile run in Google
|
|
69
69
|
// Chrome; the default stays the extension runs' build.
|
|
70
70
|
channel,
|
|
71
|
+
// The login window holds the password + 2FA being typed: renderer sandbox ON
|
|
72
|
+
// (Playwright's default is --no-sandbox).
|
|
73
|
+
chromiumSandbox: true,
|
|
71
74
|
ignoreDefaultArgs: ['--enable-automation'],
|
|
72
75
|
args: ['--disable-blink-features=AutomationControlled'],
|
|
73
76
|
};
|