Fix openhuman convert - #931
Merged
Merged
Conversation
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
alcholiclg
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
接口字段迁移(agent 创建/列表接口)
private(注意反语义:private=false才是公开),不再发已废弃的visibility字符串——旧写法会被服务端打回 400,漏传还会默默变成公开Private/private两种拼写及老服务端的visibility字符串(含大小写、空格、数字编码);对外的visibility="public"/"private"参数保持不变openhuman 本地文件识别不到
~/.openhuman,但真实文件在~/.openhuman/users/<设备id>/workspace/(设备 id 每台机器不同),导致 upload/watch/convert 采集到 0 个文件。改为运行时探测该目录,不硬编码设备 idpersonalities/<Profile>/下每个 Profile 认成独立子 agent,工作区根的SOUL.md作为default全局人设qoder command 跨框架转 skill
commands/*.md本质是 skill(host 通过 skill 框架以/命令名运行)。原来跨框架转换时按commands/xxx.md原样搬运,但目标框架采集规则里没有commands/,文件落地后无法加载也扫不到——"导入了但用不了"。现改为跨框架时重写成目标框架认的skills/<命令名>/SKILL.md(内容零转换、只改路径),同框架 qoder→qoder 保持原样其他
setup.cfg的 flake8ignore补上E123:项目用 yapf 自动格式化且已忽略同族的E125,漏配E123会让 yapf 排版触发 flake8 报错文件变动:
ms_agent/agent_hub/_commands.py(+8/-…)— 列表命令改用 agent_visibility_label/agent_last_modified
ms_agent/agent_hub/_merge.py(+17)— qoder commands/*.md 跨框架转 skills//SKILL.md
ms_agent/agent_hub/frameworks/openhuman.py(+113)— 用户工作区路径运行时探测 + Profile 当子 agent
setup.cfg(+1/-1)— flake8 ignore 补 E123
tests/agent_hub/test_cli.py(+72)— visibility 读写、create_repo 布尔 private 等回归
tests/agent_hub/test_convert_targetname.py(+61)— qoder command 转 skill 回归
tests/agent_hub/test_workspace.py(+68)— openhuman 用户工作区 / Profile 回归