demobite 1.5.0 → 1.7.1
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/README.md +8 -0
- package/launcher/index.mjs +72 -7
- package/package.json +1 -1
- package/scripts/calibrate.mjs +17 -3
- package/scripts/record.mjs +157 -16
- package/skill/SKILL.md +95 -5
- package/skill/scripts/batch.mjs +328 -0
- package/skill/scripts/briefs.mjs +163 -9
- package/skill/scripts/cleanup.mjs +2 -1
- package/skill/scripts/manifest.mjs +13 -1
- package/skill/scripts/retake.mjs +72 -14
- package/skill/scripts/stage-wait.mjs +119 -0
- package/skill/scripts/status.mjs +12 -2
- package/skill/scripts/upload.mjs +11 -3
- package/skill/scripts/vocab.mjs +2 -1
package/skill/scripts/vocab.mjs
CHANGED
|
@@ -24,7 +24,8 @@ if (!dir || urls.length === 0) {
|
|
|
24
24
|
process.exit(2);
|
|
25
25
|
}
|
|
26
26
|
fs.mkdirSync(dir, { recursive: true });
|
|
27
|
-
|
|
27
|
+
// RECORDER_PROFILE (1.7.0): a batch's parallel legs harvest on their own seeded profile.
|
|
28
|
+
const profileDir = path.resolve(process.env.RECORDER_PROFILE || path.join(".recorder", "profile"));
|
|
28
29
|
const headless = !args.includes("--headless=false");
|
|
29
30
|
|
|
30
31
|
const ctx = await chromium.launchPersistentContext(profileDir, { channel: "chrome", headless, viewport: { width: 1920, height: 1080 } }).catch(async () =>
|