dsh-plugin-agentdeck 0.0.0-stage → 0.2.0
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/LICENSE +21 -0
- package/README.md +66 -2
- package/cordis.patch.yml +3 -0
- package/icon.svg +7 -0
- package/lib/client.js +911 -0
- package/lib/index.js +366 -0
- package/lib/setup.js +1223 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +69 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 mantou132
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,67 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-plugin-agentdeck
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Zero-config mobile remote control plugin for [DeepSeek Harness (`dsh`)](https://github.com/deepseek-ai/deepseek-harness), powered by [AgentDeck](https://agentdeck.xianqiao.wang).
|
|
4
|
+
|
|
5
|
+
Control DeepSeek Harness from your **iPhone or Android** over native ACP — end-to-end encrypted (`XChaCha20-Poly1305`), with push notifications, file & diff viewing, terminal output, and zero tunnel/VPN setup.
|
|
6
|
+
|
|
7
|
+
## Zero-Click Setup
|
|
8
|
+
|
|
9
|
+
Install the plugin and open **Settings → AgentDeck** — everything is provisioned automatically in the background on startup:
|
|
10
|
+
|
|
11
|
+
- Installs `@openma/deepseek-harness-acp` into the `acp` profile if missing.
|
|
12
|
+
- Syncs model & provider config into `~/.dsh/profiles/acp/cordis.patch.yml` (including `acp-plugin.config.provider` for third-party providers like OpenRouter).
|
|
13
|
+
- Registers `dsh` in AgentDeck's `custom_agents.json` while preserving your other agents.
|
|
14
|
+
- Installs `agentdeckd` automatically and enables OS login autostart (`launchd` / `systemd --user` / Windows Task Scheduler).
|
|
15
|
+
|
|
16
|
+
The Settings tab stays minimal — just your **scannable pairing QR code** plus the 3 controls you actually need:
|
|
17
|
+
|
|
18
|
+
1. **Remote Service & Autostart** (`Start` / `Restart` / `Stop`)
|
|
19
|
+
2. **Prevent Automatic Sleep** (`Off` / `On Power` / `Active 1h` / `Always`, hot-reloads without restarting)
|
|
20
|
+
3. **Mobile Default Model** (shows active model; syncs with your current profile in one click if different)
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
### DeepSeek Harness Web / CLI
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
dsh plugin --profile web add dsh-plugin-agentdeck
|
|
28
|
+
dsh web
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### DeepSeek Harness Desktop
|
|
32
|
+
|
|
33
|
+
Open **Settings → Plugins**, install `dsh-plugin-agentdeck`, then open **Settings → AgentDeck** and scan the QR code.
|
|
34
|
+
|
|
35
|
+
## Get the Mobile App
|
|
36
|
+
|
|
37
|
+
- [App Store (iOS)](https://apps.apple.com/app/id6821905390)
|
|
38
|
+
- [Google Play (Android)](https://play.google.com/store/apps/details?id=com.mantou.agentdeck)
|
|
39
|
+
- [Android APK (GitHub Releases)](https://github.com/mantou132/AgentDeck/releases/latest)
|
|
40
|
+
- [AgentDeck Website](https://agentdeck.xianqiao.wang)
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 中文说明
|
|
45
|
+
|
|
46
|
+
[AgentDeck](https://agentdeck.xianqiao.wang/zh) 的 DeepSeek Harness (`dsh`) 零配置手机远控插件。
|
|
47
|
+
|
|
48
|
+
安装启用后会在后台**自动完成全部初始化**(无需手动点击配置按钮):自动安装 `@openma/deepseek-harness-acp`、同步模型与服务商配置、写入 `custom_agents.json`、安装 `agentdeckd` 并开启系统登录自启。
|
|
49
|
+
|
|
50
|
+
打开 DSH 的 **设置 → AgentDeck 手机远控** 即可直接扫码配对,界面仅保留最核心的 3 项开关:
|
|
51
|
+
|
|
52
|
+
1. **远程服务与开机自启**(开启 / 重启 / 停止)
|
|
53
|
+
2. **防自动休眠**(关闭 / 插电常亮 / 活跃 1 小时 / 始终常亮,热重载生效)
|
|
54
|
+
3. **手机端默认模型**(与当前界面不同时一键同步)
|
|
55
|
+
|
|
56
|
+
### 安装
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
dsh plugin --profile web add dsh-plugin-agentdeck
|
|
60
|
+
dsh web
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
打开 **设置 → AgentDeck 手机远控** 扫码即可使用([App Store](https://apps.apple.com/app/id6821905390) · [Google Play](https://play.google.com/store/apps/details?id=com.mantou.agentdeck) · [Android APK](https://github.com/mantou132/AgentDeck/releases/latest))。
|
|
64
|
+
|
|
65
|
+
## License
|
|
66
|
+
|
|
67
|
+
MIT
|
package/cordis.patch.yml
ADDED
package/icon.svg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
|
|
2
|
+
<rect width="64" height="64" rx="16" fill="#18181B"/>
|
|
3
|
+
<rect x="19" y="11" width="26" height="42" rx="6" stroke="#FAFAFA" stroke-width="3.2"/>
|
|
4
|
+
<path d="M27 27L32 32L27 37" stroke="#60A5FA" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M34 37H38" stroke="#60A5FA" stroke-width="3.2" stroke-linecap="round"/>
|
|
6
|
+
<circle cx="32" cy="46.5" r="1.8" fill="#FAFAFA"/>
|
|
7
|
+
</svg>
|