Skip to content
dsh.fish
Bundle

dsh-air

Lightweight DSH plugin for history recall and BTW side conversations.

Source
kaieye
stars
2 stars
License
MIT
Updated
Updated 4 days ago

Readme

# dsh-air

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

`dsh-air` 支持使用 `↑` / `↓` 切换历史发送记录,并通过 `/btw` 打开停靠式侧边对话。

## 安装

```bash
dsh plugin --profile web add dsh-air
```

安装后重新启动 DSH。

## 卸载

```bash
dsh plugin --profile web remove dsh-air
```

## 快捷键

| 快捷键 | 功能 |
| --- | --- |
| `↑` | 输入框为空时召回上一条发送记录。 |
| `↓` | 切换到更新的历史记录。 |
| `Ctrl+R` | 搜索历史发送记录。 |
| `Enter` | 接受当前历史搜索结果。 |
| `Esc` | 取消历史搜索并恢复原草稿。 |
| `/btw [问题]` | 打开侧边对话;`/side` 是等价别名。 |

## 设置与本地数据

设置页的「AIR 插件」区可以查看已保存的历史消息数量、调整历史上限,并清除 dsh-air 保存的历史、富草稿和大段粘贴数据。历史上限默认为 500 条,可设置为 10–5000 条;清除数据时会保留上限设置。

历史、草稿和粘贴引用保存在当前浏览器的 `localStorage` 中。清除站点数据也会移除这些记录。

BTW 面板的左侧边缘可以拖拽调整宽度。聚焦调整手柄后,`←` / `→` 每次调整 24 像素,按住 `Shift` 每次调整 80 像素,`Home` / `End` 跳到最小 / 最大宽度;调整结果会保存到本地。

## License

[MIT](LICENSE)

Install

dsh plugin --profile web add github:kaieye/dsh-AIR

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