|
| 1 | +# Session 030 — Claude Thinking Effort Settings Release |
| 2 | + |
| 3 | +**Date:** 2026-04-04 10:17 (CEST) |
| 4 | +**Branch:** main |
| 5 | +**Version:** 1.1.880 |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +# 1. Work Done in This Session |
| 10 | + |
| 11 | +## Work summary |
| 12 | +- Replaced Claude `thinking.maxTokens` with explicit effort-based settings across extension storage, UI state, Core applied turn config, and Claude SDK runtime options, while preserving legacy snapshot migration. |
| 13 | +- Fixed Claude model-sync semantics so Session UI can reflect the selected effort through runtime identity instead of treating Claude thinking as a plain on/off toggle, and repaired the missing `thinkingDisplaySyncEnabled` path in Core provider settings snapshots. |
| 14 | +- Resolved the release-gate regression triggered by `Object.hasOwn(...)` under the root TypeScript target, then rebuilt the `1.1.880` core artefact and refreshed the tracked core manifest checksum before packaging. |
| 15 | +- Completed the final release cycle and produced `codeai-hub-1.1.880.vsix`. |
| 16 | + |
| 17 | +## Verification |
| 18 | +- `npx tsc -p . --noEmit` |
| 19 | +- `npm run build --workspace @codeai-hub/core` |
| 20 | +- `./scripts/build-core.sh --version 1.1.880` |
| 21 | +- `./scripts/build-release.sh --use-current-version` |
| 22 | + - confirmed `Step 7: Verifying SDK exclusions` |
| 23 | + - confirmed `Removing dev dependencies before packaging` |
| 24 | + - confirmed `✅ Package created` |
| 25 | + - confirmed `✅ VSIX runtime package surface verified` |
| 26 | + |
| 27 | +## Git commits |
| 28 | +- `f7a0bb2a fix(claude-thinking): replace max tokens with effort settings` |
| 29 | +- `2206d00c build(release): assemble claude effort settings release` |
| 30 | +- `730030b0 fix(release): restore hasown compile compatibility` |
| 31 | +- `c471e357 build(core): refresh 1.1.880 manifest after compatibility fix` |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | +# 2. Instructions for Next Session |
| 36 | + |
| 37 | +## Required documents to review before work |
| 38 | +1. `doc/SolidWorks-WorkFlow/README.md` |
| 39 | +2. `doc/SolidWorks-WorkFlow/Docs_Index.md` |
| 40 | +3. `doc/SolidWorks-WorkFlow/System/SystemArchitecture.md` |
| 41 | +4. `doc/TODO/todo-plan.md` |
| 42 | +5. `doc/Sessions/Session030.md` (THIS REPORT) |
| 43 | + |
| 44 | +> Next: open `doc/SolidWorks-WorkFlow/Modules/Claude.md`, `doc/SolidWorks-WorkFlow/Contracts/EffectiveModelIdentity_And_Settings_SSOT.md`, and `doc/SolidWorks-WorkFlow/Plans/Claude_Thinking_Effort_Settings.md` before changing Claude settings/runtime behavior again. |
| 45 | +
|
| 46 | +## Plans for next session |
| 47 | +- Manually validate release `1.1.880` in the packaged UI: switch Claude effort levels, confirm Session model sync reflects the selected effort, and verify visible thinking remains localized according to `Messages for the User`. |
| 48 | +- If Claude upstream changes effort semantics again, keep using explicit applied-turn config fields instead of numeric token heuristics and update SSOT/docs in the same change. |
0 commit comments