-
Notifications
You must be signed in to change notification settings - Fork 25
feat(kilo-app): add KiloClaw chat with Stream Chat #1674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 20 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
f51cab9
feat(kilo-app): add stream-chat-react-native dependency
iscekic 6fc58ca
feat(kilo-app): add useStreamChatCredentials hook
iscekic 3fa5040
feat(kilo-app): add KiloClawChat component with Stream Chat integration
iscekic c7eb84d
feat(kilo-app): wire up chat screen with KiloClawChat component
iscekic a43076a
style(kilo-app): fix lint and formatting in chat files
iscekic 666c14b
fix(kilo-app): add null guard for bot membership lookup
iscekic 0f6f01b
revert: remove unnecessary null guard on bot membership lookup
iscekic 21cc160
Merge branch 'main' into feature/kiloclaw-mobile-chat
iscekic fccb79b
chore(kilo-app): update AGENTS.md and app.config.js
iscekic 9ef4187
fix(kilo-app): ignore netinfo peer dep in knip config
iscekic c841048
Merge remote-tracking branch 'origin/main' into feature/kiloclaw-mobi…
iscekic 6dfb83b
style(kilo-app): format app.config.js
iscekic 6c31de3
fix(kilo-app): add ascAppId for iOS App Store submission
iscekic 13b8576
fix(kilo-app): enable noUncheckedIndexedAccess and fix type errors
iscekic 83f8163
fix(kilo-app): fix connect/disconnect race and clear connectError on …
iscekic 86867e3
fix(kilo-app): restore disconnectUser in cleanup to tear down WS on u…
iscekic 0dec16c
chore(kilo-app): install stream-chat-react-native optional peer deps
iscekic d88d9ca
fix(kilo-app): pass empty config to react-native-share plugin
iscekic f90719d
chore(kilo-app): upgrade Expo SDK packages and exclude from minimumRe…
iscekic c87c135
fix(kilo-app): remove @stream-io/flat-list-mvcp (jcenter incompatible)
iscekic 77ff30a
fix(kilo-app): pin lightningcss to 1.31.1 to fix CSS bundling error
iscekic 113a244
fix: override lightningcss to 1.31.1 to fix react-native-css bundling
iscekic 59a9963
fix(kilo-app): upgrade react-native-css to 3.0.6 to fix lightningcss …
iscekic 237b674
fix: pin lightningcss to 1.30.1 to fix NativeWind CSS deserialization…
iscekic 22d4cc3
chore(kilo-app): upgrade non-Expo-managed deps to latest
iscekic 22d9d89
chore(kilo-app): upgrade @sentry/react-native from v7 to v8
iscekic ebc1c47
chore(kilo-app): suppress stream-chat console noise with LogBox
iscekic e752384
fix(kilo-app): upgrade @gorhom/bottom-sheet to fix getBoundingClientR…
iscekic cde24c7
revert(kilo-app): downgrade @sentry/react-native back to v7 for Expo …
iscekic a81a1cb
feat(kilo-app): move chat to full-screen page and fix layout
iscekic 060e694
fix(kilo-app): fix chat input border inset and photo library crash
iscekic cb984ca
feat(kilo-app): add dark mode support to Stream Chat UI
iscekic 0f7f3e0
fix(kilo-app): fix chat route name and restore LogBox suppressions
iscekic 803c9e9
fix(kilo-app): migrate from stream-chat-react-native to stream-chat-expo
iscekic 2bd12c3
chore(kilo-app): remove unused stream-chat peer deps and clean up kni…
iscekic 411d8c5
chore(kilo-app): remove react-native-share, react-native-video, and s…
iscekic acd851f
revert(kilo-app): remove NSPhotoLibraryUsageDescription from infoPlist
iscekic 2f51901
fix(kilo-app): use keyboardDidShow/Hide for cross-platform keyboard d…
iscekic 29e4836
fix(kilo-app): use Stream Chat built-in KeyboardCompatibleView for ch…
iscekic 71d333c
fix(kilo-app): apply safe area bottom inset as container padding for …
iscekic bbda0bf
chore(kilo-app): install stream-chat-expo peer dependencies and confi…
iscekic 58bd21f
feat: add missing peer dep
iscekic 3ad568c
build: remove unneeded property
iscekic 48c7e4b
fix(kilo-app): add pnpm patch for @gorhom/bottom-sheet unstable_getBo…
iscekic 29eecb4
fix: use expo-image as image component
iscekic 410fc21
chore(kilo-app): remove unused useKeyboardAwareBottomInset hook
iscekic 6b6c4c5
fix(kilo-app): fix linter error and format chat.tsx and app.config.js
iscekic fc08dcb
fix(kilo-app): patch stream-chat-expo video thumbnail ph:// URL error
iscekic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,9 @@ | |
| "production": { | ||
| "android": { | ||
| "track": "internal" | ||
| }, | ||
| "ios": { | ||
| "ascAppId": "6761193135" | ||
| } | ||
| } | ||
| } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 5 additions & 11 deletions
16
kilo-app/src/app/(app)/(tabs)/(1_kiloclaw)/[instance-id]/index.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,17 @@ | ||
| import { useLocalSearchParams } from 'expo-router'; | ||
| import { MessageSquare } from 'lucide-react-native'; | ||
| import { View } from 'react-native'; | ||
|
|
||
| import { EmptyState } from '@/components/empty-state'; | ||
| import { ScreenHeader } from '@/components/screen-header'; | ||
| import { KiloClawChat } from '@/components/kiloclaw/chat'; | ||
| import { useKiloClawStatus } from '@/lib/hooks/use-kiloclaw'; | ||
|
|
||
| export default function ChatScreen() { | ||
| const { 'instance-id': instanceId } = useLocalSearchParams<{ 'instance-id': string }>(); | ||
| const { data: status } = useKiloClawStatus(); | ||
| const isRunning = status?.status === 'running'; | ||
|
|
||
| return ( | ||
| <View className="flex-1 bg-background"> | ||
| <ScreenHeader title="Chat" /> | ||
| <View className="flex-1 items-center justify-center px-6"> | ||
| <EmptyState | ||
| icon={MessageSquare} | ||
| title="Chat coming soon" | ||
| description={`Instance: ${instanceId}`} | ||
| /> | ||
| </View> | ||
| <KiloClawChat instanceId={instanceId} enabled={isRunning} /> | ||
| </View> | ||
| ); | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.