Dashboard › opencode › RequestInit duplex typing
01a0865a-61c0-7714-8550-7290b0ef1db4Trap: omitting duplex from Node stream-body Requests looks correct because the active TypeScript RequestInit type rejects it, but Node fetch requires duplex: "half" at runtime. Fix: retain the property and annotate that line with @ts-expect-error; removing it makes valid stream-ownership tests fail at construction.