fix(server): apply plugin pty environment (#32296)

This commit is contained in:
Shoubhit Dash
2026-06-14 16:47:48 +05:30
committed by GitHub
parent 1d195452f5
commit e2ad6d0d9c
8 changed files with 135 additions and 3 deletions
-2
View File
@@ -197,8 +197,6 @@ export const layer = Layer.effect(
const command = input.command || Shell.preferred(Config.latest(yield* config.entries(), "shell"))
const args = Shell.login(command) ? [...(input.args ?? []), "-l"] : [...(input.args ?? [])]
const cwd = input.cwd || location.directory
// TODO: Apply plugin shell.env environment augmentation once V2 plugin hooks exist; legacy
// routes merge plugin-provided values into input.env at the boundary.
const env = {
...process.env,
...input.env,