@nuxt/devtools-kit-nightly 4.0.0-29886780.37f1212 → 4.0.0-29889901.a2a4fc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import '../shared/devtools-kit-nightly.CtfaEBN3.mjs';
2
+ import '../shared/devtools-kit-nightly.DicolcF2.mjs';
3
3
  import { NuxtDevtoolsHostClient } from '../types.mjs';
4
4
  import '@vitejs/devtools-kit';
5
5
  import 'birpc';
@@ -1,6 +1,6 @@
1
1
  import { DevToolsRpcClient } from '@vitejs/devtools-kit/client';
2
2
  import { Ref } from 'vue';
3
- import '../shared/devtools-kit-nightly.CtfaEBN3.mjs';
3
+ import '../shared/devtools-kit-nightly.DicolcF2.mjs';
4
4
  import { NuxtDevtoolsIframeClient } from '../types.mjs';
5
5
  import '@vitejs/devtools-kit';
6
6
  import 'birpc';
@@ -426,6 +426,21 @@ interface ModuleOptions {
426
426
  * your server and filesystem. Only disable it in trusted environments.
427
427
  */
428
428
  disableAuthorization?: boolean;
429
+ /**
430
+ * Expose the Vite DevTools MCP endpoint (`/__devtools/__mcp`), which
431
+ * lets AI agents call the DevTools' agent tools over the Model Context
432
+ * Protocol.
433
+ *
434
+ * - `'auto'`: mount the endpoint once any DevTools integration exposes an
435
+ * agent tool.
436
+ * - `true`: always mount it.
437
+ * - `false`: never mount it.
438
+ *
439
+ * Same as setting `vite.devtools.mcp`, which takes precedence.
440
+ *
441
+ * @default 'auto'
442
+ */
443
+ mcp?: boolean | 'auto';
429
444
  /**
430
445
  * Experimental features
431
446
  */
package/dist/types.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions, c as NuxtDevtoolsNotifyInput } from './shared/devtools-kit-nightly.CtfaEBN3.mjs';
2
- export { A as AnalyzeBuildMeta, d as AnalyzeBuildsInfo, e as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, f as ClientFunctions, g as ClientUpdateEvent, h as CodeServerIntegrationOptions, i as CodeServerType, j as CodeSnippet, k as CompatibilityStatus, l as ComponentRelationship, m as ComponentWithRelationships, G as GitHubContributor, I as InstallModuleReturn, n as InstalledModuleInfo, o as MaintainerInfo, p as ModuleBuiltinTab, q as ModuleCompatibility, M as ModuleCustomTab, r as ModuleIframeTabLazyOptions, s as ModuleIframeView, t as ModuleLaunchAction, u as ModuleLaunchView, v as ModuleOptions, w as ModuleStaticInfo, x as ModuleStats, y as ModuleTabInfo, z as ModuleType, D as ModuleVNodeView, E as ModuleView, F as NpmCommandOptions, J as NpmCommandType, K as NuxtDevToolsOptions, a as NuxtDevtoolsInfo, O as NuxtDevtoolsNotifyLevel, Q as NuxtDevtoolsRpc, N as NuxtDevtoolsServerContext, R as NuxtServerData, U as PackageManagerName, V as PackageUpdateInfo, W as Payload, X as PluginInfoWithMetic, Y as RouteInfo, Z as ScannedNitroTasks, _ as ServerDebugContext, $ as ServerDebugModuleMutationRecord, a0 as ServerRouteInfo, a1 as ServerRouteInput, a2 as ServerRouteInputType, a3 as ServerTaskInfo, S as SubprocessOptions, a4 as TabCategory, a5 as TerminalAction, a6 as TerminalBase, a7 as TerminalInfo, T as TerminalState, a8 as VSCodeIntegrationOptions, a9 as VSCodeTunnelOptions, aa as VueInspectorClient, ab as VueInspectorData } from './shared/devtools-kit-nightly.CtfaEBN3.mjs';
1
+ import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions, c as NuxtDevtoolsNotifyInput } from './shared/devtools-kit-nightly.DicolcF2.mjs';
2
+ export { A as AnalyzeBuildMeta, d as AnalyzeBuildsInfo, e as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, f as ClientFunctions, g as ClientUpdateEvent, h as CodeServerIntegrationOptions, i as CodeServerType, j as CodeSnippet, k as CompatibilityStatus, l as ComponentRelationship, m as ComponentWithRelationships, G as GitHubContributor, I as InstallModuleReturn, n as InstalledModuleInfo, o as MaintainerInfo, p as ModuleBuiltinTab, q as ModuleCompatibility, M as ModuleCustomTab, r as ModuleIframeTabLazyOptions, s as ModuleIframeView, t as ModuleLaunchAction, u as ModuleLaunchView, v as ModuleOptions, w as ModuleStaticInfo, x as ModuleStats, y as ModuleTabInfo, z as ModuleType, D as ModuleVNodeView, E as ModuleView, F as NpmCommandOptions, J as NpmCommandType, K as NuxtDevToolsOptions, a as NuxtDevtoolsInfo, O as NuxtDevtoolsNotifyLevel, Q as NuxtDevtoolsRpc, N as NuxtDevtoolsServerContext, R as NuxtServerData, U as PackageManagerName, V as PackageUpdateInfo, W as Payload, X as PluginInfoWithMetic, Y as RouteInfo, Z as ScannedNitroTasks, _ as ServerDebugContext, $ as ServerDebugModuleMutationRecord, a0 as ServerRouteInfo, a1 as ServerRouteInput, a2 as ServerRouteInputType, a3 as ServerTaskInfo, S as SubprocessOptions, a4 as TabCategory, a5 as TerminalAction, a6 as TerminalBase, a7 as TerminalInfo, T as TerminalState, a8 as VSCodeIntegrationOptions, a9 as VSCodeTunnelOptions, aa as VueInspectorClient, ab as VueInspectorData } from './shared/devtools-kit-nightly.DicolcF2.mjs';
3
3
  import { DevToolsRpcClient } from '@vitejs/devtools-kit/client';
4
4
  import { Hookable } from 'hookable';
5
5
  import { NuxtApp } from 'nuxt/app';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-kit-nightly",
3
3
  "type": "module",
4
- "version": "4.0.0-29886780.37f1212",
4
+ "version": "4.0.0-29889901.a2a4fc6",
5
5
  "license": "MIT",
6
6
  "homepage": "https://nuxt.com/modules/devtools/utils-kit",
7
7
  "repository": {