feat(desktop): WeChat chat-list toolbar; Org nav embeds openXYOS (delete old workbench) - #92
Merged
Merged
Conversation
Add search and new-group (+) to the conversation history header, wired to the existing group-chat flow. Organization nav embeds openXYOS when integrated and otherwise falls back to the host org-ui workspace, so the old host workbench is no longer the default Org page. Desktop first-run still lands on /chat/main. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Remove the unused Organization landing (blue banner, feature cards, 「打开原 App(过渡)」) so the bundle no longer ships that page. Org nav still embeds openXYOS when integrated and falls back to org-ui workspace otherwise. Assemble/pack/loop stay on CLI/API. Desktop first-run remains /chat/main. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
XYAIStudio
marked this pull request as ready for review
September 21, 2026 00:48
Zero-Node desktop packs no longer force FREEOS_ORG_INTEGRATED=1. Organization nav falls back to the host org-ui workspace unless an openXYOS tree is present or FREEOS_ORG_SIDECAR=1. Chat toolbar stays on the conversation list, not Experts. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
FreeOS desktop sets FREEOS_ORG_INTEGRATED=1 even when the Node tree is not yet live. Missing runtime is a packaging/startup failure: the host logs an error, tries sidecar recover, and the Org page shows a restart overlay instead of navigating to host org-ui. Non-desktop studio without integration still falls back to /organization/workspace. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Desktop local-session must not adopt or wipe organization-mapped host rows. Sidecar restart/recover always seeds the openXYOS test accounts, and the embed proxy forwards only the iframe Bearer token. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
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
openGroupChat)。FREEOS_ORG_INTEGRATED=1+FREEOS_ORG_ENABLE=1),并拉起 bundled Node 运行时(/organization-app代理)。缺失运行时是打包/启动失败:组织页显示重启 overlay,不会把桌面用户静默 Navigate 到宿主 org-ui。/organization/workspace。dashboard/src/pages/Organization/index.tsxdashboard/src/pages/Organization/index.test.tsxdashboard/src/pages/Organization/pickSourceDest.tsdashboard/src/pages/Organization/pickSourceDest.test.tsfreeos orgCLI 与/api/org-module/*(非 UI)。/chat/main,不进组织页。Identity boundary (hard constraint)
Organization module is an independent openXYOS test environment. It is unrelated to FreeOS desktop/software accounts. Do not couple skip-login / local guest to openXYOS auth.
localStoragekeytoken→ sidecar JWT via/organization-app). Test accountsdemo@demo.com/user@demo.comseed on every sidecar start/restart (FREEOS_ORG_LOCAL_TEST=1).POST /api/auth/local-sessionnever deletes openXYOS users and no longer adopts organization-mapped host rows as the desktop guest.identity_headers; host cookies andX-FreeOS-*from the dashboard origin are stripped. Only the iframe Bearer is forwarded.Fix commit:
75f8d400fix(org): keep openXYOS login independent of FreeOS guestTest plan
/organization/workspace;桌面缺失运行时是重启 overlay,不落到 org-uiFREEOS_ORG_INTEGRATED=1(即使 sidecar 树尚未就绪)/chat/main(fix(desktop): 首启不进组织页,只走模型→对话 #90)uv run pytest tests/unit/desktop/test_nsis_uninstall.py tests/unit/test_managed_runtime_skip.py -q(22 passed)OrganizationEntry、orgLanding(9 passed)uv run pytest tests/unit/desktop/test_nsis_uninstall.py tests/unit/desktop/test_packaged_secrets.py tests/unit/api/test_jwt_auth_middleware.py tests/unit/api/test_org_identity.py tests/unit/users/test_local_session.py tests/integration/test_local_session.py -q(61 passed locally)OrganizationEntry、SessionListToolbar、SessionList、AuthGuard、desktopOnboarding、rootRedirect、request.setup、Setup(35 passed)uv run pytest tests/unit/users/test_local_session.py tests/unit/api/test_org_ui.py tests/unit/test_sidecar_launch.py tests/unit/api/test_org_identity.py tests/integration/test_local_session.py -q(passed);make lint+make typecheckgreengo testunderdesktop/src(this VM lacks gtk4/webkitgtk; rely on CI)Do not merge.