@github/copilot-language-server 1.415.0 → 1.416.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -48,6 +48,47 @@ If using the `language-server.js` distribution, it is necessary to retain the en
48
48
  Communication with the language server typically happens over stdio with `--stdio`. The `language-server.js`
49
49
  distribution additionally supports Node IPC with `--node-ipc`.
50
50
 
51
+ ## Agent Client Protocol (ACP) (Preview)
52
+
53
+ The Copilot Language Server also supports the [Agent Client Protocol (ACP)](https://agentclientprotocol.com/),
54
+ enabling integration with ACP-compatible editors like [JetBrains AI Assistant](https://www.jetbrains.com/help/ai-assistant/acp.html), [Zed](https://zed.dev/), and more.
55
+
56
+ ### Running in ACP Mode
57
+
58
+ To start the language server in ACP mode:
59
+
60
+ ```sh
61
+ npx -y @github/copilot-language-server --acp
62
+ ```
63
+
64
+ Or if installed locally:
65
+
66
+ ```sh
67
+ node ./node_modules/@github/copilot-language-server/dist/language-server.js --acp
68
+ ```
69
+
70
+ Communication happens over stdin/stdout.
71
+
72
+ ### JetBrains AI Assistant
73
+
74
+ To use Copilot as an ACP agent in JetBrains AI Assistant, add the following to your `~/.jetbrains/acp.json`:
75
+
76
+ ```json
77
+ {
78
+ "agent_servers": {
79
+ "GitHub Copilot": {
80
+ "command": "npx",
81
+ "args": [
82
+ "@github/copilot-language-server@latest",
83
+ "--acp"
84
+ ]
85
+ }
86
+ }
87
+ }
88
+ ```
89
+
90
+ See the [ACP specification](https://agentclientprotocol.com/) for full protocol details.
91
+
51
92
  ## Communication Protocol
52
93
 
53
94
  The [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) (LSP) is used to communicate with