pi-posthorse 0.10.34 → 0.10.35
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/ui.ts +3 -1
package/package.json
CHANGED
package/ui.ts
CHANGED
|
@@ -47,7 +47,9 @@ export function registerPosthorseMessages(pi: ExtensionAPI): void {
|
|
|
47
47
|
const previewText = leadingRows(preview, theme, "toolOutput", previewRows);
|
|
48
48
|
const expandHint = options.keyHint("app.tools.expand", "to expand");
|
|
49
49
|
let fullText: Text | undefined;
|
|
50
|
-
let cached:
|
|
50
|
+
let cached:
|
|
51
|
+
| { readonly width: number; readonly lines: ReturnType<Component["render"]> }
|
|
52
|
+
| undefined;
|
|
51
53
|
const historyText = textBlock("Earlier conversation remains in history.", theme, "muted");
|
|
52
54
|
const messageLines = (inner: number, expanded: boolean): string[] => {
|
|
53
55
|
const title = `${expanded ? "▾" : "▸"} ${window ? "Context window started" : "Checkpoint reminder"}`;
|