Skip to content

Tupychka/dev#20

Merged
tmlxrd merged 3 commits into
devfrom
tupychka/dev
Jun 8, 2026
Merged

Tupychka/dev#20
tmlxrd merged 3 commits into
devfrom
tupychka/dev

Conversation

@tmlxrd

@tmlxrd tmlxrd commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Changes

Screenshots / GIFs

How to test

Checklist

  • PR targets dev
  • npm run typecheck passes
  • npm run build passes
  • Updated CHANGELOG.md under [Unreleased] if user-visible
  • Updated ROADMAP.md if a planned item is now done
  • No new heavyweight dependencies (or motivated in the description)

tmlxrd and others added 3 commits June 8, 2026 11:01
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ebar on mode switch

Two linked regressions:

- New-chat default no longer prefers Full Power when the gateway is up. It's
  key-based again: OpenRouter key set -> Work; no key + OpenClaw installed ->
  Full Power; otherwise Work. (Also keeps the 'OpenClaw is off' banner hidden
  for key users, since it's gated on mode === 'execute'.)
- POST /chats/:id/mode no longer broadcasts updatedAt for draft chats, so
  switching mode on a freshly-created draft stops leaking the empty chat into
  the sidebar (the client upserts a row on any updatedAt). mode still syncs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The toggle only controlled visibility of the model's chain-of-thought (the
actual effort knob, thinkingLevel, was never wired up), and behaved the same
on/off in practice. Removed across the stack:

- UI: header toggle + icon (header-chat-tools.ejs, header-tool-icon.ejs).
- Client: change handler, cross-tab sync, turn-reasoning case, render helpers,
  finalize calls, draft reveal, dead selectors (iclaw.js); CSS rules.
- Route: POST /chats/:id/reasoning.
- Gateway: the 'reasoning' event type and the whole patchSession (its only
  caller was that route); analysis/chain-of-thought items are now dropped.
- Store/types/DB: setReasoningMode, reasoning_mode field + column,
  reasoningMode + turn-reasoning protocol types.
- Tests: dropped the reasoning-specific cases.

Existing DBs keep a harmless unused reasoning_mode column.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tmlxrd
tmlxrd merged commit e047b62 into dev Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant