Description
On Windows native, OMP itself starts, but installed/enabled plugins do not become available. No plugin-provided tools or commands appear after startup, reload, enable/disable, or reinstall/update.
The plugins are installed and omp plugin doctor reports them as OK, but extension initialization fails at runtime because OMP tries to resolve internal @oh-my-pi/pi-* packages from Bun's compiled runtime root:
The failure appears to happen before plugin tools/commands can be registered.
This looks specific to the compiled Windows executable / Bun runtime module resolution path, not to missing plugin installs.
Possibly related to #1215, but this report covers Windows native with multiple common plugins failing after update/reinstall.
Steps to Reproduce
Existing environment repro
- Install OMP on Windows native.
- Install/update these plugins:
omp plugin install @juicesharp/rpiv-ask-user-question@latest
omp plugin install @oh-my-pi/swarm-extension@latest
omp plugin install @plannotator/pi-extension@latest
omp plugin install @runfusion/fusion@latest
omp plugin install pi-autoresearch@latest
- Verify plugin state:
omp plugin list --json
omp plugin doctor --json
- Start OMP.
- Try reloading or toggling plugins:
or disable/re-enable plugins from the UI/CLI.
- Observe that no plugin-provided tools/commands appear.
- Check the OMP log:
%USERPROFILE%\.omp\logs\omp.<date>.log
Minimal fresh-environment repro idea
On a clean Windows native machine/profile:
omp --version
bun --version
omp plugin install @juicesharp/rpiv-ask-user-question@latest
omp plugin install @oh-my-pi/swarm-extension@latest
omp plugin install @plannotator/pi-extension@latest
omp plugin install @runfusion/fusion@latest
omp plugin list --json
omp plugin doctor --json
omp
Then check whether plugin-provided tools/commands are registered. If they are not, inspect:
%USERPROFILE%\.omp\logs\omp.<date>.log
for Failed to load extension errors resolving @oh-my-pi/pi-* from B:\~BUN\root.
Expected Behavior
Enabled plugins should load successfully.
Plugin-provided tools, commands, UI components, or extension behavior should be available after OMP startup or after /reload-plugins.
Plugins should be able to import OMP internal packages such as:
@oh-my-pi/pi-tui
@oh-my-pi/pi-coding-agent
@oh-my-pi/pi-agent-core
without failing module resolution from Bun's compiled runtime root.
Error Output
Failed to load extension
path="C:\Users\<user>\.omp\plugins\node_modules\@juicesharp\rpiv-ask-user-question\index.ts"
error="Failed to load extension: ResolveMessage: Cannot find module '@oh-my-pi/pi-tui' from 'B:\~BUN\root'"
Failed to load extension
path="C:\Users\<user>\.omp\plugins\node_modules\@oh-my-pi\swarm-extension\src\extension.ts"
error="Failed to load extension: ResolveMessage: Cannot find module '@oh-my-pi/pi-coding-agent' from 'B:\~BUN\root'"
Failed to load extension
path="C:\Users\<user>\.omp\plugins\node_modules\@plannotator\pi-extension\index.ts"
error="Failed to load extension: ResolveMessage: Cannot find module '@oh-my-pi/pi-agent-core' from 'B:\~BUN\root'"
Failed to load extension
path="C:\Users\<user>\.omp\plugins\node_modules\@runfusion\fusion\dist\extension.js"
error="Failed to load extension: ResolveMessage: Cannot find module '@oh-my-pi/pi-coding-agent' from 'B:\~BUN\root'"
After updating to the latest available plugin versions, the same errors still occur.
Platform
Windows (native)
omp version
Bun version
Provider
Other
This does not appear provider-specific. The failure happens during plugin/extension initialization before plugin capabilities are available.
Area
Extensions / Plugins
Additional context
Installed plugin state after update
omp plugin list --json reports the plugins installed and enabled:
{
"npm": [
{
"name": "@juicesharp/rpiv-ask-user-question",
"version": "1.12.0",
"enabled": true
},
{
"name": "@oh-my-pi/swarm-extension",
"version": "13.17.0",
"enabled": true
},
{
"name": "@plannotator/pi-extension",
"version": "0.19.21",
"enabled": true
},
{
"name": "@runfusion/fusion",
"version": "0.32.0",
"enabled": true
},
{
"name": "pi-autoresearch",
"version": "1.4.0",
"enabled": true
}
],
"marketplace": []
}
omp plugin doctor --json reports the plugin directory, package manifest, node_modules, and all five plugins as OK.
So the issue does not look like a missing install or broken plugin directory.
Things tried
I tried the following:
- Updated all installed npm plugins to latest:
omp plugin install @juicesharp/rpiv-ask-user-question@latest
omp plugin install @oh-my-pi/swarm-extension@latest
omp plugin install @plannotator/pi-extension@latest
omp plugin install @runfusion/fusion@latest
omp plugin install pi-autoresearch@latest
- Restarted OMP.
- Tried reloading plugins.
- Tried disabling/re-enabling plugins.
- Verified plugin install state with:
omp plugin list --json
omp plugin doctor --json
- Temporarily removed/renamed stale user-level OMP package/launcher paths to rule out a local stale runtime issue, including:
%USERPROFILE%\node_modules\@oh-my-pi\pi-coding-agent
%USERPROFILE%\node_modules\.bin\omp*
That removed an older separate failure mode involving malformed Windows paths, but the active failure remained:
Cannot find module '@oh-my-pi/...' from 'B:\~BUN\root'
Why this seems like an OMP runtime/loader issue
The plugins are present and enabled, but extension loading fails when resolving OMP internal packages from the compiled Bun executable root:
The affected imports are internal OMP packages used by plugins:
@oh-my-pi/pi-tui
@oh-my-pi/pi-coding-agent
@oh-my-pi/pi-agent-core
The result is that OMP starts, but plugin capabilities never register, so no new plugin tools or commands appear.
Note about pi-autoresearch
pi-autoresearch is installed and enabled, but it does not appear in the same extension-load errors. Its manifest declares:
{
"pi": {
"extensions": ["./extensions"],
"skills": ["./skills"]
}
}
The installed structure contains:
extensions/pi-autoresearch/index.ts
So it may be resolving to zero extension entrypoints depending on how plugin extension path discovery handles nested extension directories. This may be separate from the B:\~BUN\root import-resolution failure affecting the other four plugins.
Description
On Windows native, OMP itself starts, but installed/enabled plugins do not become available. No plugin-provided tools or commands appear after startup, reload, enable/disable, or reinstall/update.
The plugins are installed and
omp plugin doctorreports them as OK, but extension initialization fails at runtime because OMP tries to resolve internal@oh-my-pi/pi-*packages from Bun's compiled runtime root:The failure appears to happen before plugin tools/commands can be registered.
This looks specific to the compiled Windows executable / Bun runtime module resolution path, not to missing plugin installs.
Possibly related to #1215, but this report covers Windows native with multiple common plugins failing after update/reinstall.
Steps to Reproduce
Existing environment repro
or disable/re-enable plugins from the UI/CLI.
Minimal fresh-environment repro idea
On a clean Windows native machine/profile:
Then check whether plugin-provided tools/commands are registered. If they are not, inspect:
for
Failed to load extensionerrors resolving@oh-my-pi/pi-*fromB:\~BUN\root.Expected Behavior
Enabled plugins should load successfully.
Plugin-provided tools, commands, UI components, or extension behavior should be available after OMP startup or after
/reload-plugins.Plugins should be able to import OMP internal packages such as:
without failing module resolution from Bun's compiled runtime root.
Error Output
After updating to the latest available plugin versions, the same errors still occur.
Platform
Windows (native)
omp version
Bun version
Provider
Other
This does not appear provider-specific. The failure happens during plugin/extension initialization before plugin capabilities are available.
Area
Extensions / Plugins
Additional context
Installed plugin state after update
omp plugin list --jsonreports the plugins installed and enabled:{ "npm": [ { "name": "@juicesharp/rpiv-ask-user-question", "version": "1.12.0", "enabled": true }, { "name": "@oh-my-pi/swarm-extension", "version": "13.17.0", "enabled": true }, { "name": "@plannotator/pi-extension", "version": "0.19.21", "enabled": true }, { "name": "@runfusion/fusion", "version": "0.32.0", "enabled": true }, { "name": "pi-autoresearch", "version": "1.4.0", "enabled": true } ], "marketplace": [] }omp plugin doctor --jsonreports the plugin directory, package manifest,node_modules, and all five plugins as OK.So the issue does not look like a missing install or broken plugin directory.
Things tried
I tried the following:
That removed an older separate failure mode involving malformed Windows paths, but the active failure remained:
Why this seems like an OMP runtime/loader issue
The plugins are present and enabled, but extension loading fails when resolving OMP internal packages from the compiled Bun executable root:
The affected imports are internal OMP packages used by plugins:
The result is that OMP starts, but plugin capabilities never register, so no new plugin tools or commands appear.
Note about
pi-autoresearchpi-autoresearchis installed and enabled, but it does not appear in the same extension-load errors. Its manifest declares:{ "pi": { "extensions": ["./extensions"], "skills": ["./skills"] } }The installed structure contains:
So it may be resolving to zero extension entrypoints depending on how plugin extension path discovery handles nested extension directories. This may be separate from the
B:\~BUN\rootimport-resolution failure affecting the other four plugins.