Skip to content

Releases: wtiaw/dsh-ccswitch-importer

v0.1.2

Choose a tag to compare

@wtiaw wtiaw released this 19 Aug 11:51

What changed

  • Refresh conflict protection: clean drafts auto-sync to the latest remote data; dirty drafts are preserved with an explicit 重新载入 control and an accessible 远端已更新 live status.
  • Serialized saves: reasoning saves and refreshes are queued so an older response can never overwrite a newer snapshot; save revisions are resolved at execution time.
  • Save-during-edit rebasing: edits made while a save is in flight are preserved on a fresh baseline, avoiding obsolete-revision conflicts on the next save.
  • Accessibility: save status and the remote-change notice are announced via role=status + aria-live=polite, with empty live regions hidden.
  • v0.1.1 UI redesign carried forward: compact model cards, unified reasoning pills, DSH semantic tokens, 375px responsive layout.

v0.1.1

Choose a tag to compare

@wtiaw wtiaw released this 18 Aug 18:02

UI refinement for the per-model reasoning editor. Adds structured model sections, responsive effort controls, accessible custom wire mapping, and light/dark theme-safe styling. Verified with npm test (67 tests) and npm run pack:check.

v0.1.0

Choose a tag to compare

@wtiaw wtiaw released this 18 Aug 11:57

dsh-ccswitch-importer v0.1.0

DeepSeek Harness 插件:一键导入 CCSwitch Codex 配置,并在 设置 → 模型 页面提供按模型的推理等级(reasoning effort)配置。

能力

  • 只读扫描 ~/.cc-switch/cc-switch.db,导入 provider/model/endpoint 元数据
  • API Key 仅经 DSH credentials 持久化,Host 侧返回脱敏结果
  • 预填 CCSwitch 的 model_reasoning_effort 到 DSH 推理设置,之后可自由编辑
  • 紧凑模型列表:启用/关闭分段控件、推理等级 pills、自定义 wire 值折叠区
  • 深色/浅色主题安全按钮,桌面与窄屏响应式布局

安装

dsh plugin add wtiaw/dsh-ccswitch-importer

验证

  • npm test: 63/63 通过
  • npm run pack:check: 通过