chore: 智能体相关文案与提示词的「入库」改为「整理」;文件管理任务链接指向日志页;去掉术语检查的临时豁免

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-06 18:27:51 +08:00
1 parent 3df9f35ebe
commit dbee4d4416
12 files changed
+20 -26

No files matched your search

+2 -2
View File
@@ -104,8 +104,8 @@ export async function buildGoalReport(
state === "no_actions"
? "本次没有提交下载或整理,结论见模型汇报。"
: [
`已提交下载 ${submitted} 个,已入库 ${imported} 个,进行中 ${inProgress} 个,失败 ${failed} 个。`,
state === "waiting" ? "已提交≠已入库:等待下载完成并核验入库。" : "",
`已提交下载 ${submitted} 个,已整理 ${imported} 个,进行中 ${inProgress} 个,失败 ${failed} 个。`,
state === "waiting" ? "已提交≠已整理:等待下载完成并核验整理。" : "",
done.length ? `整理记录:${done.map((r) => `${r.id}(${r.status})`).join("、")}。` : "",
]
.filter(Boolean)
+2 -2
View File
@@ -344,8 +344,8 @@ export const REPORT_STATE: Record<
{ label: string; tone: "success" | "warning" | "destructive" | "neutral" }
> = {
no_actions: { label: "没有产生业务动作", tone: "neutral" },
waiting: { label: "已提交,等待下载/入库", tone: "warning" },
completed: { label: "已核验入库", tone: "success" },
waiting: { label: "已提交,等待下载/整理", tone: "warning" },
completed: { label: "已核验整理", tone: "success" },
partial: { label: "部分完成", tone: "warning" },
failed: { label: "未达成", tone: "destructive" },
};
@@ -671,7 +671,7 @@ export function resultFacts(report: GoalReport | null): ResultFact[] {
to: only ? `/console/organize/${only.recordId}` : "/console/organize",
});
}
if (r.imported && r.imported !== done.length) facts.push({ text: `已入库 ${r.imported} 个` });
if (r.imported && r.imported !== done.length) facts.push({ text: `已整理 ${r.imported} 个` });
if (r.inProgress) facts.push({ text: `${r.inProgress} 个还在进行` });
if (r.failed) facts.push({ text: `${r.failed} 个没有成功`, tone: "warning" });
return facts.length ? facts : [{ text: "没有提交下载或整理" }];
+2 -2
View File
@@ -408,7 +408,7 @@ function afterChoice(e: Entry, optionId: string | null) {
},
],
...toolPair("c3", "download.submit", `{"planId":"${DUNE_PLAN}"}`, '{"taskId":"…","status":"submitted"}'),
...textSteps("已提交《沙丘:第二部》1080p(12 GB),下载完成后自动整理入库。"),
...textSteps("已提交《沙丘:第二部》1080p(12 GB),下载完成后自动整理。"),
[100, { type: "run_completed", finalText: "", usage: USAGE }],
]
: [
@@ -634,7 +634,7 @@ function report(e: Entry, run: AgentRunView): GoalReport | null {
return {
state: submitted ? "waiting" : run.status === "succeeded" ? "no_actions" : "failed",
summary: submitted
? "1 个下载已进入下载器(qb-main),尚未入库;入库以整理记录 succeeded 为准"
? "1 个下载已进入下载器(qb-main),尚未整理;整理以整理记录 succeeded 为准"
: run.status === "succeeded"
? "本次没有产生下载或整理动作"
: "运行未完成,没有产生业务动作",
+3 -3
View File
@@ -10,7 +10,7 @@ const RULES: Rule[] = [
},
{
match: /^\/console\/library\/?$/,
goals: ["盘点媒体库里还缺 4K 版本的作品", "找出最近入库但没识别成功的作品", "列出占用空间最大的 10 部作品"],
goals: ["盘点媒体库里还缺 4K 版本的作品", "找出最近整理但没识别成功的作品", "列出占用空间最大的 10 部作品"],
},
{
match: /^\/console\/sites\/[^/]+/,
@@ -22,7 +22,7 @@ const RULES: Rule[] = [
},
{
match: /^\/console\/tasks\/[^/]+/,
goals: ["看看为什么没进展", "下载完成后帮我整理入库", "换一个做种更多的资源重新下载"],
goals: ["看看为什么没进展", "下载完成后帮我整理好", "换一个做种更多的资源重新下载"],
},
{
match: /^\/console\/tasks\/?$/,
@@ -34,7 +34,7 @@ const RULES: Rule[] = [
},
{
match: /^\/console\/files/,
goals: ["把下载目录里还没整理的文件整理入库", "找出重复的文件", "看看哪些文件还没被识别"],
goals: ["把下载目录里还没整理的文件整理好", "找出重复的文件", "看看哪些文件还没被识别"],
},
{
match: /^\/console\/identity/,
+1 -1
View File
@@ -1045,7 +1045,7 @@ export function RefreshMetadataDialog({ items, onClose }: { items: FileEntry[];
<div key={s.mediaEntityId} className="rounded-lg border border-border/60 px-3 py-2">
<p className="flex items-center justify-between gap-2">
<span className="truncate">{s.title}</span>
<Link className="shrink-0 text-meta underline" to={`/console/engine/${s.taskId}`}>
<Link className="shrink-0 text-meta underline" to={`/console/logs?type=task&run=${s.taskId}`}>
查看运行
</Link>
</p>