Repository navigation
Realtime + v0.2.1 - #85
Merged
Merged
Conversation
Adds @KeelEvent for payload classes and host handlers, the lib EventRegistry/EventDiscovery with in/out/both directions, the versioned KeelRealtimeEnvelope, and events in Typegen + keel-scaffold output (HarborEvents / HarborEventId).
Typed event registry: @KeelEvent, EventRegistry, envelope, typegen and scaffold events output (#72).
Opt-in keel { realtime { } } registers /__keel/events for the Ktor
plugins the host installed: WS upgrade, SSE stream, and POST sends.
Host-owned channels with an authorize hook, typed publish/invalidate
on call.keelRealtime, heartbeats, per-connection buffers, and CSRF on
HTTP writes. No replay: reconnect resubscribes and the seed rehydrates.
SSE + WebSocket host transports (#71).
Adds realtime to @kolektiv/keel: WebSocket with SSE fallback, page channel auto-subscription, typed on() handlers, invalidate rehydrate, sid sends over HTTP, and backoff reconnect with resubscribe. Adapters expose useKeelEvent / injectKeelEvent bindings.
Realtime client and adapter subscribe helpers (#73).
Harbor installs WebSockets + SSE and exposes typed events: posts publish harbor.message on page:harbor.home, renames invalidate it, and client-sent harbor.typing notices round trip through the host. The Svelte pack streams the feed with useKeelEvent and sends notices with realtime.send. Adapters also re-export realtime.
Live Harbor board end-to-end demo (#75).
Adds the Realtime guide and wire envelope, documents the events section of Typegen and the KeelConfig realtime block, adds realtime helpers to the adapter matrix, and refreshes llms.txt, AGENTS.md, and the host / pack / scaffold skills.
Realtime documentation and skills (#74).
# Conflicts: # CHANGELOG.md # llms.txt
The realtime epic predates #79, which dropped keel-npm in favor of npm-public. Remove the obsolete [Unreleased] fix entry so it does not contradict the 0.1.1 release notes.
- ktor 3.1.3 -> 3.5.2 to match downstream kalendee host resolution - lockstep npm packages 0.1.1 -> 0.2.0 - RealtimeTest: await async websocket disconnect cleanup under ktor 3.5.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges the realtime epic into main and bumps everything to 0.2.1.
/__keel/eventsrealtime/useKeelEventhelpers, plus docsOnce this is merged, tagging
v0.2.1from main publishes through CI.