From 25713ef6147e669975cdfcb35d009f5185f25e89 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 20 Jun 2026 16:07:12 +0100 Subject: [PATCH] chore: save wip changes --- .oxfmtrc.json | 20 +-- apps/freya-client/eas.json | 8 +- apps/freya-client/package.json | 113 ++++++++-------- apps/freya-client/src/app/index.tsx | 19 ++- .../freya-client/src/components/ui/button.tsx | 11 +- .../src/conversations/conversation-view.tsx | 23 ++++ .../src/conversations/conversations.ts | 15 +++ .../freya-client/src/conversations/queries.ts | 41 ++++++ bun.lock | 123 +++++------------- packages/freya-core/src/conversation.ts | 8 ++ packages/freya-core/src/index.ts | 93 +++++++------ 11 files changed, 275 insertions(+), 199 deletions(-) create mode 100644 apps/freya-client/src/conversations/conversation-view.tsx create mode 100644 apps/freya-client/src/conversations/conversations.ts create mode 100644 apps/freya-client/src/conversations/queries.ts diff --git a/.oxfmtrc.json b/.oxfmtrc.json index 4675368..8b11ad9 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -1,12 +1,12 @@ { - "$schema": "./node_modules/oxfmt/configuration_schema.json", - "useTabs": true, - "semi": false, - "trailingComma": "all", - "experimentalSortImports": { - "order": "asc", - "ignoreCase": true, - "newlinesBetween": true - }, - "ignorePatterns": [".claude", ".ona", "drizzle", "fixtures"] + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "useTabs": true, + "semi": false, + "trailingComma": "all", + "experimentalSortImports": { + "order": "asc", + "ignoreCase": true, + "newlinesBetween": true + }, + "ignorePatterns": [".claude", ".ona", "drizzle", "fixtures"] } diff --git a/apps/freya-client/eas.json b/apps/freya-client/eas.json index e8e52c8..77e9577 100644 --- a/apps/freya-client/eas.json +++ b/apps/freya-client/eas.json @@ -6,12 +6,16 @@ "build": { "development": { "developmentClient": true, - "distribution": "internal" + "distribution": "internal", + "ios": { + "image": "sdk-56" + } }, "development-simulator": { "extends": "development", "ios": { - "simulator": "true" + "image": "sdk-56", + "simulator": true } }, "preview": { diff --git a/apps/freya-client/package.json b/apps/freya-client/package.json index 64fcaba..335f370 100644 --- a/apps/freya-client/package.json +++ b/apps/freya-client/package.json @@ -1,56 +1,61 @@ { - "name": "freya-client", - "version": "1.0.0", - "private": true, - "main": "expo-router/entry", - "scripts": { - "start": "./scripts/run-dev-server.sh", - "reset-project": "node ./scripts/reset-project.js", - "android": "expo start --android", - "ios": "expo start --ios", - "web": "expo start --web", - "lint": "expo lint", - "build:ios": "bunx eas-cli build --profile development --platform ios --non-interactive", - "build:ios-simulator": "bunx eas-cli build --profile development-simulator --platform ios --non-interactive", - "debugger": "bun run scripts/open-debugger.ts" - }, - "dependencies": { - "@expo-google-fonts/inter": "^0.4.2", - "@expo-google-fonts/source-serif-4": "^0.4.1", - "@expo/vector-icons": "^15.0.3", - "@json-render/react-native": "^0.13.0", - "@tanstack/react-query": "^5.90.21", - "expo": "^56.0.0", - "expo-constants": "~56.0.18", - "expo-dev-client": "~56.0.20", - "expo-font": "~56.0.7", - "expo-haptics": "~56.0.3", - "expo-image": "~56.0.11", - "expo-linking": "~56.0.14", - "expo-location": "~56.0.18", - "expo-router": "~56.2.11", - "expo-splash-screen": "~56.0.10", - "expo-status-bar": "~56.0.4", - "expo-symbols": "~56.0.6", - "expo-system-ui": "~56.0.5", - "expo-web-browser": "~56.0.5", - "react": "19.2.3", - "react-dom": "19.2.3", - "react-native": "0.85.3", - "react-native-gesture-handler": "~2.31.1", - "react-native-reanimated": "4.3.1", - "react-native-safe-area-context": "~5.7.0", - "react-native-screens": "4.25.2", - "react-native-svg": "15.15.4", - "react-native-web": "~0.21.0", - "react-native-worklets": "0.8.3", - "twrnc": "^4.16.0", - "zod": "^4.3.6" - }, - "devDependencies": { - "@types/react": "~19.2.10", - "eslint": "^9.25.0", - "eslint-config-expo": "~56.0.4", - "typescript": "~6.0.3" - } + "name": "freya-client", + "version": "1.0.0", + "private": true, + "main": "expo-router/entry", + "scripts": { + "start": "./scripts/run-dev-server.sh", + "reset-project": "node ./scripts/reset-project.js", + "android": "expo start --android", + "ios": "expo start --ios", + "web": "expo start --web", + "lint": "expo lint", + "build:ios": "bunx eas-cli build --profile development --platform ios --non-interactive", + "build:ios-simulator": "bunx eas-cli build --profile development-simulator --platform ios --non-interactive", + "debugger": "bun run scripts/open-debugger.ts" + }, + "dependencies": { + "@expo-google-fonts/inter": "^0.4.2", + "@expo-google-fonts/source-serif-4": "^0.4.1", + "@expo/vector-icons": "^15.0.3", + "@freya/core": "workspace:*", + "@json-render/react-native": "^0.13.0", + "@shopify/flash-list": "2.0.2", + "@tanstack/react-query": "^5.90.21", + "arktype": "^2.2.1", + "expo": "^56.0.0", + "expo-blur": "~56.0.3", + "expo-constants": "~56.0.18", + "expo-dev-client": "~56.0.20", + "expo-font": "~56.0.7", + "expo-glass-effect": "~0.1.10", + "expo-haptics": "~56.0.3", + "expo-image": "~56.0.11", + "expo-linking": "~56.0.14", + "expo-location": "~56.0.18", + "expo-router": "~56.2.11", + "expo-splash-screen": "~56.0.10", + "expo-status-bar": "~56.0.4", + "expo-symbols": "~56.0.6", + "expo-system-ui": "~56.0.5", + "expo-web-browser": "~56.0.5", + "react": "19.2.3", + "react-dom": "19.2.3", + "react-native": "0.85.3", + "react-native-gesture-handler": "~2.31.1", + "react-native-reanimated": "4.3.1", + "react-native-safe-area-context": "~5.7.0", + "react-native-screens": "4.25.2", + "react-native-svg": "15.15.4", + "react-native-web": "~0.21.0", + "react-native-worklets": "0.8.3", + "twrnc": "^4.16.0", + "zod": "^4.3.6" + }, + "devDependencies": { + "@types/react": "~19.2.10", + "eslint": "^9.25.0", + "eslint-config-expo": "~56.0.4", + "typescript": "~6.0.3" + } } diff --git a/apps/freya-client/src/app/index.tsx b/apps/freya-client/src/app/index.tsx index 7e46df2..ed84b50 100644 --- a/apps/freya-client/src/app/index.tsx +++ b/apps/freya-client/src/app/index.tsx @@ -1,5 +1,7 @@ +import { BlurView } from "expo-blur" +import { GlassView } from "expo-glass-effect" import { Link } from "expo-router" -import { Pressable } from "react-native" +import { Pressable, View, Text, TextInput } from "react-native" import { SafeAreaView } from "react-native-safe-area-context" import tw from "twrnc" @@ -11,7 +13,9 @@ import { SerifText } from "@/components/ui/serif-text" export default function HomeScreen() { return ( - + Hello world asdsadsa Hello world @@ -23,6 +27,17 @@ export default function HomeScreen() { View component library + + + +