@gotza02/sequential-thinking 2026.3.6 → 2026.3.7

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 +6 -2
  2. package/package.json +1 -1
package/dist/lib.js CHANGED
@@ -615,13 +615,17 @@ ${typeof wrappedThought === 'string' && wrappedThought.startsWith('│') ? wrapp
615
615
  }
616
616
  // --- 📊 Update Confidence Score ---
617
617
  if (warnings.length > 0)
618
- this.confidenceScore -= (10 * warnings.length);
618
+ this.confidenceScore -= (5 * warnings.length);
619
619
  if (input.thoughtType === 'observation') {
620
620
  const isError = input.toolResult?.toLowerCase().includes('error');
621
621
  if (isError)
622
622
  this.confidenceScore -= 10;
623
623
  else
624
- this.confidenceScore = Math.min(100, this.confidenceScore + 5);
624
+ this.confidenceScore = Math.min(100, this.confidenceScore + 10);
625
+ }
626
+ else if (input.thoughtType === 'solution' && warnings.length === 0) {
627
+ // Bonus for clean solution
628
+ this.confidenceScore = Math.min(100, this.confidenceScore + 20);
625
629
  }
626
630
  // C. Update State
627
631
  this.addToMemory(input);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gotza02/sequential-thinking",
3
- "version": "2026.3.6",
3
+ "version": "2026.3.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },