Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dart SDK

Release notes for dnotifier on pub.dev.

Add dnotifier: ^1.1.21 (or latest) to pubspec.yaml and run dart pub get or flutter pub get.

Cross-SDK feature table: Changelog.


1.1.21

Checkpoints, sessions & resume

  • Pass sessionId on runAgent / runWorkflow to keep conversation and workflow state across turns.

  • Resume, retry, or replay a run with resume, mode, and optional fromCheckpointId.

  • 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 / WorkflowMiddleware on defineAgent or Workflow.

β†’ 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.

β†’ Serve agents over MCP

A2A capability

  • capabilities: { 'a2a': true } on agents and workflows.

  • Expose agents over the open Agent2Agent protocol (Agent Card + JSON-RPC).

β†’ Agent-to-agent (A2A)

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 serverConfig or per call (vectorStore / embedding).

β†’ Vector stores and embeddings


1.1.14

Agent tools & MCP client

  • notifier.tools.register for local tools; notifier.mcp.connect for HTTP MCP servers.

  • Tool agents via defineAgent(tools: ..., instructions: ..., permissions: ...).

  • Standalone notifier.runAgent(agent, input: ...) for tool agents.

  • permissionEnforcement and onAgentEvent constructor options.

  • Workflow observability records tool-agent runs in the dashboard.

β†’ Tools & MCP agents Β· Local tool example Β· MCP example

Multi-model providers

  • Pass provider and model on sendAI and agent defaults.

β†’ Multi-model providers

License

  • Package remains proprietary (LICENSE).


1.1.13

Remote agents

  • Register a remote agent by receiverId on a workflow and call it with ctx.runAgent the 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 via onMessage.

β†’ Chat history

Delete APIs

  • deleteChatHistoryMessage(senderId:, messageId:) β€” remove a chat history message.

  • deleteAIHistoryMessage(senderId:, messageId:) β€” remove an AI history message.

β†’ Delete chat messages

Messaging

  • Automatic outbound chunking for large payloads.

  • Inbound reassembly before onMessage.

β†’ Large messages & chunking

AI history

  • fetchAIHistory improvements aligned with delete APIs for session management.


1.1.7

Workflows

  • Workflow, defineAgent, WorkflowContext, and WorkflowRunner for multi-step AI pipelines.

  • DNotifier.runWorkflow as the primary execution entry point.

  • Agent registration via .registerAgents().

  • WorkflowError for validation and runtime failures.

β†’ Workflows overview

Observability

  • Optional workflow observability when observability: true on Workflow.

β†’ Workflow observability

Auth

  • authToken available on DNotifier after successful connect().

  • Plan limits via getPlanLimits() including aiEnabled and messageSizeLimit.

Core SDK (1.1.7 baseline)

  • WebSocket and HTTP transports.

  • sendAI, knowledge-base APIs, semantic search.

  • Optional session logging with logs: true.

  • Pure Dart β€” no platform-specific code in the SDK.


Earlier highlights

Area
Features

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

  1. Update pubspec.yaml: dnotifier: ^1.1.9 or later

  2. Run dart pub get / flutter pub get

  3. No breaking API changes for basic connect / send usage

Workflows

Register all agents before calling runWorkflow:

Use transport: 'http' for workflow execution.

β†’ Run a workflow


Last updated