kdletters
|
1a7abfd059
|
AGC 项目定时快照上传(目标 OSS agc-dev) (#400)
Project CI / AI game creator shell Rust shard 4/4 (push) Has been cancelled
Project CI / AI game creator shell Rust smoke (push) Has been cancelled
Project CI / AI game creator shell Rust crates (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (push) Has been cancelled
## 交付内容
- 客户端新增 `project_snapshot` 模块:项目扫描与排除口径、增量索引、差异对比、上传编排、状态查询。
- 触发:工作区窗口存活期间的周期定时器 + 工作区窗口关闭(`CloseRequested`);应用退出只在有界预算内等待在途同步收尾,不重复发起。
- 服务端新增两条登录态路由 `POST /api/agc/project-snapshots/files` 与 `/manifest`,由 api-server 用服务端凭据写入私有前缀 `agc/project-snapshots/v1/{user}/{project}/`;客户端不持有 OSS 凭据、不直连 OSS。
- `platform-oss` 新增内部对象精确写入与探测、项目快照对象键构造;修复 `head_internal_object` 读 HEAD 响应长度恒为 0(会导致服务端"已存在即跳过"永不生效)。
- `shared-contracts` 新增 `agc_project_snapshots` DTO 与项目 ID、相对路径、摘要校验。
- 真实 OSS 存储层冒烟示例 + 客户端真实链路冒烟用例(`#[ignore]`,env 驱动)。
- 登记 `check-config.mjs` 的 native-only 命令白名单,恢复 `npm run agc` 可启动。
## 验证证据
- 存储层:`cargo run -p platform-oss --example agc_project_snapshot_live_smoke` 对真实 `agc-dev` 完成写入 → 读回(contentLength 32)→ 清单写入 → 探针清理。
- HTTP 层:登录态下 7 项校验(401 无 token、400 路径穿越/长度不一致/非法摘要/空正文/重复路径清单)全部符合预期且不写对象。
- 客户端链路(真实项目 gameagent-033b6cf3…):第一次 `synced uploaded=6 uploadedBytes=36694 remoteSkipped=6`,紧接着第二次 `no-op uploaded=0`。
- GUI 触发:`trigger=periodic ... uploaded=6`;把周期设为 600 秒排除干扰、改一个文件后关窗得到 `trigger=project-close ... revision=2 uploaded=1`,索引摘要由 `28d837cd84f8ab62` 推进到 `bff34e2e336d901f`(同步在进程退出前完成)。
- 门禁:AGC `project_snapshot` 14 passed(+1 ignored live)、api-server `project_snapshots` 3 passed、platform-oss 39 passed、shared-contracts 87 passed、`cargo fmt --check`(两处)、`check:encoding`、`check:doc-index`、`git diff --check`、`check-config.mjs` 全部通过。
## 已知未决(不阻塞本里程碑)
- 远端对象只增不减:没有删除路径,也没有 bucket 生命周期规则;要收口需要先定保留语义(清单引用 GC 还是 OSS 生命周期)。
- 部署环境需确认 `GENARRATIVE_AGC_PROJECT_SNAPSHOT_OSS_*` 或回退的 `ALIYUN_OSS_*` 具备目标 bucket 私有前缀的 `PutObject` 权限;未配置时接口返回 503、客户端失败关闭(不推进索引)。
- 缺少按用户/项目的配额与限流(error_reports 有每小时提交上限的先例,本功能没有)。
- 没有界面入口与状态可见性:`read_local_project_snapshot_state` 已注册但未接 UI,失败只写本机日志。
## 不做
- 不做云端下载/恢复、跨设备合并、版本回滚。
- 不改 `/api/external/v1` 与 External OpenAPI,不新增 SpacetimeDB 表。
---------
Co-authored-by: kdletters <61648117+kdletters@users.noreply.github.com>
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/400
|
2026-09-17 18:34:51 +08:00 |
|
k88936
|
422c8931d6
|
Feat/AGC错误报告 (#240)
Project CI / Repository checks (push) Successful in 2m45s
Project CI / Frontend tests (push) Successful in 3m22s
Project CI / Backend tests (push) Successful in 5m53s
Project CI / Native shell tests (push) Successful in 16m45s
实现:
在rust内存里维护错误事件队列, webview调用tauri command传入, 后台任务agent工具等直接插入
把rust , webview console的日志统一写到AppData文件夹下的(滚动保存的)日志文件.
rust对传入的错误进行筛选,脱敏, 防抖,后通知前端提醒用户.
用户提醒是一个不阻塞的小UI, 展开后可以选择错误上报, 可以附加文字描述
上传时附带最近日志, 错误堆栈等信息
元数据存在数据库, 考虑到字符串信息很难查询, 所以在api server打包成zip存在OSS.
管理页面新增错误报告的查看页面




---------
Co-authored-by: 段舒康 <kdletters@qq.com>
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/240
Co-authored-by: 王德宇 <kvtodev@outlook.com>
Co-committed-by: 王德宇 <kvtodev@outlook.com>
|
2026-09-03 10:02:05 +08:00 |
|
lhk229
|
a2ee879fc8
|
添加gfilter专用worker (#103)
Project CI / Repository checks (push) Successful in 1m3s
Project CI / Frontend tests (push) Successful in 2m0s
Project CI / Native shell tests (push) Successful in 2m26s
Project CI / Backend tests (push) Successful in 3m1s
Co-authored-by: kdletters <kdletters@qq.com>
Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/103
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
|
2026-07-23 18:06:29 +08:00 |
|
lhk229
|
a4b3898ff4
|
动画生成过程中的OSS上传行为优化 (#93)
Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/93
Reviewed-by: 段舒康 <kdletters@qq.com>
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
|
2026-07-20 19:50:37 +08:00 |
|
kdletters
|
8dad52f040
|
实现画布Agent侧边栏聊天
新增画布Agent会话契约、领域规则、SpacetimeDB元数据表和生成绑定。
新增api-server画布Agent会话CRUD、OSS消息文档读写、SSE消息流和生成工具编排。
新增前端右侧Agent对话面板、会话状态hook、SSE客户端、BFF客户端和相关测试。
调整画布侧栏、任务栏、小地图默认状态和面板互斥交互。
补齐画布Agent、OSS消息存储、SSE收口、后端契约和项目记忆文档。
|
2026-07-04 12:03:58 +08:00 |
|
kdletters
|
d31cac8cbc
|
修复中文文件名直传签名失败
在 OSS 文件名清洗中为空主体使用 file 兜底
补充中文文件名清洗回归测试
|
2026-06-27 22:36:15 +08:00 |
|
kdletters
|
d3a3238028
|
修复生成图片OSS签名缓存链路
前端将完整阿里云OSS generated 地址归一为 legacy path 后走 read-url 换签。
platform-oss 为 generated 私有对象 PostObject 和 PutObject 写入 immutable Cache-Control。
补齐 shared-contracts 与 api-server 直传票据字段映射。
更新后端、运维文档和 Hermes 团队记忆,明确不使用服务端磁盘缓存兜底。
|
2026-06-07 22:46:48 +08:00 |
|
kdletters
|
b2543ba8a2
|
Merge branch 'master' into codex/puzzle-clear-template-runtime-fixes
|
2026-06-06 20:01:52 +08:00 |
|
kdletters
|
0b07161034
|
chore: add structured OSS logs
|
2026-06-05 11:10:50 +08:00 |
|
wuxiangwanzi
|
1b5e098225
|
feat: add puzzle clear template runtime
|
2026-06-03 22:11:46 +08:00 |
|
kdletters
|
42037860d5
|
feat: integrate jump-hop shelf and asset flow
|
2026-05-24 19:00:21 +08:00 |
|
kdletters
|
d46c5f9383
|
Merge remote-tracking branch 'origin/codex/wooden-fish-template'
|
2026-05-22 08:09:58 +08:00 |
|
kdletters
|
bf82f04b64
|
fix: polish bark battle creation flow
|
2026-05-22 05:00:07 +08:00 |
|
wuxiangwanzi
|
5b0f9f3763
|
feat: add wooden fish play template
|
2026-05-21 23:34:07 +08:00 |
|
JenkenB
|
192accd796
|
1
|
2026-05-10 22:20:54 +08:00 |
|
JenkenB
|
65c2b8cd79
|
Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative
|
2026-05-08 22:07:05 +08:00 |
|
JenkenB
|
94975e4735
|
1
|
2026-05-08 20:48:29 +08:00 |
|
kdletters
|
7e8cc22859
|
fix oss object key guidance
CI / verify (pull_request) Has been cancelled
|
2026-05-08 14:28:04 +08:00 |
|
kdletters
|
20d5121c6c
|
fix oss bucket-prefixed signing
|
2026-05-08 14:20:56 +08:00 |
|
kdletters
|
df80876f60
|
Consolidate workspace deps and migrate sha1 to sha2
CI / verify (push) Has been cancelled
|
2026-05-07 21:11:14 +08:00 |
|
kdletters
|
d06107f2c6
|
落地方洞挑战图片与运行态交互
CI / verify (push) Has been cancelled
|
2026-05-06 12:52:47 +08:00 |
|
kdletters
|
7ab0933f6d
|
Integrate unfinished server-rs refactor worklists
|
2026-04-30 13:39:06 +08:00 |
|
kdletters
|
cbc27bad4a
|
init with react+axum+spacetimedb
CI / verify (push) Has been cancelled
|
2026-04-26 18:06:23 +08:00 |
|