mirror of
https://github.com/makecindy/cindy.git
synced 2026-12-03 23:31:02 +08:00
* feat(mobile): 首页显示菜单对齐桌面并支持任务信息显示 - 显示菜单改为与桌面一致的分组/任务排序/项目排序、任务状态/筛选、显示/任务信息结构,一级行显示当前值 - 任务行按勾选显示时间、PR、worktree、Token、费用,并支持文字/列表两种显示形态 - 新增按创建时间排序、项目/Harness/最近活跃筛选 - 为 react-native-screens 与 expo-router 打补丁:iOS 顶栏菜单复选后保持展开并即时刷新勾选与副标题 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 显示菜单筛选覆盖共享与自动化任务、展开中菜单同步禁用态 - 筛选同样作用于共享任务分组(Harness / 最近活跃),自动化组按每次运行单独筛选并重新折叠 - 展开中的 iOS 菜单副本同步勾选、禁用与副标题,勾选项目后「重置筛选」立即可点 - PR 状态查询失败时沿用同一 PR 的上次状态 - 首页被其他页面盖住时暂停任务行的 PR 轮询,回到首页时补查 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 置顶不受筛选、项目筛选按账号隔离、最近活跃筛选随时间刷新 - 与桌面一致,筛选不作用于置顶区 - 项目筛选随保存时的账号身份存取,换账号后不再把新账号首页筛空 - 「最近活跃」筛选在首页可见时每 5 分钟按当前时间重算 - 任务信息分隔符改用与时间相同的语义字色,不再叠透明度 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 自动化组按组内运行计数与按最新创建时间排序 - 筛选后的项目计数按自动化组内运行数累加,与初始项目分组同口径 - 「创建时间」排序取自动化组内最新创建的运行,不受较旧的组代表影响 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 任务行 PR 状态在节流后补查、回到前台时刷新 - 任务有更新却撞上在途请求或 10 秒节流时,到点补查一次,刚创建的 PR 不必等下一轮轮询 - 应用从后台回到前台时立即补查 PR 状态 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 回到首页或前台时 PR 状态绕过常规缓存期 PR 状态的所有刷新时机统一由 refreshHomeSessionPr 分两档判定:挂载与定时轮询沿用 90 秒缓存; 任务更新、回到首页、回到前台属事件触发,只保留 10 秒防抖,被挡住时到点补查。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 顶栏菜单更新时同时复用同排的普通按钮 选中具体电脑时顶栏右侧还有远程桌面按钮;它此前不参与复用,每次菜单勾选都会新建按钮、 整组重新赋值并关掉展开中的菜单。现在普通按钮与菜单按钮在配置(菜单除外)不变时都复用原对象。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 项目筛选候选取设备范围内的项目全集 显示菜单「筛选 › 项目」的候选与计数不再受搜索词和任务状态影响,已选中的项目不会从菜单消失。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 首页视图偏好只持久化用户 override 写入时把改动合并进已存的稀疏记录,没碰过的设置不再固化为当时的默认值; 筛选重置为「全部」时删除对应字段,恢复跟随默认(configuration-and-overrides §2)。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * docs(design): 随 main 更新重新生成设计台账计数 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(i18n): 显示菜单英日韩文案改回「任务」术语 任务排序 / 任务状态 / 项目排序「跟随任务」/ 任务信息在 en、ja、ko 中改用术语表已裁决的 Task、タスク、작업,不再出现内部用语 Session。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 任务信息去掉 worktree,对话计数按自动化运行数累加 - 产品规则 sidebar-redesign-plan §3.4 限定 worktree 标识仅本机 Desktop,Mobile 任务信息不再提供该项,旧勾选读取时丢弃 - 「筛选 › 项目 › 对话」的数量与项目候选同口径,自动化组行按组内运行数计 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 筛选中拖动项目时主机账本只重排可见项目 选中电脑且开启项目筛选时,主机账本分支改用实际渲染(已筛选)的项目作为可见集, 被筛掉的项目在主机顺序中保持原槽位,与本地账本分支一致。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 会改变菜单结构的「按项目分组」选完收起;韩文对话用语统一为채팅 - 「按项目分组」会增删「项目排序」子菜单,不再标记保持展开;新增不变量测试: 所有保持展开的选项点击后菜单 id 层级不变 - 韩文「分组 › 对话」与项目筛选里的对话同用术语表已裁决的 채팅 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
159 lines
9.5 KiB
JSON
159 lines
9.5 KiB
JSON
{
|
|
"name": "cindy",
|
|
"private": true,
|
|
"description": "Cindy open-source client monorepo — desktop, mobile, and shared packages",
|
|
"license": "Apache-2.0",
|
|
"author": {
|
|
"name": "XD Inc.",
|
|
"email": "feedback@cindy.app"
|
|
},
|
|
"homepage": "https://cindy.app",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/makecindy/cindy.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/makecindy/cindy/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.12",
|
|
"pnpm": ">=10.7 <11"
|
|
},
|
|
"packageManager": "pnpm@10.33.2+sha512.a90faf6feeab71ad6c6e57f94e0fe1a12f5dcc22cd754db40ae9593eb6a3e0b6b12e3540218bb37ae083404b1f2ce6db2a4121e979829b4aff94b99f49da1cf8",
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"@parcel/watcher",
|
|
"better-sqlite3",
|
|
"electron",
|
|
"electron-winstaller",
|
|
"esbuild",
|
|
"node-pty",
|
|
"sharp"
|
|
],
|
|
"supportedArchitectures": {
|
|
"os": [
|
|
"win32",
|
|
"darwin",
|
|
"linux"
|
|
],
|
|
"cpu": [
|
|
"x64",
|
|
"arm64"
|
|
],
|
|
"libc": [
|
|
"glibc"
|
|
]
|
|
},
|
|
"overrides": {
|
|
"@electron/rebuild": "^4.0.3",
|
|
"protobufjs": "7.6.5",
|
|
"tar": "^7.5.21",
|
|
"brace-expansion@^5.0.0": "^5.0.8",
|
|
"@anthropic-ai/sdk": "0.93.0",
|
|
"js-yaml@^4.0.0": "^4.3.0",
|
|
"zod": "4.3.6",
|
|
"tmp": "^0.2.7",
|
|
"fast-uri": "^3.1.4",
|
|
"sharp": "^0.35.0",
|
|
"@esbuild-kit/core-utils>esbuild": "^0.25.0",
|
|
"builder-util-runtime": "^9.7.0"
|
|
},
|
|
"patchedDependencies": {
|
|
"harmonyos-sans-sc-webfont-splitted": "dependency-patches/harmonyos-sans-sc-webfont-splitted.patch",
|
|
"react-native@0.85.3": "dependency-patches/react-native@0.85.3.patch",
|
|
"react-native-uitextview@2.2.0": "dependency-patches/react-native-uitextview@2.2.0.patch",
|
|
"react-native-webview@13.16.1": "dependency-patches/react-native-webview@13.16.1.patch",
|
|
"expo-image-manipulator@57.0.14": "dependency-patches/expo-image-manipulator@57.0.14.patch",
|
|
"expo-paste-input@0.2.2": "dependency-patches/expo-paste-input@0.2.2.patch",
|
|
"rollup@4.62.2": "dependency-patches/rollup@4.62.2.patch",
|
|
"@expo/cli@57.0.25": "dependency-patches/@expo__cli@57.0.25.patch",
|
|
"react-native-screens@4.26.2": "dependency-patches/react-native-screens@4.26.2.patch",
|
|
"expo-router@57.0.17": "dependency-patches/expo-router@57.0.17.patch"
|
|
},
|
|
"allowUnusedPatches": true
|
|
},
|
|
"scripts": {
|
|
"h": "node scripts/help.mjs",
|
|
"mobile:xcode": "node apps/mobile/scripts/open-ios-xcode.mjs",
|
|
"mobile:sim:rebuild": "node scripts/ensure-deps.mjs --workspace-only && node apps/mobile/scripts/sim-rebuild.mjs",
|
|
"mobile:sim:start": "node scripts/ensure-deps.mjs --workspace-only && node apps/mobile/scripts/sim-start.mjs",
|
|
"mobile:sim:start:cn": "node scripts/ensure-deps.mjs --workspace-only && node apps/mobile/scripts/sim-start.mjs --region=cn",
|
|
"mobile:sim:whoami": "node scripts/ensure-deps.mjs --workspace-only && node apps/mobile/scripts/sim-whoami.mjs",
|
|
"mobile:sim:open": "node scripts/ensure-deps.mjs --workspace-only && node apps/mobile/scripts/sim-open.mjs",
|
|
"sync:mobile-rich-content-assets": "node apps/mobile/scripts/sync-rich-content-assets.mjs",
|
|
"mobile:release:check": "node apps/mobile/scripts/release-with-env.mjs check",
|
|
"mobile:release:prod": "node apps/mobile/scripts/release-with-env.mjs prod",
|
|
"mobile:build:ios": "node apps/mobile/scripts/build-ios.mjs",
|
|
"mobile:build:android": "node apps/mobile/scripts/build-android.mjs",
|
|
"ensure-deps": "node scripts/ensure-deps.mjs",
|
|
"sync:browser-runtime": "node scripts/browser-runtime/sync.mjs",
|
|
"repo:worktrees": "node scripts/repo-worktrees.mjs",
|
|
"update:claude": "node tools/claude/update.mjs",
|
|
"update:codex": "node tools/codex/update.mjs",
|
|
"update:codex-package": "node tools/codex-package/update.mjs",
|
|
"update:ripgrep": "node tools/ripgrep/update.mjs",
|
|
"update:pi": "node tools/pi/update.mjs",
|
|
"sync:pi-model-catalog": "node tools/pi/sync-model-catalog.mjs",
|
|
"update:vendors": "node tools/claude/update.mjs && node tools/codex/update.mjs && node tools/ripgrep/update.mjs && node tools/pi/update.mjs",
|
|
"install:claude": "node scripts/ensure-agent-binaries.mjs --kinds=claude",
|
|
"install:codex": "node scripts/ensure-agent-binaries.mjs --kinds=codex",
|
|
"install:ripgrep": "node scripts/ensure-agent-binaries.mjs --kinds=ripgrep",
|
|
"install:pi": "node scripts/ensure-agent-binaries.mjs --kinds=pi",
|
|
"install:agent-binaries": "node scripts/ensure-agent-binaries.mjs",
|
|
"postinstall": "node scripts/ensure-agent-binaries.mjs --best-effort && node scripts/fix-node-pty-perms.mjs",
|
|
"dev:desktop": "node scripts/ensure-deps.mjs && node scripts/ensure-dev-runtime-assets.mjs && pnpm --filter desktop dev",
|
|
"dev:desktop:remote": "node scripts/ensure-deps.mjs && node scripts/ensure-dev-runtime-assets.mjs && pnpm --filter desktop dev:remote",
|
|
"restart:desktop:remote": "node scripts/desktop-restart-runner.mjs --wait-ready",
|
|
"restart:desktop:local": "node scripts/desktop-restart-runner.mjs --local --wait-ready",
|
|
"desktop:whoami": "node scripts/desktop-whoami.mjs",
|
|
"dev:desktop:inspect": "node scripts/ensure-deps.mjs && node scripts/ensure-dev-runtime-assets.mjs && pnpm --filter desktop dev:inspect",
|
|
"benchmark:voice-input": "node scripts/voice-input-benchmark.mjs",
|
|
"benchmark:browser": "node --import tsx scripts/browser-capability-benchmark.mjs",
|
|
"benchmark:desktop-workers": "node scripts/desktop-worker-benchmark.mjs",
|
|
"dev:embed:search": "node scripts/dev-embed-search.mjs",
|
|
"demo:legacy-migration": "tsx scripts/dev-legacy-migration-demo.mts",
|
|
"build": "node scripts/ensure-deps.mjs && pnpm --filter desktop build",
|
|
"release:package": "node scripts/ensure-deps.mjs && node apps/desktop/scripts/package-desktop.mjs",
|
|
"check:i18n": "node scripts/check-i18n.mjs",
|
|
"check:i18n-glossary": "node scripts/check-i18n-glossary.mjs",
|
|
"check:i18n-glossary:report": "node scripts/check-i18n-glossary.mjs --report",
|
|
"check:design-colors": "node scripts/hardcoded-color-audit.mjs",
|
|
"report:design-colors": "node scripts/hardcoded-color-audit.mjs --report",
|
|
"check:design-inventory": "node scripts/design-inventory.mjs --check",
|
|
"design:inventory": "node scripts/design-inventory.mjs",
|
|
"i18n:glossary-doc": "node scripts/generate-glossary-doc.mjs",
|
|
"check:brand-terminology": "node scripts/brand-terminology-guard.mjs",
|
|
"check:endpoints": "node scripts/check-endpoint-literals.mjs",
|
|
"check:dev-docs": "node --test scripts/__tests__/dev-docs-contract.test.mjs",
|
|
"check:dco": "node scripts/check-dco.mjs",
|
|
"dco:install-hook": "node scripts/install-dco-hook.mjs",
|
|
"licenses:generate": "node scripts/generate-third-party-notices.mjs",
|
|
"lint": "pnpm -r lint",
|
|
"format": "pnpm -r format",
|
|
"test:runner": "node --test scripts/__tests__/test-workspaces.test.mjs scripts/__tests__/remote-bundle-inputs.test.mjs scripts/__tests__/test-related.test.mjs scripts/__tests__/desktop-worker-benchmark.test.mjs scripts/__tests__/dev-docs-contract.test.mjs scripts/__tests__/restart-desktop-remote.test.mjs scripts/__tests__/dev-migration-policy.test.mjs scripts/__tests__/ensure-deps.test.mjs scripts/__tests__/client-endpoint-build-env.test.mjs scripts/__tests__/log-upload-build-env.test.mjs scripts/__tests__/desktop-dev-region.test.mjs scripts/__tests__/desktop-dev-node-options.test.mjs scripts/__tests__/endpoint-consistency.test.mjs scripts/__tests__/endpoint-local-file.test.mjs scripts/__tests__/ensure-agent-binaries.test.mjs scripts/__tests__/ensure-android-platform-tools.test.mjs scripts/__tests__/fetch-with-timeout.test.mjs scripts/__tests__/agent-binary-cdn-fallback.test.mjs scripts/__tests__/ensure-binary-fallback.test.mjs scripts/__tests__/verify-sha256.test.mjs scripts/__tests__/codex-package-update-layout.test.mjs scripts/__tests__/pi-update-layout.test.mjs scripts/__tests__/migration-freeze.test.mjs scripts/__tests__/third-party-notices.test.mjs scripts/__tests__/brand-identity-sync.test.mjs scripts/__tests__/check-dco.test.mjs scripts/__tests__/package-args.test.mjs scripts/__tests__/notarize-mac-app.test.mjs scripts/__tests__/glossary-rules.test.mjs scripts/__tests__/design-inventory.test.mjs scripts/__tests__/hardcoded-color-audit.test.mjs && node apps/desktop/scripts/check-windows-atomic-rename.mjs",
|
|
"test:workspaces": "node scripts/test-workspaces.mjs",
|
|
"test:unit": "pnpm test:runner && node scripts/test-workspaces.mjs --tier unit",
|
|
"test:unit:related": "node scripts/test-workspaces.mjs --tier unit --related",
|
|
"test:integration": "pnpm test:runner && node scripts/test-workspaces.mjs --tier integration",
|
|
"test:e2e": "pnpm test:runner && node scripts/test-workspaces.mjs --tier e2e",
|
|
"test:all": "pnpm test:runner && node scripts/test-workspaces.mjs --all",
|
|
"test:git-integration": "pnpm test:runner && node scripts/test-workspaces.mjs --tier git-integration",
|
|
"test:db": "pnpm test:runner && node scripts/test-workspaces.mjs --tier db",
|
|
"test:guard": "node scripts/test-workspaces.mjs --tier guard",
|
|
"test:device-link": "node apps/mobile/scripts/device-link-reconnect-smoke.mjs",
|
|
"test:peer-transfer": "node scripts/peer-transfer-acceptance.mjs",
|
|
"ci:scheduler-guard": "node scripts/scheduler-ci-guard.mjs",
|
|
"pctx": "node packages/project-context/dist/cli.js",
|
|
"pctx:build": "pnpm --filter project-context build"
|
|
},
|
|
"dependencies": {
|
|
"gray-matter": "^4.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"spdx-expression-parse": "3.0.1",
|
|
"@types/ws": "^8.18.1",
|
|
"vitest": "^3.2.4",
|
|
"ws": "^8.18.3"
|
|
}
|
|
}
|