Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d1121aa
Merge tag '0.17.1' into develop
intitni May 31, 2023
61e76d2
Display instructions in the chat panel
intitni Jun 1, 2023
be9c57b
Merge branch 'feature/add-manual-in-using-chat' into develop
intitni Jun 1, 2023
cd3ff1d
Make chat instruction always visible
intitni Jun 4, 2023
1f452d4
Remove LazyVStack
intitni Jun 4, 2023
4f338f8
Merge branch 'feature/disable-lazy-vstack' into develop
intitni Jun 4, 2023
536fbb5
Add new package Tool
intitni May 22, 2023
1cd60d1
Add target LangChainService
intitni May 22, 2023
57856af
Move Terminal to Tool
intitni May 22, 2023
19f53cb
Successfully embedded Python langchain
intitni Jun 1, 2023
02ef3bb
Rename package ChatPlugins to ChatPlugin
intitni Jun 3, 2023
0ccd6aa
Fix build phase to always sign Python on build
intitni Jun 3, 2023
651bf1b
Move Preferences and Configs to Tool
intitni Jun 3, 2023
513468d
Add LangChainChatModel and ReadablePythonError
intitni Jun 3, 2023
ede7135
Add MathChatPlugin
intitni Jun 3, 2023
e83e885
Update
intitni Jun 4, 2023
72eb8ea
Adjust folder structure
intitni Jun 4, 2023
878cda6
Add script to install python
intitni Jun 4, 2023
204b4f3
Fix importing large packages like langchain
intitni Jun 4, 2023
1c52b21
Make runPython sync
intitni Jun 5, 2023
3a2fe5d
Remove pythonQueue
intitni Jun 5, 2023
8cd5690
Update DEVELOPMENT.md
intitni Jun 5, 2023
0ffa5df
Update README.md
intitni Jun 5, 2023
386bddf
Simplify python initialization
intitni Jun 5, 2023
d864a22
Merge branch 'feature/langchain-service' into develop
intitni Jun 5, 2023
c1b98de
Adjust chat instruction
intitni Jun 5, 2023
02ba264
Disable library validation until I now how to correctly sign everything
intitni Jun 5, 2023
08306e4
Add default system prompt settings
intitni Jun 5, 2023
92ec079
Merge branch 'feature/customize-default-system-prompt' into develop
intitni Jun 5, 2023
b94ab81
Support using {{selected_code}} in custom chat command
intitni Jun 5, 2023
1b837d7
Add default custom command Send Selected Code to Chat
intitni Jun 5, 2023
b32c782
Merge branch 'feature/custom-command-templatable' into develop
intitni Jun 5, 2023
32c388a
Update
intitni Jun 5, 2023
6eef413
Remove the current implementation of the new plugins
intitni Jun 6, 2023
3f979b6
Re-implement math chat plugin in Swift
intitni Jun 6, 2023
df8a478
Merge branch 'feature/re-implement-math-plugin-in-swift' into develop
intitni Jun 6, 2023
13f4cbd
LangChain in Swift and a working version of the search plugin
intitni Jun 7, 2023
0945ba9
Add settings for bing search
intitni Jun 7, 2023
ab0ccf7
Fix broken tests
intitni Jun 7, 2023
e367c4a
Remove GILState guards
intitni Jun 7, 2023
ce315f4
Remove prints
intitni Jun 7, 2023
cb0b0d8
Update README.md
intitni Jun 7, 2023
3adf852
Rename mapped to map
intitni Jun 7, 2023
2e0b92b
Merge branch 'feature/search-plugin-in-swift' into develop
intitni Jun 7, 2023
96a6a0a
Update CustomCommandTemplateProcessor to support more parameters
intitni Jun 7, 2023
28fe801
Add auto complete for chat plugins and scopes
intitni Jun 7, 2023
eac0330
Add instructions on plugins
intitni Jun 7, 2023
99f6a63
Search plugins with lowercased ids
intitni Jun 7, 2023
e22ec05
Merge branch 'feature/chat-instruction-on-scopes-and-plugins' into de…
intitni Jun 7, 2023
f4397db
Add cancellation support to agent executor
intitni Jun 7, 2023
503e5ed
Add /exit to auto completion
intitni Jun 7, 2023
77fa566
Update README.md
intitni Jun 7, 2023
f4c7e05
Support setting max search iteration
intitni Jun 7, 2023
e71d936
Bump version to 0.18.0
intitni Jun 7, 2023
33ecf12
Detach LangChain Python
intitni Jun 7, 2023
8fbf130
Remove the "Calculating..." thing from MathChatPlugin
intitni Jun 7, 2023
a47fa95
Adjust ChatAgent
intitni Jun 8, 2023
22e3fa4
Update appcast.xml
intitni Jun 8, 2023
a94e308
Merge branch 'release/0.18.0'
intitni Jun 8, 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
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,12 @@ iOSInjectionProject/

# End of
https://www.toptal.com/developers/gitignore/api/xcode,macos,swift,swiftpackagemanager

Secrets.xcconfig
Python/Python.xcframework
Python/python-stdlib
Python/site-packages/*
!Python/site-packages/requirements.txt
!Python/site-packages/install.sh

Python/VERSIONS
63 changes: 63 additions & 0 deletions Copilot for Xcode.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
C87B03AC293B2CF300C77EAE /* XcodeKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C81458902939EFDC00135263 /* XcodeKit.framework */; };
C87B03AD293B2CF300C77EAE /* XcodeKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C81458902939EFDC00135263 /* XcodeKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
C882175C294187EF00A22FD3 /* Client in Frameworks */ = {isa = PBXBuildFile; productRef = C882175B294187EF00A22FD3 /* Client */; };
C8A3AE592A2885A70046E809 /* InitializePython.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8A3AE582A2885A70046E809 /* InitializePython.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 */; };
/* End PBXBuildFile section */
Expand Down Expand Up @@ -143,6 +144,7 @@
C8189B202938973000C9DCDA /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
C8189B222938973000C9DCDA /* Copilot_for_Xcode.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Copilot_for_Xcode.entitlements; sourceTree = "<group>"; };
C8189B282938979000C9DCDA /* Core */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Core; sourceTree = "<group>"; };
C81D181E2A1B509B006C1B70 /* Tool */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Tool; sourceTree = "<group>"; };
C81E867D296FE4420026E908 /* Version.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Version.xcconfig; sourceTree = "<group>"; };
C8216B70298036EC00AD38C7 /* Helper */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Helper; sourceTree = BUILT_PRODUCTS_DIR; };
C8216B72298036EC00AD38C7 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
Expand All @@ -164,6 +166,10 @@
C87B03A8293B262600C77EAE /* NextSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NextSuggestionCommand.swift; sourceTree = "<group>"; };
C87B03AA293B262E00C77EAE /* PreviousSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreviousSuggestionCommand.swift; sourceTree = "<group>"; };
C887BC832965D96000931567 /* DEVELOPMENT.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = DEVELOPMENT.md; sourceTree = "<group>"; };
C8A3AE512A2883430046E809 /* Python.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = Python.xcframework; sourceTree = "<group>"; };
C8A3AE582A2885A70046E809 /* InitializePython.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InitializePython.swift; sourceTree = "<group>"; };
C8A3AE5A2A288AF90046E809 /* site-packages */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "site-packages"; sourceTree = "<group>"; };
C8A3B1762A288FA90046E809 /* python-stdlib */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "python-stdlib"; 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>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -248,11 +254,13 @@
C81458AD293A009600135263 /* Config.xcconfig */,
C81458AE293A009800135263 /* Config.debug.xcconfig */,
C8CD828229B88006008D044D /* TestPlan.xctestplan */,
C81D181E2A1B509B006C1B70 /* Tool */,
C8189B282938979000C9DCDA /* Core */,
C8189B182938972F00C9DCDA /* Copilot for Xcode */,
C81458922939EFDC00135263 /* EditorExtension */,
C8216B71298036EC00AD38C7 /* Helper */,
C861E60F2994F6070056CB02 /* ExtensionService */,
C81BBF5A2A2CA0B8000B4F61 /* Python */,
C814588D2939EFDC00135263 /* Frameworks */,
C8189B172938972F00C9DCDA /* Products */,
);
Expand Down Expand Up @@ -289,6 +297,16 @@
path = "Preview Content";
sourceTree = "<group>";
};
C81BBF5A2A2CA0B8000B4F61 /* Python */ = {
isa = PBXGroup;
children = (
C8A3AE512A2883430046E809 /* Python.xcframework */,
C8A3B1762A288FA90046E809 /* python-stdlib */,
C8A3AE5A2A288AF90046E809 /* site-packages */,
);
path = Python;
sourceTree = "<group>";
};
C8216B71298036EC00AD38C7 /* Helper */ = {
isa = PBXGroup;
children = (
Expand All @@ -304,6 +322,7 @@
C81291D92994FE7900196E12 /* Info.plist */,
C861E61F2994F6390056CB02 /* ServiceDelegate.swift */,
C861E6102994F6070056CB02 /* AppDelegate.swift */,
C8A3AE582A2885A70046E809 /* InitializePython.swift */,
C81291D52994FE6900196E12 /* Main.storyboard */,
C861E6142994F6080056CB02 /* Assets.xcassets */,
C861E6192994F6080056CB02 /* ExtensionService.entitlements */,
Expand Down Expand Up @@ -388,6 +407,8 @@
C861E60A2994F6070056CB02 /* Sources */,
C861E60B2994F6070056CB02 /* Frameworks */,
C861E60C2994F6070056CB02 /* Resources */,
C8A3AE572A28852D0046E809 /* Sign Python STD */,
C8A3B1782A2894E10046E809 /* Sign Python Site Packages */,
);
buildRules = (
);
Expand Down Expand Up @@ -477,6 +498,47 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
C8A3AE572A28852D0046E809 /* Sign Python STD */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Sign Python STD";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#set -e\n#echo \"Signing as $EXPANDED_CODE_SIGN_IDENTITY_NAME ($EXPANDED_CODE_SIGN_IDENTITY)\"\n#find \"$CODESIGNING_FOLDER_PATH/Contents/Resources/python-stdlib/lib-dynload\" -name \"*.so\" -exec /usr/bin/codesign --force --sign \"$EXPANDED_CODE_SIGN_IDENTITY\" -o runtime --timestamp=none --preserve-metadata=identifier,entitlements,flags --generate-entitlement-der {} \\;\n";
};
C8A3B1782A2894E10046E809 /* Sign Python Site Packages */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Sign Python Site Packages";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#set -e\n#echo \"Signing as $EXPANDED_CODE_SIGN_IDENTITY_NAME ($EXPANDED_CODE_SIGN_IDENTITY)\"\n#find \"$CODESIGNING_FOLDER_PATH/Contents/Resources/site-packages\" -type f \\( -name \"*.so\" -o -name \"*.dylib\" \\) -exec /usr/bin/codesign --force --sign \"$EXPANDED_CODE_SIGN_IDENTITY\" -o runtime --timestamp=none --preserve-metadata=identifier,entitlements,flags --generate-entitlement-der {} \\;\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
C81458882939EFDC00135263 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -520,6 +582,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8A3AE592A2885A70046E809 /* InitializePython.swift in Sources */,
C861E6202994F63A0056CB02 /* ServiceDelegate.swift in Sources */,
C861E6112994F6070056CB02 /* AppDelegate.swift in Sources */,
);
Expand Down

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

Loading