Commit Graph

10030 Commits

Author SHA1 Message Date
Catriel Müller dc4282d55c fix: remove unused version variable from vscode publish script
The script uses Script.version (CLI version) for GitHub release upload,
not the extension's package.json version. Removed the unused variable
to avoid confusion.
2026-02-17 11:07:30 -03:00
Catriel Müller 868b206ef9 fix: apply +6 major version offset when using KILO_VERSION env var
The package.json already has version 7.x (6 more than CLI's 1.x).
When KILO_VERSION is set in the workflow, it contains the CLI version,
so we need to add 6 to match the vscode extension versioning.
2026-02-17 11:04:07 -03:00
Catriel Müller 16990d4045 Update packages/kilo-vscode/script/build.ts
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-02-17 10:57:03 -03:00
Catriel Müller 913dfb414a refactor: integrate vscode build into standard publish workflow
- Split vscode publish script into build.ts and publish.ts
- Build script copies CLI binaries from dist artifacts instead of downloading
- VSIX packages renamed to kilo-vscode-{target}.vsix
- Added build-vscode job to publish.yml workflow
- VSCode publishing now part of main publish flow
- Removed standalone publish-vscode.yml workflow
2026-02-17 10:24:27 -03:00
kilo-maintainer[bot] b3822ebd59 chore: generate 2026-02-17 12:46:44 +00:00
Mark IJbema 582fa78b79 Merge pull request #367 from Kilo-Org/mark/streaming-feedback
feat(vscode): add streaming feedback indicators + remove unnecessary kilocode change markers
2026-02-17 13:45:33 +01:00
Mark IJbema f211077e3b fix: use crypto.randomUUID() for optimistic message IDs 2026-02-17 13:34:38 +01:00
Mark IJbema 0595389e6c chore: remove unnecessary kilocode_change markers from kilo-vscode 2026-02-17 13:16:04 +01:00
Mark IJbema 33566674c8 feat(vscode): internationalize streaming feedback status strings 2026-02-17 13:12:32 +01:00
Mark IJbema 32856695bc feat(vscode): add streaming feedback indicators
Implement 4-phase streaming feedback for the VS Code webview:

- Phase 1: Working indicator with spinner, status text, and elapsed timer
- Phase 2: Auto-scroll on part updates during streaming
- Phase 3: Retry indicator showing attempt number and countdown
- Phase 4: Optimistic user messages for instant feedback
2026-02-17 12:57:22 +01:00
Marius 46e91c15a6 fix(vscode): remove preLaunchTask from launch.json (#366) 2026-02-17 12:36:07 +01:00
Mark IJbema 769013fb6e Merge pull request #364 from Kilo-Org/mark/fix-sidebar-session-loss
fix(vscode): retain sidebar webview context when switching panels
2026-02-17 12:00:13 +01:00
kilo-maintainer[bot] 4ff4324423 chore: generate 2026-02-17 10:35:49 +00:00
Mark IJbema 0f74fe892e Merge pull request #361 from Kilo-Org/mark/watch-cli-rebuild
feat(vscode): auto-rebuild CLI binary on opencode source changes + auto-start watchers
2026-02-17 11:34:47 +01:00
kilo-maintainer[bot] f0d2666db5 chore: generate 2026-02-17 10:25:38 +00:00
Mark IJbema 8498c4fa7b fix(vscode): retain sidebar webview context when switching panels
When users switched from the Kilo sidebar to the file explorer (or any
other sidebar view) and back, the webview was destroyed and recreated,
losing the active session state.

Add retainContextWhenHidden: true to the sidebar WebviewViewProvider
registration, matching the behavior already used for tab panels.
2026-02-17 11:24:20 +01:00
Mark IJbema e5b3259708 Merge pull request #357 from Kilo-Org/mark/vscode-permission-dock-and-diff
fix(vscode): render permission dock and enable diff/code components in webview
2026-02-17 11:22:16 +01:00
Mark IJbema c3d4f7f2d0 Merge pull request #363 from Kilo-Org/mark/fix-vscode-sidebar-icon
fix: use Kilo logo for vscode extension sidebar icon
2026-02-17 11:20:49 +01:00
Mark IJbema fe66e1d12a fix: use Kilo logo for vscode extension sidebar icon
Replace the generic $(code) codicon with the actual Kilo logo PNGs
for the activity bar icon, matching the kilocode-5 extension.
2026-02-17 11:06:54 +01:00
Mark IJbema 7feae1ef06 feat(vscode): auto-rebuild CLI binary on opencode source changes
- Add watch-cli.ts script that watches packages/opencode/src/ for changes,
  triggers a rebuild (bun run build --single --skip-install), and copies
  the new binary to packages/kilo-vscode/bin/kilo
- Add watch:cli npm script in kilo-vscode package.json
- Add 'VSCode - CLI Watch' task in .vscode/tasks.json
- Include CLI watch in the composite 'VSCode - Watch' task so it runs
  automatically when launching the extension via F5
2026-02-17 10:53:31 +01:00
Mark IJbema da523ff79b Merge pull request #362 from Kilo-Org/mark/filter-redacted-reasoning
fix: filter [REDACTED] from reasoning parts in UI
2026-02-17 10:50:05 +01:00
Mark IJbema 8dd89033cc fix: filter [REDACTED] from reasoning parts in UI
OpenRouter sends encrypted redacted_thinking blocks that appear as
literal [REDACTED] text in reasoning parts. The TUI already strips
these, but the shared UI component (used by both the vscode extension
and packages/app) rendered them as-is.

Strip [REDACTED] from reasoning part text before rendering, matching
the TUI behavior.
2026-02-17 10:44:26 +01:00
Mark IJbema 7a83c43da4 refactor: use kilo-ui Button and BasicTool for permission dock 2026-02-17 10:29:02 +01:00
Mark IJbema 24f55b7b36 Merge pull request #359 from Kilo-Org/mark/fix-vscode-serif-font
fix: override --font-family-sans in vscode theme to prevent serif fallback
2026-02-17 10:24:33 +01:00
Mark IJbema 45614adc6d fix: override --font-family-sans in vscode theme to prevent serif fallback
The upstream UI sets --font-family-sans to Inter, but the Font component
that loads Inter via @font-face is not used in the VSCode webview. This
caused the browser to fall back to its default serif font.

Override --font-family-sans with var(--vscode-font-family) in the
kilo-vscode theme scope so all CSS references resolve to the native
VSCode UI font.
2026-02-17 10:18:42 +01:00
Mark IJbema 7ebc9d3ea8 fix(vscode): reposition text-part copy button for sidebar layout
The text-part copy button was positioned above the text body (top: -28px)
which works in the main app with 32px margin-top, but overflows into the
tool part above in the narrower sidebar layout. Move it inside the text
body instead.
2026-02-17 10:10:46 +01:00
Mark IJbema 4681d3c5bb Revert "fix(vscode): contain pierre diffs copy button within collapsible"
This reverts commit 5c464c4bc4.
2026-02-17 10:10:15 +01:00
Mark IJbema bd657be869 Merge pull request #358 from Kilo-Org/mark/agents-add-kilo-vscode
docs: add kilo-vscode to monorepo table in AGENTS.md
2026-02-17 10:08:04 +01:00
Mark IJbema 86586bc9ea Merge pull request #356 from Kilo-Org/mark/fix-balance-refresh
fix: auto-refresh balance when navigating to profile view
2026-02-17 09:51:18 +01:00
Mark IJbema 4331f64750 docs: add kilo-vscode to monorepo table in AGENTS.md 2026-02-17 09:47:35 +01:00
Mark IJbema 5c464c4bc4 fix(vscode): contain pierre diffs copy button within collapsible 2026-02-17 09:45:10 +01:00
Mark IJbema f35784933c fix(vscode): render permission dock and enable diff/code components in webview
- Add CodeComponentProvider and DiffComponentProvider to App.tsx so
  message parts with code/diffs render correctly
- Add permission dock UI to ChatView with deny/allow-always/allow-once buttons
- Forward patterns from permission.asked SSE event in KiloProvider
- Add pierreWorkerStubPlugin to esbuild to handle @pierre/diffs worker
  imports (workers not available in VS Code webview CSP)
2026-02-17 09:40:37 +01:00
Mark IJbema 70ed891874 fix: auto-refresh balance when navigating to profile view
Add onMount hook to ProfileView that posts refreshProfile message,
ensuring balance data is always fresh when the user opens the profile page.
Previously balance was only fetched on initial webview mount.
2026-02-17 09:34:45 +01:00
Mark IJbema f02242c113 Merge pull request #353 from Kilo-Org/jl-cleanup-prompt-text
Clean up text on how to submit and make new lines
2026-02-17 09:17:36 +01:00
Josh Lambert ec1f8e56c9 Apply to rest of translations 2026-02-16 22:09:45 -05:00
Josh Lambert cbed966f0d Clean up text on how to submit and make new lines 2026-02-16 21:59:38 -05:00
Catriel Müller 985d6d4367 Merge pull request #343 from Kilo-Org/catrielmuller/fix-vscode-publish
fix: remove conflicting --target flag from vsce publish
2026-02-16 19:00:16 -03:00
Catriel Müller 3fbe90dc53 refactor: fix vsce publish 2026-02-16 18:55:47 -03:00
kilo-maintainer[bot] 18f03241d9 chore: update nix node_modules hashes 2026-02-16 21:55:40 +00:00
kilo-maintainer[bot] 2ff7b093c8 chore: generate 2026-02-16 21:49:42 +00:00
Catriel Müller 0d1f220e74 Merge pull request #332 from Kilo-Org/catrielmuller/migrate-vscode-to-bun
Migrate kilo-vscode to Bun workspace and unified VS Code config
2026-02-16 18:48:56 -03:00
Catriel Müller 4875ed4ebe refactor: limit .vscode/ tracked files to prevent user-specific config commits 2026-02-16 18:42:30 -03:00
Catriel Müller 53698da5b7 refactor: revert hotreload 2026-02-16 18:25:27 -03:00
Catriel Müller 4bb728182a refactor: revert test change 2026-02-16 18:21:05 -03:00
Catriel Müller f4ee1308d8 refactor: remove hotreload code 2026-02-16 18:21:05 -03:00
Catriel Müller 0eb2da613b feat: hotreload wip 2026-02-16 18:21:05 -03:00
Catriel Müller ad61dc4b2e feat(vscode): add webview hot reload for development mode
- Add FileSystemWatcher to monitor dist/webview.* files
- Automatically reload webview when source changes (300ms debounce)
- Only active in ExtensionMode.Development
- Improves DX for rapid webview UI iteration
- State is preserved via existing syncWebviewState mechanism
2026-02-16 18:21:05 -03:00
Catriel Müller 91588eaa89 refactor: vscode monorepo instegration 2026-02-16 18:21:05 -03:00
Catriel Müller 8b80c0bdea Merge pull request #339 from Kilo-Org/catrielmuller/kilo-stable-nix
Nix - Kilo Stable support
2026-02-16 17:40:25 -03:00
Catriel Müller 212e221759 refactor: remove plan 2026-02-16 17:03:25 -03:00