dsh-interconnect 0.11.22 → 0.11.23
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/dsh.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-interconnect",
|
|
3
3
|
"description": "Cross-instance message/event handoff for DeepSeek Harness (DSH): WebSocket link, model-facing tools, and companion skill.",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.23",
|
|
5
5
|
"entry": {
|
|
6
6
|
"name": "dsh-interconnect/interconnect",
|
|
7
7
|
"inject": ["agents", "credentials"]
|
package/lib/index.js
CHANGED
|
@@ -1735,7 +1735,7 @@ function timingSafeEqual(a, b) {
|
|
|
1735
1735
|
return constantTimeEqual(createHash("sha256").update(a, "utf8").digest(), createHash("sha256").update(b, "utf8").digest());
|
|
1736
1736
|
}
|
|
1737
1737
|
function linkUrl(origin) {
|
|
1738
|
-
const url = new URL(
|
|
1738
|
+
const url = new URL(LINK_CHANNEL, origin);
|
|
1739
1739
|
if (url.protocol === "http:") url.protocol = "ws:";
|
|
1740
1740
|
else if (url.protocol === "https:") url.protocol = "wss:";
|
|
1741
1741
|
if (url.protocol !== "ws:" && url.protocol !== "wss:") {
|
|
@@ -1735,7 +1735,7 @@ function timingSafeEqual(a, b) {
|
|
|
1735
1735
|
return constantTimeEqual(createHash("sha256").update(a, "utf8").digest(), createHash("sha256").update(b, "utf8").digest());
|
|
1736
1736
|
}
|
|
1737
1737
|
function linkUrl(origin) {
|
|
1738
|
-
const url = new URL(
|
|
1738
|
+
const url = new URL(LINK_CHANNEL, origin);
|
|
1739
1739
|
if (url.protocol === "http:") url.protocol = "ws:";
|
|
1740
1740
|
else if (url.protocol === "https:") url.protocol = "wss:";
|
|
1741
1741
|
if (url.protocol !== "ws:" && url.protocol !== "wss:") {
|