Skip to content

v2.3.0 — Per-Model Image Input, Localized Store Refusals & Full 28-Page Bilingual Wiki

Latest

Choose a tag to compare

@calisweetleaf calisweetleaf released this 03 Dec 16:45
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.

English

dsh-chatgpt-siwc@2.3.0 adds per-model surface image input on the official Sign in with ChatGPT (SIWC) Responses route, restores localized account-mismatch store refusals, hardens the standalone CLI boundary for pnpm-installed DSH profiles, and publishes the full 28-page bilingual Wiki (English / 简体中文). 672/672 tests passing across 37 files (0 production vulnerabilities).

Added & Fixed in 2.3.0

  • Per-model surface image input (src/images.ts, src/serialize.ts, src/adapter.ts): Surface images in user messages are sent as input_image data: URLs (preceded by DSH's requestImageHandleText) to models whose catalog row discloses image input (SERIALIZABLE_INPUT_MODALITIES = ['text', 'image']). Validated before send (PNG/JPEG/WEBP/GIF by reference and magic number; 20 MiB per image; 64 MiB base64 per request with IMAGE_OFFLOAD_REQUIRED offload signaling). Images ride strictly in user input items after instructions, leaving the cached system prefix untouched.
  • Restored localized store account-mismatch errors (src/store.ts, siwc-core/locales/errors): Restored CATALOG_ACCOUNT_CHANGED (catalogAccountChanged) in English and Simplified Chinese, and localized USAGE_ACCOUNT_CHANGED / USAGE_WINDOW_ACCOUNT_CHANGED.
  • Standalone CLI boundary in pnpm DSH profiles (src/modalities.ts): Kept lib/bin.js and lib/discover.js completely free of runtime @deepseek-ai/* imports so CLI commands (login, status, models, discover, doctor) run cleanly inside ~/.dsh/profiles/web.
  • Full 28-page bilingual Wiki (docs/wiki/ & GitHub Wiki): Dedicated English and Simplified Chinese pages covering Install, Sign-in & Accounts, Configuration, Models & Catalog, Prompt Cache, Route & Compliance, Architecture, CLI & Doctor, Troubleshooting (including the sign-in stop-step matrix), FAQ, Changelog, and Contributing (including the zh-CN translation glossary).
  • Cache arithmetic documentation (96.8%): Clarified Session B's exact 17,071,616 / 17,641,483 = 96.8% cache hit figure and documented the unexplained 78,448-token uncached gap transparently.

Links


简体中文

dsh-chatgpt-siwc@2.3.0 在官方 Sign in with ChatGPT(SIWC)Responses 路线上新增按模型门控的表面图片输入,恢复本地化的账户变更存储拒绝错误,加固 pnpm DSH profile 下的独立 CLI 模块边界,并发布完整的 28 页双语 Wiki(English / 简体中文)。37 个测试文件 672/672 全部通过(生产依赖零漏洞)。

2.3.0 新增与修复

  • 按模型门控的表面图片输入(src/images.ts、src/serialize.ts、src/adapter.ts):对目录条目声明支持 image 输入的模型,用户消息中的表面图片会以 input_image data: URL(前置 DSH 的 requestImageHandleText)发送(SERIALIZABLE_INPUT_MODALITIES = ['text', 'image'])。发送前按引用和文件头魔数校验 PNG/JPEG/WEBP/GIF,单张上限 20 MiB,单次请求 base64 合计上限 64 MiB(超出时返回 IMAGE_OFFLOAD_REQUIRED 由 DSH 卸载旧图片)。图片只出现在顶层 instructions 之后的用户输入项中,绝不触碰缓存的系统前缀。
  • 恢复本地化的账户变更存储拒绝错误(src/store.ts、siwc-core/locales/errors):恢复中英文 CATALOG_ACCOUNT_CHANGED(catalogAccountChanged),并同步本地化 USAGE_ACCOUNT_CHANGED 与 USAGE_WINDOW_ACCOUNT_CHANGED。
  • pnpm DSH profile 下的独立 CLI 边界(src/modalities.ts):保持 lib/bin.js 与 lib/discover.js 在运行时零 @deepseek-ai/* 导入,确保 login、status、models、discover、doctor 在 ~/.dsh/profiles/web 内独立正常运行。
  • 完整 28 页双语 Wiki(docs/wiki/ 与 GitHub Wiki):提供中英文对应的安装、登录与账户、配置、模型与目录、提示缓存、路由与合规、架构、CLI 与 doctor、故障排查(含登录停止步骤排查表)、常见问题、更新日志与参与贡献(含简体中文翻译术语表)。
  • 缓存算术核准(96.8%):明确记录会话 B 的精确命中率 17,071,616 / 17,641,483 = 96.8%,并如实说明未命中项的 78,448 token 差额。

相关链接