Commit Graph

71 Commits

Author SHA1 Message Date
AIGameCreator App d575b6887f 合并 master 最新改动
同步 origin/master 至 b303605bf
保留项目总控 Runtime 决策并合入后台账号与画布更新
沿用当前 platform-llm LlmRunRequest 接口解决背景决策冲突
2026-07-16 17:07:13 +08:00
kdletters 271b153308 统一Rust格式化工具链与构建门禁
固定Rust 1.96.0与rustfmt格式配置

接入本地lint、Codex提交前检查和Jenkins构建门禁

提交server-rs全workspace一次性格式化基线

同步开发运维文档与production-ops防回退检查
2026-07-15 21:06:05 +08:00
lhk229 65d1489bdd 新增 Anthropic 链路,LLM 请求收口为 LlmRunRequest/LlmApiKind,新增Agent流程图绘图脚本 (#70)
新增 Anthropic 链路,LLM 请求收口为 LlmRunRequest/LlmApiKind,为未来创建更多字段适配高级功能准备

Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/70
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
2026-06-30 19:33:37 +08:00
kdletters c206ca7c33 固定绿幕提示词颜色
统一绿幕生成提示词使用 #00FF00 / RGB(0,255,0)

补充暗绿绿幕去背兜底并覆盖聚焦测试

同步玩法、后端与项目记忆文档口径
2026-06-22 15:11:33 +08:00
kdletters d9c32261fc 修复拼图生成队列与草稿恢复
补齐拼图队列状态回传,生成页展示排队/运行状态

修复草稿进入时生成中与结果页路由恢复逻辑

避免新增空白关卡立即自动保存并保留编辑弹窗

恢复稳定拼图 profile 缺失时的同源 session 草稿投影

让外部生成 worker/controller 跳过 HTTP 认证快照恢复

补充外部生成 worker 与拼图草稿排障记录
2026-06-19 10:47:56 +08:00
kdletters f87ae3f915 合并 origin/master
合入 master 的钱包退款 outbox、拼图后台编译互斥与公开链路更新

保留当前分支外部生成 worker 队列语义,并对齐拼图首图 claim 释放顺序
2026-06-11 23:06:41 +08:00
kdletters f8a80cd795 修复资产计费边界风险
资产生成预扣费改为 fail-closed,避免钱包异常时继续调用外部生成

新增钱包退款 outbox,退款失败时本地落盘并后台重放

拼图首图后台任务改用 SpacetimeDB claim 表实现跨实例互斥

计费 ledger id 统一绑定 request_id,并让前端重试复用 x-request-id

同步 SpacetimeDB bindings、后端架构文档和 Hermes 决策记录
2026-06-11 15:55:23 +08:00
kdletters 4f86c1a75b 合并 master 并保留外部生成 worker 模式
合入 master 的拼消消、微信能力、OpenSSL 3.2 和 SpacetimeDB 2.4.1 更新
保留外部内容生成 queue/inline、worker lease 与动态扩缩容口径
补齐拼图后台图片生成队列轮询和运行态返回恢复
同步容器、生产运维和 Hermes 共享记忆中的 worker 文档
2026-06-09 16:55:32 +08:00
kdletters 088470a315 收口微信领域能力
将 api-server 微信 HTTP/BFF 适配统一迁移到 wechat 目录。

将微信支付和虚拟支付消息协议细节下沉到 platform-wechat。

拆分 platform-wechat 的订阅消息与支付模块并补齐依赖。

修正微信相关测试的用户 ID 夹具并同步后端架构文档。
2026-06-08 21:05:37 +08:00
kdletters 38d9c292ae feat: send puzzle result subscribe messages 2026-06-08 11:49:11 +08:00
kdletters decded991e 清理后端编译警告
删除后端未使用的历史 helper、mapper、handler 和 re-export

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

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

验证后端 workspace cargo check 与 Match3D、Puzzle 相关测试
2026-06-07 22:20:58 +08:00
kdletters 4bb6d0bd1e feat: add inline external generation mode 2026-06-07 00:56:53 +08:00
kdletters 8e1a62d130 fix: decouple puzzle draft generation lifecycle 2026-06-05 23:22:30 +08:00
kdletters 8d54ea3374 feat: workerize external generation 2026-06-05 17:29:08 +08:00
kdletters 5289d81baf feat: record external generation runs 2026-05-27 21:57:34 +08:00
kdletters 17a184b0a7 fix: settle puzzle failures and profile tasks 2026-05-26 22:02:58 +08:00
kdletters 485e0fe5d5 Merge branch 'master' into codex/recommendation-login-modal-fix 2026-05-25 21:52:15 +08:00
kdletters e6e2d821a8 fix: remove recommend login gate 2026-05-25 21:52:05 +08:00
kdletters 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
JenkenB 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
kdletters 5e03b3d2f2 修复冲突错误 2026-05-19 00:07:43 +08:00
JenkenB d1adfa3406 Improve local auth env handling and fallbacks
Allow local env files to reliably override authentication feature flags (SMS/WeChat) by whitelisting keys in scripts/dev-utils.mjs and adding a unit test. Add SMS checks to scripts/check-api-server-env.mjs. Make server config.parse_bool tolerant of shell-wrapped quoted values (e.g. '"true"') and add tests so SMS_AUTH_ENABLED is parsed correctly when shells supply quotes. Update docs to clarify SMS env behaviour, restart requirements, and add guidance + a CSS fallback for old mobile browsers (QQ/X5) so public cover images render even when aspect-ratio is unsupported. Also include related frontend test and component adjustments and add puzzle onboarding handlers/endpoints in server-rs/crates/api-server/src/puzzle.rs.
2026-05-18 23:13:49 +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 5a4a8a4892 feat(api-server): add container loadtest observability 2026-05-17 20:52:15 +08:00
kdletters 73f937d78a feat(api-server): cache puzzle gallery card view 2026-05-17 05:50:33 +08:00
JenkenB 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
kdletters b97a3ccebd Merge origin/master into hermes/hermes-4fd30995 2026-05-15 03:41:50 +08:00
JenkenB 74fd9a33ac Increase VectorEngine timeouts and add image UI
Add VectorEngine image generation config and raise request timeouts (env + scripts) from 180000 to 1000000ms. Introduce a reusable CreativeImageInputPanel component with tests and wire up mobile keyboard-focus helpers; update generation views and related tests (CustomWorldGenerationView, BarkBattle editor, Match3D, Puzzle flows). Improve API error handling / VectorEngine request guidance (packages/shared http.ts and docs), and apply multiple backend/frontend fixes for puzzle/match3d/prompt handling. Also include extensive docs and decision-log updates describing UI/UX decisions and verification steps.
2026-05-15 02:40:59 +08:00
kdletters 1b54db4f92 refactor: modularize api server assets and handlers 2026-05-14 22:54:52 +08:00
JenkenB 548db78ca7 Update Match3D/image-generation docs & code
Adds/updates documentation, assets and implementation for Match3D and puzzle image generation workflows. Key changes: decision logs and pitfalls updated to prefer VectorEngine Gemini for Match3D material sheets and to require edits (multipart) for 1:1 container reference images; guidance added for when to use APIMart vs VectorEngine. .env.example clarified APIMart/Responses config. Many new public assets and PPT visuals added. Code changes across frontend and backend: updated shared contracts, server-rs match3d/puzzle/image-generation handlers, VectorEngine/OpenAI image generation clients, and multiple React components/tests to handle UI/background/container image signing, edits workflow, and puzzle UI background resolution. Added src/services/puzzle-runtime/puzzleUiBackgroundSource.ts and related test updates. Includes notes about multipart HTTP/1.1 requirement and test/verification commands in docs.
2026-05-14 20:34:45 +08:00
JenkenB d33c937ebc 1 2026-05-14 14:21:17 +08:00
JenkenB 5a55180b78 1 2026-05-14 01:11:58 +08:00
JenkenB e4a8bd42bb Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative 2026-05-13 03:10:55 +08:00
JenkenB 01c5ab985a 1 2026-05-13 00:28:07 +08:00
kdletters 26139f80d3 test: add wechat miniprogram auth smoke 2026-05-12 18:57:27 +08:00
JenkenB 481a27fc53 1 2026-05-11 20:27:41 +08:00
JenkenB 192accd796 1 2026-05-10 22:20:54 +08:00
JenkenB 1c16152708 1 2026-05-10 13:18:46 +08:00
kdletters 3ad1075227 feat: add work-level play tracking
CI / verify (push) Has been cancelled
2026-05-09 19:57:22 +08:00
JenkenB bc704d0c22 1 2026-05-09 18:24:08 +08:00
JenkenB a0ed128bde 1 2026-05-09 17:15:23 +08:00
JenkenB 94975e4735 1 2026-05-08 20:48:29 +08:00
JenkenB abf1f1ebea 1 2026-05-08 11:44:42 +08:00
wuxiangwanzi e8fee0172a feat: add puzzle onboarding and match3d entry updates
CI / verify (push) Has been cancelled
2026-05-07 23:30:54 +08:00
JenkenB 07e777fef8 1 2026-05-05 14:40:41 +08:00
JenkenB 5831703156 1
CI / verify (push) Has been cancelled
2026-05-02 20:43:41 +08:00
JenkenB 543ccf2509 Merge branch 'master' into codex/ddd 2026-05-02 20:43:35 +08:00