Skip to content

Commit 354d4fc

Browse files
Merge branch 'github:main' into main
2 parents b255c0d + 48da723 commit 354d4fc

219 files changed

Lines changed: 15007 additions & 3465 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Questions
4-
url: https://github.com/orgs/community/discussions/categories/copilot
4+
url: https://github.com/github/CopilotForXcode/discussions
55
about: Please ask and answer questions about GitHub Copilot here

.github/workflows/auto-close-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
gh pr close ${{ github.event.pull_request.number }} --comment \
1515
"At the moment we are not accepting contributions to the repository.
1616
17-
Feedback for GitHub Copilot for Xcode can be given in the [Copilot community discussions](https://github.com/orgs/community/discussions/categories/copilot)."
17+
Feedback for GitHub Copilot for Xcode can be given in the [Copilot community discussions](https://github.com/github/CopilotForXcode/discussions)."
18+
if: ${{ !(startsWith(github.head_ref, 'release/') && github.event.pull_request.head.repo.full_name == github.repository) }}
1819
env:
1920
GH_REPO: ${{ github.repository }}
2021
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Auto-create Release PR
2+
3+
on:
4+
push:
5+
branches:
6+
- 'release/**'
7+
8+
jobs:
9+
create-pr:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Create pull request
18+
env:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
run: |
21+
existing_pr_count="$(gh pr list \
22+
--state open \
23+
--base main \
24+
--head "${{ github.ref_name }}" \
25+
--json number \
26+
--jq 'length')"
27+
if [ "${existing_pr_count}" -gt 0 ]; then
28+
echo "Open pull request already exists for branch '${{ github.ref_name }}' into 'main'; skipping creation."
29+
else
30+
gh pr create \
31+
--title "$(git log -1 --pretty=%s)" \
32+
--body "Automated release PR." \
33+
--base main \
34+
--head "${{ github.ref_name }}"
35+
fi
36+
37+
- name: Approve pull request
38+
env:
39+
# PAT stored in github/CopilotForXcode, with write permissions to pull requests
40+
GH_TOKEN: ${{ secrets.XCODE_AUTO_APPROVE }}
41+
run: |
42+
gh pr review --approve "${{ github.ref_name }}"
43+
44+
- name: Auto-merge pull request
45+
env:
46+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
run: |
48+
gh pr merge "${{ github.ref_name }}" \
49+
--auto \
50+
--delete-branch

.github/workflows/codeql.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
include:
30+
- language: actions
31+
build-mode: none
32+
- language: javascript-typescript
33+
build-mode: none
3034
- language: python
3135
build-mode: none
3236
- language: swift
@@ -37,7 +41,7 @@ jobs:
3741

3842
# Initializes the CodeQL tools for scanning.
3943
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v3
44+
uses: github/codeql-action/init@v4
4145
with:
4246
languages: ${{ matrix.language }}
4347
build-mode: ${{ matrix.build-mode }}
@@ -66,6 +70,6 @@ jobs:
6670
CODE_SIGNING_ALLOWED="NO"
6771
6872
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@v3
73+
uses: github/codeql-action/analyze@v4
7074
with:
7175
category: "/language:${{matrix.language}}"

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,70 @@ 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.48.0 - April 23, 2026
9+
### Added
10+
- Context window usage details in chat, including a token breakdown for system instructions, messages, attached files, and tool results.
11+
- Auto Compress setting to compact conversation history and save context tokens.
12+
- Install flow for Xcode's built-in MCP server from settings.
13+
14+
### Changed
15+
- Custom agents and the Auto model are now generally available.
16+
- Removed support for macOS 12.
17+
- Improved UI for model picker tooltips.
18+
19+
### Fixed
20+
- Fixed an issue where GPT-5.4 requests could return a 400 error.
21+
- Fixed an issue where the MCP allowlist did not work correctly.
22+
23+
## 0.47.0 - February 4, 2026
24+
### Added
25+
- Auto approval for MCP tools, sensitive files, and terminal commands.
26+
- MCP registry and allowlist are now available (requires editor preview feature flag).
27+
28+
### Changed
29+
- Improved UI for MCP tool call details.
30+
- Improved UI for working set header.
31+
32+
### Fixed
33+
- Fixed toolcall layout issue.
34+
- Fixed NES display issue.
35+
- Fixed error message for SSL certificate errors.
36+
- Fixed several performance issues.
37+
38+
## 0.46.0 - December 11, 2025
39+
### Added
40+
- MCP: Support delete MCP server from list.
41+
42+
### Changed
43+
- Refine built-in tools layout and displaying error and output details.
44+
- Better support toolCallingLoop continue operation for subagent turn.
45+
- Update feedback forum link.
46+
- Update client-side MCP restore and persist.
47+
- Adopt NES notification.
48+
49+
### Fixed
50+
- Disable auto focus for fix error window.
51+
- Fixed an issue where no file change was made when insert_edit_into_file tool succeeds.
52+
- Fixed an issue where insert edit was applied to the incorrect file.
53+
- Fixed model picker to use model id instead of model family.
54+
- Fixed read_file, read_directory tool randomly failing.
55+
56+
## 0.45.0 - November 14, 2025
57+
### Added
58+
- New models: GPT-5.1, GPT-5.1-Codex, GPT-5.1-Codex-Mini, Claude Haiku 4.5, and Auto (preview).
59+
- Added support for custom agents (preview).
60+
- Introduced the built-in Plan agent (preview).
61+
- Added support for subagent execution (preview).
62+
- Added support for Next Edit Suggestions (preview).
63+
64+
### Changed
65+
- MCP servers now support dynamic OAuth setup for third-party authentication providers.
66+
- Added a setting to configure the maximum number of tool requests allowed.
67+
68+
### Fixed
69+
- Fixed an issue that the terminal view in Agent conversation was clipped
70+
- Fixed an issue that the Chat panel failed to recognize newly created workspaces.
71+
872
## 0.44.0 - October 15, 2025
973
### Added
1074
- Added support for new models in Chat: Grok Code Fast 1, Claude Sonnet 4.5, Claude Opus 4, Claude Opus 4.1 and GPT-5 mini.

Config.debug.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ EXTENSION_BUNDLE_NAME = GitHub Copilot Dev
1010
EXTENSION_BUNDLE_DISPLAY_NAME = GitHub Copilot Dev
1111
EXTENSION_SERVICE_NAME = GitHub Copilot for Xcode Extension
1212
COPILOT_DOCS_URL = https:$(SLASH)$(SLASH)docs.github.com/en/copilot
13-
COPILOT_FORUM_URL = https:$(SLASH)$(SLASH)github.com/orgs/community/discussions/categories/copilot
13+
COPILOT_FORUM_URL = https:$(SLASH)$(SLASH)github.com/github/CopilotForXcode/discussions
1414

1515
// see also target Configs
1616

Config.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ EXTENSION_BUNDLE_NAME = GitHub Copilot
1010
EXTENSION_BUNDLE_DISPLAY_NAME = GitHub Copilot
1111
EXTENSION_SERVICE_NAME = GitHub Copilot for Xcode Extension
1212
COPILOT_DOCS_URL = https:$(SLASH)$(SLASH)docs.github.com/en/copilot
13-
COPILOT_FORUM_URL = https:$(SLASH)$(SLASH)github.com/orgs/community/discussions/categories/copilot
13+
COPILOT_FORUM_URL = https:$(SLASH)$(SLASH)github.com/github/CopilotForXcode/discussions
1414

1515
// see also target Configs

Copilot for Xcode.xcodeproj/project.pbxproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@
845845
"@executable_path/../Frameworks",
846846
"@executable_path/../../../../Frameworks",
847847
);
848-
MACOSX_DEPLOYMENT_TARGET = 12.0;
848+
MACOSX_DEPLOYMENT_TARGET = 13.0;
849849
MARKETING_VERSION = "$(APP_VERSION)";
850850
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).EditorExtension";
851851
PRODUCT_NAME = Copilot;
@@ -874,7 +874,7 @@
874874
"@executable_path/../Frameworks",
875875
"@executable_path/../../../../Frameworks",
876876
);
877-
MACOSX_DEPLOYMENT_TARGET = 12.0;
877+
MACOSX_DEPLOYMENT_TARGET = 13.0;
878878
MARKETING_VERSION = "$(APP_VERSION)";
879879
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).EditorExtension";
880880
PRODUCT_NAME = Copilot;
@@ -936,7 +936,7 @@
936936
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
937937
GCC_WARN_UNUSED_FUNCTION = YES;
938938
GCC_WARN_UNUSED_VARIABLE = YES;
939-
MACOSX_DEPLOYMENT_TARGET = 12.0;
939+
MACOSX_DEPLOYMENT_TARGET = 13.0;
940940
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
941941
MTL_FAST_MATH = YES;
942942
ONLY_ACTIVE_ARCH = YES;
@@ -991,7 +991,7 @@
991991
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
992992
GCC_WARN_UNUSED_FUNCTION = YES;
993993
GCC_WARN_UNUSED_VARIABLE = YES;
994-
MACOSX_DEPLOYMENT_TARGET = 12.0;
994+
MACOSX_DEPLOYMENT_TARGET = 13.0;
995995
MTL_ENABLE_DEBUG_INFO = NO;
996996
MTL_FAST_MATH = YES;
997997
SDKROOT = macosx;
@@ -1022,7 +1022,7 @@
10221022
"$(inherited)",
10231023
"@executable_path/../Frameworks",
10241024
);
1025-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1025+
MACOSX_DEPLOYMENT_TARGET = 13.0;
10261026
MARKETING_VERSION = "$(APP_VERSION)";
10271027
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE)";
10281028
PRODUCT_MODULE_NAME = Copilot_for_Xcode;
@@ -1056,7 +1056,7 @@
10561056
"$(inherited)",
10571057
"@executable_path/../Frameworks",
10581058
);
1059-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1059+
MACOSX_DEPLOYMENT_TARGET = 13.0;
10601060
MARKETING_VERSION = "$(APP_VERSION)";
10611061
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE)";
10621062
PRODUCT_NAME = "$(HOST_APP_NAME)";
@@ -1072,7 +1072,7 @@
10721072
CODE_SIGN_STYLE = Automatic;
10731073
DEVELOPMENT_TEAM = VEKTX9H2N7;
10741074
ENABLE_HARDENED_RUNTIME = YES;
1075-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1075+
MACOSX_DEPLOYMENT_TARGET = 13.0;
10761076
PRODUCT_NAME = "$(TARGET_NAME)";
10771077
SKIP_INSTALL = YES;
10781078
SWIFT_VERSION = 5.0;
@@ -1087,7 +1087,7 @@
10871087
DEVELOPMENT_TEAM = "";
10881088
"DEVELOPMENT_TEAM[sdk=macosx*]" = VEKTX9H2N7;
10891089
ENABLE_HARDENED_RUNTIME = YES;
1090-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1090+
MACOSX_DEPLOYMENT_TARGET = 13.0;
10911091
PRODUCT_NAME = "$(TARGET_NAME)";
10921092
PROVISIONING_PROFILE_SPECIFIER = "";
10931093
SKIP_INSTALL = YES;
@@ -1117,7 +1117,7 @@
11171117
"$(inherited)",
11181118
"@executable_path/../Frameworks",
11191119
);
1120-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1120+
MACOSX_DEPLOYMENT_TARGET = 13.0;
11211121
MARKETING_VERSION = "$(APP_VERSION)";
11221122
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).ExtensionService";
11231123
PRODUCT_NAME = "$(EXTENSION_SERVICE_NAME)";
@@ -1151,7 +1151,7 @@
11511151
"$(inherited)",
11521152
"@executable_path/../Frameworks",
11531153
);
1154-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1154+
MACOSX_DEPLOYMENT_TARGET = 13.0;
11551155
MARKETING_VERSION = "$(APP_VERSION)";
11561156
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).ExtensionService";
11571157
PRODUCT_NAME = "$(EXTENSION_SERVICE_NAME)";
@@ -1172,7 +1172,7 @@
11721172
ENABLE_USER_SCRIPT_SANDBOXING = YES;
11731173
GCC_C_LANGUAGE_STANDARD = gnu17;
11741174
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
1175-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1175+
MACOSX_DEPLOYMENT_TARGET = 13.0;
11761176
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).CommunicationBridge";
11771177
PRODUCT_NAME = "$(TARGET_NAME)";
11781178
SKIP_INSTALL = YES;
@@ -1193,7 +1193,7 @@
11931193
ENABLE_USER_SCRIPT_SANDBOXING = YES;
11941194
GCC_C_LANGUAGE_STANDARD = gnu17;
11951195
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
1196-
MACOSX_DEPLOYMENT_TARGET = 12.0;
1196+
MACOSX_DEPLOYMENT_TARGET = 13.0;
11971197
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).CommunicationBridge";
11981198
PRODUCT_NAME = "$(TARGET_NAME)";
11991199
PROVISIONING_PROFILE_SPECIFIER = "";

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

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

0 commit comments

Comments
 (0)