voice-mcp-server 0.1.2 → 0.1.5
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.
- package/build/index.js +2 -2
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/mcp_server.py +2 -2
package/build/index.js
CHANGED
|
@@ -34,7 +34,7 @@ function ensurePythonEnvironment() {
|
|
|
34
34
|
// Create the virtual environment
|
|
35
35
|
const venvResult = spawnSync("python3", ["-m", "venv", "venv"], {
|
|
36
36
|
cwd: projectRoot,
|
|
37
|
-
stdio: "
|
|
37
|
+
stdio: "ignore",
|
|
38
38
|
env: cleanEnv()
|
|
39
39
|
});
|
|
40
40
|
if (venvResult.status !== 0) {
|
|
@@ -45,7 +45,7 @@ function ensurePythonEnvironment() {
|
|
|
45
45
|
// Install requirements
|
|
46
46
|
const pipResult = spawnSync(venvPythonPath, ["-m", "pip", "install", "-r", requirementsPath], {
|
|
47
47
|
cwd: projectRoot,
|
|
48
|
-
stdio: "
|
|
48
|
+
stdio: "ignore",
|
|
49
49
|
env: cleanEnv()
|
|
50
50
|
});
|
|
51
51
|
if (pipResult.status !== 0) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -41,7 +41,7 @@ function ensurePythonEnvironment() {
|
|
|
41
41
|
// Create the virtual environment
|
|
42
42
|
const venvResult = spawnSync("python3", ["-m", "venv", "venv"], {
|
|
43
43
|
cwd: projectRoot,
|
|
44
|
-
stdio: "
|
|
44
|
+
stdio: "ignore",
|
|
45
45
|
env: cleanEnv()
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -55,7 +55,7 @@ function ensurePythonEnvironment() {
|
|
|
55
55
|
// Install requirements
|
|
56
56
|
const pipResult = spawnSync(venvPythonPath, ["-m", "pip", "install", "-r", requirementsPath], {
|
|
57
57
|
cwd: projectRoot,
|
|
58
|
-
stdio: "
|
|
58
|
+
stdio: "ignore",
|
|
59
59
|
env: cleanEnv()
|
|
60
60
|
});
|
|
61
61
|
|
package/src/mcp_server.py
CHANGED
|
@@ -154,8 +154,8 @@ async def render_visualizer(ctx: Context):
|
|
|
154
154
|
try:
|
|
155
155
|
while True:
|
|
156
156
|
spectrum = "".join(random.choice(bars) for _ in range(12))
|
|
157
|
-
await ctx.
|
|
158
|
-
await asyncio.sleep(0.
|
|
157
|
+
await ctx.info(f"🎙️ {spectrum} 🎙️")
|
|
158
|
+
await asyncio.sleep(0.5) # Slower so we don't spam the UI logs too much
|
|
159
159
|
except asyncio.CancelledError:
|
|
160
160
|
pass
|
|
161
161
|
|