dsh-codex-share 0.5.1 → 0.5.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/README.md +3 -3
- package/package.json +8 -14
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A DeepSeek Harness LLM adapter that uses the same ChatGPT subscription login as
|
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
6
|
|
|
7
|
-
- DeepSeek Harness `0.2.1-alpha.2` (earlier releases are no longer supported), with Node.js `^22.19.0 || >=24`.
|
|
7
|
+
- DeepSeek Harness `0.2.1-alpha.2` or `0.2.1-rc.2` and later 0.2 releases (earlier releases are no longer supported), with Node.js `^22.19.0 || >=24`. The Harness packages and pi-ai are peer dependencies: the plugin uses the Harness's own copies rather than installing its own.
|
|
8
8
|
- Codex CLI signed in with a ChatGPT account and configured for **file credential storage**. Run `codex login` and check `codex login status`. Codex must be able to read and update `$CODEX_HOME/auth.json` (default `~/.codex/auth.json`).
|
|
9
9
|
- The harness process must run as the same OS user, or have read access to that same credential file. A keyring-only Codex login is not supported.
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ Install the bundle into a harness profile:
|
|
|
16
16
|
dsh plugin --profile web add dsh-codex-share
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Versions up to 0.5.1 installed their own pinned copies of the Harness packages and pi-ai into the profile, which shadow the running Harness. After updating from those versions, `$DSH_HOME/profiles/web/node_modules/@deepseek-ai/` (default `~/.dsh/profiles/web/node_modules/@deepseek-ai/`) should no longer contain `dsh-llm` or `dsh-llm-pi-ai`; if it does, remove and re-add the plugin.
|
|
20
20
|
|
|
21
21
|
For development from this checkout, from its directory:
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ For development from this checkout, from its directory:
|
|
|
24
24
|
dsh plugin --profile web add .
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Restart the profile after installation or update. The bundle mounts one provider route, `openai-codex-local`, with the model catalog supplied by pi-ai 1.
|
|
27
|
+
Restart the profile after installation or update. The bundle mounts one provider route, `openai-codex-local`, with the model catalog supplied by the Harness's pi-ai 1.x, including GPT-6 Astra, Sol, and Luna, and GPT-6.1 Sol (`gpt-6.1-sol`). GPT-6.1 Luna is not listed in the current OpenAI or Codex catalogs; use `gpt-6-luna` for Luna. This route replaces the plugin's earlier `openai-codex` route, which collides with pi-ai's configurable provider directory; update any saved model selection to `openai-codex-local`. The plugin appears in **Settings → Plugins → Plugin list**. Open **Settings → Models** and use **Edit model IDs** in the OpenAI Codex row to add subscription model IDs (one per line). The IDs are saved as `additionalModelIds` on the `llm-codex-share` entry in the profile's `cordis.patch.yml` and take effect without a restart. The installed catalog remains available; clearing the additional IDs restores it. For example, enter a model ID that your account can use but the catalog does not list yet. An unrecognized ID can be listed, but requests to it will fail if the Codex endpoint rejects it. Select a listed model in the model picker or agent preset. For a local Codex home outside the default location, set the absolute `CODEX_HOME` path in the environment that launches the harness. Direct Cordis composition can configure `codexHome` on the `dsh-codex-share` plugin instead.
|
|
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-codex-share",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
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",
|
|
@@ -27,23 +27,17 @@
|
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
30
|
-
"@deepseek-ai/dsh-attachment": "0.2.1-alpha.2",
|
|
31
|
-
"@deepseek-ai/dsh-fs": "0.2.1-alpha.2",
|
|
32
|
-
"@deepseek-ai/dsh-
|
|
33
|
-
"@deepseek-ai/dsh-llm
|
|
34
|
-
"@deepseek-ai/
|
|
35
|
-
},
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
38
|
-
"@deepseek-ai/dsh-attachment": "0.2.1-alpha.2",
|
|
39
|
-
"@deepseek-ai/dsh-credentials": "0.2.1-alpha.2",
|
|
40
|
-
"@deepseek-ai/dsh-launch-environment": "0.2.1-alpha.2",
|
|
41
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.2",
|
|
42
|
-
"@deepseek-ai/dsh-llm-pi-ai": "0.2.1-alpha.2",
|
|
30
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-alpha.2 || ^0.2.1-rc.2",
|
|
31
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.2 || ^0.2.1-rc.2",
|
|
32
|
+
"@deepseek-ai/dsh-launch-environment": "0.2.1-alpha.2 || ^0.2.1-rc.2",
|
|
33
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.2 || ^0.2.1-rc.2",
|
|
34
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.2.1-alpha.2 || ^0.2.1-rc.2",
|
|
43
35
|
"@deepseek-ai/schemastery": "~3.18.5-alpha.1",
|
|
44
36
|
"@earendil-works/pi-ai": "^1.0.2"
|
|
45
37
|
},
|
|
46
38
|
"devDependencies": {
|
|
39
|
+
"@earendil-works/pi-ai": "1.1.0",
|
|
40
|
+
"@deepseek-ai/dsh-launch-environment": "link:../../deepseek-harness/packages/util/launch-environment",
|
|
47
41
|
"@deepseek-ai/cordis": "link:../../deepseek-harness/vendor/cordis",
|
|
48
42
|
"@deepseek-ai/dsh-api-remotes": "link:../../deepseek-harness/packages/api/remotes",
|
|
49
43
|
"@deepseek-ai/dsh-app-boot": "link:../../deepseek-harness/packages/boot/app-boot",
|