fix: resolve ReadableStream in simulator so LangGraph runs on RN

- Add src/polyfills.ts as the first executed module; inject ReadableStream/WritableStream/TransformStream via web-streams-polyfill and ponyfill fallback
- Import polyfills at the top of App.tsx so globals are set before any LangChain/LangGraph code loads
- Add assets/images/icon.png to fix Metro “Asset not found” for icon
This commit is contained in:
Ada
2026-02-04 15:24:14 -08:00
parent c1ce804d14
commit 96d95a50fc
3 changed files with 16 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
* Main application component with authentication routing.
* Shows loading screen while restoring auth state.
*/
import './src/polyfills';
import React from 'react';
import { Buffer } from 'buffer';