Plugins: internalize small extension SDK imports

This commit is contained in:
Vincent Koc
2026-03-17 23:00:59 -07:00
parent c245c8b39d
commit d949a513c5
8 changed files with 8 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import {
definePluginEntry,
type ProviderAuthContext,
type ProviderAuthResult,
} from "openclaw/plugin-sdk/copilot-proxy";
} from "./runtime-api.js";
const DEFAULT_BASE_URL = "http://localhost:3000/v1";
const DEFAULT_API_KEY = "n/a";

View File

@@ -0,0 +1 @@
export * from "openclaw/plugin-sdk/copilot-proxy";

View File

@@ -1,4 +1,4 @@
import { definePluginEntry, type OpenClawPluginApi } from "openclaw/plugin-sdk/open-prose";
import { definePluginEntry, type OpenClawPluginApi } from "./runtime-api.js";
export default definePluginEntry({
id: "open-prose",

View File

@@ -0,0 +1 @@
export * from "openclaw/plugin-sdk/open-prose";

View File

@@ -4,7 +4,7 @@ import {
definePluginEntry,
type OpenClawPluginApi,
type OpenClawPluginService,
} from "openclaw/plugin-sdk/phone-control";
} from "./runtime-api.js";
type ArmGroup = "camera" | "screen" | "writes" | "all";

View File

@@ -0,0 +1 @@
export * from "openclaw/plugin-sdk/phone-control";

View File

@@ -2,7 +2,7 @@ import {
detectZaiEndpoint as detectZaiEndpointCore,
type ZaiDetectedEndpoint,
type ZaiEndpointId,
} from "openclaw/plugin-sdk/zai";
} from "./runtime-api.js";
type DetectZaiEndpointFn = typeof detectZaiEndpointCore;

View File

@@ -0,0 +1 @@
export * from "openclaw/plugin-sdk/zai";