scenri 0.6.10 → 0.6.11
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 +8 -0
- package/dist/serve.js +26 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.11](https://github.com/tonygorb/Scenri/compare/v0.6.10...v0.6.11) (2026-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **engine-codex:** say what a usage limit means instead of quoting the banner ([f769d81](https://github.com/tonygorb/Scenri/commit/f769d812675e8671c46959c6b2007808cb3fa97e))
|
|
9
|
+
* **engine-codex:** say what a usage limit means instead of quoting the banner ([edd2155](https://github.com/tonygorb/Scenri/commit/edd2155fe1bf6592376feef9ab9871e1c51ca3b1))
|
|
10
|
+
|
|
3
11
|
## [0.6.10](https://github.com/tonygorb/Scenri/compare/v0.6.9...v0.6.10) (2026-08-29)
|
|
4
12
|
|
|
5
13
|
|
package/dist/serve.js
CHANGED
|
@@ -2140,13 +2140,26 @@ function createRunner(opts = {}) {
|
|
|
2140
2140
|
child.on("exit", (code) => {
|
|
2141
2141
|
if (code === 0) {
|
|
2142
2142
|
finish("ok", resolve);
|
|
2143
|
-
|
|
2144
|
-
|
|
2143
|
+
return;
|
|
2144
|
+
}
|
|
2145
|
+
const limit = /You've hit your usage limit\.(?:[^\n]*?\btry again at ([^.\n]+)\.)?/.exec(stderr);
|
|
2146
|
+
if (limit) {
|
|
2147
|
+
const when = limit[1]?.trim();
|
|
2145
2148
|
finish(
|
|
2146
2149
|
`exit-${code ?? "unknown"}`,
|
|
2147
|
-
() => reject(
|
|
2150
|
+
() => reject(
|
|
2151
|
+
new Error(
|
|
2152
|
+
`Your Codex plan's usage limit is used up${when ? ` until ${when}` : ""}. Generation resumes on its own then, or add credits from your Codex account.`
|
|
2153
|
+
)
|
|
2154
|
+
)
|
|
2148
2155
|
);
|
|
2156
|
+
return;
|
|
2149
2157
|
}
|
|
2158
|
+
const snippet2 = stderr.trim().slice(0, 200);
|
|
2159
|
+
finish(
|
|
2160
|
+
`exit-${code ?? "unknown"}`,
|
|
2161
|
+
() => reject(new Error(`codex exited with code ${code ?? "unknown"}${snippet2 ? `: ${snippet2}` : ""}`))
|
|
2162
|
+
);
|
|
2150
2163
|
});
|
|
2151
2164
|
});
|
|
2152
2165
|
}
|
|
@@ -8212,6 +8225,16 @@ function registerImageRoutes(app, deps) {
|
|
|
8212
8225
|
|
|
8213
8226
|
// src/release/notes.data.ts
|
|
8214
8227
|
var RELEASES = [
|
|
8228
|
+
{
|
|
8229
|
+
version: "0.6.11",
|
|
8230
|
+
date: "2026-08-29",
|
|
8231
|
+
sections: [
|
|
8232
|
+
{
|
|
8233
|
+
heading: "Create",
|
|
8234
|
+
body: "Hitting your Codex plan's usage limit now says so in plain words, with the time it comes back, instead of a technical session listing."
|
|
8235
|
+
}
|
|
8236
|
+
]
|
|
8237
|
+
},
|
|
8215
8238
|
{
|
|
8216
8239
|
version: "0.6.10",
|
|
8217
8240
|
date: "2026-08-29",
|