@pi-archimedes/footer 0.6.0 → 0.7.0

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 +2 -2
  2. package/src/index.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-archimedes/footer",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -15,7 +15,7 @@
15
15
  "./config": "./src/config.ts"
16
16
  },
17
17
  "dependencies": {
18
- "@pi-archimedes/core": "0.6.0"
18
+ "@pi-archimedes/core": "0.7.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@earendil-works/pi-coding-agent": ">=0.1.0",
package/src/index.ts CHANGED
@@ -84,7 +84,7 @@ export function registerFooter(pi: ExtensionAPI): void {
84
84
  worktreeBranch ? colorize("syntaxNumber", footerIcons.worktree + " " + worktreeBranch) : "",
85
85
  ].filter(Boolean);
86
86
 
87
- const separator = theme.fg("dim", " | ");
87
+ const separator = theme.fg("dim", " · ");
88
88
  const leftSectionStr = leftSections.join(separator);
89
89
 
90
90
  // Token stats with context percentage
@@ -124,7 +124,7 @@ export function registerFooter(pi: ExtensionAPI): void {
124
124
  const rightSections: string[] = [];
125
125
  if (statsSectionStr) rightSections.push(statsSectionStr);
126
126
  if (contextBarStr) rightSections.push(contextBarStr);
127
- const rightSectionStr = rightSections.join(theme.fg("dim", " | "));
127
+ const rightSectionStr = rightSections.join(theme.fg("dim", " · "));
128
128
 
129
129
  // Edge case: if both stats and bar are empty, return only line 1
130
130
  if (!rightSectionStr) {
@@ -140,7 +140,7 @@ export function registerFooter(pi: ExtensionAPI): void {
140
140
  // ── Single-line mode ───────────────────────────────────────────────
141
141
 
142
142
  // Separator between left and right sections
143
- const sectionSeparator = theme.fg("dim", " | ");
143
+ const sectionSeparator = theme.fg("dim", " · ");
144
144
 
145
145
  // Calculate available space for the context progress bar (after stats)
146
146
  const availableBarSpace = Math.max(
@@ -155,7 +155,7 @@ export function registerFooter(pi: ExtensionAPI): void {
155
155
  const rightSections: string[] = [];
156
156
  if (statsSectionStr) rightSections.push(statsSectionStr);
157
157
  if (contextBarStr) rightSections.push(contextBarStr);
158
- const rightSectionStr = rightSections.join(theme.fg("dim", " | "));
158
+ const rightSectionStr = rightSections.join(theme.fg("dim", " · "));
159
159
 
160
160
  return [clampLine(leftSectionStr + sectionSeparator + rightSectionStr, width)];
161
161
  } catch (e) {