Dash
5fc7cbdecb
Merge remote-tracking branch 'origin/main' into cindy/pensive-newton
2026-11-11 06:08:55 +13:00
Lizi
30b9744067
Merge pull request #9248 from zyjisdog/fix/pi-project-resource-recycle
...
fix(pi): 项目资源变更后空闲回收运行时,下一条消息自动重扫
2026-11-11 00:59:12 +08:00
Dash
b2c7629a38
refactor(desktop): 后台命令判断只读简单结构,超出范围一律按工作
...
评审在同一个判断上连续指出了后台 &、heredoc、注释、控制流、wait 等 shell 语法的边界。
与其逐个读懂,不如把范围收窄:只读 ; && || 换行连接的顺序命令和 | 管道,遇到后台 &、
注释 #、heredoc <<、控制流、命令组就整条按工作。删掉 heredoc 正文跳过、命令列表后台标记
和 wait 判断,常见写法(pnpm dev、pnpm test && pnpm dev、pnpm dev | tee)不受影响。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 03:37:18 +13:00
Dash
31b7ebd56a
Merge remote-tracking branch 'origin/main' into cindy/pensive-newton
2026-11-11 03:10:03 +13:00
Dash
9e861b65a1
fix(desktop): 后台命令的 & 作用于整个命令列表,不只最后一段
...
pnpm dev | tee dev.log & pnpm test 里,& 把整条管道放到后台,前台只剩 pnpm test,应按工作。
拆段时按命令列表(; 换行 & 结束,| && || 只是列表内连接)记录后台标记。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 03:10:02 +13:00
Lizi
3671824fc8
Merge pull request #9746 from makecindy/dash/feishu-im-reading
...
feat(feishu): 长回复分条完整送达、过程可回看,官方飞书改为客户端排版
2026-11-10 21:48:11 +08:00
Dash
6ab3d2220b
fix(desktop): 含控制流或命令组的后台命令整条按工作
...
if false; then pnpm dev; fi; pnpm test 这类命令里哪一段会执行取决于运行时,不能把其中的
pnpm dev 单拿出来判断。段首是控制流关键字或命令组起止符时整条命令按工作,与文件头的范围
声明一致。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 02:47:56 +13:00
Lizi
f790c05d51
Merge pull request #9751 from makecindy/cindy/thoughtful-newton
...
fix(agent): 修复自动续跑限额错误丢失与到点恢复
2026-11-10 21:47:00 +08:00
Zhang Yunjin
312cbe418b
Merge remote-tracking branch 'upstream/main' into fix/pi-project-resource-recycle
...
Signed-off-by: Zhang Yunjin <zhangyunjin@zju.edu.cn >
# Conflicts:
# apps/desktop/src/main/maker-host/built-in-skills.ts
2026-11-10 21:34:13 +08:00
Dash
354ab567ac
Merge remote-tracking branch 'origin/main' into cindy/pensive-newton
2026-11-11 02:22:45 +13:00
Dash
ac441870e7
fix(desktop): 后台命令判断跳过 heredoc 正文
...
cat <<'EOF' > script 之后的正文是数据,不是命令。拆段时识别 heredoc 结束词并整段跳过,
here-string <<< 不受影响,heredoc 之后的真实命令仍然判断。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 02:22:43 +13:00
Dash
e23d711db7
fix(desktop): restore expanded window width when reopening sidebar ( #9725 )
...
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 21:21:14 +08:00
Lizi
3ebdb526da
Merge pull request #9701 from makecindy/cindy/swift-turing
...
feat(browser): 一次调用多步、底层出口与按模式给规则
2026-11-10 21:18:34 +08:00
nanaco
7bef3b345b
fix(mobile): 对齐群聊执行、分工与讨论卡片 ( #9672 )
...
* fix(mobile): align group execution timeline and controls
Show each group execution in the timeline with prompts outside process folds, match discussion and work semantics, and preserve scoped stop permissions across desktop hosts and direct chat.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* test(mobile): cover group result reading order
Verify the real group timeline presents the teammate reply before its associated task snapshot.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 对齐群执行组件的 PC 设计
Match the desktop follow-up row, keep process actions outside disclosure, and align teammate permission/question card hierarchy and intrinsic-width actions. Preserve existing permission decisions and mobile confirmation gestures.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 隐藏群执行原任务跳转入口
Keep inline execution details, confirmation cards and group stop actions available.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 精简群讨论与分工卡片布局
保留卡片与既有操作,整理姓名、状态和跳过按钮对齐,合并分工重复标题,将步骤状态与时间集中展示。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 适配主干群执行过程滚动与回归用例
群执行使用主时间线的过程折叠保护,轮次结束时释放保留空间;迁移旧内嵌滚动区测试,并以不可变快照验证主干消息投影缓存下的执行时间。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 收口群执行卡片样式与远程控制
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* docs(group-chat): 同步手机卡片与步骤阅读约定
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 补齐预览登记与下一步窄屏回退
登记仅 mock 可达的群执行预览,并保留开发门禁检查。通用卡片按钮在长文案换行时移到姓名下方纵排,保留短文案同行与 38pt 可见尺寸、44pt 触控热区。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 修复窄屏下一步操作的换行与边界
短按钮保持同行,长文案通过文本测量切换完整纵排,避免容器先自行换行造成操作溢出。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
* fix(mobile): 隔离离开群聊后的停止回执
让直连停止请求随页面焦点失效,避免离开或快速返回群聊后误报失败、旧回执清除新等待状态;经电脑请求保留原有防重复锁。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: nana <823073145@qq.com >
---------
Signed-off-by: nana <823073145@qq.com >
Co-authored-by: nana <823073145@qq.com >
2026-11-10 21:11:56 +08:00
Dash
5b814d6726
Merge remote-tracking branch 'origin/main' into cindy/pensive-newton
2026-11-11 01:56:44 +13:00
Dash
29b98292a1
fix(desktop): --watch 只对认得的程序生效,不认识的外层命令按工作
...
timeout -k 5s 60s pnpm vitest --watch 有期限,会自己结束。--watch 判断此前在识别程序名之前就
命中。现在它只对带监听模式的工具和转发参数的包管理器生效,不认识的外层命令不让内层参数直接
决定结果。同时把有意不处理的写法(子 shell、控制流、xargs 等)写进文件头,按工作显示。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 01:56:41 +13:00
Lizi
1d47fdfd94
Merge pull request #9349 from zqchris/android-auto-notifications
...
fix(mobile): automatically receive Android notifications without Google push
2026-11-10 20:48:05 +08:00
Dash
16258a6e60
fix(desktop): 后台命令判断按前台部分的存活时间,单个 & 的后台作业不算
...
先启动预览服务、再跑测试并清理的命令(pnpm dev & …; pnpm test; kill)会自己结束,应按工作
显示。命令的存活由前台部分决定:顺序执行卡在第一个不会结束的段,管道有一段不结束就不结束,
单个 & 的后台作业不决定存活(有 wait 除外),2>&1 里的 & 不是分隔符。不变量写在文件头。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 01:34:34 +13:00
Dash
0a8e0d6f42
Merge remote-tracking branch 'origin/main' into cindy/pensive-newton
2026-11-11 01:12:11 +13:00
Dash
cc055c5a25
fix(browser): batch 的预检与真实调用共用同一组判断,并固定后端、不丢图片
...
本轮评审(Greptile、Codex)指出的是同一类问题:batch 承诺「参数写错时一步都不做」,但预检
只问了 schema 和后端能力,没有问各 action 自己的检查;另外批次执行中的后端切换和多余截图
都会让结果悄悄偏离调用者的预期。按收敛检查点把它们归成三条不变量一次修完:
- 预检与真实调用是同一组判断:处理入口新增 checkOnly 模式,走到派发之前就返回;batch 对每
一步都用它,所以地址协议、afterSnapshot 位置、extract / cdp 的专属检查、模式能力门控不会
再各说各话。extract 与 cdp 的纯参数检查前移到派发之前,真实调用和预检共用。
- 一个批次只在一个后端上运行:开始时固定后端身份,每步之前核对,被切换则这一步和后面的
都不执行。
- 结果不悄悄丢信息:一批最多 3 个 screenshot 步骤,超出整批拒绝,不再只返回前 3 张图。
新增 6 条回归测试,均在上一版代码上失败(逐条核对过)。cdp 里页面函数抛错仍报成功的那条
已在 14c2af7 修复,评审是对旧提交给的。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 00:53:46 +13:00
Dash
6e236505b0
Merge remote-tracking branch 'origin/main' into cindy/pensive-newton
2026-11-11 00:46:40 +13:00
Dash
4bb6c967e6
fix(desktop): 回退后清掉后台命令工作信号,--watch=false 不再判为服务
...
- 回退提交关闭旧 Query 时,agent 同步清空后台任务表,回退编排在提交后刷新一次
「后台命令仍在工作」,任务列表不会一直显示已不存在的命令在跑
- --watch=false / --watch=0 明确关闭监听,按工作判断
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 00:46:39 +13:00
Dash
efc2897d0b
docs(browser): 补全评测的分题数字并更正两处表述
...
「只点一个按钮」在 Sonnet 上调用次数略多(4.7 → 5.3),Haiku 的分页题平均 5.0 → 6.0;此前写成「没有变化」和「有一次 5 → 7」不够准确。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 00:26:47 +13:00
Dash
c645542f85
fix(agent): preserve quota errors and recovery on provider wake-ups
...
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 00:23:22 +13:00
Dash
5246c47588
ci(host): typecheck the Host and document the shared-code convention
...
- host-regressions now also runs `pnpm --filter @cindy/host typecheck` once (on
Linux; types are platform independent) inside the change-selected job that
verify already requires. A shared desktop body that gains a port wired only
in the desktop assembly passes the desktop checks but is caught here instead
of at runtime in the Host.
- architecture-invariants §5 records the convention for bodies shared by the
desktop and the Node Host: no direct Electron dependency, desktop assembly
in *.desktop.ts, factory port injection, wire a new dependency into both
launchers, run the Host test and typecheck. AGENTS.md and the dev-rules
README point to it.
- headless-runtime-plan.md: the merged batches no longer say "local,
unpublished".
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 00:09:46 +13:00
Dash
a7e35dd62c
docs(browser): 记录专用浏览器在真实应用里的补测结果
...
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-11 00:06:33 +13:00
Lizi
b70c690274
Merge pull request #9696 from makecindy/cindy/humble-kalam
...
fix(mobile): 灵动岛日常点击回首页,展开后保留任务入口
2026-11-10 18:54:15 +08:00
Dash
4a156735af
Merge remote-tracking branch 'origin/main' into cindy/pensive-newton
2026-11-10 23:53:28 +13:00
Dash
2914f7acdf
fix(desktop): 后台命令仍在工作时任务列表显示为运行中
...
Claude Code 把命令放到后台后回合当场结束,跑测试、构建这类命令没跑完时任务其实没做完,
任务列表却显示已结束。核心层按启动命令的写法区分「工作」与「长驻服务」,主进程在回合结束
而仍有工作命令在跑时通知任务列表显示运行中;任务内状态栏分别写「正在后台工作」与
「后台服务运行中」。只改展示,不改回合边界、完成提醒、发送排队与停止语义。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 23:53:28 +13:00
Dash
bd3295b931
feat(feishu): 长回复分条完整送达,过程记录折叠可回看,官方 bot 改为客户端排版
...
- 飞书卡片装不下时(30 KB 或单个富文本超过 4 个表格)按段落、行、字符分条,
代码块补围栏、表格补表头,逐条完整发送并带页码;不再截断、不再提示去桌面端看。
- 一轮正常完成后,本轮全部工作项折叠在答案上方(过程记录 · N 项 · 用时),可点开回看。
- 飞书排版收敛到 @cindy/im feishu/streamingText.ts 一份,发送通道可替换:个人 bot 与
伙伴连接直接调飞书接口;官方飞书 / Lark 经 msg.op 交给服务端执行
(feishu-progress-ops-v1 / feishu-final-ops-v1,双向可选,任一侧缺席时照旧由服务端排版)。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 23:52:00 +13:00
Lizi
b966cbb69a
Merge pull request #9665 from makecindy/cindy/loyal-hopper
...
fix(mobile): 修复 Windows Android 原生构建长路径
2026-11-10 18:43:54 +08:00
Lizi
b339ec678d
Merge pull request #9527 from makecindy/cindy/lively-feynman
...
fix(desktop): 识别 Codex 供应商认证并引导独立账号登录 #9517
2026-11-10 18:31:26 +08:00
Dash
26b6d6685c
Merge pull request #9621 from makecindy/cindy/host-web-reliability
...
refactor(host): share desktop services with the opt-in Node Host
2026-11-10 23:23:42 +13:00
Chris
905ef48578
merge: sync main and retain Android notification delivery
...
Keep updated mobile cold-release documentation and the Android direct notification contract.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com >
2026-11-10 18:22:13 +08:00
Lizi
00f65f30db
Merge pull request #9076 from makecindy/cindy/fierce-liskov
...
docs(mobile): 取消冷更 PR 的把关人确认门
2026-11-10 18:17:27 +08:00
Dash
9985498387
fix(browser): cdp 输入在无焦点页面落空时改为设值,并补上实测发现的两处
...
在运行中的 Cindy 里实测三种后端后的修正:
- 侧边栏的页面在后台没有焦点,Input.insertText 不报错也不生效,cdp 的 type 曾在表单
为空时报成功。现在回读字段内容,没落进去就直接设值并触发 input / change,仍不对则报错。
- batch 的整批预检补上 cdp 命令白名单:不允许的命令在第一步执行前就拒绝。
- 登录交接的规则列表改用无序项,按后端裁剪后不再出现断号。
- 评测脚本新增 --serve,只起夹具网站,供在运行中的 Cindy 里逐个后端手工实测;
文档记录三种后端的实测结果与未测成的部分。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 22:35:42 +13:00
Dash
eaf91da1db
Merge remote-tracking branch 'origin/main' into cindy/host-web-reliability
2026-11-10 22:21:01 +13:00
DavidShen
2c5425b59d
Merge main to resolve subscription account fixture conflicts
...
Keep the upstream empty-account UI and both provider-auth recovery fixture scenarios. Revalidate the combined account flow.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: DavidShen <david@xd.com >
2026-11-10 17:13:42 +08:00
Lizi
8d4afd2af8
Merge pull request #9669 from makecindy/cindy/elegant-noether
...
fix(tasks): 来源不绑项目时按执行目录归入已登记项目
2026-11-10 17:07:19 +08:00
Dash
0c334b9e91
Merge remote-tracking branch 'origin/main' into cindy/host-web-reliability
...
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
# Conflicts:
# apps/desktop/src/main/messagePersistBroadcaster.ts
2026-11-10 21:57:16 +13:00
Lizi
5365e13d20
Merge pull request #9664 from makecindy/cindy/sincere-torvalds
...
feat(interaction): 保留异步问题、支持模型撤回并统一回答输入框
2026-11-10 16:53:07 +08:00
Dash
232a5fe508
fix(desktop): 侧边栏关闭时恢复独立主窗口的位置和大小 ( #9661 )
...
* fix(desktop): preserve standalone window bounds across sidebar resizing
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(desktop): keep Snap detection and off-screen restore correct with sidebar open
Address review: persistence view keeps real window for Snap/work-area fill
detection (own expansion is not a fill); closing the sidebar places the
saved rectangle back inside the work area if its display went away; sync
desktop-development rules with the restore behaviour.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
* fix(desktop): restore sidebar baseline on its own display
Judge the saved rectangle against the display it belongs to, so a window
moved to another connected display still returns to where it was; only a
removed or shrunk display relocates it.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 16:51:58 +08:00
Dash
a6f7f30a69
Merge origin/main into cindy/host-web-reliability
...
Main changed the Pi catalog upstream selection in pi-host.ts, which this PR
moved to pi-native-catalog.ts; the same change is applied there.
fix(host): forward the coordinator's authorization inputs on send and steer
The executor rebuilt the Session send options and dropped the protected
auto-review source content, so a message with expanded references fell back
to the full expanded body and quoted pages or plugin resources counted as the
user's own words in Auto mode. Steer called the Session with no options at
all. Both now pass the source content, the restored intent and the delegated
marker (an MCP App message grants nothing).
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 21:45:24 +13:00
Lizi
9a4deaa2e9
Merge pull request #9638 from makecindy/cindy/earnest-colden
...
fix(pi): 限制消息内推理强度能力跨中转继承 #9630
2026-11-10 16:39:14 +08:00
DavidShen
638e2555b3
Merge main to refresh PR CI
...
Bring in the built-in Skill bundle version 91 fix from main. Preserve the existing account recovery changes.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: DavidShen <david@xd.com >
2026-11-10 16:21:23 +08:00
Dash
b34cd11e73
feat(browser): 一次调用多步、底层出口与按模式给规则
...
借鉴 Browser Use 1.0 里对三种浏览器后端都成立的部分,做在共享工具层:
- batch:steps 里每一步是 browser 工具的一份普通参数,走同一个处理入口;先整体校验
再执行,任一步失败即停,不自动重放。recipe / upload / setBackend 不能放进去,
审批策略对带这些步骤的 batch 仍按每次确认处理。
- cdp:复用配方适配器已有的会话通道,一次调用一个会话。可发命令是运行时白名单的
子集,不含读 Cookie 与原始截图;另有 nodes / click / type / call 四个辅助命令,
能进到封闭 Shadow DOM。「我的浏览器」没有调试接口,调用前拒绝。
- browser-workflow 规则按当前浏览器模式渲染,宿主不报告模式时返回全部;模式在读取
规则后变化时由 status / setBackend 提示重新读取。
- scripts/eval-browser-tasks.mjs:真实模型对比评测(--live)与不用模型的真实浏览器
自检(--check)。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 21:13:33 +13:00
Dash
0e1f68e4af
Merge remote-tracking branch 'origin/main' into cindy/host-web-reliability
2026-11-10 21:05:48 +13:00
Dash
be16fb5f1a
fix(mobile): open home from the collapsed Dynamic Island
...
Keep explicit task links in the expanded island and lock-screen presentation. Route stale activity taps home and preserve the installed app scheme.
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 20:46:15 +13:00
Dash
6303893900
fix(tasks): 来源不绑项目时按执行目录归入已登记项目
...
伙伴的对话不绑项目,省略 project_path 时它开出的任务也不绑项目,
即使执行目录就在某个已登记项目里,用户在项目下找不到这些任务。
- resolveSessionProject:来源不绑项目且省略 project_path 时,从请求的
working_dir 向上匹配最近的已登记、可见且目录存在的项目;只匹配已有
项目,不登记、不恢复。显式路径、显式 null 与继承到的项目不受影响。
- send_to_session 新建与 start_session_task 的创建回执新增 project_note,
说明归属由执行目录决定或任务未绑项目。
- 更新两个工具的说明、伙伴开任务指引,以及归属规则文档。
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 19:10:59 +13:00
Dash
3488789983
merge: 同步主分支并保留异步提问管理
...
Assisted-by: Cindy (https://cindy.app )
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com >
2026-11-10 18:55:12 +13:00