Commit Graph

334 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
6027d4b2f6 Merge remote-tracking branch 'origin/main' into cindy/pr9246-host
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

# Conflicts:
#	package.json
2026-11-08 03:33:52 +13:00
Dash
505e2de88a fix(personal-build): derive local plugin release identity from plugin content
index.json records temporary preparation paths and PR provenance, so identical
plugin bytes produced a new release identity on every preparation. Hash plugin
identity and content instead. Also compare checked-out fixture text without
depending on the runner's line-ending setting (Windows CI).

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 01:17:26 +13:00
Dash
9466224ecd fix(personal-build): keep resolved source snapshots self-contained
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 00:39:40 +13:00
Dash
58ce6270f3 feat(personal-build): unify developer builds and guarded plugin updates
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 00:38:05 +13:00
Dash
cc99b6b059 fix(host): harden browser pairing, credentials and task execution for the experimental web client
Address the open review findings on the Host web client without changing how
the desktop starts: the desktop no longer auto-discovers and joins a running
Host (only an explicit CINDY_HOST_API does).

- pairing: one-time pairing exchanges for a session cookie; the home page no
  longer issues credentials or embeds the API token; Host/Origin checks,
  session expiry closes event streams, logout clears cookies.
- credentials/accounts: provider keys are scoped by account/provider/engine and
  never fall back to the gateway key; model catalog cache is isolated per
  account; logout reuses the desktop saved-account tombstone policy; macOS and
  Windows credentials go through a private Electron safeStorage helper.
- execution: input queue claims its slot before async preparation, keeps input on
  failure, stops cleanly while preserving streamed output, pauses on save
  failure, and deleting a task stops and clears it; SDK session context is
  restored after refresh and Host restart.
- web shim: unsupported actions fail instead of reporting success.
- desktop explicit Host mode: auth, interaction and input-queue events reach the
  existing channels; shared storage cores (project aliases, recent workdirs,
  ghost snapshot worker) are used by both desktop and Host.
- CI: Host regression matrix on macOS, Windows and Linux; fix the task tag
  migration test to use the new migration config.

Out of scope here: a windowless Electron helper and custom MCP storage
extraction. Simulated OS tests do not replace real keychain/DPAPI or
three-platform validation; see docs/host/pr-9246-completion.md.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 00:31:13 +13:00
Lizi
5c1ddeeab2 Merge pull request #8947 from makecindy/research/feishu-official-bot
feat(feishu): 接入桌面官方飞书及工作电脑切换
2026-11-07 03:08:36 +08:00
Lizi
3f1f8b6f01 Merge pull request #9138 from makecindy/dash/restart-borrowed-node-scope
fix(scripts): restart 不再按借用的 Node 路径认领其他 checkout 的进程
2026-11-06 19:44:03 +08:00
Dash
240d95269b fix(scripts): 路径含「空格 + 横线」的借用 node 也能整段剥掉
候选路径是否为真实文件已由 isExistingFile 把关,不会误剥;去掉多余的
` -` 守卫,补 checkout 路径含 ` - ` 的回归用例。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-06 23:54:11 +13:00
Dash
4abe06176c fix(scripts): 用文件系统区分启动器路径与像启动器的目录名
上一版以第一个后接空白的 node/pnpm 文件名为界,checkout 路径形如
/repo/node workspace/cindy 时会把 /repo/node 当成启动器剥掉,丢掉 checkout
前缀。未加引号的候选改为逐个确认确实是文件才算启动器。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-06 22:30:59 +13:00
Dash
a27a198cd7 fix(scripts): 借用的 node 路径含空格时也整段剥掉
ps 不给带空格的参数补引号,上一版按首个空白切词,路径含空格时只剥到一半,
其他 checkout 的进程仍会被认成本 checkout 的。改为以第一个后接空白的启动器
文件名为界,并补未加引号、路径含空格的用例。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-06 22:21:50 +13:00
Dash
34f065e723 fix(scripts): restart 不再按借用的 Node 路径认领其他 checkout 的进程
另一份 checkout 借用本 checkout 自带的 node(或 pnpm 入口)启动 dev 时,
进程命令行开头带着本 checkout 的路径,本 checkout 的 restart 会把它当成
自己的实例整组杀掉。判断归属前先去掉命令行开头的 Node 运行时与包管理器
入口;Electron、electron-forge 等指向 checkout 自身依赖的路径仍是归属依据。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-06 22:15:12 +13:00
xuzini-xzn
b29f8579a1 feat(model-providers): add Magpie gateway preset
Preserve empty catalog success only after confirming the Magpie gateway and include its official MIT mark with synchronized notices.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com>
2026-11-06 16:44:06 +08:00
DavidShen
6bb8155481 Merge origin/main and preserve preview shortcut behavior
Signed-off-by: DavidShen <david@xd.com>
2026-11-05 23:29:14 +08:00
DavidShen
794a6be3f4 fix(desktop): restore remote prompt recommendations and regression checks
Signed-off-by: DavidShen <david@xd.com>
2026-11-05 23:05:26 +08:00
DavidShen
a4d62bd690 fix(pi): recover pending usage pricing and confirmed currency
Signed-off-by: DavidShen <david@xd.com>
2026-11-05 21:09:09 +08:00
DavidShen
fb14fa181a fix(pi): persist request usage across retries and terminal failures
Signed-off-by: DavidShen <david@xd.com>
2026-11-05 20:38:53 +08:00
xd-bobo
a2708f030c feat(desktop): connect the official Feishu / Lark bot
- Endpoints: new cross-region key feishuHookWsUrl (wss:). The released
  manifests leave it empty, so the entry stays hidden until the service
  is deployed.
- Hook control: a feishu lane on the provider-neutral state machine.
  Hello declares provider-bind / provider-prefs / session-picker /
  provider:feishu only; topic lanes count as group turns; official
  Feishu turns keep origin hook (never the personal bot's trusted im
  source); bind and AppLink URLs are allowlisted (feishuDeepLink.ts).
- Settings → IM bots: the official Feishu / Lark card (authorize page,
  one-time bind code, open bot, unlink, app-changed notice),
  workspace preferences and settings search; 12 locales and glossary.
- cindy://settings/im-bot?group=cindy|personal deep link, used by the
  bot's "open Cindy settings" button.

Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-11-05 17:38:40 +08:00
DavidShen
f89f1d5b42 fix(desktop): complete auxiliary model search bindings
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-05 15:29:43 +08:00
DavidShen
8a49c3febd Merge origin/main into cindy/zealous-kernighan
Resolve settings search definitions and preserve dynamic plugin shortcuts.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-05 15:06:37 +08:00
Lizi
e665fb3974 Merge pull request #8789 from makecindy/cindy/radiant-hopper
ci(database): 按数据库改动执行真实迁移回放
2026-11-05 09:27:02 +08:00
DavidShen
b44abebe30 Merge main and preserve setup migration search entry
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-04 21:45:02 +08:00
kirozeng
38cc064504 docs(design-rules): 把 DESIGN.md 拆成阅读入口与专题文件
DESIGN.md 已有 453KB,改 UI 前却要求必读,Agent 和贡献者读取成本过高。把只在
特定功能才需要的章节移到专题文件,开头新增阅读路由,改 UI 时按路由读取。

正文原样搬动,原位置保留标题和跳转,章节编号不变,不改规则和界面数值。登录色表
随 §16 移到 login-flow.md,生成器目标同步调整。PR 设计依据门禁补上新专题文件名。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-04 19:15:05 +08:00
Dash
35a0206883 ci(database): gate DB tier on sources it imports directly
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-04 21:54:39 +13:00
Dash
3f7ec9e449 ci(database): gate real migration replay on database changes
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-04 21:38:11 +13:00