dsh-siri-bridge: Chat with DSH Using Siri or Shortcuts

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 /wait long-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

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)

  1. Place the dsh-siri-bridge folder in any of the following locations:
    - ~/.dsh/plugins/dsh-siri-bridge (recommended)
    - <workspace>/plugins/dsh-siri-bridge

  2. Edit ~/.dsh/profiles/<your-profile>/package.json and add:

{
  "dependencies": {
    "dsh-siri-bridge": "link:C:/Users/you/.dsh/plugins/dsh-siri-bridge"
  },
  "dsh": {
    "bundles": [ "……", "dsh-siri-bridge" ]
  }
}
  1. Restart DSH

  2. 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-bridge pointing 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

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
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye