|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project are documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +## [0.2.0] - 2026-07-13 |
| 11 | + |
| 12 | +### Changed |
| 13 | + |
| 14 | +- **Breaking: device indexes are renumbered.** Device enumeration comes from |
| 15 | + the new capture engine, so the indexes and names reported by |
| 16 | + `list_audio_devices` differ from 0.1.x: indexes are renumbered from a |
| 17 | + different base, Windows loopback endpoints are no longer listed, and |
| 18 | + device names use the shorter WASAPI form. A hardcoded `device` index |
| 19 | + recorded under 0.1.x will silently select a different microphone, or fail |
| 20 | + if it is now out of range. Re-run `list_audio_devices` after upgrading and |
| 21 | + switch to the stable `id`, which does not shift. |
| 22 | +- Upgraded decibri from 1.0.0 to 5.0.0. The capture engine is now Rust |
| 23 | + (cpal) rather than C++ (PortAudio), shipped as prebuilt per-platform |
| 24 | + binaries with no install script and no source-build fallback. |
| 25 | +- A microphone whose native rate differs from the requested 16 kHz is now |
| 26 | + resampled inside the capture engine, so recordings are delivered at the |
| 27 | + configured rate on every device. |
| 28 | +- npm publishing now uses trusted publishing (OIDC) with provenance and a |
| 29 | + manual approval gate. No npm token is involved. |
| 30 | + |
| 31 | +### Added |
| 32 | + |
| 33 | +- Each device returned by `list_audio_devices` now includes a stable `id` |
| 34 | + string alongside `index`, `name`, `maxInputChannels`, `defaultSampleRate`, |
| 35 | + and `isDefault`. The `id` survives reboots and device changes; `index` is |
| 36 | + positional and `name` is not unique. Rarely, a device the host cannot |
| 37 | + identify reports an empty `id` and remains selectable by index. |
| 38 | +- The `device` parameter of `capture_audio` and `voice_query` accepts the |
| 39 | + stable device `id` (string) as well as the numeric index. Existing callers |
| 40 | + passing a number are unchanged. |
| 41 | +- On platforms decibri publishes no binary for, mcp-listen now fails at |
| 42 | + startup with a message naming the platform and listing the supported set, |
| 43 | + instead of surfacing the module loader's generic error. |
| 44 | +- A capture on the default-device path now fails with an actionable error |
| 45 | + when the system has no usable default input device: if no enumerated |
| 46 | + device is flagged default and the capture fails, the error reports the |
| 47 | + device count and points at `list_audio_devices`, with the original error |
| 48 | + included; if the only input device is the ALSA null device (the state of |
| 49 | + headless Linux hosts), the default path refuses rather than recording |
| 50 | + silence. Selecting a device explicitly, including the null device, is |
| 51 | + unaffected. |
| 52 | +- Cross-platform CI: the smoke tests run on Linux, Windows, and macOS across |
| 53 | + Node.js 18, 20, and 22 on every push and pull request. |
| 54 | + |
| 55 | +### Removed |
| 56 | + |
| 57 | +- Intel Mac (darwin-x64) support. Apple has discontinued the platform and no |
| 58 | + decibri 5.x binary is published for it. decibri 1.x could fall back to |
| 59 | + compiling from source at install time; 5.x ships prebuilt binaries only, |
| 60 | + so the fallback that made Intel Mac work is gone. |
| 61 | + |
| 62 | +### Fixed |
| 63 | + |
| 64 | +- `capture_audio` delivers exactly the requested duration of audio. Capture |
| 65 | + now stops once the requested amount of PCM has arrived rather than on a |
| 66 | + wall-clock timer, so stream startup time is no longer silently deducted |
| 67 | + from the recording and the WAV payload is byte-exact. |
| 68 | + |
| 69 | +## [0.1.3] - 2026-04-16 |
| 70 | + |
| 71 | +### Changed |
| 72 | + |
| 73 | +- Updated project metadata after the repository transfer to the decibri |
| 74 | + organization: `mcpName` is now `io.github.decibri/mcp-listen`, and the |
| 75 | + author, repository, homepage, and README links point at decibri. |
| 76 | + |
| 77 | +### Fixed |
| 78 | + |
| 79 | +- LICENSE copyright holder corrected to Decibri. |
| 80 | + |
| 81 | +## [0.1.2] - 2026-04-09 |
| 82 | + |
| 83 | +### Added |
| 84 | + |
| 85 | +- `server.json` manifest for MCP Registry publication. |
| 86 | + |
| 87 | +### Changed |
| 88 | + |
| 89 | +- README description revised; decibri links updated from decibri.dev to |
| 90 | + decibri.com. |
| 91 | + |
| 92 | +## [0.1.1] - 2026-04-06 |
| 93 | + |
| 94 | +### Added |
| 95 | + |
| 96 | +- `mcpName` field in `package.json` for MCP Registry ownership verification. |
| 97 | + |
| 98 | +## [0.1.0] - 2026-04-05 |
| 99 | + |
| 100 | +### Added |
| 101 | + |
| 102 | +- Initial release: a stdio MCP server giving MCP-compatible agents access to |
| 103 | + the microphone. |
| 104 | +- `list_audio_devices` tool: enumerate available audio input devices. |
| 105 | +- `capture_audio` tool: record from the microphone for a requested duration |
| 106 | + (100 to 30000 ms) and save as WAV, with duration validation, concurrent |
| 107 | + capture protection, and safety timeouts. |
| 108 | +- `voice_query` tool: capture, transcribe with whisper.cpp, and query a local |
| 109 | + Ollama LLM. Whisper and Ollama are optional dependencies; the capture tools |
| 110 | + work without them. |
| 111 | +- Smoke test suite covering server initialization, tool advertising, device |
| 112 | + listing, WAV output validation, and error responses. |
| 113 | +- Tag-triggered npm publish workflow. |
| 114 | + |
| 115 | +[Unreleased]: https://github.com/decibri/mcp-listen/compare/v0.2.0...HEAD |
| 116 | +[0.2.0]: https://github.com/decibri/mcp-listen/compare/v0.1.3...v0.2.0 |
| 117 | +[0.1.3]: https://github.com/decibri/mcp-listen/compare/v0.1.2...v0.1.3 |
| 118 | +[0.1.2]: https://github.com/decibri/mcp-listen/compare/v0.1.1...v0.1.2 |
| 119 | +[0.1.1]: https://github.com/decibri/mcp-listen/compare/v0.1.0...v0.1.1 |
| 120 | +[0.1.0]: https://github.com/decibri/mcp-listen/releases/tag/v0.1.0 |
0 commit comments