Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

450 B
Raw Blame

"@effect/opentelemetry": patch

Use monotonic clock for log timestamps to match span timestamps.

The Logger used Date.now() (wall clock) for log timestamp while the Tracer used clock.currentTimeNanosUnsafe() (monotonic clock) for span startTime. This caused logs to appear before their parent span due to clock drift between the two sources. Both now use the same monotonic clock via nanosToHrTime(clock.currentTimeNanosUnsafe()).