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

@@ -2,7 +2,7 @@ import { resolveAgentConfig } from "../../agents/agent-scope.js";
import { getChannelDock } from "../../channels/dock.js";
import { normalizeChannelId } from "../../channels/plugins/index.js";
import { CHAT_CHANNEL_ORDER } from "../../channels/registry.js";
import type { AgentElevatedAllowFromConfig, MoltbotConfig } from "../../config/config.js";
import type { AgentElevatedAllowFromConfig, OpenClawConfig } from "../../config/config.js";
import { INTERNAL_MESSAGE_CHANNEL } from "../../utils/message-channel.js";
import { formatCliCommand } from "../../cli/command-format.js";
import type { MsgContext } from "../templating.js";
@@ -100,7 +100,7 @@ function isApprovedElevatedSender(params: {
}
export function resolveElevatedPermissions(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
agentId: string;
ctx: MsgContext;
provider: string;
@@ -189,7 +189,7 @@ export function formatElevatedUnavailableMessage(params: {
lines.push("- agents.list[].tools.elevated.allowFrom.<provider>");
if (params.sessionKey) {
lines.push(
`See: ${formatCliCommand(`moltbot sandbox explain --session ${params.sessionKey}`)}`,
`See: ${formatCliCommand(`openclaw sandbox explain --session ${params.sessionKey}`)}`,
);
}
return lines.join("\n");