Skip to content

feat: add terminal command execution tool with user approval #9870

feat: add terminal command execution tool with user approval

feat: add terminal command execution tool with user approval #9870

Triggered via pull request February 21, 2025 11:50
Status Failure
Total duration 9m 40s
Artifacts

check.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors
build (ubuntu-latest, 20.x): packages/ai-native/src/browser/mcp/tools/runTerminalCmd.ts#L38
Type '(args: { command: string; explanation: string; is_background: boolean; require_user_approval: boolean; } & { toolCallId: string; }, logger: MCPLogger) => Promise<{ isError?: boolean | undefined; content: string[]; } | { ...; }>' is not assignable to type '(args: any, logger: MCPLogger) => Promise<{ content: { type: string; text: string; }[]; isError?: boolean | undefined; }>'.
build (ubuntu-latest, 20.x)
Process completed with exit code 1.
build (macos-latest, 20.x)
The job was canceled because "ubuntu-latest_20_x" failed.
build (macos-latest, 20.x): packages/ai-native/src/browser/mcp/tools/runTerminalCmd.ts#L38
Type '(args: { command: string; explanation: string; is_background: boolean; require_user_approval: boolean; } & { toolCallId: string; }, logger: MCPLogger) => Promise<{ isError?: boolean | undefined; content: string[]; } | { ...; }>' is not assignable to type '(args: any, logger: MCPLogger) => Promise<{ content: { type: string; text: string; }[]; isError?: boolean | undefined; }>'.
build (macos-latest, 20.x)
Process completed with exit code 1.
build-windows: packages/ai-native/src/browser/mcp/tools/runTerminalCmd.ts#L38
Type '(args: { command: string; explanation: string; is_background: boolean; require_user_approval: boolean; } & { toolCallId: string; }, logger: MCPLogger) => Promise<{ isError?: boolean | undefined; content: string[]; } | { ...; }>' is not assignable to type '(args: any, logger: MCPLogger) => Promise<{ content: { type: string; text: string; }[]; isError?: boolean | undefined; }>'.
build-windows
Process completed with exit code 1.