// src/agent/event/state/index.ts
function isStateEvent(event) {
  const stateTypes = [
    "conversation_queued",
    "conversation_start",
    "conversation_thinking",
    "conversation_responding",
    "conversation_end",
    "conversation_interrupted",
    "tool_planned",
    "tool_executing",
    "tool_completed",
    "tool_failed",
    "error_occurred"
  ];
  return stateTypes.includes(event.type);
}
// src/agent/event/message/index.ts
function isMessageEvent(event) {
  const messageTypes = [
    "user_message",
    "assistant_message",
    "tool_call_message",
    "tool_result_message",
    "error_message"
  ];
  return messageTypes.includes(event.type);
}
// src/agent/event/turn/index.ts
function isTurnEvent(event) {
  const turnTypes = ["turn_request", "turn_response"];
  return turnTypes.includes(event.type);
}
export {
  isTurnEvent,
  isStateEvent,
  isMessageEvent
};

//# debugId=B070D1994E264C9B64756E2164756E21
