This PR implements surgical fixes for identified issues in the repository metrics and build stability:
1. **Stable Metrics Windows**: Transitioned `throughput.ts`, `latency.ts`, and `user_touches.ts` from an unstable `last: 100` items window to a fixed 7-day search window. This resolves the "mathematically impossible" deltas identified in the bot's memory caused by bursty activity.
2. **Build Stabilization**:
- Upgraded `packages/test-utils/tsconfig.json` to `ES2023` to match the rest of the workspace and support modern features like `Object.hasOwn` and `Intl.Segmenter`.
- Added local `ErrorOptions` definitions in `a2a-errors.ts` and `fetch.ts` to support the `cause` property in `Error` constructors.
- Fixed an `err: unknown` type check issue in `packages/cli/index.ts`.
These changes ensure that the repository metrics are reliable and that the project build is stable for contributors.
cc @gundermanc
Labels: bot-fix