Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

feat: 展示Run级Skills轨迹 - #52

Merged
HyxiaoGe merged 1 commit into
masterfrom
feat/skills-runtime-mvp
Aug 31, 2026
Merged

HyxiaoGe merged 1 commit into
masterfrom
feat/skills-runtime-mvp

Conversation

@HyxiaoGe

Copy link
Copy Markdown
Owner

背景

API 已提供 Run 级 Skills 安全状态和历史正文详情,Trajectory 需要把这些信息按真实终态展示给用户。

改动

  • 增加 Skills 聚合节点以及 loaded、not_selected、load_failed 三种终态。
  • 严格归一化 capability resolution v1/v2 和 skills_resolved 协议。
  • 增加正文按需读取、精确复制、刷新恢复、请求重试和切换 Run 的迟到响应隔离。
  • 正文仅保存在组件状态,不进入 Redux 或 Dexie。
  • 补齐中英文状态、元数据和失败文案。

验证

  • npm test -- --reporter=dot:207 files、2462 tests passed。
  • 目标 ESLint:通过。
  • npm run build:通过。
  • git diff --check:通过。
  • tsc --noEmit 仅存在仓库既有错误,本次修改文件无诊断。
  • 最终对抗复审:无剩余 P0/P1。

风险与回滚

  • v1 历史 Run 继续展示“未记录”,不误标为本轮 not_selected。
  • 回滚本 PR 即移除 Skills UI,现有 Prompt、LLM、工具和消息节点不受影响。

背景:
- Run 已选择的 Skill 缺少用户可见的状态、元数据和历史正文入口。

改动:
- 增加 Skills 聚合节点、三种终态和严格 v1/v2 协议归一化。
- 增加正文按需读取、精确复制、刷新恢复和切换 Run 的迟到响应隔离。
- 补齐中英文文案并保持正文只存在于组件状态。

验证:
- Vitest 全量 207 files、2462 tests passed。
- 目标 ESLint、production build 和 git diff --check 通过。

Co-Authored-By: Codex <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@HyxiaoGe
HyxiaoGe merged commit 77b7fc2 into master Aug 31, 2026
1 check passed
@HyxiaoGe
HyxiaoGe deleted the feat/skills-runtime-mvp branch August 31, 2026 04:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant