fix(opencode): describe retained shell pipes

This commit is contained in:
Hona
2026-07-21 00:43:32 +00:00
parent 421100d322
commit 9e883bfebf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -578,7 +578,7 @@ export const ShellTool = Tool.define(
if (aborted) meta.push("User aborted the command")
if (incomplete)
meta.push(
`shell tool exited without reaching EOF within ${POST_EXIT_OUTPUT_GRACE_MS} ms; a background descendant may be holding the output pipe open`,
`shell process exited, but stdout/stderr did not reach EOF within ${POST_EXIT_OUTPUT_GRACE_MS} ms; a descendant process may still hold inherited pipe handles open`,
)
const raw = list.map((item) => item.text).join("")
const end = tail(raw, limits.maxLines, limits.maxBytes)