@timurproko/a1 0.2.1-dev.600 → 0.2.1-dev.603
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/integrations/pi/components/shell-footer-status.js +1 -1
- package/dist/integrations/pi/components/shell-shared-facade.d.ts +1 -1
- package/dist/native/darwin-arm64/manifest.json +1 -1
- package/dist/native/linux-x64/manifest.json +1 -1
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/native/win32-x64/process-guardian.exe +0 -0
- package/dist/ui/components/progress-status.d.ts +3 -3
- package/dist/ui/components/progress-status.js +3 -3
- package/package.json +1 -1
|
@@ -192,7 +192,7 @@ class OwnedWorkingStatusIndicator extends StatusIndicator {
|
|
|
192
192
|
return piTheme().fg("accent", spinner);
|
|
193
193
|
}, text => frame(text, phase, {
|
|
194
194
|
muted: value => piTheme().fg("muted", value),
|
|
195
|
-
|
|
195
|
+
highlight: value => piTheme().fg("text", value),
|
|
196
196
|
}), message);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -85,7 +85,7 @@ export interface PiShellProgressStatusPresentation {
|
|
|
85
85
|
readonly text: (message: string, mode: PiShellProgressPresentationMode) => string;
|
|
86
86
|
readonly frame: (message: string, phase: number, styles: {
|
|
87
87
|
readonly muted: (text: string) => string;
|
|
88
|
-
readonly
|
|
88
|
+
readonly highlight: (text: string) => string;
|
|
89
89
|
}) => string;
|
|
90
90
|
}
|
|
91
91
|
export interface PiShellStatusPort extends PiShellViewComponentPort {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"platform": "darwin",
|
|
6
6
|
"architecture": "arm64",
|
|
7
7
|
"capability": "supported",
|
|
8
|
-
"builtAt": "2026-09-
|
|
8
|
+
"builtAt": "2026-09-27T17:51:52.853Z",
|
|
9
9
|
"artifact": {
|
|
10
10
|
"filename": "process-guardian",
|
|
11
11
|
"sha256": "9db1726bbe3fc2e8292f2ead1e7e9d0fd4d7d0dc9217b372582bf354b0f565dc",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"platform": "linux",
|
|
6
6
|
"architecture": "x64",
|
|
7
7
|
"capability": "supported",
|
|
8
|
-
"builtAt": "2026-09-
|
|
8
|
+
"builtAt": "2026-09-27T17:51:16.743Z",
|
|
9
9
|
"artifact": {
|
|
10
10
|
"filename": "process-guardian",
|
|
11
11
|
"sha256": "d8cda6b0c7cb36c0cc41e90802aceebf6c02eaebbc08a83d7d963d2e918dbd7a",
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"platform": "win32",
|
|
6
6
|
"architecture": "x64",
|
|
7
7
|
"capability": "supported",
|
|
8
|
-
"builtAt": "2026-09-
|
|
8
|
+
"builtAt": "2026-09-27T17:52:02.482Z",
|
|
9
9
|
"artifact": {
|
|
10
10
|
"filename": "process-guardian.exe",
|
|
11
|
-
"sha256": "
|
|
11
|
+
"sha256": "6047c25be9a707a3995001a398fa2377502cf682a02127d0f79a6f38c2ddf70f",
|
|
12
12
|
"size": 178176
|
|
13
13
|
},
|
|
14
14
|
"provenance": {
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export type ProgressStatusMarker = "…" | "...";
|
|
2
2
|
export interface ProgressStatusFrameStyles {
|
|
3
3
|
readonly muted: (text: string) => string;
|
|
4
|
-
readonly
|
|
4
|
+
readonly highlight: (text: string) => string;
|
|
5
5
|
}
|
|
6
|
-
/** Returns
|
|
6
|
+
/** Returns status text with the selected terminal progress marker. */
|
|
7
7
|
export declare function progressStatusText(message: string, marker?: ProgressStatusMarker): string;
|
|
8
|
-
/** Paints one width-stable, grapheme-safe frame of the
|
|
8
|
+
/** Paints one width-stable, grapheme-safe frame of the progress-label sweep. */
|
|
9
9
|
export declare function progressStatusFrame(message: string, phase: number, styles: ProgressStatusFrameStyles): string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const GRAPHEMES = new Intl.Segmenter(undefined, { granularity: "grapheme" });
|
|
2
2
|
const HIGHLIGHT_WIDTH = 2;
|
|
3
3
|
const UPDATES_PER_STEP = 3;
|
|
4
|
-
/** Returns
|
|
4
|
+
/** Returns status text with the selected terminal progress marker. */
|
|
5
5
|
export function progressStatusText(message, marker = "…") {
|
|
6
6
|
return `${message.replace(/(?:…|\.+)$/u, "")}${marker}`;
|
|
7
7
|
}
|
|
8
|
-
/** Paints one width-stable, grapheme-safe frame of the
|
|
8
|
+
/** Paints one width-stable, grapheme-safe frame of the progress-label sweep. */
|
|
9
9
|
export function progressStatusFrame(message, phase, styles) {
|
|
10
10
|
const marker = message.endsWith("…") ? "…" : "";
|
|
11
11
|
const label = marker === "" ? message : message.slice(0, -marker.length);
|
|
@@ -18,7 +18,7 @@ export function progressStatusFrame(message, phase, styles) {
|
|
|
18
18
|
const before = graphemes.slice(0, step).join("");
|
|
19
19
|
const highlight = graphemes.slice(step, step + HIGHLIGHT_WIDTH).join("");
|
|
20
20
|
const after = `${graphemes.slice(step + HIGHLIGHT_WIDTH).join("")}${marker}`;
|
|
21
|
-
return `${paint(before, styles.muted)}${paint(highlight, styles.
|
|
21
|
+
return `${paint(before, styles.muted)}${paint(highlight, styles.highlight)}${paint(after, styles.muted)}`;
|
|
22
22
|
}
|
|
23
23
|
function paint(text, style) {
|
|
24
24
|
return text === "" ? "" : style(text);
|
package/package.json
CHANGED