@xyd-js/mcp 0.0.0-build-83b15db-20251213220910 → 0.0.0-build-43c02e0-20251224011947
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/index.js +10 -10
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -97676,7 +97676,7 @@ var $resume = s91.resume;
|
|
|
97676
97676
|
var e487 = __toESM(require_react(), 1);
|
|
97677
97677
|
var import_react5 = __toESM(require_react(), 1);
|
|
97678
97678
|
|
|
97679
|
-
// ../xyd-atlas/dist/VideoGuide-
|
|
97679
|
+
// ../xyd-atlas/dist/VideoGuide-CN2sFTjr-BBrzFJLW.js
|
|
97680
97680
|
var import_react4 = __toESM(require_react(), 1);
|
|
97681
97681
|
|
|
97682
97682
|
// ../../node_modules/.pnpm/openux-js@0.0.0-pre.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/openux-js/dist/index.js
|
|
@@ -111566,7 +111566,7 @@ var $ChevronLeft = ChevronLeft;
|
|
|
111566
111566
|
var $ChevronRight = ChevronRight;
|
|
111567
111567
|
var $Copy = Copy;
|
|
111568
111568
|
|
|
111569
|
-
// ../xyd-atlas/dist/VideoGuide-
|
|
111569
|
+
// ../xyd-atlas/dist/VideoGuide-CN2sFTjr-BBrzFJLW.js
|
|
111570
111570
|
function f2(e241, t238) {
|
|
111571
111571
|
(t238 == null || t238 > e241.length) && (t238 = e241.length);
|
|
111572
111572
|
for (var r161 = 0, n232 = Array(t238);r161 < t238; r161++)
|
|
@@ -118867,8 +118867,8 @@ function Ue2(e488) {
|
|
|
118867
118867
|
}), d29) : null;
|
|
118868
118868
|
}
|
|
118869
118869
|
var De2 = { name: "cosmo", type: "from-css", colors: { "list.focusForeground": "var(--syntax1)", "scrollbar.shadow": "var(--syntax2)", "tab.activeBorder": "var(--syntax1)", "widget.shadow": "var(--syntax2)", "activityBar.border": "var(--syntax3)", "editorGroup.border": "var(--syntax3)", "editorGroupHeader.tabsBorder": "var(--syntax3)", "editorWidget.border": "var(--syntax3)", "editorWidget.resizeBorder": "var(--syntax3)", "input.border": "var(--syntax3)", "notificationCenter.border": "var(--syntax3)", "notifications.border": "var(--syntax3)", "panel.border": "var(--syntax3)", "sideBar.border": "var(--syntax3)", "statusBar.border": "var(--syntax3)", "tab.border": "var(--syntax3)", "activityBar.background": "var(--syntax4)", "statusBar.background": "var(--syntax4)", "statusBar.noFolderBackground": "var(--syntax4)", "statusBar.debuggingBackground": "var(--syntax4)", "editorGroupHeader.tabsBackground": "var(--syntax5)", "editorWidget.background": "var(--syntax5)", "sideBar.background": "var(--syntax5)", "sideBarSectionHeader.background": "var(--syntax5)", "tab.inactiveBackground": "var(--syntax5)", "activityBarBadge.background": "var(--syntax6)", "activityBar.foreground": "var(--syntax6)", "statusBar.foreground": "var(--syntax7)", "input.placeholderForeground": "var(--syntax8)", "editorLineNumber.foreground": "var(--syntax9)", "editorLineNumber.activeForeground": "var(--syntax6)", foreground: "var(--syntax6)", "panelTitle.activeForeground": "var(--syntax6)", "sideBarTitle.foreground": "var(--syntax6)", "sideBarSectionHeader.foreground": "var(--syntax6)", "panelTitle.inactiveForeground": "var(--syntax10)", "tab.inactiveForeground": "var(--syntax10)", "list.highlightForeground": "var(--syntax10)", "editor.lineHighlightBackground": "var(--syntax11)", focusBorder: "var(--syntax12)", "button.background": "var(--syntax13)", "list.activeSelectionBackground": "var(--syntax13)", "list.focusBackground": "var(--syntax13)", "selection.background": "#B3D7FF", "list.inactiveSelectionBackground": "var(--syntax14)", "terminal.ansiBlack": "var(--syntax15)", "terminal.ansiBrightBlack": "var(--syntax15)", "terminal.ansiRed": "var(--syntax16)", "terminal.ansiBrightRed": "var(--syntax16)", "terminal.ansiGreen": "var(--syntax17)", "terminal.ansiBrightGreen": "var(--syntax17)", "terminal.ansiYellow": "var(--syntax18)", "terminal.ansiBrightYellow": "var(--syntax18)", "terminal.ansiBlue": "var(--syntax19)", "terminal.ansiBrightBlue": "var(--syntax19)", "terminal.ansiMagenta": "var(--syntax20)", "terminal.ansiBrightMagenta": "var(--syntax20)", "terminal.ansiCyan": "var(--syntax21)", "terminal.ansiBrightCyan": "var(--syntax21)" }, tokenColors: [{ scope: "new.expr entity.name", settings: { foreground: "var(--syntax22)" } }, { name: "Comments", scope: ["comment", "comment storage.type"], settings: { foreground: "var(--syntax23)", fontStyle: "italic" } }, { name: "CSS", scope: ["entity.other.attribute-name.pseudo-class.css", "entity.other.attribute-name.pseudo-class.scss", "entity.other.attribute-name.pseudo-element.css", "entity.other.attribute-name.pseudo-element.scss", "support.function.calc.css", "support.function.calc.scss", "support.type.property-name.css", "support.type.property-name.scss", "support.type.vendored.property-name.css", "support.type.vendored.property-name.scss", "meta.property-value.css support.constant", "meta.property-value.scss support.constant", "meta.property-value.css support.constant.property-value", "meta.property-value.scss support.constant.property-value", "support.function.transform.css", "support.function.transform.scss"], settings: { foreground: "var(--syntax20)" } }, { name: "Decorator", scope: ["meta.decorator", "meta.decorator punctuation.decorator", "meta.decorator variable.other.readwrite", "meta.decorator meta.function-call entity.name.function"], settings: { foreground: "var(--syntax18)" } }, { name: "Doctype", scope: ["meta.tag.sgml.html"], settings: { foreground: "var(--syntax9)" } }, { name: "Functions", scope: ["entity.name.function", "support.function"], settings: { foreground: "var(--syntax24)" } }, { name: "Keys", scope: ["meta.property-list meta.property-name", "support.type.property-name", "support.type.map.key", "entity.name.tag.yaml"], settings: { foreground: "var(--syntax24)" } }, { name: "Keywords", scope: ["keyword.control", "keyword.declaration", "keyword.expressions-and-types", "keyword.operator.new", "keyword.reserved", "keyword.statement", "storage.type", "storage.modifier", "constant.language", "variable.language.super", "variable.language.this", "text.html entity.name.tag", "meta.tag entity.name.tag", "meta.tag support.class", "string.regexp keyword.other"], settings: { foreground: "var(--syntax25)", fontStyle: "bold" } }, { name: "Operators", scope: ["storage.type.function.arrow", "meta.template.expression punctuation", "punctuation.separator.key-value", "meta.object-literal.key meta.brace.square", "meta.template.expression keyword.operator", "keyword.operator.or.regexp", "keyword.operator.quantifier", "punctuation.definition.group.regexp", "punctuation.definition.character-class"], settings: { foreground: "var(--syntax15)" } }, { scope: ["meta.tag entity.other.attribute-name", "constant.character.escape.backslash"], settings: { foreground: "var(--syntax26)" } }, { name: "Numbers", scope: ["constant.numeric", "keyword.other.unit", "constant.other.color"], settings: { foreground: "var(--syntax19)" } }, { name: "Strings", scope: ["string", "variable.parameter.url.scss", "markup.heading.markdown", "beginning.punctuation.definition.list.markdown", "meta.template.expression meta.embedded punctuation.definition.string.begin", "meta.template.expression meta.embedded punctuation.definition.string.end"], settings: { foreground: "var(--syntax27)" } }, { name: "Types", scope: ["meta.type", "meta.return.type", "entity.name.type", "support.type.primitive"], settings: { foreground: "var(--syntax22)" } }, { scope: ["meta.objectliteral variable.other.object", "entity.name.type.module", "entity.other.inherited-class", "variable.scss", "variable.other.bracket.shell", "entity.name.function.scss"], settings: { foreground: "var(--syntax21)" } }, { scope: ["keyword.control.at-rule", "meta.import variable.other.readwrite", "meta.definition.variable variable.other.readwrite", "meta.definition.variable variable.other.constant", "meta.template.expression variable.other.readwrite", "meta.template.expression variable.other.constant", "support.constant.property-value"], settings: { foreground: "var(--syntax15)" } }, { scope: ["variable.other.property", "variable.other.object.property", "support.variable.property"], settings: { foreground: "var(--syntax22)" } }] };
|
|
118870
|
-
var We2 = ["annotation"];
|
|
118871
118870
|
var Ve2 = ["annotation"];
|
|
118871
|
+
var We2 = ["annotation"];
|
|
118872
118872
|
function Ge2(e488, n470, t481) {
|
|
118873
118873
|
return Ye2.apply(this, arguments);
|
|
118874
118874
|
}
|
|
@@ -119410,8 +119410,8 @@ function Dn(e488) {
|
|
|
119410
119410
|
var t481 = e488.size, r325 = t481 === undefined ? "medium" : t481, a443 = e488.className;
|
|
119411
119411
|
return import_react5.default.createElement("xyd-loader", { "data-size": r325, className: " lr0mq4l ".concat(a443 || "", " ") }, import_react5.default.createElement("div", { part: "dots" }, import_react5.default.createElement("div", { part: "dot" }), import_react5.default.createElement("div", { part: "dot" }), import_react5.default.createElement("div", { part: "dot" })));
|
|
119412
119412
|
}
|
|
119413
|
-
var
|
|
119414
|
-
function
|
|
119413
|
+
var Vn = import_react5.createContext({ highlighted: [] });
|
|
119414
|
+
function Wn(e488) {
|
|
119415
119415
|
var r325, a443 = import_react5.useState(p28(e488.codeblocks)), o237 = S2(a443, 2), l52 = o237[0], c105 = o237[1], u28 = import_react5.useState(true), s187 = S2(u28, 2), m82 = s187[0], v4 = s187[1];
|
|
119416
119416
|
function p28(e489) {
|
|
119417
119417
|
return e489 ? e489.map(function(e490) {
|
|
@@ -119472,7 +119472,7 @@ function Vn(e488) {
|
|
|
119472
119472
|
}, n);
|
|
119473
119473
|
}))();
|
|
119474
119474
|
}, [e488.codeblocks]);
|
|
119475
|
-
var f4 = import_react5.default.createElement(
|
|
119475
|
+
var f4 = import_react5.default.createElement(Vn, { value: { highlighted: l52 || [] } }, e488.children), h6 = (r325 = e488.codeblocks) === null || r325 === undefined ? undefined : r325.every(function(e489) {
|
|
119476
119476
|
return e489.highlighted;
|
|
119477
119477
|
});
|
|
119478
119478
|
return h6 ? f4 : m82 ? import_react5.default.createElement(Dn, null) : f4;
|
|
@@ -119536,7 +119536,7 @@ function Jn(e488) {
|
|
|
119536
119536
|
}(), n470;
|
|
119537
119537
|
}
|
|
119538
119538
|
function Qn(e488) {
|
|
119539
|
-
return import_react5.default.createElement(import_react5.Suspense, { fallback: import_react5.default.createElement(Yn, null) }, import_react5.default.createElement(
|
|
119539
|
+
return import_react5.default.createElement(import_react5.Suspense, { fallback: import_react5.default.createElement(Yn, null) }, import_react5.default.createElement(Wn, { codeblocks: e488.codeblocks, theme: e488.theme }, e488.children));
|
|
119540
119540
|
}
|
|
119541
119541
|
function et2() {
|
|
119542
119542
|
return import_react5.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", strokeWidth: 3, stroke: "currentColor", fill: "none", width: 16, strokeLinecap: "round", strokeLinejoin: "round" }, import_react5.default.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), import_react5.default.createElement("path", { d: "M12 12l8 -4.5" }), import_react5.default.createElement("path", { d: "M12 12v9" }), import_react5.default.createElement("path", { d: "M12 12l-8 -4.5" }), import_react5.default.createElement("path", { d: "M12 12l8 4.5" }), import_react5.default.createElement("path", { d: "M12 3v9" }), import_react5.default.createElement("path", { d: "M12 12l-8 4.5" }));
|
|
@@ -119569,12 +119569,12 @@ var nt2 = { mark: { name: "mark", Line: function(e488) {
|
|
|
119569
119569
|
return import_react5.default.createElement(Qn.Bg, e488);
|
|
119570
119570
|
} }, lineNumbers: { name: "line-numbers", Line: function(e488) {
|
|
119571
119571
|
e488.annotation;
|
|
119572
|
-
var t481 = w2(e488,
|
|
119572
|
+
var t481 = w2(e488, Ve2);
|
|
119573
119573
|
return import_react5.default.createElement(Qn.LineNumber, t481);
|
|
119574
119574
|
} }, diff: { name: "diff", onlyIfAnnotated: true, transform: function(e488) {
|
|
119575
119575
|
return [e488, E4(E4({}, e488), {}, { name: "mark", query: e488.query, diff: true })];
|
|
119576
119576
|
}, Line: function(e488) {
|
|
119577
|
-
var t481 = e488.annotation, r325 = w2(e488,
|
|
119577
|
+
var t481 = e488.annotation, r325 = w2(e488, We2);
|
|
119578
119578
|
return import_react5.default.createElement(import_react5.default.Fragment, null, import_react5.default.createElement("div", null, t481 == null ? undefined : t481.query), import_react5.default.createElement(Sn, { merge: r325 }));
|
|
119579
119579
|
} } };
|
|
119580
119580
|
function tt2(e488) {
|
|
@@ -119606,7 +119606,7 @@ function it2(e488) {
|
|
|
119606
119606
|
return import_react5.default.createElement(Zn, null, import_react5.default.createElement(Qn, { codeblocks: e488.codeblocks, theme: e488.theme }, import_react5.default.createElement(lt2, e488)));
|
|
119607
119607
|
}
|
|
119608
119608
|
function lt2(e488) {
|
|
119609
|
-
var t481, r325, o237 = import_react5.use(
|
|
119609
|
+
var t481, r325, o237 = import_react5.use(Vn).highlighted, i314 = import_react5.useContext(at3);
|
|
119610
119610
|
if (e488.kind === "secondary")
|
|
119611
119611
|
return import_react5.default.createElement(ot2, { value: { size: e488.size, lineNumbers: e488.lineNumbers, descriptionHead: e488.descriptionHead, descriptionContent: e488.descriptionContent, descriptionIcon: e488.descriptionIcon, markdownFormat: e488.markdownFormat } }, import_react5.default.createElement(Qn.Pre, { codeblock: o237[0], handlers: [nt2.mark, nt2.bg, nt2.lineNumbers] }));
|
|
119612
119612
|
typeof e488.size == "string" ? r325 = e488.size : typeof i314.scroll != "boolean" || i314.scroll || (r325 = "full");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/mcp",
|
|
3
|
-
"version": "0.0.0-build-
|
|
3
|
+
"version": "0.0.0-build-43c02e0-20251224011947",
|
|
4
4
|
"description": "Model Context Protocol (MCP) utilities for xyd (library mode)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"turndown-plugin-gfm": "^1.0.2",
|
|
31
31
|
"unist-builder": "^4.0.0",
|
|
32
32
|
"zod": "^3.25.76",
|
|
33
|
-
"@xyd-js/atlas": "0.0.0-build-
|
|
34
|
-
"@xyd-js/components": "0.0.0-build-
|
|
35
|
-
"@xyd-js/core": "0.0.0-build-
|
|
36
|
-
"@xyd-js/framework": "0.0.0-build-
|
|
37
|
-
"@xyd-js/gql": "0.0.0-build-
|
|
38
|
-
"@xyd-js/openapi": "0.0.0-build-
|
|
39
|
-
"@xyd-js/plugins": "0.0.0-build-
|
|
40
|
-
"@xyd-js/uniform": "0.0.0-build-
|
|
33
|
+
"@xyd-js/atlas": "0.0.0-build-43c02e0-20251224011947",
|
|
34
|
+
"@xyd-js/components": "0.0.0-build-43c02e0-20251224011947",
|
|
35
|
+
"@xyd-js/core": "0.0.0-build-43c02e0-20251224011947",
|
|
36
|
+
"@xyd-js/framework": "0.0.0-build-43c02e0-20251224011947",
|
|
37
|
+
"@xyd-js/gql": "0.0.0-build-43c02e0-20251224011947",
|
|
38
|
+
"@xyd-js/openapi": "0.0.0-build-43c02e0-20251224011947",
|
|
39
|
+
"@xyd-js/plugins": "0.0.0-build-43c02e0-20251224011947",
|
|
40
|
+
"@xyd-js/uniform": "0.0.0-build-43c02e0-20251224011947"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^20.9.0",
|