pi-goosedump 0.7.2 → 0.7.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.
Files changed (2) hide show
  1. package/index.ts +2 -3
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -744,9 +744,8 @@ async function runSessionBrowser(
744
744
  try {
745
745
  const id = pendingDeletionId!;
746
746
  goosedumpDelete(id);
747
- // Remove from listings and rebuild tree
748
- const idx = listings.findIndex((l) => l.id === id);
749
- if (idx >= 0) listings.splice(idx, 1);
747
+ // Refresh listings goosedump may have also deleted subagent sessions
748
+ listings.splice(0, listings.length, ...goosedumpList());
750
749
  rebuildTree();
751
750
  rebuildDisplayList();
752
751
  if (selectedIndex >= displayList.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goosedump",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Coding agent context data browser plugin for pi",
5
5
  "keywords": [
6
6
  "goosedump",