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 fs from "node:fs";
import path from "node:path";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import {
formatUserTime,
resolveUserTimeFormat,
@@ -32,7 +32,7 @@ export type SystemPromptRuntimeParams = {
};
export function buildSystemPromptParams(params: {
config?: MoltbotConfig;
config?: OpenClawConfig;
agentId?: string;
runtime: Omit<RuntimeInfoInput, "agentId">;
workspaceDir?: string;
@@ -59,7 +59,7 @@ export function buildSystemPromptParams(params: {
}
function resolveRepoRoot(params: {
config?: MoltbotConfig;
config?: OpenClawConfig;
workspaceDir?: string;
cwd?: string;
}): string | undefined {