Skip to content

功能:支持 Agent 资源按组分享 - #1381

Merged
yokowu merged 1 commit into
mainfrom
feat-agent-group-sharing
Oct 8, 2026
Merged

yokowu merged 1 commit into
mainfrom
feat-agent-group-sharing

Conversation

@yokowu

@yokowu yokowu commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

改动

  • Agent 资源分享接口新增 group_ids,支持与 user_ids 混合批量分享/撤销,拒绝虚拟根组并保持事务回滚与幂等。
  • 新增已认证的分组搜索接口;自有模型、技能、规则等资源回显 shared_groups。
  • 组成员及父子组授权即时生效;删除分组时清理授权并刷新受影响资源版本。
  • 更新 Agent OpenAPI 与模型、个人资源分享的集成用例。

验证

  • make check(sqlc-check、go test ./...、go vet ./...)通过。
  • Agent OpenAPI YAML 解析与 git diff --check 通过。
  • 环境未配置 PostgreSQL/RustFS,相关数据库集成用例按现有规则跳过。

@yokowu
yokowu merged commit 8b5a734 into main Oct 8, 2026
2 checks passed
@yokowu
yokowu deleted the feat-agent-group-sharing branch October 8, 2026 07:17
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.

1 participant