flutter_pipwave_ai_agent 1.3.3
flutter_pipwave_ai_agent: ^1.3.3 copied to clipboard
Pipwave AI Agent SDK provides a predesigned graphical user interface (GUI) for user to undergo the AI agent process.
1.3.3 (24th April 2026) #
1.3.2 (7th April 2026) #
Changed #
- Video thumbnails — Replaced
video_thumbnailwithv_video_compressorfor video attachment thumbnail generation; DI andAttachmentThumbnailServiceupdated accordingly. - Dependencies — Refreshed
pubspec/ lockfiles (including JNI-related packages used by the video compressor stack) and minor compatibility updates inmedia_picker_service.
1.3.1 (1st April 2026) #
Changed #
- WebView — Replaced
webview_flutterwithflutter_inappwebview;WebviewPageand dependency lockfiles updated accordingly.
1.3.0 (1st April 2026) #
Changed #
- Thumbnail compression — Replaced
flutter_image_compresswithflutter_bicubic_resizefor attachment thumbnail generation (lighter dependency surface, bicubic resizing for previews). - Tooling — CI and docs updated for Flutter 3.41.6 and Xcode 26.4; dependency bumps across
pubspec.yaml/ lockfiles.
Fixed #
- Android (example) — Added Gradle packaging options for JNI libraries so the WebView/native stack resolves duplicate
.sofiles when building the example app.
1.2.0 (24th March 2026) #
Changed #
- Flutter 3.41 — Align FVM/tooling and the example app (including iOS Runner) with Flutter 3.41; refresh dependency constraints and lockfiles for the current Flutter ecosystem.
Fixed #
- Bloc — Use explicit
context.select<ChatBloc, bool>inInfoFeedbackfor compatibility with currentflutter_blocinference. - Connectivity — Adjust
InternetStatuslistener typing inConnectivityServiceforinternet_connection_checker_plus.
1.1.1 (5th March 2026) #
Added #
- Session token guard — All API calls are now guarded to ensure the session token is not expired. When the token is expired, the SDK automatically invokes
onRefreshAccessTokenbefore making requests, preventing unauthorized errors.
Security #
- MIME validation — Media uploads now use MIME type validation instead of file name extension to block spoofed filenames and prevent malicious file uploads.
1.0.0 (23rd January 2026) #
Added #
- Initial public release of
flutter_pipwave_ai_agentSDK - Drop-in AI Agent chat UI presented as a modal bottom sheet via
FlutterPipwaveAiAgent.instance.launchAiAgent() - SDK initialization via
initialise()method - Orientation management with
lockOrientationToPortrait()helper - Auth/session configuration via
AuthParamclass supporting:- Session token authentication
- User ID configuration
- Locale and supported locales configuration
- AI Agent name customization
- Beta flag support
- Integration callbacks:
onRefreshAccessTokencallback for refreshing session tokensonLinkTapcallback for handling links tapped in the UItermsOfServicecallback for Terms of Service navigation
- Avatar customization via
AvatarBuilderandSenderTypeenum - Unread count API:
getUnreadCountStream()for reactive unread count updatesgetUnreadCount()for synchronous unread count retrievalresetUnreadCount()for resetting the unread counter- Background monitoring via
startBackgroundMonitoring()andstopBackgroundMonitoring()
- Attachment support:
- Camera capture for photos and videos
- Gallery/media picker integration
- File picker support
- Environment configuration:
- Staging/production endpoint selection via
--dart-define=pw_ai_agent_is_prod=true
- Staging/production endpoint selection via
- Error handling with
PipwaveExceptionclass:PipwaveException.sessionNotInitialised()for uninitialized session errorsPipwaveException.contextNotMounted()for context mounting errorsPipwaveException.wsError()for WebSocket errors
- Localization support via
flutter_pipwave_localizationpackage - Platform-specific documentation for Android and iOS permissions