relmio 0.2.14 → 0.2.15

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/CHANGELOG.md CHANGED
@@ -7,6 +7,17 @@ checks the registry separately after publication.
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## [0.2.15] - 2026-08-05
11
+
12
+ ### Fixed
13
+
14
+ - Exit cleanly when WinGet or another non-interactive validator probes the
15
+ portable command without arguments, while keeping the browser wizard for
16
+ interactive Command Prompt and PowerShell sessions.
17
+ - Add a redirected-stdio portable smoke test so future WinGet candidates cannot
18
+ regress into a never-ending default launch.
19
+ - Exclude local npm cache directories from portable release archives.
20
+
10
21
  ## [0.2.14] - 2026-08-04
11
22
 
12
23
  ### Added
package/README.md CHANGED
@@ -72,7 +72,7 @@ installing the private n8n sidecar.
72
72
  </figure>
73
73
 
74
74
  Use the site's [Install wizard](https://relmio.vercel.app/install) page for a
75
- clickable macOS/Linux, PowerShell, Command Prompt, and NPX command switcher
75
+ clickable macOS/Linux, Homebrew, PowerShell, Command Prompt, and NPX command switcher
76
76
  tailored to the current self-hosted n8n and Hostinger VPS setup path.
77
77
 
78
78
  ### Browser interface and theme modes
@@ -96,6 +96,12 @@ the VPS.
96
96
  curl -fsSL https://relmio.vercel.app/install.sh | sh
97
97
  ```
98
98
 
99
+ ### Homebrew (macOS or Linux)
100
+
101
+ ```bash
102
+ brew tap Demonbane18/relmio && brew install relmio
103
+ ```
104
+
99
105
  ### Windows PowerShell
100
106
 
101
107
  ```powershell
@@ -120,9 +126,9 @@ the temporary runtime when the wizard closes. The Command Prompt path runs as
120
126
  the current user and does not request administrator access or change Windows
121
127
  security policy.
122
128
 
123
- Homebrew tap publication and WinGet catalog approval are pending. Their install
124
- commands will be added only after each public package passes a real
125
- package-manager installation test. Use a direct installer above today.
129
+ Homebrew is available from the public `Demonbane18/relmio` tap. The WinGet
130
+ command stays hidden until Microsoft accepts its catalog pull request and the
131
+ catalog updates. Until then, use Homebrew or a direct installer above.
126
132
 
127
133
  Users who already have Node.js 22 or newer can run the npm package directly:
128
134
 
@@ -40,6 +40,12 @@ macOS, Linux, WSL, or Git Bash:
40
40
  curl -fsSL https://relmio.vercel.app/install.sh | sh
41
41
  ```
42
42
 
43
+ Homebrew (macOS or Linux):
44
+
45
+ ```bash
46
+ brew tap Demonbane18/relmio && brew install relmio
47
+ ```
48
+
43
49
  Windows PowerShell:
44
50
 
45
51
  ```powershell
@@ -59,8 +65,9 @@ temporary runtime and verifies its SHA-256 checksum before execution. The
59
65
  Command Prompt route is PowerShell-free, non-admin, and does not change Windows
60
66
  security policy.
61
67
 
62
- Homebrew tap publication and WinGet catalog approval are pending. Until each
63
- public package passes its real install test, use one of the direct bootstrap
68
+ Homebrew is available from the public `Demonbane18/relmio` tap. The WinGet
69
+ command stays hidden until Microsoft accepts its catalog pull request and the
70
+ catalog updates. Until then, use Homebrew or one of the direct bootstrap
64
71
  commands on this page.
65
72
 
66
73
  If you choose the existing-Node fallback, confirm Node is version 22 or newer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relmio",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "Turn a supported ChatGPT/Codex OAuth sign-in into a private OpenAI-compatible endpoint, starting with self-hosted n8n.",
5
5
  "keywords": [
6
6
  "relmio",
package/src/cli.js CHANGED
@@ -29,10 +29,18 @@ export function cliMode(argumentsList) {
29
29
  : "wizard";
30
30
  }
31
31
 
32
+ export function hasInteractiveTerminal({
33
+ input = process.stdin,
34
+ output = process.stdout,
35
+ } = {}) {
36
+ return Boolean(input?.isTTY && output?.isTTY);
37
+ }
38
+
32
39
  export async function runCli({
33
40
  argumentsList = process.argv.slice(2),
34
41
  log = console.log,
35
42
  readPackage = () => readFile(packageJsonUrl, "utf8"),
43
+ isInteractive = hasInteractiveTerminal,
36
44
  } = {}) {
37
45
  if (cliMode(argumentsList) === "version") {
38
46
  const packageJson = JSON.parse(await readPackage());
@@ -43,6 +51,13 @@ export async function runCli({
43
51
  return;
44
52
  }
45
53
 
54
+ if (!isInteractive()) {
55
+ log(
56
+ "Relmio needs an interactive terminal to open the local wizard. Run relmio from Command Prompt, PowerShell, or another terminal.",
57
+ );
58
+ return;
59
+ }
60
+
46
61
  const sessionToken = randomBytes(32).toString("base64url");
47
62
  const wizard = await startWizardServer({ sessionToken });
48
63
  const url = `${wizard.origin}/?session=${sessionToken}`;