qwen-code/packages/core/src/utils
tanzhenxin 5b550ae7cd
Merge pull request #2858 from QwenLM/fix/anyof-schema-validation-coercion
fix(core): coerce stringified JSON values for anyOf/oneOf MCP tool schemas
2026-04-07 15:52:01 +08:00
..
filesearch Rename disable* settings to enable* and consolidated 1 setting 2026-02-01 16:04:49 +08:00
request-tokenizer feat(core): migrate console calls to debugLogger (M3 Phase 6) 2026-01-25 22:12:45 +08:00
asyncMessageQueue.test.ts feat(core,cli)!: Implement in-process agent backend for arenas 2026-02-21 21:08:20 +08:00
asyncMessageQueue.ts feat(core,cli)!: Implement in-process agent backend for arenas 2026-02-21 21:08:20 +08:00
atomicFileWrite.test.ts feat(arena): add system reminder and status file support for agent collaboration 2026-03-11 11:56:05 +08:00
atomicFileWrite.ts feat(arena): add system reminder and status file support for agent collaboration 2026-03-11 11:56:05 +08:00
browser.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
configResolver.test.ts refactor: update authentication handling and model configuration 2026-01-07 22:58:09 +08:00
configResolver.ts refactor: update authentication handling and model configuration 2026-01-07 22:58:09 +08:00
cronDisplay.ts feat(loop): add subcommands and improve cron display output 2026-03-29 12:28:57 +08:00
cronParser.test.ts fix(cron): improve jitter strategy and fix vixie-cron day matching semantics 2026-03-29 12:52:11 +08:00
cronParser.ts fix(cron): improve jitter strategy and fix vixie-cron day matching semantics 2026-03-29 12:52:11 +08:00
debugLogger.test.ts feat(storage): support configurable runtime output directory (#2127) 2026-03-20 13:53:05 +08:00
debugLogger.ts feat(storage): support configurable runtime output directory (#2127) 2026-03-20 13:53:05 +08:00
editHelper.test.ts fix(core): Preserve trailing whitespace in newString during edits 2026-02-02 11:39:42 +08:00
editHelper.ts fix(core): Preserve trailing whitespace in newString during edits 2026-02-02 11:39:42 +08:00
editor.test.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
editor.ts feat(core): migrate console calls to debugLogger (M3 Phase 6) 2026-01-25 22:12:45 +08:00
environmentContext.test.ts feat(arena): forward chat history to spawned agents 2026-03-10 19:45:14 +08:00
environmentContext.ts feat(arena): forward chat history to spawned agents 2026-03-10 19:45:14 +08:00
envVarResolver.test.ts feat: move extension to core package 2026-01-14 15:30:27 +08:00
envVarResolver.ts feat: move extension to core package 2026-01-14 15:30:27 +08:00
errorParsing.test.ts feat(core): add rate limit error detection utility 2026-02-13 15:32:35 +08:00
errorParsing.ts feat(auth): improve Qwen OAuth quota error messaging 2026-03-01 16:31:49 +08:00
errorReporting.test.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
errorReporting.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
errors.test.ts fix: suppress error logging for user-cancelled requests (#1182) 2026-01-18 14:45:50 +08:00
errors.ts refactor(core): improve error handling and quota detection 2026-03-18 16:07:35 +08:00
fetch.test.ts refactor(core): extract fetch error troubleshooting 2026-01-12 12:00:01 +08:00
fetch.ts refactor(core): extract fetch error troubleshooting 2026-01-12 12:00:01 +08:00
fileUtils.test.ts Merge remote main into fix/pdf-session-corruption 2026-03-15 21:24:57 +08:00
fileUtils.ts docs(encoding): clarify detectEncodingFromBuffer responsibility 2026-03-16 18:57:01 +08:00
formatters.ts refactor(core): Centralize shell logic into ShellExecutionService (#4823) 2025-07-26 01:56:49 +00:00
generateContentResponseUtilities.test.ts feat(commands): Enable @file processing in TOML commands (#6716) 2025-08-28 03:22:21 +00:00
generateContentResponseUtilities.ts fix: handle special case for merging function calls with args and names 2026-02-10 11:47:15 +08:00
getFolderStructure.test.ts refactor: remove read_many_files tool, add readManyFiles utility for user @-commands 2026-01-31 12:17:46 +08:00
getFolderStructure.ts Merge remote-tracking branch 'origin/main' into feat/debug-logging-refactor 2026-02-05 20:23:48 +08:00
getPty.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
gitIgnoreParser.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
gitIgnoreParser.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
gitUtils.ts feat(export): refactor HTML export components and improve metadata 2026-03-19 14:10:39 +08:00
iconvHelper.ts fix: reduce redundant file I/O and fix BOM preservation for non-UTF-8 encodings 2026-03-04 16:03:17 +08:00
ignorePatterns.test.ts fix: follow review for default context filename handling 2026-03-05 10:33:52 +08:00
ignorePatterns.ts fix: follow review for default context filename handling 2026-03-05 10:33:52 +08:00
installationManager.test.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
installationManager.ts feat(core): migrate console calls to debugLogger (M3 Phase 6) 2026-01-25 22:12:45 +08:00
jsonl-utils.ts feat(core): migrate console calls to debugLogger (M3 Phase 6) 2026-01-25 22:12:45 +08:00
language-detection.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
LruCache.ts pre-release commit 2025-07-22 23:26:01 +08:00
memoryDiscovery.test.ts feat(core,cli): migrate console.debug to debugLogger (M3 Phase 1-3) 2026-01-25 20:57:25 +08:00
memoryDiscovery.ts refactor: streamline debug logging and remove Notifications component 2026-02-04 22:41:31 +08:00
memoryImportProcessor.test.ts feat(core,cli): migrate console.debug to debugLogger (M3 Phase 1-3) 2026-01-25 20:57:25 +08:00
memoryImportProcessor.ts feat(core,cli): migrate console.debug to debugLogger (M3 Phase 1-3) 2026-01-25 20:57:25 +08:00
messageInspectors.ts Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
nextSpeakerChecker.test.ts special handling for summarized thinking 2025-12-22 14:07:23 +08:00
nextSpeakerChecker.ts feat(core): migrate console calls to debugLogger (M3 Phase 6) 2026-01-25 22:12:45 +08:00
openaiLogger.test.ts fix: use config working directory for OpenAI logger path resolution in ACP mode 2026-03-26 11:51:22 +08:00
openaiLogger.ts fix: use config working directory for OpenAI logger path resolution in ACP mode 2026-03-26 11:51:22 +08:00
partUtils.test.ts feat(commands): Enable @file processing in TOML commands (#6716) 2025-08-28 03:22:21 +00:00
partUtils.ts minor updates to address review comments 2025-12-23 14:35:41 +08:00
pathReader.test.ts fix(test): add missing getContentGeneratorConfig mock to tests 2026-03-15 21:41:20 +08:00
pathReader.ts 🎯 Feature: Customizable Model Training and Tool Output Management (#981) 2025-11-07 17:28:16 +08:00
paths.test.ts fix sanitizeCwd 2026-02-10 15:13:24 +08:00
paths.ts Merge branch 'main' into feat/support-permission 2026-03-19 11:24:30 +08:00
projectSummary.ts feat: Add Welcome Back Dialog, Project Summary, and Enhanced Quit Options (#553) 2025-09-11 16:59:26 +08:00
promptIdContext.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
proxyUtils.test.ts fix normalize in different place 2026-03-30 16:06:31 +08:00
proxyUtils.ts add @license 2026-03-30 16:11:26 +08:00
quotaErrorDetection.test.ts refactor(core): improve error handling and quota detection 2026-03-18 16:07:35 +08:00
quotaErrorDetection.ts refactor(core): improve error handling and quota detection 2026-03-18 16:07:35 +08:00
qwenIgnoreParser.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
qwenIgnoreParser.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
rateLimit.test.ts fix(core/rateLimit): add support for IdealTalk rate limit error code 1305 2026-02-28 11:05:41 +08:00
rateLimit.ts feat: allow Ctrl+Y to skip rate-limit retry delay immediately 2026-03-17 23:19:27 +08:00
readManyFiles.test.ts fix encoding in acp 2026-03-13 13:47:25 +08:00
readManyFiles.ts refactor: remove read_many_files tool, add readManyFiles utility for user @-commands 2026-01-31 12:17:46 +08:00
retry.test.ts refactor(core): improve error handling and quota detection 2026-03-18 16:07:35 +08:00
retry.ts refactor(core): improve error handling and quota detection 2026-03-18 16:07:35 +08:00
ripgrepUtils.test.ts Replace spawn with execFile for memory-safe command execution (#1068) 2025-11-20 15:04:00 +08:00
ripgrepUtils.ts Merge branch 'main' into feat/debug-logging-refactor 2026-02-04 17:30:58 +08:00
runtimeFetchOptions.test.ts fix: fetchOptions for Anthropic SDK 2026-01-30 10:52:49 +08:00
runtimeFetchOptions.ts fix: fetchOptions for Anthropic SDK 2026-01-30 10:52:49 +08:00
safeJsonParse.test.ts fix: OpenAI tools (#328) 2025-08-14 21:18:26 +08:00
safeJsonParse.ts feat(core): migrate console calls to debugLogger (M3 Phase 6) 2026-01-25 22:12:45 +08:00
safeJsonStringify.test.ts pre-release commit 2025-07-22 23:26:01 +08:00
safeJsonStringify.ts pre-release commit 2025-07-22 23:26:01 +08:00
schemaConverter.test.ts fix: improve Gemini compatibility by adding configurable schema converter 2025-12-11 14:23:27 +08:00
schemaConverter.ts fix: improve Gemini compatibility by adding configurable schema converter 2025-12-11 14:23:27 +08:00
schemaValidator.test.ts fix(core): coerce stringified JSON values for anyOf/oneOf schemas (#2839) 2026-04-03 23:02:25 +08:00
schemaValidator.ts fix(core): handle array-form type in anyOf/oneOf variants in getAcceptedTypes 2026-04-07 13:58:00 +08:00
secure-browser-launcher.test.ts New browser launcher for MCP OAuth. (#5261) 2025-08-01 05:47:22 +00:00
secure-browser-launcher.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
shell-utils.test.ts fix bash path for node-pty 2026-03-29 11:55:32 +08:00
shell-utils.ts add cache for path 2026-03-29 12:10:50 +08:00
shellAstParser.test.ts fix(core): add regex-based fallback when tree-sitter WASM fails to load 2026-03-31 15:23:51 +08:00
shellAstParser.ts fix lint 2026-04-01 14:33:29 +08:00
shellReadOnlyChecker.test.ts fix(security): treat newlines as command separators to prevent command injection 2026-01-28 10:23:08 +08:00
shellReadOnlyChecker.ts feat test tool permissions 2026-03-10 16:30:22 +08:00
subagentGenerator.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
subagentGenerator.ts refactor(core): rename TaskTool to AgentTool 2026-03-19 14:55:14 +08:00
symlink.ts feat(shell): enable PTY by default and various enhancements 2026-03-05 11:28:13 +08:00
systemEncoding.test.ts fix(shell): force UTF-8 output for PowerShell on Windows 2026-03-16 17:39:47 +08:00
systemEncoding.ts refactor(core): improve platform-specific encoding and shell utilities 2026-03-16 20:29:21 +08:00
terminalSerializer.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
terminalSerializer.ts feat(arena): Add agent collaboration arena feature 2026-02-18 10:51:35 +08:00
testUtils.ts pre-release commit 2025-07-22 23:26:01 +08:00
textUtils.test.ts refactor(cli): reuse normalizeContent for markdown frontmatter parsing 2026-03-04 17:34:26 +08:00
textUtils.ts refactor(cli): reuse normalizeContent for markdown frontmatter parsing 2026-03-04 17:34:26 +08:00
thoughtUtils.test.ts Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
thoughtUtils.ts special handling for summarized thinking 2025-12-22 14:07:23 +08:00
toml-to-markdown-converter.test.ts feat: move extension to core package 2026-01-14 15:30:27 +08:00
toml-to-markdown-converter.ts feat: move extension to core package 2026-01-14 15:30:27 +08:00
tool-utils.test.ts Refactor: Standardize Tool Naming and Configuration System (#1004) 2025-11-12 19:46:05 +08:00
tool-utils.ts Refactor: Standardize Tool Naming and Configuration System (#1004) 2025-11-12 19:46:05 +08:00
truncation.test.ts fix(truncation): use character budget instead of line wrapping 2026-03-15 14:05:03 +08:00
truncation.ts refactor(core): centralize tool output truncation logic 2026-03-17 20:24:20 +08:00
workspaceContext.test.ts fix workspace dirs 2026-03-11 15:24:08 +08:00
workspaceContext.ts fix workspace dirs 2026-03-11 15:24:08 +08:00
yaml-parser.test.ts fix: tests fail on Windows 2025-09-10 16:24:59 +08:00
yaml-parser.ts fix: tests fail on Windows 2025-09-10 16:24:59 +08:00