webmux 0.18.0 → 0.20.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 +15 -4
- package/backend/dist/server.js +1262 -364
- package/bin/webmux.js +576 -232
- package/frontend/dist/assets/{index-Cy8MTH3L.css → index-DGNuO17V.css} +1 -1
- package/frontend/dist/assets/index-DrHGpNfR.js +149 -0
- package/frontend/dist/icon.svg +1 -0
- package/frontend/dist/index.html +5 -7
- package/frontend/dist/manifest.webmanifest +16 -0
- package/package.json +1 -1
- package/frontend/dist/assets/index-CzRnnD-H.js +0 -148
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ cd /path/to/your/project
|
|
|
56
56
|
webmux init # creates .webmux.yaml
|
|
57
57
|
|
|
58
58
|
# 4. Start the dashboard
|
|
59
|
-
webmux
|
|
59
|
+
webmux serve # opens on http://localhost:5111
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
## Prerequisites
|
|
@@ -87,6 +87,9 @@ workspace:
|
|
|
87
87
|
mainBranch: main
|
|
88
88
|
worktreeRoot: __worktrees
|
|
89
89
|
defaultAgent: claude
|
|
90
|
+
autoPull:
|
|
91
|
+
enabled: true
|
|
92
|
+
intervalSeconds: 300
|
|
90
93
|
|
|
91
94
|
services:
|
|
92
95
|
- name: BE
|
|
@@ -110,6 +113,7 @@ profiles:
|
|
|
110
113
|
- id: frontend
|
|
111
114
|
kind: command
|
|
112
115
|
split: right
|
|
116
|
+
workingDir: frontend
|
|
113
117
|
command: FRONTEND_PORT=$FRONTEND_PORT npm run dev
|
|
114
118
|
|
|
115
119
|
sandbox:
|
|
@@ -127,9 +131,12 @@ profiles:
|
|
|
127
131
|
You are running inside a sandboxed container.
|
|
128
132
|
Backend port: ${PORT}. Frontend port: ${FRONTEND_PORT}.
|
|
129
133
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
134
|
+
integrations:
|
|
135
|
+
github:
|
|
136
|
+
autoRemoveOnMerge: true
|
|
137
|
+
linkedRepos:
|
|
138
|
+
- repo: myorg/related-service
|
|
139
|
+
alias: svc
|
|
133
140
|
|
|
134
141
|
startupEnvs:
|
|
135
142
|
NODE_ENV: development
|
|
@@ -156,6 +163,8 @@ lifecycleHooks:
|
|
|
156
163
|
| `workspace.mainBranch` | string | no | Base branch used for new worktrees |
|
|
157
164
|
| `workspace.worktreeRoot` | string | no | Relative or absolute directory for managed worktrees |
|
|
158
165
|
| `workspace.defaultAgent` | string | no | Default agent for new worktrees |
|
|
166
|
+
| `workspace.autoPull.enabled` | boolean | no | Periodically fetch and fast-forward merge the main branch (default: `false`) |
|
|
167
|
+
| `workspace.autoPull.intervalSeconds` | number | no | Seconds between auto-pull attempts (default: `300`, minimum: `30`) |
|
|
159
168
|
| `services[].name` | string | yes | Display name shown in the dashboard |
|
|
160
169
|
| `services[].portEnv` | string | yes | Env var containing the service port |
|
|
161
170
|
| `services[].portStart` | number | no | Base port for auto-allocation |
|
|
@@ -165,6 +174,7 @@ lifecycleHooks:
|
|
|
165
174
|
| `profiles.<name>.panes[]` | array | yes | Pane layout for that profile |
|
|
166
175
|
| `profiles.<name>.panes[].kind` | string | yes | `agent`, `shell`, or `command` |
|
|
167
176
|
| `profiles.<name>.panes[].command` | string | yes (for `command`) | Startup command run inside the pane |
|
|
177
|
+
| `profiles.<name>.panes[].workingDir` | string | no | Directory to `cd` into before running a command pane startup command |
|
|
168
178
|
| `profiles.default.systemPrompt` | string | no | Agent system prompt; `${VAR}` placeholders expanded at runtime |
|
|
169
179
|
| `profiles.default.envPassthrough` | string[] | no | Env vars passed to the agent process |
|
|
170
180
|
| `profiles.sandbox.image` | string | yes (if used) | Docker image for containers |
|
|
@@ -173,6 +183,7 @@ lifecycleHooks:
|
|
|
173
183
|
| `profiles.sandbox.mounts[].hostPath` | string | yes | Host path to mount (`~` expands to `$HOME`) |
|
|
174
184
|
| `profiles.sandbox.mounts[].guestPath` | string | no | Container mount path (defaults to `hostPath`) |
|
|
175
185
|
| `profiles.sandbox.mounts[].writable` | boolean | no | `true` for read-write; omit or `false` for read-only |
|
|
186
|
+
| `integrations.github.autoRemoveOnMerge` | boolean | no | Automatically remove worktrees when their PR is merged (default: `false`) |
|
|
176
187
|
| `integrations.github.linkedRepos[].repo` | string | yes | GitHub repo slug (e.g. `org/repo`) |
|
|
177
188
|
| `integrations.github.linkedRepos[].alias` | string | no | Short label for the UI |
|
|
178
189
|
| `startupEnvs.<KEY>` | string or boolean | no | Extra env vars materialized into worktree runtime env |
|