🤖 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
Harry 589304f461
feat(devtools): let the source inspector's open-source URL be configured (#517)
"ide-warp" requests __tsd/open-source, which only @tanstack/devtools-vite
serves. Anything else that injects data-tsd-source -- an SWC plugin under
Next.js, for instance -- drives the overlay fine but has no endpoint to answer
the click, and fetch(...).catch(() => {}) hides the 404, so the click looks
like it did nothing.

openSourceUrl takes the clicked element's data-tsd-source value and returns
the URL to request. The whole URL rather than just its base, because another
host generally wants another parameter shape: Next's own editor endpoint takes
the position split into file, line1 and column1.

A function rather than a string: settings are persisted to local storage and
take priority over config on the next load, so a string would keep serving
whatever the app was configured with the first time it ran. JSON.stringify
drops functions, which keeps the key out of storage the way customTrigger
already is.
History 2026-09-23 10:41:07 +02:00
.changeset feat(devtools): let the source inspector's open-source URL be configured (#517) 2026-09-23 10:41:07 +02:00
.cursor init 2025-07-25 16:40:55 -05:00
.github docs: clarify contribution guidelines (#518) 2026-08-26 17:12:37 +02: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
bin feat: add @tanstack/intent agent skills (#377) 2026-03-11 12:25:57 +01:00
docs feat(devtools): let the source inspector's open-source URL be configured (#517) 2026-09-23 10:41:07 +02:00
e2e feat(devtools): rainbow trigger, persist strip fold, and pane gutters (#510) 2026-08-19 18:50:38 +02:00
examples ci: Version Packages (#512) 2026-08-20 12:38:11 +02:00
media docs: use the dynamic README header endpoint (#490) 2026-08-03 11:39:06 +02:00
packages feat(devtools): let the source inspector's open-source URL be configured (#517) 2026-09-23 10:41:07 +02: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: deliver devtools events from isolated server runtimes via Vite HotChannel (#384) 2026-06-19 19:47:33 +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 test: e2e suite (8 apps + server↔client probe) + unit/component coverage (#472) 2026-06-23 20:37:55 +02: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 chore: upgrade Vitest to v4 (#497) 2026-08-12 16:20:22 +02:00
pnpm-lock.yaml fix(svelte-devtools): publish compatible adapter exports (#502) 2026-08-20 21:29:28 +02: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 »