Commit Graph

65 Commits

Author SHA1 Message Date
Catriel Müller 2dd5100eea fix(vscode): validate local CLI snapshot sidecar 2026-06-05 09:40:38 -03:00
Catriel Müller 78117d1a25 fix: validate CLI models snapshot before release builds 2026-06-05 09:28:40 -03:00
marius-kilocode a6b005dfed fix: restore cloud session previews 2026-06-03 12:50:53 +02:00
marius-kilocode ffad65db8e fix(vscode): address accessibility coverage feedback 2026-05-28 17:01:56 +02:00
marius-kilocode 63f39f6ae4 test(vscode): enforce scoped webview accessibility coverage 2026-05-28 16:47:54 +02:00
Marius c03f3a016a Merge pull request #10482 from Kilo-Org/fix-openrouter-indexing-dimensions
fix(indexing): support OpenRouter Gemini embeddings
2026-05-21 13:33:53 +02:00
marius-kilocode 9c8451f420 chore(vscode): keep extension launch logs opt-in 2026-05-21 13:08:31 +02:00
marius-kilocode 205e22ee46 fix(indexing): support OpenRouter Gemini embeddings 2026-05-21 13:06:36 +02:00
marius-kilocode 371b7e8ae6 fix(cli): resolve packaged tree-sitter wasm paths 2026-05-20 22:44:05 +02:00
marius-kilocode 900ba85b83 fix(vscode): rebuild CLI for snapshot installs 2026-05-14 16:46:48 +02:00
marius-kilocode 3885ff8179 fix(vscode): address speech input review issues 2026-05-14 14:44:29 +02:00
marius-kilocode 1e397c3059 chore: address speech input review 2026-05-14 14:22:42 +02:00
marius-kilocode 1af79731a8 feat(vscode): add speech-to-text prompt input 2026-05-14 14:16:51 +02:00
Imanol Maiztegui 6cd26f31c6 fix(cli): skip web UI embed when packages/app is missing
The upstream build script tries to bundle packages/app/ which was removed in #9845. Guard the embed step so the CLI build still works, and revert the --skip-embed-web-ui workaround from #9885 since it is no longer needed.
2026-05-05 10:10:03 +02:00
Imanol Maiztegui af41b32038 fix(kilo-vscode): skip embedding web UI in extension build script
Add --skip-embed-web-ui flag to the build command to avoid bundling
packages/app since the extension uses its own webview.
2026-05-05 09:29:47 +02:00
Mark IJbema 6b4bc40b81 Merge pull request #9751 from Kilo-Org/markijbema/kilo-opencode-v1.14.29
Merge opencode v1.14.29
2026-05-04 14:21:23 +02:00
Marius e9abc09601 feat(vscode): add dev launcher preserve settings flag (#9817)
* feat(vscode): add dev launcher preserve settings flag

* fix(vscode): parse dev launcher settings as jsonc

* fix(vscode): keep dev launcher settings merge dependency-free
2026-05-04 13:04:42 +02:00
Mark IJbema a16e0560c7 Merge remote-tracking branch 'origin/main' into markijbema/kilo-opencode-v1.14.29 2026-05-04 10:27:37 +02:00
Mickey Lazarevic 4d1402bcda feat(kilo-vscode): add shared package version tracking and update app name (#9740)
Add version tracking for the shared package alongside the opencode package to improve cache invalidation. Also update the app name from "opencode" to "kilo" in the shared global configuration.

This change ensures that the local binary build process tracks both the opencode and shared package versions, allowing for more accurate cache invalidation when either package changes. The app name update reflects the correct project branding.
2026-05-01 18:52:31 +02:00
Marius b99dcee596 feat(vscode): add variant slash command (#9680) 2026-04-29 13:46:38 +02:00
kiloconnect[bot] 0cc0cf2aa0 fix(vscode): retry Open VSX publish on transient failures 2026-04-22 12:00:26 +00:00
Marius 4888fe2046 fix(vscode): strip Electron env vars in dev launch script (#8906)
* fix(vscode): strip Electron env vars in dev launch script

When bun run extension is invoked from a VS Code task (e.g. the Agent
Manager run button), ELECTRON_* and VSCODE_* env vars leak into the
spawned process, causing VS Code to reuse the existing instance instead
of opening a new window. Strip these vars before spawning.

* fix(vscode): also strip Electron env vars in blocking launch path
2026-04-14 14:44:28 +02:00
kiloconnect[bot] 6e93f58a5f feat(vscode): add pre-release publishing support to marketplace workflow
Add a pre_release checkbox to the publish workflow that passes
--pre-release to vsce package, vsce publish, and ovsx publish.
This enables publishing to the VS Code Marketplace pre-release
channel without requiring a separate versioning scheme.

Closes #8156
2026-04-02 13:48:45 +00:00
kiloconnect[bot] cbae0ece8f fix(vscode): publish extension as release instead of pre-release
Remove --pre-release flag from vsce package and vsce publish commands.
Previously the VS Code Marketplace received a pre-release VSIX while
Open VSX received a production VSIX. Now both receive the same
production VSIX built without --pre-release, eliminating the separate
out/prod/ directory.
2026-04-01 11:00:54 +00:00
Catriel Müller dcab290055 Publish release on OpenVSX (#7608)
* feat: Prod Release only to OpenVSX

* feat: build as a prod release

* feat: dual vsx build
2026-03-26 15:54:19 +01:00
Marius f07884acdb fix(vscode): auto-rebuild CLI binary when opencode source changes (#7630)
local-bin.ts now tracks the latest git commit hash of packages/opencode/
in bin/.cli-version. On subsequent runs, if the hash differs, the binary
is automatically rebuilt instead of silently reusing a stale one.
2026-03-25 19:16:36 +01:00
Mark IJbema 0b6c5c68ba fix(vscode): limit Windows CLI path resolution to win32 only 2026-03-23 18:08:34 +01:00
Mark IJbema bfe17bf4a3 fix(vscode): resolve code CLI path on Windows for dev-snapshot install 2026-03-23 17:00:43 +01:00
Marius acf3dd5107 feat(vscode): add bun run extension to build and launch dev VS Code (#7351) 2026-03-20 12:42:26 +01:00
Catriel Müller 4863c31e39 refactor: remove markers on vscode ext 2026-03-18 14:18:08 -03:00
Catriel Müller 3034667f50 feat: add Windows ARM64 build support for CLI and VS Code extension
- Add win32/arm64 target to packages/opencode/script/build.ts
- Add win32-arm64 target to packages/kilo-vscode/script/build.ts and publish.ts
- Add @parcel/watcher-win32-arm64@2.5.1 optional dev dependency to packages/opencode/package.json
- Update RELEASING.md to document win32-arm64 CLI and VSIX targets
2026-03-18 14:10:03 -03:00
Kirill Kalishev 6321252c5e Merge pull request #7028 from Kilo-Org/kirillk/dogfood
feat(vscode): add dev-snapshot build script
2026-03-16 09:20:16 -04:00
Mark IJbema 8b49ad782c fix: local-bin --force now correctly removes dist directory
Bun.file().exists() returns false for directories, so the dist
directory was never cleaned on --force. Stale prebuilt binaries
were reused instead of triggering a fresh build. Switch to
existsSync() which works for both files and directories.
2026-03-16 13:29:40 +01:00
kirillk 38c3543f39 chore(vscode): use green checkmark for install success message 2026-03-13 13:10:21 -04:00
kirillk 84ffca2629 chore(vscode): replace install-dev-extension with snapshot:install task 2026-03-13 12:53:21 -04:00
Kirill Kalishev 2488f261b7 Update packages/kilo-vscode/script/dev-snapshot.ts
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-03-13 12:49:55 -04:00
kirillk bd083e2d08 fix(vscode): run full typecheck (extension + webview) in snapshot build 2026-03-13 12:37:16 -04:00
kirillk d434c42e6f fix(vscode): semver-safe sanitization of git user.name in snapshot version 2026-03-13 12:35:35 -04:00
kirillk 79970cd9d3 fix(vscode): include username in vsix filename, deduplicate path output 2026-03-13 12:26:36 -04:00
kirillk b535131c0b feat(vscode): add dev-snapshot build script with username in version 2026-03-13 12:20:42 -04:00
Marius 96994903d1 feat(kilo-vscode): add type safety infrastructure and typed message contracts (#6785)
* feat(kilo-vscode): add type safety infrastructure, typed message contracts, and CI typecheck

- Add typecheck script for CI (bun turbo typecheck now covers kilo-vscode)
- Type-check both extension (src/) and webview (webview-ui/) code
- Extend ESLint to cover .tsx files and webview-ui/src/
- Add typed discriminated unions for agent-manager extension<->webview messages
- Replace Record<string, unknown> with AgentManagerOutMessage/AgentManagerInMessage
- Fix 14 empty catch blocks with proper logging
- Fix 16 pre-existing webview type errors (icons, i18n keys, null coercion, etc.)
- Add SolidJS sortable directive type declaration, remove @ts-ignore
- Fix missing CreateMultiVersionRequest.name and AgentManagerSetSessionModelMessage

* fix: wire typecheck into compile/package and restore i18n selectAgent key

- compile and package scripts now use typecheck (extension + webview) instead of check-types (extension only)
- Restore settings.agentBehaviour.selectAgent key in all locales (used by AgentBehaviourTab dropdown)
- Add the key to en.ts which was missing it

* add selectAgent.title and selectAgent.description i18n keys

* fix: remove onBack prop from ProfileView stories (prop removed upstream)

* fix: replace bash/grep typecheck scripts with cross-platform Bun script

Addresses PR review feedback — the bash -c pipelines in check-types:extension
and check-types:webview break on Windows. The new script/typecheck.ts runs
tsc and filters errors in JS, so typecheck works on all platforms.
2026-03-11 10:23:24 +01:00
Mark IJbema 64c9e7270a fix: pass VSCODE_EXEC_PATH from task to detect editor variant reliably 2026-03-10 14:34:31 +01:00
Mark IJbema 521e7f7459 fix: log which editor the dev extension is being installed into 2026-03-10 14:24:40 +01:00
Mark IJbema b95f7ff3a7 fix: detect VS Code variant from VSCODE_IPC_HOOK instead of which 2026-03-10 14:19:05 +01:00
Mark IJbema 4026bcb728 fix: detect code-insiders in install-dev-extension script 2026-03-10 13:18:30 +01:00
Catriel Müller 602d2b0815 fix(vscode): clean out directory before building dev extension
Ensure stale .vsix files are removed before each build so the installer
always picks up the freshly built version.
2026-03-06 08:18:13 -03:00
Imanol Maiztegui 770e34820c Merge remote-tracking branch 'upstream/main' into feat/use-sdk
# Conflicts:
#	bun.lock
#	packages/kilo-vscode/src/KiloProvider.ts
#	packages/kilo-vscode/src/agent-manager/AgentManagerProvider.ts
#	packages/kilo-vscode/src/services/cli-backend/sse-utils.ts
#	packages/kilo-vscode/src/services/cli-backend/types.ts
#	packages/kilo-vscode/tests/unit/sse-client-utils.test.ts
#	packages/kilo-vscode/webview-ui/src/App.tsx
2026-02-27 17:29:26 +01:00
Marius bded39c5ab fix(vscode): add @vscode/vsce as devDependency to fix dev install script (#6437) 2026-02-27 15:56:16 +01:00
Imanol Maiztegui f8f23a14ae build(kilo-vscode): regenerate SDK types before extension build 2026-02-26 19:29:34 +01:00
Catriel Müller c9e4a82957 refactor: publish vscode marketplace 2026-02-25 15:59:59 -03:00