hypeframe 0.9.0 → 0.9.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/dist/index.js +12 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -827,7 +827,7 @@ import path8 from "node:path";
|
|
|
827
827
|
// package.json
|
|
828
828
|
var package_default = {
|
|
829
829
|
name: "hypeframe",
|
|
830
|
-
version: "0.9.
|
|
830
|
+
version: "0.9.1",
|
|
831
831
|
description: "Local engine for HypeFrame Web: code clips, video renders and AI agents run on your own machine; the web is just the view.",
|
|
832
832
|
keywords: [
|
|
833
833
|
"hypeframe",
|
|
@@ -4359,6 +4359,17 @@ async function bench(args) {
|
|
|
4359
4359
|
${color.bold(t("bench.title"))} ${color.muted(`(${s.gpu ? t("bench.gpu") : t("bench.cpu")})`)}
|
|
4360
4360
|
`);
|
|
4361
4361
|
const chrome = await prepareChrome(cacheDir(), (percent, what) => void (percent === 0 ? log.info(`${t("render.downloading")} ${color.muted(what)}`) : percent % 20 === 0 && log.detail(`${what} ${percent}%`)));
|
|
4362
|
+
if (isAndroid()) {
|
|
4363
|
+
try {
|
|
4364
|
+
await checkChrome(chrome, { gpu: s.gpu });
|
|
4365
|
+
} catch (e) {
|
|
4366
|
+
log.error(String(e.message).split(`
|
|
4367
|
+
`)[0].slice(0, 280));
|
|
4368
|
+
if (!linuxChromiumReady())
|
|
4369
|
+
log.detail(t("doctor.tryChromiumMini"));
|
|
4370
|
+
return;
|
|
4371
|
+
}
|
|
4372
|
+
}
|
|
4362
4373
|
const srv = http3.createServer((_q, r) => (r.writeHead(200, { "content-type": "text/html" }), r.end("<!doctype html><title>bench</title>")));
|
|
4363
4374
|
await new Promise((ok) => srv.listen(0, "127.0.0.1", ok));
|
|
4364
4375
|
const b = await puppeteer3.launch({
|
package/package.json
CHANGED