dsh-codex-subscription 1.2.1 → 1.2.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/AGENTS.md +5 -5
- package/lib/index.js +7 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -6,7 +6,7 @@ Use this guide when a user asks an Agent to install, update, verify, or remove
|
|
|
6
6
|
## Safety
|
|
7
7
|
|
|
8
8
|
- Confirm the target DSH installation and profile. Use `web` only when it is the user's target.
|
|
9
|
-
- Use the exact `1.2.
|
|
9
|
+
- Use the exact `1.2.2` package below; do not install a moving branch.
|
|
10
10
|
- Never print OAuth credentials, account IDs, authorization callbacks, or credential-store contents.
|
|
11
11
|
- Preserve the DSH profile, unrelated plugins, sessions, and saved sign-in.
|
|
12
12
|
- Do not start, stop, or restart DSH without explicit permission.
|
|
@@ -38,19 +38,19 @@ For an official DSH installation run through npm, keep the complete `npx` prefix
|
|
|
38
38
|
run command does not create a global `dsh` command:
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
npx -y @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add dsh-codex-subscription@1.2.
|
|
41
|
+
npx -y @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add dsh-codex-subscription@1.2.2
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
With an existing global `dsh` command:
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
|
-
dsh plugin --profile web add dsh-codex-subscription@1.2.
|
|
47
|
+
dsh plugin --profile web add dsh-codex-subscription@1.2.2
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
From a DSH-Portable folder:
|
|
51
51
|
|
|
52
52
|
```powershell
|
|
53
|
-
.\dsh.exe plugin --profile web add dsh-codex-subscription@1.2.
|
|
53
|
+
.\dsh.exe plugin --profile web add dsh-codex-subscription@1.2.2
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
Use the same `add` command to update or repair. This is the complete package-changing operation.
|
|
@@ -70,7 +70,7 @@ For DSH-Portable, replace `dsh` with `.\dsh.exe`. Static acceptance requires:
|
|
|
70
70
|
|
|
71
71
|
For the official npm route, run the same checks with `npx -y @deepseek-ai/dsh@0.1.1-rc.2` in place of `dsh`.
|
|
72
72
|
|
|
73
|
-
1. `dsh-codex-subscription` version `1.2.
|
|
73
|
+
1. `dsh-codex-subscription` version `1.2.2` appears exactly once.
|
|
74
74
|
2. `codex-subscription` appears exactly once in the composed config.
|
|
75
75
|
3. No unrelated plugin or profile was changed and DSH was not restarted.
|
|
76
76
|
|
package/lib/index.js
CHANGED
|
@@ -496,7 +496,7 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0 } = {
|
|
|
496
496
|
}
|
|
497
497
|
//#endregion
|
|
498
498
|
//#region src/version.js
|
|
499
|
-
const PACKAGE_VERSION = "1.2.
|
|
499
|
+
const PACKAGE_VERSION = "1.2.2";
|
|
500
500
|
const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
|
|
501
501
|
//#endregion
|
|
502
502
|
//#region src/codex-search.js
|
|
@@ -1055,6 +1055,9 @@ const LEGACY_CREDENTIAL_REF = credentialRef("WSL043_OPENAI_CODEX_OAUTH");
|
|
|
1055
1055
|
const CHANNEL = "/codex-subscription";
|
|
1056
1056
|
const WEB_ENTRY_ID = "web";
|
|
1057
1057
|
const DSH_SEARCH_PROVIDER_FALLBACK = "deepseek-official";
|
|
1058
|
+
const MAX_REQUEST_IMAGE_BYTES = 20 * 1024 * 1024;
|
|
1059
|
+
const REQUEST_IMAGE_PIXEL_BUDGET = 2048 * 2048;
|
|
1060
|
+
const REQUEST_IMAGE_MAX_BYTES = 1024 * 1024;
|
|
1058
1061
|
const publicError = (code, message) => ({
|
|
1059
1062
|
ok: false,
|
|
1060
1063
|
error: {
|
|
@@ -1165,6 +1168,9 @@ function apply(ctx) {
|
|
|
1165
1168
|
piProvider: provider,
|
|
1166
1169
|
configuredMaxTokens: /* @__PURE__ */ new Map(),
|
|
1167
1170
|
streamIdleTimeoutMs: 600 * 1e3,
|
|
1171
|
+
maxRequestImageBytes: MAX_REQUEST_IMAGE_BYTES,
|
|
1172
|
+
requestImagePixelBudget: REQUEST_IMAGE_PIXEL_BUDGET,
|
|
1173
|
+
requestImageMaxBytes: REQUEST_IMAGE_MAX_BYTES,
|
|
1168
1174
|
cacheRetention: "short",
|
|
1169
1175
|
transport: "sse"
|
|
1170
1176
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-codex-subscription",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "ChatGPT and Codex subscriptions for DeepSeek Harness with OAuth login, image generation, quota, and subscription web search",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|