@veolab/discoverylab 1.3.3 → 1.3.4
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.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"name": "discoverylab",
|
|
13
13
|
"source": ".",
|
|
14
14
|
"description": "AI-powered app testing & marketing asset generator. Record mobile/web apps, run automated tests with Maestro & Playwright, and generate professional screenshots, GIFs, and test reports.",
|
|
15
|
-
"version": "1.3.
|
|
15
|
+
"version": "1.3.4",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "Anderson Melo"
|
|
18
18
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "discoverylab",
|
|
3
3
|
"description": "AI-powered app testing & marketing asset generator. Record mobile/web apps, run automated tests with Maestro & Playwright, and generate professional screenshots, GIFs, and test reports.",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Anderson Melo",
|
|
7
7
|
"email": "anderson.90@gmail.com"
|
|
@@ -240,7 +240,9 @@ async function startRender(projectId, templateId, props, onProgress) {
|
|
|
240
240
|
}
|
|
241
241
|
async function renderAsync(job, bundlePath, templateId, compositionId, props, onProgress) {
|
|
242
242
|
job.status = "rendering";
|
|
243
|
+
const originalCwd = process.cwd();
|
|
243
244
|
try {
|
|
245
|
+
process.chdir(DATA_DIR);
|
|
244
246
|
const { selectComposition, renderMedia } = await import("@remotion/renderer");
|
|
245
247
|
const realVideoDuration = getVideoDuration(props.videoUrl);
|
|
246
248
|
const optimizedProps = optimizeTemplatePropsForRender(templateId, props, realVideoDuration);
|
|
@@ -279,6 +281,8 @@ async function renderAsync(job, bundlePath, templateId, compositionId, props, on
|
|
|
279
281
|
job.error = err.message;
|
|
280
282
|
job.completedAt = Date.now();
|
|
281
283
|
throw err;
|
|
284
|
+
} finally {
|
|
285
|
+
process.chdir(originalCwd);
|
|
282
286
|
}
|
|
283
287
|
}
|
|
284
288
|
function getVideoDuration(videoUrl) {
|
package/dist/cli.js
CHANGED
|
@@ -389,7 +389,7 @@ program.command("serve").alias("server").description("Start the DiscoveryLab web
|
|
|
389
389
|
console.log(chalk.cyan("\n DiscoveryLab"));
|
|
390
390
|
console.log(chalk.gray(" AI-powered app testing & evidence generator\n"));
|
|
391
391
|
try {
|
|
392
|
-
const { startServer } = await import("./server-
|
|
392
|
+
const { startServer } = await import("./server-QKZXPZRC.js");
|
|
393
393
|
await startServer(port);
|
|
394
394
|
console.log(chalk.green(` Server running at http://localhost:${port}`));
|
|
395
395
|
console.log(chalk.gray(" Press Ctrl+C to stop\n"));
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veolab/discoverylab",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "AI-powered app testing & evidence generator - Claude Code Plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"claude-plugin": {
|
|
69
69
|
"name": "DiscoveryLab",
|
|
70
70
|
"description": "AI-powered app testing & evidence generator",
|
|
71
|
-
"version": "1.3.
|
|
71
|
+
"version": "1.3.4",
|
|
72
72
|
"tools": [
|
|
73
73
|
"dlab.capture.screen",
|
|
74
74
|
"dlab.capture.emulator",
|