From 4b129b5f4987585d4d11a547af07cbd5dc732e59 Mon Sep 17 00:00:00 2001 From: JianFeeeee Date: Sat, 12 Sep 2026 14:10:44 +0800 Subject: [PATCH] =?UTF-8?q?chore(deploy):=20=E5=90=8C=E6=BA=90=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E7=BA=B3=E5=85=A5=20ZCode=20=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E6=A1=A5=E7=94=A8=E5=88=B0=E7=9A=84=204=20=E4=B8=AA=E5=85=B1?= =?UTF-8?q?=E7=94=A8=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit permission-mode / relay-key / permission-grants / sse-client 的 实现与测试一并同步 —— 档位语义与决策判定若分叉,「同意」在 ZCode 上 会悄悄变成另一种意思。 --- deploy/check-shared-libs.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deploy/check-shared-libs.sh b/deploy/check-shared-libs.sh index f294d44..aa8c084 100755 --- a/deploy/check-shared-libs.sh +++ b/deploy/check-shared-libs.sh @@ -27,9 +27,12 @@ PEERS=(plugins/dsh-mail-bridge plugins/pi-mail-bridge plugins/zcode-mail-bridge) ALL_LIBS="relay-dedup relay-policy relay-key permission-mode bounded inbox-format session-snapshot workspace model-scope catchup addressing discovery rename-proposal permission-grants adopt sse-client user-question attachment-ids" ALL_TESTS="relay-policy relay-key permission-mode bounded inbox-format session-snapshot workspace model-scope catchup addressing discovery rename-proposal permission-grants adopt sse-client user-question attachment-ids" -# MCP 工具服务器用到的协议无关子集(实现与测试都同步)。 -MCP_LIBS="addressing inbox-format bounded discovery attachment-ids" -MCP_TESTS="addressing inbox-format bounded discovery attachment-ids" +# MCP 工具服务器 + 授权钩子用到的子集(实现与测试都同步)。 +# 钩子这一层额外需要 permission-mode / relay-key / permission-grants / sse-client —— +# 档位语义、relay_key 截断、决策判定与 SSE 帧解析都必须与三桥同源, +# 否则「同意」的含义会在 ZCode 上悄悄变得不一样。 +MCP_LIBS="addressing inbox-format bounded discovery attachment-ids permission-mode relay-key permission-grants sse-client" +MCP_TESTS="addressing inbox-format bounded discovery attachment-ids permission-mode relay-key permission-grants sse-client" # ── 判据:用 cmp,不用 diff ───────────────────────────────────────── #