Dart SDK
Release notes for dnotifier on pub.dev.
Cross-SDK feature table: Changelog.
1.1.21
Checkpoints, sessions & resume
Pass
sessionIdonrunAgent/runWorkflowto keep conversation and workflow state across turns.Resume, retry, or replay a run with
resume,mode, and optionalfromCheckpointId.Optional in-memory checkpointer for local tests; cloud storage when you pass a
sessionId.
β Checkpoints, sessions & resume Β· Dart examples
1.1.20
Middleware
Agent middleware: hooks around the full run and around model / tool steps.
Workflow middleware: hooks around
entry.Register with
AgentMiddleware/WorkflowMiddlewareondefineAgentorWorkflow.
β Middleware Β· Dart examples
1.1.19
MCP server capability
capabilities: { 'mcpServer': true }on agents and workflows.Listen so Claude, Cursor, and other MCP clients can discover and call your agent through DNotifier.
A2A capability
capabilities: { 'a2a': true }on agents and workflows.Expose agents over the open Agent2Agent protocol (Agent Card + JSON-RPC).
Capabilities
Declare what an agent or workflow supports:
mcpServer,a2a,tools,rag,memory,workflows,humanApproval,subagents.
β Define an agent
1.1.18
Vector stores & embeddings
Choose knowledge-base storage and embedding model via
serverConfigor per call (vectorStore/embedding).
β Vector stores and embeddings
1.1.14
Agent tools & MCP client
notifier.tools.registerfor local tools;notifier.mcp.connectfor HTTP MCP servers.Tool agents via
defineAgent(tools: ..., instructions: ..., permissions: ...).Standalone
notifier.runAgent(agent, input: ...)for tool agents.permissionEnforcementandonAgentEventconstructor options.Workflow observability records tool-agent runs in the dashboard.
β Tools & MCP agents Β· Local tool example Β· MCP example
Multi-model providers
Pass
providerandmodelonsendAIand agent defaults.
License
Package remains proprietary (
LICENSE).
1.1.13
Remote agents
Register a remote agent by
receiverIdon a workflow and call it withctx.runAgentthe same way as a local agent.Requires WebSocket transport for request/reply across servers.
β Remote agents
1.1.9
Stability
Production API defaults for Flutter Android, iOS, Web, and pure Dart targets without code changes per platform.
1.1.8
Chat history
fetchChatHistory(senderId:, receiverIds:)β request stored conversations; response delivered viaonMessage.
β Chat history
Delete APIs
deleteChatHistoryMessage(senderId:, messageId:)β remove a chat history message.deleteAIHistoryMessage(senderId:, messageId:)β remove an AI history message.
Messaging
Automatic outbound chunking for large payloads.
Inbound reassembly before
onMessage.
AI history
fetchAIHistoryimprovements aligned with delete APIs for session management.
1.1.7
Workflows
Workflow,defineAgent,WorkflowContext, andWorkflowRunnerfor multi-step AI pipelines.DNotifier.runWorkflowas the primary execution entry point.Agent registration via
.registerAgents().WorkflowErrorfor validation and runtime failures.
Observability
Optional workflow observability when
observability: trueonWorkflow.
Auth
authTokenavailable onDNotifierafter successfulconnect().Plan limits via
getPlanLimits()includingaiEnabledandmessageSizeLimit.
Core SDK (1.1.7 baseline)
WebSocket and HTTP transports.
sendAI, knowledge-base APIs, semanticsearch.Optional session logging with
logs: true.Pure Dart β no platform-specific code in the SDK.
Earlier highlights
1.0.0
Initial release β realtime messaging, auth, binary frames, optional AI
Transports
WebSocket and HTTP
Platforms
Flutter (Android, iOS, Web) and pure Dart
Upgrade notes
From 1.1.7 β 1.1.9
Update
pubspec.yaml:dnotifier: ^1.1.9or laterRun
dart pub get/flutter pub getNo breaking API changes for basic
connect/sendusage
Workflows
Register all agents before calling runWorkflow:
Use transport: 'http' for workflow execution.
β Run a workflow
Related
Last updated