@veolab/discoverylab 1.3.0 → 1.3.2
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +7 -0
- package/dist/{chunk-VRM42PML.js → chunk-2RQ7BDPA.js} +1 -1
- package/dist/{chunk-4L76GPRC.js → chunk-H4FYBUX6.js} +1 -1
- package/dist/{chunk-3QRQEDWR.js → chunk-VEIZLLCI.js} +11 -5
- package/dist/cli.js +2 -2
- package/dist/index.js +3 -3
- package/dist/{server-FO3UVUZU.js → server-RBJ2VROA.js} +2 -2
- package/dist/templates/bundle/161.bundle.js +4462 -0
- package/dist/templates/bundle/161.bundle.js.map +1 -0
- package/dist/templates/bundle/208.bundle.js +3479 -0
- package/dist/templates/bundle/208.bundle.js.map +1 -0
- package/dist/templates/bundle/304.bundle.js +11 -0
- package/dist/templates/bundle/304.bundle.js.map +1 -0
- package/dist/templates/bundle/45.bundle.js +93932 -0
- package/dist/templates/bundle/45.bundle.js.map +1 -0
- package/dist/templates/bundle/624.bundle.js +205 -0
- package/dist/templates/bundle/624.bundle.js.map +1 -0
- package/dist/templates/bundle/63.bundle.js +11 -0
- package/dist/templates/bundle/63.bundle.js.map +1 -0
- package/dist/templates/bundle/69.bundle.js +14678 -0
- package/dist/templates/bundle/69.bundle.js.map +1 -0
- package/dist/templates/bundle/761.bundle.js +64 -0
- package/dist/templates/bundle/761.bundle.js.map +1 -0
- package/dist/templates/bundle/872.bundle.js +451 -0
- package/dist/templates/bundle/872.bundle.js.map +1 -0
- package/dist/templates/bundle/892.bundle.js +11 -0
- package/dist/templates/bundle/892.bundle.js.map +1 -0
- package/dist/templates/bundle/997.bundle.js +258 -0
- package/dist/templates/bundle/997.bundle.js.map +1 -0
- package/dist/templates/bundle/bundle.js +40546 -0
- package/dist/templates/bundle/bundle.js.map +1 -0
- package/dist/templates/bundle/favicon.ico +0 -0
- package/dist/templates/bundle/index.html +49 -0
- package/dist/templates/bundle/public/mockup-android-google-pixel-9-pro.png +0 -0
- package/dist/templates/bundle/public/mockup-android.png +0 -0
- package/dist/templates/bundle/public/mockup-ios-iphone-17-pro.png +0 -0
- package/dist/templates/bundle/source-map-helper.wasm +0 -0
- package/dist/templates/manifest.json +25 -0
- package/dist/{tools-OCRMOQ4U.js → tools-EYWRLTRB.js} +2 -2
- package/package.json +2 -2
|
@@ -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": "
|
|
15
|
+
"version": "1.3.2",
|
|
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": "
|
|
4
|
+
"version": "1.3.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Anderson Melo",
|
|
7
7
|
"email": "anderson.90@gmail.com"
|
package/README.md
CHANGED
|
@@ -117,6 +117,13 @@ npm run build:host-runtime
|
|
|
117
117
|
|
|
118
118
|
Regular `npm run build` attempts this step in best-effort mode so the JS build still succeeds on machines without Rust, but distributable builds that need local capture should include the runtime binary.
|
|
119
119
|
|
|
120
|
+
Video templates are also staged automatically during `npm run build`. DiscoveryLab will copy templates from:
|
|
121
|
+
|
|
122
|
+
- `DISCOVERYLAB_TEMPLATE_SOURCE_DIR` if set
|
|
123
|
+
- otherwise `~/.discoverylab/templates`
|
|
124
|
+
|
|
125
|
+
into `dist/templates`, so npm packages and fresh installs keep the template toggle icons and Remotion renders working without a second manual copy step.
|
|
126
|
+
|
|
120
127
|
For a local distributable package that already contains the bundled runtime for the current host, run:
|
|
121
128
|
|
|
122
129
|
```bash
|
|
@@ -10,7 +10,11 @@ import { fileURLToPath } from "url";
|
|
|
10
10
|
var MANIFEST_FILE = "manifest.json";
|
|
11
11
|
var BUNDLE_DIR = "bundle";
|
|
12
12
|
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
13
|
-
var
|
|
13
|
+
var BUNDLED_TEMPLATES_DIR_CANDIDATES = [
|
|
14
|
+
join(__dirname, "templates"),
|
|
15
|
+
join(__dirname, "..", "templates"),
|
|
16
|
+
join(__dirname, "..", "..", "templates")
|
|
17
|
+
];
|
|
14
18
|
var cachedManifest = null;
|
|
15
19
|
var cachedTemplatesDir = null;
|
|
16
20
|
var cachedAt = 0;
|
|
@@ -21,10 +25,12 @@ function resolveTemplatesDir() {
|
|
|
21
25
|
if (existsSync(localManifest) && existsSync(localBundle)) {
|
|
22
26
|
return TEMPLATES_DIR;
|
|
23
27
|
}
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
for (const candidate of BUNDLED_TEMPLATES_DIR_CANDIDATES) {
|
|
29
|
+
const bundledManifest = join(candidate, MANIFEST_FILE);
|
|
30
|
+
const bundledBundle = join(candidate, BUNDLE_DIR);
|
|
31
|
+
if (existsSync(bundledManifest) && existsSync(bundledBundle)) {
|
|
32
|
+
return candidate;
|
|
33
|
+
}
|
|
28
34
|
}
|
|
29
35
|
return null;
|
|
30
36
|
}
|
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-RBJ2VROA.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"));
|
|
@@ -501,7 +501,7 @@ program.command("mcp").description("Run as MCP server (for Claude Code integrati
|
|
|
501
501
|
integrationTools,
|
|
502
502
|
taskHubTools,
|
|
503
503
|
esvpTools
|
|
504
|
-
} = await import("./tools-
|
|
504
|
+
} = await import("./tools-EYWRLTRB.js");
|
|
505
505
|
mcpServer.registerTools([
|
|
506
506
|
...uiTools,
|
|
507
507
|
...projectTools,
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
startServer,
|
|
4
4
|
stopServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2RQ7BDPA.js";
|
|
6
6
|
import {
|
|
7
7
|
analyzeTools,
|
|
8
8
|
canvasTools,
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
templateTools,
|
|
16
16
|
testingTools,
|
|
17
17
|
uiTools
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-H4FYBUX6.js";
|
|
19
19
|
import {
|
|
20
20
|
setupTools
|
|
21
21
|
} from "./chunk-FNUN7EPB.js";
|
|
22
22
|
import {
|
|
23
23
|
mcpServer
|
|
24
24
|
} from "./chunk-XKX6NBHF.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VEIZLLCI.js";
|
|
26
26
|
import "./chunk-6EGBXRDK.js";
|
|
27
27
|
import "./chunk-FIL7IWEL.js";
|
|
28
28
|
import "./chunk-N6JJ2RGV.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
getServerPort,
|
|
4
4
|
startServer,
|
|
5
5
|
stopServer
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2RQ7BDPA.js";
|
|
7
|
+
import "./chunk-VEIZLLCI.js";
|
|
8
8
|
import "./chunk-6EGBXRDK.js";
|
|
9
9
|
import "./chunk-FIL7IWEL.js";
|
|
10
10
|
import "./chunk-N6JJ2RGV.js";
|