Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

682 B
Raw Blame
import { MakeLogicType, actions, kea, path } from 'kea'

// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface taskEventsLogicActions {
    taskDeleted: () => {
        value: true
    }
}

export type taskEventsLogicType = MakeLogicType<{}, taskEventsLogicActions>

/**
 * Global bus for task lifecycle events. It holds no state and fetches nothing, so a host can connect
 * to it at boot without mounting `tasksLogic` or loading the task list.
 */
export const taskEventsLogic = kea<taskEventsLogicType>([
    path(['products', 'posthog_ai', 'frontend', 'logics', 'taskEventsLogic']),
    actions({
        taskDeleted: true,
    }),
])