Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

336 B
Raw Blame
/** An IPC lifecycle failure does not establish whether the OS opened the path. */
export interface OpenPathResult {
  success: boolean;
  error?: string;
  failureKind?: 'ipc_lifecycle';
}

export function shouldShowOpenPathError(result: OpenPathResult): boolean {
  return !result.success && result.failureKind !== 'ipc_lifecycle';
}