Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
docs(readme): 调整合规审查一节小节顺序为 不启用→会启用→审查什么
Lizidb273ea3f8ee
diff --git a/README.en.md b/README.en.mdindex 420dcc8fa4..195697b12a 100644--- a/README.en.md+++ b/README.en.md@@ -162,16 +162,21 @@ offered generative-AI services, the client ships a content-review interface[`apps/desktop/src/main/content-moderation/`](apps/desktop/src/main/content-moderation/)).This section discloses its behavior and boundaries to both users and developers.-**What is reviewed when enabled:** messages you send to the assistant (text and-image attachments), the assistant's streamed replies, your custom prompt, and-your nickname / avatar. That content is submitted through Cindy's moderation-signing service to a content-safety service for an allow/reject decision. A-rejected input is not sent and is returned to the composer; when a reply is-rejected the turn is aborted — text already shown is kept and a fixed notice is-appended. Internal messages from the-scheduler and multi-agent (Orca) coordination are not submitted. If the review-service is unreachable or times out, the client fails open — normal use is never-blocked by review-infrastructure failures.+**When it is NOT enabled (and how to keep it off):**++- **Global-region releases**: never enabled;+- **Dev / running from source: off by default** — it only activates in test+ mode if you explicitly pass the `--content-moderation` launch flag (or set+ `XDT_CONTENT_MODERATION=1` when unpackaged) *and* configure+ `moderationSignTestApiBaseUrl`; neither exists in the repo defaults, so doing+ nothing keeps it off;+- **Local mode (not signed in) or organization accounts**: not enabled;+- **Building from source yourself**: note that a **packaged** cn-region build+ fetches the official cn endpoint manifest at startup just like official+ releases, so review **does activate** once you sign in with a personal+ account. To keep it off, run unpackaged (dev), package for the global+ region, or point `cdnBaseUrl` at your own endpoint manifest that omits+ `moderationSignApiBaseUrl`.**When it is enabled (all conditions must hold; decision logic in[`eligibility.ts`](apps/desktop/src/main/content-moderation/eligibility.ts)):**@@ -188,21 +193,16 @@ blocked by review-infrastructure failures.[`config/endpoint.json`](config/endpoint.json) is only used by dev(unpackaged) runs and leaves it empty.-**When it is NOT enabled (and how to keep it off):**--- **Global-region releases**: never enabled;-- **Dev / running from source: off by default** — it only activates in test- mode if you explicitly pass the `--content-moderation` launch flag (or set- `XDT_CONTENT_MODERATION=1` when unpackaged) *and* configure- `moderationSignTestApiBaseUrl`; neither exists in the repo defaults, so doing- nothing keeps it off;-- **Local mode (not signed in) or organization accounts**: not enabled;-- **Building from source yourself**: note that a **packaged** cn-region build- fetches the official cn endpoint manifest at startup just like official- releases, so review **does activate** once you sign in with a personal- account. To keep it off, run unpackaged (dev), package for the global- region, or point `cdnBaseUrl` at your own endpoint manifest that omits- `moderationSignApiBaseUrl`.+**What is reviewed when enabled:** messages you send to the assistant (text and+image attachments), the assistant's streamed replies, your custom prompt, and+your nickname / avatar. That content is submitted through Cindy's moderation+signing service to a content-safety service for an allow/reject decision. A+rejected input is not sent and is returned to the composer; when a reply is+rejected the turn is aborted — text already shown is kept and a fixed notice is+appended. Internal messages from the+scheduler and multi-agent (Orca) coordination are not submitted. If the review+service is unreachable or times out, the client fails open — normal use is never+blocked by review-infrastructure failures.## License / 许可证diff --git a/README.md b/README.mdindex b155b632cd..17582956a2 100644--- a/README.md+++ b/README.md@@ -143,11 +143,18 @@ Cindy 服务发送在线心跳(仅账号 ID、平台与版本号)。崩溃[`apps/desktop/src/main/content-moderation/`](apps/desktop/src/main/content-moderation/))。在此如实向用户与开发者披露它的行为和边界。-**启用时审查什么:** 你发送给助手的消息(文本与图片附件)、助手的流式回复、-自定义提示词、昵称与头像。这些内容会经 Cindy 的审查签名服务提交给内容安全服务-判定放行或拦截:输入被拦截时消息不会发出并退回输入框;回复被拦截时本轮输出中止,-已展示的内容保留,并追加一条固定提示语。定时任务与多 agent 协同的内部消息不送审;-审查服务不可用或超时按放行处理(fail-open),不会阻断正常使用。+**什么情况下不启用(如何不启用):**++- **海外(global)发布版**:永不启用;+- **dev / 源码运行:默认不启用** —— 只有显式传入 `--content-moderation`+ 启动参数(或未打包运行时设置环境变量 `XDT_CONTENT_MODERATION=1`),且端点+ 配置了 `moderationSignTestApiBaseUrl`,才会进入测试环境审查;两者仓库内默认+ 都没有,所以不做任何设置即为关闭;+- **本地模式(未登录)或组织账号登录**:不启用;+- **自行从源码构建**:注意——按 cn 区**打包**的产物启动时同样会拉取官方 cn+ 端点清单,用个人账号登录后审查**会启用**,这一点与官方发布版一致。想保持+ 关闭,请以 dev(未打包)方式运行、按 global 区打包,或在构建时把+ `cdnBaseUrl` 指向你自己的端点清单且不下发 `moderationSignApiBaseUrl`。**什么情况下会启用(必须同时满足,判定入口[`eligibility.ts`](apps/desktop/src/main/content-moderation/eligibility.ts)):**@@ -161,18 +168,11 @@ Cindy 服务发送在线心跳(仅账号 ID、平台与版本号)。崩溃地址;仓库内 [`config/endpoint.json`](config/endpoint.json) 仅供 dev(未打包)运行使用,该字段为空。-**什么情况下不启用(如何不启用):**--- **海外(global)发布版**:永不启用;-- **dev / 源码运行:默认不启用** —— 只有显式传入 `--content-moderation`- 启动参数(或未打包运行时设置环境变量 `XDT_CONTENT_MODERATION=1`),且端点- 配置了 `moderationSignTestApiBaseUrl`,才会进入测试环境审查;两者仓库内默认- 都没有,所以不做任何设置即为关闭;-- **本地模式(未登录)或组织账号登录**:不启用;-- **自行从源码构建**:注意——按 cn 区**打包**的产物启动时同样会拉取官方 cn- 端点清单,用个人账号登录后审查**会启用**,这一点与官方发布版一致。想保持- 关闭,请以 dev(未打包)方式运行、按 global 区打包,或在构建时把- `cdnBaseUrl` 指向你自己的端点清单且不下发 `moderationSignApiBaseUrl`。+**启用时审查什么:** 你发送给助手的消息(文本与图片附件)、助手的流式回复、+自定义提示词、昵称与头像。这些内容会经 Cindy 的审查签名服务提交给内容安全服务+判定放行或拦截:输入被拦截时消息不会发出并退回输入框;回复被拦截时本轮输出中止,+已展示的内容保留,并追加一条固定提示语。定时任务与多 agent 协同的内部消息不送审;+审查服务不可用或超时按放行处理(fail-open),不会阻断正常使用。## 许可证 / License