8df8ab4ed3
Hoist tshy to a single root devDependency (4.1.2) instead of one per public package, and move the repo from TypeScript 5.5.4 to 6.0.3. Most of the TS6 work was absorbed by bumping @types/node to 20.19.19, which brings the generic Buffer typings TS6 expects and clears the Buffer/Uint8Array assignability errors at the source. The rest: - Replace the deprecated moduleResolution: node and drop downlevelIteration across the internal package configs, and give the database build an explicit rootDir. - Patch tsup so it only passes the deprecated baseUrl when configured, so the tsup-built packages' declaration builds run under TS6. - Declare node types explicitly (types: ["node"] in the shared base config, with the React packages adding react/react-dom, and the clickhouse build config) since TS6 no longer reliably auto-includes them. Also a few genuine type fixes (clickhouse row typing, OTLP response bodies, realtime stream ingest types) and one real bug: the dev CLI read error.status off an eventsource error that only exposes code, so the HTTP status never showed. Verified: full-repo typecheck and build pass under TS6.