Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
Cleaner Marketplace and menu bar, simpler project names
leepokai728c2e5d9ecc
diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.ymlindex 187b3942..2d1a6075 100644--- a/.github/workflows/release-macos.yml+++ b/.github/workflows/release-macos.yml@@ -50,7 +50,7 @@ jobs:run: |xcodebuild build \-project Codync.xcodeproj \- -scheme Codync-macOS \+ -scheme macOS \-configuration Release \-destination 'generic/platform=macOS' \-derivedDataPath build/derived \@@ -96,29 +96,29 @@ jobs:cp -R "$RUNNER_TEMP/Codync.app" "$DMG_DIR/"ln -s /Applications "$DMG_DIR/Applications"hdiutil create -volname "Codync" -srcfolder "$DMG_DIR" \- -ov -format UDZO build/Codync-macOS.dmg+ -ov -format UDZO build/Codync.dmg- name: Create GitHub Releaserun: |# The host workflow may have created this release already (same tag).gh release create ${{ github.ref_name }} \- build/Codync-macOS.dmg \+ build/Codync.dmg \--title "Codync ${{ github.ref_name }}" \--generate-notes \- || gh release upload ${{ github.ref_name }} build/Codync-macOS.dmg --clobber+ || gh release upload ${{ github.ref_name }} build/Codync.dmg --clobberenv:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}- name: Update Homebrew taprun: |- SHA=$(shasum -a 256 build/Codync-macOS.dmg | awk '{print $1}')+ SHA=$(shasum -a 256 build/Codync.dmg | awk '{print $1}')git clone https://x-access-token:${{ secrets.TAP_TOKEN }}@github.com/leepokai/homebrew-codync.git tapcat > tap/Casks/codync.rb << RUBYcask "codync" doversion "${{ env.VERSION }}"sha256 "${SHA}"- url "https://github.com/leepokai/Codync/releases/download/v#{version}/Codync-macOS.dmg"+ url "https://github.com/leepokai/Codync/releases/download/v#{version}/Codync.dmg"name "Codync"desc "Message your coding agents (Claude Code, Codex, OpenCode) from your iPhone"homepage "https://codync.dev"diff --git a/CLAUDE.md b/CLAUDE.mdindex 3c14ffc5..56cb9237 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -30,6 +30,7 @@ Bot-based remote for coding agents: persistent named bots on your computer, mess- Ignore everything from Codync 1.x (the Claude Code hooks + CloudKit session monitor): no migration, no compatibility shims, no cleanup of its files or hooks, no keeping old workers or App Store copy alive for it. Don't mention 1.x in code, docs or release notes.- Build only the current design; don't reintroduce hooks or CloudKit.+- Don't carry legacy along. Old names, settings, schemes, files or code paths left from earlier designs get renamed or deleted outright when you meet them, not kept "for compatibility". Put full effort into the new design.## Project generation@@ -47,24 +48,18 @@ Bot-based remote for coding agents: persistent named bots on your computer, mess## Targets-- `Codync-macOS` (`apps/macos/`) — menu bar app + embedded host-- `Codync-iOS` (`apps/ios/`) — iOS app-- `CodyncWidgets` (`apps/widgets/`) — usage widget + bot Live Activity (bundle id `com.pokai.Codync.ios.LiveActivity`)+- `macOS` (`apps/macos/`) — menu bar app + embedded host+- `iOS` (`apps/ios/`) — iOS app+- `Widgets` (`apps/widgets/`) — usage widget + bot Live Activity (bundle id `com.pokai.Codync.ios.LiveActivity`)- `CodyncKit` (`kit/`) — shared Swift package: `CodyncKit` + `CodyncUI` libraries- `apps/linux/` — `codync` GTK app (build/test in a container with libgtk-4-dev + libadwaita-1-dev)## Layout & naming-```-apps/{ios,macos,widgets,linux} one folder per client-kit/Sources/CodyncKit/ Models/ Client/ Design/ (no CodyncUI, widget-safe)-kit/Sources/CodyncUI/ Store/ Bots/ Thread/ Marketplace/ Usage/ Resources/, cross-platform glue at root (Platform.swift)-host/ relay/ web/ packaging/-```--- Directories: lowercase for repo-level roles (`apps/`, `kit/`, `host/`); PascalCase inside Swift targets (`Views/`, `Thread/`). Apple app folders are `App/` (entry point, app-wide services), `Views/`, `Resources/` (Info.plist, entitlements, xcprivacy, xcassets).-- Files follow their language: Swift `UpperCamelCase.swift` named after the file's main type; Rust/TS `snake_case.rs` / `kebab-case.ts`.-- One main type per file. Small private helpers of that type stay in it; a file of several small siblings takes the plural role (`ChatRows.swift`, `UsageViews.swift`, `Dialogs.swift`).-- Type suffixes by role: full screen / sheet → `…View`; list item → `…Row`; card → `…Card`; chat bubble → `…Bubble`; window scene → `…Window`; `@Observable` state → `…Store` / `…Controller`; `ButtonStyle` → describes the effect (`PressScale`).-- One word per concept across Swift, Rust host and Linux: **bot** (the persona you message), **agent** (the harness it runs, `Backend` in code), **thread** (the endless chat; not conversation/session), **session** (the ACP session only), **trace** (full conversation sheet), **marketplace** for UI / **market** for its data, **computer** (a paired host, user-facing) vs **host** (code).-- Linux mirrors the Swift feature names in its module names (`thread`, `editor`, `trace`, `settings`) when a file is split; don't invent new terms there.+Folder layout, file naming and shared terms: [docs/structure.md](docs/structure.md). Follow it when adding or moving files.++## Keeping this file short++- CLAUDE.md holds only rules an agent needs on every task. Reference material (file structure, naming tables, API details, audits, how-tos) goes in `docs/` as its own file, with a one-line pointer here.+- When a section here grows past a few lines of reference detail, move it to `docs/` and leave the pointer.+- Keep `docs/` current: update the doc in the same change that makes it stale.diff --git a/Codync.xcodeproj/project.pbxproj b/Codync.xcodeproj/project.pbxprojindex 47203df3..8a469397 100644--- a/Codync.xcodeproj/project.pbxproj+++ b/Codync.xcodeproj/project.pbxproj@@ -7,48 +7,48 @@objects = {/* Begin PBXBuildFile section */- 1260713A6A1C9F0906936B61 /* CodyncMacApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2969919CCC8BC89F277C43A6 /* CodyncMacApp.swift */; };- 12F17A2C483BDC0A71D85207 /* HostController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93A9881C76B67297BE26D8FD /* HostController.swift */; };- 187068689418B6B25AE7B26A /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B274A0195CB3B2409EA4C194 /* WidgetKit.framework */; };- 2C1D071F93F790133BCB64DC /* CodyncUI in Frameworks */ = {isa = PBXBuildFile; productRef = C3EC157070A9B0A033C7F2A0 /* CodyncUI */; };- 341AB84FEF28FF194872D861 /* CodyncKit in Frameworks */ = {isa = PBXBuildFile; productRef = CDE38864BDC425F1240E1C02 /* CodyncKit */; };- 499113F4AB77E9EFEA72767F /* CodyncUI in Frameworks */ = {isa = PBXBuildFile; productRef = 5DAFE014EAFE809C427A475D /* CodyncUI */; };- 4ED0D5BD4A99F1B6CED0D45F /* BotListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C5E57711E223A292872322C5 /* BotListView.swift */; };- 55D43F0D178B7A63BA4E81F3 /* CodyncWidgets.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 04030896973C4041E7FEB319 /* CodyncWidgets.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };- 793C7A0CB5F1B4DFC6E0F9F0 /* RootView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1B79D48C1D6F90D53751B3F /* RootView.swift */; };- A16AB6AB165AA0298D6DF5D1 /* CodyncApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = F45CCA6BBDCF412897AEC105 /* CodyncApp.swift */; };- B4C0DD1A52EF28C9E7450C48 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8B808BC2A9AA0ECD666A454 /* Assets.xcassets */; };- BB58CFE0EF1736939E03E9B2 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 4EDD440CC0624F03363AC1BA /* PrivacyInfo.xcprivacy */; };- D04DF39508B9735282CEC8F7 /* Push.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55AABA9596547D7459B1CC5B /* Push.swift */; };- D3664AEF4522B79F15746DF9 /* PairingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739EC95223CC8F8717C33736 /* PairingView.swift */; };- D516001090C5D376361A7198 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2C705F063CD20F5B3036BD4 /* Assets.xcassets */; };- D667C45D828CAD079A2EDD77 /* CodyncKit in Frameworks */ = {isa = PBXBuildFile; productRef = 4364B5D2EE15CB00ACF26E5D /* CodyncKit */; };- D8E9E7B47361EEE30424455F /* CodyncKit in Frameworks */ = {isa = PBXBuildFile; productRef = 234AA35A60DF7D3E6D7CA45E /* CodyncKit */; };- E343CFBF99787186B873C88C /* CodyncWidgets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6679F051F456F976152EF5B7 /* CodyncWidgets.swift */; };- F234C89CAECC7875ACACE185 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = ABF006FDBF6F111F379DC786 /* PrivacyInfo.xcprivacy */; };- F35C0BF8543A7D1E06EE2680 /* ChatWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A59E3A7670EAF57F2F4C9B9 /* ChatWindow.swift */; };- F40736BCC82C81CCC256E3B3 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE4AE9A34F61B3D28E0C2550 /* SettingsView.swift */; };- FEEBCD214CE268A636921FD9 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E47C60032C326157E0386B8 /* SwiftUI.framework */; };+ 03774684DC8344D81AFED53B /* ChatWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A59E3A7670EAF57F2F4C9B9 /* ChatWindow.swift */; };+ 0CCA5DAC7A621F1786E37EA7 /* CodyncWidgets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6679F051F456F976152EF5B7 /* CodyncWidgets.swift */; };+ 24DF3CB466CC877FCB8BAED6 /* CodyncUI in Frameworks */ = {isa = PBXBuildFile; productRef = BEE30A9D5C73E5A151F34180 /* CodyncUI */; };+ 25667EBFCCC64B96FDCE95A9 /* CodyncKit in Frameworks */ = {isa = PBXBuildFile; productRef = 59F5D19A417A7A50596902FA /* CodyncKit */; };+ 2CC074683AE086D6C77CC1E8 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B274A0195CB3B2409EA4C194 /* WidgetKit.framework */; };+ 2F0A1C29DBBD1D700C10BE46 /* CodyncApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = F45CCA6BBDCF412897AEC105 /* CodyncApp.swift */; };+ 31A78A067C217F77FBDEDFD0 /* Push.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55AABA9596547D7459B1CC5B /* Push.swift */; };+ 48DAAA1384E5B8D0BA27C895 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E47C60032C326157E0386B8 /* SwiftUI.framework */; };+ 513F59BF65DED5379AB950A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2C705F063CD20F5B3036BD4 /* Assets.xcassets */; };+ 52CF04B855C6AAEC47B75B8F /* CodyncUI in Frameworks */ = {isa = PBXBuildFile; productRef = 06C9F37C6502131CAF0F145E /* CodyncUI */; };+ 8CD641A45F144BF41D703D2A /* CodyncMacApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2969919CCC8BC89F277C43A6 /* CodyncMacApp.swift */; };+ 93ACC89E84F8907D8DA378F8 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = ABF006FDBF6F111F379DC786 /* PrivacyInfo.xcprivacy */; };+ B75DD137E6F645F797B60B09 /* PairingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739EC95223CC8F8717C33736 /* PairingView.swift */; };+ C937F66F810AA238B73E8363 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 4EDD440CC0624F03363AC1BA /* PrivacyInfo.xcprivacy */; };+ CC9F6FB8055C38D5D625F738 /* BotListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C5E57711E223A292872322C5 /* BotListView.swift */; };+ D4AB92074A9C0D9C72B4080A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8B808BC2A9AA0ECD666A454 /* Assets.xcassets */; };+ DEF7478AB86DB605F52905F5 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE4AE9A34F61B3D28E0C2550 /* SettingsView.swift */; };+ E430F9317B690366F62164DB /* RootView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1B79D48C1D6F90D53751B3F /* RootView.swift */; };+ EBB0417A5FB2CE6D514D21BE /* CodyncKit in Frameworks */ = {isa = PBXBuildFile; productRef = 1285DDFA0390A76ECDAAD6C0 /* CodyncKit */; };+ F0A26FABD15480810021C86A /* HostController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93A9881C76B67297BE26D8FD /* HostController.swift */; };+ F842AE1C5ED96AF9A7F5D16C /* Widgets.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 6D734BEE7CD3F84677B0218B /* Widgets.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };+ F93D9960F7C20B2E629C1736 /* CodyncKit in Frameworks */ = {isa = PBXBuildFile; productRef = 80868F96B9905FF52DCDFAE2 /* CodyncKit */; };/* End PBXBuildFile section *//* Begin PBXContainerItemProxy section */- 65AAB675493CB6BE712818A9 /* PBXContainerItemProxy */ = {+ D40A213F2C1B900F886F95EB /* PBXContainerItemProxy */ = {isa = PBXContainerItemProxy;containerPortal = 5B6351DD20AF4506794D6460 /* Project object */;proxyType = 1;- remoteGlobalIDString = 95A633B0E0FD05A1D35CA468;- remoteInfo = CodyncWidgets;+ remoteGlobalIDString = A27E4E88D6A5B9850734B594;+ remoteInfo = Widgets;};/* End PBXContainerItemProxy section *//* Begin PBXCopyFilesBuildPhase section */- AA3D7E40FB2438A6CD2D3DE7 /* Embed Foundation Extensions */ = {+ 265004DE0479E150BA3E6AB7 /* Embed Foundation Extensions */ = {isa = PBXCopyFilesBuildPhase;buildActionMask = 2147483647;dstPath = "";dstSubfolderSpec = 13;files = (- 55D43F0D178B7A63BA4E81F3 /* CodyncWidgets.appex in Embed Foundation Extensions */,+ F842AE1C5ED96AF9A7F5D16C /* Widgets.appex in Embed Foundation Extensions */,);name = "Embed Foundation Extensions";runOnlyForDeploymentPostprocessing = 0;@@ -56,58 +56,58 @@/* End PBXCopyFilesBuildPhase section *//* Begin PBXFileReference section */- 04030896973C4041E7FEB319 /* CodyncWidgets.appex */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "wrapper.app-extension"; path = CodyncWidgets.appex; sourceTree = BUILT_PRODUCTS_DIR; };- 155F1B6DC4518164BE2C527F /* Codync-macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Codync-macOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };1E47C60032C326157E0386B8 /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; };232B2C00B9575BFF7068BB62 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };2969919CCC8BC89F277C43A6 /* CodyncMacApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodyncMacApp.swift; sourceTree = "<group>"; };4EDD440CC0624F03363AC1BA /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };55AABA9596547D7459B1CC5B /* Push.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Push.swift; sourceTree = "<group>"; };+ 60422D3CA8FEBCDC5AC465E0 /* iOS.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = iOS.app; sourceTree = BUILT_PRODUCTS_DIR; };6679F051F456F976152EF5B7 /* CodyncWidgets.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodyncWidgets.swift; sourceTree = "<group>"; };+ 6D734BEE7CD3F84677B0218B /* Widgets.appex */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "wrapper.app-extension"; path = Widgets.appex; sourceTree = BUILT_PRODUCTS_DIR; };739EC95223CC8F8717C33736 /* PairingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PairingView.swift; sourceTree = "<group>"; };7A2F5A7F5A648909D8CC5C19 /* kit */ = {isa = PBXFileReference; lastKnownFileType = folder; name = kit; path = kit; sourceTree = SOURCE_ROOT; };- 84B947AD5A042EA315737BBC /* Codync-iOS.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = "Codync-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };93A9881C76B67297BE26D8FD /* HostController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HostController.swift; sourceTree = "<group>"; };+ 967A0E1863D8CAA961B1F7B1 /* Widgets.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Widgets.entitlements; sourceTree = "<group>"; };+ 991A0FD3EAAD4B446F3BF14E /* macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = macOS.app; sourceTree = BUILT_PRODUCTS_DIR; };9A59E3A7670EAF57F2F4C9B9 /* ChatWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatWindow.swift; sourceTree = "<group>"; };ABF006FDBF6F111F379DC786 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };B274A0195CB3B2409EA4C194 /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; };- B41C26950B8F482C4BA51153 /* CodyncWidgets.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = CodyncWidgets.entitlements; sourceTree = "<group>"; };C5E57711E223A292872322C5 /* BotListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BotListView.swift; sourceTree = "<group>"; };D2C705F063CD20F5B3036BD4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };DE4AE9A34F61B3D28E0C2550 /* SettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsView.swift; sourceTree = "<group>"; };E1B79D48C1D6F90D53751B3F /* RootView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RootView.swift; sourceTree = "<group>"; };E7AD1923720498095EFAC927 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };E8B808BC2A9AA0ECD666A454 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };+ F0B6AECA1FDDD3064F3D4447 /* iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = iOS.entitlements; sourceTree = "<group>"; };F45CCA6BBDCF412897AEC105 /* CodyncApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodyncApp.swift; sourceTree = "<group>"; };- FB10B307B79B6EA47AD93F4B /* Codync-iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Codync-iOS.entitlements"; sourceTree = "<group>"; };/* End PBXFileReference section *//* Begin PBXFrameworksBuildPhase section */- 23D362028BD4C2D187672C6B /* Frameworks */ = {+ 1AC8A5FB72DF4C3DAEDBA56F /* Frameworks */ = {isa = PBXFrameworksBuildPhase;buildActionMask = 2147483647;files = (- 341AB84FEF28FF194872D861 /* CodyncKit in Frameworks */,- 499113F4AB77E9EFEA72767F /* CodyncUI in Frameworks */,+ F93D9960F7C20B2E629C1736 /* CodyncKit in Frameworks */,+ 24DF3CB466CC877FCB8BAED6 /* CodyncUI in Frameworks */,);runOnlyForDeploymentPostprocessing = 0;};- BC19FCC84D9B1AF54A43BDB1 /* Frameworks */ = {+ 9C830BBB73D8BC95B4167B13 /* Frameworks */ = {isa = PBXFrameworksBuildPhase;buildActionMask = 2147483647;files = (- D8E9E7B47361EEE30424455F /* CodyncKit in Frameworks */,- 2C1D071F93F790133BCB64DC /* CodyncUI in Frameworks */,+ 25667EBFCCC64B96FDCE95A9 /* CodyncKit in Frameworks */,+ 2CC074683AE086D6C77CC1E8 /* WidgetKit.framework in Frameworks */,+ 48DAAA1384E5B8D0BA27C895 /* SwiftUI.framework in Frameworks */,);runOnlyForDeploymentPostprocessing = 0;};- F84176A6E29D7445556D4800 /* Frameworks */ = {+ B2AF485DB7DA2A4791E60288 /* Frameworks */ = {isa = PBXFrameworksBuildPhase;buildActionMask = 2147483647;files = (- D667C45D828CAD079A2EDD77 /* CodyncKit in Frameworks */,- 187068689418B6B25AE7B26A /* WidgetKit.framework in Frameworks */,- FEEBCD214CE268A636921FD9 /* SwiftUI.framework in Frameworks */,+ EBB0417A5FB2CE6D514D21BE /* CodyncKit in Frameworks */,+ 52CF04B855C6AAEC47B75B8F /* CodyncUI in Frameworks */,);runOnlyForDeploymentPostprocessing = 0;};@@ -156,9 +156,9 @@3EC1FDCCFFFB4BA1A23FDDB0 /* Products */ = {isa = PBXGroup;children = (- 84B947AD5A042EA315737BBC /* Codync-iOS.app */,- 155F1B6DC4518164BE2C527F /* Codync-macOS.app */,- 04030896973C4041E7FEB319 /* CodyncWidgets.appex */,+ 60422D3CA8FEBCDC5AC465E0 /* iOS.app */,+ 991A0FD3EAAD4B446F3BF14E /* macOS.app */,+ 6D734BEE7CD3F84677B0218B /* Widgets.appex */,);name = Products;sourceTree = "<group>";@@ -166,9 +166,9 @@4D41FDF3805D43BB7A2B1E93 /* Resources */ = {isa = PBXGroup;children = (- B41C26950B8F482C4BA51153 /* CodyncWidgets.entitlements */,E7AD1923720498095EFAC927 /* Info.plist */,ABF006FDBF6F111F379DC786 /* PrivacyInfo.xcprivacy */,+ 967A0E1863D8CAA961B1F7B1 /* Widgets.entitlements */,);path = Resources;sourceTree = "<group>";@@ -241,8 +241,8 @@isa = PBXGroup;children = (D2C705F063CD20F5B3036BD4 /* Assets.xcassets */,- FB10B307B79B6EA47AD93F4B /* Codync-iOS.entitlements */,232B2C00B9575BFF7068BB62 /* Info.plist */,+ F0B6AECA1FDDD3064F3D4447 /* iOS.entitlements */,4EDD440CC0624F03363AC1BA /* PrivacyInfo.xcprivacy */,);path = Resources;@@ -259,70 +259,70 @@/* End PBXGroup section *//* Begin PBXNativeTarget section */- 306ED26C181D06BDE1E6EB55 /* Codync-iOS */ = {+ 72F29E7EBE9A88B16B4E608A /* macOS */ = {isa = PBXNativeTarget;- buildConfigurationList = 300BC84D64F107B41629DDFD /* Build configuration list for PBXNativeTarget "Codync-iOS" */;+ buildConfigurationList = 7C0003BA8C173EC41757B9B4 /* Build configuration list for PBXNativeTarget "macOS" */;buildPhases = (- A9B4AF2EC917CEFCB162B091 /* Sources */,- D4DD49FA9E802F4F2DF2B232 /* Resources */,- 23D362028BD4C2D187672C6B /* Frameworks */,- AA3D7E40FB2438A6CD2D3DE7 /* Embed Foundation Extensions */,+ FD97D0661DD7AA54EB7DE077 /* Sources */,+ 14FEC4FC6C72AC9A2596C04C /* Resources */,+ 1AC8A5FB72DF4C3DAEDBA56F /* Frameworks */,+ C0A14ED49FC6A533FEABD5B2 /* Embed codync-host */,);buildRules = ();dependencies = (- 3AA5CFC9DFBBAE9D4564C791 /* PBXTargetDependency */,);- name = "Codync-iOS";+ name = macOS;packageProductDependencies = (- CDE38864BDC425F1240E1C02 /* CodyncKit */,- 5DAFE014EAFE809C427A475D /* CodyncUI */,+ 80868F96B9905FF52DCDFAE2 /* CodyncKit */,+ BEE30A9D5C73E5A151F34180 /* CodyncUI */,);- productName = "Codync-iOS";- productReference = 84B947AD5A042EA315737BBC /* Codync-iOS.app */;+ productName = macOS;+ productReference = 991A0FD3EAAD4B446F3BF14E /* macOS.app */;productType = "com.apple.product-type.application";};- 95A633B0E0FD05A1D35CA468 /* CodyncWidgets */ = {+ 913BDA9F79CE8C35A9E35830 /* iOS */ = {isa = PBXNativeTarget;- buildConfigurationList = 44E0D659F23143196DD57DE0 /* Build configuration list for PBXNativeTarget "CodyncWidgets" */;+ buildConfigurationList = 3C74A86E026A9B24540EC0B2 /* Build configuration list for PBXNativeTarget "iOS" */;buildPhases = (- EB674074085209A1C457557E /* Sources */,- AD74120AC78F1A5E6D6E9CFF /* Resources */,- F84176A6E29D7445556D4800 /* Frameworks */,+ B42F6957E97BFF5E6D8F504B /* Sources */,+ 8C91DA62A73BD91999C1FD70 /* Resources */,+ B2AF485DB7DA2A4791E60288 /* Frameworks */,+ 265004DE0479E150BA3E6AB7 /* Embed Foundation Extensions */,);buildRules = ();dependencies = (+ 40DF4BEA40A82C095F51AB76 /* PBXTargetDependency */,);- name = CodyncWidgets;+ name = iOS;packageProductDependencies = (- 4364B5D2EE15CB00ACF26E5D /* CodyncKit */,+ 1285DDFA0390A76ECDAAD6C0 /* CodyncKit */,+ 06C9F37C6502131CAF0F145E /* CodyncUI */,);- productName = CodyncWidgets;- productReference = 04030896973C4041E7FEB319 /* CodyncWidgets.appex */;- productType = "com.apple.product-type.app-extension";+ productName = iOS;+ productReference = 60422D3CA8FEBCDC5AC465E0 /* iOS.app */;+ productType = "com.apple.product-type.application";};- E8A9607522E696738C5CA56E /* Codync-macOS */ = {+ A27E4E88D6A5B9850734B594 /* Widgets */ = {isa = PBXNativeTarget;- buildConfigurationList = 055E41E3751AF5C2889C3938 /* Build configuration list for PBXNativeTarget "Codync-macOS" */;+ buildConfigurationList = 95CAB203C65D7CF3F8C9B90E /* Build configuration list for PBXNativeTarget "Widgets" */;buildPhases = (- E5233A2EF3EBD0703A3CD62B /* Sources */,- E7B25FBC4C007B3E1A7E8B39 /* Resources */,- BC19FCC84D9B1AF54A43BDB1 /* Frameworks */,- 35A6B7A814D5FF8E400C0EBA /* Embed codync-host */,+ 0F5715AD7C1E63AD16A8F0C3 /* Sources */,+ E296E7C6EA511439ADB4F915 /* Resources */,+ 9C830BBB73D8BC95B4167B13 /* Frameworks */,);buildRules = ();dependencies = ();- name = "Codync-macOS";+ name = Widgets;packageProductDependencies = (- 234AA35A60DF7D3E6D7CA45E /* CodyncKit */,- C3EC157070A9B0A033C7F2A0 /* CodyncUI */,+ 59F5D19A417A7A50596902FA /* CodyncKit */,);- productName = "Codync-macOS";- productReference = 155F1B6DC4518164BE2C527F /* Codync-macOS.app */;- productType = "com.apple.product-type.application";+ productName = Widgets;+ productReference = 6D734BEE7CD3F84677B0218B /* Widgets.appex */;+ productType = "com.apple.product-type.app-extension";};/* End PBXNativeTarget section */@@ -333,15 +333,15 @@BuildIndependentTargetsInParallel = YES;LastUpgradeCheck = 1430;TargetAttributes = {- 306ED26C181D06BDE1E6EB55 = {+ 72F29E7EBE9A88B16B4E608A = {DevelopmentTeam = 7FUM8A8H72;ProvisioningStyle = Automatic;};- 95A633B0E0FD05A1D35CA468 = {+ 913BDA9F79CE8C35A9E35830 = {DevelopmentTeam = 7FUM8A8H72;ProvisioningStyle = Automatic;};- E8A9607522E696738C5CA56E = {+ A27E4E88D6A5B9850734B594 = {DevelopmentTeam = 7FUM8A8H72;ProvisioningStyle = Automatic;};@@ -364,43 +364,43 @@projectDirPath = "";projectRoot = "";targets = (- 306ED26C181D06BDE1E6EB55 /* Codync-iOS */,- E8A9607522E696738C5CA56E /* Codync-macOS */,- 95A633B0E0FD05A1D35CA468 /* CodyncWidgets */,+ A27E4E88D6A5B9850734B594 /* Widgets */,+ 913BDA9F79CE8C35A9E35830 /* iOS */,+ 72F29E7EBE9A88B16B4E608A /* macOS */,);};/* End PBXProject section *//* Begin PBXResourcesBuildPhase section */- AD74120AC78F1A5E6D6E9CFF /* Resources */ = {+ 14FEC4FC6C72AC9A2596C04C /* Resources */ = {isa = PBXResourcesBuildPhase;buildActionMask = 2147483647;files = (- F234C89CAECC7875ACACE185 /* PrivacyInfo.xcprivacy in Resources */,+ D4AB92074A9C0D9C72B4080A /* Assets.xcassets in Resources */,);runOnlyForDeploymentPostprocessing = 0;};- D4DD49FA9E802F4F2DF2B232 /* Resources */ = {+ 8C91DA62A73BD91999C1FD70 /* Resources */ = {isa = PBXResourcesBuildPhase;buildActionMask = 2147483647;files = (- D516001090C5D376361A7198 /* Assets.xcassets in Resources */,- BB58CFE0EF1736939E03E9B2 /* PrivacyInfo.xcprivacy in Resources */,+ 513F59BF65DED5379AB950A1 /* Assets.xcassets in Resources */,+ C937F66F810AA238B73E8363 /* PrivacyInfo.xcprivacy in Resources */,);runOnlyForDeploymentPostprocessing = 0;};- E7B25FBC4C007B3E1A7E8B39 /* Resources */ = {+ E296E7C6EA511439ADB4F915 /* Resources */ = {isa = PBXResourcesBuildPhase;buildActionMask = 2147483647;files = (- B4C0DD1A52EF28C9E7450C48 /* Assets.xcassets in Resources */,+ 93ACC89E84F8907D8DA378F8 /* PrivacyInfo.xcprivacy in Resources */,);runOnlyForDeploymentPostprocessing = 0;};/* End PBXResourcesBuildPhase section *//* Begin PBXShellScriptBuildPhase section */- 35A6B7A814D5FF8E400C0EBA /* Embed codync-host */ = {+ C0A14ED49FC6A533FEABD5B2 /* Embed codync-host */ = {isa = PBXShellScriptBuildPhase;alwaysOutOfDate = 1;buildActionMask = 2147483647;@@ -423,44 +423,44 @@/* End PBXShellScriptBuildPhase section *//* Begin PBXSourcesBuildPhase section */- A9B4AF2EC917CEFCB162B091 /* Sources */ = {+ 0F5715AD7C1E63AD16A8F0C3 /* Sources */ = {isa = PBXSourcesBuildPhase;buildActionMask = 2147483647;files = (- 4ED0D5BD4A99F1B6CED0D45F /* BotListView.swift in Sources */,- A16AB6AB165AA0298D6DF5D1 /* CodyncApp.swift in Sources */,- D3664AEF4522B79F15746DF9 /* PairingView.swift in Sources */,- D04DF39508B9735282CEC8F7 /* Push.swift in Sources */,- 793C7A0CB5F1B4DFC6E0F9F0 /* RootView.swift in Sources */,- F40736BCC82C81CCC256E3B3 /* SettingsView.swift in Sources */,+ 0CCA5DAC7A621F1786E37EA7 /* CodyncWidgets.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};- E5233A2EF3EBD0703A3CD62B /* Sources */ = {+ B42F6957E97BFF5E6D8F504B /* Sources */ = {isa = PBXSourcesBuildPhase;buildActionMask = 2147483647;files = (- F35C0BF8543A7D1E06EE2680 /* ChatWindow.swift in Sources */,- 1260713A6A1C9F0906936B61 /* CodyncMacApp.swift in Sources */,- 12F17A2C483BDC0A71D85207 /* HostController.swift in Sources */,+ CC9F6FB8055C38D5D625F738 /* BotListView.swift in Sources */,+ 2F0A1C29DBBD1D700C10BE46 /* CodyncApp.swift in Sources */,+ B75DD137E6F645F797B60B09 /* PairingView.swift in Sources */,+ 31A78A067C217F77FBDEDFD0 /* Push.swift in Sources */,+ E430F9317B690366F62164DB /* RootView.swift in Sources */,+ DEF7478AB86DB605F52905F5 /* SettingsView.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};- EB674074085209A1C457557E /* Sources */ = {+ FD97D0661DD7AA54EB7DE077 /* Sources */ = {isa = PBXSourcesBuildPhase;buildActionMask = 2147483647;files = (- E343CFBF99787186B873C88C /* CodyncWidgets.swift in Sources */,+ 03774684DC8344D81AFED53B /* ChatWindow.swift in Sources */,+ 8CD641A45F144BF41D703D2A /* CodyncMacApp.swift in Sources */,+ F0A26FABD15480810021C86A /* HostController.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};/* End PBXSourcesBuildPhase section *//* Begin PBXTargetDependency section */- 3AA5CFC9DFBBAE9D4564C791 /* PBXTargetDependency */ = {+ 40DF4BEA40A82C095F51AB76 /* PBXTargetDependency */ = {isa = PBXTargetDependency;- target = 95A633B0E0FD05A1D35CA468 /* CodyncWidgets */;- targetProxy = 65AAB675493CB6BE712818A9 /* PBXContainerItemProxy */;+ target = A27E4E88D6A5B9850734B594 /* Widgets */;+ targetProxy = D40A213F2C1B900F886F95EB /* PBXContainerItemProxy */;};/* End PBXTargetDependency section */@@ -528,27 +528,7 @@};name = Release;};- 54EA3D52E88009D955D76EA4 /* Debug */ = {- isa = XCBuildConfiguration;- buildSettings = {- CODE_SIGN_ENTITLEMENTS = apps/widgets/Resources/CodyncWidgets.entitlements;- GENERATE_INFOPLIST_FILE = YES;- INFOPLIST_FILE = apps/widgets/Resources/Info.plist;- INFOPLIST_KEY_CFBundleDisplayName = Codync;- LD_RUNPATH_SEARCH_PATHS = (- "$(inherited)",- "@executable_path/Frameworks",- "@executable_path/../../Frameworks",- );- PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync.ios.LiveActivity;- PRODUCT_NAME = CodyncWidgets;- SDKROOT = iphoneos;- SKIP_INSTALL = YES;- TARGETED_DEVICE_FAMILY = "1,2";- };- name = Debug;- };- 5EAF02B30FB1CCFAE0E18AAE /* Debug */ = {+ 57C9A2C8FA6B1E9F990016F9 /* Debug */ = {isa = XCBuildConfiguration;buildSettings = {ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;@@ -570,57 +550,25 @@};name = Debug;};- 7984345FB6F55041E94F9B88 /* Release */ = {+ 6A5CD5AB98E7B897A9E57C49 /* Debug */ = {isa = XCBuildConfiguration;buildSettings = {- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;- CODE_SIGN_ENTITLEMENTS = "apps/ios/Resources/Codync-iOS.entitlements";- CODE_SIGN_IDENTITY = "iPhone Developer";+ CODE_SIGN_ENTITLEMENTS = apps/widgets/Resources/Widgets.entitlements;GENERATE_INFOPLIST_FILE = YES;- INFOPLIST_FILE = apps/ios/Resources/Info.plist;+ INFOPLIST_FILE = apps/widgets/Resources/Info.plist;INFOPLIST_KEY_CFBundleDisplayName = Codync;- INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";- INFOPLIST_KEY_NSCameraUsageDescription = "Scan the pairing code shown on your computer.";- INFOPLIST_KEY_NSLocalNetworkUsageDescription = "Codync connects to the computer running your bots on your local network.";- INFOPLIST_KEY_NSSupportsLiveActivities = YES;- INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;- INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;- INFOPLIST_KEY_UILaunchScreen_Generation = YES;- INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";- INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = UIInterfaceOrientationPortrait;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)","@executable_path/Frameworks",+ "@executable_path/../../Frameworks",);- PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync.ios;- PRODUCT_NAME = Codync;+ PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync.ios.LiveActivity;+ PRODUCT_NAME = CodyncWidgets;SDKROOT = iphoneos;+ SKIP_INSTALL = YES;TARGETED_DEVICE_FAMILY = "1,2";};- name = Release;- };- 7AECEDF558C927EA14CD5EB5 /* 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_KEY_CFBundleDisplayName = Codync;- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";- INFOPLIST_KEY_LSUIElement = YES;- INFOPLIST_KEY_NSHumanReadableCopyright = "";- LD_RUNPATH_SEARCH_PATHS = (- "$(inherited)",- "@executable_path/../Frameworks",- );- PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync;- PRODUCT_NAME = Codync;- SDKROOT = macosx;- };- name = Release;+ name = Debug;};A8BF4A3388AA1B9ECD65A197 /* Debug */ = {isa = XCBuildConfiguration;@@ -692,31 +640,41 @@};name = Debug;};- AE9BE3BA396DE6267749F8AF /* Release */ = {+ AA5DD179E0A7875E9EC22904 /* Debug */ = {isa = XCBuildConfiguration;buildSettings = {- CODE_SIGN_ENTITLEMENTS = apps/widgets/Resources/CodyncWidgets.entitlements;+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;+ CODE_SIGN_ENTITLEMENTS = apps/ios/Resources/iOS.entitlements;+ CODE_SIGN_IDENTITY = "iPhone Developer";GENERATE_INFOPLIST_FILE = YES;- INFOPLIST_FILE = apps/widgets/Resources/Info.plist;+ INFOPLIST_FILE = apps/ios/Resources/Info.plist;INFOPLIST_KEY_CFBundleDisplayName = Codync;+ INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";+ INFOPLIST_KEY_NSCameraUsageDescription = "Scan the pairing code shown on your computer.";+ INFOPLIST_KEY_NSLocalNetworkUsageDescription = "Codync connects to the computer running your bots on your local network.";+ INFOPLIST_KEY_NSSupportsLiveActivities = YES;+ INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;+ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;+ INFOPLIST_KEY_UILaunchScreen_Generation = YES;+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = UIInterfaceOrientationPortrait;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)","@executable_path/Frameworks",- "@executable_path/../../Frameworks",);- PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync.ios.LiveActivity;- PRODUCT_NAME = CodyncWidgets;+ PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync.ios;+ PRODUCT_NAME = Codync;SDKROOT = iphoneos;- SKIP_INSTALL = YES;TARGETED_DEVICE_FAMILY = "1,2";};- name = Release;+ name = Debug;};- F1217CDE3A9CDFEC5BE16BD6 /* Debug */ = {+ D8FAD997F1279E25370608C5 /* Release */ = {isa = XCBuildConfiguration;buildSettings = {ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;- CODE_SIGN_ENTITLEMENTS = "apps/ios/Resources/Codync-iOS.entitlements";+ CODE_SIGN_ENTITLEMENTS = apps/ios/Resources/iOS.entitlements;CODE_SIGN_IDENTITY = "iPhone Developer";GENERATE_INFOPLIST_FILE = YES;INFOPLIST_FILE = apps/ios/Resources/Info.plist;@@ -740,34 +698,76 @@SDKROOT = iphoneos;TARGETED_DEVICE_FAMILY = "1,2";};- name = Debug;+ name = Release;+ };+ EB1D26BC053D93E98D308A5C /* Release */ = {+ isa = XCBuildConfiguration;+ buildSettings = {+ CODE_SIGN_ENTITLEMENTS = apps/widgets/Resources/Widgets.entitlements;+ GENERATE_INFOPLIST_FILE = YES;+ INFOPLIST_FILE = apps/widgets/Resources/Info.plist;+ INFOPLIST_KEY_CFBundleDisplayName = Codync;+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ "@executable_path/../../Frameworks",+ );+ PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync.ios.LiveActivity;+ PRODUCT_NAME = CodyncWidgets;+ SDKROOT = iphoneos;+ SKIP_INSTALL = YES;+ TARGETED_DEVICE_FAMILY = "1,2";+ };+ name = Release;+ };+ F1C857613730023CBDC70E38 /* 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_KEY_CFBundleDisplayName = Codync;+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";+ INFOPLIST_KEY_LSUIElement = YES;+ INFOPLIST_KEY_NSHumanReadableCopyright = "";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/../Frameworks",+ );+ PRODUCT_BUNDLE_IDENTIFIER = com.pokai.Codync;+ PRODUCT_NAME = Codync;+ SDKROOT = macosx;+ };+ name = Release;};/* End XCBuildConfiguration section *//* Begin XCConfigurationList section */- 055E41E3751AF5C2889C3938 /* Build configuration list for PBXNativeTarget "Codync-macOS" */ = {+ 3C74A86E026A9B24540EC0B2 /* Build configuration list for PBXNativeTarget "iOS" */ = {isa = XCConfigurationList;buildConfigurations = (- 5EAF02B30FB1CCFAE0E18AAE /* Debug */,- 7AECEDF558C927EA14CD5EB5 /* Release */,+ AA5DD179E0A7875E9EC22904 /* Debug */,+ D8FAD997F1279E25370608C5 /* Release */,);defaultConfigurationIsVisible = 0;defaultConfigurationName = Debug;};- 300BC84D64F107B41629DDFD /* Build configuration list for PBXNativeTarget "Codync-iOS" */ = {+ 7C0003BA8C173EC41757B9B4 /* Build configuration list for PBXNativeTarget "macOS" */ = {isa = XCConfigurationList;buildConfigurations = (- F1217CDE3A9CDFEC5BE16BD6 /* Debug */,- 7984345FB6F55041E94F9B88 /* Release */,+ 57C9A2C8FA6B1E9F990016F9 /* Debug */,+ F1C857613730023CBDC70E38 /* Release */,);defaultConfigurationIsVisible = 0;defaultConfigurationName = Debug;};- 44E0D659F23143196DD57DE0 /* Build configuration list for PBXNativeTarget "CodyncWidgets" */ = {+ 95CAB203C65D7CF3F8C9B90E /* Build configuration list for PBXNativeTarget "Widgets" */ = {isa = XCConfigurationList;buildConfigurations = (- 54EA3D52E88009D955D76EA4 /* Debug */,- AE9BE3BA396DE6267749F8AF /* Release */,+ 6A5CD5AB98E7B897A9E57C49 /* Debug */,+ EB1D26BC053D93E98D308A5C /* Release */,);defaultConfigurationIsVisible = 0;defaultConfigurationName = Debug;@@ -791,25 +791,25 @@/* End XCLocalSwiftPackageReference section *//* Begin XCSwiftPackageProductDependency section */- 234AA35A60DF7D3E6D7CA45E /* CodyncKit */ = {+ 06C9F37C6502131CAF0F145E /* CodyncUI */ = {isa = XCSwiftPackageProductDependency;- productName = CodyncKit;+ productName = CodyncUI;};- 4364B5D2EE15CB00ACF26E5D /* CodyncKit */ = {+ 1285DDFA0390A76ECDAAD6C0 /* CodyncKit */ = {isa = XCSwiftPackageProductDependency;productName = CodyncKit;};- 5DAFE014EAFE809C427A475D /* CodyncUI */ = {+ 59F5D19A417A7A50596902FA /* CodyncKit */ = {isa = XCSwiftPackageProductDependency;- productName = CodyncUI;+ productName = CodyncKit;};- C3EC157070A9B0A033C7F2A0 /* CodyncUI */ = {+ 80868F96B9905FF52DCDFAE2 /* CodyncKit */ = {isa = XCSwiftPackageProductDependency;- productName = CodyncUI;+ productName = CodyncKit;};- CDE38864BDC425F1240E1C02 /* CodyncKit */ = {+ BEE30A9D5C73E5A151F34180 /* CodyncUI */ = {isa = XCSwiftPackageProductDependency;- productName = CodyncKit;+ productName = CodyncUI;};/* End XCSwiftPackageProductDependency section */};diff --git a/apps/ios/Resources/Codync-iOS.entitlements b/apps/ios/Resources/iOS.entitlementssimilarity index 100%rename from apps/ios/Resources/Codync-iOS.entitlementsrename to apps/ios/Resources/iOS.entitlementsdiff --git a/apps/macos/App/CodyncMacApp.swift b/apps/macos/App/CodyncMacApp.swiftindex 4901f4f4..47af8c45 100644--- a/apps/macos/App/CodyncMacApp.swift+++ b/apps/macos/App/CodyncMacApp.swift@@ -35,13 +35,11 @@ struct MenuView: View {var body: some View {VStack(alignment: .leading, spacing: 0) {header- Divider().overlay(Palette.border)if showPairing {PairingPanel { showPairing = false }} else {content}- Divider().overlay(Palette.border)footer}.background(Palette.background)@@ -49,7 +47,10 @@ struct MenuView: View {private var header: some View {HStack(spacing: 10) {- CharacterAvatar(shape: "blob", color: "green", size: 26, mood: host.working > 0 ? .working : .idle)+ CodyncMark()+ .frame(width: 30, height: 30)+ .foregroundStyle(Palette.text)+ .accessibilityHidden(true)VStack(alignment: .leading, spacing: 1) {Text("Codync").font(.headline).foregroundStyle(Palette.text)Text(statusLine).font(.caption).foregroundStyle(Palette.secondary)@@ -152,7 +153,6 @@ struct MenuView: View {.frame(height: min(CGFloat(host.bots.count) * 46 + 12, 320))}if !host.usage.providers.isEmpty {- Divider().overlay(Palette.border)VStack(alignment: .leading, spacing: 8) {ForEach(host.usage.providers) { p inForEach(p.windows) { w in@@ -304,3 +304,28 @@ private struct Notice: View {.padding(12)}}++/// The app icon's face drawn as vectors: a 9×9 dot grid lit from the upper left,+/// eyes as missing dots (same geometry as the app icon, without its black tile).+private struct CodyncMark: View {+ private static let cells = 9+ private static let eyes: Set<[Int]> = [[3, 3], [3, 5], [4, 3], [4, 5]]++ var body: some View {+ Canvas { context, size in+ let n = Double(Self.cells)+ let step = size.width / n+ for row in 0..<Self.cells {+ for col in 0..<Self.cells where !Self.eyes.contains([row, col]) {+ let u = (Double(col) + 0.5) / n * 2 - 1+ let v = (Double(row) + 0.5) / n * 2 - 1+ guard hypot(u, v) <= 1.18 else { continue }+ let shade = 0.55 + 0.45 * min(1, max(0, 0.7 - 0.3 * u - 0.4 * v))+ let r = step * 0.36 * shade+ let c = CGPoint(x: (Double(col) + 0.5) * step, y: (Double(row) + 0.5) * step)+ context.fill(Path(ellipseIn: CGRect(x: c.x - r, y: c.y - r, width: 2 * r, height: 2 * r)), with: .foreground)+ }+ }+ }+ }+}diff --git a/apps/macos/Views/ChatWindow.swift b/apps/macos/Views/ChatWindow.swiftindex 91861c17..c8af739c 100644--- a/apps/macos/Views/ChatWindow.swift+++ b/apps/macos/Views/ChatWindow.swift@@ -32,6 +32,10 @@ private struct ChatSplitView: View {@State private var composing = false@State private var columns: NavigationSplitViewVisibility = .all@State private var showPlugins = false+ /// Sheets hang from the window's title bar; sized from it so they never run past its bottom edge.+ @State private var windowSize = CGSize(width: 1100, height: 760)++ private var sheetHeight: CGFloat { max(420, windowSize.height - 76) }var body: some View {@Bindable var model = model@@ -100,14 +104,16 @@ private struct ChatSplitView: View {}.sheet(item: $editing) { request inNavigationStack { BotEditorView(draft: request.draft) }- .frame(minWidth: 520, minHeight: 640)+ .frame(width: 520, height: min(680, sheetHeight))}.sheet(isPresented: $showPlugins) {NavigationStack {MarketplaceView { showPlugins = false }}- .frame(minWidth: 820, idealWidth: 920, minHeight: 700)+ .frame(width: min(920, windowSize.width - 80), height: sheetHeight)}+ .onGeometryChange(for: CGSize.self) { $0.size } action: { windowSize = $0 }+ .hiddenWindowTitle().deleteBotConfirmation($confirmDelete).storeErrorAlert(model).onChange(of: model.selection) { _, id in if id != nil { composing = false } }@@ -126,3 +132,10 @@ private struct ChatSplitView: View {#endif}}++private extension View {+ /// The toolbar shows icons only, no "Codync" title next to them.+ @ViewBuilder func hiddenWindowTitle() -> some View {+ if #available(macOS 15.0, *) { toolbar(removing: .title) } else { self }+ }+}diff --git a/apps/widgets/Resources/CodyncWidgets.entitlements b/apps/widgets/Resources/Widgets.entitlementssimilarity index 100%rename from apps/widgets/Resources/CodyncWidgets.entitlementsrename to apps/widgets/Resources/Widgets.entitlementsdiff --git a/docs/structure.md b/docs/structure.mdnew file mode 100644index 00000000..8f3253ef--- /dev/null+++ b/docs/structure.md@@ -0,0 +1,15 @@+# Layout & naming++```+apps/{ios,macos,widgets,linux} one folder per client+kit/Sources/CodyncKit/ Models/ Client/ Design/ (no CodyncUI, widget-safe)+kit/Sources/CodyncUI/ Store/ Bots/ Thread/ Marketplace/ Usage/ Resources/, cross-platform glue at root (Platform.swift)+host/ relay/ web/ packaging/+```++- Directories: lowercase for repo-level roles (`apps/`, `kit/`, `host/`); PascalCase inside Swift targets (`Views/`, `Thread/`). Apple app folders are `App/` (entry point, app-wide services), `Views/`, `Resources/` (Info.plist, entitlements, xcprivacy, xcassets).+- Files follow their language: Swift `UpperCamelCase.swift` named after the file's main type; Rust/TS `snake_case.rs` / `kebab-case.ts`.+- One main type per file. Small private helpers of that type stay in it; a file of several small siblings takes the plural role (`ChatRows.swift`, `UsageViews.swift`, `Dialogs.swift`).+- Type suffixes by role: full screen / sheet → `…View`; list item → `…Row`; card → `…Card`; chat bubble → `…Bubble`; window scene → `…Window`; `@Observable` state → `…Store` / `…Controller`; `ButtonStyle` → describes the effect (`PressScale`).+- One word per concept across Swift, Rust host and Linux: **bot** (the persona you message), **agent** (the harness it runs, `Backend` in code), **thread** (the endless chat; not conversation/session), **session** (the ACP session only), **trace** (full conversation sheet), **marketplace** for UI / **market** for its data, **computer** (a paired host, user-facing) vs **host** (code).+- Linux mirrors the Swift feature names in its module names (`thread`, `editor`, `trace`, `settings`) when a file is split; don't invent new terms there.diff --git a/kit/Sources/CodyncUI/Bots/BotRow.swift b/kit/Sources/CodyncUI/Bots/BotRow.swiftindex 097cecfa..dfe786a4 100644--- a/kit/Sources/CodyncUI/Bots/BotRow.swift+++ b/kit/Sources/CodyncUI/Bots/BotRow.swift@@ -7,10 +7,21 @@ public struct BotRow: View {public init(bot: Bot) { self.bot = bot }+ // A Mac sidebar row is denser than a phone row (Grok Bot's desktop sidebar).+ #if os(macOS)+ private let avatar: CGFloat = 36+ private let rowPadding: CGFloat = 4+ private let lineSpacing: CGFloat = 1+ #else+ private let avatar: CGFloat = 46+ private let rowPadding: CGFloat = 10+ private let lineSpacing: CGFloat = 4+ #endif+public var body: some View {- HStack(spacing: 14) {- AvatarWithStatus(bot: bot, size: 46)- VStack(alignment: .leading, spacing: 4) {+ HStack(spacing: 12) {+ AvatarWithStatus(bot: bot, size: avatar)+ VStack(alignment: .leading, spacing: lineSpacing) {HStack(alignment: .firstTextBaseline) {if bot.pinned {Image(systemName: "pin.fill").font(.caption2).foregroundStyle(Palette.tertiary)@@ -38,7 +49,7 @@ public struct BotRow: View {}}}- .padding(.vertical, 10)+ .padding(.vertical, rowPadding).contentShape(Rectangle()).accessibilityElement(children: .combine)}diff --git a/kit/Sources/CodyncUI/Marketplace/MarketplaceView.swift b/kit/Sources/CodyncUI/Marketplace/MarketplaceView.swiftindex dead33f1..7ecff118 100644--- a/kit/Sources/CodyncUI/Marketplace/MarketplaceView.swift+++ b/kit/Sources/CodyncUI/Marketplace/MarketplaceView.swift@@ -123,17 +123,34 @@ public struct MarketplaceView: View {.font(.footnote).foregroundStyle(Palette.tertiary)}- .padding(.horizontal, 24)+ .padding(.horizontal, close == nil ? 24 : 44).padding(.vertical, 20).frame(maxWidth: 980).frame(maxWidth: .infinity)}.background(Palette.background)- .navigationTitle("Marketplace")+ .overlay(alignment: .topTrailing) {+ if let close {+ Button("Close", systemImage: "xmark", action: close)+ .labelStyle(.iconOnly)+ .font(.system(size: 15, weight: .medium))+ .foregroundStyle(Palette.secondary)+ .frame(width: 44, height: 44)+ .contentShape(Rectangle())+ .buttonStyle(.plain)+ .keyboardShortcut(.cancelAction)+ .help("Close")+ .padding(8)+ }+ }+ .navigationTitle(close == nil ? "Marketplace" : "")#if os(iOS).toolbar(close == nil ? .automatic : .hidden, for: .navigationBar)+ #else+ // The page draws its own title and close button; no empty bar above it.+ .toolbar(close == nil ? .automatic : .hidden, for: .windowToolbar)#endif- .navigationDestination(isPresented: $showInstalled) { InstalledView() }+ .navigationDestination(isPresented: $showInstalled) { InstalledView(ownsHeader: close != nil) }.task {await model.refreshPlugins()}@@ -171,8 +188,7 @@ public struct MarketplaceView: View {private var header: some View {HStack(alignment: .center) {Text("Marketplace")- .font(.system(size: 30, weight: .bold))- .tracking(-0.4)+ .font(.title2.weight(.semibold)).foregroundStyle(Palette.text).lineLimit(1).minimumScaleFactor(0.7)@@ -194,23 +210,8 @@ public struct MarketplaceView: View {}.buttonStyle(.plain)}- if let close {- Button(action: close) {- Image(systemName: "xmark")- .font(.system(size: 15, weight: .semibold))- .foregroundStyle(Palette.secondary)- .frame(width: 36, height: 36)- .background(Palette.bubbleAgent, in: Circle())- .frame(width: 44, height: 44)- .contentShape(Circle())- }- .buttonStyle(.plain)- .keyboardShortcut(.cancelAction)- .accessibilityLabel("Close")- .padding(.leading, 12)- }}- .padding(.top, 8)+ .padding(.top, close == nil ? 8 : 28)}private var searchField: some View {@@ -228,8 +229,8 @@ public struct MarketplaceView: View {.accessibilityLabel("Clear search")}}- .padding(.horizontal, 16)- .frame(height: 46)+ .padding(.horizontal, 14)+ .frame(height: 38).background(Palette.bubbleAgent, in: Capsule())}@@ -256,17 +257,48 @@ public struct MarketplaceView: View {// MARK: - Installedprivate struct InstalledView: View {+ /// In the Marketplace sheet the bar is hidden, so the page draws its own back button.+ let ownsHeader: Bool@Environment(BotStore.self) private var model+ @Environment(\.dismiss) private var dismiss+ @State private var removing: Removal?++ private struct Removal: Identifiable {+ let id: String+ let name: String+ let isSkill: Bool+ }var body: some View {- List {+ Form {+ if ownsHeader {+ Section {+ HStack(spacing: 6) {+ Button("Back", systemImage: "chevron.left") { dismiss() }+ .labelStyle(.iconOnly)+ .font(.system(size: 15, weight: .semibold))+ .foregroundStyle(Palette.text)+ .frame(width: 44, height: 44)+ .contentShape(Rectangle())+ .buttonStyle(.plain)+ .keyboardShortcut(.cancelAction)+ .help("Back to Marketplace")+ Text("Installed").font(.title2.weight(.semibold)).foregroundStyle(Palette.text)+ }+ .padding(.leading, -12)+ }+ .listRowBackground(Color.clear)+ }+ if model.installedConnectors.isEmpty && model.installedSkills.isEmpty {+ ContentUnavailableView("Nothing installed", systemImage: "shippingbox", description: Text("Connectors and skills you add show up here."))+ }if !model.installedConnectors.isEmpty {Section("Connectors") {ForEach(model.installedConnectors) { c inInstalledRow(title: c.name, subtitle: c.command ?? c.url ?? c.description) {- ServiceLogo(website: nil, name: c.name, registryName: c.registryName, size: 34)+ ServiceLogo(website: nil, name: c.name, registryName: c.registryName, size: 32)} remove: {- Task { try? await model.removeConnector(c.id) }+ removing = Removal(id: c.id, name: c.name, isSkill: false)}}}@@ -275,18 +307,30 @@ private struct InstalledView: View {Section("Skills") {ForEach(model.installedSkills) { s inInstalledRow(title: s.name, subtitle: s.description) {- SkillGlyph().frame(width: 34, height: 34)+ SkillGlyph().frame(width: 32, height: 32)} remove: {- Task { try? await model.removeSkill(s.id) }+ removing = Removal(id: s.id, name: s.name, isSkill: true)}}}}}- .scrollContentBackground(.hidden)- .background(Palette.background)+ .formStyle(.grouped).navigationTitle("Installed").inlineNavigationTitle()+ .confirmationDialog("Remove \(removing?.name ?? "")?", isPresented: Binding(get: { removing != nil }, set: { if !$0 { removing = nil } }), presenting: removing) { r in+ Button("Remove", role: .destructive) {+ Task {+ do {+ if r.isSkill { try await model.removeSkill(r.id) } else { try await model.removeConnector(r.id) }+ } catch {+ model.lastError = error.localizedDescription+ }+ }+ }+ } message: { r in+ Text(r.isSkill ? "Bots stop using this skill." : "Bots lose this connector, and the keys saved for it are deleted.")+ }}}@@ -300,16 +344,19 @@ private struct InstalledRow<Icon: View>: View {HStack(spacing: 12) {iconVStack(alignment: .leading, spacing: 2) {- Text(title).font(.body.weight(.medium)).foregroundStyle(Palette.text)- Text(subtitle).font(.caption).foregroundStyle(Palette.secondary).lineLimit(2)+ Text(title).foregroundStyle(Palette.text).lineLimit(1)+ Text(subtitle).font(.caption).foregroundStyle(Palette.secondary).lineLimit(1)}- Spacer()- Button("Remove", role: .destructive, action: remove)- .buttonStyle(.plain)- .font(.subheadline)- .foregroundStyle(Palette.danger)+ Spacer(minLength: 12)+ Button("Remove \(title)", systemImage: "trash", role: .destructive, action: remove)+ .labelStyle(.iconOnly)+ .buttonStyle(.borderless)+ .foregroundStyle(Palette.secondary)+ .frame(minWidth: 44, minHeight: 44)+ .contentShape(Rectangle())+ .help("Remove")}- .padding(.vertical, 4)+ .help(subtitle)}}@@ -321,7 +368,7 @@ private struct MarketSection<Content: View>: View {var body: some View {VStack(alignment: .leading, spacing: 12) {- Text(title).font(.title3.weight(.semibold)).foregroundStyle(Palette.text).padding(.leading, 4)+ Text(title).font(.headline).foregroundStyle(Palette.text).padding(.leading, 4)content}}@@ -775,7 +822,22 @@ public struct AgentIcon: View {}}.frame(width: size, height: size)- .foregroundStyle(Palette.text)+ .foregroundStyle(tint)+ }++ /// Registry logos are one-color; paint the ones with a known brand color in it.+ private var tint: AnyShapeStyle {+ switch registry {+ case "claude-acp": AnyShapeStyle(Color(red: 0.85, green: 0.47, blue: 0.34))+ case "gemini": AnyShapeStyle(LinearGradient(colors: [Color(red: 0.28, green: 0.59, blue: 0.89), Color(red: 0.57, green: 0.47, blue: 0.78), Color(red: 0.79, green: 0.40, blue: 0.45)], startPoint: .bottomLeading, endPoint: .topTrailing))+ case "antigravity-acp": AnyShapeStyle(Color(red: 0.26, green: 0.52, blue: 0.96))+ case "mistral-vibe": AnyShapeStyle(Color(red: 0.98, green: 0.32, blue: 0.06))+ case "qwen-code": AnyShapeStyle(Color(red: 0.38, green: 0.36, blue: 0.93))+ case "amp-acp": AnyShapeStyle(Color(red: 0.95, green: 0.31, blue: 0.25))+ case "kiro": AnyShapeStyle(Color(red: 0.56, green: 0.27, blue: 1.0))+ case "cortex-code": AnyShapeStyle(Color(red: 0.16, green: 0.71, blue: 0.91))+ default: AnyShapeStyle(Palette.text)+ }}private static func exists(_ name: String) -> Bool {diff --git a/project.yml b/project.ymlindex d2a87b53..32cea01a 100644--- a/project.yml+++ b/project.yml@@ -20,7 +20,7 @@ settings:DEAD_CODE_STRIPPING: YESENABLE_USER_SCRIPT_SANDBOXING: NOtargets:- Codync-macOS:+ macOS:type: applicationplatform: macOSsources:@@ -75,7 +75,7 @@ targets:if [ -n "$EXPANDED_CODE_SIGN_IDENTITY" ] && [ "$CODE_SIGNING_ALLOWED" != "NO" ]; thencodesign --force --options runtime --timestamp=none --sign "$EXPANDED_CODE_SIGN_IDENTITY" "$DEST"fi- Codync-iOS:+ iOS:type: applicationplatform: iOSsources:@@ -85,7 +85,7 @@ targets:product: CodyncKit- package: CodyncKitproduct: CodyncUI- - target: CodyncWidgets+ - target: Widgetsembed: truesettings:base:@@ -93,7 +93,7 @@ targets:PRODUCT_BUNDLE_IDENTIFIER: com.pokai.Codync.iosINFOPLIST_FILE: apps/ios/Resources/Info.plistGENERATE_INFOPLIST_FILE: YES- CODE_SIGN_ENTITLEMENTS: apps/ios/Resources/Codync-iOS.entitlements+ CODE_SIGN_ENTITLEMENTS: apps/ios/Resources/iOS.entitlementsTARGETED_DEVICE_FAMILY: "1,2"INFOPLIST_KEY_CFBundleDisplayName: CodyncINFOPLIST_KEY_LSApplicationCategoryType: public.app-category.developer-tools@@ -107,7 +107,7 @@ targets:INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: UIInterfaceOrientationPortraitINFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon- CodyncWidgets:+ Widgets:type: app-extensionplatform: iOSsources:@@ -123,7 +123,7 @@ targets:PRODUCT_BUNDLE_IDENTIFIER: com.pokai.Codync.ios.LiveActivityINFOPLIST_FILE: apps/widgets/Resources/Info.plistGENERATE_INFOPLIST_FILE: YES- CODE_SIGN_ENTITLEMENTS: apps/widgets/Resources/CodyncWidgets.entitlements+ CODE_SIGN_ENTITLEMENTS: apps/widgets/Resources/Widgets.entitlementsINFOPLIST_KEY_CFBundleDisplayName: CodyncTARGETED_DEVICE_FAMILY: "1,2"SKIP_INSTALL: YES