@nbiish/cognitive-tools-mcp 10.0.1 → 10.0.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.
package/README.md CHANGED
@@ -22,9 +22,9 @@
22
22
  ◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
23
23
  </div>
24
24
 
25
- Revolutionary MCP server with Enhanced 2-Round, 6-Stage Cognitive Deliberation Framework (v8.9.6). The `deliberate` tool implements an **LLM-guided cognitive enhancement framework** that prompts LLMs to evaluate and select from **15 modern cognitive techniques** using a **0.00-0.99 scoring system** with **≥1.53 threshold rule** - accepting only `input` and `context` parameters. *(Integration guidelines in [`latest.md`](latest.md) are licensed under [LICENSE](LICENSE).)*
25
+ Revolutionary MCP server with Enhanced 2-Round, 6-Stage Cognitive Deliberation Framework (v10.0.2). The `deliberate` tool implements an **LLM-guided cognitive enhancement framework** that prompts LLMs to evaluate and select from **15 modern cognitive techniques** using a **0.00-0.99 scoring system** with **≥1.53 threshold rule** - accepting only `input` and `context` parameters. *(Integration guidelines in [`latest.md`](latest.md) are licensed under [LICENSE](LICENSE).)*
26
26
 
27
- **🚀 MAJOR BREAKTHROUGH (v8.9.6):** Complete architectural transformation from hardcoded `CognitiveDeliberationEngine` to LLM-guided `DeliberationEngine`. The tool now functions as a **cognitive framework enhancer** that prompts LLMs to evaluate techniques themselves rather than providing pre-calculated scores, enabling true adaptive reasoning.
27
+ **🚀 MAJOR UPDATE (v10.0.2):** Fixed critical variable reference bug that was causing "ReferenceError: prompt is not defined" when using the deliberation tool. The tool now properly references the `input` parameter throughout the framework, ensuring reliable operation for all LLM implementations without input restrictions.
28
28
 
29
29
  Known as:
30
30
  - Anishinaabemowin: [`@nbiish/gikendaasowin-aabajichiganan-mcp`](https://www.npmjs.com/package/@nbiish/gikendaasowin-aabajichiganan-mcp)
@@ -40,7 +40,7 @@ Both packages are maintained in parallel and receive the same updates. You can u
40
40
 
41
41
  ## ᐴ REPOSITORY STRUCTURE ᔔ [MAZINAAZIWIN] ◈──◆──◇──◆──◈
42
42
 
43
- Current repository structure (v8.9.6):
43
+ Current repository structure (v10.0.2):
44
44
 
45
45
  ```text
46
46
  .
@@ -78,9 +78,16 @@ Current repository structure (v8.9.6):
78
78
 
79
79
  ## ᐴ GASHKITOONAN ᔔ [ENHANCED CAPABILITIES] ◈──◆──◇──◆──◈
80
80
 
81
- ### 🚀 Revolutionary LLM-Guided Cognitive Framework (v8.9.6)
81
+ ### 🚀 Revolutionary LLM-Guided Cognitive Framework (v10.0.2)
82
82
 
83
- **NEW IN v8.9.6: COMPLETE ARCHITECTURAL TRANSFORMATION**
83
+ **FIXED IN v10.0.2: CRITICAL VARIABLE REFERENCE BUG**
84
+
85
+ - **Critical Bug Fix:** Resolved "ReferenceError: prompt is not defined" error that prevented LLM usage
86
+ - **Proper Parameter Usage:** Tool now correctly references the `input` parameter throughout the deliberation framework
87
+ - **Enhanced Reliability:** No more runtime errors when LLMs call the deliberation tool
88
+ - **Unrestricted Usage:** LLMs can now use this MCP tool without any input restrictions or failures
89
+
90
+ **Core Framework Features (Maintained from v8.9.6):**
84
91
 
85
92
  - **LLM-Guided Evaluation:** Tool prompts LLMs to evaluate cognitive techniques rather than providing hardcoded scores
86
93
  - **True Adaptive Reasoning:** No pre-calculated evaluations - LLMs determine optimal strategies dynamically
package/build/index.js CHANGED
@@ -66,7 +66,7 @@ class DeliberationEngine {
66
66
 
67
67
  ## Stage 1: Scientific Investigation
68
68
  **Your Task:** Analyze the following prompt using scientific methodology:
69
- - **Prompt:** "${prompt}"
69
+ - **Prompt:** "${input}"
70
70
 
71
71
  **Please identify:**
72
72
  1. Core question/problem
@@ -119,13 +119,13 @@ Apply rapid validation checks:
119
119
 
120
120
  ---
121
121
 
122
- **Now:** Apply your selected cognitive technique(s) to actually solve the original problem "${prompt}" using your enhanced reasoning framework.`;
122
+ **Now:** Apply your selected cognitive technique(s) to actually solve the original problem "${input}" using your enhanced reasoning framework.`;
123
123
  }
124
124
  }
125
125
  // MCP Server setup with 6-stage cognitive deliberation framework
126
126
  const server = new Server({
127
127
  name: "gikendaasowin-aabajichiganan-mcp",
128
- version: "10.0.0", // /// [6-stage deliberation with 0.00-0.99 scoring system]
128
+ version: "10.0.2", // /// [6-stage deliberation with 0.00-0.99 scoring system + prompt variable fix]
129
129
  }, {
130
130
  capabilities: {
131
131
  tools: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbiish/cognitive-tools-mcp",
3
- "version": "10.0.1",
3
+ "version": "10.0.3",
4
4
  "description": "Revolutionary Single-Tool-Call MCP server with Enhanced 6-Stage Cognitive Deliberation Framework combining Scientific Investigation, OOReD, and Critical Thinking methodologies with DYNAMIC prompting strategy evaluation system (CoT, ToT, Self-Consistency, Meta-Prompting, Role-Based).",
5
5
  "private": false,
6
6
  "type": "module",