beads-ui 0.3.1 → 0.4.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.
Files changed (56) hide show
  1. package/CHANGES.md +24 -0
  2. package/README.md +15 -6
  3. package/app/main.bundle.js +617 -0
  4. package/app/main.bundle.js.map +7 -0
  5. package/bin/bdui.js +2 -1
  6. package/package.json +27 -14
  7. package/server/app.js +38 -36
  8. package/server/bd.js +2 -2
  9. package/server/cli/commands.js +8 -8
  10. package/server/cli/daemon.js +13 -5
  11. package/server/cli/index.js +17 -31
  12. package/server/cli/usage.js +3 -2
  13. package/server/db.js +6 -6
  14. package/server/index.js +10 -4
  15. package/server/logging.js +23 -0
  16. package/server/watcher.js +7 -5
  17. package/server/ws.js +23 -11
  18. package/app/data/list-selectors.js +0 -103
  19. package/app/data/providers.js +0 -78
  20. package/app/data/sort.js +0 -47
  21. package/app/data/subscription-issue-store.js +0 -161
  22. package/app/data/subscription-issue-stores.js +0 -128
  23. package/app/data/subscriptions-store.js +0 -227
  24. package/app/main.js +0 -706
  25. package/app/protocol.md +0 -66
  26. package/app/router.js +0 -117
  27. package/app/state.js +0 -105
  28. package/app/utils/issue-id-renderer.js +0 -72
  29. package/app/utils/issue-id.js +0 -11
  30. package/app/utils/issue-type.js +0 -29
  31. package/app/utils/issue-url.js +0 -10
  32. package/app/utils/markdown.js +0 -16
  33. package/app/utils/priority-badge.js +0 -48
  34. package/app/utils/priority.js +0 -1
  35. package/app/utils/status-badge.js +0 -33
  36. package/app/utils/status.js +0 -25
  37. package/app/utils/toast.js +0 -35
  38. package/app/utils/type-badge.js +0 -34
  39. package/app/views/board.js +0 -537
  40. package/app/views/detail.js +0 -1252
  41. package/app/views/epics.js +0 -281
  42. package/app/views/issue-dialog.js +0 -164
  43. package/app/views/issue-row.js +0 -191
  44. package/app/views/list.js +0 -468
  45. package/app/views/nav.js +0 -68
  46. package/app/views/new-issue-dialog.js +0 -348
  47. package/app/ws.js +0 -282
  48. package/docs/adr/001-push-only-lists.md +0 -134
  49. package/docs/adr/002-per-subscription-stores-and-full-issue-push.md +0 -200
  50. package/docs/architecture.md +0 -194
  51. package/docs/data-exchange-subscription-plan.md +0 -198
  52. package/docs/db-watching.md +0 -30
  53. package/docs/migration-v2.md +0 -54
  54. package/docs/protocol/issues-push-v2.md +0 -179
  55. package/docs/subscription-issue-store.md +0 -112
  56. package/server/protocol.js +0 -3
package/CHANGES.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changes
2
2
 
3
+ ## 0.4.1
4
+
5
+ - [`03d3477`](https://github.com/mantoni/beads-ui/commit/03d34774cd35bf03d142d2869633327cbe4902bd)
6
+ Fix missing protocol.js in bundle
7
+
8
+ _Released by [Maximilian Antoni](https://github.com/mantoni) on 2025-10-29._
9
+
10
+ ## 0.4.0
11
+
12
+ - [`20a787c`](https://github.com/mantoni/beads-ui/commit/20a787c248225b4959b18b703894daf483f380b6)
13
+ Refine and apply coding standards
14
+ - [`aedc73f`](https://github.com/mantoni/beads-ui/commit/aedc73f0c494dd391fcc9ec7ecbf19b01b37e69a)
15
+ Invert CLI option from no_open to open
16
+ - [`03a2a4f`](https://github.com/mantoni/beads-ui/commit/03a2a4f0ddb93df717e9f12b0c4600be12b390b5)
17
+ Add debug-based logging across codebase
18
+ - [`eed2d5c`](https://github.com/mantoni/beads-ui/commit/eed2d5c71c45131023d1ec047a9f84e84d057fdb)
19
+ Pre-bundle frontend for npm package
20
+ - [`d07f743`](https://github.com/mantoni/beads-ui/commit/d07f7437c67bfdbded470c6ccea556a78b3452b3)
21
+ Remove obsolete BDUI_NO_OPEN
22
+ - [`1c1a003`](https://github.com/mantoni/beads-ui/commit/1c1a0035fd069d030430d56713e64fbaf0224db8)
23
+ Improve project description
24
+
25
+ _Released by [Maximilian Antoni](https://github.com/mantoni) on 2025-10-28._
26
+
3
27
  ## 0.3.1
4
28
 
5
29
  - [`3912ae5`](https://github.com/mantoni/beads-ui/commit/3912ae552b1cc97e61fbaaa0815ca77675c542e4)
package/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
  Beads UI
3
3
  </h1>
4
4
  <p align="center">
5
- <b>Local‑first UI for the <code>bd</code> CLI – <a href="https://github.com/steveyegge/beads">Beads</a></b>
5
+ <b>Local UI for the <code>bd</code> CLI – <a href="https://github.com/steveyegge/beads">Beads</a></b><br>
6
+ Collaborate on issues with your coding agent.
6
7
  </p>
7
8
  <div align="center">
8
9
  <a href="https://www.npmjs.com/package/beads-ui"><img src="https://img.shields.io/npm/v/beads-ui.svg" alt="npm Version"></a>
@@ -19,14 +20,14 @@
19
20
  - 📺 **Live updates** – Monitors the beads database for changes
20
21
  - 🔎 **Issues view** – Filter and search issues, edit inline
21
22
  - ⛰️ **Epics view** – Show progress per epic, expand rows, edit inline
22
- - 🏂 **Board view** – Open / Blocked / Ready / In progress / Closed columns
23
+ - 🏂 **Board view** – Blocked / Ready / In progress / Closed columns
23
24
  - ⌨️ **Keyboard navigation** – Navigate and edit without touching the mouse
24
25
 
25
26
  ## Setup
26
27
 
27
28
  ```sh
28
29
  npm i beads-ui -g
29
- # In the project directory with a beads database:
30
+ # In your project directory:
30
31
  bdui start --open
31
32
  ```
32
33
 
@@ -51,9 +52,6 @@ See `bdui --help` for options.
51
52
  - `BD_BIN`: path to the `bd` binary.
52
53
  - `BDUI_RUNTIME_DIR`: override runtime directory for PID/logs. Defaults to
53
54
  `$XDG_RUNTIME_DIR/beads-ui` or the system temp dir.
54
- - `BDUI_NO_OPEN=1`: disable opening the default browser on `start`. Note:
55
- Opening the browser is disabled by default; use `--open` to explicitly launch
56
- the browser, which overrides this env var.
57
55
  - `PORT`: overrides the listen port (default `3000`). The server binds to
58
56
  `127.0.0.1`.
59
57
 
@@ -65,9 +63,20 @@ See `bdui --help` for options.
65
63
 
66
64
  ## Developer Workflow
67
65
 
66
+ - 🔨 Clone the repo and run `npm install`.
67
+ - 🚀 Start the dev server with `npm start`.
68
68
  - 📦 Make sure you have `beads-mcp` installed.
69
69
  - 🤖 Ask your agent of choice. It will know.
70
70
 
71
+ ## Debug Logging
72
+
73
+ - The codebase uses the `debug` package with namespaces like `beads-ui:*`.
74
+ - Enable logs in the browser by running in DevTools:
75
+ - `localStorage.debug = 'beads-ui:*'` then reload the page
76
+ - Enable logs for Node/CLI (server, build scripts) by setting `DEBUG`:
77
+ - `DEBUG=beads-ui:* bdui start`
78
+ - `DEBUG=beads-ui:* node scripts/build-frontend.js`
79
+
71
80
  ## License
72
81
 
73
82
  MIT