Introduction¶
In the DeepSeek Harness (DSH) plugin ecosystem, you often need to feed external input into a session. Existing approaches either rely on third-party bridges or require installing extra dependencies. This plugin offers a lighter-weight alternative: use iPhone’s “Shortcuts + Siri” to send voice or typed text directly into a DSH session, and retrieve the reply.
Plugin Overview¶
This is dsh-siri-bridge, a DSH client plugin maintained by yanxiaochengya. It relies solely on DSH’s built-in capabilities—no QQ bridge, no @dsh-mobile/mobile-remote, and no extra npm install needed.
Core Features¶
- Send voice or text from your phone to the selected DSH session via a GET request
- Fetch the AI reply through the
/waitlong-polling endpoint and display a notification on your phone - Provide a full configuration UI in DSH’s Settings page: toggle, session selection, auto-discover address, port, and logs
- Support LAN and Tailscale remote access
Installation¶
Method A: npm (Recommended)¶
dsh plugin add dsh-siri-bridge
After installation, restart DSH and navigate to Settings → Plugins → Siri Voice Bridge.
Method B: Manual folder placement (offline fallback)¶
-
Place the
dsh-siri-bridgefolder in any of the following locations:
-~/.dsh/plugins/dsh-siri-bridge(recommended)
-<workspace>/plugins/dsh-siri-bridge -
Edit
~/.dsh/profiles/<your-profile>/package.jsonand add:
{
"dependencies": {
"dsh-siri-bridge": "link:C:/Users/you/.dsh/plugins/dsh-siri-bridge"
},
"dsh": {
"bundles": [ "……", "dsh-siri-bridge" ]
}
}
-
Restart DSH
-
Navigate to Settings → Plugins → Siri Voice Bridge
Note: The JSON must be BOM-free UTF-8. A BOM will cause DSH to fail at startup with
cannot parse profile manifest.On Windows, create a junction at
~/.dsh/profiles/<profile>/node_modules/dsh-siri-bridgepointing to the plugin folder (run as admin in cmd):
bash mklink /J "%USERPROFILE%\.dsh\profiles\desktop\node_modules\dsh-siri-bridge" "%USERPROFILE%\.dsh\plugins\dsh-siri-bridge"
Phone Configuration¶
Stable Version (recommended for home screen)¶
This shortcut supports both voice and typing, can be launched from a home screen icon, and Siri won’t hijack the microphone.
Repeat 10 times
Choose from menu containing "warm-up request…"
Text
Voice
Text ← This line is a "Text" text block, not an action result
Ask for Text with prompt "What do you want to tell Xiaocheng?"
Voice ← This line is a "Voice" text block
Dictate Text
End menu
If menu result is dictated text
Get [Send URL]/say?a=[dictated text]
Else
Get [Send URL]/say?a=[provided input]
End if
Get [Receive URL]/wait
Show [URL content] as notification
End repeat
Key points:
- “Text” and “Voice” in the menu are text blocks, not action results
- Selecting “Text” triggers the “Ask for Text” action (prompts an input field); selecting “Voice” triggers “Dictate Text”
- Each
<arg_value>block