Skip to content
dsh.fish
Bundle

dsh-vision-router-inline

Display companion for dsh-vision-router: keep Auto Vision routing, and put a square picture button on each original model row. Does nothing unless dsh-vision-router is installed.

Source
MitsukiJoe
License
MIT
Updated
Updated 3 days ago

Readme

<div align="center">

<p>
  <img src="docs/logo-258.png" width="128" height="128" alt="dsh-vision-router-inline" />
</p>

# dsh-vision-router-inline

**Fold Auto Vision twins into clear picture buttons on their original model rows.**

<p>
  <b>🇺🇸 English</b> | <a href="README.zh.md">🇨🇳 简体中文</a>
</p>

<p>
  <a href="https://github.com/deepseek-ai/deepseek-harness"><img src="https://img.shields.io/badge/DSH-plugin-4F8EF7?style=plastic" alt="DSH plugin" /></a>
  <a href="https://github.com/ysr666/dsh-vision-router"><img src="https://img.shields.io/badge/requires-dsh--vision--router-0aa2c0?style=plastic" alt="Requires: dsh-vision-router" /></a>
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-2ea44f?style=plastic" alt="License: MIT" /></a>
  <a href="package.json"><img src="https://img.shields.io/badge/version-0.1.1-informational?style=plastic" alt="Version: 0.1.1" /></a>
</p>

<p>
  <img src="docs/social-preview/en.png" alt="dsh-vision-router-inline: Auto Vision folded into a picture button on each model row" />
</p>

</div>

Display companion for [`dsh-vision-router`](https://github.com/ysr666/dsh-vision-router).

`dsh-vision-router` adds a second provider group (`DeepSeek + 自动识图`, etc.). This plugin does not change that routing. It only changes display: fold each twin into a square picture button on the original model’s row. Click the name for the text model; click the button for that provider’s vision twin route (e.g. `google-vision` for Google). The button hover is separate from the row hover. The same button appears on the composer trigger and the Model row only while the vision route is selected.

Example, one row:

- Gemini 3.1 Pro □ (vision)

![Twin groups folded, picture buttons on the original provider's model rows](docs/inline-image-models.png)

If [dsh-better-ux](https://github.com/MitsukiJoe/dsh-better-ux) is also installed, its large picker shows the same picture button on each card.

![The same picture buttons on Better UX model cards](docs/model-picker-vision.png)

**This plugin does nothing unless `dsh-vision-router` is already loaded.** Install that first. If the router is missing, this package stays idle and does not wrap the model catalog.

## Requires

- [dsh-vision-router](https://github.com/ysr666/dsh-vision-router) ≥ 1.0
- DeepSeek Harness web profile

Load order: `dsh-vision-router` first, then `dsh-vision-router-inline`.

## Install

### npm

```bash
dsh plugin --profile web add dsh-vision-router@latest
dsh plugin --profile web add dsh-vision-router-inline@latest
```

### GitHub

```bash
dsh plugin --profile web add github:ysr666/dsh-vision-router
dsh plugin --profile web add github:MitsukiJoe/dsh-vision-router-inline
```

### Ask DSH

Send this message to DSH:

```text
Install this plugin https://github.com/MitsukiJoe/dsh-vision-router-inline
```

Restart DSH after installation.

## Update

```bash
dsh plugin --profile web update dsh-vision-router dsh-vision-router-inline
```

Or send this message to DSH:

```text
Update this plugin https://github.com/MitsukiJoe/dsh-vision-router-inline
```

## Uninstall

Remove `dsh-vision-router-inline` from the web profile `package.json` and `node_modules`, restart DSH. `dsh-vision-router` itself is unchanged.

Install

dsh plugin --profile web add github:MitsukiJoe/dsh-vision-router-inline

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source