qwen-code/packages/cli/src/utils
tanzhenxin b48e3caa75 feat(shell): enable PTY by default and various enhancements
### Shell & Interactive Terminal Improvements
- PTY shell is now enabled by default instead of disabled
- Improved shell output rendering, process termination, and added fallback warning
- Background commands now properly capture subprocess PIDs on non-Windows

### Coding Plan Improvements
- Simplified auth message, added /model tip, improved system info display
- Reordered model list to prioritize glm-5, kimi-k2.5, MiniMax-M2.5
- Model selection is now preserved when updating if the model still exists

### Other Changes
- Added shared symlink utility; debug logs now have latest alias
- Unknown settings warnings go to debug log instead of user-facing warnings
- Fixed subagent confirmation state detection
- Removed debug UI from AgentCreationWizard

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-05 11:28:13 +08:00
..
acpModelUtils.test.ts fix: provide available models of all configured authTypes 2026-02-01 19:54:31 +08:00
acpModelUtils.ts feat: support runtime model selection for both interactive and ACP 2026-02-02 17:52:50 +08:00
attentionNotification.test.ts feat: Add Terminal Attention Notifications for User Alerts (#1052) 2025-11-18 13:43:43 +08:00
attentionNotification.ts feat(cli): migrate console calls to debugLogger and stdioHelpers (M3 Phase 7-9) 2026-01-26 15:02:37 +08:00
checks.ts chore(build/compiler): Enable a bunch of strict TS compiler options. (#6138) 2025-08-13 20:17:38 +00:00
cleanup.test.ts [ide-mode] Close all open diffs when the CLI gets closed (#5792) 2025-08-08 15:38:30 +00:00
cleanup.ts Merge tag 'v0.3.0' into chore/sync-gemini-cli-v0.3.0 2025-09-11 16:26:56 +08:00
commands.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
commands.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
commentJson.test.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
commentJson.ts feat(cli): migrate console calls to debugLogger and stdioHelpers (M3 Phase 7-9) 2026-01-26 15:02:37 +08:00
deepMerge.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
deepMerge.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
dialogScopeUtils.ts Add Interactive Approval Mode Dialog (#1012) 2025-11-13 19:02:53 +08:00
envVarResolver.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
envVarResolver.ts feat: move extension to core package 2026-01-14 15:30:27 +08:00
errors.test.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
errors.ts feat(cli): migrate console calls to debugLogger and stdioHelpers (M3 Phase 7-9) 2026-01-26 15:02:37 +08:00
events.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
gitUtils.test.ts Handle PAT tokens and credentials in git remote URL parsing (#1225) 2025-12-18 00:44:46 +08:00
gitUtils.ts feat(core,cli): migrate console.debug to debugLogger (M3 Phase 1-3) 2026-01-25 20:57:25 +08:00
handleAutoUpdate.test.ts Rename disable* settings to enable* and consolidated 1 setting 2026-02-01 16:04:49 +08:00
handleAutoUpdate.ts Rename disable* settings to enable* and consolidated 1 setting 2026-02-01 16:04:49 +08:00
installationInfo.test.ts Merge remote-tracking branch 'origin/main' into feat/debug-logging-refactor 2026-02-05 20:23:48 +08:00
installationInfo.ts Merge remote-tracking branch 'origin/main' into feat/debug-logging-refactor 2026-02-05 20:23:48 +08:00
languageUtils.test.ts Merge pull request #2005 from zhangxy-zju/feat/strengthen-output-language-template 2026-03-02 23:07:18 +08:00
languageUtils.ts feat(i18n): strengthen output-language.md template to enforce language compliance 2026-02-28 13:59:20 +08:00
math.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
modelConfigUtils.test.ts fix: add model resolution warnings to start warnings 2026-02-26 14:43:07 +08:00
modelConfigUtils.ts fix: add model resolution warnings to start warnings 2026-02-26 14:43:07 +08:00
nonInteractiveHelpers.test.ts feat: add MCP tool progress update support in TUI and SDK mode 2026-02-08 15:48:13 +08:00
nonInteractiveHelpers.ts feat: add MCP tool progress update support in TUI and SDK mode 2026-02-08 15:48:13 +08:00
package.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
processUtils.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
processUtils.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
readStdin.test.ts fix(cli): gemini command stuck in git bash (#6397) 2025-08-23 00:19:20 +00:00
readStdin.ts feat(cli): migrate console calls to debugLogger and stdioHelpers (M3 Phase 7-9) 2026-01-26 15:02:37 +08:00
relaunch.test.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
relaunch.ts feat(cli): migrate console calls to debugLogger and stdioHelpers (M3 Phase 7-9) 2026-01-26 15:02:37 +08:00
resolvePath.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
sandbox-macos-permissive-closed.sb fix: 🐛 fix EPERM error when run qwen --sandbox in macOS 2025-08-12 15:04:01 +08:00
sandbox-macos-permissive-open.sb fix: 🐛 fix EPERM error when run qwen --sandbox in macOS 2025-08-12 15:04:01 +08:00
sandbox-macos-permissive-proxied.sb fix: 🐛 fix EPERM error when run qwen --sandbox in macOS 2025-08-12 15:04:01 +08:00
sandbox-macos-restrictive-closed.sb fix: 🐛 fix EPERM error when run qwen --sandbox in macOS 2025-08-12 15:04:01 +08:00
sandbox-macos-restrictive-open.sb fix: 🐛 fix EPERM error when run qwen --sandbox in macOS 2025-08-12 15:04:01 +08:00
sandbox-macos-restrictive-proxied.sb fix: 🐛 fix EPERM error when run qwen --sandbox in macOS 2025-08-12 15:04:01 +08:00
sandbox.ts fix: rename GEMINI_CLI_INTEGRATION_TEST to QWEN_CODE_INTEGRATION_TEST 2026-02-27 11:38:50 +08:00
settingsUtils.test.ts Rename disable* settings to enable* and consolidated 1 setting 2026-02-01 16:04:49 +08:00
settingsUtils.ts feat(auth): backup settings file before auth modification 2026-02-26 20:38:38 +08:00
spawnWrapper.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
startupWarnings.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
startupWarnings.ts Merge tag 'v0.3.0' into chore/sync-gemini-cli-v0.3.0 2025-09-11 16:26:56 +08:00
stdioHelpers.ts feat(cli): migrate console calls to debugLogger and stdioHelpers (M3 Phase 7-9) 2026-01-26 15:02:37 +08:00
systemInfo.test.ts feat(cli): refactor about dialog and add proxy field 2026-01-19 10:54:45 +08:00
systemInfo.ts feat(shell): enable PTY by default and various enhancements 2026-03-05 11:28:13 +08:00
systemInfoFields.test.ts feat(cli): refactor about dialog and add proxy field 2026-01-19 10:54:45 +08:00
systemInfoFields.ts feat(shell): enable PTY by default and various enhancements 2026-03-05 11:28:13 +08:00
updateEventEmitter.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
userStartupWarnings.test.ts feat: Refactor and Enhance Ripgrep Tool (#930) 2025-10-31 10:53:13 +08:00
userStartupWarnings.ts Replace spawn with execFile for memory-safe command execution (#1068) 2025-11-20 15:04:00 +08:00
version.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
windowTitle.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
windowTitle.ts fix(mcp): update OAuth client names and improve MCP commands 2026-02-08 10:46:48 +08:00