Skip to content

feat(web): Web 页面真实 API 集成 + i18n 命名空间化#221

Merged
DeliciousBuding merged 1 commit into
dev/delicious233from
feat/integrate-trump-web
May 27, 2026
Merged

feat(web): Web 页面真实 API 集成 + i18n 命名空间化#221
DeliciousBuding merged 1 commit into
dev/delicious233from
feat/integrate-trump-web

Conversation

@DeliciousBuding
Copy link
Copy Markdown
Collaborator

来源

dev/trump 分支(Xavier-Trump)提取,原 PR #192 #193
20 个文件的冲突手动解决——取 Trump 的真实 API 集成版本。

变更(34 文件, +12k/−3.5k)

Web 页面(5 页)

  • WorkbenchPage — 接入 workbenchReducer + Edge REST/WS
  • AgentSquarePage — Hub Agent Profile 市场
  • PrivateChatsPage — Hub IM 私聊
  • GroupWorkspacePage — Hub 群协作
  • ProjectPage — Hub 项目管理

Web Hooks(4 个)

  • useHubSession — Hub token/session 管理
  • useHubIMSnapshot — IM 会话/消息加载
  • useHubCustomAgents — 自定义 Agent 加载
  • useWorkbenchProjection — Edge 数据投影

i18n(14 个 locale 文件)

  • 7 命名空间 × 2 语言(zh/en)
  • common/status/workbench/agentSquare/privateChats/groupWorkspace/project

验证

依赖 PR #219(共享模块)已合入。Web 页面零代码类型错误。
Co-Authored-By: Xavier-Trump 2933243959@qq.com

从 dev/trump 提取(原 PR #192 #193)。
- 5 个 Web 页面接入真实 Edge API + workbenchReducer(替代 mock 原型)
- 新增 4 个 Hub hooks
- i18n 命名空间化:7 个 ns × 2 语言(zh/en)
- 零代码类型错误

Co-Authored-By: Xavier-Trump <2933243959@qq.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@DeliciousBuding DeliciousBuding merged commit df06932 into dev/delicious233 May 27, 2026
6 of 11 checks passed
@DeliciousBuding DeliciousBuding deleted the feat/integrate-trump-web branch May 27, 2026 18:16
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