dsh-codex-connect 0.1.0-alpha.4.41 → 0.1.0-alpha.4.43

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 CHANGED
@@ -1,10 +1,10 @@
1
1
  # Installation Runbook for CLI Agents
2
2
 
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`.
3
+ Published Alpha 4.41 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-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.
7
+ Channel snapshot on 2026-09-23: npm `alpha` points to `0.1.0-alpha.4.41`; `latest` remains on `0.1.0-alpha.4.40`. Use the exact-version commands below for 4.41. 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.40` |
28
+ | `0.1.2-rc.1` | `0.1.0-alpha.4.41` |
29
29
  | `0.1.2-alpha.5` | `0.1.0-alpha.4.25` |
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` |
30
+ | `0.1.5-alpha.1` | `0.1.0-alpha.4.41` |
31
+ | `0.1.5-rc.1` | `0.1.0-alpha.4.41` |
32
+ | `0.1.5-rc.2` | `0.1.0-alpha.4.41` |
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.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.
36
+ Alpha 4.41 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.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.
38
+ The Alpha 4.41 recommendation follows successful [exact-release main CI](https://github.com/franksong2702/dsh-codex-connect/actions/runs/35817909046) 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/35819017165) 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/35818489220) 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. Task-level model control remains opt-in; a new grant preselects only GPT-5.6 Sol / Medium and displays its scope and request limit before Start. Existing grants are not silently narrowed. 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.40:
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.41:
68
68
 
69
69
  ```sh
70
- dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.40
70
+ dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.41
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.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.
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.41'` 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/MIGRATION.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # Migrating from `dsh-codex`
2
2
 
3
+ ## Alpha 4.43 candidate: upgrade the Harness together
4
+
5
+ This candidate targets DeepSeek Harness `0.1.7-rc.1` only. Upgrade the Harness
6
+ and its profile runtime first, then install the matching Codex Connect release;
7
+ this candidate is not compatible with the previously declared `0.1.2-rc.1` or
8
+ `0.1.5` hosts. Keep the existing `llm-openai-codex` row and OAuth store. The DSH
9
+ settings lifecycle, message-source types, and native-compaction integration have
10
+ changed, but the migration does not require signing in again or editing
11
+ credentials. This candidate is not published; do not use a public install
12
+ command until its exact package/host pair is verified and released.
13
+ DSH `0.1.7-rc.1` also changes the Session log format. Migration of an active
14
+ task from the previously supported Harness versions to this target has not
15
+ passed acceptance; do not treat same-host task recovery below as proof of a
16
+ cross-Harness upgrade. Finish or safely stop active delegated tasks before
17
+ changing the Harness until that migration is verified.
18
+
19
+ ## Next release candidate: public task orchestration paused
20
+
21
+ Task-level automatic model selection and read-only delegation are being withheld
22
+ until maintainer acceptance. This change does not retroactively disable npm 4.41
23
+ or already-running installations. It takes effect only after the new package is
24
+ published, installed, and loaded.
25
+
26
+ A new ordinary conversation has no collaboration activation options. Cached
27
+ clients cannot start, resume, upgrade or authorize delegation through the closed
28
+ server route. On a supported same-version host, existing tasks keep authenticated
29
+ readback, Stop and manual takeover;
30
+ grants, original history and spent request counts are not deleted or reset.
31
+ Manual model selection (including GPT-6/Astra), accounts, existing optional tools
32
+ and native compaction settings are unchanged. Internal orchestration source and
33
+ tests remain, but there is no public setting or environment-variable escape hatch.
34
+ Reopening requires a separately reviewed source change and new build after
35
+ acceptance; per-task user authorization will still be required.
36
+
37
+ Before downgrading an existing delegated task, use the authenticated safety exits
38
+ and let the runtime verify cleanup and delivery. Do not delete the task ledger or
39
+ edit its counters to force recovery. Cross-device/new-cookie task ownership limits
40
+ remain unchanged.
41
+
42
+
3
43
  `dsh-codex-connect` uses the same provider id (`openai-codex`), OAuth filename (`.openai-codex-auth.json`), Cordis row id (`llm-openai-codex`), and browser auth routes for compatibility. The packages cannot be active together because Harness forbids duplicate provider adapters.
4
44
 
5
45
  1. Record the effective default model, search route, and `llm-openai-codex` config without reading any OAuth file.
package/NOTICE CHANGED
@@ -18,3 +18,9 @@ This product also includes OAuth login and refresh code from earendil-works/pi
18
18
  (@earendil-works/pi-ai 0.84.4), under the MIT license reproduced in
19
19
  docs/licenses/pi-ai-oauth.txt. JWT payload decoding, callback connection cleanup
20
20
  and structured refresh rejection handling are modified.
21
+
22
+ The standalone CLI bundles selected code from host and provider dependencies so
23
+ it can run from an isolated DSH plugin-exec process without copying host peers.
24
+ The bundled third-party package attributions and license texts are in
25
+ docs/licenses/standalone-cli.txt. Runtime plugin imports continue to use the
26
+ host's packages rather than these standalone CLI copies.
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: de5caa049cdea46800dca79f9c18c00983d1e4c6
6
- docs/README.zh.md: 4e6ee736540e88f22939a08287df88706c5bb18f
5
+ README.md: fa12308fc1124ec0edc183a088fcdff77323bc3a
6
+ docs/README.zh.md: 9ec30155f320aae3d9ed33d091304624ff70943b
package/README.md CHANGED
@@ -16,17 +16,19 @@ 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.40` |
19
+ | Codex Connect | `0.1.0-alpha.4.41` |
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-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.
24
+ As of 2026-09-23, npm `alpha` points to 4.41 while `latest` remains on 4.40. Use the exact version below for 4.41; publishing an Alpha and changing the default installation channel are separate actions.
25
+
26
+ Task-level model choice remains off until enabled for a new conversation. In 4.41, a new grant preselects only GPT-5.6 Sol / Medium and shows the exact scope and request limit before Start. Existing task grants are preserved; take over manually and start a new task to choose a narrower scope.
25
27
 
26
28
  ### 1. Install
27
29
 
28
30
  ```sh
29
- dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.40
31
+ dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.41
30
32
  dsh web
31
33
  ```
32
34
 
@@ -4,12 +4,13 @@
4
4
  "node": "^22.19.0 || >=24.0.0"
5
5
  },
6
6
  "dshPluginApi": {
7
- "version": "0.1.2-rc.1",
8
- "versions": ["0.1.2-rc.1", "0.1.5-alpha.1", "0.1.5-rc.1", "0.1.5-rc.2"],
7
+ "version": "0.1.7-rc.1",
8
+ "versions": ["0.1.7-rc.1"],
9
9
  "packages": [
10
10
  "@deepseek-ai/dsh-agent",
11
11
  "@deepseek-ai/dsh-atomic-write",
12
12
  "@deepseek-ai/dsh-attachment",
13
+ "@deepseek-ai/dsh-compaction",
13
14
  "@deepseek-ai/dsh-home-paths",
14
15
  "@deepseek-ai/dsh-host-webserver",
15
16
  "@deepseek-ai/dsh-invariants",
@@ -25,6 +26,6 @@
25
26
  },
26
27
  "piAi": {
27
28
  "package": "@earendil-works/pi-ai",
28
- "version": "^0.84.2 || 0.85.1"
29
+ "version": "0.85.1"
29
30
  }
30
31
  }
package/docs/README.zh.md CHANGED
@@ -16,17 +16,19 @@ Codex Connect 为标准 Harness agent loop 添加 `openai-codex` 模型提供方
16
16
 
17
17
  | 要求 | 已验证组合 |
18
18
  |---|---|
19
- | Codex Connect | `0.1.0-alpha.4.40` |
19
+ | Codex Connect | `0.1.0-alpha.4.41` |
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-23,npm `alpha` 指向 4.40,`latest` 则有意保留在 4.34。安装 4.40 请使用下方精确版本命令;文档推荐更新不代表默认安装渠道已提升。
24
+ 截至 2026-09-23,npm `alpha` 指向 4.41,`latest` 仍指向 4.40。安装 4.41 请使用下方精确版本命令;发布 Alpha 与提升默认安装渠道是两项独立操作。
25
+
26
+ 任务级模型选择仍需在新会话中主动开启。4.41 的新授权默认只选择 GPT-5.6 Sol / Medium,开始前会显示准确的模型范围和请求上限。已有任务授权不会被自动收窄;如需改用较窄范围,请先切回手动,再在新任务中选择。
25
27
 
26
28
  ### 1. 安装
27
29
 
28
30
  ```sh
29
- dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.40
31
+ dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.41
30
32
  dsh web
31
33
  ```
32
34
 
@@ -0,0 +1,9 @@
1
+ # DSH 0.1.7-rc.1 stock plugin-exec compatibility
2
+
3
+ The stock `dsh plugin ... exec` launcher runs the installed plugin command in a separate Node process without DSH's process-local profile resolver. Codex Connect's previous `bin` output shared an eagerly imported chunk with its runtime entry, so even `doctor` failed during ESM linking on the first inaccessible host peer, `@deepseek-ai/schemastery`. The peer was present in the exact host; adding a package declaration, copying host packages into the profile, or retrying authentication would not repair that lookup. The earlier DSH alpha.2 local launcher patch used a fallback operation removed by rc.1, so this release does not depend on that patch or an upstream change.
4
+
5
+ The command entry is now built separately and carries the libraries it needs in its own CLI output. The runtime entry still imports host peers externally, retaining Cordis and service identity. `doctor --install-anchor` reads version metadata relative to an explicitly named DSH `package.json` without loading host modules or returning the path; absent an anchor and visible peer metadata it reports `unknown`, not a false compatibility verdict. The isolated checker passes the exact host anchor to `doctor` and initializes DSH's own `PluginPackages` resolver before importing the installed runtime plugin. Neither checker creates manual peer links.
6
+
7
+ Standalone diagnostics read the Codex model catalog without importing the runtime adapter. That keeps DSH's other model adapters and pi-ai's unrelated provider loaders out of the published CLI; the package check rejects their generated chunks. The remaining CodeQL password-hash alert also existed on `main` as alert #23: Reserve hashes an account/user identity pair for a private return-target match, not a password or credential verifier. It cannot authorize a backend request without the freshly captured OAuth token and server response. Alert #23 was dismissed as a false positive with this specific rationale; security scanning remains enabled.
8
+
9
+ The exact stock DSH `0.1.7-rc.1` installation passed the Node 22 matrix using one packed plugin artifact. It verified ten prepared models, unchanged defaults, provider disposal, synthetic Reserve transitions, ten distinct native-compaction process phases across none/zstd, and synthetic image generation/download visibility; no real OAuth or provider request was made. The Node 22 complete source check passed 116 files and 1,307 tests; Chromium passed 60 tests. The source check under default Node 26 initially failed because that version rejects a probe's `--experimental-transform-types` option, while its sandboxed socket failures were caused by `listen EPERM`; the supported Node 22 host-permission run passed. The replacement installed Session gate targets rc.1 and verifies that the stock page shows the ordinary Composer without Task controls and that the signed Task route rejects activation. It does not claim migration of old Task grants across a Harness upgrade, real-account acceptance, merge, publication, or deployment.
@@ -0,0 +1,72 @@
1
+ # Pause public task orchestration pending maintainer acceptance
2
+
3
+ Status: **source-only draft; not merge-ready, published, deployed or a claim that existing public installations are disabled**.
4
+ Baseline: main `41f0fa50b41b129a57c761744fef5db0a80f5031`, inspected on 2026-09-23. This is independent of the channel-documentation-only PR #247.
5
+
6
+ ## Requested product boundary
7
+
8
+ Temporarily withdraw the public activation entry and options for task-level automatic model choice and read-only delegation until maintainer acceptance. Preserve their implementation and tests. Do not remove ordinary GPT-6/Astra/manual model selection, native compaction, accounts, or unrelated settings. No package publication, channel change, daily service operation or live-provider request is authorized by this PR.
9
+
10
+ ## Source implementation
11
+
12
+ - A shared, hard-closed source release decision (`ADAPTIVE_TASK_PUBLIC_RELEASE = false`), not another saved user setting. Browser input, old grants, URL parameters, environment variables and model output cannot open it. It is a distribution decision, not a substitute for the existing permission checks.
13
+ - The authenticated public HTTP route rejects `start`, `resume`, `upgrade` and `delegate-enable` before calling the runtime. This also covers stale browser bundles. Reads cannot advertise `canStart: true` while paused.
14
+ - Host authentication, principal binding, command decoding and runtime ownership checks remain in place. `manual`, `stop`, `delegate-disable` and `downgrade` still reach the existing authorization/lifecycle implementation. These are not unconditional grants to execute an exit.
15
+ - The published conversation contribution selects a recovery-only component while paused. A confirmed ordinary conversation renders no collaboration entry, model/effort selectors, request-limit input, Start, Resume or delegation consent. Existing tasks retain readback, Stop and manual takeover. A failed read retains only a recovery path and is not reported as confirmed off.
16
+ - Recovery performs one bounded initial read and explicit user-requested readbacks, with at most two additional GET attempts for the existing live-root-readiness error. There is no periodic polling and no POST retry. Session changes abort and discard stale responses. No task ledger, history, counter or prior grant is deleted or rewritten merely to hide the UI.
17
+ - The original full control and runtime remain available for a separately authorized internal validation build. Reopening public access requires a separate reviewed source change/build; it still does not create a task grant. No general-purpose production escape hatch is added.
18
+
19
+ ## Existing installations and activation state
20
+
21
+ A source PR cannot revoke a published npm archive or change an already running process. Merge, regenerated artifacts, a new approved release and user upgrade/restart are separate steps. Previously running 4.40/4.41 installations remain unchanged by this draft. Do not present UI removal as a remote kill switch.
22
+
23
+ Retain the existing runtime's interrupted-restoration/explicit-resume behavior; the public route now refuses that resume while paused. Upgrade/reload, old v1/v2 grants, already-running children, and manual takeover must be exercised on the actual installed new artifact before release. Do not assume that hiding controls proves runtime quiescence.
24
+
25
+ ## Verification performed in this editing environment
26
+
27
+ - 33 isolated assertions passed against the actual new policy module on Node 22.16.0 using Node type stripping: closed default, four rejected activation actions, four retained exits, strict boolean handling, unknown-command refusal, six preserved lifecycle states, immutable projection and preserved stopping diagnostics.
28
+ - TypeScript transpilation/syntax checks are recorded separately in the PR. They are not a repository typecheck.
29
+ - Added Vitest policy and real-handler unit tests with a stub Connection/runtime. These do not certify signed-cookie verification or full host behavior and have not been executed here.
30
+ - No credentials or real models were used. No user machine, 3080 or 3081 was modified.
31
+
32
+ The current conversation could not discover the previously used WebCodex execution tools. The isolated editing container has no repository dependencies and cannot resolve GitHub for clone/install. GitHub connector reads/writes remain available. These limitations are not test passes.
33
+
34
+ ## Mandatory work before leaving draft
35
+
36
+ 1. Regenerate and commit the matching `lib/` outputs with the repository's normal build; do not hand-patch generated bundles. Existing committed build bytes are deliberately still the baseline and are not a gate-closed distributable.
37
+ 2. Run the new Vitest suite, host/client typecheck, lint and full `pnpm run check`. Existing HTTP/installed-session scenarios that expect public activation must be split into default-closed admission/recovery checks and explicitly scoped internal acceptance; do not skip or globally enable tests to obtain green results.
38
+ 3. Add/run browser coverage for no entry on fresh conversations, only safety exits on v1/v2 sessions, delayed session readbacks, unknown state, lost POST replies/no replay, narrow-screen and bilingual controls. Run full browser regression and installed native Session checks against actual rebuilt bytes.
39
+ 4. Verify old grants and crash/reload recovery cannot auto-resume, retained counters/history and normal manual models work, and stock compatible hosts can install/start. Do not change existing host workarounds or daily profiles as part of this PR.
40
+ 5. Update prospective user-facing release/migration documentation without rewriting historical 4.40/4.41 facts. Preserve README bilingual consistency. Read exact-head CI before review/merge.
41
+
42
+ ## Reopening gate
43
+
44
+ After separately approved internal/live-account acceptance, use a second PR to propose reopening. Attach exact artifact/environment identity, default-closed non-regression, bounded real-model/handoff/delegation checks, stop/manual/restart results and user comprehension evidence. Quality or savings claims require their own task comparisons. Never equate a green synthetic test count with live acceptance.
45
+
46
+ ## Release completion follow-up (2026-09-23)
47
+
48
+ The maintainer authorized completing this PR, normal merge, a new Alpha publication,
49
+ and promotion of the verified package to npm latest. This is not authorization to
50
+ bypass CI, install on daily ports, or run a real provider experiment.
51
+
52
+ The old public HTTP expectations are now replaced by closed-route assertions and
53
+ explicit synthetic prior-task preparation. The actual product still refuses every
54
+ activation command. Runtime-only delegation tests retain their original coverage;
55
+ no environment or browser option opens the shipping gate. Recovery UI regression
56
+ covers both languages, phone width, bounded readiness, unknown state, stale-session
57
+ responses and lost manual-exit replies.
58
+
59
+ The installed checker uses the immutable public 4.41 archive (SHA-256
60
+ `0823648f3db055a8e12f7bdbac8b23de9d25d4b9f0c6c91794fe21dd3207ed81`) to create genuine
61
+ old grants in its owned temporary profile, then replaces only that fixture's
62
+ package with the candidate's verified bytes and restarts the owned host. All
63
+ credentials and model replies remain synthetic. This is an upgrade/recovery test,
64
+ not live account acceptance or daily-profile deployment. Its result must be read
65
+ from the exact candidate's CI; writing the checker does not mean it passed.
66
+
67
+ Local Node 22.19.0 complete check passed (116 files / 1,309 tests, typecheck, lint,
68
+ normal build, capability CLI, compatibility and package checks). This report does
69
+ not certify later edits or remote installation/browser gates. Local Chromium 144
70
+ navigation was blocked by the execution environment's browser policy before UI
71
+ acceptance; that run is not passing browser evidence and no policy was changed.
72
+ The repository's existing independent CI remains the merge gate.
@@ -0,0 +1,115 @@
1
+ Standalone CLI third-party notices
2
+
3
+ The generated lib/bin.js and its helper chunks include portions of the
4
+ packages listed below, except where marked as retained notices. The retained
5
+ notices cover dependencies bundled by earlier Alpha 4.43 candidates but
6
+ removed from the final standalone CLI. They do not change package licenses.
7
+
8
+ MIT-licensed packages:
9
+ - @deepseek-ai/dsh-atomic-write, dsh-home-paths, dsh-typert-protocol,
10
+ dsh-util-values, dsh-timeout, dsh-llm, and dsh-web: Copyright (c) 2026 DeepSeek.
11
+ - @deepseek-ai/cosmokit, @deepseek-ai/cordis, and
12
+ @deepseek-ai/schemastery: Copyright (c) 2021-present Shigma.
13
+ - @earendil-works/pi-ai: Copyright (c) 2025 Mario Zechner. Its OAuth
14
+ source notice is also retained in docs/licenses/pi-ai-oauth.txt.
15
+ - partial-json: Copyright (c) 2023 Promplate Dev Team.
16
+
17
+ Retained notices for packages no longer included in this CLI build:
18
+ - @deepseek-ai/dsh-attachment, dsh-llm-pi-ai, and dsh-compaction:
19
+ Copyright (c) 2026 DeepSeek (MIT).
20
+ - @anthropic-ai/sdk: Copyright 2023 Anthropic, PBC (MIT).
21
+ - @stablelib/base64: Copyright (C) 2016 Dmitry Chestnykh (MIT).
22
+ - standardwebhooks: Copyright Standard Webhooks (MIT).
23
+ - openai: Copyright OpenAI (Apache-2.0).
24
+ - neoqs: Copyright (c) 2014 Nathan LaFreniere and other contributors (BSD-3-Clause).
25
+ - zod-to-json-schema: Copyright (c) 2020 Stefan Terdell (ISC).
26
+ - fast-sha256: Unlicense.
27
+
28
+ MIT License
29
+
30
+ Permission is hereby granted, free of charge, to any person obtaining a copy
31
+ of this software and associated documentation files (the "Software"), to deal
32
+ in the Software without restriction, including without limitation the rights
33
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
34
+ copies of the Software, and to permit persons to whom the Software is
35
+ furnished to do so, subject to the following conditions:
36
+
37
+ The above copyright notice and this permission notice shall be included in all
38
+ copies or substantial portions of the Software.
39
+
40
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
41
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
42
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
43
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
44
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
45
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
46
+ SOFTWARE.
47
+
48
+ openai is Copyright OpenAI and is licensed under Apache-2.0; the full license
49
+ is included in this package's root LICENSE file.
50
+
51
+ The OpenAI and Anthropic SDKs include portions of neoqs, Copyright (c) 2014
52
+ Nathan LaFreniere and other contributors, under the BSD 3-Clause License:
53
+
54
+ Redistribution and use in source and binary forms, with or without
55
+ modification, are permitted provided that the following conditions are met:
56
+
57
+ 1. Redistributions of source code must retain the above copyright notice,
58
+ this list of conditions and the following disclaimer.
59
+ 2. Redistributions in binary form must reproduce the above copyright notice,
60
+ this list of conditions and the following disclaimer in the documentation
61
+ and/or other materials provided with the distribution.
62
+ 3. Neither the name of the copyright holder nor the names of its contributors
63
+ may be used to endorse or promote products derived from this software
64
+ without specific prior written permission.
65
+
66
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
67
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
68
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
69
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
70
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
71
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
72
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
73
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
74
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
75
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
76
+ POSSIBILITY OF SUCH DAMAGE.
77
+
78
+ The OpenAI SDK includes portions of zod-to-json-schema, Copyright (c) 2020
79
+ Stefan Terdell, under the ISC License:
80
+
81
+ Permission to use, copy, modify, and/or distribute this software for any
82
+ purpose with or without fee is hereby granted, provided that the above
83
+ copyright notice and this permission notice appear in all copies.
84
+
85
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
86
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
87
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
88
+ SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
89
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
90
+ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
91
+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
92
+
93
+ fast-sha256 1.3.0 is released under the Unlicense:
94
+
95
+ This is free and unencumbered software released into the public domain.
96
+
97
+ Anyone is free to copy, modify, publish, use, compile, sell, or distribute
98
+ this software, either in source code form or as a compiled binary, for any
99
+ purpose, commercial or non-commercial, and by any means.
100
+
101
+ In jurisdictions that recognize copyright laws, the author or authors of
102
+ this software dedicate any and all copyright interest in the software to the
103
+ public domain. We make this dedication for the benefit of the public at large
104
+ and to the detriment of our heirs and successors. We intend this dedication
105
+ to be an overt act of relinquishment in perpetuity of all present and future
106
+ rights to this software under copyright law.
107
+
108
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
109
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
110
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
111
+ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
112
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
113
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
114
+
115
+ For more information, please refer to <https://unlicense.org>.
@@ -1,4 +1,4 @@
1
1
  # Bilingual-pair consistency record for the operational reference. Re-record with:
2
2
  # git hash-object docs/reference.md docs/reference.zh.md
3
- docs/reference.md: b6d177da34691432d0c39c27644ef4b083af0d2a
4
- docs/reference.zh.md: 926b475eb378191b56b9de6c386b7a03a9292d30
3
+ docs/reference.md: c88cc935a90c206117a0497289f3fc885d61da85
4
+ docs/reference.zh.md: 57da6063a2ea2663fcbdd50168558b944ef54c0d
package/docs/reference.md CHANGED
@@ -142,6 +142,8 @@ Published Alpha 4.33 can fail to list or prepare Codex models on DSH `0.1.5-rc.1
142
142
 
143
143
  Run `dsh plugin --profile web exec dsh-codex-connect doctor --json` to inspect local installation metadata without a network request. Compatibility statuses mean: `compatible` matches the declared version requirements, not a behavioral test; `unverified` identifies package versions outside the declared support set; `unknown` means required version metadata is missing or unreadable; `incompatible` identifies a Node version outside the declared engine requirement. The aggregate prioritizes `incompatible`, then `unknown`, then `unverified`. Doctor exits `1` for any non-compatible result or unsafe credential-file metadata; this does not authorize or recommend changing DSH.
144
144
 
145
+ For DSH `0.1.7-rc.1`, `plugin exec` starts a separate process without exposing the host's peer packages to ordinary module resolution. Alpha 4.43's CLI is self-contained, so all commands can start in that process. To make `doctor` assess the exact host package versions, pass `--install-anchor` with the absolute path to that DSH installation's `@deepseek-ai/dsh/package.json`; the flag reads package metadata only and does not print the path. Without an anchor, `doctor` reports `unknown` if it cannot resolve those versions; that is not evidence of runtime incompatibility. The installed-runtime checker independently starts DSH's own profile resolver before importing the plugin, preserving host package identity.
146
+
145
147
  The normal update card checks only Codex Connect releases. It reuses successful plugin-version checks for up to 24 hours and retries unavailable checks every five minutes while mounted; a manual check bypasses the cache. It neither queries host compatibility nor recommends host upgrades or downgrades. An unlisted DSH/plugin combination requires verification, not an assumption of failure.
146
148
 
147
149
  ### Capability probes
@@ -142,6 +142,8 @@ Reserve 使用 Luna 目录中的 272,000 token 上下文窗口,不沿用原模
142
142
 
143
143
  运行 `dsh plugin --profile web exec dsh-codex-connect doctor --json` 可检查本地安装元数据,不会联网。兼容性状态含义:`compatible` 表示符合声明的版本要求,不是行为测试通过;`unverified` 表示包版本超出声明的支持集合;`unknown` 表示缺少必要版本元数据或无法读取;`incompatible` 表示 Node 版本不满足声明的 engine 要求。汇总状态依次优先采用 `incompatible`、`unknown`、`unverified`。任何非 compatible 结果或不安全的凭据文件元数据都会让 doctor 返回 `1`,但这并不授权或建议更改 DSH。
144
144
 
145
+ DSH `0.1.7-rc.1` 的 `plugin exec` 会启动独立进程,普通模块解析无法看见宿主的 peer 包。Alpha 4.43 的 CLI 自带所需代码,因此所有命令都能在该进程中启动。若要让 `doctor` 核对确切宿主包版本,给 `--install-anchor` 传入该 DSH 安装中 `@deepseek-ai/dsh/package.json` 的绝对路径;该选项只读包元数据,也不会输出路径。未提供 anchor 且无法解析版本时,`doctor` 报 `unknown`,不能据此认定运行时不兼容。安装运行时检查另行启动 DSH 自身的 profile 解析器后再导入插件,保持宿主包身份一致。
146
+
145
147
  常规更新卡片只检查 Codex Connect 发布版本。插件版本检查成功后最多缓存 24 小时,页面挂载期间每五分钟重试不可用的检查;手动检查会绕过缓存。它不会查询宿主兼容性,也不会建议升级或降级宿主。未列入记录的 DSH/plugin 组合需要验证,不能据此认定无法运行。
146
148
 
147
149
  ### 能力探针
@@ -0,0 +1,27 @@
1
+ # Codex Connect Alpha 4.42 — public orchestration paused
2
+
3
+ ## English
4
+
5
+ This release ships the publication gate from #248. New conversations no longer offer automatic task-level model choice or read-only delegation. The authenticated backend also rejects new activation, automatic resume, task upgrade and delegation enablement, including requests from cached older clients. This is a maintainer-controlled release pause, not another user preference.
6
+
7
+ Existing task history, grants and request counters are preserved. Existing-task controls retain state readback, Stop and manual takeover. Restart does not replay automatic work; users can take over manually and continue with the ordinary model picker. Manual GPT-6/Astra selection, account settings, other plugin features and native compaction are unchanged. Reopening requires a separately reviewed source change after maintainer acceptance.
8
+
9
+ The preceding #248 gate passed Node 22/24 checks, 1,309 unit tests, 60 browser tests, declared-host matrices and a seven-group installed synthetic upgrade from public 4.41. Release-candidate checks must independently validate the final 4.42 artifact. These tests do not establish real-account orchestration quality, quota savings, daily-profile acceptance or physical-mobile acceptance. Full installed-page acceptance uses baseline DSH 0.1.2-rc.1 with the documented dependency/installer pins; the separate runtime matrix covers all declared hosts.
10
+
11
+ After npm publication is independently confirmed, install this exact version on a declared compatible host:
12
+
13
+ ```sh
14
+ dsh plugin --profile web add dsh-codex-connect@0.1.0-alpha.4.42
15
+ ```
16
+
17
+ Preparing or publishing the package does not upgrade already-running installations. The npm `latest` channel is a separate, explicitly authorized promotion, not implied by `alpha` publication. See `MIGRATION.md` and `docs/experiments/adaptive-task-publication-gate.md` for existing-task recovery.
18
+
19
+ ## 中文
20
+
21
+ 本版交付 #248 的公开发布门禁:新会话不再显示任务级自动选模型和只读委派入口;后端也拒绝新开启、自动恢复、任务升级及启用委派,包括旧缓存页面发来的请求。这是维护者控制的发布暂停,不是另一个用户可以勾开的设置。
22
+
23
+ 已有任务的历史、授权和请求计数保留,仍可查看状态、停止任务和切回手动。重启不会自动重放任务;手动接管后可以继续通过普通模型选择器工作。GPT-6/Astra 手动选择、账户设置、其他插件功能与原生压缩不变。重新开放需在维护者验收后通过另一个明确评审的源码变更。
24
+
25
+ 此前 #248 已通过 Node 22/24、1,309 项单测、60 项浏览器测试、声明宿主矩阵,以及从公开 4.41 升级的七组实际安装模拟验收。最终 4.42 包还需独立通过发布候选检查。这些证据不代表真实账户协同质量、省额度、日常 profile 或实体手机验收。完整页面升级检查使用基线 DSH 0.1.2-rc.1 与已记录的依赖/安装器固定组合;独立运行时矩阵覆盖全部声明宿主。
26
+
27
+ 确认 npm 已发布后,可用上面的精确版本命令安装。准备或发布包不会自动升级正在运行的实例;`latest` 是另行明确授权的渠道提升,不随 `alpha` 发布自动完成。已有任务恢复说明见迁移文档与公开门禁文档。
@@ -0,0 +1,17 @@
1
+ # Codex Connect Alpha 4.43 — DSH 0.1.7-rc.1 compatibility
2
+
3
+ ## English
4
+
5
+ This candidate updates the plugin runtime and UI integration for DeepSeek Harness `0.1.7-rc.1`. It follows the new volatile configuration and settings-form lifecycle, current message-source types, and the native-compaction provider API. DSH `0.1.7-rc.1` is the target pairing, not a verified support claim; older DSH versions are not supported by this candidate.
6
+
7
+ Upgrade the Harness before installing the matching Codex Connect release. Existing provider configuration and OAuth credentials remain in place; signing in again is not required. This candidate has not been published, so the public installation recommendation remains unchanged.
8
+
9
+ The unmodified DSH `0.1.7-rc.1` installation now passes `plugin doctor` and the installed runtime check. DSH's [plugin-exec peer-resolution issue](https://github.com/deepseek-ai/deepseek-harness/discussions/5537) remains upstream, but this plugin's standalone CLI no longer needs those peers in that subprocess; the installed-runtime checker uses DSH's own profile resolver and leaves shared runtime imports external. An explicit DSH installation anchor gives `doctor` exact host version metadata without importing host code. The CLI bundle includes third-party notices and excludes unused non-Codex model providers. On Node 22, the local check passes 116 files and 1,307 tests, the Chromium suite passes 60 tests, and the exact stock-host install matrix passes with unchanged defaults, ten process-restart native-compaction phases, and synthetic image checks. The current-host installed Session check passed its paused-Task safety checks; old-task migration across a Harness upgrade remains unverified. The public installation recommendation remains on the published pair until this candidate is released.
10
+
11
+ ## 中文
12
+
13
+ 本候选版更新了插件运行时及界面集成,目标是 DeepSeek Harness `0.1.7-rc.1`:迁移到新的 volatile 配置与设置表单生命周期、当前消息来源类型和原生压缩 Provider API。`0.1.7-rc.1` 是目标组合,不代表已验证支持;本候选版不支持较旧的 DSH 版本。
14
+
15
+ 请先升级 Harness,再安装对应的 Codex Connect 版本。已有 Provider 配置和 OAuth 凭据会保留,无需重新登录。本候选版尚未发布,公开安装建议保持不变。
16
+
17
+ 未修改的 DSH `0.1.7-rc.1` 隔离安装现已通过 `plugin doctor` 和已安装运行时检查。上游的[插件命令 peer 解析问题](https://github.com/deepseek-ai/deepseek-harness/discussions/5537)仍存在,但本插件的独立 CLI 不再需要该子进程能解析宿主 peer;安装运行时检查使用 DSH 自身的 profile 解析器,插件运行时仍复用宿主包。显式 DSH 安装 anchor 可让 `doctor` 只读确切宿主版本,不加载宿主代码。CLI bundle 附带第三方许可说明,且不再打入未使用的非 Codex 模型供应商代码。在 Node 22 上,本地完整检查通过 116 个文件、1,307 项测试,Chromium 套件通过 60 项测试,原版宿主隔离安装矩阵通过,覆盖默认设置保持不变、10 个跨进程原生压缩阶段和合成图片检查。当前宿主的已安装 Session 暂停 Task 安全检查也已通过;跨 Harness 版本的旧任务迁移尚未验证。候选版发布前,公开安装建议仍指向已发布的组合。