Model Switch v0.2.0
Release: v0.2.0 · stable · published 2026-08-26 · tag commit d337ddb96a40d7f8aa30b0eb771145ba25f49125
Highlights
Model Switch 0.2.0 extends explicit routing to Search and image generation while preserving official tool ownership.
- Keeps the official
web_searchtool and registers a thinWebSearchProvidernamedmodel-switch. - Selects the configured Search adapter/model at execution time; the initial adapter is Codex Search.
- Adds stable
generate_imagerouting through optional Codex and Grok adapters. - Regenerates the image tool schema after route changes so provider-incompatible parameters are not advertised.
- Adds independent Search and Image cards to Model Switch Settings.
- Introduces explicit failures for missing adapters, unsupported models, incompatible fields, and partial routes—no silent fallback.
Behavior / technical boundary
web_fetchand its configured fetch provider remain unchanged.- Vision/
read_image, ordinary chat attachments, and provider-specific image tools stay on their existing paths. - Default Main and Subagent routing from 0.1.x remain intact.
Install / upgrade / compatibility
DSH_HOME=~/.dsh dsh plugin --profile web add github:NOirBRight/dsh-model-switch#v0.2.0
DSH_HOME=~/.dsh dsh plugin --profile web add github:NOirBRight/dsh-llm-codex#v0.3.0
DSH_HOME=~/.dsh dsh plugin --profile web add github:NOirBRight/dsh-llm-grok#v0.3.0Pin the profile's existing web row to searchProvider: model-switch while preserving fetchProvider. Codex/Grok are optional adapter integrations, but the corresponding provider package is required when that route is selected. Configure routes in Settings, then restart the profile.
Validation / package contents
The tag includes compiled Host/client bundles and declarations. The tagged repository includes adapter-registry, Search-provider pass-through, provider-specific image-schema, image-result validation, host integration, settings UI, package-export, and reproducible-pack checks.