zptalk0221-cpu/dsh-remote-desktop0

dsh-remote-desktop

Phone-friendly remote desktop controls and input methods for DeepSeek Harness

包名
dsh-remote-desktop
版本
0.1.0
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zptalk0221-cpu/dsh-remote-desktop

dsh-remote-desktop

English | 中文

An out-of-tree Web client plugin for using the DeepSeek Harness UI through a phone remote-desktop session. Its fixed controls open the T9 Chinese keypad, collapse the session list, and rotate the app into a single-column touch workspace. The keypad is a fixed layer outside the scrolling AppFrame and uses the same rotation matrix as the workspace. While open, it provides a wide composer fixed directly against the keypad's logical top edge. Landscape raises transcript text to a phone-readable size and supports physical left-right dragging through the transcript. It writes candidates into the most recently focused Harness input through its native input event, so the existing composer state machine remains authoritative.

The keypad keeps a fixed-height, single-line candidate strip so candidate count or word length cannot resize the keys. Its narrow left column keeps ,。?!:;() available and shows matching pinyin combinations after numeric input; selecting one narrows the word candidates. Chinese mode keeps the T9 mapping but displays letters without numeric labels; its first key is 分词 and inserts a separator. English mode switches the center to a QWERTY keyboard, and numeric mode displays 0-9. Delete, clear, and newline remain on the right, while 中/英, space, and 123 occupy a fixed bottom row. In the rotated workspace, the composer card owns shared text metrics for its textarea, mirror, and backdrop, and assistant ordered-list markers are hidden.

The plugin is installed as an out-of-tree bundle in the selected $DSH_HOME profile. Harness upgrades replace official packages only; this bundle and the profile layer remain separate. The dictionary is embedded in lib/client.js, so runtime use does not contact Google or fetch a dictionary from the network. The repository includes that browser bundle so GitHub installs do not need a prepare script or a local build toolchain.

Install

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

Use 输入法 to open the keypad at any time. Use 收起列表 to hide the session list, or 横屏遥控 to collapse both side columns and rotate the workspace; use 翻转方向 when the remote-desktop client reports the opposite orientation. Focus the Harness composer before selecting a candidate.

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:

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.

Scope

This repository is a Harness plugin, not a standalone Web application. It does not provide a server, a replacement composer, or a separate dictionary service.