feat: add organization expert templates / 新增组织级专家模板 - #182
Open
mqqss wants to merge 1 commit into
Open
Conversation
mqqss
marked this pull request as ready for review
August 6, 2026 09:28
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.
Summary / 摘要
Allow administrators to publish an existing Agent as an organization expert template.
支持管理员将现有 Agent 发布为组织专家模板。
Copy reusable prompts, skills, and subagents while excluding credentials, memory, sessions, uploads, and runtime data.
仅复制可复用的提示词、技能和子 Agent,排除凭证、记忆、会话、上传文件及运行时数据。
Organization templates are visible to all users under Experts → Expert Library, where each user can create an independent Agent from the template.
所有用户均可在 专家 → 专家库 中看到组织模板,并基于模板创建独立 Agent。
Administrators can publish templates from My Experts card/table views or the admin user-agent drawer, and can delete templates without affecting already-created Agents.
管理员可从 我的专家 卡片/表格视图或用户专家抽屉发布模板;删除模板不会影响已创建的 Agent。
Include organization templates in backup/restore and record publish/delete operations in the audit log.
组织模板支持备份恢复,发布和删除操作会写入审计日志。
Target branch / 目标分支
develop(feature / fix — default)main(release/*orhotfix/*only)Type of change / 变更类型
Test plan / 测试计划
make all: 1769 passed, 12 skippedChecklist / 检查项
CHANGELOG.md(if user-facing)