Asuta/dsh-client-ui-settings-model-advanced

Asuta★ 0TypeScript最后同步: 2026-08-16

在 GitHub 打开

DSH web plugin: schema-driven advanced model settings page (settings.section 'model-advanced')

README 摘要

dsh-client-ui-settings-model-advanced English 简体中文 DSH web plugin: a schema-driven Model Advanced settings page. Registers one settings.section nav entry ( model-advanced , order 11) beside the shipped Models page: a per-provider and per-model editor for the advanced capability fields the Models page does not render (vision input, context window, max output, reasoning level map, timeouts, transport, cache, headers, openai-completions compat switches). Everything the editor addresses is probed out of the serialized schemastery envelope of the provider's own settings namespace, so a schema that lacks a field simply hides it. Writes land as minimal settings.mutate path ops, so the redacted API-key secret is never rewritten. Layout - src/index.ts — Host loader entry (no host-side behavior). - src/invariant.ts — package invariant companion (no runtime invariant). - src/client/index.ts — browser half: registers the settings.section entry, wires the zh/en copy dictionaries to the active locale, and injects the connection.api wire face + bound translate into the section. - src/client/ModelAdvancedSection.tsx — the settings page component. - src/client/schema-probe.ts — pure schema-introspe…

在 GitHub 查看完整 README →
终端/TUIdsh-pluginvision

分类