Commit Graph

657 Commits

Author SHA1 Message Date
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
Lizi
2f1ee3c55f Merge pull request #9625 from BarneyZhaoooo/codex/cindy-terra-ultra-fast
test(codex): cover Terra Ultra and Fast
2026-11-10 20:55:37 +08:00
Dash
8851f00df2 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/maker-host/codex-proxy-host.ts
2026-11-10 22:47:33 +13: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
zhaohan
d5078548ca test(codex): register and clean up Terra proxy regression
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: zhaohan <zhaohan@xd.com>
2026-11-10 17:29:06 +08:00
Lizi
f4a670c93b Merge pull request #9692 from makecindy/cindy/quirky-newton
fix(desktop): Windows 开发沙盒停止时先正常退出
2026-11-10 17:27:49 +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
DavidShen
fef1c9fa6c fix(desktop): Windows 开发沙盒停止时先正常退出
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-10 15:34:52 +08:00
Dash
f4eab90801 Merge main into Host desktop compatibility verification
Preserve the mainline Codex outbound identity observation in the shared proxy factory.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 15:08:36 +13:00
Dash
a0bbff13cf Merge remote-tracking branch 'origin/main' into cindy/cheerful-newton
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 13:16:38 +13:00
Dash
2cdab9a41d fix: measure live tok/s from each request's first byte, corrected by real usage
The speed panel counted streamed text with a word estimate that was only
replaced by real usage when a Claude Code turn ended, so a running turn showed
20-50% of its real output and average, and the curve dropped to zero after
every stretch of thinking. Codex divided each response by its model time
including the wait for the first byte and produced one reading per response;
Pi started its clock when the request was sent and showed a reply in flight at
about 45% of its output.

All three now share one meter:
- the clock runs from a request's first byte; waits, tools and approvals are
  not generation time
- each request's reported usage (with its thinking/reasoning count) replaces
  the stream estimate and calibrates the next one
- thinking is counted from its summary, from provider token estimates, or by
  its learned pace when it streams nothing
- output generated before the first byte is credited time at the measured
  speed instead of inflating it

Recorded Claude Code and Codex turns, reduced to timing and sizes, are kept as
fixtures; scripts/token-speed-capture.ts records new ones and
scripts/token-speed-replay.ts compares what the panel shows with real usage.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 13:16:30 +13:00
Lizi
8d8a03e155 Merge pull request #9589 from makecindy/cindy/merry-hodgkin
fix(skills): 修复内置 Skill 版本复用并增加构建检查
2026-11-10 07:40:28 +08:00
Dash
d72065fd63 Merge main into the shared scheduler work
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 12:39:45 +13:00
Dash
c48ee1cea6 Merge main into the headless runtime and restore desktop initialization
Preserve upstream behavior while sharing platform-independent runtime services.
Repair eager desktop port capture and settle silent startup owner boundaries.
Keep the ongoing headless work local; full confirmation is recorded separately.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 11:54:40 +13:00
Dash
5ddfb91361 fix(skills): use an empty config file for Git in the build gate test on Windows
Git for Windows cannot open Node's \\.\nul path as GIT_CONFIG_GLOBAL, so the
synthetic-merge test failed in the Windows runner job.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 11:42:48 +13:00
Dash
2d3fcf3a8f fix(skills): version bundled resources and detect reused versions
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 11:33:09 +13:00
Cindy
37a593747d fix(bot-import): preserve streamed verification and isolate executable resources
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Cindy <cindy@Cindys-Mac-mini.local>
2026-11-10 10:48:04 +13:00
Lizi
800936062a Merge pull request #9443 from makecindy/fix/personal-credentials-signing
feat(personal-build): 稳定应用身份、受保护升级与可选 iPhone 交付
2026-11-09 19:47:52 +08:00
Dash
4a88fe2082 Merge pull request #9246 from iamcheyan/feat/cindy-host
feat(host): add an opt-in experimental browser client
2026-11-10 00:22:21 +13:00
Dash
fc6e2f228e fix(personal-build): recognize a native build's shared runtime in legacy update gates
The legacy managed flow matched only the checkout's Electron binary, so an
application launched from the shared runtime cache passed the stop checks.
Match the cache's Cindy.app for this checkout only, never the shared executable alone.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 23:13:29 +13:00
Dash
6db6512e67 fix(personal-build): pin iOS signing certificates with SHA-256
Require explicit migration from legacy SHA-1 pins and preserve certificate/profile checks.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 22:49:09 +13:00
Dash
9f920d16fe fix(personal-build): declare open types and expose push registration diagnostics
Add Finder URL and file eligibility before signing personal runtimes without taking over file defaults. Record non-secret registration outcomes when mobile debug recording is enabled. Standalone cold launch and APNs delivery remain separate acceptance requirements.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 20:27:04 +13:00
Dash
187d16ef65 test(personal-build): use the fixture fingerprint constant instead of hashing in the test
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 19:42:42 +13:00
Dash
36171e154e fix(personal-build): retain certificate verification with automatic signing
Use the certificate class accepted by Xcode automatic provisioning; reject any final artifact whose exact certificate differs from configuration.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 19:15:05 +13:00
Dash
73bade1e9f fix(personal-build): register APNs with the signed environment
Use the existing native provisioning reader instead of JavaScript development mode. Verify APNs entitlement and profile agreement before personal iOS delivery, while preserving App Store production registration without an embedded profile.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 19:07:03 +13:00
Dash
669801c6ae fix(personal-build): share the supervisor terminal with the dev server
Reuse live terminal input while retaining coordinator logs and the bounded dev log drain. Keep the development process attached until normal shutdown and reject missing terminal input before stopping an instance.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 18:55:12 +13:00
Dash
c457743f8c test(personal-build): run macOS-only fixed app tests on darwin only
The fixed signed app is a macOS bundle matched with POSIX paths; the Windows
runner cannot exercise it.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 18:37:48 +13:00
Dash
daafc4ce20 fix(personal-build): allocate a fresh mobile build per attempt, select the configured signing certificate, recheck the final release identity
- Every iOS build attempt takes a new number from the shared counter so a retry cannot move it backwards.
- Pass the configured certificate fingerprint to xcodebuild instead of the generic identity name.
- Repeat the unchanged/rejected release check after the native receipt is added to the identity.
- Mark the certificate fingerprint comparison as an identifier match, not a security hash.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 18:15:13 +13:00
Dash
7a54770122 Merge remote-tracking branch 'origin/main' into fix/personal-credentials-signing 2026-11-09 18:04:26 +13:00
Dash
07f37de8df fix(personal-build): wait for OS process exit before replacing runtime
Keep the original PID until shutdown really completes; match fixed app executable paths and report blocking PIDs rather than matching arbitrary command arguments.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 17:44:35 +13:00
Dash
2672dc44b0 fix(personal-build): hold supervisor lock before manual shutdown
Keep the current app running when supervisor ownership or preflight fails. Add a one-use manual-restart entry with exact PID checks and durable phase receipts, holding the same lock through startup and supervision.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 12:24:28 +13:00
Dash
3c9e880797 fix(personal-build): stop the verified app before its launch wrappers
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 11:33:01 +13:00
Dash
963f63339b fix(personal-build): use automatic Apple signing then verify pinned certificate
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 11:25:51 +13:00
Dash
b14fde5b11 feat(personal-build): unify optional iOS companion delivery
Build desktop and iOS from one frozen PR snapshot, verify every signed bundle, and resume device installation through Cindy plugin receipts without launching the phone app.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 11:14:08 +13:00
Dash
c43dd8ec55 feat(personal-build): activate signed runtimes at one physical app path
Reuse the fixed installation without rewriting unchanged runtimes. Preserve previous bundles and recover interrupted filesystem promotion, refuse live or unmanaged replacement, and pass the selected fixed path through the standard launcher. Isolated previews leave the formal installation untouched.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 00:01:37 +13:00
Dash
349f1ac0aa feat(personal-build): reuse signed runtimes across business releases
Keep signed Electron and native capabilities in an immutable input-keyed store, launch independent business checkouts through the shared runtime, and retain prior versions. Preserve the standard startup runner fix and identify shared runtimes by their business checkout.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 23:42:33 +13:00
Dash
a23bda4db4 fix(personal-build): freeze complete PR selections at upgrade start
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 22:45:39 +13:00
Dash
426f7c8bbc fix(personal-build): reject stale PR selections before upgrades
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 22:26:05 +13:00
Dash
80056534b8 Merge remote-tracking branch 'origin/main' into fix/personal-credentials-signing
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 22:26:05 +13:00
Dash
425c24680c fix(personal-build): brand native application as Cindy
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 22:08:58 +13:00
Dash
ba6b3003ef feat(desktop): 支持桌面半透明与可调模糊并保留侧栏磨砂
复用壁纸控件与背景规则,保留 macOS 圆角和独立侧栏材质;按变化项更新原生状态,透明度拖动本地预览、提交时保存。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 21:17:49 +13:00
Dash
5a0c003725 Merge remote-tracking branch 'origin/main' into cindy/pr9246-host
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

# Conflicts:
#	packages/device-link/src/__tests__/client.test.ts
2026-11-08 19:11:57 +13:00
Chris
7ef2db28c4 fix(desktop): flag Rosetta-translated runs and stop disposed-frame crash
An upload from an Apple silicon Mac showed the darwin-x64 build running
under Rosetta: module evaluation before crashReporter took ~15.7 s per
launch versus 0.5-2.2 s on other macOS devices, and nothing in the app or
its logs said why. Log the translation state at startup and show a
sidebar notice (macOS only) pointing to the Apple silicon download.

The same upload ended in an uncaughtException: after the main renderer
was killed, the microphone permission broadcast and the shutdown
disposer read webContents.mainFrame, whose getter throws once the frame
is disposed. The trusted-renderer checks now fail closed instead of
throwing.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-08 12:05:00 +08:00
Dash
c1742592d6 fix(personal-build): isolate native application identity across profiles
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 16:46:15 +13:00
Dash
7d4ef417d4 fix(personal-build): verify native capabilities and preserve signed macOS launches
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 16:36:51 +13:00
Dash
a47b21b6ef test(ci): cover the Host selection job in the verify aggregation contract
The verify gate now depends on host-changes and accepts a skipped
host-regressions only when selection succeeded and reported it unnecessary.
The contract test still modelled the earlier always-run job and failed the
design-colour audit step in verify-checks.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 14:02:58 +13:00
Dash
36ef5cb15a ci(host): select cross-platform regressions by changed paths
Skip the Host matrix for unrelated changes while retaining fail-closed verification for PRs, merge groups and main pushes.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 13:40:12 +13:00
Dash
739736a250 Merge remote-tracking branch 'origin/main' into cindy/pr9246-host 2026-11-08 13:37:24 +13:00