Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ jobs:
sudo apt-get install build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev libkrb5-dev python-is-python3
cd vscode && npm ci

- name: Patch Copilot session wrapper typing
run: |
target_file="vscode/src/vs/platform/agentHost/node/copilot/copilotSessionWrapper.ts"
if grep -q "readonly onUnhandledEvent" "$target_file"; then
perl -0pi -e "s/readonly onUnhandledEvent\\s*=\\s*this\\._onUnhandledEvent\\.event;/readonly onUnhandledEvent: Event<SessionEvent> = this._onUnhandledEvent.event;/" "$target_file"
fi

- name: Build VSCode Web
run: |
cd vscode
Expand Down