The Wire · Showcase
LANGCHAIN TIGHTENS TOOL MIDDLEWARE, CLINE SHIPS REASONING UNIFICATION
By RepoJournal · Filed · About AI Agents
LangChain adds missing state_schema to wrap_tool_call for consistency across all middleware decorators, while Cline v3.0.51 resolves reasoning settings portably across AI SDK providers instead of per-provider thinking overrides.
LangChain closed a gap in its middleware decorator API by adding the `state_schema` parameter to `wrap_tool_call` [1], bringing it into parity with `before_model`, `after_model`, `wrap_model_call`, `before_agent`, and `after_agent`. In parallel, a critical fix restricts narrowed `ToolStrategy` in bound tools [3], ensuring that when middleware overrides narrow a union of structured-output schemas, the model can only choose from the effective subset, not the original full set. Model profile data refreshed across three providers [2], removing the dated `claude-opus-4-1-20250805` variant from Anthropic's roster. On the OpenHands front, the desktop app gained per-run LLM cost tracking in the Activity Log and exports [6], shipped multi-size icons for Windows and macOS [5], and rebranded to OpenHands Agent Canvas with UI polish [4]. Cline v3.0.51 and SDK v0.0.71 unified reasoning effort handling so that settings "now resolve portably across AI SDK providers" [7], eliminating fragmented per-provider thinking overrides and ensuring explicit disable requests take priority everywhere, including Ollama. The desktop app also landed a suite of polish fixes addressing silent turn failures, message duplication, and stuck composer, plus first-run setup guidance [10]. MCP gains an uninstall command [9] and OAuth support for pre-registered remote clients [11].
One email a day. Unsubscribe in one click.
Keep up with AI Agents in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review wrap_tool_call usage in agents relying on state_schema for middleware consistency [ref:2] langchain-ai/langchain [plan]
- → Upgrade Cline CLI to v3.0.51 and SDK to v0.0.71 to unify reasoning settings across all providers [ref:11, ref:12] cline/cline [monitor]
- → Test OpenHands desktop app first-run flow and cost tracking in Activity Log [ref:9, ref:14] OpenHands/OpenHands [monitor]
References
- [1] feat(langchain): add `state_schema` param to `wrap_tool_call` ↗ langchain-ai/langchain
- [2] chore(model-profiles): refresh model profile data (#39299) langchain-ai/langchain
- [3] fix(langchain): restrict narrowed `ToolStrategy` in bound tools ↗ langchain-ai/langchain
- [4] feat(settings): polish Agent Canvas version update UI ↗ OpenHands/OpenHands
- [5] fix: ship multi-size app icons for Windows and macOS ↗ OpenHands/OpenHands
- [6] feat: show per-run LLM cost in the Activity Log and exports ↗ OpenHands/OpenHands
- [7] CLI v3.0.51 ↗ cline/cline
- [8] SDK v0.0.71 ↗ cline/cline
- [9] feat(cli): add mcp uninstall command ↗ cline/cline
- [10] desktop: fix silent turn failures, message duplication, and stuck composer; add first-run setup guidance ↗ cline/cline
- [11] feat(core): support pre-registered OAuth clients for remote MCP ↗ cline/cline