Commit Graph
16781 Commits
Author SHA1 Message Date
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
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
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
Imanol Maiztegui f560e5bd7a refactor(kilo-gateway): extract cloud sessions logic and wire up cloud sync endpoints
Move inline cloud-sessions fetch logic from Hono route handler into a
reusable getCloudSessions function in handlers.ts, and introduce new
Effect HttpApi endpoints for fetching and importing individual cloud
sessions.

- Extract getCloudSessions handler from routes.ts inline implementation
- Export fetchCloudSession, fetchCloudSessionForImport, importSessionToDb
  from kilo-gateway package
- Add cloudSession (GET /kilo/cloud/session/:id) endpoint for previewing
  remote session data
- Add cloudSessionImport (POST /kilo/cloud/session/import) endpoint to
  download and persist cloud sessions locally
- Define CloudSession, CloudSessionData, CloudMessage schemas in the
  kilo-gateway API group
- Change claw status error response from 500 InternalServerError to
  503 ServiceUnavailable
- Register new cloud routes in instance router
- Add test coverage for route disambiguation between import and :id paths
- Regenerate SDK types and OpenAPI spec
2026-05-18 14:38:21 +02:00
Imanol Maiztegui 580a94aaaf feat(kilo-gateway): add Effect HttpApi endpoints for kilo gateway operations
Extract shared handler logic from Hono routes into reusable functions in
kilo-gateway/server/handlers.ts and wire up new Effect HttpApi endpoints
for profile, notifications, organization switching, claw status, and
claw chat credentials.

- Add handlers.ts with pure business logic (getProfile, getNotifications,
  setOrganization, getClawStatus, getClawChatCredentials)
- Define KiloGatewayApi group with typed schemas for all endpoints
- Implement Effect-based handler layer in httpapi/handlers/kilo-gateway.ts
- Register kilo gateway routes in instance router and HttpApi composition
- Add config/warnings endpoint to config group and handler
- Regenerate SDK types and client methods for new endpoints
- Update OpenAPI spec with /kilo/* and /config/warnings paths
- Export new constants (KILO_CHAT_URL, KILO_EVENT_SERVICE_URL) and
  handler utilities from kilo-gateway package index
2026-05-18 14:03:20 +02:00
Imanol Maiztegui 09923fbe52 style: apply formatting and lint fixes across packages
Reformat code with consistent line breaks, trailing commas, semicolons,
and line-length compliance. No logic changes — purely whitespace,
indentation, and punctuation adjustments driven by the project formatter.

- Break long function signatures and conditionals across multiple lines
- Remove trailing blank lines and stray leading newlines
- Replace string-expression JSX whitespace with literal spaces
- Convert quoted object keys to unquoted where valid
- Remove erroneous shell command prefix from openapi.json
- Deduplicate SessionNetworkWait1 schema and simplify Finite unions to
  plain number type in OpenAPI spec
2026-05-18 12:40:16 +02:00
Imanol Maiztegui 0b41d2dc4b feat(kilocode): migrate kilo HTTP routes to Effect HttpApi layer
Introduce a structured Effect HttpApi surface for all Kilo-specific
endpoints, replacing inline Hono handler logic with declarative group
definitions, typed schemas, and composable handler layers.

Key changes:
- Add HttpApi group and handler modules for commit-message, enhance-prompt,
  indexing, kilocode, network, remote, session-import, suggestion, and
  telemetry
- Extract allow-everything permission logic into a reusable Effect function
- Register all Kilo HttpApi groups in InstanceHttpApi and wire route
  forwarding in the Hono instance router
- Export Suggestion.RequestSchema and annotate schemas with identifiers
- Use NonNegativeInt for indexing status fields and Schema.Finite for
  network wait timestamps
- Add httpapi-bridge test asserting parity between Hono and Effect specs
  for all 22 Kilo overlay routes
- Regenerate SDK types and openapi.json to reflect the new endpoints
2026-05-18 12:36:01 +02:00
Imanol Maiztegui e68fd6781d resolve merge conflicts 2026-05-15 13:13:17 +02:00
Imanol Maiztegui b7a7ecf449 refactor: kilo compat for v1.14.34 2026-05-15 09:25:13 +02:00
Kirill Kalishev a4218d893d Merge pull request #9801 from Kilo-Org/morning-tibia
ci(jetbrains): publish release candidates from tags
2026-05-14 16:16:11 -04:00
Kirill Kalishev 3f42373317 Merge pull request #10222 from Kilo-Org/kiwi-acorn
fix(jetbrains): address Marketplace verifier checks
2026-05-14 16:04:44 -04:00
Catriel Müller 7bc46c54d8 Merge pull request #10263 from Kilo-Org/axiomatic-gouda
fix(cli): chunk oversized compactions
2026-05-14 15:16:26 -03:00
kirillk 9a8225cbb2 ci(jetbrains): require v-prefixed publish tags 2026-05-14 13:14:07 -04:00
kirillk 5e4682338d revert: remove out-of-scope fix in KiloBackendSessionManager 2026-05-14 12:59:16 -04:00
kirillk c4716769e5 Merge branch 'main' into morning-tibia 2026-05-14 12:57:28 -04:00
Catriel Müller 43d9dd23ed fix: comment 2026-05-14 13:18:03 -03:00
Marius fe969a18e3 fix(vscode): update speech capture tooltip (#10266) 2026-05-14 11:52:01 -04:00
Catriel Müller 0f1626420f fix: tests 2026-05-14 12:04:19 -03:00
Marius 47f65f76e6 Merge pull request #10265 from Kilo-Org/fix/vscode-snapshot-cli-rebuild
fix(vscode): rebuild CLI for snapshot installs
2026-05-14 16:56:51 +02:00
marius-kilocode 900ba85b83 fix(vscode): rebuild CLI for snapshot installs 2026-05-14 16:46:48 +02:00
Catriel Müller 1d80231da0 refactor: address the comments 2026-05-14 11:40:15 -03:00
kiloconnect[bot] 262c2d6704 fix(ui): place copy tooltip above button to avoid overlapping thumbs 2026-05-14 14:36:44 +00:00
Catriel Müller c1a797c1f1 fix(cli): chunk oversized compactions 2026-05-14 11:26:28 -03:00
Marius cb83e473c3 Merge pull request #10258 from Kilo-Org/cedar-titanosaurus
Add experimental speech-to-text prompt input
2026-05-14 16:15:11 +02:00
marius-kilocode 576babe9f1 fix(vscode): lock speech capture during startup 2026-05-14 15:46:36 +02:00
marius-kilocode 03239c0710 refactor(vscode): simplify speech input wiring 2026-05-14 14:50:42 +02:00
marius-kilocode 3885ff8179 fix(vscode): address speech input review issues 2026-05-14 14:44:29 +02:00
marius-kilocode 78ffce39df fix(vscode): expand ffmpeg fallback paths 2026-05-14 14:33:28 +02:00
Marius c2220dc3d6 Merge pull request #10256 from Kilo-Org/silky-naranja
fix(agent-manager): support diff sidebar with terminals
2026-05-14 14:33:04 +02:00
marius-kilocode 39635122a4 chore: address speech input review feedback 2026-05-14 14:32:19 +02:00
marius-kilocode 1e397c3059 chore: address speech input review 2026-05-14 14:22:42 +02:00
marius-kilocode 1daaa0a8de fix(agent-manager): remove redundant terminal comments cast 2026-05-14 14:21:21 +02:00
marius-kilocode 5b841e97f7 Merge remote-tracking branch 'origin/main' into cedar-titanosaurus
# Conflicts:
#	packages/kilo-vscode/src/KiloProvider.ts
2026-05-14 14:20:08 +02:00
marius-kilocode 1af79731a8 feat(vscode): add speech-to-text prompt input 2026-05-14 14:16:51 +02:00
marius-kilocode da9292fbcc fix(agent-manager): support diff sidebar with terminals 2026-05-14 14:09:12 +02:00
marius-kilocode 47c22a28e9 fix(ui): preserve chat tool collapse state 2026-05-14 13:33:19 +02:00
marius-kilocode 09f0156bfc fix(vscode): keep worktree model search open 2026-05-14 12:50:10 +02:00
Marius 1fbe696036 Merge pull request #10228 from Kilo-Org/supersede-shell-command-highlighting
feat(ui): add highlighted shell command output
2026-05-14 11:43:45 +02:00
arrrkady a19c91f83e Merge pull request #10214 from Kilo-Org/docs/update-mobile-apps
Update mobile apps documentation
2026-05-14 11:38:48 +02:00
Marius 0baee717e3 Merge pull request #10227 from Kilo-Org/island-medusaceratops
Fix: Hide subagent sessions from VsCode Agent Manager sessions view
2026-05-14 11:18:51 +02:00
Marius 710b9c513f Merge pull request #10230 from Kilo-Org/pear-rudbeckia
feat(vscode): collapsible Agent Manager sidebar
2026-05-14 11:18:08 +02:00
Marius c600065141 Merge pull request #10229 from Kilo-Org/oasis-maraca
Keep worktree revert diffing local
2026-05-14 10:14:49 +02:00
github-actions[bot] a41be4c841 chore: update kilo-vscode visual regression baselines 2026-05-14 08:06:35 +00:00
marius-kilocode af5c05de7e fix(vscode): use inert instead of aria-hidden on collapsed sidebar
aria-hidden only hides from screen readers; pointer-events: none only
blocks the mouse. Tab focus could still traverse into the hidden
sidebar's worktree buttons and session items. inert handles all three
at once: removes from the a11y tree, blocks pointer events, and prevents
keyboard focus.
2026-05-14 10:05:39 +02:00
marius-kilocode 1abd32ecc8 fix(ui): cancel stale shell highlighting 2026-05-14 10:03:48 +02:00
marius-kilocode 26f5393be2 feat(vscode): collapsible Agent Manager sidebar with persistent state
Adds a toggle button left of the active session/tab title that collapses
the worktrees & sessions sidebar. The collapsed state is persisted to
.kilo/agent-manager.json, restored on panel reload and VS Code restart,
and auto-expands when the user creates a new session or worktree so the
new entry is visible. The first paint after restart skips the width
animation so the panel never flashes from open to closed.
2026-05-14 09:51:14 +02:00
marius-kilocode 41e3cda971 fix(vscode): keep worktree revert diffing local 2026-05-14 09:47:32 +02:00
marius-kilocode dea6169340 fix(ui): harden shell highlighting rendering 2026-05-14 09:45:35 +02:00