@danypops/pi-papyrus 0.46.5 → 0.46.6

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.
@@ -1,4 +1,4 @@
1
- import type { Theme } from "@earendil-works/pi-coding-agent";
1
+ import { keyHint, type Theme } from "@earendil-works/pi-coding-agent";
2
2
  import { type Component, truncateToWidth, visibleWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
3
3
  import { buildDetailLines, type DetailField, type DetailSection, type DetailViewTheme, type TextMeasure } from "malevich-tui-components";
4
4
  import type { ArtifactToolDetails } from "./render-model.ts";
@@ -93,8 +93,11 @@ export function emptyState(noun: string): string {
93
93
  return `No ${noun}.`;
94
94
  }
95
95
 
96
+ /** Real, possibly user-remapped hotkey (defaults to ctrl+o, Pi's own "app.tools.expand"
97
+ * binding) -- matches every one of Pi's own built-in tools (read/write/bash/find/grep/ls),
98
+ * which all show their own truncation hint the same way instead of a hardcoded string. */
96
99
  export function expandHint(): string {
97
- return "expand for details";
100
+ return keyHint("app.tools.expand", "expand for details");
98
101
  }
99
102
 
100
103
  /** Reusable width-safe artifact card for native tool result rows. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danypops/pi-papyrus",
3
- "version": "0.46.5",
3
+ "version": "0.46.6",
4
4
  "description": "Pi host extension for Papyrus: native tools, TUI panels, and context injection over the daemon-backed graph store",
5
5
  "type": "module",
6
6
  "keywords": ["pi-package"],