Commit Graph

552 Commits

Author SHA1 Message Date
k88936 88368cd900 prepare info display to user for review 2026-07-10 20:46:27 +08:00
k88936 c623ffed9c price compute 2026-07-10 20:25:21 +08:00
k88936 c55a90d23e centralize data key query instead of using obj key. 2026-07-10 19:06:39 +08:00
k88936 532b6434bd fix context logic 2026-07-10 18:04:05 +08:00
k88936 5411965762 fix mut borrow 2026-07-10 17:50:10 +08:00
k88936 a3f7332dfe extend media display 2026-07-10 17:35:08 +08:00
k88936 0911c825d4 inject prompt 2026-07-10 17:32:47 +08:00
k88936 e652563c23 impl image gen tools 2026-07-10 17:32:43 +08:00
k88936 5444b5cb39 fix title display mistake 2026-07-10 17:16:04 +08:00
k88936 10d7f09cbf impl image gen tool 2026-07-10 16:15:38 +08:00
k88936 e1ae49f114 fix re enter problem 2026-07-10 15:56:41 +08:00
k88936 c077767e0d include attachments 2026-07-10 15:38:52 +08:00
k88936 2b7f4ffe19 fix terminate cond 2026-07-10 15:07:32 +08:00
k88936 337d358ede move context to tool own. fix memory not update. 2026-07-10 14:21:58 +08:00
k88936 19e6da8ff3 clean code 2026-07-10 11:36:04 +08:00
k88936 d7d888a20d update prompt logic in editor_agent to clarify tool call behavior and user interaction 2026-07-10 10:57:46 +08:00
k88936 2709563c60 clean data structure 2026-07-10 10:45:20 +08:00
k88936 37b4329fee remove old editor_agent.rs 2026-07-10 10:26:08 +08:00
k88936 c2b25e9ca0 confirm / cancel api 2026-07-10 10:25:42 +08:00
k88936 a2babca6a6 migrate the api usage 2026-07-10 09:10:33 +08:00
k88936 db2e8cca8d reimpl the agent 2026-07-10 08:46:58 +08:00
k88936 97d340ad4c change EditorAgentMessage.id type from String to usize 2026-07-10 08:40:51 +08:00
k88936 5499af9ac1 remove llm_chat_agent example and unused dependencies from module-editor-agent 2026-07-10 06:02:18 +08:00
k88936 73d2b07d52 refactor: simplify agent memory handling and improve message flow logic 2026-07-10 05:43:06 +08:00
k88936 36ac392fdc fix return value 2026-07-09 22:16:16 +08:00
k88936 476a555f22 refactor: rename flow enums and improve tool interaction logic 2026-07-09 21:55:23 +08:00
k88936 71a00056bf improve tool call logging and error messaging 2026-07-09 20:02:59 +08:00
k88936 4149d35e2d add "System" role to EditorAgentMessageRole enum 2026-07-09 19:52:14 +08:00
k88936 d3c4b3fe0c refactor: simplify memory trait requirements and remove unused tool hooks 2026-07-09 19:40:36 +08:00
k88936 c3493d5458 refactor: enhance system prompt handling and tool integration in LlmChatAgent 2026-07-09 18:24:33 +08:00
k88936 ae4538a59a refactor editor agent structures 2026-07-09 18:06:40 +08:00
k88936 b1851c0ab8 improve error handling for tools: add classification and handling for recoverable and fatal tool failures 2026-07-09 17:51:16 +08:00
k88936 d0a4581683 continue and retry instead of crash encounter invalid json output 2026-07-09 16:49:50 +08:00
k88936 6d13239c1c tool out put include id 2026-07-09 16:49:25 +08:00
k88936 d639f0207f agent module 2026-07-09 16:43:07 +08:00
k88936 964e7e040a at least it runs 2026-07-09 11:49:28 +08:00
kdletters 2cf3953bad 收紧外部生成任务租约和超时保护
缩短 worker lease 并新增普通和长任务执行预算配置

让 worker 超过执行预算后写失败并释放槽位

降低 BgFilter 默认超时并加入连续失败熔断兜底

补充资产计费 future 取消时的退款补偿保护

同步生产 env 示例、部署脚本和运维文档
2026-07-09 01:32:23 +08:00
kdletters f1ca3e79c1 轻量化外部生成队列进程
worker 和 controller 改为订阅 external_generation_job 队列变更来唤醒 claim 与扩缩容评估
非 HTTP 角色关闭 API 读模型订阅并将 SpacetimeDB 连接池收敛为 1
更新 worker/controller 环境模板和运维记忆,明确 poll interval 只作兜底
2026-07-08 22:16:51 +08:00
kdletters 542fb09365 接入微信 Native 充值与订单过期处理
调整网页端充值渠道,微信内浏览器在开放平台接入前走 Native 支付。

拆分 Native 支付二维码弹窗,展示金额和充值内容并取消无效 code_url 跳转。

修复微信 Native 下单 time_expire 秒级 RFC3339 格式,避免小数秒参数错误。

新增充值订单 5 分钟过期调度,过期前查询微信真实订单状态。

补充微信授权绑定、路由加载恢复和后台表时间显示等配套逻辑。

更新 SpacetimeDB schema、绑定和相关文档测试。
2026-07-08 21:35:02 +08:00
kdletters 1462ec2920 优化灰度规则判定与后台表单
按需读取灰度用户标签

新建 Gate Target 时重置表单规则

补充灰度语义和踩坑文档
2026-07-08 12:22:48 +08:00
kdletters 25cac367c6 接入功能灰度与画布 Agent 灰度
新增 SpacetimeDB 灰度配置表与后端判定链路

新增后台灰度发布页面和两段式 Gate Key 选择器

将画布 Agent 入口接入灰度配置与运行时能力下发

修复灰度配置刷新读取空本地缓存的问题

补充灰度规则和后台下拉维护约定文档
2026-07-08 11:26:41 +08:00
lhk229 308d440816 新抠图算法(轻量版)上线 (#73)
新抠图算法(轻量版)上线,生图背景色同步改为多颜色+自动决策

---------

Co-authored-by: kdletters <kdletters@qq.com>
Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/73
Reviewed-by: kdletters <kdletters@qq.com>
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
2026-07-07 14:57:10 +08:00
kdletters 2a98b60830 改为运行时控制画板 Agent 入口
新增前端运行时配置接口下发画板 Agent 开关

将画板 Agent 入口改为读取后端运行时配置

把开关变量改为 GENARRATIVE_ENABLE_IMAGE_EDITOR_AGENT_SIDEBAR

补充前后端测试和生产环境变量文档
2026-07-07 14:04:08 +08:00
kdletters 2d631becc7 显示精选审核提交失败原因
统一素材精选审核提交资格判断

在素材菜单显示不可提交和后端拒绝原因

将编辑器业务拒绝映射为 400 并保留中文原因

补充精选审核原因展示测试和文档口径
2026-07-06 21:35:10 +08:00
kdletters be7f0375e5 记录精选活动卡图片宽高
后台上传活动卡图片时读取并保存原始宽高

隐藏活动卡 Object Key 输入,重复上传替换图片引用

公开精选按活动图宽高设置卡片比例

同步 SpacetimeDB schema、bindings 和后端数据契约文档
2026-07-06 21:00:21 +08:00
kdletters b5aa68fc6a 调整精选后端公开契约
新增精选活动卡图片 objectKey 存储字段和迁移兼容。

新增后台活动卡图片 OSS 直传凭证接口。

移除素材包精选分类约束,允许未设置分类素材进入全部精选。

同步 admin 和前台读取活动卡 objectKey 的类型契约。
2026-07-06 18:56:49 +08:00
kdletters b288b091b2 完善精选审核与素材查询展示
移除素材查询分类筛选和分类列

精选审核通过后改为手动设置展示分类

公开精选按分类展示并补充底部点赞按钮

使用文档大拇指透明图标并同步点赞测试

同步精选审核数据契约、绑定和文档
2026-07-05 18:01:02 +08:00
kdletters d7d98acfd4 接入VectorEngine画布Agent规划
切换画布 Agent 与通用 LLM 代理到 VectorEngine gpt-5.4-mini。

为画布 Agent 注入上一轮生成结果并默认承接上一张图编辑。

补齐规范图工具分流、规范展板 prompt 要求和 JSON 残片回复兜底。

同步前后端契约、测试脚本、环境示例和项目文档。
2026-07-05 17:42:27 +08:00
kdletters a4a7aed024 合并画布 Agent 侧边栏聊天
# Conflicts:
#	docs/project-memory/shared-memory/decision-log.md
#	server-rs/crates/spacetime-client/src/module_bindings.rs
2026-07-04 18:39:40 +08:00
kdletters 1671d35995 修复画布Agent聊天生成体验
让画布 Agent 消息统一走后端规划与 LLM 回复
修复生成图片在聊天、画布和素材库中的展示与恢复
补齐右键删除、画布焦点、聊天滚轮和面板避让交互
同步 Agent 事件契约、文档和定向回归测试
2026-07-04 16:41:33 +08:00