Commit Graph
28120 Commits
Author SHA1 Message Date
kirillk f5ff70ea3b fix(jetbrains): improve worktree base branch selector 2026-08-11 19:48:52 -04:00
kirillk d17cd80cc3 fix(jetbrains): simplify new worktree dialog 2026-08-11 17:32:17 -04:00
kirillk 9e09eafb8e fix(jetbrains): start worktree session with picked mode, model, and effort
The New Worktree dialog only stashed the prompt text, so the freshly-opened
worktree session resolved its own default mode/model and the first turn could
fail to start. Carry the picked agent/provider/model/reasoning with the initial
prompt and seed them as the session's preferred selection so the pickers and
every later turn use the dialog's choice.

- Extend PendingWorktreePrompt to carry the selection alongside the text
- Thread the selection through WorktreeController.create and the dialog
- Add SessionController.applySelection + PromptSelection, applied on submit
- Drop the dialog's global default_agent write that changed the mode for every
  other workspace and raced the new session's model load
2026-08-11 17:12:54 -04:00
kirillk 579245d8f2 feat(jetbrains): use prompt panel for new worktrees 2026-08-11 15:51:43 -04:00
kirillk 45540e159e fix(jetbrains): clarify worktree action menu 2026-08-11 11:26:11 -04:00
kirillk 6d520d66db fix(jetbrains): tighten active list menu spacing 2026-08-11 11:17:06 -04:00
kirillk 686208eb04 fix(jetbrains): align worktree editor titles 2026-08-11 11:04:02 -04:00
kirillk a39dc5ddfd fix(jetbrains): restore history back context 2026-08-11 10:47:34 -04:00
kirillk ac23a8e2cb fix(jetbrains): move settings into tool window gear 2026-08-11 10:32:46 -04:00
kirillk bf1ebd6861 Merge remote-tracking branch 'origin/main' into puddle-barometer
# Conflicts:
#	packages/kilo-jetbrains/frontend/src/test/kotlin/ai/kilocode/client/settings/context/ContextSettingsUiTest.kt
2026-08-10 16:19:48 -04:00
kirillk 17d42485b2 feat(jetbrains): refine worktree session header 2026-08-10 16:16:03 -04:00
Kirill Kalishev 177fb5b6df Merge pull request #13015 from Kilo-Org/colossal-wizard
feat(jetbrains): add editor context and prompt attachments
jetbrains/v7.0.15
2026-08-10 16:12:21 -04:00
kirillk 025bbdfe93 fix(jetbrains): preserve session scroll follow intent
Use the sticky tail-follow intent instead of momentary viewport position when deciding whether batched session updates and newly sent prompts should continue auto-scrolling. This prevents turn-close layout changes, such as modified-files cards plus progress footer removal, from cancelling an in-flight follow-to-bottom pass.
2026-08-10 15:27:26 -04:00
cosi-conda 07a504988a Merge pull request #12961 from Kilo-Org/feature/am-pr-view
feat(vscode): Agent Manager PR View Panel
2026-08-10 12:00:15 -07:00
cosi-conda 10762a4d4f Merge branch 'main' into feature/am-pr-view 2026-08-10 11:14:46 -07:00
kirillk 9f32194345 test(jetbrains): stabilize ContextSettingsStateTest against platform app
ContextDraft's default editor value reads a PropertiesComponent app
service, so constructing it requires an initialized IntelliJ Application.
As a plain unit test this only passed when another BasePlatformTestCase
initialized the app first in the same fork, making it order-dependent.
Extend BasePlatformTestCase so the Application is always available.
2026-08-10 14:11:34 -04:00
dcf9c5a0be fix(config): expand MCP header env refs without wiping MCP set (#12554)
* fix(config): expand MCP header env refs without wiping MCP set

Project kilo.jsonc with {env:…} in MCP headers caused the whole config
load to fail since 7.4.5, silently removing every MCP. Leave {env:} literal
during untrusted text substitution, expand only remote MCP headers after
parse, and drop individual MCPs with blocked env refs instead of the full set.

Fixes #12319

* fix(config): ban {file:} during MCP header env expansion

Post-parse header expand used trusted substitute without fileScope, so a
decoy in-repo {file:} plus any {env:} could read arbitrary paths into
remote MCP headers. Expand only {env:} and reject residual {file:}.

* fix(config): ban env secret expansion in project MCP headers

Untrusted project MCP headers must not read process.env or authEnv.
Reject {env:} and {file:} per entry with a warning so sibling MCPs still load.

* fix(config): drop global MCP headers on project URL retarget

When a project config overrides a same-named global remote MCP with a
new URL and does not restate headers, do not inherit expanded secret
headers from the global entry. Also fix MCP union narrowing in tests
and stop saying "header env expansion failed" when only validating.

* fix(config): do not mutate caller's patch in mergeConfig

Shallow-copy patch before delete p.mcp so probe-then-write
updateProjectConfig paths keep mcp on the original object.

* fix(config): secure project MCP header loading

* Update packages/opencode/src/config/config.ts

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>

* fix(config): secure layered MCP transitions

---------

Co-authored-by: arimu1 <19286898+arimu1@users.noreply.github.com>
Co-authored-by: Johnny Eric Amancio <johnnyeric@gmail.com>
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-08-10 19:45:45 +02:00
kirillk ad933a31df feat(jetbrains): align prompt background with code fragments
Give the prompt input and the transcript user-prompt bubble a dedicated
background that defaults to the editor's code-fragment (code block) color,
via a new Kilo.Session.Prompt.Background theme key so it can be restyled
independently. Attachment strip is transparent so the prompt surface shows
through, and the prompt-bar mode/model/effort pickers now blend into that
surface when idle while keeping the standard hover fill. The transcript
bubble drops its outline unless the prompt shares the session background,
in which case it keeps the original outline for contrast.
2026-08-10 13:34:46 -04:00
cmanu e532519947 fix(pr-view): error handling for pr reviewer fetch 2026-08-10 10:24:14 -07:00
cmanu e62e92d368 fix(pr-view): fetch the most recent 20 reviews 2026-08-10 10:19:03 -07:00
cmanu b87f4da239 feat(pr-view): add title to pr hash 2026-08-10 10:16:44 -07:00
cmanu 1afd4e7c2a format(pr-view): prettier 2026-08-10 10:15:10 -07:00
cmanu 7bf1e546eb feat(pr-view): close review tab when pr panel opens 2026-08-10 10:09:53 -07:00
cmanu a1daaadd18 feat(pr-view): remove excess markedprovider on pr 2026-08-10 10:04:50 -07:00
cmanu 1b2ab46479 fix(pr-view): Adjust link out pattern to use vs code post message 2026-08-10 10:00:48 -07:00
cmanu 95c361e2e2 fix(pr-view): clear error on successful status received 2026-08-10 09:54:58 -07:00
cmanu cf490b9ead fix(pr-view): Update hash for pr status poller to include reviewers state change 2026-08-10 09:52:28 -07:00
kirillk 745ee1ecce fix(jetbrains): harden agent manager session lifecycle 2026-08-10 12:21:49 -04:00
cmanu cc397bb885 feat(pr-view): new icons in kilo-ui for circle x, pull request, and refresh 2026-08-10 09:20:41 -07:00
kirillk 5c08bda580 fix(jetbrains): underline prompt attachment file links
Remove the remaining prompt attachment strip border and reuse the shared underlined file-link styling for attachment chip labels so clickable files look consistent in the transcript.
2026-08-10 12:07:16 -04:00
cmanu d074e0eb4b fix(pr-view): Update mergeMessages to main 2026-08-10 08:11:27 -07:00
cmanu 0a6b39f618 Merge branch 'main' into feature/am-pr-view 2026-08-10 08:04:46 -07:00
Christiaan Arnoldus d99662338e Merge pull request #13046 from Kilo-Org/resolute-cattle
feat(vscode): improve custom provider dialog layout and model toggles
2026-08-10 16:22:21 +02:00
kirillk aaf2820162 fix(jetbrains): handle prompt bulk updates and context apply
Skip prompt editor height and highlight recalculation while the editor document is in bulk update, then schedule one refresh after bulk mode exits so undo/redo cannot trigger UnexpectedBulkUpdateStateException.

Also include the local Auto-Include Editor Context setting in the Context page draft state so toggling it marks the configurable modified and Apply persists it without sending a CLI config patch.
2026-08-10 09:48:35 -04:00
Christiaan Arnoldus 0a1d7f3163 Merge branch 'main' into resolute-cattle 2026-08-10 15:38:25 +02:00
Christiaan Arnoldus ff6f207a89 Merge pull request #13044 from Kilo-Org/feat/exclude-chatgpt-from-prompt-cache-breakpoint
feat(cli): exclude ChatGPT subscriptions from explicit promptCacheBreakpoint treatment
2026-08-10 15:37:02 +02:00
Christiaan Arnoldus 643c12bfd3 Merge pull request #13045 from Kilo-Org/guttural-farmhouse
fix(vscode): keep session errors visible
2026-08-10 15:36:58 +02:00
kirillk 0293919506 fix(jetbrains): trim prompt attachment panel chrome
Remove the remaining border line from the prompt attachment scroll pane and keep only a small standard bottom inset below attached selections.
2026-08-10 09:36:07 -04:00
kirillk 5ba298792d fix(cli): remove unreleased opencode changes 2026-08-10 09:28:17 -04:00
kilo-maintainer[bot] 97d0c97626 chore: update kilo-vscode visual regression baselines 2026-08-10 13:27:08 +00:00
Christiaan Arnoldus 3a9f5a69e7 test(vscode): add storybook stories for custom provider dialog 2026-08-10 15:23:48 +02:00
kirillk 9ebe1f6bd4 fix(jetbrains): align prompt attachment chips
Remove the rounded outline from compact prompt attachment chips and let the prompt attachment container own left, right, and bottom padding so attached selections align with the prompt text.
2026-08-10 09:21:40 -04:00
Christiaan Arnoldus 1b9fedbbe6 fix(vscode): stabilize session error deduplication 2026-08-10 15:17:54 +02:00
Christiaan Arnoldus 981600921a feat(vscode): improve custom provider dialog layout and model toggles 2026-08-10 15:17:17 +02:00
kirillk 32cb1a494d Merge remote-tracking branch 'origin/main' into puddle-barometer 2026-08-10 09:14:07 -04:00
Christiaan Arnoldus 2debcd243c Merge branch 'main' into feat/exclude-chatgpt-from-prompt-cache-breakpoint 2026-08-10 15:12:31 +02:00
Christiaan Arnoldus 00dc8d0242 fix(vscode): keep session errors visible 2026-08-10 15:05:35 +02:00
chrarnoldusandkiloconnect[bot] 9b820d2f9d refactor(cli): simplify ChatGPT subscription detection to zero-cost heuristic
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-08-10 13:04:02 +00:00
Marius 95ad1705f5 Merge pull request #12981 from fxnie/fix/mermaid-copy-png-svg-clipboard
fix(ui): Mermaid Copy PNG/SVG should copy images, not fail or copy markup
2026-08-10 14:52:11 +02:00
Johnny Eric Amancio 77c9782739 Merge pull request #12958 from Kilo-Org/johnnyeric/investigate-memory-model-timeout
fix(memory): quiet transient capture timeouts and stop same-turn retries
2026-08-10 14:52:09 +02:00