thakkarparth007 / copilot-explorer Goto Github PK
View Code? Open in Web Editor NEWHacky repo to see what the Copilot extension sends to the server
Home Page: https://twitter.com/parth007_96/status/1604160949434421248
Hacky repo to see what the Copilot extension sends to the server
Home Page: https://twitter.com/parth007_96/status/1604160949434421248
Is there any possibility to modify the entry point of the api, I would like to replace it model
Some methods are rather hard to understand without spending some time (especially because my deobfuscation only handles a few kinds of obfuscation patterns).
Would be great to select a piece of code, and the interface queries codex for its explanation.
This should will also allow renaming modules etc.
Cloned, then did npm install, then node index.js.
Received the following error:
/Users/abhinavg/Documents/copilot-explorer/index.js:471
throw e;
^
TypeError: Cannot read properties of undefined (reading 'getCode')
at NodePath.getSource (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/introspection.js:154:27)
at UnaryExpression (/Users/abhinavg/Documents/copilot-explorer/index.js:231:35)
at NodePath._call (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:46:20)
at NodePath.call (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:36:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:84:31)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (/Users/abhinavg/Documents/copilot-explorer/node_modules/@babel/traverse/lib/path/context.js:90:52)```
Currently the app shows which module imports which other modules, and what symbols are exported by each module. However it'd be good to get a more fine-grained dependency information. This should be possible to some degree.
This can be done but it's not realiable. So we need a way to check if whatever ChatGPT/Codex produced is the same as a given function. Abstract interpretation comes to mind...but doing that for JS will require some work.
I am looking for a way to control GitHub Copilot programmatically, i.e., invoking it from code.
My question is how to capture the top suggestions provided by Copilot in an automated fashion.
For example, for any given autocomplete task to Copilot, the task is to record the code suggestions and save them into a file.
I am wondering whether your project can help on that?
Hi @thakkarparth007!
Thank you so much for your effort on this great project!
I was trying to run this project locally but countered some problems with python packages. Namely, I don't have manifest
installed and I cannot install it with pip install manifest
. Could you provide the version of this package you used?
Thank you so much again!
Amazing work!
There is no simple way of applying the same visualization and exploration tools on any other GitHub repo, is there? I'd love to have this as a VSCode extension.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.