mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 16:21:15 +00:00
perf(test): narrow sdk seams for channel hotspots
This commit is contained in:
6
src/plugin-sdk/command-detection.ts
Normal file
6
src/plugin-sdk/command-detection.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export {
|
||||
hasControlCommand,
|
||||
hasInlineCommandTokens,
|
||||
isControlCommandMessage,
|
||||
shouldComputeCommandAuthorized,
|
||||
} from "../auto-reply/command-detection.js";
|
||||
4
src/plugin-sdk/command-surface.ts
Normal file
4
src/plugin-sdk/command-surface.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export {
|
||||
normalizeCommandBody,
|
||||
shouldHandleTextCommands,
|
||||
} from "../auto-reply/commands-registry.js";
|
||||
2
src/plugin-sdk/markdown-table-runtime.ts
Normal file
2
src/plugin-sdk/markdown-table-runtime.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export { resolveMarkdownTableMode } from "../config/markdown-tables.js";
|
||||
export type { MarkdownTableMode } from "../config/types.base.js";
|
||||
6
src/plugin-sdk/models-provider-runtime.ts
Normal file
6
src/plugin-sdk/models-provider-runtime.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export {
|
||||
buildModelsProviderData,
|
||||
formatModelsAvailableHeader,
|
||||
resolveModelsCommandReply,
|
||||
} from "../auto-reply/reply/commands-models.js";
|
||||
export type { ModelsProviderData } from "../auto-reply/reply/commands-models.js";
|
||||
2
src/plugin-sdk/runtime-config-snapshot.ts
Normal file
2
src/plugin-sdk/runtime-config-snapshot.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export { getRuntimeConfigSnapshot } from "../config/io.js";
|
||||
export type { OpenClawConfig } from "../config/types.js";
|
||||
5
src/plugin-sdk/telegram-command-config.ts
Normal file
5
src/plugin-sdk/telegram-command-config.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export {
|
||||
TELEGRAM_COMMAND_NAME_PATTERN,
|
||||
normalizeTelegramCommandName,
|
||||
resolveTelegramCustomCommands,
|
||||
} from "../config/telegram-custom-commands.js";
|
||||
Reference in New Issue
Block a user