refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -1,7 +1,7 @@
import { OPENCODE_ZEN_DEFAULT_MODEL_REF } from "../agents/opencode-zen-models.js";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
export function applyOpencodeZenProviderConfig(cfg: MoltbotConfig): MoltbotConfig {
export function applyOpencodeZenProviderConfig(cfg: OpenClawConfig): OpenClawConfig {
// Use the built-in opencode provider from pi-ai; only seed the allowlist alias.
const models = { ...cfg.agents?.defaults?.models };
models[OPENCODE_ZEN_DEFAULT_MODEL_REF] = {
@@ -21,7 +21,7 @@ export function applyOpencodeZenProviderConfig(cfg: MoltbotConfig): MoltbotConfi
};
}
export function applyOpencodeZenConfig(cfg: MoltbotConfig): MoltbotConfig {
export function applyOpencodeZenConfig(cfg: OpenClawConfig): OpenClawConfig {
const next = applyOpencodeZenProviderConfig(cfg);
return {
...next,