Skip to content

Plugins page fails in WSL mode when plugin/list receives Windows cwd #20014

Open

Description

@iamhectorlopez

Summary

In Codex Desktop on Windows with WSL execution enabled, opening Plugins > Manage can fail with:

Invalid request: AbsolutePathBuf deserialized without a base path

This looks like a Desktop-to-WSL path normalization issue rather than a plugin cache or marketplace manifest problem.

Symptoms

  • The Plugins management page shows Failed to load plugins.
  • The visible error is Invalid request: AbsolutePathBuf deserialized without a base path.
  • Installed apps, MCPs, and skills may still be present, but the plugin list request fails.

Reproduction outline

  1. Run Codex Desktop on Windows with WSL execution enabled.
  2. Open Plugins > Manage from a thread/workspace whose UI-side path is Windows-style, for example C:\Users\<user>\Documents\Codex.
  3. Observe that plugin loading fails with the AbsolutePathBuf error.

Debug evidence

Calling the app-server directly with no cwd succeeds:

{"method":"plugin/list","params":{"cwds":null,"forceRemoteSync":false}}

The same request shape with a Windows-style cwd fails when the app-server is running under WSL/Linux:

{"method":"plugin/list","params":{"cwds":["C:\\Users\\<user>\\Documents\\Codex"],"forceRemoteSync":false}}

Response:

{"error":{"code":-32600,"message":"Invalid request: AbsolutePathBuf deserialized without a base path"}}

When cwds is omitted/null, the same plugin cache returns the expected bundled and curated marketplaces, so this does not appear to be caused by corrupted plugin manifests.

Expected behavior

The Plugins management page should load in WSL mode. Either Desktop should translate Windows paths to WSL/Linux paths before sending plugin/list, or the app-server should accept and normalize Windows-style paths when running in Desktop WSL mode.

Activity

  1. added
    bug
    app
    windows-os
    skills
    app-server
    on Apr 28, 2026
  2. xiaodream551-a11y commented on May 18, 2026

    @xiaodream551-a11y

    Additional repro for the same AbsolutePathBuf deserialized without a base path class, but from the Add plugin marketplace dialog rather than plugin/list.

    Environment:

    • Codex Desktop on Windows
    • Codex CLI: 0.130.0
    • WSL distro: Ubuntu 24.04
    • Current workspace is opened through a WSL path such as \\wsl.localhost\Ubuntu-24.04\home\<user>

    Repro:

    1. Open Codex Desktop on Windows in a WSL workspace.
    2. Go to Plugins -> Create -> Add plugin marketplace.
    3. Enter a local WSL UNC marketplace root as the source, for example:
      \\wsl.localhost\Ubuntu-24.04\home\<user>\.agents\plugins\openai-curated-local
      
    4. Leave Git ref empty. For local sources, leave sparse path empty as well.
    5. Submit.

    Observed:

    The UI reports add marketplace failure. The user-visible/backend error is:

    Invalid request: AbsolutePathBuf deserialized without a base path
    

    Expected:

    The app should either accept and normalize WSL UNC local marketplace paths, or reject them with a clear validation message before sending the request to the app server.

    Additional note:

    The same local marketplace can be added successfully outside the dialog using a Windows-local path:

    codex plugin marketplace add C:\Users\<user>\.agents\plugins\openai-curated-local

    This writes a working config entry like:

    [marketplaces.openai-curated-local]
    source_type = "local"
    source = '\\?\C:\Users\<user>\.agents\plugins\openai-curated-local'

    There is also a separate validation footgun in the dialog: if the Sparse path field is left populated while adding a local folder, the CLI-equivalent error is:

    --sparse is only supported for git marketplace sources
    

    The dialog should probably clear/disable sparse path when the source is detected as a local folder, or surface that specific validation error instead of a generic add failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverbugskillswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions