Showing preview only (4,620K chars total). Download the full file or copy to clipboard to get everything.
Repository: intitni/CopilotForXcode
Branch: main
Commit: a98f1f2b0435
Files: 530
Total size: 4.3 MB
Directory structure:
gitextract_zonbntg8/
├── .github/
│ ├── FUNDING.yml
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yaml
│ │ ├── feature_reqeust.yaml
│ │ ├── help_wanted.yml
│ │ └── z_bug_report_beta.yaml
│ └── workflows/
│ └── close_inactive_issues.yml
├── .gitignore
├── .gitmodules
├── .swiftformat
├── ChatPlugins/
│ ├── .gitignore
│ ├── .swiftpm/
│ │ └── xcode/
│ │ └── xcshareddata/
│ │ └── xcschemes/
│ │ └── ChatPlugins.xcscheme
│ ├── Package.swift
│ ├── Sources/
│ │ ├── ShortcutChatPlugin/
│ │ │ └── ShortcutChatPlugin.swift
│ │ └── TerminalChatPlugin/
│ │ └── TerminalChatPlugin.swift
│ └── Tests/
│ └── ChatPluginsTests/
│ └── ChatPluginsTests.swift
├── CommunicationBridge/
│ ├── ServiceDelegate.swift
│ └── main.swift
├── Config.debug.xcconfig
├── Config.xcconfig
├── Copilot for Xcode/
│ ├── App.swift
│ ├── Assets.xcassets/
│ │ ├── AccentColor.colorset/
│ │ │ └── Contents.json
│ │ ├── AppIcon.appiconset/
│ │ │ └── Contents.json
│ │ ├── BackgroundColor.colorset/
│ │ │ └── Contents.json
│ │ ├── BackgroundColorTop.colorset/
│ │ │ └── Contents.json
│ │ ├── ButtonBackgroundColorDefault.colorset/
│ │ │ └── Contents.json
│ │ ├── ButtonBackgroundColorPressed.colorset/
│ │ │ └── Contents.json
│ │ └── Contents.json
│ ├── Copilot_for_Xcode.entitlements
│ └── Preview Content/
│ └── Preview Assets.xcassets/
│ └── Contents.json
├── Copilot for Xcode.xcodeproj/
│ ├── project.pbxproj
│ ├── project.xcworkspace/
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata/
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── swiftpm/
│ │ └── Package.resolved
│ └── xcshareddata/
│ └── xcschemes/
│ ├── CommunicationBridge.xcscheme
│ ├── Copilot for Xcode Debug.xcscheme
│ ├── Copilot for Xcode.xcscheme
│ ├── EditorExtension.xcscheme
│ ├── ExtensionService.xcscheme
│ └── SandboxedClientTester.xcscheme
├── Copilot for Xcode.xcworkspace/
│ ├── contents.xcworkspacedata
│ └── xcshareddata/
│ ├── IDEWorkspaceChecks.plist
│ └── swiftpm/
│ └── Package.resolved
├── Copilot-for-Xcode-Info.plist
├── Core/
│ ├── .gitignore
│ ├── .swiftpm/
│ │ └── xcode/
│ │ └── xcshareddata/
│ │ └── xcschemes/
│ │ ├── Client.xcscheme
│ │ ├── HostApp.xcscheme
│ │ ├── Service.xcscheme
│ │ └── SuggestionInjector.xcscheme
│ ├── Package.resolved
│ ├── Package.swift
│ ├── README.md
│ ├── Sources/
│ │ ├── ChatContextCollectors/
│ │ │ ├── SystemInfoChatContextCollector/
│ │ │ │ └── SystemInfoChatContextCollector.swift
│ │ │ └── WebChatContextCollector/
│ │ │ ├── QueryWebsiteFunction.swift
│ │ │ ├── SearchFunction.swift
│ │ │ └── WebChatContextCollector.swift
│ │ ├── ChatGPTChatTab/
│ │ │ ├── Chat.swift
│ │ │ ├── ChatContextMenu.swift
│ │ │ ├── ChatGPTChatTab.swift
│ │ │ ├── ChatPanel.swift
│ │ │ ├── CodeBlockHighlighter.swift
│ │ │ ├── Styles.swift
│ │ │ └── Views/
│ │ │ ├── BotMessage.swift
│ │ │ ├── FunctionCallMarkdownTheme.swift
│ │ │ ├── FunctionMessage.swift
│ │ │ ├── InstructionMarkdownTheme.swift
│ │ │ ├── Instructions.swift
│ │ │ ├── ThemedMarkdownText.swift
│ │ │ └── UserMessage.swift
│ │ ├── ChatService/
│ │ │ ├── AllContextCollector.swift
│ │ │ ├── AllPlugins.swift
│ │ │ ├── ChatFunctionProvider.swift
│ │ │ ├── ChatPluginController.swift
│ │ │ ├── ChatService.swift
│ │ │ ├── ContextAwareAutoManagedChatGPTMemory.swift
│ │ │ └── DynamicContextController.swift
│ │ ├── Client/
│ │ │ └── XPCService.swift
│ │ ├── FileChangeChecker/
│ │ │ └── FileChangeChecker.swift
│ │ ├── HostApp/
│ │ │ ├── AccountSettings/
│ │ │ │ ├── APIKeyManagement/
│ │ │ │ │ ├── APIKeyManagementView.swift
│ │ │ │ │ ├── APIKeyManangement.swift
│ │ │ │ │ ├── APIKeyPicker.swift
│ │ │ │ │ ├── APIKeySelection.swift
│ │ │ │ │ └── APIKeySubmission.swift
│ │ │ │ ├── ChatModelManagement/
│ │ │ │ │ ├── ChatModelEdit.swift
│ │ │ │ │ ├── ChatModelEditView.swift
│ │ │ │ │ ├── ChatModelManagement.swift
│ │ │ │ │ └── ChatModelManagementView.swift
│ │ │ │ ├── CodeiumView.swift
│ │ │ │ ├── CustomHeaderSettingsView.swift
│ │ │ │ ├── EmbeddingModel.swift
│ │ │ │ ├── EmbeddingModelManagement/
│ │ │ │ │ ├── EmbeddingModelEdit.swift
│ │ │ │ │ ├── EmbeddingModelEditView.swift
│ │ │ │ │ ├── EmbeddingModelManagement.swift
│ │ │ │ │ └── EmbeddingModelManagementView.swift
│ │ │ │ ├── GitHubCopilotModelPicker.swift
│ │ │ │ ├── GitHubCopilotView.swift
│ │ │ │ ├── OtherSuggestionServicesView.swift
│ │ │ │ ├── SharedModelManagement/
│ │ │ │ │ ├── AIModelManagementVIew.swift
│ │ │ │ │ ├── BaseURLPicker.swift
│ │ │ │ │ └── BaseURLSelection.swift
│ │ │ │ └── WebSearchView.swift
│ │ │ ├── CustomCommandSettings/
│ │ │ │ ├── CustomCommand.swift
│ │ │ │ ├── CustomCommandView.swift
│ │ │ │ ├── EditCustomCommand.swift
│ │ │ │ └── EditCustomCommandView.swift
│ │ │ ├── DebugView.swift
│ │ │ ├── FeatureSettings/
│ │ │ │ ├── Chat/
│ │ │ │ │ ├── ChatSettingsGeneralSectionView.swift
│ │ │ │ │ └── ChatSettingsView.swift
│ │ │ │ ├── PromptToCodeSettingsView.swift
│ │ │ │ ├── Suggestion/
│ │ │ │ │ ├── SuggestionFeatureDisabledLanguageListView.swift
│ │ │ │ │ ├── SuggestionFeatureEnabledProjectListView.swift
│ │ │ │ │ ├── SuggestionSettingsGeneralSectionView.swift
│ │ │ │ │ └── SuggestionSettingsView.swift
│ │ │ │ ├── TerminalSettingsView.swift
│ │ │ │ └── XcodeSettingsView.swift
│ │ │ ├── FeatureSettingsView.swift
│ │ │ ├── General.swift
│ │ │ ├── GeneralView.swift
│ │ │ ├── HandleToast.swift
│ │ │ ├── HostApp.swift
│ │ │ ├── IsPreview.swift
│ │ │ ├── LaunchAgentManager.swift
│ │ │ ├── ServiceView.swift
│ │ │ ├── SharedComponents/
│ │ │ │ ├── CodeHighlightThemePicker.swift
│ │ │ │ └── EditableText.swift
│ │ │ ├── SidebarTabView.swift
│ │ │ └── TabContainer.swift
│ │ ├── KeyBindingManager/
│ │ │ ├── KeyBindingManager.swift
│ │ │ └── TabToAcceptSuggestion.swift
│ │ ├── LaunchAgentManager/
│ │ │ └── LaunchAgentManager.swift
│ │ ├── LegacyChatPlugin/
│ │ │ ├── AskChatGPT.swift
│ │ │ ├── CallAIFunction.swift
│ │ │ ├── LegacyChatPlugin.swift
│ │ │ ├── TerminalChatPlugin.swift
│ │ │ └── Translate.swift
│ │ ├── PlusFeatureFlag/
│ │ │ └── PlusFeatureFlag.swift
│ │ ├── PromptToCodeService/
│ │ │ ├── OpenAIPromptToCodeService.swift
│ │ │ ├── PreviewPromptToCodeService.swift
│ │ │ └── PromptToCodeServiceType.swift
│ │ ├── Service/
│ │ │ ├── DependencyUpdater.swift
│ │ │ ├── GUI/
│ │ │ │ ├── ChatTabFactory.swift
│ │ │ │ ├── GraphicalUserInterfaceController.swift
│ │ │ │ └── WidgetDataSource.swift
│ │ │ ├── GlobalShortcutManager.swift
│ │ │ ├── Helpers.swift
│ │ │ ├── RealtimeSuggestionController.swift
│ │ │ ├── ScheduledCleaner.swift
│ │ │ ├── Service.swift
│ │ │ ├── SuggestionCommandHandler/
│ │ │ │ ├── PseudoCommandHandler.swift
│ │ │ │ ├── SuggestionCommandHandler.swift
│ │ │ │ └── WindowBaseCommandHandler.swift
│ │ │ ├── SuggestionPresenter/
│ │ │ │ └── PresentInWindowSuggestionPresenter.swift
│ │ │ ├── WorkspaceExtension/
│ │ │ │ └── Workspace+Cleanup.swift
│ │ │ └── XPCService.swift
│ │ ├── ServiceUpdateMigration/
│ │ │ ├── MigrateTo135.swift
│ │ │ ├── MigrateTo240.swift
│ │ │ └── ServiceUpdateMigrator.swift
│ │ ├── SuggestionService/
│ │ │ └── SuggestionService.swift
│ │ ├── SuggestionWidget/
│ │ │ ├── ChatPanelWindow.swift
│ │ │ ├── ChatWindowView.swift
│ │ │ ├── FeatureReducers/
│ │ │ │ ├── ChatPanel.swift
│ │ │ │ ├── CircularWidget.swift
│ │ │ │ ├── PromptToCodeGroup.swift
│ │ │ │ ├── PromptToCodePanel.swift
│ │ │ │ ├── SharedPanel.swift
│ │ │ │ ├── SuggestionPanel.swift
│ │ │ │ ├── ToastPanel.swift
│ │ │ │ ├── Widget.swift
│ │ │ │ └── WidgetPanel.swift
│ │ │ ├── ModuleDependency.swift
│ │ │ ├── PromptToCodePanelGroupView.swift
│ │ │ ├── SharedPanelView.swift
│ │ │ ├── Styles.swift
│ │ │ ├── SuggestionPanelContent/
│ │ │ │ ├── CodeBlockSuggestionPanelView.swift
│ │ │ │ ├── ErrorPanelView.swift
│ │ │ │ ├── PromptToCodePanelView.swift
│ │ │ │ └── ToastPanelView.swift
│ │ │ ├── SuggestionPanelView.swift
│ │ │ ├── SuggestionWidgetController.swift
│ │ │ ├── SuggestionWidgetDataSource.swift
│ │ │ ├── TextCursorTracker.swift
│ │ │ ├── WidgetPositionStrategy.swift
│ │ │ ├── WidgetView.swift
│ │ │ └── WidgetWindowsController.swift
│ │ ├── UpdateChecker/
│ │ │ └── UpdateChecker.swift
│ │ ├── UserDefaultsObserver/
│ │ │ └── UserDefaultsObserver.swift
│ │ └── XcodeThemeController/
│ │ ├── HighlightJSThemeTemplate.swift
│ │ ├── HighlightrThemeManager.swift
│ │ ├── PreferenceKey+Theme.swift
│ │ ├── XcodeThemeController.swift
│ │ └── XcodeThemeParser.swift
│ └── Tests/
│ ├── ChatServiceTests/
│ │ └── ParseScopesTests.swift
│ ├── KeyBindingManagerTests/
│ │ └── TabToAcceptSuggestionTests.swift
│ ├── PromptToCodeServiceTests/
│ │ └── ExtractCodeFromChatGPTTests.swift
│ ├── ServiceTests/
│ │ ├── Environment.swift
│ │ ├── ExtractSelectedCodeTests.swift
│ │ └── FilespaceSuggestionInvalidationTests.swift
│ ├── ServiceUpdateMigrationTests/
│ │ └── MigrateTo240Tests.swift
│ └── SuggestionWidgetTests/
│ └── File.swift
├── DEVELOPMENT.md
├── EditorExtension/
│ ├── AcceptPromptToCodeCommand.swift
│ ├── AcceptSuggestionCommand.swift
│ ├── CloseIdleTabsCommand.swift
│ ├── CustomCommand.swift
│ ├── EditorExtension.entitlements
│ ├── GetSuggestionsCommand.swift
│ ├── Helpers.swift
│ ├── Info.plist
│ ├── NextSuggestionCommand.swift
│ ├── OpenChat.swift
│ ├── PrefetchSuggestionsCommand.swift
│ ├── PreviousSuggestionCommand.swift
│ ├── PromptToCodeCommand.swift
│ ├── RealtimeSuggestionCommand.swift
│ ├── RejectSuggestionCommand.swift
│ ├── SeparatorCommand.swift
│ ├── SourceEditorExtension.swift
│ └── ToggleRealtimeSuggestionsCommand.swift
├── ExtensionPoint.appextensionpoint
├── ExtensionService/
│ ├── AppDelegate+Menu.swift
│ ├── AppDelegate.swift
│ ├── Assets.xcassets/
│ │ ├── AccentColor.colorset/
│ │ │ └── Contents.json
│ │ ├── AppIcon.appiconset/
│ │ │ └── Contents.json
│ │ ├── Contents.json
│ │ └── MenuBarIcon.imageset/
│ │ └── Contents.json
│ ├── ExtensionService.entitlements
│ ├── Info.plist
│ ├── Main.storyboard
│ ├── ServiceDelegate.swift
│ └── XPCController.swift
├── Helper/
│ ├── ReloadLaunchAgent.swift
│ └── main.swift
├── LICENSE
├── OverlayWindow/
│ ├── .gitignore
│ ├── Package.swift
│ ├── Sources/
│ │ └── OverlayWindow/
│ │ ├── IDEWorkspaceWindowOverlayWindowController.swift
│ │ ├── OverlayPanel.swift
│ │ └── OverlayWindowController.swift
│ └── Tests/
│ └── OverlayWindowTests/
│ └── WindowTests.swift
├── Playground.playground/
│ ├── Pages/
│ │ ├── RetrievalQAChain.xcplaygroundpage/
│ │ │ ├── Contents.swift
│ │ │ └── timeline.xctimeline
│ │ └── WebScrapper.xcplaygroundpage/
│ │ ├── Contents.swift
│ │ └── timeline.xctimeline
│ └── contents.xcplayground
├── README.md
├── SandboxedClientTester/
│ ├── Assets.xcassets/
│ │ ├── AccentColor.colorset/
│ │ │ └── Contents.json
│ │ ├── AppIcon.appiconset/
│ │ │ └── Contents.json
│ │ └── Contents.json
│ ├── ContentView.swift
│ ├── Info.plist
│ ├── Preview Content/
│ │ └── Preview Assets.xcassets/
│ │ └── Contents.json
│ ├── SandboxedClientTester.entitlements
│ └── SandboxedClientTesterApp.swift
├── TestPlan.xctestplan
├── Tool/
│ ├── .gitignore
│ ├── .swiftpm/
│ │ └── xcode/
│ │ └── xcshareddata/
│ │ └── xcschemes/
│ │ └── SuggestionModel.xcscheme
│ ├── Package.resolved
│ ├── Package.swift
│ ├── README.md
│ ├── Sources/
│ │ ├── AIModel/
│ │ │ ├── ChatModel.swift
│ │ │ └── EmbeddingModel.swift
│ │ ├── ASTParser/
│ │ │ ├── ASTParser.swift
│ │ │ ├── ASTTreeVisitor.swift
│ │ │ ├── DumpSyntaxTree.swift
│ │ │ └── TreeCursor.swift
│ │ ├── AXExtension/
│ │ │ ├── AXUIElement.swift
│ │ │ └── AXUIElementPrivateAPI.swift
│ │ ├── AXNotificationStream/
│ │ │ └── AXNotificationStream.swift
│ │ ├── ActiveApplicationMonitor/
│ │ │ └── ActiveApplicationMonitor.swift
│ │ ├── AppActivator/
│ │ │ └── AppActivator.swift
│ │ ├── AsyncPassthroughSubject/
│ │ │ └── AsyncPassthroughSubject.swift
│ │ ├── BuiltinExtension/
│ │ │ ├── BuiltinExtension.swift
│ │ │ ├── BuiltinExtensionManager.swift
│ │ │ ├── BuiltinExtensionSuggestionServiceProvider.swift
│ │ │ └── BuiltinExtensionWorkspacePlugin.swift
│ │ ├── ChatBasic/
│ │ │ ├── ChatAgent.swift
│ │ │ ├── ChatGPTFunction.swift
│ │ │ ├── ChatMessage.swift
│ │ │ ├── ChatPlugin.swift
│ │ │ └── JSONSchema.swift
│ │ ├── ChatContextCollector/
│ │ │ └── ChatContextCollector.swift
│ │ ├── ChatContextCollectors/
│ │ │ └── ActiveDocumentChatContextCollector/
│ │ │ ├── ActiveDocumentChatContextCollector.swift
│ │ │ ├── Functions/
│ │ │ │ └── GetCodeCodeAroundLineFunction.swift
│ │ │ ├── LegacyActiveDocumentChatContextCollector.swift
│ │ │ └── ReadableCursorRange.swift
│ │ ├── ChatTab/
│ │ │ ├── ChatTab.swift
│ │ │ ├── ChatTabItem.swift
│ │ │ └── ChatTabPool.swift
│ │ ├── CodeDiff/
│ │ │ └── CodeDiff.swift
│ │ ├── CodeiumService/
│ │ │ ├── ChatTab/
│ │ │ │ ├── CodeiumChatBrowser.swift
│ │ │ │ ├── CodeiumChatTab.swift
│ │ │ │ ├── CodeiumChatTabItem.swift
│ │ │ │ ├── CodeiumChatView.swift
│ │ │ │ └── CodeiumWebView.swift
│ │ │ ├── CodeiumExtension.swift
│ │ │ ├── CodeiumWorkspacePlugin.swift
│ │ │ ├── LanguageServer/
│ │ │ │ ├── CodeiumInstallationManager.swift
│ │ │ │ ├── CodeiumLanguageServer.swift
│ │ │ │ ├── CodeiumModels.swift
│ │ │ │ ├── CodeiumRequest.swift
│ │ │ │ ├── CodeiumSupportedLanguage.swift
│ │ │ │ └── OpendDocumentPool.swift
│ │ │ └── Services/
│ │ │ ├── CodeiumAuthService.swift
│ │ │ ├── CodeiumService.swift
│ │ │ └── CodeiumSuggestionService.swift
│ │ ├── CommandHandler/
│ │ │ └── CommandHandler.swift
│ │ ├── Configs/
│ │ │ └── Configurations.swift
│ │ ├── CustomAsyncAlgorithms/
│ │ │ └── TimedDebounce.swift
│ │ ├── CustomCommandTemplateProcessor/
│ │ │ └── CustomCommandTemplateProcessor.swift
│ │ ├── DebounceFunction/
│ │ │ ├── DebounceFunction.swift
│ │ │ └── ThrottleFunction.swift
│ │ ├── FileSystem/
│ │ │ ├── ByteString.swift
│ │ │ ├── FileInfo.swift
│ │ │ ├── FileSystem.swift
│ │ │ ├── Lock.swift
│ │ │ ├── Misc.swift
│ │ │ ├── Path.swift
│ │ │ ├── PathShim.swift
│ │ │ └── WritableByteStream.swift
│ │ ├── FocusedCodeFinder/
│ │ │ ├── ActiveDocumentContext.swift
│ │ │ ├── FocusedCodeFinder.swift
│ │ │ ├── KnownLanguageFocusedCodeFinder.swift
│ │ │ ├── ObjectiveC/
│ │ │ │ ├── ObjectiveCCodeFinder.swift
│ │ │ │ ├── ObjectiveCScopeHierarchySyntaxVisitor.swift
│ │ │ │ └── ObjectiveCSyntax.swift
│ │ │ ├── Swift/
│ │ │ │ ├── SwiftFocusedCodeFinder.swift
│ │ │ │ └── SwiftScopeHierarchySyntaxVisitor.swift
│ │ │ └── UnknownLanguageFocusCodeFinder.swift
│ │ ├── GitHubCopilotService/
│ │ │ ├── GitHubCopilotExtension.swift
│ │ │ ├── GitHubCopilotWorkspacePlugin.swift
│ │ │ ├── LanguageServer/
│ │ │ │ ├── CopilotLocalProcessServer.swift
│ │ │ │ ├── CustomStdioTransport.swift
│ │ │ │ ├── GitHubCopilotAccountStatus.swift
│ │ │ │ ├── GitHubCopilotInstallationManager.swift
│ │ │ │ ├── GitHubCopilotRequest.swift
│ │ │ │ └── GitHubCopilotService.swift
│ │ │ ├── Resources/
│ │ │ │ └── load-self-signed-cert-1.34.0.js
│ │ │ └── Services/
│ │ │ ├── GitHubCopilotChatService.swift
│ │ │ └── GitHubCopilotSuggestionService.swift
│ │ ├── GitIgnoreCheck/
│ │ │ └── GitIgnoreCheck.swift
│ │ ├── JoinJSON/
│ │ │ └── JoinJSON.swift
│ │ ├── Keychain/
│ │ │ └── Keychain.swift
│ │ ├── LangChain/
│ │ │ ├── Agent.swift
│ │ │ ├── AgentExecutor.swift
│ │ │ ├── AgentTool.swift
│ │ │ ├── Agents/
│ │ │ │ └── ChatAgent.swift
│ │ │ ├── Callback.swift
│ │ │ ├── Chain.swift
│ │ │ ├── Chains/
│ │ │ │ ├── CombineAnswersChain.swift
│ │ │ │ ├── LLMChain.swift
│ │ │ │ ├── QAInformationRetrievalChain.swift
│ │ │ │ ├── RefineDocumentChain.swift
│ │ │ │ ├── RelevantInformationExtractionChain.swift
│ │ │ │ └── StructuredOutputChatModelChain.swift
│ │ │ ├── ChatModel/
│ │ │ │ ├── ChatModel.swift
│ │ │ │ └── OpenAIChat.swift
│ │ │ ├── DocumentLoader/
│ │ │ │ ├── DocumentLoader.swift
│ │ │ │ ├── TextLoader.swift
│ │ │ │ └── WebLoader.swift
│ │ │ ├── DocumentTransformer/
│ │ │ │ ├── DocumentTransformer.swift
│ │ │ │ ├── RecursiveCharacterTextSplitter.swift
│ │ │ │ ├── TextSplitter.swift
│ │ │ │ └── TextSplitterSeparatorSet.swift
│ │ │ ├── Embedding/
│ │ │ │ ├── Embedding.swift
│ │ │ │ └── OpenAIEmbedding.swift
│ │ │ └── VectorStore/
│ │ │ ├── TemporaryUSearch.swift
│ │ │ └── VectorStore.swift
│ │ ├── Logger/
│ │ │ └── Logger.swift
│ │ ├── ModificationBasic/
│ │ │ ├── ExplanationThenCodeStreamParser.swift
│ │ │ ├── ModificationAgent.swift
│ │ │ └── ModificationState.swift
│ │ ├── ObjectiveCExceptionHandling/
│ │ │ ├── ObjectiveCExceptionHandling.m
│ │ │ └── include/
│ │ │ └── ObjectiveCExceptionHandling.h
│ │ ├── OpenAIService/
│ │ │ ├── APIs/
│ │ │ │ ├── BuiltinExtensionChatCompletionsService.swift
│ │ │ │ ├── ChatCompletionsAPIBuilder.swift
│ │ │ │ ├── ChatCompletionsAPIDefinition.swift
│ │ │ │ ├── ClaudeChatCompletionsService.swift
│ │ │ │ ├── EmbeddingAPIDefinitions.swift
│ │ │ │ ├── GitHubCopilotChatCompletionsService.swift
│ │ │ │ ├── GitHubCopilotEmbeddingService.swift
│ │ │ │ ├── GoogleAIChatCompletionsService.swift
│ │ │ │ ├── OlamaChatCompletionsService.swift
│ │ │ │ ├── OllamaEmbeddingService.swift
│ │ │ │ ├── OpenAIChatCompletionsService.swift
│ │ │ │ ├── OpenAIEmbeddingService.swift
│ │ │ │ ├── OpenAIResponsesRawService.swift
│ │ │ │ └── ResponseStream.swift
│ │ │ ├── ChatGPTService.swift
│ │ │ ├── Configuration/
│ │ │ │ ├── ChatGPTConfiguration.swift
│ │ │ │ ├── EmbeddingConfiguration.swift
│ │ │ │ ├── UserPreferenceChatGPTConfiguration.swift
│ │ │ │ └── UserPreferenceEmbeddingConfiguration.swift
│ │ │ ├── Debug/
│ │ │ │ └── Debug.swift
│ │ │ ├── EmbeddingService.swift
│ │ │ ├── FucntionCall/
│ │ │ │ └── ChatGPTFuntionProvider.swift
│ │ │ ├── HeaderValueParser.swift
│ │ │ ├── LegacyChatGPTService.swift
│ │ │ ├── Memory/
│ │ │ │ ├── AutoManagedChatGPTMemory.swift
│ │ │ │ ├── AutoManagedChatGPTMemoryStrategy/
│ │ │ │ │ ├── AutoManagedChatGPTMemoryGoogleAIStrategy.swift
│ │ │ │ │ └── AutoManagedChatGPTMemoryOpenAIStrategy.swift
│ │ │ │ ├── ChatGPTMemory.swift
│ │ │ │ ├── ConversationChatGPTMemory.swift
│ │ │ │ ├── EmptyChatGPTMemory.swift
│ │ │ │ └── TemplateChatGPTMemory.swift
│ │ │ └── Models.swift
│ │ ├── Preferences/
│ │ │ ├── AppStorage.swift
│ │ │ ├── Keys.swift
│ │ │ ├── Types/
│ │ │ │ ├── ChatFeatureProvider.swift
│ │ │ │ ├── ChatGPTModel.swift
│ │ │ │ ├── CustomCommand.swift
│ │ │ │ ├── EmbeddingFeatureProvider.swift
│ │ │ │ ├── GoogleGenerativeChatModel.swift
│ │ │ │ ├── Locale.swift
│ │ │ │ ├── NodeRunner.swift
│ │ │ │ ├── OpenAIEmbeddingModel.swift
│ │ │ │ ├── OpenChatMode.swift
│ │ │ │ ├── PresentationMode.swift
│ │ │ │ ├── PromptToCodeFeatureProvider.swift
│ │ │ │ ├── StorableColors.swift
│ │ │ │ ├── StorableFont.swift
│ │ │ │ ├── SuggestionFeatureProvider.swift
│ │ │ │ ├── SuggestionWidgetPositionMode.swift
│ │ │ │ └── WidgetColorScheme.swift
│ │ │ └── UserDefaults.swift
│ │ ├── PromptToCodeCustomization/
│ │ │ └── PromptToCodeCustomization.swift
│ │ ├── RAGChatAgent/
│ │ │ ├── RAGChatAgent.swift
│ │ │ ├── RAGChatAgentCapability.swift
│ │ │ └── RAGChatAgentConfiguration.swift
│ │ ├── SharedUIComponents/
│ │ │ ├── AsyncCodeBlock.swift
│ │ │ ├── AsyncDiffCodeBlock.swift
│ │ │ ├── CodeBlock.swift
│ │ │ ├── CopyButton.swift
│ │ │ ├── CustomScrollView.swift
│ │ │ ├── CustomTextEditor.swift
│ │ │ ├── DynamicHeightTextInFormWorkaround.swift
│ │ │ ├── FontPicker.swift
│ │ │ ├── ModifierFlagsMonitor.swift
│ │ │ ├── SettingsDivider.swift
│ │ │ ├── SubSection.swift
│ │ │ ├── SyntaxHighlighting.swift
│ │ │ ├── TabContainer.swift
│ │ │ ├── View+Modify.swift
│ │ │ └── XcodeStyleFrame.swift
│ │ ├── SuggestionBasic/
│ │ │ ├── CodeSuggestion.swift
│ │ │ ├── EditorInformation.swift
│ │ │ ├── ExportedFromLSP.swift
│ │ │ ├── LanguageIdentifierFromFilePath.swift
│ │ │ ├── Modification.swift
│ │ │ └── String+LineEnding.swift
│ │ ├── SuggestionInjector/
│ │ │ └── SuggestionInjector.swift
│ │ ├── SuggestionProvider/
│ │ │ ├── PostProcessingSuggestionServiceMiddleware.swift
│ │ │ ├── String+Extension.swift
│ │ │ ├── SuggestionProvider.swift
│ │ │ ├── SuggestionServiceEventHandler.swift
│ │ │ └── SuggestionServiceMiddleware.swift
│ │ ├── Terminal/
│ │ │ └── Terminal.swift
│ │ ├── Toast/
│ │ │ └── Toast.swift
│ │ ├── TokenEncoder/
│ │ │ ├── CharacterTokenCounter.swift
│ │ │ ├── GoogleAITokenCounter.swift
│ │ │ ├── Resources/
│ │ │ │ └── cl100k_base.tiktoken
│ │ │ ├── TiktokenCl100kBaseTokenEncoder.swift
│ │ │ └── Tokenizer.swift
│ │ ├── USearchIndex/
│ │ │ └── UsearchIndex.swift
│ │ ├── UserDefaultsObserver/
│ │ │ └── UserDefaultsObserver.swift
│ │ ├── WebScrapper/
│ │ │ └── WebScrapper.swift
│ │ ├── WebSearchService/
│ │ │ ├── SearchServices/
│ │ │ │ ├── AppleDocumentationSearchService.swift
│ │ │ │ ├── BingSearchService.swift
│ │ │ │ ├── HeadlessBrowserSearchService.swift
│ │ │ │ └── SerpAPISearchService.swift
│ │ │ └── WebSearchService.swift
│ │ ├── Workspace/
│ │ │ ├── FileSaveWatcher.swift
│ │ │ ├── Filespace.swift
│ │ │ ├── OpenedFileRocoverableStorage.swift
│ │ │ ├── Workspace.swift
│ │ │ └── WorkspacePool.swift
│ │ ├── WorkspaceSuggestionService/
│ │ │ ├── Filespace+SuggestionService.swift
│ │ │ ├── SuggestionWorkspacePlugin.swift
│ │ │ └── Workspace+SuggestionService.swift
│ │ ├── XPCShared/
│ │ │ ├── CommunicationBridgeXPCServiceProtocol.swift
│ │ │ ├── Models.swift
│ │ │ ├── XPCCommunicationBridge.swift
│ │ │ ├── XPCExtensionService.swift
│ │ │ ├── XPCService.swift
│ │ │ └── XPCServiceProtocol.swift
│ │ └── XcodeInspector/
│ │ ├── AppInstanceInspector.swift
│ │ ├── Apps/
│ │ │ └── XcodeAppInstanceInspector.swift
│ │ ├── Helpers.swift
│ │ ├── SourceEditor.swift
│ │ ├── XcodeInspector+TriggerCommand.swift
│ │ ├── XcodeInspector.swift
│ │ └── XcodeWindowInspector.swift
│ └── Tests/
│ ├── ASTParserTests/
│ │ └── CursorDeepFirstSearchTests.swift
│ ├── ActiveDocumentChatContextCollectorTests/
│ │ └── File.swift
│ ├── CodeDiffTests/
│ │ └── CodeDiffTests.swift
│ ├── FocusedCodeFinderTests/
│ │ ├── ObjectiveCFocusedCodeFinderTests.swift
│ │ ├── SwiftFocusedCodeFinderTests.swift
│ │ └── UnknownLanguageFocusedCodeFinderTests.swift
│ ├── GitHubCopilotServiceTests/
│ │ ├── FetchSuggestionsTests.swift
│ │ └── FileExtensionToLanguageIdentifierTests.swift
│ ├── JoinJSONTests/
│ │ └── JoinJSONTests.swift
│ ├── KeychainTests/
│ │ └── KeychainTests.swift
│ ├── LangChainTests/
│ │ ├── ChatAgentTests.swift
│ │ ├── TextSplitterTests/
│ │ │ ├── RecursiveCharacterTextSplitterTests.swift
│ │ │ ├── TextChunkTests.swift
│ │ │ └── TextSplitterTests.swift
│ │ └── VectorStoreTests/
│ │ ├── EmbeddingDataForTests.swift
│ │ └── TemporaryUSearchTests.swift
│ ├── ModificationBasicTests/
│ │ └── ExplanationThenCodeStreamParserTests.swift
│ ├── OpenAIServiceTests/
│ │ ├── AutoManagedChatGPTMemoryRetrievedContentTests.swift
│ │ ├── ChatGPTServiceTests.swift
│ │ ├── GoogleAIChatCompletionsAPITests.swift
│ │ └── LimitMessagesTests.swift
│ ├── SharedUIComponentsTests/
│ │ └── ConvertToCodeLinesTests.swift
│ ├── SuggestionBasicTests/
│ │ ├── BreakLinePerformanceTests.swift
│ │ ├── LineAnnotationParsingTests.swift
│ │ ├── ModificationTests.swift
│ │ └── TextExtrationFromCodeTests.swift
│ ├── SuggestionInjectorTests/
│ │ ├── AcceptSuggestionTests.swift
│ │ ├── ProposeSuggestionTests.swift
│ │ └── RejectSuggestionTests.swift
│ ├── SuggestionProviderTests/
│ │ └── PostProcessingSuggestionServiceMiddlewareTests.swift
│ ├── TokenEncoderTests/
│ │ └── TiktokenCl100kBaseTokenEncoderTests.swift
│ ├── WebSearchServiceTests/
│ │ └── HeadlessBrowserSearchServiceTests.swift
│ └── XcodeInspectorTests/
│ ├── EditorRangeConversionTests.swift
│ ├── SourceEditorCachePerformanceTests.swift
│ └── SourceEditorCacheTests.swift
├── VERSIONS
├── Version.xcconfig
├── appcast.xml
├── bridgeLaunchAgent.plist
└── launchAgent.plist
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/FUNDING.yml
================================================
custom: ["https://intii.lemonsqueezy.com", "https://www.buymeacoffee.com/intitni"]
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yaml
================================================
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
assignees:
- intitni
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
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/wiki/Frequently-Asked-Questions) to check if it may address your issue. And search for existing issues to avoid duplication. If you are reporting a bug from a beta build, please use the dedicated template for beta build.
options:
- label: I have checked FAQ, and there is no solution to my issue
required: true
- label: I have searched the existing issues, and there is no existing issue for my issue
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How to reproduce the bug.
description: If possible, please provide the steps to reproduce the bug and relevant settings in screenshots.
placeholder: "1. *****\n2.*****"
value: "It just happened!"
- type: textarea
id: logs
attributes:
label: Relevant log output
description: If it's a crash, please provide the crash report. You can find it in the Console.app.
render: shell
- type: input
id: mac-version
attributes:
label: macOS version
- type: input
id: xcode-version
attributes:
label: Xcode version
- type: input
id: copilot-for-xcode-version
attributes:
label: Copilot for Xcode version
================================================
FILE: .github/ISSUE_TEMPLATE/feature_reqeust.yaml
================================================
name: Feature Request
description: Request a feature
title: "[Enhancement]: "
labels: ["enhancement"]
assignees:
- intitni
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request! But please firstly [post your idea in discussion](https://github.com/intitni/CopilotForXcode/discussions/new?category=ideas) so that we can discuss about it in advance.
- type: checkboxes
id: before-reporting
attributes:
label: Before Requesting
description: Before requesting the feature, we suggestion that you first search for existing issues to avoid duplication.
options:
- label: I have searched the existing issues, and there is no existing issue for my feature request
required: true
- type: textarea
id: what-feature
attributes:
label: What feature do you want?
description: Please describe the feature you want.
placeholder: Tell us what you want!
value: "I want a feature!"
validations:
required: true
================================================
FILE: .github/ISSUE_TEMPLATE/help_wanted.yml
================================================
name: Help Wanted
description: Ask for help from the developer and the community
title: "[Help Wanted]: "
labels: ["help wanted"]
body:
- type: checkboxes
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/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
- label: I have searched the existing issues, and there is no existing issue for my issue
required: true
- type: textarea
id: what-help
attributes:
label: Describe your issue
description: Please describe the help you want.
placeholder: My issue is...
value: "I want help!"
validations:
required: true
================================================
FILE: .github/ISSUE_TEMPLATE/z_bug_report_beta.yaml
================================================
name: Bug Report (Beta)
description: File a bug report
title: "[Bug (Beta)]: "
labels: ["bug", "beta"]
assignees:
- intitni
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
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/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
- label: I have searched the existing issues, and there is no existing issue for my issue
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How to reproduce the bug.
description: If possible, please provide the steps to reproduce the bug and relevant settings in screenshots.
placeholder: "1. *****\n2.*****"
value: "It just happened!"
- type: textarea
id: logs
attributes:
label: Relevant log output
description: If it's a crash, please provide the crash report. You can find it in the Console.app.
render: shell
- type: input
id: mac-version
attributes:
label: macOS version
- type: input
id: xcode-version
attributes:
label: Xcode version
- type: input
id: copilot-for-xcode-version
attributes:
label: Copilot for Xcode version
================================================
FILE: .github/workflows/close_inactive_issues.yml
================================================
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 30
days-before-issue-close: 14
stale-issue-label: "stale"
exempt-issue-labels: "low priority, help wanted, planned, investigating, blocked"
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
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
================================================
FILE: .gitignore
================================================
# IDE
.idea
# Created by
https://www.toptal.com/developers/gitignore/api/xcode,macos,swift,swiftpackagemanager
# Edit at
https://www.toptal.com/developers/gitignore?templates=xcode,macos,swift,swiftpackagemanager
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
### Swift ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore,
Objective-C.gitignore & Swift.gitignore
## User settings
xcuserdata/
## compatibility with Xcode 8 and earlier (ignoring not required starting
Xcode 9)
*.xcscmblueprint
*.xccheckout
## compatibility with Xcode 3 and earlier (ignoring not required starting
Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
## Obj-C/Swift specific
*.hmap
## App packaging
*.ipa
*.dSYM.zip
*.dSYM
# Swift Package Manager
# Add this line if you want to avoid checking in source code from Swift
Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
# Xcode automatically generates this directory with a .xcworkspacedata
file and xcuserdata
# hence it is not needed unless you have added a package configuration
file to your project
# .swiftpm
.build/
# CocoaPods
# We recommend against adding the Pods directory to your .gitignore.
However
# you should judge for yourself, the pros and cons are mentioned at:
#
https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
# Pods/
# Add this line if you want to avoid checking in source code from the
# Carthage
# Add this line if you want to avoid checking in source code from Carthage
dependencies.
# Carthage/Checkouts
Carthage/Build/
# Accio dependency management
Dependencies/
.accio/
# fastlane
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are
needed.
# For more information about the recommended setup visit:
#
https://docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
# Code Injection
# After new code Injection tools there's a generated folder
/iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode
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
Copilot for Xcode Plus.xcworkspace
PLUS
================================================
FILE: .gitmodules
================================================
================================================
FILE: .swiftformat
================================================
--allman false
--beforemarks
--binarygrouping 4,8
--categorymark "MARK: %c"
--classthreshold 0
--closingparen balanced
--commas always
--conflictmarkers reject
--decimalgrouping 3,6
--elseposition same-line
--enumthreshold 0
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--fragment false
--funcattributes preserve
--guardelse auto
--header ignore
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef no-indent
--importgrouping testable-bottom
--indent 4
--indentcase false
--lifecycle
--linebreaks lf
--maxwidth 100
--modifierorder
--nospaceoperators ...,..<
--nowrapoperators
--octalgrouping 4,8
--operatorfunc spaced
--patternlet hoist
--ranges spaced
--self remove
--selfrequired
--semicolons inline
--shortoptionals always
--smarttabs enabled
--stripunusedargs unnamed-only
--structthreshold 0
--tabwidth unspecified
--trailingclosures
--trimwhitespace always
--typeattributes preserve
--varattributes preserve
--voidtype void
--wraparguments before-first
--wrapcollections disabled
--wrapparameters before-first
--xcodeindentation disabled
--yodaswap always
--enable isEmpty
--exclude Pods,**/Generated
================================================
FILE: ChatPlugins/.gitignore
================================================
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
================================================
FILE: ChatPlugins/.swiftpm/xcode/xcshareddata/xcschemes/ChatPlugins.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ChatPlugins"
BuildableName = "ChatPlugins"
BlueprintName = "ChatPlugins"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ChatPlugins"
BuildableName = "ChatPlugins"
BlueprintName = "ChatPlugins"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: ChatPlugins/Package.swift
================================================
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ChatPlugins",
platforms: [.macOS(.v12)],
products: [
.library(
name: "ChatPlugins",
targets: ["TerminalChatPlugin", "ShortcutChatPlugin"]
),
],
dependencies: [
.package(path: "../Tool"),
],
targets: [
.target(
name: "TerminalChatPlugin",
dependencies: [
.product(name: "Chat", package: "Tool"),
.product(name: "Terminal", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
]
),
.target(
name: "ShortcutChatPlugin",
dependencies: [
.product(name: "Chat", package: "Tool"),
.product(name: "Terminal", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
]
),
]
)
================================================
FILE: ChatPlugins/Sources/ShortcutChatPlugin/ShortcutChatPlugin.swift
================================================
import ChatBasic
import Foundation
import Terminal
public final class ShortcutChatPlugin: ChatPlugin {
public static var id: String { "com.intii.shortcut" }
public static var command: String { "shortcut" }
public static var name: String { "Shortcut" }
public static var description: String { """
Run a shortcut and use message content as input. You need to provide the shortcut name as an argument, for example, `/shortcut(Shortcut Name)`.
""" }
let terminal: TerminalType
init(terminal: TerminalType) {
self.terminal = terminal
}
public init() {
terminal = Terminal()
}
public func sendForTextResponse(_ request: Request) async
-> AsyncThrowingStream<String, any Error>
{
let stream = await sendForComplicatedResponse(request)
return .init { continuation in
let task = Task {
do {
for try await response in stream {
switch response {
case let .content(.text(content)):
continuation.yield(content)
default:
break
}
}
continuation.finish()
} catch {
continuation.finish(throwing: error)
}
}
continuation.onTermination = { _ in
task.cancel()
}
}
}
public func sendForComplicatedResponse(_ request: Request) async
-> AsyncThrowingStream<Response, any Error>
{
return .init { continuation in
let task = Task {
let id = "\(Self.command)-\(UUID().uuidString)"
guard let shortcutName = request.arguments.first, !shortcutName.isEmpty else {
continuation.yield(.content(.text(
"Please provide the shortcut name in format: `/\(Self.command)(shortcut name)`"
)))
return
}
var input = String(request.text).trimmingCharacters(in: .whitespacesAndNewlines)
if input.isEmpty {
// if no input detected, use the previous message as input
input = request.history.last?.content ?? ""
}
do {
continuation.yield(.startAction(
id: "run",
task: "Run shortcut `\(shortcutName)`"
))
let env = ProcessInfo.processInfo.environment
let shell = env["SHELL"] ?? "/bin/bash"
let temporaryURL = FileManager.default.temporaryDirectory
let temporaryInputFileURL = temporaryURL
.appendingPathComponent("\(id)-input.txt")
let temporaryOutputFileURL = temporaryURL
.appendingPathComponent("\(id)-output")
try input.write(to: temporaryInputFileURL, atomically: true, encoding: .utf8)
let command = """
shortcuts run "\(shortcutName)" \
-i "\(temporaryInputFileURL.path)" \
-o "\(temporaryOutputFileURL.path)"
"""
continuation.yield(.startAction(
id: "run",
task: "Run shortcut \(shortcutName)"
))
do {
let result = try await terminal.runCommand(
shell,
arguments: ["-i", "-l", "-c", command],
currentDirectoryURL: nil,
environment: [:]
)
continuation.yield(.finishAction(id: "run", result: .success(result)))
} catch {
continuation.yield(.finishAction(
id: "run",
result: .failure(error.localizedDescription)
))
throw error
}
await Task.yield()
try Task.checkCancellation()
if FileManager.default.fileExists(atPath: temporaryOutputFileURL.path) {
let data = try Data(contentsOf: temporaryOutputFileURL)
if let text = String(data: data, encoding: .utf8) {
var response = text
if response.isEmpty {
response = "Finished"
}
continuation.yield(.content(.text(response)))
} else {
let content = """
[View File](\(temporaryOutputFileURL))
"""
continuation.yield(.content(.text(content)))
}
} else {
continuation.yield(.content(.text("Finished")))
}
} catch {
continuation.yield(.content(.text(error.localizedDescription)))
}
continuation.finish()
}
continuation.onTermination = { _ in
task.cancel()
}
}
}
}
================================================
FILE: ChatPlugins/Sources/TerminalChatPlugin/TerminalChatPlugin.swift
================================================
import ChatBasic
import Foundation
import Terminal
import XcodeInspector
public final class TerminalChatPlugin: ChatPlugin {
public static var id: String { "com.intii.terminal" }
public static var command: String { "shell" }
public static var name: String { "Shell" }
public static var description: String { """
Run the command in the message from shell.
You can use environment variable `$FILE_PATH` and `$PROJECT_ROOT` to access the current file path and project root.
""" }
let terminal: TerminalType
init(terminal: TerminalType) {
self.terminal = terminal
}
public init() {
terminal = Terminal()
}
public func getTextContent(from request: Request) async
-> AsyncStream<String>
{
return .init { continuation in
let task = Task {
do {
let fileURL = XcodeInspector.shared.realtimeActiveDocumentURL
let projectURL = XcodeInspector.shared.realtimeActiveProjectURL
var environment = [String: String]()
if let fileURL {
environment["FILE_PATH"] = fileURL.path
}
if let projectURL {
environment["PROJECT_ROOT"] = projectURL.path
}
try Task.checkCancellation()
let env = ProcessInfo.processInfo.environment
let shell = env["SHELL"] ?? "/bin/bash"
let output = terminal.streamCommand(
shell,
arguments: ["-i", "-l", "-c", request.text],
currentDirectoryURL: projectURL,
environment: environment
)
var accumulatedOutput = ""
for try await content in output {
try Task.checkCancellation()
accumulatedOutput += content
continuation.yield(accumulatedOutput)
}
} catch let error as Terminal.TerminationError {
let errorMessage = "\n\n[error: \(error.reason)]"
continuation.yield(errorMessage)
} catch {
let errorMessage = "\n\n[error: \(error.localizedDescription)]"
continuation.yield(errorMessage)
}
continuation.finish()
}
continuation.onTermination = { _ in
task.cancel()
Task {
await self.terminal.terminate()
}
}
}
}
public func sendForTextResponse(_ request: Request) async
-> AsyncThrowingStream<String, any Error>
{
let stream = await getTextContent(from: request)
return .init { continuation in
let task = Task {
continuation.yield("Executing command: `\(request.text)`\n\n")
continuation.yield("```console\n")
for await text in stream {
try Task.checkCancellation()
continuation.yield(text)
}
continuation.yield("\n```\n")
continuation.finish()
}
continuation.onTermination = { _ in
task.cancel()
}
}
}
public func formatContent(_ content: Response.Content) -> Response.Content {
switch content {
case let .text(content):
return .text("""
```console
\(content)
```
""")
}
}
public func sendForComplicatedResponse(_ request: Request) async
-> AsyncThrowingStream<Response, any Error>
{
return .init { continuation in
let task = Task {
var updateTime = Date()
continuation.yield(.startAction(id: "run", task: "Run `\(request.text)`"))
let textStream = await getTextContent(from: request)
var previousOutput = ""
continuation.yield(.finishAction(
id: "run",
result: .success("Executed.")
))
for await accumulatedOutput in textStream {
try Task.checkCancellation()
let newContent = accumulatedOutput.dropFirst(previousOutput.count)
previousOutput = accumulatedOutput
if !newContent.isEmpty {
if Date().timeIntervalSince(updateTime) > 60 * 2 {
continuation.yield(.startNewMessage)
continuation.yield(.startAction(
id: "run",
task: "Continue `\(request.text)`"
))
continuation.yield(.finishAction(
id: "run",
result: .success("Executed.")
))
continuation.yield(.content(.text("[continue]\n")))
updateTime = Date()
}
continuation.yield(.content(.text(String(newContent))))
}
}
continuation.finish()
}
continuation.onTermination = { _ in
task.cancel()
}
}
}
}
================================================
FILE: ChatPlugins/Tests/ChatPluginsTests/ChatPluginsTests.swift
================================================
import Testing
@testable import ChatPlugins
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
}
================================================
FILE: CommunicationBridge/ServiceDelegate.swift
================================================
import AppKit
import Foundation
import Logger
import XPCShared
class ServiceDelegate: NSObject, NSXPCListenerDelegate {
func listener(
_: NSXPCListener,
shouldAcceptNewConnection newConnection: NSXPCConnection
) -> Bool {
newConnection.exportedInterface = NSXPCInterface(
with: CommunicationBridgeXPCServiceProtocol.self
)
let exportedObject = XPCService()
newConnection.exportedObject = exportedObject
newConnection.resume()
Logger.communicationBridge.info("Accepted new connection.")
return true
}
}
class XPCService: CommunicationBridgeXPCServiceProtocol {
static let eventHandler = EventHandler()
func launchExtensionServiceIfNeeded(
withReply reply: @escaping (NSXPCListenerEndpoint?) -> Void
) {
Task {
await Self.eventHandler.launchExtensionServiceIfNeeded(withReply: reply)
}
}
func quit(withReply reply: @escaping () -> Void) {
Task {
await Self.eventHandler.quit(withReply: reply)
}
}
func updateServiceEndpoint(
endpoint: NSXPCListenerEndpoint,
withReply reply: @escaping () -> Void
) {
Task {
await Self.eventHandler.updateServiceEndpoint(endpoint: endpoint, withReply: reply)
}
}
}
actor EventHandler {
var endpoint: NSXPCListenerEndpoint?
let launcher = ExtensionServiceLauncher()
var exitTask: Task<Void, Error>?
init() {
Task { await rescheduleExitTask() }
}
func launchExtensionServiceIfNeeded(
withReply reply: @escaping (NSXPCListenerEndpoint?) -> Void
) async {
rescheduleExitTask()
#if DEBUG
if let endpoint, !(await testXPCListenerEndpoint(endpoint)) {
self.endpoint = nil
}
reply(endpoint)
#else
if await launcher.isApplicationValid {
Logger.communicationBridge.info("Service app is still valid")
reply(endpoint)
} else {
endpoint = nil
await launcher.launch()
reply(nil)
}
#endif
}
func quit(withReply reply: () -> Void) {
Logger.communicationBridge.info("Exiting service.")
listener.invalidate()
exit(0)
}
func updateServiceEndpoint(endpoint: NSXPCListenerEndpoint, withReply reply: () -> Void) {
rescheduleExitTask()
self.endpoint = endpoint
reply()
}
/// The bridge will kill itself when it's not used for a period.
/// It's fine that the bridge is killed because it will be launched again when needed.
private func rescheduleExitTask() {
exitTask?.cancel()
exitTask = Task {
#if DEBUG
try await Task.sleep(nanoseconds: 60_000_000_000)
Logger.communicationBridge.info("Exit will be called in release build.")
#else
try await Task.sleep(nanoseconds: 1_800_000_000_000)
Logger.communicationBridge.info("Exiting service.")
listener.invalidate()
exit(0)
#endif
}
}
}
actor ExtensionServiceLauncher {
let appIdentifier = bundleIdentifierBase.appending(".ExtensionService")
let appURL = Bundle.main.bundleURL.appendingPathComponent(
"CopilotForXcodeExtensionService.app"
)
var isLaunching: Bool = false
var application: NSRunningApplication?
var isApplicationValid: Bool {
guard let application else { return false }
if application.isTerminated { return false }
let identifier = application.processIdentifier
if let application = NSWorkspace.shared.runningApplications.first(where: {
$0.processIdentifier == identifier
}) {
Logger.communicationBridge.info(
"Service app found: \(application.processIdentifier) \(String(describing: application.bundleIdentifier))"
)
return true
}
return false
}
func launch() {
guard !isLaunching else { return }
isLaunching = true
Logger.communicationBridge.info("Launching extension service app.")
NSWorkspace.shared.openApplication(
at: appURL,
configuration: {
let configuration = NSWorkspace.OpenConfiguration()
configuration.createsNewApplicationInstance = false
configuration.addsToRecentItems = false
configuration.activates = false
return configuration
}()
) { app, error in
if let error = error {
Logger.communicationBridge.error(
"Failed to launch extension service app: \(error)"
)
} else {
Logger.communicationBridge.info(
"Finished launching extension service app."
)
}
self.application = app
self.isLaunching = false
}
}
}
================================================
FILE: CommunicationBridge/main.swift
================================================
import AppKit
import Foundation
class AppDelegate: NSObject, NSApplicationDelegate {}
let bundleIdentifierBase = Bundle(url: Bundle.main.bundleURL.appendingPathComponent(
"CopilotForXcodeExtensionService.app"
))?.object(forInfoDictionaryKey: "BUNDLE_IDENTIFIER_BASE") as? String ?? "com.intii.CopilotForXcode"
let serviceIdentifier = bundleIdentifierBase + ".CommunicationBridge"
let appDelegate = AppDelegate()
let delegate = ServiceDelegate()
let listener = NSXPCListener(machServiceName: serviceIdentifier)
listener.delegate = delegate
listener.resume()
let app = NSApplication.shared
app.delegate = appDelegate
app.run()
================================================
FILE: Config.debug.xcconfig
================================================
#include "Version.xcconfig"
SLASH = /
HOST_APP_NAME = Copilot for Xcode Dev
BUNDLE_IDENTIFIER_BASE = dev.com.intii.CopilotForXcode
SPARKLE_FEED_URL = http:$(SLASH)$(SLASH)127.0.0.1:9433/appcast.xml
SPARKLE_PUBLIC_KEY = WDzm5GHnc6c8kjeJEgX5GuGiPpW6Lc/ovGjLnrrZvPY=
APPLICATION_SUPPORT_FOLDER = dev.com.intii.CopilotForXcode
EXTENSION_BUNDLE_NAME = Copilot Dev
EXTENSION_BUNDLE_DISPLAY_NAME = Copilot Dev
EXTENSION_SERVICE_NAME = CopilotForXcodeExtensionService
// see also target Configs
================================================
FILE: Config.xcconfig
================================================
#include "Version.xcconfig"
SLASH = /
HOST_APP_NAME = Copilot for Xcode
BUNDLE_IDENTIFIER_BASE = com.intii.CopilotForXcode
SPARKLE_FEED_URL = https:$(SLASH)$(SLASH)copilotforxcode.intii.com/appcast.xml
SPARKLE_PUBLIC_KEY = WDzm5GHnc6c8kjeJEgX5GuGiPpW6Lc/ovGjLnrrZvPY=
APPLICATION_SUPPORT_FOLDER = com.intii.CopilotForXcode
EXTENSION_BUNDLE_NAME = Copilot
EXTENSION_BUNDLE_DISPLAY_NAME = Copilot
EXTENSION_SERVICE_NAME = CopilotForXcodeExtensionService
// see also target Configs
================================================
FILE: Copilot for Xcode/App.swift
================================================
import Client
import HostApp
import LaunchAgentManager
import SwiftUI
import UpdateChecker
import XPCShared
struct VisualEffect: NSViewRepresentable {
func makeNSView(context: Self.Context) -> NSView { return NSVisualEffectView() }
func updateNSView(_ nsView: NSView, context: Context) {}
}
class TheUpdateCheckerDelegate: UpdateCheckerDelegate {
func prepareForRelaunch(finish: @escaping () -> Void) {
Task {
let service = try? getService()
try? await service?.quitService()
finish()
}
}
}
let updateCheckerDelegate = TheUpdateCheckerDelegate()
@main
struct CopilotForXcodeApp: App {
var body: some Scene {
WindowGroup {
TabContainer()
.frame(minWidth: 800, minHeight: 600)
.background(VisualEffect().ignoresSafeArea())
.onAppear {
UserDefaults.setupDefaultSettings()
}
.environment(
\.updateChecker,
{
let checker = UpdateChecker(
hostBundle: Bundle.main,
shouldAutomaticallyCheckForUpdate: false
)
checker.updateCheckerDelegate = updateCheckerDelegate
return checker
}()
)
}
}
}
var isPreview: Bool { ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1" }
================================================
FILE: Copilot for Xcode/Assets.xcassets/AccentColor.colorset/Contents.json
================================================
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode/Assets.xcassets/AppIcon.appiconset/Contents.json
================================================
{
"images" : [
{
"filename" : "app-icon@16w.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"filename" : "app-icon@32w.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"filename" : "app-icon@32w.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"filename" : "app-icon@64w.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"filename" : "app-icon@128w.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"filename" : "app-icon@256w.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"filename" : "app-icon@256w.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"filename" : "app-icon@512w.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"filename" : "app-icon@512w.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"filename" : "app-icon.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode/Assets.xcassets/BackgroundColor.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "40",
"green" : "23",
"red" : "25"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode/Assets.xcassets/BackgroundColorTop.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "54",
"green" : "25",
"red" : "30"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode/Assets.xcassets/ButtonBackgroundColorDefault.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x46",
"green" : "0x24",
"red" : "0x2C"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode/Assets.xcassets/ButtonBackgroundColorPressed.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.275",
"green" : "0.141",
"red" : "0.290"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode/Assets.xcassets/Contents.json
================================================
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode/Copilot_for_Xcode.entitlements
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<false/>
<key>com.apple.security.application-groups</key>
<array>
<string>$(TeamIdentifierPrefix)group.$(BUNDLE_IDENTIFIER_BASE)</string>
</array>
<key>com.apple.security.automation.apple-events</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)$(BUNDLE_IDENTIFIER_BASE).Shared</string>
</array>
</dict>
</plist>
================================================
FILE: Copilot for Xcode/Preview Content/Preview Assets.xcassets/Contents.json
================================================
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Copilot for Xcode.xcodeproj/project.pbxproj
================================================
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objects = {
/* Begin PBXBuildFile section */
C8009BFF2941C551007AA7E8 /* ToggleRealtimeSuggestionsCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8009BFE2941C551007AA7E8 /* ToggleRealtimeSuggestionsCommand.swift */; };
C8009C032941C576007AA7E8 /* RealtimeSuggestionCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8009C022941C576007AA7E8 /* RealtimeSuggestionCommand.swift */; };
C800DBB1294C624D00B04CAC /* PrefetchSuggestionsCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C800DBB0294C624D00B04CAC /* PrefetchSuggestionsCommand.swift */; };
C80FFB962A95F58200704A25 /* AcceptPromptToCodeCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C80FFB952A95F58200704A25 /* AcceptPromptToCodeCommand.swift */; };
C81291D72994FE6900196E12 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C81291D52994FE6900196E12 /* Main.storyboard */; };
C814588F2939EFDC00135263 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C814588E2939EFDC00135263 /* Cocoa.framework */; };
C81458942939EFDC00135263 /* SourceEditorExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81458932939EFDC00135263 /* SourceEditorExtension.swift */; };
C81458962939EFDC00135263 /* GetSuggestionsCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81458952939EFDC00135263 /* GetSuggestionsCommand.swift */; };
C814589B2939EFDC00135263 /* Copilot.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = C814588C2939EFDC00135263 /* Copilot.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
C8189B1A2938972F00C9DCDA /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8189B192938972F00C9DCDA /* App.swift */; };
C8189B1E2938973000C9DCDA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C8189B1D2938973000C9DCDA /* Assets.xcassets */; };
C8189B212938973000C9DCDA /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C8189B202938973000C9DCDA /* Preview Assets.xcassets */; };
C8216B73298036EC00AD38C7 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8216B72298036EC00AD38C7 /* main.swift */; };
C8216B782980370100AD38C7 /* ReloadLaunchAgent.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8216B772980370100AD38C7 /* ReloadLaunchAgent.swift */; };
C8216B7D2980374300AD38C7 /* ArgumentParser in Frameworks */ = {isa = PBXBuildFile; productRef = C8216B7C2980374300AD38C7 /* ArgumentParser */; };
C8216B802980378300AD38C7 /* Helper in Embed XPCService */ = {isa = PBXBuildFile; fileRef = C8216B70298036EC00AD38C7 /* Helper */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
C828B27F2B1F7B4F00E7612A /* ExtensionPoint.appextensionpoint in Copy Extension Point */ = {isa = PBXBuildFile; fileRef = C828B27D2B1F241500E7612A /* ExtensionPoint.appextensionpoint */; };
C8520301293C4D9000460097 /* Helpers.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8520300293C4D9000460097 /* Helpers.swift */; };
C861A6A329E5503F005C41A3 /* PromptToCodeCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C861A6A229E5503F005C41A3 /* PromptToCodeCommand.swift */; };
C861E6112994F6070056CB02 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C861E6102994F6070056CB02 /* AppDelegate.swift */; };
C861E6152994F6080056CB02 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C861E6142994F6080056CB02 /* Assets.xcassets */; };
C861E61E2994F6150056CB02 /* Service in Frameworks */ = {isa = PBXBuildFile; productRef = C861E61D2994F6150056CB02 /* Service */; };
C861E6202994F63A0056CB02 /* ServiceDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C861E61F2994F6390056CB02 /* ServiceDelegate.swift */; };
C86612F82A06AF74009197D9 /* HostApp in Frameworks */ = {isa = PBXBuildFile; productRef = C86612F72A06AF74009197D9 /* HostApp */; };
C8738B662BE4D4B900609E7F /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8738B652BE4D4B900609E7F /* main.swift */; };
C8738B6B2BE4D56F00609E7F /* ServiceDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8738B6A2BE4D56F00609E7F /* ServiceDelegate.swift */; };
C8738B6F2BE4F7A600609E7F /* XPCShared in Frameworks */ = {isa = PBXBuildFile; productRef = C8738B6E2BE4F7A600609E7F /* XPCShared */; };
C8738B712BE4F8B700609E7F /* XPCController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8738B702BE4F8B700609E7F /* XPCController.swift */; };
C8738B7B2BE5363800609E7F /* SandboxedClientTesterApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8738B7A2BE5363800609E7F /* SandboxedClientTesterApp.swift */; };
C8738B7D2BE5363800609E7F /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8738B7C2BE5363800609E7F /* ContentView.swift */; };
C8738B7F2BE5363900609E7F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C8738B7E2BE5363900609E7F /* Assets.xcassets */; };
C8738B822BE5363900609E7F /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C8738B812BE5363900609E7F /* Preview Assets.xcassets */; };
C8738B882BE5365000609E7F /* Client in Frameworks */ = {isa = PBXBuildFile; productRef = C8738B872BE5365000609E7F /* Client */; };
C8738B8A2BE540D000609E7F /* bridgeLaunchAgent.plist in Copy Launch Agent */ = {isa = PBXBuildFile; fileRef = C8738B6D2BE4F3E800609E7F /* bridgeLaunchAgent.plist */; };
C8738B8B2BE540DD00609E7F /* CommunicationBridge in Embed XPCService */ = {isa = PBXBuildFile; fileRef = C8738B632BE4D4B900609E7F /* CommunicationBridge */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
C8758E7029F04BFF00D29C1C /* CustomCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8758E6F29F04BFF00D29C1C /* CustomCommand.swift */; };
C8758E7229F04CF100D29C1C /* SeparatorCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8758E7129F04CF100D29C1C /* SeparatorCommand.swift */; };
C87B03A5293B261200C77EAE /* AcceptSuggestionCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C87B03A4293B261200C77EAE /* AcceptSuggestionCommand.swift */; };
C87B03A7293B261900C77EAE /* RejectSuggestionCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C87B03A6293B261900C77EAE /* RejectSuggestionCommand.swift */; };
C87B03A9293B262600C77EAE /* NextSuggestionCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C87B03A8293B262600C77EAE /* NextSuggestionCommand.swift */; };
C87B03AB293B262E00C77EAE /* PreviousSuggestionCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C87B03AA293B262E00C77EAE /* PreviousSuggestionCommand.swift */; };
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 */; };
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 /* OpenChat.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8DCEFFF29CE11D500FDDDD7 /* OpenChat.swift */; };
C8DD9CB12BC673F80036641C /* CloseIdleTabsCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8DD9CB02BC673F80036641C /* CloseIdleTabsCommand.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
C81291AF2994F92700196E12 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C8189B0E2938972F00C9DCDA /* Project object */;
proxyType = 1;
remoteGlobalIDString = C861E60D2994F6070056CB02;
remoteInfo = ExtensionService;
};
C81458992939EFDC00135263 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C8189B0E2938972F00C9DCDA /* Project object */;
proxyType = 1;
remoteGlobalIDString = C814588B2939EFDC00135263;
remoteInfo = EditorExtension;
};
C8216B7E2980377E00AD38C7 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C8189B0E2938972F00C9DCDA /* Project object */;
proxyType = 1;
remoteGlobalIDString = C8216B6F298036EC00AD38C7;
remoteInfo = Helper;
};
C8738B8C2BE540F900609E7F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C8189B0E2938972F00C9DCDA /* Project object */;
proxyType = 1;
remoteGlobalIDString = C8738B622BE4D4B900609E7F;
remoteInfo = CommunicationBridge;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
C814589F2939EFDC00135263 /* Embed Foundation Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
C814589B2939EFDC00135263 /* Copilot.appex in Embed Foundation Extensions */,
);
name = "Embed Foundation Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
C8216B6E298036EC00AD38C7 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 1;
};
C828B27E2B1F7B3C00E7612A /* Copy Extension Point */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "$(EXTENSIONS_FOLDER_PATH)";
dstSubfolderSpec = 16;
files = (
C828B27F2B1F7B4F00E7612A /* ExtensionPoint.appextensionpoint in Copy Extension Point */,
);
name = "Copy Extension Point";
runOnlyForDeploymentPostprocessing = 0;
};
C8520306293CF0EF00460097 /* Embed XPCService */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = ../Applications;
dstSubfolderSpec = 6;
files = (
C8738B8B2BE540DD00609E7F /* CommunicationBridge in Embed XPCService */,
C8216B802980378300AD38C7 /* Helper in Embed XPCService */,
C8C8B60929AFA35F00034BEE /* CopilotForXcodeExtensionService.app in Embed XPCService */,
);
name = "Embed XPCService";
runOnlyForDeploymentPostprocessing = 0;
};
C8738B612BE4D4B900609E7F /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 12;
dstPath = "";
dstSubfolderSpec = 16;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
C87B03AE293B2CF300C77EAE /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
C87B03AD293B2CF300C77EAE /* XcodeKit.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
C8C8B60829AFA32800034BEE /* Embed Service */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "$(CONTENTS_FOLDER_PATH)/XPCServices";
dstSubfolderSpec = 16;
files = (
);
name = "Embed Service";
runOnlyForDeploymentPostprocessing = 0;
};
C8F1032A2A7A38D200D28F4F /* Copy Launch Agent */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 12;
dstPath = Contents/Library/LaunchAgents;
dstSubfolderSpec = 1;
files = (
C8738B8A2BE540D000609E7F /* bridgeLaunchAgent.plist in Copy Launch Agent */,
);
name = "Copy Launch Agent";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
C8009BFE2941C551007AA7E8 /* ToggleRealtimeSuggestionsCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ToggleRealtimeSuggestionsCommand.swift; sourceTree = "<group>"; };
C8009C022941C576007AA7E8 /* RealtimeSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RealtimeSuggestionCommand.swift; sourceTree = "<group>"; };
C800DBB0294C624D00B04CAC /* PrefetchSuggestionsCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrefetchSuggestionsCommand.swift; sourceTree = "<group>"; };
C80FFB952A95F58200704A25 /* AcceptPromptToCodeCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AcceptPromptToCodeCommand.swift; sourceTree = "<group>"; };
C81291D52994FE6900196E12 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
C81291D92994FE7900196E12 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
C814588C2939EFDC00135263 /* Copilot.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = Copilot.appex; sourceTree = BUILT_PRODUCTS_DIR; };
C814588E2939EFDC00135263 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
C81458902939EFDC00135263 /* XcodeKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XcodeKit.framework; path = Library/Frameworks/XcodeKit.framework; sourceTree = DEVELOPER_DIR; };
C81458932939EFDC00135263 /* SourceEditorExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SourceEditorExtension.swift; sourceTree = "<group>"; };
C81458952939EFDC00135263 /* GetSuggestionsCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetSuggestionsCommand.swift; sourceTree = "<group>"; };
C81458972939EFDC00135263 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
C81458982939EFDC00135263 /* EditorExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = EditorExtension.entitlements; sourceTree = "<group>"; };
C81458AD293A009600135263 /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = "<group>"; };
C81458AE293A009800135263 /* Config.debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.debug.xcconfig; sourceTree = "<group>"; };
C8189B162938972F00C9DCDA /* Copilot for Xcode Dev.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Copilot for Xcode Dev.app"; sourceTree = BUILT_PRODUCTS_DIR; };
C8189B192938972F00C9DCDA /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = "<group>"; };
C8189B1D2938973000C9DCDA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
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>"; };
C8216B772980370100AD38C7 /* ReloadLaunchAgent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReloadLaunchAgent.swift; sourceTree = "<group>"; };
C828B27D2B1F241500E7612A /* ExtensionPoint.appextensionpoint */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = ExtensionPoint.appextensionpoint; sourceTree = "<group>"; };
C82E38492A1F025F00D4EADF /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
C84FD9D72CC671C600BE5093 /* ChatPlugins */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = ChatPlugins; sourceTree = "<group>"; };
C8520300293C4D9000460097 /* Helpers.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Helpers.swift; sourceTree = "<group>"; };
C8520308293D805800460097 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
C861A6A229E5503F005C41A3 /* PromptToCodeCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PromptToCodeCommand.swift; sourceTree = "<group>"; };
C861E60E2994F6070056CB02 /* CopilotForXcodeExtensionService.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CopilotForXcodeExtensionService.app; sourceTree = BUILT_PRODUCTS_DIR; };
C861E6102994F6070056CB02 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
C861E6142994F6080056CB02 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C861E6192994F6080056CB02 /* ExtensionService.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = ExtensionService.entitlements; sourceTree = "<group>"; };
C861E61F2994F6390056CB02 /* ServiceDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServiceDelegate.swift; sourceTree = "<group>"; };
C8738B632BE4D4B900609E7F /* CommunicationBridge */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = CommunicationBridge; sourceTree = BUILT_PRODUCTS_DIR; };
C8738B652BE4D4B900609E7F /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
C8738B6A2BE4D56F00609E7F /* ServiceDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServiceDelegate.swift; sourceTree = "<group>"; };
C8738B6D2BE4F3E800609E7F /* bridgeLaunchAgent.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = bridgeLaunchAgent.plist; sourceTree = "<group>"; };
C8738B702BE4F8B700609E7F /* XPCController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XPCController.swift; sourceTree = "<group>"; };
C8738B782BE5363800609E7F /* SandboxedClientTester.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SandboxedClientTester.app; sourceTree = BUILT_PRODUCTS_DIR; };
C8738B7A2BE5363800609E7F /* SandboxedClientTesterApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SandboxedClientTesterApp.swift; sourceTree = "<group>"; };
C8738B7C2BE5363800609E7F /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
C8738B7E2BE5363900609E7F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C8738B812BE5363900609E7F /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
C8738B832BE5363900609E7F /* SandboxedClientTester.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SandboxedClientTester.entitlements; sourceTree = "<group>"; };
C8738B892BE5379E00609E7F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; 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>"; };
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>"; };
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>"; };
C89E75C22A46FB32000DD64F /* AppDelegate+Menu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AppDelegate+Menu.swift"; sourceTree = "<group>"; };
C8BE64922EB9B42E00EDB2D7 /* OverlayWindow */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = OverlayWindow; sourceTree = "<group>"; };
C8CD828229B88006008D044D /* TestPlan.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = TestPlan.xctestplan; sourceTree = "<group>"; };
C8DCEFFF29CE11D500FDDDD7 /* OpenChat.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenChat.swift; sourceTree = "<group>"; };
C8DD9CB02BC673F80036641C /* CloseIdleTabsCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CloseIdleTabsCommand.swift; sourceTree = "<group>"; };
C8F103292A7A365000D28F4F /* launchAgent.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = launchAgent.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
C81458892939EFDC00135263 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C87B03AC293B2CF300C77EAE /* XcodeKit.framework in Frameworks */,
C814588F2939EFDC00135263 /* Cocoa.framework in Frameworks */,
C882175C294187EF00A22FD3 /* Client in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8189B132938972F00C9DCDA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C86612F82A06AF74009197D9 /* HostApp in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8216B6D298036EC00AD38C7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C8216B7D2980374300AD38C7 /* ArgumentParser in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C861E60B2994F6070056CB02 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C861E61E2994F6150056CB02 /* Service in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8738B602BE4D4B900609E7F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C8738B6F2BE4F7A600609E7F /* XPCShared in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8738B752BE5363800609E7F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C8738B882BE5365000609E7F /* Client in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
C814588D2939EFDC00135263 /* Frameworks */ = {
isa = PBXGroup;
children = (
C814588E2939EFDC00135263 /* Cocoa.framework */,
C81458902939EFDC00135263 /* XcodeKit.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
C81458922939EFDC00135263 /* EditorExtension */ = {
isa = PBXGroup;
children = (
C81458932939EFDC00135263 /* SourceEditorExtension.swift */,
C8758E7129F04CF100D29C1C /* SeparatorCommand.swift */,
C8520300293C4D9000460097 /* Helpers.swift */,
C81458952939EFDC00135263 /* GetSuggestionsCommand.swift */,
C87B03A4293B261200C77EAE /* AcceptSuggestionCommand.swift */,
C80FFB952A95F58200704A25 /* AcceptPromptToCodeCommand.swift */,
C87B03A6293B261900C77EAE /* RejectSuggestionCommand.swift */,
C87B03A8293B262600C77EAE /* NextSuggestionCommand.swift */,
C87B03AA293B262E00C77EAE /* PreviousSuggestionCommand.swift */,
C8009BFE2941C551007AA7E8 /* ToggleRealtimeSuggestionsCommand.swift */,
C8009C022941C576007AA7E8 /* RealtimeSuggestionCommand.swift */,
C800DBB0294C624D00B04CAC /* PrefetchSuggestionsCommand.swift */,
C8758E6F29F04BFF00D29C1C /* CustomCommand.swift */,
C8DCEFFF29CE11D500FDDDD7 /* OpenChat.swift */,
C8DD9CB02BC673F80036641C /* CloseIdleTabsCommand.swift */,
C861A6A229E5503F005C41A3 /* PromptToCodeCommand.swift */,
C81458972939EFDC00135263 /* Info.plist */,
C81458982939EFDC00135263 /* EditorExtension.entitlements */,
);
path = EditorExtension;
sourceTree = "<group>";
};
C8189B0D2938972F00C9DCDA = {
isa = PBXGroup;
children = (
C887BC832965D96000931567 /* DEVELOPMENT.md */,
C8520308293D805800460097 /* README.md */,
C82E38492A1F025F00D4EADF /* LICENSE */,
C8F103292A7A365000D28F4F /* launchAgent.plist */,
C8738B6D2BE4F3E800609E7F /* bridgeLaunchAgent.plist */,
C81E867D296FE4420026E908 /* Version.xcconfig */,
C81458AD293A009600135263 /* Config.xcconfig */,
C81458AE293A009800135263 /* Config.debug.xcconfig */,
C8CD828229B88006008D044D /* TestPlan.xctestplan */,
C828B27D2B1F241500E7612A /* ExtensionPoint.appextensionpoint */,
C8BE64922EB9B42E00EDB2D7 /* OverlayWindow */,
C84FD9D72CC671C600BE5093 /* ChatPlugins */,
C81D181E2A1B509B006C1B70 /* Tool */,
C8189B282938979000C9DCDA /* Core */,
C8189B182938972F00C9DCDA /* Copilot for Xcode */,
C81458922939EFDC00135263 /* EditorExtension */,
C8216B71298036EC00AD38C7 /* Helper */,
C861E60F2994F6070056CB02 /* ExtensionService */,
C8738B642BE4D4B900609E7F /* CommunicationBridge */,
C8738B792BE5363800609E7F /* SandboxedClientTester */,
C814588D2939EFDC00135263 /* Frameworks */,
C8189B172938972F00C9DCDA /* Products */,
);
sourceTree = "<group>";
};
C8189B172938972F00C9DCDA /* Products */ = {
isa = PBXGroup;
children = (
C8189B162938972F00C9DCDA /* Copilot for Xcode Dev.app */,
C814588C2939EFDC00135263 /* Copilot.appex */,
C8216B70298036EC00AD38C7 /* Helper */,
C861E60E2994F6070056CB02 /* CopilotForXcodeExtensionService.app */,
C8738B632BE4D4B900609E7F /* CommunicationBridge */,
C8738B782BE5363800609E7F /* SandboxedClientTester.app */,
);
name = Products;
sourceTree = "<group>";
};
C8189B182938972F00C9DCDA /* Copilot for Xcode */ = {
isa = PBXGroup;
children = (
C87B03A3293B24AB00C77EAE /* Copilot-for-Xcode-Info.plist */,
C8189B192938972F00C9DCDA /* App.swift */,
C8189B1D2938973000C9DCDA /* Assets.xcassets */,
C8189B222938973000C9DCDA /* Copilot_for_Xcode.entitlements */,
C8189B1F2938973000C9DCDA /* Preview Content */,
);
path = "Copilot for Xcode";
sourceTree = "<group>";
};
C8189B1F2938973000C9DCDA /* Preview Content */ = {
isa = PBXGroup;
children = (
C8189B202938973000C9DCDA /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
C8216B71298036EC00AD38C7 /* Helper */ = {
isa = PBXGroup;
children = (
C8216B72298036EC00AD38C7 /* main.swift */,
C8216B772980370100AD38C7 /* ReloadLaunchAgent.swift */,
);
path = Helper;
sourceTree = "<group>";
};
C861E60F2994F6070056CB02 /* ExtensionService */ = {
isa = PBXGroup;
children = (
C81291D92994FE7900196E12 /* Info.plist */,
C861E61F2994F6390056CB02 /* ServiceDelegate.swift */,
C861E6102994F6070056CB02 /* AppDelegate.swift */,
C89E75C22A46FB32000DD64F /* AppDelegate+Menu.swift */,
C8738B702BE4F8B700609E7F /* XPCController.swift */,
C81291D52994FE6900196E12 /* Main.storyboard */,
C861E6142994F6080056CB02 /* Assets.xcassets */,
C861E6192994F6080056CB02 /* ExtensionService.entitlements */,
);
path = ExtensionService;
sourceTree = "<group>";
};
C8738B642BE4D4B900609E7F /* CommunicationBridge */ = {
isa = PBXGroup;
children = (
C8738B652BE4D4B900609E7F /* main.swift */,
C8738B6A2BE4D56F00609E7F /* ServiceDelegate.swift */,
);
path = CommunicationBridge;
sourceTree = "<group>";
};
C8738B792BE5363800609E7F /* SandboxedClientTester */ = {
isa = PBXGroup;
children = (
C8738B892BE5379E00609E7F /* Info.plist */,
C8738B7A2BE5363800609E7F /* SandboxedClientTesterApp.swift */,
C8738B7C2BE5363800609E7F /* ContentView.swift */,
C8738B7E2BE5363900609E7F /* Assets.xcassets */,
C8738B832BE5363900609E7F /* SandboxedClientTester.entitlements */,
C8738B802BE5363900609E7F /* Preview Content */,
);
path = SandboxedClientTester;
sourceTree = "<group>";
};
C8738B802BE5363900609E7F /* Preview Content */ = {
isa = PBXGroup;
children = (
C8738B812BE5363900609E7F /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
C814588B2939EFDC00135263 /* EditorExtension */ = {
isa = PBXNativeTarget;
buildConfigurationList = C814589C2939EFDC00135263 /* Build configuration list for PBXNativeTarget "EditorExtension" */;
buildPhases = (
C81458882939EFDC00135263 /* Sources */,
C81458892939EFDC00135263 /* Frameworks */,
C814588A2939EFDC00135263 /* Resources */,
C87B03AE293B2CF300C77EAE /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = EditorExtension;
packageProductDependencies = (
C882175B294187EF00A22FD3 /* Client */,
);
productName = EditorExtension;
productReference = C814588C2939EFDC00135263 /* Copilot.appex */;
productType = "com.apple.product-type.xcode-extension";
};
C8189B152938972F00C9DCDA /* Copilot for Xcode */ = {
isa = PBXNativeTarget;
buildConfigurationList = C8189B252938973000C9DCDA /* Build configuration list for PBXNativeTarget "Copilot for Xcode" */;
buildPhases = (
C8189B122938972F00C9DCDA /* Sources */,
C8189B132938972F00C9DCDA /* Frameworks */,
C8189B142938972F00C9DCDA /* Resources */,
C814589F2939EFDC00135263 /* Embed Foundation Extensions */,
C8520306293CF0EF00460097 /* Embed XPCService */,
C8C8B60829AFA32800034BEE /* Embed Service */,
C8F1032A2A7A38D200D28F4F /* Copy Launch Agent */,
);
buildRules = (
);
dependencies = (
C8738B8D2BE540F900609E7F /* PBXTargetDependency */,
C81291B02994F92700196E12 /* PBXTargetDependency */,
C8216B7F2980377E00AD38C7 /* PBXTargetDependency */,
C814589A2939EFDC00135263 /* PBXTargetDependency */,
);
name = "Copilot for Xcode";
packageProductDependencies = (
C86612F72A06AF74009197D9 /* HostApp */,
);
productName = "Copilot for Xcode";
productReference = C8189B162938972F00C9DCDA /* Copilot for Xcode Dev.app */;
productType = "com.apple.product-type.application";
};
C8216B6F298036EC00AD38C7 /* Helper */ = {
isa = PBXNativeTarget;
buildConfigurationList = C8216B74298036EC00AD38C7 /* Build configuration list for PBXNativeTarget "Helper" */;
buildPhases = (
C8216B6C298036EC00AD38C7 /* Sources */,
C8216B6D298036EC00AD38C7 /* Frameworks */,
C8216B6E298036EC00AD38C7 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = Helper;
packageProductDependencies = (
C8216B7C2980374300AD38C7 /* ArgumentParser */,
);
productName = Helper;
productReference = C8216B70298036EC00AD38C7 /* Helper */;
productType = "com.apple.product-type.tool";
};
C861E60D2994F6070056CB02 /* ExtensionService */ = {
isa = PBXNativeTarget;
buildConfigurationList = C861E61A2994F6080056CB02 /* Build configuration list for PBXNativeTarget "ExtensionService" */;
buildPhases = (
C861E60A2994F6070056CB02 /* Sources */,
C861E60B2994F6070056CB02 /* Frameworks */,
C861E60C2994F6070056CB02 /* Resources */,
C828B27E2B1F7B3C00E7612A /* Copy Extension Point */,
);
buildRules = (
);
dependencies = (
);
name = ExtensionService;
packageProductDependencies = (
C861E61D2994F6150056CB02 /* Service */,
);
productName = ExtensionService;
productReference = C861E60E2994F6070056CB02 /* CopilotForXcodeExtensionService.app */;
productType = "com.apple.product-type.application";
};
C8738B622BE4D4B900609E7F /* CommunicationBridge */ = {
isa = PBXNativeTarget;
buildConfigurationList = C8738B672BE4D4B900609E7F /* Build configuration list for PBXNativeTarget "CommunicationBridge" */;
buildPhases = (
C8738B5F2BE4D4B900609E7F /* Sources */,
C8738B602BE4D4B900609E7F /* Frameworks */,
C8738B612BE4D4B900609E7F /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = CommunicationBridge;
packageProductDependencies = (
C8738B6E2BE4F7A600609E7F /* XPCShared */,
);
productName = CommunicationBridge;
productReference = C8738B632BE4D4B900609E7F /* CommunicationBridge */;
productType = "com.apple.product-type.tool";
};
C8738B772BE5363800609E7F /* SandboxedClientTester */ = {
isa = PBXNativeTarget;
buildConfigurationList = C8738B842BE5363900609E7F /* Build configuration list for PBXNativeTarget "SandboxedClientTester" */;
buildPhases = (
C8738B742BE5363800609E7F /* Sources */,
C8738B752BE5363800609E7F /* Frameworks */,
C8738B762BE5363800609E7F /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = SandboxedClientTester;
packageProductDependencies = (
C8738B872BE5365000609E7F /* Client */,
);
productName = SandboxedClientTester;
productReference = C8738B782BE5363800609E7F /* SandboxedClientTester.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
C8189B0E2938972F00C9DCDA /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1520;
LastUpgradeCheck = 1410;
TargetAttributes = {
C814588B2939EFDC00135263 = {
CreatedOnToolsVersion = 14.1;
};
C8189B152938972F00C9DCDA = {
CreatedOnToolsVersion = 14.1;
};
C8216B6F298036EC00AD38C7 = {
CreatedOnToolsVersion = 14.1;
};
C861E60D2994F6070056CB02 = {
CreatedOnToolsVersion = 14.2;
};
C8738B622BE4D4B900609E7F = {
CreatedOnToolsVersion = 15.2;
};
C8738B772BE5363800609E7F = {
CreatedOnToolsVersion = 15.2;
};
};
};
buildConfigurationList = C8189B112938972F00C9DCDA /* Build configuration list for PBXProject "Copilot for Xcode" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = C8189B0D2938972F00C9DCDA;
packageReferences = (
C8216B792980373800AD38C7 /* XCRemoteSwiftPackageReference "swift-argument-parser" */,
C80C91742A588DD800B5EADA /* XCRemoteSwiftPackageReference "usearch" */,
);
productRefGroup = C8189B172938972F00C9DCDA /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
C8189B152938972F00C9DCDA /* Copilot for Xcode */,
C814588B2939EFDC00135263 /* EditorExtension */,
C8216B6F298036EC00AD38C7 /* Helper */,
C861E60D2994F6070056CB02 /* ExtensionService */,
C8738B622BE4D4B900609E7F /* CommunicationBridge */,
C8738B772BE5363800609E7F /* SandboxedClientTester */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
C814588A2939EFDC00135263 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
C8189B142938972F00C9DCDA /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8189B212938973000C9DCDA /* Preview Assets.xcassets in Resources */,
C8189B1E2938973000C9DCDA /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C861E60C2994F6070056CB02 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C861E6152994F6080056CB02 /* Assets.xcassets in Resources */,
C81291D72994FE6900196E12 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8738B762BE5363800609E7F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8738B822BE5363900609E7F /* Preview Assets.xcassets in Resources */,
C8738B7F2BE5363900609E7F /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
C81458882939EFDC00135263 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8DCF00029CE11D500FDDDD7 /* OpenChat.swift in Sources */,
C81458942939EFDC00135263 /* SourceEditorExtension.swift in Sources */,
C8DD9CB12BC673F80036641C /* CloseIdleTabsCommand.swift in Sources */,
C8758E7029F04BFF00D29C1C /* CustomCommand.swift in Sources */,
C8758E7229F04CF100D29C1C /* SeparatorCommand.swift in Sources */,
C861A6A329E5503F005C41A3 /* PromptToCodeCommand.swift in Sources */,
C8520301293C4D9000460097 /* Helpers.swift in Sources */,
C8009BFF2941C551007AA7E8 /* ToggleRealtimeSuggestionsCommand.swift in Sources */,
C80FFB962A95F58200704A25 /* AcceptPromptToCodeCommand.swift in Sources */,
C87B03A5293B261200C77EAE /* AcceptSuggestionCommand.swift in Sources */,
C87B03A9293B262600C77EAE /* NextSuggestionCommand.swift in Sources */,
C87B03AB293B262E00C77EAE /* PreviousSuggestionCommand.swift in Sources */,
C87B03A7293B261900C77EAE /* RejectSuggestionCommand.swift in Sources */,
C8009C032941C576007AA7E8 /* RealtimeSuggestionCommand.swift in Sources */,
C800DBB1294C624D00B04CAC /* PrefetchSuggestionsCommand.swift in Sources */,
C81458962939EFDC00135263 /* GetSuggestionsCommand.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8189B122938972F00C9DCDA /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8189B1A2938972F00C9DCDA /* App.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8216B6C298036EC00AD38C7 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8216B73298036EC00AD38C7 /* main.swift in Sources */,
C8216B782980370100AD38C7 /* ReloadLaunchAgent.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C861E60A2994F6070056CB02 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C89E75C32A46FB32000DD64F /* AppDelegate+Menu.swift in Sources */,
C8738B712BE4F8B700609E7F /* XPCController.swift in Sources */,
C861E6202994F63A0056CB02 /* ServiceDelegate.swift in Sources */,
C861E6112994F6070056CB02 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8738B5F2BE4D4B900609E7F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8738B6B2BE4D56F00609E7F /* ServiceDelegate.swift in Sources */,
C8738B662BE4D4B900609E7F /* main.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C8738B742BE5363800609E7F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8738B7D2BE5363800609E7F /* ContentView.swift in Sources */,
C8738B7B2BE5363800609E7F /* SandboxedClientTesterApp.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
C81291B02994F92700196E12 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C861E60D2994F6070056CB02 /* ExtensionService */;
targetProxy = C81291AF2994F92700196E12 /* PBXContainerItemProxy */;
};
C814589A2939EFDC00135263 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C814588B2939EFDC00135263 /* EditorExtension */;
targetProxy = C81458992939EFDC00135263 /* PBXContainerItemProxy */;
};
C8216B7F2980377E00AD38C7 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C8216B6F298036EC00AD38C7 /* Helper */;
targetProxy = C8216B7E2980377E00AD38C7 /* PBXContainerItemProxy */;
};
C8738B8D2BE540F900609E7F /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C8738B622BE4D4B900609E7F /* CommunicationBridge */;
targetProxy = C8738B8C2BE540F900609E7F /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
C814589D2939EFDC00135263 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = EditorExtension/EditorExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = "$(APP_BUILD)";
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = EditorExtension/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "$(EXTENSION_BUNDLE_NAME)";
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = "$(APP_VERSION)";
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).EditorExtension";
PRODUCT_NAME = Copilot;
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
C814589E2939EFDC00135263 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = EditorExtension/EditorExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = "$(APP_BUILD)";
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = EditorExtension/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "$(EXTENSION_BUNDLE_NAME)";
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = "$(APP_VERSION)";
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).EditorExtension";
PRODUCT_NAME = Copilot;
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
C8189B232938973000C9DCDA /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C81458AE293A009800135263 /* Config.debug.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
C8189B242938973000C9DCDA /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C81458AD293A009600135263 /* Config.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
name = Release;
};
C8189B262938973000C9DCDA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "Copilot for Xcode/Copilot_for_Xcode.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = "$(APP_BUILD)";
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Copilot for Xcode/Preview Content\"";
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Copilot-for-Xcode-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = "$(APP_VERSION)";
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE)";
PRODUCT_MODULE_NAME = Copilot_for_Xcode;
PRODUCT_NAME = "$(HOST_APP_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
C8189B272938973000C9DCDA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "Copilot for Xcode/Copilot_for_Xcode.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = "$(APP_BUILD)";
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Copilot for Xcode/Preview Content\"";
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Copilot-for-Xcode-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = "$(APP_VERSION)";
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE)";
PRODUCT_NAME = "$(HOST_APP_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
C8216B75298036EC00AD38C7 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
MACOSX_DEPLOYMENT_TARGET = 13.0;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
C8216B76298036EC00AD38C7 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
MACOSX_DEPLOYMENT_TARGET = 13.0;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
C861E61B2994F6080056CB02 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ExtensionService/ExtensionService.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = "$(APP_BUILD)";
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ExtensionService/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSMainStoryboardFile = Main;
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = "$(APP_VERSION)";
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).ExtensionService";
PRODUCT_NAME = "$(EXTENSION_SERVICE_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
C861E61C2994F6080056CB02 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ExtensionService/ExtensionService.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = "$(APP_BUILD)";
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ExtensionService/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSMainStoryboardFile = Main;
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = "$(APP_VERSION)";
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).ExtensionService";
PRODUCT_NAME = "$(EXTENSION_SERVICE_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
C8738B682BE4D4B900609E7F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 13.0;
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).CommunicationBridge";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
C8738B692BE4D4B900609E7F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 13.0;
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER_BASE).CommunicationBridge";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
C8738B852BE5363900609E7F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = SandboxedClientTester/SandboxedClientTester.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"SandboxedClientTester/Preview Content\"";
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = SandboxedClientTester/Info.plist;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 14.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.intii.CopilotForXcode.SandboxedClientTester;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
C8738B862BE5363900609E7F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = SandboxedClientTester/SandboxedClientTester.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"SandboxedClientTester/Preview Content\"";
DEVELOPMENT_TEAM = 5YKZ4Y3DAW;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = SandboxedClientTester/Info.plist;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 14.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.intii.CopilotForXcode.SandboxedClientTester;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
C814589C2939EFDC00135263 /* Build configuration list for PBXNativeTarget "EditorExtension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C814589D2939EFDC00135263 /* Debug */,
C814589E2939EFDC00135263 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C8189B112938972F00C9DCDA /* Build configuration list for PBXProject "Copilot for Xcode" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C8189B232938973000C9DCDA /* Debug */,
C8189B242938973000C9DCDA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C8189B252938973000C9DCDA /* Build configuration list for PBXNativeTarget "Copilot for Xcode" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C8189B262938973000C9DCDA /* Debug */,
C8189B272938973000C9DCDA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C8216B74298036EC00AD38C7 /* Build configuration list for PBXNativeTarget "Helper" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C8216B75298036EC00AD38C7 /* Debug */,
C8216B76298036EC00AD38C7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C861E61A2994F6080056CB02 /* Build configuration list for PBXNativeTarget "ExtensionService" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C861E61B2994F6080056CB02 /* Debug */,
C861E61C2994F6080056CB02 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C8738B672BE4D4B900609E7F /* Build configuration list for PBXNativeTarget "CommunicationBridge" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C8738B682BE4D4B900609E7F /* Debug */,
C8738B692BE4D4B900609E7F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C8738B842BE5363900609E7F /* Build configuration list for PBXNativeTarget "SandboxedClientTester" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C8738B852BE5363900609E7F /* Debug */,
C8738B862BE5363900609E7F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
/* Begin XCRemoteSwiftPackageReference section */
C80C91742A588DD800B5EADA /* XCRemoteSwiftPackageReference "usearch" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/unum-cloud/usearch";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.19.1;
};
};
C8216B792980373800AD38C7 /* XCRemoteSwiftPackageReference "swift-argument-parser" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/apple/swift-argument-parser.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.0.0;
};
};
/* End XCRemoteSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
C8216B7C2980374300AD38C7 /* ArgumentParser */ = {
isa = XCSwiftPackageProductDependency;
package = C8216B792980373800AD38C7 /* XCRemoteSwiftPackageReference "swift-argument-parser" */;
productName = ArgumentParser;
};
C861E61D2994F6150056CB02 /* Service */ = {
isa = XCSwiftPackageProductDependency;
productName = Service;
};
C86612F72A06AF74009197D9 /* HostApp */ = {
isa = XCSwiftPackageProductDependency;
productName = HostApp;
};
C8738B6E2BE4F7A600609E7F /* XPCShared */ = {
isa = XCSwiftPackageProductDependency;
productName = XPCShared;
};
C8738B872BE5365000609E7F /* Client */ = {
isa = XCSwiftPackageProductDependency;
productName = Client;
};
C882175B294187EF00A22FD3 /* Client */ = {
isa = XCSwiftPackageProductDependency;
productName = Client;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = C8189B0E2938972F00C9DCDA /* Project object */;
}
================================================
FILE: Copilot for Xcode.xcodeproj/project.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
================================================
FILE: Copilot for Xcode.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: Copilot for Xcode.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
================================================
{
"pins" : [
{
"identity" : "combine-schedulers",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/combine-schedulers",
"state" : {
"revision" : "0625932976b3ae23949f6b816d13bd97f3b40b7c",
"version" : "0.10.0"
}
},
{
"identity" : "fseventswrapper",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Frizlab/FSEventsWrapper",
"state" : {
"revision" : "e0c59a2ce2775e5f6642da6d19207445f10112d0",
"version" : "1.0.2"
}
},
{
"identity" : "glob",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Bouke/Glob",
"state" : {
"revision" : "deda6e163d2ff2a8d7e138e2c3326dbd71157faf",
"version" : "1.0.5"
}
},
{
"identity" : "highlightr",
"kind" : "remoteSourceControl",
"location" : "https://github.com/raspu/Highlightr",
"state" : {
"revision" : "93199b9e434f04bda956a613af8f571933f9f037",
"version" : "2.1.2"
}
},
{
"identity" : "jsonrpc",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/JSONRPC",
"state" : {
"revision" : "5da978702aece6ba5c7879b0d253c180d61e4ef3",
"version" : "0.6.0"
}
},
{
"identity" : "keychainaccess",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kishikawakatsumi/KeychainAccess",
"state" : {
"revision" : "84e546727d66f1adc5439debad16270d0fdd04e7",
"version" : "4.2.2"
}
},
{
"identity" : "languageclient",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/LanguageClient",
"state" : {
"revision" : "f0198ee0a102d266078f7d9c28f086f2989f988a",
"version" : "0.3.1"
}
},
{
"identity" : "languageserverprotocol",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/LanguageServerProtocol",
"state" : {
"revision" : "6e97f943dc024307c5524a80bd33cdbd1cc621de",
"version" : "0.8.0"
}
},
{
"identity" : "operationplus",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/OperationPlus",
"state" : {
"revision" : "1340f95dce3e93d742497d88db18f8676f4badf4",
"version" : "1.6.0"
}
},
{
"identity" : "processenv",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/ProcessEnv",
"state" : {
"revision" : "29487b6581bb785c372c611c943541ef4309d051",
"version" : "0.3.1"
}
},
{
"identity" : "sparkle",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sparkle-project/Sparkle",
"state" : {
"revision" : "631846cc829f0f0cae327df9bafe5a32b7ddadce",
"version" : "2.4.0"
}
},
{
"identity" : "splash",
"kind" : "remoteSourceControl",
"location" : "https://github.com/JohnSundell/Splash",
"state" : {
"branch" : "master",
"revision" : "2e3f17c2d09689c8bf175c4a84ff7f2ad3353301"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version" : "1.2.2"
}
},
{
"identity" : "swift-async-algorithms",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-async-algorithms",
"state" : {
"revision" : "9cfed92b026c524674ed869a4ff2dcfdeedf8a2a",
"version" : "0.1.0"
}
},
{
"identity" : "swift-case-paths",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-case-paths",
"state" : {
"revision" : "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984",
"version" : "0.14.1"
}
},
{
"identity" : "swift-clocks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-clocks",
"state" : {
"revision" : "f9acfa1a45f4483fe0f2c434a74e6f68f865d12d",
"version" : "0.3.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2",
"version" : "1.0.4"
}
},
{
"identity" : "swift-composable-architecture",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-composable-architecture",
"state" : {
"revision" : "89f80fe2400d21a853abc9556a060a2fa50eb2cb",
"version" : "0.55.0"
}
},
{
"identity" : "swift-custom-dump",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump",
"state" : {
"revision" : "3a35f7892e7cf6ba28a78cd46a703c0be4e0c6dc",
"version" : "0.11.0"
}
},
{
"identity" : "swift-dependencies",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-dependencies",
"state" : {
"revision" : "de1a984a71e51f6e488e98ce3652035563eb8acb",
"version" : "0.5.1"
}
},
{
"identity" : "swift-identified-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-identified-collections",
"state" : {
"revision" : "d01446a78fb768adc9a78cbb6df07767c8ccfc29",
"version" : "0.8.0"
}
},
{
"identity" : "swift-markdown-ui",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/swift-markdown-ui",
"state" : {
"revision" : "12b351a75201a8124c2f2e1f9fc6ef5cd812c0b9",
"version" : "2.1.0"
}
},
{
"identity" : "swift-parsing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-parsing",
"state" : {
"revision" : "27c941bbd22a4bbc53005a15a0440443fd892f70",
"version" : "0.12.1"
}
},
{
"identity" : "swiftsoup",
"kind" : "remoteSourceControl",
"location" : "https://github.com/scinfu/SwiftSoup.git",
"state" : {
"revision" : "0e96a20ffd37a515c5c963952d4335c89bed50a6",
"version" : "2.6.0"
}
},
{
"identity" : "swiftui-navigation",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swiftui-navigation",
"state" : {
"revision" : "2aa885e719087ee19df251c08a5980ad3e787f12",
"version" : "0.8.0"
}
},
{
"identity" : "tiktoken",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/Tiktoken",
"state" : {
"branch" : "main",
"revision" : "6a2ac324c6daec167ca95268d5a487e6de6a1cea"
}
},
{
"identity" : "usearch",
"kind" : "remoteSourceControl",
"location" : "https://github.com/unum-cloud/usearch",
"state" : {
"revision" : "f2ab884d50902c3ad63f07a3a20bc34008a17449",
"version" : "0.19.3"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "4af50b38daf0037cfbab15514a241224c3f62f98",
"version" : "0.8.5"
}
}
],
"version" : 2
}
================================================
FILE: Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/CommunicationBridge.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1540"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8738B622BE4D4B900609E7F"
BuildableName = "CommunicationBridge"
BlueprintName = "CommunicationBridge"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
viewDebuggingEnabled = "No">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8738B622BE4D4B900609E7F"
BuildableName = "CommunicationBridge"
BlueprintName = "CommunicationBridge"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8738B622BE4D4B900609E7F"
BuildableName = "CommunicationBridge"
BlueprintName = "CommunicationBridge"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/Copilot for Xcode Debug.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:TestPlan.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-_NS_4445425547 YES"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Debug"
customArchiveName = "Copilot for Xcode Debug"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/Copilot for Xcode.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:TestPlan.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-_NS_4445425547 YES"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/EditorExtension.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
wasCreatedForAppExtension = "YES"
version = "2.0">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C814588B2939EFDC00135263"
BuildableName = "Copilot.appex"
BlueprintName = "EditorExtension"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
askForAppToLaunch = "Yes"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
launchAutomaticallySubstyle = "2">
<RemoteRunnable
runnableDebuggingMode = "0"
BundleIdentifier = "com.apple.dt.Xcode"
RemotePath = "/Applications/Xcode-14.1.0.app">
</RemoteRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
askForAppToLaunch = "Yes"
launchAutomaticallySubstyle = "2">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8189B152938972F00C9DCDA"
BuildableName = "Copilot for Xcode.app"
BlueprintName = "Copilot for Xcode"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/ExtensionService.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C861E60D2994F6070056CB02"
BuildableName = "CopilotForXcodeExtensionService.app"
BlueprintName = "ExtensionService"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Service"
BuildableName = "Service"
BlueprintName = "Service"
ReferencedContainer = "container:Core">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:TestPlan.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C861E60D2994F6070056CB02"
BuildableName = "CopilotForXcodeExtensionService.app"
BlueprintName = "ExtensionService"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-_NS_4445425547 YES"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C861E60D2994F6070056CB02"
BuildableName = "CopilotForXcodeExtensionService.app"
BlueprintName = "ExtensionService"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/SandboxedClientTester.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1540"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8738B772BE5363800609E7F"
BuildableName = "SandboxedClientTester.app"
BlueprintName = "SandboxedClientTester"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8738B772BE5363800609E7F"
BuildableName = "SandboxedClientTester.app"
BlueprintName = "SandboxedClientTester"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C8738B772BE5363800609E7F"
BuildableName = "SandboxedClientTester.app"
BlueprintName = "SandboxedClientTester"
ReferencedContainer = "container:Copilot for Xcode.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Copilot for Xcode.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Playground.playground">
</FileRef>
<FileRef
location = "group:Copilot for Xcode.xcodeproj">
</FileRef>
</Workspace>
================================================
FILE: Copilot for Xcode.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: Copilot for Xcode.xcworkspace/xcshareddata/swiftpm/Package.resolved
================================================
{
"pins" : [
{
"identity" : "aexml",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tadija/AEXML.git",
"state" : {
"revision" : "db806756c989760b35108146381535aec231092b",
"version" : "4.7.0"
}
},
{
"identity" : "cgeventoverride",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/CGEventOverride",
"state" : {
"revision" : "571d36d63e68fac30e4a350600cd186697936f74",
"version" : "1.2.3"
}
},
{
"identity" : "codablewrappers",
"kind" : "remoteSourceControl",
"location" : "https://github.com/GottaGetSwifty/CodableWrappers",
"state" : {
"revision" : "4eb46a4c656333e8514db8aad204445741de7d40",
"version" : "2.0.7"
}
},
{
"identity" : "combine-schedulers",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/combine-schedulers",
"state" : {
"revision" : "5928286acce13def418ec36d05a001a9641086f2",
"version" : "1.0.3"
}
},
{
"identity" : "copilotforxcodekit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/CopilotForXcodeKit",
"state" : {
"branch" : "feature/custom-chat-tab",
"revision" : "63915ee1f8aba5375bc0f0166c8645fe81fe5b88"
}
},
{
"identity" : "fseventswrapper",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Frizlab/FSEventsWrapper",
"state" : {
"revision" : "e0c59a2ce2775e5f6642da6d19207445f10112d0",
"version" : "1.0.2"
}
},
{
"identity" : "generative-ai-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/generative-ai-swift",
"state" : {
"branch" : "support-setting-base-url",
"revision" : "12d7b30b566a64cc0dd628130bfb99a07368fea7"
}
},
{
"identity" : "glob",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Bouke/Glob",
"state" : {
"revision" : "deda6e163d2ff2a8d7e138e2c3326dbd71157faf",
"version" : "1.0.5"
}
},
{
"identity" : "highlightr",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/Highlightr",
"state" : {
"branch" : "master",
"revision" : "81d8c8b3733939bf5d9e52cd6318f944cc033bd2"
}
},
{
"identity" : "indexstore-db",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/indexstore-db.git",
"state" : {
"branch" : "release/6.1",
"revision" : "54212fce1aecb199070808bdb265e7f17e396015"
}
},
{
"identity" : "jsonrpc",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/JSONRPC",
"state" : {
"revision" : "5da978702aece6ba5c7879b0d253c180d61e4ef3",
"version" : "0.6.0"
}
},
{
"identity" : "keyboardshortcuts",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/KeyboardShortcuts",
"state" : {
"branch" : "main",
"revision" : "65fb410b0c6d3ed96623b460bab31ffce5f48b4d"
}
},
{
"identity" : "languageclient",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/LanguageClient",
"state" : {
"revision" : "f0198ee0a102d266078f7d9c28f086f2989f988a",
"version" : "0.3.1"
}
},
{
"identity" : "languageserverprotocol",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/LanguageServerProtocol",
"state" : {
"revision" : "6e97f943dc024307c5524a80bd33cdbd1cc621de",
"version" : "0.8.0"
}
},
{
"identity" : "messagepacker",
"kind" : "remoteSourceControl",
"location" : "https://github.com/hirotakan/MessagePacker.git",
"state" : {
"revision" : "4d8346c6bc579347e4df0429493760691c5aeca2",
"version" : "0.4.7"
}
},
{
"identity" : "networkimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/NetworkImage",
"state" : {
"revision" : "2849f5323265386e200484b0d0f896e73c3411b9",
"version" : "6.0.1"
}
},
{
"identity" : "operationplus",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/OperationPlus",
"state" : {
"revision" : "1340f95dce3e93d742497d88db18f8676f4badf4",
"version" : "1.6.0"
}
},
{
"identity" : "pathkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kylef/PathKit.git",
"state" : {
"revision" : "3bfd2737b700b9a36565a8c94f4ad2b050a5e574",
"version" : "1.0.1"
}
},
{
"identity" : "processenv",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/ProcessEnv",
"state" : {
"revision" : "29487b6581bb785c372c611c943541ef4309d051",
"version" : "0.3.1"
}
},
{
"identity" : "sourcekitten",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/SourceKitten",
"state" : {
"revision" : "eb6656ed26bdef967ad8d07c27e2eab34dc582f2",
"version" : "0.37.0"
}
},
{
"identity" : "sparkle",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sparkle-project/Sparkle",
"state" : {
"revision" : "0ca3004e98712ea2b39dd881d28448630cce1c99",
"version" : "2.7.0"
}
},
{
"identity" : "spectre",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kylef/Spectre.git",
"state" : {
"revision" : "26cc5e9ae0947092c7139ef7ba612e34646086c7",
"version" : "0.10.1"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version" : "1.2.2"
}
},
{
"identity" : "swift-async-algorithms",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-async-algorithms",
"state" : {
"revision" : "042e1c4d9d19748c9c228f8d4ebc97bb1e339b0b",
"version" : "1.0.4"
}
},
{
"identity" : "swift-case-paths",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-case-paths",
"state" : {
"revision" : "41b89b8b68d8c56c622dbb7132258f1a3e638b25",
"version" : "1.7.0"
}
},
{
"identity" : "swift-clocks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-clocks",
"state" : {
"revision" : "cc46202b53476d64e824e0b6612da09d84ffde8e",
"version" : "1.0.6"
}
},
{
"identity" : "swift-cmark",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-cmark",
"state" : {
"revision" : "b022b08312decdc46585e0b3440d97f6f22ef703",
"version" : "0.6.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections",
"state" : {
"revision" : "671108c96644956dddcd89dd59c203dcdb36cec7",
"version" : "1.1.4"
}
},
{
"identity" : "swift-composable-architecture",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-composable-architecture",
"state" : {
"revision" : "69247baf7be2fd6f5820192caef0082d01849cd0",
"version" : "1.16.1"
}
},
{
"identity" : "swift-concurrency-extras",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-concurrency-extras",
"state" : {
"revision" : "82a4ae7170d98d8538ec77238b7eb8e7199ef2e8",
"version" : "1.3.1"
}
},
{
"identity" : "swift-custom-dump",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump",
"state" : {
"revision" : "82645ec760917961cfa08c9c0c7104a57a0fa4b1",
"version" : "1.3.3"
}
},
{
"identity" : "swift-dependencies",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-dependencies",
"state" : {
"revision" : "4c90d6b2b9bf0911af87b103bb40f41771891596",
"version" : "1.9.2"
}
},
{
"identity" : "swift-identified-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-identified-collections",
"state" : {
"revision" : "322d9ffeeba85c9f7c4984b39422ec7cc3c56597",
"version" : "1.1.1"
}
},
{
"identity" : "swift-markdown-ui",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/swift-markdown-ui",
"state" : {
"revision" : "5f613358148239d0292c0cef674a3c2314737f9e",
"version" : "2.4.1"
}
},
{
"identity" : "swift-navigation",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-navigation",
"state" : {
"revision" : "db6bc9dbfed001f21e6728fd36413d9342c235b4",
"version" : "2.3.0"
}
},
{
"identity" : "swift-parsing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-parsing",
"state" : {
"revision" : "3432cb81164dd3d69a75d0d63205be5fbae2c34b",
"version" : "0.14.1"
}
},
{
"identity" : "swift-perception",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-perception",
"state" : {
"revision" : "d924c62a70fca5f43872f286dbd7cef0957f1c01",
"version" : "1.6.0"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"state" : {
"revision" : "0687f71944021d616d34d922343dcef086855920",
"version" : "600.0.1"
}
},
{
"identity" : "swiftsoup",
"kind" : "remoteSourceControl",
"location" : "https://github.com/scinfu/SwiftSoup.git",
"state" : {
"revision" : "8b6cf29eead8841a1fa7822481cb3af4ddaadba6",
"version" : "2.6.1"
}
},
{
"identity" : "swiftterm",
"kind" : "remoteSourceControl",
"location" : "https://github.com/migueldeicaza/SwiftTerm",
"state" : {
"revision" : "e2b431dbf73f775fb4807a33e4572ffd3dc6933a",
"version" : "1.2.5"
}
},
{
"identity" : "swifttreesitter",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/SwiftTreeSitter.git",
"state" : {
"branch" : "main",
"revision" : "fd499bfafcccfae12a1a579dc922d8418025a35d"
}
},
{
"identity" : "swiftui-introspect",
"kind" : "remoteSourceControl",
"location" : "https://github.com/siteline/swiftui-introspect",
"state" : {
"revision" : "807f73ce09a9b9723f12385e592b4e0aaebd3336",
"version" : "1.3.0"
}
},
{
"identity" : "swxmlhash",
"kind" : "remoteSourceControl",
"location" : "https://github.com/drmohundro/SWXMLHash.git",
"state" : {
"revision" : "a853604c9e9a83ad9954c7e3d2a565273982471f",
"version" : "7.0.2"
}
},
{
"identity" : "tiktoken",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/Tiktoken",
"state" : {
"branch" : "main",
"revision" : "6a2ac324c6daec167ca95268d5a487e6de6a1cea"
}
},
{
"identity" : "tree-sitter-objc",
"kind" : "remoteSourceControl",
"location" : "https://github.com/lukepistrol/tree-sitter-objc",
"state" : {
"branch" : "feature/spm",
"revision" : "1b54ef0b5efddddf393b45e173788499cc572048"
}
},
{
"identity" : "usearch",
"kind" : "remoteSourceControl",
"location" : "https://github.com/unum-cloud/usearch",
"state" : {
"revision" : "f2ab884d50902c3ad63f07a3a20bc34008a17449",
"version" : "0.19.3"
}
},
{
"identity" : "xcodeproj",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tuist/XcodeProj.git",
"state" : {
"revision" : "b1caa062d4aaab3e3d2bed5fe0ac5f8ce9bf84f4",
"version" : "8.27.7"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "39de59b2d47f7ef3ca88a039dff3084688fe27f4",
"version" : "1.5.2"
}
},
{
"identity" : "yams",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "b4b8042411dc7bbb696300a34a4bf3ba1b7ad19b",
"version" : "5.3.1"
}
}
],
"version" : 2
}
================================================
FILE: Copilot-for-Xcode-Info.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>APPLICATION_SUPPORT_FOLDER</key>
<string>$(APPLICATION_SUPPORT_FOLDER)</string>
<key>APP_ID_PREFIX</key>
<string>$(AppIdentifierPrefix)</string>
<key>BUNDLE_IDENTIFIER_BASE</key>
<string>$(BUNDLE_IDENTIFIER_BASE)</string>
<key>EXTENSION_BUNDLE_NAME</key>
<string>$(EXTENSION_BUNDLE_NAME)</string>
<key>HOST_APP_NAME</key>
<string>$(HOST_APP_NAME)</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>SUEnableJavaScript</key>
<string>YES</string>
<key>SUFeedURL</key>
<string>$(SPARKLE_FEED_URL)</string>
<key>SUPublicEDKey</key>
<string>$(SPARKLE_PUBLIC_KEY)</string>
<key>TEAM_ID_PREFIX</key>
<string>$(TeamIdentifierPrefix)</string>
</dict>
</plist>
================================================
FILE: Core/.gitignore
================================================
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
================================================
FILE: Core/.swiftpm/xcode/xcshareddata/xcschemes/Client.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1540"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Client"
BuildableName = "Client"
BlueprintName = "Client"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Client"
BuildableName = "Client"
BlueprintName = "Client"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Core/.swiftpm/xcode/xcshareddata/xcschemes/HostApp.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1540"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "HostApp"
BuildableName = "HostApp"
BlueprintName = "HostApp"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "HostApp"
BuildableName = "HostApp"
BlueprintName = "HostApp"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Core/.swiftpm/xcode/xcshareddata/xcschemes/Service.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Service"
BuildableName = "Service"
BlueprintName = "Service"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ServiceTests"
BuildableName = "ServiceTests"
BlueprintName = "ServiceTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Service"
BuildableName = "Service"
BlueprintName = "Service"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Core/.swiftpm/xcode/xcshareddata/xcschemes/SuggestionInjector.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SuggestionInjector"
BuildableName = "SuggestionInjector"
BlueprintName = "SuggestionInjector"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SuggestionInjectorTests"
BuildableName = "SuggestionInjectorTests"
BlueprintName = "SuggestionInjectorTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SuggestionInjector"
BuildableName = "SuggestionInjector"
BlueprintName = "SuggestionInjector"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Core/Package.resolved
================================================
{
"pins" : [
{
"identity" : "codablewrappers",
"kind" : "remoteSourceControl",
"location" : "https://github.com/GottaGetSwifty/CodableWrappers",
"state" : {
"revision" : "4eb46a4c656333e8514db8aad204445741de7d40",
"version" : "2.0.7"
}
},
{
"identity" : "combine-schedulers",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/combine-schedulers",
"state" : {
"revision" : "ec62f32d21584214a4b27c8cee2b2ad70ab2c38a",
"version" : "0.11.0"
}
},
{
"identity" : "fseventswrapper",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Frizlab/FSEventsWrapper",
"state" : {
"revision" : "e0c59a2ce2775e5f6642da6d19207445f10112d0",
"version" : "1.0.2"
}
},
{
"identity" : "glob",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Bouke/Glob",
"state" : {
"revision" : "deda6e163d2ff2a8d7e138e2c3326dbd71157faf",
"version" : "1.0.5"
}
},
{
"identity" : "highlightr",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/Highlightr",
"state" : {
"branch" : "bump-highlight-js-version",
"revision" : "4ffbb1b0b721378263297cafea6f2838044eb1eb"
}
},
{
"identity" : "jsonrpc",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/JSONRPC",
"state" : {
"revision" : "5da978702aece6ba5c7879b0d253c180d61e4ef3",
"version" : "0.6.0"
}
},
{
"identity" : "languageclient",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/LanguageClient",
"state" : {
"revision" : "f0198ee0a102d266078f7d9c28f086f2989f988a",
"version" : "0.3.1"
}
},
{
"identity" : "languageserverprotocol",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/LanguageServerProtocol",
"state" : {
"revision" : "6e97f943dc024307c5524a80bd33cdbd1cc621de",
"version" : "0.8.0"
}
},
{
"identity" : "operationplus",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/OperationPlus",
"state" : {
"revision" : "1340f95dce3e93d742497d88db18f8676f4badf4",
"version" : "1.6.0"
}
},
{
"identity" : "processenv",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/ProcessEnv",
"state" : {
"revision" : "29487b6581bb785c372c611c943541ef4309d051",
"version" : "0.3.1"
}
},
{
"identity" : "sparkle",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sparkle-project/Sparkle",
"state" : {
"revision" : "631846cc829f0f0cae327df9bafe5a32b7ddadce",
"version" : "2.4.0"
}
},
{
"identity" : "swift-async-algorithms",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-async-algorithms",
"state" : {
"revision" : "9cfed92b026c524674ed869a4ff2dcfdeedf8a2a",
"version" : "0.1.0"
}
},
{
"identity" : "swift-case-paths",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-case-paths",
"state" : {
"revision" : "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984",
"version" : "0.14.1"
}
},
{
"identity" : "swift-clocks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-clocks",
"state" : {
"revision" : "0fbaebfc013715dab44d715a4d350ba37f297e4d",
"version" : "0.4.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2",
"version" : "1.0.4"
}
},
{
"identity" : "swift-composable-architecture",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-composable-architecture",
"state" : {
"revision" : "9f4202ab5b8422aa90f0ed983bf7652c3af7abf0",
"version" : "0.59.0"
}
},
{
"identity" : "swift-concurrency-extras",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-concurrency-extras",
"state" : {
"revision" : "479750bd98fac2e813fffcf2af0728b5b0085795",
"version" : "0.1.1"
}
},
{
"identity" : "swift-custom-dump",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump",
"state" : {
"revision" : "4a87bb75be70c983a9548597e8783236feb3401e",
"version" : "0.11.1"
}
},
{
"identity" : "swift-dependencies",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-dependencies",
"state" : {
"revision" : "16fd42ae04c6e7f74a6a86395d04722c641cccee",
"version" : "0.6.0"
}
},
{
"identity" : "swift-identified-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-identified-collections",
"state" : {
"revision" : "d01446a78fb768adc9a78cbb6df07767c8ccfc29",
"version" : "0.8.0"
}
},
{
"identity" : "swift-markdown-ui",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/swift-markdown-ui",
"state" : {
"revision" : "12b351a75201a8124c2f2e1f9fc6ef5cd812c0b9",
"version" : "2.1.0"
}
},
{
"identity" : "swift-parsing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-parsing",
"state" : {
"revision" : "27c941bbd22a4bbc53005a15a0440443fd892f70",
"version" : "0.12.1"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"state" : {
"branch" : "main",
"revision" : "e149b01cfd3e96240e102729697e2095c19157ef"
}
},
{
"identity" : "swiftsoup",
"kind" : "remoteSourceControl",
"location" : "https://github.com/scinfu/SwiftSoup.git",
"state" : {
"revision" : "8b6cf29eead8841a1fa7822481cb3af4ddaadba6",
"version" : "2.6.1"
}
},
{
"identity" : "swifttreesitter",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/SwiftTreeSitter",
"state" : {
"revision" : "a9b1335d5151b62b11f07599bd07d07dc5965de3",
"version" : "0.7.2"
}
},
{
"identity" : "swiftui-navigation",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swiftui-navigation",
"state" : {
"revision" : "2aa885e719087ee19df251c08a5980ad3e787f12",
"version" : "0.8.0"
}
},
{
"identity" : "tiktoken",
"kind" : "remoteSourceControl",
"location" : "https://github.com/intitni/Tiktoken",
"state" : {
"branch" : "main",
"revision" : "6a2ac324c6daec167ca95268d5a487e6de6a1cea"
}
},
{
"identity" : "tree-sitter-objc",
"kind" : "remoteSourceControl",
"location" : "https://github.com/lukepistrol/tree-sitter-objc",
"state" : {
"branch" : "feature/spm",
"revision" : "1b54ef0b5efddddf393b45e173788499cc572048"
}
},
{
"identity" : "tree-sitter-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/alex-pinkus/tree-sitter-swift",
"state" : {
"branch" : "with-generated-files",
"revision" : "eda05af7ac41adb4eb19c346883c0fa32fe3bdd8"
}
},
{
"identity" : "usearch",
"kind" : "remoteSourceControl",
"location" : "https://github.com/unum-cloud/usearch",
"state" : {
"revision" : "33c53288b44ccb55de77776820676132a6e4c42a",
"version" : "0.23.0"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "50843cbb8551db836adec2290bb4bc6bac5c1865",
"version" : "0.9.0"
}
}
],
"version" : 2
}
================================================
FILE: Core/Package.swift
================================================
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import Foundation
import PackageDescription
// MARK: - Package
let package = Package(
name: "Core",
platforms: [.macOS(.v13)],
products: [
.library(
name: "Service",
targets: [
"Service",
"FileChangeChecker",
"LaunchAgentManager",
"UpdateChecker",
]
),
.library(
name: "Client",
targets: [
"Client",
]
),
.library(
name: "HostApp",
targets: [
"HostApp",
"Client",
"LaunchAgentManager",
"UpdateChecker",
]
),
],
dependencies: [
.package(path: "../Tool"),
.package(path: "../ChatPlugins"),
.package(path: "../OverlayWindow"),
.package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"),
.package(url: "https://github.com/gonzalezreal/swift-markdown-ui", from: "2.4.1"),
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.6.4"),
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.12.1"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.0.0"),
.package(
url: "https://github.com/pointfreeco/swift-composable-architecture",
exact: "1.16.1"
),
// quick hack to support custom UserDefaults
// https://github.com/sindresorhus/KeyboardShortcuts
.package(url: "https://github.com/intitni/KeyboardShortcuts", branch: "main"),
.package(url: "https://github.com/intitni/CGEventOverride", from: "1.2.1"),
.package(url: "https://github.com/intitni/Highlightr", branch: "master"),
].pro,
targets: [
// MARK: - Main
.target(
name: "Client",
dependencies: [
.product(name: "XPCShared", package: "Tool"),
.product(name: "SuggestionProvider", package: "Tool"),
.product(name: "SuggestionBasic", package: "Tool"),
.product(name: "Logger", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
].proCore([
"LicenseManagement",
])
),
.target(
name: "Service",
dependencies: [
"SuggestionWidget",
"SuggestionService",
"ChatService",
"PromptToCodeService",
"ServiceUpdateMigration",
"ChatGPTChatTab",
"PlusFeatureFlag",
"KeyBindingManager",
"XcodeThemeController",
.product(name: "XPCShared", package: "Tool"),
.product(name: "SuggestionProvider", package: "Tool"),
.product(name: "Workspace", package: "Tool"),
.product(name: "WorkspaceSuggestionService", package: "Tool"),
.product(name: "UserDefaultsObserver", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
.product(name: "SuggestionBasic", package: "Tool"),
.product(name: "PromptToCode", package: "Tool"),
.product(name: "ChatTab", package: "Tool"),
.product(name: "Logger", package: "Tool"),
.product(name: "OpenAIService", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
.product(name: "CommandHandler", package: "Tool"),
.product(name: "OverlayWindow", package: "OverlayWindow"),
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "Dependencies", package: "swift-dependencies"),
.product(name: "KeyboardShortcuts", package: "KeyboardShortcuts"),
.product(name: "CustomCommandTemplateProcessor", package: "Tool"),
].pro([
"ProService",
])
),
.testTarget(
name: "ServiceTests",
dependencies: [
"Service",
"Client",
.product(name: "XPCShared", package: "Tool"),
.product(name: "SuggestionProvider", package: "Tool"),
.product(name: "SuggestionBasic", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
]
),
// MARK: - Host App
.target(
name: "HostApp",
dependencies: [
"Client",
"LaunchAgentManager",
"PlusFeatureFlag",
.product(name: "SuggestionProvider", package: "Tool"),
.product(name: "Toast", package: "Tool"),
.product(name: "SharedUIComponents", package: "Tool"),
.product(name: "SuggestionBasic", package: "Tool"),
.product(name: "WebSearchService", package: "Tool"),
.product(name: "MarkdownUI", package: "swift-markdown-ui"),
.product(name: "OpenAIService", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "KeyboardShortcuts", package: "KeyboardShortcuts"),
].pro([
"ProHostApp",
])
),
// MARK: - Suggestion Service
.target(
name: "SuggestionService",
dependencies: [
.product(name: "UserDefaultsObserver", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
.product(name: "SuggestionBasic", package: "Tool"),
.product(name: "SuggestionProvider", package: "Tool"),
].pro([
"ProExtension",
])
),
// MARK: - Prompt To Code
.target(
name: "PromptToCodeService",
dependencies: [
.product(name: "PromptToCode", package: "Tool"),
.product(name: "FocusedCodeFinder", package: "Tool"),
.product(name: "SuggestionBasic", package: "Tool"),
.product(name: "OpenAIService", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
].pro([
"ProService",
])
),
.testTarget(name: "PromptToCodeServiceTests", dependencies: ["PromptToCodeService"]),
// MARK: - Chat
.target(
name: "ChatService",
dependencies: [
"LegacyChatPlugin",
// context collectors
"WebChatContextCollector",
"SystemInfoChatContextCollector",
.product(name: "ChatContextCollector", package: "Tool"),
.product(name: "PromptToCode", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
.product(name: "OpenAIService", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
.product(name: "CustomCommandTemplateProcessor", package: "Tool"),
.product(name: "ChatPlugins", package: "ChatPlugins"),
.product(name: "Parsing", package: "swift-parsing"),
].pro([
"ProService",
])
),
.testTarget(name: "ChatServiceTests", dependencies: ["ChatService"]),
.target(
name: "LegacyChatPlugin",
dependencies: [
.product(name: "AppMonitoring", package: "Tool"),
.product(name: "OpenAIService", package: "Tool"),
.product(name: "Terminal", package: "Tool"),
]
),
.target(
name: "ChatGPTChatTab",
dependencies: [
"ChatService",
.product(name: "SharedUIComponents", package: "Tool"),
.product(name: "OpenAIService", package: "Tool"),
.product(name: "Logger", package: "Tool"),
.product(name: "ChatTab", package: "Tool"),
.product(name: "Terminal", package: "Tool"),
.product(name: "MarkdownUI", package: "swift-markdown-ui"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
]
),
// MARK: - UI
.target(
name: "SuggestionWidget",
dependencies: [
"PromptToCodeService",
"ChatGPTChatTab",
.product(name: "PromptToCode", package: "Tool"),
.product(name: "Toast", package: "Tool"),
.product(name: "UserDefaultsObserver", package: "Tool"),
.product(name: "SharedUIComponents", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
.product(name: "ChatTab", package: "Tool"),
.product(name: "Logger", package: "Tool"),
.product(name: "CustomAsyncAlgorithms", package: "Tool"),
.product(name: "CodeDiff", package: "Tool"),
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
.product(name: "MarkdownUI", package: "swift-markdown-ui"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
]
),
.testTarget(name: "SuggestionWidgetTests", dependencies: ["SuggestionWidget"]),
// MARK: - Helpers
.target(name: "FileChangeChecker"),
.target(name: "LaunchAgentManager"),
.target(
name: "UpdateChecker",
dependencies: [
"Sparkle",
.product(name: "Preferences", package: "Tool"),
.product(name: "Logger", package: "Tool"),
]
),
.target(
name: "ServiceUpdateMigration",
dependencies: [
.product(name: "SuggestionProvider", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
.product(name: "Keychain", package: "Tool"),
]
),
.testTarget(
name: "ServiceUpdateMigrationTests",
dependencies: [
"ServiceUpdateMigration",
]
),
.target(
name: "PlusFeatureFlag",
dependencies: [
].pro([
"LicenseManagement",
])
),
// MAKR: - Chat Context Collector
.target(
name: "WebChatContextCollector",
dependencies: [
.product(name: "ChatContextCollector", package: "Tool"),
.product(name: "LangChain", package: "Tool"),
.product(name: "OpenAIService", package: "Tool"),
.product(name: "ExternalServices", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
],
path: "Sources/ChatContextCollectors/WebChatContextCollector"
),
.target(
name: "SystemInfoChatContextCollector",
dependencies: [
.product(name: "ChatContextCollector", package: "Tool"),
.product(name: "OpenAIService", package: "Tool"),
],
path: "Sources/ChatContextCollectors/SystemInfoChatContextCollector"
),
// MARK: Key Binding
.target(
name: "KeyBindingManager",
dependencies: [
.product(name: "CommandHandler", package: "Tool"),
.product(name: "Workspace", package: "Tool"),
.product(name: "Preferences", package: "Tool"),
.product(name: "Logger", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
.product(name: "UserDefaultsObserver", package: "Tool"),
.product(name: "CGEventOverride", package: "CGEventOverride"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
]
),
.testTarget(
name: "KeyBindingManagerTests",
dependencies: ["KeyBindingManager"]
),
// MARK: Theming
.target(
name: "XcodeThemeController",
dependencies: [
.product(name: "Preferences", package: "Tool"),
.product(name: "AppMonitoring", package: "Tool"),
.product(name: "Highlightr", package: "Highlightr"),
]
),
]
)
extension [Target.Dependency] {
func pro(_ targetNames: [String]) -> [Target.Dependency] {
if isProIncluded {
return self + targetNames.map { Target.Dependency.product(name: $0, package: "Pro") }
}
return self
}
func proCore(_ targetNames: [String]) -> [Target.Dependency] {
if isProIncluded {
return self + targetNames
.map { Target.Dependency.product(name: $0, package: "ProCore") }
}
return self
}
}
extension [Package.Dependency] {
var pro: [Package.Dependency] {
if isProIncluded {
return self + [.package(path: "../../Pro"), .package(path: "../../Pro/ProCore")]
}
return self
}
}
var isProIncluded: Bool {
func isProIncluded(file: StaticString = #file) -> Bool {
let filePath = "\(file)"
let fileURL = URL(fileURLWithPath: filePath)
let rootURL = fileURL
.deletingLastPathComponent()
.deletingLastPathComponent()
.deletingLastPathComponent()
let confURL = rootURL.appendingPathComponent("PLUS")
return FileManager.default.fileExists(atPath: confURL.path)
}
return isProIncluded()
}
================================================
FILE: Core/README.md
================================================
# Core
A description of this package.
================================================
FILE: Core/Sources/ChatContextCollectors/SystemInfoChatContextCollector/SystemInfoChatContextCollector.swift
================================================
import ChatContextCollector
import Foundation
import OpenAIService
public final class SystemInfoChatContextCollector: ChatContextCollector {
static let dateFormatter: DateFormatter = {
let formatter = DateFormatter()
formatter.dateFormat = "EEEE, yyyy-MM-dd HH:mm:ssZ"
return formatter
}()
public init() {}
public func generateContext(
history: [ChatMessage],
scopes: Set<ChatContext.Scope>,
content: String,
configuration: ChatGPTConfiguration
) -> ChatContext {
return .init(
systemPrompt: """
## System Info
Current Time: \(
Self.dateFormatter.string(from: Date())
) (You can use it to calculate time in another time zone)
""",
retrievedContent: [],
functions: []
)
}
}
================================================
FILE: Core/Sources/ChatContextCollectors/WebChatContextCollector/QueryWebsiteFunction.swift
================================================
import ChatBasic
import Foundation
import LangChain
import OpenAIService
import Preferences
struct QueryWebsiteFunction: ChatGPTFunction {
struct Arguments: Codable {
var query: String
var urls: [String]
}
struct Result: ChatGPTFunctionResult {
var answers: [String]
var botReadableContent: String {
return answers.joined(separator: "\n")
}
var userReadableContent: ChatGPTFunctionResultUserReadableContent {
.text(botReadableContent)
}
}
var name: String {
"queryWebsite"
}
var description: String {
"Useful for when you need to answer a question using information from a website."
}
var argumentSchema: JSONSchemaValue {
return [
.type: "object",
.properties: [
"query": [
.type: "string",
.description: "things you want to know about the website",
],
"urls": [
.type: "array",
.description: "urls of the website, you can use urls appearing in the conversation",
.items: [
.type: "string",
],
],
],
.required: ["query", "urls"],
]
}
func prepare(reportProgress: @escaping (String) async -> Void) async {
await reportProgress("Reading..")
}
func call(
arguments: Arguments,
reportProgress: @escaping (String) async -> Void
) async throws -> Result {
do {
let configuration = UserPreferenceEmbeddingConfiguration()
let embedding = OpenAIEmbedding(configuration: configuration)
let dimensions = configuration.dimensions
let modelName = configuration.model?.name ?? "model"
let result = try await withThrowingTaskGroup(of: String.self) { group in
for urlString in arguments.urls {
let storeIdentifier = "\(urlString)-\(modelName)-\(dimensions)"
guard let url = URL(string: urlString) else { continue }
group.addTask {
// 1. grab the website content
await reportProgress("Loading \(url)..")
if let database = await TemporaryUSearch.view(
identifier: storeIdentifier,
dimensions: dimensions
) {
await reportProgress("Getting relevant information..")
let qa = QAInformationRetrievalChain(
vectorStore: database,
embedding: embedding
)
return try await qa.call(.init(arguments.query)).information
}
let loader = WebLoader(urls: [url])
let documents = try await loader.load()
await reportProgress("Processing \(url)..")
// 2. split the content
let splitter = RecursiveCharacterTextSplitter(
chunkSize: 1500,
chunkOverlap: 100
)
let splitDocuments = try await splitter.transformDocuments(documents)
// 3. embedding and store in db
await reportProgress("Embedding \(url)..")
let embeddedDocuments = try await embedding.embed(documents: splitDocuments)
let database = TemporaryUSearch(
identifier: storeIdentifier,
dimensions: dimensions
)
try await database.set(embeddedDocuments)
// 4. generate answer
await reportProgress("Getting relevant information..")
let qa = QAInformationRetrievalChain(
vectorStore: database,
embedding: embedding
)
let result = try await qa.call(.init(arguments.query))
return result.information
}
}
var all = [String]()
for try await result in group {
all.append(result)
}
await reportProgress("""
Finish reading websites.
\(
arguments.urls
.map { "- [\($0)](\($0))" }
.joined(separator: "\n")
)
""")
return all
}
return .init(answers: result)
} catch {
await reportProgress("Failed reading websites.")
throw error
}
}
}
================================================
FILE: Core/Sources/ChatContextCollectors/WebChatContextCollector/SearchFunction.swift
================================================
import ChatBasic
import Foundation
import OpenAIService
import Preferences
import WebSearchService
struct SearchFunction: ChatGPTFunction {
static let dateFormatter = {
let it = DateFormatter()
it.dateFormat = "yyyy-MM-dd"
return it
}()
struct Arguments: Codable {
var query: String
var freshness: String?
}
struct Result: ChatGPTFunctionResult {
var result: WebSearchResult
var botReadableContent: String {
result.webPages.enumerated().map {
let (index, page) = $0
return """
\(index + 1). \(page.title) \(page.urlString)
\(page.snippet)
"""
}.joined(separator: "\n")
}
var userReadableContent: ChatGPTFunctionResultUserReadableContent {
.text(botReadableContent)
}
}
let maxTokens: Int
var name: String {
"searchWeb"
}
var description: String {
"Useful for when you need to answer questions about latest information."
}
var argumentSchema: JSONSchemaValue {
let today = Self.dateFormatter.string(from: Date())
return [
.type: "object",
.properties: [
"query": [
.type: "string",
.description: "the search query",
],
"freshness": [
.type: "string",
.description: .string(
"limit the search result to a specific range, use only when I ask the question about current events. Today is \(today). Format: yyyy-MM-dd..yyyy-MM-dd"
),
.examples: ["1919-10-20..1988-10-20"],
],
],
.required: ["query"],
]
}
func prepare(reportProgress: @escaping ReportProgress) async {
await reportProgress("Searching..")
}
func call(
arguments: Arguments,
reportProgress: @escaping ReportProgress
) async throws -> Result {
await reportProgress("Searching \(arguments.query)")
do {
let search = WebSearchService(provider: .userPreferred)
let result = try await search.search(query: arguments.query)
await reportProgress("""
Finish searching \(arguments.query)
\(
result.webPages
.map { "- [\($0.title)](\($0.urlString))" }
.joined(separator: "\n")
)
""")
return .init(result: result)
} catch {
await reportProgress("Failed searching: \(error.localizedDescription)")
throw error
}
}
}
================================================
FILE: Core/Sources/ChatContextCollectors/WebChatContextCollector/WebChatContextCollector.swift
================================================
import ChatBasic
import ChatContextCollector
import Foundation
import OpenAIService
public final class WebChatContextCollector: ChatContextCollector {
var recentLinks = [String]()
public init() {}
public func generateContext(
history: [ChatMessage],
scopes: Set<ChatContext.Scope>,
content: String,
configuration: ChatGPTConfiguration
) -> ChatContext {
guard scopes.contains(.web) else { return .empty }
let links = Self.detectLinks(from: history) + Self.detectLinks(from: content)
let functions: [(any ChatGPTFunction)?] = [
SearchFunction(maxTokens: configuration.maxTokens),
// allow this function only when there is a link in the memory.
links.isEmpty ? nil : QueryWebsiteFunction(),
]
return .init(
systemPrompt: "You prefer to answer questions with latest content on the internet.",
retrievedContent: [],
functions: functions.compactMap { $0 }
)
}
}
extension WebChatContextCollector {
static func detectLinks(from messages: [ChatMessage]) -> [String] {
return messages.lazy
.compactMap {
$0.content ?? $0.toolCalls?.map(\.function.arguments).joined(separator: " ") ?? ""
}
.map(detectLinks(from:))
.flatMap { $0 }
}
static func detectLinks(from content: String) -> [String] {
var links = [String]()
let detector = try? NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue)
let matches = detector?.matches(
in: content,
options: [],
range: NSRange(content.startIndex..., in: content)
)
for match in matches ?? [] {
guard let range = Range(match.range, in: content) else { continue }
let url = content[range]
links.append(String(url))
}
return links
}
}
================================================
FILE: Core/Sources/ChatGPTChatTab/Chat.swift
================================================
import AppKit
import ChatBasic
import ChatService
import ComposableArchitecture
import Foundation
import MarkdownUI
import OpenAIService
import Preferences
import Terminal
public struct DisplayedChatMessage: Equatable {
public enum Role: Equatable {
case user
case assistant
case tool
case ignored
}
public struct Reference: Equatable {
public typealias Kind = ChatMessage.Reference.Kind
public var title: String
public var subtitle: String
public var uri: String
public var startLine: Int?
public var kind: Kind
public init(
title: String,
subtitle: String,
uri: String,
startLine: Int?,
kind: Kind
) {
self.title = title
self.subtitle = subtitle
self.uri = uri
self.startLine = startLine
self.kind = kind
}
}
public var id: String
public var role: Role
public var text: String
public var markdownContent: MarkdownContent
public var references: [Reference] = []
public init(id: String, role: Role, text: String, references: [Reference]) {
self.id = id
self.role = role
self.text = text
markdownContent = .init(text)
self.references = references
}
}
private var isPreview: Bool {
ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
}
@Reducer
struct Chat {
public typealias MessageID = String
@ObservableState
struct State: Equatable {
var title: String = "Chat"
var typedMessage = ""
var history: [DisplayedChatMessage] = []
var isReceivingMessage = false
var chatMenu = ChatMenu.State()
var focusedField: Field?
var isEnabled = true
var isPinnedToBottom = true
enum Field: String, Hashable {
case textField
}
}
enum Action: Equatable, BindableAction {
case binding(BindingAction<State>)
case appear
case refresh
case setIsEnabled(Bool)
case sendButtonTapped
case returnButtonTapped
case stopRespondingButtonTapped
case clearButtonTap
case deleteMessageButtonTapped(MessageID)
case resendMessageButtonTapped(MessageID)
case setAsExtraPromptButtonTapped(MessageID)
case manuallyScrolledUp
case scrollToBottomButtonTapped
case focusOnTextField
case referenceClicked(DisplayedChatMessage.Reference)
case observeChatService
case observeHistoryChange
case observeIsReceivingMessageChange
case observeSystemPromptChange
case observeExtraSystemPromptChange
case observeDefaultScopesChange
case historyChanged
case isReceivingMessageChanged
case systemPromptChanged
case extraSystemPromptChanged
case defaultScopesChanged
case chatMenu(ChatMenu.Action)
}
let service: ChatService
let id = UUID()
enum CancelID: Hashable {
case observeHistoryChange(UUID)
case observeIsReceivingMessageChange(UUID)
case observeSystemPromptChange(UUID)
case observeExtraSystemPromptChange(UUID)
case observeDefaultScopesChange(UUID)
case sendMessage(UUID)
}
var body: some Red
gitextract_zonbntg8/ ├── .github/ │ ├── FUNDING.yml │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.yaml │ │ ├── feature_reqeust.yaml │ │ ├── help_wanted.yml │ │ └── z_bug_report_beta.yaml │ └── workflows/ │ └── close_inactive_issues.yml ├── .gitignore ├── .gitmodules ├── .swiftformat ├── ChatPlugins/ │ ├── .gitignore │ ├── .swiftpm/ │ │ └── xcode/ │ │ └── xcshareddata/ │ │ └── xcschemes/ │ │ └── ChatPlugins.xcscheme │ ├── Package.swift │ ├── Sources/ │ │ ├── ShortcutChatPlugin/ │ │ │ └── ShortcutChatPlugin.swift │ │ └── TerminalChatPlugin/ │ │ └── TerminalChatPlugin.swift │ └── Tests/ │ └── ChatPluginsTests/ │ └── ChatPluginsTests.swift ├── CommunicationBridge/ │ ├── ServiceDelegate.swift │ └── main.swift ├── Config.debug.xcconfig ├── Config.xcconfig ├── Copilot for Xcode/ │ ├── App.swift │ ├── Assets.xcassets/ │ │ ├── AccentColor.colorset/ │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ ├── BackgroundColor.colorset/ │ │ │ └── Contents.json │ │ ├── BackgroundColorTop.colorset/ │ │ │ └── Contents.json │ │ ├── ButtonBackgroundColorDefault.colorset/ │ │ │ └── Contents.json │ │ ├── ButtonBackgroundColorPressed.colorset/ │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Copilot_for_Xcode.entitlements │ └── Preview Content/ │ └── Preview Assets.xcassets/ │ └── Contents.json ├── Copilot for Xcode.xcodeproj/ │ ├── project.pbxproj │ ├── project.xcworkspace/ │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata/ │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm/ │ │ └── Package.resolved │ └── xcshareddata/ │ └── xcschemes/ │ ├── CommunicationBridge.xcscheme │ ├── Copilot for Xcode Debug.xcscheme │ ├── Copilot for Xcode.xcscheme │ ├── EditorExtension.xcscheme │ ├── ExtensionService.xcscheme │ └── SandboxedClientTester.xcscheme ├── Copilot for Xcode.xcworkspace/ │ ├── contents.xcworkspacedata │ └── xcshareddata/ │ ├── IDEWorkspaceChecks.plist │ └── swiftpm/ │ └── Package.resolved ├── Copilot-for-Xcode-Info.plist ├── Core/ │ ├── .gitignore │ ├── .swiftpm/ │ │ └── xcode/ │ │ └── xcshareddata/ │ │ └── xcschemes/ │ │ ├── Client.xcscheme │ │ ├── HostApp.xcscheme │ │ ├── Service.xcscheme │ │ └── SuggestionInjector.xcscheme │ ├── Package.resolved │ ├── Package.swift │ ├── README.md │ ├── Sources/ │ │ ├── ChatContextCollectors/ │ │ │ ├── SystemInfoChatContextCollector/ │ │ │ │ └── SystemInfoChatContextCollector.swift │ │ │ └── WebChatContextCollector/ │ │ │ ├── QueryWebsiteFunction.swift │ │ │ ├── SearchFunction.swift │ │ │ └── WebChatContextCollector.swift │ │ ├── ChatGPTChatTab/ │ │ │ ├── Chat.swift │ │ │ ├── ChatContextMenu.swift │ │ │ ├── ChatGPTChatTab.swift │ │ │ ├── ChatPanel.swift │ │ │ ├── CodeBlockHighlighter.swift │ │ │ ├── Styles.swift │ │ │ └── Views/ │ │ │ ├── BotMessage.swift │ │ │ ├── FunctionCallMarkdownTheme.swift │ │ │ ├── FunctionMessage.swift │ │ │ ├── InstructionMarkdownTheme.swift │ │ │ ├── Instructions.swift │ │ │ ├── ThemedMarkdownText.swift │ │ │ └── UserMessage.swift │ │ ├── ChatService/ │ │ │ ├── AllContextCollector.swift │ │ │ ├── AllPlugins.swift │ │ │ ├── ChatFunctionProvider.swift │ │ │ ├── ChatPluginController.swift │ │ │ ├── ChatService.swift │ │ │ ├── ContextAwareAutoManagedChatGPTMemory.swift │ │ │ └── DynamicContextController.swift │ │ ├── Client/ │ │ │ └── XPCService.swift │ │ ├── FileChangeChecker/ │ │ │ └── FileChangeChecker.swift │ │ ├── HostApp/ │ │ │ ├── AccountSettings/ │ │ │ │ ├── APIKeyManagement/ │ │ │ │ │ ├── APIKeyManagementView.swift │ │ │ │ │ ├── APIKeyManangement.swift │ │ │ │ │ ├── APIKeyPicker.swift │ │ │ │ │ ├── APIKeySelection.swift │ │ │ │ │ └── APIKeySubmission.swift │ │ │ │ ├── ChatModelManagement/ │ │ │ │ │ ├── ChatModelEdit.swift │ │ │ │ │ ├── ChatModelEditView.swift │ │ │ │ │ ├── ChatModelManagement.swift │ │ │ │ │ └── ChatModelManagementView.swift │ │ │ │ ├── CodeiumView.swift │ │ │ │ ├── CustomHeaderSettingsView.swift │ │ │ │ ├── EmbeddingModel.swift │ │ │ │ ├── EmbeddingModelManagement/ │ │ │ │ │ ├── EmbeddingModelEdit.swift │ │ │ │ │ ├── EmbeddingModelEditView.swift │ │ │ │ │ ├── EmbeddingModelManagement.swift │ │ │ │ │ └── EmbeddingModelManagementView.swift │ │ │ │ ├── GitHubCopilotModelPicker.swift │ │ │ │ ├── GitHubCopilotView.swift │ │ │ │ ├── OtherSuggestionServicesView.swift │ │ │ │ ├── SharedModelManagement/ │ │ │ │ │ ├── AIModelManagementVIew.swift │ │ │ │ │ ├── BaseURLPicker.swift │ │ │ │ │ └── BaseURLSelection.swift │ │ │ │ └── WebSearchView.swift │ │ │ ├── CustomCommandSettings/ │ │ │ │ ├── CustomCommand.swift │ │ │ │ ├── CustomCommandView.swift │ │ │ │ ├── EditCustomCommand.swift │ │ │ │ └── EditCustomCommandView.swift │ │ │ ├── DebugView.swift │ │ │ ├── FeatureSettings/ │ │ │ │ ├── Chat/ │ │ │ │ │ ├── ChatSettingsGeneralSectionView.swift │ │ │ │ │ └── ChatSettingsView.swift │ │ │ │ ├── PromptToCodeSettingsView.swift │ │ │ │ ├── Suggestion/ │ │ │ │ │ ├── SuggestionFeatureDisabledLanguageListView.swift │ │ │ │ │ ├── SuggestionFeatureEnabledProjectListView.swift │ │ │ │ │ ├── SuggestionSettingsGeneralSectionView.swift │ │ │ │ │ └── SuggestionSettingsView.swift │ │ │ │ ├── TerminalSettingsView.swift │ │ │ │ └── XcodeSettingsView.swift │ │ │ ├── FeatureSettingsView.swift │ │ │ ├── General.swift │ │ │ ├── GeneralView.swift │ │ │ ├── HandleToast.swift │ │ │ ├── HostApp.swift │ │ │ ├── IsPreview.swift │ │ │ ├── LaunchAgentManager.swift │ │ │ ├── ServiceView.swift │ │ │ ├── SharedComponents/ │ │ │ │ ├── CodeHighlightThemePicker.swift │ │ │ │ └── EditableText.swift │ │ │ ├── SidebarTabView.swift │ │ │ └── TabContainer.swift │ │ ├── KeyBindingManager/ │ │ │ ├── KeyBindingManager.swift │ │ │ └── TabToAcceptSuggestion.swift │ │ ├── LaunchAgentManager/ │ │ │ └── LaunchAgentManager.swift │ │ ├── LegacyChatPlugin/ │ │ │ ├── AskChatGPT.swift │ │ │ ├── CallAIFunction.swift │ │ │ ├── LegacyChatPlugin.swift │ │ │ ├── TerminalChatPlugin.swift │ │ │ └── Translate.swift │ │ ├── PlusFeatureFlag/ │ │ │ └── PlusFeatureFlag.swift │ │ ├── PromptToCodeService/ │ │ │ ├── OpenAIPromptToCodeService.swift │ │ │ ├── PreviewPromptToCodeService.swift │ │ │ └── PromptToCodeServiceType.swift │ │ ├── Service/ │ │ │ ├── DependencyUpdater.swift │ │ │ ├── GUI/ │ │ │ │ ├── ChatTabFactory.swift │ │ │ │ ├── GraphicalUserInterfaceController.swift │ │ │ │ └── WidgetDataSource.swift │ │ │ ├── GlobalShortcutManager.swift │ │ │ ├── Helpers.swift │ │ │ ├── RealtimeSuggestionController.swift │ │ │ ├── ScheduledCleaner.swift │ │ │ ├── Service.swift │ │ │ ├── SuggestionCommandHandler/ │ │ │ │ ├── PseudoCommandHandler.swift │ │ │ │ ├── SuggestionCommandHandler.swift │ │ │ │ └── WindowBaseCommandHandler.swift │ │ │ ├── SuggestionPresenter/ │ │ │ │ └── PresentInWindowSuggestionPresenter.swift │ │ │ ├── WorkspaceExtension/ │ │ │ │ └── Workspace+Cleanup.swift │ │ │ └── XPCService.swift │ │ ├── ServiceUpdateMigration/ │ │ │ ├── MigrateTo135.swift │ │ │ ├── MigrateTo240.swift │ │ │ └── ServiceUpdateMigrator.swift │ │ ├── SuggestionService/ │ │ │ └── SuggestionService.swift │ │ ├── SuggestionWidget/ │ │ │ ├── ChatPanelWindow.swift │ │ │ ├── ChatWindowView.swift │ │ │ ├── FeatureReducers/ │ │ │ │ ├── ChatPanel.swift │ │ │ │ ├── CircularWidget.swift │ │ │ │ ├── PromptToCodeGroup.swift │ │ │ │ ├── PromptToCodePanel.swift │ │ │ │ ├── SharedPanel.swift │ │ │ │ ├── SuggestionPanel.swift │ │ │ │ ├── ToastPanel.swift │ │ │ │ ├── Widget.swift │ │ │ │ └── WidgetPanel.swift │ │ │ ├── ModuleDependency.swift │ │ │ ├── PromptToCodePanelGroupView.swift │ │ │ ├── SharedPanelView.swift │ │ │ ├── Styles.swift │ │ │ ├── SuggestionPanelContent/ │ │ │ │ ├── CodeBlockSuggestionPanelView.swift │ │ │ │ ├── ErrorPanelView.swift │ │ │ │ ├── PromptToCodePanelView.swift │ │ │ │ └── ToastPanelView.swift │ │ │ ├── SuggestionPanelView.swift │ │ │ ├── SuggestionWidgetController.swift │ │ │ ├── SuggestionWidgetDataSource.swift │ │ │ ├── TextCursorTracker.swift │ │ │ ├── WidgetPositionStrategy.swift │ │ │ ├── WidgetView.swift │ │ │ └── WidgetWindowsController.swift │ │ ├── UpdateChecker/ │ │ │ └── UpdateChecker.swift │ │ ├── UserDefaultsObserver/ │ │ │ └── UserDefaultsObserver.swift │ │ └── XcodeThemeController/ │ │ ├── HighlightJSThemeTemplate.swift │ │ ├── HighlightrThemeManager.swift │ │ ├── PreferenceKey+Theme.swift │ │ ├── XcodeThemeController.swift │ │ └── XcodeThemeParser.swift │ └── Tests/ │ ├── ChatServiceTests/ │ │ └── ParseScopesTests.swift │ ├── KeyBindingManagerTests/ │ │ └── TabToAcceptSuggestionTests.swift │ ├── PromptToCodeServiceTests/ │ │ └── ExtractCodeFromChatGPTTests.swift │ ├── ServiceTests/ │ │ ├── Environment.swift │ │ ├── ExtractSelectedCodeTests.swift │ │ └── FilespaceSuggestionInvalidationTests.swift │ ├── ServiceUpdateMigrationTests/ │ │ └── MigrateTo240Tests.swift │ └── SuggestionWidgetTests/ │ └── File.swift ├── DEVELOPMENT.md ├── EditorExtension/ │ ├── AcceptPromptToCodeCommand.swift │ ├── AcceptSuggestionCommand.swift │ ├── CloseIdleTabsCommand.swift │ ├── CustomCommand.swift │ ├── EditorExtension.entitlements │ ├── GetSuggestionsCommand.swift │ ├── Helpers.swift │ ├── Info.plist │ ├── NextSuggestionCommand.swift │ ├── OpenChat.swift │ ├── PrefetchSuggestionsCommand.swift │ ├── PreviousSuggestionCommand.swift │ ├── PromptToCodeCommand.swift │ ├── RealtimeSuggestionCommand.swift │ ├── RejectSuggestionCommand.swift │ ├── SeparatorCommand.swift │ ├── SourceEditorExtension.swift │ └── ToggleRealtimeSuggestionsCommand.swift ├── ExtensionPoint.appextensionpoint ├── ExtensionService/ │ ├── AppDelegate+Menu.swift │ ├── AppDelegate.swift │ ├── Assets.xcassets/ │ │ ├── AccentColor.colorset/ │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ ├── Contents.json │ │ └── MenuBarIcon.imageset/ │ │ └── Contents.json │ ├── ExtensionService.entitlements │ ├── Info.plist │ ├── Main.storyboard │ ├── ServiceDelegate.swift │ └── XPCController.swift ├── Helper/ │ ├── ReloadLaunchAgent.swift │ └── main.swift ├── LICENSE ├── OverlayWindow/ │ ├── .gitignore │ ├── Package.swift │ ├── Sources/ │ │ └── OverlayWindow/ │ │ ├── IDEWorkspaceWindowOverlayWindowController.swift │ │ ├── OverlayPanel.swift │ │ └── OverlayWindowController.swift │ └── Tests/ │ └── OverlayWindowTests/ │ └── WindowTests.swift ├── Playground.playground/ │ ├── Pages/ │ │ ├── RetrievalQAChain.xcplaygroundpage/ │ │ │ ├── Contents.swift │ │ │ └── timeline.xctimeline │ │ └── WebScrapper.xcplaygroundpage/ │ │ ├── Contents.swift │ │ └── timeline.xctimeline │ └── contents.xcplayground ├── README.md ├── SandboxedClientTester/ │ ├── Assets.xcassets/ │ │ ├── AccentColor.colorset/ │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ └── Contents.json │ ├── ContentView.swift │ ├── Info.plist │ ├── Preview Content/ │ │ └── Preview Assets.xcassets/ │ │ └── Contents.json │ ├── SandboxedClientTester.entitlements │ └── SandboxedClientTesterApp.swift ├── TestPlan.xctestplan ├── Tool/ │ ├── .gitignore │ ├── .swiftpm/ │ │ └── xcode/ │ │ └── xcshareddata/ │ │ └── xcschemes/ │ │ └── SuggestionModel.xcscheme │ ├── Package.resolved │ ├── Package.swift │ ├── README.md │ ├── Sources/ │ │ ├── AIModel/ │ │ │ ├── ChatModel.swift │ │ │ └── EmbeddingModel.swift │ │ ├── ASTParser/ │ │ │ ├── ASTParser.swift │ │ │ ├── ASTTreeVisitor.swift │ │ │ ├── DumpSyntaxTree.swift │ │ │ └── TreeCursor.swift │ │ ├── AXExtension/ │ │ │ ├── AXUIElement.swift │ │ │ └── AXUIElementPrivateAPI.swift │ │ ├── AXNotificationStream/ │ │ │ └── AXNotificationStream.swift │ │ ├── ActiveApplicationMonitor/ │ │ │ └── ActiveApplicationMonitor.swift │ │ ├── AppActivator/ │ │ │ └── AppActivator.swift │ │ ├── AsyncPassthroughSubject/ │ │ │ └── AsyncPassthroughSubject.swift │ │ ├── BuiltinExtension/ │ │ │ ├── BuiltinExtension.swift │ │ │ ├── BuiltinExtensionManager.swift │ │ │ ├── BuiltinExtensionSuggestionServiceProvider.swift │ │ │ └── BuiltinExtensionWorkspacePlugin.swift │ │ ├── ChatBasic/ │ │ │ ├── ChatAgent.swift │ │ │ ├── ChatGPTFunction.swift │ │ │ ├── ChatMessage.swift │ │ │ ├── ChatPlugin.swift │ │ │ └── JSONSchema.swift │ │ ├── ChatContextCollector/ │ │ │ └── ChatContextCollector.swift │ │ ├── ChatContextCollectors/ │ │ │ └── ActiveDocumentChatContextCollector/ │ │ │ ├── ActiveDocumentChatContextCollector.swift │ │ │ ├── Functions/ │ │ │ │ └── GetCodeCodeAroundLineFunction.swift │ │ │ ├── LegacyActiveDocumentChatContextCollector.swift │ │ │ └── ReadableCursorRange.swift │ │ ├── ChatTab/ │ │ │ ├── ChatTab.swift │ │ │ ├── ChatTabItem.swift │ │ │ └── ChatTabPool.swift │ │ ├── CodeDiff/ │ │ │ └── CodeDiff.swift │ │ ├── CodeiumService/ │ │ │ ├── ChatTab/ │ │ │ │ ├── CodeiumChatBrowser.swift │ │ │ │ ├── CodeiumChatTab.swift │ │ │ │ ├── CodeiumChatTabItem.swift │ │ │ │ ├── CodeiumChatView.swift │ │ │ │ └── CodeiumWebView.swift │ │ │ ├── CodeiumExtension.swift │ │ │ ├── CodeiumWorkspacePlugin.swift │ │ │ ├── LanguageServer/ │ │ │ │ ├── CodeiumInstallationManager.swift │ │ │ │ ├── CodeiumLanguageServer.swift │ │ │ │ ├── CodeiumModels.swift │ │ │ │ ├── CodeiumRequest.swift │ │ │ │ ├── CodeiumSupportedLanguage.swift │ │ │ │ └── OpendDocumentPool.swift │ │ │ └── Services/ │ │ │ ├── CodeiumAuthService.swift │ │ │ ├── CodeiumService.swift │ │ │ └── CodeiumSuggestionService.swift │ │ ├── CommandHandler/ │ │ │ └── CommandHandler.swift │ │ ├── Configs/ │ │ │ └── Configurations.swift │ │ ├── CustomAsyncAlgorithms/ │ │ │ └── TimedDebounce.swift │ │ ├── CustomCommandTemplateProcessor/ │ │ │ └── CustomCommandTemplateProcessor.swift │ │ ├── DebounceFunction/ │ │ │ ├── DebounceFunction.swift │ │ │ └── ThrottleFunction.swift │ │ ├── FileSystem/ │ │ │ ├── ByteString.swift │ │ │ ├── FileInfo.swift │ │ │ ├── FileSystem.swift │ │ │ ├── Lock.swift │ │ │ ├── Misc.swift │ │ │ ├── Path.swift │ │ │ ├── PathShim.swift │ │ │ └── WritableByteStream.swift │ │ ├── FocusedCodeFinder/ │ │ │ ├── ActiveDocumentContext.swift │ │ │ ├── FocusedCodeFinder.swift │ │ │ ├── KnownLanguageFocusedCodeFinder.swift │ │ │ ├── ObjectiveC/ │ │ │ │ ├── ObjectiveCCodeFinder.swift │ │ │ │ ├── ObjectiveCScopeHierarchySyntaxVisitor.swift │ │ │ │ └── ObjectiveCSyntax.swift │ │ │ ├── Swift/ │ │ │ │ ├── SwiftFocusedCodeFinder.swift │ │ │ │ └── SwiftScopeHierarchySyntaxVisitor.swift │ │ │ └── UnknownLanguageFocusCodeFinder.swift │ │ ├── GitHubCopilotService/ │ │ │ ├── GitHubCopilotExtension.swift │ │ │ ├── GitHubCopilotWorkspacePlugin.swift │ │ │ ├── LanguageServer/ │ │ │ │ ├── CopilotLocalProcessServer.swift │ │ │ │ ├── CustomStdioTransport.swift │ │ │ │ ├── GitHubCopilotAccountStatus.swift │ │ │ │ ├── GitHubCopilotInstallationManager.swift │ │ │ │ ├── GitHubCopilotRequest.swift │ │ │ │ └── GitHubCopilotService.swift │ │ │ ├── Resources/ │ │ │ │ └── load-self-signed-cert-1.34.0.js │ │ │ └── Services/ │ │ │ ├── GitHubCopilotChatService.swift │ │ │ └── GitHubCopilotSuggestionService.swift │ │ ├── GitIgnoreCheck/ │ │ │ └── GitIgnoreCheck.swift │ │ ├── JoinJSON/ │ │ │ └── JoinJSON.swift │ │ ├── Keychain/ │ │ │ └── Keychain.swift │ │ ├── LangChain/ │ │ │ ├── Agent.swift │ │ │ ├── AgentExecutor.swift │ │ │ ├── AgentTool.swift │ │ │ ├── Agents/ │ │ │ │ └── ChatAgent.swift │ │ │ ├── Callback.swift │ │ │ ├── Chain.swift │ │ │ ├── Chains/ │ │ │ │ ├── CombineAnswersChain.swift │ │ │ │ ├── LLMChain.swift │ │ │ │ ├── QAInformationRetrievalChain.swift │ │ │ │ ├── RefineDocumentChain.swift │ │ │ │ ├── RelevantInformationExtractionChain.swift │ │ │ │ └── StructuredOutputChatModelChain.swift │ │ │ ├── ChatModel/ │ │ │ │ ├── ChatModel.swift │ │ │ │ └── OpenAIChat.swift │ │ │ ├── DocumentLoader/ │ │ │ │ ├── DocumentLoader.swift │ │ │ │ ├── TextLoader.swift │ │ │ │ └── WebLoader.swift │ │ │ ├── DocumentTransformer/ │ │ │ │ ├── DocumentTransformer.swift │ │ │ │ ├── RecursiveCharacterTextSplitter.swift │ │ │ │ ├── TextSplitter.swift │ │ │ │ └── TextSplitterSeparatorSet.swift │ │ │ ├── Embedding/ │ │ │ │ ├── Embedding.swift │ │ │ │ └── OpenAIEmbedding.swift │ │ │ └── VectorStore/ │ │ │ ├── TemporaryUSearch.swift │ │ │ └── VectorStore.swift │ │ ├── Logger/ │ │ │ └── Logger.swift │ │ ├── ModificationBasic/ │ │ │ ├── ExplanationThenCodeStreamParser.swift │ │ │ ├── ModificationAgent.swift │ │ │ └── ModificationState.swift │ │ ├── ObjectiveCExceptionHandling/ │ │ │ ├── ObjectiveCExceptionHandling.m │ │ │ └── include/ │ │ │ └── ObjectiveCExceptionHandling.h │ │ ├── OpenAIService/ │ │ │ ├── APIs/ │ │ │ │ ├── BuiltinExtensionChatCompletionsService.swift │ │ │ │ ├── ChatCompletionsAPIBuilder.swift │ │ │ │ ├── ChatCompletionsAPIDefinition.swift │ │ │ │ ├── ClaudeChatCompletionsService.swift │ │ │ │ ├── EmbeddingAPIDefinitions.swift │ │ │ │ ├── GitHubCopilotChatCompletionsService.swift │ │ │ │ ├── GitHubCopilotEmbeddingService.swift │ │ │ │ ├── GoogleAIChatCompletionsService.swift │ │ │ │ ├── OlamaChatCompletionsService.swift │ │ │ │ ├── OllamaEmbeddingService.swift │ │ │ │ ├── OpenAIChatCompletionsService.swift │ │ │ │ ├── OpenAIEmbeddingService.swift │ │ │ │ ├── OpenAIResponsesRawService.swift │ │ │ │ └── ResponseStream.swift │ │ │ ├── ChatGPTService.swift │ │ │ ├── Configuration/ │ │ │ │ ├── ChatGPTConfiguration.swift │ │ │ │ ├── EmbeddingConfiguration.swift │ │ │ │ ├── UserPreferenceChatGPTConfiguration.swift │ │ │ │ └── UserPreferenceEmbeddingConfiguration.swift │ │ │ ├── Debug/ │ │ │ │ └── Debug.swift │ │ │ ├── EmbeddingService.swift │ │ │ ├── FucntionCall/ │ │ │ │ └── ChatGPTFuntionProvider.swift │ │ │ ├── HeaderValueParser.swift │ │ │ ├── LegacyChatGPTService.swift │ │ │ ├── Memory/ │ │ │ │ ├── AutoManagedChatGPTMemory.swift │ │ │ │ ├── AutoManagedChatGPTMemoryStrategy/ │ │ │ │ │ ├── AutoManagedChatGPTMemoryGoogleAIStrategy.swift │ │ │ │ │ └── AutoManagedChatGPTMemoryOpenAIStrategy.swift │ │ │ │ ├── ChatGPTMemory.swift │ │ │ │ ├── ConversationChatGPTMemory.swift │ │ │ │ ├── EmptyChatGPTMemory.swift │ │ │ │ └── TemplateChatGPTMemory.swift │ │ │ └── Models.swift │ │ ├── Preferences/ │ │ │ ├── AppStorage.swift │ │ │ ├── Keys.swift │ │ │ ├── Types/ │ │ │ │ ├── ChatFeatureProvider.swift │ │ │ │ ├── ChatGPTModel.swift │ │ │ │ ├── CustomCommand.swift │ │ │ │ ├── EmbeddingFeatureProvider.swift │ │ │ │ ├── GoogleGenerativeChatModel.swift │ │ │ │ ├── Locale.swift │ │ │ │ ├── NodeRunner.swift │ │ │ │ ├── OpenAIEmbeddingModel.swift │ │ │ │ ├── OpenChatMode.swift │ │ │ │ ├── PresentationMode.swift │ │ │ │ ├── PromptToCodeFeatureProvider.swift │ │ │ │ ├── StorableColors.swift │ │ │ │ ├── StorableFont.swift │ │ │ │ ├── SuggestionFeatureProvider.swift │ │ │ │ ├── SuggestionWidgetPositionMode.swift │ │ │ │ └── WidgetColorScheme.swift │ │ │ └── UserDefaults.swift │ │ ├── PromptToCodeCustomization/ │ │ │ └── PromptToCodeCustomization.swift │ │ ├── RAGChatAgent/ │ │ │ ├── RAGChatAgent.swift │ │ │ ├── RAGChatAgentCapability.swift │ │ │ └── RAGChatAgentConfiguration.swift │ │ ├── SharedUIComponents/ │ │ │ ├── AsyncCodeBlock.swift │ │ │ ├── AsyncDiffCodeBlock.swift │ │ │ ├── CodeBlock.swift │ │ │ ├── CopyButton.swift │ │ │ ├── CustomScrollView.swift │ │ │ ├── CustomTextEditor.swift │ │ │ ├── DynamicHeightTextInFormWorkaround.swift │ │ │ ├── FontPicker.swift │ │ │ ├── ModifierFlagsMonitor.swift │ │ │ ├── SettingsDivider.swift │ │ │ ├── SubSection.swift │ │ │ ├── SyntaxHighlighting.swift │ │ │ ├── TabContainer.swift │ │ │ ├── View+Modify.swift │ │ │ └── XcodeStyleFrame.swift │ │ ├── SuggestionBasic/ │ │ │ ├── CodeSuggestion.swift │ │ │ ├── EditorInformation.swift │ │ │ ├── ExportedFromLSP.swift │ │ │ ├── LanguageIdentifierFromFilePath.swift │ │ │ ├── Modification.swift │ │ │ └── String+LineEnding.swift │ │ ├── SuggestionInjector/ │ │ │ └── SuggestionInjector.swift │ │ ├── SuggestionProvider/ │ │ │ ├── PostProcessingSuggestionServiceMiddleware.swift │ │ │ ├── String+Extension.swift │ │ │ ├── SuggestionProvider.swift │ │ │ ├── SuggestionServiceEventHandler.swift │ │ │ └── SuggestionServiceMiddleware.swift │ │ ├── Terminal/ │ │ │ └── Terminal.swift │ │ ├── Toast/ │ │ │ └── Toast.swift │ │ ├── TokenEncoder/ │ │ │ ├── CharacterTokenCounter.swift │ │ │ ├── GoogleAITokenCounter.swift │ │ │ ├── Resources/ │ │ │ │ └── cl100k_base.tiktoken │ │ │ ├── TiktokenCl100kBaseTokenEncoder.swift │ │ │ └── Tokenizer.swift │ │ ├── USearchIndex/ │ │ │ └── UsearchIndex.swift │ │ ├── UserDefaultsObserver/ │ │ │ └── UserDefaultsObserver.swift │ │ ├── WebScrapper/ │ │ │ └── WebScrapper.swift │ │ ├── WebSearchService/ │ │ │ ├── SearchServices/ │ │ │ │ ├── AppleDocumentationSearchService.swift │ │ │ │ ├── BingSearchService.swift │ │ │ │ ├── HeadlessBrowserSearchService.swift │ │ │ │ └── SerpAPISearchService.swift │ │ │ └── WebSearchService.swift │ │ ├── Workspace/ │ │ │ ├── FileSaveWatcher.swift │ │ │ ├── Filespace.swift │ │ │ ├── OpenedFileRocoverableStorage.swift │ │ │ ├── Workspace.swift │ │ │ └── WorkspacePool.swift │ │ ├── WorkspaceSuggestionService/ │ │ │ ├── Filespace+SuggestionService.swift │ │ │ ├── SuggestionWorkspacePlugin.swift │ │ │ └── Workspace+SuggestionService.swift │ │ ├── XPCShared/ │ │ │ ├── CommunicationBridgeXPCServiceProtocol.swift │ │ │ ├── Models.swift │ │ │ ├── XPCCommunicationBridge.swift │ │ │ ├── XPCExtensionService.swift │ │ │ ├── XPCService.swift │ │ │ └── XPCServiceProtocol.swift │ │ └── XcodeInspector/ │ │ ├── AppInstanceInspector.swift │ │ ├── Apps/ │ │ │ └── XcodeAppInstanceInspector.swift │ │ ├── Helpers.swift │ │ ├── SourceEditor.swift │ │ ├── XcodeInspector+TriggerCommand.swift │ │ ├── XcodeInspector.swift │ │ └── XcodeWindowInspector.swift │ └── Tests/ │ ├── ASTParserTests/ │ │ └── CursorDeepFirstSearchTests.swift │ ├── ActiveDocumentChatContextCollectorTests/ │ │ └── File.swift │ ├── CodeDiffTests/ │ │ └── CodeDiffTests.swift │ ├── FocusedCodeFinderTests/ │ │ ├── ObjectiveCFocusedCodeFinderTests.swift │ │ ├── SwiftFocusedCodeFinderTests.swift │ │ └── UnknownLanguageFocusedCodeFinderTests.swift │ ├── GitHubCopilotServiceTests/ │ │ ├── FetchSuggestionsTests.swift │ │ └── FileExtensionToLanguageIdentifierTests.swift │ ├── JoinJSONTests/ │ │ └── JoinJSONTests.swift │ ├── KeychainTests/ │ │ └── KeychainTests.swift │ ├── LangChainTests/ │ │ ├── ChatAgentTests.swift │ │ ├── TextSplitterTests/ │ │ │ ├── RecursiveCharacterTextSplitterTests.swift │ │ │ ├── TextChunkTests.swift │ │ │ └── TextSplitterTests.swift │ │ └── VectorStoreTests/ │ │ ├── EmbeddingDataForTests.swift │ │ └── TemporaryUSearchTests.swift │ ├── ModificationBasicTests/ │ │ └── ExplanationThenCodeStreamParserTests.swift │ ├── OpenAIServiceTests/ │ │ ├── AutoManagedChatGPTMemoryRetrievedContentTests.swift │ │ ├── ChatGPTServiceTests.swift │ │ ├── GoogleAIChatCompletionsAPITests.swift │ │ └── LimitMessagesTests.swift │ ├── SharedUIComponentsTests/ │ │ └── ConvertToCodeLinesTests.swift │ ├── SuggestionBasicTests/ │ │ ├── BreakLinePerformanceTests.swift │ │ ├── LineAnnotationParsingTests.swift │ │ ├── ModificationTests.swift │ │ └── TextExtrationFromCodeTests.swift │ ├── SuggestionInjectorTests/ │ │ ├── AcceptSuggestionTests.swift │ │ ├── ProposeSuggestionTests.swift │ │ └── RejectSuggestionTests.swift │ ├── SuggestionProviderTests/ │ │ └── PostProcessingSuggestionServiceMiddlewareTests.swift │ ├── TokenEncoderTests/ │ │ └── TiktokenCl100kBaseTokenEncoderTests.swift │ ├── WebSearchServiceTests/ │ │ └── HeadlessBrowserSearchServiceTests.swift │ └── XcodeInspectorTests/ │ ├── EditorRangeConversionTests.swift │ ├── SourceEditorCachePerformanceTests.swift │ └── SourceEditorCacheTests.swift ├── VERSIONS ├── Version.xcconfig ├── appcast.xml ├── bridgeLaunchAgent.plist └── launchAgent.plist
SYMBOL INDEX (2 symbols across 1 files)
FILE: Tool/Sources/GitHubCopilotService/Resources/load-self-signed-cert-1.34.0.js
function initialize (line 1) | function initialize() {
function duplicated (line 34) | function duplicated(cert, index, arr) {
Condensed preview — 530 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,763K chars).
[
{
"path": ".github/FUNDING.yml",
"chars": 83,
"preview": "custom: [\"https://intii.lemonsqueezy.com\", \"https://www.buymeacoffee.com/intitni\"]\n"
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.yaml",
"chars": 1926,
"preview": "name: Bug Report\ndescription: File a bug report\ntitle: \"[Bug]: \"\nlabels: [\"bug\"]\nassignees:\n - intitni\nbody:\n - type: "
},
{
"path": ".github/ISSUE_TEMPLATE/feature_reqeust.yaml",
"chars": 1054,
"preview": "name: Feature Request\ndescription: Request a feature\ntitle: \"[Enhancement]: \"\nlabels: [\"enhancement\"]\nassignees:\n - int"
},
{
"path": ".github/ISSUE_TEMPLATE/help_wanted.yml",
"chars": 964,
"preview": "name: Help Wanted\ndescription: Ask for help from the developer and the community\ntitle: \"[Help Wanted]: \"\nlabels: [\"help"
},
{
"path": ".github/ISSUE_TEMPLATE/z_bug_report_beta.yaml",
"chars": 1852,
"preview": "name: Bug Report (Beta)\ndescription: File a bug report\ntitle: \"[Bug (Beta)]: \"\nlabels: [\"bug\", \"beta\"]\nassignees:\n - in"
},
{
"path": ".github/workflows/close_inactive_issues.yml",
"chars": 797,
"preview": "name: Close inactive issues\non:\n schedule:\n - cron: \"30 1 * * *\"\n\njobs:\n close-issues:\n runs-on: ubuntu-latest\n "
},
{
"path": ".gitignore",
"chars": 3041,
"preview": "# IDE\n.idea\n\n# Created by \nhttps://www.toptal.com/developers/gitignore/api/xcode,macos,swift,swiftpackagemanager\n# Edit "
},
{
"path": ".gitmodules",
"chars": 0,
"preview": ""
},
{
"path": ".swiftformat",
"chars": 1151,
"preview": "--allman false\n--beforemarks \n--binarygrouping 4,8\n--categorymark \"MARK: %c\"\n--classthreshold 0\n--closingparen balanced\n"
},
{
"path": "ChatPlugins/.gitignore",
"chars": 159,
"preview": ".DS_Store\n/.build\n/Packages\nxcuserdata/\nDerivedData/\n.swiftpm/configuration/registries.json\n.swiftpm/xcode/package.xcwor"
},
{
"path": "ChatPlugins/.swiftpm/xcode/xcshareddata/xcschemes/ChatPlugins.xcscheme",
"chars": 2358,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1600\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "ChatPlugins/Package.swift",
"chars": 1057,
"preview": "// swift-tools-version: 5.8\n// The swift-tools-version declares the minimum version of Swift required to build this pack"
},
{
"path": "ChatPlugins/Sources/ShortcutChatPlugin/ShortcutChatPlugin.swift",
"chars": 5527,
"preview": "import ChatBasic\nimport Foundation\nimport Terminal\n\npublic final class ShortcutChatPlugin: ChatPlugin {\n public stati"
},
{
"path": "ChatPlugins/Sources/TerminalChatPlugin/TerminalChatPlugin.swift",
"chars": 5587,
"preview": "import ChatBasic\nimport Foundation\nimport Terminal\nimport XcodeInspector\n\npublic final class TerminalChatPlugin: ChatPlu"
},
{
"path": "ChatPlugins/Tests/ChatPluginsTests/ChatPluginsTests.swift",
"chars": 174,
"preview": "import Testing\n@testable import ChatPlugins\n\n@Test func example() async throws {\n // Write your test here and use API"
},
{
"path": "CommunicationBridge/ServiceDelegate.swift",
"chars": 5055,
"preview": "import AppKit\nimport Foundation\nimport Logger\nimport XPCShared\n\nclass ServiceDelegate: NSObject, NSXPCListenerDelegate {"
},
{
"path": "CommunicationBridge/main.swift",
"chars": 633,
"preview": "import AppKit\nimport Foundation\n\nclass AppDelegate: NSObject, NSApplicationDelegate {}\n\nlet bundleIdentifierBase = Bundl"
},
{
"path": "Config.debug.xcconfig",
"chars": 489,
"preview": "#include \"Version.xcconfig\"\nSLASH = /\n\nHOST_APP_NAME = Copilot for Xcode Dev\nBUNDLE_IDENTIFIER_BASE = dev.com.intii.Copi"
},
{
"path": "Config.xcconfig",
"chars": 481,
"preview": "#include \"Version.xcconfig\"\nSLASH = /\n\nHOST_APP_NAME = Copilot for Xcode\nBUNDLE_IDENTIFIER_BASE = com.intii.CopilotForXc"
},
{
"path": "Copilot for Xcode/App.swift",
"chars": 1517,
"preview": "import Client\nimport HostApp\nimport LaunchAgentManager\nimport SwiftUI\nimport UpdateChecker\nimport XPCShared\n\nstruct Visu"
},
{
"path": "Copilot for Xcode/Assets.xcassets/AccentColor.colorset/Contents.json",
"chars": 123,
"preview": "{\n \"colors\" : [\n {\n \"idiom\" : \"universal\"\n }\n ],\n \"info\" : {\n \"author\" : \"xcode\",\n \"version\" : 1\n }"
},
{
"path": "Copilot for Xcode/Assets.xcassets/AppIcon.appiconset/Contents.json",
"chars": 1295,
"preview": "{\n \"images\" : [\n {\n \"filename\" : \"app-icon@16w.png\",\n \"idiom\" : \"mac\",\n \"scale\" : \"1x\",\n \"size\" "
},
{
"path": "Copilot for Xcode/Assets.xcassets/BackgroundColor.colorset/Contents.json",
"chars": 320,
"preview": "{\n \"colors\" : [\n {\n \"color\" : {\n \"color-space\" : \"srgb\",\n \"components\" : {\n \"alpha\" : \"1"
},
{
"path": "Copilot for Xcode/Assets.xcassets/BackgroundColorTop.colorset/Contents.json",
"chars": 320,
"preview": "{\n \"colors\" : [\n {\n \"color\" : {\n \"color-space\" : \"srgb\",\n \"components\" : {\n \"alpha\" : \"1"
},
{
"path": "Copilot for Xcode/Assets.xcassets/ButtonBackgroundColorDefault.colorset/Contents.json",
"chars": 326,
"preview": "{\n \"colors\" : [\n {\n \"color\" : {\n \"color-space\" : \"srgb\",\n \"components\" : {\n \"alpha\" : \"1"
},
{
"path": "Copilot for Xcode/Assets.xcassets/ButtonBackgroundColorPressed.colorset/Contents.json",
"chars": 329,
"preview": "{\n \"colors\" : [\n {\n \"color\" : {\n \"color-space\" : \"srgb\",\n \"components\" : {\n \"alpha\" : \"1"
},
{
"path": "Copilot for Xcode/Assets.xcassets/Contents.json",
"chars": 63,
"preview": "{\n \"info\" : {\n \"author\" : \"xcode\",\n \"version\" : 1\n }\n}\n"
},
{
"path": "Copilot for Xcode/Copilot_for_Xcode.entitlements",
"chars": 646,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "Copilot for Xcode/Preview Content/Preview Assets.xcassets/Contents.json",
"chars": 63,
"preview": "{\n \"info\" : {\n \"author\" : \"xcode\",\n \"version\" : 1\n }\n}\n"
},
{
"path": "Copilot for Xcode.xcodeproj/project.pbxproj",
"chars": 62979,
"preview": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 56;\n\tobjects = {\n\n/* Begin PBXBuildFile section *"
},
{
"path": "Copilot for Xcode.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
"chars": 135,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"self:\">\n </FileRef"
},
{
"path": "Copilot for Xcode.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "Copilot for Xcode.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved",
"chars": 7743,
"preview": "{\n \"pins\" : [\n {\n \"identity\" : \"combine-schedulers\",\n \"kind\" : \"remoteSourceControl\",\n \"location\" : \""
},
{
"path": "Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/CommunicationBridge.xcscheme",
"chars": 3005,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1540\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/Copilot for Xcode Debug.xcscheme",
"chars": 3320,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1520\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/Copilot for Xcode.xcscheme",
"chars": 3270,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1520\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/EditorExtension.xcscheme",
"chars": 3799,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1520\"\n wasCreatedForAppExtension = \"YES\"\n ve"
},
{
"path": "Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/ExtensionService.xcscheme",
"chars": 3849,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1520\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "Copilot for Xcode.xcodeproj/xcshareddata/xcschemes/SandboxedClientTester.xcscheme",
"chars": 2995,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1540\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "Copilot for Xcode.xcworkspace/contents.xcworkspacedata",
"chars": 237,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"group:Playground.pla"
},
{
"path": "Copilot for Xcode.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "Copilot for Xcode.xcworkspace/xcshareddata/swiftpm/Package.resolved",
"chars": 13485,
"preview": "{\n \"pins\" : [\n {\n \"identity\" : \"aexml\",\n \"kind\" : \"remoteSourceControl\",\n \"location\" : \"https://githu"
},
{
"path": "Copilot-for-Xcode-Info.plist",
"chars": 905,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "Core/.gitignore",
"chars": 165,
"preview": ".DS_Store\n/.build\n/Packages\n/*.xcodeproj\nxcuserdata/\nDerivedData/\n.swiftpm/config/registries.json\n.swiftpm/xcode/package"
},
{
"path": "Core/.swiftpm/xcode/xcshareddata/xcschemes/Client.xcscheme",
"chars": 2328,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1540\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "Core/.swiftpm/xcode/xcshareddata/xcschemes/HostApp.xcscheme",
"chars": 2334,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1540\"\n version = \"1.7\">\n <BuildAction\n "
},
{
"path": "Core/.swiftpm/xcode/xcshareddata/xcschemes/Service.xcscheme",
"chars": 2687,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1520\"\n version = \"1.3\">\n <BuildAction\n "
},
{
"path": "Core/.swiftpm/xcode/xcshareddata/xcschemes/SuggestionInjector.xcscheme",
"chars": 2786,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1520\"\n version = \"1.3\">\n <BuildAction\n "
},
{
"path": "Core/Package.resolved",
"chars": 8632,
"preview": "{\n \"pins\" : [\n {\n \"identity\" : \"codablewrappers\",\n \"kind\" : \"remoteSourceControl\",\n \"location\" : \"htt"
},
{
"path": "Core/Package.swift",
"chars": 14356,
"preview": "// swift-tools-version: 5.7\n// The swift-tools-version declares the minimum version of Swift required to build this pack"
},
{
"path": "Core/README.md",
"chars": 39,
"preview": "# Core\n\nA description of this package.\n"
},
{
"path": "Core/Sources/ChatContextCollectors/SystemInfoChatContextCollector/SystemInfoChatContextCollector.swift",
"chars": 886,
"preview": "import ChatContextCollector\nimport Foundation\nimport OpenAIService\n\npublic final class SystemInfoChatContextCollector: C"
},
{
"path": "Core/Sources/ChatContextCollectors/WebChatContextCollector/QueryWebsiteFunction.swift",
"chars": 5067,
"preview": "import ChatBasic\nimport Foundation\nimport LangChain\nimport OpenAIService\nimport Preferences\n\nstruct QueryWebsiteFunction"
},
{
"path": "Core/Sources/ChatContextCollectors/WebChatContextCollector/SearchFunction.swift",
"chars": 2781,
"preview": "import ChatBasic\nimport Foundation\nimport OpenAIService\nimport Preferences\nimport WebSearchService\n\nstruct SearchFunctio"
},
{
"path": "Core/Sources/ChatContextCollectors/WebChatContextCollector/WebChatContextCollector.swift",
"chars": 1972,
"preview": "import ChatBasic\nimport ChatContextCollector\nimport Foundation\nimport OpenAIService\n\npublic final class WebChatContextCo"
},
{
"path": "Core/Sources/ChatGPTChatTab/Chat.swift",
"chars": 18781,
"preview": "import AppKit\nimport ChatBasic\nimport ChatService\nimport ComposableArchitecture\nimport Foundation\nimport MarkdownUI\nimpo"
},
{
"path": "Core/Sources/ChatGPTChatTab/ChatContextMenu.swift",
"chars": 6069,
"preview": "import AppKit\nimport ChatService\nimport ComposableArchitecture\nimport SharedUIComponents\nimport SwiftUI\n\nstruct ChatTabI"
},
{
"path": "Core/Sources/ChatGPTChatTab/ChatGPTChatTab.swift",
"chars": 6251,
"preview": "import ChatContextCollector\nimport ChatService\nimport ChatTab\nimport CodableWrappers\nimport Combine\nimport ComposableArc"
},
{
"path": "Core/Sources/ChatGPTChatTab/ChatPanel.swift",
"chars": 20896,
"preview": "import AppKit\nimport Combine\nimport ComposableArchitecture\nimport MarkdownUI\nimport OpenAIService\nimport SharedUICompone"
},
{
"path": "Core/Sources/ChatGPTChatTab/CodeBlockHighlighter.swift",
"chars": 4186,
"preview": "import Combine\nimport ComposableArchitecture\nimport DebounceFunction\nimport Foundation\nimport MarkdownUI\nimport Percepti"
},
{
"path": "Core/Sources/ChatGPTChatTab/Styles.swift",
"chars": 5472,
"preview": "import AppKit\nimport MarkdownUI\nimport SharedUIComponents\nimport SwiftUI\n\nextension Color {\n static var contentBackgr"
},
{
"path": "Core/Sources/ChatGPTChatTab/Views/BotMessage.swift",
"chars": 10920,
"preview": "import ComposableArchitecture\nimport Foundation\nimport MarkdownUI\nimport SharedUIComponents\nimport SwiftUI\n\nstruct BotMe"
},
{
"path": "Core/Sources/ChatGPTChatTab/Views/FunctionCallMarkdownTheme.swift",
"chars": 1060,
"preview": "import Foundation\nimport MarkdownUI\nimport SwiftUI\n\nextension MarkdownUI.Theme {\n static func functionCall(fontSize: "
},
{
"path": "Core/Sources/ChatGPTChatTab/Views/FunctionMessage.swift",
"chars": 587,
"preview": "import Foundation\nimport MarkdownUI\nimport SwiftUI\n\nstruct FunctionMessage: View {\n let id: String\n let text: Stri"
},
{
"path": "Core/Sources/ChatGPTChatTab/Views/InstructionMarkdownTheme.swift",
"chars": 2447,
"preview": "import Foundation\nimport MarkdownUI\nimport SwiftUI\n\nextension MarkdownUI.Theme {\n static func instruction(fontSize: D"
},
{
"path": "Core/Sources/ChatGPTChatTab/Views/Instructions.swift",
"chars": 3046,
"preview": "import ComposableArchitecture\nimport Foundation\nimport MarkdownUI\nimport SwiftUI\n\nstruct Instruction: View {\n let cha"
},
{
"path": "Core/Sources/ChatGPTChatTab/Views/ThemedMarkdownText.swift",
"chars": 3901,
"preview": "import Foundation\nimport MarkdownUI\nimport SwiftUI\n\nstruct ThemedMarkdownText: View {\n @AppStorage(\\.syncChatCodeHigh"
},
{
"path": "Core/Sources/ChatGPTChatTab/Views/UserMessage.swift",
"chars": 2189,
"preview": "import ComposableArchitecture\nimport Foundation\nimport MarkdownUI\nimport SwiftUI\n\nstruct UserMessage: View {\n var r: "
},
{
"path": "Core/Sources/ChatService/AllContextCollector.swift",
"chars": 555,
"preview": "import ActiveDocumentChatContextCollector\nimport ChatContextCollector\nimport SystemInfoChatContextCollector\nimport WebCh"
},
{
"path": "Core/Sources/ChatService/AllPlugins.swift",
"chars": 4602,
"preview": "import ChatBasic\nimport Foundation\nimport OpenAIService\nimport ShortcutChatPlugin\nimport TerminalChatPlugin\n\nlet allPlug"
},
{
"path": "Core/Sources/ChatService/ChatFunctionProvider.swift",
"chars": 479,
"preview": "import ChatBasic\nimport Foundation\nimport OpenAIService\n\nfinal class ChatFunctionProvider {\n var functions: [any Chat"
},
{
"path": "Core/Sources/ChatService/ChatPluginController.swift",
"chars": 4988,
"preview": "import Combine\nimport Foundation\nimport LegacyChatPlugin\nimport OpenAIService\n\nfinal class ChatPluginController {\n le"
},
{
"path": "Core/Sources/ChatService/ChatService.swift",
"chars": 9934,
"preview": "import ChatContextCollector\nimport LegacyChatPlugin\nimport Combine\nimport CustomCommandTemplateProcessor\nimport Foundati"
},
{
"path": "Core/Sources/ChatService/ContextAwareAutoManagedChatGPTMemory.swift",
"chars": 1829,
"preview": "import Foundation\nimport OpenAIService\n\npublic final class ContextAwareAutoManagedChatGPTMemory: ChatGPTMemory {\n pri"
},
{
"path": "Core/Sources/ChatService/DynamicContextController.swift",
"chars": 4352,
"preview": "import ChatContextCollector\nimport Foundation\nimport OpenAIService\nimport Preferences\nimport XcodeInspector\n\nfinal class"
},
{
"path": "Core/Sources/Client/XPCService.swift",
"chars": 355,
"preview": "import Foundation\nimport Logger\nimport os.log\nimport XPCShared\n\nlet shared = XPCExtensionService(logger: .client)\n\npubli"
},
{
"path": "Core/Sources/FileChangeChecker/FileChangeChecker.swift",
"chars": 1022,
"preview": "import CryptoKit\nimport Dispatch\nimport Foundation\n\n/// Check that a file is changed.\npublic actor FileChangeChecker {\n "
},
{
"path": "Core/Sources/HostApp/AccountSettings/APIKeyManagement/APIKeyManagementView.swift",
"chars": 4944,
"preview": "import ComposableArchitecture\nimport SharedUIComponents\nimport SwiftUI\n\nstruct APIKeyManagementView: View {\n @Percept"
},
{
"path": "Core/Sources/HostApp/AccountSettings/APIKeyManagement/APIKeyManangement.swift",
"chars": 2436,
"preview": "import ComposableArchitecture\nimport Foundation\n\n@Reducer\nstruct APIKeyManagement {\n @ObservableState\n struct Stat"
},
{
"path": "Core/Sources/HostApp/AccountSettings/APIKeyManagement/APIKeyPicker.swift",
"chars": 1672,
"preview": "import ComposableArchitecture\nimport SwiftUI\n\nstruct APIKeyPicker: View {\n @Perception.Bindable var store: StoreOf<AP"
},
{
"path": "Core/Sources/HostApp/AccountSettings/APIKeyManagement/APIKeySelection.swift",
"chars": 1620,
"preview": "import Foundation\nimport SwiftUI\nimport ComposableArchitecture\n\n@Reducer\nstruct APIKeySelection {\n @ObservableState\n "
},
{
"path": "Core/Sources/HostApp/AccountSettings/APIKeyManagement/APIKeySubmission.swift",
"chars": 1553,
"preview": "import ComposableArchitecture\nimport Foundation\n\n@Reducer\nstruct APIKeySubmission {\n @ObservableState\n struct Stat"
},
{
"path": "Core/Sources/HostApp/AccountSettings/ChatModelManagement/ChatModelEdit.swift",
"chars": 13210,
"preview": "import AIModel\nimport ComposableArchitecture\nimport Dependencies\nimport Keychain\nimport OpenAIService\nimport Preferences"
},
{
"path": "Core/Sources/HostApp/AccountSettings/ChatModelManagement/ChatModelEditView.swift",
"chars": 24447,
"preview": "import AIModel\nimport ComposableArchitecture\nimport OpenAIService\nimport Preferences\nimport SwiftUI\n\n@MainActor\nstruct C"
},
{
"path": "Core/Sources/HostApp/AccountSettings/ChatModelManagement/ChatModelManagement.swift",
"chars": 5170,
"preview": "import AIModel\nimport ComposableArchitecture\nimport Keychain\nimport Preferences\nimport SwiftUI\n\nextension ChatModel: Man"
},
{
"path": "Core/Sources/HostApp/AccountSettings/ChatModelManagement/ChatModelManagementView.swift",
"chars": 3199,
"preview": "import AIModel\nimport ComposableArchitecture\nimport SwiftUI\n\nstruct ChatModelManagementView: View {\n @Perception.Bind"
},
{
"path": "Core/Sources/HostApp/AccountSettings/CodeiumView.swift",
"chars": 11582,
"preview": "import CodeiumService\nimport Foundation\nimport SharedUIComponents\nimport SwiftUI\n\nstruct CodeiumView: View {\n class V"
},
{
"path": "Core/Sources/HostApp/AccountSettings/CustomHeaderSettingsView.swift",
"chars": 2485,
"preview": "import AIModel\nimport Foundation\nimport SwiftUI\n\nstruct CustomHeaderSettingsView: View {\n @Binding var headers: [Chat"
},
{
"path": "Core/Sources/HostApp/AccountSettings/EmbeddingModel.swift",
"chars": 31,
"preview": "import SwiftUI\nimport Keychain\n"
},
{
"path": "Core/Sources/HostApp/AccountSettings/EmbeddingModelManagement/EmbeddingModelEdit.swift",
"chars": 9361,
"preview": "import AIModel\nimport ComposableArchitecture\nimport Dependencies\nimport Keychain\nimport OpenAIService\nimport Preferences"
},
{
"path": "Core/Sources/HostApp/AccountSettings/EmbeddingModelManagement/EmbeddingModelEditView.swift",
"chars": 16746,
"preview": "import AIModel\nimport ComposableArchitecture\nimport Preferences\nimport SwiftUI\n\n@MainActor\nstruct EmbeddingModelEditView"
},
{
"path": "Core/Sources/HostApp/AccountSettings/EmbeddingModelManagement/EmbeddingModelManagement.swift",
"chars": 4967,
"preview": "import AIModel\nimport ComposableArchitecture\nimport Keychain\nimport Preferences\nimport SwiftUI\n\nextension EmbeddingModel"
},
{
"path": "Core/Sources/HostApp/AccountSettings/EmbeddingModelManagement/EmbeddingModelManagementView.swift",
"chars": 2989,
"preview": "import AIModel\nimport ComposableArchitecture\nimport SwiftUI\n\nstruct EmbeddingModelManagementView: View {\n @Perception"
},
{
"path": "Core/Sources/HostApp/AccountSettings/GitHubCopilotModelPicker.swift",
"chars": 2877,
"preview": "import Dependencies\nimport Foundation\nimport GitHubCopilotService\nimport Perception\nimport SwiftUI\nimport Toast\n\npublic "
},
{
"path": "Core/Sources/HostApp/AccountSettings/GitHubCopilotView.swift",
"chars": 17828,
"preview": "import AppKit\nimport Client\nimport GitHubCopilotService\nimport Preferences\nimport SharedUIComponents\nimport SuggestionBa"
},
{
"path": "Core/Sources/HostApp/AccountSettings/OtherSuggestionServicesView.swift",
"chars": 829,
"preview": "import Foundation\nimport SwiftUI\n\nstruct OtherSuggestionServicesView: View {\n @Environment(\\.openURL) var openURL\n "
},
{
"path": "Core/Sources/HostApp/AccountSettings/SharedModelManagement/AIModelManagementVIew.swift",
"chars": 10206,
"preview": "import AIModel\nimport ComposableArchitecture\nimport PlusFeatureFlag\nimport SharedUIComponents\nimport SwiftUI\n\nprotocol A"
},
{
"path": "Core/Sources/HostApp/AccountSettings/SharedModelManagement/BaseURLPicker.swift",
"chars": 1857,
"preview": "import ComposableArchitecture\nimport SwiftUI\n\nstruct BaseURLPicker<TrailingContent: View>: View {\n let title: String\n"
},
{
"path": "Core/Sources/HostApp/AccountSettings/SharedModelManagement/BaseURLSelection.swift",
"chars": 1568,
"preview": "import ComposableArchitecture\nimport Foundation\nimport Preferences\nimport SwiftUI\n\n@Reducer\nstruct BaseURLSelection {\n "
},
{
"path": "Core/Sources/HostApp/AccountSettings/WebSearchView.swift",
"chars": 9727,
"preview": "import AppKit\nimport Client\nimport ComposableArchitecture\nimport OpenAIService\nimport Preferences\nimport SuggestionBasic"
},
{
"path": "Core/Sources/HostApp/CustomCommandSettings/CustomCommand.swift",
"chars": 4998,
"preview": "import ComposableArchitecture\nimport Foundation\nimport PlusFeatureFlag\nimport Preferences\nimport SwiftUI\nimport Toast\n\n@"
},
{
"path": "Core/Sources/HostApp/CustomCommandSettings/CustomCommandView.swift",
"chars": 13440,
"preview": "import ComposableArchitecture\nimport MarkdownUI\nimport PlusFeatureFlag\nimport Preferences\nimport SharedUIComponents\nimpo"
},
{
"path": "Core/Sources/HostApp/CustomCommandSettings/EditCustomCommand.swift",
"chars": 9979,
"preview": "import ComposableArchitecture\nimport Foundation\nimport Preferences\nimport SwiftUI\n\n@Reducer\nstruct EditCustomCommand {\n "
},
{
"path": "Core/Sources/HostApp/CustomCommandSettings/EditCustomCommandView.swift",
"chars": 14440,
"preview": "import ComposableArchitecture\nimport MarkdownUI\nimport Preferences\nimport SwiftUI\n\n@MainActor\nstruct EditCustomCommandVi"
},
{
"path": "Core/Sources/HostApp/DebugView.swift",
"chars": 7347,
"preview": "import Preferences\nimport SwiftUI\n\nfinal class DebugSettings: ObservableObject {\n @AppStorage(\\.animationACrashSugges"
},
{
"path": "Core/Sources/HostApp/FeatureSettings/Chat/ChatSettingsGeneralSectionView.swift",
"chars": 13662,
"preview": "import Client\nimport Preferences\nimport SharedUIComponents\nimport SwiftUI\nimport XPCShared\n\n#if canImport(ProHostApp)\nim"
},
{
"path": "Core/Sources/HostApp/FeatureSettings/Chat/ChatSettingsView.swift",
"chars": 845,
"preview": "import Preferences\nimport SharedUIComponents\nimport SwiftUI\n\nstruct ChatSettingsView: View {\n enum Tab {\n case"
},
{
"path": "Core/Sources/HostApp/FeatureSettings/PromptToCodeSettingsView.swift",
"chars": 2514,
"preview": "import Preferences\nimport SharedUIComponents\nimport SwiftUI\n\nstruct PromptToCodeSettingsView: View {\n final class Set"
},
{
"path": "Core/Sources/HostApp/FeatureSettings/Suggestion/SuggestionFeatureDisabledLanguageListView.swift",
"chars": 3597,
"preview": "import SuggestionBasic\nimport SwiftUI\nimport SharedUIComponents\n\nstruct SuggestionFeatureDisabledLanguageListView: View "
},
{
"path": "Core/Sources/HostApp/FeatureSettings/Suggestion/SuggestionFeatureEnabledProjectListView.swift",
"chars": 4853,
"preview": "import SharedUIComponents\nimport SwiftUI\n\nstruct SuggestionFeatureEnabledProjectListView: View {\n final class Setting"
},
{
"path": "Core/Sources/HostApp/FeatureSettings/Suggestion/SuggestionSettingsGeneralSectionView.swift",
"chars": 11861,
"preview": "import Client\nimport Preferences\nimport SharedUIComponents\nimport SwiftUI\nimport XPCShared\n\n#if canImport(ProHostApp)\nim"
},
{
"path": "Core/Sources/HostApp/FeatureSettings/Suggestion/SuggestionSettingsView.swift",
"chars": 1389,
"preview": "import Client\nimport Preferences\nimport SharedUIComponents\nimport SwiftUI\nimport XPCShared\n\nstruct SuggestionSettingsVie"
},
{
"path": "Core/Sources/HostApp/FeatureSettings/TerminalSettingsView.swift",
"chars": 551,
"preview": "import Preferences\nimport SharedUIComponents\nimport SwiftUI\n\n#if canImport(ProHostApp)\nimport ProHostApp\n#endif\n\nstruct "
},
{
"path": "Core/Sources/HostApp/FeatureSettings/XcodeSettingsView.swift",
"chars": 334,
"preview": "import Foundation\nimport SharedUIComponents\nimport SwiftUI\n\n#if canImport(ProHostApp)\nimport ProHostApp\n#endif\n\nstruct X"
},
{
"path": "Core/Sources/HostApp/FeatureSettingsView.swift",
"chars": 1954,
"preview": "import SwiftUI\nimport SharedUIComponents\n\nstruct FeatureSettingsView: View {\n var tabContainer: ExternalTabContainer "
},
{
"path": "Core/Sources/HostApp/General.swift",
"chars": 10812,
"preview": "import Client\nimport ComposableArchitecture\nimport Foundation\nimport LaunchAgentManager\nimport SwiftUI\nimport XPCShared\n"
},
{
"path": "Core/Sources/HostApp/GeneralView.swift",
"chars": 12112,
"preview": "import Client\nimport ComposableArchitecture\nimport KeyboardShortcuts\nimport LaunchAgentManager\nimport Preferences\nimport"
},
{
"path": "Core/Sources/HostApp/HandleToast.swift",
"chars": 1719,
"preview": "import Dependencies\nimport SwiftUI\nimport Toast\n\nstruct ToastHandler: View {\n @ObservedObject var toastController: To"
},
{
"path": "Core/Sources/HostApp/HostApp.swift",
"chars": 3150,
"preview": "import Client\nimport ComposableArchitecture\nimport Foundation\nimport KeyboardShortcuts\n\n#if canImport(LicenseManagement)"
},
{
"path": "Core/Sources/HostApp/IsPreview.swift",
"chars": 116,
"preview": "import Foundation\n\nvar isPreview: Bool { ProcessInfo.processInfo.environment[\"XCODE_RUNNING_FOR_PREVIEWS\"] == \"1\" }\n"
},
{
"path": "Core/Sources/HostApp/LaunchAgentManager.swift",
"chars": 641,
"preview": "import Foundation\nimport LaunchAgentManager\n\nextension LaunchAgentManager {\n init() {\n self.init(\n "
},
{
"path": "Core/Sources/HostApp/ServiceView.swift",
"chars": 2657,
"preview": "import ComposableArchitecture\nimport SwiftUI\n\nstruct ServiceView: View {\n let store: StoreOf<HostApp>\n @State var "
},
{
"path": "Core/Sources/HostApp/SharedComponents/CodeHighlightThemePicker.swift",
"chars": 1736,
"preview": "import Foundation\nimport Preferences\nimport SwiftUI\n\npublic struct CodeHighlightThemePicker: View {\n public enum Scen"
},
{
"path": "Core/Sources/HostApp/SharedComponents/EditableText.swift",
"chars": 2408,
"preview": "import Foundation\nimport SwiftUI\n\n// Hack to disable smart quotes and dashes in TextEditor\nextension NSTextView {\n op"
},
{
"path": "Core/Sources/HostApp/SidebarTabView.swift",
"chars": 4917,
"preview": "import SwiftUI\n\nprivate struct SidebarItem: Identifiable, Equatable {\n var id: Int { tag }\n var tag: Int\n var t"
},
{
"path": "Core/Sources/HostApp/TabContainer.swift",
"chars": 7322,
"preview": "import ComposableArchitecture\nimport Dependencies\nimport Foundation\nimport LaunchAgentManager\nimport SharedUIComponents\n"
},
{
"path": "Core/Sources/KeyBindingManager/KeyBindingManager.swift",
"chars": 381,
"preview": "import Foundation\nimport Workspace\n\n\npublic final class KeyBindingManager {\n let tabToAcceptSuggestion: TabToAcceptSu"
},
{
"path": "Core/Sources/KeyBindingManager/TabToAcceptSuggestion.swift",
"chars": 11050,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport CGEventOverride\nimport CommandHandler\nimport Dependencies\nimport Fo"
},
{
"path": "Core/Sources/LaunchAgentManager/LaunchAgentManager.swift",
"chars": 6348,
"preview": "import Foundation\nimport ServiceManagement\n\npublic struct LaunchAgentManager {\n let lastLaunchAgentVersionKey = \"Last"
},
{
"path": "Core/Sources/LegacyChatPlugin/AskChatGPT.swift",
"chars": 707,
"preview": "import Foundation\nimport OpenAIService\n\n/// Quickly ask a question to ChatGPT.\npublic func askChatGPT(\n systemPrompt:"
},
{
"path": "Core/Sources/LegacyChatPlugin/CallAIFunction.swift",
"chars": 1100,
"preview": "import Foundation\nimport OpenAIService\n\n/// This is a magic function that can do anything with no-code. See\n/// https://"
},
{
"path": "Core/Sources/LegacyChatPlugin/LegacyChatPlugin.swift",
"chars": 771,
"preview": "import Foundation\nimport OpenAIService\n\npublic protocol LegacyChatPlugin: AnyObject {\n /// Should be [a-zA-Z0-9]+\n "
},
{
"path": "Core/Sources/LegacyChatPlugin/TerminalChatPlugin.swift",
"chars": 3853,
"preview": "import Foundation\nimport OpenAIService\nimport Terminal\nimport XcodeInspector\n\npublic actor TerminalChatPlugin: LegacyCha"
},
{
"path": "Core/Sources/LegacyChatPlugin/Translate.swift",
"chars": 973,
"preview": "import Foundation\nimport Preferences\n\n@MainActor\nvar translationCache = [String: String]()\n\npublic func translate(text: "
},
{
"path": "Core/Sources/PlusFeatureFlag/PlusFeatureFlag.swift",
"chars": 1039,
"preview": "import Foundation\nimport SwiftUI\n\n#if canImport(LicenseManagement)\n\nimport LicenseManagement\n\n#else\n\npublic typealias Pl"
},
{
"path": "Core/Sources/PromptToCodeService/OpenAIPromptToCodeService.swift",
"chars": 13544,
"preview": "import Foundation\nimport ModificationBasic\nimport OpenAIService\nimport Preferences\nimport SuggestionBasic\nimport XcodeIn"
},
{
"path": "Core/Sources/PromptToCodeService/PreviewPromptToCodeService.swift",
"chars": 3032,
"preview": "import Foundation\nimport ModificationBasic\nimport SuggestionBasic\n\npublic final class PreviewModificationAgent: Modifica"
},
{
"path": "Core/Sources/PromptToCodeService/PromptToCodeServiceType.swift",
"chars": 698,
"preview": "import Dependencies\nimport Foundation\nimport SuggestionBasic\n\npublic struct PromptToCodeSource {\n public var language"
},
{
"path": "Core/Sources/Service/DependencyUpdater.swift",
"chars": 3256,
"preview": "import CodeiumService\nimport Foundation\nimport GitHubCopilotService\nimport Logger\n\nstruct DependencyUpdater {\n init()"
},
{
"path": "Core/Sources/Service/GUI/ChatTabFactory.swift",
"chars": 1952,
"preview": "import BuiltinExtension\nimport ChatGPTChatTab\nimport ChatService\nimport ChatTab\nimport Foundation\nimport PromptToCodeSer"
},
{
"path": "Core/Sources/Service/GUI/GraphicalUserInterfaceController.swift",
"chars": 15466,
"preview": "import ActiveApplicationMonitor\nimport AppActivator\nimport AppKit\nimport BuiltinExtension\nimport ChatGPTChatTab\nimport C"
},
{
"path": "Core/Sources/Service/GUI/WidgetDataSource.swift",
"chars": 1220,
"preview": "import ActiveApplicationMonitor\nimport AppActivator\nimport AppKit\nimport ChatService\nimport ComposableArchitecture\nimpor"
},
{
"path": "Core/Sources/Service/GlobalShortcutManager.swift",
"chars": 2414,
"preview": "import AppKit\nimport Combine\nimport Foundation\nimport KeyboardShortcuts\nimport XcodeInspector\n\nextension KeyboardShortcu"
},
{
"path": "Core/Sources/Service/Helpers.swift",
"chars": 2484,
"preview": "import Foundation\nimport LanguageServerProtocol\n\nextension NSError {\n static func from(_ error: Error) -> NSError {\n "
},
{
"path": "Core/Sources/Service/RealtimeSuggestionController.swift",
"chars": 7818,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport AsyncAlgorithms\nimport AXExtension\nimport Foundation\nimport Logger\n"
},
{
"path": "Core/Sources/Service/ScheduledCleaner.swift",
"chars": 3282,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport AXExtension\nimport BuiltinExtension\nimport Foundation\nimport Logger"
},
{
"path": "Core/Sources/Service/Service.swift",
"chars": 6055,
"preview": "import BuiltinExtension\nimport CodeiumService\nimport Combine\nimport CommandHandler\nimport Dependencies\nimport Foundation"
},
{
"path": "Core/Sources/Service/SuggestionCommandHandler/PseudoCommandHandler.swift",
"chars": 28310,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport BuiltinExtension\nimport CodeiumService\nimport CommandHandler\nimport"
},
{
"path": "Core/Sources/Service/SuggestionCommandHandler/SuggestionCommandHandler.swift",
"chars": 1217,
"preview": "import SuggestionBasic\nimport XPCShared\n\nprotocol SuggestionCommandHandler {\n @ServiceActor\n func presentSuggestio"
},
{
"path": "Core/Sources/Service/SuggestionCommandHandler/WindowBaseCommandHandler.swift",
"chars": 18858,
"preview": "import AppKit\nimport ChatService\nimport ComposableArchitecture\nimport CustomCommandTemplateProcessor\nimport Foundation\ni"
},
{
"path": "Core/Sources/Service/SuggestionPresenter/PresentInWindowSuggestionPresenter.swift",
"chars": 1606,
"preview": "import ChatService\nimport Foundation\nimport OpenAIService\nimport SuggestionBasic\nimport SuggestionWidget\n\nstruct Present"
},
{
"path": "Core/Sources/Service/WorkspaceExtension/Workspace+Cleanup.swift",
"chars": 1045,
"preview": "import Foundation\nimport SuggestionProvider\nimport Workspace\nimport WorkspaceSuggestionService\n\nextension Workspace {\n "
},
{
"path": "Core/Sources/Service/XPCService.swift",
"chars": 7539,
"preview": "import AppKit\nimport Foundation\nimport GitHubCopilotService\nimport LanguageServerProtocol\nimport Logger\nimport Preferenc"
},
{
"path": "Core/Sources/ServiceUpdateMigration/MigrateTo135.swift",
"chars": 1712,
"preview": "import Foundation\nimport GitHubCopilotService\n\nfunc migrateFromLowerThanOrEqualToVersion135() throws {\n // 0. Create "
},
{
"path": "Core/Sources/ServiceUpdateMigration/MigrateTo240.swift",
"chars": 4421,
"preview": "import AIModel\nimport Foundation\nimport Keychain\nimport Preferences\n\nfunc migrateTo240(\n defaults: UserDefaults = .sh"
},
{
"path": "Core/Sources/ServiceUpdateMigration/ServiceUpdateMigrator.swift",
"chars": 992,
"preview": "import Configs\nimport Foundation\nimport Preferences\n\nextension UserDefaultPreferenceKeys {\n struct OldMigrationVersio"
},
{
"path": "Core/Sources/SuggestionService/SuggestionService.swift",
"chars": 4102,
"preview": "import BuiltinExtension\nimport CodeiumService\nimport enum CopilotForXcodeKit.SuggestionServiceError\nimport struct Copilo"
},
{
"path": "Core/Sources/SuggestionWidget/ChatPanelWindow.swift",
"chars": 3336,
"preview": "import AppKit\nimport ChatTab\nimport ComposableArchitecture\nimport Foundation\nimport SwiftUI\n\nfinal class ChatPanelWindow"
},
{
"path": "Core/Sources/SuggestionWidget/ChatWindowView.swift",
"chars": 15554,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport ChatGPTChatTab\nimport ChatTab\nimport ComposableArchitecture\nimport "
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/ChatPanel.swift",
"chars": 11089,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport ChatTab\nimport ComposableArchitecture\nimport SwiftUI\n\npublic enum C"
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/CircularWidget.swift",
"chars": 3171,
"preview": "import ActiveApplicationMonitor\nimport ComposableArchitecture\nimport Preferences\nimport SuggestionBasic\nimport SwiftUI\n\n"
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/PromptToCodeGroup.swift",
"chars": 7405,
"preview": "import ComposableArchitecture\nimport Foundation\nimport PromptToCodeService\nimport SuggestionBasic\nimport XcodeInspector\n"
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/PromptToCodePanel.swift",
"chars": 15107,
"preview": "import AppKit\nimport ChatBasic\nimport ComposableArchitecture\nimport CustomAsyncAlgorithms\nimport Dependencies\nimport Fou"
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/SharedPanel.swift",
"chars": 1605,
"preview": "import ComposableArchitecture\nimport Preferences\nimport SwiftUI\n\n@Reducer\npublic struct SharedPanel {\n public struct "
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/SuggestionPanel.swift",
"chars": 748,
"preview": "import ComposableArchitecture\nimport Foundation\nimport SwiftUI\n\n@Reducer\npublic struct SuggestionPanel {\n @Observable"
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/ToastPanel.swift",
"chars": 814,
"preview": "import ComposableArchitecture\nimport Preferences\nimport SwiftUI\nimport Toast\n\n@Reducer\npublic struct ToastPanel {\n @O"
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/Widget.swift",
"chars": 13821,
"preview": "import ActiveApplicationMonitor\nimport AppActivator\nimport AsyncAlgorithms\nimport ComposableArchitecture\nimport Foundati"
},
{
"path": "Core/Sources/SuggestionWidget/FeatureReducers/WidgetPanel.swift",
"chars": 5199,
"preview": "import AppKit\nimport ComposableArchitecture\nimport Foundation\n\n@Reducer\npublic struct WidgetPanel {\n @ObservableState"
},
{
"path": "Core/Sources/SuggestionWidget/ModuleDependency.swift",
"chars": 2886,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport ChatTab\nimport ComposableArchitecture\nimport Dependencies\nimport Fo"
},
{
"path": "Core/Sources/SuggestionWidget/PromptToCodePanelGroupView.swift",
"chars": 4558,
"preview": "import ComposableArchitecture\nimport Foundation\nimport SwiftUI\n\nstruct PromptToCodePanelGroupView: View {\n let store:"
},
{
"path": "Core/Sources/SuggestionWidget/SharedPanelView.swift",
"chars": 5984,
"preview": "import ComposableArchitecture\nimport Preferences\nimport SwiftUI\n\nextension View {\n @ViewBuilder\n func animation<V:"
},
{
"path": "Core/Sources/SuggestionWidget/Styles.swift",
"chars": 3907,
"preview": "import AppKit\nimport MarkdownUI\nimport SharedUIComponents\nimport SwiftUI\n\nenum Style {\n static let panelHeight: Doubl"
},
{
"path": "Core/Sources/SuggestionWidget/SuggestionPanelContent/CodeBlockSuggestionPanelView.swift",
"chars": 18428,
"preview": "import Combine\nimport CommandHandler\nimport Dependencies\nimport Perception\nimport SharedUIComponents\nimport SuggestionBa"
},
{
"path": "Core/Sources/SuggestionWidget/SuggestionPanelContent/ErrorPanelView.swift",
"chars": 805,
"preview": "import SwiftUI\n\nstruct ErrorPanelView: View {\n var description: String\n var onCloseButtonTap: () -> Void\n\n var "
},
{
"path": "Core/Sources/SuggestionWidget/SuggestionPanelContent/PromptToCodePanelView.swift",
"chars": 52246,
"preview": "import ChatBasic\nimport Cocoa\nimport ComposableArchitecture\nimport MarkdownUI\nimport ModificationBasic\nimport PromptToCo"
},
{
"path": "Core/Sources/SuggestionWidget/SuggestionPanelContent/ToastPanelView.swift",
"chars": 3794,
"preview": "import ComposableArchitecture\nimport Dependencies\nimport Foundation\nimport SwiftUI\nimport Toast\n\nstruct ToastPanelView: "
},
{
"path": "Core/Sources/SuggestionWidget/SuggestionPanelView.swift",
"chars": 2579,
"preview": "import ComposableArchitecture\nimport Foundation\nimport SwiftUI\n\nstruct SuggestionPanelView: View {\n let store: StoreO"
},
{
"path": "Core/Sources/SuggestionWidget/SuggestionWidgetController.swift",
"chars": 2077,
"preview": "import ActiveApplicationMonitor\nimport AppKit\nimport AsyncAlgorithms\nimport ChatTab\nimport Combine\nimport ComposableArch"
},
{
"path": "Core/Sources/SuggestionWidget/SuggestionWidgetDataSource.swift",
"chars": 698,
"preview": "import Foundation\n\npublic protocol SuggestionWidgetDataSource {\n func suggestionForFile(at url: URL) async -> Present"
},
{
"path": "Core/Sources/SuggestionWidget/TextCursorTracker.swift",
"chars": 2654,
"preview": "import Foundation\nimport Perception\nimport SuggestionBasic\nimport SwiftUI\nimport XcodeInspector\n\n/// A passive tracker t"
},
{
"path": "Core/Sources/SuggestionWidget/WidgetPositionStrategy.swift",
"chars": 19401,
"preview": "import AppKit\nimport Foundation\n\npublic struct WidgetLocation: Equatable {\n struct PanelLocation: Equatable {\n "
},
{
"path": "Core/Sources/SuggestionWidget/WidgetView.swift",
"chars": 11982,
"preview": "import ActiveApplicationMonitor\nimport ComposableArchitecture\nimport Preferences\nimport SharedUIComponents\nimport Sugges"
},
{
"path": "Core/Sources/SuggestionWidget/WidgetWindowsController.swift",
"chars": 33835,
"preview": "import AppKit\nimport AsyncAlgorithms\nimport ChatTab\nimport ComposableArchitecture\nimport Dependencies\nimport Foundation\n"
},
{
"path": "Core/Sources/UpdateChecker/UpdateChecker.swift",
"chars": 3140,
"preview": "import Logger\nimport Preferences\nimport Sparkle\n\npublic final class UpdateChecker {\n let updater: SPUUpdater\n let "
},
{
"path": "Core/Sources/UserDefaultsObserver/UserDefaultsObserver.swift",
"chars": 894,
"preview": "import Foundation\n\npublic final class UserDefaultsObserver: NSObject {\n public var onChange: (() -> Void)?\n privat"
},
{
"path": "Core/Sources/XcodeThemeController/HighlightJSThemeTemplate.swift",
"chars": 2551,
"preview": "import Foundation\n\nfunc buildHighlightJSTheme(_ theme: XcodeTheme) -> String {\n /// The source value is an `r g b a` "
},
{
"path": "Core/Sources/XcodeThemeController/HighlightrThemeManager.swift",
"chars": 5256,
"preview": "import Foundation\nimport Highlightr\nimport Preferences\n\npublic class HighlightrThemeManager: ThemeManager {\n let defa"
},
{
"path": "Core/Sources/XcodeThemeController/PreferenceKey+Theme.swift",
"chars": 809,
"preview": "import Foundation\nimport Preferences\n\n// MARK: - Theming\n\npublic extension UserDefaultPreferenceKeys {\n var lightXcod"
},
{
"path": "Core/Sources/XcodeThemeController/XcodeThemeController.swift",
"chars": 9505,
"preview": "import AppKit\nimport Foundation\nimport Highlightr\nimport XcodeInspector\n\npublic class XcodeThemeController {\n var syn"
},
{
"path": "Core/Sources/XcodeThemeController/XcodeThemeParser.swift",
"chars": 13225,
"preview": "import Foundation\nimport Preferences\n\npublic struct XcodeTheme: Codable {\n public struct ThemeColor: Codable {\n "
},
{
"path": "Core/Tests/ChatServiceTests/ParseScopesTests.swift",
"chars": 1294,
"preview": "import XCTest\n\n@testable import ChatService\n\nfinal class ParseScopesTests: XCTestCase {\n let parse = DynamicContextCo"
},
{
"path": "Core/Tests/KeyBindingManagerTests/TabToAcceptSuggestionTests.swift",
"chars": 5179,
"preview": "import Foundation\nimport XCTest\n\n@testable import Workspace\n@testable import KeyBindingManager\n\nclass TabToAcceptSuggest"
},
{
"path": "Core/Tests/PromptToCodeServiceTests/ExtractCodeFromChatGPTTests.swift",
"chars": 1930,
"preview": "import XCTest\n@testable import PromptToCodeService\n\nfinal class ExtractCodeFromChatGPTTests: XCTestCase {\n func test_"
},
{
"path": "Core/Tests/ServiceTests/Environment.swift",
"chars": 1748,
"preview": "import AppKit\nimport Client\nimport Foundation\nimport GitHubCopilotService\nimport SuggestionBasic\nimport Workspace\nimport"
},
{
"path": "Core/Tests/ServiceTests/ExtractSelectedCodeTests.swift",
"chars": 2033,
"preview": "import SuggestionBasic\nimport XCTest\n@testable import Service\n@testable import XPCShared\n\nclass ExtractSelectedCodeTests"
},
{
"path": "Core/Tests/ServiceTests/FilespaceSuggestionInvalidationTests.swift",
"chars": 14806,
"preview": "import Foundation\nimport SuggestionBasic\nimport XCTest\n\n@testable import Service\n@testable import Workspace\n\nclass Files"
},
{
"path": "Core/Tests/ServiceUpdateMigrationTests/MigrateTo240Tests.swift",
"chars": 7332,
"preview": "import Foundation\nimport Keychain\nimport XCTest\n\n@testable import ServiceUpdateMigration\n\nfinal class MigrateTo240Tests:"
},
{
"path": "Core/Tests/SuggestionWidgetTests/File.swift",
"chars": 18,
"preview": "import Foundation\n"
},
{
"path": "DEVELOPMENT.md",
"chars": 2791,
"preview": "# Development\n\n## Targets \n\n### Copilot for Xcode\n\nCopilot for Xcode is the host app containing both the XPCService and "
},
{
"path": "EditorExtension/AcceptPromptToCodeCommand.swift",
"chars": 950,
"preview": "import Client\nimport Foundation\nimport SuggestionBasic\nimport XcodeKit\n\nclass AcceptPromptToCodeCommand: NSObject, XCSou"
}
]
// ... and 330 more files (download for full content)
About this extraction
This page contains the full source code of the intitni/CopilotForXcode GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 530 files (4.3 MB), approximately 1.2M tokens, and a symbol index with 2 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.