Skip to content

refactor(web): 接入 FastUI 并验证论文交接与发行依赖 - #7

Merged
HsukqiLee merged 10 commits into
mainfrom
feat/shared-foundations
Nov 11, 2026
Merged

HsukqiLee merged 10 commits into
mainfrom
feat/shared-foundations

Conversation

@HsukqiLee

@HsukqiLee HsukqiLee commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

最新 main 适配结果(2026-11-11)

  • 当前Head:08fc96e93a9654b697ac54096bbef7695dac2178
  • 已整合main:4babce4b397e778de400beb0c481b6810b0af8e1
  • 采用保留历史的普通合并与非强制推送;后续main历史改写已通过新旧tip完全相同的tree证明后,仅接入历史,未改变验证后的文件内容。
  • 已重新检查GitHub合并状态,无文本冲突;这不等同于自动合入/部署许可。

保留SDK0.1.2及独立login/link能力;修复真实CAS新登录后恢复失败票据pending的组合缺陷。新增12个认证恢复、原30个handoff、6个模式浏览器场景通过。最新CAS发行合同、镜像、Linux/Windows后端、前端、compose、validate均通过;commitlint拒绝merge类型及已改写main的旧提交文字,保持Draft,未弱化规则或强推改历史。

原正文中的“存在冲突/待升级旧SDK”等为创建时快照,已由本节更新;保留历史以便审阅。当前实际Checks仍以GitHub页面为准。共享npm包仍精确0.1.2,独立审计未提交修复未擅自混入。


摘要

  • 模型/账号设置实际消费 FastUI foundation/react 0.1.2;PDF 文本层、引用和阅读逻辑保持产品所有权。

  • News handoff 使用真实载体,支持登录后恢复、成功 receipt 后提示、失败保留重试和根/子路径。

  • 正式 Python SDK、单仓镜像输入和 published SDK/intake 契约场景随本分支交付。

  • 分支历史继承此前已评审的默认最新消息窗口修复(默认会话消息窗口包含最新问答 #5),该提交尚未进入 main,已明确纳入本 PR 范围。

依赖与范围

Refs #6。依赖为已公开 npm 0.1.2,框架包内部精确依赖同版 foundation;包含的静态制品按版本/摘要供应。

不包含其他产品源码、凭据、私有工程素材或非 Fast 系服务。未合并或部署。

已执行验证

  • 前端 types/build、71/71 与真实模型/账号设置浏览器通过。

  • News 实际 builder→Read HTTP/SQLite 的 handoff 浏览器 30 场景通过。

  • 后端历史 286 pass/1 既有 skip,CAS 专项23、无SDK专项22;消息窗口相关31项通过。

上述结果针对已评审共享分支的固定基线;PR merge-ref 检查以本次 GitHub Checks 为准,不把旧结果说成最新 main 整合结果。

合并前关注

  • main 已有独立认证模式和 CAS SDK 0.1.2,需保留新模式及控制项,不能用旧页面或依赖声明覆盖。

  • 本地 Docker daemon 500 阻止镜像实构;新 PR 检查结果需单独验收。

Draft:已确认与当前 main 存在冲突

以下为真实三方 merge-tree 检查结果。此 PR 用于保留可审阅改动;解决冲突、保留最新产品设计/认证语义、重跑整合回归后才能 Ready/Merge。本次未自动 rebase/merge 或选择一边覆盖。

  • docs/FASTCAS.md

  • fastread-frontend/src/web/FastCASAccount.tsx

  • requirements-fastcas.txt

固定审阅坐标

  • Base main:7ab7510e89773e868b78d4b46db29b0294b9c1d7

  • Head:098e02920e2b3e4b9891eabd750823b8f10fbd25

全部待合提交:


1fa244c6948abe5524a1a295ab184e2194fdaed9 fix: return latest conversation messages by default

c9c399ef8f1a046bbb6a367d806ac39c7e685b1c refactor: share UI SDK and verified paper intake contracts

098e02920e2b3e4b9891eabd750823b8f10fbd25 chore: consume verified npm UI and transport releases

完整基线差异概况:


.github/workflows/fastcas-release-contract.yml    |  40 ++++

 Dockerfile.complete                               |   6 +

 backend/Dockerfile                                |   6 +

 backend/Dockerfile.gpu                            |   6 +

 backend/app/web/api.py                            |   8 +-

 backend/tests/fastcas_release_contract.py         | 164 +++++++++++++++

 backend/tests/test_research_intake.py             |  50 ++++-

 backend/tests/test_web_platform.py                | 102 ++++++++-

 contracts/fastnews-intake/v1/README.md            |  34 +++

 contracts/fastnews-intake/v1/cases.json           |  30 +++

 contracts/fastnews-intake/v1/request.schema.json  |  16 ++

 contracts/fastnews-intake/v1/response.schema.json |  12 ++

 docs/FASTCAS.md                                   |  16 +-

 fastread-frontend/.gitignore                      |   1 +

 fastread-frontend/package.json                    |   7 +-

 fastread-frontend/pnpm-lock.yaml                  |  83 +++++---

 fastread-frontend/scripts/fastnews-browser.mjs    | 244 ++++++++++++++++++++++

 fastread-frontend/scripts/fastnews-receiver.py    |  23 ++

 fastread-frontend/scripts/fastui-browser.mjs      |  95 +++++++++

 fastread-frontend/src/main.tsx                    |   6 +-

 fastread-frontend/src/web/App.tsx                 |  44 +++-

 fastread-frontend/src/web/FastCASAccount.tsx      |  23 +-

 fastread-frontend/src/web/LocalLogin.tsx          |   3 +-

 fastread-frontend/src/web/settings.css            |  22 ++

 fastread-frontend/src/web/sso-bootstrap.ts        | 219 ++++++++++---------

 fastread-frontend/src/web/theme.ts                |   4 +

 requirements-fastcas.txt                          |   4 +-

 27 files changed, 1111 insertions(+), 157 deletions(-)

Preserve explicit offset history pagination and cover message ordering, authorization, and worker replies. Refs #5.
Use immutable public release artifacts and retain product-specific behavior. Independent review and real release installation recorded in the sharing handoff.
HsukqiLee and others added 6 commits November 11, 2026 22:42
Preserve current product behavior, FastCAS 0.1.2 and the published FastUI integration. Independently reviewed against main 7ab7510 and PR head 098e029.
Preserve current product behavior, FastCAS 0.1.2 and the published FastUI integration. Independently reviewed against main 60b467f and PR head ac420ec.
Preserve current product behavior, FastCAS 0.1.2 and the published FastUI integration. Independently reviewed against main cdced79 and PR head 96bf506.
Remote main 4babce4 has exactly the same tree 27d30ab as independently reviewed main cdced79. Preserve the reviewed integration content without any file changes.
@HsukqiLee

Copy link
Copy Markdown
Contributor Author

最新 main 适配结果(2026-11-11)

  • 当前Head:08fc96e93a9654b697ac54096bbef7695dac2178
  • 已整合main:4babce4b397e778de400beb0c481b6810b0af8e1
  • 采用保留历史的普通合并与非强制推送;后续main历史改写已通过新旧tip完全相同的tree证明后,仅接入历史,未改变验证后的文件内容。
  • 已重新检查GitHub合并状态,无文本冲突;这不等同于自动合入/部署许可。

保留SDK0.1.2及独立login/link能力;修复真实CAS新登录后恢复失败票据pending的组合缺陷。新增12个认证恢复、原30个handoff、6个模式浏览器场景通过。最新CAS发行合同、镜像、Linux/Windows后端、前端、compose、validate均通过;commitlint拒绝merge类型及已改写main的旧提交文字,保持Draft,未弱化规则或强推改历史。

原正文中的“存在冲突/待升级旧SDK”等为创建时快照,已由本节更新;保留历史以便审阅。当前实际Checks仍以GitHub页面为准。共享npm包仍精确0.1.2,独立审计未提交修复未擅自混入。

@HsukqiLee
HsukqiLee marked this pull request as ready for review November 11, 2026 18:00
@HsukqiLee
HsukqiLee merged commit 6ed432b into main Nov 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants