@astrosheep/pi-quota 0.8.0 → 0.8.1
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/src/extension.ts +4 -3
package/package.json
CHANGED
package/src/extension.ts
CHANGED
|
@@ -236,10 +236,11 @@ export function createQuotaExtension(options: QuotaExtensionOptions = {}) {
|
|
|
236
236
|
hasUsageSnapshot = true;
|
|
237
237
|
pi.appendEntry<UsageCard>(USAGE_ENTRY, card);
|
|
238
238
|
// Custom entry renderers are TUI-only; RPC clients still get readable output.
|
|
239
|
-
//
|
|
240
|
-
//
|
|
239
|
+
// No markdown fence: paseo routes notify to a plain-text Notification
|
|
240
|
+
// component (no markdown), so fence markers would show literally. The
|
|
241
|
+
// compact layout works as preserved-whitespace plain text on its own.
|
|
241
242
|
if (ctx.mode !== 'tui') {
|
|
242
|
-
ctx.ui.notify(
|
|
243
|
+
ctx.ui.notify(compactUsageLines(card, undefined).join('\n'), 'info');
|
|
243
244
|
}
|
|
244
245
|
} finally {
|
|
245
246
|
if (spinner) { clearInterval(spinner); spinner = undefined; }
|