audio-transcriber 2.3.7__tar.gz → 2.3.8__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.7 → audio_transcriber-2.3.8}/PKG-INFO +1 -1
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/certification.json +1 -1
- audio_transcriber-2.3.8/audio_transcriber/skills/audio-transcriber-development/SKILL.md +103 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/PKG-INFO +1 -1
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/SOURCES.txt +2 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/pyproject.toml +1 -1
- audio_transcriber-2.3.8/tests/test_audio_transcriber_development_skill.py +36 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/LICENSE +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/README.md +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/__init__.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/__main__.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/audio_transcriber.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/connector_sources.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/kg_ingest.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/kg_media.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/mcp_config.json +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/mcp_server.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/__init__.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/audio.ttl +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/fixtures/records.json +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/mappings/source.yaml +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/migrations/manifest.json +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/shapes/connector.shacl.ttl +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/personaplex_client.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/prompts/transcription_specialist.json +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/skills/audio-transcriber-knowledge-graph/SKILL.md +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/skills/audio-transcriber-knowledge-graph/WORKFLOW.md +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/skills/audio-transcriber-operations/SKILL.md +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/skills/audio-transcriber-operations/agents/openai.yaml +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/skills/audio-transcriber-operations/references/catalog.md +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/skills/audio-transcriber-transcription/SKILL.md +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/skills/audio-transcriber-transcription/WORKFLOW.md +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/dependency_links.txt +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/entry_points.txt +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/requires.txt +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/top_level.txt +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/setup.cfg +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/conftest.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_audio_transcriber_brute_force_coverage.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_fleet_name.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_init_coverage.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_init_dynamics.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_kg_ingest.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_kg_media.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_mcp_server.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_microphone_extra.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_read_only_health.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_sdk_transport.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_startup.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_transcriber_extra.py +0 -0
- {audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/tests/test_websocket_extra.py +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: audio-transcriber-development
|
|
3
|
+
skill_type: skill
|
|
4
|
+
description: >-
|
|
5
|
+
Develop and maintain the Audio Transcriber connector while preserving its
|
|
6
|
+
Whisper backend boundary, MCP tool surface, typed transcript ingestion,
|
|
7
|
+
optional hardware behavior, package resources, and public-first evidence.
|
|
8
|
+
license: MIT
|
|
9
|
+
tags: [audio, transcription, whisper, connector, mcp, knowledge-graph]
|
|
10
|
+
metadata:
|
|
11
|
+
author: Genius
|
|
12
|
+
version: '0.1.0'
|
|
13
|
+
---
|
|
14
|
+
# Audio Transcriber Development
|
|
15
|
+
|
|
16
|
+
This is the repository development skill for `audio-transcriber`. The owning
|
|
17
|
+
central delivery row is `PIPE-CONNSPEC-R107.4`; use this skill with the
|
|
18
|
+
repository `AGENTS.md`, the connector-content specifications, and focused tests.
|
|
19
|
+
|
|
20
|
+
## Repository and runtime map
|
|
21
|
+
|
|
22
|
+
- `audio_transcriber/mcp_server.py` registers transcription, media-sidecar,
|
|
23
|
+
health, and KG-ingestion tools plus the packaged prompts. Preserve the public
|
|
24
|
+
tool names, progress reporting, and Connector registration boundary.
|
|
25
|
+
- `audio_transcriber/audio_transcriber.py` owns the `TranscriberBackend`
|
|
26
|
+
interface, faster-whisper/openai-whisper selection, file and microphone paths,
|
|
27
|
+
bounded exports, and best-effort KG handoff. Keep microphone dependencies
|
|
28
|
+
optional so file transcription remains importable without PortAudio.
|
|
29
|
+
- `audio_transcriber/connector_sources.py` is the live transcript source and
|
|
30
|
+
schema declaration. Change source IDs, record mappings, and resource names
|
|
31
|
+
there rather than duplicating them in tool code.
|
|
32
|
+
- `audio_transcriber/kg_ingest.py` and `kg_media.py` map transcript documents,
|
|
33
|
+
segments, and audio assets through the SDK/epistemic-graph ingestion boundary.
|
|
34
|
+
Preserve stable IDs and no-op behavior when no engine is available.
|
|
35
|
+
- `audio_transcriber/skills/**`, `prompts/**`, `ontology/**`, and
|
|
36
|
+
`connectors/**` are package data. A skill change needs a package-content check
|
|
37
|
+
before release.
|
|
38
|
+
|
|
39
|
+
## Runtime and security contract
|
|
40
|
+
|
|
41
|
+
`WHISPER_MODEL` selects the default model and `TRANSCRIBE_DIRECTORY` selects
|
|
42
|
+
connector-owned scratch storage, with `XDG_DATA_HOME` supplying the safe default
|
|
43
|
+
root. Keep paths explicit and bounded; do not persist audio, transcripts, model
|
|
44
|
+
credentials, or provider data in source, skills, fixtures, or logs.
|
|
45
|
+
|
|
46
|
+
Preserve the optional `pyaudio` import boundary, the supported faster-whisper
|
|
47
|
+
and openai-whisper backends, `MCP_TOOL_MODE` surface selection, SDK transport
|
|
48
|
+
configuration, and the SDK credential/TLS settings inherited by the connector.
|
|
49
|
+
Model downloads and microphone access remain operator-controlled; never add a
|
|
50
|
+
network or hardware bypass.
|
|
51
|
+
|
|
52
|
+
## Rapid delivery: the 5-minute contract
|
|
53
|
+
|
|
54
|
+
1. Read the owning connector-content specs, this skill, `AGENTS.md`, and the
|
|
55
|
+
directly bound tests before changing a surface.
|
|
56
|
+
2. Inspect the SDK `Connector`, MCP registrars and prompts, backend interface,
|
|
57
|
+
file/microphone paths, source declarations, KG/media mappers, and package-data
|
|
58
|
+
rules.
|
|
59
|
+
3. Make the smallest connector-owned change. Preserve public tool names and
|
|
60
|
+
payloads, backend selection and optional dependencies, safe file/path
|
|
61
|
+
handling, progress behavior, transcript source IDs, stable KG IDs, and
|
|
62
|
+
canonical/legacy server routes.
|
|
63
|
+
4. Run the smallest directly bound tests with
|
|
64
|
+
`uv run --locked --extra test pytest`, then run repository hooks. Use the
|
|
65
|
+
approved narrow wrapper when the lane requires it; never bypass a hook or a
|
|
66
|
+
failing gate.
|
|
67
|
+
5. If package content changes, advance the version with the repository's normal
|
|
68
|
+
release metadata, refresh `uv.lock`, and inspect the built wheel and sdist
|
|
69
|
+
for the intended `audio_transcriber/skills/**` bytes before publication.
|
|
70
|
+
6. Treat Pages and containers as separate evidence. After the exact main commit
|
|
71
|
+
publishes, verify the Pages revision and `/spec-delivery/` artifacts. Keep
|
|
72
|
+
package publication ahead of any image pin or generated connector build.
|
|
73
|
+
|
|
74
|
+
## Focused validation
|
|
75
|
+
|
|
76
|
+
For backend or MCP changes, run the smallest relevant test file and keep file,
|
|
77
|
+
microphone, optional-backend, and unavailable-KG paths distinct. For this
|
|
78
|
+
skill/package-data change, verify frontmatter, the required rapid-delivery
|
|
79
|
+
heading, Audio Transcriber-specific source references, package-data inclusion,
|
|
80
|
+
and absence of token-like material without loading a model or using hardware.
|
|
81
|
+
|
|
82
|
+
Use repository commands from `AGENTS.md`:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
uv sync --locked
|
|
86
|
+
uv run --locked --extra test pytest -q tests/test_audio_transcriber_development_skill.py
|
|
87
|
+
uvx pre-commit run --all-files
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Publication and Pages
|
|
91
|
+
|
|
92
|
+
`.github/workflows/pipeline.yml` publishes the package through
|
|
93
|
+
`Knuckles-Team/pipelines/.github/workflows/python_pipeline.yml@main` with
|
|
94
|
+
`connector: true`, then invokes the container pipeline with
|
|
95
|
+
`render_connector: true`. `.github/workflows/pages.yml` delegates README/docs
|
|
96
|
+
publication to `pages_pipeline.yml@main`. Keep the public wheel/source guard
|
|
97
|
+
and package-before-image ordering intact.
|
|
98
|
+
|
|
99
|
+
A successful local test or workflow run is not package, Pages, or image proof.
|
|
100
|
+
Record exact merged source, public wheel/sdist hashes, skill bytes, Pages
|
|
101
|
+
revision, and image digest separately. Do not hand-edit central Pipelines
|
|
102
|
+
status, promote a rollup from this skill change, or put credentials, provider
|
|
103
|
+
data, generated release artifacts, or bypass instructions in this skill.
|
|
@@ -24,6 +24,7 @@ audio_transcriber/ontology/mappings/source.yaml
|
|
|
24
24
|
audio_transcriber/ontology/migrations/manifest.json
|
|
25
25
|
audio_transcriber/ontology/shapes/connector.shacl.ttl
|
|
26
26
|
audio_transcriber/prompts/transcription_specialist.json
|
|
27
|
+
audio_transcriber/skills/audio-transcriber-development/SKILL.md
|
|
27
28
|
audio_transcriber/skills/audio-transcriber-knowledge-graph/SKILL.md
|
|
28
29
|
audio_transcriber/skills/audio-transcriber-knowledge-graph/WORKFLOW.md
|
|
29
30
|
audio_transcriber/skills/audio-transcriber-operations/SKILL.md
|
|
@@ -33,6 +34,7 @@ audio_transcriber/skills/audio-transcriber-transcription/SKILL.md
|
|
|
33
34
|
audio_transcriber/skills/audio-transcriber-transcription/WORKFLOW.md
|
|
34
35
|
tests/conftest.py
|
|
35
36
|
tests/test_audio_transcriber_brute_force_coverage.py
|
|
37
|
+
tests/test_audio_transcriber_development_skill.py
|
|
36
38
|
tests/test_fleet_name.py
|
|
37
39
|
tests/test_init_coverage.py
|
|
38
40
|
tests/test_init_dynamics.py
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "audio-transcriber"
|
|
7
|
-
version = "2.3.
|
|
7
|
+
version = "2.3.8"
|
|
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",]
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""PIPE-CONNSPEC-R107.4: Audio Transcriber rapid-delivery skill contract."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import re
|
|
6
|
+
import tomllib
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
import pytest
|
|
10
|
+
|
|
11
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
12
|
+
SKILL = ROOT / "audio_transcriber/skills/audio-transcriber-development/SKILL.md"
|
|
13
|
+
|
|
14
|
+
pytestmark = pytest.mark.spec("PIPE-CONNSPEC-R107.4")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def test_development_skill_binds_audio_contract_and_package_data() -> None:
|
|
18
|
+
text = SKILL.read_text()
|
|
19
|
+
assert text.startswith("---\nname: audio-transcriber-development\n")
|
|
20
|
+
assert "## Rapid delivery: the 5-minute contract" in text
|
|
21
|
+
assert "PIPE-CONNSPEC-R107.4" in text
|
|
22
|
+
for reference in (
|
|
23
|
+
"audio_transcriber/mcp_server.py",
|
|
24
|
+
"audio_transcriber/audio_transcriber.py",
|
|
25
|
+
"audio_transcriber/connector_sources.py",
|
|
26
|
+
"WHISPER_MODEL",
|
|
27
|
+
"TRANSCRIBE_DIRECTORY",
|
|
28
|
+
"render_connector: true",
|
|
29
|
+
):
|
|
30
|
+
assert reference in text
|
|
31
|
+
|
|
32
|
+
data = tomllib.loads((ROOT / "pyproject.toml").read_text())
|
|
33
|
+
assert "skills/**" in data["tool"]["setuptools"]["package-data"]["audio_transcriber"]
|
|
34
|
+
assert SKILL.is_file()
|
|
35
|
+
assert not re.search(r"(?:sk-|ghp_|Bearer\s+)[A-Za-z0-9_./-]{12,}", text)
|
|
36
|
+
assert data["project"]["name"] == "audio-transcriber"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/fixtures/records.json
RENAMED
|
File without changes
|
{audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber/ontology/mappings/source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{audio_transcriber-2.3.7 → audio_transcriber-2.3.8}/audio_transcriber.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|