Commit Graph

40 Commits

Author SHA1 Message Date
k88936 2b8ced9195 合并主分支
解决简单冲突
2026-08-06 18:55:15 +08:00
lhk229 281c84b7bf BGM生成路径优化 (#142)
Project CI / Repository checks (push) Successful in 1m15s
Project CI / Frontend tests (push) Failing after 2m11s
Project CI / Backend tests (push) Successful in 3m33s
Project CI / Native shell tests (push) Successful in 13m57s
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/142
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
2026-08-06 17:54:40 +08:00
k88936 55ff47c6c4 收紧图标图集提示词输入契约
新增独立的 spritesheet prompt 单项字符、聚合字符和 UTF-8 字节上限。

以已验证类型约束 prompt builder,并覆盖 inline、队列与 worker 执行边界。

同步画布校验、Editor Agent 工具合同、External v1 OpenAPI、文档和边界测试。
2026-08-06 16:44:33 +08:00
k88936 3fdbe81bfe 重构图标规范与图集生成链路
新增图标规范独立队列任务并将参数补全纳入统一计费操作
将图标图集生成和手工拆分迁入独立图标模块并复用公共生图能力
将图标规范引用收紧为项目资源或素材 ID
同步 SpacetimeDB 引用解析契约、External OpenAPI、前端与 Agent 提交链路
补充相关回归测试和长期架构约定
2026-08-06 15:43:10 +08:00
k88936 e6f0e6248e 修复图标规范优化细节
空响应纳入有界重试,并为优化请求设置输出 token 上限。
修复题材提示词括号并补充回归测试。
将优化请求身份更新移入已提交 effect,避免并发渲染污染。
移除冗余类型注释并同步编辑器文档。
2026-08-06 11:33:26 +08:00
k88936 3c9039d08b 调整图标规范提示词生成逻辑
支持参考图解析
优化提示词结构
2026-08-05 20:27:59 +08:00
k88936 baaa587f2f 修复图标提示词标签注入风险
统一转义图标规范与图集提示词中的不可信 XML 保留字符
补充恶意闭合标签回归测试并覆盖分析、润色与图集提示词
同步后端架构文档中的提示词数据边界约束
2026-08-05 16:50:53 +08:00
k88936 ac12e929f2 修复图标规范评审问题
迁移旧版 ui 规范快照并隔离跨对话框优化结果。

关闭非幂等图标规范生成重试并统一参考图解析逻辑。

限制 LLM 重试范围并严格校验优化文本与补全参数。

修正图集键色、数量与素材间距提示约束并补充行为测试。

同步图片画布与生成面板技术文档。
2026-08-05 11:32:18 +08:00
k88936 cc86d29b83 新增基于 LLM 的图标规格优化与生成接口
新增 refine_game_play 与 refine_art_style 提示词优化接口
实现图标规范游戏类型解析与提示词构建契约
集成 API 路由并补充校验与 LLM 行为测试
2026-08-04 19:06:24 +08:00
AIGameCreator App 6bcd176bdf 合并 master 最新更新
Project CI / Frontend tests (push) Failing after 24s
Project CI / Repository checks (push) Failing after 43s
Project CI / Backend tests (push) Successful in 3m5s
Project CI / Native shell tests (push) Failing after 6m49s
合入 master 的 BgFilter、CI、运维与现役平台改造。

保留 AI 游戏创作 Runtime、独立锁文件与原生壳验证链路。

修复共享充值账单组件、LLM 网关与退役 Agent 兼容边界。

同步冲突文档、锁文件和开发脚本。
2026-07-27 18:28:26 +08:00
kdletters e9c3dc1120 退役旧创作模板业务
保留 SpacetimeDB 历史表、迁移白名单与旧业务源码
切换前端 active 入口并解除旧创作页面和路由编译链
移除旧后端路由、worker 与纯业务 crate 依赖
收敛 SpacetimeDB 模块为历史数据壳
同步 Nginx、Pingora、验证门禁与架构文档
2026-07-17 22:07:52 +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 602d24695d 升级外部生成为正式任务列表
将 external_generation_job 扩展为含价格、确认时间、退款流水和事件审计的正式生成任务事实源

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

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

将 worker 计费退款流水写入 externalGenerationJobId,并补充冷备份后 worker/controller 恢复守护
2026-06-24 15:18:07 +08:00
kdletters 73a17193d4 升级外部生成为正式任务列表
将 external_generation_job 扩展为含价格、确认时间、退款流水和事件审计的正式生成任务事实源

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

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

将 worker 计费退款流水写入 externalGenerationJobId,并补充冷备份后 worker/controller 恢复守护
2026-06-24 15:17:12 +08:00
kdletters c206ca7c33 固定绿幕提示词颜色
统一绿幕生成提示词使用 #00FF00 / RGB(0,255,0)

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

同步玩法、后端与项目记忆文档口径
2026-06-22 15:11:33 +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
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 269f35cecf refactor: split large modules and normalize rust layout 2026-05-18 19:40:14 +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
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
kdletters c3fbf7a30b feat: tighten visual novel one-line generation flow 2026-05-13 12:26:39 +08:00
JenkenB 94975e4735 1 2026-05-08 20:48:29 +08:00
JenkenB abf1f1ebea 1 2026-05-08 11:44:42 +08:00
kdletters d06107f2c6 落地方洞挑战图片与运行态交互
CI / verify (push) Has been cancelled
2026-05-06 12:52:47 +08:00
kdletters 60b667a9d1 Extend square-hole creation flow with visual asset timeout guard 2026-05-06 12:52:47 +08:00
JenkenB 06b8b46530 Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative
CI / verify (push) Has been cancelled
2026-05-05 14:58:07 +08:00
JenkenB 07e777fef8 1 2026-05-05 14:40:41 +08:00
kdletters 995661e7cc Preserve partial creation replies on stream failure
CI / verify (push) Has been cancelled
2026-05-05 11:31:50 +08:00
JenkenB 801d1d534a 1 2026-05-03 00:17:50 +08:00
JenkenB 87fbf41fab 1 2026-05-01 20:29:09 +08:00
JenkenB fe02603ba1 1 2026-05-01 00:33:39 +08:00
JenkenB 9d684cb7b3 1 2026-04-30 17:49:07 +08:00
JenkenB 89ab1bf1c0 1
CI / verify (push) Has been cancelled
2026-04-29 23:10:43 +08:00
JenkenB 730f485f48 1 2026-04-29 20:56:59 +08:00
JenkenB 0f013b6eee 1 2026-04-28 20:25:37 +08:00
JenkenB f0471a4f8d 1 2026-04-28 19:36:39 +08:00
JenkenB fa2dbb310b 1 2026-04-27 14:23:19 +08:00
JenkenB 67161bd6d1 1 2026-04-26 20:50:58 +08:00
kdletters cbc27bad4a init with react+axum+spacetimedb
CI / verify (push) Has been cancelled
2026-04-26 18:06:23 +08:00