feat(qq): QZone 发布并入 QQ 渠道页 + 配置去噪 + 参考图描述互通 + 吉祥物去嘴#160
Merged
Conversation
- QZone 发布/自动回评论面板从 /scheduler/qzone 整体迁入 /channels/qq (QzonePanel 组件化;旧路由重定向保留书签;导航项移除并入 QQ 关键词) - QQ 渠道配置: access_token/napcat_access_token 收进 Advanced 并给出 人话标签+说明(内置 NapCat 无需填写);白名单/开关/数字字段现在会 回显进 config_keys, 表单不再永远渲染空值 - 参考图 description 全链路: persona_assets 加列(含 ALTER 迁移) → 上传/PATCH 路由 → AssetOut → persona 页逐图描述编辑器 → qzone 任务页 picker 展示 → image_with_refs 图例与 qzone builtin 系统 提示词块注入; 任务级按 label 引用全局资产, 描述天然互通 - 吉祥物 eclipse-pearl.svg 去嘴, 眼睛微调回视觉中心
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
四件事,一次 QQ 面收敛:
1. QZone 发布模块并入 QQ 渠道页
/scheduler/qzone整页抽成<QzonePanel>(ui/components/scheduler/qzone-panel.tsx),挂载在/channels/qq的 ChannelConfigEditor 之后 —— QZone 发布借用的就是 NapCat 登录态,归属渠道页更符合心智模型。2. QQ 渠道配置表单去噪
access_token(OneBot WS 鉴权)与napcat_access_token(NapCat WebUI 鉴权)都是活字段但不同端口,不能删 —— 收进 Advanced,并给出人话标签("OneBot WS 令牌"/"NapCat WebUI 令牌")+ 说明(内置 NapCat 无需填写)。ws_url/napcat_url 同步补说明。group_whitelist/proactive_groups/两个开关/六个数字字段保存后从不回显(_non_secret_config_keys不吐),表单永远渲染空值盖住已存配置。现在全部 echo 进config_keys,编辑器可正确 pre-seed。3. 参考图 description 全局/任务级互通
persona_assets加description列(含ALTER TABLE显式迁移,老库安全);上传表单字段 +PATCH assets/{aid}支持改 label 和/或 description(空 body 400)。image_with_refs图例(Reference image N = label (desc))+ qzone builtin 系统提示词块(label(描述),best-effort、never-raise)。上限 500 字符,服务端裁剪。4. 吉祥物去嘴
docs/assets/eclipse-pearl.svg:移除嘴部 path + smile 动画,眼睛下移 4px 回视觉中心。测试
tsc --noEmit清洁;vitest 全量 161 files / 1256 passed(含迁移后的 qzone-panel.test)