Skip to main content

nativemind_copilot 1.2.0 copy "nativemind_copilot: ^1.2.0" to clipboard
nativemind_copilot: ^1.2.0 copied to clipboard

The NativeMind copilot for Flutter: agent panel, decisions and spending policy, voice and attachments, protocol client, OAuth / MCP connect screens.

1.2.0 #

Additive (SDD widgets.nativemind.net flows/sdd-nativemind-widgets-liendeed; carried from the LienDeed apps' ld_copilot, with the product names made options). Includes the unpublished 1.1.1 maintenance release below.

  • NmSelectedModelProvider: the on-device provider for the model picked in NmModelManager, read on every request.
  • nmManagedHybrid(models:, tools:, prompt:, remote:): on the device with the selected model, and the cloud when the platform has no on-device models, no model is selected, or it does not fit.
  • NmMeteredEngine: wraps an engine for metered guests, with a soft prompt after N answers and a callback with the server's reason when a guest turn is refused (limitCode, default ACCOUNT_REQUIRED).
  • nmPresetForDevice(desktop:, ramBytes:): the default open chat model for a device.

1.1.1 #

Maintenance release, no API or behaviour change. Checked with Flutter 3.50.0 (stable, Dart 3.14): analyzer clean apart from the SDK deprecation of package:flutter/material.dart / cupertino.dart in favour of material_ui / cupertino_ui, which stays: moving would require Flutter 3.47+ and break apps on 3.32–3.44. Dependency constraints and the SDK floor are unchanged; every dependency resolves to its latest compatible version.

  • example/example.dart: a runnable example for pub.dev.
  • Shorter pubspec description (pub.dev shows up to 180 characters).
  • homepage removed: widgets.nativemind.net is not online; repository stays.

1.1.0 #

Additive (SDD consilium.nativemind.net flows/sdd-konsilium-nativemind-framework, specification §1): no existing signature changed, every new field and flag defaults to the old behaviour.

  • Default voice-mode stop words cover every panel language (the words the «say stop» hint names: ru, en, th, hi, zh, ja, ko, ar, he, bn, km, lo, my, de, fr, it, pt, es, uk, sw).

  • Web voice (package:web, no plugins; stubs off the web): NmWebAudioRecorder (MediaRecorder, AnalyserNode level) with the new optional interface NmAudioRecorderControls (cancel, level); NmWebSpeechInput (SpeechRecognition / webkitSpeechRecognition, partial results, continuous, locale).

  • Speech output: the NmSpeechOutput port, NmWebSpeechOutput (speechSynthesis, rate, voiceName, a voice for the locale) and NmFakeSpeechOutput.

  • Defaults: nmDefaultVoiceInput(engine), nmDefaultAudioRecorder(), nmDefaultSpeechOutput(), nmDefaultAttachmentPicker() — the browser implementations on the web, null elsewhere (native ones: the separate package nativemind_copilot_media).

  • NmServerVoiceInput(onNoTranscript: …): a recording without transcript comes back as an audio draft (nmAudioDraft).

  • Web attachments: NmWebAttachmentPicker (files / images / camera, several at once, acceptFiles); nmPasteDraft(images: true) reads an image from the web clipboard; NmAttachmentDropTarget (drop files, paste images; transparent off the web). NmCopilotPanel wraps itself in it when attachments are on (NmCopilotFeatures.dropFiles); NmCopilotComposer(attachments: …) can share the panel's attachment list.

  • Voice assistant mode (#F77): NmVoiceAssistantConfig (NmCopilotConfig.voiceAssistant, default NmVoiceAssistantConfig.off), NmVoiceAssistantPhase, NmVoiceAssistantReason, NmVoiceAssistantController (listen → send → think → speak briefly → listen; stop words and new speech interrupt the speech, never the turn; silence pauses), NmVoiceAssistantBar, the header button (NmCopilotFeatures.voiceAssistant), the slot NmCopilotBuilders.voiceAssistantBar; helpers nmSpokenText, nmIsStopPhrase, nmHasStopWord.

  • Strings voiceMode* and attachDropHint in en, ru, th, hi, zh. In the abstract NmCopilotL10n they have an English default (tool/gen_text_keys.dart), so language classes built for 1.0 (nativemind_translations ≤ 1.0.2) still compile.

1.0.1 #

  • Docs: README (install, handmade authors and roles, links), migration guide, PROVENANCE.
  • pubspec: repository field so README links resolve on pub.dev.

1.0.0 #

Major release of the NativeMind framework (SDD flows/sdd-widgets-handmade, task 3.1). Guide: doc/migration-1.0.md.

  • Removed (deprecated since 0.1.0 / 0.2.0 «removed in 0.2.0»):
    • the 0.3 widgets of src/legacy/: NmAgentChat, NmChatAttachAction, NmAgentPanel, NmAgentMessageBubble, NmAgentApprovalCard, NmAgentJobSteps, NmCostFormatter, NmAgentController, NmAgentBubble, NmAgentToolTrace, NmAgentResultCard, NmAgentConfirmCard, NmAgentSuggestions, NmCopilotSheet, NmCopilotSheetController, NmCopilotResult;
    • the 0.4 conversation widgets: NmAgentStepCard, NmAgentDecisionCard, NmAgentTurnView, NmAgentConversationPanel, NmAgentLauncher and the NmAutonomyTip typedef they used;
    • the 0.4 names NmAi and NmAiL10n (use NmCopilot and NmCopilotL10n).
  • Kept: the 0.3 models (NmAgentMessage, NmAgentRole, NmAgentAction, NmAgentApproval, NmAgentJobStep, nmAgentNeedsApproval) and NmAgentConversationController (the contract NmCopilotController implements).
  • Requires nativemind_core ^1.0.0. flutter_llama comes from pub.dev (^1.2.0); the local path override was removed.
  • License: NativeMindNONC (part of the NativeMind framework).

0.2.0 #

  • Prototype engine (NmPrototypeEngine): the tool loop with NmCopilotTool and NmPromptLayers; OpenAI-compatible and Anthropic providers with streaming, tool calls and image parts; the insecure-keys guard.
  • On-device models:
    • NmLocalLlmProvider over flutter_llama 1.2 (open models only);
    • NmModelManager with NmModelPicker (download, fit check, selection);
    • NmHybridEngine: device first, the cloud when the device cannot.
  • Voice port NmVoiceInput:
    • states idle / listening / transcribing / denied / unavailable;
    • NmServerVoiceInput over engine.transcribe;
    • a fake for tests;
    • the composer mic (hidden when not configured).
  • Attachments port NmAttachmentPicker:
    • paste and links without plugins;
    • NmAttachmentPolicy limits;
    • chips with progress, remove, and 413 / 415 errors;
    • thumbnails in the user turn.
  • Native recorders and pickers are not in this package.
  • Web: the stream client no longer passes JS interop tear-offs (fixes a dart2js crash).
  • Requires nativemind_core 0.1.1 (the image, camera and clipboard-paste icons) and flutter_llama 1.2.0.

0.1.0 #

  • Package created (copilot moved out of nativemind_widgets).
  • Depends on nativemind_core instead of nativemind_widgets (light: essential icons, no plugins).
  • 23 extra languages via nativemind_translations.
0
likes
0
points
483
downloads

Publisher

verified publisherframework.nativemind.net

Weekly Downloads

The NativeMind copilot for Flutter: agent panel, decisions and spending policy, voice and attachments, protocol client, OAuth / MCP connect screens.

Repository (GitLab)
View/report issues

Topics

#ai #agent #copilot #chat #mcp

License

unknown (license)

Dependencies

flutter, flutter_llama, flutter_localizations, http, http_parser, intl, nativemind_core, web

More

Packages that depend on nativemind_copilot