k88936
|
d558cfe42d
|
修复预览画布快捷键测试的平台兼容
根据 navigator.platform 发送 Ctrl 或 Cmd 修饰键。
避免 Apple CI 下快捷键被正确忽略导致断言读取初始缩放值。
|
2026-09-08 16:00:45 +08:00 |
|
k88936
|
3e6fbaed9a
|
修复预览画布缩放百分比编辑
Project CI / Repository checks (pull_request) Successful in 2m45s
Project CI / Frontend tests (pull_request) Successful in 2m50s
Project CI / Backend tests (pull_request) Successful in 6m40s
Project CI / Native shell tests (pull_request) Successful in 17m32s
将百分比按钮替换为可编辑数字输入框
失焦时限制缩放范围并同步画布视口
新增百分比输入组件级回归测试并更新交互文档
|
2026-09-08 11:17:12 +08:00 |
|
k88936
|
3fa19600f2
|
Merge remote-tracking branch 'origin/fix/ui-editor-minor-adjusts' into fix/ui-editor-minor-adjusts
Project CI / Repository checks (pull_request) Successful in 2m21s
Project CI / Frontend tests (pull_request) Successful in 3m0s
Project CI / Backend tests (pull_request) Successful in 6m58s
Project CI / Native shell tests (pull_request) Successful in 17m24s
|
2026-09-07 18:49:04 +08:00 |
|
k88936
|
1a03bfebf6
|
修复UI编辑器通知弹窗文档末尾空行
删除文档末尾多余空行,保留标准EOF换行
|
2026-09-07 18:26:47 +08:00 |
|
k88936
|
777f928830
|
Merge branch 'master' into fix/ui-editor-minor-adjusts
Project CI / Frontend tests (pull_request) Successful in 2m38s
Project CI / Repository checks (pull_request) Failing after 2m13s
Project CI / Backend tests (pull_request) Successful in 6m34s
Project CI / Native shell tests (pull_request) Successful in 19m41s
|
2026-09-07 17:26:21 +08:00 |
|
suzmii
|
e15e3b455f
|
修复AGC大上下文请求体限制 (#295)
Project CI / Repository checks (push) Successful in 3m12s
Project CI / Frontend tests (push) Successful in 3m21s
Project CI / Backend tests (push) Successful in 7m42s
Project CI / Native shell tests (push) Successful in 20m14s
Project CI / Frontend tests (pull_request) Successful in 50m43s
Project CI / Repository checks (pull_request) Successful in 20m21s
Project CI / Backend tests (pull_request) Successful in 6m18s
Project CI / Native shell tests (pull_request) Successful in 18m19s
## 背景与问题
AGC(AI 游戏创作智能体 App)Direct Codex 模式在携带图片工具结果等大上下文调用 LLM 时,`/api/llm/responses` 与 `/api/llm/chat/completions` 会命中 Axum 默认 **2 MiB** 请求体上限,直接被 413 拒绝,大上下文任务无法执行;同时 Codex app-server 的 failed turn 未把上游 413 映射为稳定错误分类,前端只能显示笼统的“其他错误”,无法引导用户处理。
## 改动内容
**1. api-server(server-rs)**
- 新增常量 `LLM_REQUEST_MAX_BODY_BYTES = 32 MiB`,作为两个 LLM 代理路由的正式请求体上限;
- 两个路由显式配置 `DefaultBodyLimit::max(32 MiB)`,避免 Axum 默认 2 MiB 提前拒绝;handler 内保留超限检查,超过 32 MiB 仍返回 `413 PAYLOAD_TOO_LARGE`;
- 补充回归测试:>2 MiB 大上下文请求不再命中默认限制;超过 32 MiB 仍返回 413。
**2. AGC 壳(apps/ai-game-creator-shell)**
- `codex_app_server` 错误映射:上游/连接层 HTTP 413、`PAYLOAD_TOO_LARGE`、`provider request too large` 等统一映射为稳定分类 `codex-app-server-error:request-too-large`,不再落入 `other` 或误判为权限/安全策略错误;
- 前端新增用户可见文案“模型请求体过大,请减少参考图或上下文后重试”,并补充单测断言。
**3. 文档**
- 【技术方案】AI游戏创作智能体App实施计划-2026-06-24.md 补充“2026-09-06 AGC LLM 代理请求体合同”:明确 32 MiB 上限、必须显式配置 `DefaultBodyLimit`、413 映射规则与用户文案。
## 验证
- `cargo test -p api-server llm_routes_accept_large_context_bodies_beyond_axum_default` 通过
- `cargo test -p api-server llm_responses_rejects_bodies_above_explicit_limit` 通过
- `cargo test ... ai-game-creator-shell ... codex_app_server_failed_turn_maps_request_too_large_details` 通过
- `npm run test -- apps/ai-game-creator-shell/tests/agentRuntimeModel.test.ts`(27 通过)
全量 workspace 测试与 CI 门禁待推送后由 CI 覆盖。
Reviewed-on: #295
Reviewed-by: 段舒康 <kdletters@qq.com>
Co-authored-by: 董羽秦 <suzmii@qq.com>
Co-committed-by: 董羽秦 <suzmii@qq.com>
|
2026-09-07 17:05:42 +08:00 |
|
k88936
|
a08b224590
|
Merge branch 'master' into fix/ui-editor-minor-adjusts
Project CI / Repository checks (pull_request) Failing after 2m16s
Project CI / Backend tests (pull_request) Successful in 7m7s
Project CI / Frontend tests (pull_request) Successful in 2m56s
Project CI / Native shell tests (pull_request) Successful in 20m43s
|
2026-09-07 15:44:17 +08:00 |
|
k88936
|
964290c641
|
优化错误报告 (#286)
Project CI / Native shell tests (push) Successful in 21m3s
Project CI / Repository checks (push) Successful in 2m37s
Project CI / Frontend tests (push) Successful in 2m41s
Project CI / Backend tests (push) Successful in 7m2s
样式
before:


after:


逻辑:
每次打开报告modal会再次查询队列中的错误
<video src="attachments/6d9d9bd7-5b7b-4a05-a7c3-ca64b6fb77f3" title="2026-09-05 19-46-02.mp4" controls></video>
---------
Co-authored-by: 段舒康 <kdletters@qq.com>
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/286
Reviewed-by: 段舒康 <kdletters@qq.com>
Co-authored-by: 王德宇 <kvtodev@outlook.com>
Co-committed-by: 王德宇 <kvtodev@outlook.com>
|
2026-09-07 15:17:21 +08:00 |
|
k88936
|
3f8b438fdc
|
Merge branch 'master' into fix/ui-editor-minor-adjusts
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
|
2026-09-07 13:11:54 +08:00 |
|
k88936
|
584b0f95cb
|
Merge remote-tracking branch 'origin/fix/ui-editor-minor-adjusts' into fix/ui-editor-minor-adjusts
Project CI / Repository checks (pull_request) Failing after 9s
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
|
2026-09-07 12:49:13 +08:00 |
|
k88936
|
933ddca561
|
Merge branch 'master' into fix/ui-editor-minor-adjusts
|
2026-09-07 11:12:56 +08:00 |
|
lhk229
|
60fbee2353
|
修复设置页重新出现连接与工具 (#287)
Project CI / Repository checks (pull_request) Failing after 10s
Project CI / Frontend tests (pull_request) Successful in 3m3s
Project CI / Backend tests (pull_request) Failing after 26s
Project CI / Native shell tests (pull_request) Successful in 20m54s
Project CI / Repository checks (push) Successful in 4m37s
Project CI / Frontend tests (push) Successful in 5m31s
Project CI / Backend tests (push) Successful in 8m38s
Project CI / Native shell tests (push) Successful in 20m0s
移除运行时配置中的连接与工具入口及 External Editor 字段
更新 AppSurface 回归断言,确保普通客户端不展示该入口
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/287
Reviewed-by: 段舒康 <kdletters@qq.com>
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
|
2026-09-06 19:47:33 +08:00 |
|
kdletters
|
2975062c69
|
Merge pull request 'AGC 官方 LLM Router 账号链路与流式联网输出' (#242) from feat/agc-llm-router-official-chain into master
Project CI / Repository checks (push) Successful in 3m22s
Project CI / Frontend tests (push) Successful in 3m16s
Project CI / Backend tests (push) Successful in 6m29s
Project CI / Native shell tests (push) Successful in 18m25s
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/242
|
2026-09-06 16:49:13 +08:00 |
|
suzmii
|
6166094a3c
|
修复AGC配置测试字段
Project CI / Repository checks (pull_request) Successful in 2m46s
Project CI / Frontend tests (pull_request) Successful in 2m55s
Project CI / Backend tests (pull_request) Successful in 7m6s
Project CI / Native shell tests (pull_request) Successful in 18m3s
同步配置测试夹具使用 selected_model_id
移除已删除的 model_profiles 与 selected_model_profile_id 字段
|
2026-09-06 01:16:48 +08:00 |
|
suzmii
|
736a1b6ac6
|
接入 LLM Router 累计额度结算
Project CI / Repository checks (pull_request) Successful in 2m36s
Project CI / Frontend tests (pull_request) Successful in 3m15s
Project CI / Backend tests (pull_request) Successful in 7m35s
Project CI / Native shell tests (pull_request) Failing after 7m43s
按 Router used_quota 累计值与首次基线结算泥点
新增原子 checkpoint 事务及 llm_router_consume 钱包流水
同步额度查询校验、前端展示、生成绑定和技术文档
|
2026-09-06 00:36:31 +08:00 |
|
suzmii
|
78f547d26d
|
Merge remote-tracking branch 'origin/master' into feat/agc-llm-router-official-chain
Project CI / Repository checks (pull_request) Successful in 2m38s
Project CI / Frontend tests (pull_request) Successful in 3m46s
Project CI / Backend tests (pull_request) Successful in 6m35s
Project CI / Native shell tests (pull_request) Failing after 8m14s
# Conflicts:
# apps/ai-game-creator-shell/tests/appSurface/runtime-settings.suite.ts
|
2026-09-05 20:08:43 +08:00 |
|
suzmii
|
0b9fb40108
|
Merge remote-tracking branch 'origin/master' into feat/agc-llm-router-official-chain
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
# Conflicts:
# apps/ai-game-creator-shell/scripts/check-config.mjs
# apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx
# apps/ai-game-creator-shell/tests/appSurface/runtime-settings.suite.ts
|
2026-09-05 20:03:25 +08:00 |
|
kdletters
|
c4f344678f
|
收窄设置页删除改动
Project CI / Repository checks (push) Successful in 2m36s
Project CI / Frontend tests (push) Successful in 3m4s
Project CI / Backend tests (push) Successful in 8m42s
Project CI / Native shell tests (push) Successful in 20m38s
移除多余的页面回归门禁
清理已删除入口的冗余测试断言
|
2026-09-05 20:01:02 +08:00 |
|
k88936
|
6271026e2d
|
Merge branch 'master' into fix/ui-editor-minor-adjusts
Project CI / Repository checks (pull_request) Failing after 2m38s
Project CI / Frontend tests (pull_request) Successful in 3m8s
Project CI / Backend tests (pull_request) Successful in 6m35s
Project CI / Native shell tests (pull_request) Successful in 21m42s
|
2026-09-05 19:55:27 +08:00 |
|
k88936
|
29b0b944bd
|
修复缩放控件焦点拦截节点删除
Project CI / Repository checks (pull_request) Failing after 15s
Project CI / Backend tests (pull_request) Failing after 20s
Project CI / Frontend tests (pull_request) Successful in 3m37s
Project CI / Native shell tests (pull_request) Successful in 21m7s
允许缩放滑杆和缩放按钮焦点下继续执行 Delete/Backspace。
修正 UI 树宽度测量重复节点文本并保持预览点击选择语义。
补充缩放焦点快捷键回归测试与交互文档。
|
2026-09-05 19:54:06 +08:00 |
|
k88936
|
df72dd4bed
|
接入预览画布加减快捷缩放
复用工具栏中心缩放逻辑并统一加减倍率常量
为预览画布增加悬停与键盘焦点作用域
保留既有适配画布和实际尺寸快捷键行为
|
2026-09-05 19:49:27 +08:00 |
|
suzmii
|
34e3f70409
|
补充服务启动配置校验并优化模型菜单
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
启动时校验 LLM Router 地址、模型和相关密钥配置
将刷新操作移入模型展开菜单并修复菜单样式覆盖
更新启动运维文档与定向测试
|
2026-09-05 19:48:27 +08:00 |
|
k88936
|
af8e1df139
|
封装预览画布快捷缩放判定
识别跨平台加减、适配画布与实际尺寸快捷键
限制快捷键作用域并放行可编辑和可操作目标
增加按键变体、重复输入和默认行为回归测试
|
2026-09-05 19:33:10 +08:00 |
|
k88936
|
c50960f4c4
|
明确预览画布快捷缩放约定
区分滑杆选择范围与快捷加减的核心视口边界
约定跨平台按键、作用域、事件拦截与既有重置行为
补充组件级回归测试和定向验证标准
|
2026-09-05 19:25:33 +08:00 |
|
suzmii
|
4f3f0f24ff
|
接入AGC后台模型目录与对话模型选择
新增后台 AGC 模型目录、别名、启停和默认项管理
客户端设置页恢复原状,对话框右下角按别名选择模型
服务端按稳定模型标识映射并校验实际模型白名单
修复 AGC 配套后端端口漂移、启动等待和 SpacetimeDB 版本检查
补充迁移、文档、启动与模型选择测试
|
2026-09-05 19:10:49 +08:00 |
|
k88936
|
9deae852ec
|
补充 UI 树布局约定
记录节点操作列与树横向滚动规则
说明深层节点名称不得截断
|
2026-09-05 18:46:58 +08:00 |
|
k88936
|
39736fb54f
|
优化 UI 树节点操作布局
统一节点操作列宽度并对齐可见性与删除按钮
为树内容增加横向滚动和动态宽度测量
组件数量改用实心橙色拼图图标徽标
|
2026-09-05 18:46:37 +08:00 |
|
kdletters
|
524e2f0f4f
|
删除连接与工具设置页
Project CI / Repository checks (push) Successful in 2m34s
Project CI / Frontend tests (push) Successful in 3m3s
Project CI / Backend tests (push) Successful in 6m53s
Project CI / Native shell tests (push) Successful in 17m53s
移除运行设置中的连接与工具导航及页面内容
更新运行设置测试以校验该入口已删除
同步配置门禁,防止已删除页面重新出现
|
2026-09-05 17:39:05 +08:00 |
|
k88936
|
98c5768ebf
|
修正缩放滑杆百分比映射
Project CI / Repository checks (pull_request) Failing after 2m35s
Project CI / Frontend tests (pull_request) Failing after 2m9s
Project CI / Native shell tests (pull_request) Failing after 4m57s
Project CI / Backend tests (pull_request) Successful in 6m33s
使用显示百分比同步滑块位置
|
2026-09-05 14:42:37 +08:00 |
|
k88936
|
9d53c44241
|
优化预览画布缩放滑杆
新增桌面端可拖动缩放滑杆
保留按钮与视口中心缩放行为
|
2026-09-05 14:42:02 +08:00 |
|
k88936
|
dd6bd0cb7b
|
补充预览画布缩放滑杆交互文档
新增桌面端缩放滑杆交互约定
明确范围、键盘操作与验收标准
|
2026-09-05 14:40:57 +08:00 |
|
k88936
|
48b78c1b33
|
Merge remote-tracking branch 'origin/fix/ui-editor-minor-adjusts' into fix/ui-editor-minor-adjusts
|
2026-09-05 13:59:09 +08:00 |
|
k88936
|
d8d4501665
|
补充弹窗快捷键规范
明确对话框打开时暂停编辑器级撤销重做
|
2026-09-05 13:54:28 +08:00 |
|
k88936
|
5b75792d6a
|
修复弹窗内编辑器快捷键误触发
抽取UI编辑器键盘快捷键处理模块
阻止对话框内撤销重做并保留普通按钮快捷键行为
|
2026-09-05 13:54:26 +08:00 |
|
k88936
|
84222dd44e
|
Merge branch 'master' into fix/ui-editor-minor-adjusts
Project CI / Native shell tests (pull_request) Failing after 4m11s
Project CI / Frontend tests (pull_request) Failing after 30m6s
Project CI / Repository checks (pull_request) Failing after 30m26s
Project CI / Backend tests (pull_request) Successful in 35m27s
|
2026-09-05 13:50:25 +08:00 |
|
k88936
|
897683e63f
|
补充UI树删除计数测试
覆盖嵌套节点定位与后代节点递归计数
|
2026-09-05 13:17:51 +08:00 |
|
k88936
|
8242885c79
|
新增UI树节点快捷删除
在可删除节点行提供桌面端垃圾桶按钮
复用右键删除入口并对后代节点显示确认弹窗
|
2026-09-05 13:17:49 +08:00 |
|
k88936
|
b4ba318849
|
补充UI树快捷删除方案
记录桌面端快捷删除按钮与右键删除复用规则
明确后代节点确认提示、页面根禁删和底层命令边界
|
2026-09-05 13:01:35 +08:00 |
|
suzmii
|
76f0c8e58e
|
Merge branch 'master' into feat/agc-llm-router-official-chain
Project CI / Repository checks (pull_request) Successful in 3m39s
Project CI / Frontend tests (pull_request) Successful in 4m0s
Project CI / Backend tests (pull_request) Successful in 8m3s
Project CI / Native shell tests (pull_request) Successful in 19m58s
|
2026-09-04 19:07:08 +08:00 |
|
k88936
|
6f29c60d63
|
统一节点选区的严格空值判断
Project CI / Repository checks (pull_request) Failing after 12s
Project CI / Backend tests (pull_request) Failing after 19s
Project CI / Frontend tests (pull_request) Successful in 2m57s
Project CI / Native shell tests (pull_request) Successful in 18m0s
将 selectedNodeId 的宽松不等比较改为 !== null
|
2026-09-04 18:07:08 +08:00 |
|
k88936
|
6f0bae7724
|
让工作流步骤标题映射显式穷举
使用覆盖全部 UiEditorStepId 的 switch 映射步骤标题
增加 never 穷举检查以便新增步骤触发类型错误
|
2026-09-04 18:06:47 +08:00 |
|
k88936
|
efd67911c9
|
提取工作流完成状态上报逻辑
统一成功与失败分支的提示拼接、状态更新和终态通知
保持三个工作流步骤现有消息与状态行为不变
|
2026-09-04 18:06:03 +08:00 |
|
k88936
|
f029992083
|
修复弹窗内删除快捷键误删节点
排除 role=dialog 和 aria-modal 弹窗内的 Delete/Backspace 快捷键
补充弹窗焦点下节点不应被删除的回归测试
同步更新 UI 编辑器撤销重做规范
|
2026-09-04 18:04:16 +08:00 |
|
k88936
|
f9e1e5d2a7
|
Fix/修复ui editor选择逻辑 (#270)
Project CI / Backend tests (push) Successful in 7m35s
Project CI / Repository checks (push) Successful in 3m2s
Project CI / Frontend tests (push) Successful in 3m24s
Project CI / Native shell tests (push) Successful in 18m52s
close #266
当前实现: 按下就重新选择
实际上应该: 松开而且没有发生拖动才重新选择
before:

after:

Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/270
Co-authored-by: 王德宇 <kvtodev@outlook.com>
Co-committed-by: 王德宇 <kvtodev@outlook.com>
|
2026-09-04 16:30:43 +08:00 |
|
k88936
|
fe813802a5
|
简化工作流检查提示拼接
Project CI / Repository checks (pull_request) Failing after 12s
Project CI / Backend tests (pull_request) Failing after 10s
Project CI / Frontend tests (pull_request) Successful in 3m26s
Project CI / Native shell tests (pull_request) Successful in 20m41s
移除请检查文案探测逻辑
终态文案统一直接追加检查提示
|
2026-09-04 16:09:19 +08:00 |
|
suzmii
|
87c0cbd06d
|
修复 Provider 代理错误外发 AGC 主站客户端标记
Project CI / Repository checks (pull_request) Successful in 3m13s
Project CI / Frontend tests (pull_request) Successful in 3m34s
Project CI / Backend tests (pull_request) Successful in 7m43s
Project CI / Native shell tests (pull_request) Successful in 19m55s
仅 PlatformSession 的 /api/llm 主站路由携带 x-genarrative-client 标记
通用 Provider 与第三方凭据桥接不再自动附加该标记
补充主站路由代理的标记回归测试
|
2026-09-04 15:52:47 +08:00 |
|
k88936
|
7f3cf3b64b
|
调整工作流通知测试位置
将通知辅助测试纳入AGC测试目录
保持提示文案和步骤映射覆盖
|
2026-09-04 15:34:18 +08:00 |
|
k88936
|
e6b2539dfe
|
增加工作流通知文案测试
覆盖请检查提示去重
覆盖三项步骤标题映射
|
2026-09-04 15:32:48 +08:00 |
|
k88936
|
620c2c5015
|
接入UI工作流终态通知
为三项工作流动作增加成功失败通知
扩展结果数量与请检查提示
在编辑器页面挂载阻塞通知弹窗
|
2026-09-04 15:31:54 +08:00 |
|
k88936
|
e7345508df
|
提取UI工作流通知文案工具
拆分通知类型与文案辅助函数
修复组件快速刷新导出约束
|
2026-09-04 15:31:35 +08:00 |
|