Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Revert to --prompt + stdin behavior from v0.15.x
  • Loading branch information
veracioux committed Nov 5, 2025
commit 77e25b8c2548eefb4d08efb10c1d78521e3aa7d0
2 changes: 1 addition & 1 deletion packages/opencode/src/cli/cmd/tui/thread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const TuiThreadCommand = cmd({
const prompt = await (async () => {
const piped = !process.stdin.isTTY ? await Bun.stdin.text() : undefined
if (!args.prompt) return piped
return piped ? piped + "\n" + args.prompt : args.prompt
return piped ? args.prompt + "\n" + piped : args.prompt
})()

let stdin: NodeJS.ReadStream
Expand Down
Loading