Skip to content

Code-Server bug where it says "Terminal output not available" even though it works on Kilo Code #7636

Open

Description

@kyle-hobbs

Before submitting your bug report

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

  1. Install Code-Server, any Linux distro should work.
  2. Install the Continue extension and integrate it with any LLM
  3. Tell that LLM to run a terminal command (e.g. find .) and tell the output
  4. Approve the terminal command to be ran
  5. See the following error: "Terminal output not available. This is only available in local development environments and not in SSH environments for example."
Image

Log output

Let me know if you need additional logs, but I think this one that error message should be good enough.

Activity

  1. added
    area:context-providers
    kind:bug
    os:linux
    on Sep 8, 2025
  2. vector090 commented on Sep 11, 2025

    @vector090

    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.

  3. chezsmithy commented on Sep 12, 2025

    @chezsmithy
    Contributor

    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?

  4. vector090 commented on Sep 15, 2025

    @vector090

    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.

  5. kyle-hobbs commented on Sep 17, 2025

    @kyle-hobbs
    Author

    @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.

  6. kyle-hobbs commented on Sep 22, 2025

    @kyle-hobbs
    Author

    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.

  7. kyle-hobbs commented on Oct 14, 2025

    @kyle-hobbs
    Author

    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!

  8. bdougie commented on Oct 22, 2025

    @bdougie
    Contributor

    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!

    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.

  9. traikodinev commented on Nov 28, 2025

    @traikodinev

    @bdougie @RomneyDa Context for this PR 👉 #7859 that was never merged.

    Seems that it's not actually a limitation of code-server (or openvscode or similar), but rather an if statement 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 if statement matters. Is there a way to filter those out so the if isn't triggered and the commands run on code-server?

    For code-server specifically you don't need to do anything special, the problem is Continue doesn't even attempt to run the commands.

  10. KukumavMozolo commented on Jan 13, 2026

    @KukumavMozolo

    Just stumbled into this, is there a workaround or at least some plan to address this issue?

  11. github-actions commented on Apr 14, 2026

    @github-actions
    Contributor

    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.

  12. jamblejoe commented on Apr 14, 2026

    @jamblejoe

    Same issue here. vscode is running remotely and the terminal commands are not executed but forwarded to the open terminal in vscode.

  13. mwroffo commented on Apr 18, 2026

    @mwroffo

    Bumping to make sure this doesn't get closed like #7859 :)

  14. DuXspace commented on Apr 28, 2026

    @DuXspace

    Same problem, just found it on Windows with wsl

  15. pilardi commented on May 22, 2026

    @pilardi

    same problem in OSX

  16. emilations commented on Jun 14, 2026

    @emilations

    Same on Linux, I really love using continue but will have to find an alternative if no solution is offored :(

  17. DK-DARKmatter commented on Jun 17, 2026

    @DK-DARKmatter

    +1 on WSL

  18. MoDaae commented on Jun 30, 2026

    @MoDaae

    +1 on WSL

  19. d-afanasiev commented on Aug 31, 2026

    @d-afanasiev

    +1 on WSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:context-providerskind:bugos:linux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions