25 lines
795 B
JSON
25 lines
795 B
JSON
{
|
|
"schema_version": 1,
|
|
"id": "example-provider",
|
|
"name": "示例供应商插件",
|
|
"version": "1.0.0",
|
|
"description": "实现 ProviderPlugin SPI 的签名 Java 扩展。",
|
|
"entrypoint": "com.example.plugin.ExampleProviderPlugin",
|
|
"platforms": [
|
|
"openai"
|
|
],
|
|
"artifact": {
|
|
"url": "https://git.example/plugins/raw/branch/main/example-provider-1.0.0.jar",
|
|
"sha256": "替换为 64 位小写 SHA-256",
|
|
"signature": "替换为对 artifact SHA-256 原始 32 字节签名后的 Base64",
|
|
"key_id": "release-2026",
|
|
"size": 1
|
|
},
|
|
"credential_sync": {
|
|
"url": "https://home.example/api/plugin-credentials/example-provider",
|
|
"status_url": "https://home.example/api/plugin-credentials/example-provider/status",
|
|
"auth-revision": ""
|
|
},
|
|
"metadata": {}
|
|
}
|