dsh-codex-subscription 2.5.3 → 2.5.4
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.en.md +1 -1
- package/README.md +1 -1
- package/lib/client.js +1 -1
- package/lib/index.js +5 -4
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -105,7 +105,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
|
|
|
105
105
|
2. Paste this package name, with its version, into the **Package name or address** field:
|
|
106
106
|
|
|
107
107
|
```text
|
|
108
|
-
dsh-codex-subscription@2.5.
|
|
108
|
+
dsh-codex-subscription@2.5.4
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
|
package/README.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -8685,7 +8685,7 @@ window.__ModuleLoader__.load({
|
|
|
8685
8685
|
}
|
|
8686
8686
|
//#endregion
|
|
8687
8687
|
//#region src/version.js
|
|
8688
|
-
const PACKAGE_VERSION = "2.5.
|
|
8688
|
+
const PACKAGE_VERSION = "2.5.4";
|
|
8689
8689
|
//#endregion
|
|
8690
8690
|
//#region src/client-recovery.js
|
|
8691
8691
|
async function recoveryCall(rpc, endpoint, payload = {}, timeoutMs = 1e4) {
|
package/lib/index.js
CHANGED
|
@@ -2044,7 +2044,7 @@ function inheritedOriginalImageRef(session, assetId) {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
//#endregion
|
|
2046
2046
|
//#region src/version.js
|
|
2047
|
-
const PACKAGE_VERSION = "2.5.
|
|
2047
|
+
const PACKAGE_VERSION = "2.5.4";
|
|
2048
2048
|
const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
|
|
2049
2049
|
//#endregion
|
|
2050
2050
|
//#region src/codex-images.js
|
|
@@ -3634,9 +3634,9 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
3634
3634
|
const speedMode = resolveSpeedMode();
|
|
3635
3635
|
const serviceTier = speedMode === "ultrafast" && metadata?.supportsUltrafast === true ? ULTRAFAST_SERVICE_TIER : speedMode === "fast" && (metadata?.supportsFast ?? supportsCodexFastMode(model?.id)) ? FAST_SERVICE_TIER : void 0;
|
|
3636
3636
|
const inputImageDetail = normalizeInputImageDetail(resolveInputImageDetail());
|
|
3637
|
-
const onPayload = options
|
|
3637
|
+
const { temperature: _temperature, onPayload, ...rest } = options;
|
|
3638
3638
|
return {
|
|
3639
|
-
...
|
|
3639
|
+
...rest,
|
|
3640
3640
|
...textVerbosity === void 0 ? {} : { textVerbosity },
|
|
3641
3641
|
...serviceTier === void 0 ? {} : { serviceTier },
|
|
3642
3642
|
async onPayload(payload, requestModel) {
|
|
@@ -3651,8 +3651,9 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
3651
3651
|
const managed = compaction?.preparePayload(preferred, model?.contextWindow) ?? preferred;
|
|
3652
3652
|
const next = await onPayload?.(managed, requestModel);
|
|
3653
3653
|
const detailed = inputImageDetail === "auto" ? next ?? managed : withInputImageDetail(next ?? managed, inputImageDetail);
|
|
3654
|
+
const { temperature: _dropped, ...accepted } = detailed;
|
|
3654
3655
|
return {
|
|
3655
|
-
...
|
|
3656
|
+
...accepted,
|
|
3656
3657
|
...textVerbosity === void 0 ? {} : { text: {
|
|
3657
3658
|
...detailed.text ?? {},
|
|
3658
3659
|
verbosity: textVerbosity
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-codex-subscription",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"description": "Use ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images, and Fast mode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|