Repository navigation
Releases
v2.3.0 — Per-Model Image Input, Localized Store Refusals & Full 28-Page Bilingual Wiki
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 asinput_imagedata:URLs (preceded by DSH'srequestImageHandleText) to models whose catalog row disclosesimageinput (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 withIMAGE_OFFLOAD_REQUIREDoffload signaling). Images ride strictly in user input items afterinstructions, leaving the cached system prefix untouched. - Restored localized store account-mismatch errors (
src/store.ts,siwc-core/locales/errors): RestoredCATALOG_ACCOUNT_CHANGED(catalogAccountChanged) in English and Simplified Chinese, and localizedUSAGE_ACCOUNT_CHANGED/USAGE_WINDOW_ACCOUNT_CHANGED. - Standalone CLI boundary in
pnpmDSH profiles (src/modalities.ts): Keptlib/bin.jsandlib/discover.jscompletely 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 thezh-CNtranslation glossary). - Cache arithmetic documentation (
96.8%): Clarified Session B's exact17,071,616 / 17,641,483 = 96.8%cache hit figure and documented the unexplained78,448-token uncached gap transparently.
Links
- npm: https://www.npmjs.com/package/dsh-chatgpt-siwc
- Wiki (28 pages, EN / 简体中文): https://github.com/calisweetleaf/dsh-siwc-native/wiki
- Changelog: CHANGELOG.md
简体中文
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_imagedata: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。 pnpmDSH 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,448token 差额。
相关链接
v2.2.0 — Native SIWC Catalog, Speed Tier & Bilingual UI
English
dsh-chatgpt-siwc@2.2.0 is live on npm (latest) with portable siwc-core bundled, 637/637 tests passing across 35 files, green GitHub Actions CI on Node 22 & 24, and zero production audit vulnerabilities.
Highlights
- Speed Tier (
serviceTier):defaultomitsservice_tieron the wire (zero-byte delta vs2.1.0), whilepriority(Fast) is capability-gated per model and backed by a one-shot400fallback that persists unsupported tiers locally. - Shared Catalog Merge (
mergeCatalogModels): All three catalog-write paths (SiwcClient.rebuildCatalog,dsh-chatgpt-siwc models, anddiscover --refresh) merge byslugso thindata[]responses never erase known capabilities or localunsupportedServiceTiers. - Offline Discovery Fallback & Rich Composer Metadata:
registerModelDiscoveryfalls back to cached models on network error/timeout and passescontextWindow,inputModalities, model descriptions, and per-effort descriptions to DeepSeek Harness. - Context Budget &
modelOverridesClamping: PrecedencemodelOverrides[slug].contextWindow>contextBudget> catalogcontext_window, clamped to the disclosedcontext_windowand reported strictly viaresolveModel().context.contextWindow(never touching the prompt prefix). includeHiddenModels& Utility-Slug Filter: Retainsvisibility: "hide"rows in cache and filters them at read time while keeping non-chat utility slugs (codex-auto-review,gpt-reserve) excluded unless explicitly overridden.- Upgraded Bilingual Settings Card (
SiwcCard) & Safe RPC: ExposesserviceTier,contextBudget,modelOverrides,includeHiddenModels, an account-scoped cached catalog table with Refresh Catalog, live local Cache Hit %, and passivex-codex-*/x-ratelimit-*usage-window headers — while keepingCatalogModel.raw(base_instructions) strictly local. - Accurate
siwc_discoverCapabilities: DerivestextOnlyInput/surfaceImageInputdirectly fromSERIALIZABLE_INPUT_MODALITIES.
Live Telemetry & Probes
- Live DSH session cache hit rate: 98% at
10,353,568tokens and 97% at17,641,483tokens (17,071,616cached,491,419uncached) — measured in live DeepSeek Harness sessions (same-task Codex CLI A/B is separate). - Live
priority& mid-session switch probes: Verifiedservice_tier: "priority"(200 OK) and confirmed that switchingserviceTierormodelmid-session lands on a cold cache for the switched turn.
Links
- npm: https://www.npmjs.com/package/dsh-chatgpt-siwc
- Wiki: https://github.com/calisweetleaf/dsh-siwc-native/wiki
- Changelog: CHANGELOG.md
简体中文
dsh-chatgpt-siwc@2.2.0 已发布至 npm(latest):内置可移植 siwc-core,35 个测试文件 637/637 全部通过,Node 22 与 24 上的 GitHub Actions CI 全绿,生产依赖零漏洞。
核心更新
- 速度档位(
serviceTier):default在请求体中省略service_tier(与2.1.0零字节差异);priority(Fast)按模型能力门控,并在上游返回400时执行单次回退且在本地持久化不支持标记。 - 共享目录合并(
mergeCatalogModels):全部三条目录写入路径(SiwcClient.rebuildCatalog、dsh-chatgpt-siwc models、discover --refresh)均按slug合并,确保瘦data[]响应不会抹掉已知能力或本地unsupportedServiceTiers。 - 离线发现回退与完整选择器元数据:
registerModelDiscovery在网络错误或超时时回退至本地缓存目录,并向 DeepSeek Harness 传递contextWindow、inputModalities、模型说明与按力度说明。 - 上下文预算与
modelOverrides钳位:按modelOverrides[slug].contextWindow>contextBudget> 目录context_window解析,钳位至模型公开的context_window,仅通过resolveModel().context.contextWindow上报,绝不改写提示前缀。 includeHiddenModels与工具模型过滤:缓存保留visibility: "hide"模型并在读取时过滤,默认排除非对话工具模型(codex-auto-review、gpt-reserve),除非你在modelOverrides中显式列出。- 双语设置卡片(
SiwcCard)与安全 RPC:提供serviceTier、contextBudget、modelOverrides、includeHiddenModels、带刷新目录按钮的账户级缓存模型表、本地缓存命中率 %,以及被动采集的x-codex-*/x-ratelimit-*用量窗口;CatalogModel.raw(含base_instructions)严格留存本地,绝不跨 RPC 传出。 - 准确的
siwc_discover能力标志:textOnlyInput与surfaceImageInput直接从SERIALIZABLE_INPUT_MODALITIES派生。
实测遥测与探针结果
- 实时 DSH 会话缓存命中率:
10,353,568tokens 时为 98%,17,641,483tokens 时为 97%(17,071,616cached /491,419uncached)——均为实时 DeepSeek Harness 会话实测(同任务 Codex CLI A/B 对比另行独立进行)。 - 实时
priority与会话中途切换探针:已验证service_tier: "priority"(200 OK),并确认会话中途切换serviceTier或模型会在切换轮落在冷缓存上。
相关链接
v2.0.2
With this release comes the near closure of the siwc core engine, with added 99% cache hits after fixing prompt-id, alongside fixes to system prompt being passed through every request. This is the stable build. Will be maintaining and hardening alongside trying to maintain any feature requests, pull requests, discussions, or issues. This is the first drop of many to come.
v0.2.1-rc.3 — Native SIWC checkpoint
English
Install the attached tarball through DeepSeek Harness. This checkpoint keeps the account-scoped model index local on warm switches and exposes model-advertised reasoning levels. Verified on DSH 0.2.2-rc.1: 287 tests passed; the native picker showed Ultra for GPT-6.1 Terra. Live Ultra inference was not tested. Some stream failures still display English only.
简体中文
请通过 DeepSeek Harness 安装随附的 tarball。此检查点在已建立索引后从本地读取账户模型目录,并显示所选模型声明支持的推理力度。已在 DSH 0.2.2-rc.1 上验证:287 项测试通过,原生选择器为 GPT-6.1 Terra 显示 Ultra。未测试 Ultra 实时推理。部分流式错误仍仅显示英文。
SHA-256: f7eaae02e3daee458fe8d50f41491ebcacd4e67e4305a709e4397338c9056a15
v1.0.0 Official Public Release
First official release of the Sign in With ChatGPT Cordis Plugin for the Deepseek Harness enabling API level control over the flow of the model loop. Useful tool as the lift to merged limits and removal of chat mode approach, you can now choose your home to spend your usage. Will occasionally release upgrades and maintain, however an internal fork of the deepseek-harness codebase and modification has happened. Any future releases will be from experimentation and research from this internal fork. Please feel free to contribute in any way. Due to the abundance of frameworks and harnesses, the siwc flow is easily portable and not tied to deepseek-harness. Theoretically this allows everything to have sign in with ChatGPT. Seperately we will be re-releasing
Notes
This was not developed using the openai official repository until approaching release and discovering. All research was done using multiple agents over 10 hours of research to reconstruct. This is not a commercially licensed product. This is not a standalone application. This is only the full cordis plugin. This follows and aligns one to one with openais support advice, documentation, and all other research. OpenAI states this themselves.
Contributing
Please feel free to open pull requests, submit feature request, and any other forms of feedback are encouraged
We will ensure that this becomes your Go-To trusted