Commit Graph

4785 Commits

Author SHA1 Message Date
kiloconnect[bot] 2df50796b6 chore: add kilocode_change annotations to ling model changes 2026-04-21 08:07:34 +00:00
Christiaan Arnoldus 20c4962541 Merge branch 'main' into feat/ling 2026-04-21 10:02:31 +02:00
Marian Alexandru Alecu 60a1f3c36d Merge pull request #9246 from Kilo-Org/fix/plan-followup-translations
feat(i18n): translate plan follow-up options
2026-04-21 09:57:23 +03:00
kiloconnect[bot] e6310c5292 fix(cli): add alibaba to kiloProviderOptions thinking translation 2026-04-20 19:19:42 +00:00
Alex Alecu 00ad8f9c87 Merge remote-tracking branch 'origin/main' into fix/plan-followup-translations
# Conflicts:
#	packages/kilo-vscode/tests/unit/question-dock-utils.test.ts
#	packages/kilo-vscode/webview-ui/src/components/chat/QuestionDock.tsx
#	packages/kilo-vscode/webview-ui/src/components/chat/question-dock-utils.ts
#	packages/opencode/src/kilocode/plan-followup.ts
#	packages/opencode/test/kilocode/plan-followup.test.ts
2026-04-20 18:09:05 +03:00
kiloconnect[bot] 34e16b3622 Merge remote-tracking branch 'origin/main' into add-alibaba-provider 2026-04-20 15:02:20 +00:00
Alex Alecu df44d3847d fix(cli): keep older queued prompts hidden on retarget 2026-04-20 17:26:54 +03:00
Alex Alecu b25843962d fix(cli): restore "Type your own answer" on plan follow-up in TUI
When the plan agent pauses for the follow-up question, CLI users had no
way to send a free-text reply: the main prompt input is hidden while a
blocking question is active, and the "Type your own answer" row was
being forced off to avoid duplicating the VS Code prompt input. CLI now
shows the custom-answer row again, while VS Code keeps it hidden.
2026-04-20 17:16:48 +03:00
Alex Alecu 64e2f096c4 fix(cli): make plan follow-up "Continue here" continue the loop
The prompt queue's scope() hid the user message injected by
PlanFollowup.inject() because its ID was newer than the queue target,
so the loop saw the same plan_exit messages and re-asked the question
in an infinite cycle. Retarget the queue after inject so the new
message is visible on the next iteration.
2026-04-20 17:16:48 +03:00
Alex Alecu ec5ac2e19f fix(vscode,cli): make plan_exit "Continue here" work again
Restore custom: false on the plan follow-up question — the "Type your own answer" row was redundant because the main prompt already routes typed text as a question reply. Auto-submit single-question single-select option picks in the VS Code QuestionDock so the button behaves like the TUI instead of silently waiting for a second Submit click.
2026-04-20 17:16:48 +03:00
Alex Alecu c529142d72 feat(i18n): translate plan_exit follow-up options in the VS Code sidebar
Add optional `labelKey`/`descriptionKey` to Question.Option and `questionKey`/`headerKey` to Question.Info, annotated with `kilocode_change` markers. Populate these keys from the plan follow-up so the "Ready to implement?" question, "Start new session", and "Continue here" buttons render in the sidebar language while the canonical English labels remain on the reply wire (unchanged server-side matching).
2026-04-20 16:15:06 +03:00
Marius 2b17a7b4e8 fix: persist custom provider model and variant deletions (#9239)
* fix: persist custom provider model and variant deletions

The CLI config.update endpoint deep-merges its payload with existing
global config, so removing a model or reasoning variant from a custom
provider in the UI had no effect on disk. Save payloads now emit null
sentinels for removed IDs, and the Provider schema accepts nullable
record values so stripNulls can delete them during the merge.

Closes #9186

* chore: update kilo-vscode visual regression baselines

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-20 13:05:49 +00:00
Alex Alecu f970d34278 fix(vscode,cli): make plan_exit "Continue here" work again
Restore custom: false on the plan follow-up question — the "Type your own answer" row was redundant because the main prompt already routes typed text as a question reply. Auto-submit single-question single-select option picks in the VS Code QuestionDock so the button behaves like the TUI instead of silently waiting for a second Submit click.
2026-04-20 14:56:40 +03:00
Imanol Maiztegui 22267986b2 Merge pull request #9205 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.4.6
OpenCode v1.4.6
2026-04-20 13:45:58 +02:00
Evgeny Shurakov 214496f679 Merge pull request #8494 from Kilo-Org/eshurakov/nebula-chauffeur
Sessions - Add session_status ingest message for status tracking
2026-04-20 13:06:45 +02:00
Imanol Maiztegui 126132d8da refactor(snapshot): inline kilo snapshot helpers and remove dedicated module
Move worktree-scoped gitdir construction, ACP guard logic, and diff
caching directly into the core snapshot service, eliminating the
separate kilocode/snapshot module. This reduces indirection and keeps
all snapshot concerns co-located in a single file.
2026-04-20 12:55:36 +02:00
Evgeny Shurakov 93e7ddb39e fix(cli): coalesce status sync retries 2026-04-20 12:04:07 +02:00
Imanol Maiztegui aa4deb520c resolve merge conflicts 2026-04-20 11:04:03 +02:00
Imanol Maiztegui c4a516f3cf refactor: kilo compat for v1.4.6 2026-04-20 10:45:43 +02:00
Evgeny Shurakov ba6970bf23 fix(cli): time out status derive to prevent stuck chain entries
If deriveAndSyncStatus hangs, the per-session promise chain would never
drain and map entries would accumulate. Wrap the derive with a 3s timeout
so stuck work fails fast, is logged, and the existing cleanup runs.
2026-04-20 10:45:29 +02:00
kiloconnect[bot] 8b90eec6d0 feat(gateway): add Alibaba as supported AI SDK provider 2026-04-20 08:43:03 +00:00
Alex Alecu 973e3f912f fix(cli): restore busy state when suggestion is accepted 2026-04-20 11:25:53 +03:00
tangxinyao f13b635dcf feat: use model.api.id rather than model.id as the id 2026-04-20 16:21:45 +08:00
Alex Alecu 7a1388d8d5 fix(cli): release session busy state while suggest tool waits for user
The suggest tool blocks on a promise that only resolves when the user accepts or dismisses a suggestion. While blocked, the runner stayed in Running state and the session status remained busy — if the suggestion was never answered (e.g. VS Code was closed), the session was stuck forever and follow-up prompts appeared queued.

Mark the session idle while awaiting the user's response; the loop will set it back to busy when the suggestion resolves and processing continues.

Fixes #9150
2026-04-20 11:11:19 +03:00
Tang Xinyao c2e0bbbbb3 Merge branch 'main' into feat/ling 2026-04-20 15:48:53 +08:00
Josh Holmer 7db99c37eb fix: re-prevent plan file corruption for OpenAI models by preserving write tool (#9188) 2026-04-20 09:46:33 +02:00
Marian Alexandru Alecu bec6b03d4c Merge pull request #9193 from Kilo-Org/extreme-cauliflower
docs(cli): require final summary before local review suggestion
2026-04-20 10:40:00 +03:00
marius-kilocode f025e34b6a docs(cli): require final summary before local review suggestion 2026-04-20 09:26:34 +02:00
Evgeny Shurakov 193839329b feat(sessions): add session_status ingest message for status tracking 2026-04-20 09:13:17 +02:00
Imanol Maiztegui 2ee8394cf1 feat: add workspace API endpoints, sanitize export flag, and update SDK types
Add experimental workspace adaptor list and status endpoints to the
OpenAPI spec. Add --sanitize flag to CLI export command for redacting
sensitive data. Update SDK types to reorder session status types before
suggestion types. Remove deprecated /global/sync-event endpoint.

Includes formatting fixes across i18n files, opencode source, and
tests, plus a warpgrep import path correction.
2026-04-17 22:51:24 +02:00
Imanol Maiztegui 5a2789167f Merge branch 'main' into johnnyamancio/kilo-opencode-v1.4.4 2026-04-17 22:35:10 +02:00
Johnny Amancio 8aa490c66e chore: Add kilocode_change marker 2026-04-17 20:17:57 +02:00
Johnny Amancio 2172616229 fix: Remove Bash string appearing before commands - brought back on earlier opencode merge 2026-04-17 20:17:57 +02:00
Marius 72fc5d9918 docs(cli): note cloud schema mirror when adding kilocode_change config keys (#9117)
* docs(cli): note cloud schema mirror when adding kilocode_change config keys

Points devs to apps/web/src/app/config.json/extras.ts in the cloud repo
so new Kilo-only config keys get recognised by $schema references.

Closes #9115

* docs: add CLI config schema page and AGENTS.md mirror rule

Short page under Contributing → Architecture explaining how the cloud
overlays Kilo extras on top of the upstream opencode JSON Schema, with
the step-by-step for adding a new Kilo-only config key. AGENTS.md gains
a one-liner in the Fork Merge Process section pointing to it.
2026-04-17 17:57:24 +02:00
Christiaan Arnoldus 11343c4473 Merge pull request #9067 from Kilo-Org/fix/queued-prompt-reorder
fix(cli): move queued user prompts to end of history
2026-04-17 13:55:38 +02:00
Marian Alexandru Alecu 852b52e846 Merge pull request #9118 from Kilo-Org/kilocode-model-switcher
fix(cli): preserve per-agent model overrides
2026-04-17 14:43:48 +03:00
Johnny Amancio eb89a1966f chore: Keep scope by project_id to prevent cross-project leakage 2026-04-17 13:20:51 +02:00
Alex Alecu 07df796591 fix(cli): wrap auto-apply effect in change markers 2026-04-17 14:12:48 +03:00
Johnny Amancio 3c7b0a7d3c fix: Regenerage sdk and port tests to new v1.4.4 style 2026-04-17 12:47:27 +02:00
Josh Holmer 31808ccc64 fix: improve GPT and Codex subagent usage (#9076) 2026-04-17 12:36:21 +02:00
Johnny Amancio 8bff3718aa fix: Fix proxy removal that was moved in v1.4.4 2026-04-17 12:30:12 +02:00
Johnny Amancio 0c3e31f6d2 Merge remote-tracking branch 'origin/main' into johnnyamancio/kilo-opencode-v1.4.4 2026-04-17 12:23:18 +02:00
Marius 530125828e Add folder mentions (#9023)
* feat(vscode): add folder mentions

* fix(vscode): harden folder mentions

* refactor(vscode): tighten folder mention plumbing

* fix(cli): annotate kilo-specific read.ts exports
2026-04-17 11:59:31 +02:00
Alex Alecu 343455b878 fix(cli): preserve per-agent model overrides (#9050)
Gate the agent-change auto-apply effect on model.json load and skip it when a per-agent pick already exists, so user-selected models for agents with a configured default no longer revert on agent switches or restarts.
2026-04-17 12:47:35 +03:00
Alex Alecu 9dfa2ae352 Merge remote-tracking branch 'origin/main' into kilocode-suggest-code-review
# Conflicts:
#	bun.lock
#	package.json
#	packages/app/package.json
#	packages/desktop-electron/package.json
#	packages/desktop/package.json
#	packages/extensions/zed/extension.toml
#	packages/kilo-docs/package.json
#	packages/kilo-gateway/package.json
#	packages/kilo-i18n/package.json
#	packages/kilo-telemetry/package.json
#	packages/kilo-ui/package.json
#	packages/kilo-vscode/CHANGELOG.md
#	packages/kilo-vscode/package.json
#	packages/kilo-vscode/src/KiloProvider.ts
#	packages/kilo-vscode/webview-ui/src/context/session.tsx
#	packages/opencode/CHANGELOG.md
#	packages/opencode/package.json
#	packages/opencode/src/session/prompt.ts
#	packages/plugin/package.json
#	packages/script/package.json
#	packages/sdk/js/package.json
#	packages/storybook/package.json
#	packages/ui/package.json
#	packages/util/package.json
#	script/upstream/package.json
#	sdks/vscode/package.json
2026-04-17 12:46:12 +03:00
Johnny Amancio 2e1836a91e Merge remote-tracking branch 'origin/main' into johnnyamancio/kilo-opencode-v1.4.4 2026-04-17 11:42:27 +02:00
Alex Alecu a120efdc44 refactor(cli): drop client-gated blocking flag from suggest tool
Webview now ignores the blocking field entirely, and the CLI TUI treats
undefined as blocking (s.blocking !== false), so setting
blocking: Flag.KILO_CLIENT !== 'vscode' is redundant. Drop the line and
the now-unused Flag import — CLI takeover behavior is preserved, webview
behavior is unchanged.
2026-04-17 12:12:37 +03:00
Christiaan Arnoldus 8c2e586e05 Merge pull request #9069 from Kilo-Org/fix/opus-4.7-adaptive-reasoning
fix(cli): add opus-4.7 adaptive reasoning and xhigh effort
2026-04-17 10:22:00 +02:00
kiloconnect[bot] e60c326319 fix(cli): add opus-4.7 adaptive reasoning and xhigh effort variant 2026-04-17 07:59:52 +00:00
Alex Alecu 226f9e3483 fix(cli): drop state.cancel from prompt enqueue path
The prompt queue already serializes follow-up loops, so canceling the
in-flight loop on every new prompt breaks the queue contract (see
session-prompt-queue.test.ts). Keep only Suggestion.dismissAll so a
previous loop blocked on a suggestion can settle.
2026-04-17 10:12:14 +03:00