@alwith/module-computer 0.1.4 → 0.1.5

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/README.md CHANGED
@@ -18,8 +18,13 @@ Windows uses named pipes. Linux is not enabled. Permission covers the local
18
18
  desktop, not an application allowlist. Elevated Windows apps may require OS
19
19
  privileges the ordinary driver does not have. No UIAccess helper is installed.
20
20
 
21
- `./artifacts` supplies pinned URLs and SHA-256 digests. Stage the executable,
22
- distribute `licenses/`, and sign it with the application. The MCP proxy uses an
21
+ `./artifacts` supplies pinned download URLs or package-relative `bundled` paths,
22
+ with SHA-256 digests. Apple Silicon macOS uses the archive in `artifacts/` with
23
+ the multi-display cursor patch; other targets use upstream downloads. Resolve
24
+ `bundled` paths relative to the `./artifacts` module and verify the archive before
25
+ extracting it. Stage the executable, distribute `licenses/`, and sign it with the
26
+ application. Patch sources and the rebuild script live in this repository under
27
+ `driver-patches/` and are excluded from the npm package. The MCP proxy uses an
23
28
  explicit embedded endpoint and cannot start a standalone daemon after revocation.
24
29
 
25
30
  Run `bun run test`, `bun run build`, and `bun run test:rust` in this directory.
@@ -2,9 +2,9 @@ declare const _default: {
2
2
  readonly version: "0.36.0";
3
3
  readonly artifacts: {
4
4
  readonly "aarch64-apple-darwin": {
5
- readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-darwin-universal-binary.tar.gz";
6
- readonly sha256: "584e44435a26f5aa90c2f0097242307efbd63e843fc3f61072147c1963b0e592";
7
- readonly archive: "cua-driver-rs-0.36.0-darwin-universal-binary.tar.gz";
5
+ readonly bundled: "../artifacts/cua-driver-0.36.0-alwith.1-aarch64-apple-darwin.tar.gz";
6
+ readonly sha256: "67620fc43928f06ddebe09e442a15f1bc997772268f427bbb368e3add38c86bb";
7
+ readonly archive: "cua-driver-0.36.0-alwith.1-aarch64-apple-darwin.tar.gz";
8
8
  readonly executable: "cua-driver";
9
9
  };
10
10
  readonly "x86_64-unknown-linux-gnu": {
package/dist/artifacts.js CHANGED
@@ -1 +1 @@
1
- var a={version:"0.36.0",artifacts:{"aarch64-apple-darwin":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-darwin-universal-binary.tar.gz",sha256:"584e44435a26f5aa90c2f0097242307efbd63e843fc3f61072147c1963b0e592",archive:"cua-driver-rs-0.36.0-darwin-universal-binary.tar.gz",executable:"cua-driver"},"x86_64-unknown-linux-gnu":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-linux-x86_64-binary.tar.gz",sha256:"05dae2160c86bdf4855c279d30898213d7a150edb1992b7470afdd69f0df4064",archive:"cua-driver-rs-0.36.0-linux-x86_64-binary.tar.gz",executable:"cua-driver"},"aarch64-unknown-linux-gnu":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-linux-arm64-binary.tar.gz",sha256:"f64a33889605944a4e5af0e6036496137a25d6375f041d7c56e65c3be456aab2",archive:"cua-driver-rs-0.36.0-linux-arm64-binary.tar.gz",executable:"cua-driver"},"x86_64-pc-windows-msvc":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-windows-x86_64-binary.zip",sha256:"f8c47024b626f4e0e70f8428d2998df39e4879110c5722a29d5fd03e367353ad",archive:"cua-driver-rs-0.36.0-windows-x86_64-binary.zip",executable:"cua-driver.exe"},"aarch64-pc-windows-msvc":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-windows-arm64-binary.zip",sha256:"520ea584cf11c074bccc4fd2328e8f2b34ec43de9328d97afb7fd03f761b55ee",archive:"cua-driver-rs-0.36.0-windows-arm64-binary.zip",executable:"cua-driver.exe"}}};export{a as default};
1
+ var a={version:"0.36.0",artifacts:{"aarch64-apple-darwin":{bundled:"../artifacts/cua-driver-0.36.0-alwith.1-aarch64-apple-darwin.tar.gz",sha256:"67620fc43928f06ddebe09e442a15f1bc997772268f427bbb368e3add38c86bb",archive:"cua-driver-0.36.0-alwith.1-aarch64-apple-darwin.tar.gz",executable:"cua-driver"},"x86_64-unknown-linux-gnu":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-linux-x86_64-binary.tar.gz",sha256:"05dae2160c86bdf4855c279d30898213d7a150edb1992b7470afdd69f0df4064",archive:"cua-driver-rs-0.36.0-linux-x86_64-binary.tar.gz",executable:"cua-driver"},"aarch64-unknown-linux-gnu":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-linux-arm64-binary.tar.gz",sha256:"f64a33889605944a4e5af0e6036496137a25d6375f041d7c56e65c3be456aab2",archive:"cua-driver-rs-0.36.0-linux-arm64-binary.tar.gz",executable:"cua-driver"},"x86_64-pc-windows-msvc":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-windows-x86_64-binary.zip",sha256:"f8c47024b626f4e0e70f8428d2998df39e4879110c5722a29d5fd03e367353ad",archive:"cua-driver-rs-0.36.0-windows-x86_64-binary.zip",executable:"cua-driver.exe"},"aarch64-pc-windows-msvc":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.36.0/cua-driver-rs-0.36.0-windows-arm64-binary.zip",sha256:"520ea584cf11c074bccc4fd2328e8f2b34ec43de9328d97afb7fd03f761b55ee",archive:"cua-driver-rs-0.36.0-windows-arm64-binary.zip",executable:"cua-driver.exe"}}};export{a as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwith/module-computer",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "files": [
@@ -11,7 +11,8 @@
11
11
  "licenses",
12
12
  "proxy",
13
13
  "rust/Cargo.toml",
14
- "rust/src"
14
+ "rust/src",
15
+ "artifacts"
15
16
  ],
16
17
  "exports": {
17
18
  ".": {