@tekyzinc/gsd-t 2.54.11 → 2.55.10
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/bin/gsd-t.js +31 -0
- package/package.json +1 -1
package/bin/gsd-t.js
CHANGED
|
@@ -517,6 +517,34 @@ function configureAutoRouteHook(scriptPath) {
|
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
+
// ─── Figma MCP ──────────────────────────────────────────────────────────────
|
|
521
|
+
|
|
522
|
+
const FIGMA_MCP_URL = "https://mcp.figma.com/mcp";
|
|
523
|
+
|
|
524
|
+
function configureFigmaMcp() {
|
|
525
|
+
const parsed = readSettingsJson();
|
|
526
|
+
if (parsed === null && fs.existsSync(SETTINGS_JSON)) {
|
|
527
|
+
warn("settings.json has invalid JSON — cannot configure Figma MCP");
|
|
528
|
+
return;
|
|
529
|
+
}
|
|
530
|
+
const settings = parsed || {};
|
|
531
|
+
|
|
532
|
+
if (settings.mcpServers && settings.mcpServers.figma) {
|
|
533
|
+
info("Figma MCP already configured");
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
if (!settings.mcpServers) settings.mcpServers = {};
|
|
538
|
+
settings.mcpServers.figma = { url: FIGMA_MCP_URL };
|
|
539
|
+
|
|
540
|
+
if (!isSymlink(SETTINGS_JSON)) {
|
|
541
|
+
fs.writeFileSync(SETTINGS_JSON, JSON.stringify(settings, null, 2));
|
|
542
|
+
success("Figma MCP configured (remote: " + FIGMA_MCP_URL + ")");
|
|
543
|
+
} else {
|
|
544
|
+
warn("Skipping settings.json write — target is a symlink");
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
520
548
|
// ─── Utility Scripts ─────────────────────────────────────────────────────────
|
|
521
549
|
|
|
522
550
|
const UTILITY_SCRIPTS = ["gsd-t-tools.js", "gsd-t-statusline.js", "gsd-t-event-writer.js", "gsd-t-dashboard-server.js", "gsd-t-dashboard.html"];
|
|
@@ -832,6 +860,9 @@ function doInstall(opts = {}) {
|
|
|
832
860
|
heading("Auto-Route (UserPromptSubmit)");
|
|
833
861
|
installAutoRoute();
|
|
834
862
|
|
|
863
|
+
heading("Figma MCP (Design-to-Code)");
|
|
864
|
+
configureFigmaMcp();
|
|
865
|
+
|
|
835
866
|
heading("Utility Scripts");
|
|
836
867
|
installUtilityScripts();
|
|
837
868
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekyzinc/gsd-t",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.55.10",
|
|
4
4
|
"description": "GSD-T: Contract-Driven Development for Claude Code — 51 slash commands with headless CI/CD mode, graph-powered code analysis, real-time agent dashboard, execution intelligence, task telemetry, doc-ripple enforcement, backlog management, impact analysis, test sync, milestone archival, and PRD generation",
|
|
5
5
|
"author": "Tekyz, Inc.",
|
|
6
6
|
"license": "MIT",
|