fix: repair generated artifacts and branding after the v1.17.13 merge

Generation was failing. Upstream added a guard in this range that rejects
duplicate session event variants, and Kilo's tool-content codec on the shared
event schema was tripping it, so openapi.json and the SDK were stale and a temp
packages/sdk/js/openapi.json got committed by accident.

Move the codec off the event schema into core/src/kilocode/event-storage.ts,
keyed by event type and applied only at the SQL boundary. Session events are on
the wire now (SessionEvent.Durable backs /api/session/{id}/history), so a
transform there forked the generated API. Shipped readers still parse old rows
and the wire contract goes back to upstream's. Drops the consumer-side
normalizers in the TUI and sync-v2 that existed only to undo the widening.

Also: restore the Kilo HttpApi title and a few branding strings, balance five
kilocode_change markers, drop a duplicate TUI palette entry, and teach
check-model-tool-network about the LayerNode wiring that replaced
Layer.provide(ToolNetwork.httpLayer).
This commit is contained in:
Johnny Amancio
2026-07-30 16:20:25 +02:00
parent 6017c3ea83
commit 61b2f1d0cb
35 changed files with 30067 additions and 25892 deletions
@@ -1292,7 +1292,6 @@ describe("session.compaction.process", () => {
yield* Deferred.await(ready).pipe(Effect.timeout("5 seconds"))
yield* Fiber.interrupt(fiber)
const exit = yield* Fiber.await(fiber)
// kilocode_change end
expect(Exit.isFailure(exit)).toBe(true)
if (Exit.isFailure(exit)) {