MCPcopy Index your code
hub / github.com/anomalyco/opencode / cwd

Method cwd

packages/plugin/src/shell.ts:32–32  ·  view source on GitHub ↗

* Default working directory to use for shells created by this instance.

(newCwd?: string)

Source from the content-addressed store, hash-verified

30 * Default working directory to use for shells created by this instance.
31 */
32 cwd(newCwd?: string): BunShell
33
34 /**
35 * Configure the shell to not throw an exception on non-zero exit codes.

Callers 15

spawnLocalServerFunction · 0.65
runInteractiveCommandFunction · 0.65
copy-bundles.tsFile · 0.65
promote-limits.tsFile · 0.65
update-limits.tsFile · 0.65
promote-models.tsFile · 0.65
update-models.tsFile · 0.65
pull-models.tsFile · 0.65
app.tsxFile · 0.65
resolveZedSelectionFunction · 0.65
openEditorFunction · 0.65

Calls

no outgoing calls

Tested by 9

initRepoFunction · 0.52
rootCommitFunction · 0.52
initRepoFunction · 0.52
initRepoFunction · 0.52
initRepoFunction · 0.52
withTmpFunction · 0.52
initGitRepoFunction · 0.52
mountEditorContextFunction · 0.52
cleanupWorktreeFunction · 0.52