Commit Graph

4 Commits

Author SHA1 Message Date
xxxcc
0339f94f74 feat(desktop): integrate plugin marketplace (#256)
* feat(desktop): integrate plugin marketplace

* style(desktop): normalize plugin market files

* fix(desktop): address plugin marketplace review

* fix(desktop): harden plugin market display and ledger

* fix(desktop): reject invalid plugin download expiry

* fix(desktop): align plugin market accessibility

* fix(desktop): refresh plugin market after auth changes

* feat(plugin): render market release icons

* fix(config): add global plugin endpoint

* fix(plugin): address market review findings

* fix(plugin): bind ledger writes to session owner

* fix(plugin): preserve market state on local uninstall

* fix(plugin): prevent icon referrer leakage

* fix(plugin): clarify market card action

* fix(plugin): ignore stale market detail requests

* fix(desktop): enable default-installed plugins

* feat(desktop): support public plugins in guest mode

* test(desktop): cover all local service endpoints

* fix(desktop): preserve market uninstall across owner switch

* fix(desktop): finish plugin operations safely across account switches

* fix(desktop): coordinate plugin mutations with account changes

* fix(desktop): close remaining plugin owner boundary gaps

* fix(desktop): require native authorization for market node plugins

* fix(desktop): close remaining market review races

* fix(desktop): bind market approval to session generation

* test(desktop): use valid signed-out auth mode

* fix(desktop): localize plugin market IPC errors

* fix(desktop): prioritize market endpoint availability
2026-07-24 23:53:53 +08:00
DavidShenXD
efe567ec3f revert(content-moderation): 回退 PR #243 (#290)
Reverts ac494388ae.

保留 PR #268/#275 后续的 OpenAI 授权修复,并移除已失效的中英文内容审核说明。

Signed-off-by: david <david@xd.com>
2026-07-24 18:42:13 +08:00
Lizi
ac494388ae feat(content-moderation): 完善审核流程与个人模型授权 (#243)
* Migrated from private repo PR #592

Transplanted onto the open-source root. 4 test files conflicted with the
open-source snapshot curation; both sides had made identical Windows
compat fixes, resolved by keeping the snapshot version (comments included).

* fix(content-moderation): clean up abort listener on sleep resolve

Remove the AbortSignal listener when the timer fires normally to prevent
listener accumulation during repeated polling iterations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: resolve merge conflicts and address review feedback

- Widen screenUserMessage callback to pass full item alongside text,
  so content moderation can inspect origin/files for image review.
- Fix applyDesktopDevEnvOverrides to use `key in env` instead of
  falsy check, respecting explicit empty-string env values.
- Add test for empty-string env override precedence.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(content-moderation): strip blobs for device-link, guard preload API

- broadcastModerationInputBlocked: send compact payload (without base64/
  textContent) to device-link to avoid oversized frame drops, while
  keeping full payload for local renderer windows.
- UserPromptSection: guard contentModeration preload API with optional
  chaining to avoid TypeError during HMR/partial restarts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(mobile): filter clipboard:// attachments in moderation input restore

Desktop-only clipboard:// paths are unusable on mobile. Skip them in
normalizeModerationInputFiles so they aren't placed back into the
mobile composer after an input moderation block.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: DavidShen <david@xd.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-07-24 12:06:18 +08:00
Lizi
bb3f71d084 chore: Cindy 首次开源提交 / initial open-source release
Cindy 是心动网络 (X.D. Network Inc.) 的跨端 AI Agent 客户端。
本次提交包含 Desktop(Electron)、Mobile(Expo)及全部共享 packages
的完整源码,以 Apache-2.0 协议开源。

This is the first public release of Cindy, X.D. Network's cross-platform
AI agent client: the Electron desktop app, the Expo mobile app, and all
shared workspace packages, licensed under Apache-2.0.

- 许可与合规:根 LICENSE(Apache-2.0)+ NOTICE;第三方组件归属声明与
  SPDX SBOM 收口在 docs/legal/notices/,由 pnpm licenses:generate 生成。
- 社区文件:README / CONTRIBUTING / CODE_OF_CONDUCT / SECURITY / SUPPORT
  中英双语;issue / PR 模板与 CI workflow 在 .github/。
- 协议层以公开 submodule 引入:github.com/makecindy/cindy-protocol。
- 提交前已通过仓库门禁:全量 pnpm test:unit 与涉及 package 的 typecheck。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 08:30:44 +08:00