Add plugin management support to OpenClaw. (#13388)

This commit is contained in:
CityFun
2026-07-28 14:20:55 +08:00
committed by GitHub
parent cf37de66fc
commit 7506e709e2
33 changed files with 1234 additions and 0 deletions
+16
View File
@@ -330,6 +330,22 @@ export const checkAgentPlugin = (req: AI.AgentPluginCheckReq) => {
return http.post<AI.AgentPluginStatus>(`/ai/agents/plugin/check`, req);
};
export const listAgentPlugins = (req: AI.AgentPluginsReq) => {
return http.post<AI.AgentPluginItem[]>(`/ai/agents/plugins/list`, req);
};
export const searchAgentPlugins = (req: AI.AgentPluginSearchReq) => {
return http.post<AI.AgentPluginSearchItem[]>(`/ai/agents/plugins/search`, req);
};
export const installAgentMarketPlugin = (req: AI.AgentPluginMarketInstallReq) => {
return http.post(`/ai/agents/plugins/install`, req);
};
export const operateAgentPlugin = (req: AI.AgentPluginOperateReq) => {
return http.post(`/ai/agents/plugins/operate`, req);
};
export const getAgentSecurityConfig = (req: AI.AgentSecurityConfigReq) => {
return http.post<AI.AgentSecurityConfig>(`/ai/agents/security/get`, req);
};