@herbertgao/pi-extensions 2026.11.7 → 2026.11.9

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 (129) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +9 -9
  3. package/THIRD_PARTY_NOTICES.md +2 -2
  4. package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
  5. package/node_modules/@herbertgao/pi-subagents/README.md +2 -2
  6. package/node_modules/@herbertgao/pi-subagents/package.json +4 -4
  7. package/node_modules/@herbertgao/pi-subagents/src/ui/conversation-viewer.ts +10 -6
  8. package/node_modules/@herbertgao/pi-subagents/src/ui/viewer-keys.ts +47 -4
  9. package/node_modules/@narumitw/pi-btw/CHANGELOG.md +19 -0
  10. package/node_modules/@narumitw/pi-btw/dist/chunks/{main-tree-picker-WHRN26NJ.ts → main-tree-picker-3PXJARQW.ts} +59 -53
  11. package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-3PXJARQW.ts.map +7 -0
  12. package/node_modules/@narumitw/pi-btw/dist/index.ts +1 -1
  13. package/node_modules/@narumitw/pi-btw/docs/main-tree-snapshots.md +39 -0
  14. package/node_modules/@narumitw/pi-btw/docs/workflows.md +1 -0
  15. package/node_modules/@narumitw/pi-btw/package.json +2 -2
  16. package/node_modules/@narumitw/pi-btw/src/main-tree-picker.ts +73 -63
  17. package/node_modules/@narumitw/pi-caffeinate/CHANGELOG.md +7 -0
  18. package/node_modules/@narumitw/pi-caffeinate/package.json +3 -3
  19. package/node_modules/pi-commandcode-provider/CHANGELOG.md +5 -0
  20. package/node_modules/pi-commandcode-provider/package.json +1 -1
  21. package/node_modules/pi-commandcode-provider/src/pricing.ts +4 -4
  22. package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
  23. package/node_modules/pi-lens/CHANGELOG.md +30 -0
  24. package/node_modules/pi-lens/README.md +1 -0
  25. package/node_modules/pi-lens/dist/{chunk-KDGKKK7A.js → chunk-2HWVG3IM.js} +1 -1
  26. package/node_modules/pi-lens/dist/{chunk-3QCI3V6C.js → chunk-3EIZMRXI.js} +5 -5
  27. package/node_modules/pi-lens/dist/{chunk-NWK7KKNO.js → chunk-3MHY4BQY.js} +2 -2
  28. package/node_modules/pi-lens/dist/{chunk-3NVGBFJS.js → chunk-3PMLYGJN.js} +2 -2
  29. package/node_modules/pi-lens/dist/{chunk-OP5BMZKK.js → chunk-3QMLB4TI.js} +1 -1
  30. package/node_modules/pi-lens/dist/{chunk-V7IPIAE5.js → chunk-3VWEZ6H2.js} +24 -26
  31. package/node_modules/pi-lens/dist/{chunk-NLRKB32C.js → chunk-5EEWCJG7.js} +1 -1
  32. package/node_modules/pi-lens/dist/{chunk-VDMF7Q2P.js → chunk-5FDUKJZO.js} +4 -4
  33. package/node_modules/pi-lens/dist/{chunk-KBSC5Z3G.js → chunk-5KLRCUDT.js} +2 -2
  34. package/node_modules/pi-lens/dist/{chunk-GL6J5R34.js → chunk-6EXGCXM5.js} +3 -3
  35. package/node_modules/pi-lens/dist/{chunk-OC4ZGVMH.js → chunk-6GWCYEP7.js} +5 -7
  36. package/node_modules/pi-lens/dist/{chunk-LXE7JAMV.js → chunk-6JLNZ6DP.js} +4 -4
  37. package/node_modules/pi-lens/dist/{chunk-TTGDTNSN.js → chunk-75TVYCQW.js} +3 -3
  38. package/node_modules/pi-lens/dist/{chunk-QAM2Q3VO.js → chunk-7BEADGAZ.js} +2 -2
  39. package/node_modules/pi-lens/dist/{chunk-R5BNSOIV.js → chunk-7KWI5UHL.js} +7 -8
  40. package/node_modules/pi-lens/dist/{chunk-5YTDZ5WP.js → chunk-7M64NTAK.js} +1 -1
  41. package/node_modules/pi-lens/dist/{chunk-B4K6OSLL.js → chunk-7T64QA5D.js} +25 -27
  42. package/node_modules/pi-lens/dist/{chunk-KDMJ2DJD.js → chunk-7ZVEFWOE.js} +5 -5
  43. package/node_modules/pi-lens/dist/{chunk-D5L7Q57Z.js → chunk-AAIVSSUU.js} +1 -1
  44. package/node_modules/pi-lens/dist/{chunk-LIDFFCZZ.js → chunk-AD7JDEI6.js} +9 -9
  45. package/node_modules/pi-lens/dist/{chunk-WBXCIRVI.js → chunk-AVBEPUCD.js} +1 -1
  46. package/node_modules/pi-lens/dist/{chunk-VTXJAO5R.js → chunk-AZXTLZHE.js} +9 -9
  47. package/node_modules/pi-lens/dist/{chunk-UELHWF5I.js → chunk-BEIPWPVR.js} +10 -10
  48. package/node_modules/pi-lens/dist/{chunk-SQBDX6IO.js → chunk-C6V2DSZZ.js} +6 -6
  49. package/node_modules/pi-lens/dist/{chunk-ZD4KVFXI.js → chunk-D2ZYRI7M.js} +172 -3
  50. package/node_modules/pi-lens/dist/{chunk-HIUVHRLM.js → chunk-D6ANA6YU.js} +20 -22
  51. package/node_modules/pi-lens/dist/{chunk-YUF4DRYB.js → chunk-D7OEGXDX.js} +1 -1
  52. package/node_modules/pi-lens/dist/{chunk-AOQKQWZU.js → chunk-DFAY7JUN.js} +1 -1
  53. package/node_modules/pi-lens/dist/{chunk-QUZYRDT6.js → chunk-DIIDMDZU.js} +6 -6
  54. package/node_modules/pi-lens/dist/{chunk-QBUSONNE.js → chunk-DZSQXG66.js} +45 -27
  55. package/node_modules/pi-lens/dist/{chunk-UY3WWW5R.js → chunk-E5SSUV2A.js} +3 -3
  56. package/node_modules/pi-lens/dist/{chunk-DNB4ZQGN.js → chunk-ET3DSSFZ.js} +1 -1
  57. package/node_modules/pi-lens/dist/{chunk-4WWPDMRA.js → chunk-F7AMFFVK.js} +4 -4
  58. package/node_modules/pi-lens/dist/{chunk-LHCDWFDB.js → chunk-FDLGJFAE.js} +1 -1
  59. package/node_modules/pi-lens/dist/{chunk-C4ICGFEO.js → chunk-FVQKX5KI.js} +12 -12
  60. package/node_modules/pi-lens/dist/{chunk-TRYOYWWU.js → chunk-G3LR6V6N.js} +4 -4
  61. package/node_modules/pi-lens/dist/{chunk-AVOUHMCS.js → chunk-GHATCG2A.js} +10 -10
  62. package/node_modules/pi-lens/dist/{chunk-R2UF54ON.js → chunk-HJWF7CGW.js} +9 -9
  63. package/node_modules/pi-lens/dist/chunk-HRQTYU2T.js +355 -0
  64. package/node_modules/pi-lens/dist/{chunk-NR4KQOXZ.js → chunk-HSTN27NR.js} +1 -1
  65. package/node_modules/pi-lens/dist/{chunk-YVPB5YGO.js → chunk-HWMNTQBJ.js} +1 -1
  66. package/node_modules/pi-lens/dist/{chunk-6XNVY3FW.js → chunk-HYDJUVOE.js} +1 -1
  67. package/node_modules/pi-lens/dist/{chunk-WXMUGUZV.js → chunk-HYR25MV3.js} +4 -4
  68. package/node_modules/pi-lens/dist/{chunk-AJ62EQIQ.js → chunk-IC4L65U7.js} +12 -9
  69. package/node_modules/pi-lens/dist/{chunk-R2VUZZPJ.js → chunk-ILC2B7IJ.js} +4 -4
  70. package/node_modules/pi-lens/dist/{chunk-E6Z3CJT2.js → chunk-IZ36G463.js} +5 -5
  71. package/node_modules/pi-lens/dist/{chunk-IBEYUBCM.js → chunk-JKAVKTMY.js} +6 -6
  72. package/node_modules/pi-lens/dist/{chunk-LHU6NG5Z.js → chunk-JLMS7EMD.js} +8 -8
  73. package/node_modules/pi-lens/dist/{chunk-6RXMQYNU.js → chunk-JRSS6KM4.js} +1 -1
  74. package/node_modules/pi-lens/dist/{chunk-HASJPQBC.js → chunk-K2LD6YNH.js} +4 -4
  75. package/node_modules/pi-lens/dist/{chunk-UQ6OZYTO.js → chunk-KUDUKKQE.js} +43 -45
  76. package/node_modules/pi-lens/dist/{chunk-34RXPR7M.js → chunk-KXDQD34C.js} +1 -1
  77. package/node_modules/pi-lens/dist/{chunk-QDZ3ZZMY.js → chunk-LD7SXICE.js} +3 -3
  78. package/node_modules/pi-lens/dist/{chunk-NQFXN5U7.js → chunk-MOEWCPMC.js} +1 -1
  79. package/node_modules/pi-lens/dist/{chunk-IJ55MYO6.js → chunk-MV6ST2KT.js} +4 -4
  80. package/node_modules/pi-lens/dist/{chunk-532X3OCZ.js → chunk-NCDH2JB7.js} +7 -9
  81. package/node_modules/pi-lens/dist/{chunk-ITAPXBIB.js → chunk-NRVWLTOY.js} +9 -9
  82. package/node_modules/pi-lens/dist/{chunk-DPDA3ILA.js → chunk-NZINZCHB.js} +1 -1
  83. package/node_modules/pi-lens/dist/{chunk-A4HKPAEN.js → chunk-OEPWTSUG.js} +6 -6
  84. package/node_modules/pi-lens/dist/{chunk-TBE4OLPA.js → chunk-OF2YGDUE.js} +21 -23
  85. package/node_modules/pi-lens/dist/{chunk-BLL4VYGZ.js → chunk-OHEUOWYT.js} +1 -1
  86. package/node_modules/pi-lens/dist/{chunk-PSUXESQ5.js → chunk-ORYQGVC3.js} +1 -1
  87. package/node_modules/pi-lens/dist/{chunk-FVEEEEIM.js → chunk-OVPR3GQ6.js} +4 -4
  88. package/node_modules/pi-lens/dist/{chunk-BN36MQW5.js → chunk-PCREZ4HJ.js} +20 -22
  89. package/node_modules/pi-lens/dist/{chunk-KNP4ENFT.js → chunk-PK3GDU4M.js} +1 -1
  90. package/node_modules/pi-lens/dist/{chunk-2SD2CGVH.js → chunk-PPYUBO6Y.js} +1 -1
  91. package/node_modules/pi-lens/dist/{chunk-4HNBY7S7.js → chunk-PTJXMYRY.js} +7 -9
  92. package/node_modules/pi-lens/dist/{chunk-VI3BJMZO.js → chunk-PXGVB2CY.js} +14 -18
  93. package/node_modules/pi-lens/dist/{chunk-3C6ZZAB2.js → chunk-QY6J2FTK.js} +10 -12
  94. package/node_modules/pi-lens/dist/{chunk-5RLEDUUE.js → chunk-R67WQ5RY.js} +3 -3
  95. package/node_modules/pi-lens/dist/{chunk-WMCAEP2K.js → chunk-S6ZQFPOX.js} +2 -2
  96. package/node_modules/pi-lens/dist/{chunk-LPM6NKVI.js → chunk-SF7KSXB5.js} +2 -2
  97. package/node_modules/pi-lens/dist/{chunk-ECYUBKYX.js → chunk-T6PPK3T6.js} +40 -37
  98. package/node_modules/pi-lens/dist/{chunk-RV5VX2XW.js → chunk-TM3A3K7T.js} +8 -9
  99. package/node_modules/pi-lens/dist/{chunk-AFNPNHJV.js → chunk-TOOXNL6M.js} +3 -3
  100. package/node_modules/pi-lens/dist/{chunk-BJDB7PXU.js → chunk-TS5EIWEF.js} +6 -6
  101. package/node_modules/pi-lens/dist/{chunk-UG4YLCJ5.js → chunk-VD7MQFEV.js} +21 -23
  102. package/node_modules/pi-lens/dist/{chunk-BBJXIZ3X.js → chunk-VU2PRGRI.js} +5 -34
  103. package/node_modules/pi-lens/dist/{chunk-GTNO6F6K.js → chunk-WTSQKJAR.js} +4 -4
  104. package/node_modules/pi-lens/dist/{chunk-TPMBNWHO.js → chunk-Y7XMKBFP.js} +16 -16
  105. package/node_modules/pi-lens/dist/{chunk-JSQK5DH3.js → chunk-YLHJWAQS.js} +2 -2
  106. package/node_modules/pi-lens/dist/{chunk-HTUG7ZFK.js → chunk-YLW26OHX.js} +3 -3
  107. package/node_modules/pi-lens/dist/{chunk-C2REOMPO.js → chunk-YTXFNCVN.js} +1 -1
  108. package/node_modules/pi-lens/dist/{chunk-F37CCZUA.js → chunk-YULIERZW.js} +8 -8
  109. package/node_modules/pi-lens/dist/{chunk-KX4DF6XX.js → chunk-Z2W5YJBW.js} +6 -6
  110. package/node_modules/pi-lens/dist/{chunk-DBAHJFBU.js → chunk-Z6WTLVUL.js} +13 -18
  111. package/node_modules/pi-lens/dist/{chunk-6K4X7IIF.js → chunk-ZWZD4TJ5.js} +23 -25
  112. package/node_modules/pi-lens/dist/index.js +1134 -618
  113. package/node_modules/pi-lens/dist/mcp/analyze-cli.js +5 -7
  114. package/node_modules/pi-lens/dist/mcp/cli.js +25 -27
  115. package/node_modules/pi-lens/dist/mcp/server.js +101 -100
  116. package/node_modules/pi-lens/dist/mcp/worker.js +43 -45
  117. package/node_modules/pi-lens/dist/probes/installer.js +11 -11
  118. package/node_modules/pi-lens/docs/agent-tools.md +54 -12
  119. package/node_modules/pi-lens/docs/configuration.md +3 -3
  120. package/node_modules/pi-lens/docs/globalconfig.md +8 -1
  121. package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +7 -0
  122. package/node_modules/pi-lens/docs/mcp.md +2 -1
  123. package/node_modules/pi-lens/docs/usage.md +1 -1
  124. package/node_modules/pi-lens/package.json +1 -1
  125. package/package.json +7 -7
  126. package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WHRN26NJ.ts.map +0 -7
  127. package/node_modules/pi-lens/dist/chunk-3HZ6MNB2.js +0 -140
  128. package/node_modules/pi-lens/dist/chunk-43KD3PPM.js +0 -162
  129. package/node_modules/pi-lens/dist/chunk-CKEQFGLT.js +0 -32
@@ -13,6 +13,7 @@ The side thread retains the last 40,000 characters of this text and adds a trunc
13
13
  The initial snapshot stays immutable. Later main progress reaches the side model only after an explicit import; see [Import main updates](#import-main-updates).
14
14
  An explicit `Shift+L` label edit is the selector's only main-session mutation and persists through Pi.
15
15
  Native tree copying reports success or failure; Escape returns to the manager and Ctrl+C closes the flow.
16
+ The [tree snapshot guide](./main-tree-snapshots.md) describes allocation behavior, measurements, and verification limits.
16
17
 
17
18
  **Resume side thread** searches retained in-memory threads by their first question and question count; threads containing only confirmed imports use **Main context updates** as their title.
18
19
  The first question remains the title; threads are ordered by their newest answer or visible error.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-btw",
3
- "version": "0.63.5",
3
+ "version": "0.63.8",
4
4
  "description": "Pi extension that adds a /btw side-question command.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  "directory": "packages/pi-btw"
46
46
  },
47
47
  "dependencies": {
48
- "@narumitw/pi-tui-kit": "^0.69.1"
48
+ "@narumitw/pi-tui-kit": "^0.70.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@earendil-works/pi-ai": "*",
@@ -92,9 +92,7 @@ export async function pickMainEntry(
92
92
  return { kind: "back" };
93
93
  }
94
94
 
95
- const tree = sanitizeTreeForDisplay(rawTree);
96
- const rawCopyText = collectRawCopyText(rawTree);
97
- const savedLabels = collectSavedLabels(rawTree);
95
+ const { tree, rawCopyText, savedLabels } = prepareTreeSnapshot(rawTree);
98
96
  const createSelector = dependencies.createSelector ?? createNativeTreeSelector;
99
97
  const copy = dependencies.copyToClipboard ?? copyText;
100
98
  const copyControllers = new Set<AbortController>();
@@ -115,7 +113,14 @@ export async function pickMainEntry(
115
113
  };
116
114
  const onCopy = (entryId: string | undefined, displayText: string | undefined) => {
117
115
  if (settled) return;
118
- const text = entryId ? rawCopyText.get(entryId) : displayText;
116
+ let text: string | undefined;
117
+ try {
118
+ const source = entryId ? rawCopyText.get(entryId) : displayText;
119
+ text = typeof source === "string" ? source : source?.join("");
120
+ } catch (error: unknown) {
121
+ notifySafely(ctx, `Could not copy selected message: ${formatError(error)}`, "error");
122
+ return;
123
+ }
119
124
  if (!text) {
120
125
  notifySafely(ctx, "Selected entry has no text to copy", "warning");
121
126
  return;
@@ -159,7 +164,8 @@ export async function pickMainEntry(
159
164
  }
160
165
  const persistedLabel = label === undefined ? undefined : sanitizeSingleLine(label);
161
166
  pi.setLabel(entryId, persistedLabel);
162
- savedLabels.set(entryId, { label: persistedLabel });
167
+ if (persistedLabel === undefined) savedLabels.delete(entryId);
168
+ else savedLabels.set(entryId, { label: persistedLabel });
163
169
  selector?.setViewLabel?.(entryId, persistedLabel);
164
170
  tui.requestRender();
165
171
  } catch (error: unknown) {
@@ -200,18 +206,45 @@ function createNativeTreeSelector(options: MainThreadTreeSelectorOptions): MainT
200
206
  return result;
201
207
  }
202
208
 
203
- function sanitizeTreeForDisplay(tree: readonly SessionTreeNode[]): SessionTreeNode[] {
204
- return tree.map((node) => {
205
- const result: SessionTreeNode = {
209
+ type RawCopySource = string | readonly string[];
210
+
211
+ /** @internal Package-local snapshot test boundary; not an extension entrypoint. */
212
+ export function prepareTreeSnapshot(rawTree: readonly SessionTreeNode[]): {
213
+ tree: SessionTreeNode[];
214
+ rawCopyText: Map<string, RawCopySource>;
215
+ savedLabels: Map<string, SavedLabel>;
216
+ } {
217
+ const tree: SessionTreeNode[] = [];
218
+ const rawCopyText = new Map<string, RawCopySource>();
219
+ const savedLabels = new Map<string, SavedLabel>();
220
+ // Keep traversal state on the heap: valid session histories can be arbitrarily deep.
221
+ const stack = [{ source: rawTree, target: tree, index: 0 }];
222
+ while (stack.length > 0) {
223
+ const frame = stack[stack.length - 1];
224
+ if (frame.index === frame.source.length) {
225
+ stack.pop();
226
+ continue;
227
+ }
228
+ const node = frame.source[frame.index++];
229
+ const label = node.label === undefined ? undefined : sanitizeSingleLine(node.label);
230
+ const labelTimestamp = node.labelTimestamp === undefined ? undefined : sanitizeSingleLine(node.labelTimestamp);
231
+ const displayNode: SessionTreeNode = {
206
232
  entry: sanitizeEntryForDisplay(node.entry),
207
- children: sanitizeTreeForDisplay(node.children),
233
+ children: [],
208
234
  };
209
- if (node.label !== undefined) result.label = sanitizeSingleLine(node.label);
210
- if (node.labelTimestamp !== undefined) {
211
- result.labelTimestamp = sanitizeSingleLine(node.labelTimestamp);
235
+ if (label !== undefined) displayNode.label = label;
236
+ if (labelTimestamp !== undefined) displayNode.labelTimestamp = labelTimestamp;
237
+ frame.target.push(displayNode);
238
+ const source = captureRawCopySource(node.entry);
239
+ if (source !== undefined) rawCopyText.set(node.entry.id, source);
240
+ if (label !== undefined || labelTimestamp !== undefined) {
241
+ savedLabels.set(node.entry.id, { label, labelTimestamp });
212
242
  }
213
- return result;
214
- });
243
+ if (node.children.length > 0) {
244
+ stack.push({ source: node.children, target: displayNode.children, index: 0 });
245
+ }
246
+ }
247
+ return { tree, rawCopyText, savedLabels };
215
248
  }
216
249
 
217
250
  function sanitizeEntryForDisplay(entry: SessionEntry): SessionEntry {
@@ -305,47 +338,39 @@ function sanitizeToolArguments(value: unknown, seen: WeakMap<object, unknown>):
305
338
  return result;
306
339
  }
307
340
 
308
- function collectRawCopyText(tree: readonly SessionTreeNode[]): Map<string, string> {
309
- const result = new Map<string, string>();
310
- const visit = (nodes: readonly SessionTreeNode[]) => {
311
- for (const node of nodes) {
312
- const text = getRawCopyText(node.entry);
313
- if (text !== undefined) result.set(node.entry.id, text);
314
- visit(node.children);
315
- }
316
- };
317
- visit(tree);
318
- return result;
319
- }
320
-
321
- function getRawCopyText(entry: SessionEntry): string | undefined {
322
- let text: string | undefined;
341
+ function captureRawCopySource(entry: SessionEntry): RawCopySource | undefined {
342
+ let source: RawCopySource | undefined;
323
343
  if (entry.type === "message") {
324
- if (entry.message.role === "bashExecution") text = entry.message.command;
344
+ if (entry.message.role === "bashExecution") source = entry.message.command;
325
345
  else if ("content" in entry.message) {
326
- text = extractRawText(entry.message.content);
327
- if (!text && entry.message.role === "assistant") text = entry.message.errorMessage;
346
+ source = captureRawText(entry.message.content);
347
+ const empty = typeof source === "string" ? source.length === 0 : source.every((part) => part.length === 0);
348
+ if (empty && entry.message.role === "assistant") source = entry.message.errorMessage;
328
349
  }
329
- } else if (entry.type === "custom_message") text = extractRawText(entry.content);
330
- else if (entry.type === "compaction" || entry.type === "branch_summary") text = entry.summary;
331
- return text?.trim() ? text : undefined;
350
+ } else if (entry.type === "custom_message") source = captureRawText(entry.content);
351
+ else if (entry.type === "compaction" || entry.type === "branch_summary") source = entry.summary;
352
+ if (typeof source === "string") return /\S/u.test(source) ? source : undefined;
353
+ return source?.some((part) => /\S/u.test(part)) ? source : undefined;
332
354
  }
333
355
 
334
- function extractRawText(content: unknown): string {
356
+ function captureRawText(content: unknown): RawCopySource {
335
357
  if (typeof content === "string") return content;
336
358
  if (!Array.isArray(content)) return "";
337
- return content
338
- .filter(
339
- (block): block is { type: "text"; text: string } =>
340
- block !== null &&
341
- typeof block === "object" &&
342
- "type" in block &&
343
- block.type === "text" &&
344
- "text" in block &&
345
- typeof block.text === "string",
346
- )
347
- .map((block) => block.text)
348
- .join("");
359
+ // Retain immutable strings, not live blocks or joined copies of every message.
360
+ const parts: string[] = [];
361
+ for (const block of content) {
362
+ if (
363
+ block !== null &&
364
+ typeof block === "object" &&
365
+ "type" in block &&
366
+ block.type === "text" &&
367
+ "text" in block &&
368
+ typeof block.text === "string"
369
+ ) {
370
+ parts.push(block.text);
371
+ }
372
+ }
373
+ return parts.length === 1 ? parts[0] : parts;
349
374
  }
350
375
 
351
376
  interface SavedLabel {
@@ -353,21 +378,6 @@ interface SavedLabel {
353
378
  labelTimestamp?: string;
354
379
  }
355
380
 
356
- function collectSavedLabels(tree: readonly SessionTreeNode[]): Map<string, SavedLabel> {
357
- const result = new Map<string, SavedLabel>();
358
- const visit = (nodes: readonly SessionTreeNode[]) => {
359
- for (const node of nodes) {
360
- result.set(node.entry.id, {
361
- label: node.label === undefined ? undefined : sanitizeSingleLine(node.label),
362
- labelTimestamp: node.labelTimestamp === undefined ? undefined : sanitizeSingleLine(node.labelTimestamp),
363
- });
364
- visit(node.children);
365
- }
366
- };
367
- visit(tree);
368
- return result;
369
- }
370
-
371
381
  async function copyText(text: string, signal: AbortSignal): Promise<void> {
372
382
  signal.throwIfAborted();
373
383
  await copyToClipboard(text);
@@ -1,5 +1,12 @@
1
1
  # @narumitw/pi-caffeinate
2
2
 
3
+ ## 0.49.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [cf7b63d]
8
+ - @narumitw/pi-tui-kit@0.70.0
9
+
3
10
  ## 0.49.14
4
11
 
5
12
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-caffeinate",
3
- "version": "0.49.14",
3
+ "version": "0.49.15",
4
4
  "description": "Pi extension that keeps the computer awake while the agent is running.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@earendil-works/pi-coding-agent": "1.5.0",
40
- "@types/node": "26.6.5",
40
+ "@types/node": "26.6.6",
41
41
  "esbuild": "0.28.2",
42
42
  "typescript": "7.0.2"
43
43
  },
@@ -47,7 +47,7 @@
47
47
  "directory": "packages/pi-caffeinate"
48
48
  },
49
49
  "dependencies": {
50
- "@narumitw/pi-tui-kit": "^0.69.0",
50
+ "@narumitw/pi-tui-kit": "^0.70.0",
51
51
  "dbus-native": "^0.16.3"
52
52
  }
53
53
  }
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.8.2 - 2026-11-11
6
+
7
+ - Price the November Provider API additions per million tokens: `claude-fable-5-2` at $8.00 input / $40.00 output / $0.20 cache read / $10.00 cache write, `google/gemini-4-carbon` at $2.00 / $10.00 / $0.10 with no cache-write charge, and `meta/muse-ember` at $0.10 / $0.50 / $0.004 with no cache-write charge. Remove the retired `stealth/crouton-alpha` and `reflection/beam:free` zero prices, and refresh the 97-model API and pricing snapshots to 2026-11-11. The new models were already usable through the live `/provider/v1/models` response with a zero estimate and an unknown-price warning; static capability metadata stays at `command-code@1.88.5`, so they remain text-only without reasoning or effort flags until upstream ships them. ([#211](https://github.com/patlux/pi-commandcode-provider/pull/211))
8
+ - The daily catalog workflow passes its pricing gate again on the same 97-model snapshot, which closes the reopened maintenance incident [#207](https://github.com/patlux/pi-commandcode-provider/issues/207) on the next successful scheduled run.
9
+
5
10
  ## 0.8.1 - 2026-11-09
6
11
 
7
12
  - Refresh the capability snapshot to `command-code@1.88.5`: advertise image input, reasoning and selectable efforts (`off`/`low`/`high`/`max`) for `deepseek/deepseek-v4.1-flash-ultrafast`, and drop the retired `poolside/laguna-s-2.1-free` reasoning flag, effort defaults and 32,768-token output limit. Add reviewed display pricing for the ultrafast model at $2.40 input / $9.60 output / $0.048 cache read per million tokens, with no cache-write charge and a single published rate, and remove the retired free `poolside/laguna-s-2.1-free` price entry. Refresh the 96-model API and pricing snapshots to 2026-11-09. Endpoint routing defaults are unchanged. ([#209](https://github.com/patlux/pi-commandcode-provider/pull/209))
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-commandcode-provider",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "pi custom provider for Command Code API (commandcode.ai)",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -20,7 +20,7 @@ export interface TemporaryPricing {
20
20
  }
21
21
 
22
22
  export const PRICING_SOURCE_URL = "https://commandcode.ai/docs/resources/pricing-limits"
23
- export const PRICING_LAST_VERIFIED = "2026-11-09"
23
+ export const PRICING_LAST_VERIFIED = "2026-11-11"
24
24
 
25
25
  export const ZERO_MODEL_COST: CommandCodeModelCost = {
26
26
  input: 0,
@@ -40,10 +40,7 @@ export const ZERO_MODEL_COST: CommandCodeModelCost = {
40
40
  export const MODEL_COSTS: Readonly<Record<string, CommandCodeModelCost>> = {
41
41
  // Free models
42
42
  // Free while the stealth preview lasts; no fixed expiry is published.
43
- "stealth/crouton-alpha": { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
44
43
  "stealth/glyph-cluster:free": { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
45
- // Free while capacity lasts; no fixed expiry is published.
46
- "reflection/beam:free": { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
47
44
 
48
45
  // Open and open-weight models
49
46
  "inclusionai/ling-3.1-flash-1019": { input: 0.3, output: 0.9, cacheRead: 0.06, cacheWrite: 0 },
@@ -209,6 +206,7 @@ export const MODEL_COSTS: Readonly<Record<string, CommandCodeModelCost>> = {
209
206
  "meta/muse-spark-1.3": { input: 1.25, output: 4.25, cacheRead: 0.15, cacheWrite: 0 },
210
207
  "meta/muse-spark-open": { input: 1.25, output: 4.25, cacheRead: 0.15, cacheWrite: 0 },
211
208
  "meta/muse-wonder-1.0": { input: 4, output: 20, cacheRead: 0.2, cacheWrite: 0 },
209
+ "meta/muse-ember": { input: 0.1, output: 0.5, cacheRead: 0.004, cacheWrite: 0 },
212
210
  "meta/muse-spark-1.2-contributor": {
213
211
  input: 0.1,
214
212
  output: 0.2,
@@ -226,6 +224,7 @@ export const MODEL_COSTS: Readonly<Record<string, CommandCodeModelCost>> = {
226
224
  "claude-sonnet-5-5": { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 2.5 },
227
225
  "claude-sonnet-5": { input: 2, output: 10, cacheRead: 0.2, cacheWrite: 2.5 },
228
226
  "claude-sonnet-4-6": { input: 3, output: 15, cacheRead: 0.3, cacheWrite: 3.75 },
227
+ "claude-fable-5-2": { input: 8, output: 40, cacheRead: 0.2, cacheWrite: 10 },
229
228
  "claude-fable-5-1": { input: 10, output: 50, cacheRead: 0.25, cacheWrite: 12.5 },
230
229
  "claude-fable-5": { input: 10, output: 50, cacheRead: 1, cacheWrite: 12.5 },
231
230
  "claude-opus-5-5": { input: 4, output: 20, cacheRead: 0.2, cacheWrite: 5 },
@@ -327,6 +326,7 @@ export const MODEL_COSTS: Readonly<Record<string, CommandCodeModelCost>> = {
327
326
  cacheRead: 0.15,
328
327
  cacheWrite: 0.08334,
329
328
  },
329
+ "google/gemini-4-carbon": { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 0 },
330
330
  "google/gemini-4-argon": { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 0 },
331
331
  "google/gemini-3.8-flash": {
332
332
  input: 1.5,
@@ -1,5 +1,11 @@
1
1
  # User changelog
2
2
 
3
+ ## [4.4.12] - 2026-11-10
4
+
5
+ 1 feature, 2 fixes.
6
+
7
+ Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.12
8
+
3
9
  ## [4.4.11] - 2026-11-09
4
10
 
5
11
  32 fixes, 2 other changes.
@@ -23,9 +29,3 @@ Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.9
23
29
  1 feature, 28 fixes, 6 other changes.
24
30
 
25
31
  Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.8
26
-
27
- ## [4.4.7] - 2026-10-29
28
-
29
- 2 features, 21 fixes.
30
-
31
- Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.7
@@ -16,6 +16,36 @@ All notable changes to pi-lens will be documented in this file.
16
16
 
17
17
  ### Security
18
18
 
19
+ ## [4.4.12] - 2026-11-10
20
+
21
+ ### Added
22
+
23
+ #### Rules
24
+
25
+ - **Edits now name functions they made more complex than main.**
26
+ An edit's result gains one short line, such as
27
+ `⚠ complexity vs main: Store.get cc 12→19 (≥15)`, naming the functions the
28
+ edit itself made worse than the default branch has them, at or past the
29
+ `high-complexity` thresholds (15 and 6 for every language until per-language
30
+ ones exist). A function the edit did not change, or improved, is never
31
+ named; neither is an anonymous callback, and the line waits while the edit
32
+ has blockers. The line is bounded: past its length budget the remaining
33
+ names collapse into `+N more`, and only a file's first 512 functions are
34
+ judged. Outside a repository it compares with the file as it was before the
35
+ edit. `--no-complexity` or disabling `high-complexity` turns it off, and a
36
+ file over 256 KiB is not judged. Owner matching is linear,
37
+ and first touches defer it until an edit reads the baseline. (refs #5087)
38
+
39
+ ### Fixed
40
+
41
+ #### Language servers
42
+
43
+ - **Edits to a project outside the session folder now get language server diagnostics.** An edit to a file in a sibling project (an adopted root) used to report "not analyzed" even while its language server ran. In pi, language servers that run project code, such as rust-analyzer, now start there only when pi itself would trust that project: a saved decision on it or a parent folder, pi's default for a folder without `.pi` resources, or `defaultProjectTrust`. They no longer borrow the session's trust. Under MCP, pi's trust is not read; the MCP client owns workspace trust. (refs #5469)
44
+
45
+ #### Hosts and integrations
46
+
47
+ - **Providers that rejected pi-lens's strict tool schemas work again.** With 4.4.11, opencode-go beam-free failed every turn with “Invalid request” and Amazon Bedrock's Anthropic models with “For 'array' type, property 'maxItems' is not supported”; the five tools whose schemas they rejected no longer request strict mode, and the three that still do use only schema keywords strict mode accepts. (refs #5471, #5480)
48
+
19
49
  ## [4.4.11] - 2026-11-09
20
50
 
21
51
  ### Changed
@@ -554,6 +554,7 @@ Thanks goes to these wonderful people:
554
554
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/aprudkin"><img src="https://avatars.githubusercontent.com/u/126267327?v=4" width="100px;" alt=""/><br /><sub><b>aprudkin</b></sub></a><br /><a href="#bug-aprudkin" title="Bug reports">🐛</a></td>
555
555
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/ProphetOfDoom-PoD"><img src="https://avatars.githubusercontent.com/u/260035065?v=4" width="100px;" alt=""/><br /><sub><b>Prophet Of Doom</b></sub></a><br /><a href="#ideas-ProphetOfDoom-PoD" title="Ideas & Planning">🤔</a></td>
556
556
  <td align="center" valign="top" width="14.28%"><a href="http://www.apostolapostolov.com/"><img src="https://avatars.githubusercontent.com/u/4083812?v=4" width="100px;" alt=""/><br /><sub><b>Apostol Apostolov</b></sub></a><br /><a href="#bug-apoapostolov" title="Bug reports">🐛</a></td>
557
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/spearmootz"><img src="https://avatars.githubusercontent.com/u/19737290?v=4" width="100px;" alt=""/><br /><sub><b>Ricardo Spear</b></sub></a><br /><a href="#bug-spearmootz" title="Bug reports">🐛</a></td>
557
558
  </tr>
558
559
  </tbody>
559
560
  </table>
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  createToolchainAvailability
4
- } from "./chunk-UY3WWW5R.js";
4
+ } from "./chunk-E5SSUV2A.js";
5
5
  import {
6
6
  createSubsystemLogger
7
7
  } from "./chunk-AGEQRJ5A.js";
@@ -2,15 +2,15 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  getSourceFiles,
4
4
  getSourceFilesAsync
5
- } from "./chunk-34RXPR7M.js";
6
- import "./chunk-3NVGBFJS.js";
7
- import "./chunk-C2REOMPO.js";
8
- import "./chunk-DNB4ZQGN.js";
5
+ } from "./chunk-KXDQD34C.js";
6
+ import "./chunk-3PMLYGJN.js";
7
+ import "./chunk-YTXFNCVN.js";
8
+ import "./chunk-ET3DSSFZ.js";
9
9
  import "./chunk-QYF5S6P6.js";
10
10
  import "./chunk-SRXYSLMW.js";
11
11
  import "./chunk-6EIV3H7O.js";
12
12
  import "./chunk-3R3Z54J7.js";
13
- import "./chunk-43KD3PPM.js";
13
+ import "./chunk-HRQTYU2T.js";
14
14
  import "./chunk-AGEQRJ5A.js";
15
15
  import "./chunk-S26LC76R.js";
16
16
  import "./chunk-K2GV34T2.js";
@@ -1,12 +1,12 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  withFactTree
4
- } from "./chunk-BLL4VYGZ.js";
4
+ } from "./chunk-OHEUOWYT.js";
5
5
  import {
6
6
  childrenOfType,
7
7
  firstChildOfType,
8
8
  walk
9
- } from "./chunk-OC4ZGVMH.js";
9
+ } from "./chunk-6GWCYEP7.js";
10
10
  import {
11
11
  isJstsFactFile
12
12
  } from "./chunk-SRXYSLMW.js";
@@ -3,10 +3,10 @@ import {
3
3
  shouldRecurseIntoDir,
4
4
  walkTreeRecursiveSync,
5
5
  walkTreeStackAsync
6
- } from "./chunk-C2REOMPO.js";
6
+ } from "./chunk-YTXFNCVN.js";
7
7
  import {
8
8
  getProjectIgnoreMatcher
9
- } from "./chunk-DNB4ZQGN.js";
9
+ } from "./chunk-ET3DSSFZ.js";
10
10
  import {
11
11
  KIND_EXTENSIONS,
12
12
  SPECIAL_FILENAMES,
@@ -2,7 +2,7 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  getGlobalPiLensDir,
4
4
  safeSpawnAsync
5
- } from "./chunk-DNB4ZQGN.js";
5
+ } from "./chunk-ET3DSSFZ.js";
6
6
  import {
7
7
  createSingleFlight
8
8
  } from "./chunk-B4FAFEBP.js";
@@ -9,52 +9,50 @@ import {
9
9
  resetLSPService,
10
10
  resyncGitChangedFiles,
11
11
  runPerServerGroups
12
- } from "./chunk-QBUSONNE.js";
13
- import "./chunk-AOQKQWZU.js";
12
+ } from "./chunk-DZSQXG66.js";
13
+ import "./chunk-DFAY7JUN.js";
14
14
  import "./chunk-XIMYZ3JA.js";
15
- import "./chunk-DBAHJFBU.js";
16
- import "./chunk-2SD2CGVH.js";
17
- import "./chunk-NLRKB32C.js";
15
+ import "./chunk-Z6WTLVUL.js";
16
+ import "./chunk-PPYUBO6Y.js";
17
+ import "./chunk-5EEWCJG7.js";
18
18
  import "./chunk-QJ4T73J5.js";
19
- import "./chunk-HTUG7ZFK.js";
19
+ import "./chunk-YLW26OHX.js";
20
20
  import "./chunk-HGEE5LDW.js";
21
- import "./chunk-532X3OCZ.js";
22
- import "./chunk-6XNVY3FW.js";
21
+ import "./chunk-NCDH2JB7.js";
22
+ import "./chunk-HYDJUVOE.js";
23
23
  import "./chunk-7424ANRU.js";
24
24
  import "./chunk-SUIZOCSY.js";
25
- import "./chunk-OC4ZGVMH.js";
25
+ import "./chunk-6GWCYEP7.js";
26
26
  import "./chunk-Z54ZSOBZ.js";
27
- import "./chunk-5YTDZ5WP.js";
27
+ import "./chunk-7M64NTAK.js";
28
28
  import "./chunk-E3PNZDPH.js";
29
29
  import "./chunk-6HWVI6MI.js";
30
- import "./chunk-KNP4ENFT.js";
31
- import "./chunk-CKEQFGLT.js";
32
- import "./chunk-LXE7JAMV.js";
30
+ import "./chunk-PK3GDU4M.js";
31
+ import "./chunk-6JLNZ6DP.js";
33
32
  import "./chunk-IT7MFVGP.js";
34
33
  import "./chunk-AYDE7RFV.js";
35
- import "./chunk-YVPB5YGO.js";
34
+ import "./chunk-HWMNTQBJ.js";
36
35
  import "./chunk-ZRQMENT4.js";
37
- import "./chunk-3HZ6MNB2.js";
38
36
  import "./chunk-2BEMIWEW.js";
39
37
  import "./chunk-IJYGIDF4.js";
40
- import "./chunk-ITAPXBIB.js";
41
- import "./chunk-JSQK5DH3.js";
42
- import "./chunk-FVEEEEIM.js";
43
- import "./chunk-OP5BMZKK.js";
38
+ import "./chunk-NRVWLTOY.js";
39
+ import "./chunk-YLHJWAQS.js";
40
+ import "./chunk-OVPR3GQ6.js";
41
+ import "./chunk-3QMLB4TI.js";
44
42
  import "./chunk-UYXV5NIS.js";
45
- import "./chunk-WBXCIRVI.js";
46
- import "./chunk-TTGDTNSN.js";
47
- import "./chunk-34RXPR7M.js";
48
- import "./chunk-3NVGBFJS.js";
49
- import "./chunk-C2REOMPO.js";
50
- import "./chunk-DNB4ZQGN.js";
43
+ import "./chunk-AVBEPUCD.js";
44
+ import "./chunk-75TVYCQW.js";
45
+ import "./chunk-KXDQD34C.js";
46
+ import "./chunk-3PMLYGJN.js";
47
+ import "./chunk-YTXFNCVN.js";
48
+ import "./chunk-ET3DSSFZ.js";
51
49
  import "./chunk-B4FAFEBP.js";
52
50
  import "./chunk-QYF5S6P6.js";
53
51
  import "./chunk-SRXYSLMW.js";
54
52
  import "./chunk-6EIV3H7O.js";
55
53
  import "./chunk-3R3Z54J7.js";
56
54
  import "./chunk-CIA7X2PZ.js";
57
- import "./chunk-43KD3PPM.js";
55
+ import "./chunk-HRQTYU2T.js";
58
56
  import "./chunk-AGEQRJ5A.js";
59
57
  import "./chunk-S26LC76R.js";
60
58
  import "./chunk-K2GV34T2.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-AYDE7RFV.js";
14
14
  import {
15
15
  getProjectTrustState
16
- } from "./chunk-43KD3PPM.js";
16
+ } from "./chunk-HRQTYU2T.js";
17
17
  import {
18
18
  incrementDegradationCount,
19
19
  logExtension,
@@ -1,14 +1,14 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  collectSourceFiles
4
- } from "./chunk-3NVGBFJS.js";
5
- import "./chunk-C2REOMPO.js";
6
- import "./chunk-DNB4ZQGN.js";
4
+ } from "./chunk-3PMLYGJN.js";
5
+ import "./chunk-YTXFNCVN.js";
6
+ import "./chunk-ET3DSSFZ.js";
7
7
  import "./chunk-QYF5S6P6.js";
8
8
  import "./chunk-SRXYSLMW.js";
9
9
  import "./chunk-6EIV3H7O.js";
10
10
  import "./chunk-3R3Z54J7.js";
11
- import "./chunk-43KD3PPM.js";
11
+ import "./chunk-HRQTYU2T.js";
12
12
  import "./chunk-AGEQRJ5A.js";
13
13
  import "./chunk-S26LC76R.js";
14
14
  import "./chunk-K2GV34T2.js";
@@ -25,12 +25,12 @@ import {
25
25
  statIsFile,
26
26
  trustScopedEnvironment,
27
27
  trustScopedSearchPath
28
- } from "./chunk-DNB4ZQGN.js";
28
+ } from "./chunk-ET3DSSFZ.js";
29
29
  import {
30
30
  spawnAbortScope
31
31
  } from "./chunk-6EIV3H7O.js";
32
32
  import "./chunk-3R3Z54J7.js";
33
- import "./chunk-43KD3PPM.js";
33
+ import "./chunk-HRQTYU2T.js";
34
34
  import "./chunk-AGEQRJ5A.js";
35
35
  import "./chunk-S26LC76R.js";
36
36
  import "./chunk-K2GV34T2.js";
@@ -2,13 +2,13 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  classifyProbeFailure,
4
4
  installRetryDelayMs
5
- } from "./chunk-WBXCIRVI.js";
5
+ } from "./chunk-AVBEPUCD.js";
6
6
  import {
7
7
  safeSpawnAsync
8
- } from "./chunk-DNB4ZQGN.js";
8
+ } from "./chunk-ET3DSSFZ.js";
9
9
  import {
10
10
  assertInstallAllowed
11
- } from "./chunk-43KD3PPM.js";
11
+ } from "./chunk-HRQTYU2T.js";
12
12
  import {
13
13
  logExtension,
14
14
  recordDegradationOnce
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  getUserRuleRoot,
7
7
  ruleCorpusFingerprintForCycle
8
- } from "./chunk-5YTDZ5WP.js";
8
+ } from "./chunk-7M64NTAK.js";
9
9
  import {
10
10
  getPackageRoot,
11
11
  js_yaml_default,
@@ -14,16 +14,13 @@ import {
14
14
  import {
15
15
  EXTENSION_TO_GRAMMAR
16
16
  } from "./chunk-AYDE7RFV.js";
17
- import {
18
- withTimeout
19
- } from "./chunk-3HZ6MNB2.js";
20
17
  import {
21
18
  transientRetryDelayMs
22
- } from "./chunk-WBXCIRVI.js";
19
+ } from "./chunk-AVBEPUCD.js";
23
20
  import {
24
21
  getProjectIgnoreMatcher,
25
22
  isExcludedDirName
26
- } from "./chunk-DNB4ZQGN.js";
23
+ } from "./chunk-ET3DSSFZ.js";
27
24
  import {
28
25
  notifyUserDegradation
29
26
  } from "./chunk-6EIV3H7O.js";
@@ -33,8 +30,9 @@ import {
33
30
  import {
34
31
  assertInstallAllowed,
35
32
  getProjectTrustGeneration,
33
+ withTimeout,
36
34
  writeFileAtomic
37
- } from "./chunk-43KD3PPM.js";
35
+ } from "./chunk-HRQTYU2T.js";
38
36
  import {
39
37
  compareOrdinal,
40
38
  escapeRegExp,