@relay-core/cli 0.3.1 → 0.3.3

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/bin/relay-core ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ const { spawnSync } = require("child_process");
3
+ const path = require("path");
4
+ const binary = process.platform === "win32" ? "relay-core-cli.exe" : "relay-core-cli";
5
+ const result = spawnSync(path.join(__dirname, binary), process.argv.slice(2), { stdio: "inherit" });
6
+ process.exit(result.status ?? 1);
Binary file
Binary file
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@relay-core/cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "RelayCore CLI — high-performance Rust traffic interception proxy with TUI",
5
5
  "license": "MIT",
6
6
  "repository": "github:relaycraft/relay-core",
7
7
  "bin": {
8
- "relay-core": "./bin/relay-core-cli"
8
+ "relay-core": "./bin/relay-core"
9
9
  },
10
10
  "files": [
11
11
  "install.js",