Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

fix(web): 任务中心把控制状态相同的同类几批合成一张卡

longmeidao99459766674b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba732d5fe..0704cf478 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -58,6 +58,8 @@ Removed / Fixed / Security。
- **采集**:云下载判成「长时间未完成」后,之后 7 天内每 6 小时再看一眼网盘,冷门种子晚几天下完也会照常入库,状态与原因在这期间不变。升级前已判停滞、还没满 7 天的任务也会照此复查。
- **桌面**:托盘每次重新拉起 HTTP/HTTPS 服务时,诊断包里的托盘日志会写明原因:托盘启动、健康监测发现服务未应答、手动重启、同步开发进度、数据库同步或首次设置完成等;上一个服务进程退出的还记下退出码、运行了多久、有没有正常应答过,以及此前健康检查连续失败的次数和最后一次的错误。服务从拉起到第一次应答花了多久也会记下,迟迟没有应答时同样留一条,便于判断「服务未运行」是服务崩溃还是启动太慢。
- **采集**:第一次处理媒体库时没有网络,不再挨个试外部来源、拖满 4 小时后失败;本地能做的照常做完,要联网的作品留作可重试项,联网恢复后自动补一次。厂牌官网全都连不上时只等一天再试,不再一直不补。
+- **更新**:升级后的自动修复等前面派出的影片跑下去再派下一批,不再一两个小时就把整个媒体库排进队列、任务中心堆满几十张「已处理 0 / 64 项」的卡片。网盘影片的九宫格不再被当成过期,升级不会再把一万多部网盘影片全部重新处理一遍。
+- **界面**:任务中心里同一种任务、暂停状态相同的几批合成一张卡,卡上的暂停、继续、取消对其中每一批都生效。
- **采集**:提交云下载时 CloudDrive2 或 PikPak 暂时没应答(如「查离线任务时连不上 CloudDrive2:Deadline Exceeded」),任务不再直接失败,而是显示「等待自动重新提交」,由 Peach 自动再交,1 小时内还没交上才标为失败。等待期间可以取消。
## [0.54.0] - 2026-11-04
diff --git a/frontend/src/react/activity/activity-page.tsx b/frontend/src/react/activity/activity-page.tsx
index a47704551..7b3440521 100644
--- a/frontend/src/react/activity/activity-page.tsx
+++ b/frontend/src/react/activity/activity-page.tsx
@@ -122,9 +122,10 @@ function FollowupList({ rows }: { rows: TaskRunPayload[] }) {
/** 一轮任务一张卡。失败时整张卡的框线换成 danger 色,不给结束原因那行字上色——
* 一屏十几行里逐行读红字,比看一眼哪张卡的框是红的慢得多。 */
function RunCard(
- { run, meta, children, error, issues, followups, followupTotal = 0, badge, resourceActive }:
+ { run, meta, children, error, issues, followups, followupTotal = 0, badge, resourceActive, controlled }:
{ run: TaskRunPayload; meta: string; children?: ReactNode; error?: string; issues?: ReactNode;
- followups?: TaskRunPayload[]; followupTotal?: number; badge?: ReactNode; resourceActive?: boolean },
+ followups?: TaskRunPayload[]; followupTotal?: number; badge?: ReactNode; resourceActive?: boolean;
+ controlled?: TaskRunPayload[] },
) {
/* 一轮派出上千条后继时只下发最近几十条,合并的几批又可能各带几十条:标题写全数,
列表先列在跑与排队的、再列最近结束的,最多 `FOLLOWUP_ROWS` 条,并说清只列了其中几条。 */
@@ -151,7 +152,7 @@ function RunCard(
<strong className="min-w-0 break-words text-title-3-medium text-text-primary">{run.task_label}</strong>
{badge ?? <StatusBadge run={run} />}
</div>
- <TaskControls run={run} />
+ <TaskControls run={run} runs={controlled} />
</div>
<p className="text-caption-1-regular text-text-secondary">{meta}</p>
<TaskResources run={run} active={resourceActive} />
@@ -305,7 +306,7 @@ function WorkingRun(
runs.length > 1 ? `${runs.length} 批` : '',
`${momentText(oldest.started_at || oldest.finished_at)} 开始`].filter(Boolean).join(' · ');
return (
- <RunCard run={run} meta={meta} followups={followups} followupTotal={total} resourceActive
+ <RunCard run={run} meta={meta} followups={followups} followupTotal={total} resourceActive controlled={runs}
badge={run.control ? <StatusBadge run={run} /> : <Chip color="blue">进行中</Chip>}>
<div className="flex flex-col gap-1.5">
<Progress label={`${run.task_label}进度`} value={settled} max={total} />
@@ -401,11 +402,10 @@ export function ActivityPage() {
};
const folds = foldRoutine(finished, (run) => isRoutine(run)
&& (quietChildren(run) || DISPATCHERS.has(run.task_key)));
- // 各父任务的控制范围独立:合成一张卡会让较早那批的后继没有对应操作入口。
- const workingGroups = [
- ...foldByKind(working.filter((run) => !run.control)),
- ...working.filter((run) => run.control).map((run) => ({ run, runs: [run] })),
- ].sort((left, right) => right.run.id - left.run.id);
+ // 控制状态相同的几批合成一张,卡上的暂停、继续、取消对其中每一批都发一次;
+ // 状态不同的(一批已暂停、一批在跑)分开摆,按钮才说得清作用在哪批上。
+ const workingGroups = foldByKind(working, (run) => run.control?.state || '')
+ .sort((left, right) => right.run.id - left.run.id);
const newest = latestOfKind(allRuns);
const quiet = !running.length && !working.length && !skipped.length && !finished.length;
return (
diff --git a/frontend/src/react/activity/task-controls.tsx b/frontend/src/react/activity/task-controls.tsx
index c1fce19c9..04ad02e97 100644
--- a/frontend/src/react/activity/task-controls.tsx
+++ b/frontend/src/react/activity/task-controls.tsx
@@ -46,11 +46,24 @@ export function TaskControlFeedback() {
</div>;
}
-export function TaskControls({ run }: { run: TaskRunPayload }) {
+/** `runs` 是并在同一张卡里的几批,按钮对每一批各发一次;不给就只管 `run` 这一轮。 */
+export function TaskControls({ run, runs = [run] }: { run: TaskRunPayload; runs?: TaskRunPayload[] }) {
const client = useQueryClient();
const pending = useRef({ change: false, cancel: false, confirmation: false });
const refresh = () => { void client.invalidateQueries({ queryKey: TASKS_KEY }) };
- const send = (command: ControlCommand) => controlTask(command.id, command.action);
+ // 一批被拒不拦后面几批:并卡期间较早那批可能刚好跑完,其余几批照样要停;有被拒的照常报出来。
+ const send = async (command: ControlCommand) => {
+ let failure: unknown = null;
+ for (const row of runs) {
+ try {
+ await controlTask(row.id, command.action);
+ } catch (error) {
+ failure ??= error;
+ }
+ }
+ if (failure !== null) throw failure;
+ };
+ const batches = runs.length > 1 ? `这 ${runs.length} 批` : '这轮';
const change = useMutation({
mutationKey: [...CONTROL_KEY, run.id, 'change'],
mutationFn: send,
@@ -74,8 +87,8 @@ export function TaskControls({ run }: { run: TaskRunPayload }) {
void confirmModal({
title: followups ? `取消「${run.task_label}」的全部后续任务` : `取消任务「${run.task_label}」`,
body: followups
- ? '将停止这轮已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。'
- + '这批后续任务取消后不能继续,需要时重新发起。'
+ ? `将停止${batches}已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。`
+ + '这些后续任务取消后不能继续,需要时重新发起。'
: '将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。'
+ '这轮任务取消后不能继续,需要时重新发起。',
confirmLabel: followups ? '取消后续任务' : '取消任务',
diff --git a/frontend/src/react/activity/tasks.ts b/frontend/src/react/activity/tasks.ts
index 8e068e470..17c8de96a 100644
--- a/frontend/src/react/activity/tasks.ts
+++ b/frontend/src/react/activity/tasks.ts
@@ -91,13 +91,14 @@ export function followupTally(counts: FollowupCounts | undefined, runs: TaskRunP
}
/** 同一种任务连着派出的几轮合成一件事:自动修复每分钟派一批,一屏十几张「已完成」卡说的是同一件事。
- * 每组按最新那一轮排在前面,`runs[0]` 是最新那一轮。 */
-export function foldByKind(rows: TaskRunPayload[]): RunFold[] {
+ * 每组按最新那一轮排在前面,`runs[0]` 是最新那一轮。`split` 再按它的值分组,同一种任务值不同的分开。 */
+export function foldByKind(rows: TaskRunPayload[], split: (run: TaskRunPayload) => string = () => ''): RunFold[] {
const folds = new Map<string, RunFold>();
for (const run of rows) {
- const fold = folds.get(run.task_key);
+ const key = `${run.task_key}\u0000${split(run)}`;
+ const fold = folds.get(key);
if (fold) fold.runs.push(run);
- else folds.set(run.task_key, { run, runs: [run] });
+ else folds.set(key, { run, runs: [run] });
}
return [...folds.values()];
}
diff --git a/frontend/test/react/activity.test.tsx b/frontend/test/react/activity.test.tsx
index 296ad4a4a..aad49558d 100644
--- a/frontend/test/react/activity.test.tsx
+++ b/frontend/test/react/activity.test.tsx
@@ -627,6 +627,24 @@ it('同类父任务有独立控制范围时分别显示,按钮只提交对应
expect(posts).toEqual(['/api/tasks/1/control', '/api/tasks/2/control']);
});
+it('同类父任务控制状态相同时并成一张卡,一次操作提交给每一批', async () => {
+ const batch = (id: number) => run({ id, task_key: 'upgrade-repairs', task_label: '自动修复', status: 'succeeded',
+ control: { state: 'running', actions: ['pause', 'cancel'] } });
+ const children = [followup(1, { id: 90, status: 'pending' }), followup(2, { id: 91, status: 'pending' })];
+ const posts: string[] = [];
+ stubFetch(async (input, init) => {
+ if (init?.method === 'POST') posts.push(input);
+ return { ok: true, status: 200, json: async () => payload({ running: children, finished: [batch(2), batch(1)] }) };
+ });
+ await prefetchTasks(new AbortController().signal);
+ const host = await mount(page());
+ const cards = host.querySelectorAll('[data-task-key="upgrade-repairs"]');
+ expect(cards).toHaveLength(1);
+ expect(cards[0]!.textContent).toContain('2 批');
+ await click(controlButton('暂停后续任务', cards[0]!));
+ await vi.waitFor(() => expect(posts).toEqual(['/api/tasks/2/control', '/api/tasks/1/control']));
+});
+
it('服务端未给出控制能力时不按任务种类自行增加按钮', async () => {
const { host } = await open(payload({ running: [run()] }));
expect(host.querySelector('[data-task-controls]')).toBeNull();
diff --git a/web/dist/peach-app.activity-page-B3CjUhvF.js b/web/dist/peach-app.activity-page-BakH9pKt.js
similarity index 78%
rename from web/dist/peach-app.activity-page-B3CjUhvF.js
rename to web/dist/peach-app.activity-page-BakH9pKt.js
index 625293556..9f71b5ea3 100644
--- a/web/dist/peach-app.activity-page-B3CjUhvF.js
+++ b/web/dist/peach-app.activity-page-BakH9pKt.js
@@ -1,10 +1,10 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "00e7c64c-7211-4521-b4cc-8edcd2734ebf", e._sentryDebugIdIdentifier = "sentry-dbid-00e7c64c-7211-4521-b4cc-8edcd2734ebf");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c340d080-bcb7-491e-ad8c-d22bae151d9c", e._sentryDebugIdIdentifier = "sentry-dbid-c340d080-bcb7-491e-ad8c-d22bae151d9c");
} catch {}
})();
-import { Button as e, Bx as t, Chip as n, Disclosure as r, DownloadsPanel as i, EmptyState as a, Gg as o, HN as s, IssueRow as c, LinkButton as l, Lo as u, LoadingDots as d, Ma as f, NameLink as p, Note as m, OV as h, Pf as g, Progress as _, RB as v, Rk as y, Su as b, TASKS_KEY as x, TRIGGER_LABELS as S, Xl as C, __toESM as w, apiGet as T, apiSend as E, busyProps as D, cardClass as ee, confirmModal as O, controlTask as k, cx as A, elapsedText as j, errorMessage as M, f1 as te, fetchEarlier as ne, fetchTasks as re, fmtSize as N, foldByKind as ie, foldRoutine as ae, followupDetail as P, followupTally as F, groupFollowups as oe, hasResultProblems as I, i2 as L, isActive as R, isRoutine as se, latestOfKind as ce, mergeFinished as z, momentText as B, notifyManager as V, oe as H, pollInterval as le, problemDestination as U, progressText as W, readableErrorHeadline as ue, replaceEqualDeep as de, require_jsx_runtime as fe, require_react as pe, statusLabel as me, summaryItems as he, taskIssues as ge, taskSubject as _e, um as ve, uo as ye, useMutation as G, useQuery as be, useQueryClient as K, vl as xe } from "./peach-app.js";
+import { Button as e, Bx as t, Chip as n, Disclosure as r, DownloadsPanel as i, EmptyState as a, Gg as o, HN as s, IssueRow as c, LinkButton as l, Lo as u, LoadingDots as d, Ma as f, NameLink as p, Note as m, OV as h, Pf as g, Progress as _, RB as v, Rk as y, Su as b, TASKS_KEY as x, TRIGGER_LABELS as S, Xl as C, __toESM as w, apiGet as T, apiSend as E, busyProps as D, cardClass as O, confirmModal as k, controlTask as A, cx as j, elapsedText as M, errorMessage as N, f1 as ee, fetchEarlier as te, fetchTasks as ne, fmtSize as P, foldByKind as re, foldRoutine as ie, followupDetail as F, followupTally as I, groupFollowups as ae, hasResultProblems as L, i2 as R, isActive as z, isRoutine as oe, latestOfKind as se, mergeFinished as B, momentText as V, notifyManager as H, oe as U, pollInterval as ce, problemDestination as W, progressText as le, readableErrorHeadline as ue, replaceEqualDeep as de, require_jsx_runtime as fe, require_react as pe, statusLabel as me, summaryItems as he, taskIssues as ge, taskSubject as _e, um as ve, uo as ye, useMutation as G, useQuery as be, useQueryClient as K, vl as xe } from "./peach-app.js";
import { CodeBlock as Se } from "./peach-app.code-block-CyDva4Ms.js";
import { Page as Ce } from "./peach-app.page-QAncjzM1.js";
import { ErrorDetails as we, ErrorExcerpt as Te } from "./peach-app.error-excerpt-B8v2xEIP.js";
@@ -22,7 +22,7 @@ function Ee() {
}
function De(e = {}, t) {
let n = K(t).getMutationCache(), [r] = q.useState(() => Ee()), i = r(n, e);
- return q.useSyncExternalStore(q.useCallback((e) => n.subscribe(V.batchCalls(e)), [n]), i, i);
+ return q.useSyncExternalStore(q.useCallback((e) => n.subscribe(H.batchCalls(e)), [n]), i, i);
}
// src/react/activity/background-issues.tsx
var J = fe(), Oe = ["background-issues"];
@@ -51,7 +51,7 @@ function Ae({ issue: t }) {
onSuccess: () => {
n.invalidateQueries({ queryKey: Oe });
}
- }), i = t.since ? `自 ${B(t.since)} 起` : `发现于 ${B(t.noticed_at)}`;
+ }), i = t.since ? `自 ${V(t.since)} 起` : `发现于 ${V(t.noticed_at)}`;
return /* @__PURE__ */ (0, J.jsx)(m, {
tone: "error",
title: t.title,
@@ -60,7 +60,7 @@ function Ae({ issue: t }) {
children: [/* @__PURE__ */ (0, J.jsx)(l, {
href: t.href,
size: "small",
- trailingIcon: L,
+ trailingIcon: R,
children: t.link_label
}), t.retry ? /* @__PURE__ */ (0, J.jsx)(e, {
variant: "secondary",
@@ -71,7 +71,7 @@ function Ae({ issue: t }) {
children: "立即重试"
}) : null]
}),
- children: r.error ? `${i}\n没有重试:${M(r.error)}` : i
+ children: r.error ? `${i}\n没有重试:${N(r.error)}` : i
});
}
// src/react/activity/task-controls.tsx
@@ -114,60 +114,68 @@ function Pe() {
children: n.map(({ command: e, error: t }) => /* @__PURE__ */ (0, J.jsx)(m, {
tone: "error",
title: `${e.label}:${(e.followups ? Ne : Me)[e.action]}未完成`,
- children: M(t)
+ children: N(t)
}, e.id))
}) : null;
}
-function Fe({ run: t }) {
- let n = K(), r = (0, q.useRef)({
+function Fe({ run: t, runs: n = [t] }) {
+ let r = K(), i = (0, q.useRef)({
change: !1,
cancel: !1,
confirmation: !1
- }), i = () => {
- n.invalidateQueries({ queryKey: x });
- }, a = (e) => k(e.id, e.action), o = G({
+ }), a = () => {
+ r.invalidateQueries({ queryKey: x });
+ }, o = async (e) => {
+ let t = null;
+ for (let r of n) try {
+ await A(r.id, e.action);
+ } catch (e) {
+ t ??= e;
+ }
+ if (t !== null) throw t;
+ }, s = n.length > 1 ? `这 ${n.length} 批` : "这轮", c = G({
mutationKey: [
...Y,
t.id,
"change"
],
- mutationFn: a,
+ mutationFn: o,
onSettled: () => {
- r.current.change = !1, i();
+ i.current.change = !1, a();
}
- }), s = G({
+ }), l = G({
mutationKey: [
...Y,
t.id,
"cancel"
],
- mutationFn: a,
+ mutationFn: o,
onSettled: () => {
- r.current.cancel = !1, i();
+ i.current.cancel = !1, a();
}
- }), c = t.control?.actions || [], l = !R(t), u = s.isPending || s.isSuccess;
- if (!c.length) return null;
- let d = (e) => {
+ }), u = t.control?.actions || [], d = !z(t), f = l.isPending || l.isSuccess;
+ if (!u.length) return null;
+ let p = (e) => {
let n = {
id: t.id,
label: t.task_label,
action: e,
- followups: l
+ followups: d
};
if (e === "cancel") {
- if (r.current.cancel || r.current.confirmation || s.isSuccess) return;
- r.current.confirmation = !0, O({
- title: l ? `取消「${t.task_label}」的全部后续任务` : `取消任务「${t.task_label}」`,
- body: l ? "将停止这轮已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。这批后续任务取消后不能继续,需要时重新发起。" : "将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。这轮任务取消后不能继续,需要时重新发起。",
- confirmLabel: l ? "取消后续任务" : "取消任务",
+ if (i.current.cancel || i.current.confirmation || l.isSuccess) return;
+ i.current.confirmation = !0, k({
+ title: d ? `取消「${t.task_label}」的全部后续任务` : `取消任务「${t.task_label}」`,
+ body: d ? `将停止${s}已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。这些后续任务取消后不能继续,需要时重新发起。` : "将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。这轮任务取消后不能继续,需要时重新发起。",
+ confirmLabel: d ? "取消后续任务" : "取消任务",
danger: !0,
- onConfirm: async () => (r.current.cancel = !0, await s.mutateAsync(n))
+ onConfirm: async () => (i.current.cancel = !0, await l.mutateAsync(n))
}).finally(() => {
- r.current.confirmation = !1;
+ i.current.confirmation = !1;
});
} else {
- if (r.current.change || r.current.cancel || u) return;
- r.current.change = !0, o.mutate(n);
+ if (i.current.change || i.current.cancel || f) return;
+ i.current.change = !0, c.mutate(n);
}
};
return /* @__PURE__ */ (0, J.jsx)("div", {
@@ -175,10 +183,10 @@ function Fe({ run: t }) {
"data-task-controls": t.id,
children: /* @__PURE__ */ (0, J.jsx)("div", {
role: "group",
- "aria-label": `${t.task_label}${l ? "后续任务" : "任务"}控制`,
+ "aria-label": `${t.task_label}${d ? "后续任务" : "任务"}控制`,
className: "flex items-center justify-end gap-2",
- children: c.map((t) => {
- let n = (l ? Ne : Me)[t], r = t === "cancel" ? s.isPending : o.isPending && o.variables?.action === t, i = t === "cancel" ? u : o.isPending || u;
+ children: u.map((t) => {
+ let n = (d ? Ne : Me)[t], r = t === "cancel" ? l.isPending : c.isPending && c.variables?.action === t, i = t === "cancel" ? f : c.isPending || f;
return /* @__PURE__ */ (0, J.jsx)(e, {
type: "button",
variant: "secondary",
@@ -189,8 +197,8 @@ function Fe({ run: t }) {
title: n,
...D(r),
"aria-disabled": i || void 0,
- onClick: () => d(t),
- "data-tooltip-copy-key": `tasks.control.action.${l ? "followups." : ""}${t}`
+ onClick: () => p(t),
+ "data-tooltip-copy-key": `tasks.control.action.${d ? "followups." : ""}${t}`
}, t);
})
})
@@ -239,7 +247,7 @@ var Ie = new Map([
"link-prune",
"source-check"
]],
- [H, ["download-postprocess"]],
+ [U, ["download-postprocess"]],
[u, ["taste-refresh"]],
[v, [
"upgrade-repairs",
@@ -266,7 +274,7 @@ var Re = {
function ze({ color: e, high: t, ...r }) {
return t ? /* @__PURE__ */ (0, J.jsx)("span", {
...r,
- className: A("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Re[e])
+ className: j("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Re[e])
}) : /* @__PURE__ */ (0, J.jsx)(n, {
variant: "caption",
color: e,
@@ -295,9 +303,9 @@ function Ve(e) {
return e.state === "sampling" ? "采样中" : e.via === "cloud" ? "网盘读取" : "未取得";
}
function He(e, t) {
- return t === 0 ? "未使用" : e === "network" ? `${N(t)}/s` : `${t.toLocaleString(void 0, { maximumFractionDigits: 1 })}%`;
+ return t === 0 ? "未使用" : e === "network" ? `${P(t)}/s` : `${t.toLocaleString(void 0, { maximumFractionDigits: 1 })}%`;
}
-function Ue({ run: e, active: t = R(e) || !!e.control }) {
+function Ue({ run: e, active: t = z(e) || !!e.control }) {
if (!t || !e.resources) return null;
let n = e.resources;
return /* @__PURE__ */ (0, J.jsx)("div", {
@@ -351,14 +359,14 @@ var We = 50, Ge = /* @__PURE__ */ new Set(["upgrade-repairs"]), Ke = /* @__PURE_
};
function X({ run: e }) {
let t = e.control?.state;
- if (t && (t !== "running" || !R(e))) return /* @__PURE__ */ (0, J.jsx)(n, {
+ if (t && (t !== "running" || !z(e))) return /* @__PURE__ */ (0, J.jsx)(n, {
color: t === "running" ? "blue" : "neutral",
children: /* @__PURE__ */ (0, J.jsx)("span", {
"data-copy-key": `tasks.control.state.${t}`,
children: Je[t]
})
});
- let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && I(e);
+ let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && L(e);
return /* @__PURE__ */ (0, J.jsx)(n, {
color: i ? "yellow" : qe[e.status] ?? "neutral",
children: r ? "部分项目需处理" : i ? "发现问题" : me(e.status)
@@ -368,7 +376,7 @@ function Ye({ rows: e }) {
return /* @__PURE__ */ (0, J.jsx)("ul", {
className: "-mr-5 flex min-w-0 flex-col",
children: e.map((e) => {
- let t = P(e);
+ let t = F(e);
return /* @__PURE__ */ (0, J.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -413,14 +421,14 @@ function Ye({ rows: e }) {
})
});
}
-function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, followupTotal: s = 0, badge: c, resourceActive: l }) {
- let u = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), d = o ? [...o].sort((e, t) => u(t) - u(e) || t.id - e.id).slice(0, We) : [], f = d.length, m = Math.max(o?.length || 0, s), h = _e(e), g = String(i || "").trim(), _ = ue(g);
+function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, followupTotal: s = 0, badge: c, resourceActive: l, controlled: u }) {
+ let d = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), f = o ? [...o].sort((e, t) => d(t) - d(e) || t.id - e.id).slice(0, We) : [], m = f.length, h = Math.max(o?.length || 0, s), g = _e(e), _ = String(i || "").trim(), v = ue(_);
return /* @__PURE__ */ (0, J.jsxs)("li", {
id: `run-${e.id}`,
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: ee({
+ className: O({
padding: "none",
bordered: e.status === "failed" ? "error" : void 0,
className: "flex flex-col"
@@ -444,7 +452,10 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo
}),
c ?? /* @__PURE__ */ (0, J.jsx)(X, { run: e })
]
- }), /* @__PURE__ */ (0, J.jsx)(Fe, { run: e })]
+ }), /* @__PURE__ */ (0, J.jsx)(Fe, {
+ run: e,
+ runs: u
+ })]
}),
/* @__PURE__ */ (0, J.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -454,17 +465,17 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo
run: e,
active: l
}),
- h ? /* @__PURE__ */ (0, J.jsx)(p, {
- href: h.href,
+ g ? /* @__PURE__ */ (0, J.jsx)(p, {
+ href: g.href,
"data-task-subject": e.id,
- title: h.label,
+ title: g.label,
className: "min-w-0 max-w-full self-start truncate text-text-primary",
- children: h.label
+ children: g.label
}) : null,
- _ ? /* @__PURE__ */ (0, J.jsx)("p", {
+ v ? /* @__PURE__ */ (0, J.jsx)("p", {
"data-task-error": "",
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
- children: _
+ children: v
}) : null,
n
]
@@ -473,34 +484,34 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo
className: "border-t border-separator-border px-5 py-2.5",
children: a
}) : null,
- _ && g !== _ ? /* @__PURE__ */ (0, J.jsx)("div", {
+ v && _ !== v ? /* @__PURE__ */ (0, J.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
children: /* @__PURE__ */ (0, J.jsx)(r, {
summary: "错误详情",
contentClassName: "pb-2.5",
children: /* @__PURE__ */ (0, J.jsx)(we, {
label: `${e.task_label}错误详情`,
- children: g
+ children: _
})
})
}) : null,
- f ? /* @__PURE__ */ (0, J.jsx)("div", {
+ m ? /* @__PURE__ */ (0, J.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
children: /* @__PURE__ */ (0, J.jsxs)(r, {
- summary: `任务明细 · ${m.toLocaleString()} 项`,
+ summary: `任务明细 · ${h.toLocaleString()} 项`,
contentClassName: "pb-2.5",
- defaultOpen: d.some((e) => R(e)),
- children: [f < m ? /* @__PURE__ */ (0, J.jsxs)("p", {
+ defaultOpen: f.some((e) => z(e)),
+ children: [m < h ? /* @__PURE__ */ (0, J.jsxs)("p", {
className: "text-caption-1-regular text-text-secondary",
children: [
"列出其中 ",
- f.toLocaleString(),
+ m.toLocaleString(),
" 项,正在处理的排在前面"
]
- }) : null, /* @__PURE__ */ (0, J.jsx)(Ye, { rows: d })]
+ }) : null, /* @__PURE__ */ (0, J.jsx)(Ye, { rows: f })]
})
}) : null,
- Object.keys(e.result_summary || {}).some((e) => !(h && Ke.has(e))) ? /* @__PURE__ */ (0, J.jsx)("div", {
+ Object.keys(e.result_summary || {}).some((e) => !(g && Ke.has(e))) ? /* @__PURE__ */ (0, J.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
children: /* @__PURE__ */ (0, J.jsx)(r, {
summary: "技术详情",
@@ -516,7 +527,7 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo
});
}
function Xe({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? Je[i] : e.progress_label || "正在进行", s = j(e.elapsed_seconds), c = [S[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? Je[i] : e.progress_label || "正在进行", s = M(e.elapsed_seconds), c = [S[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, J.jsx)(Z, {
run: e,
meta: c,
@@ -532,7 +543,7 @@ function Xe({ run: e, followups: t }) {
children: [
o,
" · ",
- W(r, n),
+ le(r, n),
" 项"
]
})]
@@ -547,13 +558,13 @@ function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, follow
let d = !!(i && i.length > 1 && o), f = d ? [`共处理 ${o.toLocaleString()} 项`, s ? `其中 ${s.toLocaleString()} 项失败` : ""].filter(Boolean) : he(_e(e) ? {
...e.result_summary,
name: ""
- } : e.result_summary).filter((t) => t !== e.error && t !== ue(e.error)), p = ge(e), m = U(e, a), h = j(e.elapsed_seconds), g = i && i.length > 1 ? i[i.length - 1] : void 0, _ = (g ? [
+ } : e.result_summary).filter((t) => t !== e.error && t !== ue(e.error)), p = ge(e), m = W(e, a), h = M(e.elapsed_seconds), g = i && i.length > 1 ? i[i.length - 1] : void 0, _ = (g ? [
S[e.trigger] || e.trigger,
`近 ${i.length} 轮`,
- `${B(g.finished_at)} – ${B(e.finished_at)}`
+ `${V(g.finished_at)} – ${V(e.finished_at)}`
] : [
S[e.trigger] || e.trigger,
- B(e.finished_at),
+ V(e.finished_at),
h && `用时 ${h}`
]).filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, J.jsxs)(Z, {
@@ -609,14 +620,14 @@ function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, follow
className: "flex list-disc flex-col gap-1 pl-5 text-caption-1-regular text-text-secondary wrap-anywhere",
children: f.map((e, t) => /* @__PURE__ */ (0, J.jsx)("li", { children: e }, t))
}) : null,
- !p.length && I(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, J.jsx)("p", {
+ !p.length && L(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "未取得本轮逐项详情,可到来源列表查看检查结果。"
}) : null,
m ? /* @__PURE__ */ (0, J.jsx)(l, {
href: m.href,
size: "small",
- trailingIcon: L,
+ trailingIcon: R,
className: "self-start",
children: m.label
}) : null
@@ -624,10 +635,10 @@ function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, follow
});
}
function Qe({ runs: e, followups: t, counts: r }) {
- let i = e[0], a = e[e.length - 1], o = F(r, e), s = Math.max(o.total, t.length), c = o.total ? o.settled : t.filter((e) => !R(e)).length, l = o.total ? o.failed : t.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [
+ let i = e[0], a = e[e.length - 1], o = I(r, e), s = Math.max(o.total, t.length), c = o.total ? o.settled : t.filter((e) => !z(e)).length, l = o.total ? o.failed : t.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [
S[i.trigger] || i.trigger,
e.length > 1 ? `${e.length} 批` : "",
- `${B(a.started_at || a.finished_at)} 开始`
+ `${V(a.started_at || a.finished_at)} 开始`
].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, J.jsx)(Z, {
run: i,
@@ -635,6 +646,7 @@ function Qe({ runs: e, followups: t, counts: r }) {
followups: t,
followupTotal: s,
resourceActive: !0,
+ controlled: e,
badge: i.control ? /* @__PURE__ */ (0, J.jsx)(X, { run: i }) : /* @__PURE__ */ (0, J.jsx)(n, {
color: "blue",
children: "进行中"
@@ -649,7 +661,7 @@ function Qe({ runs: e, followups: t, counts: r }) {
className: "text-caption-1-regular text-text-secondary",
children: [
"已处理 ",
- W(c, s),
+ le(c, s),
" 项",
l ? ` · 其中 ${l.toLocaleString()} 项失败` : ""
]
@@ -679,40 +691,37 @@ function $({ live: e = !1, children: t }) {
function $e() {
let t = be({
queryKey: x,
- queryFn: ({ signal: e }) => re(e),
- refetchInterval: (e) => le(e.state.data)
+ queryFn: ({ signal: e }) => ne(e),
+ refetchInterval: (e) => ce(e.state.data)
}), n = t.data, r = n?.finished, [o, s] = (0, q.useState)([]), [c, l] = (0, q.useState)(!1), [u, d] = (0, q.useState)({}), [f, p] = (0, q.useState)(r);
- r !== f && (p(r), o.length && f && s(z(o, f)));
+ r !== f && (p(r), o.length && f && s(B(o, f)));
let h = G({
- mutationFn: ({ oldest: e }) => ne(e),
+ mutationFn: ({ oldest: e }) => te(e),
onSuccess: (e, { shown: t }) => {
- s((n) => z(n, t, e.finished || [])), l(!!e.finished_has_more), d((t) => ({
+ s((n) => B(n, t, e.finished || [])), l(!!e.finished_has_more), d((t) => ({
...t,
...e.followup_counts
}));
}
- }), g = t.error ? M(t.error) : "";
+ }), g = t.error ? N(t.error) : "";
if (!n) return /* @__PURE__ */ (0, J.jsx)(Ce, { children: /* @__PURE__ */ (0, J.jsx)(m, {
tone: "error",
children: g || "读取任务中心失败"
}) });
- let _ = z(n.finished || [], o), v = n.working_parents || [], y = [
+ let _ = B(n.finished || [], o), v = n.working_parents || [], y = [
...n.running || [],
...n.skipped || [],
..._,
...v
- ], b = oe(y), S = new Set(y.map((e) => e.id)), C = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && S.has(e.parent_run_id))), w = C(_), T = w[w.length - 1], E = !!T && (o.length ? c : !!n.finished_has_more), ee = () => {
+ ], b = ae(y), S = new Set(y.map((e) => e.id)), C = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && S.has(e.parent_run_id))), w = C(_), T = w[w.length - 1], E = !!T && (o.length ? c : !!n.finished_has_more), O = () => {
!h.isPending && T && h.mutate({
oldest: T,
shown: _
});
- }, O = {
+ }, k = {
...u,
...n.followup_counts
- }, k = (e) => e.flatMap((e) => b.get(e.id) || []), A = [...w, ...C(v)].filter((e) => F(O, [e]).active > 0 || b.get(e.id)?.some(R)).sort((e, t) => t.id - e.id), j = C(n.running || []), N = C(n.skipped || []), P = w.filter((e) => !A.includes(e) && !N.some((t) => t.id === e.id)), L = (e) => (b.get(e.id) || []).every((e) => e.status === "succeeded" && !I(e)) && F(O, [e]).failed === 0, B = ae(P, (e) => se(e) && (L(e) || Ge.has(e.task_key))), V = [...ie(A.filter((e) => !e.control)), ...A.filter((e) => e.control).map((e) => ({
- run: e,
- runs: [e]
- }))].sort((e, t) => t.run.id - e.run.id), H = ce(y), U = !j.length && !A.length && !N.length && !P.length;
+ }, A = (e) => e.flatMap((e) => b.get(e.id) || []), j = [...w, ...C(v)].filter((e) => I(k, [e]).active > 0 || b.get(e.id)?.some(z)).sort((e, t) => t.id - e.id), M = C(n.running || []), P = C(n.skipped || []), F = w.filter((e) => !j.includes(e) && !P.some((t) => t.id === e.id)), R = (e) => (b.get(e.id) || []).every((e) => e.status === "succeeded" && !L(e)) && I(k, [e]).failed === 0, V = ie(F, (e) => oe(e) && (R(e) || Ge.has(e.task_key))), H = re(j, (e) => e.control?.state || "").sort((e, t) => t.run.id - e.run.id), U = se(y), W = !M.length && !j.length && !P.length && !F.length;
return /* @__PURE__ */ (0, J.jsxs)(Ce, { children: [
g ? /* @__PURE__ */ (0, J.jsx)(m, {
tone: "error",
@@ -724,46 +733,46 @@ function $e() {
children: n.message || "数据库尚未准备好任务记录表"
}) : null,
/* @__PURE__ */ (0, J.jsx)(ke, {}),
- U ? /* @__PURE__ */ (0, J.jsx)(a, {
+ W ? /* @__PURE__ */ (0, J.jsx)(a, {
icon: ye,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
/* @__PURE__ */ (0, J.jsx)(Q, {
title: "正在进行",
- children: j.length || A.length ? /* @__PURE__ */ (0, J.jsxs)($, {
+ children: M.length || j.length ? /* @__PURE__ */ (0, J.jsxs)($, {
live: !0,
- children: [j.map((e) => /* @__PURE__ */ (0, J.jsx)(Xe, {
+ children: [M.map((e) => /* @__PURE__ */ (0, J.jsx)(Xe, {
run: e,
followups: b.get(e.id)
- }, e.id)), V.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, J.jsx)(Qe, {
+ }, e.id)), H.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, J.jsx)(Qe, {
runs: t,
- followups: k(t),
- counts: O
+ followups: A(t),
+ counts: k
}, e.id))]
}) : /* @__PURE__ */ (0, J.jsx)(m, {
tone: "neutral",
children: "没有任务在跑。"
})
}),
- N.length ? /* @__PURE__ */ (0, J.jsx)(Q, {
+ P.length ? /* @__PURE__ */ (0, J.jsx)(Q, {
title: "本次未执行",
- children: /* @__PURE__ */ (0, J.jsx)($, { children: N.map((e) => /* @__PURE__ */ (0, J.jsx)(Ze, {
+ children: /* @__PURE__ */ (0, J.jsx)($, { children: P.map((e) => /* @__PURE__ */ (0, J.jsx)(Ze, {
run: e,
- latest: H.has(e.id),
+ latest: U.has(e.id),
followups: b.get(e.id)
}, e.id)) })
}) : null,
- P.length || E ? /* @__PURE__ */ (0, J.jsxs)(Q, {
+ F.length || E ? /* @__PURE__ */ (0, J.jsxs)(Q, {
title: "最近完成",
children: [
- P.length ? /* @__PURE__ */ (0, J.jsx)($, { children: B.map(({ run: e, runs: t }) => {
- let n = F(O, t);
+ F.length ? /* @__PURE__ */ (0, J.jsx)($, { children: V.map(({ run: e, runs: t }) => {
+ let n = I(k, t);
return /* @__PURE__ */ (0, J.jsx)(Ze, {
run: e,
runs: t,
- latest: H.has(e.id),
- followups: k(t),
+ latest: U.has(e.id),
+ followups: A(t),
followupTotal: n.total,
followupFailed: n.failed,
followupCancelled: n.cancelled
@@ -771,15 +780,15 @@ function $e() {
}) }) : null,
h.error ? /* @__PURE__ */ (0, J.jsx)(m, {
tone: "error",
- children: M(h.error)
+ children: N(h.error)
}) : null,
E ? /* @__PURE__ */ (0, J.jsx)(e, {
variant: "secondary",
size: "small",
- leadingIcon: te,
+ leadingIcon: ee,
className: "self-start",
...D(h.isPending),
- onClick: ee,
+ onClick: O,
children: "加载更早"
}) : null
]
@@ -790,4 +799,4 @@ function $e() {
}
export { $e as ActivityPage };
-//# debugId=00e7c64c-7211-4521-b4cc-8edcd2734ebf
\ No newline at end of file
+//# debugId=c340d080-bcb7-491e-ad8c-d22bae151d9c
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index d3112588c..eabdc57e0 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7d1e5504-3c3e-4d2c-832f-6b9e65541c07", e._sentryDebugIdIdentifier = "sentry-dbid-7d1e5504-3c3e-4d2c-832f-6b9e65541c07");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6275dc34-a080-4e5e-bbe5-dc8fdb31f0c2", e._sentryDebugIdIdentifier = "sentry-dbid-6275dc34-a080-4e5e-bbe5-dc8fdb31f0c2");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
@@ -37400,16 +37400,16 @@ function mpe(e, t) {
settled: n - r
};
}
-function hpe(e) {
- let t = /* @__PURE__ */ new Map();
- for (let n of e) {
- let e = t.get(n.task_key);
- e ? e.runs.push(n) : t.set(n.task_key, {
- run: n,
- runs: [n]
+function hpe(e, t = () => "") {
+ let n = /* @__PURE__ */ new Map();
+ for (let r of e) {
+ let e = `${r.task_key}\u0000${t(r)}`, i = n.get(e);
+ i ? i.runs.push(r) : n.set(e, {
+ run: r,
+ runs: [r]
});
}
- return [...t.values()];
+ return [...n.values()];
}
var gpe = (e, t) => B(`${BI}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
@@ -79387,7 +79387,7 @@ var D6 = T6(() => import("./peach-app.jav-page-CvsnSwyE.js")), O6 = T6(() => imp
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), I6 = T6(() => import("./peach-app.activity-page-B3CjUhvF.js")), L6 = T6(() => import("./peach-app.follow-manage-page-DfAEh_7P.js")), R6 = T6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+}), I6 = T6(() => import("./peach-app.activity-page-BakH9pKt.js")), L6 = T6(() => import("./peach-app.follow-manage-page-DfAEh_7P.js")), R6 = T6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
function oLe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
@@ -84628,4 +84628,4 @@ if (!KBe) throw Error("主界面宿主缺失");
GBe(KBe);
export { LL as $2ec61d1d4f780267$export$a8a3e93435678ff9, GL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, cz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, SD as $72abaeab4d80592f$export$78efe591171d7d45, eB as $76d00c5a4edb230a$export$76ccd210b9029917, Zz as $76d00c5a4edb230a$export$816b5d811295e6bc, rB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, aB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, Xz as $76d00c5a4edb230a$export$f850895b287ef28e, Khe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Ghe as $b4f18e3395fe64d7$export$3e41faf802a29e71, Hhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, lB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Yhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, lE as $ea3928288112382f$export$439d29a4e110a164, xz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Oz as $fe21c36db05242bb$export$a98f0dcb43a68a25, kz as $fe21c36db05242bb$export$d7b12c4107be0d61, Nge as $l, Bj as ACCENTS, VAe as AMANE_BRIDGE_CHECK_URL, M$ as AMANE_BRIDGE_KEY, HAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, UU as ArtSlot, C2 as BATCH_DELETE_TEXT, J as Button, hL as ButtonLink, VB as Bx, j$ as CHECK_ALL_KEY, a$ as CLEANUP_ENTRY, i$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, Y1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, X$ as CONFIGURATION_KEY, zY as CONFIGURATION_URL, UAe as COOKIE_TEXT_LIMIT, A$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, T$ as CUSTOM_SOURCES_KEY, w$ as CUSTOM_SOURCES_URL, rG as CatalogViewToggle, FV as Checkbox, PV as CheckboxGlyph, TV as ChevronSortDown, HU as Chip, QU as CloudDownloadDialog, kH as CollapseChevron, OH as CollapseRegion, QQ as CollectionSummary, Sve as CommandSteps, bTe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, wQ as DIAGNOSTICS_KEY, yEe as DIRECTORY_TEMPLATE_ERROR, aW as DISCOVERY_SORTS, GU as DOWNLOADS_KEY, WU as DOWNLOADS_URL, aY as DUPLICATES_KEY, zJ as DataTableFooter, FJ as DataTableFrame, RJ as DataTableSort, FH as Disclosure, kye as DownloadsPanel, xge as E3, xTe as ENTITY_REVIEW_KINDS, q1 as ENTRY_LINKS_HELP, J1 as ENTRY_LINKS_HINT, NB as Ea, o_e as EmptyFocusButton, sV as EmptyState, NH as ErrorText, Xge as Eu, Cve as ExternalLink, Vr as FEEDS_KEY, qY as FEED_SCHEDULE_KEY, n$ as FIELDSET_FOOT, vIe as FLOW_LABEL_X, r6 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, B8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, DZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, KY as FOLLOW_SCHEDULE_KEY, Eve as Fact, Tve as FactList, PH as FieldLabel, h$ as Fieldset, m$ as FieldsetTitle, Upe as FilterGlass, cL as FilterGlassRows, sL as FilterIconButton, lL as FilterPill, xve as Footer, RB as Gg, uL as GlassPill, GB as HN, MH as Help, QB as HintText, uIe as IDLE_POLL_MS, lTe as IDLE_REPAIR, rL as IconButton, EQ as IndexSearch, rV as Input, nV as InputBase, _$ as IssueRow, iM as JAV_LAYOUTS, H0 as JAV_RECOMMENDATION_GRID, vX as JUNK_KEY, mW as JavHeader, rTe as KEEP_LABELS, dge as L1, Ur as LAYOUTS, K1 as LIBRARY_FOLDER_HELP, JV as LIBRARY_PROCESSING_KEY, jY as LINKS_KEY, MY as LINK_CHECK_KEY, GTe as LINK_KINDS, NY as LINK_PRUNE_KEY, nr as LOC, ZB as Label, b$ as LibraryProcessingCard, wV as LibraryShortcuts, uH as LinkButton, Fge as Lo, CH as LoadingDots, Cge as M6, XTe as MEDIA_PROCESSING_KEY, YY as MEDIA_PROCESSING_URL, uY as MEDIA_REPAIR_KEY, lY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, kV as MENU_ITEM, AV as MENU_ITEM_INTERACTIVE, OV as MENU_POPOVER_SURFACE, Lge as Ma, mH as MenuDialog, pK as MixCard, iV as ModalFrame, bx as MotionConfigContext, YB as NR, g$ as NameLink, oV as Note, n_e as OA, QY as ORGANIZE_KEY, b2 as ORGANIZE_PARAMETER_HINT, y2 as ORGANIZE_SCOPE_HINT, v2 as ORGANIZE_TEXT, tX as ORPHAN_RECORDS_KEY, S2 as ORPHAN_RECORDS_TEXT, IB as OV, xB as P7, hX as PERFORMER_DELETE_KEY, Rye as PHASES, BY as PICK_FOLDER_URL, s$ as PLAIN_STAT_STRIP, S$ as PLAYLISTS_KEY, aMe as POLICY_COLUMNS, sMe as POLICY_COVER_NOTE, oMe as POLICY_MATRIX, G1 as POLICY_SUMMARY, LJ as Pagination, y$ as PathLine, qB as Pf, MI as PillTabList, lAe as PlainStat, TH as Progress, hY as QUALITY_GOALS_KEY, KB as RB, z0 as RELEASE_COLUMN_VISIBILITY_KEY, R0 as RELEASE_COLUMN_WIDTHS_KEY, oW as RELEASE_SORTS, FMe as RELEASE_SORT_COLUMNS, l$ as REPAIR_CARD_TEXT, dY as REPAIR_LIBRARIES_KEY, oX as RESOURCE_APPLY_KEY, aX as RESOURCE_SCAN_KEY, x2 as RESOURCE_SYNC_TEXT, hAe as RESULT_PANEL, gAe as RESULT_SECTION, yTe as REVIEW_CATEGORIES, _X as REVIEW_COUNTS_KEY, STe as REVIEW_DECISION_LABELS, vY as REVIEW_KEY, yY as REVIEW_LABELS, xY as REVIEW_QUEUES, SY as REVIEW_QUEUE_LABELS, PG as RetryNote, e_e as Rf, XB as Rk, vve as Rows, D$ as SCRAPING_CHECK_ALL_URL, zAe as SCRAPING_CHECK_URL, O$ as SCRAPING_COVER_URL, k$ as SCRAPING_KEY, RAe as SCRAPING_SETTINGS_URL, tU as SEGMENT, eU as SEGMENTED_TRACK, GY as SETTINGS_KEY, VY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, O3 as STATS_KEY, sAe as STAT_STRIP, cAe as STAT_STRIP_SIX, _ve as Section, _Ae as SectionHeading, bve as SectionSkeleton, $H as SegmentedRadioGroup, Vve as SegmentedTabList, DG as Segments, IJ as Select, zU as Select$1, e1 as SelectField, BU as SelectItem, KJ as SelectionActions, vj as SelectionDock, qJ as SelectionPopover, AH as SettingsCard, gve as SettingsRow, jH as SettingsSectionLabel, OG as Shuffle, Ave as SiteLabel, aG as SortDirectionIcon, kG as SortKeys, sQ as SourceAvatar, zH as SourceLabel, IH as SourceMark, yve as Stack, uAe as StatCard, v$ as StatusLabel, Zge as Su, o4 as Switch, VI as TASKS_KEY, $Fe as TASTE_REFRESH_KEY, eIe as TASTE_WINDOWS, JY as THUMBNAIL_JOBS_KEY, bX as TRASH_KEY, Spe as TRIGGER_LABELS, wJ as Table, JJ as TableColumnControls, YJ as TableColumnResizer, ZJ as TableSelectionHeader, qQ as TagManager, wve as TaskCenterLink, EH as TaskProgress, eV as TextField, $B as TextFieldContext, PB as Un, t_e as Uz, eW as WANTS_KEY, x4 as WantMagnets, Jg as WithPromise, TB as Wt, MB as Xc, JB as Xf, DB as Xl, EB as Xt, CB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, WB as _p, $ge as aB, Ei as addAlias, Ti as addSource, nW as addWant, lS as animate, B as apiGet, V as apiSend, Qj as appSettingsStore, REe as applyConfirmText, mX as applyLeftovers, LEe as applyPlanText, BEe as applyText, nM as applyTheme, vy as asNumber, EEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, fq as autoResetPageIndex, _o as avatarInner, P3 as bandRows, bEe as baseName, cTe as batchOperate, Rue as beginPlayerGuidePreview, Cj as boundedPreference, aTe as bulkCloudPreferences, dV as busyProps, Qge as cB, OPe as cachedMagnetStates, Hg as calcGeneratorVelocity, kTe as canApprove, vg as cancelFrame, jEe as candidateText, yU as cardClass, _M as cardRatio, MJ as catalogListSkeletonCellHtml, jB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, YTe as checkLine, Hi as checkReceipt, Ui as checkSummary, GAe as checkText, Ki as checkedText, eK as clickedBlank, $5 as closeDrawerAfterNav, Xwe as cloudLocations, E0 as cloudProxySkeleton, HC as clsx, Bge as cn, cv as collectMotionValues, Mq as columnVisibilityFeature, yJ as column_getCanSort, hJ as column_getSortFn, DTe as commonReviewSources, ZU as composingKey, Af as configurationSection, iIe as configureTasteBrowser, ll as confirmModal, bpe as controlTask, JK as copyInstancePropertiesWithoutMemos, lo as coverUrl, Cq as createColumnHelper, MAe as createPlaylist, Xi as credentialDone, S0 as credentialsSkeleton, RTe as currentReviewRow, q as cx, wge as d6, BB as dZ, FTe as decisionPayload, ITe as decisionReceipt, PTe as defaultChoice, HEe as deletePerformerVideos, PAe as deletePlaylist, A0 as devicesSkeleton, x as diagnosticHeaders, W1 as diagnosticsSkeleton, qye as discoveryArtwork, sW as discoveryKey, Wye as discoveryScore, f9 as disposeStage, tTe as distinctName, Bi as dropSources, Yge as du, oTe as duplicateVictims, JI as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, dq as expandRowModel, mB as f1, bo as facePos, ei as feedIntervalText, I$ as fetchAmaneBridge, F$ as fetchCheckAllJob, vi as fetchCheckJob, Z$ as fetchConfiguration, P$ as fetchCoverJob, _i as fetchCredentials, E$ as fetchCustomSources, gX as fetchDeletePerformers, VEe as fetchDeletePlan, TQ as fetchDiagnostics, cW as fetchDiscoveries, sY as fetchDuplicates, gpe as fetchEarlier, $Te as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, QTe as fetchFollowSchedule, SX as fetchJunkSummary, nH as fetchLibraryProcessing, IY as fetchLinkCheck, LY as fetchLinkPrune, FY as fetchLinkStats, ZTe as fetchMediaProcessing, fY as fetchMediaRepair, br as fetchMediaSources, $Y as fetchOrganize, fEe as fetchOrganizeExample, nX as fetchOrphanRecords, ji as fetchPending, C$ as fetchPlaylists, gY as fetchQualityGoals, dW as fetchReleases, pY as fetchRepairLibraries, yi as fetchResolveJob, cX as fetchResourceApply, sX as fetchResourceScan, OY as fetchReview, xX as fetchReviewCounts, XY as fetchSettings, N$ as fetchSources, k3 as fetchStats, bi as fetchSuggestions, UI as fetchTasks, e6 as fetchTaste, aIe as fetchTasteJob, eEe as fetchThumbnailJobs, CX as fetchTrashSummary, tW as fetchWants, TTe as filterReviewRows, er as firstGrapheme, AK as flexRender, bIe as flowGraph, xIe as flowLabel, yFe as fmtCount, Jn as fmtDur, Xn as fmtSize, hpe as foldByKind, Mpe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, Ppe as followupDetail, mpe as followupTally, _g as frame, yB as g4, Fq as getDefaultPaginationState, gM as gridLayout, li as groupByAuthor, jpe as groupFollowups, TY as groupReviewRows, FEe as hasChanges, lX as hasResourceRoots, GI as hasResultProblems, dIe as historySpan, hB as i2, lIe as importTasteExport, C0 as indexersSkeleton, wee as interpolate, iW as invalidateWants, qI as isActive, $r as isBroken, qr as isLayout, vv as isMotionValue, bY as isReviewCategory, Npe as isRoutine, w0 as javBrowserSkeleton, W0 as javContentSkeleton, lM as javLayout, U0 as javTagSkeleton, qEe as junkBreakdown, Qwe as keepGroup, FAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, A3 as known, uge as l1, _ge as l7, Ape as latestOfKind, $n as leadingGraphemes, jFe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, bB as m7, zB as mM, Dn as mapLimit, Ai as markItem, F3 as max, kFe as mediumRows, _pe as mergeFinished, I3 as min, UTe as mirrorText, fTe as missingToolText, cY as mixedCloudPreferences, QI as momentText, uS as motion, uv as motionValue, rn as nameFallback, Ue as notifyManager, Tge as oe, SEe as organizeOutcome, o2 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Np as peachHistory, Np as peachHistory$1, NTe as pendingGenres, xFe as percentText, hEe as pickOrganizeFolder, o$ as plainStatClass, xEe as planSummary, j3 as playedFor, CFe as playedItemUrl, HI as pollInterval, Ys as popCount, jAe as posterUrl, bxe as previewLibraryColor, mEe as previewOrganize, hTe as previewUrl, Ope as problemDestination, ZV as processingActive, YI as progressText, RH as providerIcon, JTe as pruneText, dX as purgeCount, DEe as purgeOrphan, HB as pv, Jge as qE, H as queryClient, gB as r2, _Ie as radarRows, EFe as radialArc, DFe as radialBarSize, TFe as radialCeiling, wFe as radialSlices, NN as randomId, hIe as rankDetail, gIe as rankShares, N3 as reachedShare, XI as readableErrorHeadline, Gye as recommendationScore, zTe as recordGenre, kEe as recordsText, IAe as recreatePlaylist, kAe as refreshPlaylists, El as relayoutCovers, B0 as releaseColumns, lW as releaseFilters, uW as releaseKey, Vi as reloadFollowManage, HTe as reloadReview, uMe as rememberShape, _Ee as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, cIe as removeTasteSource, rW as removeWants, Oi as renameAliasGroup, NAe as renamePlaylist, Se as replaceEqualDeep, NFe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, WK as require_with_selector, Vye as resetWants, mr as resolveFollowSort, Gg as resolveStartTime, Q_e as restartEffectText, AAe as resumeAssetId, wTe as reviewGroupingOptions, wY as reviewQueueData, CY as reviewQueueOf, KEe as reviewSummary, ETe as reviewWindow, jTe as rowEvidence, DY as rowFieldName, Hq as rowPaginationFeature, lJ as rowSelectionFeature, SJ as rowSortingFeature, EY as rowSubject, MTe as rowTags, ATe as rowTitle, mge as s5, ki as saveCredential, IEe as scanLine, aEe as schedulePollInterval, Uye as searchNote, OTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, VTe as settleReviewRows, eTe as sharedNamePrefix, Pp as shellNavigate, O8 as showToast, Bn as siteMarkUrl, nq as skipFirstRun, AI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, zEe as sourceMeta, Bs as spinnerHtml, Lg as spring, lV as spriteGlyph, xi as startCheck, KTe as startLinkCheck, qTe as startLinkPrune, gEe as startOrganize, Si as startResolve, NEe as startResourceApply, MEe as startResourceScan, sIe as startTasteRefresh, oAe as statCardClass, wpe as statusLabel, dTe as statusLine, Qr as statusText, vM as storeJavLayout, LTe as submitDecision, $I as summaryItems, wq as tableFeatures, rq as tableMemo, di as tableRows, Dpe as taskIssues, kpe as taskSubject, t6 as tasteDate, pIe as tasteDimensions, fIe as tasteHours, $3 as tasteKey, nIe as tasteRefetchInterval, rIe as tasteTime, II as textLang, L0 as tierPlaceholdersHtml, ch as time, jge as tl, hi as toggleGroup, n6 as topScores, Hge as um, Ige as uo, dH as useAction, SZ as useBackgroundJob, nG as useCatalogView, jU as useClientUpdates, bm as useConstant, eL as useEntityNames, oL as useHorizontalScroller, xm as useIsomorphicLayoutEffect, $G as useLibraryTints, It as useMutation, IV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, Qx as useReducedMotion, iEe as useRunSchedule, nEe as useSaveFollowSchedule, ZY as useSaveSettings, oEe as useSaveThumbnailMode, CJ as useTable, HJ as useTablePreferences, pL as useViewGlide, sTe as victimBytes, Mge as vl, Hye as wantName, SFe as watchNote, M3 as watchedShare, Ege as we, Ac as wireHorizontalScroller, vEe as withOrganizeJob, Kye as writeJavQuery, Sge as z3 };
-//# debugId=7d1e5504-3c3e-4d2c-832f-6b9e65541c07
\ No newline at end of file
+//# debugId=6275dc34-a080-4e5e-bbe5-dc8fdb31f0c2
\ No newline at end of file