kuralit_sdk 0.1.1
kuralit_sdk: ^0.1.1 copied to clipboard
A Flutter SDK for Kuralit realtime communication with WebSocket support for text and audio streaming.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add kuralit_sdkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
kuralit_sdk: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:kuralit_sdk/kuralit.dart';
import 'package:kuralit_sdk/templates/agent_overlay/dynamic_input_island.dart';
import 'package:kuralit_sdk/templates/agent_overlay/kuralit_agent_overlay.dart';
import 'package:kuralit_sdk/templates/base_template.dart';
import 'package:kuralit_sdk/templates/popup_chat/kuralit_popup_chat.dart';
import 'package:kuralit_sdk/templates/popup_chat/kuralit_popup_chat_config.dart';
import 'package:kuralit_sdk/templates/popup_chat/models/chat_message.dart';
import 'package:kuralit_sdk/templates/popup_chat/models/tool_call_info.dart';
import 'package:kuralit_sdk/templates/popup_chat/widgets/audio_input_widget.dart';
import 'package:kuralit_sdk/templates/popup_chat/widgets/message_widget.dart';
import 'package:kuralit_sdk/templates/popup_chat/widgets/streaming_message_widget.dart';
import 'package:kuralit_sdk/templates/popup_chat/widgets/text_input_widget.dart';
import 'package:kuralit_sdk/templates/popup_chat/widgets/tool_call_widget.dart';