@oxecli/oxe 1.0.80 → 1.0.81

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/cli.js CHANGED
@@ -376,7 +376,7 @@ export class CLI {
376
376
  const budget = max_context_tokens - context_overhead_margin;
377
377
  const pct = Math.max(0, Math.min(100, Math.round(((budget - used) / budget) * 100)));
378
378
  const [input, spans] = await askBottomPrompt("You", "❯", this.promptHistory, {
379
- left: "\x1b[90mesc to interrupt\x1b[0m",
379
+ left: "\x1b[90mPress \x1b[1;36mesc\x1b[0m\x1b[90m to interrupt\x1b[0m",
380
380
  right: `\x1b[1;36m${pct}%\x1b[0m \x1b[90muntil auto-compact\x1b[0m`,
381
381
  });
382
382
  if (!input.trim())
package/dist/ui.js CHANGED
@@ -969,8 +969,11 @@ export function renderBufferWithCursor(buffer, pasteSpans, prefix, label, cursor
969
969
  if (hints && (hints.left || hints.right)) {
970
970
  const left = hints.left ?? "";
971
971
  const right = hints.right ?? "";
972
- const gap = Math.max(1, termW - plainLen(left) - plainLen(right));
973
- lines.push(left + " ".repeat(gap) + right);
972
+ // Inset the hint row inside the box (box spans columns 0..boxW-1): a
973
+ // leading space gives left-edge padding, and the right hint ends one
974
+ // column before the box's right border for the same padding.
975
+ const gap = Math.max(1, boxW - 2 - plainLen(left) - plainLen(right));
976
+ lines.push(" " + left + " ".repeat(gap) + right);
974
977
  totalRows += 1;
975
978
  }
976
979
  const frame = lines.join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxecli/oxe",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },