pigment-mcp 0.4.0 → 0.4.1
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/cli.js +3 -5
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -34854,8 +34854,7 @@ var init_src2 = __esm({
|
|
|
34854
34854
|
// ../content/src/prompts.ts
|
|
34855
34855
|
function specRef(id2, delivery) {
|
|
34856
34856
|
if (delivery === "url") return `Spec: ${SITE_URL}/s/${id2}/agent.md`;
|
|
34857
|
-
|
|
34858
|
-
return `Spec: dist/agent.md in the ${id2} package, unzipped under ./design-packages/`;
|
|
34857
|
+
return "Read the spec with the Pigment MCP tools (get_design_system, get_component_spec).";
|
|
34859
34858
|
}
|
|
34860
34859
|
function buildPrompt(id2, mode2, delivery) {
|
|
34861
34860
|
const spec = specRef(id2, delivery);
|
|
@@ -34898,7 +34897,7 @@ var init_package = __esm({
|
|
|
34898
34897
|
"package.json"() {
|
|
34899
34898
|
package_default = {
|
|
34900
34899
|
name: "@pigment/mcp",
|
|
34901
|
-
version: "0.4.
|
|
34900
|
+
version: "0.4.1",
|
|
34902
34901
|
private: true,
|
|
34903
34902
|
type: "module",
|
|
34904
34903
|
description: "MCP server for Pigment design systems: tokens, rules, component specs and installation guides for your coding agent.",
|
|
@@ -35038,7 +35037,7 @@ function createServer() {
|
|
|
35038
35037
|
"get_references",
|
|
35039
35038
|
{
|
|
35040
35039
|
title: "Get references",
|
|
35041
|
-
description: "Screenshots of four reference apps (dashboard, store, blog, settings) restyled with this system by an agent \u2014 desktop and mobile, light and dark \u2014 plus links to the system page
|
|
35040
|
+
description: "Screenshots of four reference apps (dashboard, store, blog, settings) restyled with this system by an agent \u2014 desktop and mobile, light and dark \u2014 plus links to the system page and the spec.",
|
|
35042
35041
|
inputSchema: external_exports.object({ id, app: external_exports.string().optional().describe("Only one app: dashboard, commerce, blog or settings") }),
|
|
35043
35042
|
annotations: { readOnlyHint: true }
|
|
35044
35043
|
},
|
|
@@ -35050,7 +35049,6 @@ function createServer() {
|
|
|
35050
35049
|
updated: updated(args.id),
|
|
35051
35050
|
page: `${SITE_URL}/s/${args.id}`,
|
|
35052
35051
|
spec: `${SITE_URL}/s/${args.id}/agent.md`,
|
|
35053
|
-
package: `${SITE_URL}/download/${args.id}`,
|
|
35054
35052
|
screenshots: shots
|
|
35055
35053
|
},
|
|
35056
35054
|
null,
|