Skip to content

Codex/v1.6 register - #6901

Closed
hukaiedu wants to merge 32 commits into
ChatGPTNextWeb:mainfrom
hukaiedu:codex/v1.6-register
Closed

hukaiedu wants to merge 32 commits into
ChatGPTNextWeb:mainfrom
hukaiedu:codex/v1.6-register

Conversation

@hukaiedu

@hukaiedu hukaiedu commented Sep 16, 2026

Copy link
Copy Markdown

💻 变更类型 | Change Type

  • feat
  • fix
  • refactor
  • perf
  • style
  • test
  • docs
  • ci
  • chore
  • build

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

…av routes [ISSUE-00/01]

- Route all chat data through /backend-api/* -> Backend /api/* -> Gemini Web
  via next.config.mjs rewrite; remove legacy azure/google/openai/anthropic/
  alibaba/sharegpt proxies and /api/* CORS headers.
- Backend-ify Conversation/Message/SSE/Cancel/Archive/Delete/Draft in
  store/chat.ts + app/client/backend-api.ts; remove IndexedDB chat sync
  (utils/sync.ts StoreKey.Chat).
- Hide legacy provider UI / model switch / API key / image upload / WebDAV /
  ShareGPT across settings.tsx, chat.tsx, exporter.tsx, mask.tsx, sidebar.tsx.
- ISSUE-01: disable app/api/[provider], webdav, tencent, upstash, artifacts
  routes -> return 404 on all HTTP methods, never enter original handler.
- /api/config retained but sanitized to non-provider flags only
  (needCode / hideBalanceQuery / disableFastLink); store/access.ts drops the
  defaultModel handling that depended on removed config fields.
- chore(tooling): disable unused-imports/no-unused-imports in .eslintrc.json.
  eslint-plugin-unused-imports@3.2.0 + ESLint 8.49 crashes on TS enums under
  Node 24 (eslint-rule-composer reads loc of undefined); the crash reproduces on
  the unmodified HEAD constant.ts, so it is pre-existing tooling breakage, not a
  V1 regression. The rule was warn-level; next/core-web-vitals lint + tsc still
  apply. This unblocks the husky pre-commit (lint-staged) hook.
- 聊天头部胶囊 + 设置页面板:轮询 GET /api/browser/status,展示状态/启动时间/登录态/在飞 Request/最近错误
- POST /api/browser/restart 重启流程(确认弹窗、错误码本地化、后端未实现时提示升级)
- docs/browser-status-api.md:后端契约(状态机/错误码/验收清单)
- next.config.mjs 支持 NEXT_DIST_DIR 隔离 dist,多 dev server 并存不共写 .next
- 全屏遮罩大卡片 → 锚定按钮正下方的下拉菜单(透明遮罩点击关闭)
- 模型图标统一用 llm-icons/gemini.svg(后端即 Gemini Web)
- 选中项圆点标记、disabled 项置灰不可点、加载失败重试项逻辑不变
移除图片上传已禁用的过期说明并补充 V1.2 图片附件能力
删除浏览器状态接口尚未实现的过期限制
更新 V1.2 冻结测试基线为 43 suites / 440 tests
- 普通用户自动建立匿名身份并直接进入聊天
- 增加独立管理员登录与 Browser/Provider 运维控制台
- 收口公共错误、品牌信息及多标签页身份切换行为
- 补充身份失效与探测失败场景
- 锁定业务请求不自动重放的身份恢复语义
- 增加认证存储与聊天存储的分层守卫
- 增加普通用户注册、登录、改密与全设备退出界面
- 保留匿名注册前聊天并隔离真实身份切换状态
- 补充账号身份、输入草稿与认证契约回归测试
- 更新注册、登录与身份切换行为说明
- 记录多 Tab Session reprobe 与账号 UI 契约
- 明确当前仅 Ready for Production Release Review
@hukaiedu hukaiedu closed this Sep 16, 2026
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.

3 participants