fix(wechat-bridge): use most recently active project as default directory#214
Merged
fix(wechat-bridge): use most recently active project as default directory#214
Conversation
…tory When AETHER_WORK_DIR is not set, the WeChat bridge previously fell back to Path.cwd(), which resolves to the Aether installation directory. Now it queries /project/recent and picks the most recently active project, falling back to the user's home directory if no projects exist.
code-JDS
approved these changes
Apr 9, 2026
shellmind112
approved these changes
Apr 9, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes #213
AETHER_WORK_DIRis not set, the WeChat bridge now queries/project/recentand selects the most recently active project instead of falling back toPath.cwd()(which resolved to the Aether installation directory).Path.home())._is_root_dirmethod and its usage — the/project/recentSQL already excludes root directories and only returns entries with at least one session.Test Plan
AETHER_WORK_DIR/project/recent, not the installation directory