Skip to content

feat: add [switch.picker] config with configurable timeout#1087

Merged
max-sixty merged 5 commits intomainfrom
switch-speed
Feb 17, 2026
Merged

feat: add [switch.picker] config with configurable timeout#1087
max-sixty merged 5 commits intomainfrom
switch-speed

Conversation

@max-sixty
Copy link
Copy Markdown
Owner

Summary

  • Migrate [select] config → [switch.picker] with backward compat and deprecation guidance
  • Add timeout-ms to [switch.picker] (default: 200ms, 0 = no timeout) replacing the hardcoded 500ms picker command timeout
  • Add test_config_docs_include_all_sections to catch undocumented config sections

Test plan

  • 530 unit tests pass
  • 1058 integration tests pass
  • All lints pass (pre-commit)
  • Help text snapshots updated
  • Docs, example config, and skills auto-synced
  • Deprecation detection and TOML migration tested (including snapshot)

This was written by Claude Code on behalf of @max-sixty

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

max-sixty and others added 4 commits February 17, 2026 13:13
Migrate [select] → [switch.picker] with backward compatibility.
Add timeout-ms (default: 200ms, 0 = disable) replacing the hardcoded
500ms picker command timeout.

Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts:
#	src/config/deprecation.rs
Update [select] → [switch.picker] in CLI help text, example config, and
docs. Add test_config_docs_include_all_sections to verify new config
sections are documented. DRY up pager.rs fallback via switch_picker()
accessor.

Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts:
#	src/config/deprecation.rs
Co-Authored-By: Claude <noreply@anthropic.com>
@max-sixty max-sixty merged commit 41eaf85 into main Feb 17, 2026
22 checks passed
@max-sixty max-sixty deleted the switch-speed branch February 17, 2026 22:59
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.

2 participants