Something went wrong. Try again.
A fully native SwiftUI ADE Proof of Concept that leverages macOS on-device intelligence to create a fully featured coding agent experience
Something went wrong. Try again.
13 kB · 365 lines
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366// !$*UTF8*$!{ archiveVersion = 1; classes = { }; objectVersion = 77; objects = {
/* Begin PBXBuildFile section */ 20A9B16CFA02783D063E6EB4 /* ThirdPartyNotices.txt in Resources */ = {isa = PBXBuildFile; fileRef = DC77168F1B0D1B84E8AF0D3C /* ThirdPartyNotices.txt */; }; E05E0AA7067E6A33608B870D /* CodeEditorApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29353163EE78204DDF2302B1 /* CodeEditorApp.swift */; }; F37151A558A8EFF210328DD4 /* ADEKit in Frameworks */ = {isa = PBXBuildFile; productRef = 5CD7279DF7BA23EE5C5E8EA7 /* ADEKit */; };/* End PBXBuildFile section */
/* Begin PBXFileReference section */ 0F1B9E92EF00074F215FA569 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; 29353163EE78204DDF2302B1 /* CodeEditorApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodeEditorApp.swift; sourceTree = "<group>"; }; 2BD7C5AB65FC330E32737239 /* ADEKit */ = {isa = PBXFileReference; lastKnownFileType = folder; name = ADEKit; path = Packages/ADEKit; sourceTree = SOURCE_ROOT; }; DC77168F1B0D1B84E8AF0D3C /* ThirdPartyNotices.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = ThirdPartyNotices.txt; sourceTree = "<group>"; }; FBC82A153FC2FED7927EEA20 /* CodeEditor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CodeEditor.app; sourceTree = BUILT_PRODUCTS_DIR; };/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ 0CBE0D029535CAC06149BF1E /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( F37151A558A8EFF210328DD4 /* ADEKit in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; };/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ 0BA6AAB25DC2806BD4542510 /* Resources */ = { isa = PBXGroup; children = ( DC77168F1B0D1B84E8AF0D3C /* ThirdPartyNotices.txt */, ); path = Resources; sourceTree = "<group>"; }; AC47BFCA7C2D56D28FBD7795 /* Packages */ = { isa = PBXGroup; children = ( 2BD7C5AB65FC330E32737239 /* ADEKit */, ); path = Packages; sourceTree = "<group>"; }; CD3D2401A867B4E4C1A33488 /* Products */ = { isa = PBXGroup; children = ( FBC82A153FC2FED7927EEA20 /* CodeEditor.app */, ); name = Products; sourceTree = "<group>"; }; D30E8795731AF52FFA530AC4 /* App */ = { isa = PBXGroup; children = ( 29353163EE78204DDF2302B1 /* CodeEditorApp.swift */, 0F1B9E92EF00074F215FA569 /* Info.plist */, 0BA6AAB25DC2806BD4542510 /* Resources */, ); path = App; sourceTree = "<group>"; }; EA664BD08A497F5E8B15E5D6 = { isa = PBXGroup; children = ( D30E8795731AF52FFA530AC4 /* App */, AC47BFCA7C2D56D28FBD7795 /* Packages */, CD3D2401A867B4E4C1A33488 /* Products */, ); sourceTree = "<group>"; };/* End PBXGroup section */
/* Begin PBXNativeTarget section */ D604EF56EC2ADC86D5A02E2E /* CodeEditor */ = { isa = PBXNativeTarget; buildConfigurationList = 934A02FD5F6C5567733FE93A /* Build configuration list for PBXNativeTarget "CodeEditor" */; buildPhases = ( C166EEE443FFE6473C442D4F /* Sources */, 33A48D9CAFCCC8C7837D7566 /* Resources */, 0CBE0D029535CAC06149BF1E /* Frameworks */, ); buildRules = ( ); dependencies = ( ); name = CodeEditor; packageProductDependencies = ( 5CD7279DF7BA23EE5C5E8EA7 /* ADEKit */, ); productName = CodeEditor; productReference = FBC82A153FC2FED7927EEA20 /* CodeEditor.app */; productType = "com.apple.product-type.application"; };/* End PBXNativeTarget section */
/* Begin PBXProject section */ 5C316F378389FEA6D4D1961B /* Project object */ = { isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = YES; LastUpgradeCheck = 2700; TargetAttributes = { D604EF56EC2ADC86D5A02E2E = { ProvisioningStyle = Automatic; }; }; }; buildConfigurationList = D02396773EB2DF119B1E2C37 /* Build configuration list for PBXProject "CodeEditor" */; compatibilityVersion = "Xcode 14.0"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( Base, en, ); mainGroup = EA664BD08A497F5E8B15E5D6; minimizedProjectReferenceProxies = 1; packageReferences = ( 97301B324BE1917BABCC690A /* XCLocalSwiftPackageReference "Packages/ADEKit" */, ); preferredProjectObjectVersion = 77; projectDirPath = ""; projectRoot = ""; targets = ( D604EF56EC2ADC86D5A02E2E /* CodeEditor */, ); };/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */ 33A48D9CAFCCC8C7837D7566 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( 20A9B16CFA02783D063E6EB4 /* ThirdPartyNotices.txt in Resources */, ); runOnlyForDeploymentPostprocessing = 0; };/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */ C166EEE443FFE6473C442D4F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( E05E0AA7067E6A33608B870D /* CodeEditorApp.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; };/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */ 3D9310ECF9A31ADFFB6E71A6 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = arm64; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; CLANG_CXX_LIBRARY = "libc++"; 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; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "$(inherited)", "DEBUG=1", ); 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 = 26.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 6.0; }; name = Debug; }; 6557BB617642A61B6F3A558A /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = arm64; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; CLANG_CXX_LIBRARY = "libc++"; 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; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = 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 = 26.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 6.0; }; name = Release; }; 9A1DB0DE499644A0A3AB5198 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; COMBINE_HIDPI_IMAGES = YES; ENABLE_APP_SANDBOX = NO; ENABLE_HARDENED_RUNTIME = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = App/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Code Editor"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_NSAppTransportSecurity_NSAllowsLocalNetworking = YES; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = "tech.stygian.code-editor"; PRODUCT_NAME = CodeEditor; SDKROOT = macosx; }; name = Debug; }; FA4D81B99431B13C81CF991D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; COMBINE_HIDPI_IMAGES = YES; ENABLE_APP_SANDBOX = NO; ENABLE_HARDENED_RUNTIME = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = App/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Code Editor"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_NSAppTransportSecurity_NSAllowsLocalNetworking = YES; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = "tech.stygian.code-editor"; PRODUCT_NAME = CodeEditor; SDKROOT = macosx; }; name = Release; };/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */ 934A02FD5F6C5567733FE93A /* Build configuration list for PBXNativeTarget "CodeEditor" */ = { isa = XCConfigurationList; buildConfigurations = ( 9A1DB0DE499644A0A3AB5198 /* Debug */, FA4D81B99431B13C81CF991D /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; D02396773EB2DF119B1E2C37 /* Build configuration list for PBXProject "CodeEditor" */ = { isa = XCConfigurationList; buildConfigurations = ( 3D9310ECF9A31ADFFB6E71A6 /* Debug */, 6557BB617642A61B6F3A558A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; };/* End XCConfigurationList section */
/* Begin XCLocalSwiftPackageReference section */ 97301B324BE1917BABCC690A /* XCLocalSwiftPackageReference "Packages/ADEKit" */ = { isa = XCLocalSwiftPackageReference; relativePath = Packages/ADEKit; };/* End XCLocalSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */ 5CD7279DF7BA23EE5C5E8EA7 /* ADEKit */ = { isa = XCSwiftPackageProductDependency; productName = ADEKit; };/* End XCSwiftPackageProductDependency section */ }; rootObject = 5C316F378389FEA6D4D1961B /* Project object */;}