aa1c8bfb07
app.exit(crossRealmError) resolved waitUntilExit() with the error as a result value, and a component-thrown cross-realm Error was re-wrapped (losing the original) -- both because `instanceof Error` fails across VM realms. Adds Ink's isErrorInput check (instanceof Error || Object.prototype.toString.call(v) === "[object Error]", the realm-independent [object Error] brand) and uses it at the 3 exit() classification sites and the 2 error-boundary normalization sites. A cross-realm Error now rejects (exit) / is preserved (throw), matching Ink; genuine non-Error values still resolve / still wrap. Flips the previously-locked "cross-realm resolves" test to Ink's reject (the behavior was never in ink-divergences.md, so per the repo rule it was an unverified gap, not a sanctioned divergence). Adds component-throw cross-realm + a non-Error-still-wraps guard. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>