scenri 0.3.1 → 0.3.2
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
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.2](https://github.com/tonygorb/scenri/compare/v0.3.1...v0.3.2) (2026-08-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* suggest sudo and drop stale errors in the codex setup dialog ([da88610](https://github.com/tonygorb/scenri/commit/da886109666e9613b954a6f3d6c8299de0fdf944))
|
|
9
|
+
* suggest sudo and drop stale errors in the codex setup dialog ([1283f3c](https://github.com/tonygorb/scenri/commit/1283f3c5f93a3204bff6ba9e33ebc670b6004034))
|
|
10
|
+
|
|
3
11
|
## [0.3.1](https://github.com/tonygorb/scenri/compare/v0.3.0...v0.3.1) (2026-08-20)
|
|
4
12
|
|
|
5
13
|
|
package/dist/serve.js
CHANGED
|
@@ -2097,6 +2097,7 @@ function pick(v, allowed, max) {
|
|
|
2097
2097
|
}
|
|
2098
2098
|
var INSTALL_COMMAND = "npm install -g @openai/codex";
|
|
2099
2099
|
var INSTALL_DOCS_URL = "https://developers.openai.com/codex/cli";
|
|
2100
|
+
var INSTALL_COMMAND_SUDO = "sudo npm install -g @openai/codex";
|
|
2100
2101
|
var DEFAULT_INSTALL_TIMEOUT_MS = 18e4;
|
|
2101
2102
|
function stateFrom(avail) {
|
|
2102
2103
|
if (avail.ok) return "ready";
|
|
@@ -2155,6 +2156,14 @@ function createCodexSetup(opts = {}) {
|
|
|
2155
2156
|
}
|
|
2156
2157
|
return { ok: true };
|
|
2157
2158
|
}
|
|
2159
|
+
if (process.platform !== "win32" && /EACCES|permission denied/i.test(res.stderr)) {
|
|
2160
|
+
return {
|
|
2161
|
+
ok: false,
|
|
2162
|
+
fallbackCommand: INSTALL_COMMAND_SUDO,
|
|
2163
|
+
docsUrl: INSTALL_DOCS_URL,
|
|
2164
|
+
detail: "npm needs your password to install into its system folder. Run the command below and type your password when asked; it stays invisible while you type."
|
|
2165
|
+
};
|
|
2166
|
+
}
|
|
2158
2167
|
const detail = (res.spawnError ?? res.stderr).trim().slice(0, 400) || void 0;
|
|
2159
2168
|
return { ok: false, fallbackCommand: INSTALL_COMMAND, docsUrl: INSTALL_DOCS_URL, detail };
|
|
2160
2169
|
},
|
|
@@ -6515,6 +6524,16 @@ function registerImageRoutes(app, deps) {
|
|
|
6515
6524
|
|
|
6516
6525
|
// src/release/notes.data.ts
|
|
6517
6526
|
var RELEASES = [
|
|
6527
|
+
{
|
|
6528
|
+
version: "0.3.2",
|
|
6529
|
+
date: "2026-08-20",
|
|
6530
|
+
sections: [
|
|
6531
|
+
{
|
|
6532
|
+
heading: "Fixes",
|
|
6533
|
+
body: "When your computer refuses the Codex CLI install, setup now offers the command that gets past it instead of repeating the one that just failed. And once a step has succeeded, an old error clears instead of lingering under the green check."
|
|
6534
|
+
}
|
|
6535
|
+
]
|
|
6536
|
+
},
|
|
6518
6537
|
{
|
|
6519
6538
|
version: "0.3.1",
|
|
6520
6539
|
date: "2026-08-20",
|