🤖 Framework-agnostic devtools panel for handling TanStack libraries devtools and your custom devtool plugins https://tanstack.com/devtools/latest
  • TypeScript 98.4%
  • JavaScript 1%
  • Vue 0.3%
  • Svelte 0.2%
  • HTML 0.1%
Find a file
Alem Tuzlak 012421fcc3
fix(devtools-bundler-core): do not pipe Vite-forwarded browser logs back to the browser (#540)
* fix(devtools-bundler-core): do not pipe Vite-forwarded browser logs back to the browser

Vite 8 `server.forwardConsole` prints browser console calls in the terminal as
"[console.<level>] ...". In an SSR app the console pipe also patches the
server console, so it sent that line to the browser as a server log. The
browser printed it, Vite forwarded it again, and the loop never stopped.

The server side of the pipe now skips lines in Vite's forwarded format.

Vite turns forwardConsole on by default when it detects an AI agent
terminal, which is why the flood showed up in Cursor and not in iTerm.

Fixes #482

* fix(devtools-bundler-core): match the whole Vite-forwarded log shape

The guard skipped any server log with "[console.<level>] " in it, so a real
server log such as "request hit [console.error] detail" never reached the
browser. It now needs "[vite]", "(client)", and "[console.<level>] " in
that order, which is how Vite 8 prints a forwarded browser log.
History 2026-10-29 16:22:18 +01:00
.changeset fix(devtools-bundler-core): do not pipe Vite-forwarded browser logs back to the browser (#540) 2026-10-29 16:22:18 +01:00
.cursor init 2025-07-25 16:40:55 -05:00
.github chore(deps): update tanstack/config digest to 2903e4f (#532) 2026-10-29 16:15:34 +01:00
.nx/workflows init 2025-07-25 16:40:55 -05:00
.vscode init 2025-07-25 16:40:55 -05:00
_artifacts refactor(devtools-vite): migrate from Babel to oxc-parser + MagicString (#397) 2026-05-13 16:13:22 +02:00
docs docs: install the framework adapters as dev dependencies everywhere (#547) 2026-10-29 16:17:48 +01:00
e2e feat(devtools): add openAsModal to use the panel over app modal dialogs (#550) 2026-10-29 16:13:15 +01:00
examples fix(preact): Unmount panels on Preact 11 and pass app context to plugins (#551) 2026-10-11 12:17:15 -05:00
media docs: use the dynamic README header endpoint (#490) 2026-08-03 11:39:06 +02:00
packages fix(devtools-bundler-core): do not pipe Vite-forwarded browser logs back to the browser (#540) 2026-10-29 16:22:18 +01:00
scripts docs: correct local relative links (#282) 2025-12-05 22:38:56 +11:00
.coderabbit.yaml docs: clarify contribution guidelines (#518) 2026-08-26 17:12:37 +02:00
.editorconfig init 2025-07-25 16:40:55 -05:00
.gitattributes init 2025-07-25 16:40:55 -05:00
.gitignore feat(devtools-webmcp): add a development-only WebMCP tool registry (#531) 2026-09-23 13:27:22 +02:00
.npmrc ci: update workspace config from other TanStack projects (#182) 2025-09-26 18:27:43 +10:00
.nvmrc ci: update workspace config from other TanStack projects (#182) 2025-09-26 18:27:43 +10:00
.prettierignore init 2025-07-25 16:40:55 -05:00
AGENTS.md docs: clarify contribution guidelines (#518) 2026-08-26 17:12:37 +02:00
CODE_OF_CONDUCT.md init 2025-07-25 16:40:55 -05:00
CONTRIBUTING.md docs: clarify contribution guidelines (#518) 2026-08-26 17:12:37 +02:00
eslint.config.js docs: correct local relative links (#282) 2025-12-05 22:38:56 +11:00
knip.json fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
LICENSE Initial commit 2025-07-25 14:33:15 -06:00
nx.json ci: update github workflows (#395) 2026-03-18 00:43:09 +11:00
package.json fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
pnpm-lock.yaml fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
pnpm-workspace.yaml fix(svelte-devtools): publish compatible adapter exports (#502) 2026-08-20 21:29:28 +02:00
prettier.config.js init 2025-07-25 16:40:55 -05:00
README.md docs: use the dynamic README header endpoint (#490) 2026-08-03 11:39:06 +02:00
tsconfig.json chore: upgrade Vitest to v4 (#497) 2026-08-12 16:20:22 +02:00
typedoc.json docs: remove duplicate page headings (#527) 2026-09-15 11:05:56 -05:00
vitest.config.ts chore: upgrade Vitest to v4 (#497) 2026-08-12 16:20:22 +02:00

TanStack Devtools

TanStack Devtools

A debugging toolkit that provides a unified interface for inspecting, monitoring, and extending your applications.

  • Inspect and debug state and behavior in real time
  • Works with React, Solid, Vanilla JS, and more
  • Extensible plugin architecture with customizable UI
  • Seamless integration with TanStack Query, Router, and other libraries

Read the docs →

AI Agent Support

If you use an AI coding agent (Claude Code, Cursor, Copilot, etc.), install the TanStack Devtools skills for better code generation:

npx @tanstack/intent@latest install

Get Involved

Partners

CodeRabbit Cloudflare
Devtools & you?

We're looking for TanStack Devtools Partners to join our mission! Partner with us to push the boundaries of TanStack Devtools and build amazing things together.

LET'S CHAT

Explore the TanStack Ecosystem

… and more at TanStack.com »