Commit Graph

80 Commits

Author SHA1 Message Date
kdletters 15bca90ed2 持久化码后台操作记录
新增兑换码和邀请码后台操作持久表。

列表接口返回全部操作记录并同步前后端契约。

后台页面展示持久化操作历史并移除最近一条会话记录。

更新 SpacetimeDB 迁移表清单、生成绑定和后端架构文档。
2026-07-02 17:31:33 +08:00
kdletters 69b4d5f090 收敛邀请码标签元数据校验
将邀请码 metadata.tags 写入时收敛为 userTags。

拒绝非数组或非字符串 tags 元数据。

补充链接邀请码自动兑换失败时的前端测试。
2026-07-01 18:03:15 +08:00
kdletters cf585b6316 修正兑换码按用户限兑校验
唯一码和私有码改为按用户限制重复兑换

兑换失败日志补充请求与用户上下文

补充兑换码模式校验测试

同步共享决策记录
2026-06-30 18:22:48 +08:00
kdletters 73a17193d4 升级外部生成为正式任务列表
将 external_generation_job 扩展为含价格、确认时间、退款流水和事件审计的正式生成任务事实源

新增外部生成任务列表与确认 BFF,并让平台入口按后端任务补弹完成或失败提示

保护画布生成队列超时、快照回写和自动保存覆盖场景

将 worker 计费退款流水写入 externalGenerationJobId,并补充冷备份后 worker/controller 恢复守护
2026-06-24 15:17:12 +08:00
kdletters afc2f03497 新增后台账号初始泥点配置
新增 profile_wallet_config 表和后台读写接口

注册赠送泥点改为读取后台配置并保留默认 100

后台新增账号配置页并同步数据契约文档
2026-06-23 17:42:49 +08:00
JenkenB 7830d201c4 Server-side billing for editor generation
Move editor generation pricing to backend: remove priceMudPoints from public request schemas and docs, require backend to compute model prices and perform pre-charge via execute_billable_asset_operation_with_cost. Update character animation and video handlers to use authenticated owner IDs and wrap generation requests in billing; remove client-side price validation. Adjust OpenAPI, project-memory docs, pricing management docs, and related tests to reflect that front-end only displays prices and must not submit priceMudPoints. Also document new user registration reward and wallet refund outbox behavior. Code and test changes applied across api-server handlers, shared contracts, and image-editor client/tests.
2026-06-22 23:11:23 +08:00
kdletters e29992cf01 点赞和改造开关加入后台配置 2026-06-10 14:37:04 +08:00
kdletters d0be3f36aa fix: 按契约显示统一创作表头 2026-06-06 23:51:53 +08:00
wuxiangwanzi 18908609fc feat: 统一创作页表头跟随后台入口配置 2026-06-06 22:49:38 +08:00
kdletters b2543ba8a2 Merge branch 'master' into codex/puzzle-clear-template-runtime-fixes 2026-06-06 20:01:52 +08:00
kdletters 2db3a6e185 Merge remote-tracking branch 'origin/master' into dev-jenken
# Conflicts:
#	.hermes/shared-memory/pitfalls.md
#	server-rs/crates/api-server/src/modules/jump_hop.rs
#	src/components/rpg-entry/RpgEntryFlowShell.agent.interaction.test.tsx
#	src/services/jump-hop/jumpHopClient.test.ts
2026-06-05 23:59:40 +08:00
JenkenB 27b30f974b Update spacetime-client bindings and frontend
Large update across server and web clients: regenerated/added many spacetime-client module bindings and input types (including new delete/work_delete input types and numerous procedure/reducer files), updates to server-rs API modules (bark_battle, jump_hop, wooden_fish, auth, module-runtime and shared contracts), and fixes in module-runtime behavior and domain logic. Frontend changes include new/updated components and tests (creative audio helpers, bark-battle/jump-hop/wooden-fish clients and views, unified generation pages, RPG entry views, and runtime shells), plus CSS and service updates. Documentation and operational notes updated (.hermes pitfalls and multiple PRD/docs) to cover daily-task refresh, banner asset fallback, recommend-key bug, and other platform behaviors. Tests and verification steps added/updated alongside these changes.
2026-06-04 22:44:19 +08:00
wuxiangwanzi c442c3c3f0 Merge remote-tracking branch 'origin/codex/tiaoyitiao' into codex/tiaoyitiao
# Conflicts:
#	docs/prd/【玩法创作】跳一跳俯视角玩法模板PRD-2026-05-19.md
#	server-rs/crates/spacetime-client/src/jump_hop.rs
#	server-rs/crates/spacetime-client/src/mapper/runtime.rs
#	server-rs/crates/spacetime-client/src/wooden_fish.rs
#	src/components/jump-hop-result/JumpHopResultView.test.tsx
#	src/components/jump-hop-runtime/JumpHopRuntimeShell.test.tsx
#	src/components/platform-entry/PlatformEntryFlowShellImpl.tsx
#	src/components/rpg-entry/RpgEntryFlowShell.agent.interaction.test.tsx
#	src/components/unified-creation/workspaces/JumpHopCreationWorkspace.tsx
#	src/components/unified-creation/workspaces/JumpHopWorkspace.test.tsx
2026-06-04 11:34:31 +08:00
wuxiangwanzi b9de2f2a43 Merge branch 'master' into codex/puzzle-clear-template-runtime-fixes
# Conflicts:
#	.hermes/shared-memory/decision-log.md
#	.hermes/shared-memory/project-overview.md
#	docs/【开发运维】本地开发验证与生产运维-2026-05-15.md
#	scripts/dev.test.ts
#	server-rs/crates/api-server/src/creation_entry_config.rs
#	server-rs/crates/api-server/src/wooden_fish.rs
#	server-rs/crates/module-auth/src/lib.rs
#	server-rs/crates/spacetime-client/src/wooden_fish.rs
#	server-rs/crates/spacetime-module/src/auth/procedures.rs
#	src/components/custom-world-home/creationWorkShelf.ts
#	src/components/platform-entry/PlatformEntryFlowShellImpl.tsx
#	src/components/rpg-entry/rpgEntryWorldPresentation.ts
#	src/services/miniGameDraftGenerationProgress.test.ts
#	src/services/miniGameDraftGenerationProgress.ts
2026-06-04 11:24:14 +08:00
wuxiangwanzi 7d2d67a3f5 feat(jump-hop): redesign sling platform gameplay 2026-06-03 22:21:00 +08:00
wuxiangwanzi 1b5e098225 feat: add puzzle clear template runtime 2026-06-03 22:11:46 +08:00
kdletters 70ff18ad90 feat: 支持创作入口公告配置 2026-06-03 03:31:45 +08:00
kdletters 3ffa9e0bb1 Merge remote-tracking branch 'origin/codex/unified-creation-flow-phase1'
# Conflicts:
#	server-rs/crates/api-server/src/wooden_fish.rs
2026-06-01 15:22:58 +08:00
kdletters c193a352df 收口创作流程统一总计划并修复等待页窄屏裁切 2026-05-31 05:57:34 +00:00
kdletters 78448d2a7b merge master into codex/wechat-mini-program-virtual-payment 2026-05-30 16:46:11 +08:00
kdletters 26975644b5 feat: unify phase one creation flow 2026-05-30 05:05:02 +08:00
kdletters dbbd48083a feat: add admin work visibility controls 2026-05-28 00:49:45 +08:00
kdletters b43c3cd823 Merge remote-tracking branch 'origin/master' into codex/wechat-mini-program-virtual-payment
# Conflicts:
#	.hermes/shared-memory/decision-log.md
2026-05-27 20:35:32 +08:00
kdletters f36b90ebdb feat: switch mini program recharge to virtual payment 2026-05-26 22:32:16 +08:00
kdletters 44c65df5c9 refactor: extract platform media crates 2026-05-26 13:18:13 +08:00
JenkenB 50a0d6f982 Refine creation tab UX, generation flow, and bindings
Large changes across frontend, backend and docs to align creation-tab and generation-page behavior with new product UI/UX and Spacetime bindings. Updated hermes decision-log and pitfalls with concrete rules (banner carousel, font sizing, unread-dot tokens, template-card layout, direct card->entry routing, separation of account balance vs prize pools, removal of global page card shell, generation progress milestones and unified circular progress, and background video handling). Added GenerationProgressHero component and media assets, plus generation-related UI/tests updates (CustomWorldGenerationView, BarkBattleGeneratingView, creation hub/cards, platform entry routing, index tests). Backend and contract updates include new category fields in admin API types and admin UI form/list, spacetime-client/module/migration changes and generated bindings script. Misc: many tests adjusted, new docs and plan files added, and several server-rs crate changes to support the updated creation/ generation workflows.
2026-05-25 00:41:30 +08:00
kdletters d46c5f9383 Merge remote-tracking branch 'origin/codex/wooden-fish-template' 2026-05-22 08:09:58 +08:00
kdletters 61b850c2c2 Merge remote-tracking branch 'origin/master' into codex/bark-battle 2026-05-22 05:12:29 +08:00
kdletters bf82f04b64 fix: polish bark battle creation flow 2026-05-22 05:00:07 +08:00
wuxiangwanzi 0faabb27c7 Merge remote-tracking branch 'origin/master' into codex/wooden-fish-template 2026-05-22 04:00:52 +08:00
wuxiangwanzi 5b0f9f3763 feat: add wooden fish play template 2026-05-21 23:34:07 +08:00
kdletters 41075e41a2 fix: stabilize rpg creation entry and opening cg 2026-05-21 17:21:38 +08:00
wuxiangwanzi ef09a23c35 feat: refresh creation config and visual assets 2026-05-20 14:02:36 +08:00
JenkenB 3931442249 Enforce Genarrative play-type SOP and update docs
Rewrite Genarrative play-type integration guidance across .codex and .hermes to define a platform-level SOP: default to form/image workbench, unify single-image asset slots (CreativeImageInputPanel), standardize series-material sheet->cut->transparent->OSS pipeline, and forbid copying legacy chat/agent workflows as the default. Add decision-log entry freezing the SOP and a pitfalls note warning against direct reuse of old play tools. Update CONTEXT.md and docs/README.md, add a new PRD file, and apply related small server-side changes (module-auth, spacetime-client mappers and runtime) to align back-end code with the new contracts and flows.
2026-05-20 12:12:00 +08:00
kdletters 05a0f34722 perf(api-server): batch route tracking through local outbox 2026-05-19 01:47:13 +08:00
kdletters 0152f9bd67 Merge branch 'hermes/wechat'
# Conflicts:
#	.hermes/shared-memory/decision-log.md
#	docs/technical/MY_TAB_ACCOUNT_RECHARGE_IMPLEMENTATION_2026-04-25.md
#	docs/technical/OIDC_JWT_CLAIMS_DESIGN_2026-04-21.md
#	server-rs/crates/module-runtime/src/errors.rs
#	src/components/rpg-entry/RpgEntryHomeView.recharge.test.tsx
#	src/components/rpg-entry/RpgEntryHomeView.tsx
2026-05-15 11:32:51 +08:00
kdletters 5b70ec6af7 feat: 接入微信H5与Native充值支付 2026-05-15 06:40:40 +08:00
JenkenB 0f36beee91 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-15 06:36:48 +08:00
JenkenB 3cb3efb4d0 Prune stale docs and update .hermes content
Delete a large set of outdated documentation (many files under docs/ and .hermes/plans/, including audits, design, prd, technical, planning, assets, and todos). Update and consolidate .hermes content: refresh shared-memory pages (decision-log, development-workflow, document-map, pitfalls, project-overview, team-conventions) and several skills/references under .hermes/skills. Also modify AGENTS.md, README.md, UI_CODING_STANDARD.md, docs/README.md and .encoding-check-ignore. Purpose: clean up stale planning/audit material and keep current hermes documentation and related top-level docs in sync.
2026-05-15 06:24:07 +08:00
kdletters c7fe793a9e feat: 支持充值商品配置和档位首充 2026-05-15 06:20:52 +08:00
kdletters 7972661d1e fix: 对齐首充双倍展示状态 2026-05-15 03:59:37 +08:00
JenkenB 3288b6aafb Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-15 02:41:43 +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 73424f958a Merge remote-tracking branch 'origin/master' into hermes/wechat
# Conflicts:
#	.hermes/shared-memory/pitfalls.md
#	.hermes/todos/【后端架构】api-server能力模块化与图片资产Adapter收口计划-2026-05-14.md
2026-05-15 01:28:04 +08:00
kdletters 2801b55d2f fix: 修复微信支付回跳刷新与查单确认 2026-05-14 23:52:01 +08:00
JenkenB 4642855fd0 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-14 21:33:34 +08:00
kdletters 5c5a8d4a40 fix: enforce WeChat Pay JSAPI field limits 2026-05-14 20:22:49 +08:00
wuxiangwanzi e444266e1e feat: add edutainment drawing and visual package flows 2026-05-14 14:56:36 +08:00
JenkenB d33c937ebc 1 2026-05-14 14:21:17 +08:00
kdletters ae58a443a3 feat: 接入微信小程序支付 2026-05-14 00:16:17 +08:00