dsh-codex-community 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,54 @@
3
3
  本项目遵循 Keep a Changelog 的结构;`0.0.x` 为技术预览。
4
4
  This project follows the Keep a Changelog structure; `0.0.x` is a technical preview.
5
5
 
6
+ ## [0.0.2] - 2026-08-29
7
+
8
+ ### 中文
9
+
10
+ #### 新增
11
+
12
+ - 设置页每次进入以及手动刷新时读取真实的五小时与每周额度;Host 通过官方 Codex 客户端使用的 Web 后端兼容接口获取并严格解析数据,Web 页面不会收到 OAuth 凭据或原始响应。
13
+ - 会话模型选择器左侧新增闪电按钮,与 `/codex set fast on|off` 共用当前会话状态;GPT-5.4、GPT-5.5 和 GPT-5.6 系列可从下一次请求起切换官方 Fast 1.5 倍速。
14
+
15
+ #### 变更
16
+
17
+ - 额度刷新失败时不再伪装成零余额:保留最近一次已验证读数,或安全降级为最近请求观测/未知状态。
18
+ - 模型展示元数据以当前安装的 provider catalog 为准;推理选择器改用逐模型核验的订阅 Codex 默认值与 Low 至 Max,隐藏通用 `Default`、`Off`、`Minimal`,且不把需要主动任务委派的 `Ultra` 伪装成普通 Provider 档位。
19
+ - 模型卡片的上下文与最大输出改用 `272K`、`128K` 一类紧凑标签,不再展示冗长的原始 token 数字。
20
+ - 保存了 `Off` 或 `Minimal` 的旧会话不再被静默迁移;只有用户点击带有默认模型影响说明的修复按钮后,才切换到当前模型默认档位。
21
+ - Fast 仅在支持的 GPT-5.4、GPT-5.5 和 GPT-5.6 系列请求上发送 priority service tier,会消耗更多额度;关闭或开启均从下一次请求生效,进程重启后恢复关闭。
22
+ - DSH profile smoke 改为核对新版模型设置标题,避免 UI 文案更新被误判为插件加载失败。
23
+
24
+ ### English
25
+
26
+ #### Added
27
+
28
+ - The settings page reads real five-hour and weekly usage limits whenever it opens or is refreshed manually. The Host obtains and strictly parses the data through the Web-backend compatibility endpoint used by the official Codex client; the Web page receives neither OAuth credentials nor raw responses.
29
+ - A lightning button to the left of the conversation model selector shares current-session state with `/codex set fast on|off`. GPT-5.4, GPT-5.5, and the GPT-5.6 family can switch to official Fast at 1.5× starting with the next request.
30
+
31
+ #### Changed
32
+
33
+ - A failed usage refresh is no longer presented as zero remaining usage. The page retains the latest verified reading or safely falls back to recent-request observation/an unknown state.
34
+ - Display metadata follows the installed provider catalog. The reasoning picker now uses model-specific subscription-Codex defaults and efforts from Low through Max, hides generic `Default`, `Off`, and `Minimal`, and does not disguise agent-level `Ultra` as a plain Provider effort.
35
+ - Model cards format context and maximum output as compact labels such as `272K` and `128K` instead of long raw token counts.
36
+ - Older conversations that saved `Off` or `Minimal` are no longer migrated silently. They switch to the current model default only after the user clicks a repair action that discloses its default-model effect.
37
+ - Fast sends the priority service tier only for supported GPT-5.4, GPT-5.5, and GPT-5.6-family requests and consumes more usage. Enabling or disabling it applies to the next request, and a process restart restores off.
38
+ - The DSH profile smoke now checks the current model-settings title so a UI copy update is not misreported as a plugin-load failure.
39
+
40
+ ## [Unreleased]
41
+
42
+ ### 中文
43
+
44
+ #### 新增
45
+
46
+ #### 变更
47
+
48
+ ### English
49
+
50
+ #### Added
51
+
52
+ #### Changed
53
+
6
54
  ## [0.0.1] - 2026-08-29
7
55
 
8
56
  ### 中文
package/README.en.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  A Codex plugin for DeepSeek Harness with ChatGPT OAuth sign-in, Codex models, image input, and reliable streaming responses.
6
6
 
7
- > Current version: `0.0.1` technical preview, published under npm `latest` with a full GitHub Release. npm package: `dsh-codex-community`.
7
+ > Current version: `0.0.2` technical preview, published under npm `latest` with a full GitHub Release. npm package: `dsh-codex-community`.
8
8
 
9
9
  ## Features
10
10
 
@@ -15,7 +15,8 @@ A Codex plugin for DeepSeek Harness with ChatGPT OAuth sign-in, Codex models, im
15
15
  - provide valid pixel and byte budgets for request images, preventing invalid `maxPixels` values;
16
16
  - classify `AccountQuotaExceeded` as non-retryable account quota and show a sanitized reset time;
17
17
  - preserve safe partial text after a stream failure, while incomplete tool calls stop without replaying the request;
18
- - use `/codex` to choose Fast and transport for the current session, with Fast off and transport automatic by default.
18
+ - read the real five-hour and weekly usage limits whenever the settings page opens or is refreshed manually, with a safe fallback and no OAuth credentials exposed to the Web page;
19
+ - use the lightning button to the left of the model selector or `/codex` to choose official Fast (1.5×) and transport for the current session, with Fast off and transport automatic by default.
19
20
 
20
21
  ## Requirements
21
22
 
@@ -27,7 +28,7 @@ A Codex plugin for DeepSeek Harness with ChatGPT OAuth sign-in, Codex models, im
27
28
  Install an exact version:
28
29
 
29
30
  ```sh
30
- dsh plugin --profile web add dsh-codex-community@0.0.1
31
+ dsh plugin --profile web add dsh-codex-community@0.0.2
31
32
  dsh web
32
33
  ```
33
34
 
@@ -35,7 +36,7 @@ dsh web
35
36
 
36
37
  1. Open **Settings → OpenAI Codex** and complete the ChatGPT OAuth prompts.
37
38
  2. Enable models on the same page.
38
- 3. Choose a Codex model from the conversation model selector.
39
+ 3. Choose a Codex model from the conversation model selector; click the lightning button to its left when Fast is needed.
39
40
 
40
41
  Available commands:
41
42
 
@@ -50,12 +51,12 @@ Available commands:
50
51
  /codex set transport auto|sse|websocket|websocket-cached
51
52
  ```
52
53
 
53
- Fast and transport preferences are kept only for the current session in the current process; they are not persisted. Fast requests the priority service tier, whose availability depends on the account and service; a failure is not automatically replayed on a lower tier.
54
+ Fast and transport preferences are kept only for the current session in the current process; they are not persisted and return to their defaults after a process restart. For GPT-5.4, GPT-5.5, GPT-5.6 Luna, Sol, and Terra, Fast uses the official priority service tier starting with the next request, targets 1.5× speed, and consumes more usage. Turning it off restores standard speed on the next request. A failed request is not automatically replayed on a lower tier.
54
55
 
55
56
  Update:
56
57
 
57
58
  ```sh
58
- dsh plugin --profile web update dsh-codex-community@0.0.1
59
+ dsh plugin --profile web update dsh-codex-community@0.0.2
59
60
  dsh web
60
61
  ```
61
62
 
@@ -78,10 +79,11 @@ See [Troubleshooting](docs/troubleshooting.en.md) for diagnostic steps.
78
79
  ## Support boundaries
79
80
 
80
81
  - The `0.0.x` line does not promise a stable API; pin the exact version.
81
- - Before publication, `0.0.1` must pass the Linux, macOS, and Windows platform gates, the complete supply-chain verification, and maintainer approval. It may be formally published with controlled-account validation at `0/13`, provided every unverified capability remains clearly disclosed and validation continues after release.
82
- - Problems found after publication are fixed and iterated in `0.0.2`; the published `0.0.1` is never overwritten.
83
- - Quota state comes from recent requests; it is not a live balance or proactive account query.
84
- - Fast is an explicitly enabled experimental capability; controlled post-release validation continues to confirm real-account entitlement.
82
+ - Linux, macOS, and Windows CI/profile smoke for `0.0.2` reached `3/3`; the accepted commit and platform evidence are in the [acceptance record](docs/releases/v0.0.2.acceptance.json).
83
+ - Live OAuth, conversation, image, transport, and Fast network acceptance is `0/13 pending`. These unverified capabilities remain clearly disclosed and will be completed individually after publication.
84
+ - The settings page reads usage through the Web-backend compatibility endpoint used by the official Codex client. If that endpoint is unavailable or malformed, the page retains the latest safe reading and falls back to request observation or an unknown state instead of presenting the error as zero remaining usage.
85
+ - Model names, context windows, and maximum outputs come from the installed provider catalog. The reasoning picker exposes only subscription-Codex levels through Max that the Provider can fully implement, plus each model's verified default. Generic `Default`, `Off`, and `Minimal` entries are hidden, and agent-level `Ultra` is not disguised as a plain reasoning effort.
86
+ - Fast is limited to GPT-5.4, GPT-5.5, GPT-5.6 Luna, Sol, and Terra and consumes more usage. Other models never receive the Fast service tier.
85
87
  - Image generation and editing are not provided.
86
88
  - See [Compatibility](docs/compatibility.en.md) for Windows, Linux, real OAuth, and real Codex network acceptance status.
87
89
 
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  面向 DeepSeek Harness 的 Codex 插件,提供 ChatGPT OAuth 登录、Codex 模型、图片输入和可靠的流式回复。
6
6
 
7
- > 当前版本:`0.0.1` 技术预览,使用 npm `latest` 与正式 GitHub Release 发布。npm 包名:`dsh-codex-community`。
7
+ > 当前版本:`0.0.2` 技术预览,使用 npm `latest` 与正式 GitHub Release 发布。npm 包名:`dsh-codex-community`。
8
8
 
9
9
  ## 功能
10
10
 
@@ -15,7 +15,8 @@
15
15
  - 为请求图片补全有效的像素与字节预算,避免无效 `maxPixels`;
16
16
  - 将 `AccountQuotaExceeded` 识别为不可重试的账户配额错误,并显示脱敏后的重置时间;
17
17
  - 流中断时保留安全的半段纯文本;涉及未完成工具调用时停止,不自动重放请求;
18
- - 使用 `/codex` 为当前会话选择 Fast 和传输方式,默认关闭 Fast、自动选择传输。
18
+ - 每次进入设置页或手动刷新时读取真实的 5 小时与每周额度;读取失败时安全降级,不向 Web 页面暴露 OAuth 凭据;
19
+ - 使用模型选择器左侧的闪电按钮或 `/codex` 为当前会话切换官方 Fast(1.5 倍速)和传输方式,默认关闭 Fast、自动选择传输。
19
20
 
20
21
  ## 运行要求
21
22
 
@@ -27,7 +28,7 @@
27
28
  请固定安装精确版本:
28
29
 
29
30
  ```sh
30
- dsh plugin --profile web add dsh-codex-community@0.0.1
31
+ dsh plugin --profile web add dsh-codex-community@0.0.2
31
32
  dsh web
32
33
  ```
33
34
 
@@ -35,7 +36,7 @@ dsh web
35
36
 
36
37
  1. 打开 **设置 → OpenAI Codex**,按页面提示完成 ChatGPT OAuth;
37
38
  2. 在同一页面启用模型;
38
- 3. 从会话模型选择器中选择 Codex 模型开始使用。
39
+ 3. 从会话模型选择器中选择 Codex 模型开始使用;需要时点击选择器左侧的闪电按钮开启 Fast。
39
40
 
40
41
  可用命令:
41
42
 
@@ -50,12 +51,12 @@ dsh web
50
51
  /codex set transport auto|sse|websocket|websocket-cached
51
52
  ```
52
53
 
53
- Fast 和传输偏好只保存在当前进程的当前会话中,不会持久化。Fast 请求 priority service tier,但是否可用取决于账号和服务端;失败后不会自动降级重放请求。
54
+ Fast 和传输偏好只保存在当前进程的当前会话中,不会持久化,进程重启后恢复默认。Fast GPT-5.4、GPT-5.5、GPT-5.6 Luna、Sol 和 Terra 上从下一次请求起使用官方 priority service tier,目标速度为 1.5 倍并消耗更多额度;关闭后,下一次请求恢复默认速度。失败请求不会自动降级重放。
54
55
 
55
56
  更新:
56
57
 
57
58
  ```sh
58
- dsh plugin --profile web update dsh-codex-community@0.0.1
59
+ dsh plugin --profile web update dsh-codex-community@0.0.2
59
60
  dsh web
60
61
  ```
61
62
 
@@ -78,10 +79,11 @@ dsh web
78
79
  ## 支持边界
79
80
 
80
81
  - `0.0.x` 不承诺稳定 API,请固定版本;
81
- - `0.0.1` 发布前必须通过 Linux、macOS 和 Windows 三平台门禁、完整供应链校验与维护者批准;真实账号验证允许以 `0/13` 状态正式发布,未验证能力必须如实展示并在发布后持续补齐;
82
- - 发布后发现的问题在 `0.0.2` 中修复和迭代,不覆盖已发布的 `0.0.1`;
83
- - 额度状态来自最近请求,不是实时余额或主动账户查询;
84
- - Fast 是显式开启的实验能力,真实账号权限会在发布后的受控验证中继续确认;
82
+ - `0.0.2` Linux、macOS 和 Windows CI/profile smoke 已达到 `3/3`,候选提交与平台证据见[验收记录](docs/releases/v0.0.2.acceptance.json);
83
+ - 真实 OAuth、对话、图片、transport Fast 网络验收为 `0/13 pending`;这些未验证能力继续如实展示,并在发布后逐项补齐;
84
+ - 设置页额度通过官方 Codex 客户端使用的 Web 后端兼容接口读取;接口不可用或返回异常时保留最近的安全读数,并降级为请求观测或未知状态,不把错误伪装成零余额;
85
+ - 模型名称、上下文和最大输出来自当前安装的 provider catalog;推理选择器只展示已按订阅 Codex 目录核验且 Provider 能完整实现的 Low 至 Max 与模型默认值,不展示通用的 `Default`、`Off`、`Minimal`,也不把需要主动任务委派的 `Ultra` 伪装成普通推理档位;
86
+ - Fast 仅用于 GPT-5.4、GPT-5.5、GPT-5.6 Luna、Sol 和 Terra,并会提高额度消耗;其他模型不会发送 Fast service tier;
85
87
  - 不提供图片生成或编辑;
86
88
  - Windows、Linux、真实 OAuth 与真实 Codex 网络验收状态见[兼容性文档](docs/compatibility.md)。
87
89
 
@@ -11,6 +11,8 @@ This project composes the following independently published packages. Each relea
11
11
  | `@deepseek-ai/dsh-client-connection` | Web client connection injection | MIT |
12
12
  | `@deepseek-ai/dsh-client-locale` | Web client locale service | MIT |
13
13
  | `@deepseek-ai/dsh-client-runtime` | Web client plugin runtime | MIT |
14
+ | `@deepseek-ai/dsh-client-ui-conversation` | Conversation composer slot integration | MIT |
15
+ | `@deepseek-ai/dsh-client-ui-model-selection` | Current-session model directory integration | MIT |
14
16
  | `@deepseek-ai/dsh-client-ui-settings` | Web settings-page integration | MIT |
15
17
  | `@deepseek-ai/dsh-commands` | Harness command registration | MIT |
16
18
  | `@deepseek-ai/dsh-credentials` | Credential-store contracts | MIT |