load_workspace_dependencies is unavailable

Open 💬 4 comments Opened Aug 18, 2026 by xioCharlie
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

codex-cli 0.147.0

What subscription do you have?

Enterprise

Which model were you using?

gpt-5.6-sol

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

PowerShell

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1787070576s since unix epoch",
  "overallStatus": "ok",
  "codexVersion": "0.147.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "C:\\Users\\charlie.hobson\\.codex\\app-server-control\\app-server-control.sock",
        "daemon state dir": "C:\\Users\\charlie.hobson\\.codex\\app-server-daemon",
        "mode": "ephemeral",
        "pid file": "C:\\Users\\charlie.hobson\\.codex\\app-server-daemon\\app-server.pid (missing)",
        "settings": "C:\\Users\\charlie.hobson\\.codex\\app-server-daemon\\settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "C:\\Users\\charlie.hobson\\.codex\\app-server-daemon\\app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is configured",
      "details": {
        "auth file": "C:\\Users\\charlie.hobson\\.codex\\auth.json",
        "auth storage mode": "File",
        "stored API key": "false",
        "stored ChatGPT tokens": "true",
        "stored agent identity": "false",
        "stored auth mode": "chatgpt"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "C:\\Users\\charlie.hobson\\.codex",
        "config.toml": "C:\\Users\\charlie.hobson\\.codex\\config.toml",
        "config.toml parse": "ok",
        "cwd": "C:\\Users\\charlie.hobson",
        "enabled feature flags": "<redacted>",
        "feature flag overrides": "none",
        "feature flags enabled": "39",
        "log dir": "C:\\Users\\charlie.hobson\\.codex\\log",
        "mcp servers": "1",
        "model": "gpt-5.6-sol",
        "model provider": "openai",
        "sqlite home": "C:\\Users\\charlie.hobson\\.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git executable not found",
      "details": {
        "PATH git entries": "0",
        "repo detected": "false",
        "selected git": "not found"
      },
      "remediation": null,
      "durationMs": 3
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\codex",
        "PATH codex #2": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\codex.cmd",
        "PATH codex entries": "2",
        "current executable": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
        "install context": "npm (package C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
        "managed by bun": "false",
        "managed by npm": "true",
        "managed by pnpm": "false",
        "managed package root": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex",
        "npm update target": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex"
      },
      "remediation": null,
      "durationMs": 311
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "MCP configuration is locally consistent",
      "details": {
        "configured servers": "1",
        "disabled servers": "0",
        "stdio servers": "1"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "proxy env vars": "none"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "ok",
      "summary": "active provider endpoints are reachable over HTTP",
      "details": {
        "ChatGPT base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 403)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 73
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "2 IPv4, 0 IPv6, first IPv4",
        "auth mode": "chatgpt",
        "connect timeout": "15000 ms",
        "endpoint": "wss://chatgpt.com/backend-api/<redacted>",
        "handshake result": "HTTP 101 Switching Protocols",
        "model provider": "openai",
        "models etag present": "true",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 611
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running npm on windows-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
        "install method": "npm (package C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
        "platform": "windows-x86_64",
        "version": "0.147.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (bundled)",
      "details": {
        "search command": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path\\rg.exe",
        "search command readiness": "file exists",
        "search provider": "bundled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",
      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "none",
        "execve wrapper helper": "none",
        "filesystem sandbox": "restricted",
        "network sandbox": "restricted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "C:\\Users\\charlie.hobson\\.codex (dir)",
        "active rollout files": "18 files, 327864239 total bytes, 18214679 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "C:\\Users\\charlie.hobson\\.codex\\goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "C:\\Users\\charlie.hobson\\.codex\\logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "C:\\Users\\charlie.hobson\\.codex\\log (missing)",
        "memories DB": "C:\\Users\\charlie.hobson\\.codex\\memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "queue DB": "C:\\Users\\charlie.hobson\\.codex\\queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "C:\\Users\\charlie.hobson\\.codex (dir)",
        "state DB": "C:\\Users\\charlie.hobson\\.codex\\state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "C:\\Users\\charlie.hobson\\.codex\\thread_history_1.sqlite (file)",
        "thread history DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 178
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "ok",
      "summary": "rollout files and state DB thread inventory agree",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "18",
        "rollout DB active rows": "18",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "0",
        "rollout DB archived rows": "0",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread ids": "0",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "0",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "openai=18",
        "rollout DB rows": "18",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "cli=16, subagent:other=2",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 42
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language en-US",
      "details": {
        "EDITOR": "not set",
        "VISUAL": "not set",
        "os": "Windows 10.0.26200 (Windows 11 Professional) [64-bit]",
        "os language": "en-US",
        "os type": "Windows",
        "os version": "10.0.26200"
      },
      "remediation": null,
      "durationMs": 0
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "WT_SESSION": "present",
        "color output": "enabled",
        "console input code page": "437",
        "console output code page": "437",
        "stderr console mode": "0x00000007 (VT processing: true)",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout console mode": "0x00000007 (VT processing: true)",
        "stdout is terminal": "true",
        "terminal": "Windows Terminal",
        "terminal size": "127x29"
      },
      "remediation": null,
      "durationMs": 0
    },
    "terminal.title": {
      "id": "terminal.title",
      "category": "title",
      "status": "ok",
      "summary": "terminal title default",
      "details": {
        "terminal title activity": "true",
        "terminal title items": "activity, project-name",
        "terminal title project source": "cwd",
        "terminal title project value": "charlie.hobson",
        "terminal title source": "default"
      },
      "remediation": null,
      "durationMs": 0
    },
    "updates.status": {
      "id": "updates.status",
      "category": "updates",
      "status": "ok",
      "summary": "update configuration is locally consistent",
      "details": {
        "cached latest version": "0.147.0",
        "check for update on startup": "true",
        "last checked at": "2026-08-18T16:02:49.907197Z",
        "latest version": "0.147.0",
        "latest version status": "current version is not older",
        "npm update target": "C:\\Users\\charlie.hobson\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex",
        "update action": "npm install -g @openai/codex",
        "version cache": "C:\\Users\\charlie.hobson\\.codex\\version.json"
      },
      "remediation": null,
      "durationMs": 585
    }
  }
}

What issue are you seeing?

per session guidance, this is a task-level capability-loading bug, not a workspace problem.
I [ChatGPT] verified:

  • The bundled Presentations skill is installed.
  • The desktop app is version 26.814.5167.0.
  • App logs show workspace_dependencies enabled.
  • This task nevertheless lacks load_workspace_dependencies.

What steps can reproduce the bug?

Uploaded thread: 01a015ad-f04e-7ca1-8228-1abc084c57c4

What is the expected behavior?

load_workspace_dependencies is available

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 9 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #38999
  • #39216

Powered by Codex Action

polar-chris · 8 days ago

Additional Windows Desktop reproduction — 2026-08-20

This remains reproducible after updating and repairing the Windows desktop app.

Environment

  • Windows 10.0.26200, x64
  • OpenAI Codex MSIX: 26.818.2441.0
  • Bundled Spreadsheets skill/runtime: 26.819.11345
  • Foreground local-project task

Observed tool registration

  • Existing foreground task: 456 callable tools; exact load_workspace_dependencies is absent.
  • Brand-new child task: 446 callable tools; exact load_workspace_dependencies is also absent.
  • mcp__node_repl__js and mcp__node_repl__js_add_node_module_dir are present in both contexts.
  • The Node REPL executes successfully, so this is narrower than a missing/broken Node runtime.
  • The Spreadsheets skill is installed and readable, but it cannot obtain the loader-provided node_modules path required for @oai/artifact-tool.

Recovery attempts

  • Fully terminated and relaunched the app.
  • Updated the Microsoft Store/MSIX package.
  • Ran Windows Repair for the app.
  • Re-tested in the resumed task and in fresh task contexts.

The result did not change. No guessed dependency paths, global packages, alternate spreadsheet libraries, or workbook data were used in the reproduction.

Expected: the installed Spreadsheets capability registers load_workspace_dependencies and returns the approved runtime paths.

Actual: the skill and Node tools load, but the required dependency-loader tool is not contributed to the callable registry.

haoers · 6 days ago

我在另一个 Windows 会话中复现了同一缺陷。

环境

  • Windows / PowerShell
  • Spreadsheets Skill 运行时包版本:26.819.11345
  • 复现日期:2026-08-22(Asia/Shanghai)

最小复现

  1. 用户明确要求使用 Spreadsheets Skill,并且只调用 load_workspace_dependencies,不创建文件。
  2. SKILL.md 可以完整加载,并明确要求通过 load_workspace_dependencies 获取 @oai/artifact-tool 的受支持依赖路径。
  3. 会话工具清单中不存在 load_workspace_dependencies;对工具名的精确查询返回空列表。
  4. 直接执行 await tools.load_workspace_dependencies({}) 失败,错误为:
TypeError: tools.load_workspace_dependencies is not a function

期望结果
选择并加载 Spreadsheets Skill 后,会话应暴露 load_workspace_dependencies,并返回受支持的可执行文件及 node_modules 路径。

影响
Skill 合同禁止猜测依赖路径或改用替代工作簿库,因此 @oai/artifact-tool 工作流被完全阻塞。本次复现未创建或修改任何文件。

qqcu111 · 4 days ago

macOS / Presentations reproduction on Codex CLI 0.149.1

I can reproduce the same missing-loader failure on the current standalone CLI, with the Presentations plugin rather than Spreadsheets.

Environment

  • Platform: Darwin 25.5.0 arm64 arm (Apple Silicon)
  • Codex CLI: 0.149.1 (official standalone installer)
  • Previous CLI tested before update: 0.149.0
  • Model: gpt-5.6-sol
  • Presentations plugin: 26.819.11345, installed and enabled
  • plugins: stable / true
  • workspace_dependencies: stable / true

Controlled reproduction

  1. Start a fresh ephemeral CLI session.
  2. Load the installed Presentations skill.
  3. Before reading project files, inspect the callable tool catalog for the exact name load_workspace_dependencies.
  4. Repeat with the relevant flags explicitly enabled:

``text
codex exec --ephemeral --sandbox read-only \
--enable artifact --enable workspace_dependencies ...
``

  1. Also repeat through a headless codex app-server daemon session connected from the terminal CLI.

Observed

  • Default fresh CLI session: load_workspace_dependencies absent.
  • Fresh CLI session with both feature flags enabled: absent.
  • Headless app-server session reached from terminal CLI: absent.
  • Updating the standalone CLI from 0.149.0 to 0.149.1 did not change the result.
  • The Presentations skill is installed and readable, but it requires this loader to return RUNTIME_NODE, RUNTIME_NODE_MODULES, and RUNTIME_BIN_DIR before @oai/artifact-tool authoring or rendering can begin.

Expected

When the Presentations plugin is installed/enabled and workspace_dependencies=true, a new CLI session should register load_workspace_dependencies and return all three approved runtime paths.

Impact / isolation

PPTX creation and QA are completely blocked without violating the skill's supported-runtime contract. No dependency paths were guessed, no alternative runtime or package was installed, and no presentation source file was read during the reproduction. The test daemon was stopped after validation.

This adds a current macOS + Presentations + CLI 0.149.1 reproduction to the Windows/App reports already on this issue.