summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authorntzyz <i@ntzyz.io>2026-07-07 12:51:48 +0800
committerntzyz <i@ntzyz.io>2026-07-07 12:51:48 +0800
commitbcafdfe7aa5e076610e1951f35b11898a83f1391 (patch)
tree76776b5c1eaf83040a782d80542d72357bce6195 /__init__.py
parent582cf29169bceaed8754cf6f7fefcd37ac4506b8 (diff)
feat: add Hermes plugin architecture (plugin.yaml, __init__.py, provider.py)
- Add plugin.yaml with proper kind/requires_env/provides fields - Add __init__.py and provider.py for STT provider registration - Split README.md (overview) and INSTALL.md (install for agents) - Add setup.sh (reference only) and .gitignore - Add Windows PowerShell equivalents and reuse tip for MiMo API key
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/__init__.py b/__init__.py
new file mode 100644
index 0000000..34e67f1
--- /dev/null
+++ b/__init__.py
@@ -0,0 +1,14 @@
+"""Xiaomi MiMo ASR plugin.
+
+Provider class lives in ``provider.py``; ``__init__.py::register(ctx)``
+registers an instance.
+"""
+
+from __future__ import annotations
+
+from plugins.stt.mimo.provider import MiMoSTTProvider
+
+
+def register(ctx) -> None:
+ """Register the MiMo ASR (STT) provider with the plugin context."""
+ ctx.register_stt_provider(MiMoSTTProvider())