pi-mono-all 1.2.7 → 1.2.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # pi-mono-all
2
2
 
3
+ ## 1.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Bundle `pi-mono-context-guard@1.7.4` with compaction-safe read dedup cache invalidation.
8
+
3
9
  ## 1.2.7
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,14 @@
1
1
  # pi-mono-context-guard
2
2
 
3
+ ## 1.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ ### Fixed
8
+
9
+ - Clear the read deduplication cache before session compaction so files can be re-read after their earlier contents leave the model context.
10
+ - Add a `context-guard:clear-cache` event for external cache invalidation.
11
+
3
12
  ## 1.7.3
4
13
 
5
14
  ### Patch Changes
@@ -93,6 +93,22 @@ export default function (pi: ExtensionAPI): void {
93
93
  }
94
94
  });
95
95
 
96
+ // -------------------------------------------------------------------------
97
+ // Clear cache before compaction � file contents are lost but cache
98
+ // entries would still block re-reads with "File unchanged since last read".
99
+ // -------------------------------------------------------------------------
100
+ pi.on("session_before_compact", async () => {
101
+ readCache.clear();
102
+ });
103
+
104
+ // -------------------------------------------------------------------------
105
+ // Cache clear � allows external extensions to invalidate the dedup cache.
106
+ // Emitted via pi.events.emit("context-guard:clear-cache").
107
+ // -------------------------------------------------------------------------
108
+ pi.events.on("context-guard:clear-cache", () => {
109
+ readCache.clear();
110
+ });
111
+
96
112
  // -------------------------------------------------------------------------
97
113
  // Reset cache on new session
98
114
  // -------------------------------------------------------------------------
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-mono-context-guard",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "Pi extension that guards context window growth by auto-limiting read and rg output",
5
5
  "keywords": [
6
6
  "pi-package",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-mono-all",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "All pi-mono extensions and bundled skills",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -12,15 +12,15 @@
12
12
  "pi-mono-ask-user-question": "1.7.4",
13
13
  "pi-mono-auto-fix": "0.3.2",
14
14
  "pi-mono-btw": "1.7.4",
15
- "pi-mono-clear": "1.7.3",
16
15
  "pi-mono-context": "0.1.1",
17
- "pi-mono-context-guard": "1.7.3",
16
+ "pi-mono-clear": "1.7.3",
17
+ "pi-mono-context-guard": "1.7.4",
18
18
  "pi-mono-linear": "0.2.4",
19
- "pi-mono-loop": "1.7.3",
20
19
  "pi-mono-multi-edit": "1.7.3",
20
+ "pi-mono-figma": "0.2.2",
21
21
  "pi-mono-review": "1.8.2",
22
22
  "pi-mono-sentinel": "1.13.0",
23
- "pi-mono-figma": "0.2.2",
23
+ "pi-mono-loop": "1.7.3",
24
24
  "pi-mono-simplify": "1.7.3",
25
25
  "pi-mono-status-line": "1.7.3",
26
26
  "pi-mono-team-mode": "2.3.2",