Ver Fonte

feat: rewrite index.json to match GalleryPackage schema, add multi-version support

wangshuo há 1 semana atrás
pai
commit
7d2d700995
1 ficheiros alterados com 19 adições e 14 exclusões
  1. 19 14
      index.json

+ 19 - 14
index.json

@@ -7,24 +7,29 @@
       "name": "AI 助手",
       "version": "1.0.0",
       "publisher": "TeamAAS",
-      "references": [ "TeamPLT.SDK", "TeamPLT.Contracts" ],
-      "requiresContracts": [ { "id": "TeamPLT.Contracts", "minVersion": "1.0.0" } ],
-      "targetFramework": "net48",
-      "requiresHost": { "id": "TeamPLT", "minVersion": "1.0.0" },
-      "arch": [ "x64" ],
+      "kind": "extension",
+      "host": "platform",
       "description": "平台 AI 助手(标题栏右侧入口):流式对话 + Function Calling,内置默认模型开箱即用;具备文件读写、命令执行、进程/窗口管理、鼠标键盘桌面控制、联网搜索与平台命令桥等电脑控制能力。",
       "notes": "• 流式对话与 Function Calling,内置默认模型开箱即用\n• 文件读写、命令执行、进程/窗口管理与鼠标键盘桌面控制\n• 联网搜索与平台命令桥接",
-      "entryAssembly": "Ext.AiAssistant.dll",
-      "order": 900,
-      "activationEvents": [ "onStartup" ],
-      "dependencies": [],
-      "provides": [],
-      "consumes": [],
-      "optionalConsumes": [],
-      "host": "platform",
       "downloadUrl": "packages/platform/Ext.AiAssistant/Ext.AiAssistant-1.0.0.zip",
       "sha256": "7b3b3321c077ac34c401799797546a1be0bc96586cd8e013a28847c4caea5875",
-      "size": 696844
+      "size": 696844,
+      "references": [ "TeamPLT.SDK", "TeamPLT.Contracts" ],
+      "targetFramework": "net48",
+      "requiresHost": "TeamPLT>=1.0.0",
+      "arch": [ "x64" ],
+      "dependencies": [],
+      "versions": [
+        {
+          "version": "1.0.0",
+          "downloadUrl": "packages/platform/Ext.AiAssistant/Ext.AiAssistant-1.0.0.zip",
+          "sha256": "7b3b3321c077ac34c401799797546a1be0bc96586cd8e013a28847c4caea5875",
+          "size": 696844,
+          "releasedAt": "2026-09-23",
+          "status": "stable",
+          "notes": "首个版本"
+        }
+      ]
     }
   ]
 }