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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/runner.js +1 -1
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:
|
|
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:
|
|
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:
|
|
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:
|
|
271
|
+
headless: true,
|
|
272
272
|
// Visible for demo/debug
|
|
273
273
|
args: ["--start-maximized"]
|
|
274
274
|
// Attempt to maximize
|
package/package.json
CHANGED
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:
|
|
18
|
+
headless: true, // Visible for demo/debug
|
|
19
19
|
args: ['--start-maximized'] // Attempt to maximize
|
|
20
20
|
});
|
|
21
21
|
|