@seungyeop-lee/beads-ui 0.15.0 → 0.16.1

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,77 @@
1
1
  # Changes
2
2
 
3
+ ## 0.16.1
4
+
5
+ - [`045576d`](https://github.com/seungyeop-lee/beads-ui/commit/045576dba8602340e71f43d8ad6d3fb182753970)
6
+ chore: improve npm description and keywords for discoverability
7
+ >
8
+ > Align package.json metadata with the GitHub repo description and
9
+ > topics — front-load the terms people actually search for (bd, issue
10
+ > tracker, AI coding agents, kanban) so npm search picks them up.
11
+ >
12
+ - [`2d8fe89`](https://github.com/seungyeop-lee/beads-ui/commit/2d8fe891fd54dbfd9426dfdfd3b1cf35bb8bf38f)
13
+ chore: gitignore the .codegraph directory
14
+ >
15
+ > The .gitignore that codegraph generates inside .codegraph/ misses
16
+ > daemon.pid, so it showed up as untracked. Ignore the whole directory at
17
+ > the root — it is machine-local index data.
18
+ >
19
+ - [`0dabcb2`](https://github.com/seungyeop-lee/beads-ui/commit/0dabcb2b66d6e9086a389e429c9116e2925738ae)
20
+ docs: add upgrade instructions to README
21
+ >
22
+ > A plain `add -g` saves a `^0.x.y` range, which pins the minor version
23
+ > while the package is pre-1.0 — re-running the install command keeps the
24
+ > old version. Document `@latest` as the upgrade path.
25
+ >
26
+
27
+ _Released by [seungyeop-lee](https://github.com/seungyeop-lee) on 2026-06-06._
28
+
29
+ ## 0.16.0
30
+
31
+ - [`88e5ed5`](https://github.com/seungyeop-lee/beads-ui/commit/88e5ed5d18eb6dea75c59a320d899d1f4103de91)
32
+ chore: move pnpm settings to pnpm-workspace.yaml
33
+ >
34
+ > pnpm 11 no longer reads the "pnpm" field in package.json and warned on
35
+ > every command. Move the build-script allowlist to pnpm-workspace.yaml
36
+ > using the new allowBuilds format (lefthook allowed, esbuild denied — it
37
+ > ships platform binaries via optionalDependencies).
38
+ >
39
+ - [`d9de748`](https://github.com/seungyeop-lee/beads-ui/commit/d9de74810e95e66542e5e46ff25d6a55a302a786)
40
+ fix: drop postpack cleanup that breaks pnpm 11 pack/publish
41
+ >
42
+ > pnpm 11 stats the packed files after running postpack to print the
43
+ > tarball report. The postpack `rm` deleted the freshly built bundle
44
+ > first, so `pnpm pack` and `pnpm publish` exited non-zero even though
45
+ > the tarball itself was valid — breaking install:global and the
46
+ > postversion publish step.
47
+ >
48
+ > The bundle files are gitignored, so leaving them in the working tree
49
+ > is harmless and prepack rebuilds them on every pack anyway.
50
+ >
51
+ - [`045dcbf`](https://github.com/seungyeop-lee/beads-ui/commit/045dcbfa367488400a855c285f6cc0effb26f14e)
52
+ fix(server): restore issue comments with bd 1.x
53
+ >
54
+ > Recent bd releases dropped the `comments` array from `bd show --json`
55
+ > (only `comment_count` remains), so detail pushes carried no comments and
56
+ > the detail view always showed "No comments yet". The client-side
57
+ > get-comments fallback never fired because the detail store snapshot is
58
+ > not available when the view loads.
59
+ >
60
+ > Compensate in the adaptation layer: when fetching an issue-detail
61
+ > subscription, fetch comments via `bd comments <id> --json` and attach
62
+ > them to the pushed item. Skip the extra call when `comment_count` is 0
63
+ > or comments are already inline (older bd).
64
+ >
65
+ > Also replace the removed `bd comment --author` flag with the global
66
+ > `--actor` flag so adding comments from the UI works again.
67
+ >
68
+ - [`f727a00`](https://github.com/seungyeop-lee/beads-ui/commit/f727a002eb17557ad5f0c56628e0eb19a7787263)
69
+ chore: add codegraph and MCP server configuration
70
+ - [`4204073`](https://github.com/seungyeop-lee/beads-ui/commit/42040737759f90d26b8d123df4d59794e038f37e)
71
+ chore: bump pnpm to 11.5.2
72
+
73
+ _Released by [seungyeop-lee](https://github.com/seungyeop-lee) on 2026-06-05._
74
+
3
75
  ## 0.15.0
4
76
 
5
77
  - [`cedbc9f`](https://github.com/seungyeop-lee/beads-ui/commit/cedbc9f27a37094457493524677752ccea3cf191)
package/README.md CHANGED
@@ -40,6 +40,18 @@ bdui start --open
40
40
 
41
41
  See `bdui --help` for options.
42
42
 
43
+ ### Upgrade
44
+
45
+ Request the latest version explicitly. While the package is on `0.x`, the
46
+ `^0.x.y` range saved by a plain install pins the minor version, so re-running
47
+ the install command above keeps the old version:
48
+
49
+ ```sh
50
+ npm i -g @seungyeop-lee/beads-ui@latest
51
+ # Or with pnpm:
52
+ # pnpm add -g @seungyeop-lee/beads-ui@latest
53
+ ```
54
+
43
55
  ## Screenshots
44
56
 
45
57
  **Issues**
package/package.json CHANGED
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "name": "@seungyeop-lee/beads-ui",
3
- "version": "0.15.0",
4
- "description": "Local UI for Beads — Collaborate on issues with your coding agent.",
3
+ "version": "0.16.1",
4
+ "description": "Local web UI for Beads (bd), the issue tracker for AI coding agents — issues, epics, and kanban board with live updates and inline editing.",
5
5
  "keywords": [
6
- "agent",
6
+ "beads",
7
+ "claude-code",
7
8
  "issue-tracker",
9
+ "coding-agent",
10
+ "ai-agents",
11
+ "agentic-coding",
12
+ "kanban-board",
8
13
  "local-first",
9
- "ai-tools"
14
+ "web-ui",
15
+ "developer-tools"
10
16
  ],
11
17
  "homepage": "https://github.com/seungyeop-lee/beads-ui",
12
18
  "author": "seungyeop-lee",
@@ -225,6 +225,9 @@ export async function fetchListForSubscription(spec, options = {}) {
225
225
  }
226
226
 
227
227
  const items = normalizeIssueList(raw);
228
+ if (String(spec.type) === 'issue-detail') {
229
+ await attachComments(items, options);
230
+ }
228
231
  return { ok: true, items };
229
232
  } catch (err) {
230
233
  log('bd invocation failed for %o (args=%o): %o', spec, args, err);
@@ -239,6 +242,34 @@ export async function fetchListForSubscription(spec, options = {}) {
239
242
  }
240
243
  }
241
244
 
245
+ /**
246
+ * Attach comments to issue-detail items. Recent bd releases omit the
247
+ * `comments` array from `bd show --json` (only `comment_count` remains), so
248
+ * the detail push must fetch them separately via `bd comments <id> --json`.
249
+ * On fetch failure `comments` stays absent so the client fallback can retry.
250
+ *
251
+ * @param {Array<{ id: string } & Record<string, unknown>>} items
252
+ * @param {{ cwd?: string }} [options]
253
+ * @returns {Promise<void>}
254
+ */
255
+ async function attachComments(items, options = {}) {
256
+ for (const it of items) {
257
+ if (Array.isArray(it.comments)) {
258
+ continue;
259
+ }
260
+ if (it.comment_count === 0) {
261
+ it.comments = [];
262
+ continue;
263
+ }
264
+ const res = await runBdJson(['comments', it.id, '--json'], {
265
+ cwd: options.cwd
266
+ });
267
+ if (res.code === 0 && Array.isArray(res.stdoutJson)) {
268
+ it.comments = res.stdoutJson;
269
+ }
270
+ }
271
+ }
272
+
242
273
  /**
243
274
  * Create a `bad_request` error object.
244
275
  *
package/server/ws.js CHANGED
@@ -1197,11 +1197,12 @@ export async function handleMessage(ws, data) {
1197
1197
  return;
1198
1198
  }
1199
1199
 
1200
- // Get git user name for author attribution
1200
+ // Get git user name for author attribution. bd 1.x removed the
1201
+ // `--author` flag; the global `--actor` flag sets the comment author.
1201
1202
  const author = await getGitUserName();
1202
1203
  const args = ['comment', id, text.trim()];
1203
1204
  if (author) {
1204
- args.push('--author', author);
1205
+ args.push('--actor', author);
1205
1206
  }
1206
1207
 
1207
1208
  const res = await runBd(args);