Repository navigation
feat(cli): add /directory remove subcommand #3975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
13f5fd5
a4e27ee
9e9b263
7aaa3ad
36c4b62
27b5ae1
72eee26
8f7e2d0
a27a4e1
d2f2a48
98d009d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Suggestion] — 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 | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -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}}': | ||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Suggestion] 6 locale files ( — 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}}': | ||||||||
|
|
@@ -1313,6 +1315,24 @@ export default { | |||||||
| 'Already covered by existing directory: {{dir}}': | ||||||||
| 'Already covered by existing directory: {{dir}}', | ||||||||
|
|
||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Critical] The i18n key Restore the key to all three files:
Suggested change
— 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 | ||||||||
| // ============================================================================ | ||||||||
|
|
||||||||
There was a problem hiding this comment.
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.jsonleaks 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.gitignoreand remove both files from the branch:— qwen-latest-series-invite-beta-v28 via Qwen Code /review