pi-fabric 0.130.1 → 0.130.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.
@@ -2140,6 +2140,10 @@ var renderAgentToolPreviewNodeLines = (preview, theme, options, depth) => {
2140
2140
  }
2141
2141
  return lines;
2142
2142
  };
2143
+ var shellBackgroundShortcut = (audit) => {
2144
+ const preview = audit.preview;
2145
+ return audit.success === void 0 && (audit.tool === "bash" || audit.tool === "powershell") && typeof preview === "object" && preview !== null && preview.shellBackgroundShortcut === true;
2146
+ };
2143
2147
  var singleCallProgressLine = (progress, previewLines) => progress && previewLines.length === 0 ? safeTerminalText(progress) : "";
2144
2148
  var compactProgressPreview = (progress) => {
2145
2149
  const lines = safeTerminalText(progress).split("\n").map((line) => line.replace(/\s+/g, " ").trim()).filter(Boolean);
@@ -2157,6 +2161,9 @@ var renderFabricMulticallPartial = (input, theme, invalidate) => {
2157
2161
  const progress = input.progress ? compactProgressPreview(input.progress) : "";
2158
2162
  if (progress) header += theme.fg("dim", ` \xB7 ${progress}`);
2159
2163
  const rows = [header];
2164
+ if (input.audits.some(shellBackgroundShortcut)) {
2165
+ rows.push(theme.fg("dim", "Ctrl+B twice \xB7 background waiting shell"));
2166
+ }
2160
2167
  const wrapLineIndexes = input.expanded ? /* @__PURE__ */ new Set() : void 0;
2161
2168
  if (input.phases.length > 0) {
2162
2169
  rows.push(theme.fg("dim", input.phases.map((phase) => `\u25C6 ${phase}`).join(" ")));
@@ -2590,6 +2597,7 @@ export {
2590
2597
  renderFabricWriteArgumentPreview,
2591
2598
  nestedCallTitle,
2592
2599
  renderAgentToolPreviewLines,
2600
+ shellBackgroundShortcut,
2593
2601
  singleCallProgressLine,
2594
2602
  renderFabricMulticallPartial,
2595
2603
  captureFabricCoreToolPreviews,
@@ -2606,4 +2614,4 @@ export {
2606
2614
  formatJsonAsYaml,
2607
2615
  formatFabricValue
2608
2616
  };
2609
- //# sourceMappingURL=chunk-ROPY7LYT.js.map
2617
+ //# sourceMappingURL=chunk-HAHRJMWY.js.map