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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/ui.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-posthorse",
3
- "version": "0.10.34",
3
+ "version": "0.10.35",
4
4
  "type": "module",
5
5
  "description": "Posthorse: fresh context, same journey. No-summary context rollover for Pi, with sparse budget reminders, handoffs, notes, and history.",
6
6
  "keywords": [
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: { readonly width: number; readonly lines: string[] } | undefined;
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"}`;