pi-fabric 0.130.0 → 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.
- package/dist/chunks/{chunk-ROPY7LYT.js → chunk-HAHRJMWY.js} +9 -1
- package/dist/chunks/{chunk-ROPY7LYT.js.map → chunk-HAHRJMWY.js.map} +2 -2
- package/dist/chunks/{chunk-FCLVPCPN.js → chunk-OA5SJT2T.js} +20 -2
- package/dist/chunks/chunk-OA5SJT2T.js.map +7 -0
- package/dist/extension-bootstrap.js +2 -2
- package/dist/fabric-exec-tool.d.ts.map +1 -1
- package/dist/fabric-runtime-state.d.ts +2 -0
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +14 -0
- package/dist/fabric-runtime-state.js.map +3 -3
- package/dist/fabric-state.d.ts +1 -0
- package/dist/fabric-state.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/providers/pi-tools-provider.d.ts.map +1 -1
- package/dist/ui/dashboard.js +1 -1
- package/dist/ui/fabric-render.d.ts +1 -0
- package/dist/ui/fabric-render.d.ts.map +1 -1
- package/dist/ui/shell-hang-keys.d.ts.map +1 -1
- package/dist/ui/snapshot.d.ts.map +1 -1
- package/docs/background-tasks.md +4 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-FCLVPCPN.js.map +0 -7
|
@@ -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-
|
|
2617
|
+
//# sourceMappingURL=chunk-HAHRJMWY.js.map
|