Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Fix native composer lag with revision-gated updates (#3574)

Julius Marminge6245c547c2d8
diff --git a/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorModule.swift b/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorModule.swift
index 5d3b33094..d3b12770b 100644
--- a/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorModule.swift
+++ b/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorModule.swift
@@ -5,14 +5,8 @@ public class T3ComposerEditorModule: Module {
Name("T3ComposerEditor")
View(T3ComposerEditorView.self) {
- Prop("value") { (view: T3ComposerEditorView, value: String) in
- view.setValue(value)
- }
- Prop("tokensJson") { (view: T3ComposerEditorView, tokensJson: String) in
- view.setTokensJson(tokensJson)
- }
- Prop("selectionJson") { (view: T3ComposerEditorView, selectionJson: String) in
- view.setSelectionJson(selectionJson)
+ Prop("controlledDocumentJson") { (view: T3ComposerEditorView, documentJson: String) in
+ view.setControlledDocumentJson(documentJson)
}
Prop("themeJson") { (view: T3ComposerEditorView, themeJson: String) in
view.setThemeJson(themeJson)
diff --git a/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorView.swift b/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorView.swift
index 6f4dc575b..afb3ba2d9 100644
--- a/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorView.swift
+++ b/apps/mobile/modules/t3-composer-editor/ios/T3ComposerEditorView.swift
@@ -15,6 +15,14 @@ private struct ComposerSelectionPayload: Decodable {
let end: Int
}
+private struct ComposerControlledDocumentPayload: Decodable {
+ let value: String
+ let selection: ComposerSelectionPayload?
+ let tokensJson: String
+ let mostRecentEventCount: Int
+ let isNativeEcho: Bool
+}
+
private struct ComposerThemePayload: Decodable {
let text: String
let placeholder: String
@@ -281,6 +289,7 @@ public final class T3ComposerEditorView: ExpoView, UITextViewDelegate {
private var shouldAutoFocus = false
private var didAutoFocus = false
private var isApplyingControlledValue = false
+ private var nativeEventCount = 0
private var lastContentSize = CGSize.zero
private var iconImages: [String: UIImage] = [:]
private var pendingIconUris = Set<String>()
@@ -350,32 +359,28 @@ public final class T3ComposerEditorView: ExpoView, UITextViewDelegate {
}
}
- func setValue(_ value: String) {
- self.value = value
- applyControlledDocument(force: tokensNeedRebuild)
- if tokensMatchCurrentValue() {
- tokensNeedRebuild = false
+ func setControlledDocumentJson(_ documentJson: String) {
+ guard let document = decode(ComposerControlledDocumentPayload.self, from: documentJson),
+ document.mostRecentEventCount >= nativeEventCount else {
+ return
}
- }
-
- func setTokensJson(_ tokensJson: String) {
- guard self.tokensJson != tokensJson else {
+ if document.isNativeEcho && textView.serializedText() != document.value {
return
}
- self.tokensJson = tokensJson
- tokens = decode([ComposerTokenPayload].self, from: tokensJson) ?? []
- tokensNeedRebuild = true
- applyControlledDocument(force: true)
+ if tokensJson != document.tokensJson {
+ tokensJson = document.tokensJson
+ tokens = decode([ComposerTokenPayload].self, from: document.tokensJson) ?? []
+ tokensNeedRebuild = true
+ }
+ value = document.value
+ requestedSelection = document.selection
+ applyControlledDocument(force: tokensNeedRebuild)
+ applyRequestedSelection()
if tokensMatchCurrentValue() {
tokensNeedRebuild = false
}
}
- func setSelectionJson(_ selectionJson: String) {
- requestedSelection = decode(ComposerSelectionPayload.self, from: selectionJson)
- applyRequestedSelection()
- }
-
func setThemeJson(_ themeJson: String) {
guard let nextTheme = decode(ComposerThemePayload.self, from: themeJson) else {
return
@@ -700,18 +705,23 @@ public final class T3ComposerEditorView: ExpoView, UITextViewDelegate {
}
value = textView.serializedText()
let selection = sourceSelection()
+ nativeEventCount += 1
onComposerChange([
"value": value,
"selection": ["start": selection.start, "end": selection.end],
+ "eventCount": nativeEventCount,
])
updatePlaceholderVisibility()
emitContentSizeIfNeeded()
}
private func emitSelection() {
+ let currentValue = textView.serializedText()
let selection = sourceSelection()
onComposerSelectionChange([
+ "value": currentValue,
"selection": ["start": selection.start, "end": selection.end],
+ "eventCount": nativeEventCount,
])
}
@@ -752,6 +762,7 @@ public final class T3ComposerEditorView: ExpoView, UITextViewDelegate {
isApplyingControlledValue = true
textView.selectedRange = nextRange
isApplyingControlledValue = false
+ self.requestedSelection = nil
}
private func updatePlaceholderVisibility() {
diff --git a/apps/mobile/src/native/T3ComposerEditor.ios.tsx b/apps/mobile/src/native/T3ComposerEditor.ios.tsx
index 7dd92ff06..eb935030e 100644
--- a/apps/mobile/src/native/T3ComposerEditor.ios.tsx
+++ b/apps/mobile/src/native/T3ComposerEditor.ios.tsx
@@ -1,6 +1,14 @@
import { collectComposerInlineTokens } from "@t3tools/shared/composerInlineTokens";
import { requireNativeView } from "expo";
-import { useImperativeHandle, useMemo, useRef, type Ref } from "react";
+import {
+ useCallback,
+ useEffect,
+ useImperativeHandle,
+ useMemo,
+ useRef,
+ useState,
+ type Ref,
+} from "react";
import type { NativeSyntheticEvent, StyleProp, ViewProps, ViewStyle } from "react-native";
import { Image, StyleSheet } from "react-native";
@@ -8,6 +16,13 @@ import { markdownFileIconSource } from "@t3tools/mobile-markdown-text/file-icons
import { resolveMarkdownFileIcon } from "@t3tools/mobile-markdown-text/links";
import { MOBILE_TYPOGRAPHY } from "../lib/typography";
import { useThemeColor } from "../lib/useThemeColor";
+import {
+ acknowledgeComposerNativeEvent,
+ isComposerNativeEcho,
+ pruneAcknowledgedComposerNativeEvents,
+ resolveComposerControlledEventCount,
+ type ComposerNativeEventSnapshot,
+} from "./composerEditorRevision";
import type { ComposerEditorProps, ComposerEditorSelection } from "./T3ComposerEditor.types";
const NATIVE_MODULE_NAME = "T3ComposerEditor";
@@ -16,10 +31,13 @@ const EMPTY_SKILLS: NonNullable<ComposerEditorProps["skills"]> = [];
type NativeEditorEvent = NativeSyntheticEvent<{
readonly value: string;
readonly selection: ComposerEditorSelection;
+ readonly eventCount: number;
}>;
type NativeSelectionEvent = NativeSyntheticEvent<{
+ readonly value: string;
readonly selection: ComposerEditorSelection;
+ readonly eventCount: number;
}>;
type NativePasteImagesEvent = NativeSyntheticEvent<{
@@ -34,9 +52,7 @@ interface NativeComposerEditorRef {
interface NativeComposerEditorProps extends ViewProps {
readonly ref?: Ref<NativeComposerEditorRef>;
- readonly value: string;
- readonly tokensJson: string;
- readonly selectionJson: string;
+ readonly controlledDocumentJson: string;
readonly themeJson: string;
readonly placeholder: string;
readonly fontFamily: string;
@@ -81,6 +97,13 @@ export function ComposerEditor({
...props
}: ComposerEditorProps) {
const nativeRef = useRef<NativeComposerEditorRef>(null);
+ const mostRecentEventCountRef = useRef(0);
+ const [mostRecentEventCount, setMostRecentEventCount] = useState(0);
+ const [nativeEventSequence, setNativeEventSequence] = useState(0);
+ const previousRenderedEventSequenceRef = useRef(0);
+ const nativeEventSnapshotsRef = useRef<ComposerNativeEventSnapshot[]>([
+ { eventCount: 0, value: props.value, selection: selection ?? null },
+ ]);
const confirmedTokensRef = useRef(collectComposerInlineTokens(props.value));
const textColor = useThemeColor("--color-foreground");
const placeholderColor = useThemeColor("--color-placeholder");
@@ -126,6 +149,61 @@ export function ComposerEditor({
})),
);
}, [props.value, skillLabels]);
+ const includesNativeEvent = nativeEventSequence !== previousRenderedEventSequenceRef.current;
+ const controlledEventCount = includesNativeEvent
+ ? resolveComposerControlledEventCount(
+ props.value,
+ selection ?? null,
+ mostRecentEventCount,
+ nativeEventSnapshotsRef.current,
+ )
+ : mostRecentEventCount;
+ const acknowledgesLatestNativeEvent = isComposerNativeEcho(
+ props.value,
+ selection ?? null,
+ mostRecentEventCount,
+ nativeEventSnapshotsRef.current,
+ );
+ const isNativeEcho =
+ includesNativeEvent &&
+ controlledEventCount === mostRecentEventCount &&
+ acknowledgesLatestNativeEvent;
+ const controlledDocumentJson = JSON.stringify({
+ value: props.value,
+ selection: isNativeEcho ? null : (selection ?? null),
+ tokensJson,
+ mostRecentEventCount: controlledEventCount,
+ isNativeEcho,
+ });
+ useEffect(() => {
+ previousRenderedEventSequenceRef.current = nativeEventSequence;
+ }, [nativeEventSequence]);
+ useEffect(() => {
+ if (!acknowledgesLatestNativeEvent) return;
+ nativeEventSnapshotsRef.current = pruneAcknowledgedComposerNativeEvents(
+ nativeEventSnapshotsRef.current,
+ mostRecentEventCount,
+ );
+ }, [acknowledgesLatestNativeEvent, mostRecentEventCount]);
+ const acceptNativeEvent = useCallback(
+ (eventCount: number, value: string, nextSelection: ComposerEditorSelection) => {
+ const acknowledgedEventCount = acknowledgeComposerNativeEvent(
+ mostRecentEventCountRef.current,
+ eventCount,
+ );
+ if (acknowledgedEventCount === null) {
+ return false;
+ }
+ mostRecentEventCountRef.current = acknowledgedEventCount;
+ nativeEventSnapshotsRef.current.push({
+ eventCount: acknowledgedEventCount,
+ value,
+ selection: nextSelection,
+ });
+ return acknowledgedEventCount;
+ },
+ [],
+ );
const themeJson = JSON.stringify({
text: String(textColor),
placeholder: String(placeholderColor),
@@ -141,9 +219,7 @@ export function ComposerEditor({
return (
<NativeView
ref={nativeRef}
- value={props.value}
- tokensJson={tokensJson}
- selectionJson={selection ? JSON.stringify(selection) : ""}
+ controlledDocumentJson={controlledDocumentJson}
themeJson={themeJson}
placeholder={props.placeholder ?? ""}
fontFamily={
@@ -169,10 +245,28 @@ export function ComposerEditor({
spellCheck={props.spellCheck ?? true}
style={style as StyleProp<ViewStyle>}
onComposerChange={(event) => {
+ const acknowledgedEventCount = acceptNativeEvent(
+ event.nativeEvent.eventCount,
+ event.nativeEvent.value,
+ event.nativeEvent.selection,
+ );
+ if (acknowledgedEventCount === false) return;
onChangeText(event.nativeEvent.value);
onSelectionChange?.(event.nativeEvent.selection);
+ setMostRecentEventCount(acknowledgedEventCount);
+ setNativeEventSequence((sequence) => sequence + 1);
+ }}
+ onComposerSelectionChange={(event) => {
+ const acknowledgedEventCount = acceptNativeEvent(
+ event.nativeEvent.eventCount,
+ event.nativeEvent.value,
+ event.nativeEvent.selection,
+ );
+ if (acknowledgedEventCount === false) return;
+ onSelectionChange?.(event.nativeEvent.selection);
+ setMostRecentEventCount(acknowledgedEventCount);
+ setNativeEventSequence((sequence) => sequence + 1);
}}
- onComposerSelectionChange={(event) => onSelectionChange?.(event.nativeEvent.selection)}
onComposerPasteImages={(event) => onPasteImages?.(event.nativeEvent.uris)}
onComposerFocus={onFocus}
onComposerBlur={onBlur}
diff --git a/apps/mobile/src/native/composerEditorRevision.test.ts b/apps/mobile/src/native/composerEditorRevision.test.ts
new file mode 100644
index 000000000..9b255a547
--- /dev/null
+++ b/apps/mobile/src/native/composerEditorRevision.test.ts
@@ -0,0 +1,109 @@
+import { describe, expect, it } from "@effect/vitest";
+
+import {
+ acknowledgeComposerNativeEvent,
+ isComposerNativeEcho,
+ pruneAcknowledgedComposerNativeEvents,
+ resolveComposerControlledEventCount,
+} from "./composerEditorRevision";
+
+describe("acknowledgeComposerNativeEvent", () => {
+ it("advances to newer native text revisions", () => {
+ expect(acknowledgeComposerNativeEvent(4, 5)).toBe(5);
+ });
+
+ it("accepts a duplicate event from the current native revision", () => {
+ expect(acknowledgeComposerNativeEvent(5, 5)).toBe(5);
+ });
+
+ it("rejects events older than the latest native text revision", () => {
+ expect(acknowledgeComposerNativeEvent(5, 4)).toBeNull();
+ });
+
+ it("rejects malformed revision counters", () => {
+ expect(acknowledgeComposerNativeEvent(5, Number.NaN)).toBeNull();
+ expect(acknowledgeComposerNativeEvent(5, 5.5)).toBeNull();
+ });
+});
+
+describe("isComposerNativeEcho", () => {
+ const snapshots = [{ eventCount: 3, value: "native", selection: { start: 6, end: 6 } }];
+
+ it("matches the exact native text revision and selection", () => {
+ expect(isComposerNativeEcho("native", { start: 6, end: 6 }, 3, snapshots)).toBe(true);
+ });
+
+ it("does not claim parent-driven selection or repeated-text updates", () => {
+ expect(isComposerNativeEcho("native", { start: 2, end: 2 }, 3, snapshots)).toBe(false);
+ expect(isComposerNativeEcho("native", { start: 6, end: 6 }, 4, snapshots)).toBe(false);
+ expect(isComposerNativeEcho("parent edit", { start: 6, end: 6 }, 3, snapshots)).toBe(false);
+ });
+
+ it("matches value and revision when selection is uncontrolled", () => {
+ expect(isComposerNativeEcho("native", null, 3, snapshots)).toBe(true);
+ });
+});
+
+describe("resolveComposerControlledEventCount", () => {
+ const snapshots = [
+ { eventCount: 0, value: "", selection: { start: 0, end: 0 } },
+ { eventCount: 2, value: "a", selection: { start: 1, end: 1 } },
+ { eventCount: 4, value: "ab", selection: { start: 2, end: 2 } },
+ ];
+
+ it("tags a delayed parent value with the native revision that produced it", () => {
+ expect(resolveComposerControlledEventCount("a", { start: 1, end: 1 }, 4, snapshots)).toBe(2);
+ });
+
+ it("does not acknowledge the pre-edit parent value as the latest revision", () => {
+ expect(resolveComposerControlledEventCount("", { start: 0, end: 0 }, 4, snapshots)).toBe(0);
+ });
+
+ it("acknowledges the latest native value at the latest revision", () => {
+ expect(resolveComposerControlledEventCount("ab", { start: 2, end: 2 }, 4, snapshots)).toBe(4);
+ });
+
+ it("allows an unmatched parent-driven edit at the latest native revision", () => {
+ expect(resolveComposerControlledEventCount("/plan ", { start: 6, end: 6 }, 4, snapshots)).toBe(
+ 4,
+ );
+ });
+
+ it("uses the newest revision when selection events repeat the same value", () => {
+ expect(
+ resolveComposerControlledEventCount("ab", { start: 1, end: 1 }, 5, [
+ ...snapshots,
+ { eventCount: 5, value: "ab", selection: { start: 1, end: 1 } },
+ ]),
+ ).toBe(5);
+ });
+
+ it("keeps a stale selection paired with current text behind the native revision", () => {
+ expect(resolveComposerControlledEventCount("ab", { start: 1, end: 1 }, 4, snapshots)).toBe(3);
+ });
+
+ it("does not control selection when no selection prop is provided", () => {
+ expect(resolveComposerControlledEventCount("ab", null, 4, snapshots)).toBe(4);
+ });
+});
+
+describe("pruneAcknowledgedComposerNativeEvents", () => {
+ it("releases an arbitrarily long acknowledged backlog without a fixed-size cliff", () => {
+ const snapshots = Array.from({ length: 1_000 }, (_, eventCount) => ({
+ eventCount,
+ value: `value-${eventCount}`,
+ selection: { start: eventCount, end: eventCount },
+ }));
+
+ expect(pruneAcknowledgedComposerNativeEvents(snapshots, 999)).toEqual([]);
+ });
+
+ it("retains native events that arrive after the acknowledged render", () => {
+ const snapshots = [
+ { eventCount: 40, value: "a", selection: { start: 1, end: 1 } },
+ { eventCount: 41, value: "ab", selection: { start: 2, end: 2 } },
+ ];
+
+ expect(pruneAcknowledgedComposerNativeEvents(snapshots, 40)).toEqual([snapshots[1]]);
+ });
+});
diff --git a/apps/mobile/src/native/composerEditorRevision.ts b/apps/mobile/src/native/composerEditorRevision.ts
new file mode 100644
index 000000000..ea18d153d
--- /dev/null
+++ b/apps/mobile/src/native/composerEditorRevision.ts
@@ -0,0 +1,78 @@
+export interface ComposerNativeEventSnapshot {
+ readonly eventCount: number;
+ readonly value: string;
+ readonly selection: ComposerEditorSelection | null;
+}
+
+interface ComposerEditorSelection {
+ readonly start: number;
+ readonly end: number;
+}
+
+export function acknowledgeComposerNativeEvent(
+ mostRecentEventCount: number,
+ incomingEventCount: number,
+): number | null {
+ if (!Number.isSafeInteger(incomingEventCount) || incomingEventCount < mostRecentEventCount) {
+ return null;
+ }
+ return incomingEventCount;
+}
+
+export function resolveComposerControlledEventCount(
+ value: string,
+ selection: ComposerEditorSelection | null,
+ mostRecentEventCount: number,
+ snapshots: ReadonlyArray<ComposerNativeEventSnapshot>,
+): number {
+ let newestValueEventCount: number | null = null;
+ for (let index = snapshots.length - 1; index >= 0; index -= 1) {
+ const snapshot = snapshots[index];
+ if (snapshot?.value !== value) continue;
+
+ newestValueEventCount ??= snapshot.eventCount;
+ if (
+ selection === null ||
+ (snapshot.selection?.start === selection.start && snapshot.selection.end === selection.end)
+ ) {
+ return snapshot.eventCount;
+ }
+ }
+
+ // A value emitted by native paired with a different selection is an
+ // intermediate React render. Keep it behind the native revision so it
+ // cannot move the caret while newer keystrokes are being processed.
+ if (newestValueEventCount !== null && mostRecentEventCount > 0) {
+ return Math.min(newestValueEventCount, mostRecentEventCount - 1);
+ }
+
+ return mostRecentEventCount;
+}
+
+export function isComposerNativeEcho(
+ value: string,
+ selection: ComposerEditorSelection | null,
+ eventCount: number,
+ snapshots: ReadonlyArray<ComposerNativeEventSnapshot>,
+): boolean {
+ for (let index = snapshots.length - 1; index >= 0; index -= 1) {
+ const snapshot = snapshots[index];
+ if (
+ snapshot !== undefined &&
+ snapshot.eventCount === eventCount &&
+ snapshot.value === value &&
+ (selection === null ||
+ (snapshot.selection?.start === selection.start && snapshot.selection.end === selection.end))
+ ) {
+ return true;
+ }
+ }
+ return false;
+}
+
+export function pruneAcknowledgedComposerNativeEvents(
+ snapshots: ReadonlyArray<ComposerNativeEventSnapshot>,
+ acknowledgedEventCount: number,
+): ComposerNativeEventSnapshot[] {
+ return snapshots.filter((snapshot) => snapshot.eventCount > acknowledgedEventCount);
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 48b4ed2ce..4645ecc34 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -192,10 +192,10 @@ importers:
dependencies:
'@callstack/liquid-glass':
specifier: ^0.7.1
'@clerk/expo':
specifier: 3.5.3-snapshot.v20260622234151
'@effect/atom-react':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
@@ -204,10 +204,10 @@ importers:
version: 0.4.2
'@expo/ui':
specifier: ~56.0.8
- version: 56.0.15(ab3f255d102c60ba0fd2bbe4e47ba584)
+ version: 56.0.15(961c4aa6f32829b318e3c87ef20ad401)
'@legendapp/list':
specifier: 3.2.0
'@noble/curves':
specifier: 'catalog:'
version: 1.9.1
@@ -219,7 +219,7 @@ importers:
version: 1.3.0-beta.5(patch_hash=7cb6da88544119adda056b2f46f43956f99326227732da0b345081e285a6c53a)(@shikijs/[email protected])([email protected]([email protected]))([email protected])
'@react-native-menu/menu':
specifier: ^2.0.0
'@shikijs/core':
specifier: 4.2.0
version: 4.2.0
@@ -240,7 +240,7 @@ importers:
version: link:../../packages/contracts
'@t3tools/mobile-markdown-text':
specifier: file:./modules/t3-markdown-text
- version: file:apps/mobile/modules/t3-markdown-text(e909ee9a8f7fbe234da80c739fca4984)
+ version: file:apps/mobile/modules/t3-markdown-text(f0ff241d48c23db461fff5d47e450578)
'@t3tools/mobile-review-diff-native':
specifier: file:./modules/t3-review-diff
version: file:apps/mobile/modules/t3-review-diff
@@ -261,40 +261,40 @@ importers:
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
expo:
specifier: ^56.0.0
+ version: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-asset:
specifier: ~56.0.15
expo-auth-session:
specifier: ~56.0.12
expo-build-properties:
specifier: ~56.0.15
version: 56.0.16([email protected])
expo-camera:
specifier: ~56.0.7
expo-clipboard:
specifier: ~56.0.3
expo-constants:
specifier: ~56.0.16
expo-crypto:
specifier: ~56.0.4
version: 56.0.4([email protected])
expo-dev-client:
specifier: ~56.0.16
expo-file-system:
specifier: ~56.0.7
expo-font:
specifier: ~56.0.5
expo-glass-effect:
specifier: ~56.0.4
expo-haptics:
specifier: ~56.0.3
version: 56.0.3([email protected])
@@ -303,19 +303,19 @@ importers:
version: 56.0.15([email protected])
expo-linking:
specifier: ~56.0.12
expo-network:
specifier: ~56.0.5
expo-notifications:
specifier: ~56.0.14
expo-paste-input:
specifier: ^0.1.15
expo-router:
specifier: ~56.2.7
- version: 56.2.8(c021de11d02907bd585610408f5252e8)
+ version: 56.2.8(5bfdf39b8f760e4dc2d5c3acffc97310)
expo-secure-store:
specifier: ~56.0.4
version: 56.0.4([email protected])
@@ -324,16 +324,16 @@ importers:
expo-symbols:
specifier: ~56.0.5
expo-updates:
specifier: ~56.0.17
expo-web-browser:
specifier: ~56.0.5
expo-widgets:
specifier: ~56.0.15
- version: 56.0.16(ab3f255d102c60ba0fd2bbe4e47ba584)
+ version: 56.0.16(961c4aa6f32829b318e3c87ef20ad401)
punycode:
specifier: ^2.3.1
version: 2.3.1
@@ -345,43 +345,43 @@ importers:
version: 19.2.3([email protected])
react-native:
specifier: 0.85.3
react-native-gesture-handler:
specifier: ~2.31.1
react-native-image-viewing:
specifier: ^0.2.2
react-native-keyboard-controller:
specifier: 1.21.7
react-native-nitro-markdown:
specifier: ^0.5.0
react-native-nitro-modules:
specifier: 0.35.9
- version: 0.35.9(patch_hash=825622aae63a8fb5b904f3c77908a0e216261d727ea171709f2c0b6088422675)([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])
+ version: 0.35.9(patch_hash=825622aae63a8fb5b904f3c77908a0e216261d727ea171709f2c0b6088422675)([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])
react-native-reanimated:
specifier: 4.3.1
react-native-safe-area-context:
specifier: ~5.7.0
react-native-screens:
specifier: 4.25.2
react-native-shiki-engine:
specifier: ^0.3.12
react-native-svg:
specifier: 15.15.4
react-native-webview:
specifier: ^13.16.1
react-native-worklets:
specifier: 0.8.3
shiki:
specifier: 4.2.0
version: 4.2.0
@@ -390,7 +390,7 @@ importers:
version: 3.6.0
uniwind:
specifier: ^1.6.2
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
@@ -11109,10 +11109,10 @@ snapshots:
'@bruits/[email protected]':
optional: true
dependencies:
react: 19.2.3
'@capsizecss/[email protected]':
dependencies:
@@ -11216,23 +11216,23 @@ snapshots:
electron-store: 8.2.0
react-dom: 19.2.6([email protected])
dependencies:
'@clerk/clerk-js': 6.21.0-snapshot.v20260622234151([email protected]([email protected]))([email protected])
'@clerk/react': 6.11.0-snapshot.v20260622234151([email protected]([email protected]))([email protected])
'@clerk/shared': 4.21.0-snapshot.v20260622234151([email protected]([email protected]))([email protected])
base-64: 1.0.0
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
tslib: 2.8.1
optionalDependencies:
expo-crypto: 56.0.4([email protected])
expo-secure-store: 56.0.4([email protected])
react-dom: 19.2.3([email protected])
@@ -11815,7 +11815,7 @@ snapshots:
'@expo-google-fonts/[email protected]': {}
dependencies:
'@expo/code-signing-certificates': 0.0.6
'@expo/config': 56.0.9([email protected])
@@ -11825,7 +11825,7 @@ snapshots:
'@expo/image-utils': 0.10.1([email protected])
'@expo/inline-modules': 0.0.10([email protected])
'@expo/json-file': 10.2.0
'@expo/metro': 56.0.0([email protected])([email protected])
'@expo/metro-config': 56.0.13(patch_hash=8cb08b5bb7051ed9d2dbe46a2c293c5a1e17f1bd6ddf30de27909e18c921ff46)([email protected])([email protected])([email protected])([email protected])
'@expo/metro-file-map': 56.0.3
@@ -11850,7 +11850,7 @@ snapshots:
connect: 3.7.0
debug: 4.4.3
dnssd-advertise: 1.1.4
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-server: 56.0.4
fetch-nodeshim: 0.4.10
getenv: 2.0.0
@@ -11876,8 +11876,8 @@ snapshots:
zod: 3.25.76
optionalDependencies:
- expo-router: 56.2.8(c021de11d02907bd585610408f5252e8)
+ expo-router: 56.2.8(5bfdf39b8f760e4dc2d5c3acffc97310)
transitivePeerDependencies:
- '@expo/dom-webview'
- '@expo/metro-runtime'
@@ -11939,18 +11939,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
chalk: 4.1.2
optionalDependencies:
react: 19.2.3
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
dependencies:
@@ -12011,13 +12011,13 @@ snapshots:
- supports-color
- typescript
dependencies:
anser: 1.4.10
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
stacktrace-parser: 0.1.11
'@expo/[email protected](patch_hash=8cb08b5bb7051ed9d2dbe46a2c293c5a1e17f1bd6ddf30de27909e18c921ff46)([email protected])([email protected])([email protected])([email protected])':
@@ -12047,7 +12047,7 @@ snapshots:
postcss: 8.5.15
resolve-from: 5.0.0
optionalDependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -12065,14 +12065,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
anser: 1.4.10
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
pretty-format: 29.7.0
react: 19.2.3
stacktrace-parser: 0.1.11
whatwg-fetch: 3.6.20
optionalDependencies:
@@ -12147,14 +12147,14 @@ snapshots:
dependencies:
debug: 4.4.3
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-server: 56.0.4
react: 19.2.3
optionalDependencies:
- expo-router: 56.2.8(c021de11d02907bd585610408f5252e8)
+ expo-router: 56.2.8(5bfdf39b8f760e4dc2d5c3acffc97310)
react-dom: 19.2.3([email protected])
transitivePeerDependencies:
- supports-color
@@ -12169,18 +12169,18 @@ snapshots:
'@expo/[email protected]': {}
- '@expo/[email protected](ab3f255d102c60ba0fd2bbe4e47ba584)':
+ '@expo/[email protected](961c4aa6f32829b318e3c87ef20ad401)':
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
sf-symbols-typescript: 2.2.0
optionalDependencies:
'@babel/core': 7.29.7
react-dom: 19.2.3([email protected])
transitivePeerDependencies:
- '@types/react'
- '@types/react-dom'
@@ -12441,13 +12441,13 @@ snapshots:
dependencies:
jsbi: 4.3.2
dependencies:
react: 19.2.3
use-sync-external-store: 1.6.0([email protected])
optionalDependencies:
react-dom: 19.2.3([email protected])
dependencies:
@@ -13270,15 +13270,15 @@ snapshots:
prompts: 2.4.2
tinyexec: 1.2.4
dependencies:
react: 19.2.3
dependencies:
react: 19.2.3
'@react-native/[email protected]': {}
@@ -13338,7 +13338,7 @@ snapshots:
tinyglobby: 0.2.17
yargs: 17.7.2
dependencies:
'@react-native/dev-middleware': 0.85.3([email protected])([email protected])
debug: 4.4.3
@@ -13348,7 +13348,7 @@ snapshots:
metro-core: 0.84.4
semver: 7.8.5
optionalDependencies:
- '@react-native/metro-config': 0.85.3(@babel/[email protected])
+ '@react-native/metro-config': 0.85.3(@babel/[email protected])([email protected])([email protected])
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -13396,7 +13396,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@react-native/[email protected](@babel/[email protected])':
dependencies:
'@react-native/js-polyfills': 0.85.3
'@react-native/metro-babel-transformer': 0.85.3(@babel/[email protected])
@@ -13404,16 +13404,18 @@ snapshots:
metro-runtime: 0.84.4
transitivePeerDependencies:
- '@babel/core'
+ - bufferutil
- supports-color
+ - utf-8-validate
'@react-native/[email protected]': {}
dependencies:
invariant: 2.2.4
nullthrows: 1.1.1
react: 19.2.3
optionalDependencies:
'@types/react': 19.2.16
@@ -13798,15 +13800,15 @@ snapshots:
dependencies:
defer-to-connect: 2.0.1
- '@t3tools/mobile-markdown-text@file:apps/mobile/modules/t3-markdown-text(e909ee9a8f7fbe234da80c739fca4984)':
+ '@t3tools/mobile-markdown-text@file:apps/mobile/modules/t3-markdown-text(f0ff241d48c23db461fff5d47e450578)':
dependencies:
expo-haptics: 56.0.3([email protected])
react: 19.2.3
'@t3tools/mobile-review-diff-native@file:apps/mobile/modules/t3-review-diff': {}
@@ -14921,8 +14923,8 @@ snapshots:
react-refresh: 0.14.2
optionalDependencies:
'@babel/runtime': 7.29.7
- expo-widgets: 56.0.16(ab3f255d102c60ba0fd2bbe4e47ba584)
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
+ expo-widgets: 56.0.16(961c4aa6f32829b318e3c87ef20ad401)
transitivePeerDependencies:
- '@babel/core'
- supports-color
@@ -15819,29 +15821,29 @@ snapshots:
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
dependencies:
'@expo/image-utils': 0.10.1([email protected])
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
transitivePeerDependencies:
- supports-color
- typescript
dependencies:
expo-application: 56.0.3([email protected])
expo-crypto: 56.0.4([email protected])
invariant: 2.2.4
react: 19.2.3
transitivePeerDependencies:
- expo
- supports-color
@@ -15849,119 +15851,119 @@ snapshots:
dependencies:
'@expo/schema-utils': 56.0.1
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
resolve-from: 5.0.0
semver: 7.8.5
dependencies:
barcode-detector: 3.2.0(@types/[email protected])
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
transitivePeerDependencies:
- '@types/emscripten'
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
dependencies:
'@expo/env': 2.3.0
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
transitivePeerDependencies:
- supports-color
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-dev-menu-interface: 56.0.1([email protected])
expo-manifests: 56.0.4([email protected])
expo-updates-interface: 56.0.2([email protected])
transitivePeerDependencies:
- react-native
dependencies:
'@expo/schema-utils': 56.0.1
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-manifests: 56.0.4([email protected])
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-dev-menu-interface: 56.0.1([email protected])
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
fontfaceobserver: 2.3.0
react: 19.2.3
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-image-loader: 56.0.3([email protected])
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
dependencies:
invariant: 2.2.4
react: 19.2.3
transitivePeerDependencies:
- expo
- supports-color
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-json-utils: 56.0.0
@@ -15974,66 +15976,66 @@ snapshots:
- supports-color
- typescript
dependencies:
'@expo/expo-modules-macros-plugin': 0.0.9
invariant: 2.2.4
react: 19.2.3
optionalDependencies:
dependencies:
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
dependencies:
'@expo/image-utils': 0.10.1([email protected])
abort-controller: 3.0.0
badgin: 1.2.3
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-application: 56.0.3([email protected])
react: 19.2.3
transitivePeerDependencies:
- supports-color
- typescript
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
- [email protected](c021de11d02907bd585610408f5252e8):
+ [email protected](5bfdf39b8f760e4dc2d5c3acffc97310):
dependencies:
'@expo/schema-utils': 56.0.1
- '@expo/ui': 56.0.15(ab3f255d102c60ba0fd2bbe4e47ba584)
+ '@expo/ui': 56.0.15(961c4aa6f32829b318e3c87ef20ad401)
'@radix-ui/react-slot': 1.2.4(@types/[email protected])([email protected])
'@testing-library/jest-dom': 6.9.1
'@testing-library/user-event': 14.6.1(@testing-library/[email protected])
client-only: 0.0.1
color: 4.2.3
debug: 4.4.3
escape-string-regexp: 4.0.0
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-server: 56.0.4
fast-deep-equal: 3.1.3
invariant: 2.2.4
nanoid: 3.3.12
@@ -16041,18 +16043,18 @@ snapshots:
react: 19.2.3
react-fast-compare: 3.2.2
react-is: 19.2.7
+ react-native-drawer-layout: 4.2.4(0e9729601f58a7a7ae26c76fe6017455)
server-only: 0.0.1
sf-symbols-typescript: 2.2.0
shallowequal: 1.1.0
optionalDependencies:
react-dom: 19.2.3([email protected])
transitivePeerDependencies:
- '@babel/core'
- '@testing-library/dom'
@@ -16064,7 +16066,7 @@ snapshots:
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
@@ -16072,7 +16074,7 @@ snapshots:
dependencies:
'@expo/config-plugins': 56.0.8([email protected])
'@expo/image-utils': 0.10.1([email protected])
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
xml2js: 0.6.0
transitivePeerDependencies:
- supports-color
@@ -16080,20 +16082,20 @@ snapshots:
dependencies:
'@expo-google-fonts/material-symbols': 0.4.38
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
sf-symbols-typescript: 2.2.0
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
dependencies:
'@expo/code-signing-certificates': 0.0.6
'@expo/plist': 0.7.0
@@ -16101,7 +16103,7 @@ snapshots:
arg: 4.1.3
chalk: 4.1.2
debug: 4.4.3
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
expo-eas-client: 56.0.1
expo-manifests: 56.0.4([email protected])
expo-structured-headers: 56.0.0
@@ -16111,25 +16113,25 @@ snapshots:
ignore: 5.3.2
nullthrows: 1.1.1
react: 19.2.3
resolve-from: 5.0.0
optionalDependencies:
transitivePeerDependencies:
- supports-color
dependencies:
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
- [email protected](ab3f255d102c60ba0fd2bbe4e47ba584):
+ [email protected](961c4aa6f32829b318e3c87ef20ad401):
dependencies:
'@expo/plist': 0.7.0
- '@expo/ui': 56.0.15(ab3f255d102c60ba0fd2bbe4e47ba584)
+ '@expo/ui': 56.0.15(961c4aa6f32829b318e3c87ef20ad401)
+ expo: 56.0.8(63f7aade424ad9e7b1154b679fa2a14d)
react: 19.2.3
transitivePeerDependencies:
- '@babel/core'
- '@types/react'
@@ -16138,37 +16140,37 @@ snapshots:
- react-native-reanimated
- react-native-worklets
+ [email protected](63f7aade424ad9e7b1154b679fa2a14d):
dependencies:
'@babel/runtime': 7.29.7
'@expo/config': 56.0.9([email protected])
'@expo/config-plugins': 56.0.8([email protected])
'@expo/fingerprint': 0.19.3
'@expo/local-build-cache-provider': 56.0.8([email protected])
'@expo/metro': 56.0.0([email protected])([email protected])
'@expo/metro-config': 56.0.13(patch_hash=8cb08b5bb7051ed9d2dbe46a2c293c5a1e17f1bd6ddf30de27909e18c921ff46)([email protected])([email protected])([email protected])([email protected])
'@ungap/structured-clone': 1.3.1
expo-keep-awake: 56.0.3([email protected])([email protected])
expo-modules-autolinking: 56.0.14([email protected])
pretty-format: 29.7.0
react: 19.2.3
react-refresh: 0.14.2
whatwg-url-minimum: 0.1.2
optionalDependencies:
react-dom: 19.2.3([email protected])
transitivePeerDependencies:
- '@babel/core'
- bufferutil
@@ -18589,102 +18591,102 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ [email protected](0e9729601f58a7a7ae26c76fe6017455):
dependencies:
color: 4.2.3
react: 19.2.3
use-latest-callback: 0.2.6([email protected])
dependencies:
'@egjs/hammerjs': 2.0.17
'@types/react-test-renderer': 19.1.0
hoist-non-react-statics: 3.3.2
invariant: 2.2.4
react: 19.2.3
dependencies:
react: 19.2.3
dependencies:
react: 19.2.3
dependencies:
react: 19.2.3
dependencies:
react: 19.2.3
- react-native-nitro-modules: 0.35.9(patch_hash=825622aae63a8fb5b904f3c77908a0e216261d727ea171709f2c0b6088422675)([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])
+ react-native-nitro-modules: 0.35.9(patch_hash=825622aae63a8fb5b904f3c77908a0e216261d727ea171709f2c0b6088422675)([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])
optionalDependencies:
- [email protected](patch_hash=825622aae63a8fb5b904f3c77908a0e216261d727ea171709f2c0b6088422675)([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]):
dependencies:
react: 19.2.3
dependencies:
react: 19.2.3
semver: 7.8.5
dependencies:
react: 19.2.3
dependencies:
react: 19.2.3
react-freeze: 1.0.4([email protected])
warn-once: 0.1.1
dependencies:
'@shikijs/types': 4.3.0
'@shikijs/vscode-textmate': 10.0.2
react: 19.2.3
dependencies:
css-select: 5.2.2
css-tree: 1.1.3
react: 19.2.3
warn-once: 0.1.1
dependencies:
whatwg-url-without-unicode: 8.0.0-3
dependencies:
escape-string-regexp: 4.0.0
invariant: 2.2.4
react: 19.2.3
dependencies:
'@babel/core': 7.29.7
'@babel/plugin-transform-arrow-functions': 7.29.7(@babel/[email protected])
@@ -18696,23 +18698,23 @@ snapshots:
'@babel/plugin-transform-template-literals': 7.29.7(@babel/[email protected])
'@babel/plugin-transform-unicode-regex': 7.29.7(@babel/[email protected])
'@babel/preset-typescript': 7.29.7(@babel/[email protected])
- '@react-native/metro-config': 0.85.3(@babel/[email protected])
+ '@react-native/metro-config': 0.85.3(@babel/[email protected])([email protected])([email protected])
convert-source-map: 2.0.0
react: 19.2.3
semver: 7.8.5
transitivePeerDependencies:
- supports-color
dependencies:
'@react-native/assets-registry': 0.85.3
'@react-native/codegen': 0.85.3(@babel/[email protected])
- '@react-native/community-cli-plugin': 0.85.3(@react-native/[email protected](@babel/[email protected]))([email protected])([email protected])
+ '@react-native/community-cli-plugin': 0.85.3(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))([email protected])([email protected])
'@react-native/gradle-plugin': 0.85.3
'@react-native/js-polyfills': 0.85.3
'@react-native/normalize-colors': 0.85.3
abort-controller: 3.0.0
anser: 1.4.10
ansi-regex: 5.0.1
@@ -19761,14 +19763,14 @@ snapshots:
dependencies:
'@tailwindcss/node': 4.2.1
'@tailwindcss/oxide': 4.2.1
culori: 4.0.2
lightningcss: 1.30.1
react: 19.2.3
tailwindcss: 4.3.0