Remote backend: adding workspaces uses local filesystem and rejects remote paths
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- typescript
- Área
- backend-api-design, desktop
Línea de trabajo
Start by tracing the desktop UI workspace-add flow and the remote API/CLI workspace path used by the daemon. Compare local path validation with remote-mode behavior, then verify that a remote workspace can be added without client-side rejection using the Windows-to-WSL and macOS-to-Linux reproductions.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
When Backend mode = Remote, adding a workspace from the desktop client still validates paths against the client filesystem instead of the remote daemon filesystem.
This makes it impossible to add workspaces in common server/client setups such as:
- Windows UI -> WSL remote daemon
- macOS UI -> remote Linux daemon
The UI shows errors like:
Added 0 workspaces. Skipped 1 invalid path (not a folder).
Expected behavior
When using a remote backend, adding a workspace should be remote-aware:
- either browse/select paths from the remote machine's filesystem, or
- accept/normalize remote path formats such as WSL paths and forward them to the daemon for validation.
Actual behavior
The desktop client opens the local folder picker and validates against the local machine.
That means:
- Windows client can browse into WSL from Explorer and select a folder, but the selected WSL/Linux server folder is still rejected by the UI as invalid in remote mode
- macOS client cannot add Linux server folders from the UI
- even when the remote daemon connection is healthy, workspace creation fails with
invalid path (not a folder)
Reproduction
Windows -> WSL remote daemon
- Run CodexMonitor daemon in WSL/Linux.
- Connect CodexMonitor on Windows with
Backend mode = Remote. - Try to add a workspace that exists on the WSL/Linux side, including one selected through Explorer under
\\wsl\## Summary WhenBackend mode = Remote`, adding a workspace from the desktop client still validates paths against the client filesystem instead of the remote daemon filesystem.
This makes it impossible to add workspaces in common server/client setups such as:
- Windows UI -> WSL remote daemon
- macOS UI -> remote Linux daemon
The UI shows errors like:
Added 0 workspaces. Skipped 1 invalid path (not a folder).
Expected behavior
When using a remote backend, adding a workspace should be remote-aware:
- either browse/select paths from the remote machine's filesystem, or
- accept/normalize remote path formats such as WSL paths and forward them to the daemon for validation.
Actual behavior
The desktop client opens the local folder picker and validates against the local machine.
That means:
- Windows client can browse into WSL from Explorer and select a folder, but the selected WSL/Linux server folder is still rejected by the UI as invalid in remote mode
- macOS client cannot add Linux server folders from the UI
- even when the remote daemon connection is healthy, workspace creation fails with
invalid path (not a folder)
Reproduction
Windows -> WSL remote daemon
- Run CodexMonitor daemon in WSL/Linux.
- Connect CodexMonitor on Windows with
Backend mode = Remote.
or\\wsl\.localhost. - Observe:
- Windows can browse into WSL folders via Explorer
- the selected WSL folder is still rejected by the UI in remote mode
- error similar to
Added 0 workspaces. Skipped 1 invalid path (not a folder).
macOS -> Linux remote daemon
- Run CodexMonitor daemon on a Linux machine.
- Connect CodexMonitor on macOS with
Backend mode = Remote. - Try to add a workspace from the desktop UI.
- Observe that the local macOS picker is used and remote Linux paths cannot be added.
Prior context
This remote behavior was introduced in #54, but multiple users are still hitting this exact workspace-add problem and no clear workaround has been provided.
Relevant reports in #54 comments include:
- WSL/Windows users reporting path errors and inability to add workspaces from the UI
- macOS user reporting that remote mode still opens the local macOS folder picker
Why this matters
Remote backend mode is working enough to connect and run against the server, but without a remote-aware workspace-add flow it is effectively incomplete for real WSL/Linux remote usage.
Possible solutions
- Add a remote filesystem browser / remote folder picker when
Backend mode = Remote. - Add explicit support for WSL and other remote path formats, and let the daemon validate them.
- In remote mode, avoid client-side
is this a local folder?checks and delegate validation to the daemon. - Provide a documented fallback/workaround if full remote browsing is not ready yet.
Temporary workaround
The only known workaround today is to add the workspace directly on the daemon side via remote API / CLI rather than through the desktop UI.
That is not discoverable and is not documented as an official workflow.
- Lenguaje dominante
- TypeScript
- Estrellas
- 4.3k
- Forks
- 416
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Dimillian/CodexMonitor
-
Listed in Awesome Codex CLI Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Dimillian/CodexMonitor#590 ·
-
Unable to select the command Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 63/100
Dimillian/CodexMonitor#615 ·
-
Codex Monitor does not surface MCP browser tool approval prompts, making browser tools appear hung Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Dimillian/CodexMonitor#612 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Dimillian/CodexMonitor#602 · 1 comentario · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
Dimillian/CodexMonitor#599 ·
Todos los issues de Dimillian/CodexMonitor
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
bug v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
modelcontextprotocol/inspector#2458 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
carbon-design-system/ibm-products#9907 ·