refactor: untangle remaining plugin sdk boundaries

This commit is contained in:
Peter Steinberger
2026-03-16 21:13:56 -07:00
parent afc0172cb1
commit 9ebe38b6e3
492 changed files with 5657 additions and 2877 deletions

View File

@@ -1,6 +1,6 @@
import { emptyPluginConfigSchema, type OpenClawPluginApi } from "openclaw/plugin-sdk/core";
import { OPENCODE_GO_DEFAULT_MODEL_REF } from "../../src/commands/opencode-go-model-default.js";
import { createProviderApiKeyAuthMethod } from "../../src/plugins/provider-api-key-auth.js";
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth";
import { OPENCODE_GO_DEFAULT_MODEL_REF } from "openclaw/plugin-sdk/provider-models";
import { applyOpencodeGoConfig } from "./onboard.js";
const PROVIDER_ID = "opencode-go";

View File

@@ -1,6 +1,8 @@
import { applyAgentDefaultModelPrimary } from "../../src/commands/onboard-auth.config-shared.js";
import { OPENCODE_GO_DEFAULT_MODEL_REF } from "../../src/commands/opencode-go-model-default.js";
import type { OpenClawConfig } from "../../src/config/config.js";
import { OPENCODE_GO_DEFAULT_MODEL_REF } from "openclaw/plugin-sdk/provider-models";
import {
applyAgentDefaultModelPrimary,
type OpenClawConfig,
} from "openclaw/plugin-sdk/provider-onboard";
export { OPENCODE_GO_DEFAULT_MODEL_REF };