Skip to content

fix: pause downshift on manual thinking level changes - #23

Merged
boadij merged 2 commits into
mainfrom
fix/manual-thinking-level-change
Jul 9, 2026
Merged

fix: pause downshift on manual thinking level changes#23
boadij merged 2 commits into
mainfrom
fix/manual-thinking-level-change

Conversation

@boadij

@boadij boadij commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pause Downshift when a manual thinking_level_select event changes the active thinking level.
  • Share manual model-state pause handling between model and thinking-level changes.
  • Guard both model and thinking-level changes initiated by Downshift so they are not treated as manual changes.
  • Align Pi development dependencies with the current extension API and register agent_settled through the typed ExtensionAPI.

Tests

  • npm ci
  • npm run check
  • npm pack --dry-run

All checks pass. The test suite reports 36 passing tests.

Compatibility

No configuration or persisted state format changes were made. Manual thinking-level changes now follow the existing safety behavior for manual model changes by pausing instead of guessing the intended Downshift target.

boadij added 2 commits July 10, 2026 01:48
Register the current thinking_level_select event and share manual model-state pause handling so external thinking changes cannot leave stale handoff state or target tracking. Guard both model and thinking-level updates initiated by Downshift, update the adapter and core tests, and align Pi development dependencies so agent_settled can use the typed ExtensionAPI directly.

Tests: npm run check
Packaging: npm pack --dry-run
Apply the repository Prettier formatting to the Downshift core and adapter files.
@boadij
boadij merged commit 71d1a3c into main Jul 9, 2026
1 check 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