feat: add terminal command execution tool with user approval #9870
check.yml
on: pull_request
build-windows
9m 27s
Matrix: build
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.
|