Repository navigation
feat(core): support QWEN_HOME env var to customize config directory #2953
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
f43ef80
feat(core): support QWEN_CONFIG_DIR env var to customize config direc…
tanzhenxin bd4c51e
fix(core): use path.resolve/join in QWEN_CONFIG_DIR tests for Windows…
tanzhenxin 6685301
test(cli): remove flaky 'should keep restart prompt when switching sc…
tanzhenxin 930d55a
feat(core): route remaining hardcoded ~/.qwen/ paths through Storage.…
tanzhenxin f330894
fix(tests): mock os.homedir before makeFakeConfig for Storage.getGlob…
tanzhenxin c74d847
fix(core): respect QWEN_CONFIG_DIR for .env discovery and install source
tanzhenxin 702a396
refactor(core): rename QWEN_CONFIG_DIR to QWEN_HOME and fix runtime p…
tanzhenxin 54add11
fix(core): address critical review issues for QWEN_HOME support
tanzhenxin 5ccd9aa
fix(sandbox): whitelist QWEN_RUNTIME_DIR in macOS Seatbelt profiles
tanzhenxin 690316b
fix(core): add tilde expansion to QWEN_HOME and align satellite path …
tanzhenxin 4103ba1
fix(core): add tilde expansion to scripts and fix extension cache QWE…
tanzhenxin 78d807a
merge: resolve conflict in settings.md env vars table
tanzhenxin 4eada2a
test: remove flaky InputPrompt tab-suggestion test on Windows
tanzhenxin b10373b
Merge origin/main into feat/qwen-config-dir
tanzhenxin bab8848
Merge remote-tracking branch 'origin/main' into feat/qwen-config-dir
tanzhenxin 939b2a1
test: remove flaky tests that fail intermittently on Windows
tanzhenxin 0ed2fc6
revert(core): keep system.md path project-local under .qwen/
tanzhenxin 5da4126
refactor(core): unify QWEN_CONFIG_DIR into the canonical QWEN_DIR
tanzhenxin d749c98
fix(integration-tests): use 'extensions list' to trigger settings mig…
tanzhenxin 6dbbe0e
fix(memory): route auto-memory base dir through Storage.getGlobalQwen…
tanzhenxin 478eaea
fix(cli): treat custom QWEN_HOME .env as user-level
tanzhenxin 299ea45
fix(cli): drop legacy .qwen substring check from env-file classification
tanzhenxin a9fd4c0
fix(core): align plain-text hook output with documented exit-code sem…
tanzhenxin 1639026
chore: trigger CI
tanzhenxin 2ed129f
fix(cli): pass QWEN_HOME and QWEN_RUNTIME_DIR into docker/podman sandbox
tanzhenxin 9d7471a
Merge remote-tracking branch 'origin/main' into feat/qwen-config-dir
tanzhenxin 18c68e0
fix(cli): canonicalize sandbox QWEN/RUNTIME paths and pin IDE lock dir
tanzhenxin 8cb1e55
fix(cli): finish QWEN_HOME plumbing across env, memory, rules, sandbox
tanzhenxin ccd219d
fix(cli): block project .env from redirecting QWEN_HOME and QWEN_RUNT…
tanzhenxin e786f54
fix(cli): keep workspace .qwen/.env unfiltered and pre-resolve user Q…
tanzhenxin 2333d79
fix(cli): make user-settings paths lazy to pick up bootstrapped QWEN_…
tanzhenxin 80aa30f
Merge branch 'main' of https://github.com/QwenLM/qwen-code into feat/…
tanzhenxin c56e4ed
fix(cli): address qwen home review follow-ups
tanzhenxin b711bbe
test(cli): normalize path in QWEN_HOME freshness assertion for Windows
tanzhenxin 1eac6f8
Merge remote-tracking branch 'origin/main' into feat/qwen-config-dir
tanzhenxin 6fd9604
fix(cli): close storage-routing leaks via settings.env and project sa…
tanzhenxin 8c7d200
test: cover QWEN_HOME / QWEN_RUNTIME_DIR in duplicated path helpers
tanzhenxin f6323ca
fix: bootstrap QWEN_HOME before yargs handlers and in VS Code companion
tanzhenxin df4bdb9
Merge remote-tracking branch 'origin/main' into feat/qwen-config-dir
tanzhenxin 85641f0
fix(config): preserve credentials in legacy ~/.qwen/.env when QWEN_HO…
tanzhenxin ed8eea5
refactor(cli): simplify QWEN_HOME plumbing — dedupe helpers, latch, c…
tanzhenxin e54ef42
fix(cli): align QWEN_HOME .env bootstrap across CLI, sandbox, telemetry
tanzhenxin 02523cf
Merge remote-tracking branch 'origin/main' into feat/qwen-config-dir
tanzhenxin 5240d37
test(integration-tests): update QWEN_HOME assertions for v4 schema
tanzhenxin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.