@yeaft/webchat-agent 1.0.577 → 1.0.579

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.
@@ -1 +1 @@
1
- {"version":"1.0.577"}
1
+ {"version":"1.0.579"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "1.0.577",
3
+ "version": "1.0.579",
4
4
  "description": "Remote worker agent for Yeaft Web Code Agent — connects the native Yeaft engine, CLI providers, and workbench tools",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/yeaft/models.js CHANGED
@@ -496,8 +496,9 @@ function inferThinkingCapability(model) {
496
496
  return { supportsThinking: true, thinkingProtocol: 'openai-reasoning', defaultEffort: null, maxBudgetTokens: null };
497
497
  }
498
498
 
499
- // Claude Opus 4.7/4.8 expose the full adaptive effort set, including xhigh.
500
- if (/^claude-opus-4[-.]?(7|8)($|-|\.)/.test(id)) {
499
+ // Claude Opus 4.7/4.8 and every Claude 5+ generation (e.g. claude-opus-5.5,
500
+ // claude-sonnet-5) use adaptive thinking with output_config.effort.
501
+ if (/^claude-opus-4[-.]?(7|8)($|-|\.)/.test(id) || /^claude-(opus|sonnet|haiku)-([5-9]|[1-9]\d)($|-|\.)/.test(id)) {
501
502
  return {
502
503
  supportsThinking: true,
503
504
  thinkingProtocol: 'anthropic-adaptive',