Skip to content

code-server cannot support AI coder plugin, such as cline, continue, Tongyi, fitten code and so on #7188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HGtz2222 opened this issue Jan 30, 2025 · 11 comments
Labels
enhancement Some improvement that isn't a feature

Comments

@HGtz2222
Copy link

What is your suggestion?

I propose adding official support for AI development plugins like Cline, Continue, Tongyi, and Fitten Code in code-server. These AI-powered coding assistants have become essential tools in modern development workflows, and their integration would significantly enhance code-server's competitiveness as a cloud-based IDE solution.

Why do you want this feature?

Growing Industry Trend: AI-assisted development tools now account for 68% of professional developers' workflows (2023 StackOverflow Survey)

Feature Parity: Local VS Code already supports these extensions through its marketplace

Cloud Development Needs: Remote developers increasingly rely on AI assistants for code completion and context-aware suggestions

Competitive Advantage: Other cloud IDEs (Gitpod, GitHub Codespaces) are actively integrating AI capabilities

Are there any workarounds to get this functionality today?

Are you interested in submitting a PR for this?

While I currently lack the expertise to implement full marketplace integration, I would be willing to:

Assist with compatibility testing

Help document integration processes

Contribute to UI/UX improvements for AI features

Collaborate with maintainers on implementation strategies

@HGtz2222 HGtz2222 added the enhancement Some improvement that isn't a feature label Jan 30, 2025
@cheese
Copy link

cheese commented Feb 7, 2025

I tried out code-server with Cline, and it worked perfectly. What specific issue did you run into?

code-server: v4.89.1
Code: 1.89.1
Commit: effc6e9
Date: 2024-05-13T18:42:51.662Z
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Cline: 3.2.13

@HGtz2222
Copy link
Author

HGtz2222 commented Feb 7, 2025

Image

console print logs like the image when i open the frame of cline. i dont know if this is the reason?

@benz0li
Copy link
Contributor

benz0li commented Feb 7, 2025

@HGtz2222 Most likely related to:

ℹ Webviews (if not accessed via localhost/127.0.0.1) also require HTTPS.

@benz0li
Copy link
Contributor

benz0li commented Feb 7, 2025

  1. For localhost/127.0.0.1 HTTP is sufficient
  2. For anything else you need TLS encryption
    • This means providing a secure connection over HTTPS

ℹ Use a reverse proxy like Caddy, Nginx, Træfik, etc.

Originally posted by @benz0li in #7168 (comment)

@HGtz2222
Copy link
Author

HGtz2222 commented Feb 7, 2025

oh, i see. let me try. thanks very much

@HGtz2222
Copy link
Author

HGtz2222 commented Feb 7, 2025

All AI plugins works well after I configure my code-server on https. Thank you once again

  1. For localhost/127.0.0.1 HTTP is sufficient

  2. For anything else you need TLS encryption

    • This means providing a secure connection over HTTPS

ℹ Use a reverse proxy like Caddy, Nginx, Træfik, etc.

Originally posted by @benz0li in #7168 (comment)

@HGtz2222 HGtz2222 closed this as completed Feb 7, 2025
@imjiaoyuan
Copy link

After enabling https, can copilot also be used?

@gogobd
Copy link

gogobd commented Mar 18, 2025

+1 from me, I'd also like to see this feature. Since people suggested to "add TLS" - can anyone clarify how this is supposed to work, i.e. what's the target setup? Copilot works in in the native VSC "out of the box". I run codeserver with code-server --cert --bind-addr 0.0.0.0:8089 /app and it creates certificates; however the Extension is not available "out of the box" and it's not listed as available extension in the Extensions tab.

Side note: There's a "Cline" Extension available that has 93k installations at the moment, but it is from an unverified publisher ("saoudrizwan"). That could be a "honeypot".

@benz0li
Copy link
Contributor

benz0li commented Mar 18, 2025

The GitHub Copilot extension has a proprietary license and is thus not available in the Open VSX Registry.

Furthermore, the use of this extension is restricted to Microsoft VS Code.

Cross reference:

@gogobd
Copy link

gogobd commented Mar 19, 2025

Thank you very much for the clarification!

@epark001
Copy link

epark001 commented Mar 19, 2025

I tried out code-server with Cline, and it worked perfectly. What specific issue did you run into?

code-server: v4.89.1 Code: 1.89.1 Commit: effc6e9 Date: 2024-05-13T18:42:51.662Z Browser: Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0 Cline: 3.2.13

cline is unable to view the output of the commands it runs, did you run into this issue, and if so, how did you get around it? The help docs did not resolve the issue for me:

Cline wants to execute this command:
code project_plan.md

Shell Integration Unavailable
Cline won't be able to view the command's output. Please update VSCode (CMD/CTRL + Shift + P → "Update") and make sure you're using a supported shell: zsh, bash, fish, or PowerShell (CMD/CTRL + Shift + P → "Terminal: Select Default Profile"). [Still having trouble?](https://github.com/cline/cline/wiki/Troubleshooting-%E2%80%90-Shell-Integration-Unavailable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

6 participants