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。

315 B
Raw Blame
import { spawnSync } from 'node:child_process';
import { existsSync } from 'node:fs';

export function resolvePosixShell(
  shellName: string,
  options?: {
    platform?: NodeJS.Platform;
    env?: NodeJS.ProcessEnv;
    spawnSyncImpl?: typeof spawnSync;
    existsSync?: typeof existsSync;
  },
): string | null;