Commit Graph

103 Commits

Author SHA1 Message Date
yan
c720c4a35e fix(build): migrate workspace readers and isolate pnpm global config
Limit workspace selectors to the packages block and read license targets from pnpm-workspace.yaml with a declared YAML dependency. Give each unverified fetch or install a private empty temporary global config with one shared cleanup owner, independent of tracked content and links.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: yan <yan233@xd.com>
2026-11-14 11:25:22 +08:00
yan
49771485c1 build: 升级 pnpm 11 并保留并行安装
Pin pnpm 11.28.9 with the upstream hoisted-copy fix, migrate configuration without changing application dependency resolutions, and keep the existing build-script allowlist. Align managed Make tools and diagnostics, preserve Intel Mac support with the official Node package, and retain configuration and credential isolation for unverified installs and cache warming.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: yan <yan233@xd.com>
2026-11-14 11:25:21 +08:00
Dash
9bef6fcf28 Merge main into Host M1 and carry Pi package watcher fix into core
Regenerate the Host channel inventory from the merged sources.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-14 04:55:29 +13:00
Dash
205ad0a9b4 Merge main into Host M1 integration for account model discovery
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-14 04:44:10 +13:00
Lizi
4e1800c0d5 Merge pull request #6656 from A1aZ/fix/6650-group-voice
fix(desktop): 补齐伙伴主群和话题回复的语音输入
2026-11-13 22:50:23 +08:00
Dash
6a48285974 feat(host): run Claude, Codex and Pi tasks on the Node Host as the desktop does
The Node Host builds its Claude, Codex and Pi engines from the same
modules as the desktop, with its own ports: model context and efforts,
disabled and managed Skills, the plugin roster and capability routing,
engine model lists, turn change sets and git savepoints, worktree
runtime leases, the loopback compatibility proxy and subscription
bridges, Codex native login reconciliation and invalidation, Pi native
providers and packages, the Pi persistent subagent runner, auto-review
and the auxiliary model chain, the vision bridge, the /learn capture,
and the event and tool input redaction before events leave the Host.

Parity tests run the desktop and Host code on the same inputs; Host
end-to-end scripts run the bundled engines against a local mock
upstream with an isolated HOME.
docs/host/personal-migration-release-table.md records, item by item,
what is aligned, the known differences and what remains before the
personal edition can move to the Host.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-13 22:44:27 +13:00
Dash
fafb40d0b5 Merge origin/main into cindy/upbeat-babbage
Preserve notification background holds alongside retained invoke caches, and regenerate the direct-link runtime from merged sources.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-13 10:03:40 +13:00
Alan Z
53ff084524 fix: preserve group voice ownership and sync main
Reject outbox restoration while dictation owns the draft and prevent
cancelled recordings from dispatching new refinement requests.

Merge main c3235656b6 and keep memory
initialization serialized without recursively entering its mutation queue.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
2026-11-12 16:37:19 +08:00
Dash
664d86d4bd docs(host): 生成桌面 IPC 通道的 Host 覆盖清单与真实使用排行
scripts/host-channel-coverage.mjs 用 TypeScript 类型检查器解析桌面主进程全部
ipcMain 注册(含常量、模板、循环与包装函数),按“已在合同 / 客户端自有 /
只属于窗口 / Host 还没接”分类,生成 docs/host/channel-coverage.md。
host-client-usage-tour.mjs 在隔离 --mock 沙箱里走一遍界面夹具,调用计数存为
docs/host/evidence/channel-usage-mock-tour.json,清单按它给未接通道排序。

当前:1454 个通道,合同 61、窗口 362、Host 未接 1029;夹具巡检实际调用 253 个,
其中 150 个 Host 还没接。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:06:34 +13:00
Alan Z
37bc2d72b9 Merge main and retain both dependency patch sets
Resolve dependency manifest, lockfile and documentation conflicts while preserving the Terrazzo parser and Expo image patches.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
2026-11-11 20:36:42 +08:00
Dash
e056982763 Merge remote-tracking branch 'origin/main' into cindy/upbeat-babbage
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Assisted-by: Cindy (https://cindy.app)

# Conflicts:
#	apps/desktop/src/main/localDb/ipc/messages.ts
2026-11-12 01:14:35 +13:00
Alan Z
47b8ca86da Merge main into group voice input branch
Preserve reply composer and plan-read fixture coverage; update capture fakes for the start-cue readiness contract.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
2026-11-11 19:23:17 +08:00
Dash
7a8e595fd5 test(device-link): add a remote transfer baseline over a loopback relay
One command (pnpm transfer:baseline) replays a fixed remote session for the
phone and desktop controller profiles through the self-hosted relay on
127.0.0.1 and counts every WebSocket frame on the controller socket: wire
bytes, TCP bytes, decoded bytes, frames and logical messages per stage,
channel and direction. It writes JSON (report schema 5) and a Markdown
table outside the repo.

- Scenario 4: cold open of a 10-turn task, a live turn with a 1.05 MiB tool
  result, reconnect with catch-up, a cold sidebar refresh with read-ahead,
  ordinary visible tool results, expanding folded and large work groups,
  a live turn with a group kept expanded, repeated sidebar list reads
  (phone back from background, desktop reconcile; 30 and 200 tasks), and a
  fourth host for reconnects after read-ahead and after a long turn and
  for expanding a running group. Watched live turns advance one step at a
  time after the controller's debounced reads settle, so results are
  deterministic: each stage records a signature (history/detail reads and
  304s, work patches, history notices) that repeats across runs.
- dataTotals exclude transport ACKs and relay control frames; ACK and TCP
  bytes are reported separately. Channels break decoded bytes down by
  maker event type, message role, body reuse and target task. Gzipped
  results and list delta patches, and pushes compressed with the product's
  push dictionary, are inflated and counted; undecodable ones are reported,
  not guessed.
- The run fails when a self-check fails (48 for both profiles, 16 for
  TRANSFER_BASELINE_SCOPE=lists): every stage carries traffic and the
  stages read what they are named after.
- Capability switches add or drop declared capabilities and per-request
  transfer fields without code changes; harness switches cover the phone
  stop keeping its result cache, permessage-deflate and realistic task
  rows. profiles.ts mirrors the controller capability lists of the base
  product and cites where they come from.

The controlled side runs the Desktop dispatcher, the real SQLite schema
from the migration chain and the real history/session IPC handlers;
controllers run DeviceLinkClient and the shared HistoryViewController, and
phone recovery uses the Mobile recovery core. A few small reads are stubbed
and marked in the report. Not part of any test tier; it only runs on
demand.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 21:04:41 +13:00
Dash
05d306379f fix(mobile): 修复多类线上闪退并留存 iOS 崩溃符号
按商店后台与 Xcode Organizer 里的线上崩溃日志逐类处理:

- JS 致命错误:启动稳定后(根布局首次提交 20 秒后),渲染报错由根级
  RootErrorBoundary 显示可重新加载的错误页,回调与定时器里的未捕获报错由
  jsErrorGuard 降为非致命。窗口内保持致命,expo-updates 的错误恢复照旧回滚坏热更。
  本机诊断记录新增 `js error` 事件,只含报错类型与打包文件行列号。
- iOS 0xdead10cc:后台启动时不读取入站分享暂存区(读取期间持有 App Group 文件锁),
  回到前台再读。
- Android 图片绘制崩溃:expo-image 补丁在绘制前修正未预乘标记,画布仍拒绝时丢弃
  这张图;该模块改为从源码编译,否则补丁进不了包。
- Android 长按输入框崩溃:expo-paste-input 补丁在选区没有可见宽度时让本次触摸
  不触发长按,避开系统零尺寸拖拽缩略图的异常。
- build-ios.mjs 把 archive 里的 dSYM 打成 .dSYMs.zip 留在 .ipa 旁边。

只改变 Android 的 runtime fingerprint(iOS 不变):两个 Android 补丁须随冷更发布,
其余为纯 JS 改动。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 18:31:29 +13:00
Alan Z
77a030bbce Merge main into fix/6650-group-voice
Sync main at 3249e9507a. Preserve the reply
composer and its checks alongside main's account and rich-media fixtures,
and retain the shared Desktop Terra assembly imports. Move the recording
lease compatibility note into main's split protocol records.

Keep current-run refinement and failure checks after stop IPC; block voice
input while a reply is sending and complete cancellation after IPC rejection.
Close the cached overlay independently of queued provider cleanup, scope its
audio leases to each recording, and reject stale stop/show/close callbacks.
Reattach the Pi package watcher before observing a replaced directory token.

Synchronize cache and checkout fixtures on real completion boundaries, drain
their pending writers, and load the real preview once before keyboard tests.
Keep the behavioral assertions and file-level test timeouts.
Wait for agent startup before measuring failed-start slot cleanup. Serialize
memory store initialization with the existing directory mutation queue to
prevent concurrent Windows metadata/index replacement without changing data
formats, ownership checks or cleanup of redundant database handles.

Refs: #6656

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
2026-11-11 10:47:26 +08:00
Dash
71b0d9e9a7 chore(repo): 统计合并冲突热点,并把「不制造共享追加点」写进工程约定
未合并 PR 618 个里有 368 个处于冲突。对最近 14 天更新过的 189 个冲突 PR 逐个
与 main 模拟合并后发现,冲突集中的位置大多不是文件大,而是许多 PR 改同一行或
都往同一处插入:协议兼容文档的文首(已在 #9755 拆开)、大文件的 import 区、
手动递增的内置 Skill 版本号、helper 工具的依赖对象与类目说明、台账表格、
术语表开头。

- 新增 `pnpm repo:conflict-hotspots`:用 gh 列出冲突 PR,取各自 head 到临时
  引用,用 git merge-tree 在内存里模拟合并,报告冲突集中的文件与文件内位置,
  并标出多数 PR 命中同一位置的「共享追加点」。不改工作区与分支。
- 工程约定新增 §8:记录这次测得的集中位置与现状,以及新增登记点时的做法
  (一项一个文件、按键排序、从内容推导、统计数字不入库);Review 清单加一条。
- 根 AGENTS.md 加一条触发条件。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 14:40:48 +13:00
Alan Z
66f5ac181c fix(voice-input): isolate cancelled transcripts and recording audio leases
Revoke dictation event admission before asynchronous cancellation and bind
system audio leases to an optional sender-scoped recording identity, including
pending starts. Preserve legacy IPC callers and cleanup on errors/window exit.

Add real-handler/controller/queue/guard and renderer-hook regressions for
cancel-during-flush and replacement-during-dispose. Stabilize existing test
fixtures without changing assertions or timeouts, and patch Terrazzo parent
lookup to preserve inheritance while avoiding repeated global sorting.

Merge origin/main at 6cb02f6c8d.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
2026-11-10 21:14:45 +08:00
Lizi
2bc707061f Merge latest main into feat/agent-net-phase0
Merge origin/main at 00f65f30db. Move the remote connection settings onto the shared settings components, read the APNs environment through the signed profile, keep the communication entitlement on the app target only while the notification extension retains its keychain group, and regenerate the glossary and help knowledge from the merged source.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.com>
2026-11-10 18:19:23 +08: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
8f651cf80d feat(agent-net): 接通独立中转与桌面手机完整业务路径
为自建和本机中转接入独立 V2 身份、配对、加密传输及既有 Device Link 业务。
共享任务和供应商分享固定私有来源,保留 V1 兼容,补齐执行电脑、媒体、恢复和账号边界。
手机接入原生签名、UDP、发现、加密通知和按需视频;宿主与 CLI 支持运营者的推送桥。
加入原生 CI、部署接线与验证记录;生产部署和真机推送验收另按交接手册执行。

验证:Desktop Main 458 项、相关 Device Link 422 项、Mobile 122 项、原生 SDK 27 项、内核 31 项通过。
iOS/Android 原生构建与系统视频探针通过;类型、多语言、定向深浅色 UI 与测试卫生检查通过。
全分支 UI 关联构建因资源增长终止;已记录定向覆盖和未完成的目标环境验收。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.com>
2026-11-08 02:03:35 +08: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
Lizi
4f2f364678 Merge pull request #9292 from makecindy/cindy/silent-lamarr
feat(personal-build): 统一个人版构建、受保护升级与本地插件更新
2026-11-07 22:30:00 +08: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
Dash
6b4cc16e04 fix(deps): 固定根目录 React 为 19.2.3,避免手机端 19.3.0 造成桌面测试出现双份 React
手机端随 RN 0.88.1 固定 React 19.3.0,而桌面端仍用 19.2.3。hoisted 安装下根目录会混出 react 19.3.0 + react-dom 19.2.3,
桌面测试因此读到两份 React(hook dispatcher 为 null)。在根 devDependencies 固定 19.2.3 一对,桌面保持不变,手机端使用自己目录下的 19.3.0。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 21:25:46 +13:00
Dash
551405a32f build(mobile): 升级 Expo SDK 58 并适配原生依赖
保留原有手势、导航、文件读写和自建 OTA 行为,迁移原生补丁并记录真机构建与资源对比。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 20:41:04 +13:00
Dash
897a895b3c Merge main into PR #9246
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 19:53:42 +13:00
CHEYAN
a8e9b17382 feat: discover the profile owner and add a dev launcher that keeps a host running
The host now adopts the only account database in a profile instead of requiring
CINDY_HOST_OWNER (multiple accounts are refused rather than guessed). pnpm
dev:host reuses a running host or starts one before launching the desktop, so the
default dev path never falls back to the embedded runtime.

Verified: pnpm dev:host reused the running host and the desktop entered client
mode with the host serving every runtime channel.

Signed-off-by: CHEYAN <me@iamcheyan.com>
2026-11-05 16:52:37 +09:00
CHEYAN
b258d92145 feat(host): run a real Claude agent and stream chat over SSE
Make the database entry Electron-free (host UI, copy and slimming are injected),
add a Node loader for maker-core's `?raw` prompt assets, build the real
Maker/ClaudeCodeAgent graph over the shared storage, and expose POST /chat that
forwards Session events as SSE.

Verified: host /health reports the claude-code agent; authenticated /chat
streams the real runtime refusal (claude-code not authenticated: not_connected)
while an unauthenticated call is 401. Desktop typecheck passes.

Signed-off-by: CHEYAN <me@iamcheyan.com>
2026-11-04 22:00:42 +09:00
CHEYAN
9860b1ed3a feat(host): open the real Desktop owner database from Node
Extract host facts (logger paths, drizzle dir, sqlite-vec path) out of the
Electron imports so cindy-host can reuse the production storage stack instead
of growing a second one. Storage startup now shares the schema lease, the
migration runner, CJK trigger installation and vector loading, and both hosts
wrap the same handle-bound DbClient and OwnerSessionStorage mapping.

Verified on a temporary profile: 145 migrations applied, 87 tables, one task
created through the shared adapter and still listed after a host restart.

Signed-off-by: CHEYAN <me@iamcheyan.com>
2026-11-04 17:19:30 +09:00
CHEYAN
2f70be06ec feat(host): add loopback service shell and architecture map
Signed-off-by: CHEYAN <me@iamcheyan.com>
2026-11-04 16:13:50 +09:00
DavidShen
83c21bce22 Merge main into cindy/zealous-kernighan
Preserve settings search definitions alongside live settings revision subscriptions.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-04 14:45:03 +08:00
Dash
544e452423 feat(mobile): pnpm mobile:sim:up starts the phone app in one command
Agents had to chain boot, Metro, rebuild and whoami themselves, and after
one step failed they kept reporting the phone app as unbuildable. The new
command picks a device without disturbing other tasks (several candidates
make it ask instead of guessing), boots it, reuses or starts this
worktree's Metro (on a free port when 8081 belongs to another task),
installs the matching native app, launches it, waits for the bundle,
brings it back to the foreground when the system pushed it behind after
boot, and checks identity. It reads the Metro log sim-start records and
keeps its own output in the system temp directory, never in the worktree.
It can be rerun after the device idles off, and always ends with one JSON
line giving a code and the next step.

The root AGENTS.md module table now routes "seeing changes on the phone"
to the Mobile docs; the command and the rule that only a fresh run's code
counts as evidence live in docs/dev-rules/mobile-development.md.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-04 16:53:33 +13:00
DavidShen
0289ab2261 Merge main and reconcile viewport fixture fix
Keep the upstream callback fixture and its CI regression note; both branches contain the same updateJumpDown fix.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-04 10:43:54 +08:00
Lizi
ac78543044 Merge pull request #8630 from makecindy/dash/mobile-swiftui-host-containment
fix(mobile): 推迟 SwiftUI 宿主的控制器挂接,修复 iOS 安全区更新时闪退
2026-11-03 23:50:51 +08:00
DavidShen
25b4a6dddf Merge main and preserve Markdown preview focus coverage
Retain the focus-trap regression alongside the upstream shared preview scrim and panel.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-03 22:05:17 +08:00
Dash
da480196ec fix(mobile): 推迟 SwiftUI 宿主的控制器挂接,修复 iOS 安全区更新时闪退
Expo 的 SwiftUI 宿主视图挂上/卸下窗口时会同步 addChild/removeFromParent。
UIKit 在状态栏或安全区变化时正遍历父控制器的子控制器,若此时有
unstable_Immediate 状态提交让 Fabric 当场挂载,列表在遍历中被改动,
App 以 NSFastEnumerationMutation 中止。远程桌面叠层渲染在导航栈外,
它的 SwiftUI 宿主直接挂在根控制器下,画中画期间一直存在,更容易命中。

补丁让视图仍同步挂上/卸下,控制器父子关系改到下一轮主线程再同步。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-03 23:20:23 +13:00
Dash
eb865b7f92 feat(mobile): check Metro logs after simulator verification
sim:start now writes Metro output to apps/mobile/logs/metro-<port>.log, and
mobile:sim:logcheck reports what happened after the latest entry bundle: ERROR
and failed bundles fail, unlisted warnings must be reported, and an unknown
state is not a pass. Add the check to the simulator verification rules.

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-03 17:37:40 +13:00
DavidShen
c249bca6b4 merge: sync main and regenerate design inventory
Signed-off-by: DavidShen <david@xd.com>
2026-11-03 00:46:38 +08:00
DavidShen
ba19c720db fix(desktop): 统一设置搜索定义并修复 Markdown 预览快捷键
Signed-off-by: DavidShen <david@xd.com>
2026-11-02 20:29:16 +08:00
kirozeng
0063d16a07 chore(design): 设计台账只保留登记与人工区,统计改为按需生成
台账 GENERATED 区块移除可达组件、样式来源与 Token / 裸颜色 / 裸圆角统计,
只留 surface ID、平台、标题、生产入口与路由覆盖。统计随任意样式改动漂移,
每个 surface 只占一行,改到同一 surface 的 PR 合并时必然冲突且只能重跑
生成器解决;这项检查也不拦欠账增加。

- check:design-inventory 保留全部登记结构检查,CI 步骤改名为 registration
- 新增 pnpm design:inventory:report,统计输出到 gitignore 的 tmp/
- 治理 §2.1 / §9 与设计系统索引同步更新

Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-02 13:39:11 +08:00
nothingyuancando
5eced35a03 fix(scripts): reject incomplete brand guard file listings
Signed-off-by: nothingyuancando <1579035512@qq.com>
2026-10-31 21:10:02 +08:00
fmfsaisai
53110d5e80 feat(release): publish the page generation manual per client version
Add scripts/publish-page-manual.mjs to upload the bundled
PAGE-GENERATION.md to {cdnBaseUrl}/plugin-pages/manual/{version}/ with a
manifest.json. Version, region and commit come from build-info.json; the
manual bytes come from the build commit, and builds without the manual
are skipped. Versioned objects are never overwritten.

The shared path helper lives in apps/desktop/src/shared/pluginPageManual.mjs
so the client runtime can build the same URL later.

Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 11:34:16 +08:00
MagicLizi
baaaa406c7 Revert "Merge pull request #7123 from zqchris/cindy/merry-leakey"
This reverts commit 56e2fdf2aa, reversing
changes made to 206b24ccc8.

Conflict resolution:
- apps/mobile/src/session/BotGroupChatScreen.tsx: restore the pre-#7123
  timeline and offline note, and keep 5fd7c38ec1 (pending sends with
  retry/cancel, delayed offline notice, queue-aware composer) ported onto
  the pre-#7123 structure without AnimatedContentHeight or
  useMessageEntrances. Pending rows keep the stable `local:<clientId>` key
  for CompanionEntering so a confirmed send does not animate twice.
- docs/design-rules/design-inventory.md: regenerated from sources.

Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-26 22:20:30 +08:00
Chris
b3c1e1f13c fix(chat): coordinate continuous message layout and keyboard scrolling
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-25 17:07:17 +08:00
kirozeng
9478db1878 fix(design): 已删除的设计文档连完整路径写法一并拒绝,并补测试
回应 #6968 的审核意见:只从正则里去掉文件名不够——
`docs/design-rules/figma-component-spec.md §4` 这种完整路径仍会命中保留的
`docs/design-rules/` 目录前缀而通过,达不到「引用已删除文档不算设计依据」的目的。

- 判断前先把含 figma-component-spec 的整段写法(裸文件名、完整路径、Markdown
  链接,不分大小写)剔除,再用原有的设计文档特征判断;同时引用现行文档时
  顺带提到它不受影响。
- 新增 scripts/__tests__/check-pr-design-basis.test.mjs(3 个用例),并登记到
  test:runner。已临时去掉剔除逻辑确认用例 2 会失败。

Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-10-23 23:36:49 +08:00
Dash
75089bf711 refactor: organize session workflow boundaries and developer guidance
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-24 01:20:13 +13:00
Chris
e5e1487983 Merge remote-tracking branch 'upstream/main' into ui-page-check
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

# Conflicts:
#	docs/design-rules/DESIGN.md
2026-10-18 11:53:58 +08:00
DavidShen
4e52ef39f8 Merge origin/main into cindy/sturdy-jepsen
Signed-off-by: DavidShen <david@xd.com>
2026-10-17 19:05:27 +08:00
DavidShen
4de82d8f4a fix(mobile): 修复 Android 滚动接管后的消息文字误选
Signed-off-by: DavidShen <david@xd.com>
2026-10-17 18:36:57 +08:00