kletso_flutter 0.2.1
kletso_flutter: ^0.2.1 copied to clipboard
Flutter widgets for Kletso AI chat: launcher, chat, 30 built-in blocks, custom components, theming, notifications, voice sheet and animated avatar.
0.2.1 — 2026-10-07 #
- Shorter pubspec description (pub.dev conventions). No code changes.
0.2.0 — %s #
-
Voice UI (D78–D83): mic button in the composer,
KletsoVoiceButton,KletsoVoiceSheet(avatar, captions, surfaces, mute / type instead / End, push-to-talk),KletsoClientAvatarbinding (mood rules,avatar.mood, lip-sync level). Installpackage:kletso_voicefor microphone and speaker. -
Requires
kletso_core ^0.2.0andkletso_ui_schema ^0.2.0. -
Per-mood avatar pictures:
KletsoAvatar.moodImages(oneImageProviderperKletsoAvatarMood, crossfade on mood change, breathing idle loop, lip-sync bounce, pre-cached, animated GIF/WebP play as-is; falls back toimageProvider, then the mascot).KletsoClientAvatarparses the bootstrap'savatar.images(images,imageFor,parseImages), is now aListenable, andbuild()rebuilds when a new bootstrap changes the pictures. -
Animated Kletso mascot avatar (D81):
KletsoAvatarwidget (styleskletso/image/none),KletsoAvatarController(mood, allowed moods, ttl rules, lip-synclevel),KletsoAvatarMood,KletsoAvatarFaceParams,KletsoAvatarPainter/KletsoAvatarColors, generatedKletsoAvatarFaceDatafrompackages/design/avatar.json(tool/gen_avatar.dart). Wired intoKletsoBotBubble(small avatar, optional shared controller) andKletsoLauncher(newKletsoTheme.launcherIcon:chat/sparkle/mascot, wink on unread, thinking whileclient.agentTyping);KletsoTheme.fromServernow parseslauncher.icon.
0.1.0 — 2026-09-29 #
KletsoNotificationHost(banner/toast/alert,system→onSystemNotificationwith banner fallback,silent),KletsoUi.openNotification,notificationResults,KletsoActionOrigin.notification(D58).- API review (D56):
KletsoFormat.duration(waskletsoDuration),runLocalActioninternal,KletsoUi.isOpenread-only,onOpenUrlgetter,KletsoBotBubble.agentNameremoved. - Host data bindings (
setHostData/updateHostData,/host/paths),KletsoTheme.dark()/forBrightness, liveui.patchrendering. client.close(),app.commandhandling (opt-in,KletsoUi.contextProvider,commandResults),KletsoActionOrigin,runLocalAction.- Complex blocks: map, video, audio, rating, steps, accordion, tabs, countdown, progress (plugin-free defaults, host-overridable).
- Initial release:
KletsoChat,KletsoLauncher,open()/bindAppLifecycle(),KletsoSurfaceViewwith the 21 built-in blocks, hostregisterComponent/registerAction/onOpenUrl,KletsoComponentSpec+kletso_flutter:sync,KletsoThemegenerated from the design tokens,KletsoPlainMarkdownRenderer,KletsoUrlPolicy,KletsoConversationList.