fix: add missing extensions/speech-core/ source files for npm tarball#89441
fix: add missing extensions/speech-core/ source files for npm tarball#89441bladin wants to merge 1 commit into
Conversation
Fixes openclaw#89425 - npm tarball missing dist/extensions/speech-core/ directory This commit adds the missing source files for the speech-core extension: - package.json: Package configuration matching other core extensions - runtime-api.ts: Public API exports from plugin-sdk/tts-runtime - src/runtime.ts: Runtime implementation re-exporting from plugin-sdk - tsconfig.json: TypeScript configuration for build The structure mirrors image-generation-core and media-understanding-core extensions to ensure consistent packaging in the npm tarball. The speech-core directory is listed in ALWAYS_ALLOWED_RUNTIME_DIR_NAMES (facade-activation-check.runtime.ts:27-31) but was missing source files, causing the runtime to fail with: Error: Unable to resolve bundled plugin public surface speech-core/runtime-api.js
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes are blockedOpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph. Detected dependency graph changes:
If this PR intentionally needs a dependency graph change, ask a repository admin or member of The action will approve the current head SHA ( |
|
Thanks for the context here. I did a careful shell check against current Close: current main already fixes the central missing So I’m closing this as already implemented rather than keeping a duplicate issue open. Review detailsBest possible solution: Keep the current-main Do we have a high-confidence way to reproduce the issue? No high-confidence current-main failure path remains: source and regression-test evidence show current main no longer loads TTS through the missing Is this the best way to solve the issue? No, this PR is not the best way to solve the issue now. The maintainable fix is the current-main Security review: Security review needs attention: The diff does not add third-party code, but it adds an external-contributor workspace package manifest that duplicates an existing package name and is already dependency-graph blocked.
AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 5259fa4495ac; fix evidence: commit af9bad9fe7f7, main fix timestamp 2026-06-02T10:53:31+02:00. |
|
ClawSweeper applied the proposed close for this PR.
|
Summary
Fixes missing
dist/extensions/speech-core/directory in npm tarball (v2026.5.28)Root Cause
The
extensions/speech-core/directory was missing source files, preventing the build from generatingdist/extensions/speech-core/. This caused the runtime to fail with:Changes
extensions/speech-core/package.json- Package configuration matching other core extensionsextensions/speech-core/runtime-api.ts- Public API exports from plugin-sdk/tts-runtimeextensions/speech-core/src/runtime.ts- Runtime implementation re-exporting from plugin-sdkextensions/speech-core/tsconfig.json- TypeScript configuration for buildThe structure mirrors
image-generation-coreandmedia-understanding-coreextensions to ensure consistent packaging in the npm tarball.Verification
image-generation-core,media-understanding-core)facade-activation-check.runtime.ts:27-31ALWAYS_ALLOWED_RUNTIME_DIR_NAMESSteps to Test
Fixes #89425