pi-context-map 0.7.4 → 0.7.5
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 +4 -0
- package/extensions/index.ts +5 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.5] - 2026-06-16
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
- Fixed process handler stacking: `SIGINT`/`SIGTERM` now use `once()` + `removeAllListeners` to prevent orphaned servers on extension reload.
|
|
6
|
+
|
|
3
7
|
## [0.7.4] - 2026-06-16
|
|
4
8
|
### Performance & Reliability
|
|
5
9
|
- **Throttled auto-refresh**: `message_end` handler now throttles analysis to max once per 5 seconds. Prevents expensive I/O spam during rapid assistant responses.
|
package/extensions/index.ts
CHANGED
|
@@ -324,10 +324,9 @@ export default async function piContextMap(pi: ExtensionAPI): Promise<void> {
|
|
|
324
324
|
liveServer.stop();
|
|
325
325
|
});
|
|
326
326
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
process.
|
|
331
|
-
|
|
332
|
-
});
|
|
327
|
+
// Use once to prevent stacking on reload
|
|
328
|
+
process.removeAllListeners("SIGINT");
|
|
329
|
+
process.removeAllListeners("SIGTERM");
|
|
330
|
+
process.once("SIGINT", () => liveServer.stop());
|
|
331
|
+
process.once("SIGTERM", () => liveServer.stop());
|
|
333
332
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-context-map",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Professional context profiler for Pi that visualizes the session context window, token distribution, and integrates with Nexus packages for actionable insights.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|