From c20ed8a7e193cf1fd5745ed0494dd29cdfe88d02 Mon Sep 17 00:00:00 2001 From: Obvious Date: Thu, 17 Sep 2026 18:51:31 +0000 Subject: [PATCH 1/2] feat(mobile): wire iOS device-proof harness for the PR #8 checklist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apps/mobile becomes the reproducible vehicle for the 10-item device-proof checklist (spikes/voice-photo/README.md): spike deps at the README pins, Expo config wiring for microphone/photo/speech permissions, the spike's transcription + photo-storage ports imported via the pnpm workspace, and a DeviceProof debug screen that logs timestamped, class-labeled evidence rows for every checklist item (TurboModule probe, locale availability matrix, prepare taxonomy, ~5s recording + transcribeToText, photo pick, and the 3-request Convex upload with a deterministic fake transport fallback). Type-environment notes: React Native's global AbortSignal class satisfies @types/node's onmessage check, dropping `reason` from the merged global — restored via a local interface augmentation; the upload body is sent as ArrayBuffer, accepted by RN networking, Expo winter fetch, and Convex alike. Co-authored-by: Gilbert Polanco --- .env.example | 4 + .gitignore | 5 + apps/mobile/.env.example | 3 + apps/mobile/App.tsx | 68 +- apps/mobile/app.json | 15 +- apps/mobile/package.json | 5 + .../src/device-proof/DeviceProofScreen.tsx | 223 ++++ apps/mobile/src/device-proof/checks.ts | 377 ++++++ .../src/device-proof/convexTransport.ts | 111 ++ apps/mobile/src/device-proof/evidence.ts | 55 + apps/mobile/src/device-proof/fakeTransport.ts | 36 + apps/mobile/src/types/abort-signal.d.ts | 8 + pnpm-lock.yaml | 1067 ++++++++++++++++- pnpm-workspace.yaml | 4 + 14 files changed, 1963 insertions(+), 18 deletions(-) create mode 100644 apps/mobile/src/device-proof/DeviceProofScreen.tsx create mode 100644 apps/mobile/src/device-proof/checks.ts create mode 100644 apps/mobile/src/device-proof/convexTransport.ts create mode 100644 apps/mobile/src/device-proof/evidence.ts create mode 100644 apps/mobile/src/device-proof/fakeTransport.ts create mode 100644 apps/mobile/src/types/abort-signal.d.ts diff --git a/.env.example b/.env.example index e1eef9a..9ba9182 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,8 @@ # Shared workspace environment — copy to .env and fill in. Never commit .env. # Convex dev deployment URL for the mobile client (see apps/mobile/.env.example). +# The DeviceProof harness (apps/mobile/src/device-proof) uses this URL to run the +# 3-request photo upload against the real dev deployment when set; when unset it +# falls back to a deterministic in-memory fake transport (rows are labeled with +# which transport produced them). No credentials belong in this file. EXPO_PUBLIC_CONVEX_URL= diff --git a/.gitignore b/.gitignore index 4c46697..6877084 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,11 @@ dist/ .expo/ *.tsbuildinfo +# Expo prebuild output (Continuous Native Generation — regenerate with +# `npx expo prebuild -p ios --no-install`; not committed per Expo convention) +apps/mobile/ios/ +apps/mobile/android/ + # Env files (real values only; .env.example files are committed) .env .env.local diff --git a/apps/mobile/.env.example b/apps/mobile/.env.example index 80f6320..3aede29 100644 --- a/apps/mobile/.env.example +++ b/apps/mobile/.env.example @@ -1,3 +1,6 @@ # Convex dev deployment URL — shown by `npx convex dev` after `npx convex login`. # Example: https://reliable-panther-823.convex.cloud +# The DeviceProof harness (src/device-proof) runs the 3-request photo upload +# against the real dev deployment when this is set; when unset it falls back to +# a deterministic in-memory fake transport. Never commit this file or real URLs. EXPO_PUBLIC_CONVEX_URL= diff --git a/apps/mobile/App.tsx b/apps/mobile/App.tsx index 553d2d4..ef88168 100644 --- a/apps/mobile/App.tsx +++ b/apps/mobile/App.tsx @@ -1,27 +1,81 @@ import { ConvexProvider, ConvexReactClient } from "convex/react" -import { useMemo } from "react" -import { StyleSheet, View } from "react-native" +import { useCallback, useMemo, useState } from "react" +import { Pressable, StyleSheet, Text as RNText, View } from "react-native" import { Text } from "@journal/ui" -import { getConvexClientUrl } from "./src/lib/convex" +import DeviceProofScreen from "./src/device-proof/DeviceProofScreen" +import { CONVEX_URL_ENV_KEY } from "./src/lib/convex" + +type Screen = "home" | "device-proof" export default function App() { - const client = useMemo(() => new ConvexReactClient(getConvexClientUrl()), []) + const [screen, setScreen] = useState("home") - return ( - - + // The Convex client needs EXPO_PUBLIC_CONVEX_URL; when it is unset the app + // must still boot so the DeviceProof harness can run on the fake transport. + const convexUrl = useMemo(() => { + const raw = process.env[CONVEX_URL_ENV_KEY]?.trim() + return raw === undefined || raw === "" ? null : raw + }, []) + const client = useMemo(() => (convexUrl === null ? null : new ConvexReactClient(convexUrl)), [convexUrl]) + + const openDeviceProof = useCallback(() => setScreen("device-proof"), []) + const backToHome = useCallback(() => setScreen("home"), []) + + const content = + screen === "device-proof" ? ( + + ) : ( + Shared Child Journal + + {convexUrl === null + ? `${CONVEX_URL_ENV_KEY} is not set — the device-proof harness runs on the fake transport.` + : "Open the debug harness to exercise the device-proof checklist."} + + + Device proof checklist + + ) + + if (client === null) { + return {content} + } + return ( + + {content} ) } const styles = StyleSheet.create({ + button: { + backgroundColor: "#0969da", + borderRadius: 6, + marginTop: 12, + paddingHorizontal: 16, + paddingVertical: 10, + }, + buttonText: { + color: "#ffffff", + fontSize: 14, + fontWeight: "600", + }, container: { + flex: 1, + }, + home: { alignItems: "center", flex: 1, justifyContent: "center", + padding: 16, + }, + note: { + color: "#57606a", + fontSize: 12, + marginTop: 8, + textAlign: "center", }, }) diff --git a/apps/mobile/app.json b/apps/mobile/app.json index 361b0bb..1b2d003 100644 --- a/apps/mobile/app.json +++ b/apps/mobile/app.json @@ -5,6 +5,19 @@ "version": "0.1.0", "scheme": "sharedchildjournal", "platforms": ["ios", "android"], - "newArchEnabled": true + "newArchEnabled": true, + "plugins": [ + ["expo-audio", { + "microphonePermission": "Allow Shared Child Journal to access your microphone so you can dictate journal entries." + }], + ["expo-image-picker", { + "photosPermission": "Allow Shared Child Journal to attach pictures to journal entries." + }] + ], + "ios": { + "infoPlist": { + "NSSpeechRecognitionUsageDescription": "Shared Child Journal transcribes your dictated entries on-device." + } + } } } diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 92ac6e9..a3c4552 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -10,10 +10,15 @@ "ios": "expo start --ios" }, "dependencies": { + "@journal/spike-voice-photo": "workspace:*", "@journal/ui": "workspace:*", + "@react-native-ai/apple": "0.12.0", "convex": "^1.46.0", "effect": "4.0.0-rc.115", "expo": "~57.0.23", + "expo-audio": "57.0.5", + "expo-file-system": "57.0.7", + "expo-image-picker": "57.0.18", "react": "19.2.3", "react-native": "0.86.3" }, diff --git a/apps/mobile/src/device-proof/DeviceProofScreen.tsx b/apps/mobile/src/device-proof/DeviceProofScreen.tsx new file mode 100644 index 0000000..e3ac45a --- /dev/null +++ b/apps/mobile/src/device-proof/DeviceProofScreen.tsx @@ -0,0 +1,223 @@ +import { useCallback, useState } from 'react' +import { Pressable, ScrollView, StyleSheet, Text as RNText, View } from 'react-native' +import { RecordingPresets, useAudioRecorder } from 'expo-audio' + +import { Text } from '@journal/ui' + +import { + BOGUS_LOCALE, + checkConvexUpload, + checkLocaleMatrix, + checkPhotoPick, + checkPrepare, + checkRecordAndTranscribe, + checkTurboModuleProbe, + PROOF_LOCALES, +} from './checks' +import type { EvidenceClass, EvidenceRow, EvidenceStatus } from './evidence' +import { nextRowId, toRow, type EvidenceEntry, type EvidenceLog } from './evidence' + +/** + * DeviceProof debug screen — the on-device vehicle for the PR #8 10-item + * device-proof checklist. Runs checks (a)-(f) and logs timestamped evidence + * rows on-screen, each labeled simulator / fake / hardware-only-blocked so a + * reviewer can tell mechanically-produced evidence from hardware-pending + * evidence at a glance. + */ + +const STATUS_STYLES: Record = { + pass: { color: '#1a7f37', tag: 'PASS' }, + fail: { color: '#cf222e', tag: 'FAIL' }, + skipped: { color: '#9a6700', tag: 'SKIP' }, + info: { color: '#0969da', tag: 'INFO' }, +} + +const CLASS_TAGS: Record = { + simulator: '[simulator]', + fake: '[fake]', + 'hardware-only-blocked': '[hardware-only-blocked]', +} + +interface DeviceProofScreenProps { + readonly onBack: () => void +} + +export default function DeviceProofScreen({ onBack }: DeviceProofScreenProps) { + const [rows, setRows] = useState([]) + const [running, setRunning] = useState(false) + const recorder = useAudioRecorder(RecordingPresets.HIGH_QUALITY) + + const append = useCallback((entry: EvidenceEntry) => { + setRows((previous) => [toRow(entry, nextRowId(previous), new Date().toISOString()), ...previous]) + }, []) + + const runCheck = useCallback( + async (run: (log: EvidenceLog) => Promise) => { + if (running) return + setRunning(true) + try { + await run(append) + } finally { + setRunning(false) + } + }, + [append, running], + ) + + const runAll = useCallback(() => { + void runCheck(async (log) => { + checkTurboModuleProbe(log) + checkLocaleMatrix(log) + await checkPrepare(log) + await checkRecordAndTranscribe(recorder, log) + const picked = await checkPhotoPick(log) + await checkConvexUpload(picked, log) + }) + }, [recorder, runCheck]) + + const buttons: readonly { readonly title: string; readonly run: () => void }[] = [ + { + title: 'Run all (a-f)', + run: runAll, + }, + { + title: 'a) TurboModule probe', + run: () => void runCheck(async (log) => checkTurboModuleProbe(log)), + }, + { + title: 'b) Locale matrix', + run: () => void runCheck(async (log) => checkLocaleMatrix(log)), + }, + { + title: "c) prepare('en-US')", + run: () => void runCheck(async (log) => checkPrepare(log)), + }, + { + title: 'd) Record ~5s + transcribe', + run: () => void runCheck(async (log) => checkRecordAndTranscribe(recorder, log)), + }, + { + title: 'e) Pick photo', + run: () => void runCheck(async (log) => void (await checkPhotoPick(log))), + }, + { + title: 'f) Convex upload (no pick)', + run: () => void runCheck(async (log) => checkConvexUpload(null, log)), + }, + ] + + return ( + + Device proof — PR #8 checklist harness + + Checks (a)-(f) with {PROOF_LOCALES.length}+1 locales (incl. bogus {BOGUS_LOCALE}). Rows carry a + class label: [simulator] = mechanically verifiable here, [fake] = deterministic in-memory + double, [hardware-only-blocked] = needs an iOS 26 device / dev-client build. + + + + {buttons.map((button) => ( + + {running ? 'Running…' : button.title} + + ))} + + + + ← Back to home + + + + {rows.length === 0 ? ( + No evidence rows yet — run a check. + ) : ( + rows.map((row) => ( + + + #{row.id} · {row.at} + + + {STATUS_STYLES[row.status].tag} + {' '} + {CLASS_TAGS[row.evidenceClass]} + {' '} + {row.label} + + {row.detail} + + )) + )} + + + ) +} + +const styles = StyleSheet.create({ + backButton: { + backgroundColor: '#444c56', + }, + button: { + backgroundColor: '#0969da', + borderRadius: 6, + paddingHorizontal: 10, + paddingVertical: 8, + }, + buttonDisabled: { + opacity: 0.5, + }, + buttonGrid: { + flexDirection: 'row', + flexWrap: 'wrap', + gap: 8, + }, + buttonText: { + color: '#ffffff', + fontSize: 13, + fontWeight: '600', + }, + container: { + flex: 1, + padding: 16, + paddingTop: 48, + }, + classTag: { + color: '#57606a', + fontWeight: '700', + }, + empty: { + color: '#57606a', + fontSize: 13, + marginTop: 12, + }, + hint: { + color: '#57606a', + fontSize: 12, + marginBottom: 12, + }, + log: { + flex: 1, + marginTop: 8, + }, + row: { + borderBottomColor: '#d0d7de', + borderBottomWidth: StyleSheet.hairlineWidth, + paddingVertical: 6, + }, + rowDetail: { + color: '#333b42', + fontSize: 11, + }, + rowHeader: { + color: '#8c959f', + fontSize: 10, + }, + rowLabel: { + fontSize: 12, + fontWeight: '600', + }, +}) diff --git a/apps/mobile/src/device-proof/checks.ts b/apps/mobile/src/device-proof/checks.ts new file mode 100644 index 0000000..4f8af93 --- /dev/null +++ b/apps/mobile/src/device-proof/checks.ts @@ -0,0 +1,377 @@ +import { setAudioModeAsync, type AudioRecorder } from 'expo-audio' +import { File } from 'expo-file-system' +import { launchImageLibraryAsync } from 'expo-image-picker' + +import { getLocalVoiceTranscriber } from '@journal/spike-voice-photo/src/transcription/native' +import { + TranscriptionError, + transcribeToText, +} from '@journal/spike-voice-photo/src/transcription/types' +import { + storePhotoCapture, + type PhotoStorageTransport, +} from '@journal/spike-voice-photo/src/photo/photoStorage' +import { + PhotoCaptureError, + type PickedPhoto, +} from '@journal/spike-voice-photo/src/photo/types' + +import { CONVEX_URL_ENV_KEY } from '../lib/convex' +import type { EvidenceClass, EvidenceLog } from './evidence' +import { describeError } from './evidence' +import { createFakePhotoTransport } from './fakeTransport' +import { createConvexPhotoTransport } from './convexTransport' + +/** + * The six DeviceProof checks (a)-(f) from the PR #8 device-proof checklist. + * Every check is fail-safe by construction: it catches its own errors and + * turns them into evidence rows — a missing adapter, an unavailable locale or + * a refused permission degrades to `hardware-only-blocked` / `fail` rows, + * never a crash. + */ + +/** Checklist item 2: the TurboModule global the @react-native-ai/apple pod registers. */ +export const TURBO_MODULE_GLOBAL = '__apple__llm__transcribe__' + +/** Checklist item 7: the locale matrix plus one deliberately bogus locale. */ +export const PROOF_LOCALES: readonly string[] = ['en-US', 'en-GB', 'es-MX', 'es-US', 'fr-FR', 'de-DE'] +export const BOGUS_LOCALE = 'zz-QQ' + +/** Checklist item 8: recording length and payload mime for HIGH_QUALITY (m4a container). */ +export const RECORDING_MS = 5000 +export const RECORDING_MIME_TYPE = 'audio/mp4' + +/** Synthetic capture data — invented child, invented note; nothing real. */ +export const SYNTHETIC_AUTHOR_ID = 'qa-device-proof-user' +export const SYNTHETIC_TRANSCRIPT = 'Milo ate oatmeal at 8am' + +const delay = (ms: number): Promise => { + return new Promise((resolve) => { + setTimeout(resolve, ms) + }) +} + +/** + * (a) Probe the `__apple__llm__transcribe__` TurboModule global. Checklist + * item 2. Absence outside an iOS dev-client build is the expected, honest + * result — the registration proof itself stays hardware-only. + */ +export function checkTurboModuleProbe(log: EvidenceLog): void { + const present = TURBO_MODULE_GLOBAL in globalThis + log({ + label: 'a) TurboModule probe — global __apple__llm__transcribe__', + status: present ? 'pass' : 'info', + evidenceClass: 'simulator', + detail: present + ? 'TurboModule global IS present — a dev-client build with the AppleLLM pod registered it.' + : 'TurboModule global is absent — expected outside an iOS dev-client build (Expo Go, Android/web, or a container). Registration proof stays hardware-only until that build (checklist item 2).', + }) +} + +/** + * (b) `isAvailable(locale)` matrix over six real locales plus one deliberately + * bogus locale to capture the failure path. Checklist item 7. + */ +export function checkLocaleMatrix(log: EvidenceLog): void { + const transcriber = getLocalVoiceTranscriber() + if (transcriber === null) { + log({ + label: `b) isAvailable(locale) matrix over ${PROOF_LOCALES.length}+1 locales`, + status: 'skipped', + evidenceClass: 'hardware-only-blocked', + detail: + 'getLocalVoiceTranscriber() returned null in this build — the graceful-degradation path works (no crash); the matrix itself needs the iOS dev-client build.', + }) + return + } + for (const locale of [...PROOF_LOCALES, BOGUS_LOCALE]) { + const suffix = locale === BOGUS_LOCALE ? ' (deliberately bogus — failure path)' : '' + try { + const available = transcriber.isAvailable(locale) + log({ + label: `b) isAvailable(${locale})${suffix}`, + status: locale === BOGUS_LOCALE ? (available ? 'fail' : 'pass') : available ? 'pass' : 'info', + evidenceClass: 'simulator', + detail: available + ? `transcriber "${transcriber.name}" reports ${locale} available` + : `transcriber "${transcriber.name}" reports ${locale} NOT available on this device/build`, + }) + } catch (error) { + log({ + label: `b) isAvailable(${locale})${suffix}`, + status: 'fail', + evidenceClass: 'simulator', + detail: `isAvailable threw: ${describeError(error)}`, + }) + } + } +} + +/** + * (c) `prepare('en-US')` with every rejection mapped into the spike's error + * taxonomy (unavailable | unsupported-locale | preparation-failed | + * transcription-failed | cancelled). Checklist item 6. + */ +export async function checkPrepare(log: EvidenceLog): Promise { + const transcriber = getLocalVoiceTranscriber() + if (transcriber === null) { + log({ + label: "c) prepare('en-US')", + status: 'skipped', + evidenceClass: 'hardware-only-blocked', + detail: 'No adapter bound in this build — prepare runs only where the native module exists.', + }) + return + } + try { + await transcriber.prepare('en-US') + log({ + label: "c) prepare('en-US')", + status: 'pass', + evidenceClass: 'simulator', + detail: 'On-device model assets ready — prepare resolved without error.', + }) + } catch (error) { + const code = error instanceof TranscriptionError ? error.code : 'unmapped-native-error' + log({ + label: "c) prepare('en-US')", + status: 'fail', + evidenceClass: 'simulator', + detail: `taxonomy code: ${code} (taxonomy: unavailable | unsupported-locale | preparation-failed | transcription-failed | cancelled) — ${describeError(error)}`, + }) + } +} + +/** + * (d) expo-audio `HIGH_QUALITY` recording (~5s) with URI / byte size / mime + * evidence, then record-then-transcribe through the spike adapter's + * `transcribeToText`. Checklist item 8 (recording path) and part of 1/6. + * Unavailable adapter and isAvailable=false degrade to honest blocked rows. + */ +export async function checkRecordAndTranscribe(recorder: AudioRecorder, log: EvidenceLog): Promise { + let bytes: Uint8Array + try { + await setAudioModeAsync({ allowsRecording: true }) + await recorder.prepareToRecordAsync() + recorder.record() + await delay(RECORDING_MS) + await recorder.stop() + const uri = recorder.uri + if (uri === null) { + log({ + label: `d) expo-audio record (~${RECORDING_MS / 1000}s, HIGH_QUALITY)`, + status: 'fail', + evidenceClass: 'simulator', + detail: 'recorder.uri was null after stop() — no file produced.', + }) + return + } + bytes = new Uint8Array(await new File(uri).arrayBuffer()) + log({ + label: `d) expo-audio record (~${RECORDING_MS / 1000}s, HIGH_QUALITY)`, + status: 'pass', + evidenceClass: 'simulator', + detail: `uri=${uri} · bytes=${bytes.byteLength} · mimeType=${RECORDING_MIME_TYPE} (HIGH_QUALITY writes the m4a container)`, + }) + } catch (error) { + log({ + label: `d) expo-audio record (~${RECORDING_MS / 1000}s, HIGH_QUALITY)`, + status: 'fail', + evidenceClass: 'simulator', + detail: `Recording failed (permission, hardware, or mode error): ${describeError(error)}`, + }) + return + } finally { + await setAudioModeAsync({ allowsRecording: false }).catch(() => undefined) + } + + const transcriber = getLocalVoiceTranscriber() + if (transcriber === null) { + log({ + label: 'd) transcribe recording via spike adapter (transcribeToText)', + status: 'skipped', + evidenceClass: 'hardware-only-blocked', + detail: 'No adapter bound in this build — recording evidence above stands; transcription needs the iOS dev-client build.', + }) + return + } + if (!transcriber.isAvailable('en-US')) { + log({ + label: 'd) transcribe recording via spike adapter (transcribeToText)', + status: 'skipped', + evidenceClass: 'hardware-only-blocked', + detail: "isAvailable('en-US') is false on this device — SpeechAnalyzer needs an Apple Intelligence-capable device; no transcription attempted, no crash.", + }) + return + } + try { + const text = await transcribeToText(transcriber, { bytes, mimeType: RECORDING_MIME_TYPE }, 'en-US') + log({ + label: 'd) transcribe recording via spike adapter (transcribeToText)', + status: 'pass', + evidenceClass: 'simulator', + detail: `transcribeToText -> "${text}" (${text.length} chars)`, + }) + } catch (error) { + const code = error instanceof TranscriptionError ? error.code : 'unmapped-native-error' + log({ + label: 'd) transcribe recording via spike adapter (transcribeToText)', + status: 'fail', + evidenceClass: 'simulator', + detail: `taxonomy code: ${code} — ${describeError(error)}`, + }) + } +} + +/** + * (e) expo-image-picker photo pick with size and type evidence. Checklist + * item 4 (photo permission prompt fires on this call). Returns the picked + * photo for check (f) to reuse, or null when canceled/failed. + */ +export async function checkPhotoPick(log: EvidenceLog): Promise { + let asset: { readonly uri: string; readonly fileSize?: number; readonly mimeType?: string } + try { + const result = await launchImageLibraryAsync({ mediaTypes: ['images'], quality: 1 }) + if (result.canceled) { + log({ + label: 'e) expo-image-picker photo pick', + status: 'info', + evidenceClass: 'simulator', + detail: 'Picker canceled by the user — graceful path, no crash.', + }) + return null + } + const picked = result.assets[0] + if (picked === undefined || picked.uri === null || picked.uri === undefined || picked.uri === '') { + log({ + label: 'e) expo-image-picker photo pick', + status: 'fail', + evidenceClass: 'simulator', + detail: 'Picker returned no usable asset (missing uri).', + }) + return null + } + asset = { uri: picked.uri, fileSize: picked.fileSize, mimeType: picked.mimeType } + } catch (error) { + log({ + label: 'e) expo-image-picker photo pick', + status: 'fail', + evidenceClass: 'simulator', + detail: `Picker failed (permission or launcher error): ${describeError(error)}`, + }) + return null + } + + try { + const bytes = new Uint8Array(await new File(asset.uri).arrayBuffer()) + log({ + label: 'e) expo-image-picker photo pick', + status: 'pass', + evidenceClass: 'simulator', + detail: `size=${bytes.byteLength} bytes (asset.fileSize=${asset.fileSize === undefined ? 'n/a' : String(asset.fileSize)}) · type=${asset.mimeType ?? 'unknown'}`, + }) + return { bytes, mimeType: asset.mimeType ?? 'application/octet-stream', sizeBytes: bytes.byteLength } + } catch (error) { + log({ + label: 'e) expo-image-picker photo pick', + status: 'fail', + evidenceClass: 'simulator', + detail: `Reading picked bytes failed: ${describeError(error)}`, + }) + return null + } +} + +/** + * Deterministic synthetic photo used when check (f) runs without a pick: a + * 1024-byte fixed pattern, labeled honestly as application/octet-stream (no + * fake image magic bytes). + */ +export function syntheticPhoto(): PickedPhoto { + const bytes = new Uint8Array(1024) + for (let index = 0; index < bytes.length; index += 1) { + bytes[index] = (index * 7 + 3) % 256 + } + return { bytes, mimeType: 'application/octet-stream', sizeBytes: bytes.byteLength } +} + +/** + * Wraps a transport so each of the three requests logs its own evidence row, + * all carrying the same transport label. The upload URL is truncated to avoid + * printing a (short-lived, but still) signed token on screen. + */ +function createLoggingTransport( + inner: PhotoStorageTransport, + evidenceClass: EvidenceClass, + log: EvidenceLog, +): PhotoStorageTransport { + const run = async (step: string, action: () => Promise, summarize: (value: T) => string): Promise => { + try { + const value = await action() + log({ label: `f) ${step}`, status: 'pass', evidenceClass, detail: summarize(value) }) + return value + } catch (error) { + log({ label: `f) ${step}`, status: 'fail', evidenceClass, detail: describeError(error) }) + throw error + } + } + return { + requestUploadUrl: () => + run('step 1/3 request upload URL (photoStorage:generatePhotoUploadUrl)', () => inner.requestUploadUrl(), (url) => `upload URL issued: ${url.slice(0, 28)}…`), + uploadPhoto: (uploadUrl, photo) => + run('step 2/3 POST photo bytes to upload URL', () => inner.uploadPhoto(uploadUrl, photo), (result) => `storageId: ${result.storageId}`), + commitPhoto: (commit) => + run('step 3/3 commit capture record (photoStorage:commitPhotoCapture)', () => inner.commitPhoto(commit), (result) => `entryId: ${result.entryId ?? 'none (photo-only capture)'}`), + } +} + +/** + * (f) The spike's Convex 3-request photo upload flow through + * `storePhotoCapture`. Uses the REAL dev deployment only when + * EXPO_PUBLIC_CONVEX_URL is set; otherwise a deterministic in-memory fake. + * Every row is labeled with which transport produced it. Checklist item 9. + */ +export async function checkConvexUpload(picked: PickedPhoto | null, log: EvidenceLog): Promise { + const envUrl = process.env[CONVEX_URL_ENV_KEY]?.trim() + const useRealTransport = envUrl !== undefined && envUrl !== '' + const evidenceClass: EvidenceClass = useRealTransport ? 'simulator' : 'fake' + const transportLabel = useRealTransport ? 'real dev deployment (EXPO_PUBLIC_CONVEX_URL set)' : 'fake in-memory transport (EXPO_PUBLIC_CONVEX_URL unset)' + + log({ + label: 'f) Convex 3-request photo upload — transport selected', + status: 'info', + evidenceClass, + detail: `transport=${transportLabel} · photo=${picked === null ? 'synthetic 1024-byte deterministic pattern (application/octet-stream)' : 'picked photo from check (e)'}`, + }) + + const transport = useRealTransport ? createConvexPhotoTransport(envUrl) : createFakePhotoTransport() + try { + const result = await storePhotoCapture( + createLoggingTransport(transport, evidenceClass, log), + { + photo: picked ?? syntheticPhoto(), + authorId: SYNTHETIC_AUTHOR_ID, + transcript: SYNTHETIC_TRANSCRIPT, + status: 'draft', + events: [], + }, + ) + log({ + label: 'f) Convex 3-request photo upload — flow result', + status: 'pass', + evidenceClass, + detail: `storePhotoCapture ok · storageId=${result.storageId} · entryId=${result.entryId ?? 'none'} · transcript="${result.transcript ?? ''}" (synthetic)`, + }) + } catch (error) { + const code = error instanceof PhotoCaptureError ? error.code : 'unknown' + const hint = useRealTransport + ? ' Note: the dev deployment has no photoStorage module deployed yet (the reference module is spike-local), so step 1/3 errors are expected until it is ported into backend/convex.' + : '' + log({ + label: 'f) Convex 3-request photo upload — flow result', + status: 'fail', + evidenceClass, + detail: `PhotoCaptureError code=${code} — ${describeError(error)}.${hint}`, + }) + } +} diff --git a/apps/mobile/src/device-proof/convexTransport.ts b/apps/mobile/src/device-proof/convexTransport.ts new file mode 100644 index 0000000..6193eac --- /dev/null +++ b/apps/mobile/src/device-proof/convexTransport.ts @@ -0,0 +1,111 @@ +import type { PhotoStorageTransport } from '@journal/spike-voice-photo/src/photo/photoStorage' + +/** + * Real Convex transport for the 3-request photo upload flow, speaking the + * documented Convex HTTP API (docs.convex.dev/http-api) over plain `fetch`: + * + * step 1 POST {deploymentUrl}/api/mutation path=photoStorage:generatePhotoUploadUrl + * step 2 POST the bytes to the returned upload URL + * step 3 POST {deploymentUrl}/api/mutation path=photoStorage:commitPhotoCapture + * + * The photoStorage functions live in the spike's reference module + * (spikes/voice-photo/convex/photoStorage.ts); they are NOT deployed to the + * dev deployment yet, so step 1/3 failures are an expected, honestly-reported + * evidence outcome until that module is ported into backend/convex. + * + * Plain fetch instead of ConvexHttpClient because the module is not codegenned + * (no typed api object exists) and RN ships fetch natively; responses are + * narrowed with explicit guards, never `any`. + */ + +export interface ConvexMutationSuccess { + readonly status: 'success' + readonly value: T +} + +export interface ConvexMutationFailure { + readonly status: 'error' + readonly errorMessage: string +} + +export type ConvexMutationResponse = ConvexMutationSuccess | ConvexMutationFailure + +export function isConvexMutationFailure(response: ConvexMutationResponse): response is ConvexMutationFailure { + return response.status !== 'success' +} + +/** The subset of the reference module's commit result the harness consumes. */ +export interface CommitPhotoCaptureResult { + readonly photoId: string + readonly entryId: string | null +} + +export function createConvexPhotoTransport(deploymentUrl: string): PhotoStorageTransport { + const mutationUrl = `${deploymentUrl.replace(/\/+$/, '')}/api/mutation` + + const runMutation = async (path: string, args: Record): Promise => { + const response = await fetch(mutationUrl, { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ path, args, format: 'json' }), + }) + if (!response.ok) { + throw new Error(`Convex HTTP mutation ${path} failed with HTTP ${response.status}`) + } + const payload = (await response.json()) as ConvexMutationResponse + if (isConvexMutationFailure(payload)) { + throw new Error(`Convex HTTP mutation ${path} returned error: ${payload.errorMessage}`) + } + return payload.value + } + + return { + async requestUploadUrl() { + // Reference module: generatePhotoUploadUrl(mutation, args: {}) -> string + const uploadUrl = await runMutation('photoStorage:generatePhotoUploadUrl', {}) + if (typeof uploadUrl !== 'string' || uploadUrl.length === 0) { + throw new Error('Convex HTTP mutation photoStorage:generatePhotoUploadUrl returned a non-string upload URL') + } + return uploadUrl + }, + + async uploadPhoto(uploadUrl, photo) { + // Step 2 is a raw POST of the bytes with their Content-Type; the response + // body is JSON `{ storageId }` (docs.convex.dev/file-storage/upload-files). + const response = await fetch(uploadUrl, { + method: 'POST', + headers: { 'Content-Type': photo.mimeType }, + // ArrayBuffer body: accepted by RN networking, Expo's winter fetch, + // and the Convex upload endpoint alike. `slice()` guarantees the + // buffer is exactly the payload (bytes may be a view). + body: photo.bytes.slice().buffer, + }) + if (!response.ok) { + throw new Error(`photo upload POST failed with HTTP ${response.status}`) + } + const payload = (await response.json()) as { storageId?: unknown } + if (typeof payload.storageId !== 'string' || payload.storageId.length === 0) { + throw new Error('photo upload POST returned a response without a storageId string') + } + return { storageId: payload.storageId } + }, + + async commitPhoto(commit) { + // Reference module: commitPhotoCapture(mutation, { storageId, mimeType, + // sizeBytes, entry? }) -> { photoId, entryId } + const result = await runMutation('photoStorage:commitPhotoCapture', { + storageId: commit.storageId, + mimeType: commit.mimeType, + sizeBytes: commit.sizeBytes, + ...(commit.entry === undefined ? {} : { entry: commit.entry }), + }) + // The harness always commits a captioned capture, so a null entryId + // would mean the server behaved unexpectedly — fail loudly rather than + // widening the port's `entryId: string` contract. + if (typeof result.entryId !== 'string') { + throw new Error('photoStorage:commitPhotoCapture returned no entryId for a captioned capture') + } + return { entryId: result.entryId } + }, + } +} diff --git a/apps/mobile/src/device-proof/evidence.ts b/apps/mobile/src/device-proof/evidence.ts new file mode 100644 index 0000000..29f9a43 --- /dev/null +++ b/apps/mobile/src/device-proof/evidence.ts @@ -0,0 +1,55 @@ +/** + * Evidence-row model for the DeviceProof harness. + * + * Every check the harness runs appends timestamped rows to the on-screen log. + * Each row carries a class label that tells the reviewer what kind of evidence + * it is: + * + * - `simulator` — mechanically verifiable on an iOS simulator / + * any runtime that binds the adapters + * - `fake` — produced by a deterministic in-memory double + * - `hardware-only-blocked` — requires real hardware (iOS 26 device / + * dev-client build); the row records the blocked + * state honestly instead of a fake pass + * + * No credentials ever flow into a row: the Convex URL is never printed, only + * whether the real or fake transport was selected. + */ + +export type EvidenceClass = 'simulator' | 'fake' | 'hardware-only-blocked' + +export type EvidenceStatus = 'pass' | 'fail' | 'skipped' | 'info' + +export interface EvidenceEntry { + readonly label: string + readonly status: EvidenceStatus + readonly evidenceClass: EvidenceClass + readonly detail: string +} + +export interface EvidenceRow extends EvidenceEntry { + readonly id: number + readonly at: string +} + +/** Callback the checks use to append one evidence entry. */ +export type EvidenceLog = (entry: EvidenceEntry) => void + +/** Pure row constructor: a log entry plus its identity and clock stamp. */ +export function toRow(entry: EvidenceEntry, id: number, at: string): EvidenceRow { + return { ...entry, id, at } +} + +/** Next monotonically increasing id for a newest-first row list. */ +export function nextRowId(rows: readonly EvidenceRow[]): number { + return (rows[0]?.id ?? 0) + 1 +} + +/** Normalize any thrown value into a one-line string for evidence display. */ +export function describeError(error: unknown): string { + if (error instanceof Error) { + const cause = error.cause === undefined ? '' : ` (cause: ${describeError(error.cause)})` + return `${error.name}: ${error.message}${cause}` + } + return String(error) +} diff --git a/apps/mobile/src/device-proof/fakeTransport.ts b/apps/mobile/src/device-proof/fakeTransport.ts new file mode 100644 index 0000000..dbf96f4 --- /dev/null +++ b/apps/mobile/src/device-proof/fakeTransport.ts @@ -0,0 +1,36 @@ +import type { PhotoStorageTransport } from '@journal/spike-voice-photo/src/photo/photoStorage' + +/** + * Deterministic in-memory stand-in for the Convex backend: same + * `PhotoStorageTransport` port as the real transport, zero network, zero + * randomness. Sequence numbers (padded, monotonic) make every run identical, + * so evidence rows are reproducible across reviewers. + */ +export function createFakePhotoTransport(): PhotoStorageTransport { + let uploadUrlCount = 0 + let uploadCount = 0 + let commitCount = 0 + + return { + async requestUploadUrl() { + uploadUrlCount += 1 + return `fake://upload-url/${String(uploadUrlCount).padStart(3, '0')}` + }, + + async uploadPhoto(uploadUrl, photo) { + if (!uploadUrl.startsWith('fake://upload-url/')) { + throw new Error(`fake transport: upload URL from step 1 was not issued by this fake (${uploadUrl})`) + } + if (photo.bytes.byteLength === 0) { + throw new Error('fake transport: refusing to upload an empty payload') + } + uploadCount += 1 + return { storageId: `fake-storage-${String(uploadCount).padStart(3, '0')}` } + }, + + async commitPhoto(_commit) { + commitCount += 1 + return { entryId: `fake-entry-${String(commitCount).padStart(3, '0')}` } + }, + } +} diff --git a/apps/mobile/src/types/abort-signal.d.ts b/apps/mobile/src/types/abort-signal.d.ts new file mode 100644 index 0000000..a5d2c5d --- /dev/null +++ b/apps/mobile/src/types/abort-signal.d.ts @@ -0,0 +1,8 @@ +// React Native's global AbortSignal class (src/types/globals.d.ts) satisfies +// @types/node's `typeof globalThis extends { onmessage: any }` check, which +// empties node's AbortSignal augmentation — dropping `reason` from the merged +// global type. The spike's transcription port reads `signal.reason` for +// cancellation causes; restore it via interface merging. +interface AbortSignal { + readonly reason: unknown +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cfb5c9d..d3bcfbf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,9 +17,15 @@ importers: apps/mobile: dependencies: + '@journal/spike-voice-photo': + specifier: workspace:* + version: link:../../spikes/voice-photo '@journal/ui': specifier: workspace:* version: link:../../packages/ui + '@react-native-ai/apple': + specifier: 0.12.0 + version: 0.12.0(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3)) convex: specifier: ^1.46.0 version: 1.46.0(react@19.2.3) @@ -29,6 +35,15 @@ importers: expo: specifier: ~57.0.23 version: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) + expo-audio: + specifier: 57.0.5 + version: 57.0.5(expo-asset@57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3))(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3) + expo-file-system: + specifier: 57.0.7 + version: 57.0.7(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3)) + expo-image-picker: + specifier: 57.0.18 + version: 57.0.18(expo@57.0.23) react: specifier: 19.2.3 version: 19.2.3 @@ -122,8 +137,61 @@ importers: specifier: ~6.0.3 version: 6.0.3 + spikes/voice-photo: + dependencies: + '@react-native-ai/apple': + specifier: 0.12.0 + version: 0.12.0(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)) + convex: + specifier: 1.46.0 + version: 1.46.0(react@19.2.3) + effect: + specifier: 4.0.0-rc.115 + version: 4.0.0-rc.115 + expo: + specifier: 57.0.23 + version: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + expo-audio: + specifier: 57.0.5 + version: 57.0.5(expo-asset@57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3))(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + expo-file-system: + specifier: 57.0.7 + version: 57.0.7(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)) + expo-image-picker: + specifier: 57.0.18 + version: 57.0.18(expo@57.0.23) + react: + specifier: 19.2.3 + version: 19.2.3 + react-native: + specifier: 0.86.3 + version: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + devDependencies: + '@types/node': + specifier: 20.19.43 + version: 20.19.43 + '@types/react': + specifier: 19.1.17 + version: 19.1.17 + typescript: + specifier: 5.9.3 + version: 5.9.3 + vitest: + specifier: 4.1.11 + version: 4.1.11(@types/node@20.19.43)(vite@8.3.0(@types/node@20.19.43)(esbuild@0.27.0)(terser@5.51.2)(yaml@2.9.1)) + packages: + '@ai-sdk/provider-utils@4.0.51': + resolution: {integrity: sha512-ukLTs9x1Xm6lxSIwbJIxYQxbZHmVeIczNntARZrBcOa6pjdBhqeZnATNnJMHa7M9dZ8Ji5NJbpKpvz7o5XyBtg==} + engines: {node: '>=18.17'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + + '@ai-sdk/provider@3.0.16': + resolution: {integrity: sha512-9Av6kg0t/IN/dcYAAmEJ4B9OPhcEJqwSR+GfHEA8olRkindXpUHadc3p3cyvgFUQFTVm1G5thtsmgZ9yVb2w3A==} + engines: {node: '>=18'} + '@babel/code-frame@7.29.7': resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==} engines: {node: '>=6.9.0'} @@ -816,6 +884,14 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + '@oxc-project/types@0.150.0': + resolution: {integrity: sha512-rDS5/31E9HfPl/CIzGrn0DOlvBbXFseQ5URJ9sYMfstbKLD/c6Gm9vmRzRGDdAXyOIL4zmO37lc9RIwYqVruZw==} + + '@react-native-ai/apple@0.12.0': + resolution: {integrity: sha512-BC/kEDbCZprv1xcQCWsgapXm/WEsj5lieBDvU1vJXStrN+BG+hWM01zoqDGTD/j71zvt9DEfHcMvEqbrGY2uAA==} + peerDependencies: + react-native: '>=0.76.0' + '@react-native/assets-registry@0.86.3': resolution: {integrity: sha512-TDhgCZA4wjJg84d5A9swiOQYPIWSKEEVdg9IwMFZDupQzW/F3QoLUrfAJOcalgqTDA9/buTB8awhE3Whwg6u9Q==} engines: {node: ^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0} @@ -876,9 +952,111 @@ packages: '@types/react': optional: true + '@rolldown/binding-android-arm-eabi@1.2.9': + resolution: {integrity: sha512-tNISae1QEf/vkb3xkRcjV5SEdzPE97We5IVaa2Z8jSszQPZ8U60B/YCYpw4QI7VidYsBtKavczXf+DyDs9WGxw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [android] + + '@rolldown/binding-android-arm64@1.2.9': + resolution: {integrity: sha512-YC8YsI30o606GTZi0VyzYlsDKFP8W61i/QzayHDkLbNEz/IShqAmTa+hsJRj13xTHA0H+6fk4b2UmGn+Q/cMlg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [android] + + '@rolldown/binding-darwin-arm64@1.2.9': + resolution: {integrity: sha512-IwhlH3qK5urrY8hZiEgGkHKEFN901p/p2bjxCxJlr4GyNnF7wYpUvK+Y43uaRYuC4hpfjzbR3SJC3arX1jGvmw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [darwin] + + '@rolldown/binding-darwin-x64@1.2.9': + resolution: {integrity: sha512-XxpJfVzFh+jilRxIXUqcfYAYcunIc/XEzIizsOL1fcJee5Sf7H3mH8WlLmfHfluz5amqR88QQo9izKtmMlavAw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [darwin] + + '@rolldown/binding-freebsd-x64@1.2.9': + resolution: {integrity: sha512-kSfvhmgeWyfkbT3p/1s5vSgboogoah2zkm9fX2zjg2hHxSV7T4KhMWRUUaRk4OXNqoD3QAUeRqLcs1aZOK4U1g==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [freebsd] + + '@rolldown/binding-linux-arm-gnueabihf@1.2.9': + resolution: {integrity: sha512-1RVzG17pxqbTfYLC352JlLt6kKLG+6Hr30n8DlIJqsnV5luUDd2Qdx9Ayw1Cabfyb1K9k0jXEZ7evxkRoT+uiw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + + '@rolldown/binding-linux-arm64-gnu@1.2.9': + resolution: {integrity: sha512-BXqPvZ2drqVD+/Z8UpKwcs4Mp7grM+eGFku4CAEKrEtcbAsUpzREphK1sogCRZGreVPiMkiiBtw0n3TPteuqvw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-arm64-musl@1.2.9': + resolution: {integrity: sha512-11vWvo8YDwLzukt27J3aYDWU+gg2P7J+ZOmiJ0hkF5BXZDW7pVya7r40MXDy6ya0i9KamoENSVKIugvJNgFXIA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@rolldown/binding-linux-ppc64-gnu@1.2.9': + resolution: {integrity: sha512-a1tijMkdwsIARtc0F39ApURROkf3NwqinI6TOiSSWCTR7dT96dffNvMUtDHnq64wKNTIZOIlzKrFvvFUznJiyw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-s390x-gnu@1.2.9': + resolution: {integrity: sha512-x6SQNdAvv4c3hWqTMaWuawzMX9myaCs/yEmlGsxJzkdClnHW7FbrjQuSiRDhuSYzEYoEMhsaJy9qHG/XNemJPQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-x64-gnu@1.2.9': + resolution: {integrity: sha512-9s0AZ8BFK5/n7B/TBoa2yJE3gI3KURrbXcPBlsAsvjU4VeJKgE90y1YtNxyEUIcHPQkg6/yfF3qihUrcM/Kf0Q==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-x64-musl@1.2.9': + resolution: {integrity: sha512-P7VWAmV+WdJluH7ovnRGoiv2i8To7GAZ+kGzfGup635cyL7SyYl3lSUaA3Gp5THf0n/Co5EyEqb2zbqq+nMOHQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [musl] + + '@rolldown/binding-openharmony-arm64@1.2.9': + resolution: {integrity: sha512-1qixtsE4BK8h+yS3BfmZ09UhA7O/N4IACva6YBr7EBvCJraByTuRcgOTaiA62Tm0vey3UcKXLOaoGHtYmNGEVg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [openharmony] + + '@rolldown/binding-win32-arm64-msvc@1.2.9': + resolution: {integrity: sha512-ok8IQjcEPs1AKZfuEUznVBrJw+gK4soq+bx8b1X2XoMqVClarc1q5JDmVtWXY1xfr6ZuHTAsPXHTgTrqKTZeww==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [win32] + + '@rolldown/binding-win32-x64-msvc@1.2.9': + resolution: {integrity: sha512-Ip2mXoU0hM0boq3Rf+ekuT653OROSo6aSYcPT1VHE4q52KvyxgFkQgrgb/IEsxOuvQ2fZZbs8khJAyCEPM24/g==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [win32] + + '@rolldown/pluginutils@1.0.1': + resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==} + '@sinclair/typebox@0.27.12': resolution: {integrity: sha512-hhyNJ+nbR6ZR7pToHvllEFun9TL0sbL+tk/ON75lo+Xas054uez98qRbsuNt7MBCyZKK4+8Yli/OAGZhmfBZ/g==} + '@standard-schema/spec@1.1.0': + resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} + '@turbo/darwin-64@2.10.13': resolution: {integrity: sha512-m5DBcpkxmcKpEJHHFUfqf9GLUjSmw3cDnBJM9nghPW3kjCNb5OyNKmzG7/yT5x5AwzOO+HMwKN+UI4iVKL87YA==} cpu: [x64] @@ -912,6 +1090,15 @@ packages: '@types/bun@1.4.2': resolution: {integrity: sha512-GimotNn7+ZV0uVArItBbriZsR1oNf0+WTzPkdcFrzShI7k2norL0uzEaJT8T33dWr7O/c9ZDuAFQrctKCi72oQ==} + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + + '@types/estree@1.0.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + '@types/istanbul-lib-coverage@2.0.6': resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} @@ -924,6 +1111,9 @@ packages: '@types/node@20.19.43': resolution: {integrity: sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA==} + '@types/react@19.1.17': + resolution: {integrity: sha512-Qec1E3mhALmaspIrhWt9jkQMNdw6bReVu64mjvhbhq2NFPftLPVr+l1SZgmw/66WwBNpDh7ao5AT6gF5v41PFA==} + '@types/react@19.2.18': resolution: {integrity: sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w==} @@ -936,6 +1126,35 @@ packages: '@ungap/structured-clone@1.4.0': resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==} + '@vitest/expect@4.1.11': + resolution: {integrity: sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==} + + '@vitest/mocker@4.1.11': + resolution: {integrity: sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==} + peerDependencies: + msw: ^2.4.9 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@4.1.11': + resolution: {integrity: sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==} + + '@vitest/runner@4.1.11': + resolution: {integrity: sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==} + + '@vitest/snapshot@4.1.11': + resolution: {integrity: sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==} + + '@vitest/spy@4.1.11': + resolution: {integrity: sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==} + + '@vitest/utils@4.1.11': + resolution: {integrity: sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==} + '@xmldom/xmldom@0.8.15': resolution: {integrity: sha512-/5NV/vDALVFDXgLmfsy9TRCBlKwO2LNBFzpzvb9iIj+jR+eSc6DLYYvVOdivT/jm7MtU6TebYuRmzEOI7w40UA==} engines: {node: '>=10.0.0'} @@ -1006,6 +1225,10 @@ packages: asap@2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + babel-plugin-polyfill-corejs2@0.4.17: resolution: {integrity: sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==} peerDependencies: @@ -1111,6 +1334,10 @@ packages: caniuse-lite@1.0.30001810: resolution: {integrity: sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==} + chai@6.2.2: + resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} + engines: {node: '>=18'} + chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -1297,6 +1524,9 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} + es-module-lexer@2.3.2: + resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==} + esbuild@0.27.0: resolution: {integrity: sha512-jd0f4NHbD6cALCyGElNpGAOtWxSq46l9X/sWB0Nzd5er4Kz2YTm+Vl0qKFT9KUJvD8+fiO8AvoHhFvEatfVixA==} engines: {node: '>=18'} @@ -1317,6 +1547,9 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} @@ -1325,6 +1558,14 @@ packages: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} engines: {node: '>=6'} + eventsource-parser@3.1.1: + resolution: {integrity: sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==} + engines: {node: '>=18.0.0'} + + expect-type@1.4.0: + resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} + engines: {node: '>=12.0.0'} + expo-asset@57.0.17: resolution: {integrity: sha512-qSdWZBSfEg06o3GJMwcj36tw0vXkB6eYjqkQistWmyJkHxhUOKnsKJnev6OraXxLdoI+KOd1+qgp/ENx8gcqYA==} peerDependencies: @@ -1332,6 +1573,14 @@ packages: react: '*' react-native: '*' + expo-audio@57.0.5: + resolution: {integrity: sha512-39fX5JC5zDvELB4/eDJPj2XAYRN0W9+K2DfDWm5N3aC5WZ7HRrhupWtT6hbH09NlfYpsRSqYOwEZnocFM42ynQ==} + peerDependencies: + expo: '*' + expo-asset: '*' + react: '*' + react-native: '*' + expo-constants@57.0.18: resolution: {integrity: sha512-cLDwDOniPfuCZPHNY++cAY2ZkK97u5aobbBvilPK2LLmaWxR4ZpD31LWUIzUDLrwMPxLjmh1uURnbeYEf0Mivw==} peerDependencies: @@ -1351,6 +1600,16 @@ packages: react: '*' react-native: '*' + expo-image-loader@57.0.1: + resolution: {integrity: sha512-uhrZKLT/cTl2mXyR28kPpVkS5O+PK9N1QA/07IFM4f5T4g0lTW1JHT3NEWwEEsGFldPmVX4j7LwUVVZxE+woug==} + peerDependencies: + expo: '*' + + expo-image-picker@57.0.18: + resolution: {integrity: sha512-3uhAHBbHntwarySehZipSQEoPo6nNpyP41t0ZjznkRHN+vDq36GvecT+nIF5C0jgOFN0srbXr7EfjgI0kYsguA==} + peerDependencies: + expo: '*' + expo-keep-awake@57.0.2: resolution: {integrity: sha512-GqgH746wtJImmsbyHmCQoi7cOslKuWQBbJHXr53S35Bpf5UvxCAztvnitUEd7D0QvFN2rvkOhylbZpgZZfBLlQ==} peerDependencies: @@ -1444,6 +1703,11 @@ packages: resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} @@ -1579,6 +1843,9 @@ packages: engines: {node: '>=6'} hasBin: true + json-schema@0.4.0: + resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} + json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} @@ -1697,6 +1964,9 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} @@ -1919,6 +2189,10 @@ packages: resolution: {integrity: sha512-+s+6zjd0X68hfAcn92NsEPXnSYOF3O7exw/Fj4UfRTB+UL+Tdjdkzu5/4WquXlzqgvNm8FWuuW6/0Yd8S2rYxw==} engines: {node: ^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0} + obug@2.2.1: + resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==} + engines: {node: '>=12.20.0'} + on-finished@2.3.0: resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} engines: {node: '>= 0.8'} @@ -1962,6 +2236,9 @@ packages: resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==} engines: {node: 18 || 20 || >=22} + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -2082,6 +2359,11 @@ packages: resolution: {integrity: sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==} engines: {node: '>=4'} + rolldown@1.2.9: + resolution: {integrity: sha512-hx/Pv0N1haXRb11qkfnK5MXB/iqr7i0yjWQqmO9uHqZpBgQSqzc8UsSnEpalsh+j1I8qQ2CkXAkJC8Br3dKSlg==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} @@ -2133,6 +2415,9 @@ packages: resolution: {integrity: sha512-w1aiOKwKuRgtwAReIIj89puqg+I7GvX4IbLrvmhXbzQsj1+Zwi4VO3+fa6ZF91TWSjIxoEkKnMeHcLEODK5ZXA==} engines: {node: '>= 0.4'} + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} @@ -2161,6 +2446,9 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} @@ -2176,6 +2464,9 @@ packages: resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} engines: {node: '>= 0.8'} + std-env@4.2.0: + resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==} + stream-buffers@2.2.0: resolution: {integrity: sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==} engines: {node: '>= 0.10.0'} @@ -2227,10 +2518,21 @@ packages: throat@5.0.0: resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==} + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@1.3.1: + resolution: {integrity: sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==} + engines: {node: '>=18'} + tinyglobby@0.2.17: resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} engines: {node: '>=12.0.0'} + tinyrainbow@3.1.1: + resolution: {integrity: sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==} + engines: {node: '>=14.0.0'} + tmpl@1.0.5: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} @@ -2257,6 +2559,11 @@ packages: resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} engines: {node: '>=8'} + typescript@5.9.3: + resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + engines: {node: '>=14.17'} + hasBin: true + typescript@6.0.3: resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} engines: {node: '>=14.17'} @@ -2265,6 +2572,10 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + undici@6.28.1: + resolution: {integrity: sha512-zWpdTVD54H48CIybL0rWQ3ukpb9d23wM7eH5RtfdmeP70cWHNjtfo7P4vZX+5CoDcO53J4Pu5uXp7lNfjc6DRA==} + engines: {node: '>=18.17'} + unicode-canonical-property-names-ecmascript@2.0.1: resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==} engines: {node: '>=4'} @@ -2308,6 +2619,90 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} + vite@8.3.0: + resolution: {integrity: sha512-lhZBVvEHefgE+HQZC9O7EBJgCU/nVzFNl7vkS4RE0APtWLP02/8QVIkQtzBxPquh7lq5/78NHipTj7ODQ6XuyQ==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + '@types/node': ^20.19.0 || >=22.12.0 + '@vitejs/devtools': ^0.7.1 + esbuild: ^0.27.0 || ^0.28.0 + jiti: '>=1.21.0' + less: ^4.0.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + '@vitejs/devtools': + optional: true + esbuild: + optional: true + jiti: + optional: true + less: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@4.1.11: + resolution: {integrity: sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==} + engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@opentelemetry/api': ^1.9.0 + '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 + '@vitest/browser-playwright': 4.1.11 + '@vitest/browser-preview': 4.1.11 + '@vitest/browser-webdriverio': 4.1.11 + '@vitest/coverage-istanbul': 4.1.11 + '@vitest/coverage-v8': 4.1.11 + '@vitest/ui': 4.1.11 + happy-dom: '*' + jsdom: '*' + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@opentelemetry/api': + optional: true + '@types/node': + optional: true + '@vitest/browser-playwright': + optional: true + '@vitest/browser-preview': + optional: true + '@vitest/browser-webdriverio': + optional: true + '@vitest/coverage-istanbul': + optional: true + '@vitest/coverage-v8': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + vlq@1.0.1: resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==} @@ -2328,6 +2723,11 @@ packages: engines: {node: '>= 8'} hasBin: true + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} @@ -2407,8 +2807,23 @@ packages: zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + zod@4.6.5: + resolution: {integrity: sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==} + snapshots: + '@ai-sdk/provider-utils@4.0.51(zod@4.6.5)': + dependencies: + '@ai-sdk/provider': 3.0.16 + '@standard-schema/spec': 1.1.0 + eventsource-parser: 3.1.1 + undici: 6.28.1 + zod: 4.6.5 + + '@ai-sdk/provider@3.0.16': + dependencies: + json-schema: 0.4.0 + '@babel/code-frame@7.29.7': dependencies: '@babel/helper-validator-identifier': 7.29.7 @@ -2941,6 +3356,83 @@ snapshots: '@esbuild/win32-x64@0.27.0': optional: true + '@expo/cli@57.0.25(@expo/dom-webview@57.0.1)(expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)))(expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3))(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3)': + dependencies: + '@expo/code-signing-certificates': 0.0.6 + '@expo/config': 57.0.9(typescript@5.9.3) + '@expo/config-plugins': 57.0.9(typescript@5.9.3) + '@expo/devcert': 1.2.1 + '@expo/env': 2.4.3 + '@expo/image-utils': 0.11.5(typescript@5.9.3) + '@expo/inline-modules': 0.1.7(typescript@5.9.3) + '@expo/json-file': 11.0.1 + '@expo/log-box': 57.0.4(@expo/dom-webview@57.0.1)(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + '@expo/metro': 56.0.2 + '@expo/metro-config': 57.0.12(expo@57.0.23)(typescript@5.9.3) + '@expo/metro-file-map': 57.0.3 + '@expo/osascript': 2.7.1 + '@expo/package-manager': 1.13.1 + '@expo/plist': 0.8.1 + '@expo/prebuild-config': 57.0.16(typescript@5.9.3) + '@expo/require-utils': 57.0.5(typescript@5.9.3) + '@expo/router-server': 57.0.10(expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)))(expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3))(expo-server@57.0.3)(expo@57.0.23)(react@19.2.3) + '@expo/schema-utils': 57.0.2 + '@expo/spawn-async': 1.8.0 + '@expo/ws-tunnel': 2.0.0(ws@8.21.3) + '@expo/xcpretty': 4.4.5 + '@react-native/dev-middleware': 0.86.3 + accepts: 1.3.8 + agent-cli-detector: 0.1.7 + arg: 5.0.2 + bplist-creator: 0.1.0 + bplist-parser: 0.3.2 + chalk: 4.1.2 + ci-info: 3.9.0 + compression: 1.8.2 + connect: 3.7.0 + debug: 4.4.3 + dnssd-advertise: 1.1.6 + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + expo-server: 57.0.3 + fetch-nodeshim: 0.4.10 + getenv: 2.0.0 + glob: 13.0.6 + lan-network: 0.2.1 + multitars: 1.0.2 + node-forge: 1.4.0 + npm-package-arg: 11.0.3 + ora: 3.4.0 + picomatch: 4.0.7 + pretty-format: 29.7.0 + progress: 2.0.3 + prompts: 2.4.2 + resolve-from: 5.0.0 + sandbox-cli-detector: 0.2.0 + semver: 7.8.5 + send: 0.19.2 + slugify: 1.6.9 + stacktrace-parser: 0.1.11 + structured-headers: 0.4.1 + terminal-link: 2.1.1 + toqr: 0.1.1 + wrap-ansi: 7.0.0 + ws: 8.21.3 + zod: 3.25.76 + optionalDependencies: + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + transitivePeerDependencies: + - '@expo/dom-webview' + - '@expo/metro-runtime' + - bufferutil + - expo-constants + - expo-font + - react + - react-dom + - react-server-dom-webpack + - supports-color + - typescript + - utf-8-validate + '@expo/cli@57.0.25(@expo/dom-webview@57.0.1)(expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3)))(expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3))(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3)': dependencies: '@expo/code-signing-certificates': 0.0.6 @@ -3022,12 +3514,12 @@ snapshots: dependencies: node-forge: 1.4.0 - '@expo/config-plugins@57.0.9(typescript@6.0.3)': + '@expo/config-plugins@57.0.9(typescript@5.9.3)': dependencies: '@expo/config-types': 57.0.2 '@expo/json-file': 11.0.1 '@expo/plist': 0.8.1 - '@expo/require-utils': 57.0.5(typescript@6.0.3) + '@expo/require-utils': 57.0.5(typescript@5.9.3) '@expo/sdk-runtime-versions': 1.0.0 chalk: 4.1.2 debug: 4.4.3 @@ -3041,31 +3533,73 @@ snapshots: - supports-color - typescript - '@expo/config-types@57.0.2': {} - - '@expo/config@57.0.9(typescript@6.0.3)': + '@expo/config-plugins@57.0.9(typescript@6.0.3)': dependencies: - '@expo/config-plugins': 57.0.9(typescript@6.0.3) '@expo/config-types': 57.0.2 '@expo/json-file': 11.0.1 + '@expo/plist': 0.8.1 '@expo/require-utils': 57.0.5(typescript@6.0.3) - deepmerge: 4.3.1 + '@expo/sdk-runtime-versions': 1.0.0 + chalk: 4.1.2 + debug: 4.4.3 getenv: 2.0.0 glob: 13.0.6 - resolve-workspace-root: 2.0.1 semver: 7.8.5 slugify: 1.6.9 + xcode: 3.0.1 + xml2js: 0.6.0 transitivePeerDependencies: - supports-color - typescript - '@expo/devcert@1.2.1': - dependencies: + '@expo/config-types@57.0.2': {} + + '@expo/config@57.0.9(typescript@5.9.3)': + dependencies: + '@expo/config-plugins': 57.0.9(typescript@5.9.3) + '@expo/config-types': 57.0.2 + '@expo/json-file': 11.0.1 + '@expo/require-utils': 57.0.5(typescript@5.9.3) + deepmerge: 4.3.1 + getenv: 2.0.0 + glob: 13.0.6 + resolve-workspace-root: 2.0.1 + semver: 7.8.5 + slugify: 1.6.9 + transitivePeerDependencies: + - supports-color + - typescript + + '@expo/config@57.0.9(typescript@6.0.3)': + dependencies: + '@expo/config-plugins': 57.0.9(typescript@6.0.3) + '@expo/config-types': 57.0.2 + '@expo/json-file': 11.0.1 + '@expo/require-utils': 57.0.5(typescript@6.0.3) + deepmerge: 4.3.1 + getenv: 2.0.0 + glob: 13.0.6 + resolve-workspace-root: 2.0.1 + semver: 7.8.5 + slugify: 1.6.9 + transitivePeerDependencies: + - supports-color + - typescript + + '@expo/devcert@1.2.1': + dependencies: '@expo/sudo-prompt': 9.3.2 debug: 3.2.7 transitivePeerDependencies: - supports-color + '@expo/devtools@57.0.1(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)': + dependencies: + chalk: 4.1.2 + optionalDependencies: + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + '@expo/devtools@57.0.1(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)': dependencies: chalk: 4.1.2 @@ -3073,6 +3607,12 @@ snapshots: react: 19.2.3 react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) + '@expo/dom-webview@57.0.1(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)': + dependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + '@expo/dom-webview@57.0.1(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)': dependencies: expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) @@ -3105,6 +3645,19 @@ snapshots: transitivePeerDependencies: - supports-color + '@expo/image-utils@0.11.5(typescript@5.9.3)': + dependencies: + '@expo/require-utils': 57.0.5(typescript@5.9.3) + '@expo/spawn-async': 1.8.0 + chalk: 4.1.2 + getenv: 2.0.0 + jimp-compact: 0.16.1 + parse-png: 2.1.0 + semver: 7.8.5 + transitivePeerDependencies: + - supports-color + - typescript + '@expo/image-utils@0.11.5(typescript@6.0.3)': dependencies: '@expo/require-utils': 57.0.5(typescript@6.0.3) @@ -3118,6 +3671,13 @@ snapshots: - supports-color - typescript + '@expo/inline-modules@0.1.7(typescript@5.9.3)': + dependencies: + '@expo/config-plugins': 57.0.9(typescript@5.9.3) + transitivePeerDependencies: + - supports-color + - typescript + '@expo/inline-modules@0.1.7(typescript@6.0.3)': dependencies: '@expo/config-plugins': 57.0.9(typescript@6.0.3) @@ -3130,6 +3690,14 @@ snapshots: '@babel/code-frame': 7.29.7 json5: 2.2.3 + '@expo/local-build-cache-provider@57.0.8(typescript@5.9.3)': + dependencies: + '@expo/config': 57.0.9(typescript@5.9.3) + chalk: 4.1.2 + transitivePeerDependencies: + - supports-color + - typescript + '@expo/local-build-cache-provider@57.0.8(typescript@6.0.3)': dependencies: '@expo/config': 57.0.9(typescript@6.0.3) @@ -3138,6 +3706,15 @@ snapshots: - supports-color - typescript + '@expo/log-box@57.0.4(@expo/dom-webview@57.0.1)(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)': + dependencies: + '@expo/dom-webview': 57.0.1(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + anser: 1.4.10 + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + stacktrace-parser: 0.1.11 + '@expo/log-box@57.0.4(@expo/dom-webview@57.0.1)(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)': dependencies: '@expo/dom-webview': 57.0.1(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3) @@ -3147,6 +3724,39 @@ snapshots: react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) stacktrace-parser: 0.1.11 + '@expo/metro-config@57.0.12(expo@57.0.23)(typescript@5.9.3)': + dependencies: + '@babel/code-frame': 7.29.7 + '@babel/core': 7.29.7 + '@babel/generator': 7.29.8 + '@expo/config': 57.0.9(typescript@5.9.3) + '@expo/env': 2.4.3 + '@expo/json-file': 11.0.1 + '@expo/metro': 56.0.2 + '@expo/require-utils': 57.0.5(typescript@5.9.3) + '@expo/spawn-async': 1.8.0 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/remapping': 2.3.5 + '@jridgewell/sourcemap-codec': 1.6.0 + browserslist: 4.29.0 + chalk: 4.1.2 + debug: 4.4.3 + getenv: 2.0.0 + glob: 13.0.6 + hermes-parser: 0.36.1 + jsc-safe-url: 0.2.4 + lightningcss: 1.33.0 + picomatch: 4.0.7 + postcss: 8.5.28 + resolve-from: 5.0.0 + optionalDependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + transitivePeerDependencies: + - bufferutil + - supports-color + - typescript + - utf-8-validate + '@expo/metro-config@57.0.12(expo@57.0.23)(typescript@6.0.3)': dependencies: '@babel/code-frame': 7.29.7 @@ -3231,6 +3841,22 @@ snapshots: base64-js: 1.5.1 xmlbuilder: 15.1.1 + '@expo/prebuild-config@57.0.16(typescript@5.9.3)': + dependencies: + '@expo/config': 57.0.9(typescript@5.9.3) + '@expo/config-plugins': 57.0.9(typescript@5.9.3) + '@expo/config-types': 57.0.2 + '@expo/image-utils': 0.11.5(typescript@5.9.3) + '@expo/json-file': 11.0.1 + '@react-native/normalize-colors': 0.86.3 + debug: 4.4.3 + expo-modules-autolinking: 57.0.13(typescript@5.9.3) + resolve-from: 5.0.0 + semver: 7.8.5 + transitivePeerDependencies: + - supports-color + - typescript + '@expo/prebuild-config@57.0.16(typescript@6.0.3)': dependencies: '@expo/config': 57.0.9(typescript@6.0.3) @@ -3247,6 +3873,16 @@ snapshots: - supports-color - typescript + '@expo/require-utils@57.0.5(typescript@5.9.3)': + dependencies: + '@babel/code-frame': 7.29.7 + '@babel/core': 7.29.7 + '@babel/plugin-transform-modules-commonjs': 7.29.7(@babel/core@7.29.7) + optionalDependencies: + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + '@expo/require-utils@57.0.5(typescript@6.0.3)': dependencies: '@babel/code-frame': 7.29.7 @@ -3257,6 +3893,17 @@ snapshots: transitivePeerDependencies: - supports-color + '@expo/router-server@57.0.10(expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)))(expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3))(expo-server@57.0.3)(expo@57.0.23)(react@19.2.3)': + dependencies: + debug: 4.4.3 + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + expo-constants: 57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)) + expo-font: 57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + expo-server: 57.0.3 + react: 19.2.3 + transitivePeerDependencies: + - supports-color + '@expo/router-server@57.0.10(expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3)))(expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3))(expo-server@57.0.3)(expo@57.0.23)(react@19.2.3)': dependencies: debug: 4.4.3 @@ -3327,6 +3974,22 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.6.0 + '@oxc-project/types@0.150.0': {} + + '@react-native-ai/apple@0.12.0(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))': + dependencies: + '@ai-sdk/provider': 3.0.16 + '@ai-sdk/provider-utils': 4.0.51(zod@4.6.5) + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + zod: 4.6.5 + + '@react-native-ai/apple@0.12.0(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))': + dependencies: + '@ai-sdk/provider': 3.0.16 + '@ai-sdk/provider-utils': 4.0.51(zod@4.6.5) + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) + zod: 4.6.5 + '@react-native/assets-registry@0.86.3': {} '@react-native/babel-plugin-codegen@0.86.3(@babel/core@7.29.7)': @@ -3396,6 +4059,15 @@ snapshots: '@react-native/normalize-colors@0.86.3': {} + '@react-native/virtualized-lists@0.86.3(@types/react@19.1.17)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)': + dependencies: + invariant: 2.2.4 + nullthrows: 1.1.1 + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + optionalDependencies: + '@types/react': 19.1.17 + '@react-native/virtualized-lists@0.86.3(@types/react@19.2.18)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)': dependencies: invariant: 2.2.4 @@ -3405,8 +4077,57 @@ snapshots: optionalDependencies: '@types/react': 19.2.18 + '@rolldown/binding-android-arm-eabi@1.2.9': + optional: true + + '@rolldown/binding-android-arm64@1.2.9': + optional: true + + '@rolldown/binding-darwin-arm64@1.2.9': + optional: true + + '@rolldown/binding-darwin-x64@1.2.9': + optional: true + + '@rolldown/binding-freebsd-x64@1.2.9': + optional: true + + '@rolldown/binding-linux-arm-gnueabihf@1.2.9': + optional: true + + '@rolldown/binding-linux-arm64-gnu@1.2.9': + optional: true + + '@rolldown/binding-linux-arm64-musl@1.2.9': + optional: true + + '@rolldown/binding-linux-ppc64-gnu@1.2.9': + optional: true + + '@rolldown/binding-linux-s390x-gnu@1.2.9': + optional: true + + '@rolldown/binding-linux-x64-gnu@1.2.9': + optional: true + + '@rolldown/binding-linux-x64-musl@1.2.9': + optional: true + + '@rolldown/binding-openharmony-arm64@1.2.9': + optional: true + + '@rolldown/binding-win32-arm64-msvc@1.2.9': + optional: true + + '@rolldown/binding-win32-x64-msvc@1.2.9': + optional: true + + '@rolldown/pluginutils@1.0.1': {} + '@sinclair/typebox@0.27.12': {} + '@standard-schema/spec@1.1.0': {} + '@turbo/darwin-64@2.10.13': optional: true @@ -3429,6 +4150,15 @@ snapshots: dependencies: bun-types: 1.4.2 + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + + '@types/deep-eql@4.0.2': {} + + '@types/estree@1.0.9': {} + '@types/istanbul-lib-coverage@2.0.6': {} '@types/istanbul-lib-report@3.0.3': @@ -3443,6 +4173,10 @@ snapshots: dependencies: undici-types: 6.21.0 + '@types/react@19.1.17': + dependencies: + csstype: 3.2.3 + '@types/react@19.2.18': dependencies: csstype: 3.2.3 @@ -3455,6 +4189,47 @@ snapshots: '@ungap/structured-clone@1.4.0': {} + '@vitest/expect@4.1.11': + dependencies: + '@standard-schema/spec': 1.1.0 + '@types/chai': 5.2.3 + '@vitest/spy': 4.1.11 + '@vitest/utils': 4.1.11 + chai: 6.2.2 + tinyrainbow: 3.1.1 + + '@vitest/mocker@4.1.11(vite@8.3.0(@types/node@20.19.43)(esbuild@0.27.0)(terser@5.51.2)(yaml@2.9.1))': + dependencies: + '@vitest/spy': 4.1.11 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + vite: 8.3.0(@types/node@20.19.43)(esbuild@0.27.0)(terser@5.51.2)(yaml@2.9.1) + + '@vitest/pretty-format@4.1.11': + dependencies: + tinyrainbow: 3.1.1 + + '@vitest/runner@4.1.11': + dependencies: + '@vitest/utils': 4.1.11 + pathe: 2.0.3 + + '@vitest/snapshot@4.1.11': + dependencies: + '@vitest/pretty-format': 4.1.11 + '@vitest/utils': 4.1.11 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@4.1.11': {} + + '@vitest/utils@4.1.11': + dependencies: + '@vitest/pretty-format': 4.1.11 + convert-source-map: 2.0.0 + tinyrainbow: 3.1.1 + '@xmldom/xmldom@0.8.15': {} '@xmldom/xmldom@0.9.12': {} @@ -3505,6 +4280,8 @@ snapshots: asap@2.0.6: {} + assertion-error@2.0.1: {} + babel-plugin-polyfill-corejs2@0.4.17(@babel/core@7.29.7): dependencies: '@babel/compat-data': 7.29.7 @@ -3653,6 +4430,8 @@ snapshots: caniuse-lite@1.0.30001810: {} + chai@6.2.2: {} + chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -3816,6 +4595,8 @@ snapshots: es-errors@1.3.0: {} + es-module-lexer@2.3.2: {} + esbuild@0.27.0: optionalDependencies: '@esbuild/aix-ppc64': 0.27.0 @@ -3853,10 +4634,29 @@ snapshots: escape-string-regexp@4.0.0: {} + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.9 + etag@1.8.1: {} event-target-shim@5.0.1: {} + eventsource-parser@3.1.1: {} + + expect-type@1.4.0: {} + + expo-asset@57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3): + dependencies: + '@expo/image-utils': 0.11.5(typescript@5.9.3) + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + expo-constants: 57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)) + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + transitivePeerDependencies: + - supports-color + - typescript + expo-asset@57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3): dependencies: '@expo/image-utils': 0.11.5(typescript@6.0.3) @@ -3868,6 +4668,28 @@ snapshots: - supports-color - typescript + expo-audio@57.0.5(expo-asset@57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3))(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3): + dependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + expo-asset: 57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + + expo-audio@57.0.5(expo-asset@57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3))(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3): + dependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) + expo-asset: 57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) + + expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)): + dependencies: + '@expo/env': 2.4.3 + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + transitivePeerDependencies: + - supports-color + expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3)): dependencies: '@expo/env': 2.4.3 @@ -3876,11 +4698,23 @@ snapshots: transitivePeerDependencies: - supports-color + expo-file-system@57.0.7(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)): + dependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + expo-file-system@57.0.7(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3)): dependencies: expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) + expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3): + dependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + fontfaceobserver: 2.3.0 + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3): dependencies: expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) @@ -3888,11 +4722,30 @@ snapshots: react: 19.2.3 react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) + expo-image-loader@57.0.1(expo@57.0.23): + dependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) + + expo-image-picker@57.0.18(expo@57.0.23): + dependencies: + expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) + expo-image-loader: 57.0.1(expo@57.0.23) + expo-keep-awake@57.0.2(expo@57.0.23)(react@19.2.3): dependencies: expo: 57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3) react: 19.2.3 + expo-modules-autolinking@57.0.13(typescript@5.9.3): + dependencies: + '@expo/require-utils': 57.0.5(typescript@5.9.3) + '@expo/spawn-async': 1.8.0 + chalk: 4.1.2 + commander: 7.2.0 + transitivePeerDependencies: + - supports-color + - typescript + expo-modules-autolinking@57.0.13(typescript@6.0.3): dependencies: '@expo/require-utils': 57.0.5(typescript@6.0.3) @@ -3903,6 +4756,14 @@ snapshots: - supports-color - typescript + expo-modules-core@57.0.18(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3): + dependencies: + '@expo/expo-modules-macros-plugin': 0.6.1 + expo-modules-jsi: 57.1.0(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)) + invariant: 2.2.4 + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + expo-modules-core@57.0.18(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3): dependencies: '@expo/expo-modules-macros-plugin': 0.6.1 @@ -3911,12 +4772,55 @@ snapshots: react: 19.2.3 react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) + expo-modules-jsi@57.1.0(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)): + dependencies: + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + expo-modules-jsi@57.1.0(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3)): dependencies: react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3) expo-server@57.0.3: {} + expo@57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3): + dependencies: + '@babel/runtime': 7.29.7 + '@expo/cli': 57.0.25(@expo/dom-webview@57.0.1)(expo-constants@57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)))(expo-font@57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3))(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + '@expo/config': 57.0.9(typescript@5.9.3) + '@expo/config-plugins': 57.0.9(typescript@5.9.3) + '@expo/devtools': 57.0.1(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + '@expo/fingerprint': 0.20.13 + '@expo/local-build-cache-provider': 57.0.8(typescript@5.9.3) + '@expo/log-box': 57.0.4(@expo/dom-webview@57.0.1)(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + '@expo/metro': 56.0.2 + '@expo/metro-config': 57.0.12(expo@57.0.23)(typescript@5.9.3) + '@ungap/structured-clone': 1.4.0 + babel-preset-expo: 57.0.12(@babel/core@7.29.7)(@babel/runtime@7.29.7)(expo@57.0.23)(react-refresh@0.14.2) + expo-asset: 57.0.17(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3)(typescript@5.9.3) + expo-constants: 57.0.18(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)) + expo-file-system: 57.0.7(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3)) + expo-font: 57.0.4(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + expo-keep-awake: 57.0.2(expo@57.0.23)(react@19.2.3) + expo-modules-autolinking: 57.0.13(typescript@5.9.3) + expo-modules-core: 57.0.18(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + pretty-format: 29.7.0 + react: 19.2.3 + react-native: 0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3) + react-refresh: 0.14.2 + whatwg-url-minimum: 0.1.2 + optionalDependencies: + '@expo/dom-webview': 57.0.1(expo@57.0.23)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - expo-router + - expo-widgets + - react-native-worklets + - react-server-dom-webpack + - supports-color + - typescript + - utf-8-validate + expo@57.0.23(@babel/core@7.29.7)(@expo/dom-webview@57.0.1)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3))(react@19.2.3)(typescript@6.0.3): dependencies: '@babel/runtime': 7.29.7 @@ -3992,6 +4896,9 @@ snapshots: fresh@0.5.2: {} + fsevents@2.3.3: + optional: true + function-bind@1.1.2: {} gensync@1.0.0-beta.2: {} @@ -4118,6 +5025,8 @@ snapshots: jsesc@3.1.0: {} + json-schema@0.4.0: {} + json5@2.2.3: {} kleur@3.0.3: {} @@ -4202,6 +5111,10 @@ snapshots: dependencies: yallist: 3.1.1 + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + makeerror@1.0.12: dependencies: tmpl: 1.0.5 @@ -4626,6 +5539,8 @@ snapshots: dependencies: flow-enums-runtime: 0.0.6 + obug@2.2.1: {} + on-finished@2.3.0: dependencies: ee-first: 1.1.1 @@ -4669,6 +5584,8 @@ snapshots: lru-cache: 11.5.2 minipass: 7.1.3 + pathe@2.0.3: {} + picocolors@1.1.1: {} picomatch@2.3.2: {} @@ -4722,6 +5639,51 @@ snapshots: react-is@18.3.1: {} + react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3): + dependencies: + '@react-native/assets-registry': 0.86.3 + '@react-native/codegen': 0.86.3(@babel/core@7.29.7) + '@react-native/community-cli-plugin': 0.86.3 + '@react-native/gradle-plugin': 0.86.3 + '@react-native/js-polyfills': 0.86.3 + '@react-native/normalize-colors': 0.86.3 + '@react-native/virtualized-lists': 0.86.3(@types/react@19.1.17)(react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.1.17)(react@19.2.3))(react@19.2.3) + abort-controller: 3.0.0 + anser: 1.4.10 + ansi-regex: 5.0.1 + babel-plugin-syntax-hermes-parser: 0.36.0 + base64-js: 1.5.1 + commander: 12.1.0 + flow-enums-runtime: 0.0.6 + hermes-compiler: 250829098.0.17 + invariant: 2.2.4 + memoize-one: 5.2.1 + metro-runtime: 0.84.6 + metro-source-map: 0.84.6 + nullthrows: 1.1.1 + pretty-format: 29.7.0 + promise: 8.3.0 + react: 19.2.3 + react-devtools-core: 6.1.5 + react-refresh: 0.14.2 + regenerator-runtime: 0.13.11 + scheduler: 0.27.0 + semver: 7.8.5 + stacktrace-parser: 0.1.11 + tinyglobby: 0.2.17 + whatwg-fetch: 3.6.20 + ws: 7.5.13 + yargs: 17.7.3 + optionalDependencies: + '@types/react': 19.1.17 + transitivePeerDependencies: + - '@babel/core' + - '@react-native-community/cli' + - '@react-native/metro-config' + - bufferutil + - supports-color + - utf-8-validate + react-native@0.86.3(@babel/core@7.29.7)(@types/react@19.2.18)(react@19.2.3): dependencies: '@react-native/assets-registry': 0.86.3 @@ -4812,6 +5774,27 @@ snapshots: onetime: 2.0.1 signal-exit: 3.0.7 + rolldown@1.2.9: + dependencies: + '@oxc-project/types': 0.150.0 + '@rolldown/pluginutils': 1.0.1 + optionalDependencies: + '@rolldown/binding-android-arm-eabi': 1.2.9 + '@rolldown/binding-android-arm64': 1.2.9 + '@rolldown/binding-darwin-arm64': 1.2.9 + '@rolldown/binding-darwin-x64': 1.2.9 + '@rolldown/binding-freebsd-x64': 1.2.9 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.9 + '@rolldown/binding-linux-arm64-gnu': 1.2.9 + '@rolldown/binding-linux-arm64-musl': 1.2.9 + '@rolldown/binding-linux-ppc64-gnu': 1.2.9 + '@rolldown/binding-linux-s390x-gnu': 1.2.9 + '@rolldown/binding-linux-x64-gnu': 1.2.9 + '@rolldown/binding-linux-x64-musl': 1.2.9 + '@rolldown/binding-openharmony-arm64': 1.2.9 + '@rolldown/binding-win32-arm64-msvc': 1.2.9 + '@rolldown/binding-win32-x64-msvc': 1.2.9 + safe-buffer@5.2.1: {} sandbox-cli-detector@0.2.0: {} @@ -4863,6 +5846,8 @@ snapshots: shell-quote@1.10.0: {} + siginfo@2.0.0: {} + signal-exit@3.0.7: {} simple-plist@1.3.1: @@ -4886,6 +5871,8 @@ snapshots: source-map@0.6.1: {} + stackback@0.0.2: {} + stackframe@1.3.4: {} stacktrace-parser@0.1.11: @@ -4896,6 +5883,8 @@ snapshots: statuses@2.0.2: {} + std-env@4.2.0: {} + stream-buffers@2.2.0: {} string-width@4.2.3: @@ -4947,11 +5936,17 @@ snapshots: throat@5.0.0: {} + tinybench@2.9.0: {} + + tinyexec@1.3.1: {} + tinyglobby@0.2.17: dependencies: fdir: 6.5.0(picomatch@4.0.7) picomatch: 4.0.7 + tinyrainbow@3.1.1: {} + tmpl@1.0.5: {} to-regex-range@5.0.1: @@ -4975,10 +5970,14 @@ snapshots: type-fest@0.7.1: {} + typescript@5.9.3: {} + typescript@6.0.3: {} undici-types@6.21.0: {} + undici@6.28.1: {} + unicode-canonical-property-names-ecmascript@2.0.1: {} unicode-match-property-ecmascript@2.0.0: @@ -5006,6 +6005,47 @@ snapshots: vary@1.1.2: {} + vite@8.3.0(@types/node@20.19.43)(esbuild@0.27.0)(terser@5.51.2)(yaml@2.9.1): + dependencies: + lightningcss: 1.33.0 + picomatch: 4.0.7 + postcss: 8.5.28 + rolldown: 1.2.9 + tinyglobby: 0.2.17 + optionalDependencies: + '@types/node': 20.19.43 + esbuild: 0.27.0 + fsevents: 2.3.3 + terser: 5.51.2 + yaml: 2.9.1 + + vitest@4.1.11(@types/node@20.19.43)(vite@8.3.0(@types/node@20.19.43)(esbuild@0.27.0)(terser@5.51.2)(yaml@2.9.1)): + dependencies: + '@vitest/expect': 4.1.11 + '@vitest/mocker': 4.1.11(vite@8.3.0(@types/node@20.19.43)(esbuild@0.27.0)(terser@5.51.2)(yaml@2.9.1)) + '@vitest/pretty-format': 4.1.11 + '@vitest/runner': 4.1.11 + '@vitest/snapshot': 4.1.11 + '@vitest/spy': 4.1.11 + '@vitest/utils': 4.1.11 + es-module-lexer: 2.3.2 + expect-type: 1.4.0 + magic-string: 0.30.21 + obug: 2.2.1 + pathe: 2.0.3 + picomatch: 4.0.7 + std-env: 4.2.0 + tinybench: 2.9.0 + tinyexec: 1.3.1 + tinyglobby: 0.2.17 + tinyrainbow: 3.1.1 + vite: 8.3.0(@types/node@20.19.43)(esbuild@0.27.0)(terser@5.51.2)(yaml@2.9.1) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 20.19.43 + transitivePeerDependencies: + - msw + vlq@1.0.1: {} walker@1.0.8: @@ -5024,6 +6064,11 @@ snapshots: dependencies: isexe: 2.0.0 + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + wrap-ansi@7.0.0: dependencies: ansi-styles: 4.3.0 @@ -5069,3 +6114,5 @@ snapshots: yargs-parser: 21.1.1 zod@3.25.76: {} + + zod@4.6.5: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 7d2c803..c7b62fc 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,7 @@ packages: - apps/* - backend/* - packages/* + # The voice-photo spike joins the pnpm workspace so apps/mobile can import the + # transcriber port as a workspace dependency (spike keeps its own npm lockfile + # for its standalone README gates). + - spikes/voice-photo From 837f132b372063994386e67f9336bec44e80e81e Mon Sep 17 00:00:00 2001 From: Obvious Date: Thu, 17 Sep 2026 18:53:59 +0000 Subject: [PATCH 2/2] chore(mobile): accept expo prebuild config sync (bundleIdentifier, run scripts) `npx expo prebuild -p ios --no-install` syncs app config in bare workflow: adds the explicit ios.bundleIdentifier default and switches the android/ios scripts to `expo run:*`. Generated ios/ output stays untracked per the gitignore added in the parent commit. Co-authored-by: Gilbert Polanco --- apps/mobile/app.json | 26 ++++++++++++++++++-------- apps/mobile/package.json | 4 ++-- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/apps/mobile/app.json b/apps/mobile/app.json index 1b2d003..697a3a6 100644 --- a/apps/mobile/app.json +++ b/apps/mobile/app.json @@ -4,20 +4,30 @@ "slug": "shared-child-journal", "version": "0.1.0", "scheme": "sharedchildjournal", - "platforms": ["ios", "android"], + "platforms": [ + "ios", + "android" + ], "newArchEnabled": true, "plugins": [ - ["expo-audio", { - "microphonePermission": "Allow Shared Child Journal to access your microphone so you can dictate journal entries." - }], - ["expo-image-picker", { - "photosPermission": "Allow Shared Child Journal to attach pictures to journal entries." - }] + [ + "expo-audio", + { + "microphonePermission": "Allow Shared Child Journal to access your microphone so you can dictate journal entries." + } + ], + [ + "expo-image-picker", + { + "photosPermission": "Allow Shared Child Journal to attach pictures to journal entries." + } + ] ], "ios": { "infoPlist": { "NSSpeechRecognitionUsageDescription": "Shared Child Journal transcribes your dictated entries on-device." - } + }, + "bundleIdentifier": "com.anonymous.shared-child-journal" } } } diff --git a/apps/mobile/package.json b/apps/mobile/package.json index a3c4552..0a21321 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -6,8 +6,8 @@ "scripts": { "typecheck": "tsc -p tsconfig.json --noEmit", "start": "expo start", - "android": "expo start --android", - "ios": "expo start --ios" + "android": "expo run:android", + "ios": "expo run:ios" }, "dependencies": { "@journal/spike-voice-photo": "workspace:*",