@mcpc-tech/unplugin-dev-inspector-mcp 0.1.4 → 0.1.6

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.
package/README.md CHANGED
@@ -9,10 +9,10 @@ DevInspector connects your web app directly to your AI agent. Click any element
9
9
 
10
10
  Works with any MCP-compatible AI client. Supports ACP agents: **Claude Code**, **Codex CLI**, **Gemini CLI**, **OpenCode**, and [more](https://agentclientprotocol.com/overview/agents).
11
11
 
12
- ## 📑 Table of Contents
12
+ ## Table of Contents
13
13
 
14
- - [Demo Video](#-demo-video)
15
- - [Social Media](#-social-media)
14
+ - [Demo Video](#demo-video)
15
+ - [Social Media](#social-media)
16
16
  - [Key Features](#key-features)
17
17
  - [Quick Start](#quick-start)
18
18
  - [Installation](#installation)
@@ -30,32 +30,32 @@ Works with any MCP-compatible AI client. Supports ACP agents: **Claude Code**, *
30
30
  - [MCP Prompts](#mcp-prompts)
31
31
  - [Architecture](#architecture)
32
32
 
33
- ## 🎬 Demo Video
33
+ ## Demo Video
34
34
 
35
- 👉 **Watch the demo:** [https://www.youtube.com/shorts/TCt2oOtPS_k](https://www.youtube.com/shorts/TCt2oOtPS_k)
35
+ **Watch the demo:** [https://www.youtube.com/shorts/TCt2oOtPS_k](https://www.youtube.com/shorts/TCt2oOtPS_k)
36
36
 
37
- ## 📢 Social Media
37
+ ## Social Media
38
38
 
39
- 🐦 **Twittter/X Post:** [https://x.com/yaoandyan/status/1995082020431753600](https://x.com/yaoandyan/status/1995082020431753600?s=20)
39
+ **Twittter/X Post:** [https://x.com/yaoandyan/status/1995082020431753600](https://x.com/yaoandyan/status/1995082020431753600?s=20)
40
40
 
41
41
  ![Demo: MCP-powered visual debugging in action](https://media.giphy.com/media/sGCk7b783GiGm5vZGl/giphy.gif)
42
42
 
43
43
  ## Key Features
44
44
 
45
- ### 🎯 Visual Context & Region Selection
45
+ ### Visual Context & Region Selection
46
46
 
47
47
  Click any element to inspect it, or **drag to select a region**. AI gets the full context: source code location, computed styles, component hierarchy, IDs, classes, text content, and **automatically captures screenshots** for pixel-perfect visual understanding.
48
48
 
49
49
 
50
- ### 🛠️ Universal DevTools Access
50
+ ### Universal DevTools Access
51
51
 
52
52
  AI can access Network and Console logs from **any browser** (via client-side interception) or full Chrome DevTools (via chrome devtools mcp). It sees what you see, regardless of your environment.
53
53
 
54
- ### Smart Select
54
+ ### Smart Select
55
55
 
56
56
  Let AI do the heavy lifting. "Smart Select" automatically analyzes recent console errors and failed network requests to construct the perfect context for your debugging session.
57
57
 
58
- ### 🤖 Multi-Agent Workflow
58
+ ### Multi-Agent Workflow
59
59
 
60
60
  Switch between agents (Claude Code, Codex, Gemini, Opencode...) and track their debugging progress visually with a **floating status bar**.
61
61
 
@@ -81,7 +81,7 @@ yarn add -D @mcpc-tech/unplugin-dev-inspector-mcp
81
81
  > yarn add -D @mcpc-tech/unplugin-dev-inspector-mcp --no-optional
82
82
  > ```
83
83
 
84
- ### Automated Setup (Recommended)
84
+ ### Automated Setup (Recommended)
85
85
 
86
86
  Run the setup command to automatically configure your `vite.config.ts`, `webpack.config.js`, or `next.config.js`:
87
87
 
@@ -99,6 +99,7 @@
99
99
  --color-gray-300: oklch(87.2% .01 258.338);
100
100
  --color-gray-400: oklch(70.7% .022 261.325);
101
101
  --color-gray-900: oklch(21% .034 264.665);
102
+ --color-zinc-500: oklch(55.2% .016 285.938);
102
103
  --color-black: #000;
103
104
  --color-white: #fff;
104
105
  --spacing: .25rem;
@@ -1088,6 +1089,10 @@
1088
1089
  width: calc(var(--spacing) * 7);
1089
1090
  }
1090
1091
 
1092
+ .w-8 {
1093
+ width: calc(var(--spacing) * 8);
1094
+ }
1095
+
1091
1096
  .w-10 {
1092
1097
  width: calc(var(--spacing) * 10);
1093
1098
  }
@@ -1355,6 +1360,10 @@
1355
1360
  grid-auto-rows: min-content;
1356
1361
  }
1357
1362
 
1363
+ .grid-cols-2 {
1364
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1365
+ }
1366
+
1358
1367
  .grid-cols-\[0_1fr\] {
1359
1368
  grid-template-columns: 0 1fr;
1360
1369
  }
@@ -1711,10 +1720,30 @@
1711
1720
  border-color: var(--color-purple-500);
1712
1721
  }
1713
1722
 
1723
+ .border-red-500\/20 {
1724
+ border-color: #fb2c3633;
1725
+ }
1726
+
1727
+ @supports (color: color-mix(in lab, red, red)) {
1728
+ .border-red-500\/20 {
1729
+ border-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
1730
+ }
1731
+ }
1732
+
1714
1733
  .border-transparent {
1715
1734
  border-color: #0000;
1716
1735
  }
1717
1736
 
1737
+ .border-zinc-500\/20 {
1738
+ border-color: #71717b33;
1739
+ }
1740
+
1741
+ @supports (color: color-mix(in lab, red, red)) {
1742
+ .border-zinc-500\/20 {
1743
+ border-color: color-mix(in oklab, var(--color-zinc-500) 20%, transparent);
1744
+ }
1745
+ }
1746
+
1718
1747
  .border-t-transparent {
1719
1748
  border-top-color: #0000;
1720
1749
  }
@@ -1971,6 +2000,16 @@
1971
2000
  background-color: var(--color-red-500);
1972
2001
  }
1973
2002
 
2003
+ .bg-red-500\/10 {
2004
+ background-color: #fb2c361a;
2005
+ }
2006
+
2007
+ @supports (color: color-mix(in lab, red, red)) {
2008
+ .bg-red-500\/10 {
2009
+ background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);
2010
+ }
2011
+ }
2012
+
1974
2013
  .bg-red-500\/20 {
1975
2014
  background-color: #fb2c3633;
1976
2015
  }
@@ -1999,6 +2038,16 @@
1999
2038
  }
2000
2039
  }
2001
2040
 
2041
+ .bg-zinc-500\/10 {
2042
+ background-color: #71717b1a;
2043
+ }
2044
+
2045
+ @supports (color: color-mix(in lab, red, red)) {
2046
+ .bg-zinc-500\/10 {
2047
+ background-color: color-mix(in oklab, var(--color-zinc-500) 10%, transparent);
2048
+ }
2049
+ }
2050
+
2002
2051
  .bg-gradient-to-br {
2003
2052
  --tw-gradient-position: to bottom right in oklab;
2004
2053
  background-image: linear-gradient(var(--tw-gradient-stops));
@@ -2478,6 +2527,10 @@
2478
2527
  color: var(--color-yellow-600);
2479
2528
  }
2480
2529
 
2530
+ .text-zinc-500 {
2531
+ color: var(--color-zinc-500);
2532
+ }
2533
+
2481
2534
  .uppercase {
2482
2535
  text-transform: uppercase;
2483
2536
  }