Commit Graph

7 Commits

Author SHA1 Message Date
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
liugaowei
ae84cb8db1 feat(plugin): 支持公共插件链接与图片分享
在公共插件详情中提供分享入口,预览并复制链接或图片。
沿现有端点、账号与深链流程承接实时署名和已安装插件,保持原安装批准与更新边界。
同步公开展示 DTO v1 和本地界面确认原型。

Signed-off-by: liugaowei <liugaowei@xd.com>
2026-10-23 11:24:34 +08:00
bobo
a406850079 feat(skillhub): connect clients to Cindy SkillHub (#3682)
* feat(skillhub): connect clients to Cindy SkillHub

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): remove legacy XD visibility copy

Signed-off-by: xd-bobo <caojianbo@xd.com>

* feat(skillhub): add scoped catalog tabs

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): remove available market filter

Signed-off-by: xd-bobo <caojianbo@xd.com>

* refactor(skillhub): simplify skill catalog header

Signed-off-by: xd-bobo <caojianbo@xd.com>

* feat(skillhub): 优化目录导航、匿名浏览和扫描反馈

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(desktop): keep local endpoints across realm switches

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): align catalog presentation and review feedback

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): guard endpoint and preserve metadata

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): 对齐组织归属与 XD 只读策略

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): 透传技能目录来源

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): 由服务端决定组织目录路由

Signed-off-by: xd-bobo <caojianbo@xd.com>

* feat(skillhub): 支持当前版本公开审核

Signed-off-by: xd-bobo <caojianbo@xd.com>

* feat(skillhub): 支持首页分页加载更多

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(skillhub): align catalog scope and publishing contracts

Signed-off-by: xd-bobo <caojianbo@xd.com>

---------

Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-09-03 05:40:11 +08:00
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