00cef71be7
暂停欠费生图线路并修正 98K 文生图尺寸传递
...
## Summary
生图线路确认欠费后立即停止新请求,跳过同一上游账户的其他模型,保留已生成结果和已提交任务。欠费状态须经管理员恢复,不再定时自动解封,也不会被旧任务的成功回执清除。旧模型选择仅使用明确配置且尺寸、比例和参考图数量兼容的备用模型;固定模型模式仍要求用户自行选择。
98K 文生图优先使用其公开声明的任务接口,原生传递分辨率和比例,清除文生图请求中的示例参考图片。
## Scope
- [x] API / backend logic
- [x] Settings / admin configuration
## Required Verification
验证普通 Pro、Banana 2、两个 Plus 和 GPT Image 2 共 10 个真实文生图及参考图编辑用例,均获得可下载的 2048×2048 图片。625 项 helper 回归通过,1 项跳过;TypeScript、日志/品牌/CI/环境/凭据/元数据/测试/产物检查通过。全仓 Biome 仍有历史格式和 lint 诊断(1005 项)。构建机执行生产构建及路由烟测;生产切换前核对任务与请求,保留旧构建和模型配置回滚记录。
## Release Readiness
仅修改本次生图运行逻辑与测试,凭据和验证产物保存在仓库外或忽略目录中。内部生成接口的权限与访问方式保持兼容。
2026-11-03 19:20:18 +08:00
525e105876
整理上游搜索与编辑入口
...
上游搜索位于管理列表顶部,编辑弹窗仅保留配置字段;编辑和删除按钮补充可访问名称与悬停说明。保留已有上游预设、同步及编辑功能。
验证:TypeScript 与页面 lint 通过,发布后验收上游搜索和编辑弹窗。
2026-11-03 18:09:45 +08:00
5371ae2617
关联记录模型名称并处理预览下载超时
...
生成记录同时包含模型内部 ID 和上游模型 ID,名称显示和筛选统一关联模型目录。图片代理处理源响应体超时与传输中断,返回明确的 504/502;浏览器取消请求同步停止上游下载。小尺寸预览允许 45 秒读取窗口,前端保留 4 路并发和可见区域加载,失败提示展示接口原因。原图下载保持字节不变。
验证:模型 ID 筛选的生产只读查询返回正确记录,浏览器夹具验证内部 ID 名称和峰值并发 4;15 项相关测试覆盖取消、响应体超时、原图字节与 ICC 保留。TypeScript 与改动文件 lint 通过。
2026-11-03 18:04:14 +08:00
af8189908d
优化后台生成记录分页与模型管理
...
生成记录改为数据库分页,每页 40 条,默认最近 7 天;可见预览限制为 4 路并发并使用 192px 缩略图,翻页取消旧请求,视频在详情中按需播放。保留精选、分类和原图操作,新增画布任务失败记录,统一时间显示。
模型管理拆分模型、上游和运行健康视图,提供搜索、筛选、分页和完整故障详情;列表使用摘要,编辑按需获取完整配置。后台按当前设置页加载,模型 GET 不再自动修改健康状态,98K 同步先显示变更预览。
验证:600 项现有辅助测试和 3 项新增回归测试通过,TypeScript 和本次 API/组件 lint 通过;浏览器验证请求峰值 4、翻页、搜索、失败重试、详情、模型筛选与 390px 窄屏。只读生产查询:当天页约 29ms,历史视频页 122ms,第 7800 页 739ms。两个并发索引已在生产建成,SQL 随代码保留。
已知检查状态:全仓 lint 存量 1004 项诊断使 check:quality 停在 lint 阶段;日志、品牌、CI、环境、凭据、元数据、测试与制品检查单独通过。
2026-11-03 17:41:34 +08:00
6053271352
同步封面和标题更新后的画布版本
...
自动封面和标题更新会推进画布版本,但页面未同步,导致后续节点保存持续冲突。元数据写入返回前一版本,客户端仅在与本地版本衔接时推进版本,并与画布保存共用队列;处理结果在合并成功后才更新本地版本。视频画布导入也按节点保存、标题更新顺序执行。
验证:17 项画布能力与同步测试通过,包含封面更新后的保存、不覆盖未同步的远端改动、结果合并冲突和切换画布;TypeScript 检查通过。
2026-11-03 14:39:48 +08:00
6b7b24a86e
修复图片工具提交前的画布同步与结果合并
...
新导入或新生成的图片在自动保存前点击去水印,会因服务端缺少节点而失败。工具栏统一先保存当前画布,保存成功后再调用处理能力;处理与自动保存共用队列,结果合并保留等待期间的本地编辑并更新保存版本。适用于去水印、抠图、增强、扩图和图层拆分。
验证:14 项画布能力与提交同步测试通过,覆盖保存失败不提交、执行期间编辑保留、上游失败和切换画布;TypeScript 检查通过。
2026-11-03 14:23:59 +08:00
c431a574c8
避免同名模型导致精选图片重复和计数偏差
...
同一 modelId 配置多个上游时,精选接口的模型关联会把一张图片返回多次,导致数量和分页偏大。改为为每张图片选择一个模型名称,保证图片记录和总数一致。
验证:生产只读数据包含同名模型两条,修正查询返回 6 个不同图片 ID、总数 6;TypeScript 检查通过。
2026-11-03 13:51:58 +08:00
1daf08a964
停用旧图片存储并更新主题 Logo
...
s3.1080p.hk 已永久停用且文件不可恢复。首页查询排除旧源并统一分页统计,历史图册、聊天和画布保留记录并显示失效说明;下载和代理返回 410,停止旧源上传与归档。使用本地黑白 Logo 适配主题。
提供保存原配置后停用旧存储、取消失效精选、替换 Logo 的整理脚本。七牛 10 月 14 日上传核查记录见 docs/retired-storage.md。
验证:7 项旧存储检查、41 项下载和归档回归测试、TypeScript 检查通过。
2026-11-03 13:36:44 +08:00
348cf4cf5d
按已锁定 SDK 的完成回调结束风格化等待
...
风格化请求 6 张图片时,98K 接入仍提交 n=1 且仅保留第一张结果,页面继续等待剩余图片。现在传递实际张数、保留全部返回结果,请求结束数量不足时结束等待并提示;刷新后也能从历史结果恢复结束状态。阿里通道参考图改为并行准备。
验证:46 项针对性测试通过,包括实际 Provider 流程提交一次并交付 6 张;TypeScript 检查通过。
2026-11-03 13:16:08 +08:00
a43a51adfc
保留连接中断时的生图恢复状态
...
风格化请求 6 张图片时,98K 接入仍提交 n=1 且仅保留第一张结果,页面继续等待剩余图片。现在传递实际张数、保留全部返回结果,请求结束数量不足时结束等待并提示;刷新后也能从历史结果恢复结束状态。阿里通道参考图改为并行准备。
验证:46 项针对性测试通过,包括实际 Provider 流程提交一次并交付 6 张;TypeScript 检查通过。
2026-11-03 13:11:37 +08:00
6ba5d9606d
修复风格化多张生成和结束状态
...
风格化请求 6 张图片时,98K 接入仍提交 n=1 且仅保留第一张结果,页面继续等待剩余图片。现在传递实际张数、保留全部返回结果,请求结束数量不足时结束等待并提示;刷新后也能从历史结果恢复结束状态。阿里通道参考图改为并行准备。
验证:46 项针对性测试通过,包括实际 Provider 流程提交一次并交付 6 张;TypeScript 检查通过。
2026-11-03 13:08:33 +08:00
02b9575a47
Merge pull request 'fix(home): deduplicate featured image cards' ( #10 ) from codex/home-image-recovery into main
2026-11-03 09:55:56 +08:00
349735601c
fix(home): deduplicate featured image cards
2026-11-03 09:55:32 +08:00
e837788d7a
Merge pull request '恢复首页旧备用存储域名的可用缩略图' ( #9 ) from codex/home-image-recovery into main
2026-11-03 09:27:39 +08:00
Codex
dfab95a654
Recover home previews through the documented storage alias
2026-11-03 09:26:31 +08:00
c35f5fc5a8
Merge pull request '修复首页失效封面与 Logo 的破图显示' ( #8 ) from codex/home-image-recovery into main
2026-11-03 09:18:33 +08:00
Codex
e6c6e19e5a
Handle unavailable home gallery images and brand logo
2026-11-03 09:17:59 +08:00
bb9d02a053
Merge pull request '修复结果文件链接加载时闪现字符' ( #7 ) from codex/sku-stream-links into main
2026-11-02 19:10:55 +08:00
Codex
d9b06cf0b3
Keep streamed result file links intact
2026-11-02 19:10:16 +08:00
086c58fcc3
Merge pull request '修复生成结果加载时图片链接闪现异常' ( #6 ) from codex/sku-stream-atomic into main
2026-11-02 18:37:28 +08:00
Codex
5a343b6392
Avoid partial image markup during streamed responses
2026-11-02 18:36:50 +08:00
e6f07ed2ce
Merge pull request '修复原图下载及 SKU 结果展示' ( #5 ) from codex/sku-original-image-display into main
2026-11-02 17:47:03 +08:00
Codex
db46983725
Fix original image downloads and SKU message rendering
2026-11-02 17:46:31 +08:00
ae4605d479
Merge pull request 'fix(deploy): 切换时重建单个 PM2 应用定义并保留回滚日志' ( #4 ) from codex/production-48-pm2-definition into main
2026-10-30 19:16:50 +08:00
Codex
36efdfae53
fix(deploy): replace only the target PM2 process definition
2026-10-30 19:15:56 +08:00
10efb4c1e7
Merge pull request 'build: 独立封装发布依赖并用写入时复制控制空间' ( #3 ) from codex/production-48-runtime-snapshot into main
production-48-20261030-10efb4c1
2026-10-30 18:43:39 +08:00
Codex
9da598967a
build: snapshot complete release runtime with copy-on-write files
2026-10-30 18:42:59 +08:00
91edc4019e
Merge pull request 'build: 建立 main 到 48 / PM2 的可回滚发布流程' ( #2 ) from codex/production-48-release-pipeline into main
2026-10-30 18:23:21 +08:00
Codex
7439792d40
build: add verified PM2 release workflow for production 48
2026-10-30 18:22:11 +08:00
be642948ec
chore(repo): restore main from the verified production source baseline ( #1 )
...
Preserve production history and recovered source changes, with portable repository validation.
Production snapshot and previous main are retained by tags. This merge updates source management only; no production deployment or data migration was performed.
2026-10-30 16:39:57 +08:00
Codex
9155682238
chore(repo): make the recovered production baseline portable
...
Record source and release ownership, keep source line endings consistent,
and exclude local build/config backups from version control.
Restore default Next type paths, normalize CI checks across line endings,
and use portable Playwright and postbuild entry points on Windows/Linux.
Align the stale timeout fixture with the existing production timeout policy.
Application runtime files remain identical to production-snapshot-48-20261030.
Production build and focused regressions passed; pre-existing full-repository
lint findings remain documented instead of relaxing lint rules.
2026-10-30 16:19:08 +08:00
Codex
03b8a0deb0
chore(repo): preserve production-48 source snapshot
...
Recover the existing 19 modified tracked files and 6 untracked source files
from the production working tree without changing their contents.
Production source HEAD: 439fd56fe120fdb9f855b50fa4df9ce2e71bb72a
Production build ID: QhoygcZ4-x42PwCgCEj1d
Captured: 2026-10-30; all 25 source file SHA256 values verified.
This is a source recovery checkpoint; no deployment was performed.
production-snapshot-48-20261030
2026-10-30 15:37:23 +08:00
root
439fd56fe1
style(canvas): use brain icon for image agent toggle
2026-10-22 20:50:46 +08:00
root
99db635e0a
feat(canvas): default image composer to direct generation
2026-10-22 19:02:59 +08:00
134
14a7668274
fix(agent): verify delivered images when the planner reply disconnects
2026-10-21 16:15:24 +08:00
134
01485340b5
fix(agent): ask before replacing refused pinned image models and settle completed actions
2026-10-21 16:10:09 +08:00
134
8784bb783e
fix(agent): honor requests not to download during review
2026-10-21 14:06:35 +08:00
134
82c71b8cd8
fix(agent): finish verified edits after ancillary download actions
2026-10-21 13:59:32 +08:00
134
90c17a61fb
fix(agent): enforce structured JSON for vision inspection
2026-10-21 13:54:15 +08:00
134
404d783fa5
test(agent): give vision fixtures a provider identity
2026-10-21 13:42:03 +08:00
134
1705f0ba43
fix(agent): keep official DeepSeek available across task rounds
2026-10-21 13:39:54 +08:00
134
b689f8f770
fix(agent): support DeepSeek official multimodal tool conversations
2026-10-21 12:52:03 +08:00
134
7541262f28
fix(agent): require a real deliverable before bypassing failed read checks
2026-10-21 12:10:56 +08:00
134
75e6a28309
chore(deploy): include UTC-safe checks for active canvas tasks
2026-10-21 12:06:00 +08:00
134
7925545980
fix(agent): recover read timeouts and align model waits with safe UTC deployment checks
2026-10-21 12:06:00 +08:00
134
59994062c9
fix(agent): retire multi-angle tools and use reference-image generation for viewpoint edits
2026-10-21 11:54:13 +08:00
134
fb10747828
fix(agent): recover unavailable automatic image choices and correct regression fixtures
2026-10-21 10:40:52 +08:00
134
d2d0a1725c
fix(agent): keep pinned image features from substituting missing models
2026-10-21 10:40:52 +08:00
134
f38488b546
fix(agent): recover image parameter compatibility errors without false model bans
2026-10-21 10:35:23 +08:00
134
36761e37a4
fix(agent): retain image fault records and show actionable recovery messages
2026-10-21 10:30:30 +08:00