feat(agent-runner): enforce 4.x host-owned execution

This commit is contained in:
huanghuoguoguo
2026-07-12 20:36:32 +08:00
parent e6384aae5d
commit 99d9c227f9
171 changed files with 6958 additions and 5385 deletions
+8 -2
View File
@@ -982,8 +982,14 @@ export class BackendClient extends BaseHttpClient {
);
}
public getToolDetail(toolName: string): Promise<ApiRespToolDetail> {
return this.get(`/api/v1/tools/${toolName}`);
public getToolDetail(
toolName: string,
pipelineId?: string,
): Promise<ApiRespToolDetail> {
return this.get(
`/api/v1/tools/${encodeURIComponent(toolName)}`,
pipelineId ? { pipeline_uuid: pipelineId } : undefined,
);
}
public getMCPServer(serverName: string): Promise<ApiRespMCPServer> {