feat(market): skills/mcp 能力分类 + AI验证期自动识别 + 导入自动入座
This commit is contained in:
1 parent
2ae5d9f9b5
commit
6f3fb400a4
7 files changed
+1407
-1140
No files matched your search
@@ -289,7 +289,7 @@ export const knowledgeAPI = {
|
||||
|
||||
export const marketAPI = {
|
||||
|
||||
getApps: (params?: { type?: string; source?: string; search?: string; page?: number; page_size?: number }) => {
|
||||
getApps: (params?: { type?: string; source?: string; capability?: string; search?: string; page?: number; page_size?: number }) => {
|
||||
|
||||
const searchParams = new URLSearchParams();
|
||||
|
||||
@@ -297,6 +297,8 @@ export const marketAPI = {
|
||||
|
||||
if (params?.source) searchParams.set('source', params.source);
|
||||
|
||||
if (params?.capability) searchParams.set('capability', params.capability);
|
||||
|
||||
if (params?.search) searchParams.set('search', params.search);
|
||||
|
||||
if (params?.page) searchParams.set('page', String(params.page));
|
||||
@@ -315,6 +317,8 @@ export const marketAPI = {
|
||||
|
||||
verifyAgent: (data: any) => post<any>('/market/apps/verify-agent', data),
|
||||
|
||||
detectCapability: (data: any) => post<any>('/market/apps/detect-capability', data),
|
||||
|
||||
purchaseApp: (id: string) => post<any>(`/market/apps/${id}/purchase`),
|
||||
|
||||
installApp: (id: string) => post<any>(`/market/apps/${id}/install`),
|
||||
|
||||
Reference in new issue
Block a user