diff --git a/assets/settings/default.json b/assets/settings/default.json index ce498dd6172c5a26be5412d1e9e2ac9826a8730f..6ffb563de5eba6835d89448061bf7c561ce0a7c7 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1722,7 +1722,7 @@ // and change the value to `false`. "auto_install_extensions": { "anthropic": true, - "copilot_chat": true, + "copilot-chat": true, "google-ai": true, "html": true, "openai": true, diff --git a/extensions/copilot_chat/Cargo.lock b/extensions/copilot-chat/Cargo.lock similarity index 100% rename from extensions/copilot_chat/Cargo.lock rename to extensions/copilot-chat/Cargo.lock diff --git a/extensions/copilot_chat/Cargo.toml b/extensions/copilot-chat/Cargo.toml similarity index 93% rename from extensions/copilot_chat/Cargo.toml rename to extensions/copilot-chat/Cargo.toml index 6daae73229776d50cb05223d65e5c921629041c9..189c1db9fc37b9aa8357e25b91468b57c7312f7a 100644 --- a/extensions/copilot_chat/Cargo.toml +++ b/extensions/copilot-chat/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "copilot_chat" +name = "copilot-chat" version = "0.1.0" edition = "2021" publish = false diff --git a/extensions/copilot_chat/extension.toml b/extensions/copilot-chat/extension.toml similarity index 62% rename from extensions/copilot_chat/extension.toml rename to extensions/copilot-chat/extension.toml index 9afa188462fcb632fe1e162964997d957c567fbf..c226a20f3a77244c12aa63087e26d52ee06e726f 100644 --- a/extensions/copilot_chat/extension.toml +++ b/extensions/copilot-chat/extension.toml @@ -1,4 +1,4 @@ -id = "copilot_chat" +id = "copilot-chat" name = "Copilot Chat" description = "GitHub Copilot Chat LLM provider for Zed." version = "0.1.0" @@ -6,8 +6,8 @@ schema_version = 1 authors = ["Zed Team"] repository = "https://github.com/zed-industries/zed" -[language_model_providers.copilot_chat] +[language_model_providers.copilot-chat] name = "Copilot Chat" -[language_model_providers.copilot_chat.auth] +[language_model_providers.copilot-chat.auth] env_var = "GH_COPILOT_TOKEN" \ No newline at end of file diff --git a/extensions/copilot_chat/icons/copilot.svg b/extensions/copilot-chat/icons/copilot.svg similarity index 100% rename from extensions/copilot_chat/icons/copilot.svg rename to extensions/copilot-chat/icons/copilot.svg diff --git a/extensions/copilot_chat/src/copilot_chat.rs b/extensions/copilot-chat/src/copilot_chat.rs similarity index 100% rename from extensions/copilot_chat/src/copilot_chat.rs rename to extensions/copilot-chat/src/copilot_chat.rs