wmdev 0.2.3 → 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.
- package/README.md +10 -3
- package/backend/dist/server.js +562 -57
- package/bin/wmdev.js +3 -3
- package/frontend/dist/assets/index-CG4MlxVZ.js +32 -0
- package/frontend/dist/assets/index-CNiZYPjy.css +32 -0
- package/frontend/dist/index.html +7 -2
- package/package.json +3 -4
- package/frontend/dist/assets/index-CRpS9q83.js +0 -25
- package/frontend/dist/assets/index-Cy7rpGPt.css +0 -32
package/README.md
CHANGED
|
@@ -62,6 +62,10 @@ wmdev uses two config files in the project root:
|
|
|
62
62
|
### `.wmdev.yaml` schema
|
|
63
63
|
|
|
64
64
|
```yaml
|
|
65
|
+
# Project name displayed in the sidebar header and browser tab title.
|
|
66
|
+
# Falls back to "Dashboard" if omitted.
|
|
67
|
+
name: string
|
|
68
|
+
|
|
65
69
|
# Services to monitor — each maps a display name to a port env var.
|
|
66
70
|
# The dashboard polls these ports and shows health status badges.
|
|
67
71
|
# When portStart is set, wmdev auto-allocates ports for new worktrees
|
|
@@ -112,9 +116,11 @@ linkedRepos: []
|
|
|
112
116
|
### Example
|
|
113
117
|
|
|
114
118
|
```yaml
|
|
119
|
+
name: My Project
|
|
120
|
+
|
|
115
121
|
services:
|
|
116
122
|
- name: BE
|
|
117
|
-
portEnv:
|
|
123
|
+
portEnv: BACKEND_PORT
|
|
118
124
|
portStart: 5111
|
|
119
125
|
portStep: 10
|
|
120
126
|
- name: FE
|
|
@@ -138,7 +144,7 @@ profiles:
|
|
|
138
144
|
writable: true
|
|
139
145
|
systemPrompt: >
|
|
140
146
|
You are running inside a sandboxed container.
|
|
141
|
-
Backend port: ${
|
|
147
|
+
Backend port: ${BACKEND_PORT}. Frontend port: ${FRONTEND_PORT}.
|
|
142
148
|
|
|
143
149
|
linkedRepos:
|
|
144
150
|
- repo: myorg/related-service
|
|
@@ -149,6 +155,7 @@ linkedRepos:
|
|
|
149
155
|
|
|
150
156
|
| Parameter | Type | Required | Description |
|
|
151
157
|
|-----------|------|----------|-------------|
|
|
158
|
+
| `name` | string | no | Project name shown in the sidebar header and browser tab title. Defaults to "Dashboard" |
|
|
152
159
|
| `services[].name` | string | yes | Display name shown in the dashboard |
|
|
153
160
|
| `services[].portEnv` | string | yes | Env var containing the service port (read from each worktree's `.env.local`) |
|
|
154
161
|
| `services[].portStart` | number | no | Base port for slot 0. When set, wmdev auto-allocates ports for new worktrees |
|
|
@@ -224,7 +231,7 @@ For sandbox profiles, wmdev manages Docker containers directly:
|
|
|
224
231
|
|
|
225
232
|
| Variable | Default | Description |
|
|
226
233
|
|----------|---------|-------------|
|
|
227
|
-
| `
|
|
234
|
+
| `BACKEND_PORT` | `5111` | Backend API port (also configurable via `--port`) |
|
|
228
235
|
|
|
229
236
|
## Keyboard shortcuts
|
|
230
237
|
|