@curenorway/kode-mcp 1.6.0 → 1.7.0

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2540,12 +2540,16 @@ Use kode_list_pages_context to see cached pages, or kode_refresh_page to cache a
2540
2540
  try {
2541
2541
  const scripts = await client.listScripts(siteId);
2542
2542
  const pages = await client.listPages(siteId);
2543
+ const deployStatus = await client.getDeploymentStatus(siteId).catch(() => null);
2544
+ const productionEnabled = deployStatus?.productionEnabled ?? false;
2543
2545
  let text = `Documentation synced:
2544
2546
 
2545
2547
  `;
2546
2548
  text += `Scripts: ${scripts.length}
2547
2549
  `;
2548
2550
  text += `Pages: ${pages.length}
2551
+ `;
2552
+ text += `Production: ${productionEnabled ? "Enabled" : "Disabled (staging only)"}
2549
2553
 
2550
2554
  `;
2551
2555
  if (scripts.length > 0) {
@@ -2584,6 +2588,9 @@ Use kode_list_pages_context to see cached pages, or kode_refresh_page to cache a
2584
2588
  `;
2585
2589
  kodeMd += `> **This file is auto-generated.** Do not edit manually.
2586
2590
 
2591
+ `;
2592
+ kodeMd += `**Produksjon:** ${productionEnabled ? "\u2713 Aktivert \u2014 deploy til staging og produksjon" : "\u25CB Deaktivert \u2014 kun staging. Ikke hent fra produksjons-URL."}
2593
+
2587
2594
  ---
2588
2595
 
2589
2596
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curenorway/kode-mcp",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "MCP server for Cure Kode CDN - enables AI agents to manage, deploy, and analyze Webflow scripts",
5
5
  "type": "module",
6
6
  "bin": {