-
Notifications
You must be signed in to change notification settings - Fork 24
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
base: main
Are you sure you want to change the base?
Changes from all commits
f51cab9
6fc58ca
3fa5040
c7eb84d
a43076a
666c14b
0f6f01b
21cc160
fccb79b
9ef4187
c841048
6dfb83b
6c31de3
13b8576
83f8163
86867e3
0dec16c
d88d9ca
f90719d
c87c135
77ff30a
113a244
59a9963
237b674
22d4cc3
22d9d89
ebc1c47
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,9 @@ | |
| "production": { | ||
| "android": { | ||
| "track": "internal" | ||
| }, | ||
| "ios": { | ||
| "ascAppId": "6761193135" | ||
| } | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,9 @@ | |
| "expo-system-ui", | ||
| "postcss", | ||
| "eslint-plugin-sonarjs", | ||
| "@sentry/cli" | ||
| "@sentry/cli", | ||
| "@react-native-community/netinfo", | ||
| "react-native-nitro-modules" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WARNING:
|
||
| ], | ||
| "ignoreBinaries": ["oxfmt", "oxlint"], | ||
| "ignore": ["src/components/ui/**"], | ||
|
|
||
| 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> | ||
| ); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING: Expo won't load the Sentry config plugin from this module id
Sentry still ships the Expo plugin under
@sentry/react-native/expo(their sampleapp.jsonandexpo-upload-sourcemaps.jsboth key off that exact name). Leaving the root package name here skips the plugin during prebuild/EAS, which drops the native Sentry config and build hooks.