Skip to content

Commit c933346

Browse files
committed
Release 0.30.0
1 parent 8379cfa commit c933346

File tree

153 files changed

+6422
-1291
lines changed

Some content is hidden

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

153 files changed

+6422
-1291
lines changed

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

+9
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,15 @@
261261
"version" : "509.0.2"
262262
}
263263
},
264+
{
265+
"identity" : "swiftui-flow-layout",
266+
"kind" : "remoteSourceControl",
267+
"location" : "https://github.com/globulus/swiftui-flow-layout",
268+
"state" : {
269+
"revision" : "de7da3440c3b87ba94adfa98c698828d7746a76d",
270+
"version" : "1.0.5"
271+
}
272+
},
264273
{
265274
"identity" : "swiftui-navigation",
266275
"kind" : "remoteSourceControl",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "CopilotIssue.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0x9D",
9+
"green" : "0x9D",
10+
"red" : "0x9D"
11+
}
12+
},
13+
"idiom" : "universal"
14+
}
15+
],
16+
"info" : {
17+
"author" : "xcode",
18+
"version" : 1
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "file_type_swift.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
},
12+
"properties" : {
13+
"preserves-vector-representation" : true
14+
}
15+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0xFF",
9+
"green" : "0x94",
10+
"red" : "0x37"
11+
}
12+
},
13+
"idiom" : "universal"
14+
}
15+
],
16+
"info" : {
17+
"author" : "xcode",
18+
"version" : 1
19+
}
20+
}

Copilot for Xcode/Credits.rtf

+26
Original file line numberDiff line numberDiff line change
@@ -3216,4 +3216,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\
32163216
SOFTWARE.\
32173217
\
32183218
\
3219+
Dependency: github.com/globulus/swiftui-flow-layout\
3220+
Version: 1.0.5\
3221+
License Content:\
3222+
MIT License\
3223+
\
3224+
Copyright (c) 2021 Gordan Glavaš\
3225+
\
3226+
Permission is hereby granted, free of charge, to any person obtaining a copy\
3227+
of this software and associated documentation files (the "Software"), to deal\
3228+
in the Software without restriction, including without limitation the rights\
3229+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\
3230+
copies of the Software, and to permit persons to whom the Software is\
3231+
furnished to do so, subject to the following conditions:\
3232+
\
3233+
The above copyright notice and this permission notice shall be included in all\
3234+
copies or substantial portions of the Software.\
3235+
\
3236+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\
3237+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\
3238+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\
3239+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\
3240+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\
3241+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\
3242+
SOFTWARE.\
3243+
\
3244+
\
32193245
}

Copilot-for-Xcode-Info.plist

+31-29
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>APP_ID_PREFIX</key>
6-
<string>$(AppIdentifierPrefix)</string>
7-
<key>APPLICATION_SUPPORT_FOLDER</key>
8-
<string>$(APPLICATION_SUPPORT_FOLDER)</string>
9-
<key>BUNDLE_IDENTIFIER_BASE</key>
10-
<string>$(BUNDLE_IDENTIFIER_BASE)</string>
11-
<key>EXTENSION_BUNDLE_NAME</key>
12-
<string>$(EXTENSION_BUNDLE_NAME)</string>
13-
<key>HOST_APP_NAME</key>
14-
<string>$(HOST_APP_NAME)</string>
15-
<key>LANGUAGE_SERVER_PATH</key>
16-
<string>$(LANGUAGE_SERVER_PATH)</string>
17-
<key>NODE_PATH</key>
18-
<string>$(NODE_PATH)</string>
19-
<key>SUEnableAutomaticChecks</key>
20-
<string>YES</string>
21-
<key>SUScheduledCheckInterval</key>
22-
<string>3600</string>
23-
<key>SUEnableJavaScript</key>
24-
<string>NO</string>
25-
<key>SUFeedURL</key>
26-
<string>$(SPARKLE_FEED_URL)</string>
27-
<key>SUPublicEDKey</key>
28-
<string>$(SPARKLE_PUBLIC_KEY)</string>
29-
<key>TEAM_ID_PREFIX</key>
30-
<string>$(TeamIdentifierPrefix)</string>
31-
</dict>
32-
</plist>
4+
<dict>
5+
<key>APP_ID_PREFIX</key>
6+
<string>$(AppIdentifierPrefix)</string>
7+
<key>APPLICATION_SUPPORT_FOLDER</key>
8+
<string>$(APPLICATION_SUPPORT_FOLDER)</string>
9+
<key>BUNDLE_IDENTIFIER_BASE</key>
10+
<string>$(BUNDLE_IDENTIFIER_BASE)</string>
11+
<key>EXTENSION_BUNDLE_NAME</key>
12+
<string>$(EXTENSION_BUNDLE_NAME)</string>
13+
<key>HOST_APP_NAME</key>
14+
<string>$(HOST_APP_NAME)</string>
15+
<key>LANGUAGE_SERVER_PATH</key>
16+
<string>$(LANGUAGE_SERVER_PATH)</string>
17+
<key>NODE_PATH</key>
18+
<string>$(NODE_PATH)</string>
19+
<key>SUEnableAutomaticChecks</key>
20+
<string>YES</string>
21+
<key>SUScheduledCheckInterval</key>
22+
<string>3600</string>
23+
<key>SUEnableJavaScript</key>
24+
<string>NO</string>
25+
<key>SUFeedURL</key>
26+
<string>$(SPARKLE_FEED_URL)</string>
27+
<key>SUPublicEDKey</key>
28+
<string>$(SPARKLE_PUBLIC_KEY)</string>
29+
<key>TEAM_ID_PREFIX</key>
30+
<string>$(TeamIdentifierPrefix)</string>
31+
<key>STANDARD_TELEMETRY_CHANNEL_KEY</key>
32+
<string>$(STANDARD_TELEMETRY_CHANNEL_KEY)</string>
33+
</dict>
34+
</plist>

Core/Package.swift

+20-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ let package = Package(
3333
"Client",
3434
"LaunchAgentManager",
3535
"UpdateChecker",
36+
"GitHubCopilotViewModel",
3637
]
3738
),
3839
],
@@ -52,6 +53,8 @@ let package = Package(
5253
.package(url: "https://github.com/devm33/KeyboardShortcuts", branch: "main"),
5354
.package(url: "https://github.com/devm33/CGEventOverride", branch: "devm33/fix-stale-AXIsProcessTrusted"),
5455
.package(url: "https://github.com/devm33/Highlightr", branch: "master"),
56+
.package(url: "https://github.com/globulus/swiftui-flow-layout",
57+
from: "1.0.5")
5558
],
5659
targets: [
5760
// MARK: - Main
@@ -76,6 +79,7 @@ let package = Package(
7679
"ConversationTab",
7780
"KeyBindingManager",
7881
"XcodeThemeController",
82+
.product(name: "TelemetryService", package: "Tool"),
7983
.product(name: "XPCShared", package: "Tool"),
8084
.product(name: "SuggestionProvider", package: "Tool"),
8185
.product(name: "ConversationServiceProvider", package: "Tool"),
@@ -84,10 +88,12 @@ let package = Package(
8488
.product(name: "AppMonitoring", package: "Tool"),
8589
.product(name: "SuggestionBasic", package: "Tool"),
8690
.product(name: "Status", package: "Tool"),
91+
.product(name: "StatusBarItemView", package: "Tool"),
8792
.product(name: "ChatTab", package: "Tool"),
8893
.product(name: "Logger", package: "Tool"),
8994
.product(name: "ChatAPIService", package: "Tool"),
9095
.product(name: "Preferences", package: "Tool"),
96+
.product(name: "AXHelper", package: "Tool"),
9197
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
9298
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
9399
.product(name: "Dependencies", package: "swift-dependencies"),
@@ -114,6 +120,7 @@ let package = Package(
114120
dependencies: [
115121
"Client",
116122
"LaunchAgentManager",
123+
"GitHubCopilotViewModel",
117124
.product(name: "SuggestionProvider", package: "Tool"),
118125
.product(name: "Toast", package: "Tool"),
119126
.product(name: "SharedUIComponents", package: "Tool"),
@@ -167,6 +174,7 @@ let package = Package(
167174
.product(name: "Parsing", package: "swift-parsing"),
168175
.product(name: "ChatAPIService", package: "Tool"),
169176
.product(name: "Preferences", package: "Tool"),
177+
.product(name: "AXHelper", package: "Tool"),
170178
.product(name: "ConversationServiceProvider", package: "Tool"),
171179
.product(name: "GitHubCopilotService", package: "Tool"),
172180
]),
@@ -180,8 +188,10 @@ let package = Package(
180188
.product(name: "Logger", package: "Tool"),
181189
.product(name: "ChatTab", package: "Tool"),
182190
.product(name: "Terminal", package: "Tool"),
191+
.product(name: "Cache", package: "Tool"),
183192
.product(name: "MarkdownUI", package: "swift-markdown-ui"),
184193
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
194+
.product(name: "SwiftUIFlowLayout", package: "swiftui-flow-layout")
185195
]
186196
),
187197

@@ -192,6 +202,7 @@ let package = Package(
192202
dependencies: [
193203
"PromptToCodeService",
194204
"ConversationTab",
205+
"GitHubCopilotViewModel",
195206
.product(name: "GitHubCopilotService", package: "Tool"),
196207
.product(name: "Toast", package: "Tool"),
197208
.product(name: "UserDefaultsObserver", package: "Tool"),
@@ -209,7 +220,7 @@ let package = Package(
209220

210221
// MARK: - Helpers
211222

212-
.target(name: "FileChangeChecker"),
223+
.target(name: "FileChangeChecker"),
213224
.target(
214225
name: "LaunchAgentManager",
215226
dependencies: [
@@ -224,6 +235,14 @@ let package = Package(
224235
.product(name: "Logger", package: "Tool"),
225236
]
226237
),
238+
.target(
239+
name: "GitHubCopilotViewModel",
240+
dependencies: [
241+
.product(name: "GitHubCopilotService", package: "Tool"),
242+
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
243+
.product(name: "Status", package: "Tool"),
244+
]
245+
),
227246

228247
// MARK: Key Binding
229248

0 commit comments

Comments
 (0)