Move all Slack channel implementation files from src/slack/ to extensions/slack/src/ and replace originals with shim re-exports. This follows the extension migration pattern for channel plugins. - Copy all .ts files to extensions/slack/src/ (preserving directory structure: monitor/, http/, monitor/events/, monitor/message-handler/) - Transform import paths: external src/ imports use relative paths back to src/, internal slack imports stay relative within extension - Replace all src/slack/ files with shim re-exports pointing to the extension copies - Update tsconfig.plugin-sdk.dts.json rootDir from "src" to "." so the DTS build can follow shim chains into extensions/ - Update write-plugin-sdk-entry-dts.ts re-export path accordingly - Preserve extensions/slack/index.ts, package.json, openclaw.plugin.json, src/channel.ts, src/runtime.ts, src/channel.test.ts (untouched)
10 lines
755 B
TypeScript
10 lines
755 B
TypeScript
export { resolveChunkMode } from "../../../../src/auto-reply/chunk.js";
|
|
export { finalizeInboundContext } from "../../../../src/auto-reply/reply/inbound-context.js";
|
|
export { dispatchReplyWithDispatcher } from "../../../../src/auto-reply/reply/provider-dispatcher.js";
|
|
export { resolveConversationLabel } from "../../../../src/channels/conversation-label.js";
|
|
export { createReplyPrefixOptions } from "../../../../src/channels/reply-prefix.js";
|
|
export { recordInboundSessionMetaSafe } from "../../../../src/channels/session-meta.js";
|
|
export { resolveMarkdownTableMode } from "../../../../src/config/markdown-tables.js";
|
|
export { resolveAgentRoute } from "../../../../src/routing/resolve-route.js";
|
|
export { deliverSlackSlashReplies } from "./replies.js";
|