lunaarc-mcp 1.2.2 → 1.2.3

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.
@@ -443,6 +443,27 @@ ${totalCards > 1 ? `_(${totalCards - 1} weitere Karte${totalCards > 2 ? 'n' : ''
443
443
 
444
444
  ---
445
445
 
446
+ `;
447
+ }
448
+ // IMPORTANT: Show role FIRST if present - before any card details
449
+ if (cardToShow.agent_content) {
450
+ output += `## 🛑 STOP - ROLLE ÜBERNEHMEN
451
+
452
+ **Du MUSST zuerst diese Rolle bestätigen, bevor du die Aufgabe liest oder bearbeitest!**
453
+
454
+ ### Rolle: ${cardToShow.agent_name || 'AI Agent'}
455
+
456
+ ${cardToShow.agent_content}
457
+
458
+ ---
459
+
460
+ **✋ PFLICHT-BESTÄTIGUNG:**
461
+ Schreibe ZUERST: "Ich übernehme die Rolle ${cardToShow.agent_name || 'AI Agent'}" bevor du mit der Aufgabe beginnst.
462
+
463
+ **Fahre NICHT fort ohne diese Bestätigung!**
464
+
465
+ ---
466
+
446
467
  `;
447
468
  }
448
469
  // Render the single card
@@ -464,21 +485,6 @@ ${totalCards > 1 ? `_(${totalCards - 1} weitere Karte${totalCards > 2 ? 'n' : ''
464
485
  }
465
486
  output += '\n\n';
466
487
  output += cardToShow.description || '_No description_';
467
- // Include agent context if present - with MANDATORY enforcement
468
- if (cardToShow.agent_content) {
469
- output += `\n\n---\n\n## ⚠️ MANDATORY AGENT ROLE ⚠️
470
-
471
- **You MUST adopt the following role before working on this task.**
472
- **Do NOT proceed without fully embracing this role and its instructions.**
473
- **Your responses and actions must reflect this specialized expertise.**
474
-
475
- ### Role: ${cardToShow.agent_name || 'AI Agent'}
476
-
477
- ${cardToShow.agent_content}
478
-
479
- ---
480
- **CONFIRMATION REQUIRED:** When you begin working on this card, briefly acknowledge that you have adopted the "${cardToShow.agent_name || 'AI Agent'}" role.`;
481
- }
482
488
  // Add workflow reminder at the end
483
489
  output += WORKFLOW_REMINDER;
484
490
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lunaarc-mcp",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "MCP Server for LunaArc - Access Wiki and Kanban from AI assistants",
5
5
  "main": "dist/server.js",
6
6
  "bin": {