beads-ui 0.3.0 β†’ 0.4.0

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 (61) hide show
  1. package/CHANGES.md +26 -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 -16
  7. package/server/app.js +39 -35
  8. package/server/bd.js +6 -2
  9. package/server/cli/commands.js +12 -8
  10. package/server/cli/daemon.js +20 -5
  11. package/server/cli/index.js +19 -31
  12. package/server/cli/open.js +3 -0
  13. package/server/cli/usage.js +4 -2
  14. package/server/config.js +3 -2
  15. package/server/db.js +9 -6
  16. package/server/index.js +10 -4
  17. package/server/list-adapters.js +9 -3
  18. package/server/logging.js +23 -0
  19. package/server/subscriptions.js +12 -0
  20. package/server/validators.js +2 -0
  21. package/server/watcher.js +10 -5
  22. package/server/ws.js +31 -10
  23. package/app/data/list-selectors.js +0 -98
  24. package/app/data/providers.js +0 -76
  25. package/app/data/sort.js +0 -45
  26. package/app/data/subscription-issue-store.js +0 -161
  27. package/app/data/subscription-issue-stores.js +0 -102
  28. package/app/data/subscriptions-store.js +0 -219
  29. package/app/main.js +0 -702
  30. package/app/protocol.js +0 -196
  31. package/app/protocol.md +0 -66
  32. package/app/router.js +0 -114
  33. package/app/state.js +0 -103
  34. package/app/utils/issue-id-renderer.js +0 -71
  35. package/app/utils/issue-id.js +0 -10
  36. package/app/utils/issue-type.js +0 -27
  37. package/app/utils/issue-url.js +0 -9
  38. package/app/utils/markdown.js +0 -22
  39. package/app/utils/priority-badge.js +0 -47
  40. package/app/utils/priority.js +0 -1
  41. package/app/utils/status-badge.js +0 -32
  42. package/app/utils/status.js +0 -23
  43. package/app/utils/toast.js +0 -34
  44. package/app/utils/type-badge.js +0 -33
  45. package/app/views/board.js +0 -535
  46. package/app/views/detail.js +0 -1249
  47. package/app/views/epics.js +0 -280
  48. package/app/views/issue-dialog.js +0 -163
  49. package/app/views/issue-row.js +0 -190
  50. package/app/views/list.js +0 -464
  51. package/app/views/nav.js +0 -67
  52. package/app/views/new-issue-dialog.js +0 -345
  53. package/app/ws.js +0 -279
  54. package/docs/adr/001-push-only-lists.md +0 -134
  55. package/docs/adr/002-per-subscription-stores-and-full-issue-push.md +0 -200
  56. package/docs/architecture.md +0 -194
  57. package/docs/data-exchange-subscription-plan.md +0 -198
  58. package/docs/db-watching.md +0 -30
  59. package/docs/migration-v2.md +0 -54
  60. package/docs/protocol/issues-push-v2.md +0 -179
  61. package/docs/subscription-issue-store.md +0 -112
package/CHANGES.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changes
2
2
 
3
+ ## 0.4.0
4
+
5
+ - [`20a787c`](https://github.com/mantoni/beads-ui/commit/20a787c248225b4959b18b703894daf483f380b6)
6
+ Refine and apply coding standards
7
+ - [`aedc73f`](https://github.com/mantoni/beads-ui/commit/aedc73f0c494dd391fcc9ec7ecbf19b01b37e69a)
8
+ Invert CLI option from no_open to open
9
+ - [`03a2a4f`](https://github.com/mantoni/beads-ui/commit/03a2a4f0ddb93df717e9f12b0c4600be12b390b5)
10
+ Add debug-based logging across codebase
11
+ - [`eed2d5c`](https://github.com/mantoni/beads-ui/commit/eed2d5c71c45131023d1ec047a9f84e84d057fdb)
12
+ Pre-bundle frontend for npm package
13
+ - [`d07f743`](https://github.com/mantoni/beads-ui/commit/d07f7437c67bfdbded470c6ccea556a78b3452b3)
14
+ Remove obsolete BDUI_NO_OPEN
15
+ - [`1c1a003`](https://github.com/mantoni/beads-ui/commit/1c1a0035fd069d030430d56713e64fbaf0224db8)
16
+ Improve project description
17
+
18
+ _Released by [Maximilian Antoni](https://github.com/mantoni) on 2025-10-28._
19
+
20
+ ## 0.3.1
21
+
22
+ - [`3912ae5`](https://github.com/mantoni/beads-ui/commit/3912ae552b1cc97e61fbaaa0815ca77675c542e4)
23
+ Status filter intermittently not applied on Issues screen
24
+ - [`a160484`](https://github.com/mantoni/beads-ui/commit/a16048479d1d7d61ed4ad4e53365a5736eb053af)
25
+ Upgrade eslint-plugin-jsdoc and switch config
26
+
27
+ _Released by [Maximilian Antoni](https://github.com/mantoni) on 2025-10-27._
28
+
3
29
  ## 0.3.0
4
30
 
5
31
  - 🍏 Rewrite data-exchange layer to push-only updates via WebSocket.
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