1742 Commits
Author SHA1 Message Date
kilo-maintainer[bot] d1404579fa release: v7.3.0 2026-05-15 10:22:34 +00:00
kilo-maintainer[bot] 8de6c2ea86 release: v7.2.54 2026-05-15 08:44:02 +00:00
marius-kilocode dea6169340 fix(ui): harden shell highlighting rendering 2026-05-14 09:45:35 +02:00
Sylwester Liljegren 911e7ce733 feat(ui): add shell command syntax highlighting with Shiki and section labels
Add syntax highlighting to shell command output using Shiki with labeled "Command" and "Output" sections, per-section copy buttons, and an "Open in Editor" action. The feature supports opening full untruncated output in VS Code editor tabs and includes i18n translations for 18 languages.

Changes include:
- BashHighlightedOutput component with shellscript grammar for commands and log grammar for output
- Section labels and dividers matching MCP tool styling patterns
- Copy buttons for both command and output sections with visual feedback
- OpenContent message type and handler for opening arbitrary text in untitled editor tabs
- Support for outputPath metadata to open full files when output is truncated
- CSS styling for section layout, scrolling, and hover-revealed actions
- i18n dictionary updates across all 18 supported languages (ar, br, bs, da, de, en, es, fr, ja, ko, nl, no, pl, ru, th, tr, uk, zh, zht)
- Changeset entry documenting the feature as a minor version bump
2026-05-14 02:02:38 +02:00
Catriel Müller 25aae795a2 fix(ui): avoid fetching provider icons during checks 2026-05-12 21:32:44 -03:00
Marius d8245a0ceb fix(ui): restore Mermaid node labels stripped by DOMPurify (#10158)
DOMPurify 3.1.7+ removed foreignObject from default HTML integration
points, so the inner <div>/<span>/<p> Mermaid renders inside foreignObject
were stripped, leaving every shape with empty text. Restore it via
HTML_INTEGRATION_POINTS.
2026-05-12 07:49:01 +00:00
kilo-maintainer[bot] 645e805250 release: v7.2.52 2026-05-11 21:50:17 +00:00
kilo-maintainer[bot] 1f252acce1 release: v7.2.51 2026-05-11 16:59:59 +00:00
kilo-maintainer[bot] 7a69410acc release: v7.2.50 2026-05-11 11:14:30 +00:00
kilo-maintainer[bot] 9d37a1aead release: v7.2.49 2026-05-09 20:12:04 +00:00
Catriel Müller cd67db9501 fix: kilocode markers 2026-05-08 14:54:30 -03:00
Catriel Müller 11297e4c5a fix: fix providers with wrong credentials 2026-05-08 13:32:35 -03:00
kilo-maintainer[bot] e306eb3f79 release: v7.2.48 2026-05-08 14:13:57 +00:00
kiloconnect[bot] 0cc04158d0 chore: bump dompurify to 3.4.2 for security fixes 2026-05-08 10:00:49 +00:00
kilo-maintainer[bot] b7f436b5b7 release: v7.2.47 2026-05-08 09:13:52 +00:00
Imanol Maiztegui 4764f663a5 fix(vscode): correct diff line numbers in tool calls (#10000)
* fix(ui): correct diff line numbers by padding hunks to their real file positions

When reconstructing before/after content from patches, hunks starting
at lines other than 1 were rendered starting at line 1. Pad blank lines
before each hunk so content aligns with actual file line numbers. Also
add hunkSeparators="simple" prop across all diff viewer instances and
guard against undefined patch parse results.

* refactor(diff): replace content reconstruction with Pierre's native FileDiffMetadata rendering

Migrate all diff viewers from manually reconstructing before/after strings
to passing FileDiffMetadata directly to Pierre's renderer. This ensures
hunk headers are the source of truth for line numbers without requiring
blank-line padding.

Key changes:
- Rename `contents()` to `normalize()` and return FileDiffMetadata
  alongside before/after text for legacy consumers
- Introduce discriminated union DiffProps (DiffPair | DiffPatch) so
  components accept either before/after or a pre-parsed fileDiff
- Thread `patch` field through openDiff payloads and DiffVirtualProvider
- Update DiffVirtualApp, PermissionDiff, and message-part to use the
  new `normalize()` API and render via fileDiff prop
- Add test coverage verifying hunk start lines are preserved without
  padding

BREAKING CHANGE: `contents()` export from session-diff is removed; consumers must migrate to `normalize()`

* fix(diff): normalize trailing newline in text() helper output

* refactor(ui): remove before/after fields from diff payload interfaces

The diff pipeline now relies exclusively on patch strings for rendering
and opening diffs. This eliminates the redundant before/after content
fields from DiffVirtualFile, PermissionFileDiff, OpenDiffFn, and
ApplyPatchFile interfaces across all packages.

- Drop before/after from all diff-related type definitions
- Simplify normalize() call sites to require only patch presence
- Make DiffText type private (no longer exported from session-diff)
- Update edit tool to render from tool input during pending state
- Fix DiffVirtualApp to nest markdown view inside patch guard
- Adjust contract tests to match new fallback behavior

* fix(kilo-ui): Move session-diff normalization logic into kilo-ui package

* refactor(ui): decouple DiffProps type hierarchy between shared and kilo-ui packages

Simplify the shared ui package's DiffProps back to a single concrete
type requiring before/after contents, and relocate the discriminated
union (DiffPair | DiffPatch with optional FileDiffMetadata) into the
kilo-ui package where patch-based rendering is actually needed.

- Revert shared DiffProps to a flat type without fileDiff variant
- Define extended DiffProps union in kilo-ui/src/pierre/index.ts
- Update kilo-ui diff components to import from local pierre module
- Expand OpenDiffFn signature with optional before/after fields
2026-05-07 15:00:46 +00:00
kilo-maintainer[bot] 8699edd5a3 release: v7.2.44 2026-05-07 13:16:09 +00:00
Marius 6fe38e47bc Add Mermaid diagram export actions (#9857)
* feat: add Mermaid diagram export actions

* fix: stabilize Mermaid export pipeline

* fix: format Mermaid image save handler

* fix: limit Mermaid actions to copy and download

* fix: polish Mermaid copy download controls

* fix: simplify Mermaid action menus

* fix: center Mermaid dropdown chevrons

* refactor: use shared dropdowns for Mermaid actions
2026-05-07 13:06:28 +02:00
MariusandImanol Maiztegui 3095efcc4c fix(vscode): restore inline tool diffs (#9688)
* fix(vscode): restore inline tool diffs

* fix(vscode): render tool patches in kilo ui

* style: format long regex assignments and add change marker comment

Reformat multi-line regex match assignments in kilo-ui-contract test
to satisfy line length limits, and annotate the `contents(diff)` call
in session-diff with a kilocode_change tracking comment.

* fix(kilo-vscode): append trailing newlines to expected diff content assertions

Update test expectations in diff-session-source to include trailing
newlines in before/after content, matching actual file content behavior.

* fix(vscode): guard empty-patch diffs in session turn accordion

Match diff-session-source.ts:99 behavior by short-circuiting contents()
when the patch is empty (binary or summarized files), so the accordion
content stays empty instead of rendering a confusing whitespace-only
diff.

---------

Co-authored-by: Imanol Maiztegui <imanol.mzd@gmail.com>
2026-05-07 11:01:47 +02:00
Catriel Müller f40970557f refactor: renegare sdk 2026-05-06 14:26:06 -03:00
Catriel Müller 98866740af feat: kiloclaw chat rework 2026-05-06 14:01:51 -03:00
Mark IJbema 82fc494cdd Merge pull request #9911 from Kilo-Org/markijbema/kilo-opencode-v1.14.30
Merge opencode v1.14.30
2026-05-06 11:20:42 +02:00
kilo-maintainer[bot] b1349843c8 release: v7.2.42 2026-05-06 09:05:30 +00:00
Mark IJbema 1fcd9a6a40 Merge branch 'main' into markijbema/kilo-opencode-v1.14.30 2026-05-06 08:53:54 +02:00
Thomas BrugmanandMarius 40a4d5eae2 fix(ui): keep settings select within viewport (#9910)
Co-authored-by: Marius <marius@kilocode.ai>
2026-05-05 21:43:48 +00:00
Mark IJbema 1ba2980cad resolve merge conflicts 2026-05-05 15:11:52 +02:00
Mark IJbema 0b763ac4ce Some resets found by this script 2026-05-05 14:31:32 +02:00
Mark IJbema 2701776e21 refactor: kilo compat for v1.14.30 2026-05-05 12:50:48 +02:00
kilo-maintainer[bot] 8fcc77a2ae release: v7.2.40 2026-05-05 09:05:27 +00:00
kilo-maintainer[bot] 4e1bae01ae release: v7.2.39 2026-05-05 08:30:11 +00:00
Mark IJbema 0364cda447 Merge remote-tracking branch 'origin/main' into mark/remove-oc-desktop-apps 2026-05-05 09:05:38 +02:00
kilo-maintainer[bot] fa7082fcf8 release: v7.2.36 2026-05-05 00:11:27 +00:00
Marius 712371e231 Add basic mermaid support (#9850)
* feat: render Mermaid diagrams in chat markdown

* fix: remove duplicate Mermaid diagram border

* fix: annotate Mermaid markdown hook

* fix: stabilize Mermaid markdown rendering
2026-05-04 18:14:35 +02:00
kilo-maintainer[bot] a0d657fc65 release: v7.2.35 2026-05-04 16:10:20 +00:00
Mark IJbema a56977d640 Merge branch 'main' into mark/remove-oc-desktop-apps 2026-05-04 17:29:27 +02:00
kiloconnect[bot] 837a62152a chore: annotate shared package removals 2026-05-04 15:13:13 +00:00
kiloconnect[bot] d22d08bbce chore: remove stale desktop package references 2026-05-04 15:00:59 +00:00
kiloconnect[bot] 841fafddf4 fix: remove deleted app packages from build config 2026-05-04 15:00:39 +00:00
Catriel Müller fcb5b02557 Merge branch 'main' into catrielmuller/fix-big-repos 2026-05-04 09:57:27 -03:00
Catriel Müller 029425590b Merge branch 'main' into catrielmuller/fix-big-repos 2026-05-04 07:57:09 -03: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
kilo-maintainer[bot] a1c08dbca4 release: v7.2.34 2026-05-04 03:38:53 +00:00
Catriel Müller 284886ded4 refactor: fix kilocodechanges 2026-05-01 19:59:15 -03:00
Catriel Müller 3384b6736c refactor: address comments 2026-05-01 19:23:10 -03:00
Catriel Müller c9f68644cc refactor: remove added svg 2026-05-01 18:44:47 -03:00
Catriel Müller 33476e5050 feat: handle snapshot initialization on big repos 2026-05-01 18:44:16 -03:00
kilo-maintainer[bot] 5bf9e821e9 release: v7.2.33 2026-05-01 16:49:11 +00:00
Mark IJbema 3f7037549e resolve merge conflicts 2026-04-30 16:25:46 +02:00
Mariusandgithub-actions[bot] f2db4d165c feat(vscode): add terminal command display setting (#9708)
* feat(vscode): add terminal command display setting

* fix: annotate terminal display toggle change

* fix: annotate terminal display jsx block

* fix(vscode): format terminal display renderer

* fix(vscode): preserve bash error rendering

* chore: update kilo-vscode visual regression baselines

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-30 10:46:59 +02:00
opencode eb42193043 release: v1.14.30 2026-04-29 23:33:28 +00:00