Spreadsheets plugin cannot access load_workspace_dependencies in Codex CLI
What version of Codex CLI is running?
0.145.0
What subscription do you have?
Pro
Which model were you using?
gpt-5.6-sol-xhigh
What platform is your computer?
Windows 11
What terminal emulator and version are you using (if applicable)?
_No response_
Codex doctor report
What issue are you seeing?
## Environment
- OS: Windows 11
- Codex CLI: 0.145.0
- Spreadsheets plugin: 26.715.12143 (
installed, enabled) features.workspace_dependencies:true- Session ID:
019f8c71-084c-7ae1-9f33-4ac77ef70542
## Problem
The installed Spreadsheets skill requires the host-provided
load_workspace_dependencies tool to obtain the bundled Node executable and
node_modules path for @oai/artifact-tool.
However, load_workspace_dependencies is absent from the callable tool catalog.
As a result, standalone .xlsx authoring cannot proceed without violating the
skill contract.
## Reproduction
- Start a fresh Codex CLI session on Windows.
- Confirm the plugin state with:
codex plugin list
- Confirm the feature state with:
codex features list
- Inspect the session's callable tools for
load_workspace_dependencies. - Repeat in a fresh ephemeral session:
codex exec --ephemeral ...
## Results
- Default session:
load_workspace_dependenciesmissing - Fresh
codex exec --ephemeralsession: missing - With
--enable artifact: missing - With
danger-full-access: missing
Enabling the experimental artifact feature does not change the result.
Reproduction without the Windows sandbox indicates that sandbox permissions are
not the direct cause of the missing tool registration.
## Expected behavior
When features.workspace_dependencies=true and the Spreadsheets plugin is
installed and enabled, a new session should expose
load_workspace_dependencies.
The tool should return the bundled Node executable and node_modules directory
needed to import @oai/artifact-tool.
## Additional Windows sandbox observation
A separate sandbox startup problem was also observed:
codex-windows-sandbox-setup.exe exists at:
C:\Users\Lenovo\.codex\packages\standalone\releases\0.145.0-x86_64-pc-windows-
msvc\codex-resources\codex-windows-sandbox-setup.exe
However, sandbox startup reports:
orchestrator_helper_launch_failed: ... error=program not found
The executable is not present in codex-path and is not resolvable through
PATH.
This may be a separate packaging/path-resolution issue. It does not fully
explain the missing workspace-dependency tool because the tool remains absent
in a fresh danger-full-access session.
## Other diagnostics
- Plugin source and installed-cache
SKILL.mdhashes match. - Plugin source and installed-cache
plugin.jsonhashes match. codex doctor --jsonreturnsoverallStatus: ok.- No packages were installed, removed, or modified during diagnosis.
- No global, system, repository-local, or alternate spreadsheet libraries were
used.
What steps can reproduce the bug?
Uploaded thread: 019f8c71-084c-7ae1-9f33-4ac77ef70542
What is the expected behavior?
_No response_
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Additional controlled comparison:
On the same Windows machine and with the same primary runtime bundle
26.715.12143, Codex Desktop successfully exposes and invokes the namespaced
tool
codex_app__load_workspace_dependencies.The returned bundled Node v24.14.0 runs successfully, the returned
node_modules directory is accessible, and
@oai/artifact-toolimportssuccessfully as an ES module.
Codex CLI 0.145.0 reports
workspace_dependenciesas stable/true and loadsthe same enabled Spreadsheets plugin, but exposes neither
load_workspace_dependenciesnor a namespaced equivalent.This strongly suggests a CLI host-tool registration or surface integration
gap rather than a damaged runtime bundle, missing package, sandbox denial,
or third-party process interference.
Same issue on Mac.
Reproduced on macOS 14.8.3 (Apple Silicon) through an OpenClaw-hosted Codex session.
Environment/results:
load_workspace_dependenciesis absent from the session tool catalog.@oai/artifact-toolare physically present and functional.To separate runtime health from tool registration, I invoked the bundled runtime using its own Node executable and dependency tree. A disposable canary successfully:
This suggests the failure is in host/session tool registration rather than a missing or broken artifact library. The generic external Node route could not load the bundled Skia native module on macOS because of native-module signing compatibility, but the runtime own Node route worked.
One possibly relevant inconsistency: the runtime manifest listed artifact-tool 2.8.23 while the installed package identified itself as 2.8.31.
No manual npm installation was needed. A supported fix would appear to require exposing
load_workspace_dependenciesto the active session (or otherwise providing the plugin the approved runtime/dependency paths).Additional Codex Desktop reproduction (Windows 11)
I can reproduce the same missing-tool failure in an interactive Codex Desktop task.
Environment
Observed behavior
load_workspace_dependenciesis still absent from the task's callable tool catalog.typeof tools.load_workspace_dependencies === "undefined".node_modulespath is not registered.@oai/artifact-toolcannot be loaded through the required path, and standalone.xlsxauthoring cannot begin.The restart did not change the tool manifest. No guessed dependency paths, package installations, resolution hacks, or alternative spreadsheet libraries were used.
Expected behavior
When the Spreadsheets plugin is installed and enabled in Codex Desktop, the task should expose
load_workspace_dependenciesso the supported artifact runtime can be loaded.This appears to be a Desktop task tool-registration/injection failure matching the CLI symptom reported here. I can provide the task or feedback ID privately if a maintainer needs it.
It is recommended to check config.toml (line 46), [mcp_servers.node_repl] and [mcp_servers.node_repl.env] to see if the deprecated Codex.app path has been introduced.
Same issue
Controlled Windows follow-up:
node_replpath hypothesis ruled outI reproduced the missing loader on the current Windows Desktop and CLI builds and tested the
config.toml/node_replsuggestion above without modifying the persistent configuration.Environment
26.721.4979.00.146.0-alpha.3.1; standalone CLI:0.146.026.727.11326, installed and enabled26.727.11326v24.14.0;@oai/artifact-tool:2.8.31workspace_dependenciesandskill_mcp_dependency_install: stable / enabledControlled results
/Applications/Codex.app/...literal is present in this Windows configuration.%LOCALAPPDATA%\OpenAI\Codex\...node_repl, Node, and Codex executables all exist and are the current Desktop-managed copies. Their SHA-256 hashes match the corresponding installed Store-package resources byte-for-byte:node_repl.exe:2FCF3EC7...50CEAE2Dnode.exe:63C259C8...9048088codex.exe:39E9E041...352A6EF3node_replJavaScript call succeeds.-c 'mcp_servers.node_repl.enabled=false'still reports:ABSENT: load_workspace_dependencies is not present in the callable tool registry.TypeError: tools.load_workspace_dependencies is not a function.No handler registered for tool: load_workspace_dependencies.installed=truewithproblemCount=0.This rules out a stale/deprecated
node_replpath on this host and continues to point to host/session tool registration. No dependency paths were guessed, no packages were installed, and no alternate spreadsheet library was used.I also submitted Codex feedback with the diagnostic session and Desktop log. Feedback thread ID:
019fb14c-97e3-76e0-864d-5d776b2f68c0. The feedback upload succeeded; only its optional doctor-report attachment timed out and was skipped.macOS reproduction on newer CLI and plugin versions (August 4, 2026)
I can reproduce this on a current macOS Apple Silicon environment with newer versions than the original report:
0.146.026.802.11031(installed and enabled)workspace_dependencies:stable / trueObserved behavior:
load_workspace_dependenciesor a namespaced equivalent.node_modulesdirectory. Without the loader, standalone XLSX authoring cannot proceed without violating the supported runtime contract.Expected behavior:
When the Spreadsheets plugin is installed and enabled and
workspace_dependencies=true, a new Codex CLI session should registerload_workspace_dependenciesand return a dependency directory containing an importable@oai/artifact-tool.This confirms that the issue remains unresolved with Codex CLI
0.146.0and Spreadsheets plugin26.802.11031on macOS. Please prioritize the host tool-registration or runtime-version compatibility fix, since the plugin is presented as available while its mandatory runtime path is unusable.No packages were installed, no dependency paths were guessed, and no alternate spreadsheet library was used during validation.