Skip to content

Commit 1978c49

Browse files
authored
Merge branch 'github:main' into main
2 parents dee1fd1 + 75aa71a commit 1978c49

File tree

251 files changed

+14669
-2078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

251 files changed

+14669
-2078
lines changed

.github/actions/set-xcode-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
Xcode version to use, in semver(ish)-style matching the format on the Actions runner image.
77
See available versions at https://github.com/actions/runner-images/blame/main/images/macos/macos-14-Readme.md#xcode
88
required: false
9-
default: '16.2'
9+
default: '26.0'
1010
outputs:
1111
xcode-path:
1212
description: "Path to current Xcode version"

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,53 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.43.0 - September 4, 2025
9+
### Fixed
10+
- Cannot type non-Latin characters in the chat input field.
11+
12+
## 0.42.0 - September 3, 2025
13+
### Added
14+
- Support for Bring Your Own Keys (BYOK) with model providers including Azure, OpenAI, Anthropic, Gemini, Groq, and OpenRouter. See [BYOK.md](https://github.com/github/CopilotForXcode/blob/0.42.0/Docs/BYOK.md).
15+
- Use the current selection as chat context.
16+
- Add folders as chat context.
17+
- Shortcut to quickly fix errors in Xcode.
18+
- Support for custom instruction files at `.github/instructions/*.instructions.md`. See [CustomInstructions.md](https://github.com/github/CopilotForXcode/blob/0.42.0/Docs/CustomInstructions.md).
19+
- Support for prompt files at `.github/prompts/*.prompt.md`. See [PromptFiles.md](https://github.com/github/CopilotForXcode/blob/0.42.0/Docs/PromptFiles.md).
20+
- Use ↑/↓ keys to reuse previous chat context in the chat view.
21+
22+
### Changed
23+
- Default chat mode is now set to “Agent”.
24+
25+
### Fixed
26+
- Cannot copy url from Safari browser to chat view.
27+
28+
## 0.41.0 - August 14, 2025
29+
### Added
30+
- Code review feature.
31+
- Chat: Support for new model GPT-5.
32+
- Agent mode: Added support for new tool to read web URL contents.
33+
- Support disabling MCP when it's disabled by policy.
34+
- Support for opening MCP logs directly from the MCP settings page.
35+
- OAuth support for remote GitHub MCP server.
36+
37+
### Changed
38+
- Performance: Improved instant-apply speed for edit_file tool.
39+
40+
### Fixed
41+
- Chat Agent repeatedly reverts its own changes when editing the same file.
42+
- Performance: Avoid chat panel being stuck when sending a large text for chat.
43+
44+
## 0.40.0 - July 24, 2025
45+
### Added
46+
- Support disabling Agent mode when it's disabled by policy.
47+
48+
## 0.39.0 - July 23, 2025
49+
### Fixed
50+
- Performance: Fixed a freezing issue in 'Add Context' view when opening large projects.
51+
- Login failed due to insufficient permissions on the .config folder.
52+
- Fixed an issue that setting changes like proxy config did not take effect.
53+
- Increased the timeout for ask mode to prevent response failures due to timeout.
54+
855
## 0.38.0 - June 30, 2025
956
### Added
1057
- Support for Claude 4 in Chat.

Copilot for Xcode.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188
/* End PBXCopyFilesBuildPhase section */
189189

190190
/* Begin PBXFileReference section */
191-
3ABBEA282C8B9FE100C61D61 /* copilot-language-server */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "copilot-language-server"; path = "Server/node_modules/@github/copilot-language-server/native/darwin-x64/copilot-language-server"; sourceTree = SOURCE_ROOT; };
192-
3ABBEA2A2C8BA00300C61D61 /* copilot-language-server-arm64 */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "copilot-language-server-arm64"; path = "Server/node_modules/@github/copilot-language-server/native/darwin-arm64/copilot-language-server-arm64"; sourceTree = SOURCE_ROOT; };
191+
3ABBEA282C8B9FE100C61D61 /* copilot-language-server */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "copilot-language-server"; path = "Server/node_modules/@github/copilot-language-server-darwin-x64/copilot-language-server"; sourceTree = SOURCE_ROOT; };
192+
3ABBEA2A2C8BA00300C61D61 /* copilot-language-server-arm64 */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "copilot-language-server-arm64"; path = "Server/node_modules/@github/copilot-language-server-darwin-arm64/copilot-language-server-arm64"; sourceTree = SOURCE_ROOT; };
193193
3E5DB74F2D6B88EE00418952 /* ReleaseNotes.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = ReleaseNotes.md; sourceTree = "<group>"; };
194194
424ACA202CA4697200FA20F2 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = "<group>"; };
195195
427C63272C6E868B000E557C /* OpenSettingsCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenSettingsCommand.swift; sourceTree = "<group>"; };
@@ -719,7 +719,7 @@
719719
);
720720
runOnlyForDeploymentPostprocessing = 0;
721721
shellPath = /bin/sh;
722-
shellScript = "export PATH=/usr/local/bin:/opt/homebrew/bin:$PATH\n\nnpm -C Server install\ncp Server/node_modules/@github/copilot-language-server/native/darwin-arm64/copilot-language-server Server/node_modules/@github/copilot-language-server/native/darwin-arm64/copilot-language-server-arm64\n\necho \"Build and copy webview js/html files as the bundle resources\"\nnpm -C Server run build\nmkdir -p \"${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources/webViewDist\"\ncp -R Server/dist/* \"${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources/webViewDist/\"\n";
722+
shellScript = "export PATH=/usr/local/bin:/opt/homebrew/bin:$PATH\n\nnpm -C Server install --force\ncp Server/node_modules/@github/copilot-language-server-darwin-arm64/copilot-language-server Server/node_modules/@github/copilot-language-server-darwin-arm64/copilot-language-server-arm64\n\necho \"Build and copy webview js/html files as the bundle resources\"\nnpm -C Server run build\nmkdir -p \"${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources/webViewDist\"\ncp -R Server/dist/* \"${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources/webViewDist/\"\n";
723723
};
724724
/* End PBXShellScriptBuildPhase section */
725725

Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/ExtensionService.xcscheme

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@
5050
reference = "container:Pro/ProTestPlan.xctestplan">
5151
</TestPlanReference>
5252
</TestPlans>
53+
<Testables>
54+
<TestableReference
55+
skipped = "NO">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "GitHelperTests"
59+
BuildableName = "GitHelperTests"
60+
BlueprintName = "GitHelperTests"
61+
ReferencedContainer = "container:Tool">
62+
</BuildableReference>
63+
</TestableReference>
64+
</Testables>
5365
</TestAction>
5466
<LaunchAction
5567
buildConfiguration = "Debug"

Copilot for Xcode.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 46 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Copilot for Xcode/App.swift

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
2020
enum LaunchMode {
2121
case chat
2222
case settings
23-
case mcp
23+
case tools
24+
case byok
2425
}
2526

2627
func applicationDidFinishLaunching(_ notification: Notification) {
@@ -48,8 +49,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
4849
let launchArgs = CommandLine.arguments
4950
if launchArgs.contains("--settings") {
5051
return .settings
51-
} else if launchArgs.contains("--mcp") {
52-
return .mcp
52+
} else if launchArgs.contains("--tools") {
53+
return .tools
54+
} else if launchArgs.contains("--byok") {
55+
return .byok
5356
} else {
5457
return .chat
5558
}
@@ -59,8 +62,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
5962
switch mode {
6063
case .settings:
6164
openSettings()
62-
case .mcp:
63-
openMCPSettings()
65+
case .tools:
66+
openToolsSettings()
67+
case .byok:
68+
openBYOKSettings()
6469
case .chat:
6570
openChat()
6671
}
@@ -81,10 +86,17 @@ class AppDelegate: NSObject, NSApplicationDelegate {
8186
}
8287
}
8388

84-
private func openMCPSettings() {
89+
private func openToolsSettings() {
8590
DispatchQueue.main.async {
8691
activateAndOpenSettings()
87-
hostAppStore.send(.setActiveTab(2))
92+
hostAppStore.send(.setActiveTab(.tools))
93+
}
94+
}
95+
96+
private func openBYOKSettings() {
97+
DispatchQueue.main.async {
98+
activateAndOpenSettings()
99+
hostAppStore.send(.setActiveTab(.byok))
88100
}
89101
}
90102

@@ -181,13 +193,24 @@ struct CopilotForXcodeApp: App {
181193
}
182194

183195
DistributedNotificationCenter.default().addObserver(
184-
forName: .openMCPSettingsWindowRequest,
196+
forName: .openToolsSettingsWindowRequest,
197+
object: nil,
198+
queue: .main
199+
) { _ in
200+
DispatchQueue.main.async {
201+
activateAndOpenSettings()
202+
hostAppStore.send(.setActiveTab(.tools))
203+
}
204+
}
205+
206+
DistributedNotificationCenter.default().addObserver(
207+
forName: .openBYOKSettingsWindowRequest,
185208
object: nil,
186209
queue: .main
187210
) { _ in
188211
DispatchQueue.main.async {
189212
activateAndOpenSettings()
190-
hostAppStore.send(.setActiveTab(2))
213+
hostAppStore.send(.setActiveTab(.byok))
191214
}
192215
}
193216
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "ai-model-16.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
},
12+
"properties" : {
13+
"preserves-vector-representation" : true,
14+
"template-rendering-intent" : "template"
15+
}
16+
}
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0xF7",
9+
"green" : "0xF7",
10+
"red" : "0xF7"
11+
}
12+
},
13+
"idiom" : "universal"
14+
},
15+
{
16+
"appearances" : [
17+
{
18+
"appearance" : "luminosity",
19+
"value" : "dark"
20+
}
21+
],
22+
"color" : {
23+
"color-space" : "srgb",
24+
"components" : {
25+
"alpha" : "1.000",
26+
"blue" : "0x09",
27+
"green" : "0x09",
28+
"red" : "0x09"
29+
}
30+
},
31+
"idiom" : "universal"
32+
}
33+
],
34+
"info" : {
35+
"author" : "xcode",
36+
"version" : 1
37+
}
38+
}

0 commit comments

Comments
 (0)