Skip to content
Closed
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .gitnexus/lbug
Binary file not shown.
14 changes: 14 additions & 0 deletions .gitnexus/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] A ~96MB binary file (.gitnexus/lbug) and this metadata file are accidentally committed to the PR. meta.json leaks the contributor's local filesystem path (/home/bamn/qwen-code). Once merged, the binary blob permanently inflates repo history for all future clones.

Add .gitnexus/ to .gitignore and remove both files from the branch:

git rm --cached -r .gitnexus/

— qwen-latest-series-invite-beta-v28 via Qwen Code /review

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] .gitnexus/lbug (binary) and .gitnexus/meta.json (containing local path /home/bamn/qwen-code) are artifacts from a code-graph indexing tool and should not be committed to the PR. Please remove with git rm -r .gitnexus/.

— qwen-latest-series-invite-beta-v34 via Qwen Code /review

"repoPath": "/home/bamn/qwen-code",
"lastCommit": "048bd7a2d34f53c2af449cb29ee78e1568beea46",
"indexedAt": "2026-05-12T18:04:59.327Z",
"remoteUrl": "https://github.com/QwenLM/qwen-code",
"stats": {
"files": 2478,
"nodes": 49088,
"edges": 80810,
"communities": 1071,
"processes": 300,
"embeddings": 0
}
}
2 changes: 1 addition & 1 deletion packages/cli/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ export async function parseArguments(): Promise<CliArgs> {
type: 'array',
string: true,
description:
'Additional directories to include in the workspace (comma-separated or multiple --include-directories)',
'Additional directories to include in the workspace. Paths are resolved to absolute paths. Non-existent directories are skipped with a warning. Use comma-separated values or pass the flag multiple times.',
coerce: (dirs: string[]) =>
// Handle comma-separated values
dirs.flatMap((dir) => dir.split(',').map((d) => d.trim())),
Expand Down
20 changes: 20 additions & 0 deletions packages/cli/src/i18n/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,8 @@ export default {
'Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}':
'Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}',
'Error refreshing memory: {{error}}': 'Error refreshing memory: {{error}}',
'Directory removed but memory refresh failed: {{error}}':

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] 6 locale files (ca.js, de.js, fr.js, ja.js, pt.js, ru.js) all have translations for the existing /directory add command strings but receive zero entries for the 8 new /directory remove i18n keys added here. Users of these locales will see English fallback strings mixed with their translated UI. Consider adding translations (even placeholder ones) to maintain consistency.

— qwen-latest-series-invite-beta-v34 via Qwen Code /review

'Directory removed but memory refresh failed: {{error}}',
'Successfully added directories:\n- {{directories}}':
'Successfully added directories:\n- {{directories}}',
'Current workspace directories:\n{{directories}}':
Expand Down Expand Up @@ -1313,6 +1315,24 @@ export default {
'Already covered by existing directory: {{dir}}':
'Already covered by existing directory: {{dir}}',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] The i18n key 'Already covered by existing directory: {{dir}}' was deleted from en.js, zh.js, and zh-TW.js but is still referenced by PermissionsDialog.tsx:343. This will cause the raw key text to display instead of a translated message when a directory is covered by an existing workspace entry.

Restore the key to all three files:

Suggested change
'Already covered by existing directory: {{dir}}':
'Already covered by existing directory: {{dir}}',

— DeepSeek/deepseek-v4-pro via Qwen Code /review

// ============================================================================
// /directory remove command
// ============================================================================
'Remove a directory from the workspace':
'Remove a directory from the workspace',
'Please provide a directory path to remove.':
'Please provide a directory path to remove.',
'Cannot remove initial workspace directory: {{directory}}':
'Cannot remove initial workspace directory: {{directory}}',
'Directory not found in workspace: {{directory}}':
'Directory not found in workspace: {{directory}}',
'Error updating settings: {{error}}': 'Error updating settings: {{error}}',
'Removed directory: {{directory}}': 'Removed directory: {{directory}}',
'Directory removed from settings but could not be removed from the active workspace. It may still be accessible in this session.':
'Directory removed from settings but could not be removed from the active workspace. It may still be accessible in this session.',
'The /directory remove command is not supported in restrictive sandbox profiles.':
'The /directory remove command is not supported in restrictive sandbox profiles.',

// ============================================================================
// Status Bar
// ============================================================================
Expand Down
23 changes: 23 additions & 0 deletions packages/cli/src/i18n/locales/zh-TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,8 @@ export default {
'Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}':
'如果存在,已成功從以下目錄添加 QWEN.md 檔案:\n- {{directories}}',
'Error refreshing memory: {{error}}': '刷新內存時出錯:{{error}}',
'Directory removed but memory refresh failed: {{error}}':
'目錄已移除,但內存刷新失敗:{{error}}',
'Successfully added directories:\n- {{directories}}':
'成功添加目錄:\n- {{directories}}',
'Current workspace directories:\n{{directories}}':
Expand Down Expand Up @@ -1107,7 +1109,28 @@ export default {
'Directory does not exist.': '目錄不存在。',
'Path is not a directory.': '路徑不是目錄。',
'This directory is already in the workspace.': '此目錄已在工作區中。',

'Already covered by existing directory: {{dir}}': '已被現有目錄覆蓋:{{dir}}',

// ============================================================================
// /directory remove command
// ============================================================================
'Remove a directory from the workspace': '從工作區中移除目錄',
'Please provide a directory path to remove.': '請提供要移除的目錄路徑。',
'Cannot remove initial workspace directory: {{directory}}':
'無法移除初始工作區目錄:{{directory}}',
'Directory not found in workspace: {{directory}}':
'在工作區中找不到目錄:{{directory}}',
'Error updating settings: {{error}}': '更新設置時出錯:{{error}}',
'Removed directory: {{directory}}': '已移除目錄:{{directory}}',
'Directory removed from settings but could not be removed from the active workspace. It may still be accessible in this session.':
'目錄已從設置中移除,但無法從活動工作區中移除。在當前會話中可能仍然可以訪問。',
'The /directory remove command is not supported in restrictive sandbox profiles.':
'限制性沙箱配置不支援 /directory remove 命令。',

// ============================================================================
// Status Bar
// ============================================================================
'Using:': '已加載: ',
'{{count}} open file': '{{count}} 個打開的檔案',
'{{count}} open files': '{{count}} 個打開的檔案',
Expand Down
19 changes: 19 additions & 0 deletions packages/cli/src/i18n/locales/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,8 @@ export default {
'Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}':
'如果存在,已成功从以下目录添加 QWEN.md 文件:\n- {{directories}}',
'Error refreshing memory: {{error}}': '刷新内存时出错:{{error}}',
'Directory removed but memory refresh failed: {{error}}':
'目录已移除,但内存刷新失败:{{error}}',
'Successfully added directories:\n- {{directories}}':
'成功添加目录:\n- {{directories}}',
'Current workspace directories:\n{{directories}}':
Expand Down Expand Up @@ -1246,8 +1248,25 @@ export default {
'Directory does not exist.': '目录不存在。',
'Path is not a directory.': '路径不是目录。',
'This directory is already in the workspace.': '此目录已在工作区中。',

'Already covered by existing directory: {{dir}}': '已被现有目录覆盖:{{dir}}',

// ============================================================================
// /directory remove command
// ============================================================================
'Remove a directory from the workspace': '从工作区中移除目录',
'Please provide a directory path to remove.': '请提供要移除的目录路径。',
'Cannot remove initial workspace directory: {{directory}}':
'无法移除初始工作区目录:{{directory}}',
'Directory not found in workspace: {{directory}}':
'在工作区中找不到目录:{{directory}}',
'Error updating settings: {{error}}': '更新设置时出错:{{error}}',
'Removed directory: {{directory}}': '已移除目录:{{directory}}',
'Directory removed from settings but could not be removed from the active workspace. It may still be accessible in this session.':
'目录已从设置中移除,但无法从活动工作区中移除。在当前会话中可能仍然可以访问。',
'The /directory remove command is not supported in restrictive sandbox profiles.':
'限制性沙箱配置不支持 /directory remove 命令。',

// ============================================================================
// Status Bar
// ============================================================================
Expand Down
Loading
Loading