You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wmux workspace list returns empty manifests array #398
Thanks for asking, you found a real bug. Fixed in 2.49.0.
wmux workspace list lists the project workspace manifests (wmux.workspace.json files) you have allowed to run on this machine. It stays [] until you open one with wmux workspace open and choose to run its commands in the trust dialog. So for most people, an empty list from that command is the correct answer.
The bug: since 2.23.0, wmux list-workspaces returned that same manifest list instead of your open workspaces, because both commands used the same internal method name. In 2.49.0, list-workspaces returns your workspaces again, workspace list still lists trusted manifests, and the help text explains the difference.
To get an entry in manifests, put a wmux.workspace.json at the root of a project:
Then run wmux workspace open in that folder and choose to run it. wmux workspace validate checks a manifest, wmux workspace save writes one from your current workspace, and the full schema is in docs/workspace-manifest.md.
Sure! The full write-up is docs/workspace-manifest.md. In short, a manifest is for a dev setup you want to commit with a repo and bring up with one command, rather than rebuild by hand:
Same setup for everyone. It describes which panes open, in which folders, running which commands (npm run dev, docker compose up, claude…), plus the browser tabs. Anyone who clones the repo runs wmux workspace open and gets the same layout.
Start order.after and waitFor (a port, an HTTP URL or a delay) start the web server only once the API answers, the API only once the database port is open, and so on. runOnce covers first-time steps like pnpm install.
Processes come back. wmux's own session restore brings your layout back after a restart, but deliberately not the running commands. wmux workspace open starts them again.
Safe by default. Because the file arrives with git clone, nothing runs until you have seen every command in a wmux dialog and said yes. Any change to the file asks again. That approval is what wmux workspace list shows.
If you just want your current layout back after a restart, you don't need any of this: session restore and named sessions already cover that. Manifests are for a setup you want reproducible and shareable. wmux workspace save is the shortcut: it writes a manifest from the workspace you have open, so you can edit and commit it.
Activity
fix(cli): give list-workspaces its workspace.list back (#398)
amirlehmam commentedon Oct 29, 2026
Thanks for asking, you found a real bug. Fixed in 2.49.0.
wmux workspace listlists the project workspace manifests (wmux.workspace.jsonfiles) you have allowed to run on this machine. It stays[]until you open one withwmux workspace openand choose to run its commands in the trust dialog. So for most people, an empty list from that command is the correct answer.The bug: since 2.23.0,
wmux list-workspacesreturned that same manifest list instead of your open workspaces, because both commands used the same internal method name. In 2.49.0,list-workspacesreturns your workspaces again,workspace liststill lists trusted manifests, and the help text explains the difference.To get an entry in
manifests, put awmux.workspace.jsonat the root of a project:{ "version": 1, "name": "my-project", "panes": [ { "id": "dev", "run": ["npm run dev"] }, { "id": "shell" } ] }Then run
wmux workspace openin that folder and choose to run it.wmux workspace validatechecks a manifest,wmux workspace savewrites one from your current workspace, and the full schema is indocs/workspace-manifest.md.richardaubin commentedon Oct 29, 2026
Can you point me to some documentation as to why I would save a workspace this way?
amirlehmam commentedon Oct 29, 2026
Sure! The full write-up is docs/workspace-manifest.md. In short, a manifest is for a dev setup you want to commit with a repo and bring up with one command, rather than rebuild by hand:
npm run dev,docker compose up,claude…), plus the browser tabs. Anyone who clones the repo runswmux workspace openand gets the same layout.afterandwaitFor(a port, an HTTP URL or a delay) start the web server only once the API answers, the API only once the database port is open, and so on.runOncecovers first-time steps likepnpm install.wmux workspace openstarts them again.git clone, nothing runs until you have seen every command in a wmux dialog and said yes. Any change to the file asks again. That approval is whatwmux workspace listshows.If you just want your current layout back after a restart, you don't need any of this: session restore and named sessions already cover that. Manifests are for a setup you want reproducible and shareable.
wmux workspace saveis the shortcut: it writes a manifest from the workspace you have open, so you can edit and commit it.