refactor: remove type-only import cycles

This commit is contained in:
Peter Steinberger
2026-04-10 15:13:57 +01:00
parent fe1fd055d5
commit 9fd08f9d0f
37 changed files with 785 additions and 693 deletions

View File

@@ -1,4 +1,3 @@
import type { ChannelId } from "../channels/plugins/types.js";
import {
CHANNEL_IDS,
getChatChannelMeta,
@@ -19,6 +18,8 @@ import {
} from "../gateway/protocol/client-info.js";
import { normalizeOptionalLowercaseString } from "../shared/string-coerce.js";
type ChannelId = string & { readonly __openclawChannelIdBrand?: never };
export const INTERNAL_MESSAGE_CHANNEL = "webchat" as const;
export type InternalMessageChannel = typeof INTERNAL_MESSAGE_CHANNEL;