Commit Graph

4034 Commits

Author SHA1 Message Date
Catriel Müller 8acb463b2e Merge pull request #6206 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.7
OpenCode v1.2.7
2026-02-24 11:28:02 -03:00
Igor Šćekić 945d6b8b9a Merge branch 'main' into feat/cloud-sessions-list 2026-02-24 12:43:18 +01:00
Mark IJbema c619d67061 fix: use toDateString() instead of toISOString() in system prompt to preserve caching
The editor context change in PR #6151 switched from Today's date (toDateString)
to Current time (toISOString), which breaks prompt caching because the system
prompt now changes every second instead of once per day.

This changes it back to date-only format while keeping all other editor context
improvements.
2026-02-24 08:34:32 +01:00
Catriel Müller 210b889bc5 refactor: update sdk 2026-02-23 22:57:03 -03:00
Catriel Müller f32f4d6cc6 refactor: add support to .kilo config 2026-02-23 22:57:03 -03:00
Igor Šćekić a3c980826e fix(kilo-sessions): reverse messages before fullSync
we need to send them in asc order
2026-02-23 23:10:03 +01:00
Igor Šćekić f31ca9104d build(deps): sort and organize package.json dependencies
Reorder `@kilocode/*` packages alphabetically at the top of the
dependencies block and remove duplicate entries that were scattered
throughout the file. No new dependencies are added or removed.
2026-02-23 22:29:18 +01:00
Igor Šćekić 92ce9b3a5d style: reformat multiline expressions for readability 2026-02-23 22:23:28 +01:00
Igor Šćekić db93ce6bc1 Merge remote-tracking branch 'origin/main' into feat/cloud-sessions-list
# Conflicts:
#	packages/kilo-vscode/src/KiloProvider.ts
#	packages/kilo-vscode/src/services/cli-backend/http-client.ts
#	packages/kilo-vscode/src/services/cli-backend/types.ts
#	packages/kilo-vscode/webview-ui/src/types/messages.ts
2026-02-23 21:21:35 +01:00
Kevin van Dijk 496c4283e1 Fix types 2026-02-23 20:34:24 +01:00
Igor Šćekić 8d83b3c356 fix: address review feedback on cloud sessions feature
- Use kilo-ui Checkbox instead of raw <input> in CloudSessionList
- Replace `any` types in KiloRoutesDeps with structural types
- Inject Identifier dep instead of duplicating ID generation logic
- Delete unused fetchCloudSessions() in api/sessions.ts
- Add Array.isArray guard on data.messages in import endpoint
- Avoid mutating data.info in-place during cloud session import
- Translate session.cloud.import.* i18n keys across all 15 locales
- Remove obsolete checkbox CSS (now handled by kilo-ui)
2026-02-23 20:30:53 +01:00
Kevin van Dijk ae62fff98d Resolve merge conflicts 2026-02-23 20:12:28 +01:00
Kevin van Dijk 0e76652f28 refactor: kilo compat for v1.2.7 2026-02-23 18:48:59 +01:00
Igor Šćekić f34a8c2cd3 fix(kilo-gateway): fire Session.Event.Created after cloud session import
The imported session was never registered with the cloud sync system
because Session.Event.Created was not fired. KiloSessions.init()
subscribes to this event to call KiloSessions.create(), which registers
the session with the ingest API and creates the session_share record
needed for incremental sync. Now uses Database.effect() to publish the
event after the DB transaction completes.
2026-02-23 18:32:06 +01:00
Kevin van Dijk d6e6016e91 Resolve merge conflicts 2026-02-23 18:19:57 +01:00
Kevin van Dijk ffec9a4153 refactor: kilo compat for v1.2.6 2026-02-23 18:15:49 +01:00
Kevin van Dijk 7bc3482c5c Merge pull request #6199 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.5
OpenCode v1.2.5
2026-02-23 18:13:40 +01:00
Igor Šćekić 478421fd58 fix(kilo-gateway): write imported sessions to SQLite instead of filesystem
The import endpoint was using Storage.write() which writes JSON files,
but the CLI reads sessions from SQLite via Database. Rewrote to use
Database.use() with Drizzle inserts into SessionTable, MessageTable,
and PartTable — matching the pattern from the CLI's import command.
2026-02-23 18:05:26 +01:00
Marius 0aff5681f1 feat(agent-manager): add telemetry tracking for agent-manager sessions (#6179) 2026-02-23 16:59:23 +00:00
Kevin van Dijk 0ab430f420 Resolve merge conflicts 2026-02-23 17:40:21 +01:00
Kevin van Dijk 04d2667b85 refactor: kilo compat for v1.2.5 2026-02-23 17:39:34 +01:00
Kevin van Dijk ebad85a305 Merge pull request #6197 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.4
OpenCode v1.2.4
2026-02-23 17:37:44 +01:00
kilo-maintainer[bot] 3e033d1793 release: v7.0.27 2026-02-23 16:31:43 +00:00
Igor Šćekić baefc0d536 feat(kilo-gateway): add POST /kilo/cloud/session/import endpoint
Imports a cloud session into local storage with fresh IDs (ses_, msg_,
prt_) to avoid collisions with the cloud session during sync. Passes
Storage and Instance deps from server.ts to the gateway routes.
2026-02-23 17:26:53 +01:00
Mark IJbema 89400ad02a Merge pull request #6151 from Kilo-Org/mark/editor-context
feat: send editor context (visible files, open tabs, shell, timezone) to CLI backend
2026-02-23 17:14:12 +01:00
Kevin van Dijk 8eb0ec7610 Resolve merge conflicts 2026-02-23 17:10:26 +01:00
Kevin van Dijk 0b7e73e764 refactor: kilo compat for v1.2.4 2026-02-23 17:04:50 +01:00
Kevin van Dijk 63ef8c9d01 Merge pull request #6195 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.3
OpenCode v1.2.3
2026-02-23 16:58:20 +01:00
kilo-maintainer[bot] e6e3eff9a6 release: v7.0.26 2026-02-23 15:42:56 +00:00
Kevin van Dijk 8edb49ac1d Resolve merge conflicts 2026-02-23 16:30:46 +01:00
Kevin van Dijk 373af86eb6 refactor: kilo compat for v1.2.3 2026-02-23 16:24:30 +01:00
Catriel Müller 0105038307 Merge pull request #6192 from Kilo-Org/catrielmuller/fix-publish-ci
Fix publish ci
2026-02-23 12:21:28 -03:00
Kevin van Dijk 8bb58c4bb7 Merge pull request #6194 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.2
OpenCode v1.2.2
2026-02-23 16:21:16 +01:00
Kevin van Dijk 58995d9591 Resolve merge conflicts 2026-02-23 16:11:57 +01:00
Mark IJbema 70d6368394 refactor: extract editor context logic to kilocode/editor-context.ts
Move formatTime and editor context env-line building into a dedicated
kilocode-specific file to minimize changes in the shared system.ts.
The only changes to system.ts are now: import, signature, and one
spread call.
2026-02-23 16:10:37 +01:00
Kevin van Dijk 1815ff235e Merge pull request #6189 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.1
OpenCode v1.2.1
2026-02-23 16:10:11 +01:00
Christiaan Arnoldus 9023af64f0 Merge pull request #6190 from Kilo-Org/christiaan/llm-completion
Change LLM Completion telemetry properties to be consistent with old extension
2026-02-23 16:02:05 +01:00
Catriel Müller ab0ef3008f refactor: rename gh repo 2026-02-23 11:47:15 -03:00
Christiaan Arnoldus 8c018c21f2 Change LLM Completion telemetry properties to be consistent with old extension 2026-02-23 15:46:42 +01:00
Mark IJbema a2fcda3fe3 chore: add kilocode_change markers to shared opencode files
Mark editorContext additions in message-v2.ts, prompt.ts, and system.ts
with kilocode_change markers to ease upstream merge conflict resolution.
2026-02-23 15:12:24 +01:00
Catriel Müller 5f161009d7 refactor: rename db 2026-02-23 11:04:07 -03:00
Catriel Müller 325224ceb7 refactor: include migrations on the build 2026-02-23 10:41:48 -03:00
Mark IJbema 08cb48aa2e fix: use ISO 8601 timestamp with timezone offset in system prompt
Replace imprecise toDateString() (e.g. 'Mon Feb 23 2026') with full
ISO 8601 UTC timestamp and user timezone with UTC offset when the
extension provides it via editorContext.timezone.

Before: Today's date: Mon Feb 23 2026
After:  Current time: 2026-02-23T12:23:04.159Z
        User timezone: Europe/Amsterdam, UTC+1:00
2026-02-23 14:25:10 +01:00
Kevin van Dijk ac3ca14a50 refactor: kilo compat for v1.2.2 2026-02-23 14:02:50 +01:00
Kevin van Dijk 3bbf043c25 Resolve merge conflicts 2026-02-23 14:00:54 +01:00
Kevin van Dijk 42ecd7bd95 refactor: kilo compat for v1.2.1 2026-02-23 13:59:45 +01:00
Kevin van Dijk 7ac4e68dc8 Resolve merge conflicts 2026-02-23 13:54:54 +01:00
Kevin van Dijk 9030ba902c refactor: kilo compat for v1.2.0 2026-02-23 13:30:22 +01:00
Mark IJbema 2a0ac40e0d feat(opencode): accept editorContext in PromptInput and render in system prompt 2026-02-23 13:23:17 +01:00
Mark IJbema 2c15bae7d4 Merge pull request #6161 from Kilo-Org/mark/update-default-branch-to-main
docs: update default branch references from dev to main
2026-02-23 11:52:11 +01:00