fix: module scan from workspace root, session recovery notice, per-tab copy#4835
Open
eghrhegpe wants to merge 6 commits into
Open
fix: module scan from workspace root, session recovery notice, per-tab copy#4835eghrhegpe wants to merge 6 commits into
eghrhegpe wants to merge 6 commits into
Conversation
- detectProjectModules now uses WorkspaceRoot() instead of sessionDir - Module listing now has proper newlines between entries - Added notifyGoalState() to read persisted goal state on session start
- TabBar now has onCopyTab(tabId) to copy a specific tab's content - Right-click menu shows both 'Copy this tab' and 'Copy all tabs' - handleCopyTab reads the selected tab's state and copies as Markdown - Added i18n strings for zh/en/zh-TW
Each tab's content in the combined output now starts with ## {title}
so the pasted result is easily navigable.
TaskWarrantsPlanner now strips active-goal blocks and calls IsSyntheticUserMessage to skip unnecessary planner calls for: - goalContinueTurn (goal loop auto-continuation) - goalSelfCheckTurn (strict mode self-check) - All existing synthetic messages (plan approval, readiness, etc.) Added stripActiveGoalBlock helper to remove the <active-goal> wrapper injected by Compose before checking against synthetic patterns.
Contributor
Author
|
等等,切换计划这种按钮其实是保留上下文的的吗? |
Verifies goalContinueTurn and goalSelfCheckTurn wrapped in active-goal blocks do not trigger the planner, while normal user input inside an active-goal block still does.
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.
修改内容
1. fix: 模块扫描从 workspace root 开始
WorkspaceRoot(),回退到 sessionDir2. feat: session 恢复提示
3. feat: per-tab copy(前端)
测试
go test ./internal/control/ — PASS
go test ./internal/agent/ — PASS