Repository navigation
feat: add standalone Web/PWA with shared CH threads - #518
Draft
BytePioneer-AI wants to merge 73 commits into
Draft
BytePioneer-AI wants to merge 73 commits into
BytePioneer-AI wants to merge 73 commits into
Conversation
Add a dedicated Harness picker, session-specific native permissions and sidebar brand icons. Preserve native mode descriptions, risk flags and creation scope, and surface rejected switches. Support isolated multi-Harness previews while continuing to exclude Pi and Codex. Cover desktop/mobile controls, persistence and distribution resources with focused tests.
Use the existing Desktop Host for canonical external Threads without starting another Adapter or Mapping Store. Group navigation by GUI project membership while preserving explicit Web workspaces.\n\nLoad the latest five Turns first, prefetch one older page, preserve rendering anchors, and reuse idle history. Keep model and permission discovery off the history display path. Add shared-host, pagination, concurrency and browser coverage.
Publish only changed CH catalog entries to prevent browser update storms. Load older history on upward scrolling with stable anchors and explicit failure retries. Move the turn navigator into the left gutter with graduated markers, right-hand previews, pointer scrubbing, keyboard navigation and responsive visibility. Add catalog, switching, automatic paging and navigation regressions. Validation: 50 unit, 15 browser and 2 distribution tests; build, typecheck, lint and formatting. One question-answer test timed out initially; focused and full unit reruns passed.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add authenticated owner/App channels with bounded invalidation replay, authoritative snapshots, submission receipts and shared interaction arbitration. Preserve Desktop projection behavior and recover Web display generations after Host restart. Render plugin iconStyle consistently in sidebar and picker without Pi-specific overrides. Validation: 149 focused Host/protocol tests; 58 Web backend tests; 19 browser tests; distribution checks; TypeScript, lint/boundaries and UI build. An initial parallel native-presentation test opened the old session's picker before navigation completed; it now waits for the new draft before interacting. Real preview checks were read-only; no live model submission or approval was performed. Frontend strict typecheck coverage remains limited to the existing repository configuration.
Remove the duplicate Host /model descriptor and preserve launcher state across unchanged focus tracking. Project transport attachment availability so unsupported uploads are not advertised. Add shared/standalone menu regressions for desktop and mobile widths. Validated in the working tree: 58 backend tests, 23 browser tests, 4 packed-menu tests, existing typecheck, lint/boundaries, UI build, and read-only live checks. Full migrated frontend strict typechecking remains outside the current root configuration.
Keep official Codex outside external model-restore fixtures, arm scripted interaction responses before publishing, and use native paths in platform-sensitive tests. Match private Node executable paths without rejecting host-runtime/node_modules source labels. Add immediate-response and package-validation regressions; retain the artifact allowlist and original timeouts. Validated in a clean worktree with Node 22: npm ci, build:typescript, typecheck, lint/boundaries, format:check, and test:typescript (6481 Vitest tests plus 52 Web tests).
# Conflicts: # packages/update-manager/test/update-manager.test.ts
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.
状态与范围
Draft:统一收口独立 Web/PWA、共享 Host 通道和界面,暂不请求合并。
主干尚无独立 Web 入口,因此本 PR 包含基础入口及后续共享会话/界面改动,而非单独的侧栏补丁。差异主体是筛选导入的 DSH 浏览器源码;保留来源和 MIT notices。
按用户要求,原
feat/standalone-web的 Host 实时通道、原生图标与 Composer 命令菜单,与侧栏轻量化、全局置顶、既有 CI 修复统一到本分支draft/standalone-web-ui。实际开发目录与 3181 预览现在使用同一分支;旧独立工作树仅保留 detached 备份,不再作为另一条开发线。没有回退或覆盖其中任一套功能。实现
本次统一后的验证
npm run lint(含边界检查)、仓库typecheck、改动格式与git diff --check通过。图片恢复追加验证
image-sizeMIT 许可保留;Web UI 构建、lint、根 typecheck 通过。以上不是同一轮全仓全量测试,也不等于所有真实 Harness/物理设备验收;根 typecheck 仍不覆盖全部迁入 UI TypeScript。
原生附件兼容与通用文件追加
本地普通文件取消配额
已知边界 / Draft 后续事项
.work均未提交。细节见
docs/product/standalone-web.md、docs/architecture/host-client-channel.md、apps/web-ui/README.md和packages/web-server/README.md。