@zenera/cli 1.1.35 → 1.1.36
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/dist/meta/launch.js +3 -1
- package/package.json +3 -3
package/dist/meta/launch.js
CHANGED
|
@@ -143,7 +143,9 @@ export function absorb(event, out, sink, width) {
|
|
|
143
143
|
export async function launch(opts) {
|
|
144
144
|
const shown = opts.sink ?? windowSink();
|
|
145
145
|
const sink = opts.log ? tee(shown, opts.log) : shown;
|
|
146
|
-
|
|
146
|
+
// Without a terminal nothing wraps, and a cut line is lost from the log too.
|
|
147
|
+
const width = opts.width ??
|
|
148
|
+
(process.stderr.isTTY ? Math.max(40, (process.stderr.columns ?? 100) - 4) : Infinity);
|
|
147
149
|
const start = opts.spawn ?? nodeSpawn;
|
|
148
150
|
const out = { answer: '', exitCode: 0, events: [] };
|
|
149
151
|
const child = start(opts.binary.command, [...opts.binary.args, ...opts.args], {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenera/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.36",
|
|
4
4
|
"description": "Command-line front end for @zenera/neo: agentic projects you can run, share and commit.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"@google/genai": "^2.30.0",
|
|
55
55
|
"@inkjs/ui": "^2.0.0",
|
|
56
56
|
"@openrouter/sdk": "^1.4.25",
|
|
57
|
-
"@zenera/neo": "^1.1.
|
|
58
|
-
"@zenera/view": "^1.1.
|
|
57
|
+
"@zenera/neo": "^1.1.36",
|
|
58
|
+
"@zenera/view": "^1.1.36",
|
|
59
59
|
"google-auth-library": "^10.0.0",
|
|
60
60
|
"ink": "^7.1.1",
|
|
61
61
|
"openai": "^6.0.0",
|