Commit Graph

32 Commits

Author SHA1 Message Date
kdletters
11c5e3edf4 补齐创作生成订阅消息通知
订阅消息任务名称改为玩法模板名。

拼图、敲木鱼、抓大鹅、跳一跳、方洞、视觉小说在草稿生成成功或失败终态发送通知。

订阅消息泥点字段按本次生成结算后的实际扣除展示,失败退款后显示0。

更新微信订阅消息运维和支付方案文档口径。
2026-06-08 19:21:27 +08:00
f4eee2d585 再次合并 master
合入 origin/master 最新订阅消息与计费相关更新

保留作品架 actions 收口并接入统一分享弹窗

修复创作生成泥点预检与本地余额扣减回归
2026-06-08 17:18:38 +08:00
5ea9f0a120 按后台配置扣除创作泥点
前端创作表单泥点预校验改为读取入口契约配置

拼图和抓大鹅初始生成后端扣费改为解析后台配置

汪汪声浪初始三图生成按入口总成本拆分扣费

创作工作台按钮和确认弹窗展示后台配置泥点成本

补充泥点扣费回归测试并同步文档与共享记忆
2026-06-08 15:47:48 +08:00
kdletters
38d9c292ae feat: send puzzle result subscribe messages 2026-06-08 11:49:11 +08:00
7719c7e5a8 再次合并 master
合入 origin/master 最新后端、OSS 与认证链路调整。

保留本枝架构收口修改并合并 Hermes 决策记录。

通过 typecheck、编码检查、Spacetime schema guard 与 api-server cargo check。
2026-06-07 22:52:45 +08:00
decded991e 清理后端编译警告
删除后端未使用的历史 helper、mapper、handler 和 re-export

将仅测试使用的导入、常量和辅助函数收口到 cfg(test)

补齐 Jump Hop 测试构造体字段并对齐 Match3D 当前素材表测试契约

验证后端 workspace cargo check 与 Match3D、Puzzle 相关测试
2026-06-07 22:20:58 +08:00
ce930ee5c3 Merge codex/sse-stream-architecture into architecture adjustment 2026-06-07 00:23:42 +08:00
kdletters
8e1a62d130 fix: decouple puzzle draft generation lifecycle 2026-06-05 23:22:30 +08:00
4b4af11dbc fix: 收紧拼图发布资产门槛 2026-06-04 03:50:09 +08:00
08577b66c5 fix: stabilize puzzle vector engine asset generation 2026-06-03 02:40:07 +08:00
67ba40c678 Refine play type integration flow and docs 2026-06-03 01:25:53 +08:00
kdletters
3db956ec81 feat: add wechat mini program virtual payment 2026-05-31 22:44:22 +08:00
kdletters
f1fb92aa29 Enrich external API failure audit metadata 2026-05-28 15:42:46 +08:00
kdletters
771b0411a3 fix: enrich image failure audit metadata 2026-05-28 14:50:13 +08:00
kdletters
54683cb3ac Merge branch 'master' into codex/frontend-error-dialogs
# Conflicts:
#	.hermes/shared-memory/decision-log.md
#	server-rs/crates/api-server/src/generated_asset_sheets.rs
2026-05-26 22:10:41 +08:00
kdletters
17a184b0a7 fix: settle puzzle failures and profile tasks 2026-05-26 22:02:58 +08:00
kdletters
aeee782fe0 Add public work read model and smooth puzzle transitions 2026-05-26 16:38:27 +08:00
kdletters
44c65df5c9 refactor: extract platform media crates 2026-05-26 13:18:13 +08:00
485e0fe5d5 Merge branch 'master' into codex/recommendation-login-modal-fix 2026-05-25 21:52:15 +08:00
e6e2d821a8 fix: remove recommend login gate 2026-05-25 21:52:05 +08:00
080694fb46 refactor: extract platform image provider 2026-05-25 19:03:43 +08:00
kdletters
42037860d5 feat: integrate jump-hop shelf and asset flow 2026-05-24 19:00:21 +08:00
ae014ac881 Switch to VectorEngine gpt-image-2 and edits
Replace uses of the legacy `gpt-image-2-all` model with `gpt-image-2` and standardize image workflows: no-reference generation uses POST /v1/images/generations, any-reference flows use POST /v1/images/edits with multipart `image` parts. Update SKILLs, generation scripts, decision logs, and docs to reflect the contract change and edits-vs-generations guidance. Apply corresponding changes across backend (api-server match3d/puzzle modules, openai image adapter, mappers, telemetry, spacetime client/module), frontend components and services (Match3D, Puzzle, CreativeImageInputPanel, runtime shells), and add new spritesheet/parser files and tests. Also add media/logo.png. These changes align repository code and documentation with the VectorEngine image API contract and update generation/upload handling (green-screen -> alpha processing, spritesheet handling, and related tests).
2026-05-22 03:06:41 +08:00
kdletters
5834a99107 refactor(api-server): narrow puzzle state surface 2026-05-21 18:55:25 +08:00
7b37271f17 Puzzle: support history images & partial generation
Allow history-generated image paths to be submitted where Data URLs were previously required and avoid treating partial/result-page generations as blocking the whole draft. Backend: resolve history /generated-* references via resolve_puzzle_reference_image_as_data_url and convert to PuzzleDownloadedImage; add PuzzleDownloadedImage::from_resolved_reference_image; extend draft handling to apply generated level metadata (auto-naming) and normalize generation_status to treat levels with images as ready. API: add shouldAutoNameLevel to action contracts and use it to request/refine generated level names. Spacetime/module and mappers: normalize completed level statuses when saving/reading so result-page background or per-level generation doesn't mask completed drafts. Frontend: expose resolver helpers, only mark a work as generating when no usable cover or ready level exists, keep level controls enabled during UI-background regeneration, and add tests covering history-image submission, auto-naming, and UI-background/partial-generation behaviors.
2026-05-19 10:02:13 +08:00
kdletters
5e03b3d2f2 修复冲突错误 2026-05-19 00:07:43 +08:00
kdletters
269f35cecf refactor: split large modules and normalize rust layout 2026-05-18 19:40:14 +08:00
kdletters
472a47eae7 refactor(api-server): split puzzle module 2026-05-18 17:50:16 +08:00
kdletters
73f937d78a feat(api-server): cache puzzle gallery card view 2026-05-17 05:50:33 +08:00
a45e358e83 Add generationStatus and match3d/runtime fixes
Introduce persistent generationStatus to work summaries (puzzle & match3d) and propagate generation recovery rules across docs and frontend/backends so "generating" is restored from server-side work summary rather than ephemeral front-end notices. Update API server image/asset handling (improve match3d material sheet green/alpha decontamination and promote generatedItemAssets background fields) and add runtime improvements: alpha-based hotspot hit-testing, tray insertion/three-match animation behavior, and session re-read on client-side VectorEngine timeouts/lock-screen interruptions. Many docs, tests and related frontend modules updated/added to reflect these contract and behavior changes.
2026-05-16 22:59:02 +08:00
b97a3ccebd Merge origin/master into hermes/hermes-4fd30995 2026-05-15 03:41:50 +08:00
1b54db4f92 refactor: modularize api server assets and handlers 2026-05-14 22:54:52 +08:00