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

Method env

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

* Change the default environment variables for shells created by this instance.

(newEnv?: Record<string, string | undefined>)

Source from the content-addressed store, hash-verified

25 * Change the default environment variables for shells created by this instance.
26 */
27 env(newEnv?: Record<string, string | undefined>): BunShell
28
29 /**
30 * Default working directory to use for shells created by this instance.

Callers 1

customFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected