fix(cowork): hide OpenClaw main agent sessions from session list#1181
Open
Noodles006 wants to merge 1 commit intonetease-youdao:mainfrom
Open
fix(cowork): hide OpenClaw main agent sessions from session list#1181Noodles006 wants to merge 1 commit intonetease-youdao:mainfrom
Noodles006 wants to merge 1 commit intonetease-youdao:mainfrom
Conversation
The OpenClaw main agent session was created with a hardcoded "[OpenClaw]" title and appeared in the user-facing session list, causing confusion. Add a hidden column to cowork_sessions and mark main agent sessions as hidden on creation. Filter hidden sessions from listSessions, search, and recent sessions queries. Existing "[OpenClaw]" sessions are retroactively hidden via migration.
|
This pull request has been inactive for 30 days. It will be automatically closed in 14 days unless there is new activity. If you're still working on this, please leave a comment or push new commits to keep it open. Thank you! |
Author
|
收到您的来信,谢谢!
|
This was referenced May 2, 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
[OpenClaw]title and appeared in the user-facing Cowork session list, causing user confusionhiddencolumn tocowork_sessionstable and mark main agent sessions as hidden on creationlistSessions, conversation search, and recent sessions queries[OpenClaw]sessions are retroactively hidden via DB migration问题表现
main任务记录列表透出OpenClaw字样,且任务详情里展示看不懂的信息。会让用户以为是OpenClaw套壳,影响用户体验。

Changes
src/main/sqliteStore.tshidden INTEGERcolumn migration + retroactive hide of existing[OpenClaw]sessionssrc/main/coworkStore.tsoptions.hiddenincreateSession, filterhidden=1in list/search queriessrc/main/libs/openclawChannelSessionSync.ts{ hidden: true }when creating main agent sessions修复后效果