Replies: 4 comments 3 replies
-
Nice work! We have these reverse-engineered APIs in this file: They're mostly taken from the official plugin: Would be really nice if somebody reverse-engineers the new Copilot Chat features: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat. Currently it's only available on VSCode. |
Beta Was this translation helpful? Give feedback.
-
@MunifTanjim
It is harder because it's necessary either to make fixes directly in the extension.js code (which is probably legally restricted by the license), or to write all the code by hand (which is likely a lot of work). In this way, we don't need to reverse engineer all the code; we only need to understand which functions and callbacks of VS Code the plugin is using. |
Beta Was this translation helpful? Give feedback.
-
This is fantastic, awesome work! I'll play around with it and see what I can get up and running |
Beta Was this translation helpful? Give feedback.
-
Very early WIP but I figured I'd post here since I just got the requests to copilot working using actual prefix and suffix information from the LSP sync'd document info, and its getting close to a state where people might want to contribute. Right now it does send completion info to the editor, but I haven't gotten it formatted the same as the existing copilot LSP (can be tested by printing the table of completions returned by 'getCompletionsCycling' requests), and it's missing some info, so it won't appear properly (or at all) in your completions. Very much a cool toy atm, but I'll keep hacking away at it. |
Beta Was this translation helpful? Give feedback.
-
HI! I've done research and reverse-engineered the Github Copilot protocol between IDE plugin and agent.js, and have tried to document it. This is based on Github Copilot plugin version for JetBrains and some parts of agent.js. You can see the specs in this repo https://github.com/haukot/copilot_specifications
Hope this could help in plugin development!
Beta Was this translation helpful? Give feedback.
All reactions