# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [1.0.1] - 2026-08-28 ### Fixed - 修正 ChatGPT/Codex 與 Grok 呼叫後,因 Responses stream chunk 格式不符合目前 DSH `BlockAssembler` 契約而出現 `unreachable variant` 的問題。 - 對齊 DSH 使用的 `text-delta`、`reasoning-delta`、`tool-call-delta`、`reasoning` 與 `tool-call` 事件格式。 - 修正 Grok 在沒有工具的普通對話中仍送出 `tool_choice` / `parallel_tool_calls`,導致 xAI API 回傳 400 的問題。 - ChatGPT/Codex 與 Grok 的 access token 遇到 401 時,加入 refresh token 後自動重試;用量查詢也套用相同流程。 - 修正 AntiGravity 工具 schema 未經 `@deepseek-ai/dsh-tools` 編譯,造成 `payload.provider` 與工具參數驗證失敗的問題。 - 修正 AntiGravity pool 登入、狀態、帳號移除、配額與主要帳號路由的整合流程。 - 接回 `.upstream/dsh-codex-connect` 的 `openaiCodexTransport`、原圖資產路由與 `codex_connect_image_generate` 工具;不再讓已存在的上游圖片程式碼成為未註冊的孤立模組。 - 修正 `image_generate` 圖片卡片只拿到附件 ID 卻未讀取附件內容的問題,現在會透過既有 RPC 載入並顯示圖片。 - 修正 Grok Image API 缺少 `x-xai-token-auth` 與 DSH attribution headers 的問題,並加入圖片請求的 401 自動刷新重試。 ### Changed - 啟動器改用一般 Chrome 分頁開啟 `127.0.0.1:3080`,沿用使用者既有瀏覽器登入狀態與 Cookie。 - 將 ChatGPT/Codex、Grok、AntiGravity 與既有參考插件的 OAuth、模型清單、串流與用量流程整合到同一個 Super Subscriptions host plugin。 - 加入多帳號狀態、預設帳號、quota-aware pool 與模型路由重新公告,登入或登出後會刷新模型選單。 - 側欄用量改為固定與 SideBar 同寬、常駐完整展開,依 ChatGPT、Grok、AntiGravity 分區顯示 5 小時/每週用量、剩餘比例與重置倒數。 - 側欄字體調整為比 SideBar 小一級,改用融入 SideBar 的全寬區塊,不再使用獨立浮動小卡片。 - 設定面板加入登入完成輪詢、供應商狀態、帳號清單、用量刷新與 Super Subscriptions 快捷入口。 - 補齊 DSH client UI slots、conversation、commands、layout 等注入依賴,以及 provider brand icons、HTTP proxy 與 runtime integration。 - 同時保留上游 `image_generate` 的 GPT Image 2 與 Grok Imagine Image 2.0 路徑,另提供 Codex Connect 的原生 GPT Image 路徑。 ### Verification - `pnpm run typecheck` 通過。 - `pnpm test` 通過:20 個測試檔、111 個測試。 - `pnpm run build` 通過。 - 實際驗證 Grok `grok-build-0.1` 與 ChatGPT/Codex 真實模型請求皆回傳成功。 - 圖片工具新增 Grok 訂閱標頭、401 refresh retry、Codex Connect 工具註冊與附件預覽回歸測試。 - 已在乾淨的 DSH Web profile 中重建、同步並重啟本機 Web 服務完成驗證。 ## [0.1.0] - 2026-08-27 ### Added - Host plugin now registers real ChatGPT/Codex, Grok, AntiGravity, Claude, and Copilot adapters. - Unified tools: `image_generate`, `video_generate`, `x_search`, and `view_image`. - Unified web search provider id `super-subscriptions`. - Settings UI with overview, capabilities, routing, network, and advanced tabs plus sidebar usage card. - Non-destructive auth import from `~/.dsh/plugins/subscriptions/auth.json`. - Initial M0 scaffold bootstrap for `dsh-super-subscriptions`. - Unified architecture consolidating: - `V1ki/dsh-plugin-subscriptions` (multi-provider OAuth, quota pooling, web Settings slot). - `amlyczz/dsh-agy-link` (Google AntiGravity CLI integration with `permissionMode: "skip"` default). - `franksong2702/dsh-codex-connect` (Codex route unification and `openai-codex` migration). - Pre-configured provider enablement defaults: - ChatGPT: `enabled: true` - Grok: `enabled: true` - AntiGravity: `enabled: true` - Claude: `enabled: false` (retained) - Copilot: `enabled: false` (retained) - Comprehensive test suite, type definitions, and ADR documentation.