@modelcontextprotocol/inspector-client 0.13.0 → 0.14.0
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/dist/assets/{OAuthCallback-DxvBcBuO.js → OAuthCallback-CJlw2xLt.js} +1 -1
- package/dist/assets/{OAuthDebugCallback-cWniOlCj.js → OAuthDebugCallback-0U3Rpr19.js} +14 -2
- package/dist/assets/{index-CIxCnj5w.css → index-1IEtev7A.css} +111 -2
- package/dist/assets/{index-Dhd4mhZ2.js → index-CfNcvwpX.js} +7500 -7068
- package/dist/index.html +2 -2
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useToast, r as reactExports, j as jsxRuntimeExports, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-
|
|
1
|
+
import { u as useToast, r as reactExports, j as jsxRuntimeExports, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-CfNcvwpX.js";
|
|
2
2
|
import { p as parseOAuthCallbackParams, g as generateOAuthErrorDescription } from "./oauthUtils-DTcoXpSP.js";
|
|
3
3
|
const OAuthCallback = ({ onConnect }) => {
|
|
4
4
|
const { toast } = useToast();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, S as SESSION_KEYS, j as jsxRuntimeExports } from "./index-
|
|
1
|
+
import { r as reactExports, S as SESSION_KEYS, j as jsxRuntimeExports } from "./index-CfNcvwpX.js";
|
|
2
2
|
import { p as parseOAuthCallbackParams, g as generateOAuthErrorDescription } from "./oauthUtils-DTcoXpSP.js";
|
|
3
3
|
const OAuthDebugCallback = ({ onConnect }) => {
|
|
4
4
|
reactExports.useEffect(() => {
|
|
@@ -15,6 +15,18 @@ const OAuthDebugCallback = ({ onConnect }) => {
|
|
|
15
15
|
return;
|
|
16
16
|
}
|
|
17
17
|
const serverUrl = sessionStorage.getItem(SESSION_KEYS.SERVER_URL);
|
|
18
|
+
const storedState = sessionStorage.getItem(
|
|
19
|
+
SESSION_KEYS.AUTH_DEBUGGER_STATE
|
|
20
|
+
);
|
|
21
|
+
let restoredState = null;
|
|
22
|
+
if (storedState) {
|
|
23
|
+
try {
|
|
24
|
+
restoredState = JSON.parse(storedState);
|
|
25
|
+
sessionStorage.removeItem(SESSION_KEYS.AUTH_DEBUGGER_STATE);
|
|
26
|
+
} catch (e) {
|
|
27
|
+
console.error("Failed to parse stored auth state:", e);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
18
30
|
if (!serverUrl) {
|
|
19
31
|
return;
|
|
20
32
|
}
|
|
@@ -22,7 +34,7 @@ const OAuthDebugCallback = ({ onConnect }) => {
|
|
|
22
34
|
onConnect({ errorMsg: "Missing authorization code" });
|
|
23
35
|
return;
|
|
24
36
|
}
|
|
25
|
-
onConnect({ authorizationCode: params.code });
|
|
37
|
+
onConnect({ authorizationCode: params.code, restoredState });
|
|
26
38
|
};
|
|
27
39
|
handleCallback().finally(() => {
|
|
28
40
|
if (sessionStorage.getItem(SESSION_KEYS.SERVER_URL)) {
|
|
@@ -725,8 +725,8 @@ video {
|
|
|
725
725
|
--accent-foreground: 210 40% 98%;
|
|
726
726
|
--destructive: 0 62.8% 30.6%;
|
|
727
727
|
--destructive-foreground: 210 40% 98%;
|
|
728
|
-
--border: 217.2
|
|
729
|
-
--input: 217.2
|
|
728
|
+
--border: 217.2 24% 24%;
|
|
729
|
+
--input: 217.2 24% 24%;
|
|
730
730
|
--ring: 212.7 26.8% 83.9%;
|
|
731
731
|
--chart-1: 220 70% 50%;
|
|
732
732
|
--chart-2: 160 60% 45%;
|
|
@@ -908,6 +908,9 @@ video {
|
|
|
908
908
|
.h-2 {
|
|
909
909
|
height: 0.5rem;
|
|
910
910
|
}
|
|
911
|
+
.h-3 {
|
|
912
|
+
height: 0.75rem;
|
|
913
|
+
}
|
|
911
914
|
.h-3\.5 {
|
|
912
915
|
height: 0.875rem;
|
|
913
916
|
}
|
|
@@ -917,6 +920,9 @@ video {
|
|
|
917
920
|
.h-5 {
|
|
918
921
|
height: 1.25rem;
|
|
919
922
|
}
|
|
923
|
+
.h-6 {
|
|
924
|
+
height: 1.5rem;
|
|
925
|
+
}
|
|
920
926
|
.h-8 {
|
|
921
927
|
height: 2rem;
|
|
922
928
|
}
|
|
@@ -950,6 +956,9 @@ video {
|
|
|
950
956
|
.max-h-\[300px\] {
|
|
951
957
|
max-height: 300px;
|
|
952
958
|
}
|
|
959
|
+
.max-h-\[8rem\] {
|
|
960
|
+
max-height: 8rem;
|
|
961
|
+
}
|
|
953
962
|
.max-h-screen {
|
|
954
963
|
max-height: 100vh;
|
|
955
964
|
}
|
|
@@ -962,6 +971,9 @@ video {
|
|
|
962
971
|
.w-2\/5 {
|
|
963
972
|
width: 40%;
|
|
964
973
|
}
|
|
974
|
+
.w-3 {
|
|
975
|
+
width: 0.75rem;
|
|
976
|
+
}
|
|
965
977
|
.w-3\.5 {
|
|
966
978
|
width: 0.875rem;
|
|
967
979
|
}
|
|
@@ -1182,6 +1194,10 @@ video {
|
|
|
1182
1194
|
--tw-border-opacity: 1;
|
|
1183
1195
|
border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
|
|
1184
1196
|
}
|
|
1197
|
+
.border-blue-300 {
|
|
1198
|
+
--tw-border-opacity: 1;
|
|
1199
|
+
border-color: rgb(147 197 253 / var(--tw-border-opacity, 1));
|
|
1200
|
+
}
|
|
1185
1201
|
.border-border {
|
|
1186
1202
|
border-color: hsl(var(--border));
|
|
1187
1203
|
}
|
|
@@ -1226,6 +1242,10 @@ video {
|
|
|
1226
1242
|
.bg-black\/80 {
|
|
1227
1243
|
background-color: rgb(0 0 0 / 0.8);
|
|
1228
1244
|
}
|
|
1245
|
+
.bg-blue-100 {
|
|
1246
|
+
--tw-bg-opacity: 1;
|
|
1247
|
+
background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
|
|
1248
|
+
}
|
|
1229
1249
|
.bg-blue-50 {
|
|
1230
1250
|
--tw-bg-opacity: 1;
|
|
1231
1251
|
background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
|
|
@@ -1251,6 +1271,10 @@ video {
|
|
|
1251
1271
|
--tw-bg-opacity: 1;
|
|
1252
1272
|
background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
|
|
1253
1273
|
}
|
|
1274
|
+
.bg-green-100 {
|
|
1275
|
+
--tw-bg-opacity: 1;
|
|
1276
|
+
background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
|
|
1277
|
+
}
|
|
1254
1278
|
.bg-green-50 {
|
|
1255
1279
|
--tw-bg-opacity: 1;
|
|
1256
1280
|
background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
|
|
@@ -1268,6 +1292,10 @@ video {
|
|
|
1268
1292
|
.bg-primary {
|
|
1269
1293
|
background-color: hsl(var(--primary));
|
|
1270
1294
|
}
|
|
1295
|
+
.bg-red-100 {
|
|
1296
|
+
--tw-bg-opacity: 1;
|
|
1297
|
+
background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
|
|
1298
|
+
}
|
|
1271
1299
|
.bg-red-50 {
|
|
1272
1300
|
--tw-bg-opacity: 1;
|
|
1273
1301
|
background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
|
|
@@ -1282,6 +1310,10 @@ video {
|
|
|
1282
1310
|
.bg-transparent {
|
|
1283
1311
|
background-color: transparent;
|
|
1284
1312
|
}
|
|
1313
|
+
.bg-yellow-100 {
|
|
1314
|
+
--tw-bg-opacity: 1;
|
|
1315
|
+
background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
|
|
1316
|
+
}
|
|
1285
1317
|
.p-0 {
|
|
1286
1318
|
padding: 0px;
|
|
1287
1319
|
}
|
|
@@ -1320,6 +1352,10 @@ video {
|
|
|
1320
1352
|
padding-left: 2rem;
|
|
1321
1353
|
padding-right: 2rem;
|
|
1322
1354
|
}
|
|
1355
|
+
.py-0 {
|
|
1356
|
+
padding-top: 0px;
|
|
1357
|
+
padding-bottom: 0px;
|
|
1358
|
+
}
|
|
1323
1359
|
.py-1 {
|
|
1324
1360
|
padding-top: 0.25rem;
|
|
1325
1361
|
padding-bottom: 0.25rem;
|
|
@@ -1417,6 +1453,10 @@ video {
|
|
|
1417
1453
|
--tw-text-opacity: 1;
|
|
1418
1454
|
color: rgb(29 78 216 / var(--tw-text-opacity, 1));
|
|
1419
1455
|
}
|
|
1456
|
+
.text-blue-800 {
|
|
1457
|
+
--tw-text-opacity: 1;
|
|
1458
|
+
color: rgb(30 64 175 / var(--tw-text-opacity, 1));
|
|
1459
|
+
}
|
|
1420
1460
|
.text-current {
|
|
1421
1461
|
color: currentColor;
|
|
1422
1462
|
}
|
|
@@ -1468,6 +1508,10 @@ video {
|
|
|
1468
1508
|
--tw-text-opacity: 1;
|
|
1469
1509
|
color: rgb(21 128 61 / var(--tw-text-opacity, 1));
|
|
1470
1510
|
}
|
|
1511
|
+
.text-green-800 {
|
|
1512
|
+
--tw-text-opacity: 1;
|
|
1513
|
+
color: rgb(22 101 52 / var(--tw-text-opacity, 1));
|
|
1514
|
+
}
|
|
1471
1515
|
.text-muted-foreground {
|
|
1472
1516
|
color: hsl(var(--muted-foreground));
|
|
1473
1517
|
}
|
|
@@ -1496,6 +1540,10 @@ video {
|
|
|
1496
1540
|
--tw-text-opacity: 1;
|
|
1497
1541
|
color: rgb(185 28 28 / var(--tw-text-opacity, 1));
|
|
1498
1542
|
}
|
|
1543
|
+
.text-red-800 {
|
|
1544
|
+
--tw-text-opacity: 1;
|
|
1545
|
+
color: rgb(153 27 27 / var(--tw-text-opacity, 1));
|
|
1546
|
+
}
|
|
1499
1547
|
.text-secondary-foreground {
|
|
1500
1548
|
color: hsl(var(--secondary-foreground));
|
|
1501
1549
|
}
|
|
@@ -1503,6 +1551,10 @@ video {
|
|
|
1503
1551
|
--tw-text-opacity: 1;
|
|
1504
1552
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
1505
1553
|
}
|
|
1554
|
+
.text-yellow-800 {
|
|
1555
|
+
--tw-text-opacity: 1;
|
|
1556
|
+
color: rgb(133 77 14 / var(--tw-text-opacity, 1));
|
|
1557
|
+
}
|
|
1506
1558
|
.underline-offset-4 {
|
|
1507
1559
|
text-underline-offset: 4px;
|
|
1508
1560
|
}
|
|
@@ -2086,6 +2138,10 @@ h1 {
|
|
|
2086
2138
|
--tw-enter-translate-y: -100%;
|
|
2087
2139
|
}
|
|
2088
2140
|
|
|
2141
|
+
.dark\:border-border:is(.dark *) {
|
|
2142
|
+
border-color: hsl(var(--border));
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2089
2145
|
.dark\:border-destructive:is(.dark *) {
|
|
2090
2146
|
border-color: hsl(var(--destructive));
|
|
2091
2147
|
}
|
|
@@ -2095,11 +2151,41 @@ h1 {
|
|
|
2095
2151
|
border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
|
|
2096
2152
|
}
|
|
2097
2153
|
|
|
2154
|
+
.dark\:bg-blue-900:is(.dark *) {
|
|
2155
|
+
--tw-bg-opacity: 1;
|
|
2156
|
+
background-color: rgb(30 58 138 / var(--tw-bg-opacity, 1));
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2098
2159
|
.dark\:bg-gray-800:is(.dark *) {
|
|
2099
2160
|
--tw-bg-opacity: 1;
|
|
2100
2161
|
background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
|
|
2101
2162
|
}
|
|
2102
2163
|
|
|
2164
|
+
.dark\:bg-gray-900:is(.dark *) {
|
|
2165
|
+
--tw-bg-opacity: 1;
|
|
2166
|
+
background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
.dark\:bg-green-900:is(.dark *) {
|
|
2170
|
+
--tw-bg-opacity: 1;
|
|
2171
|
+
background-color: rgb(20 83 45 / var(--tw-bg-opacity, 1));
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
.dark\:bg-red-900:is(.dark *) {
|
|
2175
|
+
--tw-bg-opacity: 1;
|
|
2176
|
+
background-color: rgb(127 29 29 / var(--tw-bg-opacity, 1));
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
.dark\:bg-yellow-900:is(.dark *) {
|
|
2180
|
+
--tw-bg-opacity: 1;
|
|
2181
|
+
background-color: rgb(113 63 18 / var(--tw-bg-opacity, 1));
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
.dark\:text-blue-200:is(.dark *) {
|
|
2185
|
+
--tw-text-opacity: 1;
|
|
2186
|
+
color: rgb(191 219 254 / var(--tw-text-opacity, 1));
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2103
2189
|
.dark\:text-gray-100:is(.dark *) {
|
|
2104
2190
|
--tw-text-opacity: 1;
|
|
2105
2191
|
color: rgb(243 244 246 / var(--tw-text-opacity, 1));
|
|
@@ -2115,16 +2201,31 @@ h1 {
|
|
|
2115
2201
|
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
2116
2202
|
}
|
|
2117
2203
|
|
|
2204
|
+
.dark\:text-green-200:is(.dark *) {
|
|
2205
|
+
--tw-text-opacity: 1;
|
|
2206
|
+
color: rgb(187 247 208 / var(--tw-text-opacity, 1));
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2118
2209
|
.dark\:text-green-700:is(.dark *) {
|
|
2119
2210
|
--tw-text-opacity: 1;
|
|
2120
2211
|
color: rgb(21 128 61 / var(--tw-text-opacity, 1));
|
|
2121
2212
|
}
|
|
2122
2213
|
|
|
2214
|
+
.dark\:text-red-200:is(.dark *) {
|
|
2215
|
+
--tw-text-opacity: 1;
|
|
2216
|
+
color: rgb(254 202 202 / var(--tw-text-opacity, 1));
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2123
2219
|
.dark\:text-white:is(.dark *) {
|
|
2124
2220
|
--tw-text-opacity: 1;
|
|
2125
2221
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
2126
2222
|
}
|
|
2127
2223
|
|
|
2224
|
+
.dark\:text-yellow-200:is(.dark *) {
|
|
2225
|
+
--tw-text-opacity: 1;
|
|
2226
|
+
color: rgb(254 240 138 / var(--tw-text-opacity, 1));
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2128
2229
|
.dark\:hover\:bg-gray-700:hover:is(.dark *) {
|
|
2129
2230
|
--tw-bg-opacity: 1;
|
|
2130
2231
|
background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
|
|
@@ -2134,6 +2235,14 @@ h1 {
|
|
|
2134
2235
|
background-color: rgb(31 41 55 / 0.2);
|
|
2135
2236
|
}
|
|
2136
2237
|
|
|
2238
|
+
.dark\:hover\:bg-input\/40:hover:is(.dark *) {
|
|
2239
|
+
background-color: hsl(var(--input) / 0.4);
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
.dark\:hover\:bg-secondary:hover:is(.dark *) {
|
|
2243
|
+
background-color: hsl(var(--secondary));
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2137
2246
|
.group:hover .dark\:group-hover\:text-gray-100:is(.dark *) {
|
|
2138
2247
|
--tw-text-opacity: 1;
|
|
2139
2248
|
color: rgb(243 244 246 / var(--tw-text-opacity, 1));
|