@leo-alvarenga/pi-zen-frame 0.19.3 → 0.19.6
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.
|
@@ -13,15 +13,10 @@ export const cwdSegment: SegmentDef = {
|
|
|
13
13
|
|
|
14
14
|
if (d.gitBranch) {
|
|
15
15
|
let git = ` ${icons.gitBranch} ${d.gitBranch}`;
|
|
16
|
-
text +=
|
|
17
|
-
theme.fg("dim", " ·") +
|
|
18
|
-
theme.fg(d.accentColor, git);
|
|
16
|
+
text += theme.fg("dim", " ·") + theme.fg(d.accentColor, git);
|
|
19
17
|
|
|
20
18
|
if (d.gitDirty > 0) {
|
|
21
|
-
text += theme.fg(
|
|
22
|
-
"error",
|
|
23
|
-
` ${icons.gitDirty} ${d.gitDirty}`,
|
|
24
|
-
);
|
|
19
|
+
text += theme.fg("error", ` ${icons.gitDirty} ${d.gitDirty}`);
|
|
25
20
|
}
|
|
26
21
|
}
|
|
27
22
|
|
|
@@ -15,9 +15,6 @@ export const reasoningSegment: SegmentDef = {
|
|
|
15
15
|
const token = (THINKING_TOKEN[d.thinkingLevel] ??
|
|
16
16
|
"thinkingText") as ThemeColor;
|
|
17
17
|
|
|
18
|
-
return theme.fg(
|
|
19
|
-
token,
|
|
20
|
-
` ${icons.thinking} ${d.thinkingLevel} `,
|
|
21
|
-
);
|
|
18
|
+
return theme.fg(token, ` ${icons.thinking} ${d.thinkingLevel} `);
|
|
22
19
|
},
|
|
23
20
|
};
|
|
@@ -13,10 +13,7 @@ export const spinnerSegment: SegmentDef = {
|
|
|
13
13
|
let phase = d.spinnerPhase ?? "thinking";
|
|
14
14
|
|
|
15
15
|
// No frame.colors key for the spinner; accent only.
|
|
16
|
-
const spinner = theme.fg(
|
|
17
|
-
d.accentColor,
|
|
18
|
-
` ${d.spinnerFrame} `,
|
|
19
|
-
);
|
|
16
|
+
const spinner = theme.fg(d.accentColor, ` ${d.spinnerFrame} `);
|
|
20
17
|
if (phase === "idle") return spinner;
|
|
21
18
|
|
|
22
19
|
return spinner + theme.fg("muted", `${phase} `);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@leo-alvarenga/pi-zen-frame",
|
|
3
3
|
"description": "A pi-coding-agent extension that gives the TUI editor a simple yet polished look and feel",
|
|
4
4
|
"author": "Leonardo A. Alvarenga",
|
|
5
|
-
"version": "0.19.
|
|
5
|
+
"version": "0.19.6",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "github.com/leo-alvarenga/pi-mono",
|
|
8
8
|
"publishConfig": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typebox": "*"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@leo-alvarenga/pi-ext-core": "^0.3
|
|
29
|
+
"@leo-alvarenga/pi-ext-core": "^0.4.3"
|
|
30
30
|
},
|
|
31
31
|
"pi": {
|
|
32
32
|
"extensions": [
|