rl-simulator-core 1.0.7 → 1.0.8

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/dist/index.d.mts CHANGED
@@ -297,7 +297,7 @@ async function runAgent({ targetUrl, taskInput, sessionId, simulatedUserKnownInf
297
297
 
298
298
  // 2. Launch Browser
299
299
  const browser = await chromium.launch({
300
- headless: false, // Visible for demo/debug
300
+ headless: true, // Visible for demo/debug
301
301
  args: ['--start-maximized'] // Attempt to maximize
302
302
  });
303
303
 
package/dist/index.d.ts CHANGED
@@ -297,7 +297,7 @@ async function runAgent({ targetUrl, taskInput, sessionId, simulatedUserKnownInf
297
297
 
298
298
  // 2. Launch Browser
299
299
  const browser = await chromium.launch({
300
- headless: false, // Visible for demo/debug
300
+ headless: true, // Visible for demo/debug
301
301
  args: ['--start-maximized'] // Attempt to maximize
302
302
  });
303
303
 
package/dist/index.js CHANGED
@@ -302,7 +302,7 @@ async function runAgent({ targetUrl, taskInput, sessionId, simulatedUserKnownInf
302
302
  console.log(`\u{1F4C1} \u521B\u5EFA\u622A\u56FE\u76EE\u5F55: ${screenshotsDir}`);
303
303
  }
304
304
  const browser = await import_playwright.chromium.launch({
305
- headless: false,
305
+ headless: true,
306
306
  // Visible for demo/debug
307
307
  args: ["--start-maximized"]
308
308
  // Attempt to maximize
package/dist/index.mjs CHANGED
@@ -268,7 +268,7 @@ async function runAgent({ targetUrl, taskInput, sessionId, simulatedUserKnownInf
268
268
  console.log(`\u{1F4C1} \u521B\u5EFA\u622A\u56FE\u76EE\u5F55: ${screenshotsDir}`);
269
269
  }
270
270
  const browser = await chromium.launch({
271
- headless: false,
271
+ headless: true,
272
272
  // Visible for demo/debug
273
273
  args: ["--start-maximized"]
274
274
  // Attempt to maximize
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rl-simulator-core",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
package/src/runner.js CHANGED
@@ -15,7 +15,7 @@ async function runAgent({ targetUrl, taskInput, sessionId, simulatedUserKnownInf
15
15
 
16
16
  // 2. Launch Browser
17
17
  const browser = await chromium.launch({
18
- headless: false, // Visible for demo/debug
18
+ headless: true, // Visible for demo/debug
19
19
  args: ['--start-maximized'] // Attempt to maximize
20
20
  });
21
21