fix: keep channel command defaults read-only

This commit is contained in:
Peter Steinberger
2026-04-26 08:57:38 +01:00
parent 06d409dc27
commit 7cbe271d08
4 changed files with 95 additions and 79 deletions

View File

@@ -1,5 +1,5 @@
import { getLoadedChannelPlugin } from "../channels/plugins/index.js";
import { resolveReadOnlyChannelCommandDefaults } from "../channels/plugins/read-only.js";
import { resolveReadOnlyChannelCommandDefaults } from "../channels/plugins/read-only-command-defaults.js";
import { resolveGlobalSingleton } from "../shared/global-singleton.js";
import { normalizeOptionalLowercaseString } from "../shared/string-coerce.js";
import type { OpenClawPluginCommandDefinition } from "./types.js";