Skip to content
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

feat: Use the latest server #305

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- os: macos-latest
emacs-version: snapshot
experimental: true
exclude:
- os: macos-latest
emacs-version: 27.2

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions copilot.el
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ performance."
:group 'copilot
:type 'string)

(defcustom copilot-server-args nil
(defcustom copilot-server-args '("--stdio")
"Additional arguments to pass to the Copilot server."
:group 'copilot
:type '(repeat string))
Expand All @@ -102,7 +102,6 @@ performance."
:group 'copilot
:type 'integer)


(defcustom copilot-clear-overlay-ignore-commands nil
"List of commands that should not clear the overlay when called."
:group 'copilot
Expand Down Expand Up @@ -140,11 +139,12 @@ find indentation offset."
(defconst copilot--server-executable
(if (eq system-type 'windows-nt)
(f-join copilot-install-dir "node_modules" "copilot-node-server"
"bin" "copilot-node-server")
(f-join copilot-install-dir "bin" "copilot-node-server"))
"copilot" "dist" "agent.js")
(f-join copilot-install-dir "lib" "node_modules" "copilot-node-server"
"copilot" "dist" "agent.js"))
"The dist directory containing agent.js file.")

(defcustom copilot-version "1.14.0"
(defcustom copilot-version "1.30.0"
"Copilot version.

The default value is the preferred version and ensures functionality.
Expand Down