feat: AI 身份改为 zmo + 更新机制指向自有仓库
compliance-close / close-non-compliant (push) Has been cancelled
beta / sync (push) Has been cancelled

- 8 个系统提示词 txt 的 "You are opencode/OpenCode" 改为 zmo,问"你是谁"答 zmo
- copilot-gpt-5 的 "Your name is" 同步改 zmo
- 更新机制(installation/index.ts)指向 helpLogin/zmo-cli:
  GitHub release API、install 脚本地址、.zmo/bin 路径检测、userAgent
  使以后发布的新版能更新到自有 zmo 版本,而非被覆盖回 opencode
- zenmux X-Title/Referer 改为 zmo 标识

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 16:58:11 +08:00
co-authored by Claude Opus 4.7
parent daa3ecb842
commit 9970e6c1ad
12 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ export const ZenmuxPlugin = PluginV2.define({
if (item.provider.api.package !== "@ai-sdk/openai-compatible") continue
if (item.provider.api.url !== "https://zenmux.ai/api/v1") continue
evt.provider.update(item.provider.id, (provider) => {
provider.request.headers["HTTP-Referer"] ??= "https://opencode.ai/"
provider.request.headers["X-Title"] ??= "opencode"
provider.request.headers["HTTP-Referer"] ??= "https://github.com/helpLogin/zmo-cli"
provider.request.headers["X-Title"] ??= "zmo"
})
}
}),