Dash
58761bbac0
perf(desktop): 裁剪安装包冗余资源并去重运行依赖 ( #6090 )
...
* perf(desktop): 裁剪跨平台预编译文件和打包冗余资源
Signed-off-by: Cindy <cindy@Cindys-Mac-mini.local >
* perf(desktop): 去重运行依赖并移除发行包开发快照
Signed-off-by: Cindy <cindy@Cindys-Mac-mini.local >
---------
Signed-off-by: Cindy <cindy@Cindys-Mac-mini.local >
Co-authored-by: Cindy <cindy@Cindys-Mac-mini.local >
2026-10-15 20:06:12 +08:00
Lizi
a60a1ec0ae
chore(desktop): upgrade Electron to 42.11.12 ( #5846 )
...
* chore(desktop): upgrade Electron to 42.9.2
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* docs(desktop): record Electron 42.9.2 runtime baseline
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* fix(desktop): keep Electron 42 PDF margins compatible
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* fix(desktop): pin patched Electron 42.11.12
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* chore(legal): regenerate notices for Electron 42.11.12
Signed-off-by: MagicLizi <jiali@magiclizi.com >
---------
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-10-12 21:40:12 +08:00
Dash
db0bfc4243
fix(desktop): 减少停帧误报并完善窗口诊断 ( #5628 )
...
* fix(desktop): refine render watchdog diagnostics and add Windows comparison
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(ci): initialize render probe paths after runner starts
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(test): preserve reliable render recovery evidence
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(test): capture restored pixels before requesting animation frames
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(test): classify unfocused render probe input as inconclusive
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* chore(desktop): remove automated Windows render comparison workflow
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-12 00:17:05 +08:00
zqchris
9a6928d6e7
Merge upstream/main and regenerate device picker design inventory
...
Signed-off-by: zqchris <chrisz83@gmail.com >
2026-10-09 19:46:19 +08:00
Chris Zhang
8618312679
fix(media): 修复 Mermaid 图表复制与聊天图片菜单 ( #5643 )
...
* fix(media): restore shared image menus and native clipboard copying
Signed-off-by: zqchris <chrisz83@gmail.com >
* test(media): reproduce browser clipboard focus failures explicitly
Signed-off-by: zqchris <chrisz83@gmail.com >
* test(media): cover annotated image copying and refresh design inventory
Signed-off-by: zqchris <chrisz83@gmail.com >
* fix(media): serialize Mermaid HTML labels before PNG copying
Signed-off-by: zqchris <chrisz83@gmail.com >
* test(desktop): align worker catalog assertion with remote agent routing
Signed-off-by: zqchris <chrisz83@gmail.com >
* test(desktop): isolate PI runner termination across platforms
Signed-off-by: zqchris <chrisz83@gmail.com >
---------
Signed-off-by: zqchris <chrisz83@gmail.com >
2026-10-09 19:42:23 +08:00
zqchris
be5ae4bc91
test(bots): document and allow fixture Chromium executable
...
Signed-off-by: zqchris <chrisz83@gmail.com >
2026-10-09 14:17:03 +08:00
zqchris
db69d5b10f
fix(bots): shrink device picker click targets to their labels
...
Signed-off-by: zqchris <chrisz83@gmail.com >
2026-10-09 14:09:17 +08:00
Dash
41f4298412
fix(remote-desktop): 远控画面内的 Cmd/Ctrl+C/V 直接发给被控电脑 ( #5522 )
...
* fix(remote-desktop): 远控画面内的 Cmd/Ctrl+C/V 直接发给被控电脑
桌面远控查看窗口原本无论是否开启剪贴板同步都会拦截 Cmd/Ctrl+C/V:
Cmd+C 改为通过辅助功能读取被控端选中文字(Cindy 等 Electron 应用读不到),
Cmd+V 则用控制端剪贴板覆盖被控端剪贴板再粘贴。结果在被控电脑里复制粘贴
要么失败,要么粘进旧内容,并只显示笼统的「请检查控制权限」。
- 快捷键作为普通按键发给被控电脑;跨电脑传输改由剪贴板面板按钮或剪贴板同步完成。
- 面板传输失败按原因提示(仅查看、为空、不支持、过大、复制/粘贴失败),
文案与手机端一致;再次操作时清除上一条提示。
- 传输失败时主进程只记录动作和错误码,不记录内容。
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): 修复 Cmd 组合键卡键并细化剪贴板失败提示
- macOS 在按住 Command 时不派发普通键的 keyup(Cmd+C/V),松开 Command
时一并释放仍按下的普通键,避免被控端按键卡住。
- 剪贴板 IPC 失败先用 extractIpcError 解码为稳定错误码再映射提示。
- 旧版纯文本主机路径区分剪贴板为空(CLIPBOARD_EMPTY)与内容过大。
- 只显示最近一次面板操作的结果;连接已停止时不弹剪贴板提示。
- 冒烟脚本校验修饰键按下、按键、释放的完整顺序。
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(design): 合入 #5518 后重新生成 design inventory
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): 仅 macOS 控制端在松开 Command 时补发普通键松开
Windows 控制端先松开 Win 键时不应提前释放仍按住的普通键;控制端平台随 init
传入查看画面(macKeyboard),补偿逻辑只在 macOS 下生效。
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): 只随 Command 释放 Command 按下期间新增的普通键
macOS 只吞掉 Command 按住期间按下的普通键的 keyup。此前松开 Command 时会
释放所有仍按住的普通键,误伤 Command 之前就已按住的键(如方向键),其真实
keyup 随后被忽略。改为单独记录 Command 按住期间按下的普通键(commandKeys),
只释放这些键;正常 keyup、失焦都会同步清理该记录。补充事件交错表测试。
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* refactor(remote-desktop): 按键状态只在按下/松开转换处更新,修复自动重复误判
Command 按下后,此前已按住键的自动重复 keydown 会被误记为「Command 期间按下」,
松开 Command 时被提前释放。把远端按键状态收拢到 pressKey / releaseKey /
forgetKeys 三个转换函数:是否随 Command 释放只在键从未按下变为按下时判定一次,
自动重复不再改变归类。交错表补充自动重复两种序列。
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* test(remote-desktop): 锁定 Command 先松开后仍按住的键由自动重复重新按下
松开 Command 时无法区分 Command 期间按下的键是「keyup 被 macOS 吞掉」还是「仍按住」;
按防卡键优先释放,仍按住的键由下一次自动重复重新按下、真实 keyup 正常释放。
交错表补充该序列,作为已知边界固定行为。
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-07 19:43:17 +08:00
DavidShenXD
642e5be675
feat(desktop): 支持壁纸模糊调节 ( #5530 )
...
* feat(desktop): 支持壁纸模糊调节
Signed-off-by: david <david@xd.com >
* fix(desktop): 模糊滑块仅在确认数值后保存
Signed-off-by: david <david@xd.com >
* test(desktop): 将灵动岛模块加载移入测试准备阶段
Signed-off-by: david <david@xd.com >
---------
Signed-off-by: david <david@xd.com >
2026-10-06 22:01:31 +08:00
DavidShenXD
2f8ed15f1c
feat(desktop): 支持自定义动态壁纸并修复 HDR 下的视频亮度异常 ( #5514 )
...
* feat(desktop): support custom video wallpapers and full overlay
Signed-off-by: david <david@xd.com >
* feat(desktop): expose literal wallpaper visibility
Signed-off-by: david <david@xd.com >
* fix(desktop): stabilize wallpaper video opacity on HDR displays
Signed-off-by: david <david@xd.com >
* fix(desktop): guard wallpaper imports and automate compositing coverage
Signed-off-by: david <david@xd.com >
* fix(desktop): stream wallpaper video range responses
Signed-off-by: david <david@xd.com >
---------
Signed-off-by: david <david@xd.com >
2026-10-06 12:07:27 +08:00
Chris Zhang
757d9797d5
refactor(plugins): 移除内置 iOS 模拟器并引导存量用户迁移 ( #5412 )
...
* refactor(plugins): retire embedded iOS simulator with migration guidance
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(plugins): show retirement notices before acknowledging them
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* fix(plugins): include retired state in discovery error types
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
* test(worktree): preserve legacy Windows lease path normalization
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-06 09:25:03 +08:00
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
caf72d8763
feat(remote-desktop): 画质改为自动/省流/高清三档并修复静止画面模糊 ( #5384 )
...
* feat(remote-desktop): 画质改为自动/省流/高清三档,协议改传档位
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): 画质与帧率改用分段控件,SDP 码率提示不依赖属性顺序
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(device-link): 省流档向旧被控端发送时帧率同步钳到 30
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-10-02 19:50:48 +08:00
Dash
da3fd3052d
fix(remote-desktop): 桌面远控默认操作并移除仅查看 ( #5184 )
...
* fix(remote-desktop): 桌面远控始终申请操作权
Signed-off-by: Dash <dash@DashdeMac-Studio.local >
* fix(remote-desktop): 显示控制忙碌时的重连提示
Signed-off-by: Dash <dash@DashdeMac-Studio.local >
* docs(remote-desktop): 区分桌面和手机的失控行为
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-28 16:42:10 +08:00
Chris Zhang
fa2b64fa50
fix(bots): 对齐群聊连接提示的位置与折叠交互 ( #5174 )
...
* fix(bots): align group connection notice above composer
Signed-off-by: zqchris <chrisz83@gmail.com >
* fix(bots): preserve group scroll position when notice changes
Signed-off-by: zqchris <chrisz83@gmail.com >
* fix(bots): reuse composer connection notice collapse controls
Signed-off-by: zqchris <chrisz83@gmail.com >
* test(bots): verify connection notice keyboard interactions
Signed-off-by: zqchris <chrisz83@gmail.com >
* docs(bots): keep group notice screenshots outside git
Signed-off-by: zqchris <chrisz83@gmail.com >
---------
Signed-off-by: zqchris <chrisz83@gmail.com >
2026-09-28 15:19:06 +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
Lizi
d4180f4b79
fix(cindy-make): 完善个人版制作、测试与失败恢复流程 ( #4778 )
...
* fix(cindy-make): stabilize personal build and test workflows
Unify source preparation and history presentation, confirm upstream conflicts, restore unbuilt integrations safely, and keep native task attention in sync. Preserve test profiles while reclaiming preview processes and temporary files. Reuse packaged node-pty prebuilds and validate inherited migration history for tag checkouts.
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* fix(cindy-make): bound test shutdown failures
Keep workspace leases and temporary files until a real PTY exit, but return a bounded stopFailed result so editing and generation cannot wait forever. Surface the actionable error in all Cindy Make entry points and remove the pre-existing startup timing guard.
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* fix(cindy-make): fall back to PTY process when group stop is denied
POSIX process-group SIGKILL can return EPERM. Try the owned PTY process
next so a failed group signal still has a chance to produce onExit,
instead of only timing out the caller.
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* fix(cindy-make): guard startup and rollback publication
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* fix(cindy-make): protect completion build rollback
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* test(cindy-make): cover completion rollback guard
Signed-off-by: MagicLizi <jiali@magiclizi.com >
* fix(cindy-make): hide synthetic history prompts
Signed-off-by: MagicLizi <jiali@magiclizi.com >
---------
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-21 01:10:32 +07:00
guyong-zapo
3ba664068f
Merge pull request #4659 from makecindy/fix/windows-nsis-include-paths
...
fix(windows): resolve NSIS custom include paths
2026-09-20 15:37:37 +08:00
guyong
7582de5f20
fix(windows): configure NSIS build resources
...
Signed-off-by: guyong <guyong@xd.com >
2026-09-20 13:51:16 +08:00
Lizi
6db9b508a7
Merge origin/main and resolve integration regressions
...
Preserve the seven local PR merges while synchronizing upstream main.
Resolve the sidebar test wording conflict without dropping either behavior.
Fix Windows atomic replacement by terminating the UTF-16 destination buffer;
keep the explicit byte length and verify the exact junction destination.
Carry History Continue Editing into the task view as a consumed navigation
intent so recovery does not immediately reclaim the composer.
Build the unpublished-Skill test fixture from independent bytes, avoiding
privileged Windows symlinks and asserting distinct targets before repair.
Independent final-diff review: no remaining P0/P1 findings.
Signed-off-by: Lizi <jiali@magiclizi.com >
2026-09-20 13:25:07 +08:00
Lizi
1a27e67e9e
fix(cindy-make): 修复 Windows 任务目录清理
...
清理已结束制作目录时,使用真实文件系统删除残留依赖中的 ASAR 文件,避免 Windows 文件占用。目录删除成功后才删除分支。
验证:pnpm test:unit:related、Desktop typecheck 通过;受影响的真实 Git 集成回归 11 项通过,Windows Electron ASAR 清理回归通过。
风险:涉及文件删除;保留既有目录归属、链接、分支和在用校验。真实 Electron 合成目录回归通过。
本地 PR 分组 1/7;需要回退时可按对应本地合并记录单独 revert。
Signed-off-by: Lizi <jiali@magiclizi.com >
2026-09-20 10:46:55 +08:00
xd-bobo
104eed4032
fix(desktop): bind Learn grants and publish Skills atomically
...
Signed-off-by: xd-bobo <caojianbo@xd.com >
2026-09-19 02:48:25 +08:00
MagicLizi
4317bcb9d1
fix(desktop): complete personal build integration and Linux bootstrap
...
Preserve verified origin endpoints, isolate personal builds from normal app updates, reuse the Make completion card and restore sidebar memoization. Add the Arch/Omarchy bootstrap with concurrent-install protection, regressions and supporting documentation.
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-19 00:34:37 +08:00
Chris Zhang
b4ffa2a7a7
fix(desktop): 修复 ASAR 文件导致 worktree 回收反复失败 ( #4669 )
...
* fix(desktop): archive physical ASAR bytes during worktree recovery
Signed-off-by: zqchris <chrisz83@gmail.com >
* fix(desktop): bound recovery worker lifetime and await termination
Signed-off-by: zqchris <chrisz83@gmail.com >
* fix(desktop): normalize unknown recovery worker errors
Signed-off-by: zqchris <chrisz83@gmail.com >
---------
Signed-off-by: zqchris <chrisz83@gmail.com >
2026-09-18 21:24:08 +07:00
guyong
b34371e214
fix(windows): resolve NSIS custom include paths
...
Signed-off-by: guyong <guyong@xd.com >
2026-09-18 15:27:46 +08:00
DavidShenXD
2379c2d242
fix(windows): 修复 winget 升级入口丢失与版本识别滞后 #4548 ( #4583 )
...
* fix(windows): preserve winget upgrade shortcuts and sync installed version
Signed-off-by: DavidShen <david@xd.com >
* test(desktop): isolate update service startup timers
Signed-off-by: DavidShen <david@xd.com >
* test(windows): preserve installer and portable file fixtures
Signed-off-by: DavidShen <david@xd.com >
* fix(windows): fail updated installs when shortcut restore fails
Signed-off-by: DavidShen <david@xd.com >
---------
Signed-off-by: DavidShen <david@xd.com >
2026-09-17 21:24:12 +07:00
Dash
ab910c7fa9
perf(sidebar): 降低千条任务下的打开延迟 ( #4484 )
...
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-09-17 18:59:24 +07:00
Dash
891a66c7bb
feat(linux): support managed user installs and updates on Arch/Omarchy ( #3922 )
...
* feat(linux): support managed user installs and updates on Arch/Omarchy
Add verified user-owned installation transactions, stable desktop and login callbacks, and keyring selector preservation. Document migration and release acceptance; cover native updater failures and Linux test fixtures.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(linux): recover managed install transaction
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-09-17 18:59:15 +07:00
Lizi
553816b98d
fix(installer): preflight installation directories before elevation
...
Signed-off-by: Lizi <jiali@magiclizi.com >
2026-09-17 12:45:13 +08:00
DavidShenXD
143e12cd38
feat(desktop): 支持 Windows 和 macOS 登录时自动启动 ( #4533 )
...
* feat(desktop): add opt-in startup at login on Windows and macOS
Add a localized switch under App Behavior. The OS login item is the preference authority: missing registration is the fixed off default, enabling creates the native override, and disabling removes it. Never register or re-enable during app startup. Read Windows StartupApproved and surface macOS pending approval. Refresh on focus, serialize edits, and re-read after failures.
Only installed desktop builds can change the setting through trusted local renderer IPC. No SSH workdir behavior, mobile entry, or device-link allowlist change: this is a local computer-wide setting. UI reuses semantic tokens and the existing Switch/card treatments under DESIGN sections 5 and 10.
Validation: pnpm test:unit:related; desktop typecheck; 42 targeted tests including sender authorization; scoped ESLint; check:i18n; check:i18n-glossary; design color audit against the pre-change HEAD. The default color audit also includes older origin/main-to-HEAD changes with 9 existing violations; this change adds none. Windows/macOS actual logout-login behavior and Light/Dark visual QA remain unverified.
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): remove login startup installation hint
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): read Windows login startup entries correctly
Signed-off-by: DavidShen <david@xd.com >
* fix(desktop): remove owned login items on Windows uninstall
Signed-off-by: DavidShen <david@xd.com >
* test(desktop): tolerate multiline bootstrap wiring calls
Signed-off-by: DavidShen <david@xd.com >
* test(desktop): tolerate formatted window material notifications
Signed-off-by: DavidShen <david@xd.com >
---------
Signed-off-by: DavidShen <david@xd.com >
2026-09-16 18:35:37 +07:00
Dash
e3f40ca3d7
feat(remote-desktop): 按控制端画面比例调整并恢复电脑分辨率 ( #4485 )
...
* 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 >
* 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 >
* 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 >
* 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 >
* fix(remote-desktop): 隔离临时显示器选择与恢复
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): hide temporary display from mobile selector
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): keep source display reconnectable
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* test(remote-desktop): track stable source display id
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(remote-desktop): validate viewer display support
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-09-16 11:14:41 +07:00
Chris
33b2b82ddf
Merge upstream main and preserve both test runner additions
...
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-09-13 11:14:43 +08:00
MagicLizi
ea624ee202
Merge latest main and preserve desktop dev memory fixes
...
Include the development heap option regression tests in the default test runner.
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-13 11:04:30 +08:00
Lizi
633e27c761
fix(remote-desktop): serialize recovery and add sidebar access
...
Preserve legacy initial connection retries, serialize cancelled starts and cleanup across Renderer generations, and validate both WebRTC input paths.
Signed-off-by: Lizi <jiali@magiclizi.com >
2026-09-13 00:38:04 +07:00
MagicLizi
08b214e5a1
fix(desktop): reduce dev build memory peaks
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-12 22:54:45 +08:00
Lizi
ca21b98957
fix(remote-desktop): confirm exit and use clipboard shortcuts
...
Scope local cursor hiding to the controlled desktop, preserve modifier keys, and update regression coverage and the design inventory.
Signed-off-by: Lizi <jiali@magiclizi.com >
2026-09-12 21:00:15 +07:00
MagicLizi
62596a5f20
fix(remote-desktop): unify controls and correct connection status
...
Use standard Desktop controls and an equal-width shared Select. Keep toolbar actions and real input on the same confirmed control state, explain view-only actions, and preserve revocation across reconnects. Distinguish Cindy task connections from desktop control and ignore stale controller snapshots.
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-12 20:38:43 +08:00
Chris
87f0b71871
fix(build): invalidate remote bundles on source deletion
...
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-09-12 17:17:33 +08:00
Chris
38658f3bc2
refactor(model): consolidate compatibility with pinned OpenCodex patches
...
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-09-12 17:03:38 +08:00
MagicLizi
a324f88bd4
fix(remote-desktop): make connection transport visible
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-12 14:24:00 +08:00
MagicLizi
f2c042d3e6
fix(remote-desktop): restore Windows input and localized viewer controls
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-12 13:52:03 +08:00
MagicLizi
3083b5e89b
feat(remote-desktop): add standalone desktop viewer and shared mobile runtime
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-12 01:28:22 +08:00
MagicLizi
15747041b7
Merge remote-tracking branch 'origin/main' into feat/cindy-maker-command
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-10 15:11:28 +08:00
MagicLizi
6ff2b89084
feat(desktop): embed source commit metadata in packages
...
Signed-off-by: MagicLizi <jiali@magiclizi.com >
2026-09-08 23:34:05 +08:00
DavidShen
82e7c3cdb3
fix(desktop): 更新 worktree 基准脚本状态模拟
...
Signed-off-by: DavidShen <david@xd.com >
2026-09-08 22:27:25 +08:00
DavidShen
222579f9d1
fix(desktop): 按需检查当前任务的 worktree
...
Signed-off-by: DavidShen <david@xd.com >
2026-09-08 20:55:58 +08:00
Dash
94573ab1af
fix(desktop): bound foreground worktree validation and batch Git probes ( #4109 )
...
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-09-08 17:34:05 +08:00
Dash
658c5083b6
fix(desktop): 优化登录成功回调页自动关闭 ( #3807 )
...
* fix(desktop): 优化登录成功回调页自动关闭
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* docs(desktop): 同步登录回调成功态设计契约
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-09-02 20:20:03 +08:00
guyong-zapo
c3dde8cc82
feat(desktop): Linux 应用内下载 .deb 并用 pkexec 安装 ( #3191 )
...
* feat(desktop): Linux 应用内下载 .deb 并用 pkexec 安装
Linux 不再短路成手动重装。检查更新时下载清单里的 installer .deb,
用户点更新后由脚本通过 pkexec 覆盖安装并拉起原二进制。安装需要
系统密码,因此启动和空闲时不会自动安装;设置页隐藏空闲开关和
Beta 渠道,帮助文案改为说明应用内更新。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): 收紧 Linux 更新安装的校验、锁和 Beta 门
pkexec 安装前按清单 SHA 再验一次暂存 .deb,避免等待窗口里被替换。
更新锁在密码提示期间心跳刷新,启动等待按锁新鲜度延长。Linux 强制
走 release 渠道;安装脚本 spawn 成功后再退出应用。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): 收紧 Linux 更新锁等待和安装副本
启动等锁改为 Atomics.wait,不再空转占满 CPU。安装脚本先把
.deb 拷到脚本旁的私有副本再哈希、再交给 pkexec。更新脚本写到
userData/updates 独占创建,不再放共享 /tmp。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): 把 .deb 校验挪进提权边界并收紧 spawn 终态
安装改为单个 pkexec bash:root 自有的 0700 临时目录里复制、哈希、
安装同一份副本,哈希与安装之间用户侧无法换包。spawn 超时后再收到
迟到的 spawn 事件不再 forceQuit;Linux 组织默认 beta 门从 store 挪
到 updateService 层,保持 store 平台无关。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 更新脚本不落盘,提权段不写用户日志
脚本内容经 argv 交给 bash -c,同一用户进程没有可替换的目录项。
提权 shell 只写 stdout/stderr,日志重定向由外层用户 shell 完成,
root 不再打开用户可替换的日志路径。帮助文案把 .deb 文件名
改成架构中立写法。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 安装摘要锚定进程内存,验证改用进程名
期望摘要不再信任用户可写的 patch-info.json:manifest 里的 installer
sha256 只存在本进程内存,冷启动匹配旧补丁时用刚拉到的 manifest 重新
锚定,断网回落路径在 Linux 上不再装没有可信摘要的补丁。拉起验证
改用 pgrep -x 进程名,避免 updater 自己的 bash 命令行被 -f 误匹配。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 更新锁写入持有者 PID,心跳新鲜即继续等
锁内容带上 updater shell 的 PID,bootstrap 判定活锁 = 持有者进程
存活 + 心跳新鲜,去掉 30 分钟硬上限——用户在 pkexec 输密码多久
就等多久,锁不会被误清。老格式锁(无 PID)保留原总时长上限。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 更新锁在 spawn 前预建,重启交接留宽限
主进程在 spawn 之前先写锁(持有者=本进程 PID),脚本接管后换成
自己的 PID;bootstrap 对 mtime 极新的锁给 5s 交接宽限,即使
持有者 PID 已死也继续等。spawn 超时/失败清理预建锁。update-
relaunch listener 补 assertTrustedAppRendererEvent 校验 sender。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 提权源拒绝符号链接,spawn 超时杀整组
提权 shell 先拒绝 -L / 非普通文件,再把已打开的 fd 经
/proc/self/fd 做 fstat 复核后从 fd 读字节——root 不跟随可替换
的源路径。spawn 超时改用负 PID 杀整个进程组,心跳子 shell 和
pkexec 不会变成孤儿继续安装。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 提权复制改用 dd nofollow 原子打开并封顶大小
路径检查与重定向打开之间的换链竞态改为 dd iflag=nofollow,nonblock
单次原子打开:O_NOFOLLOW 拒绝符号链接,O_NONBLOCK 让 FIFO 立即失败,
count 按清单 size 封顶,字符设备最多读 预期大小+2MiB,随后大小与
哈希双重校验兜底。manifest size 一并锚进进程内存。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 心跳孤儿自清、bootstrap 兜底、拉起验证按子 PID
心跳挂父 bash 存活,父进程被单独 kill 后自清锁不留孤儿;bootstrap
对「PID 已死但心跳新鲜」的锁加孤儿时长兜底,超过 2 个心跳周期 +
5s 就清锁继续启动。拉起验证改为 kill -0 启动的子 PID,等锁的
旧实例不会再被按进程名误判成新版本。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 心跳随安装链持锁,拉起前放锁,等待者换新代码
父 bash 死后心跳检查安装链(pkexec/apt-get/dpkg)是否还在跑:还在
就以自己为持有者继续心跳,安装进程全没了才清锁。拉起新实例前先
放锁,新进程不会被自己的锁挡住;bootstrap 里等过锁的旧实例醒来
后拉起新进程并退出,旧代码不再与新资源混跑。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 心跳按进程组判安装链并以 BASHPID 写锁
父 bash 死后不再按全系统进程名猜安装链,改为检查本进程组里除
心跳自己外还有没有活成员(pgrep -g)——既不把无关 apt/dpkg 当成本
次安装,也不漏掉仍在跑的 elevated bash。锁内容改用 $BASHPID:
子 shell 里 $$ 仍是父 PID,写它等于宣告已死的持有者。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 心跳只认登记在案的安装 PID,信号退出不抢清锁
安装链存活性改按记录在案的 pkexec PID 判断,不再扫进程组,心跳
自己的辅助进程不会被误判成安装链。可捕获信号退出时若安装链还
活着,cleanup 留下锁和心跳交给心跳接管,不在安装中途清锁。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 锁先于日志就位,安装链存活含孤儿后代
锁和心跳挪到任何日志 append 之前——日志被换成 FIFO 也不影响
持锁。父 bash 死后安装链存活改回进程组扫描(输出落文件再逐行
读,pgrep 自排除自身,心跳辅助进程不会误计),组内还活着的孤儿
apt/dpkg 后代仍被计入,不会在安装中途清锁。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux cleanup 同用组扫描,bootstrap 仅在锁已清后重启
cleanup 收到可捕获信号时走与心跳相同的进程组扫描:提权 Bash /
apt / dpkg 后代还在跑就留下锁和心跳,由心跳接管,不在安装中途
清锁。bootstrap 只有在锁确实删除成功后才走「拉起新进程退出」
路径,删不掉时保留旧版的有界恢复,避免重启循环。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 心跳自排除,拉起走 setsid,锁缺失视为已清
scan_group_others 排除心跳自身 PID,cleanup 不再被心跳误判成
「还有别人」而留下锁。失败/成功拉起统一走 relaunch_app:先杀
心跳清锁,再 setsid 脱离本进程组,新 Cindy 不被误判成安装链、
也不卡在自己的锁上。bootstrap 把「锁已不存在」视为已清,正常
清锁的等待实例不再错过重启路径。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 早退分支统一走 relaunch_app
pkexec 不存在 / .deb 丢失的早退分支改走 relaunch_app:先杀心跳
清锁,再 setsid 拉起旧二进制。恢复启动的 Cindy 不再被自己的
心跳当安装链成员而卡在等锁上。
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 心跳退出等待后清锁,防止 relaunch 重写锁
Signed-off-by: guyong <guyong@xd.com >
* fix(desktop): Linux 进程组枚举失败时 fail closed 持锁
Signed-off-by: guyong <guyong@xd.com >
---------
Signed-off-by: guyong <guyong@xd.com >
2026-08-24 11:51:06 +08:00
yan
0647f4fb97
feat(pi): SSH remote 支持 + TS pi-manager daemon + Orca 协同
...
- PiAgent 支持 SSH remoteHostId:凭证路由/权限/远端 fs 通道全链路
- Python per-session 薄壳 daemon 升级为 TS 单例 pi-manager(unix socket RPC
+ per-host 常驻 + 条件 restart + 空闲回收 + 断链保活)
- 解锁 remote pi 创建 orca workers(worker 继承 lead.remoteHostId)
- spawn env 稳定性:sessionToken 改 HMAC 派生 + bridge token generation
追踪, 修复会话重建被误 kill
- 远端安装/升级/卸载链(pi-manager installer + probe/ensure + 静默安装)
- maker-pi-manager 全量单测 + desktop/pi 集成测试(Linux CI 全绿)
Signed-off-by: yan <yan233@xd.com >
2026-08-14 09:15:41 +08:00