speech_kit 0.0.1
speech_kit: ^0.0.1 copied to clipboard
Native Dart bindings for Apple Speech (SpeechAnalyzer, SpeechTranscriber, AssetInventory) using Dart Build Hooks.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
0.0.1 - 2026-03-26 #
First pub.dev release: native Dart bindings for Apple Speech (SpeechAnalyzer pipeline) on macOS via Dart Build Hooks and FFI.
Added #
SpeechKitfaçade — speech and microphone permission status/requests;AssetInventorystatus andensureAssetsInstalled;bestAvailableAudioFormat;analyzeFile/analyzePcm/analyzePcmStreamwith optionalAnalysisContextandSpeechAnalyzerOptions;SpeechAnalysisSessionwithTranscriptionSegmentstreaming;endSpeechModelRetention.- Custom language model —
exportCustomLanguageModelData(phrase counts, custom pronunciations, optionalPhraseCountsFromTemplatesConfig),prepareCustomLanguageModel,supportedCustomLanguagePhonemes,SpeechLanguageModelPathsfor dictation. - Repository layout —
lib/,test/,native/Swift bridge, architecture rule.cursor/rules/architecture-ddd-layered.mdc, anddoc/domain-model.md. - Example package (
example/) — CLI samples:permission_status,asset_inventory,best_audio_format(with--installto fetch on-device models when needed),supported_phonemes,export_custom_lm,end_model_retention,analyze_file(optional--bias,--task-priority,--model-retention); sharedlib/example_common.dart;example/README.mdwith overview table andtree-style layout.
Changed #
- Static analysis aligned with
screen-capture-kit(all_lint_rules.yaml+ sharedanalysis_options.yamlpattern; droppackage:lints). - Documentation — README (structure aligned with
screen-capture-kit),CONTRIBUTING.md, anddoc/domain-model.mdupdated for the implemented API and macOS-only native path. pubspec.yaml—platformslimited to macOS until iOS FFI is supported.