Message hooks like todo-continuation-enforcer and background-notification now preserve the agent mode from the previous message when sending follow-up prompts. This ensures that continuation messages and task completion notifications use the same agent that was active in the conversation. - Export findNearestMessageWithFields and MESSAGE_STORAGE from hook-message-injector - Add getMessageDir helper to locate session message directories - Pass agent field to session.prompt in todo-continuation-enforcer - Pass agent field to session.prompt in BackgroundManager.notifyParentSession Closes #59 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
5 lines
248 B
TypeScript
5 lines
248 B
TypeScript
export { injectHookMessage, findNearestMessageWithFields } from "./injector"
|
|
export type { StoredMessage } from "./injector"
|
|
export type { MessageMeta, OriginalMessageContext, TextPart } from "./types"
|
|
export { MESSAGE_STORAGE } from "./constants"
|