audio-transcriber 2.3.2__tar.gz → 2.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/PKG-INFO +4 -7
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/README.md +1 -1
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/audio_transcriber.py +1 -1
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/mcp_server.py +1 -1
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/personaplex_client.py +14 -1
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber.egg-info/PKG-INFO +4 -7
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber.egg-info/SOURCES.txt +2 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber.egg-info/requires.txt +2 -6
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/pyproject.toml +3 -4
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/release-readiness.json +73 -61
- audio_transcriber-2.3.4/tests/conftest.py +41 -0
- audio_transcriber-2.3.4/tests/test_default_content_surfaces.py +43 -0
- audio_transcriber-2.3.4/tests/test_sdk_transport.py +47 -0
- audio_transcriber-2.3.2/tests/conftest.py +0 -11
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/.pre-commit-config.yaml +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/AGENTS.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/CHANGELOG.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/CLAUDE.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/LICENSE +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/MANIFEST.in +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/__init__.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/__main__.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/connectors/__init__.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/connectors/mcp_source_presets.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/connectors/tool_schema_fingerprints.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/kg_ingest.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/kg_media.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/mcp_config.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/ontology/__init__.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/ontology/audio.ttl +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/ontology/certification.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/ontology/fixtures/records.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/ontology/mappings/source.yaml +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/ontology/migrations/manifest.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/ontology/shapes/connector.shacl.ttl +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/prompts/__init__.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/prompts/transcription_specialist.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/__init__.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/audio-transcriber-knowledge-graph/SKILL.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/audio-transcriber-knowledge-graph/WORKFLOW.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/audio-transcriber-operations/SKILL.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/audio-transcriber-operations/agents/openai.yaml +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/audio-transcriber-operations/references/catalog.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/audio-transcriber-transcription/SKILL.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber/skills/audio-transcriber-transcription/WORKFLOW.md +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber.egg-info/dependency_links.txt +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber.egg-info/entry_points.txt +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/audio_transcriber.egg-info/top_level.txt +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/connector_manifest.yml +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/mkdocs.yml +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/opencode.json +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/requirements.txt +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/scripts/security_sanitizer.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/setup.cfg +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_audio_transcriber_brute_force_coverage.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_fleet_name.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_init_coverage.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_init_dynamics.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_kg_ingest.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_kg_media.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_mcp_server.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_read_only_health.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_startup.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_transcriber_extra.py +0 -0
- {audio_transcriber-2.3.2 → audio_transcriber-2.3.4}/tests/test_websocket_extra.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: audio-transcriber
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Transcribe your .wav .mp4 .mp3 .flac files to text or record your own audio!
|
|
5
5
|
Author-email: Project Maintainers <maintainers@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,16 +12,13 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: <3.15,>=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.
|
|
15
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18
|
|
16
16
|
Requires-Dist: faster-whisper>=1.2.1
|
|
17
17
|
Requires-Dist: setuptools-rust>=1.13.0
|
|
18
18
|
Provides-Extra: local
|
|
19
19
|
Requires-Dist: openai-whisper>=20250625; extra == "local"
|
|
20
|
-
Provides-Extra: microphone
|
|
21
|
-
Requires-Dist: pyaudio>=0.2.14; extra == "microphone"
|
|
22
20
|
Provides-Extra: mcp
|
|
23
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.
|
|
24
|
-
Requires-Dist: websockets>=17.2; extra == "mcp"
|
|
21
|
+
Requires-Dist: agent-connector-sdk[mcp,stream]<1.0.0,>=0.3.18; extra == "mcp"
|
|
25
22
|
Provides-Extra: all
|
|
26
23
|
Requires-Dist: audio-transcriber[mcp]>=1.0.0; extra == "all"
|
|
27
24
|
Provides-Extra: test
|
|
@@ -53,7 +50,7 @@ Dynamic: license-file
|
|
|
53
50
|

|
|
54
51
|

|
|
55
52
|
|
|
56
|
-
*Version: 2.3.
|
|
53
|
+
*Version: 2.3.4*
|
|
57
54
|
|
|
58
55
|
> **Documentation** — Installation, deployment, and usage across the CLI, Python API,
|
|
59
56
|
> [official documentation](https://knuckles-team.github.io/audio-transcriber/).
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|

|
|
21
21
|

|
|
22
22
|
|
|
23
|
-
*Version: 2.3.
|
|
23
|
+
*Version: 2.3.4*
|
|
24
24
|
|
|
25
25
|
> **Documentation** — Installation, deployment, and usage across the CLI, Python API,
|
|
26
26
|
> [official documentation](https://knuckles-team.github.io/audio-transcriber/).
|
|
@@ -23,7 +23,7 @@ except ModuleNotFoundError: # pragma: no cover - audio hardware lib is optional
|
|
|
23
23
|
# module importable when the native PortAudio library is absent.
|
|
24
24
|
pyaudio = None # type: ignore[assignment]
|
|
25
25
|
|
|
26
|
-
__version__ = "2.3.
|
|
26
|
+
__version__ = "2.3.4"
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class TranscriberBackend(ABC):
|
|
@@ -42,7 +42,7 @@ from agent_connector_sdk.mcp.tool_surface import register_tool_surface
|
|
|
42
42
|
|
|
43
43
|
from audio_transcriber.audio_transcriber import AudioTranscriber
|
|
44
44
|
|
|
45
|
-
__version__ = "2.3.
|
|
45
|
+
__version__ = "2.3.4"
|
|
46
46
|
|
|
47
47
|
logger = get_logger(name="TokenMiddleware")
|
|
48
48
|
logger.setLevel(logging.DEBUG)
|
|
@@ -5,6 +5,8 @@ from collections.abc import AsyncGenerator
|
|
|
5
5
|
from typing import Any
|
|
6
6
|
|
|
7
7
|
import websockets
|
|
8
|
+
from agent_connector_sdk.tls.profile import ResolvedTLSProfile
|
|
9
|
+
from agent_connector_sdk.tls.resolve import resolve_tls_profile
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
class PersonaPlexClient:
|
|
@@ -14,12 +16,20 @@ class PersonaPlexClient:
|
|
|
14
16
|
self.uri = uri
|
|
15
17
|
self.logger = logger or logging.getLogger(__name__)
|
|
16
18
|
self.websocket: Any = None
|
|
19
|
+
self._tls_profile: ResolvedTLSProfile | None = None
|
|
17
20
|
|
|
18
21
|
async def connect(self):
|
|
19
22
|
"""Connect to the PersonaPlex server."""
|
|
20
23
|
try:
|
|
21
24
|
self.logger.info("Connecting to configured PersonaPlex service")
|
|
22
|
-
self.
|
|
25
|
+
if self.uri.lower().startswith("wss://"):
|
|
26
|
+
# Trust comes from the runtime TLS profile, never from a flag.
|
|
27
|
+
self._tls_profile = resolve_tls_profile("personaplex")
|
|
28
|
+
self.websocket = await websockets.connect(
|
|
29
|
+
self.uri, ssl=self._tls_profile.ssl_context
|
|
30
|
+
)
|
|
31
|
+
else:
|
|
32
|
+
self.websocket = await websockets.connect(self.uri)
|
|
23
33
|
self.logger.info("Connected to PersonaPlex.")
|
|
24
34
|
except Exception as e:
|
|
25
35
|
self.logger.error("Operation failed: error_type=%s", type(e).__name__)
|
|
@@ -30,6 +40,9 @@ class PersonaPlexClient:
|
|
|
30
40
|
if self.websocket:
|
|
31
41
|
await self.websocket.close()
|
|
32
42
|
self.logger.info("Disconnected from PersonaPlex.")
|
|
43
|
+
if self._tls_profile is not None:
|
|
44
|
+
self._tls_profile.cleanup()
|
|
45
|
+
self._tls_profile = None
|
|
33
46
|
|
|
34
47
|
async def send_audio(self, audio_data: bytes):
|
|
35
48
|
"""Send audio data to the server.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: audio-transcriber
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Transcribe your .wav .mp4 .mp3 .flac files to text or record your own audio!
|
|
5
5
|
Author-email: Project Maintainers <maintainers@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,16 +12,13 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: <3.15,>=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.
|
|
15
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18
|
|
16
16
|
Requires-Dist: faster-whisper>=1.2.1
|
|
17
17
|
Requires-Dist: setuptools-rust>=1.13.0
|
|
18
18
|
Provides-Extra: local
|
|
19
19
|
Requires-Dist: openai-whisper>=20250625; extra == "local"
|
|
20
|
-
Provides-Extra: microphone
|
|
21
|
-
Requires-Dist: pyaudio>=0.2.14; extra == "microphone"
|
|
22
20
|
Provides-Extra: mcp
|
|
23
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.
|
|
24
|
-
Requires-Dist: websockets>=17.2; extra == "mcp"
|
|
21
|
+
Requires-Dist: agent-connector-sdk[mcp,stream]<1.0.0,>=0.3.18; extra == "mcp"
|
|
25
22
|
Provides-Extra: all
|
|
26
23
|
Requires-Dist: audio-transcriber[mcp]>=1.0.0; extra == "all"
|
|
27
24
|
Provides-Extra: test
|
|
@@ -53,7 +50,7 @@ Dynamic: license-file
|
|
|
53
50
|

|
|
54
51
|

|
|
55
52
|
|
|
56
|
-
*Version: 2.3.
|
|
53
|
+
*Version: 2.3.4*
|
|
57
54
|
|
|
58
55
|
> **Documentation** — Installation, deployment, and usage across the CLI, Python API,
|
|
59
56
|
> [official documentation](https://knuckles-team.github.io/audio-transcriber/).
|
|
@@ -48,6 +48,7 @@ audio_transcriber/skills/audio-transcriber-transcription/WORKFLOW.md
|
|
|
48
48
|
scripts/security_sanitizer.py
|
|
49
49
|
tests/conftest.py
|
|
50
50
|
tests/test_audio_transcriber_brute_force_coverage.py
|
|
51
|
+
tests/test_default_content_surfaces.py
|
|
51
52
|
tests/test_fleet_name.py
|
|
52
53
|
tests/test_init_coverage.py
|
|
53
54
|
tests/test_init_dynamics.py
|
|
@@ -55,6 +56,7 @@ tests/test_kg_ingest.py
|
|
|
55
56
|
tests/test_kg_media.py
|
|
56
57
|
tests/test_mcp_server.py
|
|
57
58
|
tests/test_read_only_health.py
|
|
59
|
+
tests/test_sdk_transport.py
|
|
58
60
|
tests/test_startup.py
|
|
59
61
|
tests/test_transcriber_extra.py
|
|
60
62
|
tests/test_websocket_extra.py
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
agent-connector-sdk[mcp]<1.0.0,>=0.3.
|
|
1
|
+
agent-connector-sdk[mcp]<1.0.0,>=0.3.18
|
|
2
2
|
faster-whisper>=1.2.1
|
|
3
3
|
setuptools-rust>=1.13.0
|
|
4
4
|
|
|
@@ -9,11 +9,7 @@ audio-transcriber[mcp]>=1.0.0
|
|
|
9
9
|
openai-whisper>=20250625
|
|
10
10
|
|
|
11
11
|
[mcp]
|
|
12
|
-
agent-connector-sdk[mcp]<1.0.0,>=0.3.
|
|
13
|
-
websockets>=17.2
|
|
14
|
-
|
|
15
|
-
[microphone]
|
|
16
|
-
pyaudio>=0.2.14
|
|
12
|
+
agent-connector-sdk[mcp,stream]<1.0.0,>=0.3.18
|
|
17
13
|
|
|
18
14
|
[test]
|
|
19
15
|
pytest-xdist>=3.8.0
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "audio-transcriber"
|
|
7
|
-
version = "2.3.
|
|
7
|
+
version = "2.3.4"
|
|
8
8
|
description = "Transcribe your .wav .mp4 .mp3 .flac files to text or record your own audio!"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
classifiers = [ "Development Status :: 5 - Production/Stable", "License :: Public Domain", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
|
|
11
11
|
requires-python = ">=3.12, <3.15"
|
|
12
|
-
dependencies = [ "agent-connector-sdk[mcp]>=0.3.
|
|
12
|
+
dependencies = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0", "faster-whisper>=1.2.1", "setuptools-rust>=1.13.0",]
|
|
13
13
|
[[project.authors]]
|
|
14
14
|
name = "Project Maintainers"
|
|
15
15
|
email = "maintainers@users.noreply.github.com"
|
|
@@ -19,8 +19,7 @@ text = "MIT"
|
|
|
19
19
|
|
|
20
20
|
[project.optional-dependencies]
|
|
21
21
|
local = [ "openai-whisper>=20250625",]
|
|
22
|
-
|
|
23
|
-
mcp = [ "agent-connector-sdk[mcp]>=0.3.11,<1.0.0", "websockets>=17.2",]
|
|
22
|
+
mcp = [ "agent-connector-sdk[mcp,stream]>=0.3.18,<1.0.0",]
|
|
24
23
|
all = [ "audio-transcriber[mcp]>=1.0.0",]
|
|
25
24
|
test = [
|
|
26
25
|
"pytest-xdist>=3.8.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0",]
|