@storybook/addon-mcp 11.0.0-alpha.7 → 11.0.0-alpha.9
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/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_z7n9vxeq86 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z7n9vxeq86 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z7n9vxeq86 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z7n9vxeq86.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z7n9vxeq86.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z7n9vxeq86.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -18,7 +18,7 @@ import { HttpTransport } from "@tmcp/transport-http";
|
|
|
18
18
|
// package.json
|
|
19
19
|
var package_default = {
|
|
20
20
|
name: "@storybook/addon-mcp",
|
|
21
|
-
version: "11.0.0-alpha.
|
|
21
|
+
version: "11.0.0-alpha.9",
|
|
22
22
|
description: "Help agents automatically write and test stories for your UI components",
|
|
23
23
|
keywords: [
|
|
24
24
|
"ai",
|
|
@@ -120,7 +120,6 @@ async function collectTelemetry({
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// src/mcp-handler.ts
|
|
123
|
-
import { logger as logger4 } from "storybook/internal/node-logger";
|
|
124
123
|
import { getEffectiveToolAvailability, getToolAvailability } from "storybook/internal/core-server";
|
|
125
124
|
import { buildServerInstructions } from "storybook/internal/skills";
|
|
126
125
|
|
|
@@ -379,7 +378,7 @@ async function addPreviewStoriesResource(server) {
|
|
|
379
378
|
mimeType: "text/html;profile=mcp-app"
|
|
380
379
|
},
|
|
381
380
|
() => {
|
|
382
|
-
let
|
|
381
|
+
let origin = server.ctx.custom.origin;
|
|
383
382
|
return {
|
|
384
383
|
contents: [
|
|
385
384
|
{
|
|
@@ -389,12 +388,12 @@ async function addPreviewStoriesResource(server) {
|
|
|
389
388
|
_meta: {
|
|
390
389
|
ui: {
|
|
391
390
|
prefersBorder: !1,
|
|
392
|
-
domain:
|
|
391
|
+
domain: origin,
|
|
393
392
|
csp: {
|
|
394
|
-
connectDomains: [
|
|
395
|
-
resourceDomains: [
|
|
396
|
-
frameDomains: [
|
|
397
|
-
baseUriDomains: [
|
|
393
|
+
connectDomains: [origin],
|
|
394
|
+
resourceDomains: [origin],
|
|
395
|
+
frameDomains: [origin],
|
|
396
|
+
baseUriDomains: [origin]
|
|
398
397
|
}
|
|
399
398
|
}
|
|
400
399
|
}
|
|
@@ -420,6 +419,11 @@ import {
|
|
|
420
419
|
toMcpToolName as toMcpToolName2
|
|
421
420
|
} from "storybook/open-service";
|
|
422
421
|
|
|
422
|
+
// src/utils/base-url.ts
|
|
423
|
+
function toBaseUrl(origin, basePath) {
|
|
424
|
+
return `${origin}${basePath.replace(/\/$/, "")}`;
|
|
425
|
+
}
|
|
426
|
+
|
|
423
427
|
// src/tools/toolset-origin.ts
|
|
424
428
|
function storybookRootFromRequest(request, trustedOrigin, endpoint) {
|
|
425
429
|
if (request?.url)
|
|
@@ -432,7 +436,7 @@ function storybookRootFromRequest(request, trustedOrigin, endpoint) {
|
|
|
432
436
|
}
|
|
433
437
|
function resolveToolsetOrigin(context) {
|
|
434
438
|
if (context.origin)
|
|
435
|
-
return context.request ? storybookRootFromRequest(
|
|
439
|
+
return context.basePath && context.basePath !== "/" ? toBaseUrl(context.origin, context.basePath) : context.request ? storybookRootFromRequest(
|
|
436
440
|
context.request,
|
|
437
441
|
context.origin,
|
|
438
442
|
context.endpoint ?? DEFAULT_MCP_ENDPOINT
|
|
@@ -634,7 +638,7 @@ async function registerAddonMcpTools(server, context) {
|
|
|
634
638
|
}
|
|
635
639
|
|
|
636
640
|
// src/mcp-handler.ts
|
|
637
|
-
var transport,
|
|
641
|
+
var transport, initialize, disableTelemetry, a11yEnabled, initializeMCPServer = async (options, multiSource) => {
|
|
638
642
|
disableTelemetry = (await options.presets.apply("core", {}))?.disableTelemetry ?? !1;
|
|
639
643
|
let rawAvailability = await getToolAvailability(options), availability = getEffectiveToolAvailability(rawAvailability, { multiSource });
|
|
640
644
|
a11yEnabled = availability.a11yEnabled;
|
|
@@ -663,12 +667,14 @@ var transport, origin, initialize, disableTelemetry, a11yEnabled, initializeMCPS
|
|
|
663
667
|
serverOptions
|
|
664
668
|
).withContext(), disableTelemetry || server.on("initialize", async () => {
|
|
665
669
|
await collectTelemetry({ event: "session:initialized", server });
|
|
666
|
-
}), await registerAddonMcpTools(server, { availability, multiSource }), transport = new HttpTransport(server, { path: null }),
|
|
670
|
+
}), await registerAddonMcpTools(server, { availability, multiSource }), transport = new HttpTransport(server, { path: null }), server;
|
|
667
671
|
}, mcpServerHandler = async ({
|
|
668
672
|
req,
|
|
669
673
|
res,
|
|
670
674
|
options,
|
|
671
675
|
addonOptions,
|
|
676
|
+
origin,
|
|
677
|
+
basePath,
|
|
672
678
|
endpoint = DEFAULT_MCP_ENDPOINT,
|
|
673
679
|
sources,
|
|
674
680
|
manifestProvider,
|
|
@@ -684,6 +690,7 @@ var transport, origin, initialize, disableTelemetry, a11yEnabled, initializeMCPS
|
|
|
684
690
|
endpoint,
|
|
685
691
|
toolsets: getToolsets(webRequest, addonOptions),
|
|
686
692
|
origin,
|
|
693
|
+
basePath,
|
|
687
694
|
disableTelemetry,
|
|
688
695
|
a11yEnabled,
|
|
689
696
|
request: webRequest,
|
|
@@ -696,7 +703,7 @@ var transport, origin, initialize, disableTelemetry, a11yEnabled, initializeMCPS
|
|
|
696
703
|
status: 401,
|
|
697
704
|
headers: {
|
|
698
705
|
"Content-Type": "text/plain",
|
|
699
|
-
"WWW-Authenticate": compositionAuth.buildWwwAuthenticate(origin)
|
|
706
|
+
"WWW-Authenticate": compositionAuth.buildWwwAuthenticate(toBaseUrl(origin, basePath))
|
|
700
707
|
}
|
|
701
708
|
}) : new Response(body, { status: response.status, headers: response.headers });
|
|
702
709
|
await webResponseToServerResponse(finalResponse, res);
|
|
@@ -1044,7 +1051,7 @@ import {
|
|
|
1044
1051
|
ComponentManifestMap,
|
|
1045
1052
|
DocsManifestMap
|
|
1046
1053
|
} from "storybook/internal/toolsets-docs";
|
|
1047
|
-
import { logger as
|
|
1054
|
+
import { logger as logger4 } from "storybook/internal/node-logger";
|
|
1048
1055
|
import * as v2 from "valibot";
|
|
1049
1056
|
var OAuthResourceMetadata = v2.object({
|
|
1050
1057
|
resource: v2.optional(v2.string()),
|
|
@@ -1072,13 +1079,13 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1072
1079
|
try {
|
|
1073
1080
|
let result = await this.#checkRef(ref.url);
|
|
1074
1081
|
if (result === "manifest-not-found") {
|
|
1075
|
-
|
|
1082
|
+
logger4.warn(
|
|
1076
1083
|
`[addon-mcp] Skipping composed ref "${ref.title}" (${ref.url}): components manifest not found at ${ref.url}/manifests/components.json. Enable the \`componentsManifest\` feature on that Storybook to compose it into MCP.`
|
|
1077
1084
|
);
|
|
1078
1085
|
continue;
|
|
1079
1086
|
}
|
|
1080
1087
|
if (result === "manifest-invalid") {
|
|
1081
|
-
|
|
1088
|
+
logger4.warn(
|
|
1082
1089
|
`[addon-mcp] Skipping composed ref "${ref.title}" (${ref.url}): its components manifest failed validation. This usually means a version mismatch between the composed Storybook and this one \u2014 upgrade the older side.`
|
|
1083
1090
|
);
|
|
1084
1091
|
continue;
|
|
@@ -1088,12 +1095,12 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1088
1095
|
this.#authRequirement = result;
|
|
1089
1096
|
else {
|
|
1090
1097
|
let existingServer = this.#authRequirement.resourceMetadata.authorization_servers[0], newServer = result.resourceMetadata.authorization_servers[0];
|
|
1091
|
-
existingServer !== newServer &&
|
|
1098
|
+
existingServer !== newServer && logger4.warn(
|
|
1092
1099
|
`[addon-mcp] Composed ref "${ref.title}" uses a different OAuth server (${newServer}) than the first authenticated ref (${existingServer}). Only the first OAuth server will be used for authentication.`
|
|
1093
1100
|
);
|
|
1094
1101
|
}
|
|
1095
1102
|
} catch (error) {
|
|
1096
|
-
|
|
1103
|
+
logger4.warn(
|
|
1097
1104
|
`[addon-mcp] Skipping composed ref "${ref.title}" (${ref.url}): the ref could not be reached (${error instanceof Error ? error.message : String(error)}). Refs are only checked at dev-server boot \u2014 restart Storybook once the ref is reachable.`
|
|
1098
1105
|
);
|
|
1099
1106
|
}
|
|
@@ -1112,17 +1119,17 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1112
1119
|
#isAuthRequiredUrl(url2) {
|
|
1113
1120
|
return this.#authRequiredUrls.some((authUrl) => url2.startsWith(authUrl));
|
|
1114
1121
|
}
|
|
1115
|
-
/** Build .well-known/oauth-protected-resource response
|
|
1116
|
-
buildWellKnown(
|
|
1122
|
+
/** Build .well-known/oauth-protected-resource response for the MCP endpoint at `resource`. */
|
|
1123
|
+
buildWellKnown(resource) {
|
|
1117
1124
|
return this.#authRequirement ? {
|
|
1118
|
-
resource
|
|
1125
|
+
resource,
|
|
1119
1126
|
authorization_servers: this.#authRequirement.resourceMetadata.authorization_servers,
|
|
1120
1127
|
scopes_supported: this.#authRequirement.resourceMetadata.scopes_supported
|
|
1121
1128
|
} : null;
|
|
1122
1129
|
}
|
|
1123
1130
|
/** Build WWW-Authenticate header for 401 responses */
|
|
1124
|
-
buildWwwAuthenticate(
|
|
1125
|
-
return `Bearer error="unauthorized", error_description="Authorization needed for composed Storybooks", resource_metadata="${
|
|
1131
|
+
buildWwwAuthenticate(baseUrl) {
|
|
1132
|
+
return `Bearer error="unauthorized", error_description="Authorization needed for composed Storybooks", resource_metadata="${baseUrl}/.well-known/oauth-protected-resource"`;
|
|
1126
1133
|
}
|
|
1127
1134
|
/** Build sources configuration: local first, then refs that have manifests. */
|
|
1128
1135
|
buildSources() {
|
|
@@ -1139,12 +1146,12 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1139
1146
|
* Create a manifest provider for multi-source mode.
|
|
1140
1147
|
*
|
|
1141
1148
|
* Remote sources are fetched over HTTP with auth and caching; the local source fetches from
|
|
1142
|
-
* `
|
|
1149
|
+
* `localBaseUrl`. In `docgenServer` mode core 404s the local `/manifests/*.json`, and
|
|
1143
1150
|
* the composition reads that source through its own access instead of this provider.
|
|
1144
1151
|
*/
|
|
1145
|
-
createManifestProvider(
|
|
1152
|
+
createManifestProvider(localBaseUrl) {
|
|
1146
1153
|
return async (request, path2, source) => {
|
|
1147
|
-
let token = extractBearerToken(request?.headers.get("Authorization")), remoteSource = source?.url ? { ...source, url: source.url } : void 0, baseUrl = remoteSource?.url ??
|
|
1154
|
+
let token = extractBearerToken(request?.headers.get("Authorization")), remoteSource = source?.url ? { ...source, url: source.url } : void 0, baseUrl = remoteSource?.url ?? localBaseUrl, manifestUrl = `${baseUrl}${path2.replace(/^\.\//, "/")}`, isRemote = !!remoteSource, tokenForRequest = isRemote && this.#isAuthRequiredUrl(baseUrl) ? token : null;
|
|
1148
1155
|
if (token && token !== this.#lastToken && (this.#manifestCache.clear(), this.#lastToken = token), isRemote) {
|
|
1149
1156
|
let cached = this.#manifestCache.get(manifestUrl);
|
|
1150
1157
|
if (cached)
|
|
@@ -1221,9 +1228,9 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1221
1228
|
return this.#parseAuthFromResponse(response);
|
|
1222
1229
|
}
|
|
1223
1230
|
/** Quick check: does the remote /mcp return 401? */
|
|
1224
|
-
async #isMcpUnauthorized(
|
|
1231
|
+
async #isMcpUnauthorized(origin) {
|
|
1225
1232
|
try {
|
|
1226
|
-
return (await fetch(`${
|
|
1233
|
+
return (await fetch(`${origin}/mcp`, {
|
|
1227
1234
|
method: "POST",
|
|
1228
1235
|
headers: { "Content-Type": "application/json" },
|
|
1229
1236
|
body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/list" })
|
|
@@ -1241,17 +1248,17 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1241
1248
|
if (!match?.[1]) return null;
|
|
1242
1249
|
let resourceMetadataUrl = match[1], resourceResponse = await fetch(resourceMetadataUrl);
|
|
1243
1250
|
if (!resourceResponse.ok)
|
|
1244
|
-
return
|
|
1251
|
+
return logger4.warn(
|
|
1245
1252
|
`[addon-mcp] Failed to fetch OAuth resource metadata from ${resourceMetadataUrl}: ${resourceResponse.status}`
|
|
1246
1253
|
), null;
|
|
1247
1254
|
let resourceResult = v2.safeParse(OAuthResourceMetadata, await resourceResponse.json());
|
|
1248
1255
|
if (!resourceResult.success)
|
|
1249
|
-
return
|
|
1256
|
+
return logger4.warn(
|
|
1250
1257
|
`[addon-mcp] Invalid OAuth resource metadata from ${resourceMetadataUrl}: ${resourceResult.issues.map((i) => i.message).join(", ")}`
|
|
1251
1258
|
), null;
|
|
1252
1259
|
let serverMetadataUrl = `${resourceResult.output.authorization_servers[0]}/.well-known/oauth-authorization-server`, serverResponse = await fetch(serverMetadataUrl);
|
|
1253
1260
|
if (!serverResponse.ok)
|
|
1254
|
-
return
|
|
1261
|
+
return logger4.warn(
|
|
1255
1262
|
`[addon-mcp] Failed to fetch OAuth server metadata from ${serverMetadataUrl}: ${serverResponse.status}`
|
|
1256
1263
|
), null;
|
|
1257
1264
|
let serverResult = v2.safeParse(OAuthServerMetadata, await serverResponse.json());
|
|
@@ -1259,7 +1266,7 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1259
1266
|
resourceMetadataUrl,
|
|
1260
1267
|
resourceMetadata: resourceResult.output,
|
|
1261
1268
|
serverMetadata: serverResult.output
|
|
1262
|
-
} : (
|
|
1269
|
+
} : (logger4.warn(
|
|
1263
1270
|
`[addon-mcp] Invalid OAuth server metadata from ${serverMetadataUrl}: ${serverResult.issues.map((i) => i.message).join(", ")}`
|
|
1264
1271
|
), null);
|
|
1265
1272
|
}
|
|
@@ -1286,10 +1293,10 @@ async function resolveCompositionSources(options) {
|
|
|
1286
1293
|
}
|
|
1287
1294
|
|
|
1288
1295
|
// src/preset.ts
|
|
1289
|
-
import { logger as
|
|
1296
|
+
import { logger as logger6 } from "storybook/internal/node-logger";
|
|
1290
1297
|
|
|
1291
1298
|
// src/utils/get-story-index.ts
|
|
1292
|
-
import { logger as
|
|
1299
|
+
import { logger as logger5 } from "storybook/internal/node-logger";
|
|
1293
1300
|
async function getStoryIndex(options) {
|
|
1294
1301
|
let generator = await options.presets.apply(
|
|
1295
1302
|
"storyIndexGenerator"
|
|
@@ -1299,7 +1306,7 @@ async function getStoryIndex(options) {
|
|
|
1299
1306
|
"Storybook story index generator is unavailable. These MCP tools require a running Storybook dev server with a builder that exposes the story index."
|
|
1300
1307
|
);
|
|
1301
1308
|
let index = await generator.getIndex();
|
|
1302
|
-
return
|
|
1309
|
+
return logger5.debug(`Story index entries found: ${Object.keys(index.entries).length}`), index;
|
|
1303
1310
|
}
|
|
1304
1311
|
|
|
1305
1312
|
// src/preset.ts
|
|
@@ -1307,7 +1314,9 @@ var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotat
|
|
|
1307
1314
|
let addonOptions = v3.parse(AddonOptions, {
|
|
1308
1315
|
endpoint: options.endpoint,
|
|
1309
1316
|
toolsets: options.toolsets ?? {}
|
|
1310
|
-
}),
|
|
1317
|
+
}), basePath = options.basePath ?? "/", origin = `http://localhost:${options.port}`, baseUrl = toBaseUrl(origin, basePath);
|
|
1318
|
+
logger6.debug(`MCP server base URL: ${baseUrl}`);
|
|
1319
|
+
let endpoint = addonOptions.endpoint ?? DEFAULT_MCP_ENDPOINT, core = await options.presets.apply("core", {}), hostValidation = {
|
|
1311
1320
|
host: options.host,
|
|
1312
1321
|
allowedHosts: core?.allowedHosts,
|
|
1313
1322
|
localAddress: options.localAddress,
|
|
@@ -1328,13 +1337,13 @@ var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotat
|
|
|
1328
1337
|
storyIndex: { getIndex: () => getStoryIndex(options) },
|
|
1329
1338
|
getManifests: () => loadManifests(options.presets)
|
|
1330
1339
|
}) : void 0, createManifestProvider;
|
|
1331
|
-
refs.length > 0 && (
|
|
1340
|
+
refs.length > 0 && (logger6.info(`Initialized composition with ${refs.length} remote Storybook(s)`), compositionAuth.requiresAuth && logger6.info(`Auth required for: ${compositionAuth.authUrls.join(", ")}`), logger6.info(`Sources: ${(sources ?? []).map((s) => s.id).join(", ")}`), createManifestProvider = () => compositionAuth.createManifestProvider(baseUrl));
|
|
1332
1341
|
let manifestAccessFor = (req) => ({
|
|
1333
1342
|
manifestProvider: createManifestProvider?.(req),
|
|
1334
1343
|
localAccess
|
|
1335
1344
|
});
|
|
1336
1345
|
app.get("/.well-known/oauth-protected-resource", (_req, res) => {
|
|
1337
|
-
let wellKnown = compositionAuth.buildWellKnown(
|
|
1346
|
+
let wellKnown = compositionAuth.buildWellKnown(`${baseUrl}${endpoint}`);
|
|
1338
1347
|
if (!wellKnown) {
|
|
1339
1348
|
res.writeHead(404), res.end("Not found");
|
|
1340
1349
|
return;
|
|
@@ -1345,7 +1354,7 @@ var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotat
|
|
|
1345
1354
|
let token = extractBearerToken(req.headers.authorization);
|
|
1346
1355
|
return compositionAuth.requiresAuth && !token ? (res.writeHead(401, {
|
|
1347
1356
|
"Content-Type": "text/plain",
|
|
1348
|
-
"WWW-Authenticate": compositionAuth.buildWwwAuthenticate(
|
|
1357
|
+
"WWW-Authenticate": compositionAuth.buildWwwAuthenticate(baseUrl)
|
|
1349
1358
|
}), res.end("401 - Unauthorized"), !0) : !1;
|
|
1350
1359
|
};
|
|
1351
1360
|
app.post(endpoint, (req, res) => {
|
|
@@ -1355,6 +1364,8 @@ var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotat
|
|
|
1355
1364
|
res,
|
|
1356
1365
|
options,
|
|
1357
1366
|
addonOptions,
|
|
1367
|
+
origin,
|
|
1368
|
+
basePath,
|
|
1358
1369
|
endpoint,
|
|
1359
1370
|
sources,
|
|
1360
1371
|
...manifestAccessFor(req),
|
|
@@ -1377,6 +1388,8 @@ var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotat
|
|
|
1377
1388
|
res,
|
|
1378
1389
|
options,
|
|
1379
1390
|
addonOptions,
|
|
1391
|
+
origin,
|
|
1392
|
+
basePath,
|
|
1380
1393
|
endpoint,
|
|
1381
1394
|
sources,
|
|
1382
1395
|
...manifestAccessFor(req),
|
|
@@ -1404,7 +1417,7 @@ var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotat
|
|
|
1404
1417
|
isDevEnabled && moduleGraphSupported ? "enabled" : "disabled"
|
|
1405
1418
|
).replace("{{DEV_NOTICE}}", devNotice).replaceAll("{{DOCS_STATUS}}", isDocsEnabled ? "enabled" : "disabled").replace("{{DOCS_NOTICE}}", docsNotice).replaceAll("{{TEST_STATUS}}", isTestEnabled ? "enabled" : "disabled").replace("{{TEST_NOTICE}}", testNotice).replace(
|
|
1406
1419
|
"{{MANIFEST_DEBUGGER_LINK}}",
|
|
1407
|
-
rawAvailability.docsEnabled ?
|
|
1420
|
+
rawAvailability.docsEnabled ? `<p>View the <a href="${basePath}manifests/components.html">component manifest debugger</a>.</p>` : ""
|
|
1408
1421
|
).replace("{{A11Y_BADGE}}", a11yBadge);
|
|
1409
1422
|
res.end(html);
|
|
1410
1423
|
}), app;
|
|
@@ -4,7 +4,7 @@ var MCP_APP_PARAM = "mcp-app", MCP_APP_SIZE_CHANGED_EVENT = "storybook-mcp:size-
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@storybook/addon-mcp",
|
|
7
|
-
version: "11.0.0-alpha.
|
|
7
|
+
version: "11.0.0-alpha.9",
|
|
8
8
|
description: "Help agents automatically write and test stories for your UI components",
|
|
9
9
|
keywords: [
|
|
10
10
|
"ai",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-mcp",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.9",
|
|
4
4
|
"description": "Help agents automatically write and test stories for your UI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"valibot": "^1.4.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@storybook/addon-a11y": "11.0.0-alpha.
|
|
46
|
-
"@storybook/addon-vitest": "11.0.0-alpha.
|
|
47
|
-
"storybook": "11.0.0-alpha.
|
|
45
|
+
"@storybook/addon-a11y": "11.0.0-alpha.9",
|
|
46
|
+
"@storybook/addon-vitest": "11.0.0-alpha.9",
|
|
47
|
+
"storybook": "11.0.0-alpha.9",
|
|
48
48
|
"typescript": "^6.0.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@storybook/addon-vitest": "^11.0.0-alpha.
|
|
52
|
-
"storybook": "^11.0.0-alpha.
|
|
51
|
+
"@storybook/addon-vitest": "^11.0.0-alpha.9",
|
|
52
|
+
"storybook": "^11.0.0-alpha.9"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@storybook/addon-vitest": {
|