copy: second-round copy review across console, settings, agent and server messages
- Trim descriptions, empty states, confirm buttons and toasts to facts - Unify terms per glossary: 待处理/待识别/整理记录/运行记录/凭证/子会话/Agent 上游 - Subscription-login termsNote states facts only (borrowed client identity, ToS/ban risk) - Shorter, concrete goal templates for built-in Agent checks - Human-readable nouns instead of table names in instance CRUD errors - Audit labels for pi_upstream / schedule / automation_grant actions - Glossary: add 上游、订阅登录、凭证、定时任务、巡检、运行记录、子会话、停止、持续授权 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c67f6a9682
commit
31a54186c7
58 files changed
+200
-188
No files matched your search
@@ -49,15 +49,15 @@ export const OAUTH_CALLBACK_PORTS: Record<string, number> = {
|
||||
radius: 1456,
|
||||
};
|
||||
|
||||
const TERMS_TAIL = "用于自动化后台服务可能违反提供方的用户条款,账号有被限流或封禁的风险。";
|
||||
const TERMS_TAIL = "可能违反提供方的用户条款,账号可能被限流或封禁。";
|
||||
/** 条款提示(研究文档 §5):订阅登录借用官方客户端身份 */
|
||||
const TERMS_NOTES: Record<string, string> = {
|
||||
anthropic: `该登录借用 Claude Code 的客户端身份使用你的 Claude 订阅(请求会伪装成 Claude Code),${TERMS_TAIL}`,
|
||||
"openai-codex": `该登录借用 Codex CLI 的客户端身份使用你的 ChatGPT 订阅,${TERMS_TAIL}`,
|
||||
"github-copilot": `该登录借用 VS Code Copilot Chat 的客户端身份(请求带其伪装头)使用你的 Copilot 订阅,${TERMS_TAIL}`,
|
||||
xai: `该登录借用官方客户端身份使用你的 SuperGrok / X Premium 订阅,${TERMS_TAIL}`,
|
||||
"kimi-coding": `该登录借用 Kimi Code 官方客户端身份使用你的 Kimi 订阅,${TERMS_TAIL}`,
|
||||
meta: `该登录借用官方客户端身份使用你的 Meta Muse 订阅,${TERMS_TAIL}`,
|
||||
anthropic: `借用 Claude Code 的客户端身份使用 Claude 订阅,请求头模拟 Claude Code。${TERMS_TAIL}`,
|
||||
"openai-codex": `借用 Codex CLI 的客户端身份使用 ChatGPT 订阅。${TERMS_TAIL}`,
|
||||
"github-copilot": `借用 VS Code Copilot Chat 的客户端身份使用 Copilot 订阅,请求头模拟该客户端。${TERMS_TAIL}`,
|
||||
xai: `借用官方客户端身份使用 SuperGrok / X Premium 订阅。${TERMS_TAIL}`,
|
||||
"kimi-coding": `借用 Kimi Code 的客户端身份使用 Kimi 订阅。${TERMS_TAIL}`,
|
||||
meta: `借用官方客户端身份使用 Meta Muse 订阅。${TERMS_TAIL}`,
|
||||
};
|
||||
|
||||
const env = (name: string, label: string, required: boolean, hint: string | null = null): PiEnvField => ({
|
||||
@@ -115,10 +115,10 @@ const NO_BASE_OVERRIDE = new Set([
|
||||
const NOTES: Record<string, string> = {
|
||||
opencode: "OpenCode Zen:没有订阅登录,用 opencode.ai 控制台生成的 key(订阅体现在 key 上)",
|
||||
"opencode-go": "OpenCode Go:没有订阅登录,用 opencode.ai 控制台生成的 key(与 Zen 同一个 OPENCODE_API_KEY)",
|
||||
openrouter: "OAuth 登录换得的是永久 API Key,不需要刷新",
|
||||
radius: "pi 自家网关,模型表可动态刷新",
|
||||
"amazon-bedrock": "API Key 填 Bedrock bearer token;或选“无”使用服务端 AWS 凭据链",
|
||||
"google-vertex": "API Key 填 Google Cloud API key;或选“无”使用服务端 ADC / 服务账号",
|
||||
openrouter: "登录换得永久 API Key,不需要刷新",
|
||||
radius: "Pi 官方网关,模型列表动态刷新",
|
||||
"amazon-bedrock": "API Key 填 Bedrock bearer token;或选“不需要凭证”使用服务端 AWS 凭证链",
|
||||
"google-vertex": "API Key 填 Google Cloud API key;或选“不需要凭证”使用服务端 ADC / 服务账号",
|
||||
};
|
||||
|
||||
export function modelInfo(m: Model<Api>, source: PiModelInfo["source"] = "static"): PiModelInfo {
|
||||
|
||||
Reference in new issue
Block a user