refactor: move provider seams behind plugin sdk surfaces

This commit is contained in:
Peter Steinberger
2026-03-27 23:24:36 +00:00
parent 4f0ad16a00
commit 4ca07559ab
124 changed files with 1170 additions and 812 deletions

View File

@@ -8,7 +8,7 @@ import {
type SsrFPolicy,
ssrfPolicyFromAllowPrivateNetwork,
} from "openclaw/plugin-sdk/infra-runtime";
import { resolveApiKeyForProvider } from "openclaw/plugin-sdk/provider-auth";
import { resolveApiKeyForProvider } from "openclaw/plugin-sdk/provider-auth-runtime";
const DEFAULT_FAL_BASE_URL = "https://fal.run";
const DEFAULT_FAL_IMAGE_MODEL = "fal-ai/flux/dev";

View File

@@ -1,5 +1,5 @@
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth";
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
import { buildFalImageGenerationProvider } from "./image-generation-provider.js";
import { applyFalConfig, FAL_DEFAULT_IMAGE_MODEL_REF } from "./onboard.js";