The publish path was the dev build
vscode:prepublish ran npm run compile, which calls esbuild with no --production flag — so the shipped bundle was unminified (817KB) and a 408KB sourcemap was packaged. This PR adds a dedicated package script that builds with --production (minify on, sourcemap off) and points vscode:prepublish at it. compile is left alone as the dev build for local work and CI.
New package script; vscode:prepublish points at it; compile unchanged.
package.json · 87 lines
⋯ 63 lines hidden (lines 1–63)
⋯ 14 lines hidden (lines 74–87)
Trim the package contents
.vscodeignore excluded test sources but not the sourcemap or the dev-only dirs, so .github/** (including the stale copilot file), .vscode/**, the quickstart, and the lockfile all shipped. The new ignore list drops them. prompts/ is kept deliberately — it's read at runtime via asAbsolutePath.
The full ignore list at HEAD.