Skip to content

feat: add ai-sdk support#196

Merged
HugoRCD merged 4 commits intomainfrom
feat/ai
Mar 15, 2026
Merged

feat: add ai-sdk support#196
HugoRCD merged 4 commits intomainfrom
feat/ai

Conversation

@HugoRCD
Copy link
Owner

@HugoRCD HugoRCD commented Mar 15, 2026

This pull request adds comprehensive documentation and UI support for the new AI SDK integration in evlog, enabling users to easily capture AI observability data (such as token usage, tool calls, and streaming metrics) from the Vercel AI SDK into wide events. The changes include new documentation, code samples, UI components, and updates to feature overviews to highlight the AI SDK integration.

@HugoRCD HugoRCD requested a review from Copilot March 15, 2026 19:16
@HugoRCD HugoRCD self-assigned this Mar 15, 2026
@vercel
Copy link

vercel bot commented Mar 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
evlog-docs Ready Ready Preview, Comment, Open in v0 Mar 15, 2026 7:20pm

@github-actions
Copy link
Contributor

github-actions bot commented Mar 15, 2026

Thank you for following the naming conventions! 🙏

@github-actions
Copy link
Contributor

github-actions bot commented Mar 15, 2026

Benchmark report

Bundle size

Threshold: 5% · 🔴 larger · 🟡 warning · 🟢 smaller · ⚪ unchanged · 🆕 new

Status Entry Base (gzip) Current (gzip) Change Raw delta
adapter/better-stack 1.08 kB 1.08 kB +0.1% 0 B
adapter/axiom 1.30 kB 1.30 kB +0.1% 0 B
adapter/posthog 1.48 kB 1.49 kB +0.1% 0 B
adapter/otlp 2.09 kB 2.09 kB +0.0% 0 B
adapter/sentry 2.33 kB 2.33 kB +0.0% 0 B
framework/nitro 6.85 kB 6.85 kB 0.0% 0 B
logger 3.78 kB 3.78 kB 0.0% 0 B
framework/next 3.02 kB 3.02 kB 0.0% 0 B
enrichers 1.92 kB 1.92 kB 0.0% 0 B
framework/sveltekit 1.54 kB 1.54 kB 0.0% 0 B
adapter/fs 1.41 kB 1.41 kB 0.0% 0 B
utils 1.41 kB 1.41 kB 0.0% 0 B
pipeline 1.35 kB 1.35 kB 0.0% 0 B
browser 1.21 kB 1.21 kB 0.0% 0 B
error 1.21 kB 1.21 kB 0.0% 0 B
framework/nestjs 1.21 kB 1.21 kB 0.0% 0 B
framework/elysia 1.07 kB 1.07 kB 0.0% 0 B
framework/fastify 1009 B 1009 B 0.0% 0 B
workers 960 B 960 B 0.0% 0 B
framework/express 701 B 701 B 0.0% 0 B
framework/hono 594 B 594 B 0.0% 0 B
toolkit 242 B 242 B 0.0% 0 B
core (index) 205 B 205 B 0.0% 0 B
types 31 B 31 B 0.0% 0 B
Total 37.90 kB 37.90 kB +0.0% 0 B

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 16 out of 17 changed files in this pull request and generated no comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 15, 2026

npm i https://pkg.pr.new/evlog@196
npm i https://pkg.pr.new/@evlog/nuxthub@196

commit: ac50207

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 15, 2026

Merging this PR will degrade performance by 43.4%

⚡ 1 improved benchmark
❌ 6 regressed benchmarks
✅ 89 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
winston 453.6 µs 574.4 µs -21.03%
winston 454.3 µs 527.9 µs -13.94%
winston 240.1 µs 351.7 µs -31.73%
evlog 121 µs 213.9 µs -43.4%
pino 344 µs 427.1 µs -19.45%
push 100 events (no flush) 593.6 µs 414.7 µs +43.15%
push 1000 events (no flush) 1.8 ms 2.2 ms -16.13%

Comparing feat/ai (ac50207) with main (f6e93b1)

Open in CodSpeed

@HugoRCD HugoRCD merged commit abda28c into main Mar 15, 2026
15 of 16 checks passed
@HugoRCD HugoRCD deleted the feat/ai branch March 15, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants