@veolab/discoverylab 1.3.1 → 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.
@@ -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.1",
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": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "author": {
6
6
  "name": "Anderson Melo",
7
7
  "email": "anderson.90@gmail.com"
@@ -16,7 +16,7 @@ import {
16
16
  resolveAndroidDeviceSerial,
17
17
  runMaestroTest,
18
18
  tapViaIdb
19
- } from "./chunk-3QRQEDWR.js";
19
+ } from "./chunk-VEIZLLCI.js";
20
20
  import {
21
21
  APP_VERSION
22
22
  } from "./chunk-6EGBXRDK.js";
@@ -17,7 +17,7 @@ import {
17
17
  runMaestroTest,
18
18
  runMaestroWithCapture,
19
19
  startMaestroStudio
20
- } from "./chunk-3QRQEDWR.js";
20
+ } from "./chunk-VEIZLLCI.js";
21
21
  import {
22
22
  createFormSubmissionScript,
23
23
  createLoginScript,
@@ -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 BUNDLED_TEMPLATES_DIR = join(__dirname, "..", "..", "templates");
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 bundledManifest = join(BUNDLED_TEMPLATES_DIR, MANIFEST_FILE);
25
- const bundledBundle = join(BUNDLED_TEMPLATES_DIR, BUNDLE_DIR);
26
- if (existsSync(bundledManifest) && existsSync(bundledBundle)) {
27
- return BUNDLED_TEMPLATES_DIR;
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-FO3UVUZU.js");
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-OCRMOQ4U.js");
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-VRM42PML.js";
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-4L76GPRC.js";
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-3QRQEDWR.js";
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-VRM42PML.js";
7
- import "./chunk-3QRQEDWR.js";
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";
@@ -104,7 +104,7 @@ import {
104
104
  uiStatusTool,
105
105
  uiTools,
106
106
  videoInfoTool
107
- } from "./chunk-4L76GPRC.js";
107
+ } from "./chunk-H4FYBUX6.js";
108
108
  import {
109
109
  setupCheckTool,
110
110
  setupInitTool,
@@ -112,7 +112,7 @@ import {
112
112
  setupTools
113
113
  } from "./chunk-FNUN7EPB.js";
114
114
  import "./chunk-XKX6NBHF.js";
115
- import "./chunk-3QRQEDWR.js";
115
+ import "./chunk-VEIZLLCI.js";
116
116
  import "./chunk-6EGBXRDK.js";
117
117
  import "./chunk-FIL7IWEL.js";
118
118
  import "./chunk-LB3RNE3O.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veolab/discoverylab",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
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.1",
71
+ "version": "1.3.2",
72
72
  "tools": [
73
73
  "dlab.capture.screen",
74
74
  "dlab.capture.emulator",