MCPcopy Create free account
hub / github.com/vercel/examples / useCommandErrorsLogs

Function useCommandErrorsLogs

apps/vibe-coding-platform/app/state.ts:37–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37export function useCommandErrorsLogs() {
38 const { commands } = useSandboxStore()
39 const errors = useMemo(
40 () => getBackgroundCommandErrorLines(commands),
41 [commands]
42 )
43 return { errors }
44}
45
46export const useSandboxStore = create<SandboxStore>()((set) => ({
47 addGeneratedFiles: (files) =>

Callers 2

ErrorMonitorFunction · 0.90
useDataStateMapperFunction · 0.85

Calls 1

Tested by

no test coverage detected