feat(S-202): Test-drive and implement src/jobs.ts (write)
This commit is contained in:
@@ -3,7 +3,7 @@ import { existsSync as defaultExistsSync } from "node:fs";
|
||||
import type { ClientName, ExecResult, DebugInfo, ExecuteOptions } from "./types.js";
|
||||
import { ClientNotFoundError, ExecError } from "./types.js";
|
||||
|
||||
const CLIENT_ARGS: Record<ClientName, (prompt: string) => string[]> = {
|
||||
export const CLIENT_ARGS: Record<ClientName, (prompt: string) => string[]> = {
|
||||
codex: (p) => ["exec", "--yolo", p],
|
||||
claude: (p) => ["-p", p, "--dangerously-skip-permissions"],
|
||||
opencode: (p) => ["run", "--dangerously-skip-permissions", p],
|
||||
|
||||
Reference in New Issue
Block a user