Jensen-Yao/dsh-model-palette0

dsh-model-palette

Global model command palette for DeepSeek Harness: Alt+M, provider filters, fuzzy provider/model search, recents, favorites, reasoning effort, and optional OpenRouter media tools.

包名
dsh-model-palette
版本
0.1.2
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Jensen-Yao/dsh-model-palette

dsh-model-palette

A global model command palette for DeepSeek Harness Web. Press Alt+M or click the composer trigger, then find a route by provider name, provider ID, model name, model ID, or description in one search field.

Features

  • Global Alt+M shortcut.
  • One fuzzy search surface for providers and models.
  • Provider filter rail with model counts.
  • Current model, favorites, and recently used routes ranked first.
  • Provider-scoped identities keep same-named models separate.
  • Reasoning effort selector for the active model.
  • Visible provider catalog failures and retry.
  • Optional OpenRouter image/video tools with paid generation blocked by default.

Install

dsh plugin --profile web add github:Jensen-Yao/dsh-model-palette

Restart dsh web, then press Alt+M.

Optional OpenRouter media tools

The bundle does not enable media tools for other users by default. Add a profile patch when needed:

- id: dsh-model-palette
  config:
    openrouterMedia:
      enabled: true
      credentialRef: OPENROUTER_API_KEY
      outputDir: 'D:\AI\openrouter\outputs'
      allowPaidImages: false
      allowPaidVideos: false
      preferredImageModels: []
      preferredVideoModels: []

This registers:

  • openrouter_media_models
  • openrouter_generate_image
  • openrouter_generate_video
  • openrouter_video_status
  • openrouter_download_video

The generation tools query live pricing before submission. Paid image/video calls are rejected unless the corresponding configuration flag is explicitly enabled.

This optional feature is the lightweight native DSH media toolkit: it registers agent tools rather than adding another page or provider. See docs/openrouter-media.zh-CN.md for the Chinese explanation and safety model.

Development

pnpm install
pnpm check

Prebuilt lib/ files are committed so GitHub installs do not need build scripts.

License

MIT