Skip to content

docs(devtools): clarify monorepo usage for DevTools viewer#14247

Merged
aayush-kapoor merged 3 commits intovercel:mainfrom
Mahendradeokar:main
Apr 9, 2026
Merged

docs(devtools): clarify monorepo usage for DevTools viewer#14247
aayush-kapoor merged 3 commits intovercel:mainfrom
Mahendradeokar:main

Conversation

@Mahendradeokar
Copy link
Copy Markdown
Contributor

Background

DevTools does not currently document how it should be used in a monorepo setup. When running the viewer from the monorepo root, no runs or steps appear in the UI, which can be confusing.

Summary

Add a "Monorepo usage" section to clarify that DevTools must be started from the same workspace where the AI SDK code is executed (e.g. apps/api), instead of the monorepo root.

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Add instructions to run DevTools from the app workspace (e.g. apps/api) instead of monorepo root to ensure logs appear correctly.
@tigent tigent Bot added ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec. documentation Improvements or additions to documentation labels Apr 8, 2026
Comment thread content/docs/03-ai-sdk-core/65-devtools.mdx Outdated
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
@aayush-kapoor aayush-kapoor added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Apr 9, 2026
@aayush-kapoor aayush-kapoor self-assigned this Apr 9, 2026
@aayush-kapoor aayush-kapoor merged commit 3045936 into vercel:main Apr 9, 2026
18 of 19 checks passed
ghost pushed a commit that referenced this pull request Apr 9, 2026
## Background

DevTools does not currently document how it should be used in a monorepo
setup. When running the viewer from the monorepo root, no runs or steps
appear in the UI, which can be confusing.

## Summary

Add a "Monorepo usage" section to clarify that DevTools must be started
from the same workspace where the AI SDK code is executed (e.g.
`apps/api`), instead of the monorepo root.

## Checklist

- [ ] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [ ] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] I have reviewed this pull request (self-review)

---------

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Aayush Kapoor <83492835+aayush-kapoor@users.noreply.github.com>
@ghost ghost removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Apr 9, 2026
@ghost
Copy link
Copy Markdown

ghost commented Apr 9, 2026

✅ Backport PR created: #14271

ghost pushed a commit that referenced this pull request Apr 9, 2026
…14271)

This is an automated backport of #14247 to the release-v6.0 branch. FYI
@Mahendradeokar

Co-authored-by: MD <104544103+Mahendradeokar@users.noreply.github.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Aayush Kapoor <83492835+aayush-kapoor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants