From 997f35449c158a79711f53a995e9390209fb0b48 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 12 May 2026 09:51:26 +0000 Subject: [PATCH 1/4] Initial plan From 7c357cd33703f5efbf8ce9c9d75997b570bd7b86 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 12 May 2026 09:55:39 +0000 Subject: [PATCH 2/4] Initial plan Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> --- .../vscode.proposed.chatParticipantPrivate.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/@types/vscode.proposed.chatParticipantPrivate.d.ts b/src/@types/vscode.proposed.chatParticipantPrivate.d.ts index 51bdf465a0..e5a1abb3cc 100644 --- a/src/@types/vscode.proposed.chatParticipantPrivate.d.ts +++ b/src/@types/vscode.proposed.chatParticipantPrivate.d.ts @@ -299,6 +299,12 @@ declare module 'vscode' { chatSessionResource?: Uri; chatInteractionId?: string; terminalCommand?: string; + /** + * The working directory URI for the session, if set. + * In the agents window, each session can have its own working directory + * that differs from the current workspace folders. + */ + workingDirectory?: Uri; /** * Unique ID for the subagent invocation, used to group tool calls from the same subagent run together. */ @@ -334,6 +340,12 @@ declare module 'vscode' { chatRequestId?: string; chatSessionResource?: Uri; chatInteractionId?: string; + /** + * The working directory URI for the session, if set. + * In the agents window, each session can have its own working directory + * that differs from the current workspace folders. + */ + workingDirectory?: Uri; /** * If set, tells the tool that it should include confirmation messages. */ From ec72df9b585777b8f127a14745f8b979852b5508 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 12 May 2026 09:57:00 +0000 Subject: [PATCH 3/4] Place upload button below textarea to prevent overlay Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> --- webviews/activityBarView/index.css | 7 +++---- webviews/editorWebview/index.css | 10 +++------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/webviews/activityBarView/index.css b/webviews/activityBarView/index.css index 4e1d323195..83f2ec519d 100644 --- a/webviews/activityBarView/index.css +++ b/webviews/activityBarView/index.css @@ -45,18 +45,17 @@ textarea { .textarea-wrapper { position: relative; display: flex; + flex-direction: column; width: 100%; } .textarea-wrapper textarea { flex: 1; - padding-bottom: 32px; } .textarea-wrapper .comment-upload-button { - position: absolute; - left: 6px; - bottom: 8px; + align-self: flex-start; + margin-top: 4px; border: none; background: none; padding: 4px; diff --git a/webviews/editorWebview/index.css b/webviews/editorWebview/index.css index 5ce6863f24..24fbcb2e34 100644 --- a/webviews/editorWebview/index.css +++ b/webviews/editorWebview/index.css @@ -1011,6 +1011,7 @@ textarea { .textarea-wrapper { position: relative; display: flex; + flex-direction: column; width: 100%; } @@ -1054,14 +1055,9 @@ textarea { padding: 2px; } -.textarea-wrapper:has(> .comment-upload-button)>textarea { - padding-bottom: 32px; -} - .textarea-wrapper .comment-upload-button { - position: absolute; - left: 6px; - bottom: 8px; + align-self: flex-start; + margin-top: 4px; border: none; background: none; padding: 4px; From a2b9976f097580fc958fb0ed2093f9033a64e878 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 12 May 2026 13:28:26 +0000 Subject: [PATCH 4/4] Keep upload button inside textarea visual area without overlap Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> --- webviews/activityBarView/index.css | 25 ++++++++++++++++++++----- webviews/editorWebview/index.css | 25 ++++++++++++++++++++----- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/webviews/activityBarView/index.css b/webviews/activityBarView/index.css index 83f2ec519d..6b376221d8 100644 --- a/webviews/activityBarView/index.css +++ b/webviews/activityBarView/index.css @@ -44,18 +44,33 @@ textarea { .textarea-wrapper { position: relative; - display: flex; - flex-direction: column; + display: block; width: 100%; + box-sizing: border-box; + border: 1px solid var(--vscode-dropdown-border); + background-color: var(--vscode-input-background); + border-radius: 4px; + padding-bottom: 28px; +} + +.textarea-wrapper:focus-within { + outline: 1px solid var(--vscode-focusBorder); } .textarea-wrapper textarea { - flex: 1; + display: block; + width: 100%; + box-sizing: border-box; + border: none; + background: transparent; + border-radius: 0; + outline: none; } .textarea-wrapper .comment-upload-button { - align-self: flex-start; - margin-top: 4px; + position: absolute; + left: 6px; + bottom: 4px; border: none; background: none; padding: 4px; diff --git a/webviews/editorWebview/index.css b/webviews/editorWebview/index.css index 24fbcb2e34..0a409c3cdf 100644 --- a/webviews/editorWebview/index.css +++ b/webviews/editorWebview/index.css @@ -1010,13 +1010,27 @@ textarea { .textarea-wrapper { position: relative; - display: flex; - flex-direction: column; + display: block; width: 100%; + box-sizing: border-box; + border: 1px solid var(--vscode-dropdown-border); + background-color: var(--vscode-input-background); + border-radius: 4px; + padding-bottom: 28px; +} + +.textarea-wrapper:focus-within { + outline: 1px solid var(--vscode-focusBorder); } .textarea-wrapper textarea { - flex: 1; + display: block; + width: 100%; + box-sizing: border-box; + border: none; + background: transparent; + border-radius: 0; + outline: none; padding-right: 40px; } @@ -1056,8 +1070,9 @@ textarea { } .textarea-wrapper .comment-upload-button { - align-self: flex-start; - margin-top: 4px; + position: absolute; + left: 6px; + bottom: 4px; border: none; background: none; padding: 4px;