refactor(copy): 术语统一——收录版本、模型服务、智能体等(DEAI-2)
- 版本目标 → 收录版本(前后端用户可见字符串、能力描述、给模型的提示) - Agent 上游 / 上游 → 模型服务;界面上的 Agent / Agent 会话 → 智能体 / 智能体会话 - 身份歧义 / 识别有歧义 / 无法确定作品 → 没识别出作品;待识别(池) → 未识别 - 建档 → 加入媒体库;资产 → 文件;库根 → 媒体库目录;纳管 → 本工具 / 外部任务; 哨兵 → 标记文件 / 检查目录;站点快照 → 抓取;Feed / RSS 订阅 / 来源健康 → RSS - 代码标识符、API 字段名、迁移文件不改;glossary.md 同步;smoke 选择器跟随 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d282212a6b
commit
4480fc346d
212 files changed
+741
-715
No files matched your search
@@ -8,9 +8,9 @@ export const BUSINESS_KIND_LABEL: Record<EngineBusinessKind, string> = {
|
||||
subscription: "订阅",
|
||||
download: "下载",
|
||||
organization: "整理",
|
||||
agent: "Agent",
|
||||
agent: "智能体",
|
||||
schedule: "定时任务",
|
||||
feed: "Feed",
|
||||
feed: "RSS",
|
||||
site: "站点",
|
||||
decision: "待处理事项",
|
||||
media: "作品",
|
||||
@@ -23,7 +23,7 @@ export const SOURCE_LABEL: Record<TaskSource, string> = {
|
||||
schedule: "定时",
|
||||
event: "事件",
|
||||
manual: "手动",
|
||||
agent: "Agent",
|
||||
agent: "智能体",
|
||||
};
|
||||
/** 来源 → 服务端 triggeredBy 筛选值(逗号分隔多值) */
|
||||
export const SOURCE_TRIGGERED_BY: Record<TaskSource, string> = {
|
||||
@@ -46,15 +46,15 @@ export const WORKFLOW_LABEL: Record<string, string> = {
|
||||
submitDownload: "提交下载",
|
||||
verifyAndImport: "核验入库",
|
||||
refreshMetadata: "刷新元数据",
|
||||
reconcileLibrary: "资产对账",
|
||||
reconcileLibrary: "文件核对",
|
||||
cleanupDownloadCache: "清理缓存",
|
||||
resolveDecision: "处理待处理事项",
|
||||
runAgent: "Agent 会话",
|
||||
snapshotSite: "站点快照",
|
||||
runAgent: "智能体会话",
|
||||
snapshotSite: "站点抓取",
|
||||
refreshSiteAccount: "刷新站点账号",
|
||||
searchSubscription: "订阅搜索",
|
||||
purgeTrash: "清理回收站",
|
||||
refreshPiTokens: "刷新上游登录",
|
||||
refreshPiTokens: "刷新模型服务登录",
|
||||
};
|
||||
export const workflowLabel = (name: string) => WORKFLOW_LABEL[name] ?? name;
|
||||
|
||||
@@ -115,11 +115,11 @@ export function businessLink(b: EngineRun["business"], input?: unknown): { to: s
|
||||
case "organization":
|
||||
return { to: `/console/organize/${id}`, label: "整理记录" };
|
||||
case "agent":
|
||||
return { to: `/console/agent/${id}`, label: "Agent 会话" };
|
||||
return { to: `/console/agent/${id}`, label: "智能体会话" };
|
||||
case "schedule":
|
||||
return { to: `/console/schedules?job=${id}`, label: "定时任务" };
|
||||
case "feed":
|
||||
return { to: consolePath("sources"), label: "Feed" };
|
||||
return { to: consolePath("sources"), label: "RSS" };
|
||||
case "site":
|
||||
return { to: `/console/sites/${id}`, label: "站点" };
|
||||
case "decision":
|
||||
|
||||
Reference in new issue
Block a user