Commit Graph
7316 Commits
Author SHA1 Message Date
kilo-maintainer[bot] 8df0bb73a9 release: v7.3.7 2026-05-21 15:06:25 +00:00
Kirill Kalishev 65733baa01 Merge pull request #10463 from Kilo-Org/panoramic-existence
fix(jetbrains): fix build/tests after OpenCode merge, document Java 21 setup
2026-05-21 10:16:31 -04:00
Catriel Müller 4e5fe60430 Merge pull request #10297 from IamCoder18/fix/tui-dialog-vertical-centering
fix(cli): vertically center TUI dialogs
2026-05-21 10:46:41 -03:00
kilo-maintainer[bot] b10b4c5d74 release: v7.3.6 2026-05-21 13:21:21 +00:00
kilo-maintainer[bot] 13e900f630 release: v7.3.5 2026-05-21 12:30:15 +00:00
kilo-maintainer[bot] 87fd1d6016 release: v7.3.4 2026-05-21 08:18:26 +00:00
kilo-maintainer[bot] 90bc4b0fb3 release: v7.3.3 2026-05-21 07:38:43 +00:00
kirillk 3a022d8c96 fix: add kilocode_change markers to waitFor block in prompt.test.ts 2026-05-20 18:04:42 -04:00
kirillk 6202944b95 test(cli): wait for shell output before truncation cancel 2026-05-20 17:54:04 -04:00
marius-kilocode 7f979dbfdd fix(cli): preserve tree-sitter installer resources 2026-05-20 22:45:44 +02:00
marius-kilocode 5c71e70e96 test(cli): make tree-sitter wasm tests portable 2026-05-20 22:44:06 +02:00
marius-kilocode 371b7e8ae6 fix(cli): resolve packaged tree-sitter wasm paths 2026-05-20 22:44:05 +02:00
kilo-maintainer[bot] 841687d57f release: v7.3.2 2026-05-20 13:56:06 +00:00
marius-kilocode 7a1743c9fb Merge branch 'main' into classy-dedication
# Conflicts:
#	packages/sdk/js/src/v2/gen/types.gen.ts
2026-05-20 15:27:10 +02:00
marius-kilocode e739c29bb5 fix(vscode): persist speech settings in CLI config 2026-05-20 15:11:44 +02:00
Imanol Maiztegui 5cbdb9dba3 test(opencode): increase timeout for flaky plugin lifecycle CI test
Bump dispose resolution timeout from 7s to 15s to reduce flakiness
in CI environments where resource cleanup may take longer.
2026-05-20 13:43:33 +02:00
Imanol Maiztegui 8d9c12e5a4 fix(opencode): replace InstanceLayer.layer with explicit dependencies in instance context test
Avoid InstanceLayer.layer's lazy bootstrap import in the test graph by
directly providing InstanceStore.defaultLayer with InstanceBootstrap.defaultLayer,
preventing unintended side effects during test execution.
2026-05-20 12:34:20 +02:00
Imanol Maiztegui 32777136cd fix(opencode): resolve race conditions and update tests for kilo compatibility
Remove eager publish call in indexing initialization that caused
premature event emission. Add foreign key constraint tolerance in
next-message projector to handle writes racing against deleted
sessions. Fix test environment isolation for gateway headers and
permission tests, update auth test assertions to use "kilo" username,
and remove stale indexing route from httpapi-bridge expectations.
2026-05-20 12:05:59 +02:00
Imanol Maiztegui 22486c90eb refactor(repo): rebrand to kilo and improve issue triage configuration
Replace legacy "opencode" references with "kilo" in CLI output,
API metadata, SDK error messages, and documentation. Add automatic
labels to GitHub issue templates, expand triage agent with jetbrains
and extension teams, and update the github-triage tool to target the
Kilo-Org/kilocode repository.
2026-05-20 10:05:31 +02:00
Imanol Maiztegui 591f570413 refactor(remote): simplify effect bridge usage in enable handler
Replace `EffectBridge.make()` and `bridge.promise()` pattern with
direct `Effect.runPromise(EffectBridge.fromPromise(...))` call,
removing the unnecessary intermediate bridge instance.
2026-05-20 09:08:34 +02:00
Imanol Maiztegui 2d84bfb01e Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.34 2026-05-20 08:59:50 +02:00
Catriel Müller fbbeb3c7a3 fix: fix flaky test 2026-05-19 17:18:36 -03:00
Catriel Müller 72a5a84f8b Merge branch 'main' into update-ascii-logo 2026-05-19 16:59:08 -03:00
Catriel Müller ba09fa8f04 refactor: unify kilo logos 2026-05-19 16:56:47 -03:00
Catriel Müller 62f492de3e fix: fix shadows 2026-05-19 16:44:13 -03:00
Catriel Müller a92e6e5088 refactor: safe render on ssh 2026-05-19 16:42:06 -03:00
Catriel Müller 739564535d refactor: fallback support 2026-05-19 16:36:31 -03:00
Catriel Müller db75188066 refactor: fix logo shadows 2026-05-19 16:19:34 -03:00
Imanol Maiztegui 24b134b062 refactor(session): use Schema.Finite for network restored time and deduplicate event type
Replace Schema.Number with Schema.Finite to enforce finite numeric
values for the time field in session network restored events. Remove
the duplicate EventSessionNetworkRestored1 type from the OpenAPI spec
and SDK, consolidating on a single EventSessionNetworkRestored with a
plain number type instead of the anyOf union with NaN/Infinity strings.
2026-05-19 17:44:22 +02:00
Imanol Maiztegui ad2372a5ed fix(test): replace Instance.provide with WithInstance.provide in network tests
Update session network test to use the correct WithInstance.provide API,
aligning with the refactored import structure introduced in the circular
dependency fix.
2026-05-19 16:02:03 +02:00
kilo-maintainer[bot] f6bb9972e8 release: v7.3.1 2026-05-19 14:01:52 +00:00
Imanol Maiztegui f9679c4771 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.34 2026-05-19 15:56:46 +02:00
Imanol Maiztegui a0ca6ae06d refactor(kilo-sessions): lazify WithInstance and InstanceRuntime imports to break circular module dependencies
Convert static imports of WithInstance and InstanceRuntime to dynamic
imports across kilo-sessions, remote-sender, agent, and plan-followup
modules. This eliminates module initialization cycles that caused
undefined references during test execution (e.g. Worktree → bootstrap →
kilo-sessions → remote-sender → app-runtime → Worktree).

Each call site now uses an async `provide()` helper or inline dynamic
`import()` to defer resolution until runtime, preserving the same
behavioral semantics while decoupling the static dependency graph.
2026-05-19 14:46:32 +02:00
Imanol Maiztegui ecc2f7af19 feat(kilocode): introduce EffectBridge for async-to-effect interop and lazify runtime constructors
Replace raw `Effect.promise` calls across HTTP API handlers with
`EffectBridge.fromPromise` / `EffectBridge.make` to ensure proper error
propagation and context forwarding when bridging imperative async code
into the Effect runtime.

Wrap top-level `makeRuntime` calls in `plan-followup.ts` with `lazy()`
to defer service instantiation until first access, avoiding eager
initialization side-effects during module loading.

Also reorder SDK event union members and type definitions to reflect
updated OpenAPI schema generation output.
2026-05-19 14:33:15 +02:00
Imanol Maiztegui ad00b1461d refactor(kilocode): decouple provider-auth lifecycle, add cloud-fork CLI option, and migrate indexing config to Effect Schema
Extract `disposeAllInstancesAfterProviderAuthCallback` into a dedicated
module and invoke it from the provider OAuth callback handler instead of
coupling it to the ProviderAuth layer. This removes the InstanceStore
dependency from `ProviderAuth.layer`.

Additional changes:
- Add `--cloud-fork` CLI option to the run command for fetching sessions
  from cloud and continuing locally
- Replace the Zod-bridged `Schema.Any` indexing config with a native
  Effect `IndexingSchema` definition in kilo-indexing, propagating typed
  config through the SDK OpenAPI spec
- Use `optionalOmitUndefined` for `recommendedIndex` to emit clean JSON
- Fix `request.source.signal` access by guarding with `instanceof Request`
- Replace `Effect.catchAllCause` with `Effect.catchCause` in telemetry
- Migrate tests from `BashTool` to `ShellTool`, extract `TestConfig`
  fixture, and convert stats-subagent-cost tests to use `testEffect`
- Reorder SDK event union members to match updated OpenAPI schema
- Export `aggregateSessionStats` for Kilo regression test coverage
- Widen `setViewedSessions` input to accept readonly arrays
2026-05-19 13:09:03 +02:00
Imanol Maiztegui 4523bf99cb feat(opencode): rename InstanceStore to InstanceRuntime and refine model schema
Rename the `InstanceStore` module to `InstanceRuntime` across all consumer
sites to better reflect its role as a runtime lifecycle manager rather than
a persistence layer. Update the kilo-gateway route dependency key from
`InstanceStore` to `Instances` for clarity.

Additional changes:
- Replace `Schema.Number` with `Schema.Finite` for `recommendedIndex` in
  both the provider and models schemas
- Inject `InstanceStore.Service` into the ProviderAuth layer and use its
  `disposeAll()` method instead of escaping to a raw promise
- Remove obsolete `getBootstrapRunEffect` usage from indexing startup tests
- Add missing `warnings` method to the test config fixture
2026-05-19 11:37:49 +02:00
Imanol Maiztegui 8e053f34b5 refactor(opencode): extract indexing event schema and align OpenAPI contracts
Move the IndexingStatus Effect schema out of the KiloIndexing namespace into
a dedicated `indexing-event.ts` module so it can be shared between the bus
event system and the HttpApi layer without circular imports.

Additionally fix several OpenAPI spec inconsistencies:
- Inline PermissionReplyBody into the endpoint payload schema
- Make `organizationId` nullable in the organization set endpoint
- Replace opaque string response for `/kilo/fim` with a structured
  streaming completion schema
- Register `indexing.status` as a typed SSE event in the global event union
- Add `matchLegacyKiloOpenApi` post-processor for backward-compatible
  nullable fields and FIM response shape
- Relocate Kilo-specific bridge tests to `test/kilocode/server/` and trim
  duplicated assertions from the core bridge test file
2026-05-19 10:50:52 +02:00
Catriel Müller 8611910a04 refactor: improve ui timing 2026-05-18 14:34:20 -03:00
Catriel Müller 1fce31a77a Merge branch 'main' into typical-duckling 2026-05-18 14:17:35 -03:00
Catriel Müller dda23cefa2 Revert "test(cli): avoid global timer patching"
This reverts commit 928c80d8fb.
2026-05-18 14:14:42 -03:00
Catriel Müller 928c80d8fb test(cli): avoid global timer patching 2026-05-18 14:07:02 -03:00
Imanol Maiztegui 128df55d6b fix(opencode): migrate Instance.provide calls to WithInstance.provide
Replace direct `Instance.provide` usage with `WithInstance.provide` across
source modules and test files to decouple runtime context provisioning
from the core Instance singleton.

- Update kilo-sessions, remote-sender, roll-call, and plan-followup source
- Remove unused `Instance` imports where only `WithInstance` is needed
- Drop unnecessary `init` param from indexing-worktree test calls
- Add missing `WithInstance` import in fixture-dependent test files
2026-05-18 18:32:30 +02:00
Mark IJbema eaabc99625 fix: add kilocode_change markers and update nvidia-headers test for rebrand
- Adds 'new file' marker to check-forbidden-strings workflow
- Marks the SKIP_FILES addition in extract-source-links.ts
- Updates nvidia-headers test to assert the new kilo.ai/Kilo Code values
2026-05-18 17:00:05 +02:00
Catriel Müller 621af97e4a fix(cli): use link-checker-safe network probe 2026-05-18 11:56:17 -03:00
Catriel Müller 2aa1b95074 refactor: resolve comments 2026-05-18 11:45:36 -03:00
Imanol Maiztegui d7fcb894ed refactor(kilo-gateway): clean up proxy auth naming, error handling, and OpenAPI schema alignment
Rename `proxy` helper to `proxyAuth` for clarity, switch modes endpoint
to gracefully handle missing auth instead of returning BadRequest, remove
redundant Content-Type header from audio transcriptions response, and
fix OpenAPI parameter types:

- Change `worktrees` query param from string enum to boolean
- Add `^que.*` pattern to network endpoint requestID path params
- Register experimental session worktrees in query parameter schemas
- Re-enable and update Effect HttpApi route parity tests
2026-05-18 15:51:10 +02:00
Imanol Maiztegui a1a1936416 feat(kilocode): add worktree diff, FIM proxy, audio transcription, and session viewed endpoints
Introduce several new Effect HttpApi endpoints across the kilo-gateway
and experimental API groups to support agent manager workflows and
enhanced gateway proxying.

- Add worktree diff endpoints (diff, diff/summary, diff/file) for
  comparing worktree changes against a base branch
- Add FIM completion proxy endpoint with streaming SSE response and
  timeout handling
- Add audio transcriptions proxy endpoint forwarding to Kilo Gateway
- Add organization modes endpoint to fetch custom modes config
- Add session/viewed endpoint to track which sessions the user has open
- Extend session list query with projectID and worktrees parameters
- Register all new routes in Hono instance router
- Regenerate SDK types and OpenAPI spec
2026-05-18 15:41:42 +02:00
Mark IJbema 3185e8d582 fix: rebrand upstream attribution and bug-report URLs
Replaces hardcoded opencode.ai/anomalyco URLs in production code paths:
LLM provider HTTP-Referer/X-Title attribution headers, the TUI error
dialog's bug-report URL, and the github-remote parser test fixtures.

Extends check-forbidden-strings with patterns for these leaks (with a
narrow allowlist for fork-lineage docs and upstream-merge tooling).
2026-05-18 15:25:16 +02:00
Catriel Müller ad8d57707d fix(cli): address network reconnect review 2026-05-18 10:14:43 -03:00
Catriel Müller 413222f013 fix(cli): auto-resume network reconnects 2026-05-18 09:46:37 -03:00