dsh-codex-connect 0.1.0-alpha.4.40 → 0.1.0-alpha.4.41
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/INSTALL.md +11 -11
- package/README.i18n.yaml +2 -2
- package/README.md +6 -4
- package/docs/README.zh.md +6 -4
- package/lib/bin.js +1 -1
- package/lib/client.js +31 -24
- package/lib/index.js +1 -1
- package/lib/{src-DI6F_yQY.js → src-BWvQQwSp.js} +1 -1
- package/package.json +1 -1
package/INSTALL.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Installation Runbook for CLI Agents
|
|
2
2
|
|
|
3
|
-
Published Alpha 4.
|
|
3
|
+
Published Alpha 4.40 is verified with DSH `0.1.2-rc.1` and pi-ai `0.84.4` within `^0.84.2`, and with each exact DSH `0.1.5-alpha.1`, `0.1.5-rc.1`, and `0.1.5-rc.2` model-runtime pairing using pi-ai `0.85.1`.
|
|
4
4
|
|
|
5
5
|
Install `dsh-codex-connect` into one requested DeepSeek Harness profile without changing its current default model, search route, global configuration, or OAuth state.
|
|
6
6
|
|
|
7
|
-
Channel snapshot on 2026-09-
|
|
7
|
+
Channel snapshot on 2026-09-23: npm `alpha` points to `0.1.0-alpha.4.40`; `latest` intentionally remains on `0.1.0-alpha.4.34`. Use the exact-version commands below for 4.40. Publishing an Alpha and promoting the default installation channel are separate actions.
|
|
8
8
|
|
|
9
9
|
## Safety requirements
|
|
10
10
|
|
|
@@ -25,17 +25,17 @@ Check `dsh --version` before changing the requested profile. Use `dsh --help` to
|
|
|
25
25
|
| `0.1.0-rc.7` | `0.1.0-alpha.4.14` |
|
|
26
26
|
| `0.1.1-rc.2` | `0.1.0-alpha.4.21` |
|
|
27
27
|
| `0.1.2-alpha.2` | `0.1.0-alpha.4.23` |
|
|
28
|
-
| `0.1.2-rc.1` | `0.1.0-alpha.4.
|
|
28
|
+
| `0.1.2-rc.1` | `0.1.0-alpha.4.40` |
|
|
29
29
|
| `0.1.2-alpha.5` | `0.1.0-alpha.4.25` |
|
|
30
|
-
| `0.1.5-alpha.1` | `0.1.0-alpha.4.
|
|
31
|
-
| `0.1.5-rc.1` | `0.1.0-alpha.4.
|
|
32
|
-
| `0.1.5-rc.2` | `0.1.0-alpha.4.
|
|
30
|
+
| `0.1.5-alpha.1` | `0.1.0-alpha.4.40` |
|
|
31
|
+
| `0.1.5-rc.1` | `0.1.0-alpha.4.40` |
|
|
32
|
+
| `0.1.5-rc.2` | `0.1.0-alpha.4.40` |
|
|
33
33
|
|
|
34
34
|
If your exact DSH version is unknown or not listed, preserve the installed host, report that the combination is unverified, and verify it before making installation changes. A missing record does not prove incompatibility, and the catalog's latest verified DSH version is not the latest upstream release. Do not recommend upgrading or downgrading DSH merely to match a row. Investigate any specific failure and seek verification of the installed combination. Do not blindly install `dsh-codex-connect@alpha`: `alpha` is a moving tag, not a compatibility guarantee. Do not infer support for newer DSH versions from these rows.
|
|
35
35
|
|
|
36
|
-
Alpha 4.
|
|
36
|
+
Alpha 4.40 requires one consistent DSH plugin API version: `0.1.2-rc.1` with `@earendil-works/pi-ai` `^0.84.2`, or one of `0.1.5-alpha.1`, `0.1.5-rc.1`, and `0.1.5-rc.2` with pi-ai `0.85.1`; Node.js remains `^22.19.0 || >=24.0.0`. Mixed host versions and other DSH/pi-ai combinations remain unverified. Alpha 4.25 remains the verified choice for DSH `0.1.2-alpha.5`, Alpha 4.23 remains the verified choice for DSH `0.1.2-alpha.2`, Alpha 4.21 remains the verified choice for DSH `0.1.1-rc.2`, and staying on DSH `0.1.0-rc.7` means selecting Alpha 4.14. Changing DSH is a separate operation requiring the user's explicit request; a plugin update request does not authorize it. The repository's `pnpm --silent run check:compatibility` remains a strict development/release dependency gate, not a recommendation to change a user's host.
|
|
37
37
|
|
|
38
|
-
The Alpha 4.
|
|
38
|
+
The Alpha 4.40 recommendation follows successful exact-release main CI on Node 22 and 24 (1,282 unit tests each), 52 Chromium tests, and a four-host same-artifact installation matrix. After npm processing completed, the [recovery verification](https://github.com/franksong2702/dsh-codex-connect/actions/runs/35809194145) matched the public npm archive byte-for-byte to the original verified release artifact, then created the matching Git tag and GitHub prerelease. The [original release run](https://github.com/franksong2702/dsh-codex-connect/actions/runs/35808472911) remains failed because npm's public readback was not available within its bounded retry period; do not rerun publication. These are synthetic-provider installation/lifecycle checks, not new real-account acceptance or a newly exercised published-package upgrade. Native context management and task-level model control remain opt-in. Stock DSH 0.1.6-alpha.1 and alpha.2 remain undeclared; their separate compatibility trackers are not broadened by this release.
|
|
39
39
|
|
|
40
40
|
Historical Alpha 4.35 evidence (not relabeled as 4.37):
|
|
41
41
|
|
|
@@ -64,10 +64,10 @@ Alpha 4.33 omits the `modelErrors` profile field required by RC model packages,
|
|
|
64
64
|
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.23
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
For DSH `0.1.2-rc.1`, `0.1.5-alpha.1`, `0.1.5-rc.1`, or `0.1.5-rc.2`, use Alpha 4.
|
|
67
|
+
For DSH `0.1.2-rc.1`, `0.1.5-alpha.1`, `0.1.5-rc.1`, or `0.1.5-rc.2`, use Alpha 4.40:
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.
|
|
70
|
+
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.40
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
For DSH `0.1.2-alpha.5`, use Alpha 4.25:
|
|
@@ -76,7 +76,7 @@ Alpha 4.33 omits the `modelErrors` profile field required by RC model packages,
|
|
|
76
76
|
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.25
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
If npm is unavailable after the matching GitHub prerelease is created, use `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.21'` only for the DSH `0.1.1-rc.2` combination, `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.23'` only for the DSH `0.1.2-alpha.2` combination, `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.25'` only for the DSH `0.1.2-alpha.5` combination, or `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.
|
|
79
|
+
If npm is unavailable after the matching GitHub prerelease is created, use `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.21'` only for the DSH `0.1.1-rc.2` combination, `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.23'` only for the DSH `0.1.2-alpha.2` combination, `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.25'` only for the DSH `0.1.2-alpha.5` combination, or `dsh plugin --profile web add 'github:franksong2702/dsh-codex-connect#v0.1.0-alpha.4.40'` only for the DSH `0.1.2-rc.1`, `0.1.5-alpha.1`, `0.1.5-rc.1`, or `0.1.5-rc.2` combinations.
|
|
80
80
|
|
|
81
81
|
3. Run `dsh web --help` once to compose the installed profile without starting the server. DSH `0.1.2-rc.1` prepares profile plugin dependency fallback during this step.
|
|
82
82
|
4. Run `dsh --profile web --dump-config` and require exactly one `llm-openai-codex` row loading `dsh-codex-connect`.
|
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# git hash-object README.md docs/README.zh.md
|
|
5
|
-
README.md:
|
|
6
|
-
docs/README.zh.md:
|
|
5
|
+
README.md: de5caa049cdea46800dca79f9c18c00983d1e4c6
|
|
6
|
+
docs/README.zh.md: 4e6ee736540e88f22939a08287df88706c5bb18f
|
package/README.md
CHANGED
|
@@ -16,17 +16,17 @@ This guide describes the published pairings below. Check `dsh --version` first a
|
|
|
16
16
|
|
|
17
17
|
| Requirement | Verified pairing |
|
|
18
18
|
|---|---|
|
|
19
|
-
| Codex Connect | `0.1.0-alpha.4.
|
|
19
|
+
| Codex Connect | `0.1.0-alpha.4.40` |
|
|
20
20
|
| DeepSeek Harness | `0.1.2-rc.1`, `0.1.5-alpha.1`, `0.1.5-rc.1`, or `0.1.5-rc.2` |
|
|
21
21
|
| Node.js | `^22.19.0 \|\| >=24.0.0` |
|
|
22
22
|
| Account | ChatGPT OAuth with access to the requested Codex model; availability is decided by OpenAI |
|
|
23
23
|
|
|
24
|
-
As of 2026-09-
|
|
24
|
+
As of 2026-09-23, npm `alpha` points to 4.40 while `latest` intentionally remains on 4.34. Use the exact version below for 4.40; this recommendation does not promote the default installation channel.
|
|
25
25
|
|
|
26
26
|
### 1. Install
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.
|
|
29
|
+
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.40
|
|
30
30
|
dsh web
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -65,7 +65,9 @@ dsh plugin --profile web exec dsh-codex-connect doctor --json
|
|
|
65
65
|
|
|
66
66
|
## Optional capabilities
|
|
67
67
|
|
|
68
|
-
**
|
|
68
|
+
**New in Alpha 4.40:** task-level model control is off by default. After explicit task authorization, GPT-5.6 Sol/Medium starts the task, and the active model may continue, change effort, or hand off the main task within the granted scope. The task shares one request ledger and budget; stopping, manual takeover, and restart recovery retain the grant boundary. Phase 2 read-only delegation requires separate consent and does not grant workers write access. These are opt-in task capabilities, not parallel Think/Split/Remember switches. See [Phase 1](docs/experiments/adaptive-task-phase1.md) and [Phase 2 consent](docs/experiments/adaptive-task-phase2-consent.md).
|
|
69
|
+
|
|
70
|
+
Alpha 4.40 also supplies `gpt-6-sol` and `gpt-6-luna` when older provider catalogs omit them, retaining native metadata when present. Both expose Low through Max (including Xhigh); Default omits an explicit effort. Codex Sol's Ultra orchestration mode is not implemented. New task grants can explicitly include these models, but existing grants, GPT-5.6 Sol/Medium startup and Luna Reserve remain unchanged. A catalog entry is not proof of account access. See [compatibility scope and validation](docs/experiments/gpt6-sol-luna-compatibility.md).
|
|
69
71
|
|
|
70
72
|
All options below are off on a fresh installation. Edit them in **Settings → Plugins → Plugin configuration → Codex Connect** or **Settings → Models → Openai-Codex → More settings**, then select **Save changes**. A conflict or failed save preserves your draft.
|
|
71
73
|
|
package/docs/README.zh.md
CHANGED
|
@@ -16,17 +16,17 @@ Codex Connect 为标准 Harness agent loop 添加 `openai-codex` 模型提供方
|
|
|
16
16
|
|
|
17
17
|
| 要求 | 已验证组合 |
|
|
18
18
|
|---|---|
|
|
19
|
-
| Codex Connect | `0.1.0-alpha.4.
|
|
19
|
+
| Codex Connect | `0.1.0-alpha.4.40` |
|
|
20
20
|
| DeepSeek Harness | `0.1.2-rc.1`、`0.1.5-alpha.1`、`0.1.5-rc.1` 或 `0.1.5-rc.2` |
|
|
21
21
|
| Node.js | `^22.19.0 \|\| >=24.0.0` |
|
|
22
22
|
| 账户 | 通过 ChatGPT OAuth 使用所请求的 Codex 模型;可用性由 OpenAI 决定 |
|
|
23
23
|
|
|
24
|
-
截至 2026-09-
|
|
24
|
+
截至 2026-09-23,npm `alpha` 指向 4.40,`latest` 则有意保留在 4.34。安装 4.40 请使用下方精确版本命令;文档推荐更新不代表默认安装渠道已提升。
|
|
25
25
|
|
|
26
26
|
### 1. 安装
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.
|
|
29
|
+
dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.40
|
|
30
30
|
dsh web
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -65,7 +65,9 @@ dsh plugin --profile web exec dsh-codex-connect doctor --json
|
|
|
65
65
|
|
|
66
66
|
## 可选能力
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
**Alpha 4.40 新增:**任务级模型安排默认关闭。用户明确授予任务权限后,由 GPT-5.6 Sol/Medium 起步;当前模型可以在授权范围内继续、调档或交接主任务。请求共用同一任务账本与预算;停止、手动接管和重启恢复都保留授权边界。Phase 2 的只读委派需要单独同意,不会给委派工作者写入权限。它们是按任务开启的能力,不是并列的 Think/Split/Remember 开关。参见 [Phase 1](experiments/adaptive-task-phase1.md) 与 [Phase 2 同意边界](experiments/adaptive-task-phase2-consent.md)。
|
|
69
|
+
|
|
70
|
+
Alpha 4.40 还会在旧提供方目录缺失时补充 `gpt-6-sol` 和 `gpt-6-luna`,已有原生定义时保留其元数据。两者提供 Low 到 Max(含 Xhigh),Default 不指定推理档位;尚未实现 Codex Sol 的 Ultra 编排模式。新任务可明确授权使用它们,但已有授权、GPT-5.6 Sol/Medium 起步与 Luna Reserve 不变。模型出现在目录中不代表账户具有调用资格。参见[兼容范围与验证](experiments/gpt6-sol-luna-compatibility.md)。
|
|
69
71
|
|
|
70
72
|
以下选项在新安装时全部关闭。请在 **设置 → 插件 → 插件配置 → Codex Connect** 或 **设置 → 模型 → Openai-Codex → 更多设置** 中编辑,再点击 **保存更改**。发生冲突或保存失败时会保留草稿。
|
|
71
73
|
|
package/lib/bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as DSH_PLUGIN_API_PACKAGES, B as isSupportedDshPluginApiVersion, Ft as prepareOpenAICodexBackendHeaders, Gt as OpenAICodexCredentialStore, It as loginOpenAICodex, Kt as openAICodexAuthPath, Lt as logoutOpenAICodex, Pt as openAICodexModelCatalog, Rt as openAICodexAuthStatus, V as readInstalledPackageVersion, Wt as OPENAI_CODEX_PROVIDER, c as migrateOpenAICodexSearchHistory, d as OPENAI_CODEX_BASE_URL, jt as normalizeOpenAICodexProxyUrl, l as CODEX_AUTO_REVIEW_MODEL, nt as OpenAICodexTrustedOriginsStore, rt as normalizeTrustedOrigin, u as probeCodexAutoReview, x as CODEX_CONNECT_VERSION, y as diagnoseOpenAICodex, z as evaluateCompatibility, zt as publicAuthError } from "./src-
|
|
2
|
+
import { A as DSH_PLUGIN_API_PACKAGES, B as isSupportedDshPluginApiVersion, Ft as prepareOpenAICodexBackendHeaders, Gt as OpenAICodexCredentialStore, It as loginOpenAICodex, Kt as openAICodexAuthPath, Lt as logoutOpenAICodex, Pt as openAICodexModelCatalog, Rt as openAICodexAuthStatus, V as readInstalledPackageVersion, Wt as OPENAI_CODEX_PROVIDER, c as migrateOpenAICodexSearchHistory, d as OPENAI_CODEX_BASE_URL, jt as normalizeOpenAICodexProxyUrl, l as CODEX_AUTO_REVIEW_MODEL, nt as OpenAICodexTrustedOriginsStore, rt as normalizeTrustedOrigin, u as probeCodexAutoReview, x as CODEX_CONNECT_VERSION, y as diagnoseOpenAICodex, z as evaluateCompatibility, zt as publicAuthError } from "./src-BWvQQwSp.js";
|
|
3
3
|
import { i as fetch, r as ProxyAgent, t as Agent } from "./undici-runtime-H2uktiw6.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
import { realpathSync } from "node:fs";
|
package/lib/client.js
CHANGED
|
@@ -6547,7 +6547,7 @@ window.__ModuleLoader__.load({
|
|
|
6547
6547
|
}
|
|
6548
6548
|
//#endregion
|
|
6549
6549
|
//#region src/version.ts
|
|
6550
|
-
const CODEX_CONNECT_VERSION = "0.1.0-alpha.4.
|
|
6550
|
+
const CODEX_CONNECT_VERSION = "0.1.0-alpha.4.41";
|
|
6551
6551
|
//#endregion
|
|
6552
6552
|
//#region src/client/OpenAICodexModelsCard.tsx
|
|
6553
6553
|
/** Compact Models account entry with quota disclosure and shared configuration. */
|
|
@@ -7035,11 +7035,12 @@ window.__ModuleLoader__.load({
|
|
|
7035
7035
|
title: "Models for this task",
|
|
7036
7036
|
loading: "Reading current state…",
|
|
7037
7037
|
unavailable: "Task controls are unavailable. No setting has been changed.",
|
|
7038
|
-
intro: "Start this new conversation with GPT-5.6 Sol / Medium.
|
|
7038
|
+
intro: "Start this new conversation with GPT-5.6 Sol / Medium. Only that pair is selected by default. Choose additional models and effort levels below if you want it to adjust effort or hand off later.",
|
|
7039
7039
|
boundary: "This applies to this conversation only, including follow-up messages until you take over. It grants no new file, command, publishing or subagent permissions. Other settings and conversations stay unchanged.",
|
|
7040
7040
|
budget: "Request limit (whole task)",
|
|
7041
7041
|
resources: "This counts reserved Codex requests, including failures. It is not a spending or subscription quota cap. A lost request may still be counted.",
|
|
7042
7042
|
models: "Allowed main models and effort levels",
|
|
7043
|
+
scope: "Main model and effort allowed if started now: ",
|
|
7043
7044
|
eligibility: "Model capability is from the installed adapter. Your account eligibility has not been probed; an unavailable model will not be silently replaced. Existing search, image and review tools retain their own model settings and permissions; attributable Codex requests share this limit.",
|
|
7044
7045
|
start: "Start with these limits",
|
|
7045
7046
|
manual: "Take over manually",
|
|
@@ -7068,11 +7069,12 @@ window.__ModuleLoader__.load({
|
|
|
7068
7069
|
title: "这项任务怎么选模型",
|
|
7069
7070
|
loading: "正在读取当前状态…",
|
|
7070
7071
|
unavailable: "当前环境暂不可用,未更改任何设置。",
|
|
7071
|
-
intro: "这段新会话从 GPT-5.6 Sol / Medium
|
|
7072
|
+
intro: "这段新会话从 GPT-5.6 Sol / Medium 开始,默认只选择这一组合。如需之后自行调档或交接,请在下方明确勾选其他模型与档位。",
|
|
7072
7073
|
boundary: "仅作用于这段会话,后续消息继续计入,直到你切回手动。不会新增文件、命令、发布或子任务权限,也不会改动其他功能或会话。",
|
|
7073
7074
|
budget: "整项任务的请求上限",
|
|
7074
7075
|
resources: "统计已预留的 Codex 请求,包含失败请求;不是金额或订阅额度上限。结果未知的请求也可能占用次数。",
|
|
7075
7076
|
models: "允许使用的主模型与档位",
|
|
7077
|
+
scope: "现在开始将授权的主模型与档位:",
|
|
7076
7078
|
eligibility: "能力来自已安装的适配器,尚未探测你的账户资格。模型不可用时会报明原因,不会偷偷换成其他模型。已有搜索、图片和审查工具沿用各自的模型设置及权限;可归属的 Codex 请求共用此上限。",
|
|
7077
7079
|
start: "按这些范围开始",
|
|
7078
7080
|
manual: "切回手动",
|
|
@@ -7167,8 +7169,8 @@ window.__ModuleLoader__.load({
|
|
|
7167
7169
|
if (token !== generation.current || operation.signal.aborted) return;
|
|
7168
7170
|
setState(decoded);
|
|
7169
7171
|
setFailed(false);
|
|
7170
|
-
setEfforts((previous) => Object.keys(previous).length ? previous :
|
|
7171
|
-
setModels((previous) => previous.length ? previous :
|
|
7172
|
+
setEfforts((previous) => Object.keys(previous).length ? previous : { [ADAPTIVE_TASK_START.model]: [ADAPTIVE_TASK_START.effort] });
|
|
7173
|
+
setModels((previous) => previous.length ? previous : [ADAPTIVE_TASK_START.model]);
|
|
7172
7174
|
} catch {
|
|
7173
7175
|
if (token === generation.current) {
|
|
7174
7176
|
setFailed(true);
|
|
@@ -7326,6 +7328,30 @@ window.__ModuleLoader__.load({
|
|
|
7326
7328
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: text.intro }),
|
|
7327
7329
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: text.boundary }),
|
|
7328
7330
|
!state.canStart ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: text.newOnly }) : null,
|
|
7331
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
7332
|
+
"aria-live": "polite",
|
|
7333
|
+
style: { overflowWrap: "anywhere" },
|
|
7334
|
+
children: [text.scope, models.map((model) => `${model}: ${(efforts[model] ?? []).join(", ") || "—"}`).join("; ")]
|
|
7335
|
+
}),
|
|
7336
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
7337
|
+
style: {
|
|
7338
|
+
display: "block",
|
|
7339
|
+
paddingBlock: 10
|
|
7340
|
+
},
|
|
7341
|
+
children: [text.budget, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
7342
|
+
"aria-label": text.budget,
|
|
7343
|
+
type: "number",
|
|
7344
|
+
min: 1,
|
|
7345
|
+
max: 200,
|
|
7346
|
+
value: maximum,
|
|
7347
|
+
disabled: busy,
|
|
7348
|
+
onChange: (event) => setMaximum(Number(event.target.value)),
|
|
7349
|
+
style: {
|
|
7350
|
+
width: 80,
|
|
7351
|
+
marginInlineStart: 12
|
|
7352
|
+
}
|
|
7353
|
+
})]
|
|
7354
|
+
}),
|
|
7329
7355
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", { children: [
|
|
7330
7356
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("summary", { children: text.models }),
|
|
7331
7357
|
state.capabilities.map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
@@ -7361,25 +7387,6 @@ window.__ModuleLoader__.load({
|
|
|
7361
7387
|
}))
|
|
7362
7388
|
}), effort]
|
|
7363
7389
|
}, effort))] }, item.model)),
|
|
7364
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
7365
|
-
style: {
|
|
7366
|
-
display: "block",
|
|
7367
|
-
paddingBlock: 10
|
|
7368
|
-
},
|
|
7369
|
-
children: [text.budget, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
7370
|
-
"aria-label": text.budget,
|
|
7371
|
-
type: "number",
|
|
7372
|
-
min: 1,
|
|
7373
|
-
max: 200,
|
|
7374
|
-
value: maximum,
|
|
7375
|
-
disabled: busy,
|
|
7376
|
-
onChange: (event) => setMaximum(Number(event.target.value)),
|
|
7377
|
-
style: {
|
|
7378
|
-
width: 80,
|
|
7379
|
-
marginInlineStart: 12
|
|
7380
|
-
}
|
|
7381
|
-
})]
|
|
7382
|
-
}),
|
|
7383
7390
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: text.eligibility })
|
|
7384
7391
|
] })
|
|
7385
7392
|
] }) : null,
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as OPENAI_CODEX_FAST_MODE_MAX_SESSIONS, A as DSH_PLUGIN_API_PACKAGES, At as isValidOpenAICodexProxyUrl, Bt as OPENAI_CODEX_ACCOUNT_LIMIT, C as checkForOpenAICodexUpdate, Ct as DEFAULT_OPENAI_CODEX_SEARCH_MODE, D as COMPATIBILITY_CONTRACT, Dt as decodeOpenAICodexSettings, E as parseOpenAICodexVersion, Et as OPENAI_CODEX_SETTINGS_NAMESPACE, F as SUPPORTED_NODE_RANGE, G as OPENAI_CODEX_PROXY_CANDIDATE_LIMIT, Gt as OpenAICodexCredentialStore, H as OPENAI_CODEX_PROXY_DETECT_PATH, Ht as OPENAI_CODEX_AUTH_FILENAME, I as SUPPORTED_PI_AI_RANGE, It as loginOpenAICodex, J as OpenAICodexProxyManager, K as OPENAI_CODEX_PROXY_PROBE_TIMEOUT_MS, Kt as openAICodexAuthPath, L as assessCompatibility, Lt as logoutOpenAICodex, M as SUPPORTED_DSH_PLUGIN_API_RANGE, Mt as resolveOpenAICodexProxyUrl, N as SUPPORTED_DSH_PLUGIN_API_VERSION, Nt as resolveOpenAICodexSettings, O as COMPATIBILITY_PACKAGES, Ot as isValidOpenAICodexContextWindowOverrides, P as SUPPORTED_DSH_PLUGIN_API_VERSIONS, Q as FastModeRegistry, R as detectCompatibility, Rt as openAICodexAuthStatus, S as OPENAI_CODEX_UPDATE_PATH, St as DEFAULT_OPENAI_CODEX_SEARCH_MAX_OUTPUT_TOKENS, T as parseOpenAICodexUpdateResult, Tt as DEFAULT_OPENAI_CODEX_SETTINGS, U as OPENAI_CODEX_PROXY_TEST_PATH, Ut as OPENAI_CODEX_AUTH_V1_BACKUP_SUFFIX, Vt as OPENAI_CODEX_AUTH_DOCUMENT_LIMIT, W as OPENAI_CODEX_LOCAL_PROXY_CANDIDATES, Wt as OPENAI_CODEX_PROVIDER, X as listOpenAICodexProxyCandidates, Y as detectOpenAICodexProxies, Z as OPENAI_CODEX_FAST_MODE_PATH, _ as IMAGE_GENERATE_TOOL_NAME, _t as OpenAICodexTransportError, a as name, at as parseOpenAICodexUsage, b as openAICodexConflictMessage, bt as DEFAULT_OPENAI_CODEX_PROXY_URL, c as migrateOpenAICodexSearchHistory, ct as OPENAI_CODEX_IMAGE_MAX_COUNT, d as OPENAI_CODEX_BASE_URL, dt as OPENAI_CODEX_IMAGE_PROMPT_MAX_LENGTH, et as OPENAI_CODEX_FAST_MODE_MAX_SESSION_ID_LENGTH, f as OPENAI_CODEX_SEARCH_PROVIDER, ft as OPENAI_CODEX_IMAGE_REQUEST_TIMEOUT_MS, g as VIEW_IMAGE_TOOL_NAME, gt as OpenAICodexTransport, h as mapOpenAICodexSearchResponse, ht as OPENAI_CODEX_TRANSPORT_SERVICE, i as inject, it as OPENAI_CODEX_USAGE_URL, j as PI_AI_PACKAGE, k as COMPATIBILITY_SCHEMA_VERSION, kt as isValidOpenAICodexImageModelHint, lt as OPENAI_CODEX_IMAGE_MAX_ERROR_BYTES, m as OpenAICodexSearchProvider, mt as OPENAI_CODEX_TRANSPORT_ERROR_CODES, n as OPENAI_CODEX_SETTINGS_NS, o as OPENAI_CODEX_HISTORY_BACKUP_SUFFIX, ot as readOpenAICodexRateLimits, p as OPENAI_CODEX_SEARCH_URL, pt as OPENAI_CODEX_TRANSPORT_API_VERSION, q as OPENAI_CODEX_PROXY_PROBE_URL, r as apply, s as OPENAI_CODEX_SEARCH_MODEL_REQUEST_EVENT, st as OPENAI_CODEX_IMAGE_GENERATION_URL, t as Config, tt as isFastModeSessionId, ut as OPENAI_CODEX_IMAGE_MAX_RESPONSE_BYTES, v as assertNoOpenAICodexProviderConflict, vt as isOpenAICodexTransportError, w as compareOpenAICodexVersions, wt as DEFAULT_OPENAI_CODEX_SEARCH_MODEL, xt as DEFAULT_OPENAI_CODEX_SEARCH_CONTEXT_SIZE, y as diagnoseOpenAICodex, yt as DEFAULT_OPENAI_CODEX_IMAGE_MODEL_HINT, z as evaluateCompatibility } from "./src-
|
|
1
|
+
import { $ as OPENAI_CODEX_FAST_MODE_MAX_SESSIONS, A as DSH_PLUGIN_API_PACKAGES, At as isValidOpenAICodexProxyUrl, Bt as OPENAI_CODEX_ACCOUNT_LIMIT, C as checkForOpenAICodexUpdate, Ct as DEFAULT_OPENAI_CODEX_SEARCH_MODE, D as COMPATIBILITY_CONTRACT, Dt as decodeOpenAICodexSettings, E as parseOpenAICodexVersion, Et as OPENAI_CODEX_SETTINGS_NAMESPACE, F as SUPPORTED_NODE_RANGE, G as OPENAI_CODEX_PROXY_CANDIDATE_LIMIT, Gt as OpenAICodexCredentialStore, H as OPENAI_CODEX_PROXY_DETECT_PATH, Ht as OPENAI_CODEX_AUTH_FILENAME, I as SUPPORTED_PI_AI_RANGE, It as loginOpenAICodex, J as OpenAICodexProxyManager, K as OPENAI_CODEX_PROXY_PROBE_TIMEOUT_MS, Kt as openAICodexAuthPath, L as assessCompatibility, Lt as logoutOpenAICodex, M as SUPPORTED_DSH_PLUGIN_API_RANGE, Mt as resolveOpenAICodexProxyUrl, N as SUPPORTED_DSH_PLUGIN_API_VERSION, Nt as resolveOpenAICodexSettings, O as COMPATIBILITY_PACKAGES, Ot as isValidOpenAICodexContextWindowOverrides, P as SUPPORTED_DSH_PLUGIN_API_VERSIONS, Q as FastModeRegistry, R as detectCompatibility, Rt as openAICodexAuthStatus, S as OPENAI_CODEX_UPDATE_PATH, St as DEFAULT_OPENAI_CODEX_SEARCH_MAX_OUTPUT_TOKENS, T as parseOpenAICodexUpdateResult, Tt as DEFAULT_OPENAI_CODEX_SETTINGS, U as OPENAI_CODEX_PROXY_TEST_PATH, Ut as OPENAI_CODEX_AUTH_V1_BACKUP_SUFFIX, Vt as OPENAI_CODEX_AUTH_DOCUMENT_LIMIT, W as OPENAI_CODEX_LOCAL_PROXY_CANDIDATES, Wt as OPENAI_CODEX_PROVIDER, X as listOpenAICodexProxyCandidates, Y as detectOpenAICodexProxies, Z as OPENAI_CODEX_FAST_MODE_PATH, _ as IMAGE_GENERATE_TOOL_NAME, _t as OpenAICodexTransportError, a as name, at as parseOpenAICodexUsage, b as openAICodexConflictMessage, bt as DEFAULT_OPENAI_CODEX_PROXY_URL, c as migrateOpenAICodexSearchHistory, ct as OPENAI_CODEX_IMAGE_MAX_COUNT, d as OPENAI_CODEX_BASE_URL, dt as OPENAI_CODEX_IMAGE_PROMPT_MAX_LENGTH, et as OPENAI_CODEX_FAST_MODE_MAX_SESSION_ID_LENGTH, f as OPENAI_CODEX_SEARCH_PROVIDER, ft as OPENAI_CODEX_IMAGE_REQUEST_TIMEOUT_MS, g as VIEW_IMAGE_TOOL_NAME, gt as OpenAICodexTransport, h as mapOpenAICodexSearchResponse, ht as OPENAI_CODEX_TRANSPORT_SERVICE, i as inject, it as OPENAI_CODEX_USAGE_URL, j as PI_AI_PACKAGE, k as COMPATIBILITY_SCHEMA_VERSION, kt as isValidOpenAICodexImageModelHint, lt as OPENAI_CODEX_IMAGE_MAX_ERROR_BYTES, m as OpenAICodexSearchProvider, mt as OPENAI_CODEX_TRANSPORT_ERROR_CODES, n as OPENAI_CODEX_SETTINGS_NS, o as OPENAI_CODEX_HISTORY_BACKUP_SUFFIX, ot as readOpenAICodexRateLimits, p as OPENAI_CODEX_SEARCH_URL, pt as OPENAI_CODEX_TRANSPORT_API_VERSION, q as OPENAI_CODEX_PROXY_PROBE_URL, r as apply, s as OPENAI_CODEX_SEARCH_MODEL_REQUEST_EVENT, st as OPENAI_CODEX_IMAGE_GENERATION_URL, t as Config, tt as isFastModeSessionId, ut as OPENAI_CODEX_IMAGE_MAX_RESPONSE_BYTES, v as assertNoOpenAICodexProviderConflict, vt as isOpenAICodexTransportError, w as compareOpenAICodexVersions, wt as DEFAULT_OPENAI_CODEX_SEARCH_MODEL, xt as DEFAULT_OPENAI_CODEX_SEARCH_CONTEXT_SIZE, y as diagnoseOpenAICodex, yt as DEFAULT_OPENAI_CODEX_IMAGE_MODEL_HINT, z as evaluateCompatibility } from "./src-BWvQQwSp.js";
|
|
2
2
|
export { COMPATIBILITY_CONTRACT, COMPATIBILITY_PACKAGES, COMPATIBILITY_SCHEMA_VERSION, Config, DEFAULT_OPENAI_CODEX_IMAGE_MODEL_HINT, DEFAULT_OPENAI_CODEX_PROXY_URL, DEFAULT_OPENAI_CODEX_SEARCH_CONTEXT_SIZE, DEFAULT_OPENAI_CODEX_SEARCH_MAX_OUTPUT_TOKENS, DEFAULT_OPENAI_CODEX_SEARCH_MODE, DEFAULT_OPENAI_CODEX_SEARCH_MODEL, DEFAULT_OPENAI_CODEX_SETTINGS, DSH_PLUGIN_API_PACKAGES, FastModeRegistry, FastModeRegistry as OpenAICodexFastModeRegistry, IMAGE_GENERATE_TOOL_NAME, OPENAI_CODEX_ACCOUNT_LIMIT, OPENAI_CODEX_AUTH_DOCUMENT_LIMIT, OPENAI_CODEX_AUTH_FILENAME, OPENAI_CODEX_AUTH_V1_BACKUP_SUFFIX, OPENAI_CODEX_BASE_URL, OPENAI_CODEX_FAST_MODE_MAX_SESSIONS, OPENAI_CODEX_FAST_MODE_MAX_SESSION_ID_LENGTH, OPENAI_CODEX_FAST_MODE_PATH, OPENAI_CODEX_HISTORY_BACKUP_SUFFIX, OPENAI_CODEX_IMAGE_GENERATION_URL, OPENAI_CODEX_IMAGE_MAX_COUNT, OPENAI_CODEX_IMAGE_MAX_ERROR_BYTES, OPENAI_CODEX_IMAGE_MAX_RESPONSE_BYTES, OPENAI_CODEX_IMAGE_PROMPT_MAX_LENGTH, OPENAI_CODEX_IMAGE_REQUEST_TIMEOUT_MS, OPENAI_CODEX_LOCAL_PROXY_CANDIDATES, OPENAI_CODEX_PROVIDER, OPENAI_CODEX_PROXY_CANDIDATE_LIMIT, OPENAI_CODEX_PROXY_DETECT_PATH, OPENAI_CODEX_PROXY_PROBE_TIMEOUT_MS, OPENAI_CODEX_PROXY_PROBE_URL, OPENAI_CODEX_PROXY_TEST_PATH, OPENAI_CODEX_SEARCH_MODEL_REQUEST_EVENT, OPENAI_CODEX_SEARCH_PROVIDER, OPENAI_CODEX_SEARCH_URL, OPENAI_CODEX_SETTINGS_NAMESPACE, OPENAI_CODEX_SETTINGS_NS, OPENAI_CODEX_TRANSPORT_API_VERSION, OPENAI_CODEX_TRANSPORT_ERROR_CODES, OPENAI_CODEX_TRANSPORT_SERVICE, OPENAI_CODEX_UPDATE_PATH, OPENAI_CODEX_USAGE_URL, OpenAICodexCredentialStore, OpenAICodexProxyManager, OpenAICodexSearchProvider, OpenAICodexTransport, OpenAICodexTransportError, PI_AI_PACKAGE, SUPPORTED_DSH_PLUGIN_API_RANGE, SUPPORTED_DSH_PLUGIN_API_VERSION, SUPPORTED_DSH_PLUGIN_API_VERSIONS, SUPPORTED_NODE_RANGE, SUPPORTED_PI_AI_RANGE, VIEW_IMAGE_TOOL_NAME, apply, assertNoOpenAICodexProviderConflict, assessCompatibility, checkForOpenAICodexUpdate, compareOpenAICodexVersions, decodeOpenAICodexSettings, detectCompatibility, detectOpenAICodexProxies, diagnoseOpenAICodex, evaluateCompatibility, inject, isFastModeSessionId, isOpenAICodexTransportError, isValidOpenAICodexContextWindowOverrides, isValidOpenAICodexImageModelHint, isValidOpenAICodexProxyUrl, listOpenAICodexProxyCandidates, loginOpenAICodex, logoutOpenAICodex, mapOpenAICodexSearchResponse, migrateOpenAICodexSearchHistory, name, openAICodexAuthPath, openAICodexAuthStatus, openAICodexConflictMessage, parseOpenAICodexUpdateResult, parseOpenAICodexUsage, parseOpenAICodexVersion, readOpenAICodexRateLimits, resolveOpenAICodexProxyUrl, resolveOpenAICodexSettings };
|
|
@@ -5277,7 +5277,7 @@ function registerOpenAICodexOriginalImageRoute(ctx, trustedOrigins, assets) {
|
|
|
5277
5277
|
}
|
|
5278
5278
|
//#endregion
|
|
5279
5279
|
//#region src/version.ts
|
|
5280
|
-
const CODEX_CONNECT_VERSION = "0.1.0-alpha.4.
|
|
5280
|
+
const CODEX_CONNECT_VERSION = "0.1.0-alpha.4.41";
|
|
5281
5281
|
//#endregion
|
|
5282
5282
|
//#region src/doctor.ts
|
|
5283
5283
|
/** Secret-free diagnostics and duplicate-provider guidance. */
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dsh-codex-connect",
|
|
3
3
|
"displayName": "Codex Connect",
|
|
4
4
|
"description": "ChatGPT OAuth and Codex models for DeepSeek Harness.",
|
|
5
|
-
"version": "0.1.0-alpha.4.
|
|
5
|
+
"version": "0.1.0-alpha.4.41",
|
|
6
6
|
"author": "Frank Song",
|
|
7
7
|
"contributors": [
|
|
8
8
|
"Yan-Zero (original dsh-codex author)"
|