fix: deliver long CLI passthrough prompts intact (#3894)

Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
This commit is contained in:
Dmitry Koryakov
2026-09-24 15:45:00 +02:00
committed by GitHub
parent d602745281
commit 5cb908e4ad
28 changed files with 1129 additions and 143 deletions
+1
View File
@@ -347,6 +347,7 @@ export async function createCustomTUIAgent(
description?: string;
mcp_strategy?: string;
protocol?: string;
disable_bracketed_paste?: boolean;
},
options?: ApiRequestOptions,
): Promise<Agent> {
+2
View File
@@ -47,6 +47,8 @@ export type TUIConfig = {
* calls, models, and modes.
*/
protocol?: CustomAgentProtocol;
/** Use paced unframed writes for TUIs that reject bracketed-paste markers. */
disable_bracketed_paste?: boolean;
};
/** One selectable MCP injection mechanism, served by the backend. */