@blockrun/clawrouter 0.10.9 → 0.10.10

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/dist/index.js CHANGED
@@ -1171,7 +1171,7 @@ function classifyByRules(prompt, systemPrompt, estimatedTokens, config) {
1171
1171
  { none: 0, low: 0.5, high: 0.8 }
1172
1172
  )
1173
1173
  ];
1174
- const agenticResult = scoreAgenticTask(text, config.agenticTaskKeywords);
1174
+ const agenticResult = scoreAgenticTask(userText, config.agenticTaskKeywords);
1175
1175
  dimensions.push(agenticResult.dimensionScore);
1176
1176
  const agenticScore = agenticResult.agenticScore;
1177
1177
  const signals = dimensions.filter((d) => d.signal !== null).map((d) => d.signal);