diff --git a/.memory/worklog.json b/.memory/worklog.json index 6e4be9e..37af6d2 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -776,6 +776,33 @@ "message": "feat: add audit database and safer image review", "hash": "a4fffd4", "files_changed": 23 + }, + { + "ts": "2026-05-19T14:33:52+08:00", + "type": "commit", + "message": "feat: add audit database and safer image review", + "hash": "9ab7756", + "files_changed": 23 + }, + { + "ts": "2026-05-19T06:40:03Z", + "type": "session-heartbeat", + "message": "Codex 会话活跃 · 最近命令:codex · 分支 master · 2 项未提交变更 · 最近提交:feat: add audit database and safer image review", + "files_changed": 2 + }, + { + "ts": "2026-05-19T14:40:13+08:00", + "type": "commit", + "message": "auto-save 2026-05-19 14:40 (~2)", + "hash": "d6af010", + "files_changed": 2 + }, + { + "ts": "2026-05-19T14:45:02+08:00", + "type": "commit", + "message": "fix: polish regeneration controls", + "hash": "254c2c3", + "files_changed": 2 } ] } diff --git a/src/components/PackPanel.tsx b/src/components/PackPanel.tsx index 15ea6ad..0539233 100644 --- a/src/components/PackPanel.tsx +++ b/src/components/PackPanel.tsx @@ -33,10 +33,6 @@ function aspectCss(aspectRatio: AssetTemplate['aspectRatio'] | string | undefine return aspectRatio.replace(':', ' / '); } -function manifestUrl(sessionId: string, kind: PackKind, version: string) { - return `/api/export/${sessionId}_${kind}_${version}_manifest.json`; -} - /* ── Asset Row ────────────────────────────────── */ function AssetRow({ template, asset, accent, onRegenerate }: { template: AssetTemplate; @@ -51,7 +47,7 @@ function AssetRow({ template, asset, accent, onRegenerate }: { const ready = !!asset; async function handleRedo() { if (!asset || !onRegenerate || regenerating) return; - const ok = window.confirm('重做这 1 张会重新调用图片模型并产生费用。确认重做?'); + const ok = window.confirm('重新生成这 1 张会再次调用图片模型并产生费用。确认继续?'); if (!ok) return; setRegenerating(true); try { @@ -114,12 +110,12 @@ function AssetRow({ template, asset, accent, onRegenerate }: { )} {ready && onRegenerate && (
- 成本操作 + 重新生成
)} @@ -134,9 +130,9 @@ function AssetRow({ template, asset, accent, onRegenerate }: { )} @@ -174,7 +170,7 @@ function PackSection({ kind, session, primaryImage, pack, isLoading, onGenerate, function handleGenerateClick() { if (pack) { - const ok = window.confirm(`${PACK_LABELS[kind]} 已有 ${generatedCount} 张图,重跑会重新调用图片模型并产生费用。确认继续?`); + const ok = window.confirm(`${PACK_LABELS[kind]} 已有 ${generatedCount} 张图,重新生成会再次调用图片模型并产生费用。确认继续?`); if (!ok) return; } onGenerate(); @@ -205,15 +201,6 @@ function PackSection({ kind, session, primaryImage, pack, isLoading, onGenerate, {/* actions */}
- {pack && ( - - ↓ - - )}