agy-cli README: the plugin calls Google itself only for a region-refused quota read

0.1.69 (99b042de) reads the quota directly when agy refuses /usage for
eligibility, so "the plugin does not call Google's internal endpoints
directly" no longer held. README only; no code changed, nothing run.
This commit is contained in:
yetone
2026-11-16 03:29:57 +08:00
parent 99b042def4
commit b35d4b35b2
2 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -17,8 +17,10 @@ response.
- The work is done by the real agy CLI over the ACP channel it ships with. The
ACP handshake's `clientInfo` is the plugin's own package name and version
(`opencode-agy-cli-auth`), not Zed or any other editor, and the plugin does
not call Google's internal endpoints directly.
(`opencode-agy-cli-auth`), not Zed or any other editor. The plugin calls
Google's endpoints itself in one case only: when agy refuses `/usage` for
the account's region, it reads the quota the way agy does (see "Usage
quota").
- Tools that belong to the client, such as file reads, writes and shell commands,
are exposed to the model over MCP. The client runs them and the results flow
back into the same agy conversation, so the model sees ordinary native tool
+2 -2
View File
@@ -13,8 +13,8 @@ OpenCode、Claude Code 等客户端经由 Magpie 调用 agy 向本插件开放
流式响应。
- 底层是真正的 agy CLI,走它自带的 ACP 通道。ACP 握手里的 `clientInfo` 是本插件自己的
包名和版本(`opencode-agy-cli-auth`),不冒充 Zed 或其它编辑器;插件也不直接请求 Google
的内部接口。
包名和版本(`opencode-agy-cli-auth`),不冒充 Zed 或其它编辑器。插件自己只在一种情况下请求 Google
的接口:agy 因地区拒绝 `/usage` 时,按 agy 的方式读额度(见「额度」)。
- 客户端自己的工具(读写文件、执行命令等)通过 MCP 暴露给模型。工具由客户端执行,结果
回传到同一轮 agy 对话里,模型看到的是原生工具调用。
- 账号风险不由插件决定。Google 的使用政策变化时,插件无法替你保证账号不受限制。