MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / composeEnv

Method composeEnv

src/workspaces/cli-adapter.ts:215–215  ·  view source on GitHub ↗

* Optional per-spawn env contribution. Unlike `envOverrides` (static, no * spawn context), this receives the full `SpawnContext` so adapters can * compute env values that depend on the workspace cwd — e.g. `CODEX_HOME` * pointing at ` /.codex`. Merged into the spawn env AFTER * `envO

(ctx: SpawnContext)

Source from the content-addressed store, hash-verified

213 * `.codex/config.toml`) and are read by the CLI directly.
214 */
215 composeEnv?(ctx: SpawnContext): Record<string, string>;
216
217 /**
218 * Workspace-creation hook. The launcher calls this once for every adapter

Callers 1

composeSpawnInputsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected