mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
26 lines
826 B
TypeScript
26 lines
826 B
TypeScript
// Synthetic plugin entrypoint registers its OpenClaw integration.
|
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
import { applySyntheticConfig, SYNTHETIC_DEFAULT_MODEL_REF } from "./onboard.js";
|
|
import manifest from "./openclaw.plugin.json" with { type: "json" };
|
|
import { buildSyntheticProvider } from "./provider-catalog.js";
|
|
|
|
const PROVIDER_ID = "synthetic";
|
|
|
|
export default defineSingleProviderPluginEntry({
|
|
id: PROVIDER_ID,
|
|
name: "Synthetic Provider",
|
|
description: "Synthetic provider plugin",
|
|
manifest,
|
|
provider: {
|
|
label: "Synthetic",
|
|
docsPath: "/providers/synthetic",
|
|
manifestAuth: {
|
|
defaultModel: SYNTHETIC_DEFAULT_MODEL_REF,
|
|
applyConfig: applySyntheticConfig,
|
|
},
|
|
catalog: {
|
|
buildProvider: buildSyntheticProvider,
|
|
},
|
|
},
|
|
});
|