mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 23:20:24 +00:00
refactor: route plugin sdk facades through extension barrels
This commit is contained in:
@@ -16,12 +16,12 @@ export * from "../agents/pi-embedded-utils.js";
|
||||
export * from "../agents/provider-id.js";
|
||||
export * from "../agents/sandbox-paths.js";
|
||||
export * from "../agents/schema/typebox.js";
|
||||
export * from "../agents/sglang-defaults.js";
|
||||
export * from "./sglang.js";
|
||||
export * from "../agents/tools/common.js";
|
||||
export * from "../agents/tools/web-guarded-fetch.js";
|
||||
export * from "../agents/tools/web-shared.js";
|
||||
export * from "../agents/tools/web-fetch-utils.js";
|
||||
export * from "../agents/vllm-defaults.js";
|
||||
export * from "./vllm.js";
|
||||
// Intentional public runtime surface: channel plugins use ingress agent helpers directly.
|
||||
export * from "../agents/agent-command.js";
|
||||
export * from "../tts/tts.js";
|
||||
|
||||
@@ -1,5 +1,2 @@
|
||||
// Generated by scripts/generate-plugin-sdk-facades.mjs. Do not edit manually.
|
||||
export {
|
||||
CLAUDE_CLI_BACKEND_ID,
|
||||
isClaudeCliProvider,
|
||||
} from "../../extensions/anthropic/cli-shared.js";
|
||||
export { CLAUDE_CLI_BACKEND_ID, isClaudeCliProvider } from "../../extensions/anthropic/api.js";
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Generated by scripts/generate-plugin-sdk-facades.mjs. Do not edit manually.
|
||||
export * from "../../extensions/browser/browser-runtime-api.js";
|
||||
export * from "../../extensions/browser/runtime-api.js";
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Generated by scripts/generate-plugin-sdk-facades.mjs. Do not edit manually.
|
||||
export { normalizeExplicitDiscordSessionKey } from "../../extensions/discord/session-key-api.js";
|
||||
export { normalizeExplicitDiscordSessionKey } from "../../extensions/discord/api.js";
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
export {
|
||||
DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS,
|
||||
DISCORD_DEFAULT_LISTENER_TIMEOUT_MS,
|
||||
} from "../../extensions/discord/timeouts.js";
|
||||
} from "../../extensions/discord/api.js";
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Generated by scripts/generate-plugin-sdk-facades.mjs. Do not edit manually.
|
||||
export { feishuSetupAdapter, feishuSetupWizard } from "../../extensions/feishu/setup-api.js";
|
||||
export { feishuSetupAdapter, feishuSetupWizard } from "../../extensions/feishu/api.js";
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Generated by scripts/generate-plugin-sdk-facades.mjs. Do not edit manually.
|
||||
export { githubCopilotLoginCommand } from "../../extensions/github-copilot/login.js";
|
||||
export { githubCopilotLoginCommand } from "../../extensions/github-copilot/api.js";
|
||||
|
||||
@@ -10,4 +10,4 @@ export {
|
||||
resolveMatrixCredentialsPath,
|
||||
resolveMatrixDefaultOrOnlyAccountId,
|
||||
resolveMatrixLegacyFlatStoragePaths,
|
||||
} from "../../extensions/matrix/helper-api.js";
|
||||
} from "../../extensions/matrix/api.js";
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
export {
|
||||
setMatrixThreadBindingIdleTimeoutBySessionKey,
|
||||
setMatrixThreadBindingMaxAgeBySessionKey,
|
||||
} from "../../extensions/matrix/thread-bindings-runtime.js";
|
||||
} from "../../extensions/matrix/api.js";
|
||||
|
||||
@@ -7,4 +7,4 @@ export {
|
||||
MODELSTUDIO_DEFAULT_MODEL_ID,
|
||||
MODELSTUDIO_DEFAULT_MODEL_REF,
|
||||
MODELSTUDIO_GLOBAL_BASE_URL,
|
||||
} from "../../extensions/modelstudio/model-definitions.js";
|
||||
} from "../../extensions/modelstudio/api.js";
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
// Generated by scripts/generate-plugin-sdk-facades.mjs. Do not edit manually.
|
||||
export {
|
||||
buildModelStudioDefaultModelDefinition,
|
||||
buildModelStudioModelDefinition,
|
||||
MODELSTUDIO_BASE_URL,
|
||||
MODELSTUDIO_CN_BASE_URL,
|
||||
MODELSTUDIO_DEFAULT_COST,
|
||||
MODELSTUDIO_DEFAULT_MODEL_ID,
|
||||
MODELSTUDIO_DEFAULT_MODEL_REF,
|
||||
MODELSTUDIO_GLOBAL_BASE_URL,
|
||||
buildModelStudioProvider,
|
||||
} from "../../extensions/modelstudio/api.js";
|
||||
|
||||
@@ -150,4 +150,4 @@ export {
|
||||
MODELSTUDIO_DEFAULT_MODEL_ID,
|
||||
MODELSTUDIO_DEFAULT_MODEL_REF,
|
||||
MODELSTUDIO_GLOBAL_BASE_URL,
|
||||
} from "./modelstudio-definitions.js";
|
||||
} from "./modelstudio.js";
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
export {
|
||||
isNumericTelegramUserId,
|
||||
normalizeTelegramAllowFromEntry,
|
||||
} from "../../extensions/telegram/allow-from.js";
|
||||
} from "../../extensions/telegram/api.js";
|
||||
|
||||
@@ -4,5 +4,10 @@ export {
|
||||
discoverVercelAiGatewayModels,
|
||||
getStaticVercelAiGatewayModelCatalog,
|
||||
VERCEL_AI_GATEWAY_BASE_URL,
|
||||
VERCEL_AI_GATEWAY_DEFAULT_CONTEXT_WINDOW,
|
||||
VERCEL_AI_GATEWAY_DEFAULT_COST,
|
||||
VERCEL_AI_GATEWAY_DEFAULT_MAX_TOKENS,
|
||||
VERCEL_AI_GATEWAY_DEFAULT_MODEL_ID,
|
||||
VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF,
|
||||
VERCEL_AI_GATEWAY_PROVIDER_ID,
|
||||
} from "../../extensions/vercel-ai-gateway/api.js";
|
||||
|
||||
Reference in New Issue
Block a user