mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 12:10:23 +00:00
refactor(plugins): expose bundled onboard helpers
This commit is contained in:
@@ -516,12 +516,21 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
{
|
||||
subpath: "openrouter",
|
||||
source: "../../extensions/openrouter/api.js",
|
||||
exports: ["buildOpenrouterProvider", "OPENROUTER_DEFAULT_MODEL_REF"],
|
||||
exports: [
|
||||
"applyOpenrouterConfig",
|
||||
"applyOpenrouterProviderConfig",
|
||||
"buildOpenrouterProvider",
|
||||
"OPENROUTER_DEFAULT_MODEL_REF",
|
||||
],
|
||||
},
|
||||
{
|
||||
subpath: "minimax",
|
||||
source: "../../extensions/minimax/api.js",
|
||||
exports: [
|
||||
"applyMinimaxApiConfig",
|
||||
"applyMinimaxApiConfigCn",
|
||||
"applyMinimaxApiProviderConfig",
|
||||
"applyMinimaxApiProviderConfigCn",
|
||||
"buildMinimaxPortalProvider",
|
||||
"buildMinimaxProvider",
|
||||
"isMiniMaxModernModelId",
|
||||
@@ -585,7 +594,15 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
{
|
||||
subpath: "mistral",
|
||||
source: "../../extensions/mistral/api.js",
|
||||
exports: ["buildMistralProvider"],
|
||||
exports: [
|
||||
"applyMistralConfig",
|
||||
"applyMistralProviderConfig",
|
||||
"buildMistralModelDefinition",
|
||||
"buildMistralProvider",
|
||||
"MISTRAL_BASE_URL",
|
||||
"MISTRAL_DEFAULT_MODEL_ID",
|
||||
"MISTRAL_DEFAULT_MODEL_REF",
|
||||
],
|
||||
},
|
||||
{
|
||||
subpath: "nvidia",
|
||||
@@ -715,6 +732,8 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
subpath: "synthetic",
|
||||
source: "../../extensions/synthetic/api.js",
|
||||
exports: [
|
||||
"applySyntheticConfig",
|
||||
"applySyntheticProviderConfig",
|
||||
"buildSyntheticModelDefinition",
|
||||
"buildSyntheticProvider",
|
||||
"SYNTHETIC_BASE_URL",
|
||||
@@ -958,6 +977,8 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
subpath: "xai",
|
||||
source: "../../extensions/xai/api.js",
|
||||
exports: [
|
||||
"applyXaiConfig",
|
||||
"applyXaiProviderConfig",
|
||||
"applyXaiModelCompat",
|
||||
"buildXaiCatalogModels",
|
||||
"buildXaiModelDefinition",
|
||||
@@ -980,6 +1001,7 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
source: "../../extensions/xiaomi/api.js",
|
||||
exports: [
|
||||
"applyXiaomiConfig",
|
||||
"applyXiaomiProviderConfig",
|
||||
"buildXiaomiProvider",
|
||||
"XIAOMI_DEFAULT_MODEL_ID",
|
||||
"XIAOMI_DEFAULT_MODEL_REF",
|
||||
|
||||
Reference in New Issue
Block a user