Chris
378820a7fe
feat(i18n): add Simplified 文言 edition and classical reply styles
...
- New locale zh-Hans-x-lzh, generated from the Traditional edition (copy kept
verbatim from zh-TW takes the zh-CN value; the rest goes through OpenCC tw2sp).
Falls back to zh-CN, then en; never chosen from the OS language.
- The language menu has a single 文言 entry. Choosing it adds a row to the same
card for script (简体 / 繁體) and AI reply style: classical prose (default),
Tang poetry, Song ci, Yuan qu, Chu ci, parallel prose, pre-Qin masters,
historian, Ming–Qing essays, or plain replies with the classical interface.
- Styles live in @cindy/maker-shared/classical-reply, grouped by literary
family so Japanese / Korean classical editions can add their own later.
- The style rides the per-turn [UI language] note next to uiLanguage; the
cached system prompt is unchanged. Desktop mirrors its choice to main over
IPC; Mobile sends its own with each turn; IM channels keep the error-language
note only.
- QA previews, glossary, docs and the installer message check cover the new
edition.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-10-31 13:18:15 +08:00
Chris
3019820b8f
feat(i18n): add Classical Chinese (文言) UI edition with classical AI replies
...
Add a hand-selectable Classical Chinese locale (zh-Hant-x-lzh) across
Desktop, Mobile and native copy, written in Traditional characters with
Cindy's playful ancient-style voice, verse on welcome and milestone
screens, and plain wording for deletion, permission, credential and
payment prompts.
- The private-use tag keeps Intl dates, numbers and plurals on zh-Hant;
missing keys fall back to zh-TW, then English. OS languages never
resolve to it, and an app locale passed back through the main-process
resolver keeps its identity instead of folding into zh-TW.
- With this interface the per-turn UI language note also asks the model
to reply in Classical Chinese; switching languages replaces the note
and ends the style. IM channels keep the error-language-only note.
The cached system prompt is unchanged.
- Server-facing locales stay on existing values (zh-TW / zh-CN).
- Record the style guide and glossary terms; refresh login QA previews.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-10-31 13:18:14 +08:00
fmfsaisai
53110d5e80
feat(release): publish the page generation manual per client version
...
Add scripts/publish-page-manual.mjs to upload the bundled
PAGE-GENERATION.md to {cdnBaseUrl}/plugin-pages/manual/{version}/ with a
manifest.json. Version, region and commit come from build-info.json; the
manual bytes come from the build commit, and builds without the manual
are skipped. Versioned objects are never overwritten.
The shared path helper lives in apps/desktop/src/shared/pluginPageManual.mjs
so the client runtime can build the same URL later.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com >
2026-10-31 11:34:16 +08:00
Chris
2b771422a2
feat(i18n): add Spanish, French, German and regional Portuguese UI
...
Complete desktop and mobile catalogs and native copy for ten UI locales.
Keep Portugal and Brazil Portuguese separate, preserve service locale
contracts, and verify real desktop/iOS/Android language switching.
French catalog based on community contribution #7739 with updates
for the current source and terminology.
Co-authored-by: Digital Air Media <contact@digitalairmedia.eu >
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-10-31 03:46:43 +08:00
MagicLizi
6322c7208e
fix(device-link): close relay review and recovery gaps
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-10-28 23:56:33 +08:00
DavidShenXD
cdfec9aa5b
feat(desktop): 内置截图工具,直接交给 Cindy AI 任务,支持滚动截图、区域录屏和 GIF,不再依赖IM工具 ( #7300 )
...
* feat(desktop): 截图直达 Cindy 任务并集成滚动截图与区域录制
Signed-off-by: DavidShen <david@xd.com >
* perf(desktop): 降低滚动截图匹配与录制预览开销
Signed-off-by: DavidShen <david@xd.com >
* perf(desktop): 加速截图像素转换并合并静止 GIF 帧
Signed-off-by: DavidShen <david@xd.com >
* test(desktop): 修正截图辅助进程的平台模拟与窗口契约登记
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 禁用截图浮层显示时的缩放动画
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 稳定双屏截图显示顺序并优化滚动预览
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 修复截图浮层再次打开后不可见
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 截图浮层用后销毁并重新预热
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 修复壁纸聊天区滚动截图匹配中断
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 独立截图编辑窗口并平滑滚动预览
滚动截图交接到无标题栏编辑窗,复用辅助窗口生命周期并校验文档与来源。
缩放与滚动保留原图和标注坐标,同步预览高度与新增内容的动画。
macOS 默认全局截图快捷键改为 Shift+Cmd+S,保持已有自定义设置。
验证:Desktop 类型检查、108 项定向测试、五语言深浅色 10 组 UI 检查和 2 组渐进预览检查通过。
Windows 实测全局唤起、滚动采集、独立编辑和原分辨率导出;macOS 尚未实机验证。
仅修改 Desktop,不涉及移动端原生配置、依赖或 fingerprint,不触发移动端冷更。
Signed-off-by: DavidShen <david@xd.com >
* feat(desktop): 重做录屏交互并支持预览复制
统一录屏入口、倒计时与紧凑控制条,完成后进入独立回放窗口。
补齐 WebM 时长及全屏权限,支持视频和 GIF 原文件复制与关闭后粘贴。
补齐窗口设计台账登记,避免长图断言序列化造成 CI 超时。
验证:定向测试、Desktop 类型检查、五语言深浅色 UI 检查通过。
Windows 实测录制、回放、全屏和原生复制粘贴;macOS 尚未实机验证。
仅涉及 Desktop 与工程台账,不修改 Mobile 原生配置或依赖,不触发冷更。
Signed-off-by: DavidShen <david@xd.com >
* test(desktop): 修复分享偏好原子写入测试的等待竞态
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 修复截图录屏交互并调整默认快捷键
截图工具条避开刘海与 Dock,完善触控板缩放、吸附和自动滚动权限提示。修复 macOS 开始录制时的窗口层级切换,预览显示时激活并聚焦窗口,扩大录制工具条拖动区域并稳定松手位置。
默认截图快捷键调整为 macOS Ctrl+Shift+A、Windows Alt+Shift+A,提示共用快捷键配置并保留用户自定义。同步五语言提示、设计规范和窗口行为文档。
验证:截图录屏 78 项定向测试、快捷键相关 59 项测试、Desktop 类型检查及录屏/GIF 深浅色界面检查通过;用户验收通过。Windows 本轮改动尚未实机验证。
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): 刷新模型压缩偏好删除与回滚缓存
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): preserve screenshot ownership and capture recovery
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): scope recording previews and defer screenshot submission
Signed-off-by: DavidShen <david@xd.com >
* test(desktop): remove obsolete submit-ref source assertions
Signed-off-by: DavidShen <david@xd.com >
---------
Signed-off-by: DavidShen <david@xd.com >
2026-10-28 09:52:13 +08:00
Zhao Dengfeng
814dc26d1d
fix(scripts): require own properties in schema validation
...
Signed-off-by: Zhao Dengfeng <2370187+zhaodengfeng@users.noreply.github.com >
2026-10-26 18:04:40 +08:00
Chris
a0caf20d81
fix(design): register pinned remote task route in inventory
...
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-10-26 13:42:57 +08:00
Dash
963b3f1e73
fix(mobile): 隔离构建环境并减少任务更新引发的重复渲染
...
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-25 10:34:57 +13:00
nana
ca84bcd292
chore: 同步主干并保留手机插件配置改动
...
Signed-off-by: nana <823073145@qq.com >
2026-10-21 18:37:23 +08:00
nana
6551b7a4ec
feat(mobile): 支持远程插件管理与原配置页
...
Signed-off-by: nana <823073145@qq.com >
2026-10-21 18:24:05 +08:00
Chris
53d18e950b
fix(mobile): register incoming share design surface
...
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-10-20 21:38:17 +08:00
Chris Zhang
24fab987df
fix(search): 侧栏和手机搜索覆盖伙伴个人聊天与归档历史 ( #6548 )
...
* fix(search): include personal companion chats and preserve history targets
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(search): register remote companion history in UI inventory
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(bots): hydrate remote history metadata before opening chat
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* test(bots): verify archived identity through rendered history
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* test(bots): tighten source-read baseline after history coverage migration
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
---------
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-10-20 18:29:06 +08:00
Dash
fb6071fd45
Merge origin/main into dash/sidebar-popout-panel
2026-10-20 03:55:31 +13:00
Lizi
9d3d13aa56
Merge pull request #6406 from kirozeng/feat/mobile-settings-section-footer
...
refactor(mobile): 设置页说明文字移到分组下方,调试项收进「开发者」二级页
2026-10-19 22:15:45 +08:00
Dash
4f79a71b5a
Merge origin/main into dash/sidebar-popout-panel
...
- 插件编写手册已迁到 cindy-plugin-creator 内置 Skill 的 references:把页签组 / 四边 position /
mainView.open·side·multiple 的说明移植过去,forge.ts 采用 main 的版本
- 删除已无引用的 ghostPanel.disableConfirm 文案(main 仅改了措辞)
- design-inventory 重新生成,删除已退场的 ghost-panel 窗口人工行
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-20 02:00:07 +13:00
kirozeng
384d4f3916
fix(mobile): 设置页评审反馈——下载失败改为状态提示、使用统计说明贴紧开关、登记开发者页入口
...
Signed-off-by: kirozeng <kirozeng@gmail.com >
2026-10-19 19:07:06 +08:00
nana
8d5d7cb3a6
fix(bots): 避免用户发言后补写开场并同步主干
...
Signed-off-by: nana <823073145@qq.com >
2026-10-19 16:08:00 +08:00
Dash
abb83fa21c
插件停靠面板收束为右侧栏全局页签;mainView 可在侧边栏中打开
...
右侧栏页签分两类:跟对话的任务页签(原有)与不跟对话的全局页签(新增)。全局页签
钉在条首、切任务留在原位、只在本窗口记激活位、关闭是全局动作;有全局页签在场时
任务页签关空不再自动收起侧栏。全局页签可像任务页签一样弹成独立窗口。
- 新增 `plugin-view` 页签类型,承载插件的 panel / mainView 页面(复用 GhostWebviewBody,
分区、主题、崩溃接管与插件页同一条路);globalTabs 按数据所有者存于 localStorage,
storage 事件跨窗口同步。
- 存量兼容:声明 `panel.position: left` 的已启用插件在启动 / ghosts:changed 时自动成为
全局页签,用户关掉后记 dismissed 不再自动加回,卸载即清;插件不用改 manifest。
`mainView` 插件在左侧栏入口右键「在侧边栏中打开」加入。
- 停靠面板这一层退场:布局树里的 ghost pane 不再有渲染方(存档按不变量保留)、删除
气泡最小化 / 恢复入口 / 外观设置项、PanelChrome、插件面板独立窗口(main 控制器、
IPC、preload、入口、路由、类型、崩溃隔离登记)。
- 插件页「面板」状态改为「显示在右侧栏 / 已从右侧栏关闭」;编写手册 §0 / §2 / §5 与
帮助文本、安全文档、设计清单同步。
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-19 21:06:03 +13:00
nana
0b9b4ded4c
feat(bots): 新增「发现伙伴」市场与内置伙伴包(开发版)
...
侧栏伙伴「+」菜单新增「发现伙伴」入口(首次带一次性提示),可浏览 10 个
内置伙伴包的能力、知识、工具与例行任务并一键邀请。邀请复用现有伙伴导入
服务,整包完整性校验;例行任务只保存为停用;加入后宿主写入开场与起步选项,
辅助模型失败时立即退回包内脚本。入口、路由与接口仅开发版可用,伙伴包不进
正式安装包。
Refs #6423
Signed-off-by: nana <823073145@qq.com >
2026-10-19 13:51:51 +08:00
Dash
1084336035
fix(mail): enforce native read intent and validate embedded image URLs
...
Integrate origin/main while retaining both mail and remote plugin bridges.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-19 17:34:07 +13:00
nana
629ec15b8a
fix(remote-management): 修复操作收尾与提交边界并同步主干
...
Signed-off-by: nana <823073145@qq.com >
2026-10-19 10:39:59 +08:00
Dash
0c39bd2667
docs(mail): 登记手机邮件阅读入口并更新界面清单
...
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-19 13:57:25 +13:00
kirozeng
e26bca38a2
feat(desktop): unify Select on shared parts and menu glide highlight
...
Route every desktop Select through components/ui/select-parts so the
trigger, panel and highlight share one implementation:
- focus-visible trigger rings; no leftover ring after mouse dismissal
- soft --shadow-menu elevation and float-in/float-out panel motion
- option rows join the shared dropdown-menu glide highlight layer
- migrate the remaining direct @radix-ui/react-select consumers
Signed-off-by: kirozeng <kirozeng@gmail.com >
2026-10-18 09:25:24 +08:00
nana
2c7c2f4284
docs(plugins): 补充远程管理契约与验收证据
...
Signed-off-by: nana <823073145@qq.com >
2026-10-16 19:41:43 +08:00
MagicLizi
cb0b27caa5
Merge pull request #6019 from fix/design-inventory-no-snapshot-date
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-10-15 22:34:03 +08:00
DavidShen
8ed992e1f6
Merge origin/main into cindy/gentle-feynman
...
Preserve both voiceprint and companion main-computer glossary entries.
Signed-off-by: DavidShen <david@xd.com >
2026-10-15 11:29:44 +08:00
Dash
f2d51c62de
feat(bots): 云端伙伴:同一个伙伴、主力电脑与换电脑继续 ( #5899 )
...
* docs(bots): 云端伙伴产品规则:同一伙伴、主力电脑与切换
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* feat(bots): 云端伙伴:登记主力电脑、上传资料、同步对话层
- 服务器 /me 声明 companionHome 且登录带设备标识时启用;旧服务器保持原状
- register() 为主力电脑为空的伙伴登记本机(CAS,冲突时采用服务器结果),
执行领取跳过主力电脑在别处的伙伴,actor.changed 立即重新读取
- 主力电脑上传资料、记忆与自有技能为伙伴偏好(按哈希比对、null 墓碑、版本冲突重试一次)
- 主力电脑把主任务的可见对话导入 1:1 房间(游标续传、首次只补最近 200 条)
- 1:1 房间的执行投递进伙伴主任务后无内容完成,回复经对话导入回到房间
- 账号隔离的同步状态文件;渲染层可读 maker:companion-cloud:state 并订阅变化
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* feat(mobile): 云端伙伴:主力电脑离线时查看对话并换电脑继续
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* feat(bots): 云端伙伴:在这台电脑继续、隐藏旧副本、交给另一台电脑
- 接管:以当前主力电脑做比较改到本机,按云端资料、记忆与技能建立或更新本机伙伴,
导入房间最近 200 条对话为本机历史,并像「重启伙伴」一样从历史重建上下文(忙时延后)
- 主力电脑转到本机且本机副本已降级或从未运行过时自动接管;主力电脑在别处的本机副本
标记降级:快照给出 demotedBotIds 供界面隐藏,例行任务跳过,不再上传与同步
- 交出:先完成一次上传与对话同步,再以本机做比较改到目标电脑(目标须为在线、
允许远程控制的桌面电脑),随后本机降级
- 新增 IPC:take-over / transfer / transcript / devices,状态快照带主力电脑名称与在线状态
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* feat(bots): 云端伙伴:桌面端主力电脑界面、离线接管与删除停用
- 伙伴列表、主入口与 Cindy 多设备合并隐藏已降级的本机副本;从未在本机见过的主力电脑上的伙伴
也以离线行出现,侧栏状态写「主力电脑离线」
- 远程伙伴的主力电脑离线时显示云端对话(只读、可加载更早消息)与「在这台电脑继续」,
成功后打开本机伙伴,已被别的电脑接手时转到那台电脑
- 本机伙伴设置新增「主力电脑」行:选择另一台在线电脑并确认后交出;远程伙伴设置只读显示主力电脑
- 远程资源 teammates 与本机 list_agents 不再列出已降级副本;在主力电脑上删除伙伴时停用云端 actor,
停用的 actor 不再出现在快照或登记中
- 共同基座补充:可经协同在开放远程控制的其他电脑上干活
- 五种语言文案;「主力电脑」登记为待讨论术语;规则文档补索引与已实现差异
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* test(bots): 云端伙伴:真实 chat-server 两台电脑端到端验证,并修复接管与历史去重
- 新增可选的 twoDevices 端到端测试(需 CINDY_CHAT_HARNESS_URL),两台电脑各自状态文件与本机替身,
覆盖登记、资料上传与墓碑、对话导入、按主力电脑领取与投递、接管、冲突降级、交出、删除停用
- 修复:缓存显示本机已是主力电脑时接管跳过比较写入,离线期间被别的电脑接走后会两台同时运行;
现在总以缓存的主力电脑做 CAS
- 修复:房间消息投递进主任务后再被接管导入为历史,出现重复;投递 clientId 改为
chat-direct:<执行>:<消息>,导入时据此跳过,并不再限定本机行的时间上界
- 房间投递逻辑提取为 companion-cloud/directRoom.ts,chatServer 复用;运行时可关闭启动即同步
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:按评审修复降级、接管、上传与对话导入的缺陷
- 只有主力电脑上未降级的副本、且主力电脑登记后,才同步名字与头像
- 降级名单持久化(账号隔离),离线、功能关闭时仍隐藏并跳过例行任务;降级副本主任务只读并显示横幅,
主进程拒绝向其发送
- 接管的本机写入绑定发起账号,切换即中止;头像下载 15 秒超时、随账号结束取消
- 对话导入只上传主人亲手输入的消息;回扫最近 10 分钟补晚落库回复,导入的历史不推进游标;
回退或删除的消息接管时不再插回
- 交出前经 device-link 只读通道 maker:companion-cloud:caps 探测目标是否支持
- 首次接管未同步过的本机副本先备份伙伴目录;墓碑只删本机上次有且未改的文件;上传只给本机自己有过的键写墓碑
- 上传冲突先确认仍是主力电脑再按服务器值最多重写一次;记忆目录仅 ENOENT 视为空;首轮每次最多 30 条
- 自动接管先做本机→本机比较确认;1:1 房间投递只认伙伴自己的房间
- 同机多安装:安装 ID 与伙伴偏好 companion.install.v1,非所属安装视为降级
- 删除停用失败时持久记下并逐轮重试;文档补齐行为与已知限制
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* chore(design): 登记手机云端伙伴离线页的设计清单条目
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:接管完整前不运行,交出前全量上传,列表每个伙伴只列一行
- 接管期间本机副本保持降级,资料、记忆、技能全部写入成功才解除;部分失败保留已写入部分并由自动接管重试
- 安装记录带设备标识:来自另一台电脑的记录视为刚交过来,已有未同步副本也自动接管;安装归属未确认前不领取执行
- 降级副本主任务的内部发送通路同样拒绝
- 交出前上传要求全部值成功,超过上限的值阻止交出
- 只发附件的消息以占位同步
- 桌面与手机伙伴列表按主力电脑只列一行,手机为没见过的主力电脑补离线入口;手机过滤已停用的伙伴
- 手机换电脑等待只认等待期间从目标电脑读到的行
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:接管时恢复云端头像,主力电脑未登记前不领取执行
- 接管对已有副本也写入云端头像;头像下载失败时接管失败并保持降级,避免新主力电脑把旧头像回写覆盖云端
- 开启主力电脑功能后,主力电脑尚未登记成功的伙伴不领取执行,之后每轮登记重试
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:接管只备份一次、云端无头像时用默认头像、交出前上传到无新变化
- 未同步副本只在首次接管前备份一次,头像暂不可用导致的接管重试不再重复备份
- 云端没有头像时,接管后的本机头像改为新建伙伴的默认头像,不再保留旧头像回写云端
- 交出伙伴前重复上传直到一轮没有新变化再改主力电脑,持续变化时不交出
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:没有云端资料快照时不接管,手机列表跟上换电脑
- 云端还没有主力电脑上传的资料快照时,接管保持降级并重试,不把这台电脑的旧资料当成伙伴身份发布
- 手机伙伴列表在列出的行变化与下拉刷新时重新读取主力电脑
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:交出前导完积压对话,手机列表在行内容变化时也刷新主力电脑
- 交出前对话镜像不受每轮 10 页上限,积压对话全部进房间后才改主力电脑
- 手机伙伴列表以「行 + 内容版本」判断变化,已缓存的行被新主力电脑重新列出时也重新读取主力电脑
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:接管以云端为准删除墓碑文件,镜像游标从本机最后一条自有消息开始
- 接管已有本机副本前每次都先备份一次;云端墓碑删除本机同名文件,接管后上传不再把已删除内容带回云端
- 接管后的镜像游标直接查询本机最新一条非导入历史的消息,不再受 50 行窗口限制
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:没有资料快照时不改主力电脑,名字头像只由确认的安装发布
- 「在这台电脑继续」与手机「换一台电脑继续」先检查云端资料快照,没有就失败、不改主力电脑
- 手机请求支持以伙伴身份读取(X-Chat-Actor),fetch 额外请求头不覆盖鉴权与内容类型
- 名字与头像只由本安装已确认运行该伙伴的主力电脑发布,与领取执行同一判据
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:自动接管不抢同机另一安装,技能按原文同步,丢弃过期的状态推送
- 自动接管只替换来自其他电脑的安装记录,同一电脑另一安装已认领时不覆盖;手动接管不变
- 技能按 SKILL.md 原文上传与恢复,保留原生 frontmatter;删除不再使用的按字段保存入口
- 主力电脑状态推送在设备查询返回后核对仍是最新快照,过期的不再推送
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:上下文重建完成后才解除接管降级
- 接管在仍降级时完成上下文重建;重建失败保持降级,由自动接管重试;伙伴正忙时照旧延后重建
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:伙伴忙时接管保持降级到重建完成,房间消息按保存的权限档唤醒
- 接管遇到伙伴还有一轮在跑时保持降级,由自动接管重试到上下文重建完成后才解除
- 云端房间投递进主任务时,冷启动按任务保存的权限档唤醒,不再使用后台默认的完全访问
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:停用伙伴带主力电脑比较,备份只在目录不存在时跳过
- 删除伙伴时的云端停用请求带「主力电脑仍是本机」的比较,期间已被别的电脑接走就只删本机副本
- 接管前备份只在伙伴目录不存在时跳过,其他读取错误中止接管并保留下次备份的机会
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:同步读本机资料、技能、记忆时只把「不存在」当作空
- 上传前读 SOUL / USER / 自定义提示词与技能改用严格读取:读不到(权限、I/O 错误)就中止本轮,不上传空值也不写墓碑
- 接管时读本机记忆只有文件不存在才算没有,其他错误保持降级重试
- 设置页等原有读取路径保持宽松行为不变
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:交出前先导入积压对话再上传资料,并写明首次同步范围
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:停用后隐藏其他电脑副本、只由认领安装停用、只认完整资料快照、刷新不覆盖更新推送
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:降级名单写盘失败时之后重试,不当作已保存
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:接管时先发布降级再写本机,云端历史按消息 ID 去重
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:交出期间暂停后台同步,主力电脑被接走后清掉待停用
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(bots): 云端伙伴:写明状态文件丢失后本机删除不再同步到云端
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* test(bots): Windows 上跳过依赖 chmod 的「读不到文件」用例
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴头像改用共用的防内网公网图片下载,并写明降级名单损坏的边界
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:状态文件写入失败时本次运行的状态照常生效,下次更新补写
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:本安装确认认领后才停用,刚交过来的先认领
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴状态与操作先完成账号切换再读取,写明在线被接走时的末轮上传边界
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:认领前先降级本机副本,交出前同步名字与头像
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(bots): 云端伙伴:写明安装记录未读到时不隐藏本机副本
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(bots): 云端伙伴:写明接管时本机独有的记忆与技能保留并合入伙伴
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:首次同步不覆盖云端较新的值,交出只同步该伙伴的名字与头像
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(bots): 云端伙伴:写明尾部回扫的 200 行上限
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:过程旁白与子 Agent 输出不导入 1:1 房间
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:伙伴还有一轮在运行时不交出
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:交出前检查伙伴所有任务(含群专线、委派)都已空闲
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(bots): 云端伙伴:写明被接走时在途的对话导入可能迟到
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:接管恢复技能停用状态、先降级再确认主力电脑、交出后不再投递房间消息、旧副本不开设置
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:已暂停的伙伴提示先恢复再换电脑
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 设置抽屉注释避开设计契约的阴影检查
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:删除伙伴时先发起云端停用,本地清理失败不再跳过
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(bots): 云端伙伴:写明接管时原电脑正在运行的一轮会跑完
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:发送拦截与删除前先完成账号切换,房间消息只在允许同账号控制时投递
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:Claude 子 Agent(parentUuid)输出不导入 1:1 房间
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(bots): 云端伙伴:主力电脑与降级名单按当前账号隔离,切换账号后立即生效
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-15 09:29:11 +08:00
Kai Ning
cda710c108
fix(repo): drop snapshot date from design inventory GENERATED block
...
The generator stamped the current date into the GENERATED block on every
run, so any two branches that regenerated the inventory on different days
conflicted on that line even when the rest merged cleanly. The block now
depends only on the source tree; when facts changed is recorded in git
history.
Refs #4646
Signed-off-by: Kai Ning <kai.ning@hejazfs.com.au >
2026-10-15 08:57:18 +08:00
DavidShen
7587efb64e
chore: 同步 main 并合并设置页面台账
...
Signed-off-by: DavidShen <david@xd.com >
2026-10-12 21:33:06 +08:00
DavidShen
9d5898ff66
chore(voice): 补齐声纹设置页面台账与英文提示
...
Signed-off-by: DavidShen <david@xd.com >
2026-10-12 21:21:30 +08:00
kirozeng
e2a2ee41da
feat(mobile): 新增「我的消息气泡颜色」设置
...
设置 → 外观新增「我的消息气泡颜色」:默认跟随主题,另提供初稿、晨光、
灵感、梦境、夜猫、项圈六个预设和自定义颜色,只作用于用户自己的消息气泡。
- 共享包 userBubbleAppearance 按浅色 / 深色生成背景、前景与描边,自定义色
着色更明显,深色上限保证正文对比度不低于 7:1
- iOS 为原生 Form 二级页(/settings/user-bubble):顶部真实气泡同款预览,
inline Picker 勾选列表,选中自定义才展开彩虹色带;拖动只更新预览,松手保存
- Android 沿用设置页内面板
- 偏好保存在本机 AsyncStorage,选「默认」即清除
- 同步 DESIGN.md、移动端设计规范与决策记录,登记设计台账路由
Signed-off-by: kirozeng <kirozeng@gmail.com >
2026-10-12 05:06:03 +08:00
Lizi
2656f84618
feat(provider-share): share remote providers with other Cindy users
...
A user can share any provider that already allows remote use with
users of other Cindy accounts. The Agent keeps running on the sharer's
computer with the sharer's login; the invitee's files and commands stay
on the invitee's computer. Product rules: docs/product-rules/
provider-sharing.md; cross-repo contract: docs/provider-sharing-
contract.md (server side lands in cindy-server).
Sharer (Desktop main):
- one-time 5-minute links, approval with a 4-digit pairing code,
pause/resume/remove, notifications without the pairing code;
- invitees (provider-share peers) may only use maker:remote-agent:v1
and a provider list filtered to the shared provider; subscriptions
and every other channel are refused, late results after revocation
are rewritten to ACCESS_REVOKED;
- guest isolation for Claude Code, Codex and Pi: open payloads are
allowlisted (no hooks/env/apiKeyHelper, neutralized out-of-tree @
imports and ! commands), no host personal config, managed skills,
roster or contacts rules, guest-only resume, Codex in a separate
CODEX_HOME with read-only token access, Pi without host context;
- per-invitee, per-model usage in userData/remote-agent (no schema
change); pausing ends tasks at once, removal also deletes the
invitee's shadow workspace, attachments and Agent transcripts.
Invitee (Desktop):
- apply dialog from deep links or a pasted link, waiting state with
the pairing code, withdraw, leave;
- shared providers appear in the model list as
"{provider} · {device} · 来自 {owner} 的分享"; tasks bind with
agent_device_id = share:<shareId>;
- cross-region shares (server switch, default off) use identity cards
and an in-memory share credential on a second relay connection.
Mobile: reads the controlled computer's received shares for the model
list, localizes the new errors, and only says "open on a computer" for
share links (JS only, runtime fingerprint unchanged).
Protocol: Envelope.providerShare scope with capability
provider-share-v1 (append-only; old relays and clients keep same-account
routing), new same-account channel
maker:provider-share:received-catalogs.
Signed-off-by: Lizi <jiali@magiclizi.com >
2026-10-08 14:31:04 +08:00
Chris Zhang
1bde0037e4
feat(mobile): 接入插件页面与原生交互 ( #5359 )
...
* feat(mobile): integrate plugin pages and native interactions
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(mobile): register plugin UI in design inventory
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(mobile): preserve plugin receipts and page lifecycle
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(mobile): align Traditional Chinese plugin terminology
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* test(plugins): run mobile-host interop in Node environment
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(mobile): guard plugin navigation and align integration regressions
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* test(mobile): isolate plugin polling in drawer lifecycle fixture
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
---------
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-10-02 06:26:26 +08:00
kirozeng
f9245d2647
chore(design): 设计台账登记设置子页面(设备名、语音词典)
...
Signed-off-by: kirozeng <kirozeng@gmail.com >
2026-09-30 00:30:39 +08:00
Chris Zhang
7c59d6f8e4
feat(mobile): 伙伴群聊第三阶段——手机端群聊与分工 ( #5162 )
...
* feat(mobile): 伙伴群聊第三阶段——手机端群聊与分工
手机作为控制端查看群聊、发言、推进分工,规则仍由电脑判断。
- Desktop:新增 Remote Resource collection `bot-groups`(原语 `bot-group-chat`),
列表/详情/动作都复用 `maker:remote-resources:*`,不新增 channel 或 allowlist;
电脑路径不下发,群只在全部成员对手机可见时出现,动作逐次复核。
- 分工一步停下(继续/重试/全部做完)时经既有 notify 帧推送到手机,深链进入该群。
- Mobile:伙伴页「群聊」分组、群聊页(安排卡、继续/重试、待确认内嵌、@ 与「+」安排分工)、
群设置与新建群聊、推送深链解析、五语文案;无原生改动,fingerprint 不变。
- 安排判定与提及解析下沉到 @cindy/maker-shared,Desktop re-export,行为不变。
- 规则:bot-group-chat.md 第 8 节;protocol-compatibility.md 新增群聊手机端一节。
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(bot-group): 推送与手机动作守住可见性和账号边界,删群后稳定退出
- 分工推送先按群列表同一规则复核全部成员对手机可见,隐藏了成员的群不再推送
- 手机动作在可见性检查之后、写入之前复核数据所属账号,切换账号时不再写入新账号
- 电脑先广播删群、手机先读到群已不在时,设置面板被卸载后仍然退出群聊页
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* docs(bot-group): 分工推送只发给手机能看到的群
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
---------
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-28 11:39:28 +08:00
Chris Zhang
19dfb00bb7
feat(bots): 伙伴群聊第一阶段(Desktop 本机) ( #5152 )
...
* feat(bots): 伙伴群聊第一阶段(Desktop 本机)
用户可以把自己的 2–6 位伙伴放进一个群,用户说一句,伙伴按宿主确定性规则接话:
@ 点名按先后轮流、@所有人、没 @ 时按群设置;「自动」发言方式下广播问题第一圈
同时想、之后轮流,「始终轮流」每次一位;每轮最多 3 圈 10 条,自然结束后由用户
继续讨论;插话与停止会中止正在发言的伙伴。
- 新表 bot_groups / bot_group_members / bot_group_messages(0116、0117)
- 每位成员在每个群有一条隐藏群专线 Session(bot_session_links.role = 'group'),
共享 Profile、Home、模型链与权限档,不进任务列表、历史、通知与 Dock 计数
- maker-ipc/botGroupChatService:发言编排、群专线投递与回合结算、IPC
- Desktop 群聊界面:侧栏群聊分组、群聊页、新建对话框、群设置抽屉、五语文案
- 规则文档 docs/product-rules/bot-group-chat.md
不修改 system prompt:群聊说明只进每回合投递给群专线的隐藏用户段。
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(bots): 群聊处理 review 意见:权限同步失败不放行、旧轮不再派发、点名按输入框结果
- 群专线权限同步失败时本次不发言(显示轻提示),不再沿用旧的宽权限执行
- 成员准备期间用户插话:派发前重新核对轮次;旧轮只撤回自己的等待项
- 点名以输入框解析结果为准(保留同名伙伴的选择与 @ 先后),宿主只在缺失时解析正文
- 出错或超时的伙伴本轮不再重试,每轮只提示一次
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(bots): 群专线回合以错误结束时同样不留角标
终态 error 也记录 botGroupLane 归属,失败的群专线回合由群聊里的轻提示承接,
不再在这条用户进不去的隐藏会话上挂红点。
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
---------
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-27 20:13:23 +08:00
Dash
dfd4b615eb
feat(mobile): 移除自动化管理与例行任务 ( #5150 )
...
* feat(mobile): 移除自动化管理和例行任务入口
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* feat(mobile): 移除伙伴资料中的例行任务管理
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(mobile): 清理废弃自动化文案并兼容旧链接
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs: 对齐例行任务的手机端范围
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(mobile): 从现行计划和验收范围移除自动化管理
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-09-27 17:51:50 +08:00
Dash
5ae2936548
feat(device-link): 加速跨端文件、附件与远程读取 ( #5086 )
...
* feat(device-link): 加速跨端文件与附件传输并提供自动验收
Signed-off-by: Dash <dash@DashdeMac-Studio.local >
* test(device-link): 补齐 IPC 与 WebView 生命周期验收
Signed-off-by: Dash <dash@DashdeMac-Studio.local >
* fix(device-link): 隔离读取失败并修复附件过期与重试路径
Signed-off-by: Dash <dash@DashdeMac-Studio.local >
---------
Signed-off-by: Dash <dash@DashdeMac-Studio.local >
Co-authored-by: Dash <dash@DashdeMac-Studio.local >
2026-09-25 22:52:36 +08:00
DavidShen
bca321223d
feat(sharing): share tasks across accounts with unified desktop and mobile flows
...
Signed-off-by: DavidShen <david@xd.com >
2026-09-21 02:31:46 +08:00
bobo
ed4bef88b4
feat(skillhub): 统一详情页并支持作者发布更新与市场一键更新 ( #4749 )
...
* feat(skillhub): prompt creators to publish local content updates
Signed-off-by: xd-bobo <caojianbo@xd.com >
* fix(skillhub): align creator update comparison with publication rules
Signed-off-by: xd-bobo <caojianbo@xd.com >
* feat(skillhub): update installed skills directly from market cards
Signed-off-by: xd-bobo <caojianbo@xd.com >
* feat(skillhub): unify detail page and publish update actions
Signed-off-by: xd-bobo <caojianbo@xd.com >
* fix(skillhub): reduce update checks and preserve catalog on errors
Signed-off-by: xd-bobo <caojianbo@xd.com >
* test(pi): 对齐持久审批回调的轮询等待预算
Signed-off-by: xd-bobo <caojianbo@xd.com >
---------
Signed-off-by: xd-bobo <caojianbo@xd.com >
2026-09-20 22:09:08 +07:00
bobo
750ee60e6f
fix(skillhub): 保留本地技能详情返回时的目录状态 ( #4740 )
...
* fix(skillhub): preserve local catalog state on detail return
Signed-off-by: xd-bobo <caojianbo@xd.com >
* test(skillhub): 补齐重命名返回导航的回归覆盖
Signed-off-by: xd-bobo <caojianbo@xd.com >
* fix(skillhub): 保留本地技能列表实例与滚动位置
Signed-off-by: xd-bobo <caojianbo@xd.com >
* fix(skillhub): 同步列表布局的设计台账
Signed-off-by: xd-bobo <caojianbo@xd.com >
---------
Signed-off-by: xd-bobo <caojianbo@xd.com >
2026-09-20 18:26:52 +07:00
Dash
eb1fb2ffe3
feat(remote-desktop): 补齐桌面连接能力并优化窗口交互 ( #4715 )
...
* feat(remote-desktop): 补齐桌面连接能力并优化窗口交互
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): 回收认证状态并复用剪贴板计数进程
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): 跳过不可用的系统光标避免捕获崩溃
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-09-20 10:53:49 +07:00
Chris Zhang
c3fcefd49b
feat(navigation): 记住上次使用的伙伴或任务入口 ( #4590 )
...
* feat(navigation): restore the last account-scoped home entry
Signed-off-by: zqchris <chrisz83@gmail.com >
* fix(navigation): align route inventory and startup splash coverage
Signed-off-by: zqchris <chrisz83@gmail.com >
* docs(design): regenerate inventory after main merge
Signed-off-by: zqchris <chrisz83@gmail.com >
---------
Signed-off-by: zqchris <chrisz83@gmail.com >
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-09-18 00:20:16 +07:00
Kirozeng
4cf6a141f5
fix(design-system): DS-11 安装弹窗消费 Escape 并收紧忙碌锁与色板候选语境
...
- InstallTargetPicker 的 Escape 在决定是否阻止关闭前先消费事件(stopPropagation),
避免同一次 Escape 穿透到 SkillhubMarketPreviewPanel 挂在 window 的监听,把底层
预览一起关掉:正常时只关弹窗、预览保留(opener 仍在、焦点可归还),安装中时
两层都不关,关闭锁不再被绕过。
- 安装忙碌锁改为点击"其他目录"即持有,覆盖原生目录选择到安装完成的整个流程;
取消目录选择会释放锁且弹窗保留。快速连点不再能启动两个目录选择请求。
- design-layer-report 的 Tailwind 命名色候选只认 className 语境(含 *ClassName
属性与花括号表达式),普通文案、测试数据里的同形文本不再登记为候选;解析不了
的属性按 fail-closed 不产候选,报告只减不增阻断范围。
Signed-off-by: Kirozeng <kirozeng@gmail.com >
2026-09-16 17:09:02 +08:00
kirozeng
d765973b5c
fix(design-system): DS-11 修订 Cindy 皮肤与交互复核缺口
...
Signed-off-by: kirozeng <kirozeng@gmail.com >
2026-09-15 02:25:33 +07:00
Kirozeng
f2b5b81ecb
fix(design-system): DS-10 裸间距单位按 CSS 维度语法识别
...
复审指出:p-[1lh]、mt-[2dvh]、gap-[1cqw]、p-[12PX] 被单位
白名单归入 unclassified-spacing,而排版门禁
(typographyDiscipline.test.ts)已明确认可 dvh/lh/cqw/pt 与
大写单位,且其原则就是数字开头的现代单位不得依赖单位枚举。
literal 判定改为数字加任意字母单位或 %(大小写不敏感),
单值与下划线多值同口径;env()/calc()/字号关键字等非数字
开头的表达式保持 unclassified-spacing。
Signed-off-by: Kirozeng <kirozeng@gmail.com >
2026-09-14 13:48:02 +08:00
Kirozeng
4f0cbbc262
fix(design-system): DS-10 非 token 操作数归入混合间距
...
复审指出:已登记 token 与非数字来源组合(如
p-[calc(var(--space-4)_+_env(safe-area-inset-top))])时,
数字检测判不到,被归为纯 spacing-expression,而 env() 操作数
既非已验证引用也非字面量,审阅者失去区分。
mixed 判定改为残差检测:剥离已登记 var() 调用、calc 关键字
与纯操作符后,剩余任何内容(字面量、fallback、env()/min()
操作数)都归 mixed-spacing-expression;仅由已登记引用与
calc 操作符构成的表达式保持 spacing-expression,原有数字与
fallback 行为被残差检测完全覆盖。
Signed-off-by: Kirozeng <kirozeng@gmail.com >
2026-09-14 13:35:14 +08:00
Kirozeng
a4bad4e6a7
fix(design-system): DS-10 间距报告纳入 space-x/y 任意值
...
复审指出:space-x-[…] 与 space-y-[…] 也是间距消费者,但
模式不匹配,新增 space-y-[4px] 或 space-x-[var(--space-4)]
不产生 role-spacing 报告(仓内 AtMentionPanel.tsx:490、
QuotaHoverCard.tsx:310 有真实用法)。
pattern 增加 space-[xy] 进同一分类链,suggestion 文案同步;
尺度类 space-x-2 与 space-y-reverse 仍不报。
Signed-off-by: Kirozeng <kirozeng@gmail.com >
2026-09-14 13:17:55 +08:00
Kirozeng
12987f2c92
fix(design-system): DS-10 间距报告纳入任意 margin 与多值裸值
...
复审两点:Desktop renderer 新增 mt-[3px]、mx-[7px] 等任意
margin 时完全不匹配,同一 TAILWIND_SPACING 尺度的硬编码间距
整类漏报(仓内存量 69 处);多值任意值(如 p-[14px_16px])
被单值正则归入 unclassified-spacing,无法与真正解析不了的
动态表达式区分。
pattern 增加 m/mx/my/mt/mr/mb/ml/ms/me 进同一分类链;
literal 判定支持下划线分隔的裸值列表并逐项校验数字与单位,
calc(100%-4px) 等无 var 表达式保持 unclassified。
Signed-off-by: Kirozeng <kirozeng@gmail.com >
2026-09-14 13:05:51 +08:00