Repository navigation
Description
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.
- Start the bundled backend with a temporary
CODEX_HOMEcontaining only a localopenai-bundledmarketplace. initializewithexperimentalApi=true.plugin/listreturns the local plugin as:
{
"id": "codex-app-tools@openai-bundled",
"remotePluginId": null,
"name": "codex-app-tools",
"source": {"type": "local", "path": ".../plugins/codex-app-tools"}
}- Compare these
plugin/readcalls:
// 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"
}
// -> successAdditional matrix:
- bare
pluginName+remoteMarketplaceNameenters remote catalog lookup (authentication is then required) - any composite
pluginNamecontaining@+remoteMarketplaceNamefails remote ID validation - composite
pluginName+ localmarketplacePathfails 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 pathremoteMarketplaceName = 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