ucode-agent 1.16.0 → 1.16.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/ui/screen.js +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ucode-agent",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "ucode - a terminal coding agent that reads, edits and runs your code, on NVIDIA and Cohere models.",
5
5
  "type": "module",
6
6
  "main": "ucode.js",
package/src/ui/screen.js CHANGED
@@ -101,7 +101,7 @@ const title = (t) => `${ESC}]0;${t}\x07`;
101
101
  * Fixed rows below the header: the gap under it, the gap above the input box,
102
102
  * the input box's two borders, the blank row inside it, and the status row.
103
103
  */
104
- const CHROME_BELOW = 8;
104
+ const CHROME_BELOW = 6;
105
105
 
106
106
  /** How long one sentence of reasoning holds the line before the next takes it. */
107
107
  const THOUGHT_HOLD_MS = 1100;
@@ -285,6 +285,11 @@ export class Screen {
285
285
  this.add(boxRow(` ${lead} ${chalk.white(row)}`, width, edge));
286
286
  });
287
287
  this.add(boxBottom(width, edge));
288
+ // Room between what you asked for and what came back. Without it the reply
289
+ // starts against the bottom of your own message and the two read as one
290
+ // block of text.
291
+ this.add('');
292
+ this.add('');
288
293
  this.render();
289
294
  }
290
295
 
@@ -1360,8 +1365,6 @@ export class Screen {
1360
1365
  // reads as part of the input rather than as the answer above it.
1361
1366
  '',
1362
1367
  ...this.inputBox(),
1363
- '',
1364
- '',
1365
1368
  ];
1366
1369
 
1367
1370
  // The cursor is hidden for the duration of the paint. Without this it is