Skip to content

v2.2.0 — Native SIWC Catalog, Speed Tier & Bilingual UI

Choose a tag to compare

@calisweetleaf calisweetleaf released this 03 Dec 08:27
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.

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): default omits service_tier on the wire (zero-byte delta vs 2.1.0), while priority (Fast) is capability-gated per model and backed by a one-shot 400 fallback that persists unsupported tiers locally.
  • Shared Catalog Merge (mergeCatalogModels): All three catalog-write paths (SiwcClient.rebuildCatalog, dsh-chatgpt-siwc models, and discover --refresh) merge by slug so thin data[] responses never erase known capabilities or local unsupportedServiceTiers.
  • Offline Discovery Fallback & Rich Composer Metadata: registerModelDiscovery falls back to cached models on network error/timeout and passes contextWindow, inputModalities, model descriptions, and per-effort descriptions to DeepSeek Harness.
  • Context Budget & modelOverrides Clamping: Precedence modelOverrides[slug].contextWindow > contextBudget > catalog context_window, clamped to the disclosed context_window and reported strictly via resolveModel().context.contextWindow (never touching the prompt prefix).
  • includeHiddenModels & Utility-Slug Filter: Retains visibility: "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: Exposes serviceTier, contextBudget, modelOverrides, includeHiddenModels, an account-scoped cached catalog table with Refresh Catalog, live local Cache Hit %, and passive x-codex-* / x-ratelimit-* usage-window headers — while keeping CatalogModel.raw (base_instructions) strictly local.
  • Accurate siwc_discover Capabilities: Derives textOnlyInput / surfaceImageInput directly from SERIALIZABLE_INPUT_MODALITIES.

Live Telemetry & Probes

  • Live DSH session cache hit rate: 98% at 10,353,568 tokens and 97% at 17,641,483 tokens (17,071,616 cached, 491,419 uncached) — measured in live DeepSeek Harness sessions (same-task Codex CLI A/B is separate).
  • Live priority & mid-session switch probes: Verified service_tier: "priority" (200 OK) and confirmed that switching serviceTier or model mid-session lands on a cold cache for the switched turn.

Links


简体中文

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,568 tokens 时为 98%,17,641,483 tokens 时为 97%(17,071,616 cached / 491,419 uncached)——均为实时 DeepSeek Harness 会话实测(同任务 Codex CLI A/B 对比另行独立进行)。
  • 实时 priority 与会话中途切换探针:已验证 service_tier: "priority"(200 OK),并确认会话中途切换 serviceTier 或模型会在切换轮落在冷缓存上。

相关链接