refactor: consolidate duplicated Promise.all dual reads into resolveMessageContext utility

This commit is contained in:
YeonGyu-Kim
2026-02-16 18:20:27 +09:00
parent 0b10245c34
commit 63e983269d
5 changed files with 25 additions and 68 deletions
@@ -4,6 +4,7 @@ export {
findFirstMessageWithAgent,
findNearestMessageWithFieldsFromSDK,
findFirstMessageWithAgentFromSDK,
resolveMessageContext,
} from "./injector"
export type { StoredMessage } from "./injector"
export type { MessageMeta, OriginalMessageContext, TextPart, ToolPermission } from "./types"