Conversation
|
The following comment was made by an LLM, it may be inaccurate: Related PR Found:
Why it's related:
This appears to be an enhancement/alternative approach to the existing terminal tool work in #23794, not a true duplicate, but they are closely related features addressing the same problem space. |
|
This is the currently open implementation of an interactive erminal tool for the agent (the earlier #23794 and its rebased successor #41554 are both closed). Scope of this PR (5 commits):
If maintainers prefer folding the tool part into another design, happy to adjust; the VS Code auto-attach piece is the part we'd like to keep either way. Thanks for the review. |
440c7a2 to
094098b
Compare
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #
Type of change
What does this PR do?
Adds a
terminaltool to opencode so the agent can open and drive a real interactive PTY (open/read/input/close), and adds VS Code extension support that auto-attaches those sessions into real VS Code terminals via a Pseudoterminal bridge.Differs from the existing open PR #23794 on the same area by:
bashtool.powershell/cmd/bash, defaulting to PowerShell on Windows).\n->\r) — before this, model-sent\ngot stuck in PowerShell's continuation prompt and keystrokes appeared lost.How did you verify your code works?
bun typecheckpasses inpackages/opencode;tsc --noEmitpasses insdks/vscode.Screenshots / recordings
N/A (no UI change beyond the auto-attached terminal).
Checklist