2047 Commits

Author SHA1 Message Date
kdletters 1948a99dab 反合编辑器素材库分支到master 2026-06-23 22:47:56 +08:00
kdletters 562366820d 合并master到编辑器素材库分支 2026-06-23 22:45:57 +08:00
kdletters fbecb3c7cb 新增后台Dashboard并修正画板规范图选择
新增后台 Dashboard 默认入口、日周月筛选和运营汇总页签

补充后台 Dashboard 数据契约、接口统计和文档

修正画板角色与图标规范图选择、缓存和提示状态

修复创作页桌面导航类型收窄错误

更新 Codex 环境初始化脚本和相关回归测试记录
2026-06-23 22:44:04 +08:00
wuxiangwanzi d693279d8a 对齐我的界面反馈入口
我的界面反馈与建议改为新页签打开飞书表格

隐藏旧站内反馈页面路由和渲染分支

补充反馈入口外链和旧路由隐藏测试
2026-06-23 22:08:37 +08:00
wuxiangwanzi fcd9470dcf 加入客服反馈和社区二维码
增加桌面端全站客服反馈悬浮入口。

悬停入口时展示 QQ 和微信社区二维码浮窗。

补充入口拖拽边界、点击跳转和移动端隐藏测试。

同步全站客服悬浮入口接入文档。
2026-06-23 21:02:13 +08:00
wuxiangwanzi 972a974f26 同步创作页图标资源清单
更新创作页品牌和项目图标为统一扁平风格

同步创作页图标资源清单尺寸信息
2026-06-23 20:30:58 +08:00
wuxiangwanzi 78660db864 更新创作工具功能图标
替换创作工具卡片图标为统一扁平现代风格
2026-06-23 20:29:42 +08:00
wuxiangwanzi 871d7d69b0 更新创作页导航与操作图标
替换左侧导航图标为统一扁平 IP 风格

替换创作页顶部操作和搜索相关图标
2026-06-23 20:28:18 +08:00
wuxiangwanzi 27447a168b 调整创作页入口和选中态
隐藏创作桌面侧栏推荐和发现入口

调整创作页左侧导航、品牌区和按钮选中态为 IP 主题扁平效果

更新桌面导航相关测试断言
2026-06-23 20:27:00 +08:00
kdletters 4b2cac44ff 修复图标素材切片废图
合并靠近主体的断开高光阴影连通域

过滤孤立小碎片避免生成废图素材

补充图片画布图标切片踩坑记录
2026-06-23 19:30:04 +08:00
kdletters 2e60e43e17 收紧画布素材导出元数据
只导出信息面板可见的素材元数据

过滤导出生成输入中的内置提示词

补充导出测试和图片画布文档约束
2026-06-23 19:23:46 +08:00
kdletters afc2f03497 新增后台账号初始泥点配置
新增 profile_wallet_config 表和后台读写接口

注册赠送泥点改为读取后台配置并保留默认 100

后台新增账号配置页并同步数据契约文档
2026-06-23 17:42:49 +08:00
kdletters 0c2c0c2c0f 合并 master 到编辑器素材库分支
同步主线原生壳与宿主桥接改动

保留画板媒体瘦身和请求重试契约

合并项目记忆决策记录
2026-06-23 17:25:35 +08:00
kdletters f5ede50ba9 瘦身画板媒体保存链路
改造画板项目保存响应为轻量 ack

统一生成上传媒体以 objectKey 持久化

补齐素材库缩略图换签与本地轻量缓存

刷新生成后泥点余额并补充回归测试
2026-06-23 17:21:55 +08:00
kdletters 63cd92cc3f 补齐图片编辑器素材和画布搜索
普通上传默认落入上传素材文件夹

缺少上传素材文件夹时首次上传前自动创建

素材库和图层侧栏增加前缀优先搜索

更新图片画布技术文档和定向测试
2026-06-23 17:03:11 +08:00
kdletters 9ad2152816 为图片编辑器上传和生成加自动重试
新增图片编辑器请求重试配置

生成请求遇到429等临时错误自动重试

上传凭证、资产确认和直传上传共用重试策略

补充图片编辑器重试参数和直传429测试
2026-06-23 16:30:54 +08:00
JenkenB 624ab91f66 Merge branch 'codex/editor-asset-library' of https://git.genarrative.world/git/GenarrativeAI/Genarrative into codex/editor-asset-library 2026-06-23 16:13:47 +08:00
JenkenB 700206f364 Merge branch 'codex/editor-asset-library' of https://git.genarrative.world/git/GenarrativeAI/Genarrative into codex/editor-asset-library 2026-06-23 16:10:22 +08:00
wuxiangwanzi dab879e0c4 统一界面上的ip形象标识
新增陶泥儿产品 IP 公共图片资产
左上角品牌标识和绑定页品牌块统一展示该形象
更新产品基线、创作主页方案和共享决策记录
2026-06-23 15:48:03 +08:00
JenkenB 650a54f5eb Lock publication materials to gpt-image-2
Enforce gpt-image-2 for publication-material workflows to ensure stable, predictable promotional asset generation. Updates include: docs clarifying the decision and UI behaviour; backend api-server normalize/force model to GPT_IMAGE_2 for kind = "publication-material"; frontend sets publication dialogs to use and display a disabled gpt-image-2 model capsule and computes cost using that model; submission flow no longer remembers or submits nanobanana2 for publication items. Added/updated unit tests and a demo panel test to validate the locked model. Key files changed: docs/* (decision log and editor guides), server-rs/crates/api-server/src/editor_project.rs, several src/components/image-editor/* files and tests.
2026-06-23 15:27:52 +08:00
wuxiangwanzi c8aa1775f3 移动端欢迎界面和说明
新增移动端首页欢迎弹窗,提示移动端仅支持作品展示。

替换欢迎弹窗 IP 图标并调整正文换行与标点。

关闭弹窗后本次页面生命周期内切换底部页签不再重复弹出,刷新后重新显示。

补充弹窗展示规则测试并同步玩法入口文档。
2026-06-23 15:19:21 +08:00
kdletters 47bdc73b93 串行化画板布局自动保存
让画板布局保存共用单飞队列避免慢 PATCH 并发

覆盖慢保存期间只发送最新待保存快照

补充发布入口 429 排查与自动保存文档
2026-06-23 15:16:50 +08:00
kdletters 0579741f64 画板生成统一接入Worker队列
新增图片画布外部生成队列封装和 worker job 分发

将画板图片、改图、图标、UI 素材、角色动作、视频和音频生成切到队列模式

前端提交生成任务后轮询 queueState 并应用后端项目快照

补充共享契约、测试和 worker 化文档说明
2026-06-23 01:07:33 +08:00
kdletters 7d3e652b53 优化项目封面加载与画布吸附
项目页封面和画布图层增加轻量加载态,图片解码不阻塞外框文字。

缩小等距吸附候选范围,降低多素材拖拽热路径开销。

补充项目封面、画布加载、吸附性能测试和文档说明。
2026-06-23 01:06:28 +08:00
kdletters 14f8a87ac5 修复 API 发布安装外部生成 worker 模板
API deploy 从随包安装外部生成 worker 模板和 controller 单元
安装 worker systemd 单元后自动 daemon-reload
补充 API release 与 deploy 动态门禁覆盖 worker systemd 模板
2026-06-23 01:01:59 +08:00
wuxiangwanzi 6c984a24f6 修改滚轮缩放和图标容器比例bug
将画布滚轮缩放下限调整为可见 5%。

修正图标素材生成占位框尺寸,避免 1:1 默认外框过大。

取消图标素材占位装饰 tile 的反向缩放,避免缩小时内部容器异常放大。

补充画布缩放、图标占位和文档验收说明。
2026-06-23 00:19:09 +08:00
kdletters 79257f6e4a 合并编辑器素材库最新分支
合并 codex/editor-asset-library 到 master
同步编辑器生成服务端计费能力
同步创作主页精选素材来源限制
2026-06-22 23:29:31 +08:00
kdletters ac3befdadf 限制创作主页精选素材来源
只从项目内画布生成资源构建陶泥儿精选

移除公开作品和账号素材库精选回退

补充精选数据边界测试和项目记忆文档
2026-06-22 23:25:38 +08:00
JenkenB 7830d201c4 Server-side billing for editor generation
Move editor generation pricing to backend: remove priceMudPoints from public request schemas and docs, require backend to compute model prices and perform pre-charge via execute_billable_asset_operation_with_cost. Update character animation and video handlers to use authenticated owner IDs and wrap generation requests in billing; remove client-side price validation. Adjust OpenAPI, project-memory docs, pricing management docs, and related tests to reflect that front-end only displays prices and must not submit priceMudPoints. Also document new user registration reward and wallet refund outbox behavior. Code and test changes applied across api-server handlers, shared contracts, and image-editor client/tests.
2026-06-22 23:11:23 +08:00
kdletters 008bbae845 合并编辑器素材库分支
合并 codex/editor-asset-library 到 master
保留原生壳桥接统一分支已合入内容
合并图片编辑器素材库、模型定价和项目记忆更新
解决项目记忆踩坑记录冲突
2026-06-22 22:37:14 +08:00
kdletters 25761b84a3 合并原生壳桥接统一分支
合并 Expo 移动壳与 Tauri 桌面壳工程
保留创作主页、项目入口和现有生产发布脚本
同步 HostBridge 文档、依赖锁文件和原生壳门禁
2026-06-22 22:28:31 +08:00
wuxiangwanzi 6caf349992 锁定画布UI设计图模型选择
固定生成UI设计图模型展示为gpt-image-2

对齐角色规范面板的只读模型展示样式

提交层兜底强制UI设计图使用gpt-image-2

补充模型锁定与旧草稿兜底测试
2026-06-22 21:51:59 +08:00
JenkenB dfd567fe2c Add Agent execution guidelines & trim AGENTS.md
Introduce a new detailed Agent handbook (docs/【协作规范】Agent工作入口与执行准则-2026-06-22.md) and refactor AGENTS.md to be an entry-only navigation page. Update documentation cross-references (docs/README.md, project-memory README, document-map, team-conventions, development-workflow, decision-log and project-overview) to point to the new file and clarify reading/order rules, submission/validation constraints, and SpacetimeDB/back-end wording. Also adjust image canvas generation placement rules in the frontend doc and apply related changes to image-editor hooks/tests (src/components/image-editor/*). Purpose: separate high-level entry rules from complex execution details to reduce startup cost for complex tasks and centralize execution practices in a single guideline document.
2026-06-22 21:44:07 +08:00
JenkenB 1e3a68a459 Merge branch 'codex/editor-asset-library' of https://git.genarrative.world/git/GenarrativeAI/Genarrative into codex/editor-asset-library 2026-06-22 21:44:02 +08:00
JenkenB 75e1ac93db Refactor UI asset extraction overlay and handlers
Remove explicit cancel callback and centralize dismissal: clicking the canvas now dismisses active UI extraction (handled in ImageCanvasEditorView) instead of relying on an onCancel prop. Simplify ImageCanvasStageView and ImageCanvasUiAssetExtractionOverlayView APIs by removing onCancel and related UI. Improve preview bounds and rendering: add normalization to mark bounds, clamp to source dimensions, and render crop previews using an absolutely-positioned <img> for accurate, coordinate-based previews. Update styles for toolbar active states and preview image layout, and reduce SVG stroke width. Update tests and docs to reflect new behaviors and UI wording (tool highlight, accurate crop preview, and dismissal behavior).
2026-06-22 21:37:39 +08:00
JenkenB a1677027f3 Merge branch 'codex/editor-asset-library' of https://git.genarrative.world/git/GenarrativeAI/Genarrative into codex/editor-asset-library 2026-06-22 21:27:54 +08:00
kdletters 7aa24f7b4b 整理 Agent 文档入口
AGENTS.md 收敛为高优先级入口
新增 Agent 工作入口与执行准则文档
同步 docs 与项目记忆索引
记录入口瘦身决策
2026-06-22 21:13:37 +08:00
JenkenB 2007f1f9ce Update editor generation pricing defaults
Unify and lower default mud-point prices across editor generation features and update related API/schema, docs and tests. Changes set gpt-image-2 to 1K=3 / 2K=5, audio1.0 to 5, and chirp-v5 to 12, and update server default JSON, frontend models/workflows, OpenAPI schema (require aspectRatio/imageSize/priceMudPoints for UI extraction), multiple UX docs (quick-edit viewport, UI extraction panel, pricing guidance) and accompanying tests to match the new defaults and validation rules.
2026-06-22 21:10:43 +08:00
wuxiangwanzi 25421140bf 优化画布泥点入口
让画布顶部泥点余额按钮复用创作页充值和兑换码入口

抽取账户充值支付结果与确认弹窗组件供创作页和画布页共用

补充画布泥点入口回归测试和编辑器技术文档
2026-06-22 21:08:33 +08:00
wuxiangwanzi 7fe4a10d19 优化画布顶部栏布局
收窄画布顶部栏高度和按钮间距

移除未命名画布下方的画布副标题

将画布标题和重命名入口贴近返回按钮

在顶部栏右端展示当前泥点余额

补充画布顶部栏测试和技术方案说明
2026-06-22 21:04:43 +08:00
kdletters 1176c71f72 角色动作素材改为序列帧
将角色动作结果图层主类型改为 image-sequence,并持久化完整帧列表与预览视频来源

在画布中增加序列帧播放器,展示透明 PNG 帧而不是预览视频

将角色动作单素材下载和画布素材导出改为序列帧 ZIP/frames 目录

更新角色动作、导出方案和项目记忆文档,补齐相关前端测试
2026-06-22 20:49:51 +08:00
wuxiangwanzi d9cd2edf92 改造时隐藏系统提示词
改造和重绘面板只从用户可见输入快照恢复提示词。

没有用户输入快照的旧资源打开改造时保持输入框为空。

补充图片、音频、视频、规范和宣发素材改造提示词恢复测试。

更新图片画布编辑器文档中的系统提示词隐藏规则。
2026-06-22 20:13:23 +08:00
kdletters 97edb5cb1a 改为 Jenkins 上传 provision 脚本
移除 Server-Provision 的 SOURCE_GIT_REMOTE_URL 参数和目标机 Git checkout

新增 Jenkins 构建节点准备 provision 文件并上传到目标 agent 执行

同步生产运维文档和共享记忆中的 provision 执行口径
2026-06-22 19:53:26 +08:00
kdletters b03b6b0c13 引导移动端创作主页使用桌面端
移动端直达 /creation 时展示桌面端打开引导

补充移动端创作主页回归测试

同步创作主页与玩法链路文档口径
2026-06-22 19:53:26 +08:00
kdletters 7b2903496e 补齐 API 发布归档中的 Pingora TLS 同步脚本
API Build 归档加入 pingora-tls-cert-sync.mjs
API Deploy 复制并授权 Pingora TLS 证书同步脚本
生产运维门禁覆盖 TLS 同步脚本归档要求
共享记忆记录 Jenkins 归档清单漏项排障经验
2026-06-22 19:53:26 +08:00
kdletters 554e74f27e 改为 Jenkins 上传 provision 脚本
移除 Server-Provision 的 SOURCE_GIT_REMOTE_URL 参数和目标机 Git checkout

新增 Jenkins 构建节点准备 provision 文件并上传到目标 agent 执行

同步生产运维文档和共享记忆中的 provision 执行口径
2026-06-22 19:50:10 +08:00
wuxiangwanzi 6e475af269 音效元素的时长选择换成滑动条,和视频元素的形式保持一致
将音效时长弹层从独立秒数按钮改为 2-10 秒滑动条。

复用视频时长滑动条样式并移除旧音效按钮网格样式。

更新音效时长控件测试和音乐生成入口设计文档。
2026-06-22 19:20:34 +08:00
JenkenB e91a46a419 Merge branch 'codex/editor-asset-library' of https://git.genarrative.world/git/GenarrativeAI/Genarrative into codex/editor-asset-library 2026-06-22 19:18:31 +08:00
JenkenB 55469a2198 UI extraction selection + local FFmpeg dev env
Require an explicit red-box selection before extracting UI-design assets: add rectangular/ellipse/brush selection UI, render red-outline marks into a marked Data URL on the client, and update the extraction prompt to "仅提取被红色框框选的素材并整理成spritesheet". Add frontend overlay/raster models and tests to support the selection flow and adjust numerous image-editor tests and views to wire up the selection lifecycle. On the dev ops side, enhance scripts/dev to detect a local %LOCALAPPDATA%/Genarrative/ffmpeg/bin installation on Windows, prepend it to PATH and inject CHARACTER_ANIMATION_FFMPEG_PATH/FFPROBE_PATH (with tests), and export the helper. Server config now prefers GENARRATIVE_*-prefixed FFmpeg env vars and includes a Rust test to validate reading the prefixed variables. Update docs to describe the new UI extraction behavior and local FFmpeg handling.
2026-06-22 19:13:37 +08:00
kdletters 1673599559 引导移动端创作主页使用桌面端
移动端直达 /creation 时展示桌面端打开引导

补充移动端创作主页回归测试

同步创作主页与玩法链路文档口径
2026-06-22 19:09:55 +08:00