Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f51cab9
feat(kilo-app): add stream-chat-react-native dependency
iscekic Mar 27, 2026
6fc58ca
feat(kilo-app): add useStreamChatCredentials hook
iscekic Mar 27, 2026
3fa5040
feat(kilo-app): add KiloClawChat component with Stream Chat integration
iscekic Mar 27, 2026
c7eb84d
feat(kilo-app): wire up chat screen with KiloClawChat component
iscekic Mar 27, 2026
a43076a
style(kilo-app): fix lint and formatting in chat files
iscekic Mar 27, 2026
666c14b
fix(kilo-app): add null guard for bot membership lookup
iscekic Mar 27, 2026
0f6f01b
revert: remove unnecessary null guard on bot membership lookup
iscekic Mar 27, 2026
21cc160
Merge branch 'main' into feature/kiloclaw-mobile-chat
iscekic Mar 27, 2026
fccb79b
chore(kilo-app): update AGENTS.md and app.config.js
iscekic Mar 27, 2026
9ef4187
fix(kilo-app): ignore netinfo peer dep in knip config
iscekic Mar 27, 2026
c841048
Merge remote-tracking branch 'origin/main' into feature/kiloclaw-mobi…
iscekic Mar 30, 2026
6dfb83b
style(kilo-app): format app.config.js
iscekic Mar 30, 2026
6c31de3
fix(kilo-app): add ascAppId for iOS App Store submission
iscekic Mar 30, 2026
13b8576
fix(kilo-app): enable noUncheckedIndexedAccess and fix type errors
iscekic Mar 30, 2026
83f8163
fix(kilo-app): fix connect/disconnect race and clear connectError on …
iscekic Mar 30, 2026
86867e3
fix(kilo-app): restore disconnectUser in cleanup to tear down WS on u…
iscekic Mar 30, 2026
0dec16c
chore(kilo-app): install stream-chat-react-native optional peer deps
iscekic Mar 30, 2026
d88d9ca
fix(kilo-app): pass empty config to react-native-share plugin
iscekic Mar 30, 2026
f90719d
chore(kilo-app): upgrade Expo SDK packages and exclude from minimumRe…
iscekic Mar 30, 2026
c87c135
fix(kilo-app): remove @stream-io/flat-list-mvcp (jcenter incompatible)
iscekic Mar 30, 2026
77ff30a
fix(kilo-app): pin lightningcss to 1.31.1 to fix CSS bundling error
iscekic Mar 30, 2026
113a244
fix: override lightningcss to 1.31.1 to fix react-native-css bundling
iscekic Mar 30, 2026
59a9963
fix(kilo-app): upgrade react-native-css to 3.0.6 to fix lightningcss …
iscekic Mar 30, 2026
237b674
fix: pin lightningcss to 1.30.1 to fix NativeWind CSS deserialization…
iscekic Mar 30, 2026
22d4cc3
chore(kilo-app): upgrade non-Expo-managed deps to latest
iscekic Mar 30, 2026
22d9d89
chore(kilo-app): upgrade @sentry/react-native from v7 to v8
iscekic Mar 30, 2026
ebc1c47
chore(kilo-app): suppress stream-chat console noise with LogBox
iscekic Mar 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kilo-app/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## What This Is

Kilo App is an Expo (React Native) mobile application using Expo Router for file-based routing. It lives as a subpackage (`kilo-app/`) in the `cloud` monorepo. **This app targets iOS and Android only — never web.** Do not add `Platform.select({ web: ... })` patterns or web-specific code.
Kilo App is an Expo (React Native) mobile application using Expo Router for file-based routing. It lives as a subpackage (`kilo-app/`) in the `cloud` monorepo. **This app targets iOS and Android only — never web.** Do not add `Platform.select({ web: ... })` patterns or web-specific code. **We use dev builds, not Expo Go.**

## Tech Stack

Expand Down
6 changes: 4 additions & 2 deletions kilo-app/app.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('expo/config').ExpoConfig} */
const config = {
name: 'Kilo',
name: 'KiloClaw',
owner: 'kilocode',
slug: 'kilo-app',
version: '1.0.0',
Expand Down Expand Up @@ -44,7 +44,7 @@ const config = {
'expo-secure-store',
'expo-web-browser',
[
'@sentry/react-native/expo',
'@sentry/react-native',
Copy link
Copy Markdown
Contributor

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 sample app.json and expo-upload-sourcemaps.js both 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.

Suggested change
'@sentry/react-native',
'@sentry/react-native/expo',

{
url: 'https://sentry.io/',
project: 'kilo-app',
Expand All @@ -59,6 +59,8 @@ const config = {
imageWidth: 100,
},
],
['react-native-share', {}],
'react-native-video',
],
experiments: {
typedRoutes: true,
Expand Down
3 changes: 3 additions & 0 deletions kilo-app/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"production": {
"android": {
"track": "internal"
},
"ios": {
"ascAppId": "6761193135"
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion kilo-app/knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"expo-system-ui",
"postcss",
"eslint-plugin-sonarjs",
"@sentry/cli"
"@sentry/cli",
"@react-native-community/netinfo",
"react-native-nitro-modules"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: check:unused will still fail for the other Stream Chat support packages

knip only ignores react-native-nitro-modules here, but every package added in kilo-app/package.json is also a direct dependency that never appears in our source tree. Because of that, pnpm check:unused will still report the other Stream Chat support packages (@react-native-camera-roll/camera-roll, @react-native-clipboard/clipboard, @react-native-documents/picker, @stream-io/flat-list-mvcp, react-native-blob-util, react-native-haptic-feedback, react-native-image-picker, react-native-nitro-sound, react-native-share, and react-native-video) as unused.

],
"ignoreBinaries": ["oxfmt", "oxlint"],
"ignore": ["src/components/ui/**"],
Expand Down
54 changes: 38 additions & 16 deletions kilo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,52 +20,74 @@
},
"dependencies": {
"@kilocode/trpc": "workspace:*",
"@react-native-camera-roll/camera-roll": "^7.10.2",
"@react-native-clipboard/clipboard": "^1.16.3",
"@react-native-community/netinfo": "11.5.2",
"@react-native-documents/picker": "^12.0.1",
"@rn-primitives/portal": "^1.3.0",
"@rn-primitives/slot": "^1.2.0",
"@sentry/react-native": "~7.11.0",
"@tailwindcss/postcss": "^4.2.1",
"@sentry/react-native": "~8.6.0",
"@tailwindcss/postcss": "^4.2.2",
"@tanstack/react-query": "catalog:",
"@trpc/client": "catalog:",
"@trpc/tanstack-react-query": "catalog:",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"expo": "~55.0.8",
"expo": "~55.0.9",
"expo-application": "~55.0.10",
"expo-build-properties": "~55.0.10",
"expo-clipboard": "~55.0.9",
"expo-constants": "~55.0.9",
"expo-dev-client": "~55.0.18",
"expo-dev-client": "~55.0.19",
"expo-haptics": "~55.0.9",
"expo-image": "~55.0.6",
"expo-insights": "55.0.11",
"expo-linking": "~55.0.8",
"expo-router": "~55.0.7",
"expo-insights": "55.0.12",
"expo-linking": "~55.0.9",
"expo-router": "~55.0.8",
"expo-secure-store": "~55.0.9",
"expo-splash-screen": "~55.0.12",
"expo-splash-screen": "~55.0.13",
"expo-status-bar": "~55.0.4",
"expo-web-browser": "~55.0.10",
"lucide-react-native": "^0.577.0",
"lucide-react-native": "^1.7.0",
"nativewind": "5.0.0-preview.3",
"react": "19.2.0",
"react-native": "0.83.2",
"react-native-css": "3.0.5",
"react-native": "0.83.4",
"react-native-blob-util": "^0.24.7",
"react-native-css": "3.0.6",
"react-native-gesture-handler": "~2.30.0",
"react-native-haptic-feedback": "^2.3.4",
"react-native-image-picker": "^8.2.1",
"react-native-nitro-modules": "^0.35.2",
"react-native-nitro-sound": "^0.2.12",
"react-native-reanimated": "4.2.1",
"react-native-safe-area-context": "~5.6.2",
"react-native-screens": "~4.23.0",
"react-native-share": "^12.2.6",
"react-native-svg": "15.15.3",
"react-native-video": "^6.19.1",
"react-native-worklets": "0.7.2",
"sonner-native": "^0.23.1",
"stream-chat": "^9.38.0",
"stream-chat-react-native": "^8.13.7",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.1"
"tailwindcss": "^4.2.2"
},
"devDependencies": {
"@sentry/cli": "^3.3.3",
"@types/react": "~19.2.2",
"@sentry/cli": "^3.3.4",
"@types/react": "~19.2.14",
"@typescript/native-preview": "catalog:",
"eslint-plugin-sonarjs": "^4.0.2",
"knip": "^5.86.0",
"knip": "^6.0.6",
"typescript": "catalog:"
},
"private": true
"private": true,
"expo": {
"doctor": {
"reactNativeDirectoryCheck": {
"exclude": [
"react-native-nitro-sound"
]
}
}
}
}
16 changes: 5 additions & 11 deletions kilo-app/src/app/(app)/(tabs)/(1_kiloclaw)/[instance-id]/index.tsx
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>
);
}
8 changes: 8 additions & 0 deletions kilo-app/src/app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
import '../global.css';

import { LogBox } from 'react-native';

LogBox.ignoreLogs([
'i18next is made possible', // stream-chat i18next promo
'unstable_getBoundingClientRect', // stream-chat OverlayProvider web-only API
'No recorder instance', // stream-chat audio recorder not installed
]);

import { PortalHost } from '@rn-primitives/portal';

Check failure on line 11 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 11 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import * as Sentry from '@sentry/react-native';

Check failure on line 12 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 12 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import { QueryClientProvider } from '@tanstack/react-query';

Check failure on line 13 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 13 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import { isRunningInExpoGo } from 'expo';

Check failure on line 14 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 14 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import { Slot, useNavigationContainerRef, useRouter, useSegments } from 'expo-router';

Check failure on line 15 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 15 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import * as SplashScreen from 'expo-splash-screen';

Check failure on line 16 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 16 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import { StatusBar } from 'expo-status-bar';

Check failure on line 17 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 17 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import { useEffect } from 'react';

Check failure on line 18 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 18 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import { GestureHandlerRootView } from 'react-native-gesture-handler';

Check failure on line 19 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 19 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import Animated, { FadeIn } from 'react-native-reanimated';

Check failure on line 20 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first

Check failure on line 20 in kilo-app/src/app/_layout.tsx

View workflow job for this annotation

GitHub Actions / lint

eslint-plugin-import(first)

Import statements must come first
import { Toaster } from 'sonner-native';

import { AuthProvider, useAuth } from '@/lib/auth/auth-context';
Expand Down
Loading
Loading