Merge pull request #1223 from trek-e/fix/remote-session-menu-fallback-1214

fix(workflows): text_mode config for Claude Code remote session compatibility
This commit is contained in:
Tom Boucher
2026-03-19 12:13:10 -04:00
committed by GitHub
6 changed files with 36 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ const VALID_CONFIG_KEYS = new Set([
'search_gitignored', 'brave_search',
'workflow.research', 'workflow.plan_check', 'workflow.verifier',
'workflow.nyquist_validation', 'workflow.ui_phase', 'workflow.ui_safety_gate',
'workflow.text_mode',
'workflow._auto_chain_active',
'git.branching_strategy', 'git.phase_branch_template', 'git.milestone_branch_template', 'git.quick_branch_template',
'planning.commit_docs', 'planning.search_gitignored',

View File

@@ -65,6 +65,7 @@ function loadConfig(cwd) {
nyquist_validation: true,
parallelization: true,
brave_search: false,
text_mode: false, // when true, use plain-text numbered lists instead of AskUserQuestion menus
resolve_model_ids: false, // when true, resolve aliases (opus/sonnet/haiku) to full model IDs
context_window: 200000, // default 200k; set to 1000000 for Opus/Sonnet 4.6 1M models
phase_naming: 'sequential', // 'sequential' (default, auto-increment) or 'custom' (arbitrary string IDs)
@@ -111,6 +112,7 @@ function loadConfig(cwd) {
nyquist_validation: get('nyquist_validation', { section: 'workflow', field: 'nyquist_validation' }) ?? defaults.nyquist_validation,
parallelization,
brave_search: get('brave_search') ?? defaults.brave_search,
text_mode: get('text_mode', { section: 'workflow', field: 'text_mode' }) ?? defaults.text_mode,
resolve_model_ids: get('resolve_model_ids') ?? defaults.resolve_model_ids,
context_window: get('context_window') ?? defaults.context_window,
phase_naming: get('phase_naming') ?? defaults.phase_naming,