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

This commit is contained in:
huanghuoguoguo
2026-07-12 20:36:32 +08:00
parent 9aa71d54e3
commit d88d05e27c
170 changed files with 6952 additions and 5381 deletions
+4 -5
View File
@@ -437,10 +437,6 @@ export interface SystemLimitation {
max_bots: number;
max_pipelines: number;
max_extensions: number;
/** When non-empty, every pipeline is forced to this Box sandbox-scope
* template (e.g. ``{global}``) and the per-pipeline "Sandbox Scope"
* selector is locked. Used by SaaS deployments. Empty = no restriction. */
force_box_session_id_template?: string;
}
export interface WizardProgress {
@@ -800,7 +796,10 @@ export interface ApiRespTools {
}
export interface ApiRespToolDetail {
tool: PluginTool;
tool: Omit<PluginTool, 'source' | 'source_id'> & {
source: NonNullable<PluginTool['source']>;
source_id: string | null;
};
}
// Skills
+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> {