Skip to content

Desktop Renderer sends local name@marketplace IDs through remote plugin/read lookup #47140

Open

Description

@davidliuk

What happened?

Codex/ChatGPT Desktop repeatedly calls app-server plugin/read for local bundled plugins with a composite local ID as pluginName while also selecting the remote lookup branch. The bundled app-server rejects the request:

plugin/read -> -32600
invalid remote plugin id: only ASCII letters, digits, `_`, `-`, and `~` are allowed

The failure recurs when navigating tasks or using browser/computer-use surfaces. The local plugin remains installed, but the Renderer cannot read its details reliably.

Environment

  • ChatGPT/Codex Desktop build: 26.915.31945
  • Bundled backend initialize response: Codex Desktop/0.155.0-alpha.9.2
  • macOS arm64
  • Local bundled marketplace, isolated CODEX_HOME

Minimal offline reproduction

No account, network, user plugin state, or model request is needed.

  1. Start the bundled backend with a temporary CODEX_HOME containing only a local openai-bundled marketplace.
  2. initialize with experimentalApi=true.
  3. plugin/list returns the local plugin as:
{
  "id": "codex-app-tools@openai-bundled",
  "remotePluginId": null,
  "name": "codex-app-tools",
  "source": {"type": "local", "path": ".../plugins/codex-app-tools"}
}
  1. Compare these plugin/read calls:
// Reproduces the Desktop failure
{
  "pluginName": "codex-app-tools@openai-bundled",
  "remoteMarketplaceName": "openai-bundled"
}
// -> -32600 invalid remote plugin id

// Correct local lookup
{
  "pluginName": "codex-app-tools",
  "marketplacePath": ".../.agents/plugins/marketplace.json"
}
// -> success

Additional matrix:

  • bare pluginName + remoteMarketplaceName enters remote catalog lookup (authentication is then required)
  • any composite pluginName containing @ + remoteMarketplaceName fails remote ID validation
  • composite pluginName + local marketplacePath fails because the marketplace contains the bare name

This matches the current public app-server contract: PluginReadParams contains pluginName, marketplacePath, and remoteMarketplaceName; local and remote sources are mutually exclusive. Public app-server tests likewise use bare plugin name + marketplacePath for local reads and a backend remote ID + remoteMarketplaceName for remote reads.

Expected behavior

When the selected summary is local (remotePluginId == null, local source, composite id=name@marketplace), the Desktop Renderer should call plugin/read with:

  • pluginName = summary.name (bare name)
  • marketplacePath = the local marketplace manifest path
  • remoteMarketplaceName = null

For a remote summary, it should use the actual remotePluginId as pluginName plus the remote marketplace name.

Please do not solve this by loosening remote ID validation in app-server: treating name@marketplace as a remote ID would blur local/remote identity and could route the wrong plugin. The fix belongs where the Renderer maps a PluginSummary/cached composite ID into PluginReadParams.

Persistence evidence

The Desktop-generated sidebar/tool cache stores valid local composite IDs such as:

codex-app-tools@openai-bundled
unified-computer-use@openai-bundled

These state files are generated by the isolated App itself, not copied from another profile. Clearing them is therefore only a temporary workaround; the Renderer regenerates the same identities. In one run the error appeared seven times, including after the cache had been rewritten later in the same session.

Request

Please add a Renderer regression covering local and remote PluginSummary identities when constructing plugin/read, and ensure local bundled plugin details use marketplacePath rather than remoteMarketplaceName.

Activity

  1. added
    bug
    app
    app-server
    skills
    on Sep 22, 2026
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-serverbugskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions