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,11 +1,11 @@
import { describe, expect, it } from "vitest";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import { applyExclusiveSlotSelection } from "./slots.js";
describe("applyExclusiveSlotSelection", () => {
it("selects the slot and disables other entries for the same kind", () => {
const config: MoltbotConfig = {
const config: OpenClawConfig = {
plugins: {
slots: { memory: "memory-core" },
entries: {
@@ -37,7 +37,7 @@ describe("applyExclusiveSlotSelection", () => {
});
it("does nothing when the slot already matches", () => {
const config: MoltbotConfig = {
const config: OpenClawConfig = {
plugins: {
slots: { memory: "memory" },
entries: {
@@ -59,7 +59,7 @@ describe("applyExclusiveSlotSelection", () => {
});
it("warns when the slot falls back to a default", () => {
const config: MoltbotConfig = {
const config: OpenClawConfig = {
plugins: {
entries: {
memory: { enabled: true },
@@ -81,7 +81,7 @@ describe("applyExclusiveSlotSelection", () => {
});
it("skips changes when no exclusive slot applies", () => {
const config: MoltbotConfig = {};
const config: OpenClawConfig = {};
const result = applyExclusiveSlotSelection({
config,
selectedId: "custom",