Skip to content

[Bug]: unable to resolve bundled plugin public surface speech-core/runtime-api.js after upgrade to 2026.6.1 #92240

Closed as not planned

Description

@Newsstand

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After upgrading from 2026.5.18 → 2026.6.1, the gateway fails to start with:

run error: Unable to resolve bundled plugin public surface speech-core/runtime-api.js

Rollback to 2026.5.6 resolves the issue. The error appears on every gateway start
attempt after the upgrade. No config changes were made between versions.

Steps to reproduce

OpenClaw version: 2026.6.1
Previous version (working): 2026.5.18
OS: Windows 11 + WSL2 Ubuntu (Linux 6.6.87.2-microsoft-standard-WSL2)
Node: v22.22.2

  1. Run openclaw update from 2026.5.18
  2. Gateway restarts automatically
  3. Error appears immediately on startup

Workaround
Rolled back to 2026.5.6 via:
npm install -g openclaw@2026.5.6
OPENCLAW_ALLOW_OLDER_BINARY_DESTRUCTIVE_ACTIONS=1 systemctl --user restart openclaw-gateway.service

Expected behavior

Gateway starts cleanly. speech-core plugin loads without error.

Actual behavior

Gateway fails to start. speech-core/runtime-api.js cannot be resolved.

OpenClaw version

2026.6.1

Operating system

Windows 11

Install method

npm

Model

anthropic/claude-sonnet-4-6

Provider / routing chain

openclaw -> anthropic/claude-sonnet-4-6 (direct API key, no proxy)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

Workaround
Rolled back to 2026.5.6 via:
npm install -g openclaw@2026.5.6
OPENCLAW_ALLOW_OLDER_BINARY_DESTRUCTIVE_ACTIONS=1 systemctl --user restart openclaw-gateway.service

Activity

  1. clawsweeper commented on Jun 11, 2026

    @clawsweeper
    Contributor

    Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.

    Close as duplicate/superseded: the same speech-core bundled public-surface packaging/facade mismatch is already tracked by the older open report and its viable fix PR, while current main still shows the unsupported allowlist path rather than a shipped fix.

    Canonical path: Keep the older canonical issue and #89899 as the single fix path, and avoid landing the workspace-only fallback from #92355.

    So I’m closing this here and keeping the remaining discussion on #89899 and #92355.

    Review details

    Best possible solution:

    Keep the older canonical issue and #89899 as the single fix path, and avoid landing the workspace-only fallback from #92355.

    Do we have a high-confidence way to reproduce the issue?

    Yes. Source and package inspection show the reported error is the facade-loader failure for an allowed speech-core/runtime-api.js surface whose npm sidecar is missing; this review did not run a live gateway process.

    Is this the best way to solve the issue?

    Yes. The best fix path is the canonical PR that removes the unsupported bundled-extension sidecar contract and adds release verification, not a workspace-only package-dist fallback.

    Security review:

    Security review: No patch security review applies to this issue triage.

    AGENTS.md: found and applied where relevant.

    What I checked:

    • Canonical open issue: The older open report describes the same Unable to resolve bundled plugin public surface speech-core/runtime-api.js failure, identifies the missing dist/extensions/speech-core/ npm tarball sidecar, and is still open as the canonical tracker.
    • Viable canonical PR: The open fix PR for the canonical issue removes speech-core from bundled-extension always-allowed runtime facade handling, adds postpublish package verification, and includes packed global-install gateway proof with no speech-core/runtime-api.js resolution error. (2a2cd2042ea6)
    • Current main still has the unsupported allowlist entry: Current main still includes speech-core in ALWAYS_ALLOWED_RUNTIME_DIR_NAMES, so this issue is not fixed on main and should route to the canonical fix path. (src/plugin-sdk/facade-activation-check.runtime.ts:30, 8f62ec6177aa)
    • Reported release package shape: The inspected openclaw@2026.6.1 npm tarball contains speech-core chunks and plugin-sdk declarations but no package/dist/extensions/speech-core/runtime-api.js sidecar, matching the canonical packaging mismatch.
    • Non-canonical linked PR: The PR opened specifically for this issue is still open, but its prior ClawSweeper review found the patch probes a workspace-only packages/<name>/dist path and leaves the npm-installed workflow unresolved. (653529686744)
    • Release provenance check: Latest release v2026.6.6 exists, but the canonical issue remains open and current main still has the unsupported allowlist entry, so no shipped fixed release was established for this item. (8c802aa68351)

    Likely related people:

    • vincentkoc: GitHub history shows Vincent Koc authored the voice refactor that moved speech-core into packages/speech-core and recently maintained release verification around package scans. (role: feature owner; confidence: high; commits: 27b15a19e84c, fbb1eab4c792; files: src/plugin-sdk/tts-runtime.ts, packages/speech-core/runtime-api.ts, scripts/openclaw-npm-postpublish-verify.ts)
    • steipete: GitHub history shows substantial recent work on facade activation, TTS facade tests/docs, and npm postpublish verification that bounds this package/runtime contract. (role: recent area contributor; confidence: medium; commits: 0b8aabe8648e, b8d08f0cfd0c, f5b6a977d743; files: src/plugin-sdk/facade-activation-check.runtime.ts, src/tts/tts.test.ts, scripts/openclaw-npm-postpublish-verify.ts)
    • gumadeiras: History shows Gustavo Madeira Santana introduced and maintained the QA bundled-plugin staging path that the canonical fix PR updates to mirror the runtime facade contract. (role: adjacent QA owner; confidence: medium; commits: d5933af80bf1, 82fe6f50efc4; files: extensions/qa-lab/src/bundled-plugin-staging.ts)

    Codex review notes: model internal, reasoning high; reviewed against 8f62ec6177aa.

  2. added
    P1High-priority user-facing bug, regression, or broken workflow.
    impact:crash-loopCrash, hang, restart loop, or process-level availability failure.
    on Jun 14, 2026
  3. locked as resolved and limited conversation to collaborators on Jun 25, 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

    P1High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingimpact:crash-loopCrash, hang, restart loop, or process-level availability failure.regressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions