@pi-unipi/footer 3.0.0-alpha.11 → 3.0.0-alpha.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/footer",
3
- "version": "3.0.0-alpha.11",
3
+ "version": "3.0.0-alpha.12",
4
4
  "description": "Persistent status bar for Unipi — subscribes to UNIPI_EVENTS and renders key stats from all unipi packages",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -32,8 +32,8 @@
32
32
  "access": "public"
33
33
  },
34
34
  "dependencies": {
35
- "@pi-unipi/core": "3.0.0-alpha.11",
36
- "@pi-unipi/background-tasks": "3.0.0-alpha.11"
35
+ "@pi-unipi/core": "3.0.0-alpha.12",
36
+ "@pi-unipi/background-tasks": "3.0.0-alpha.12"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@earendil-works/pi-coding-agent": "^0.87.1",
@@ -5,12 +5,14 @@
5
5
  * subclass CustomEditor, use super.render() ONLY to obtain editor content
6
6
  * lines, then compose our own rounded frame. Layout per the v3 design:
7
7
  *
8
- * ╭─UNIPI │ feat/footer-default-v2 │ ─────────────────────╮
9
- * │ Type your prompt here... │
8
+ * ╭─UNIPI │ feat/footer-default-v2 ─────────────────────╮
9
+ * Type your prompt here...
10
10
  * ╰─ unipi ────────── 42%/1.0M │ Claude Opus 4.5 │ thinking:high ╯
11
11
  *
12
12
  * Top border carries the UNIPI brand + git branch. Bottom border right side
13
13
  * carries workspace · context%/window · model · thinking level; left filler.
14
+ * The body is open-sided: no vertical rails — the rounded corners are the
15
+ * only frame marks (content keeps its column via a one-space indent).
14
16
  * All keybindings/autocomplete/history/paste behavior inherited.
15
17
  */
16
18
 
@@ -296,10 +298,10 @@ export class GlanceEditor extends CustomEditor {
296
298
  topCluster +
297
299
  border(BORDER.topRight);
298
300
 
299
- // ── Body rows: │ content │ ──
300
- const bodyRows = contentLines.map(row =>
301
- border(BORDER.vertical) + padLine(row, inner) + border(BORDER.vertical),
302
- );
301
+ // ── Body rows: open sides — the corner curves are the only frame marks.
302
+ // One-space indent keeps content in the column it had between the old
303
+ // rails; no trailing padding (rows may end short of the frame width).
304
+ const bodyRows = contentLines.map(row => " " + truncateToWidth(row, inner, ""));
303
305
 
304
306
  // ── Bottom frame: ╰─ unipi ─────── [RIGHT CLUSTER] ─╯ ──
305
307
  // Right cluster: workspace · pct%/window │ model │ thinking:level