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
+5 -5
View File
@@ -1,13 +1,13 @@
import { describe, expect, it } from "vitest";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import { resolveUserPath } from "../utils.js";
import { createCacheTrace } from "./cache-trace.js";
describe("createCacheTrace", () => {
it("returns null when diagnostics cache tracing is disabled", () => {
const trace = createCacheTrace({
cfg: {} as MoltbotConfig,
cfg: {} as OpenClawConfig,
env: {},
});
@@ -21,7 +21,7 @@ describe("createCacheTrace", () => {
diagnostics: {
cacheTrace: {
enabled: true,
filePath: "~/.clawdbot/logs/cache-trace.jsonl",
filePath: "~/.openclaw/logs/cache-trace.jsonl",
},
},
},
@@ -33,7 +33,7 @@ describe("createCacheTrace", () => {
});
expect(trace).not.toBeNull();
expect(trace?.filePath).toBe(resolveUserPath("~/.clawdbot/logs/cache-trace.jsonl"));
expect(trace?.filePath).toBe(resolveUserPath("~/.openclaw/logs/cache-trace.jsonl"));
trace?.recordStage("session:loaded", {
messages: [],
@@ -80,7 +80,7 @@ describe("createCacheTrace", () => {
},
},
env: {
CLAWDBOT_CACHE_TRACE: "0",
OPENCLAW_CACHE_TRACE: "0",
},
writer: {
filePath: "memory",