@mind-harness/mh-browser 0.2.7 → 0.2.8

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Mind Harness",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "permissions": ["tabGroups"],
6
6
  "background": { "service_worker": "sw.js" }
7
7
  }
package/lib/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { createRequire } from "node:module";
1
2
  import { basename, dirname, extname, isAbsolute, join, posix, relative, resolve, win32 } from "node:path";
2
3
  import z from "@deepseek-ai/schemastery";
3
4
  import { resolveDshHome } from "@deepseek-ai/dsh-home-paths";
@@ -10,7 +11,6 @@ import { accessSync, constants, readFileSync, realpathSync, statSync } from "nod
10
11
  import { access, lstat, mkdir, open, readFile, readdir, readlink, realpath, rename, unlink, writeFile } from "node:fs/promises";
11
12
  import { z as z$1 } from "zod";
12
13
  import { Service } from "@deepseek-ai/cordis";
13
- import { chromium } from "playwright";
14
14
  import { execFile } from "node:child_process";
15
15
  import { homedir } from "node:os";
16
16
  import { fileURLToPath } from "node:url";
@@ -3678,6 +3678,7 @@ function command(file, args, signal) {
3678
3678
  }
3679
3679
  //#endregion
3680
3680
  //#region lib/types/service/browser.js
3681
+ const { chromium } = createRequire(import.meta.url)("playwright");
3681
3682
  /**
3682
3683
  * Playwright appends `--no-sandbox` unless this is true, and branded Chrome
3683
3684
  * then warns that stability and security will suffer. An installed browser
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mind-harness/mh-browser",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Opens pages in a real browser for the agent, keeps chosen Agent Views in context, and hands the browser to you when a person is needed.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "files": [