Skip to content

Commit 23ea04a

Browse files
authored
refactor(media): remove orphan runtime facades (#125121)
1 parent a917c99 commit 23ea04a

21 files changed

Lines changed: 21 additions & 167 deletions

‎.github/labeler.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,6 @@
387387
- changed-files:
388388
- any-glob-to-any-file:
389389
- "extensions/memory-wiki/**"
390-
"extensions: media-understanding-core":
391-
- changed-files:
392-
- any-glob-to-any-file:
393-
- "extensions/media-understanding-core/**"
394390
"extensions: oc-path":
395391
- changed-files:
396392
- any-glob-to-any-file:

‎docs/plugins/sdk-subpaths.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ Use `isLoopbackHost(host)` when a plugin must accept only the local machine. It
345345
| `plugin-sdk/image-generation-core` | Private-local after July 2026; Shared image-generation types, failover, auth, and registry helpers |
346346
| `plugin-sdk/music-generation` | Private-local after July 2026; Music generation provider/request/result types |
347347
| `plugin-sdk/video-generation` | Private-local after July 2026; Video generation provider/request/result types |
348-
| `plugin-sdk/video-generation-core` | Private-local after July 2026; Shared video-generation types, failover helpers, provider lookup, and model-ref parsing |
349348
| `plugin-sdk/transcripts` | Private-local after July 2026; Shared transcript source provider types, registry helpers, meeting-provider bridge factory, session descriptors, and utterance metadata |
350349
| `plugin-sdk/webhook-targets` | Private-local after July 2026; Webhook target registry and route-install helpers |
351350
| `plugin-sdk/web-media` | Shared remote/local media loading helpers |

‎extensions/image-generation-core/api.ts‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

‎extensions/media-understanding-core/package.json‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎extensions/media-understanding-core/runtime-api.ts‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎extensions/media-understanding-core/src/runtime.ts‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎extensions/media-understanding-core/tsconfig.json‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎extensions/qa-lab/src/bundled-plugin-staging.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-sha
66
import { normalizeStringEntries, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
77
import { coerce as coerceSemver } from "semver";
88

9-
const QA_ALWAYS_STAGE_RUNTIME_PLUGIN_IDS = Object.freeze([
10-
"image-generation-core",
11-
"media-understanding-core",
12-
]);
9+
const QA_ALWAYS_STAGE_RUNTIME_PLUGIN_IDS = Object.freeze(["image-generation-core"]);
1310
const QA_OPENAI_PLUGIN_ID = "openai";
1411
const QA_BUNDLED_PLUGIN_ID_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
1512
const QA_CLI_METADATA_ENTRY_BASENAMES = Object.freeze([

‎extensions/qa-lab/src/gateway-child.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ describe("buildQaRuntimeEnv", () => {
18721872
});
18731873

18741874
describe("qa bundled plugin dir", () => {
1875-
it("creates a scoped bundled plugin tree for allowed plugins plus always-allowed runtime facades", async () => {
1875+
it("creates a scoped bundled plugin tree with the always-staged runtime facade", async () => {
18761876
const repoRoot = await tempDirs.makeTempDir("qa-bundled-scope-");
18771877
await writeFile(
18781878
path.join(repoRoot, "package.json"),
@@ -2345,7 +2345,7 @@ describe("qa bundled plugin dir", () => {
23452345
).resolves.toBe("2026.4.8");
23462346
});
23472347

2348-
it("includes always-allowed runtime facade plugins when raising the QA runtime host version", async () => {
2348+
it("includes the always-staged runtime facade when raising the QA runtime host version", async () => {
23492349
const repoRoot = await tempDirs.makeTempDir("qa-runtime-version-runtime-facade-");
23502350
await writeJsonFixture(path.join(repoRoot, "package.json"), { version: "2026.4.7-1" });
23512351
const bundledRoot = path.join(repoRoot, "extensions");

‎extensions/tsconfig.package-boundary.paths.json‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,6 @@
356356
"openclaw/plugin-sdk/video-generation-runtime": [
357357
"../packages/plugin-sdk/dist/src/plugin-sdk/video-generation-runtime.d.ts"
358358
],
359-
"openclaw/plugin-sdk/video-generation-core": [
360-
"../packages/plugin-sdk/dist/src/plugin-sdk/video-generation-core.d.ts"
361-
],
362359
"openclaw/plugin-sdk/realtime-transcription": [
363360
"../packages/plugin-sdk/dist/src/plugin-sdk/realtime-transcription.d.ts"
364361
],

0 commit comments

Comments
 (0)