Commit Graph

5457 Commits

Author SHA1 Message Date
Thomas Brugman ddb2bba027 fix(tui): show progress indicators while subagent is initializing (#8807)
* fix(tui): show progress indicators while subagent is initializing

Show '↳ Starting...' in the parent session's Task entry when the
subagent is running but has not yet made any tool calls, and show
'↳ Initializing...' in the subagent session view when it has no
messages yet. Prevents the UI from appearing frozen during the
LLM thinking phase on startup.

Closes #8422

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(tui): annotate kilocode changes for CI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(webview): show progress indicators while subagent is initializing

Mirror the TUI fix for the VS Code extension webview:

- TaskToolExpanded: show "Starting..." when the task tool is running
  but the child session has no tool calls yet (previously the expanded
  body was empty/blank).

- MessageList/ChatView: propagate the readonly flag so the subagent
  viewer shows "Initializing..." instead of the generic welcome screen
  when the session has no messages yet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: add i18n translations for Initializing and Starting strings

Replace hardcoded 'Initializing...' and 'Starting...' strings in
webview components with language.t() calls. Add
session.messages.initializing and session.messages.taskStarting keys
to all 19 locale files.

Note: The TUI (packages/opencode) has no i18n framework — all strings
are hardcoded throughout the codebase, so the 'Initializing...' string
in the TUI session view remains as-is.

* fix: localize Initializing/Starting strings in all locale files

Replace English placeholder strings with proper translations in all
19 non-English locale files.

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 16:00:39 +02:00
Christiaan Arnoldus 75207ad11c Merge branch 'main' into remove-fix-duplicate-reasoning 2026-04-14 14:38:39 +02:00
Marius 4a69a3e0d1 fix(cli): invalidate provider state after auth changes (#8898)
* fix(cli): invalidate provider state after auth changes

After the Effect migration in #8870, provider state is cached via
InstanceState/ScopedCache. The hasKey check that determines which
models are available ran once at init and was never re-evaluated.
When auth changed (login, logout, org switch), only ModelCache was
cleared but the provider state retained the stale hasKey decision,
causing authenticated users to be stuck on the free model.

* chore: add changeset

* fix(gateway): scope disposeAll to KiloRoutesDeps, not ImportDeps
2026-04-14 10:57:44 +00:00
Imanol Maiztegui a1bd03d773 Merge pull request #8893 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.3.17
OpenCode v1.3.17
2026-04-14 12:16:22 +02:00
Mark IJbema b3af983439 Merge pull request #8889 from Kilo-Org/session/agent_a5acac3d-bd3b-4da4-98db-0ef22a1f9fe9
fix: suppress OpenRouter reasoning warning
2026-04-14 11:59:46 +02:00
kiloconnect[bot] 32e9c2934d fix(cli): remove fixDuplicateReasoning workaround now that @openrouter/ai-sdk-provider is updated 2026-04-14 09:45:21 +00:00
Imanol Maiztegui 76093d53a2 test(session): rename agent references from "build" to "code" in prompt-effect tests
Align test fixtures with the agent naming convention change
where the "build" agent identifier was replaced by "code"
across all prompt and session interactions.
2026-04-14 11:35:43 +02:00
Imanol Maiztegui cd79db8a8d refactor: update sdk imports and fix type signatures for v1.3.17 compat
- Update `@kilocode/sdk` imports to use `@kilocode/sdk/v2` path
- Replace `@opencode-ai/sdk/v2` import with `@kilocode/sdk/v2`
- Change theme color types from `string` to `RGBA` in renderApiDescription
- Fix `build` return type in KiloToolRegistry to `Effect.Effect<T, never, any>`
2026-04-14 10:52:25 +02:00
Imanol Maiztegui 170889e951 resolve merge conflicts 2026-04-14 10:44:13 +02:00
Marius 1b0ccd52f4 fix(vscode): keep worktree sessions across project id changes (#8875)
* fix(vscode): keep worktree sessions across project id changes

* fix(cli): isolate session directory fallback
2026-04-14 10:35:04 +02:00
kiloconnect[bot] 5816eeac42 chore(deps): update @openrouter/ai-sdk-provider to 2.5.1 in kilo-gateway and opencode
update @openrouter/ai-sdk-provider to 2.5.1 in kilo-gateway
and opencode package to keep dependencies in sync
2026-04-14 08:29:57 +00:00
Imanol Maiztegui 73b6d9a6c9 refactor: kilo compat for v1.3.17 2026-04-14 09:35:34 +02:00
Catriel Müller 1606d64398 fix: kilo models test 2026-04-14 03:54:38 -03:00
Catriel Müller 528ec937ab refactor: fix home test config mocks 2026-04-14 03:06:12 -03:00
Catriel Müller d7515f6aec refactor: fix prompt / config tests 2026-04-14 02:25:00 -03:00
Catriel Müller a8607965b5 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.3.14 2026-04-13 23:59:46 -03:00
Catriel Müller da8f05ec75 fix: core tests 2026-04-13 23:58:00 -03:00
kilo-maintainer[bot] ad74e9bf81 release: v7.2.5 2026-04-13 22:33:12 +00:00
Catriel Müller bfec6b7945 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.3.14 2026-04-13 15:44:28 -03:00
Imanol Maiztegui 615dcc743e fix(cli): restore kilo branding in terminal wordmark
Replace upstream opencode ASCII art with Kilo-branded wordmark
in the CLI startup banner.
2026-04-13 20:33:11 +02:00
Imanol Maiztegui 7fb55e45f1 refactor: align kilo codebase with opencode v1.3.14 upstream
Resolve merge conflicts across e2e tests, UI components, and core
packages. Clean up conflict markers in test specs by adopting the
upstream `project` fixture pattern over the legacy `withProject`
approach. Alphabetically sort package.json dependencies, apply
consistent code formatting across i18n files, flag declarations,
and TSX components. Update internal API calls to use current
signatures (Permission.defaultLayer, MessageV2.parts, Git.run).

Key changes:
- Remove Windows-specific test.skip guards and conflict markers
- Replace deprecated `git` util import with `Git.run` in worktree-family
- Drop unused SDK type import from share-next
- Add lib entries to kilo-gateway and kilo-telemetry tsconfigs
- Regenerate models-snapshot.js and SDK types with reordered events
- Fix SDK openapi.json code sample to reference @kilocode/sdk
- Add onCleanup import to popover component
2026-04-13 20:20:47 +02:00
Imanol Maiztegui 6d224ad390 resolve merge conflicts 2026-04-13 19:49:10 +02:00
Mark IJbema bcb009807a create changelog file 2026-04-13 17:48:01 +02:00
Christiaan Arnoldus a92b7bb629 Fix reasoning toggle not working for some Responses API models 2026-04-13 16:23:53 +02:00
Imanol Maiztegui bcafd7a24e refactor: kilo compat for v1.3.14 2026-04-13 15:50:50 +02:00
Imanol Maiztegui 747b820d6b resolve merge conflicts 2026-04-13 15:29:52 +02:00
Imanol Maiztegui 2b583013d7 refactor: kilo compat for v1.3.13 2026-04-13 14:32:16 +02:00
Imanol Maiztegui ade788ebc5 resolve merge conflicts 2026-04-13 14:15:39 +02:00
Imanol Maiztegui 3202375a3f refactor: kilo compat for v1.3.12 2026-04-13 14:12:43 +02:00
Imanol Maiztegui 40cf7ae5f5 Merge pull request #8843 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.3.11
OpenCode v1.3.11
2026-04-13 14:10:52 +02:00
Imanol Maiztegui 16d2ebd36d test(tool): add models-api fixture for provider testing 2026-04-13 14:01:49 +02:00
Imanol Maiztegui 1d057a51a5 chore: rebrand kimi prompt to Kilo and remove models-api fixture
Rename agent identity from "OpenCode" to "Kilo" in the kimi system
prompt and delete the large models-api.json test fixture file that is
no longer needed.
2026-04-13 13:56:30 +02:00
Imanol Maiztegui f4eaacfa55 resolve merge conflicts 2026-04-13 13:42:50 +02:00
Geir Mjosund c1e672f4b7 fix: improve Azure provider config handling and GPT-5.4 reasoning variants (#8566)
* fix: pass resourceName to Azure provider from env or config

The azure custom loader was returning empty options, causing the
@ai-sdk/azure SDK to fail with 'Azure OpenAI resource name setting is
missing' when AZURE_RESOURCE_NAME is set in the environment.

Read resourceName from provider config options, AZURE_RESOURCE_NAME, or
AZURE_OPENAI_RESOURCE_NAME env vars (in that order of precedence) and
pass it explicitly to the SDK options, consistent with how
azure-cognitive-services handles its resource name.

Fixes #8273

* fix: also support baseURL for azure provider to avoid resourceName requirement

Users with a full endpoint URL (e.g. https://resource.openai.azure.com/openai/v1)
can now set baseURL in provider options or AZURE_OPENAI_ENDPOINT env var.
Per @ai-sdk/azure docs, baseURL takes precedence over resourceName and makes
it optional, fixing the 'resource name setting is missing' error for both
configuration styles.

* fix: add xhigh reasoning effort to Azure provider for GPT-5.4+

Azure variant logic was missing xhigh even though @ai-sdk/openai adds it
for models with release_date >= 2025-12-04. Azure GPT-5.4 now exposes
the same xhigh effort level as OpenAI/Kilo Gateway.

* fix(cli): annotate Azure reasoning changes

---------

Co-authored-by: marius-kilocode <marius@kilocode.ai>
2026-04-13 13:41:12 +02:00
Imanol Maiztegui 4ff09d8c8e refactor: kilo compat for v1.3.11 2026-04-13 13:24:46 +02:00
Imanol Maiztegui 38b8796ccb fix(provider): preserve additional model properties during merge
Propagate recommendedIndex, prompt, isFree, and ai_sdk_provider
properties when merging model configurations, and simplify the
changelog generation script.
2026-04-13 13:13:02 +02:00
Johnny Amancio 2195ed5f66 fix: Rename opencode to kilo 2026-04-13 11:59:18 +02:00
Johnny Amancio 12a56f5191 Merge remote-tracking branch 'origin/main' into johnnyamancio/kilo-opencode-v1.3.10 2026-04-13 11:55:03 +02:00
Johnny Amancio 32e244bb05 resolve merge conflicts 2026-04-13 11:46:32 +02:00
Joshua Lambert c65c56e2cb docs(cli): document how to disable built-in providers (#8702)
* docs(cli): document how to disable built-in providers

* fix provider IDs in docs: ollama->ollama-cloud, remove incorrect local models notes

* docs(kilo-docs): add section on disabling built-in providers to AI providers page

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: Joshua Lambert <25085430+lambertjosh@users.noreply.github.com>

* docs: shorten skill provider table, fix enabled/disabled interaction wording, mention kilo.jsonc

---------

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-04-13 10:56:56 +02:00
Johnny Amancio 1bf073f9c6 refactor: kilo compat for v1.3.10 2026-04-12 21:09:24 +02:00
Catriel Müller 65c888d9ad refactor: bump version 2026-04-12 15:37:07 -03:00
Catriel Müller fd5992d318 resolve merge conflicts 2026-04-12 15:27:56 -03:00
Catriel Müller 8aadf4ce03 refactor: kilo compat for v1.3.9 2026-04-12 14:43:07 -03:00
Catriel Müller 8d15310dc6 resolve merge conflicts 2026-04-12 14:26:18 -03:00
Catriel Müller 6715026c39 refactor: kilo compat for v1.3.7 2026-04-12 14:05:41 -03:00
Imanol Maiztegui 24087a6f9b refactor(tui): extract kilo-specific logic into dedicated app module
Move Kilo TUI customizations (session effects, error handling,
command registration, permission helpers, and constants) from the
shared upstream app.tsx into a new kilocode/cli/cmd/tui/app.tsx
module. The upstream file now delegates to thin integration points,
keeping the fork diff minimal and improving separation of concerns.
2026-04-12 18:40:17 +02:00
Imanol Maiztegui 0512f116ed refactor(opencode): migrate session types to KiloSession namespace and fix merge artifacts
Replace Session.CloseReason and Session.getPlatformOverride references
with KiloSession equivalents from @/kilocode/session, remove duplicate
waitForDependencies export introduced by merge, and update SDK client
to pass URL string instead of URL object to Request constructor.
2026-04-12 18:25:47 +02:00
Imanol Maiztegui bed9ff618c resolve merge conflicts 2026-04-12 18:15:07 +02:00
Imanol Maiztegui 4f4e4fc9db refactor: kilo compat for v1.3.6 2026-04-12 17:14:39 +02:00