Repository navigation
Open
Labels
area:context-providersRelates to context providerskind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Ubuntu (Windows 11 for the client)
- Continue version: v1.2.2
- IDE version: code-server 4.19.0 984fb135dc0baa822f8031f1c639b1fd953a6291 with Code 1.84.2
- Model: anthropic.claude(rest of model version goes here)
- config:
name: "My Continue Assistant"
version: "1.0.0"
schema: "v1"
models:
- name: "Claude Sonnet"
provider: "bedrock"
model: "anthropic.claude(insert version here, I confirmed it's supported)"
roles:
- chat
- edit
- apply
- summarize
context:
- name: "code"
provider: "code"
- name: "folder"
provider: "folder"
- name: "codebase"
provider: "codebase"
OR link to agent in Continue hub:Description
So the issue is when I try to have it run terminal commands I get this error in Code-Server:
"Terminal output not available. This is only available in local development environments and not in SSH environments for example."
I reached out to the code-server folks and they confirmed it is not an error on their end, but the Continue extension. Also I was able to confirm that there is a working solution, Kilo Code implements some kind of integration with the terminal that works on code-server.
To reproduce
- Install Code-Server, any Linux distro should work.
- Install the Continue extension and integrate it with any LLM
- Tell that LLM to run a terminal command (e.g. find .) and tell the output
- Approve the terminal command to be ran
- See the following error: "Terminal output not available. This is only available in local development environments and not in SSH environments for example."
Log output
Let me know if you need additional logs, but I think this one that error message should be good enough.Reacted by vector090, Tuomas Pöyry, jarommadsen, Eero Kaan, Chris, Kevin Bosman, Maluslock, Sander Schoone, Kayla, William Saputra and 3 more
Metadata
Metadata
Assignees
Labels
area:context-providersRelates to context providerskind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux
Activity
vector090 commentedon Sep 11, 2025
Got the same problem long before , and finally decide to look for it then surprized to see this issue only reported 3 days ago...
Many of other AI extensions for code-server work well with run_terminal_command tool, Continue being such a powerful product should support it as well.
chezsmithy commentedon Sep 12, 2025
I was just looking at how to support this better. Curious would you expect all terminal commands to run in the code server or only some of them? Was thinking about terminal commands processing code might need to be local while commands like npm are remote. Your thoughts?
vector090 commentedon Sep 15, 2025
My exceptation is that it should simply work just like manually typing in the terminal panel: Continue invoke tool like 'run_terminal_command' uname, the command gets executed in the terminal panel and returns 'Linux', and Continue gets the result. That's all.
kyle-hobbs commentedon Sep 17, 2025
@chezsmithy In my opinion all commands should run on the remote environment where code-server is running. Since everything is in a remote environment the local desktop that you're accessing code-server is in the web browser, so it probably would only work remote regardless.
kyle-hobbs commentedon Sep 22, 2025
It appears that #7859 would solve this issue! Glad to see that there are some others having this issue and are looking forward to the resolution! Also #7861 was created and looks to be the same as this issue.
kyle-hobbs commentedon Oct 14, 2025
Hey just wanted to mention that Roo Code doesn't have this issue, just wanted to let you know. Perhaps you could pull in some of those changes if this PR doesn't work out? Thanks!
bdougie commentedon Oct 22, 2025
That is great there is a workaround in other tools, and if Roo Code solves this feel free to leverage it. It looks like there is an open ended question to the PR author that has not been addressed. If you have context you can provide there to speed up code review, it would be appreciated.
traikodinev commentedon Nov 28, 2025
@bdougie @RomneyDa Context for this PR 👉 #7859 that was never merged.
Seems that it's not actually a limitation of
code-server(oropenvscodeor similar), but rather anifstatement that just doesn't run the commands.I tested by recompiling from source, applying that PR's changes and installing from the VSIX.
Before: The command would just get pasted in the terminal and never actually run (like said above).
After: Works as expected.
I imagine there are environments where the
ifstatement matters. Is there a way to filter those out so theifisn't triggered and the commands run oncode-server?For
code-serverspecifically you don't need to do anything special, the problem is Continue doesn't even attempt to run the commands.KukumavMozolo commentedon Jan 13, 2026
Just stumbled into this, is there a workaround or at least some plan to address this issue?
github-actions commentedon Apr 14, 2026
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
jamblejoe commentedon Apr 14, 2026
Same issue here. vscode is running remotely and the terminal commands are not executed but forwarded to the open terminal in vscode.
mwroffo commentedon Apr 18, 2026
Bumping to make sure this doesn't get closed like #7859 :)
DuXspace commentedon Apr 28, 2026
Same problem, just found it on Windows with wsl
pilardi commentedon May 22, 2026
same problem in OSX
emilations commentedon Jun 14, 2026
Same on Linux, I really love using continue but will have to find an alternative if no solution is offored :(
DK-DARKmatter commentedon Jun 17, 2026
+1 on WSL
MoDaae commentedon Jun 30, 2026
+1 on WSL
d-afanasiev commentedon Aug 31, 2026
+1 on WSL