From e4749ee46c03375bec930d2dcaa96f516797bd6e Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Thu, 5 Nov 2026 16:04:11 +0800 Subject: [PATCH] =?UTF-8?q?docs(contracts):=20requiresTools=20=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E6=94=B9=E4=B8=BA=E7=9F=AD=20ID=20=E5=86=B2=E7=AA=81?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E5=BD=92=E5=B1=9E=EF=BC=88#1763=20=E5=90=8E?= =?UTF-8?q?=E7=BB=AD=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit plugin-manifest.schema.json 中 requiresTools 的描述仍写着短 ID 需要经过验证的官方来源,#1763 已取消这条规则:任何插件都可以定义短 ID,被多个已启用插件定义的短 ID 不归属任何插件。只改描述文字,不改校验规则。 --- shared/contracts/plugins/v1/plugin-manifest.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/contracts/plugins/v1/plugin-manifest.schema.json b/shared/contracts/plugins/v1/plugin-manifest.schema.json index c4967086a..131feab3f 100644 --- a/shared/contracts/plugins/v1/plugin-manifest.schema.json +++ b/shared/contracts/plugins/v1/plugin-manifest.schema.json @@ -111,7 +111,7 @@ }, "toolDefinitions": { "type": "array", "minItems": 1, "maxItems": 32, "items": { "$ref": "#/$defs/toolchainToolDefinition" } }, "requiresTools": { - "description": "requires.serverProcess 4: every tool definition the plugin starts or names, by ID. A runtime tool of a launch, a runtime dependency, a runSelectedRuntime tool, or the tool of a lithe/host/run/start must be listed here. An ID of another plugin is a qualified ID and needs a verified official origin when short.", + "description": "requires.serverProcess 4: every tool definition the plugin starts or names, by ID. A runtime tool of a launch, a runtime dependency, a runSelectedRuntime tool, or the tool of a lithe/host/run/start must be listed here. An ID is short or :; a short ID defined by more than one enabled plugin belongs to none of them.", "type": "array", "minItems": 1, "maxItems": 32,