Skip to content

[Bug]: Missing extensions/speech-core/ in npm tarball (v2026.5.28) — "Unable to resolve bundled plugin public surface speech-core/runtime-api.js" #89425

Closed

Description

@ant1b0t

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Version

openclaw@2026.5.28 (e932160)

Description

After upgrading to 2026.5.28, the gateway silently fails to reply to any message. Every incoming message hits:

 Error: Unable to resolve bundled plugin public surface speech-core/runtime-api.js
 Embedded agent failed before reply: ...

Root cause

dist/extensions/speech-core/ is missing from the npm tarball.

  • image-generation-core and media-understanding-core are present — speech-core is absent.
  • facade-activation-check.runtime.js lists speech-core in ALWAYS_ALLOWED_RUNTIME_DIR_NAMES.
  • The compiled modules (speech-core-CNZzyLuY.js, tts-runtime-K2ac55wV.js) exist — only the extension dir is missing.

This is the same class of packaging bug as the earlier "missing dist/tts/tts.js" fix.

Steps to reproduce

  1. npm install -g openclaw@2026.5.28
  2. openclaw gateway run
  3. Send any message → Unable to resolve bundled plugin public surface speech-core/runtime-api.js

Expected behavior

dist/extensions/speech-core/ should be included in the npm tarball, or the runtime should gracefully handle its absence (like it does for other missing public surface artifacts via the
MISSING_PUBLIC_SURFACE_PREFIX catch pattern).

Actual behavior

Every incoming message fails with:

 Error: Unable to resolve bundled plugin public surface speech-core/runtime-api.js
 Embedded agent failed before reply: Unable to resolve bundled plugin public surface speech-core/runtime-api.js

Direct chats get an error reply. Group chats stay completely silent (silent-reply dispatcher suppresses the empty response).

OpenClaw version

openclaw@2026.5.28 (e932160)

Operating system

Ubuntu 24.04.3 LTS, Node.js v22.22.1

Install method

No response

Model

Any. The error occurs before the provider is called — during bundled plugin public surface resolution. Tested with: - openai-codex/gpt-5.5 → fails → fallback to opencode-go/deepseek-v4-flash → same error - fireworks/accounts/fireworks/models/deepseek-v4-pro → same error

Provider / routing chain

Telegram message → agent:main routing → embedded agent run → loadBundledPluginPublicArtifactModuleSync("speech-core", "runtime-api.js") → resolveBundledPluginPublicSurfacePath() → NOT FOUND → Embedded agent failed before reply

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Activity

  1. clawsweeper commented on Jun 2, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 21, 2026, 5:16 AM ET / 09:16 UTC.

    Summary
    Keep open: current main and v2026.6.9 still carry the speech-core/runtime-api.js allowlist/package-sidecar mismatch, and #89899 remains the open closing PR rather than a reason to close this issue before merge.

    Reproducibility: yes. at source level. Current main and v2026.6.9 still allow speech-core/runtime-api.js as a bundled runtime facade while no bundled extensions/speech-core sidecar exists; I did not run a fresh installed Gateway repro.

    Root-cause cluster
    Relationship: canonical
    Canonical: #89425
    Summary: This issue is the canonical open report for the speech-core bundled public-surface packaging mismatch; the viable fix path is the open closing PR, while earlier sidecar or fallback attempts are closed or superseded.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Next step
    Do not queue a new repair lane because the open closing PR already owns the focused fix path and carries the remaining maintainer compatibility decision.

    Review details

    Best possible solution:

    Review and land the open closing PR if maintainers accept the package-backed speech-core contract; otherwise replace it with a narrow sidecar-compatible packaging fix before closing this issue.

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

    Yes, at source level. Current main and v2026.6.9 still allow speech-core/runtime-api.js as a bundled runtime facade while no bundled extensions/speech-core sidecar exists; I did not run a fresh installed Gateway repro.

    Is this the best way to solve the issue?

    Yes, likely, subject to maintainer compatibility acceptance. The open PR's allowlist removal plus release verification is narrower than a broad missing-surface fallback, but a shipped sidecar contract would require the sidecar-compatible alternative.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Maintainers still need to decide whether dist/extensions/speech-core/runtime-api.js was an unsupported sidecar path or a shipped compatibility contract that should be packaged instead.

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

    Label changes

    Label justifications:

    • P1: The reported shipped regression can stop gateway replies before provider execution for affected installed users.
    • impact:message-loss: The issue describes direct replies erroring and group replies being suppressed when facade resolution fails before model execution.
    Evidence reviewed

    What I checked:

    Likely related people:

    • vincentkoc: GitHub history shows the voice-model refactor moved speech-core into a package-backed layout, and recent release-verifier commits touched package scan behavior adjacent to this failure. (role: feature-history and release-verifier contributor; confidence: high; commits: 27b15a19e84c, 5296dc378f85, b1f562570ad5; files: src/plugin-sdk/tts-runtime.ts, packages/speech-core/runtime-api.ts, packages/speech-core/package.json)
    • steipete: GitHub history links this account to the speech-core package facades and to recent facade activation/check work around the same boundary. (role: speech-core package and facade-adjacent contributor; confidence: medium; commits: 27b15a19e84c, aafdf67d3983, 0b8aabe8648e; files: packages/speech-core/runtime-api.ts, packages/speech-core/package.json, src/plugin-sdk/facade-activation-check.runtime.ts)
    • gumadeiras: GitHub history links this account to the QA bundled-plugin staging paths that mirror the runtime facade staging behavior touched by the open fix PR. (role: QA staging adjacent contributor; confidence: medium; commits: d5933af80bf1, 82fe6f50efc4; files: extensions/qa-lab/src/bundled-plugin-staging.ts)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P1High-priority user-facing bug, regression, or broken workflow.
    impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    on Jun 2, 2026
  3. added
    issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
    clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.
    clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.
    and removed
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    on Jun 15, 2026
  4. locked as resolved and limited conversation to collaborators on Aug 5, 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 workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.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