Back to home@mohith-das

dsh-client-ui-model-selection-search

Fork of DeepSeek Harness's official model picker (@deepseek-ai/dsh-client-ui-model-selection) adding an in-menu search box to filter models by name, provider, or id.

Stars
0
Language
TypeScript
Created
Sep 1, 2026
Updated
Sep 1, 2026

Introduction

dsh-client-ui-model-selection-search

npm version

A fork of @deepseek-ai/dsh-client-ui-model-selection (the DeepSeek Harness web UI's model picker) that adds an in-menu search box for filtering models by name, provider, or id.

Derived from deepseek-ai/deepseek-harness at tag dsh-v0.1.1-rc.2, via the fork at mohith-das/deepseek-harness, branch fork-base-0.1.1-rc.2. Only packages/client/ui-model-selection is carried here — see that repo for full provenance and the source diff.

What changed

  • A search input appears above the model list when the picker is open.
  • Typing filters groups/models client-side by model name, model id, group name, or group id (no extra network calls — the directory is already resident).
  • The input autofocuses when the model pane opens.
  • Enter in the search box selects the first matching model.
  • Escape clears the query before closing the pane, matching the existing two-step escape behavior.

Install into a dsh profile

Published to npm as dsh-client-ui-model-selection-search (a different name than the module it replaces, since only DeepSeek can publish under the @deepseek-ai scope). The built client.js still self-registers under the original module id, so it's installed as a pnpm alias override — the dependency key stays the upstream name, only the resolved package changes:

// ~/.dsh/profiles/<profile>/package.json
{
  "pnpm": {
    "overrides": {
      "@deepseek-ai/dsh-client-ui-model-selection": "npm:dsh-client-ui-model-selection-search@^0.1.0"
    }
  }
}

Then reinstall the profile's dependencies (dsh plugin --profile <profile> install or an equivalent pnpm install inside the profile directory) and restart dsh web. For local development instead of the published package, point the override at a local path instead: "@deepseek-ai/dsh-client-ui-model-selection": "file:/absolute/path/to/dsh-client-ui-model-selection-search".

License

MIT, matching the upstream package.