mono-pilot 0.2.8 → 0.2.9
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.
|
@@ -91,10 +91,11 @@ export default function sessionHintsExtension(pi) {
|
|
|
91
91
|
const version = getMonoPilotVersion();
|
|
92
92
|
const versionLabel = version ? ` v${version}` : "";
|
|
93
93
|
lines.push(theme.bold(theme.fg("accent", MONO_PILOT_NAME)) + theme.fg("dim", versionLabel));
|
|
94
|
-
lines.push("");
|
|
94
|
+
lines.push(theme.fg("dim", "option+m") + theme.fg("muted", " to cycle Plan/Ask/Agent mode"));
|
|
95
95
|
const userRules = details?.userRules ?? [];
|
|
96
96
|
const projectRules = details?.projectRules ?? [];
|
|
97
97
|
if (userRules.length > 0 || projectRules.length > 0) {
|
|
98
|
+
lines.push("");
|
|
98
99
|
lines.push(theme.fg("mdHeading", "[Rules]"));
|
|
99
100
|
if (userRules.length > 0) {
|
|
100
101
|
lines.push(` ${theme.fg("accent", "user")}`);
|
|
@@ -109,9 +110,6 @@ export default function sessionHintsExtension(pi) {
|
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
|
-
if (lines.length > 0)
|
|
113
|
-
lines.push("");
|
|
114
|
-
lines.push(theme.fg("muted", "Mode switch: use ") + theme.fg("dim", "option+m") + theme.fg("muted", " to toggle Plan/Ask/Agent mode."));
|
|
115
113
|
return new Text(lines.join("\n"), 0, 0);
|
|
116
114
|
});
|
|
117
115
|
pi.on("session_start", async (_event, ctx) => {
|