Skip to content
dsh.fish
Bundle

dsh-remote-desktop

Remote desktop mobile shell and Chinese input plugin for DeepSeek Harness

Source
zptalk0221-cpu
License
MIT
Updated
Updated yesterday

Readme

# Remote Desktop Mobile Plugin

English | [中文](README.zh.md)

Turns DeepSeek Harness running on a computer into a phone-friendly remote-desktop shell with landscape conversation reading and mobile input.

![Mobile shell in a remote desktop session](assets/mobile-shell.png)

![Reversed Harness conversation inside a phone shell](assets/reversed-conversation.png)

The second preview shows a complete Harness conversation after `翻转方向`: LLM body text remains phone-readable, while the device shell identifies the UU Remote-style remote-desktop context around it.

Use this plugin together with a remote-desktop app such as UU Remote. The remote-desktop app carries the computer display and input to the phone; this plugin adapts the Harness Web interface for touch, landscape reading, and Chinese input. It does not provide or establish a remote-desktop connection.

## Features

- `横屏遥控`: rotates the page for landscape phone reading, keeps the session list available by default, and enlarges LLM body text while keeping Think rows compact.
- `输入法`: supplies common symbols, T9 Chinese candidates, a QWERTY English keyboard, a numeric keyboard, and delete, clear, newline, space, and language controls.
- `收起列表` / `展开列表`: toggles the session list at any time, including while the page is in landscape mode.

The candidate strip has a fixed height so changing candidates never resizes the keys. The first Chinese-mode key is `分词`, which inserts a separator; after numeric pinyin input, the symbol column becomes a pinyin-combination selector that narrows candidates.

## Usage

1. Install the plugin and start Harness Web on the computer:

   ```powershell
   pnpm dsh plugin --profile web add github:zptalk0221-cpu/dsh-remote-desktop
   pnpm dsh web
   ```

2. Connect to that computer from a phone through UU Remote or another trusted remote-desktop app, then open Harness Web.

3. Use the controls at the lower right: select `横屏遥控` for landscape reading, `输入法` to type, and `翻转方向` if the remote desktop reports the opposite orientation.

Candidates are written into the most recently focused Harness composer. Focus the composer before choosing one.

## Installation Details

The plugin installs as an out-of-tree bundle in the selected `$DSH_HOME` profile, so Harness upgrades do not replace it. The dictionary is embedded in `lib/client.js`; runtime use does not contact Google or download a dictionary. The repository includes the browser bundle, so GitHub installs do not need a prepare script or local build toolchain.

## Development

The plugin is built from the Harness workspace because its client bundle consumes Harness-provided React and client slot runtime dependencies. From the Harness checkout:

```powershell
pnpm --dir plugins/dsh-remote-desktop build
```

Commit the generated `lib/client.js` together with source changes before publishing a release. The package entry points are `index.js` for the host half, `cordis.patch.yml` for profile composition, and `lib/client.js` for the browser half.

## Limitations

This is a Harness plugin, not a remote-desktop service, standalone Web application, replacement composer, or separate dictionary service. Configure remote device access according to the security policy of your chosen remote-desktop app.

Install

dsh plugin --profile web add github:zptalk0221-cpu/dsh-remote-desktop

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source