chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-21 04:02:29 +00:00
parent 14366af069
commit 7a554441b4
2 changed files with 114 additions and 116 deletions

View File

@@ -119,7 +119,10 @@ export async function tmpdir<T>(options?: TmpDirOptions<T>) {
}
/** Effectful scoped tmpdir. Cleaned up when the scope closes. Make sure these stay in sync */
export function tmpdirScoped(options?: { git?: boolean; config?: Partial<Config.Info> | (() => Partial<Config.Info>) }) {
export function tmpdirScoped(options?: {
git?: boolean
config?: Partial<Config.Info> | (() => Partial<Config.Info>)
}) {
return Effect.gen(function* () {
const spawner = yield* ChildProcessSpawner.ChildProcessSpawner
const dirpath = sanitizePath(path.join(os.tmpdir(), "opencode-test-" + Math.random().toString(36).slice(2)))