@tempo-ai/visual-review 0.0.124 → 0.0.125-staging.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/dist/bin.js CHANGED
@@ -1,18 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __tempoCreateRequire } from 'node:module'; const require = __tempoCreateRequire(import.meta.url);
3
+ import "./chunk-WRI3HTCJ.js";
3
4
 
4
5
  // src/bin.ts
5
6
  async function main(argv = process.argv.slice(2)) {
6
7
  const [command, ...commandArgs] = argv;
7
8
  switch (command) {
8
9
  case "capture":
9
- return await (await import("./cli-KP6UZ2X7.js")).main(commandArgs);
10
+ return await (await import("./cli-TS2B77QU.js")).main(commandArgs);
10
11
  case "claim":
11
- return await (await import("./claim-J654JAS6.js")).main(commandArgs);
12
+ return await (await import("./claim-47UEXY7A.js")).main(commandArgs);
12
13
  case "report":
13
- return await (await import("./report-LTFCAIRI.js")).main(commandArgs);
14
+ return await (await import("./report-TEA7R5RI.js")).main(commandArgs);
14
15
  case "install-browsers":
15
- return await (await import("./install-browsers-5RCJN3AK.js")).main(commandArgs);
16
+ return await (await import("./install-browsers-VPIMDVB6.js")).main(commandArgs);
16
17
  default:
17
18
  throw new Error(
18
19
  "usage: tempo-visual-review <capture|claim|report|install-browsers> [options]"
package/dist/bin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/bin.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * `tempo-visual-review` — the published dispatcher. Subcommands load lazily:\n * `claim` and `report` run before a project's dependencies exist and need\n * only node builtins, `fetch` and `gh`, so they must never pull the capture\n * engine (and its native modules) into memory.\n */\nexport async function main(argv = process.argv.slice(2)): Promise<number> {\n const [command, ...commandArgs] = argv;\n switch (command) {\n case \"capture\":\n return await (await import(\"./cli\")).main(commandArgs);\n case \"claim\":\n return await (await import(\"./claim\")).main(commandArgs);\n case \"report\":\n return await (await import(\"./report\")).main(commandArgs);\n case \"install-browsers\":\n return await (await import(\"./install-browsers\")).main(commandArgs);\n default:\n throw new Error(\n \"usage: tempo-visual-review <capture|claim|report|install-browsers> [options]\",\n );\n }\n}\n\n// Hard-exit rather than letting the event loop drain: the devserver\n// supervisor leaves live handles behind (child process plumbing, file\n// watchers) that would keep the process alive until the CI job timeout.\n// Everything durable (manifest, uploads, GITHUB_OUTPUT) is awaited inside\n// each command's main() before this runs.\nmain()\n .then((code) => process.exit(code))\n .catch((error) => {\n console.error(\n `[visual-review] ${error instanceof Error ? error.message : error}`,\n );\n process.exit(1);\n });\n"],"mappings":";;;;AAQA,eAAsB,KAAK,OAAO,QAAQ,KAAK,MAAM,CAAC,GAAoB;AACxE,QAAM,CAAC,SAAS,GAAG,WAAW,IAAI;AAClC,UAAQ,SAAS;AAAA,IACf,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,mBAAO,GAAG,KAAK,WAAW;AAAA,IACvD,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,qBAAS,GAAG,KAAK,WAAW;AAAA,IACzD,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,sBAAU,GAAG,KAAK,WAAW;AAAA,IAC1D,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,gCAAoB,GAAG,KAAK,WAAW;AAAA,IACpE;AACE,YAAM,IAAI;AAAA,QACR;AAAA,MACF;AAAA,EACJ;AACF;AAOA,KAAK,EACF,KAAK,CAAC,SAAS,QAAQ,KAAK,IAAI,CAAC,EACjC,MAAM,CAAC,UAAU;AAChB,UAAQ;AAAA,IACN,mBAAmB,iBAAiB,QAAQ,MAAM,UAAU,KAAK;AAAA,EACnE;AACA,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
1
+ {"version":3,"sources":["../src/bin.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * `tempo-visual-review` — the published dispatcher. Subcommands load lazily:\n * `claim` and `report` run before a project's dependencies exist and need\n * only node builtins, `fetch` and `gh`, so they must never pull the capture\n * engine (and its native modules) into memory.\n */\nexport async function main(argv = process.argv.slice(2)): Promise<number> {\n const [command, ...commandArgs] = argv;\n switch (command) {\n case \"capture\":\n return await (await import(\"./cli\")).main(commandArgs);\n case \"claim\":\n return await (await import(\"./claim\")).main(commandArgs);\n case \"report\":\n return await (await import(\"./report\")).main(commandArgs);\n case \"install-browsers\":\n return await (await import(\"./install-browsers\")).main(commandArgs);\n default:\n throw new Error(\n \"usage: tempo-visual-review <capture|claim|report|install-browsers> [options]\",\n );\n }\n}\n\n// Hard-exit rather than letting the event loop drain: the devserver\n// supervisor leaves live handles behind (child process plumbing, file\n// watchers) that would keep the process alive until the CI job timeout.\n// Everything durable (manifest, uploads, GITHUB_OUTPUT) is awaited inside\n// each command's main() before this runs.\nmain()\n .then((code) => process.exit(code))\n .catch((error) => {\n console.error(\n `[visual-review] ${error instanceof Error ? error.message : error}`,\n );\n process.exit(1);\n });\n"],"mappings":";;;;;AAQA,eAAsB,KAAK,OAAO,QAAQ,KAAK,MAAM,CAAC,GAAoB;AACxE,QAAM,CAAC,SAAS,GAAG,WAAW,IAAI;AAClC,UAAQ,SAAS;AAAA,IACf,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,mBAAO,GAAG,KAAK,WAAW;AAAA,IACvD,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,qBAAS,GAAG,KAAK,WAAW;AAAA,IACzD,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,sBAAU,GAAG,KAAK,WAAW;AAAA,IAC1D,KAAK;AACH,aAAO,OAAO,MAAM,OAAO,gCAAoB,GAAG,KAAK,WAAW;AAAA,IACpE;AACE,YAAM,IAAI;AAAA,QACR;AAAA,MACF;AAAA,EACJ;AACF;AAOA,KAAK,EACF,KAAK,CAAC,SAAS,QAAQ,KAAK,IAAI,CAAC,EACjC,MAAM,CAAC,UAAU;AAChB,UAAQ;AAAA,IACN,mBAAmB,iBAAiB,QAAQ,MAAM,UAAU,KAAK;AAAA,EACnE;AACA,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}