Back to home@johndfowler

dsh-model-search

No description

Stars
0
Language
JavaScript
Created
Aug 28, 2026
Updated
Aug 28, 2026
GitHub repo

Introduction

dsh-model-search

Searchable model picker for the DeepSeek Harness (DSH) web composer.

The stock model seat (conversation.input.model) in DSH 0.1.1-rc.x is a plain grouped scroll list with no filtering — with 8 providers and hundreds of models it's tedious to navigate. This plugin replaces it with a filter-as-you-type popover.

How it works

Registers a provider for the conversation.input.model single slot at priority -100, which shadows the default (the slots framework elects the first live entry of a cell in priority order). The component:

  • shows the current model as the trigger (matching the stock pill)
  • on click, opens a popover with a live search box that filters the flat model list by model name/id and provider name
  • groups results by provider, marks the selected one
  • on selection, calls the model directory select({ provider, model, reasoningEffort }) (same API the built-in /model popup rides)

Uses the modelDirectories client service; no server-side work.

Install

cd /path/to/your-dsh-profile   # e.g. ~/.dsh/profiles/web
pnpm add github:johndfowler/dsh-model-search
# then append "dsh-model-search" to dsh.profile.bundles in package.json
# and restart `dsh web`.

License

MIT