Skip to content

fix(cortex): 允许直接导入已获取的 Bearer Token,无需 Legacy Token - #15

Merged
07xh merged 5 commits into
mainfrom
fix/cortex-direct-access-token-20261118
Nov 18, 2026
Merged

07xh merged 5 commits into
mainfrom
fix/cortex-direct-access-token-20261118

Conversation

@07xh

@07xh 07xh commented Nov 18, 2026

Copy link
Copy Markdown
Owner

修正先前交互不合理之处:用户自己的运行时抓取材料已提供 Cortex Bearer 获取线索,但应用只支持 Legacy 交换。

  • UI 增加直接导入 Cortex Bearer(可带 Bearer 前缀)
  • 在只读 GET /study/checkpoints 验证成功后才安全保存,失败不覆盖已存 Token
  • Legacy 交换同样加入保存前校验;不与开放 API Token 混用
  • 新增输入校验与单元测试,文档说明来源及安全边界
  • 保留所有流体云、通知按钮和前台反馈

不代表三态后台写回已经打通:Cortex 上传仍未开通,无真实授权写回验证。

@07xh
07xh merged commit 794c1f7 into main Nov 18, 2026
1 check 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.

1 participant