@howaboua/pi-notes-compaction 0.0.2 → 0.0.3
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/package.json +1 -1
- package/src/index.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @howaboua/pi-notes-compaction
|
|
2
2
|
|
|
3
|
+
## 0.0.3
|
|
4
|
+
|
|
5
|
+
- Fixed shared agent startup after package updates when the startup changelog is present.
|
|
6
|
+
|
|
3
7
|
## 0.0.2
|
|
4
8
|
|
|
5
9
|
- Added a `/notes` settings panel for normal compaction, idle rollover, continuity status and confirmed pruning, replacing the subcommands and JSON status output.
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -47,6 +47,12 @@ export default function notesCompaction(pi: ExtensionAPI): void {
|
|
|
47
47
|
lifecycle.active &&
|
|
48
48
|
ctx.isIdle() &&
|
|
49
49
|
ctx.sessionManager.getEntries().every((entry) => {
|
|
50
|
+
// The first startup after an update records a UI-only changelog.
|
|
51
|
+
if (
|
|
52
|
+
entry.type === "custom" &&
|
|
53
|
+
entry.customType === "@howaboua/pi-stuff/changelog"
|
|
54
|
+
)
|
|
55
|
+
return true;
|
|
50
56
|
// Herdr activation persists its empty registry before first task delivery.
|
|
51
57
|
if (
|
|
52
58
|
entry.type === "custom" &&
|