Commit Graph

311 Commits

Author SHA1 Message Date
DavidShenXD
a5467dc0c1 fix(desktop): 按视窗挂载消息正文并稳定滚动定位 (#5454)
* fix(desktop): stabilize viewport message rendering and focus scrolling

Replace message-row content visibility with viewport mounting while keeping data pagination independent. Preserve text access, file cards, streaming follow, and reading anchors across scrolling and window resizing.

Include crash reproduction tools, regression coverage, and final rebase validation. Desktop typecheck and dev acceptance passed; existing main test failures are documented in FINAL-REBASE-VALIDATION.md.

Signed-off-by: DavidShen <david@xd.com>

* fix: resolve cross-platform fixtures and native agent integration regressions

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): restore viewport mounting after keyboard and selection access

Signed-off-by: DavidShen <david@xd.com>

* test(desktop): use literal paint control scripts

Signed-off-by: DavidShen <david@xd.com>

* test(remote): initialize Git Bash before bootstrap assertions

Signed-off-by: DavidShen <david@xd.com>

---------

Signed-off-by: DavidShen <david@xd.com>
2026-10-04 22:59:57 +08:00
Dash
da76c808aa fix(task-copy): 复制传输提速、取消立即生效、恢复进度不闪表单,进度改为“已传输” (#5381)
* perf(device-link): 直连附件上传多块并发、按二进制发送,任务复制进度改为“已传输”

接收端在 file-peer caps 中声明 streamAttachments 后,发送端最多保持 3 个 1 MiB
写入块在途,块内容作为 RPC 二进制正文发送,不再逐块等待确认、也不再经 base64
膨胀。接收端仍按顺序落盘并在 finish 校验大小与 SHA-256;未声明该能力的旧主机
继续走逐块 base64 路径。

任务复制进度文案从“上传进度…(尚未完成接收)”改为“已传输…”。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(task-copy): 取消复制立即中止正在发送的文件

此前取消只在文件之间的检查点生效,正在发送的文件(最大 2 GB 一段)要发完才停;
若这段走的是 OSS 中转,取消要等整段上传完,看起来像卡住、结束不了。

取消现在同时中止在途传输:直连上传在下一个 1 MiB 块前停止并通知接收端丢弃已收部分,
不计入直连失败冷却、也不改走 OSS;OSS 上传立即中止 PUT、不换传输栈重试并删除已签发
对象;大文件分段复制也一并停止。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(task-copy): 从任务顶部恢复复制进度时直接显示进度,不再先闪出发起复制的表单

顶部状态按钮把已知的复制状态交给弹窗作为初始状态;此前弹窗在第一次轮询返回前把状态当成未开始,先显示目标选择并开始统计文件。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): 慢链路上二进制正文按进度续期,排队中的上传也能立即取消

接收端在 RPC 正文头到达后,每收到一个二进制分片就重置 15 秒停滞计时器,
只有真正停住才断开连接;慢但仍在传的直连不再被固定 15 秒提前切断。

取消信号同时传入每台对端的传输队列:上传若仍排在其他预览或附件传输之后,
取消会让它立即退出队列,不再等无关传输完成。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(task-copy): 取消在建链与等待块确认时也立即生效,取消中提示改为“正在取消…”

直连上传的建链改为接收取消信号(中止建链、不计失败冷却);等待中的块请求在取消时
立即返回,迟到的回复忽略,连接保留以便把 cancel 送到目标端清理暂存。

取消中的五语提示去掉“当前文件发送完后停止”;产品规则同步取消语义与“已传输”文案。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): 直连上传在任意阶段取消都立即返回

取消信号覆盖整次上传调用(排队、能力探测、摘要、建链、块传输),调用方立即返回;被放弃的流程在下一个检查点退出,迟到结果被忽略,块阶段仍向目标端发出 cancel。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(task-copy): OSS 预签名可被取消,删除中转对象设期限,取消不再等无界网络请求

取消路径上最后两处无界等待:presign-put 改为随取消立即返回(预签名不创建对象,迟到结果无需清理);removeRemote 设 15 秒期限,上传被取消时不等它。复制取消后的清理因此也不会被无响应的 relay 卡住。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(task-copy): 取消后先释放源文件再返回,不再让调用方抢在清理前退出

撤回上一轮包住整次直连上传的外层竞速:它让调用方先返回、被放弃的上传仍在后台持有源文件,Windows 上随后删除暂存目录会失败。改为只给唯一缺少检查点的能力探测接入取消,其余等待本就响应取消;调用在 finally 关闭源文件之后才结束。OSS 流式上传被取消时同样等源文件流关闭后再返回。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): 取消后迟到的 begin 回复仍释放目标端 ticket

begin 已送达但回复晚于取消时,前台照常立即返回;迟到回复带回的 ticket 随即补发 cancel,目标端不再残留占用磁盘预算与条目上限的空暂存。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): OSS 换栈重试后取消,等所有源文件流关闭再返回

传输栈重试会为同一文件再开一个读流;取消时等待本次上传打开过的全部读流关闭,而不只是最后一个。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): 慢链路上排队块按进度续期,小文件预读可被取消

发送端:带正文的块请求在同一通道上有回复(即传输有进展)时重新计时,排在窗口
后面的块不再把前面块的传输时间算进自己的期限;慢但仍在传的直连不会被切断,
与接收端的停滞计时器对称。

OSS 小文件路径:整文件预读接入取消信号,取消时停止读取,并等读流关闭后再返回。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* revert(device-link): 撤回发送端排队块按回复续期,极慢链路改为范围声明

上一轮在 runtime 内按回复重置块请求期限,但 Desktop main 的命令计时器仍是固定
45 秒、先于它触发,该机制在桌面端没有实际效果、只增加复杂度。撤回到固定期限;
新路径对慢链路的容忍度(约 70 KB/s)已优于原逐块路径(约 93 KB/s),更慢的链路
照旧回退 OSS,写入 PR 范围说明。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): RPC 二进制正文只接受发送端的 16 KiB 分帧

正文分片必须恰为 min(16384, 剩余字节),与 files-v2 接收路径一致;对端无法把 1 MiB 正文拆成大量极小帧耗尽 capture renderer 的 CPU 与内存。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): 建链信令请求不阻塞取消;补多 peer 故障半径用例

取消发生在直连建链的 offer 信令等待期间时,不再等该 RPC(最长约 30 秒)返回,迟到结果忽略;只中止本 peer 正在建立的连接。新增用例:取消对 peer A 的建链,peer B 已建连接上的在途传输照常完成且未被关闭。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-02 21:27:48 +08:00
DavidShenXD
c34187fa67 Merge pull request #5330 from makecindy/cindy/steady-hodgkin
feat(desktop): 新增全界面 Cindy 壁纸、自定义图片及动静切换
2026-10-02 13:16:44 +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
DavidShen
f8fcb65283 chore: sync main and resolve Pi test timeout conflict
Signed-off-by: DavidShen <david@xd.com>
2026-10-02 00:28:09 +08:00
billythegod
12d0d8adc3 fix(ci): derive scheduler-guard ROOT via fileURLToPath, not URL.pathname (#5348)
URL.pathname is percent-encoded and not a filesystem path: on checkouts
under a path with spaces or non-ASCII characters (the norm for
Chinese-locale Windows user directories) the derived ROOT does not
exist, and collectSourceFiles' existsSync guard then makes every grep
rule scan zero files and report PASS — the guard fails open exactly
where its rules matter. The final lint rule also fails with a
misleading 'maker-scheduler lint failed' (spawned with a nonexistent
cwd) instead of a path error. Every other repo script already uses
fileURLToPath; align this one.

Signed-off-by: billythegod <1906308+billythegod@users.noreply.github.com>
Co-authored-by: billythegod <1906308+billythegod@users.noreply.github.com>
2026-10-01 23:54:17 +08:00
DavidShen
e79d00127c Merge origin/main into cindy/steady-hodgkin
Signed-off-by: DavidShen <david@xd.com>
2026-10-01 20:07:59 +08:00
DavidShen
4c934b3f71 feat(desktop): bundle official HD wallpaper videos for offline playback
Signed-off-by: DavidShen <david@xd.com>
2026-10-01 20:05:07 +08:00
DavidShen
6bfe96967a feat(desktop): bundle HD wallpaper stills and cache optional CDN videos
Signed-off-by: DavidShen <david@xd.com>
2026-10-01 19:53:37 +08:00
Lizi
1cd7caa42c Merge pull request #5136 from makecindy/dash/plugin-delegated-auto
fix(plugins): 传递宿主核验的委派 Auto 授权上下文
2026-10-01 17:23:01 +08:00
Dash
dd9df0db77 fix(login): 登录页背景色与登录后主界面统一 (#5314)
* fix(login): 登录页背景色与登录后主界面统一

#2571 把 CINDY 皮肤页底改为浅色 #F2F2ED / 深色 #181818 时,登录链路按豁免族
未跟进,登录页仍是 #EDEDED / #1F1F1E,登录前后背景色不一致、登录过渡时可见跳变。

login-bg-base 改为与 cindy-light / cindy-dark 的 surface 同值,仍写固定值而非
var(--surface),扩展主题照旧不染色登录页。同步更新 DTCG 源、生成物、冻结快照、
设计文档与相关注释。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* docs(login): 同步 §16.1 画布底说明并刷新登录 QA 预览数据

- DESIGN.md §16.1 正文的 --login-bg-base 改为 #F2F2ED / #181818,与生成表格一致
- 用 update-login-truth.mjs 机械刷新 login-flow-hifi / login-all-hifi 的 truth.json
  与内嵌数据;值层面只变画布底两色,其余为来源 hash 同步

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 11:40:16 +08:00
Dash
90ad92cd3d fix(dev): macOS 开发版启动命令过长时改用临时脚本,避免被 tty 截断 (#5319)
* fix(dev): macOS 开发版启动命令过长时改用临时脚本,避免被 tty 截断

Terminal 的 do script 把命令当键盘输入送进新标签页 tty;新窗口 shell 尚未接管
输入时 tty 处于 canonical 模式,单行超过 MAX_CANON(1024 字节)会被截断,整条
命令静默不执行。路径较长的 worktree 加上需清除的环境变量列表,实测命令约 1600
字节,restart:desktop:remote 稳定报 STARTUP_TIMEOUT。

完整命令写进 0600 临时脚本,Terminal 只收一条短的 `. '<脚本>'`;脚本第一行删除
自身,不留残留文件。语义与原来在交互 shell 中直接执行一致。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(dev): osascript 未执行到 do script 时清理临时启动脚本,并补测启动参数

- osascript 启动报错或非零退出(自动化权限被拒、脚本错误)时尽力删除临时脚本,
  避免脚本首行自删未执行而留下含开发环境变量的文件
- 抽出 prepareDarwinTerminalLaunch,测试确认传给 do script 的只有短 source 命令,
  原始长命令不会再进入 Terminal 输入

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 11:35:43 +08:00
DavidShen
4df893063f fix(ci): pass test context for shell fallback
Signed-off-by: DavidShen <david@xd.com>
2026-10-01 08:21:28 +08:00
DavidShen
ee3f2ec428 fix(ci): 同步移动端设计台账并修正跨平台 shell 自测
Signed-off-by: DavidShen <david@xd.com>
2026-10-01 07:57:58 +08:00
Dash
ca3afba03d Merge main to resolve generated design inventory conflict
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 08:11:45 +13:00
Lizi
c714f290f4 chore(device-link): 远程文件直传加每秒网络与进度诊断日志 (#5284)
* chore(device-link): 远程文件直传加每秒网络与进度诊断日志

手机在 5G 下经 TURN 中转打开 1.79MB HTML 时,37 秒只收到 1.5MB,
现有日志分不清是中转链路慢、UDP 丢包,还是手机端写盘慢。

- 共享直传运行时:stats() 在原有 path/protocol/rttMs/streaming 之外,
  补充候选类型与中转协议、候选对计数、选中候选对/transport 的字节与包计数、
  带宽估计、data channel bufferedAmount,以及应用层进度(接收端到达/写入
  字节、桥接写盘耗时、空闲时长;发送端读取次数与等待额度时间)。只有计数
  与候选类型,不含地址、端口、URL 与内容。
- Desktop:发送开始记一次 stats;超过 1 秒的收发每秒采样一次,EOF 后继续
  采样到发送缓冲清空(最多 30 秒)。诊断探针不续期空闲超时、超时也不关闭
  连接,统计失败不再让已连上的直传回退。
- Mobile:接收期间每秒采样(仅 Debug 日志开启时),结果附在成功/失败日志;
  预览页记录源码读取的通道、耗时与大小。
- 冒烟脚本校验新增字段与"不含地址"约束;文档同步诊断口径。

Signed-off-by: Lizi <jiali@magiclizi.com>

* chore(device-link): 诊断里区分中转地址与中转线路的 UDP/TCP/TLS

ICE 配置诊断按客户端到中转服务器的传输方式分别计数 TURN 地址
(UDP / TCP / TLS),直传 stats 增加收集到的中转候选按传输方式计数。
只记数量,不含主机名与凭证。用于确认线上是否下发了 TCP 中转、
手机在当前网络下能否拿到 TCP 中转线路。

Signed-off-by: Lizi <jiali@magiclizi.com>

* fix(device-link): 按 review 意见修正文件直传诊断采样与计数

- stats 探针单次失败只跳过该样本,传输期间继续采样(发送/接收两侧)
- 探针独立计时:传输读写块不再刷新其 5s 超时,避免卡死后跳过后续全部采样
- bufferedAmount 属整条数据通道:同连接下一个传输开始时接管排空统计
- 零字节 EOF 块正常出队,成功接收后 stats.receive.queued 归零
- Mobile 迟到的 stats 回包不再写出晚于结果的进度日志
- 文本预览读日志区分 gzip base64 与纯文本字符数;失败读取补耗时/失败日志
- 同步 filePeerRuntimeSource 生成产物、smoke 断言(完成态 queued 期望 0)与诊断文档

验证:desktop/device-link/mobile 单测全绿,desktop/mobile typecheck,
file-peer-runtime --check,file-peer-smoke(Chrome 实测 1 MiB 后 queued:0),
check:dev-docs。

Signed-off-by: MagicLizi <jiali@magiclizi.com>

* fix(mobile): 预览读失败日志走 errorText 脱敏

错误串可能携带请求路径或签名 URL(如 file-browser-core 的
"binary file: ${relPath}"),截断不等于脱敏;改为与相邻 files 诊断一致
走 fileDiagnostics.errorText()(清 URL/路径并限长)。

Signed-off-by: MagicLizi <jiali@magiclizi.com>

* fix(mobile): 直传统计探针改用独立短预算

runtime.stats() 卡死时,通用 command() 的 15s 超时会一直占住 sampling
标志,后续每秒采样全部被跳过;若传输在 15s 内结束,既无进度日志、
lastProgress 也为空。改为独立 5s 预算:卡死只作废当个样本(迟到回包
一并丢弃),下一拍即恢复采样,与 Desktop 探针同口径。

Signed-off-by: MagicLizi <jiali@magiclizi.com>

---------

Signed-off-by: Lizi <jiali@magiclizi.com>
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-09-30 23:30:34 +08:00
Dash
d404825c06 merge: 同步已发布插件任务运行时基线
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-30 17:03:56 +13:00
kirozeng
f9245d2647 chore(design): 设计台账登记设置子页面(设备名、语音词典)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-09-30 00:30:39 +08:00
kirozeng
c6c1f1f678 chore(mobile): 合入前收尾——移除试用身份、原生形变模块改名、登记形变动效
- 移除导航试用身份:navigationDemo 配置、试用构建脚本、app.config 试用分支及对应测试,
  env.ts / app.config.js / envBundleTransform 测试恢复为 main 版本。
- 原生模块 cindy-tab-bar 改名为 cindy-composer-morph(CindyComposerMorph),
  内部动画类改名为 CindyComposerMorphAnimation,避免与模块同名。
- DESIGN.md §14.4 登记第七类动效例外「移动端新建按钮形变」,并记入设计决策日志。
- 试用记录文档改为 navigation-and-composer.md,只保留交互说明与已知未完成项。

Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-09-29 22:06:14 +08:00
kirozeng
6ecfa90f0a merge: 合入最新 main(9727ac7709)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-09-29 21:41:26 +08:00
bobo
8cb21fed2e fix(auth): 将验证码重发倒计时与服务端统一为 60 秒 (#5244)
* fix(auth): 将验证码重发倒计时与服务端统一为 60 秒

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(auth): 同步登录 QA 预览的 60 秒倒计时

Signed-off-by: xd-bobo <caojianbo@xd.com>

---------

Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-09-29 19:38:09 +08:00
kirozeng
e6b1c66363 merge: 合入最新 main(000337155f)到移动端导航试用分支
冲突处理原则:远端已删除的(自动化管理)跟远端;远端重做的组件(模型选择、
目标面板、伙伴资料等)以远端结构为准,再补回统一按压反馈;首页标题宽度采用
远端算法;抽屉保留账号头新布局,随远端移除「加入共享任务」入口并通过远端
Android 独立窗口测试;设备列表保留分组结构,采用远端图标滑动操作。

Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-09-29 17:11:14 +08:00
kirozeng
2e9501d64d wip(mobile): 移动端导航与交互试用改版(本地快照,未推送)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-09-29 16:48:55 +08:00
Dash
2e7caa4ed7 merge: sync published plugin task runtime fixes
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-28 22:14:58 +13: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
Dash
be007ea6cd merge: 同步父分支并保留 Auto 审阅上下文准备
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-28 10:01:01 +13:00
Chris Zhang
bd5d7d2846 feat(bots): import Hermes/OpenClaw agents with credentials and routine takeover (#5153)
* feat(bots): import selected Hermes and OpenClaw agent data and routines

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): verify selected skill queries and preserve import lifecycle boundaries

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): isolate imported credentials and recover selected automation imports

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): isolate imported tool discovery and review credential commands per call

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): fence imported handovers and idle credential connections

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): disambiguate imported credentials and preserve mobile retries

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): verify reminder delivery and isolate concurrent MCP calls

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): redact imported MCP catalogs before model exposure

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): fence source takeover and recover interrupted imports

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): bind verification credentials and complete imported reads

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): scope imported MCP approval to each call

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): bound import snapshots and retain secrets until deletion commits

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): coordinate import deletion and preserve tool execution

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): redact imported prompts and monitor credentials

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): retain imported automation script dependencies

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): authorize each takeover MCP probe through companion permissions

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): close deleted companion connections and redact MCP URL paths

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): normalize Windows imports and stop exhausted routines

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): validate import avatars and require complete read evidence

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(bots): serve monitor fixture as plain text

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): preserve Telegram sender identity and mask import previews

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): retain imported stdio MCP working directories

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): preserve MCP response envelopes during redaction

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): keep imported skill credentials private and executable

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): redact all known credentials before import publication

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): mask source names and reuse random import portraits

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): restore source jobs and bound import recovery

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): bound source discovery and trust host CLI paths

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): reserve imported environments for Main

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): mask import plans and recover creation conflicts

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): restore imported schema values and bound discovery reads

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): validate imports early and resume partial deliveries

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): retain routines until source handback succeeds

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): preserve imported tool schema keywords during masking

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): scope imported argument restoration to schema paths

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): unlock import selection after source capture rejections

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): preserve Windows imported command quoting

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(bots): compare imported MCP working directory identity

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): restore required-only imported argument names

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): preserve imported model guards and IPC errors

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): restore aliases in conditional imported schemas

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): restore imported property name aliases

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): recover incomplete imports and validate mobile payloads

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(bots): make import write failure fixture cross-platform

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): purge routines after profile deletion commits

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(routines): preserve imported trigger fields in save schemas

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(bots): resolve import credentials from source entries only

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(ci): use dispersed ports for CLI lock integration

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-09-28 04:39:46 +08:00
Dash
d0647762ef merge: 同步任务父分支并重新生成授权摘要迁移
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-28 01:32:32 +13: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
3c57eaec7a fix(plugins): 传递宿主核验的委派 Auto 授权上下文
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:30:29 +13:00
Dash
1069cb9832 fix(dev): Terminal 启动命令按转发清单清除所有未设值变量
清除集合不再手写六个隔离变量,改由 devEnvEntries 转发清单推导:本次未设值的
转发变量一律 unset,覆盖 XDT_USER_DATA_DIR_EPOCH、XDT_SCHEDULER_PASSIVE 等
同类残留,以后新增的转发变量自动纳入。补充部分变量有值的测试。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 04:07:09 +13:00
Dash
451ebf4181 fix(dev): 开发版启动时清掉 Terminal 残留的隔离环境变量
长驻的 Terminal.app 会保留更早 isolated 启动留下的 XDT_ISOLATED 等变量,
而启动命令只转发本次有值的变量,导致 --shared / --preserve-running 预览
悄悄落进别的 worktree 的沙箱。macOS 启动命令改为先 unset 本次未设值的
隔离类变量。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 04:07:09 +13:00
Dash
6bf80ebb60 perf(voice): 优化桌面语音采集、停顿润色与确认收尾 (#5089)
* perf(voice): 优化桌面语音采集、停顿润色与确认收尾

Signed-off-by: Dash <dash@DashdeMac-Studio.local>

* fix(voice): 移除静音与提前发送实验路径并同步设计台账

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-26 10:54:02 +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
Chris Zhang
80c3020bb1 fix(test): 本地测试默认独立运行,收窄选测与执行要求 (#5042)
* fix(test): make local test serialization opt-in

Signed-off-by: zqchris <chrisz83@gmail.com>

* fix(test): retain checked text inputs and portable Git fixtures

Signed-off-by: zqchris <chrisz83@gmail.com>

---------

Signed-off-by: zqchris <chrisz83@gmail.com>
2026-09-24 22:58:31 +08:00
Sirius
b8b90eb536 feat(plugins): add remote authorization and private setup cards (#4813)
* feat(plugins): add remote authorization and private setup cards

Let connected Desktop clients complete plugin authorization and protected
configuration on the execution Host through a signed, encrypted v3 bridge.
Persist owner-scoped identity keys and peer pins using OS secure storage.

Add reusable callback, device-code and typed CLI adapters, explicit reconnect,
private connection forms, cancellation cleanup and stable Agent guidance.
Keep CIS, instance runtime, deployment and cloud-only GitHub helpers outside
this branch. Document first-use trust and client compatibility boundaries.

Signed-off-by: Sirius <sirius@xd.com>

* fix(plugins): guard saved secret reconfiguration

Signed-off-by: Sirius <sirius@xd.com>

* fix(plugins): isolate authorization from legacy client behavior

Signed-off-by: Sirius <sirius@xd.com>

* fix(plugins): surface remote authorization handshake failures

Signed-off-by: Sirius <sirius@xd.com>

* fix(plugins): guard remote forms and dual-stack OAuth callbacks

Signed-off-by: Sirius <sirius@xd.com>

* test(plugins): keep OAuth limited to same-account peers

Signed-off-by: Sirius <sirius@xd.com>

---------

Signed-off-by: Sirius <sirius@xd.com>
2026-09-22 19:52:31 +07:00
MagicLizi
f18923d7e0 merge: integrate latest origin/main
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-09-22 20:39:09 +08:00
MagicLizi
48b68c3702 feat(cindy-make): refine personal version lifecycle
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-09-22 20:32:44 +08:00
DavidShen
ddc89f52ab Merge origin/main into cindy/witty-kepler
Signed-off-by: DavidShen <david@xd.com>
2026-09-21 23:38:59 +08:00
MagicLizi
8735d6be94 feat: 完善 Cindy Make 制作、设备聚合与任务收口
补齐制作构建诊断、上游合并清理、设备聚合与 Mobile 资源展示,并修复 deferred product turn failure owner 的生命周期竞态。

验证:pnpm.cmd test:unit:related;Desktop/Mobile typecheck;check:i18n、check:i18n-glossary、check:design-inventory、check:design-colors。

Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-09-21 22:50:52 +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
GaoWei Liu
f79e4f561e fix(billing): 统一余额文案并补充模型列表入口 (#4674)
* fix(billing): 统一余额文案并补充模型列表入口

Signed-off-by: liugaowei <liugaowei@xd.com>

* fix(billing): 套餐页面统一保留模型说明

Signed-off-by: liugaowei <liugaowei@xd.com>

---------

Signed-off-by: liugaowei <liugaowei@xd.com>
2026-09-20 10:52:47 +07:00
xd-bobo
e1bc133a79 Merge remote-tracking branch 'origin/main' into feat/builtin-skill-creator-review
Signed-off-by: xd-bobo <caojianbo@xd.com>

# Conflicts:
#	apps/desktop/forge.config.ts
2026-09-19 20:27:44 +08:00
Lizi
dd316fcb54 fix(mobile): synchronize Cindy Make workflow cards
Signed-off-by: Lizi <jiali@magiclizi.com>
2026-09-19 19:59:11 +08:00
Dash Huang
353a54535c fix(remote-desktop): 隔离 Linux 音频故障并同步主干
Signed-off-by: Dash Huang <dashhuang@gmail.co>
2026-09-19 09:05:35 +12:00
xd-bobo
f944cca90f fix(desktop): pin Learn dispatch and preserve skill bundles
Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-09-19 04:11:48 +08:00