@fruitbars/xfyun-ai-mcp 0.6.0 → 0.6.2
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/README.md +4 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -32,8 +32,12 @@ Use IFASR for completed recordings. The default `variant="llm"` selects XFYun's
|
|
|
32
32
|
|
|
33
33
|
The submit tool accepts either local `input_path`, or `audio_url` together with `file_name` and `file_size_bytes` for XFYun `urlLink` mode. Oversized local files are split automatically; remote URLs must already fit one 5-hour/500-MiB order. `track_mode=2` enables stereo channel separation and cannot be combined with speaker-role separation or language analysis. Standard uses `appId + ts + signa` and maps `XFYUN_API_SECRET` to the service's `secretkey`; it does not use `signature_random`.
|
|
34
34
|
|
|
35
|
+
For local audio, omitted `track_mode` is detected automatically: mono inputs omit `trackMode`, while stereo inputs use `trackMode=2` unless `role_type` or language analysis was requested. An explicit `track_mode` always wins. Remote URLs cannot be probed locally and use only an explicit value or the service default.
|
|
36
|
+
|
|
35
37
|
Status `0` means created, `3` processing, `4` complete, and `-1` failed. Use `wait=false` for one status check when the MCP host has a short timeout. For batches, save each order reference immediately after submission so an interrupted run can resume without a duplicate upload.
|
|
36
38
|
|
|
39
|
+
Every IFASR submit/query result includes `requests`, pairing the order with effective non-secret provider parameters such as language, role, detected `trackMode`, and per-part file metadata. Authentication fields are excluded; URL query strings are redacted. Split results aggregate the traces and retain them on each part.
|
|
40
|
+
|
|
37
41
|
Hosts that provide an MCP progress token receive progress notifications for TTS segments and IFASR part submission/polling. Hosts without progress support should use the returned output paths, `wait=false`, and saved order references to resume long work safely.
|
|
38
42
|
|
|
39
43
|
Set `include_raw=true` when speaker IDs, word timing, stereo `label.rl_track`, or other detailed fields are needed. `raw_result` contains `orderResult`; `raw_response` preserves the complete service response, including reserved future result fields.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fruitbars/xfyun-ai-mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Cross-platform stdio MCP launcher for XFYun AI capabilities",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"optionalDependencies": {
|
|
23
23
|
"@ffmpeg-installer/ffmpeg": "1.1.0",
|
|
24
|
-
"@fruitbars/xfyun-ai-mcp-darwin-arm64": "0.6.
|
|
25
|
-
"@fruitbars/xfyun-ai-mcp-darwin-x64": "0.6.
|
|
26
|
-
"@fruitbars/xfyun-ai-mcp-linux-arm64": "0.6.
|
|
27
|
-
"@fruitbars/xfyun-ai-mcp-linux-x64": "0.6.
|
|
28
|
-
"@fruitbars/xfyun-ai-mcp-win32-arm64": "0.6.
|
|
29
|
-
"@fruitbars/xfyun-ai-mcp-win32-x64": "0.6.
|
|
24
|
+
"@fruitbars/xfyun-ai-mcp-darwin-arm64": "0.6.2",
|
|
25
|
+
"@fruitbars/xfyun-ai-mcp-darwin-x64": "0.6.2",
|
|
26
|
+
"@fruitbars/xfyun-ai-mcp-linux-arm64": "0.6.2",
|
|
27
|
+
"@fruitbars/xfyun-ai-mcp-linux-x64": "0.6.2",
|
|
28
|
+
"@fruitbars/xfyun-ai-mcp-win32-arm64": "0.6.2",
|
|
29
|
+
"@fruitbars/xfyun-ai-mcp-win32-x64": "0.6.2"
|
|
30
30
|
}
|
|
31
31
|
}
|