Commit Graph

16083 Commits

Author SHA1 Message Date
Catriel Müller d9b2fc7ffd resolve merge conflicts 2026-04-11 12:27:42 -03:00
Catriel Müller 47a2dd0c44 refactor: kilo compat for v1.3.1 2026-04-11 11:25:32 -03:00
Catriel Müller 7393bceb8f Merge pull request #8772 from Kilo-Org/johnnyamancio/kilo-opencode-v1.3.0
OpenCode v1.3.0
2026-04-11 11:23:04 -03:00
Catriel Müller fd22b43704 refactor: fix version 2026-04-11 11:06:18 -03:00
Catriel Müller 0fffab9b8f Merge pull request #8767 from Kilo-Org/catrielmuller/fix-upstream-merge-checkout-icons
fix: also restore provider-icons dir during upstream merge checkout
2026-04-11 10:53:07 -03:00
Johnny Amancio b35dd146df chore: Update server and add markers to missing parts
- Fetch server from https://github.com/Kilo-Org/kilocode/pull/8773/changes#diff-e70a13c73b2667e5c9ac7edea8037993c011064b84300acab2bc7c53b74ce4d0
2026-04-11 15:46:35 +02:00
Johnny Amancio ceb4348dfe chore: Remove merge report and add to .gitignore 2026-04-11 15:22:47 +02:00
Johnny Amancio 1e0a813c0c fix: Rename opencode -> kilo that was missing 2026-04-11 15:15:28 +02:00
Johnny Amancio 4970764688 chore: Regenerate sdk and types 2026-04-11 15:03:02 +02:00
Johnny Amancio 49cb356d23 refactor: fix type errors after v1.3.0 merge
- Rename PermissionNext → Permission across all remaining src/test files
    (drain.ts, routes.ts, remote-sender.ts, task.ts, and 5 test files)
  - Fix Effect Layer type resolution for makeRunPromise by accepting
    Layer<I, E, any> (Effect 4.x beta type inference limitation)
  - Add missing imports: Bus/BusEvent in server.ts, useToast in sync.tsx
  - Fix OPENCODE_ → KILO_ flag renames missed by merge transforms
    (DISABLE_EXTERNAL_SKILLS in skill/index.ts)
  - Fix isCodex → isOpenaiOauth rename in session/llm.ts
  - Fix PasteEvent.bytes decoding (decodePasteBytes removed from @opentui/core)
  - Fix ProviderID branded type indexing with ProviderID.kilo
  - Remove redundant windowsHide from pr.ts (handled by Process.spawn)
  - Update Skill import paths after skill.ts → index.ts rename
  - Restore Skill.remove and Skill.BUILTIN_LOCATION lost during merge
2026-04-11 14:49:11 +02:00
Johnny Amancio b1811147e2 merge: upstream v1.3.0 2026-04-11 14:06:52 +02:00
Catriel Müller 6fc863f4ed Merge pull request #8752 from Kilo-Org/catrielmuller/kilo-opencode-v1.2.27
OpenCode v1.2.27
2026-04-10 17:38:30 -03:00
Catriel Müller 2712e2aad4 refactor: fix type 2026-04-10 17:35:02 -03:00
Catriel Müller 5bb42b6bdb refactor: regenerate sdk 2026-04-10 17:26:15 -03:00
Catriel Müller c37f85386f resolve merge conflicts 2026-04-10 17:16:52 -03:00
Catriel Müller 20b47f6b5e refactor: kilo compat for v1.2.27 2026-04-10 16:56:27 -03:00
Catriel Müller 83fd7f6cc8 fix: ui merge icons 2026-04-10 16:55:42 -03:00
Catriel Müller 9a512a7e42 Merge pull request #8745 from Kilo-Org/catrielmuller/kilo-opencode-v1.2.26
OpenCode v1.2.26
2026-04-10 16:49:48 -03:00
Catriel Müller 2e838ea317 Merge pull request #8747 from Kilo-Org/catrielmuller/fix-upstream-merge-checkout
fix(cli): reset provider icons before upstream merge checkout
2026-04-10 16:49:42 -03:00
Catriel Müller 8543bae6a7 Merge branch 'main' into catrielmuller/kilo-opencode-v1.2.26 2026-04-10 16:35:52 -03:00
Catriel Müller 41d7172cc8 fix: vscode i18n 2026-04-10 16:24:02 -03:00
kilo-maintainer[bot] 3bbd842e2b release: v7.2.4 v7.2.4 2026-04-10 19:21:31 +00:00
Catriel Müller 710b9ffdf7 Merge pull request #8746 from Kilo-Org/catrielmuller/version-deployment-fixx
fix(cli): always use github releases for version lookup when GH_REPO is set
2026-04-10 16:11:34 -03:00
Catriel Müller 049860519d fix(cli): always use github releases for version lookup when GH_REPO is set 2026-04-10 16:07:57 -03:00
Catriel Müller 10c3f0f9a6 fix: fix typecheck 2026-04-10 15:52:09 -03:00
Catriel Müller 396e9332f4 fix: fix typecheck 2026-04-10 15:50:02 -03:00
Catriel Müller 8cef732407 resolve merge conflicts 2026-04-10 15:47:19 -03:00
Catriel Müller 2360a58103 refactor: kilo compat for v1.2.26 2026-04-10 15:17:53 -03:00
Catriel Müller 98f1716216 fix: cleanup lsf icons 2026-04-10 15:17:09 -03:00
Kirill Kalishev 9e469120b4 fix(vscode): handle network offline events to prevent session hangs (#8742)
* fix(vscode): handle network offline events to prevent session hangs

When the CLI backend detects a network failure it pauses the session and
waits for a network.reply() call that never came from the VS Code
extension. This caused sessions to hang indefinitely showing
"Considering next steps..." with no way to recover.

Auto-reply to session.network.restored events (matching kilo run
behavior), show "Network disconnected — reconnecting..." status in the
webview, and drain pending network waits on SSE reconnect.

* fix(vscode): scope network wait cleanup to tracked sessions

Clear only network waits belonging to the disposing provider's sessions
instead of clearing all waits globally. This prevents one provider's
disposal from inadvertently cancelling network waits for other active
sessions.

* refactor(network): introduce reference counting for pending network waits

Replace plain session ID tracking with a refcount-based entry so that
multiple providers can independently register interest in the same
network wait. On disposal, each provider decrements the counter and the
wait entry is only removed once no providers reference it.

---------

Co-authored-by: Imanol Maiztegui <imanol.mzd@gmail.com>
2026-04-10 20:14:45 +02:00
kilo-maintainer[bot] 4bdcb8bd38 release: v7.2.1 2026-04-10 18:13:51 +00:00
Catriel Müller a06d0b89ab fix: cleanup lsf icons 2026-04-10 15:12:04 -03:00
Catriel Müller f35ec830b7 Merge pull request #8028 from Kilo-Org/johnnyamancio/kilo-opencode-v1.2.25
OpenCode v1.2.25
2026-04-10 14:57:53 -03:00
Johnny Amancio 71b631b482 Merge branch 'johnnyamancio/kilo-opencode-v1.2.25' of github.com:Kilo-Org/kilocode into johnnyamancio/kilo-opencode-v1.2.25 2026-04-10 18:37:32 +02:00
Johnny Amancio 910c9d6e8b Merge remote-tracking branch 'origin/main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-10 18:34:01 +02:00
github-actions[bot] df49d4870b chore: update visual regression baselines 2026-04-10 16:27:13 +00:00
Johnny Amancio 327569208d fix(sdk): regenerate SDK for opencode v1.2.25 with branded type patterns
- Regenerate openapi.json, types.gen.ts, and sdk.gen.ts to include
    branded type patterns (^ses.*, ^msg.*, ^pty.*, ^prt.*, ^wrk.*)
    added upstream in v1.2.25, while preserving Kilo Remote/Network routes
  - Keep "auth" as primary CLI command name (upstream renamed to "providers"),
    added kilocode_change markers with "providers" as alias
  - Regenerate CLI docs reflecting new upstream commands (config, completion)
    and session list flags (--all, --search)
  - Fix RemoteStatusService typecheck: SDK Remote methods now take
    optional (directory, workspace) params from global query middleware
2026-04-10 18:24:13 +02:00
Marius 5cb51f8e0b fix(cli): default image input to true for OpenAI-compatible providers (#8729)
Models fetched via the OpenAI-compatible /v1/models endpoint had image
support hardcoded to false because the endpoint provides no capability
metadata. This matches the legacy extension behavior (supportsImages:
true) for custom providers while leaving all other provider defaults
untouched.
2026-04-10 18:24:11 +02:00
Marius b6d38af35d fix(vscode): improve @ file mention results with open tabs and active editor priority (#8727)
The @ mention dropdown showed directories instead of files on empty query, limited
results to 10, and only reordered (not injected) open tabs. Now requests files-only
with a higher limit, injects open editor tabs at the top (active file first), and
filters by query. Closes #8709
2026-04-10 18:24:08 +02:00
Marius 1d2bc96ff1 docs(kilo-docs): document Agent Manager sections feature (#8728)
Add user-facing documentation for the worktree sections/folders feature
covering creation, assignment, renaming, colors, reordering, collapsing,
and deletion.
2026-04-10 18:24:06 +02:00
Marius 678a964b71 fix(vscode): ignore confirmed command transport errors (#8722)
* fix(vscode): ignore confirmed command transport errors

* fix(vscode): scope command confirmations to pending sends

* fix(vscode): centralize confirmation cleanup

* chore(vscode): keep provider under line cap
2026-04-10 18:24:06 +02:00
Marius 03b8c7239d refactor(agent-manager): extract worktree importer (#8725)
* refactor(agent-manager): extract worktree importer

* test(agent-manager): keep provider line cap
2026-04-10 18:24:05 +02:00
Joshua Lambert 6f3085506c docs(kilo-docs): document asking the agent to configure kilo.json (#8706)
* docs(kilo-docs): document asking the agent to configure kilo.json

* Apply suggestion from @lambertjosh

* docs: restore original intro line on settings page
2026-04-10 18:24:02 +02:00
Marius 5f3f8b0e6b perf(vscode): fix IPC metadata bloat in slim-metadata slimmers (#8721)
slimPatch and slimMultiedit used `...meta` spreads that leaked heavy
fields (metadata.diff up to 158KB, files[].before/after ~128KB each)
through to the VS Code webview on every session switch. Replace with
explicit allowlist construction matching the pattern slimEdit/slimWrite
already used.

Add size-based guardrail tests that inject unknown heavy fields into
each tool's metadata and assert the slimmed output stays under 10KB.
This catches future upstream changes regardless of field names.

Add a runtime warning in slimPart (non-production) when slimmed state
exceeds 50KB so regressions surface during development.
2026-04-10 18:24:01 +02:00
Marius 289cf9411f ci(vscode): run lint in extension workflow (#8723) 2026-04-10 18:23:59 +02:00
Marius 9f32abe4b7 fix(vscode): restore prompt focus after model selection (#8717)
* fix(vscode): restore prompt focus after model selection

* fix(vscode): scope aggressive prompt refocus
2026-04-10 18:23:58 +02:00
Marius cab901b7d9 feat(agent-manager): match new worktree dialog prompt pills to sidebar (#8713)
The New Worktree dialog prompt input now mirrors the sidebar chat
exactly: mode selector, model selector, thinking effort (reasoning),
and a reset button — in the same order with the same defaults.

- Extract ThinkingSelectorBase from ThinkingSelector for reuse outside
  session context (same pattern as ModelSelectorBase/ModeSwitcherBase)
- Initialize model/variant/agent from session defaults instead of null
- Show reset button only when model differs from config default
- Hide model/thinking/reset pills in compare mode (each session uses
  its model's default variant)
- Extract message-files and continue-worktree helpers from
  KiloProvider to fix pre-existing lint cap violations
- Extract onRequestState from AgentManagerProvider.onMessage to fix
  pre-existing complexity violation
- Remove orphaned open-sessions.ts (dead code flagged by knip)
2026-04-10 18:23:56 +02:00
Marius b29e52dde9 Refactor Agent Manager worktree diff controller (#8716)
* refactor(agent-manager): extract worktree diff controller

* chore(vscode): remove unused agent manager helper

* test(agent-manager): relax provider line cap
2026-04-10 18:23:54 +02:00
kilo-code-bot[bot] 692416f0f0 docs: add concise PR description guidelines to AGENTS.md (#8710)
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-04-10 18:23:51 +02:00
Johnny Amancio 978b62df55 fix(vscode): remove orphaned open-sessions.ts (knip fix)
Delete open-sessions.ts — usage was removed on main in f1a347102
but the file was not deleted, causing knip CI failure.
2026-04-10 18:23:48 +02:00