mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 02:24:31 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { resolveAgentWorkspaceDir, resolveDefaultAgentId } from "../agents/agent-scope.js";
|
||||
import { buildWorkspaceSkillStatus } from "../agents/skills-status.js";
|
||||
import type { MoltbotConfig } from "../config/config.js";
|
||||
import { loadMoltbotPlugins } from "../plugins/loader.js";
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import { loadOpenClawPlugins } from "../plugins/loader.js";
|
||||
import { note } from "../terminal/note.js";
|
||||
import { detectLegacyWorkspaceDirs, formatLegacyWorkspaceWarning } from "./doctor-workspace.js";
|
||||
|
||||
export function noteWorkspaceStatus(cfg: MoltbotConfig) {
|
||||
export function noteWorkspaceStatus(cfg: OpenClawConfig) {
|
||||
const workspaceDir = resolveAgentWorkspaceDir(cfg, resolveDefaultAgentId(cfg));
|
||||
const legacyWorkspace = detectLegacyWorkspaceDirs({ workspaceDir });
|
||||
if (legacyWorkspace.legacyDirs.length > 0) {
|
||||
@@ -25,7 +25,7 @@ export function noteWorkspaceStatus(cfg: MoltbotConfig) {
|
||||
"Skills status",
|
||||
);
|
||||
|
||||
const pluginRegistry = loadMoltbotPlugins({
|
||||
const pluginRegistry = loadOpenClawPlugins({
|
||||
config: cfg,
|
||||
workspaceDir,
|
||||
logger: {
|
||||
|
||||
Reference in New Issue
Block a user