dsh-remote-bridge 2.8.1 → 2.8.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.en.md +2 -2
- package/README.md +2 -2
- package/docs/api/asyncapi.yaml +1 -1
- package/docs/api/openapi.yaml +2 -2
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
|
-
<img alt="Version" src="https://img.shields.io/badge/version-v2.8.
|
|
12
|
+
<img alt="Version" src="https://img.shields.io/badge/version-v2.8.2-087f8c">
|
|
13
13
|
<img alt="DSH plugin" src="https://img.shields.io/badge/DeepSeek_Harness-plugin-1f2328">
|
|
14
14
|
<img alt="Platforms" src="https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-586069">
|
|
15
15
|
<img alt="License" src="https://img.shields.io/badge/license-AGPL--3.0-2da44e">
|
|
@@ -402,7 +402,7 @@ inside the zero-change set, and 4 slots retained with 0 removed.
|
|
|
402
402
|
|
|
403
403
|
## Project
|
|
404
404
|
|
|
405
|
-
- Version: `v2.8.
|
|
405
|
+
- Version: `v2.8.2`
|
|
406
406
|
- **v2.7.1 is a defect-fix release**: the kernel's `sessionController.resolveAgent()` returns an
|
|
407
407
|
`{ agent }` / `{ error }` **envelope**, not the Agent itself (`dsh-api-session-controller/lib/index.js:365-368`
|
|
408
408
|
`liveAgent()` and `:221-246` `resolve()` both have that shape). The bridge used to hand the envelope
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
|
-
<img alt="Version" src="https://img.shields.io/badge/version-v2.8.
|
|
12
|
+
<img alt="Version" src="https://img.shields.io/badge/version-v2.8.2-087f8c">
|
|
13
13
|
<img alt="DSH plugin" src="https://img.shields.io/badge/DeepSeek_Harness-plugin-1f2328">
|
|
14
14
|
<img alt="Platforms" src="https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-586069">
|
|
15
15
|
<img alt="License" src="https://img.shields.io/badge/license-AGPL--3.0-2da44e">
|
|
@@ -433,7 +433,7 @@ DSH **0.2.1-rc.3** 隔离实例上**实跑验过**,不是静态推断:插件
|
|
|
433
433
|
|
|
434
434
|
## 项目信息
|
|
435
435
|
|
|
436
|
-
- 当前版本:`v2.8.
|
|
436
|
+
- 当前版本:`v2.8.2`
|
|
437
437
|
- **v2.7.1 是缺陷修复版**:内核 `sessionController.resolveAgent()` 返回的是 `{ agent }` / `{ error }`
|
|
438
438
|
**包装对象**而非 Agent 本体(`dsh-api-session-controller/lib/index.js:365-368` 的 `liveAgent()` 与
|
|
439
439
|
`:221-246` 的 `resolve()` 都是这个形状),桥此前把包装对象直接当 Agent 传给 `fileUploads.upload()`,
|
package/docs/api/asyncapi.yaml
CHANGED
package/docs/api/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.1.0
|
|
2
2
|
info:
|
|
3
3
|
title: DeepSeek Harness Mobile API
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.2
|
|
5
5
|
description: Versioned file and chat BFF for mobile and third-party DSH clients. HTTP and HTTPS are both supported.
|
|
6
6
|
servers:
|
|
7
7
|
- url: http://127.0.0.1:3090/api/v1
|
|
@@ -24,7 +24,7 @@ paths:
|
|
|
24
24
|
properties:
|
|
25
25
|
ok: { type: boolean, const: true }
|
|
26
26
|
version: { type: string, const: v1 }
|
|
27
|
-
pluginVersion: { type: string, const: 2.8.
|
|
27
|
+
pluginVersion: { type: string, const: 2.8.2 }
|
|
28
28
|
/debug/host-services:
|
|
29
29
|
get:
|
|
30
30
|
operationId: hostServices
|
package/lib/index.js
CHANGED
|
@@ -3294,7 +3294,7 @@ function createDsh02ApiProxy(host, options = {}) {
|
|
|
3294
3294
|
}
|
|
3295
3295
|
//#endregion
|
|
3296
3296
|
//#region src/shared/version.ts
|
|
3297
|
-
const PLUGIN_VERSION = "2.8.
|
|
3297
|
+
const PLUGIN_VERSION = "2.8.2";
|
|
3298
3298
|
//#endregion
|
|
3299
3299
|
//#region src/host/capabilities.ts
|
|
3300
3300
|
/**
|
|
@@ -4267,7 +4267,7 @@ var DshChatAdapter = class {
|
|
|
4267
4267
|
const key = approvalKey(payload.sessionId, payload.approvalId);
|
|
4268
4268
|
const previous = this.pendingApprovals.get(key);
|
|
4269
4269
|
this.pendingApprovals.set(key, {
|
|
4270
|
-
rpcId: frame.rpcId,
|
|
4270
|
+
rpcId: typeof payload.rpcId === "string" && payload.rpcId.length > 0 ? payload.rpcId : frame.rpcId,
|
|
4271
4271
|
sessionId: payload.sessionId,
|
|
4272
4272
|
approvalId: payload.approvalId,
|
|
4273
4273
|
toolName: redactApprovalText(payload.toolName, 120),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-remote-bridge",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2",
|
|
4
4
|
"description": "Versioned REST bridge for DeepSeek Harness: remote access for trusted clients (chat, files, devices) plus a Phone-settings panel inside the DSH WebUI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@11.19.0",
|