// src/event/base/SystemEvent.ts
function isFromSource(event, source) {
  return event.source === source;
}
function hasIntent(event, intent) {
  return event.intent === intent;
}
function isRequest(event) {
  return event.intent === "request";
}
function isResult(event) {
  return event.intent === "result";
}
function isNotification(event) {
  return event.intent === "notification";
}
// src/event/environment/DriveableEvent.ts
function isDriveableEvent(event) {
  return event.source === "environment" && event.category === "stream";
}
// src/event/environment/ConnectionEvent.ts
function isConnectionEvent(event) {
  return event.source === "environment" && event.category === "connection";
}
// src/event/container/lifecycle/index.ts
function isContainerLifecycleEvent(event) {
  return event.source === "container" && event.category === "lifecycle";
}
// src/event/container/sandbox/workdir/index.ts
function isWorkdirEvent(event) {
  return event.source === "sandbox" && event.category === "workdir";
}
// src/event/container/sandbox/mcp/index.ts
function isMCPEvent(event) {
  return event.source === "sandbox" && event.category === "mcp";
}

// src/event/container/sandbox/index.ts
function isSandboxEvent(event) {
  return event.source === "sandbox";
}

// src/event/container/index.ts
function isContainerEvent(event) {
  return event.source === "container" || event.source === "sandbox";
}
// src/event/session/lifecycle/index.ts
function isSessionLifecycleEvent(event) {
  return event.source === "session" && event.category === "lifecycle";
}
// src/event/session/persist/index.ts
function isSessionPersistEvent(event) {
  return event.source === "session" && event.category === "persist";
}
// src/event/session/action/index.ts
function isSessionActionEvent(event) {
  return event.source === "session" && event.category === "action";
}

// src/event/session/index.ts
function isSessionEvent(event) {
  return event.source === "session";
}
// src/event/command/CommandEvent.ts
function isCommandEvent(event) {
  return event.source === "command";
}
function isCommandRequest(event) {
  return event.source === "command" && event.category === "request";
}
function isCommandResponse(event) {
  return event.source === "command" && event.category === "response";
}
// src/event/agent/stream/index.ts
function isAgentStreamEvent(event) {
  return event.source === "agent" && event.category === "stream";
}
// src/event/agent/state/index.ts
function isAgentStateEvent(event) {
  return event.source === "agent" && event.category === "state";
}
// src/event/agent/message/index.ts
function isAgentMessageEvent(event) {
  return event.source === "agent" && event.category === "message";
}
// src/event/agent/turn/index.ts
function isAgentTurnEvent(event) {
  return event.source === "agent" && event.category === "turn";
}

// src/event/agent/index.ts
function isAgentEvent(event) {
  return event.source === "agent";
}
export {
  isWorkdirEvent,
  isSessionPersistEvent,
  isSessionLifecycleEvent,
  isSessionEvent,
  isSessionActionEvent,
  isSandboxEvent,
  isResult,
  isRequest,
  isNotification,
  isMCPEvent,
  isFromSource,
  isDriveableEvent,
  isContainerLifecycleEvent,
  isContainerEvent,
  isConnectionEvent,
  isCommandResponse,
  isCommandRequest,
  isCommandEvent,
  isAgentTurnEvent,
  isAgentStreamEvent,
  isAgentStateEvent,
  isAgentMessageEvent,
  isAgentEvent,
  hasIntent
};

//# debugId=AF48B93099416A9B64756E2164756E21
