Commit Graph

508 Commits

Author SHA1 Message Date
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
Chris
c49c27d6c9 fix(preview): preserve source actions and recoverable viewer states
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-01 22:50:30 +08:00
Chris Zhang
3e93bb8e47 docs(readme): add daily star history with a quiet Cindy flourish (#7236) 2026-11-01 11:44:39 +08:00
Lizi
5f21775a79 Merge pull request #8251 from nothingyuancando/codex/fix-8132-brand-list-buffer
fix(scripts): reject incomplete brand guard file listings
2026-10-31 23:24:04 +09: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
57eb8ae382 Merge feat/page-manual-versioned-path into feat/page-manual-build-info
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 17:20:54 +08:00
fmfsaisai
b16c37f6f7 Merge origin/main into feat/page-manual-versioned-path
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>

# Conflicts:
#	docs/dev-rules/media-storage-and-protocols.md
#	docs/dev-rules/plugin-security-and-authoring.md
#	scripts/publish-page-manual.mjs
2026-10-31 17:14:01 +08:00
Lizi
40b0f5278c Merge pull request #8185 from zqchris/classical-chinese-locale
feat(i18n): 文言界面(简繁两版)与 AI 文言作答文风
2026-10-31 16:45:19 +09:00
fmfsaisai
28791dcf8d feat(release): bind the published page manual to the packaged bytes
package-desktop.mjs now refuses a versioned package when the manual has
uncommitted changes, and records the manual it actually packaged in
build-info.json as mcpAppsManual: { sha256, size } (null for versionless
builds or builds without the manual). publish-page-manual.mjs requires
the checkout's manual to match that record and rejects build-info files
from the old packager.

Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 15:41:27 +08:00
Lizi
1d9709be92 Merge pull request #8028 from makecindy/cindy/gentle-knuth
fix(desktop): 远控模型列表以任务所在电脑为准 #8010
2026-10-31 16:32:56 +09:00
fmfsaisai
50ccfc6f60 feat(release): publish the page manual under mcp-apps/manual
Rename the CDN prefix from plugin-pages/manual/ to mcp-apps/manual/ so
the path names the MCP Apps protocol it serves. Nothing has been
published under the old prefix.

Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 14:23:27 +08:00
fmfsaisai
9826417ba7 feat(release): put the client version in the page manual CDN path
Publish the manual to plugin-pages/manual/<version>/<sha256>.md so a
CDN object shows which client it belongs to, while the hash still keeps
two different manuals for the same version apart. The script now reads
version, region and release commit from the package's build-info.json,
rejects versionless/0.0.0 packages and checkouts that are not the
release commit, and uses the full manual name in the dev rules.

Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 14:02:02 +08:00
fmfsaisai
ca97326676 docs(repo): use the full page manual name in dev rules
Refer to 《Cindy MCP Apps 页面生成手册》 instead of the short 《页面生成手册》 in the media/plugin dev rules and the publish script header.

Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 13:32:51 +08:00
Chris
378820a7fe feat(i18n): add Simplified 文言 edition and classical reply styles
- New locale zh-Hans-x-lzh, generated from the Traditional edition (copy kept
  verbatim from zh-TW takes the zh-CN value; the rest goes through OpenCC tw2sp).
  Falls back to zh-CN, then en; never chosen from the OS language.
- The language menu has a single 文言 entry. Choosing it adds a row to the same
  card for script (简体 / 繁體) and AI reply style: classical prose (default),
  Tang poetry, Song ci, Yuan qu, Chu ci, parallel prose, pre-Qin masters,
  historian, Ming–Qing essays, or plain replies with the classical interface.
- Styles live in @cindy/maker-shared/classical-reply, grouped by literary
  family so Japanese / Korean classical editions can add their own later.
- The style rides the per-turn [UI language] note next to uiLanguage; the
  cached system prompt is unchanged. Desktop mirrors its choice to main over
  IPC; Mobile sends its own with each turn; IM channels keep the error-language
  note only.
- QA previews, glossary, docs and the installer message check cover the new
  edition.

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-31 13:18:15 +08:00
Chris
3019820b8f feat(i18n): add Classical Chinese (文言) UI edition with classical AI replies
Add a hand-selectable Classical Chinese locale (zh-Hant-x-lzh) across
Desktop, Mobile and native copy, written in Traditional characters with
Cindy's playful ancient-style voice, verse on welcome and milestone
screens, and plain wording for deletion, permission, credential and
payment prompts.

- The private-use tag keeps Intl dates, numbers and plurals on zh-Hant;
  missing keys fall back to zh-TW, then English. OS languages never
  resolve to it, and an app locale passed back through the main-process
  resolver keeps its identity instead of folding into zh-TW.
- With this interface the per-turn UI language note also asks the model
  to reply in Classical Chinese; switching languages replaces the note
  and ends the style. IM channels keep the error-language-only note.
  The cached system prompt is unchanged.
- Server-facing locales stay on existing values (zh-TW / zh-CN).
- Record the style guide and glossary terms; refresh login QA previews.

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-31 13:18:14 +08:00
Lizi
ebb2b34a7c Merge pull request #8177 from makecindy/feat/publish-page-manual
feat(release): 按内容寻址发布页面生成手册
2026-10-31 14:12:01 +09:00
DavidShen
cfa16f2da6 merge: sync main and reconcile locale updates for PR 8028
Signed-off-by: DavidShen <david@xd.com>
2026-10-31 12:40:07 +08:00
fmfsaisai
2d0a56bf56 docs(release): run the page manual publish on the release commit
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 12:06:36 +08:00
fmfsaisai
cfde405dff feat(release): address the page manual by content instead of version
Publish PAGE-GENERATION.md to plugin-pages/manual/<sha256>.md, the same
content-addressed pattern as the wallpaper assets. Clients build the URL
from the sha256 of their bundled manual, so the script runs by hand like
publish-wallpaper-videos.mjs and no longer needs build-info.json or the
external release kit. --check-cdn is the pre-release check.

Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-10-31 11:51:38 +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
DavidShen
1d23d8b520 Merge main into cindy/gentle-knuth and preserve permission regressions
Signed-off-by: DavidShen <david@xd.com>
2026-10-31 08:43:49 +08:00
DavidShen
e91b5a11f6 merge: sync main into PR #8139
Signed-off-by: DavidShen <david@xd.com>
2026-10-31 08:41:49 +08:00
Chris
9df1a495aa merge: preserve upstream Spanish dictation during locale sync
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-31 04:05:19 +08:00
Chris
2b771422a2 feat(i18n): add Spanish, French, German and regional Portuguese UI
Complete desktop and mobile catalogs and native copy for ten UI locales.
Keep Portugal and Brazil Portuguese separate, preserve service locale
contracts, and verify real desktop/iOS/Android language switching.

French catalog based on community contribution #7739 with updates
for the current source and terminology.

Co-authored-by: Digital Air Media <contact@digitalairmedia.eu>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-31 03:46:43 +08:00
DavidShen
e3c6bf6580 fix(ci): align media fixtures with native Windows paths
Signed-off-by: DavidShen <david@xd.com>
2026-10-31 03:25:42 +08:00
Cursor Agent
0f724deb18 fix(ci): raise brand terminology guard git ls-files maxBuffer
git ls-files -z exceeds Node's default 1 MiB spawnSync maxBuffer, so the
child is killed and check:brand-terminology fails with exit null.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Chris Zhang <zqchris@users.noreply.github.com>
2026-10-30 18:18:31 +00:00
DavidShen
22e32cbde2 Merge main into cindy/gentle-knuth and retain draft regressions
Signed-off-by: DavidShen <david@xd.com>
2026-10-30 20:43:48 +08:00
Lizi
e17f474283 Merge pull request #7964 from makecindy/dash/scheduler-restart-recovery
fix(scheduler): 修复应用退出误报失败及手动续跑记录脱节
2026-10-30 19:22:20 +08:00
DavidShen
14f923d751 test(desktop): 对齐远控目录路由的契约检查
同步模型选择、Worker 与 Agent 名单的宿主作用域约束,将既有静态契约归入 guard。

Signed-off-by: DavidShen <david@xd.com>
2026-10-30 14:10:10 +08:00
DavidShen
15e6865b0f fix(desktop): 远控模型列表以任务所在电脑为准 #8010
通过任务所在电脑读取模型目录,并补充权限、缓存与 mock 界面回归。

Signed-off-by: DavidShen <david@xd.com>
2026-10-30 13:42:36 +08:00
liugaowei
8809c487c7 merge: 同步 main 并保留插件委派兼容
Signed-off-by: liugaowei <liugaowei@xd.com>
2026-10-30 12:14:50 +08:00
Dash
e3889e3d8d fix(scheduler): 补齐退出竞态并统一续跑执行边界
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-30 12:36:34 +13:00
Lizi
105c2f2474 Merge pull request #7871 from zqchris/pi-runtime-health
feat(pi): measure preparation time and add runtime health check
2026-10-30 04:10:51 +08:00
Chris
c3c9b7e92a feat(pi): measure preparation time and add runtime health check
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-29 18:26:52 +08:00
liugaowei
72c6890c18 fix(plugin): 统一插件任务与普通任务的权限判断
Signed-off-by: liugaowei <liugaowei@xd.com>
2026-10-29 16:44:22 +08:00
yan
f03a2065b1 feat(provider-share): 支持受邀者直连执行电脑与短期授权
由组电脑分配与授权,受邀者直连执行电脑,保留中继回退、原任务位置、历史与图片传递。
按租约和启动代次约束本地能力,归档与删除及时取消准备,隔离迟到结果和未确认清理。
补齐预算与安全索引准入、自建中转切换生命周期,以及跨区身份请求的账号作用域检查。
同步协议、产品规则与真实生产入口回归。

Signed-off-by: yan <yan233@xd.com>
2026-10-29 15:14:27 +08:00
MagicLizi
aa00d858f2 fix(device-link): bind relay frames to the receiver lifetime
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-29 01:03:08 +08:00
MagicLizi
ccd913b4fa test(device-link): verify both peers in self-hosted relay interop
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-29 00:31:21 +08:00
MagicLizi
6322c7208e fix(device-link): close relay review and recovery gaps
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-28 23:56:33 +08:00
MagicLizi
2ca79792b6 feat(device-link): add self-hosted relay and one-click server deployment
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-28 23:32:07 +08:00
DavidShenXD
cdfec9aa5b feat(desktop): 内置截图工具,直接交给 Cindy AI 任务,支持滚动截图、区域录屏和 GIF,不再依赖IM工具 (#7300)
* feat(desktop): 截图直达 Cindy 任务并集成滚动截图与区域录制

Signed-off-by: DavidShen <david@xd.com>

* perf(desktop): 降低滚动截图匹配与录制预览开销

Signed-off-by: DavidShen <david@xd.com>

* perf(desktop): 加速截图像素转换并合并静止 GIF 帧

Signed-off-by: DavidShen <david@xd.com>

* test(desktop): 修正截图辅助进程的平台模拟与窗口契约登记

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 禁用截图浮层显示时的缩放动画

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 稳定双屏截图显示顺序并优化滚动预览

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 修复截图浮层再次打开后不可见

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 截图浮层用后销毁并重新预热

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 修复壁纸聊天区滚动截图匹配中断

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 独立截图编辑窗口并平滑滚动预览

滚动截图交接到无标题栏编辑窗,复用辅助窗口生命周期并校验文档与来源。
缩放与滚动保留原图和标注坐标,同步预览高度与新增内容的动画。
macOS 默认全局截图快捷键改为 Shift+Cmd+S,保持已有自定义设置。

验证:Desktop 类型检查、108 项定向测试、五语言深浅色 10 组 UI 检查和 2 组渐进预览检查通过。
Windows 实测全局唤起、滚动采集、独立编辑和原分辨率导出;macOS 尚未实机验证。
仅修改 Desktop,不涉及移动端原生配置、依赖或 fingerprint,不触发移动端冷更。

Signed-off-by: DavidShen <david@xd.com>

* feat(desktop): 重做录屏交互并支持预览复制

统一录屏入口、倒计时与紧凑控制条,完成后进入独立回放窗口。
补齐 WebM 时长及全屏权限,支持视频和 GIF 原文件复制与关闭后粘贴。
补齐窗口设计台账登记,避免长图断言序列化造成 CI 超时。

验证:定向测试、Desktop 类型检查、五语言深浅色 UI 检查通过。
Windows 实测录制、回放、全屏和原生复制粘贴;macOS 尚未实机验证。
仅涉及 Desktop 与工程台账,不修改 Mobile 原生配置或依赖,不触发冷更。

Signed-off-by: DavidShen <david@xd.com>

* test(desktop): 修复分享偏好原子写入测试的等待竞态

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 修复截图录屏交互并调整默认快捷键

截图工具条避开刘海与 Dock,完善触控板缩放、吸附和自动滚动权限提示。修复 macOS 开始录制时的窗口层级切换,预览显示时激活并聚焦窗口,扩大录制工具条拖动区域并稳定松手位置。

默认截图快捷键调整为 macOS Ctrl+Shift+A、Windows Alt+Shift+A,提示共用快捷键配置并保留用户自定义。同步五语言提示、设计规范和窗口行为文档。

验证:截图录屏 78 项定向测试、快捷键相关 59 项测试、Desktop 类型检查及录屏/GIF 深浅色界面检查通过;用户验收通过。Windows 本轮改动尚未实机验证。

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): 刷新模型压缩偏好删除与回滚缓存

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): preserve screenshot ownership and capture recovery

Signed-off-by: DavidShen <david@xd.com>

* fix(desktop): scope recording previews and defer screenshot submission

Signed-off-by: DavidShen <david@xd.com>

* test(desktop): remove obsolete submit-ref source assertions

Signed-off-by: DavidShen <david@xd.com>

---------

Signed-off-by: DavidShen <david@xd.com>
2026-10-28 09:52:13 +08:00
Dash
c2e3851656 feat(desktop): 支持原生触控板双指映射与侧栏坐标转换
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-28 02:31:27 +13:00
Lizi
edfcdc5ba3 Merge pull request #7346 from lengjingxu/fix/fast-activation-mic-keepalive
fix(voice-input): 快速启动不再因组件挂载重新点亮麦克风
2026-10-27 21:05:47 +08:00
Dash
46203f41b2 fix(voice-input): 启用意图立即跟随电源释放并复用测试模块
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-27 23:07:37 +13:00
Lizi
fb97ff1f99 Merge pull request #7432 from makecindy/dash/browser-read-latency
perf(browser): 消除纯读取固定延迟并补齐生命周期检查
2026-10-27 17:31:44 +08:00
Lizi
c1371d95d0 Merge pull request #7342 from makecindy/dash/browser-experience-cache
feat(browser): 支持按需学习配方与大结果补读
2026-10-27 16:31:47 +08:00
Dash
d01fea8f8c perf(browser): 将无 guard 配方提取接入固定 DOM 读取
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-27 20:49:33 +13:00
Dash
f4be3f8bd0 perf(browser): 消除固定 DOM 读取的交互等待并保留生命周期检查
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-27 20:49:33 +13:00
Dash
39e0107e2a fix(browser): 候选验证复用显式保存避免旧定义自动回写
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-27 18:58:24 +13:00
Dash
e57029b194 fix(browser): 限定延后验证候选的实际步骤能力
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-27 18:58:24 +13:00