Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
891b161
Merge tag '0.20.0' into develop
intitni Jul 11, 2023
37ec23e
Add BrowserChatTab
intitni Jul 11, 2023
f8f7e96
Move chat context menu to tab bar
intitni Jul 11, 2023
6f0c727
Support creating different types of chats
intitni Jul 11, 2023
75eb5a1
Update create button to only use Menu
intitni Jul 11, 2023
a31cc26
Adjust tab name
intitni Jul 11, 2023
bcb4a82
Support bookmarking
intitni Jul 11, 2023
f5ae418
Adjust button order
intitni Jul 11, 2023
6a45443
Move BrowserChatTab to it's own target
intitni Jul 12, 2023
fe4df09
Fix
intitni Jul 12, 2023
9305f77
Merge branch 'feature/browser-tab' into develop
intitni Jul 12, 2023
e011246
Merge tag 'remove-python-package' into develop
intitni Jul 12, 2023
2d92790
Update OpenAIChat to support memory and functionProvider
intitni Jul 12, 2023
da55011
WIP
intitni Jul 12, 2023
6974682
Update ChatModel to return ChatMessage
intitni Jul 12, 2023
174abe5
Fix that non-stream api was not correctly handling function call results
intitni Jul 12, 2023
5f602f6
Update RetrievalQA to support early return when the answer is good en…
intitni Jul 12, 2023
eb6821f
Tweak auto stop in QA chain
intitni Jul 12, 2023
d72a7fe
Merge branch 'feature/retrieval-qa-improvement' into develop
intitni Jul 12, 2023
f175896
Remove print
intitni Jul 12, 2023
0575d41
Fix chat tab clickable area
intitni Jul 12, 2023
17e9b5a
Merge tag 'accepting-suggestion-keep-typing-has-suffix' into develop
intitni Jul 18, 2023
3935801
Merge tag 'fix-accept-suggestion' into develop
intitni Jul 18, 2023
3359d1d
Merge tag 'fix-accept-suggestion' into develop
intitni Jul 20, 2023
5c9ed4c
Merge tag '0.20.1' into develop
intitni Jul 21, 2023
d29a08b
Support switching chat tab with command+shift+[]
intitni Jul 23, 2023
81d0a58
Add refresh and activate address bar shortcuts
intitni Jul 24, 2023
f118cf7
Hide chat tab bar scroll indicator
intitni Jul 24, 2023
77d1b67
Merge branch 'feature/chat-panel-keyboard-shortcuts' into develop
intitni Jul 24, 2023
e389506
Update tab bar to scroll to the active tab
intitni Jul 24, 2023
edd9f91
Support scope shorthand
intitni Jul 24, 2023
beb0889
Add minimize and attach button to title bar of chat panel
intitni Jul 24, 2023
e55c74d
Remove CopilotPromptToCodeAPI
intitni Jul 24, 2023
1c5a9a8
Update
intitni Jul 24, 2023
f03279f
Support rewrite with custom command
intitni Jul 24, 2023
a35400a
Displaying toast when processing custom commands
intitni Jul 24, 2023
c9acb43
Support inserting file content
intitni Jul 24, 2023
a863315
Merge branch 'feature/browser-tab-inserting-and-processing' into develop
intitni Jul 24, 2023
f8c565a
Adjust buttons
intitni Jul 24, 2023
555a2e6
Adjust host app to use store
intitni Jul 29, 2023
f5f7343
Add license management view
intitni Jul 31, 2023
c92a944
Merge branch 'feature/license-management' into develop
intitni Jul 31, 2023
0a59dcd
Update Azure OpenAI api version
intitni Jul 31, 2023
d071241
Fix that embedding with Azure OpenAI was using the wrong deployment
intitni Jul 31, 2023
8462de5
Merge branch 'feature/azure-openai-2023-07-01' into develop
intitni Jul 31, 2023
d55eebe
Bump Codeium version to 1.2.57
intitni Jul 31, 2023
8fbfa3a
Merge branch 'feature/codeium-1.2.57' into develop
intitni Jul 31, 2023
db73cc1
Move files to package Tool
intitni Aug 1, 2023
4f1911c
Update
intitni Aug 1, 2023
b8352a2
Merge branch 'feature/adjust-browser-tab-processed-content-presentati…
intitni Aug 1, 2023
eb3063d
Merge tag 'disallow-reading-large-files' into develop
intitni Aug 1, 2023
67a86cd
Disable tabWindow
intitni Aug 1, 2023
0b3284d
Support hiding circular widget
intitni Aug 1, 2023
19e7bd0
Update
intitni Aug 1, 2023
5e94204
Merge branch 'feature/allow-hiding-circular-widget' into develop
intitni Aug 1, 2023
fd1e1cf
Update
intitni Aug 1, 2023
bf811c9
Support post notification to extension service
intitni Aug 1, 2023
edd1af2
Support plus feature flag
intitni Aug 1, 2023
9e3a013
Update
intitni Aug 1, 2023
9fd6cb4
Merge branch 'feature/pro-feature-flag' into develop
intitni Aug 1, 2023
821e287
Make id optional, remove created. LocalAI tested.
intitni Aug 1, 2023
0054702
Merge branch 'feature/optional-message-id' into develop
intitni Aug 1, 2023
5a99057
Remove use shared conversation toggle
intitni Aug 2, 2023
bfaca24
Update
intitni Aug 2, 2023
45007c8
Make mock PlusFeatureFlags easier to maintain
intitni Aug 2, 2023
efc03c1
Use SMAppService to setup launch agent in macOS 13
intitni Aug 2, 2023
41b1786
Update DEVELOPMENT.md
intitni Aug 2, 2023
803789d
Merge branch 'feature/smappservice' into develop
intitni Aug 2, 2023
384d44c
Fix creating default tab
intitni Aug 2, 2023
4fba6f3
Use RelevantInformationExtractionChain to replace RefineDocumentChain
intitni Aug 2, 2023
3881faf
Rename to QAInformationRetrievalChain
intitni Aug 2, 2023
1587c50
Merge branch 'feature/retrieval-qa-to-get-information-only' into develop
intitni Aug 2, 2023
a060715
Update
intitni Aug 3, 2023
7c400bb
Move Keychain to its own package, remove KeychainAccess
intitni Aug 3, 2023
2233553
Update tests
intitni Aug 3, 2023
adeeba3
Update PlusView to disable buttons when needed
intitni Aug 4, 2023
ba5a9c2
Add tree sitter as AST parser
intitni Jul 12, 2023
cb1a085
Move ActiveDocumentChatContextCollector to its own target
intitni Jul 13, 2023
b03be81
Rename to LegacyActiveDocumentChatContextCollector
intitni Jul 13, 2023
9d0a6d5
Update AST parser
intitni Jul 18, 2023
afd7975
WIP
intitni Jul 20, 2023
430d693
WIP
intitni Jul 21, 2023
df3e5de
Add new ActiveDocumentChatContextCollector
intitni Jul 23, 2023
a0885cc
Adjust ActiveDocumentChatContextCollector
intitni Aug 6, 2023
07630c4
Fix that system prompt is not updated on function call
intitni Aug 7, 2023
9052362
Print token usage in DEBUG mode
intitni Aug 7, 2023
24824fd
Adjust functions
intitni Aug 7, 2023
3acdc23
Remove prints
intitni Aug 7, 2023
54a9aff
Update README.md
intitni Aug 7, 2023
726f9e6
Update chat tab instruction
intitni Aug 7, 2023
8164984
Update tests
intitni Aug 8, 2023
7a34ee1
Update names of settings keys
intitni Aug 8, 2023
16eac03
Support setting max focused code line count
intitni Aug 8, 2023
0f39281
Update tests
intitni Aug 8, 2023
b82b5ed
Merge branch 'feature/file-scope-ast' into develop
intitni Aug 8, 2023
0d6e9a8
Remove summary of message of terminal chat plugin
intitni Aug 8, 2023
fce6f21
Update
intitni Aug 8, 2023
8fba67c
Update
intitni Aug 8, 2023
678601e
Remove default scopes in custom chats, and reset them on prompt reset
intitni Aug 8, 2023
baf2542
Update chat panel titlebar style
intitni Aug 8, 2023
6a049e8
Update
intitni Aug 8, 2023
25772e3
Update
intitni Aug 8, 2023
e51fa8a
Bump version to 0.21.0
intitni Aug 8, 2023
46d4550
Update README.md and LICENSE
intitni Aug 8, 2023
f69b8da
Fix crash when inserting text
intitni Aug 8, 2023
476e46b
Add todos
intitni Aug 9, 2023
60d22b4
Update auto completion
intitni Aug 9, 2023
554319f
Update
intitni Aug 9, 2023
77ed5a8
Fix adding more than 10 custom commands
intitni Aug 9, 2023
ae4e40c
Update appcast.xml
intitni Aug 9, 2023
249c4f0
Merge branch 'release/0.21.0'
intitni Aug 9, 2023
447536d
Update close_inactive_issues.yml
intitni Aug 9, 2023
f807900
Update bug_report.yaml
intitni Aug 9, 2023
52ef2be
Update help_wanted.yml
intitni Aug 9, 2023
6434575
Update README.md
intitni Aug 9, 2023
129c449
Update README.md
intitni Aug 9, 2023
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
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ body:
id: before-reporting
attributes:
label: Before Reporting
description: Before reporting the bug, we suggestion that you first refer to the [FAQ](https://github.com/intitni/CopilotForXcode/issues/65) to check if it may address your issue. And search for existing issues to avoid duplication.
description: Before reporting the bug, we suggestion that you first refer to the [FAQ](https://github.com/intitni/CopilotForXcode/wiki/Frequently-Asked-Questions) to check if it may address your issue. And search for existing issues to avoid duplication.
options:
- label: I have checked FAQ, and there is no solution to my issue
required: true
Expand Down Expand Up @@ -57,4 +57,4 @@ body:
id: node-version
attributes:
label: Node version


2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/help_wanted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
id: before-reporting
attributes:
label: Before Reporting
description: Before asking for help, we suggestion that you first refer to the [FAQ](https://github.com/intitni/CopilotForXcode/issues/65) to check if it may address your issue. And search for existing issues to avoid duplication.
description: Before asking for help, we suggestion that you first refer to the [FAQ](https://github.com/intitni/CopilotForXcode/wiki/Frequently-Asked-Questions) to check if it may address your issue. And search for existing issues to avoid duplication.
options:
- label: I have checked FAQ, and there is no solution to my issue
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close_inactive_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
days-before-issue-stale: 30
days-before-issue-close: 14
stale-issue-label: "stale"
exempt-issue-labels: "low priority, help wanted"
exempt-issue-labels: "low priority, help wanted, planned"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: -1
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Pro"]
path = Pro
url = git@github.com:intitni/CopilotForXcodePro.git
17 changes: 17 additions & 0 deletions Copilot for Xcode.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
C89E75C32A46FB32000DD64F /* AppDelegate+Menu.swift in Sources */ = {isa = PBXBuildFile; fileRef = C89E75C22A46FB32000DD64F /* AppDelegate+Menu.swift */; };
C8C8B60929AFA35F00034BEE /* CopilotForXcodeExtensionService.app in Embed XPCService */ = {isa = PBXBuildFile; fileRef = C861E60E2994F6070056CB02 /* CopilotForXcodeExtensionService.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
C8DCF00029CE11D500FDDDD7 /* ChatWithSelection.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8DCEFFF29CE11D500FDDDD7 /* ChatWithSelection.swift */; };
C8F1032B2A7A39D700D28F4F /* launchAgent.plist in Copy Launch Agent */ = {isa = PBXBuildFile; fileRef = C8F103292A7A365000D28F4F /* launchAgent.plist */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -121,6 +122,17 @@
name = "Embed Service";
runOnlyForDeploymentPostprocessing = 0;
};
C8F1032A2A7A38D200D28F4F /* Copy Launch Agent */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 12;
dstPath = Contents/Library/LaunchAgents;
dstSubfolderSpec = 1;
files = (
C8F1032B2A7A39D700D28F4F /* launchAgent.plist in Copy Launch Agent */,
);
name = "Copy Launch Agent";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -161,6 +173,7 @@
C861E61F2994F6390056CB02 /* ServiceDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServiceDelegate.swift; sourceTree = "<group>"; };
C8758E6F29F04BFF00D29C1C /* CustomCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomCommand.swift; sourceTree = "<group>"; };
C8758E7129F04CF100D29C1C /* SeparatorCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SeparatorCommand.swift; sourceTree = "<group>"; };
C87903302A5D2E6400FE6F42 /* Pro */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Pro; sourceTree = "<group>"; };
C87B03A3293B24AB00C77EAE /* Copilot-for-Xcode-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "Copilot-for-Xcode-Info.plist"; sourceTree = SOURCE_ROOT; };
C87B03A4293B261200C77EAE /* AcceptSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AcceptSuggestionCommand.swift; sourceTree = "<group>"; };
C87B03A6293B261900C77EAE /* RejectSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RejectSuggestionCommand.swift; sourceTree = "<group>"; };
Expand All @@ -170,6 +183,7 @@
C89E75C22A46FB32000DD64F /* AppDelegate+Menu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AppDelegate+Menu.swift"; sourceTree = "<group>"; };
C8CD828229B88006008D044D /* TestPlan.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = TestPlan.xctestplan; sourceTree = "<group>"; };
C8DCEFFF29CE11D500FDDDD7 /* ChatWithSelection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatWithSelection.swift; sourceTree = "<group>"; };
C8F103292A7A365000D28F4F /* launchAgent.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = launchAgent.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -249,12 +263,14 @@
C8520308293D805800460097 /* README.md */,
C82E38492A1F025F00D4EADF /* LICENSE */,
C83E5DED2A38CD8C0071506D /* Makefile */,
C8F103292A7A365000D28F4F /* launchAgent.plist */,
C81E867D296FE4420026E908 /* Version.xcconfig */,
C81458AD293A009600135263 /* Config.xcconfig */,
C81458AE293A009800135263 /* Config.debug.xcconfig */,
C8CD828229B88006008D044D /* TestPlan.xctestplan */,
C81D181E2A1B509B006C1B70 /* Tool */,
C8189B282938979000C9DCDA /* Core */,
C87903302A5D2E6400FE6F42 /* Pro */,
C8189B182938972F00C9DCDA /* Copilot for Xcode */,
C81458922939EFDC00135263 /* EditorExtension */,
C8216B71298036EC00AD38C7 /* Helper */,
Expand Down Expand Up @@ -352,6 +368,7 @@
C814589F2939EFDC00135263 /* Embed Foundation Extensions */,
C8520306293CF0EF00460097 /* Embed XPCService */,
C8C8B60829AFA32800034BEE /* Embed Service */,
C8F1032A2A7A38D200D28F4F /* Copy Launch Agent */,
);
buildRules = (
);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Copilot for Xcode/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ import SwiftUI
import UpdateChecker
import XPCShared

struct VisualEffect: NSViewRepresentable {
func makeNSView(context: Self.Context) -> NSView { return NSVisualEffectView() }
func updateNSView(_ nsView: NSView, context: Context) { }
}

@main
struct CopilotForXcodeApp: App {
var body: some Scene {
WindowGroup {
TabContainer()
.frame(minWidth: 800, minHeight: 600)
.background(VisualEffect().ignoresSafeArea())
.onAppear {
UserDefaults.setupDefaultSettings()
}
Expand Down
Loading