Skip to content

Commit c9a1569

Browse files
fix: preserve @github/copilot/sdk/index.js during extension packaging
The .moduleignore rule stripped sdk/index.js from @github/copilot, which is correct for app-level node_modules but breaks the built-in copilot extension when built from source via packageCopilotExtensionStream. The copilot extension externalizes @github/copilot in esbuild and needs sdk/index.js at runtime for CLI sessions, agents, and model fetching. Signed-off-by: Roman Nikitenko <rnikiten@redhat.com> Assisted-by: Cursor AI
1 parent b38c4e3 commit c9a1569

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

code/build/.moduleignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ zone.js/dist/**
215215
@xterm/xterm-addon-*/out-test/**
216216

217217
# @github/copilot - strip unneeded binaries and files
218-
@github/copilot/sdk/index.js
219218
@github/copilot/prebuilds/**
220219
@github/copilot/clipboard/**
221220
@github/copilot/ripgrep/**

0 commit comments

Comments
 (0)