fix(desktop): 首启不进组织页,只走模型→对话 - #90
Merged
Merged
Conversation
XYAIStudio
marked this pull request as ready for review
September 20, 2026 18:48
Desktop launch opens /chat/main instead of / → /projects. Returning sessions with has_providers still skip the login wall but leave the Octop dump and organization room. Org stays a later sidebar room. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
cursor
Bot
force-pushed
the
cursor/desktop-first-run-chat-6f9e
branch
from
September 20, 2026 19:22
70aa2c1 to
510bff9
Compare
11 tasks
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
桌面首次打开和带着已有
~/.freeos再打开,都不再把 Octop/projects工作台或组织页当成第一屏。/chat/main?desktop=1(不再是/?desktop=1→/projects)。has_providers=true都离开启动 dump:可选模型(可跳过)→ 第一个智能体/chat/main。/chat、SPA/在桌面壳里进/chat/main;网页控制台仍是/projects。FREEOS_ORG_ENABLE=1仍会启用模块,侧栏「组织」仍是另一间房间。只是首启 / 再打开不自动走进去。已 rebase 到
origin/main(含 #8904d1f811portable 刷新)。CHANGELOG 同时保留 #89 与本条。未发 GitHub Release。Before / after
http://127.0.0.1:<port>/?desktop=1http://127.0.0.1:<port>/chat/main?desktop=1/setup(可跳过)→/chat/main/projects)has_providers=true/→/projects/chat/main/?desktop=1(旧壳 / 刷新)/projects/chat/main/chat(桌面)/projects/chat/main/organization?desktop=1首屏/chat/main~/.freeos/portableHow org is deferred
不关插件、不改
FREEOS_ORG_ENABLE。组织继续作为侧栏房间。启动路径、/、裸/chat、以及带?desktop=1的/organization*都改去工作室对话。用户从侧栏点「组织」后刷新仍留在组织页(没有desktop=1查询串)。Test plan
isDesktopLaunchDumpPath, GowithDesktopQuery)cd dashboard && npx vitest runon routing files — 29 passedcd dashboard && npx tsc --noEmit— passcd desktop/src && go test -count=1 -timeout 180s .— local cloud image has no gtk4/webkitgtk; CI Linux job installs thoseTarget branch
main(desktop first-run hotfix for 0.0.4; includes fix(desktop): 升级/重装刷新 ~/.freeos/portable #89)Type of change