├── .github └── workflows │ └── swift.yml ├── .gitignore ├── Example ├── .gitignore ├── ChatKitExample.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm │ │ └── Package.resolved └── Targets │ └── ChatKitExample │ ├── Files │ ├── App.swift │ └── ContentView.swift │ └── Supporting Files │ ├── Bundle Resources │ ├── Assets.xcassets │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── ChatKitExample.entitlements │ └── Info.plist │ └── Preview Content │ └── Preview Assets.xcassets │ └── Contents.json ├── LICENSE ├── Package.swift ├── README.md └── Sources ├── ChatKit ├── Intramodular (WIP) │ ├── ChatKit+Actions.swift │ └── SwiftUIZ+.swift ├── Intramodular │ ├── Cells │ │ ├── ChatItemCell.swift │ │ └── _TextChatMessageViewContent.swift │ ├── ChatItemDecorationPlacement.swift │ ├── ChatView.swift │ ├── Core │ │ ├── AnyChatItemContent.swift │ │ ├── AnyChatItemIdentifier.swift │ │ ├── AnyChatMessage.swift │ │ ├── AnyPlaceholderChatItem.swift │ │ ├── ChatItem.swift │ │ ├── ChatItemRole.swift │ │ ├── _ChatItemConfiguration.swift │ │ ├── _ChatItemState.swift │ │ └── _ChatItemTraitValue.swift │ ├── Input Bar │ │ ├── ChatInputBar.swift │ │ ├── ChatInputBarStyle.swift │ │ └── ChatInputBarStyles.swift │ ├── Interactivity │ │ ├── ChatItemActivityPhase.swift │ │ ├── ChatItemSelection.swift │ │ ├── _ChatItemActivity.swift │ │ ├── _ChatItemViewActions.swift │ │ └── _ChatViewPreferences.swift │ ├── Message List │ │ ├── ChatMessageList.swift │ │ ├── _AnyChatItemPlaceholderContent.swift │ │ ├── _ChatMessageListA.swift │ │ ├── _ChatMessageListB.swift │ │ ├── _ChatMessageListC.swift │ │ ├── _ChatMessageRowContainer.swift │ │ └── _LazyMessagesVStack.swift │ ├── Miscellaneous │ │ └── ChatReplySuggestion.swift │ └── Styling │ │ ├── ChatItemCellStyle.swift │ │ ├── DefaultChatItemCellStyle.swift │ │ └── iMessage UI │ │ ├── _MessageTailShape.swift │ │ ├── _iMessageBubbleShape.swift │ │ └── _iMessageBubbleStyle.swift └── module.swift └── ChatKitCore └── module.swift /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/.gitignore -------------------------------------------------------------------------------- /Example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/.gitignore -------------------------------------------------------------------------------- /Example/ChatKitExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/ChatKitExample.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example/ChatKitExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/ChatKitExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example/ChatKitExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/ChatKitExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Example/ChatKitExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/ChatKitExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Files/App.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Files/App.swift -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Files/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Files/ContentView.swift -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/ChatKitExample.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/ChatKitExample.entitlements -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Supporting Files/Bundle Resources/Info.plist -------------------------------------------------------------------------------- /Example/Targets/ChatKitExample/Supporting Files/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Example/Targets/ChatKitExample/Supporting Files/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/README.md -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular (WIP)/ChatKit+Actions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular (WIP)/ChatKit+Actions.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular (WIP)/SwiftUIZ+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular (WIP)/SwiftUIZ+.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Cells/ChatItemCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Cells/ChatItemCell.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Cells/_TextChatMessageViewContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Cells/_TextChatMessageViewContent.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/ChatItemDecorationPlacement.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/ChatItemDecorationPlacement.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/ChatView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/ChatView.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/AnyChatItemContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/AnyChatItemContent.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/AnyChatItemIdentifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/AnyChatItemIdentifier.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/AnyChatMessage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/AnyChatMessage.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/AnyPlaceholderChatItem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/AnyPlaceholderChatItem.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/ChatItem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/ChatItem.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/ChatItemRole.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/ChatItemRole.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/_ChatItemConfiguration.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/_ChatItemConfiguration.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/_ChatItemState.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/_ChatItemState.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Core/_ChatItemTraitValue.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Core/_ChatItemTraitValue.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Input Bar/ChatInputBar.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Input Bar/ChatInputBar.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Input Bar/ChatInputBarStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Input Bar/ChatInputBarStyle.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Input Bar/ChatInputBarStyles.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Input Bar/ChatInputBarStyles.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Interactivity/ChatItemActivityPhase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Interactivity/ChatItemActivityPhase.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Interactivity/ChatItemSelection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Interactivity/ChatItemSelection.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Interactivity/_ChatItemActivity.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Interactivity/_ChatItemActivity.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Interactivity/_ChatItemViewActions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Interactivity/_ChatItemViewActions.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Interactivity/_ChatViewPreferences.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Interactivity/_ChatViewPreferences.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Message List/ChatMessageList.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Message List/ChatMessageList.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Message List/_AnyChatItemPlaceholderContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Message List/_AnyChatItemPlaceholderContent.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Message List/_ChatMessageListA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Message List/_ChatMessageListA.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Message List/_ChatMessageListB.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Message List/_ChatMessageListB.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Message List/_ChatMessageListC.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Message List/_ChatMessageListC.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Message List/_ChatMessageRowContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Message List/_ChatMessageRowContainer.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Message List/_LazyMessagesVStack.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Message List/_LazyMessagesVStack.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Miscellaneous/ChatReplySuggestion.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Miscellaneous/ChatReplySuggestion.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Styling/ChatItemCellStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Styling/ChatItemCellStyle.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Styling/DefaultChatItemCellStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Styling/DefaultChatItemCellStyle.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Styling/iMessage UI/_MessageTailShape.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Styling/iMessage UI/_MessageTailShape.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Styling/iMessage UI/_iMessageBubbleShape.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Styling/iMessage UI/_iMessageBubbleShape.swift -------------------------------------------------------------------------------- /Sources/ChatKit/Intramodular/Styling/iMessage UI/_iMessageBubbleStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/Intramodular/Styling/iMessage UI/_iMessageBubbleStyle.swift -------------------------------------------------------------------------------- /Sources/ChatKit/module.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKit/module.swift -------------------------------------------------------------------------------- /Sources/ChatKitCore/module.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreternaturalAI/ChatKit/HEAD/Sources/ChatKitCore/module.swift --------------------------------------------------------------------------------