Skip to content

setAcpShellWorkDir

setAcpShellWorkDir(cwd): void

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/workDir.ts:45

ACP-only: point the shell tool at the current ACP session’s fs-backend root (the resolved session/new.cwd, or the startup workspace when a session carries no cwd). Pass undefined to clear the override and restore the getCurrentWorkDir() default (used by tests).

string | undefined

void