mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 00:21:23 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user