dsh-codex-subscription 2.5.3 → 2.5.5

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 CHANGED
@@ -63,7 +63,7 @@ Subscription access, model controls, quota management, and image creation in one
63
63
  | --- | --- | --- |
64
64
  | **Image generation** | Generate through your subscription and adjust available request model / quality options | Beta; on by default, can be disabled |
65
65
  | **Reference image editing** | Continue refining an image with references | Beta; on by default, can be disabled |
66
- | **Image viewing and download** | Zoom, pan, fit to window, and download verified originals | Built-in viewer; older images may only have previews |
66
+ | **Image viewing and download** | Completed images appear after the answer without expanding tool activity; zoom, pan, fit to window, and download verified originals | Built-in viewer; older images may only have previews |
67
67
  | **Region-based editing** | Mark regions, add notes, and continue editing with location references | Fills the composer for you to review and send |
68
68
  | **Manual canvas** | Choose an aspect ratio and draw with pen, pencil, marker, and erasers | Beta; canvas off by default |
69
69
  | **Shapes and text** | Draw lines, arrows, shapes, native curves, and editable text / objects | Available in the sketch canvas |
@@ -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.3
108
+ dsh-codex-subscription@2.5.5
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
@@ -63,7 +63,7 @@
63
63
  | --- | --- | --- |
64
64
  | **图片生成** | 通过订阅生成图片,调整可用的请求型号与质量 | Beta;默认开启,可关闭 |
65
65
  | **参考图编辑** | 带上参考图继续修改作品 | Beta;默认开启,可关闭 |
66
- | **图片查看与下载** | 缩放、拖动、适合窗口,下载校验后的原图 | 内置查看器,无需另装;旧图可能只有预览 |
66
+ | **图片查看与下载** | 完成的出图结果直接显示在回答后,无需展开工具过程;可缩放、拖动、适合窗口、下载校验后的原图 | 内置查看器,无需另装;旧图可能只有预览 |
67
67
  | **区域标注编辑** | 在图上圈定区域、填写备注,带定位参考继续编辑 | 回填输入框后由你确认发送 |
68
68
  | **手绘画板** | 选择画布比例,使用钢笔、铅笔、荧光笔及橡皮 | Beta;画板默认关闭 |
69
69
  | **形状与文字** | 绘制直线、箭头、形状、原生曲线,选中修改对象和文字 | 在草图画板中使用 |
@@ -105,7 +105,7 @@
105
105
  2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
106
106
 
107
107
  ```text
108
- dsh-codex-subscription@2.5.3
108
+ dsh-codex-subscription@2.5.5
109
109
  ```
110
110
 
111
111
  3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
package/lib/client.js CHANGED
@@ -778,7 +778,7 @@ window.__ModuleLoader__.load({
778
778
  id: context.id,
779
779
  kind: KIND,
780
780
  target: "chat",
781
- location: end.location,
781
+ location: { kind: "session" },
782
782
  anchorSeq,
783
783
  visibility: "visible",
784
784
  data: { blocks }
@@ -8685,7 +8685,7 @@ window.__ModuleLoader__.load({
8685
8685
  }
8686
8686
  //#endregion
8687
8687
  //#region src/version.js
8688
- const PACKAGE_VERSION = "2.5.3";
8688
+ const PACKAGE_VERSION = "2.5.5";
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.3";
2047
+ const PACKAGE_VERSION = "2.5.5";
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.onPayload;
3637
+ const { temperature: _temperature, onPayload, ...rest } = options;
3638
3638
  return {
3639
- ...options,
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
- ...detailed,
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",
3
+ "version": "2.5.5",
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",
@@ -103,6 +103,7 @@
103
103
  "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
104
104
  "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
105
105
  "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
106
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.0-rc.2",
106
107
  "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
107
108
  "@deepseek-ai/dsh-client-ui-model-selection": "0.2.0-rc.2",
108
109
  "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",