@bridge-ds/mcp 0.8.2 → 0.8.4
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/branches.d.ts +3 -8
- package/dist/{chunk-QCPYJXK4.js → chunk-HZWFI7A2.js} +735 -584
- package/dist/{chunk-DPK46GA2.js → chunk-PMZGEZGX.js} +3 -1
- package/dist/index.js +2 -2
- package/dist/lib.js +2 -2
- package/dist/{src-UNWS2OVM.js → src-DRJFSLRV.js} +1 -1
- package/dist/suggestions.d.ts +8 -0
- package/package.json +3 -3
|
@@ -694,7 +694,8 @@ function defineConfig(input) {
|
|
|
694
694
|
styleSuffix: input.components.styleSuffix ?? ".module.css",
|
|
695
695
|
reference: input.components.reference,
|
|
696
696
|
index: input.components.index,
|
|
697
|
-
specs: input.components.specs
|
|
697
|
+
specs: input.components.specs,
|
|
698
|
+
...input.components.styles ? { styles: input.components.styles.map(trimSlashes) } : {}
|
|
698
699
|
} : void 0,
|
|
699
700
|
docs: { ...input.docs },
|
|
700
701
|
changesets: pkg ? { dir: trimSlashes(input.changesets?.dir ?? ".changeset"), package: pkg } : void 0,
|
|
@@ -818,6 +819,7 @@ function loadConfig(source) {
|
|
|
818
819
|
problems.push('"contrast" must be { "path", "modes"? }');
|
|
819
820
|
const comps = d.components;
|
|
820
821
|
if (comps !== void 0 && (!isObj(comps) || !isStr(comps.dir))) problems.push('"components.dir" must be a non-empty string');
|
|
822
|
+
if (isObj(comps) && comps.styles !== void 0 && !isStrList(comps.styles)) problems.push('"components.styles" must be a list of globs');
|
|
821
823
|
const cs = d.changeset;
|
|
822
824
|
if (cs !== void 0 && (!isObj(cs) || !isStr(cs.package))) problems.push('"changeset.package" must be a non-empty string');
|
|
823
825
|
const css = d.changesets;
|
package/dist/index.js
CHANGED
package/dist/lib.js
CHANGED
|
@@ -28,12 +28,12 @@ import {
|
|
|
28
28
|
serveStdio,
|
|
29
29
|
studio_exports,
|
|
30
30
|
suggestions_exports
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HZWFI7A2.js";
|
|
32
32
|
import {
|
|
33
33
|
CONFIG_FILE,
|
|
34
34
|
loadConfig,
|
|
35
35
|
toConfigJson
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PMZGEZGX.js";
|
|
37
37
|
export {
|
|
38
38
|
BridgeContext,
|
|
39
39
|
CONFIG_FILE,
|
package/dist/suggestions.d.ts
CHANGED
|
@@ -136,6 +136,13 @@ export declare function getSuggestionOp(ctx: BridgeContext, a: {
|
|
|
136
136
|
} | {
|
|
137
137
|
next: string;
|
|
138
138
|
brief?: string | undefined;
|
|
139
|
+
outdated?: {
|
|
140
|
+
mainSha: string | null;
|
|
141
|
+
conflicts: {
|
|
142
|
+
path: string;
|
|
143
|
+
detail: string;
|
|
144
|
+
}[];
|
|
145
|
+
} | undefined;
|
|
139
146
|
approvals: {
|
|
140
147
|
soloOwner?: string | undefined;
|
|
141
148
|
notCounted?: string[] | undefined;
|
|
@@ -266,6 +273,7 @@ export declare function applySuggestionOp(ctx: BridgeContext, a: {
|
|
|
266
273
|
base?: string | undefined;
|
|
267
274
|
branch?: string | undefined;
|
|
268
275
|
}): Promise<{
|
|
276
|
+
warnings?: string[] | undefined;
|
|
269
277
|
number: number;
|
|
270
278
|
status: string;
|
|
271
279
|
outcome: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridge-ds/mcp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bridge MCP server: lets Claude (Claude Code, Claude Desktop or any MCP client) read, check and propose changes to a DTCG design system repo through pull requests.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"build:package": "node ../../scripts/build-packages.mjs mcp"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@bridge-ds/core": "^0.
|
|
58
|
-
"@bridge-ds/visual": "^0.3.
|
|
57
|
+
"@bridge-ds/core": "^0.17.0",
|
|
58
|
+
"@bridge-ds/visual": "^0.3.11",
|
|
59
59
|
"@modelcontextprotocol/sdk": "1.31.0",
|
|
60
60
|
"typescript": "5.9.3",
|
|
61
61
|
"zod": "3.25.76"
|