pi-agent-flow 1.8.12 → 1.8.13
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/ask-user.js +2 -2
- package/dist/single-select-layout.js +1 -1
- package/package.json +1 -1
package/dist/ask-user.js
CHANGED
|
@@ -411,7 +411,7 @@ class MultiSelectList {
|
|
|
411
411
|
const lines = [];
|
|
412
412
|
for (let i = startIndex; i < endIndex; i++) {
|
|
413
413
|
const isSelected = i === this.selectedIndex;
|
|
414
|
-
const prefix = isSelected ? theme.fg("accent", "
|
|
414
|
+
const prefix = isSelected ? theme.fg("accent", "▶") : " ";
|
|
415
415
|
if (this.isCommentToggleRow(i)) {
|
|
416
416
|
const checkbox = this.commentEnabled ? theme.fg("success", "[✓]") : theme.fg("dim", "[ ]");
|
|
417
417
|
const label = isSelected
|
|
@@ -549,7 +549,7 @@ class WrappedSingleSelectList {
|
|
|
549
549
|
if (line.startsWith(" ")) {
|
|
550
550
|
return truncateToWidth(this.theme.fg("muted", line), width, "");
|
|
551
551
|
}
|
|
552
|
-
if (line.startsWith("
|
|
552
|
+
if (line.startsWith("▶")) {
|
|
553
553
|
return truncateToWidth(this.theme.fg("accent", this.theme.bold(line)), width, "");
|
|
554
554
|
}
|
|
555
555
|
return truncateToWidth(this.theme.fg("text", line), width, "");
|
|
@@ -58,7 +58,7 @@ function buildItemBlocks(options, width, allowFreeform, allowComment, commentEna
|
|
|
58
58
|
allItems.push({ type: "freeform", option: { title: freeformLabel } });
|
|
59
59
|
}
|
|
60
60
|
return allItems.map((item, itemIndex) => {
|
|
61
|
-
const pointer = itemIndex === selectedIndex ? "
|
|
61
|
+
const pointer = itemIndex === selectedIndex ? "▶" : " ";
|
|
62
62
|
const lines = [];
|
|
63
63
|
if (item.type === "comment-toggle" || item.type === "freeform") {
|
|
64
64
|
const prefix = `${pointer} `;
|