mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 08:01:44 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ClawdbotConfig } from "../config/config.js";
|
||||
import type { MoltbotConfig } from "../config/config.js";
|
||||
import type { PluginSlotsConfig } from "../config/types.plugins.js";
|
||||
import type { PluginKind } from "./types.js";
|
||||
|
||||
@@ -27,13 +27,13 @@ export function defaultSlotIdForKey(slotKey: PluginSlotKey): string {
|
||||
}
|
||||
|
||||
export type SlotSelectionResult = {
|
||||
config: ClawdbotConfig;
|
||||
config: MoltbotConfig;
|
||||
warnings: string[];
|
||||
changed: boolean;
|
||||
};
|
||||
|
||||
export function applyExclusiveSlotSelection(params: {
|
||||
config: ClawdbotConfig;
|
||||
config: MoltbotConfig;
|
||||
selectedId: string;
|
||||
selectedKind?: PluginKind;
|
||||
registry?: { plugins: SlotPluginRecord[] };
|
||||
|
||||
Reference in New Issue
Block a user