feat(creator_name): add creator_name field to agents and knowledge bases for enhanced visibility

Introduced a new optional field, creator_name, in both CustomAgent and KnowledgeBase types to allow the front end to display the creator's name. This enhancement enables better differentiation between resources created by the current user and those created by other members of the same tenant. Updated relevant API handlers to populate this field during list operations, ensuring accurate representation in the UI. Additionally, modified the ResourceOriginBadge component to utilize the creator_name for improved context in resource listings.

Refs: #1303
This commit is contained in:
wizardchen
2026-05-18 00:28:16 +08:00
committed by lyingbug
parent 8b681e4a2e
commit 8d4c58c5fa
13 changed files with 894 additions and 433 deletions
+8
View File
@@ -1317,6 +1317,11 @@ export default {
mine: "내 에이전트",
sharedToMe: "나와 공유됨",
},
sections: {
tenantReadonly: "워크스페이스 · 읽기 전용",
sharedEditable: "공유받음 · 편집 가능",
sharedReadonly: "공유받음 · 읽기 전용",
},
empty: {
title: "아직 맞춤 에이전트가 없습니다.",
description: "첫 번째 에이전트를 생성하려면 오른쪽 상단에 있는 버튼을 클릭하세요.",
@@ -2276,6 +2281,9 @@ export default {
sections: {
pinned: "고정됨",
others: "기타",
tenantReadonly: "워크스페이스 · 읽기 전용",
sharedEditable: "공유받음 · 편집 가능",
sharedReadonly: "공유받음 · 읽기 전용",
},
detail: {
title: "공유 지식베이스",