Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 路径一:bundle 插件(dsh.bundle 包)

loop / task-status / navbar 等 UI 插件是 bundle 形态(`dsh.bundle` + `dsh.client`),经官方 profile 管理:
loop / task-status / navbar 等 UI 插件是 bundle 形态(`dsh.bundle`,可带 `dsh.client`),经官方 profile 管理:

```sh
dsh plugin --profile web add "github:vlln/dsh-task-status#main" # 推荐:git 源一行(产物已入库)
Expand All @@ -13,6 +13,13 @@ dsh plugin --profile web add "github:vlln/dsh-task-status#main" # 推荐:git

装完 **重启 web**(bundle 层在启动时合成),设置页/对话页出现插件效果。

### 已收录插件

| 插件 | 功能 | 安装 |
| --- | --- | --- |
| [dsh-task-status](https://github.com/vlln/dsh-task-status) | 对话页任务状态条 | `dsh plugin --profile web add "github:vlln/dsh-task-status#main"` |
| [dsh-remote](https://github.com/Blank-not-black/dsh-Remote) | 移动远程控制台(插件+内置网关+手机 App 一体):DSH 原生侧边栏入口+右侧抽屉管理页;插件内置网关随 DSH 自动启停,抽屉直显令牌与设备监控,配 Android App 远程操控会话/后台工作/审批/提问/子代理/goal(monorepo 子目录包) | `dsh plugin --profile web add dsh-remote-plugin`(或 `github:Blank-not-black/dsh-remote-plugin#main` / monorepo `github:Blank-not-black/dsh-Remote#main&path:/packages/plugin`) |

## 路径二:非 bundle 插件(profile patch insert 行)

纯 cordis 插件(无 `dsh.bundle` 声明)经 profile `cordis.patch.yml` 的 insert 行挂载。先让包在 profile 可解析(`dsh plugin --profile web add <包>` 或 pnpm add),再写行:
Expand Down