pi-spark 0.6.0 → 0.6.2
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.
|
@@ -102,7 +102,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
102
102
|
|
|
103
103
|
events.on(PRESET_CHANGE, (data) => {
|
|
104
104
|
const payload = parsePresetChange(data);
|
|
105
|
-
editor?.setSlot("modelBefore", payload ?
|
|
105
|
+
editor?.setSlot("modelBefore", payload ? ctx.ui.theme.bold(payload) : undefined);
|
|
106
106
|
});
|
|
107
107
|
|
|
108
108
|
return editor;
|
|
@@ -38,7 +38,6 @@ export default function (pi: ExtensionAPI) {
|
|
|
38
38
|
"\"Debug flaky CI pipeline\", \"Draft Q3 planning doc\".",
|
|
39
39
|
}),
|
|
40
40
|
reason: Type.Optional(Type.String({
|
|
41
|
-
minLength: 1,
|
|
42
41
|
maxLength: 240,
|
|
43
42
|
description:
|
|
44
43
|
"Optional concise reason for naming or renaming the current session. Explain what " +
|
|
@@ -54,7 +53,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
54
53
|
const reason = sanitizeText(args.reason ?? "");
|
|
55
54
|
|
|
56
55
|
const container = new Container();
|
|
57
|
-
container.addChild(new Text(`${theme.bold(theme.fg("toolTitle", "set_session_name"))} ${theme.fg("accent",
|
|
56
|
+
container.addChild(new Text(`${theme.bold(theme.fg("toolTitle", "set_session_name"))} ${theme.fg("accent", name)}`, 0, 0));
|
|
58
57
|
|
|
59
58
|
if (reason) {
|
|
60
59
|
container.addChild(new Spacer(1));
|