Commit Graph

137 Commits

Author SHA1 Message Date
910625d5e1 接入原生壳分享卡图片导出
新增 file.exportImage 宿主能力契约

分享卡下载在原生壳中优先走宿主图片导出

Expo 壳写入缓存图片并调用系统分享保存

Tauri 壳通过保存对话框写入图片字节

补齐能力漂移检查、测试和架构文档
2026-06-18 01:31:28 +08:00
38ed2227d3 按宿主能力声明启用原生能力
HostBridge 契约沉淀 method 与 capability 白名单

H5 解析 hostCapabilities 并按能力调用原生桥

发布分享弹窗仅在声明 share.open 时显示系统分享

补充能力声明测试和宿主壳文档
2026-06-18 00:48:13 +08:00
d67f9d5725 接入桌面壳文本文件导出能力
新增 HostBridge file.exportText 契约、文件名清洗和 H5 导出入口

Tauri 桌面壳通过受控 host_bridge_request 打开保存对话框并写入文本文件

Expo 移动壳对未接入的文件导出能力明确返回 unsupported

更新宿主壳方案、统一协议和项目共享决策记录
2026-06-17 23:02:01 +08:00
6f19e1c3ba 接入移动壳返回栈事件
移动壳声明 host.events 和 navigation.canGoBack 能力

Expo WebView 导航状态变化时向 H5 注入返回栈事件

H5 native_app transport 支持订阅 HostBridge 事件

补充事件订阅测试、移动壳能力测试和配置守卫

更新宿主壳方案和团队共享决策记录
2026-06-17 22:42:44 +08:00
a87f3dcc82 接入桌面壳窗口标题同步
HostBridge 契约新增 app.setTitle 方法和标题 payload

Tauri 桌面壳通过主窗口 API 同步非空窗口标题

桌面壳能力清单和配置守卫声明 app.setTitle

补充标题校验测试并更新宿主壳方案和团队共享决策记录
2026-06-17 22:36:52 +08:00
61d910400e 收口宿主壳外链打开协议
共享 HostBridge 契约新增外链 URL 协议白名单校验

Expo 移动壳打开外链前拒绝危险协议

Tauri 桌面壳打开外链前拒绝危险协议

补充共享契约、移动壳和桌面壳外链校验测试

更新宿主壳方案和团队共享决策记录
2026-06-17 22:31:24 +08:00
9b7da18879 新增 Expo 与 Tauri 原生宿主壳
新增 HostBridge 原生宿主契约和 H5 native_app transport

新增 Expo React Native 移动壳并收紧 WebView 外链边界

新增 Tauri 桌面壳并用 capability 收口受控命令

更新宿主壳方案、文档索引和共享记忆
2026-06-17 21:39:34 +08:00
6984af782c 更新 API meta 版本号
将 shared-contracts 与前端共享 API_VERSION 更新为 2026-06-16

同步 healthz 响应头断言与 API envelope 测试夹具

补充 api-server 文档中的 API_VERSION 来源说明
2026-06-16 16:37:40 +08:00
951caac32d 扩展外部生成Worker队列
新增外部生成队列概览和单任务状态契约

将跳一跳、拼消消、敲木鱼图片生成动作接入worker队列

前端生成等待页展示当前任务和队列数量

更新外部生成worker运维文档和团队决策记录
2026-06-12 23:15:55 +08:00
e29992cf01 点赞和改造开关加入后台配置 2026-06-10 14:37:04 +08:00
a0473771f1 fix: 优化跳一跳运行态与地块资源 2026-06-09 01:28:30 +08:00
5ea9f0a120 按后台配置扣除创作泥点
前端创作表单泥点预校验改为读取入口契约配置

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

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

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

补充泥点扣费回归测试并同步文档与共享记忆
2026-06-08 15:47:48 +08:00
78791af424 修正跳一跳排行榜展示名
新增排行榜 displayName 契约并在 api-server 出口补齐展示名

调整跳一跳结果页和运行态排行榜只显示 displayName

补充禁止展示 user_id 的前后端回归测试

更新跳一跳 PRD、后端契约文档和 Hermes 决策记录
2026-06-07 16:27:14 +08:00
8131894bb5 fix: tighten public work type routing 2026-06-07 14:53:03 +08:00
8f460feb41 fix: route recommend puzzle next through feed 2026-06-07 14:15:45 +08:00
kdletters
e3ecac85f3 fix: refine mini program nickname collection flow 2026-06-07 00:42:05 +08:00
b74440373f feat(auth): 小程序登录采集微信昵称 2026-06-06 23:59:15 +08:00
kdletters
b2543ba8a2 Merge branch 'master' into codex/puzzle-clear-template-runtime-fixes 2026-06-06 20:01:52 +08:00
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
7140ac72b5 1 2026-06-05 23:41:24 +08:00
cd8088d1fd feat: polish jump hop themed runtime assets 2026-06-05 22:55:40 +08:00
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
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
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
7d2d67a3f5 feat(jump-hop): redesign sling platform gameplay 2026-06-03 22:21:00 +08:00
1b5e098225 feat: add puzzle clear template runtime 2026-06-03 22:11:46 +08:00
67ba40c678 Refine play type integration flow and docs 2026-06-03 01:25:53 +08:00
kdletters
2fdeb34567 fix: lock recharge flow until virtual payment settles 2026-06-02 01:47:54 +08:00
kdletters
78448d2a7b merge master into codex/wechat-mini-program-virtual-payment 2026-05-30 16:46:11 +08:00
kdletters
1a56bb1e8a refactor auth payloads to slim snapshots 2026-05-28 20:46:21 +08:00
kdletters
f1fb92aa29 Enrich external API failure audit metadata 2026-05-28 15:42:46 +08:00
kdletters
c8b36cf799 fix wooden fish author and title display 2026-05-28 14:31:13 +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
927dcf5664 Sync local updates with origin/master 2026-05-26 23:00:08 +08:00
kdletters
f36b90ebdb feat: switch mini program recharge to virtual payment 2026-05-26 22:32:16 +08:00
kdletters
aeee782fe0 Add public work read model and smooth puzzle transitions 2026-05-26 16:38:27 +08:00
kdletters
5859d738a0 Merge remote-tracking branch 'origin/master' into feat/recommend-runtime-guest
# Conflicts:
#	docs/【玩法创作】平台入口与玩法链路-2026-05-15.md
2026-05-25 14:12:39 +08:00
kdletters
c1dcf074bb feat: unify recommend anonymous runtime guest auth
- Route recommended runtime launches through shared runtime guest token handling
- Extend recommend-page anonymous play beyond jump-hop
- Add regression coverage for runtime guest launch clients
- Update docs to reflect the full anonymous-play matrix
2026-05-25 14:03:38 +08:00
kdletters
42037860d5 feat: integrate jump-hop shelf and asset flow 2026-05-24 19:00:21 +08:00
8638397faa feat: 完善敲木鱼玩法模板链路 2026-05-24 02:49:13 +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
0faabb27c7 Merge remote-tracking branch 'origin/master' into codex/wooden-fish-template 2026-05-22 04:00:52 +08:00
5f1128540e feat: refine wooden fish runtime generation 2026-05-22 03:49:35 +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
d81cc49549 Merge remote-tracking branch 'origin/master' into codex/wooden-fish-template 2026-05-21 23:34:35 +08:00
5b0f9f3763 feat: add wooden fish play template 2026-05-21 23:34:07 +08:00
kdletters
5834a99107 refactor(api-server): narrow puzzle state surface 2026-05-21 18:55:25 +08:00
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