Changelog
All notable changes to libstigma are documented in this file.
[Unreleased]
Changed
- Proprietary
BUL-1.0Conversion & Bark Platform Plugin Distribution (LICENSE,THIRD_PARTY_NOTICES,.ttypt-docs,README.md,Makefile,Doxyfile): - Converted
libstigmato proprietary licensing under the Bark Usage Licence (BUL-1.0) (andBPL-1.0when consumed viaBARK_PLUGINS := stigma), migrated the submodule out of publicexternal/, addedTHIRD_PARTY_NOTICESfor MITwhisper.cpp/ggmland Vulkan SDK attributions, added.ttypt-docscatalog metadata, installed license notices ininstall-extra, updatedDoxyfile, and disabled public CI publishing.
[0.3.1] - 2026-12-02
Documentation
- Updated README for v0.3.0 streaming ASR post-processing and published updated docs.
[0.3.0] - 2026-12-02
Added
- Streaming ASR Post-Processing & Hallucination Suppression (
include/ttypt/stigma_stream.h,src/stigma_chunker.c,src/stigma_stream.c,tests/test_stigma_stream.c): - Added
stigma_drop_prompt()to strip Whisper prompt-echo hallucinations (exact prefix match or >=80% word overlap on >=5-word outputs). - Added
stigma_cut_loops()to collapse hyphenated syllable runs, 2โ4 word phrase loops (>=3x), and single-word loops (>=6x) in place. - Extended
stigma_is_junk_with()with case-insensitive Latin-1 UTF-8 folding, UTF-8 ellipsis (โฆ) trimming, and repeated punctuation-delimited phrase matching. - Applied
stigma_drop_prompt(),stigma_cut_loops(), and duration-proportionalmax_tokenscapping (secs * 7 + 13, capped at380) in the async streaming worker.
[0.2.3] - 2026-12-02
Fixed
- OpenBSD POSIX Shell Compatibility (
Makefile): Replacedenv -u MAKEFLAGSwith POSIX builtinunset MAKEFLAGS MAKELEVEL;beforecmake --buildso OpenBSD builds without GNUenvsucceed alongside Android and iOS XCFramework builds.
[0.2.2] - 2026-12-02
Added
- Mobile Static Libraries (
android-lib+ios-lib+ SwiftPM XCFramework) (Makefile,.github/workflows/ci.yml): - Added per-ABI/per-slice
whisper.cppCMake cross-compilation (submodules/whisper.cpp/build-Android-${ANDROID_ABI}andbuild-iOS-${IOS_SLICE}) with NDK toolchain flags, iOS Metal (iphoneoswithGGML_METAL_EMBED_LIBRARY=ON) / CPU (iphonesimulator), and host GPU/OpenBLAS probe guards undercross. - Added
install-static-whisperto mergelibwhisper.a,libparakeet.a, andggml*.aintolibstigma.a(xcrun libtool -staticon Darwin/iOS,ar -Mon Linux/Android) so mobile tarballs andlibstigma.xcframeworkare 100% self-contained (9/9platforms).
[0.2.1] - 2026-12-01
Fixed
- Portable GGML & Windows MinGW64 Static Archive Linking (
Makefile): - Passed
-DGGML_NATIVE=OFFinWHISPER_CMAKE_COMMONso packaged binaries (including Rocky Linux 9rpm) do not emit host-specific AVX-VNNI (vpdpbusd) instructions. - Added
_GGML_PFX(libon Unix, empty on Windows) toGGML_STATIC_LIBSandGGML_LINK_EXTRAso Windows MinGW64 links CMake'sggml.a,ggml-cpu.a, andggml-base.acleanly.
[0.2.0] - 2026-12-01
Added
- Core ASR & Silero Neural VAD (
<ttypt/stigma.h>,libstigma.so,stigma.pc,tests/test_stigma.c): - Initial open-source release encapsulating
whisper.cpp(b5907) with automatic Metal/CUDA/Vulkan/CPU+OpenBLAS CMake backend selection. - Unified ASR API (
stigma_open,stigma_open_backend,stigma_transcribe,stigma_close) supporting Whisper and Parakeet-TDT models, word-level timestamps, abort callbacks, and hallucination rejection hooks. - In-memory model loading API (
stigma_open_buffer,stigma_open_backend_buffer) for RAM-only Whisper/Parakeet weight initialization without touching disk. - Streaming Silero Neural VAD API (
stigma_vad_open,stigma_vad_process,stigma_vad_reset,stigma_vad_close) with bundled Silero v6.2.0 model install, GGML hardware discovery (stigma_hw_probe), and quiet logging control (stigma_set_quiet). - Multi-Speaker Streaming ASR Runtime (
<ttypt/stigma_stream.h>,tests/test_stigma_stream.c): - Streaming 16 kHz utterance chunker (
stigma_chunker_init,stigma_chunker_reset,stigma_chunker_push), extensible hallucination filtering (stigma_is_junk,stigma_is_junk_with), and async multi-speaker streaming on a single shared model (stigma_stream_watch_speaker,stigma_stream_clear_speakers,stigma_stream_push_speaker_pcm48k,stigma_stream_push_speaker_pcm16k,stigma_stream_set_local_enabled,on_speaker_text). - Initial decoder prompt bias (
cfg.prompt), queued audio depth reporting (stigma_stream_queue_seconds), GPU availability detection (stigma_stream_has_gpu), and structuredstigma_stream_state_tenum (STIGMA_STATE_IDLE,STIGMA_STATE_LOADING,STIGMA_STATE_DOWNLOADING,STIGMA_STATE_READY,STIGMA_STATE_ERROR). - Browser WASM32 Adapter & Capability Bridge (
wasm/stigma_wasm.c,lib/libstigma-wasm.a,js/stigma-cap.js,tools/vendor-model.mjs): - Added browser WASM32 adapter, zero-dependency
js/stigma-cap.js(createStigmaHost,createStigmaAsrWorker, opt-inpartsUrlchunked manifest support, local AudioWorklet detach when local transcription is disabled), and ONNX Whisper asset vendoring script exposed viastigma.pc(wasm_lib,cap_js,vendor_script).
Changed
- Portable
libstele/mkBuild Modernization (Makefile,.github/workflows/ci.yml): - Migrated to
include ttypt/include.mkvia Make search paths, dropped legacy../mkfallback, eliminated duplicate$(shell)/!=forks, adopted declarativeTESTS=and portable link variables, and ported Makefiles to OpenBSD/FreeBSD/NetBSD/DragonFly/Windows + GNU Make (a0f6ebc,45291d5,14a4c9a,6bc5976,aef92c8,3431849).