feat: em ai runtime switching, extra_args, and em catch#400
Merged
Conversation
Three features: runtime AI backend switching (em ai), Gemini extra_args support, and cross-dispatcher em catch integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add `em ai` runtime backend switching (claude/gemini/none/auto/toggle) - Add `_em_ai_switch`, `_em_ai_toggle`, `_em_ai_status` functions - Add `gemini_extra_args` / `claude_extra_args` to _EM_AI_BACKENDS - Fix `_em_ai_backend_for_op` to read live FLOW_EMAIL_AI env var - Add `em catch <ID>` email-to-task capture with AI summary + fallback - Add Ctrl-T=catch fzf keybind in email picker - Update help text, doctor output, and MASTER-DISPATCHER-GUIDE - Add 31 tests (22 ai-switch + 9 catch) — all passing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Automated e2e suite (38 tests): file structure, routing, status, switch, toggle, extra_args, catch with mocked AI, help, docs, fzf - Interactive dogfooding suite (14 tests): guided QA with expected behavior comparison and judgment logging Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…+ em catch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Data-Wise
pushed a commit
that referenced
this pull request
Feb 18, 2026
- Update v7.2.0 → v7.2.1 across 14 doc files - Fix em command count 18 → 20 in refcard - Fix test file count 134 → 137 in CLAUDE.md - Add [Unreleased] changelog entry for em ai/catch features - Update .STATUS with merged PR #400 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
em aisubcommand: Runtime backend switching (em ai claude|gemini|none|auto|toggle), status display, and liveFLOW_EMAIL_AImutationextra_argssupport: Configurable CLI flags per backend (e.g., Gemini's-e nonefor fast startup viaFLOW_EMAIL_GEMINI_EXTRA_ARGS)em catchcommand: Email-to-task capture with AI summary, subject-line fallback, andcatchintegrationCtrl-Tkeybind inem pickto catch emails inlineTest plan
em-ai-switchtests passingem-catchtests passingsource flow.plugin.zshloads cleanlybash tests/cli/em-ai-interactive-tests.shwith himalaya configured🤖 Generated with Claude Code