├── LICENSE.md ├── README.md ├── copilot ├── dist │ ├── compiled │ │ ├── darwin │ │ │ ├── arm64 │ │ │ │ └── kerberos.node │ │ │ └── x64 │ │ │ │ └── kerberos.node │ │ ├── linux │ │ │ ├── arm64 │ │ │ │ └── kerberos.node │ │ │ └── x64 │ │ │ │ └── kerberos.node │ │ └── win32 │ │ │ └── x64 │ │ │ └── kerberos.node │ ├── crypt32.node │ ├── language-server.js │ ├── resources │ │ ├── cl100k_base.tiktoken.noindex │ │ └── o200k_base.tiktoken.noindex │ ├── tree-sitter-go.wasm │ ├── tree-sitter-javascript.wasm │ ├── tree-sitter-python.wasm │ ├── tree-sitter-ruby.wasm │ ├── tree-sitter-tsx.wasm │ ├── tree-sitter-typescript.wasm │ └── tree-sitter.wasm └── info.txt ├── package-lock.json └── package.json /LICENSE.md: -------------------------------------------------------------------------------- 1 | GitHub Copilot is offered under the [GitHub Terms of 2 | Service](https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot). 3 | 4 | Copyright (C) 2023 GitHub, Inc. - All Rights Reserved. 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Important 2 | 3 | I (@jfcherng) no longer maintain this repository because [@github/copilot-language-server][] is a drop-in replacement for it and maintained by Microsoft. If you are willing to maintain this repository and the [corresponding NPM package][copilot-node-server-npm], just contact me. 4 | 5 | ## Introduce 6 | 7 | Copilot Node.js server stripped from [copilot.vim] and published on [NPM][copilot-node-server-npm]. 8 | 9 | ## Usage 10 | 11 | To start the server, execute either of the following 12 | 13 | - `npx copilot-node-server --stdio` 14 | 15 | This one is recommended if `npx` is available. 16 | 17 | - `node copilot/dist/language-server.js --stdio` 18 | 19 | This one is not recommended because the script path may vary among (upstream) releases. 20 | E.g., the upstream renamed `agent.js` to `language-server.js` in the `1.34.0` release. 21 | 22 | ## Reporting issues 23 | 24 | This repository doesn't modify any upstream file. 25 | If you have any Copilot issue or any server issue, please submit it to [Copilot discussions][copilot-discussions]. 26 | 27 | [@github/copilot-language-server]: https://www.npmjs.com/package/@github/copilot-language-server 28 | [copilot-discussions]: https://github.com/orgs/community/discussions/categories/copilot 29 | [copilot-node-server-npm]: https://www.npmjs.com/package/copilot-node-server 30 | [copilot.vim]: https://github.com/github/copilot.vim 31 | -------------------------------------------------------------------------------- /copilot/dist/compiled/darwin/arm64/kerberos.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/compiled/darwin/arm64/kerberos.node -------------------------------------------------------------------------------- /copilot/dist/compiled/darwin/x64/kerberos.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/compiled/darwin/x64/kerberos.node -------------------------------------------------------------------------------- /copilot/dist/compiled/linux/arm64/kerberos.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/compiled/linux/arm64/kerberos.node -------------------------------------------------------------------------------- /copilot/dist/compiled/linux/x64/kerberos.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/compiled/linux/x64/kerberos.node -------------------------------------------------------------------------------- /copilot/dist/compiled/win32/x64/kerberos.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/compiled/win32/x64/kerberos.node -------------------------------------------------------------------------------- /copilot/dist/crypt32.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/crypt32.node -------------------------------------------------------------------------------- /copilot/dist/tree-sitter-go.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/tree-sitter-go.wasm -------------------------------------------------------------------------------- /copilot/dist/tree-sitter-javascript.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/tree-sitter-javascript.wasm -------------------------------------------------------------------------------- /copilot/dist/tree-sitter-python.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/tree-sitter-python.wasm -------------------------------------------------------------------------------- /copilot/dist/tree-sitter-ruby.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/tree-sitter-ruby.wasm -------------------------------------------------------------------------------- /copilot/dist/tree-sitter-tsx.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/tree-sitter-tsx.wasm -------------------------------------------------------------------------------- /copilot/dist/tree-sitter-typescript.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/tree-sitter-typescript.wasm -------------------------------------------------------------------------------- /copilot/dist/tree-sitter.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfcherng/copilot-node-server/432b0d7cea0fcba74afba28736952e761d7e2c78/copilot/dist/tree-sitter.wasm -------------------------------------------------------------------------------- /copilot/info.txt: -------------------------------------------------------------------------------- 1 | commit = 87038123804796ca7af20d1b71c3428d858a9124 2 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "copilot-node-server", 3 | "version": "1.41.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "copilot-node-server", 9 | "version": "1.41.0", 10 | "license": "GitHub Terms of Service", 11 | "bin": { 12 | "copilot-node-server": "copilot/dist/language-server.js" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "copilot-node-server", 3 | "version": "1.41.0", 4 | "description": "Copilot Node.js server stripped from https://github.com/github/copilot.vim", 5 | "bin": { 6 | "copilot-node-server": "copilot/dist/language-server.js" 7 | }, 8 | "repository": { 9 | "type": "git", 10 | "url": "git+https://github.com/jfcherng/copilot-node-server.git" 11 | }, 12 | "keywords": [ 13 | "copilot" 14 | ], 15 | "license": "GitHub Terms of Service", 16 | "bugs": { 17 | "url": "https://github.com/jfcherng/copilot-node-server/issues" 18 | }, 19 | "homepage": "https://github.com/jfcherng/copilot-node-server#readme" 20 | } 21 | --------------------------------------------------------------------------------