mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:51:23 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
resolveSandboxToolPolicyForAgent,
|
||||
} from "../agents/sandbox.js";
|
||||
import { normalizeAnyChannelId } from "../channels/registry.js";
|
||||
import type { MoltbotConfig } from "../config/config.js";
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import { loadConfig } from "../config/config.js";
|
||||
import {
|
||||
loadSessionStore,
|
||||
@@ -30,10 +30,10 @@ type SandboxExplainOptions = {
|
||||
json: boolean;
|
||||
};
|
||||
|
||||
const SANDBOX_DOCS_URL = "https://docs.molt.bot/sandbox";
|
||||
const SANDBOX_DOCS_URL = "https://docs.openclaw.ai/sandbox";
|
||||
|
||||
function normalizeExplainSessionKey(params: {
|
||||
cfg: MoltbotConfig;
|
||||
cfg: OpenClawConfig;
|
||||
agentId: string;
|
||||
session?: string;
|
||||
}): string {
|
||||
@@ -53,7 +53,7 @@ function normalizeExplainSessionKey(params: {
|
||||
}
|
||||
|
||||
function inferProviderFromSessionKey(params: {
|
||||
cfg: MoltbotConfig;
|
||||
cfg: OpenClawConfig;
|
||||
sessionKey: string;
|
||||
}): string | undefined {
|
||||
const parsed = parseAgentSessionKey(params.sessionKey);
|
||||
@@ -71,7 +71,7 @@ function inferProviderFromSessionKey(params: {
|
||||
}
|
||||
|
||||
function resolveActiveChannel(params: {
|
||||
cfg: MoltbotConfig;
|
||||
cfg: OpenClawConfig;
|
||||
agentId: string;
|
||||
sessionKey: string;
|
||||
}): string | undefined {
|
||||
@@ -307,7 +307,7 @@ export async function sandboxExplainCommand(
|
||||
lines.push(heading("Fix-it:"));
|
||||
for (const key of payload.fixIt) lines.push(` - ${key}`);
|
||||
lines.push("");
|
||||
lines.push(`${key("Docs:")} ${formatDocsLink("/sandbox", "docs.molt.bot/sandbox")}`);
|
||||
lines.push(`${key("Docs:")} ${formatDocsLink("/sandbox", "docs.openclaw.ai/sandbox")}`);
|
||||
|
||||
runtime.log(`${lines.join("\n")}\n`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user