mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
The .cli-version file written by local-bin.ts during both dev (compile) and production (package) builds was shipped in the VSIX because .vscodeignore re-includes bin/**. That made the localCli branch in ServerManager true for production installs, letting resolveLocalBwrapEnv inject KILO_BWRAP_PATH from ~/.cache/kilo-vscode/bwrap whenever the bundled helper looked incomplete — broader than the intended dev-only fallback. Exclude the build-only marker after the !bin/** re-include so it stays present in local source/dev checkouts but is absent from packaged installs, keeping localCli detection truly local-only.
35 lines
724 B
Plaintext
35 lines
724 B
Plaintext
.vscode/**
|
|
.vscode-test/**
|
|
out/**
|
|
node_modules/**
|
|
src/**
|
|
webview-ui/**
|
|
script/**
|
|
.gitignore
|
|
.yarnrc
|
|
.npmrc
|
|
esbuild.js
|
|
vsc-extension-quickstart.md
|
|
**/tsconfig.json
|
|
**/eslint.config.mjs
|
|
**/*.map
|
|
**/*.ts
|
|
**/.vscode-test.*
|
|
AGENTS.md
|
|
.prettierignore
|
|
.env
|
|
.env.*
|
|
|
|
# Include dist/ directory for compiled extension (production)
|
|
!dist/**
|
|
|
|
# Include bin/ directory for CLI binary (production)
|
|
!bin/**
|
|
# .cli-version is a local-source build marker written by local-bin.ts. It must
|
|
# not ship in the VSIX, otherwise production installs are detected as local
|
|
# builds and may inject a dev-only bwrap fallback (see ServerManager.localCli).
|
|
bin/.cli-version
|
|
|
|
# Include WAV assets used by extension-host notification playback
|
|
!audio-wav/**
|