@gotza02/sequential-thinking 2026.3.3 → 2026.3.5

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/lib.js +3 -3
  2. package/package.json +1 -1
package/dist/lib.js CHANGED
@@ -445,13 +445,13 @@ ${typeof wrappedThought === 'string' && wrappedThought.startsWith('│') ? wrapp
445
445
  }
446
446
  }
447
447
  // --- 📊 FEATURE 4: Meta-Cognition Score Check ---
448
- if (this.confidenceScore < 50) {
448
+ if (this.confidenceScore < 50 && input.thoughtType !== 'reflexion' && input.thoughtType !== 'analysis') {
449
449
  return {
450
450
  content: [{
451
451
  type: "text",
452
452
  text: JSON.stringify({
453
453
  status: "CRITICAL_STOP",
454
- feedback: ["🚨 CONFIDENCE TOO LOW (<50). Please request human intervention via 'ask_human' tool."],
454
+ feedback: ["🚨 CONFIDENCE TOO LOW (<50). Execution blocked. Please use 'reflexion' or 'analysis' to self-correct, or request human intervention."],
455
455
  confidenceScore: this.confidenceScore
456
456
  }, null, 2)
457
457
  }],
@@ -619,7 +619,7 @@ ${typeof wrappedThought === 'string' && wrappedThought.startsWith('│') ? wrapp
619
619
  if (input.thoughtType === 'observation') {
620
620
  const isError = input.toolResult?.toLowerCase().includes('error');
621
621
  if (isError)
622
- this.confidenceScore -= 20;
622
+ this.confidenceScore -= 10;
623
623
  else
624
624
  this.confidenceScore = Math.min(100, this.confidenceScore + 5);
625
625
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gotza02/sequential-thinking",
3
- "version": "2026.3.3",
3
+ "version": "2026.3.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },