Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
import { useContext } from 'react'
import { WorkspaceActionsContext } from './context'
import type { WorkspaceActionsContextValue } from './types'
export function useWorkspaceActionsContext(): WorkspaceActionsContextValue {
const ctx = useContext(WorkspaceActionsContext)
if (!ctx)
throw new Error('useWorkspaceActionsContext must be used within WorkspaceActionsProvider')
return ctx
}