Skip to content

feat(voice-input): upgrade dimo.voice-input to v2.1.0 with local GGUF offline models - #127

Open
DimoADE wants to merge 1 commit into
masterfrom
feat/voice-input-v2.1
Open

DimoADE wants to merge 1 commit into
masterfrom
feat/voice-input-v2.1

Conversation

@DimoADE

@DimoADE DimoADE commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Summary

Upgrades the official \dimo.voice-input\ plugin to v2.1.0 (matching standalone release [\DimoADE/[email protected]](https://github.com/DimoADE/Dimo-plugin-voice-input/releases/tag/v2.1.0)):

  • Local Offline GGUF Speech Models (\local-model):
    • Added 12 curated SHA-256 verified GGUF models (\localCatalog.mjs) with resumable HTTP Range downloads, configurable Hugging Face mirror (\hf-mirror.com), and zero-copy symlink/hardlink reuse of existing local caches (\localModelStore.mjs).
    • Added on-demand isolated \ [email protected]\ IPC child-process runtime (\localRuntime.mjs) with idle auto-unload, automatic GPU (Vulkan/Metal) -> CPU fallback, recursive \InputTooLong\ splitting, and \whisper-cli\ fallback.
    • Added Local Models (本地模型) tab to the 4-tab Studio Popover (\localModelsTab.js, \studioPopover.js).
  • Audio Pipeline, Multi-Provider Cloud STT & UX:
    • 63-tap Blackman FIR 16kHz resampling (\pcmResampler.js), AudioWorklet capture, WAV VAD silence filtering (\�udio.mjs).
    • Multi-provider STT: \xai-stt, \openrouter-stt, \custom-openai\ (localhost without API key), OpenAI/Groq Whisper, Chat Audio, hybrid, and browser/native speech fallback.
    • Explicit alias + Soundex/Levenshtein fuzzy vocabulary correction, hyphen-safe filler removal, \correctionCue\ protection, and draft-aware LLM cleanup.
    • \�uto\ shortcut mode (tap toggle / hold >= 300ms push-to-talk), failed-recording retry, skippable post-processing, and interactive Preview Comparison HUD.
  • i18n & Marketplace Catalog:
    • Updated \plugins.official.voiceInput\ strings in \ rontend/src/i18n/locales/{zh-CN,en}/settings.json\ and \dimo-plugin.json.

Verification


  • ode packages/plugin-cli/dist/cli.js build plugins/voice-input\ & \�alidate\ -> PASS (\Plugin is valid.)

  • ode --test plugins/voice-input/test/plugin.test.mjs plugins/voice-input/test/localModels.test.mjs\ -> 32/32 PASS
  • \pnpm --filter ./frontend test -- PluginConfigForm.test.tsx\ -> 11/11 PASS
  • \pnpm run plugin:no-privilege\ -> 0 violations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant