pi-soly 0.5.0 → 0.5.1
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 +1 -1
- package/switch/index.ts +6 -2
package/package.json
CHANGED
package/switch/index.ts
CHANGED
|
@@ -56,8 +56,12 @@ export default function piSwitchExtension(pi: ExtensionAPI) {
|
|
|
56
56
|
if (!lastUi) return;
|
|
57
57
|
try {
|
|
58
58
|
const meta = getAgentMeta(currentAgent);
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
// Persistent pill — always visible above the input, even for the
|
|
60
|
+
// default agent. The user wants a constant mode indicator, not a
|
|
61
|
+
// transient one. Marker "▶" makes it scannable.
|
|
62
|
+
const marker = currentAgent === DEFAULT_AGENT ? "·" : "▶";
|
|
63
|
+
const pill = `${marker} ${meta.emoji} ${currentAgent}`;
|
|
64
|
+
lastUi.setStatus("pi-switch", pill);
|
|
61
65
|
} catch { /* no ui yet */ }
|
|
62
66
|
}
|
|
63
67
|
|