dsh-codex-share 0.5.0 → 0.5.1

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/README.md CHANGED
@@ -28,6 +28,12 @@ Restart the profile after installation or update. The bundle mounts one provider
28
28
 
29
29
  The plugin intentionally does not refresh a stale token. When Codex writes a replacement, the next harness request reads it. When Codex's current access token has expired, harness calls fail until Codex refreshes its own login. An API-key-only Codex login is rejected; this route never falls back to `OPENAI_API_KEY`.
30
30
 
31
+ ## Daybreak Blue
32
+
33
+ The Codex model picker also lists **Daybreak Blue** (`gpt-daybreak-blue-latest`). [OpenAI's model page](https://developers.openai.com/api/docs/models/gpt-daybreak-blue-latest) documents this alias, currently targeting GPT-5.6 Sol, and marks it deprecated. Listing it does not grant Daybreak access or confirm that your ChatGPT plan or the Codex subscription endpoint supports it; requests may be rejected. OpenAI's Platform API approval and access-program settings do not establish availability through this subscription route.
34
+
35
+ When pi-ai does not supply this model, the fallback inherits GPT-5.6 Sol's Codex transport, reasoning, text/image input, 272K context, and 128K maximum output as conservative capability assumptions. These are subscription-catalog limits, rather than the public API's documented 1.05M context. Fallback pricing is unestimated (zero cost fields do not imply free usage). Upstream model metadata takes precedence when available, and the alias is listed only once, including when entered in **Edit model IDs**.
36
+
31
37
  ## Optional GLM Coding Plan (global)
32
38
 
33
39
  When `GLM_API_KEY` is non-empty in the Harness launch environment, this plugin also adds **GLM Coding Plan (global)** to the model picker under the `glm-coding-global` provider route. It uses pi-ai's installed Z.AI model catalog and the global Coding Plan endpoint, `https://api.z.ai/api/coding/paas/v4` (not the China endpoint or the standard pay-as-you-go API).
package/dist/index.mjs CHANGED
@@ -88,6 +88,21 @@ function apply(ctx, config = Config({})) {
88
88
  let profiles;
89
89
  const upstream = openaiCodexProvider();
90
90
  const catalog = [...upstream.getModels()];
91
+ if (!catalog.some((model) => model.id === "gpt-daybreak-blue-latest")) {
92
+ const sol = catalog.find((model) => model.id === "gpt-5.6-sol");
93
+ if (sol === void 0) throw new TypeError("The Codex catalog must include GPT-5.6 Sol");
94
+ catalog.push({
95
+ ...sol,
96
+ id: "gpt-daybreak-blue-latest",
97
+ name: "Daybreak Blue",
98
+ cost: {
99
+ input: 0,
100
+ output: 0,
101
+ cacheRead: 0,
102
+ cacheWrite: 0
103
+ }
104
+ });
105
+ }
91
106
  const profileBase = {
92
107
  provider: PROVIDER,
93
108
  displayName: "OpenAI Codex (local login)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-codex-share",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Use the local Codex CLI ChatGPT subscription login as a DeepSeek Harness LLM provider",
5
5
  "type": "module",
6
6
  "license": "MIT",