build: switch full build pipeline to TypeScript 7 native (tsgo)
Replace tsc with tsgo in all build scripts — 5.6x faster emit.
tsgo has full emit parity for this codebase (NodeNext, ES2022, strict).
- build:core: tsc → tsgo (root tsconfig.json)
- copy-resources.cjs: typescript/bin/tsc → @typescript/native-preview/bin/tsgo.js
- All workspace packages (agent-core, ai, coding-agent, daemon,
google-gemini-cli-provider, native, rpc-client, tui): tsc → tsgo
Benchmarks (root project):
tsc --project tsconfig.json: 7.7s
tsgo --project tsconfig.json: 1.4s (5.6x faster)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>