beads-ui 0.11.1 → 0.11.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 +9 -0
- package/package.json +1 -1
- package/server/cli/commands.js +10 -7
package/CHANGES.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 0.11.2
|
|
4
|
+
|
|
5
|
+
- [`929a15d`](https://github.com/mantoni/beads-ui/commit/929a15da79ead6819044e50580093e3cbe87758b)
|
|
6
|
+
Fix beads setup
|
|
7
|
+
- [`b354aa6`](https://github.com/mantoni/beads-ui/commit/b354aa63a7d04abe50b0da74c5c0e62077f44b69)
|
|
8
|
+
fix: apply --port/--host overrides before workspace registration (Ryan Peterson)
|
|
9
|
+
|
|
10
|
+
_Released by [Maximilian Antoni](https://github.com/mantoni) on 2026-03-11._
|
|
11
|
+
|
|
3
12
|
## 0.11.1
|
|
4
13
|
|
|
5
14
|
- [`0fc2df7`](https://github.com/mantoni/beads-ui/commit/0fc2df7cbaeb6f0500900ce2bf87e6b3fa8e8ac0)
|
package/package.json
CHANGED
package/server/cli/commands.js
CHANGED
|
@@ -26,6 +26,16 @@ export async function handleStart(options) {
|
|
|
26
26
|
// Default: do not open a browser unless explicitly requested via `open: true`.
|
|
27
27
|
const should_open = options?.open === true;
|
|
28
28
|
const cwd = process.cwd();
|
|
29
|
+
|
|
30
|
+
// Set env vars early so getConfig() reflects CLI overrides in ALL branches,
|
|
31
|
+
// including the "already running" path that registers workspaces via HTTP.
|
|
32
|
+
if (options?.host) {
|
|
33
|
+
process.env.HOST = options.host;
|
|
34
|
+
}
|
|
35
|
+
if (options?.port) {
|
|
36
|
+
process.env.PORT = String(options.port);
|
|
37
|
+
}
|
|
38
|
+
|
|
29
39
|
const existing_pid = readPidFile();
|
|
30
40
|
if (existing_pid && isProcessRunning(existing_pid)) {
|
|
31
41
|
// Server is already running - register this workspace dynamically
|
|
@@ -45,13 +55,6 @@ export async function handleStart(options) {
|
|
|
45
55
|
removePidFile();
|
|
46
56
|
}
|
|
47
57
|
|
|
48
|
-
// Set env vars in current process so getConfig() reflects the overrides
|
|
49
|
-
if (options?.host) {
|
|
50
|
-
process.env.HOST = options.host;
|
|
51
|
-
}
|
|
52
|
-
if (options?.port) {
|
|
53
|
-
process.env.PORT = String(options.port);
|
|
54
|
-
}
|
|
55
58
|
const { url } = getConfig();
|
|
56
59
|
|
|
57
60
|
const started = startDaemon({
|