docs(plan): v0.2 adds Pi subagents and scheduled-jobs board

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
rootandClaude Fable 5.1 committed 2026-09-28 02:09:39 +08:00
1 parent b839ed4056
commit 16ab2a6c84
97 files changed
+592 -648

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ export async function apiFetch<T = unknown>(path: string, arg: FetcherArg = {}):
res = await fetch(url, { method, headers: reqHeaders, body: reqBody, signal, credentials: "include" });
} catch (err) {
if ((err as Error).name === "AbortError") throw err;
return fail("upstream_unavailable", "无法连接服务");
return fail("upstream_unavailable", "连不上服务端");
}
if (res.status === 401 && typeof window !== "undefined") {
+5 -5
View File
@@ -11,7 +11,7 @@ const HEALTH: Record<string, Labeled> = {
healthy: { label: "正常", tone: "success" },
ok: { label: "正常", tone: "success" },
degraded: { label: "降级", tone: "warning" },
failing: { label: "失败中", tone: "destructive" },
failing: { label: "连续失败", tone: "destructive" },
offline: { label: "离线", tone: "destructive" },
circuit_open: { label: "已熔断", tone: "destructive" },
disabled: { label: "已停用", tone: "neutral" },
@@ -42,7 +42,7 @@ const DECISION_KIND: Record<string, string> = {
download_failed: "下载失败",
path_conflict: "路径冲突",
space_insufficient: "空间不足",
approval_required: "等待批准",
approval_required: "待审批",
metadata_conflict: "元数据冲突",
source_unreachable: "来源不可达",
other: "其它",
@@ -60,14 +60,14 @@ const ORG: Record<string, Labeled> = {
export const organizationLabel = (v: string | null | undefined) => pick(ORG, v);
const ORG_ACTION: Record<string, string> = {
copy: "Copy",
move: "Move",
copy: "复制",
move: "移动",
rename: "重命名",
relocate: "目录调整",
hardlink: "硬链接",
trash: "移入回收站",
delete: "永久删除",
restore: "从回收站还原",
restore: "还原",
};
export const organizationActionLabel = (v: string) => ORG_ACTION[v] ?? v;