refactor: centralize target normalization

This commit is contained in:
Peter Steinberger committed 2026-01-17 06:45:11 +00:00
1 parent 5a1ff5b9e7
commit 353d778988
10 files changed
+75 -23

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
import { getChannelPlugin, normalizeChannelId } from "../channels/plugins/index.js";
import { truncateUtf16Safe } from "../utils.js";
import { type MessagingToolSend, normalizeTargetForProvider } from "./pi-embedded-messaging.js";
import { type MessagingToolSend } from "./pi-embedded-messaging.js";
import { normalizeTargetForProvider } from "../infra/outbound/target-normalization.js";
const TOOL_RESULT_MAX_CHARS = 8000;