feat(S-202): Test-drive and implement src/jobs.ts (write)

This commit is contained in:
2026-05-19 20:17:15 -05:00
parent aa860a6afd
commit 3b9ed0cc38
3 changed files with 919 additions and 1 deletions
+1 -1
View File
@@ -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],