beads-ui 0.9.1 → 0.9.2

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/CHANGES.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changes
2
2
 
3
+ ## 0.9.2
4
+
5
+ - [`ffa376c`](https://github.com/mantoni/beads-ui/commit/ffa376cab432b0e321232e8bc0de2caca20a6b17)
6
+ Filter tombstone epics in list adapter (#44) (Brent Traut)
7
+
8
+ _Released by [Maximilian Antoni](https://github.com/mantoni) on 2026-01-22._
9
+
3
10
  ## 0.9.1
4
11
 
5
12
  - [`bd6f412`](https://github.com/mantoni/beads-ui/commit/bd6f412570a6cb774a683106f9b6efa6ee0e318b)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beads-ui",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Local UI for Beads — Collaborate on issues with your coding agent.",
5
5
  "keywords": [
6
6
  "agent",
@@ -160,6 +160,7 @@ export async function fetchListForSubscription(spec, options = {}) {
160
160
  created_at: e.created_at,
161
161
  updated_at: e.updated_at,
162
162
  closed_at: e.closed_at ?? null,
163
+ deleted_at: e.deleted_at ?? null,
163
164
  // Preserve useful counters from bd output
164
165
  total_children: /** @type {any} */ (it).total_children,
165
166
  closed_children: /** @type {any} */ (it).closed_children,
@@ -169,6 +170,23 @@ export async function fetchListForSubscription(spec, options = {}) {
169
170
  }
170
171
  return it;
171
172
  });
173
+ raw = raw.filter((it) => {
174
+ if (!it || typeof it !== 'object') {
175
+ return false;
176
+ }
177
+ const status =
178
+ typeof (/** @type {any} */ (it).status) === 'string'
179
+ ? /** @type {any} */ (it).status
180
+ : '';
181
+ if (status === 'tombstone') {
182
+ return false;
183
+ }
184
+ const deleted_at = /** @type {any} */ (it).deleted_at;
185
+ if (deleted_at !== undefined && deleted_at !== null) {
186
+ return false;
187
+ }
188
+ return true;
189
+ });
172
190
  }
173
191
 
174
192
  const items = normalizeIssueList(raw);