Commit Graph
21083 Commits
Author SHA1 Message Date
LifeJiggy b4a10bb0e2 fix(cli): port Windows-aware bash tool description to refactored prompt.ts 2026-05-26 14:05:55 +01:00
kirillk 9dcc3fb8cc chore(jetbrains): remove migration mock script 2026-05-26 09:03:55 -04:00
kirillk e3b8f3b7e5 fix(jetbrains): surface partial migration failures 2026-05-26 09:00:52 -04:00
Kirill Kalishev 1d7023355e Merge branch 'main' into prairie-crocus 2026-05-26 08:52:23 -04:00
Mark IJbema 80f8781cbc refactor(gateway): make FimTarget a discriminated union
Replace `urls: string[]` with provider-specific shapes: kilo and inception
each carry a single `url`, mistral carries no urls (its dual-endpoint
fallback is encapsulated in requestMistralFim). Removes the non-null
assertion on `urls[0]` and the dead "No FIM endpoint configured" branch.
Also tightens `getProviderKey` to take `DirectAutocompleteProviderID`,
which now follows naturally from the narrowed union and prevents the
`DIRECT_FIM_ENV["kilo"]` undefined-lookup footgun.
2026-05-26 13:39:55 +02:00
Mark IJbema be5b4f9c45 fix(vscode): never infer direct autocomplete provider from model name
Previously `getAutocompleteModel` inferred the provider from a bare model
id like "codestral-2508" or "mercury-edit-2" when no provider was set.
That meant a user with a legacy `model` setting could be silently routed
to a direct BYOK provider without an explicit opt-in. Default to Kilo
Gateway whenever provider is unset; direct providers now require an
explicit `provider` setting.
2026-05-26 13:39:55 +02:00
Mark IJbema 80e39c29eb Merge branch 'main' into mark/direct-autocomplete-fim-providers 2026-05-26 13:25:04 +02:00
Mark IJbema 923d955c86 fix: address autocomplete FIM review findings 2026-05-26 13:08:19 +02:00
Marius 7aacbb0e8a Merge pull request #10441 from Kilo-Org/brazen-lingo
fix(vscode): speed up inline subagent streaming
2026-05-26 12:58:25 +02:00
Imanol Maiztegui bacfa4ae62 Effect Migration for Kilo callsites (#10572)
* refactor(opencode): migrate agent promise helpers to kilocode module and adopt Effect-based tests

Remove legacy promise-based helpers (`get`, `list`, `defaultAgent`, `remove`)
from the core agent module and update callsites to use the dedicated
`@/kilocode/agent` module directly. Migrate kilocode-specific tests from
`WithInstance.provide` patterns to the `testEffect` helper with Effect
generators for cleaner, more idiomatic test code.

- Remove `makeRuntime` import and exported promise helpers from agent.ts
- Update HTTP API handlers to import from `@/kilocode/agent` instead of
  re-exported `Agent` namespace
- Rewrite agent tests to use `load()` helper or Effect service access
- Convert agent-global-config-dirs and agent-skill-permissions tests to
  `testEffect` pattern
- Reorder SDK type definitions (BackgroundProcessLogs/WorkspaceWarpError)

* chore(auth): remove legacy promise helpers and replace with direct Effect service access

Eliminate the exported promise-based convenience functions (`get`, `all`,
`set`, `remove`) from the Auth module and replace all callsites with
explicit `AppRuntime.runPromise` or `makeRuntime` invocations that access
`Auth.Service` directly through Effect's service pattern.

- Delete `makeRuntime`-backed promise helpers from auth/index.ts
- Update CLI entrypoint, kilo-sessions, indexing, and server instance to
  use `AppRuntime.runPromise(Auth.Service.use(...))` for auth access
- Inject `Auth.Service` as a dependency into the ModelsDev layer and
  consume it via Effect generator instead of promise wrapper
- Create a local `makeRuntime` instance in model-cache.ts for non-Effect
  callsites that still need promise-based auth access
- Rewrite tests to manipulate auth.json directly on disk with proper
  save/restore semantics instead of relying on removed helpers

* refactor(suggestion): convert suggest tool to Effect-native with injected Command dependency

Transform the suggestion tool from async/promise-based implementation to
idiomatic Effect generators with explicit dependency injection of the
Command service rather than importing and calling module-level helpers.

- Convert `resolvePrompt` from async function to Effect generator that
  accepts a `Command.Interface` parameter
- Refactor `SuggestTool` definition to yield `Command.Service` from the
  Effect context and thread it through to `resolvePrompt`
- Add `Command.Service` as a dependency to the tool registry layer and
  provide `Command.defaultLayer` in both production and test wiring
- Remove unused `makeRuntime` import and exported `get` helper from
  command/index.ts
- Add explicit type annotations to Auth delegate in server instance
- Rewrite suggestion tests to use `testEffect` helper with a mock
  `Command.Service` layer instead of spying on module exports

* feat(git): migrate WorktreeFamily to Effect service and wire Git.Service as dependency

Convert WorktreeFamily.list from an async function using legacy promise
helpers to an Effect generator that yields Git.Service from context,
eliminating the need for the removed `run` promise wrapper in git/index.

- Replace `WorktreeFamily.list()` async function with Effect.fn generator
  that obtains Git.Service and InstanceState from the Effect context
- Remove legacy `makeRuntime`/`run`/`runPromise` exports from git module
- Update RecallTool to thread Git.Service through to WorktreeFamily calls
  via EffectBridge
- Add Git.Service as a required dependency in tool registry and HTTP
  server route layers
- Update all test layers to provide Git.defaultLayer

* chore(mcp): replace legacy promise helpers with Effect-native AppRuntime calls

Remove exported promise-based `status`, `connect`, and `disconnect`
helpers from MCP module and convert the network recovery callsite in
SessionNetwork to use AppRuntime.runPromise with Effect.gen directly.

* refactor(auth): adopt makeRuntime helper for Auth service resolution in kilo modules

Replace AppRuntime.runPromise with locally scoped makeRuntime instances
in kilo-sessions and kilocode/indexing modules, removing the dependency
on the global AppRuntime singleton for Auth service access.

* fix(test): simplify cleanup error handling in provider test

Replace try-catch block with promise .catch() for file unlink operation
during test teardown.
2026-05-26 12:51:21 +02:00
Marius 38d65ca793 Merge pull request #10505 from Kilo-Org/supersede-10089-agent-model-variant-dropdowns
feat(vscode): implement agent model and variant override dropdowns in VSCode settings
2026-05-26 12:49:08 +02:00
marius-kilocode a2575be238 fix(vscode): preserve live subagent stream metadata 2026-05-26 12:34:38 +02:00
marius-kilocode afd0550e34 Merge origin/main into supersede-10089-agent-model-variant-dropdowns 2026-05-26 12:31:47 +02:00
Marius 281d79a26a Merge pull request #10575 from Kilo-Org/vine-apogee
fix(vscode): restore readable Pierre diff highlights
2026-05-26 12:30:50 +02:00
Mark IJbema bbc57f6540 Merge branch 'main' into mark/direct-autocomplete-fim-providers 2026-05-26 12:29:21 +02:00
Mark IJbema 762eb224d9 refactor(gateway): share autocomplete provider types 2026-05-26 12:18:46 +02:00
Johnny Eric Amancio b123241ec3 docs: add details about contributor ownership and mass creation of PRs/Issues (#10574) 2026-05-26 10:16:18 +00:00
marius-kilocode 87bcf5ac52 refactor(vscode): isolate visible task streams 2026-05-26 12:13:59 +02:00
marius-kilocode 6415432d22 fix(vscode): restore readable Pierre diff highlights 2026-05-26 12:12:05 +02:00
Mark IJbema 5590b43418 refactor(gateway): simplify autocomplete model lookup 2026-05-26 12:03:59 +02:00
marius-kilocode 6c39f9670c refactor(vscode): extract subagent visibility binding 2026-05-26 12:03:46 +02:00
Mark IJbema 9b1407e336 refactor(gateway): remove unshipped autocomplete aliases 2026-05-26 11:59:23 +02:00
Mark IJbema d02145a549 refactor(gateway): simplify Mistral FIM endpoint cache 2026-05-26 11:44:13 +02:00
Marius fe14cafdc1 Merge pull request #10573 from Kilo-Org/sand-sage
fix(vscode): explain disabled speech input requirement
2026-05-26 11:37:39 +02:00
Mark IJbema c073dac91f refactor(gateway): clarify Mistral FIM endpoint helper 2026-05-26 11:25:32 +02:00
marius-kilocode 04702bad9e fix(vscode): clarify speech gateway requirement 2026-05-26 11:18:17 +02:00
marius-kilocode 559b85b5cb refactor(vscode): clarify stream cleanup 2026-05-26 11:10:01 +02:00
Mark IJbema 4ca226c83f fix(gateway): cache working Mistral FIM endpoint 2026-05-26 11:08:19 +02:00
Johnny Eric Amancio 2fd94da76c docs: clarify PR review readiness expectations (#10562) 2026-05-26 11:07:51 +02:00
marius-kilocode 8bb88aa514 Merge remote-tracking branch 'origin/main' into brazen-lingo
# Conflicts:
#	packages/kilo-vscode/tests/unit/session-utils.test.ts
2026-05-26 11:07:46 +02:00
Marius d00bdbf5df Merge pull request #10485 from Kilo-Org/fix-subagent-error-recovery
fix(cli): surface failed subagent task errors
2026-05-26 10:59:01 +02:00
Marius bcda744dfc Merge pull request #10443 from Kilo-Org/subagent-model-reasoning-config
feat: configure task subagent model defaults
2026-05-26 10:58:57 +02:00
marius-kilocode 48af33f940 fix(vscode): explain disabled speech input requirement 2026-05-26 10:56:15 +02:00
Marius 9de2edcdae Merge pull request #10486 from Kilo-Org/arrow-abstract
fix: stabilize streamed markdown code blocks
2026-05-26 10:54:12 +02:00
Marius e5a918eec1 Merge pull request #10483 from Kilo-Org/rift-rambutan
fix(vscode): hide sub-agent sessions from recents
2026-05-26 10:52:31 +02:00
Marius 83c486f840 Merge pull request #10439 from Kilo-Org/coffee-viscountess
Remove duplicate busy badge in Agent Manager tab search
2026-05-26 10:51:36 +02:00
marius-kilocode a416b40273 Merge remote-tracking branch 'origin/main' into fix-subagent-error-recovery
# Conflicts:
#	packages/opencode/src/tool/task.ts
#	packages/opencode/test/tool/task.test.ts
2026-05-26 10:42:07 +02:00
marius-kilocode 24d8311ab4 fix(ui): release interrupted markdown highlight jobs 2026-05-26 10:33:58 +02:00
marius-kilocode 6b96c987e7 Merge remote-tracking branch 'origin/main' into arrow-abstract 2026-05-26 10:31:56 +02:00
Marius 2a0c9c83b1 Merge pull request #10542 from Kilo-Org/docs/kilo-pi-provider
docs(kilo-docs): document Pi Gateway integration
2026-05-26 10:26:44 +02:00
Mark IJbema 6fb50a8942 fix(vscode): infer autocomplete provider from direct models 2026-05-26 10:25:36 +02:00
Mark IJbema e5b2bb8628 fix(gateway): preserve FIM gateway model passthrough 2026-05-26 10:22:16 +02:00
Mark IJbema 19719ba491 fix(gateway): use env keys for direct FIM providers 2026-05-26 10:20:55 +02:00
Mark IJbema cef6164c30 fix(vscode): use autocomplete provider for chat completions 2026-05-26 10:14:36 +02:00
Mark IJbema cc50d769b5 fix(kilo-docs): exclude FIM API endpoints from link check 2026-05-26 09:52:57 +02:00
Mark IJbema 08124be60b Merge remote-tracking branch 'origin/main' into mark/direct-autocomplete-fim-providers
# Conflicts:
#	packages/kilo-gateway/src/server/routes.ts
#	packages/sdk/js/src/v2/gen/sdk.gen.ts
#	packages/sdk/js/src/v2/gen/types.gen.ts
2026-05-26 09:43:57 +02:00
kilo-maintainer[bot] 20675fdbeb release: v7.3.10 v7.3.10 2026-05-26 07:28:31 +00:00
Mark IJbema bfda8fecfd fix(vscode): import browser-safe autocomplete catalog 2026-05-26 09:21:13 +02:00
Mark IJbema 4cd463d619 refactor(gateway): split autocomplete provider and model 2026-05-26 09:15:42 +02:00
kirillk 6fbe070081 fix(jetbrains): simplify migration progress rows 2026-05-25 22:50:38 -04:00