- Implement `createContextInjectorMessagesTransformHook` for messages transform hook - Refactor existing `chat.message` handler to be a no-op (context injection moved to transform) - Add comprehensive test suite for the new hook (4 test cases) - Update exports to expose new hook function 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
17 lines
378 B
TypeScript
17 lines
378 B
TypeScript
export { ContextCollector, contextCollector } from "./collector"
|
|
export {
|
|
injectPendingContext,
|
|
createContextInjectorHook,
|
|
createContextInjectorMessagesTransformHook,
|
|
} from "./injector"
|
|
export type {
|
|
ContextSourceType,
|
|
ContextPriority,
|
|
ContextEntry,
|
|
RegisterContextOptions,
|
|
PendingContext,
|
|
MessageContext,
|
|
OutputParts,
|
|
InjectionStrategy,
|
|
} from "./types"
|