Commit Graph

2485 Commits

Author SHA1 Message Date
k88936 74d4972ecc 修复角色动作元数据迁移与画布归一化
迁移按计划态分类排除同任务预览视频并区分零候选与多候选。

历史画布迁移忽略复制的来源链,正式生成继续保持严格血缘校验。

逐帧核验登记对象并补齐对象路径与对象 ID,支持前置 scope 的安全 dry-run。

补充迁移 HTTP 调用、撤权能力、回归测试和长期数据契约。
2026-08-04 19:05:21 +08:00
k88936 e472b8d22d 合并远端master并保留角色动作正式契约
保留外部生成异步提交、幂等轮询与托管MCP能力

融合角色动作正式序列帧资源与素材持久化契约

保留内部处理元数据脱敏与图集批量持久化门禁

补齐画布资源权威恢复、测试与Skill文档
2026-08-04 16:11:47 +08:00
k88936 b7b53a937d 修正角色动作迁移参数线名
按生成绑定使用 expected_batch_sha_256 SATS 字段调用规范化 procedure。
同步更新 dry-run、apply 哈希绑定和批次顺序测试断言。
2026-08-04 14:36:04 +08:00
k88936 da42876c63 补齐角色动作预览失败重试
后台和创作主页序列播放器识别换签失败与图片解码失败并跳过故障帧。

全部帧失败时停止播放,弹窗显示失败帧数量并允许重新换签加载。

卡片全帧失败时引导打开预览重试,避免嵌套交互按钮。

补充故障帧跳过、手动重试和预读窗口恢复回归测试与项目记忆。
2026-08-04 12:12:59 +08:00
k88936 351f41fd12 恢复普通媒体画布时长状态
非角色动作图层继续从画布布局恢复音频和视频运行时秒数。

账号素材转图层时保留前端临时媒体时长,不写入角色动作正式字段。

补充音频图层时长恢复回归测试。
2026-08-04 11:42:07 +08:00
k88936 7b1adbd5a2 修复无项目角色动作血缘与导出提示
无项目生成返回正式账号素材时沿用素材记录的直接来源资源。

序列帧导出失败提示只按帧源是否存在分类,不把可选时长误报为缺帧。

补充账号素材独立返回时的动作血缘回归测试和角色动作方案说明。
2026-08-04 11:41:48 +08:00
k88936 f5b13915e0 优化角色动作预览加载与交互
后台和创作主页播放器只挂载当前帧与有界预读帧,避免一次换签全部序列。

浏览器播放间隔限制在定时器安全上限,不恢复已移除的最低帧间隔。

创作主页分别跟踪悬停和焦点,并遵循系统减少动态效果偏好。

后台播放按钮扩展为触控友好的四十四像素点击区域。

补充预读窗口、交互状态和减少动态效果回归测试与项目记忆。
2026-08-04 11:41:34 +08:00
k88936 ab4868d432 清理角色动作持久化映射冗余
通用 JSON 解析辅助函数改用准确命名并与 active mapper 保持一致。

持久化序列帧时直接消费输入字段,避免深拷贝完整帧数组。
2026-08-04 11:41:21 +08:00
k88936 325b3fc967 收紧后台角色动作序列帧契约
新增后台序列帧强类型共享载荷,缺失可选引用时保持原 JSON 线格式。

后台素材与精选映射统一输出经过规范化的强类型帧数组。

补充共享契约与后台映射序列化回归测试。
2026-08-04 11:41:09 +08:00
k88936 c6dc6b0c50 修复角色动作精选逐帧读取授权
生成端把每帧已确认的 objectKey 与 assetObjectId 写入正式序列载荷。
精选公开授权按稳定对象引用逐帧核验,避免仅首帧可读。
补充后端、SpacetimeDB 回归测试和契约文档。
2026-08-04 10:49:33 +08:00
k88936 471ab58ec2 优化动画帧播放间隔计算,移除最低间隔限制
使用序列总时长除以帧数计算真实播放间隔。
删除四十毫秒下限,保持高帧率动画的实际节奏。
2026-08-04 10:47:47 +08:00
k88936 17fcbc19df 修复素材图层创建失败时误切换上传目录
将上传目录切换延后到素材图层构建成功之后。
构建失败时保持原目录并展示错误,补充回归测试。
2026-08-04 10:45:47 +08:00
k88936 33f8e85a6e 修复编辑器素材动画元数据误判
补充非角色动作 generationInputs 顶层 frames、fps 与 durationSeconds 保持原样的回归测试。
2026-08-04 10:44:58 +08:00
k88936 73848e5174 更新角色动作正式字段与迁移文档
记录正式图片序列数据契约、placement-only 布局边界和无运行时 fallback 约束。
补充四阶段迁移执行顺序、blocker 处理、批次哈希门禁和发布维护窗口。
同步项目记忆中的长期决策与排障经验。
2026-08-04 10:44:08 +08:00
k88936 be63c54a84 升级角色动作外部接口与辅助工具
外部接口返回正式 resource 与 asset,并以数组顺序表达动作帧。
helper 只调用一次动作生成接口并直接消费正式结果,不再二次创建资源或兼容旧运行字段。
同步 OpenAPI、接口选择说明与 helper 自测。
2026-08-04 10:33:19 +08:00
k88936 00cff24cc1 完善角色动作精选与后台预览
精选与后台素材查询透传正式序列帧和毫秒时长。
列表仅加载首帧,激活预览后再逐帧换签并按完整时长播放。
创作首页与后台复用各自现有媒体组件,损坏动作不回退普通图片。
补齐精选模型、公开卡片和后台审核预览测试。
2026-08-04 10:25:38 +08:00
k88936 8c2f48d816 统一角色动作画布持久化与交互
前端只从正式 resource 或 asset 的图片序列字段恢复、复用、播放和导出角色动作。
动作 layout 只保存资源引用与 placement,不复制帧、时长、生成输入或 mediaType。
项目生成必须绑定正式资源,无项目放置必须绑定正式账号素材,缺失时失败关闭。
补齐素材库拖放、序列 ZIP、画布播放、保存恢复与生成工作流测试。
2026-08-04 10:21:46 +08:00
k88936 8a4ba6283b 收紧角色动作后端正式字段契约
角色动作生成只持久化并返回正式 project resource 与 account asset。
删除 API、后台 mapper 对 generationInputs 和布局动作结果的运行时回退。
动作 generationInputs 旧运行字段、screenColorHex 与正式帧 frameIndex 明确拒绝。
动作画布完成项只写资源引用与 placement,普通 layer 响应移除顶层 mediaType。
2026-08-04 10:20:24 +08:00
k88936 230613b07a 新增角色动作存量数据规范化迁移
新增 migration operator 专用 asset、project-resource、showcase、canvas 四阶段 procedure。
顶层旧字段仅在动作身份已证明后解释,正式与旧版冲突形成 blocker。
apply 绑定同批 dry-run SHA-256,并在结束后执行零匹配与零 blocker 复核。
新增迁移脚本、SATS 解析测试、生成绑定和生产制品门禁。
2026-08-04 10:17:10 +08:00
k88936 7d46bd8185 统一角色动作正式数据结构
为项目资源、账号素材和精选快照新增正式图片序列帧与毫秒时长字段。
统一 Rust DTO、SpacetimeDB 表、迁移默认值、typed client mapper 与生成绑定。
数组顺序作为唯一帧序,不持久化 frameIndex、frameCount、fps 或通用媒体时长。
2026-08-04 10:11:51 +08:00
k88936 e6b3199490 Fix/统一修复modal样式失效 (#122)
Project CI / Repository checks (push) Successful in 48s
Project CI / Backend tests (push) Successful in 3m53s
Project CI / Frontend tests (push) Successful in 3m21s
Project CI / Native shell tests (push) Successful in 11m16s
之前遇到几次弹窗的样式不生效,bug 现在在画布agent的删除对话弹窗又出现了,
这个pr把类似的修改集中到最下层的UnifiedModal,适用于所有的modal,
一些特殊的modal有特殊处理.

画布agent的删除对话弹窗
![shotmd-1785399342.jpg](/attachments/d63d7dc6-bf7e-4f13-bfe8-bc4716cd798f)

---------

Co-authored-by: 段舒康 <kdletters@qq.com>
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/122
Reviewed-by: 段舒康 <kdletters@qq.com>
Co-authored-by: 王德宇 <kvtodev@outlook.com>
Co-committed-by: 王德宇 <kvtodev@outlook.com>
2026-08-03 17:55:47 +08:00
kdletters 3c58e76a71 加固game-chat平台生成恢复与单轮收束
Project CI / Repository checks (push) Successful in 1m1s
Project CI / Backend tests (push) Successful in 4m2s
Project CI / Native shell tests (push) Successful in 10m55s
Project CI / Frontend tests (push) Successful in 3m27s
新增External Editor私有生成账本并实现GET-only恢复
保留未知生成结果、截止现场与人工对账身份
加固pending continuation取消所有权和异常持久化
补齐平台美术、默认栈、game-chat及配置隔离回归测试
同步AI游戏创作技术方案与共享项目记忆
2026-08-03 17:30:27 +08:00
kdletters 205c47eb60 修复Runtime默认栈与任务图门禁
Project CI / Repository checks (push) Successful in 1m0s
Project CI / Backend tests (push) Successful in 4m14s
Project CI / Native shell tests (push) Successful in 11m44s
Project CI / Frontend tests (push) Successful in 3m5s
为pending恢复和后续队列建立装箱的Tokio任务边界
同步三Director首波任务图的测试夹具
补齐Linux容器进程与Runtime栈边界文档
恢复Native shell完整默认栈测试门禁
2026-08-03 16:16:59 +08:00
kdletters 9450377693 修正容器进程组清理断言
Project CI / Repository checks (push) Successful in 1m10s
Project CI / Native shell tests (push) Failing after 6m32s
Project CI / Backend tests (push) Successful in 4m20s
Project CI / Frontend tests (push) Successful in 3m29s
使用可执行成员语义校验Linux进程组已停止
避免容器孤儿僵尸让signal探活断言误报失败
2026-08-03 15:35:47 +08:00
kdletters 04a6be5c3d 修复容器进程组清理误判
Project CI / Repository checks (push) Successful in 1m5s
Project CI / Frontend tests (push) Failing after 2m11s
Project CI / Native shell tests (push) Failing after 3m4s
Project CI / Backend tests (push) Successful in 3m41s
区分Linux进程组中的可执行成员与僵尸进程
补齐容器PID 1不回收孤儿进程的回归测试
同步记录Tauri进程树清理的容器边界
2026-08-03 15:31:40 +08:00
kdletters 53f06055a4 修复画布权威快照合并回归
Project CI / Frontend tests (push) Failing after 2m10s
Project CI / Repository checks (push) Successful in 1m19s
Project CI / Native shell tests (push) Failing after 3m27s
Project CI / Backend tests (push) Successful in 3m53s
统一生成完成态与本地布局的生命周期合并
保留同项目权威刷新中的有效画布选择
同步生成集成夹具与真实后端完成契约
补齐画布持久化回归测试和项目记忆
2026-08-03 15:20:44 +08:00
kdletters cf0864c956 合并远端master更新
Project CI / Frontend tests (push) Failing after 24s
Project CI / Repository checks (push) Successful in 1m13s
Project CI / Native shell tests (push) Failing after 3m39s
Project CI / Backend tests (push) Successful in 3m56s
合并远端Issue 115、118、127和128修复
保留移动端创作工具门禁与本地既有提交

# Conflicts:
#	docs/project-memory/shared-memory/pitfalls.md
2026-08-03 15:14:31 +08:00
kdletters d3eeaf979d 恢复移动端创作工具门禁
移动端底部导航仅保留我的入口
移动端创作、项目与画布直达统一展示桌面端提示
补充移动端入口与画布阻断回归测试
纠正旧模板退役时越权扩大的移动端产品口径
2026-08-03 15:13:26 +08:00
kdletters 6fe646ba2b 修复开放Issue 115、118、127和128
Project CI / Frontend tests (push) Failing after 21s
Project CI / Repository checks (push) Successful in 58s
Project CI / Native shell tests (push) Failing after 3m7s
Project CI / Backend tests (push) Successful in 3m33s
补齐Anthropic strict能力门控、传输schema、缓存usage和真实端点验收
隔离可选MCP服务目录失败并安全重定位局部schema引用
修复PowerShell 7环境下Windows私有ACL检查
统一角色与图标素材落库的用户prompt语义
合并权威画布快照与本地待保存或在途布局并补齐回归
同步更新技术文档、项目记忆和验证门禁
2026-08-03 14:03:20 +08:00
kdletters d1a657b5d2 为未鉴权MCP返回接入引导
保持401与Bearer挑战并提供机器可读的Key配置步骤

统一缺失格式错误和无效Key响应以避免凭据枚举

保留请求元信息并同步OpenAPI集成清单与架构文档

补充鉴权脱敏契约测试并完成本地dev栈验证
2026-08-03 12:03:50 +08:00
kdletters 6a02c7fb38 合并外部API MCP与异步生成能力
基于最新master接入托管式Streamable HTTP MCP并复用External API Key鉴权

统一External v1生成任务的幂等异步提交与状态查询

同步完整Skill资源、OpenAPI契约、AI游戏客户端与Worker适配

保留game-chat生命周期与首轮调度约定并完成重基验证
2026-08-03 11:47:20 +08:00
kdletters 38c43b708a 优化游戏聊天生命周期与首轮调度
Project CI / Repository checks (push) Successful in 1m8s
Project CI / Frontend tests (push) Failing after 2m8s
Project CI / Native shell tests (push) Failing after 3m28s
Project CI / Backend tests (push) Successful in 3m42s
新增受控 Tauri 开发启动器并在启动失败或终端退出时收束客户端进程树
修复 game-chat source hydration 与专业 Agent 已提交回复的持久可见性
统一正式任务图和 game-chat 首轮只激活策划美术程序三个 Director
限制显式首批协作合同提前激活底层 Agent 或 isolated child
同步六任务进度投影、共享契约、回归测试与项目文档
2026-08-03 11:41:59 +08:00
kdletters 7309adb4f0 修复游戏聊天前端Lint门禁
Project CI / Frontend tests (push) Failing after 24s
Project CI / Repository checks (push) Successful in 2m21s
Project CI / Backend tests (push) Successful in 3m36s
Project CI / Native shell tests (push) Failing after 5m35s
整理游戏聊天相关导入顺序
稳定专业Agent最终回复回调并补齐Effect依赖
2026-08-03 10:27:04 +08:00
kdletters c00dd099e3 扩展MCP的完整Skill资源
拆分外部编辑器Skill为四篇渐进式参考文档
MCP资源列表支持逐篇发现和读取Skill内容
Skill归档和manifest同步七文件清单及SHA校验
同步OpenAPI、架构文档和项目决策记录
2026-08-03 09:59:00 +08:00
kdletters 964b883466 强化game-chat五分钟首版与平台美术硬门
Project CI / Frontend tests (push) Failing after 23s
Project CI / Backend tests (push) Successful in 3m18s
Project CI / Repository checks (push) Failing after 55s
Project CI / Native shell tests (push) Failing after 5m21s
将game-chat首版固定为美术、代码、静态检查和试玩四阶段并单轮收束。

由平台生成并登记art-spec图片,强制用于主要背景、玩家和目标的可达Canvas绘制。

为全部在途动作增加从根Run计时的300秒绝对截止和确定性失败清理。

修复代码revision归属判断,防止美术变更跳过唯一Provider写入。

将四阶段公开输出和final-reply逐条固化到聊天并更新进度投影。

补齐图片解码、路径、隐藏与不可达绕过、超时竞态及前端回归测试和文档。
2026-08-01 22:45:16 +08:00
kdletters b7f8b31b36 优化game-chat首版生成与聊天输出
Project CI / Repository checks (push) Failing after 51s
Project CI / Frontend tests (push) Successful in 3m12s
Project CI / Backend tests (push) Successful in 3m29s
Project CI / Native shell tests (push) Failing after 7m50s
将 game-chat 收束为三阶段五分钟首版快车道并补齐累计预算、恢复和完成门禁
将 Runtime 安全公开事件与专业 Agent 最终回复逐条幂等写入项目聊天
修复预览 revision 绑定、自动启动刷新、Runner 退出和 Windows 后台窗口收口
补充前后端回归测试、配置门禁和项目技术文档
2026-08-01 18:33:10 +08:00
kdletters fe496f531d 修复AI游戏创作前端lint
Project CI / Frontend tests (push) Failing after 24s
Project CI / Repository checks (push) Successful in 1m35s
Project CI / Backend tests (push) Successful in 3m49s
Project CI / Native shell tests (push) Successful in 11m36s
固定response-stream更新回调并补齐Effect依赖\n调整Runtime模型测试的import顺序
2026-07-31 20:04:11 +08:00
kdletters e1d031b86f 增加外部API的MCP与异步生成模式
新增托管式Streamable HTTP MCP端点并复用外部API Key鉴权
统一图片视频音频等生成请求为幂等异步提交和状态查询
提供可发现的使用说明、OpenAPI资源及完整Skill下载包
同步更新OpenAPI契约并规定接口变更必须连带维护
适配AI游戏创作Shell的异步提交轮询与安全重试
补齐MCP方法映射、异步Worker和客户端回归测试
2026-07-31 19:48:28 +08:00
kdletters 33ec7b2861 修复AI游戏创作长耗时与运行收口
Project CI / Repository checks (push) Failing after 2m19s
Project CI / Frontend tests (push) Failing after 2m50s
Project CI / Backend tests (push) Successful in 4m20s
Project CI / Native shell tests (push) Successful in 12m0s
自主构建只执行正式清单任务图并移除重复静态委派
预览基础设施失败立即收口并绑定当前版本验证凭证
客户端退出前检查Runner持久任务状态并阻止忙碌关闭
修复上下文检查点恢复边界并补齐恢复测试
为全部Agent配置默认推理强度与实际重试状态展示
补齐配置、协作、预览、Runner及全量回归测试
同步技术方案、开发流程与长期决策记录
2026-07-31 18:26:35 +08:00
kdletters 831181faec 优化 game-chat 单轮生成与聊天输出
Project CI / Repository checks (push) Failing after 59s
Project CI / Frontend tests (push) Successful in 3m11s
Project CI / Backend tests (push) Successful in 3m33s
Project CI / Native shell tests (push) Successful in 10m30s
每条 Supervisor ready 输出按稳定身份固化到 game-chat 聊天框并修复 hydration 竞态。

新增 game-chat source 白名单,试玩完成后跳过发布任务并收紧完成门。

配置 External Editor API 时强制使用并引用 Canvas 美术图集,补齐前端、Rust、AppSurface 测试与协作文档。
2026-07-31 17:35:00 +08:00
k88936 386534a415 Feat/artagent 点击/右键功能 聚焦到画布上的素材 (#123)
Project CI / Frontend tests (push) Failing after 22s
Project CI / Repository checks (push) Successful in 1m10s
Project CI / Backend tests (push) Successful in 3m40s
Project CI / Native shell tests (push) Successful in 10m56s
- 为避免prop drilling把原有的刷新画布集中到一个useContext中,
   在此基础上实现画布聚焦, 并在画布agent中使用

![shotmd-1785482938-compressed.webp](/attachments/59d71873-79fc-40e8-a9dc-7830a5ad7f3c)

Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/123
Co-authored-by: 王德宇 <kvtodev@outlook.com>
Co-committed-by: 王德宇 <kvtodev@outlook.com>
2026-07-31 17:25:35 +08:00
lhk229 72acd0ec05 停止向用户泄露抠图模型 (#120)
Project CI / Frontend tests (push) Successful in 3m40s
Project CI / Backend tests (push) Successful in 4m11s
Project CI / Repository checks (push) Successful in 1m19s
Project CI / Native shell tests (push) Successful in 12m36s
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/120
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
2026-07-31 16:40:43 +08:00
kdletters 48f9c8e690 修复画板素材上传后的私有图片预览
Project CI / Repository checks (push) Successful in 48s
Project CI / Frontend tests (push) Failing after 27s
Project CI / Backend tests (push) Failing after 2m51s
Project CI / Native shell tests (push) Successful in 12m58s
分离上传后的签名预览地址与稳定持久化地址
保留素材落库回填后的即时签名预览
补充裸 generated 路径不得用于即时预览的回归测试
同步图片画布上传与持久化技术约束
2026-07-31 15:46:08 +08:00
kdletters 9eae1a28c5 Merge remote-tracking branch 'origin/codex/ai-game-creator-app' into HEAD
Project CI / Backend tests (push) Failing after 2m47s
Project CI / Frontend tests (push) Successful in 3m11s
Project CI / Repository checks (push) Successful in 53s
Project CI / Native shell tests (push) Successful in 12m48s
2026-07-31 15:33:05 +08:00
menghao 26cfd85d25 修复AGC的macOS临时路径兼容 (#125)
Project CI / Frontend tests (push) Failing after 21s
Project CI / Repository checks (push) Successful in 1m1s
Project CI / Backend tests (push) Successful in 3m0s
Project CI / Native shell tests (push) Successful in 11m36s
规范化配置回归测试的临时根路径
补充跨平台路径比较技术说明与踩坑记录

Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/125
Co-authored-by: menghao <mh18530625731@163.com>
Co-committed-by: menghao <mh18530625731@163.com>
2026-07-31 15:28:05 +08:00
kdletters 842d99697a 合并游戏聊天0.1.1到master
Project CI / Repository checks (push) Successful in 1m11s
Project CI / Frontend tests (push) Failing after 2m6s
Project CI / Backend tests (push) Failing after 2m44s
Project CI / Native shell tests (push) Failing after 3m14s
合入独立game-chat release构建、内置Runner与退出收束。
合入自动预览刷新、结构化进度展示及强化试玩验收。
保留master资源画布、共享预览和原生壳严格门禁。
修复Windows Runner单实例锁与GUI owner锁固定路径兼容。
2026-07-31 14:27:36 +08:00
kdletters 66341fe7a5 修复Windows Runner固定锁路径校验
Project CI / Frontend tests (push) Failing after 16s
Project CI / Repository checks (push) Failing after 49s
Project CI / Backend tests (push) Successful in 2m58s
Project CI / Native shell tests (push) Failing after 2m46s
允许私有AppData中的单实例锁与GUI owner锁。
继续拒绝其他任意锁文件名并补齐回归测试。
让Runner测试使用经过私有DACL初始化的AppData夹具。
2026-07-31 13:58:39 +08:00
kdletters dcd8901246 发布独立游戏聊天0.1.1并强化试玩验收
新增只能打开游戏聊天页的0.1.1独立release构建配置。
内置Runner启动、诊断日志、Windows后台进程与退出收束。
修复自动预览启动、同页版本刷新和结构化验收状态展示。
强化试玩协议、窗口末端采样与固定失败识别,允许正常输赢但拒绝无法推进。
完善旧验收回执自愈和当前场景指纹完成门。
补齐Rust、前端、真实Chrome回归测试及项目文档。
2026-07-31 13:44:13 +08:00
kdletters cf1a023125 收紧图集切片内存并批量持久化
Project CI / Repository checks (push) Successful in 1m0s
Project CI / Backend tests (push) Failing after 2m42s
Project CI / Frontend tests (push) Successful in 2m45s
Project CI / Native shell tests (push) Successful in 11m42s
按需编码并限制图集上传并发、超时与累计裁剪像素
批量确认切片对象、项目资源、账号素材和完成批次
稳定派生切片记录标识并收紧重放与来源资源校验
复用已鉴权项目资源避免手动拆分全账号扫描
补充图集资源边界文档与回归测试
2026-07-31 13:40:28 +08:00
kdletters 63e90ec779 Merge pull request 'Fix/画布agent优化' (#121) from fix/artagent-rerefine-prompt into master
Project CI / Repository checks (push) Successful in 58s
Project CI / Frontend tests (push) Successful in 3m9s
Project CI / Backend tests (push) Successful in 3m50s
Project CI / Native shell tests (push) Successful in 11m9s
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/121
Reviewed-by: 段舒康 <kdletters@qq.com>
2026-07-31 13:36:11 +08:00