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

@@ -73,7 +73,7 @@ async function withTempHome<T>(fn: (home: string) => Promise<T>): Promise<T> {
vi.mocked(abortEmbeddedPiRun).mockClear();
return await fn(home);
},
{ prefix: "moltbot-triggers-" },
{ prefix: "openclaw-triggers-" },
);
}
@@ -82,7 +82,7 @@ function makeCfg(home: string) {
agents: {
defaults: {
model: "anthropic/claude-opus-4-5",
workspace: join(home, "clawd"),
workspace: join(home, "openclaw"),
},
},
channels: {
@@ -101,7 +101,7 @@ afterEach(() => {
describe("trigger handling", () => {
it("runs /compact as a gated command", async () => {
await withTempHome(async (home) => {
const storePath = join(tmpdir(), `moltbot-session-test-${Date.now()}.json`);
const storePath = join(tmpdir(), `openclaw-session-test-${Date.now()}.json`);
vi.mocked(compactEmbeddedPiSession).mockResolvedValue({
ok: true,
compacted: true,
@@ -124,7 +124,7 @@ describe("trigger handling", () => {
agents: {
defaults: {
model: "anthropic/claude-opus-4-5",
workspace: join(home, "clawd"),
workspace: join(home, "openclaw"),
},
},
channels: {