@opentiny/next 0.1.4 → 0.2.0
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.md +0 -343
- package/client.d.ts +16 -69
- package/client.js +536 -427
- package/package.json +1 -4
- package/server.d.ts +58 -3
- package/server.js +478 -273
package/server.js
CHANGED
|
@@ -1,308 +1,513 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { McpServer
|
|
3
|
-
import { Client
|
|
4
|
-
import { SSEServerTransport
|
|
5
|
-
import { StreamableHTTPServerTransport
|
|
6
|
-
import {
|
|
7
|
-
(function(
|
|
8
|
-
const
|
|
9
|
-
|
|
1
|
+
import _0x561361 from "jsonwebtoken";
|
|
2
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
|
+
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
4
|
+
import { SSEServerTransport } from "@modelcontextprotocol/sdk/server/sse.js";
|
|
5
|
+
import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
|
6
|
+
import { EmptyResultSchema, CreateMessageResultSchema, ListRootsResultSchema, isInitializeRequest } from "@modelcontextprotocol/sdk/types.js";
|
|
7
|
+
(function(_0x380907, _0x564c67) {
|
|
8
|
+
const _0x2cb38d = _0x1729, _0x20b6ee = _0x1729, _0x29c08f = _0x380907();
|
|
9
|
+
while (!![]) {
|
|
10
10
|
try {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})(S, 933784 + -67078 * -24 + 29 * -55563);
|
|
17
|
-
const B = async (x, t) => {
|
|
18
|
-
const e = I, s = { WozBV: e(225), Pimwt: e(231), LOJvz: e(265), lNMNy: e(255), cXYIj: e(270), YdiJb: e(244), jjDqR: "2.0", Excqw: function(g, _) {
|
|
19
|
-
return g !== _;
|
|
20
|
-
}, fUKXi: "initialize", gUnDe: function(g, _) {
|
|
21
|
-
return g !== _;
|
|
22
|
-
}, CfAez: e(249), HsHBa: e(263) };
|
|
23
|
-
let r;
|
|
24
|
-
const { id: c, method: l, params: d, result: u } = t;
|
|
25
|
-
if (l) {
|
|
26
|
-
switch (l) {
|
|
27
|
-
case "tools/list":
|
|
28
|
-
r = await x[e(238)][e(260)](d);
|
|
29
|
-
break;
|
|
30
|
-
case s[e(223)]:
|
|
31
|
-
r = await x[e(238)][e(241)](d);
|
|
32
|
-
break;
|
|
33
|
-
case e(240):
|
|
34
|
-
r = await x[e(238)][e(239)](d);
|
|
35
|
-
break;
|
|
36
|
-
case e(235):
|
|
37
|
-
r = await x._client[e(224)](d);
|
|
38
|
-
break;
|
|
39
|
-
case e(232):
|
|
40
|
-
r = await x[e(238)][e(234)](d);
|
|
41
|
-
break;
|
|
42
|
-
case s[e(248)]:
|
|
43
|
-
r = await x[e(238)][e(230)](d);
|
|
44
|
-
break;
|
|
45
|
-
case e(226):
|
|
46
|
-
r = await x[e(238)][e(269)](d);
|
|
47
|
-
break;
|
|
48
|
-
case s[e(233)]:
|
|
49
|
-
r = await x._client.getPrompt(d);
|
|
50
|
-
break;
|
|
51
|
-
case s[e(261)]:
|
|
52
|
-
r = await x._client[e(272)](d);
|
|
53
|
-
break;
|
|
54
|
-
case s[e(267)]:
|
|
55
|
-
r = await x._client.ping();
|
|
56
|
-
break;
|
|
57
|
-
case "completion/complete":
|
|
58
|
-
r = await x[e(238)][e(258)](d);
|
|
59
|
-
break;
|
|
60
|
-
case s.YdiJb:
|
|
61
|
-
r = await x._client.setLoggingLevel(d.level);
|
|
62
|
-
break;
|
|
63
|
-
}
|
|
64
|
-
r ? await x[e(250)]({ result: r, jsonrpc: s.jjDqR, id: c }) : s[e(262)](l, s[e(242)]) && s[e(256)](l, s.CfAez) && (s[e(262)](l, s[e(245)]) || d[e(227)]) && await x[e(238)].notification({ method: l, params: d });
|
|
65
|
-
} else u && !u.protocolVersion && (await x._client._transport[e(250)](t), r = u);
|
|
66
|
-
return r;
|
|
67
|
-
};
|
|
68
|
-
function I(x, t) {
|
|
69
|
-
const e = S();
|
|
70
|
-
return I = function(s, r) {
|
|
71
|
-
return s = s - (-3 * -41 + 1 * 1390 + 15 * -86), e[s];
|
|
72
|
-
}, I(x, t);
|
|
73
|
-
}
|
|
74
|
-
const L = (x) => {
|
|
75
|
-
const t = I, e = { TdUvk: function(r, c, l) {
|
|
76
|
-
return r(c, l);
|
|
77
|
-
}, JIDse: function(r, c) {
|
|
78
|
-
return r === c;
|
|
79
|
-
} }, s = x.onmessage;
|
|
80
|
-
if (!s[t(236)]) {
|
|
81
|
-
async function r(c, l) {
|
|
82
|
-
const d = t;
|
|
83
|
-
if (x[d(238)]) {
|
|
84
|
-
let u;
|
|
85
|
-
try {
|
|
86
|
-
u = await e[d(247)](B, x, c);
|
|
87
|
-
} catch {
|
|
88
|
-
}
|
|
89
|
-
if (e[d(271)](u, void 0) && s) try {
|
|
90
|
-
s[d(251)](x, c, l);
|
|
91
|
-
} catch {
|
|
92
|
-
}
|
|
93
|
-
}
|
|
11
|
+
const _0x511e43 = -parseInt(_0x2cb38d(218)) / (-1209 * 6 + -6046 + 13301) + parseInt(_0x2cb38d(204)) / (-111 + 5807 + -6 * 949) + -parseInt(_0x20b6ee(165)) / (13 * 273 + -950 + -2596 * 1) + parseInt(_0x2cb38d(175)) / (5482 * -1 + 6139 + -1 * 653) * (parseInt(_0x2cb38d(205)) / (4977 + 5762 + -10734)) + -parseInt(_0x2cb38d(216)) / (4296 + -7752 + -1731 * -2) + -parseInt(_0x2cb38d(214)) / (-7175 + -9142 * -1 + 28 * -70) * (-parseInt(_0x20b6ee(222)) / (-5673 * 1 + 11 + -567 * -10)) + -parseInt(_0x20b6ee(203)) / (9453 + 4645 + -14089) * (-parseInt(_0x20b6ee(177)) / (1680 + 190 * -21 + 2320));
|
|
12
|
+
if (_0x511e43 === _0x564c67) break;
|
|
13
|
+
else _0x29c08f["push"](_0x29c08f["shift"]());
|
|
14
|
+
} catch (_0x47ffc9) {
|
|
15
|
+
_0x29c08f["push"](_0x29c08f["shift"]());
|
|
94
16
|
}
|
|
95
|
-
r[t(236)] = !0, x[t(253)] = r;
|
|
96
17
|
}
|
|
18
|
+
})(_0x2bb6, 616857 * 1 + -538382 + -157 * -1634);
|
|
19
|
+
const forwardServerRequest = async (_0x38f342, _0x5c31e1, _0x47e0f5) => {
|
|
20
|
+
var _a;
|
|
21
|
+
const _0x5685cd = _0x1729, _0x3f5014 = _0x1729, _0x3b346b = {};
|
|
22
|
+
_0x3b346b["jTsSS"] = _0x5685cd(221), _0x3b346b["txHAo"] = _0x5685cd(220), _0x3b346b["YwnOd"] = _0x5685cd(200), _0x3b346b[_0x5685cd(159)] = "resources/read", _0x3b346b[_0x3f5014(150)] = "resources/subscribe", _0x3b346b["GyXRT"] = "prompts/get", _0x3b346b[_0x3f5014(173)] = "prompts/list", _0x3b346b["nMMQX"] = "ping", _0x3b346b[_0x3f5014(190)] = _0x5685cd(170);
|
|
23
|
+
const _0x4913ce = _0x3b346b, { id: _0x3d950d, method: _0x4a075f, params: _0x29f20d } = _0x47e0f5;
|
|
24
|
+
let _0x1558a8 = {};
|
|
25
|
+
switch (_0x4a075f) {
|
|
26
|
+
case _0x4913ce["jTsSS"]:
|
|
27
|
+
_0x1558a8 = await _0x5c31e1["listTools"](_0x29f20d);
|
|
28
|
+
break;
|
|
29
|
+
case _0x4913ce[_0x5685cd(155)]:
|
|
30
|
+
_0x1558a8 = await _0x5c31e1[_0x3f5014(156)](_0x29f20d);
|
|
31
|
+
break;
|
|
32
|
+
case _0x4913ce[_0x5685cd(180)]:
|
|
33
|
+
_0x1558a8 = await _0x5c31e1[_0x5685cd(186)](_0x29f20d);
|
|
34
|
+
break;
|
|
35
|
+
case _0x3f5014(160):
|
|
36
|
+
_0x1558a8 = await _0x5c31e1[_0x5685cd(209)](_0x29f20d);
|
|
37
|
+
break;
|
|
38
|
+
case _0x4913ce[_0x5685cd(159)]:
|
|
39
|
+
_0x1558a8 = await _0x5c31e1["readResource"](_0x29f20d);
|
|
40
|
+
break;
|
|
41
|
+
case _0x4913ce[_0x3f5014(150)]:
|
|
42
|
+
_0x1558a8 = await _0x5c31e1["subscribeResource"](_0x29f20d);
|
|
43
|
+
break;
|
|
44
|
+
case "resources/unsubscribe":
|
|
45
|
+
_0x1558a8 = await _0x5c31e1["unsubscribeResource"](_0x29f20d);
|
|
46
|
+
break;
|
|
47
|
+
case _0x4913ce["GyXRT"]:
|
|
48
|
+
_0x1558a8 = await _0x5c31e1[_0x5685cd(171)](_0x29f20d);
|
|
49
|
+
break;
|
|
50
|
+
case _0x4913ce[_0x3f5014(173)]:
|
|
51
|
+
_0x1558a8 = await _0x5c31e1["listPrompts"](_0x29f20d);
|
|
52
|
+
break;
|
|
53
|
+
case _0x4913ce[_0x3f5014(164)]:
|
|
54
|
+
_0x1558a8 = await _0x5c31e1[_0x3f5014(149)]();
|
|
55
|
+
break;
|
|
56
|
+
case _0x4913ce["vAWLj"]:
|
|
57
|
+
_0x1558a8 = await _0x5c31e1["complete"](_0x29f20d);
|
|
58
|
+
break;
|
|
59
|
+
case "logging/setLevel":
|
|
60
|
+
_0x1558a8 = await _0x5c31e1["setLoggingLevel"](_0x29f20d == null ? void 0 : _0x29f20d["level"]);
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
const _0x1da6fd = {};
|
|
64
|
+
_0x1da6fd[_0x3f5014(183)] = _0x1558a8, _0x1da6fd["jsonrpc"] = _0x3f5014(153), _0x1da6fd["id"] = _0x3d950d, await ((_a = _0x38f342 == null ? void 0 : _0x38f342[_0x3f5014(163)]) == null ? void 0 : _a["send"](_0x1da6fd));
|
|
65
|
+
}, forwardClientRequest = async (_0x13e1b6, _0xd8917, _0x3c06d5) => {
|
|
66
|
+
var _a;
|
|
67
|
+
const _0x15d6b7 = _0x1729, _0x27963a = _0x1729, _0x4644f9 = {};
|
|
68
|
+
_0x4644f9["msjXw"] = "ping", _0x4644f9[_0x15d6b7(182)] = _0x27963a(153);
|
|
69
|
+
const _0x1d0093 = _0x4644f9, { id: _0x4f9e14, method: _0x31b3ac, params: _0x79a7f9 } = _0x3c06d5;
|
|
70
|
+
let _0x3c95df = {};
|
|
71
|
+
switch (_0x31b3ac) {
|
|
72
|
+
case _0x27963a(194):
|
|
73
|
+
const _0x41a3f6 = {};
|
|
74
|
+
_0x41a3f6[_0x27963a(169)] = _0x31b3ac, _0x41a3f6["params"] = _0x79a7f9, _0x3c95df = await _0xd8917["request"](_0x41a3f6, ListRootsResultSchema);
|
|
75
|
+
break;
|
|
76
|
+
case _0x27963a(208):
|
|
77
|
+
const _0x363b3d = {};
|
|
78
|
+
_0x363b3d[_0x15d6b7(169)] = _0x31b3ac, _0x363b3d["params"] = _0x79a7f9, _0x3c95df = await _0xd8917[_0x15d6b7(154)](_0x363b3d, CreateMessageResultSchema);
|
|
79
|
+
break;
|
|
80
|
+
case _0x1d0093[_0x15d6b7(211)]:
|
|
81
|
+
const _0x4b0df3 = {};
|
|
82
|
+
_0x4b0df3[_0x15d6b7(169)] = _0x31b3ac, _0x3c95df = await _0xd8917[_0x15d6b7(154)](_0x4b0df3, EmptyResultSchema);
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
const _0x263e6c = {};
|
|
86
|
+
_0x263e6c[_0x15d6b7(183)] = _0x3c95df, _0x263e6c[_0x15d6b7(189)] = _0x1d0093["kyFqM"], _0x263e6c["id"] = _0x4f9e14, await ((_a = _0x13e1b6 == null ? void 0 : _0x13e1b6[_0x15d6b7(163)]) == null ? void 0 : _a["send"](_0x263e6c));
|
|
97
87
|
};
|
|
98
|
-
function
|
|
99
|
-
const
|
|
100
|
-
return
|
|
101
|
-
|
|
102
|
-
|
|
88
|
+
function _0x1729(_0x2f4487, _0x1e4a83) {
|
|
89
|
+
const _0xc834fa = _0x2bb6();
|
|
90
|
+
return _0x1729 = function(_0x3d9018, _0x261552) {
|
|
91
|
+
_0x3d9018 = _0x3d9018 - (2092 + -4949 + -18 * -167);
|
|
92
|
+
let _0x2280ec = _0xc834fa[_0x3d9018];
|
|
93
|
+
return _0x2280ec;
|
|
94
|
+
}, _0x1729(_0x2f4487, _0x1e4a83);
|
|
103
95
|
}
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
const forwardServerOnRequest = (_0x5189ed, _0x5b9d08) => {
|
|
97
|
+
const _0x1cb482 = _0x1729, _0x8eab03 = { "dPVeS": function(_0x44fae2, _0x2db3ad) {
|
|
98
|
+
return _0x44fae2 === _0x2db3ad;
|
|
99
|
+
}, "nuAGS": "initialize", "oTlXm": function(_0x9ef5a1, _0x16b718, _0x370acc, _0x4a44e2) {
|
|
100
|
+
return _0x9ef5a1(_0x16b718, _0x370acc, _0x4a44e2);
|
|
101
|
+
}, "VHSzq": _0x1cb482(153) }, _0x5e4514 = _0x5189ed["_onrequest"];
|
|
102
|
+
_0x5189ed["_onrequest"] = async (_0x38684c, _0x4857aa) => {
|
|
103
|
+
var _a;
|
|
104
|
+
const _0x42de67 = _0x1cb482, _0x206f0e = _0x1cb482, { id: _0x502bc8, method: _0xec2833 } = _0x38684c;
|
|
108
105
|
try {
|
|
109
|
-
await
|
|
110
|
-
} catch {
|
|
106
|
+
_0x8eab03[_0x42de67(151)](_0xec2833, _0x8eab03[_0x42de67(161)]) ? await _0x5e4514["call"](_0x5189ed, _0x38684c, _0x4857aa) : await _0x8eab03[_0x42de67(174)](forwardServerRequest, _0x5189ed, _0x5b9d08, _0x38684c);
|
|
107
|
+
} catch (_0x3b259e) {
|
|
108
|
+
const { code: _0x44daa1, message: _0x281851, data: _0xffd3d2 } = _0x3b259e;
|
|
109
|
+
try {
|
|
110
|
+
const _0xe30571 = {};
|
|
111
|
+
_0xe30571["code"] = _0x44daa1, _0xe30571["message"] = _0x281851, _0xe30571[_0x42de67(185)] = _0xffd3d2;
|
|
112
|
+
const _0x11961b = {};
|
|
113
|
+
_0x11961b["error"] = _0xe30571, _0x11961b[_0x206f0e(189)] = _0x8eab03[_0x42de67(167)], _0x11961b["id"] = _0x502bc8, await ((_a = _0x5189ed == null ? void 0 : _0x5189ed[_0x42de67(163)]) == null ? void 0 : _a["send"](_0x11961b));
|
|
114
|
+
} catch {
|
|
115
|
+
}
|
|
111
116
|
}
|
|
112
117
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
};
|
|
119
|
+
const forwardServerOnNotification = (_0x4d3ee6, _0x5dd94f) => {
|
|
120
|
+
const _0x465c04 = _0x1729, _0xd8c9f9 = _0x1729, _0x1e0cfa = {};
|
|
121
|
+
_0x1e0cfa[_0x465c04(224)] = function(_0x188e79, _0x3730e4) {
|
|
122
|
+
return _0x188e79 !== _0x3730e4;
|
|
123
|
+
}, _0x1e0cfa["kcvwf"] = "notifications/initialized", _0x1e0cfa[_0x465c04(178)] = "notifications/cancelled";
|
|
124
|
+
const _0x39ad6a = _0x1e0cfa;
|
|
125
|
+
_0x4d3ee6["_onnotification"] = async (_0x50459e) => {
|
|
126
|
+
const _0x2c6520 = _0x465c04, _0x5d5618 = _0xd8c9f9, { method: _0x3c1769, params: _0x144dae } = _0x50459e;
|
|
127
|
+
if (_0x39ad6a[_0x2c6520(224)](_0x3c1769, _0x39ad6a[_0x2c6520(206)]) && (_0x3c1769 !== _0x39ad6a[_0x2c6520(178)] || (_0x144dae == null ? void 0 : _0x144dae["forward"]))) try {
|
|
128
|
+
await _0x5dd94f[_0x5d5618(202)](_0x50459e);
|
|
118
129
|
} catch {
|
|
119
130
|
}
|
|
120
|
-
s[c(251)](t, r);
|
|
121
131
|
};
|
|
122
132
|
};
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
133
|
+
function _0x2bb6() {
|
|
134
|
+
const _0x1c68cf = ["_onprogress", "hXjtx", "resources/templates/list", "nuAGS", "clearListener", "transport", "nMMQX", "127296iLsLqY", "VSsBu", "VHSzq", "YHTdQ", "method", "completion/complete", "getPrompt", "addResponseListener", "Oxvvx", "oTlXm", "44TemRrd", "function", "162550dkaZiS", "amEhQ", "addNotificationListener", "YwnOd", "SmWFq", "kyFqM", "result", "EOLey", "data", "listResources", "qbKIz", "fallbackNotificationHandler", "jsonrpc", "vAWLj", "_onresponse", "splice", "cVhjE", "roots/list", "removeListener", "send", "error", "iuZlM", "_notificationHandlers", "resources/list", "removeResponseListener", "notification", "45zsHVNE", "239072aFsxCi", "102215JyLjet", "kcvwf", "message", "sampling/createMessage", "listResourceTemplates", "VKTVl", "msjXw", "notifications/initialized", "push", "3283679wvPciO", "dvLLi", "946200FSWwwT", "XVxtn", "359636PQThQR", "CpZhm", "tools/call", "tools/list", "8YEaFDT", "addListener", "VoqbX", "ping", "xWxkM", "dPVeS", "clear", "2.0", "request", "txHAo", "callTool", "notifications/progress"];
|
|
135
|
+
_0x2bb6 = function() {
|
|
136
|
+
return _0x1c68cf;
|
|
137
|
+
};
|
|
138
|
+
return _0x2bb6();
|
|
139
|
+
}
|
|
140
|
+
const forwardClientOnRequest = (_0x5cc984, _0x186e01) => async (_0x3753a0) => {
|
|
141
|
+
var _a;
|
|
142
|
+
const _0x419518 = _0x1729, _0x9278b8 = _0x1729, _0x5defcf = { "XxZLB": function(_0x5dc4e8, _0x248219, _0x2ff81c, _0x4edb67) {
|
|
143
|
+
return _0x5dc4e8(_0x248219, _0x2ff81c, _0x4edb67);
|
|
144
|
+
}, "uimoJ": _0x419518(153) };
|
|
145
|
+
try {
|
|
146
|
+
await _0x5defcf["XxZLB"](forwardClientRequest, _0x5cc984, _0x186e01, _0x3753a0);
|
|
147
|
+
} catch (_0x1eb939) {
|
|
148
|
+
const { code: _0x299fdd, message: _0x41c8e8, data: _0x139110 } = _0x1eb939;
|
|
126
149
|
try {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
150
|
+
const _0x176611 = {};
|
|
151
|
+
_0x176611["code"] = _0x299fdd, _0x176611[_0x9278b8(207)] = _0x41c8e8, _0x176611["data"] = _0x139110;
|
|
152
|
+
const _0x3b10bd = {};
|
|
153
|
+
_0x3b10bd[_0x419518(197)] = _0x176611, _0x3b10bd["jsonrpc"] = _0x5defcf["uimoJ"], _0x3b10bd["id"] = _0x3753a0["id"], await ((_a = _0x5cc984 == null ? void 0 : _0x5cc984["transport"]) == null ? void 0 : _a[_0x419518(196)](_0x3b10bd));
|
|
130
154
|
} catch {
|
|
131
|
-
s.push(s.shift());
|
|
132
155
|
}
|
|
133
|
-
})(P, -3 * 381417 + -989793 + 3094773);
|
|
134
|
-
function v(x, t) {
|
|
135
|
-
var e = P();
|
|
136
|
-
return v = function(s, r) {
|
|
137
|
-
s = s - (7809 + 1054 * -7);
|
|
138
|
-
var c = e[s];
|
|
139
|
-
return c;
|
|
140
|
-
}, v(x, t);
|
|
141
|
-
}
|
|
142
|
-
class W extends O {
|
|
143
|
-
constructor(t, e, s) {
|
|
144
|
-
var r = v, c = { rupYq: function(l, d, u) {
|
|
145
|
-
return l(d, u);
|
|
146
|
-
} };
|
|
147
|
-
super(t, e), this._client = s, c[r(438)](D, this, s);
|
|
148
156
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
157
|
+
};
|
|
158
|
+
const forwardClientOnNotification = (_0x3074f9) => async (_0x1eee25) => {
|
|
159
|
+
var _a;
|
|
160
|
+
const _0x5958c8 = _0x1729, _0x3860a0 = _0x1729, _0x1e269f = {};
|
|
161
|
+
_0x1e269f["XVxtn"] = function(_0x255abc, _0x2dafde) {
|
|
162
|
+
return _0x255abc !== _0x2dafde;
|
|
163
|
+
}, _0x1e269f["jGchB"] = _0x5958c8(212), _0x1e269f["VSsBu"] = function(_0xdbf0ad, _0x29a85b) {
|
|
164
|
+
return _0xdbf0ad !== _0x29a85b;
|
|
165
|
+
}, _0x1e269f[_0x5958c8(168)] = "notifications/cancelled";
|
|
166
|
+
const _0xbfea7a = _0x1e269f, { method: _0x2f07a4, params: _0x4304e1 } = _0x1eee25;
|
|
167
|
+
if (_0xbfea7a[_0x3860a0(217)](_0x2f07a4, _0xbfea7a["jGchB"]) && (_0xbfea7a[_0x5958c8(166)](_0x2f07a4, _0xbfea7a[_0x5958c8(168)]) || (_0x4304e1 == null ? void 0 : _0x4304e1["forward"]))) try {
|
|
168
|
+
const _0x1ed1b7 = { ..._0x1eee25 };
|
|
169
|
+
_0x1ed1b7["jsonrpc"] = "2.0", await ((_a = _0x3074f9 == null ? void 0 : _0x3074f9[_0x3860a0(163)]) == null ? void 0 : _a["send"](_0x1ed1b7));
|
|
170
|
+
} catch {
|
|
152
171
|
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
return
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
s.push(s.shift());
|
|
172
|
+
};
|
|
173
|
+
const createHandleListener = () => {
|
|
174
|
+
const _0x2e9965 = _0x1729, _0x6cf469 = _0x1729, _0x34d7e7 = {};
|
|
175
|
+
_0x34d7e7["EOLey"] = function(_0x18be77, _0xa25e4e) {
|
|
176
|
+
return _0x18be77 === _0xa25e4e;
|
|
177
|
+
}, _0x34d7e7["dmwkQ"] = _0x2e9965(176);
|
|
178
|
+
const _0x43150d = _0x34d7e7, _0x272160 = [], _0x4b82eb = (_0x1afd0b) => {
|
|
179
|
+
const _0xe411b5 = [..._0x272160];
|
|
180
|
+
let _0x574815;
|
|
181
|
+
for (const _0x307dc3 of _0xe411b5) {
|
|
182
|
+
try {
|
|
183
|
+
_0x574815 = _0x307dc3(_0x1afd0b);
|
|
184
|
+
} catch {
|
|
185
|
+
}
|
|
168
186
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
},
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
187
|
+
if (!(_0x574815 instanceof Promise)) return _0x574815;
|
|
188
|
+
}, _0x23fb6c = (_0x1998ca) => {
|
|
189
|
+
const _0x1a4306 = _0x2e9965;
|
|
190
|
+
_0x43150d[_0x1a4306(184)](typeof _0x1998ca, _0x43150d["dmwkQ"]) && !_0x272160["includes"](_0x1998ca) && _0x272160[_0x1a4306(213)](_0x1998ca);
|
|
191
|
+
}, _0x53a9dd = (_0x3809ca) => {
|
|
192
|
+
const _0x348493 = _0x2e9965, _0xe982f4 = _0x272160["indexOf"](_0x3809ca);
|
|
193
|
+
_0xe982f4 !== -1 && _0x272160[_0x348493(192)](_0xe982f4, -2763 * -2 + 1 * 4933 + -6 * 1743);
|
|
194
|
+
}, _0x5427fa = () => {
|
|
195
|
+
_0x272160["length"] = 1 * 4348 + 7241 + 3 * -3863;
|
|
196
|
+
}, _0x2d3dae = {};
|
|
197
|
+
return _0x2d3dae["handleListener"] = _0x4b82eb, _0x2d3dae[_0x6cf469(223)] = _0x23fb6c, _0x2d3dae[_0x6cf469(195)] = _0x53a9dd, _0x2d3dae[_0x2e9965(162)] = _0x5427fa, _0x2d3dae;
|
|
198
|
+
}, setClientListener = (_0x5b4bc0) => {
|
|
199
|
+
const _0x33e23e = _0x1729, _0x532f69 = _0x1729, _0x29bb0f = { "AtgJv": function(_0x8772e9) {
|
|
200
|
+
return _0x8772e9();
|
|
201
|
+
}, "opvsE": function(_0x5efb22) {
|
|
202
|
+
return _0x5efb22();
|
|
203
|
+
}, "HYAbv": function(_0x4dce7b) {
|
|
204
|
+
return _0x4dce7b();
|
|
205
|
+
} };
|
|
206
|
+
{
|
|
207
|
+
const { handleListener: _0x14a8e6, addListener: _0x45f34d, removeListener: _0x5ca52c, clearListener: _0x23a1cf } = _0x29bb0f["AtgJv"](createHandleListener);
|
|
208
|
+
_0x5b4bc0["_onresponse"] = _0x14a8e6, _0x5b4bc0[_0x33e23e(172)] = _0x45f34d, _0x5b4bc0[_0x33e23e(201)] = _0x5ca52c, _0x5b4bc0["clearResponseListener"] = _0x23a1cf;
|
|
182
209
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
} };
|
|
187
|
-
c[r(463)](L, this), await super.handlePostRequest(t, e, s);
|
|
210
|
+
{
|
|
211
|
+
const { handleListener: _0x2e5a74, addListener: _0x95f048, removeListener: _0x4c116e, clearListener: _0x3bdd70 } = _0x29bb0f["opvsE"](createHandleListener);
|
|
212
|
+
_0x5b4bc0["fallbackRequestHandler"] = _0x2e5a74, _0x5b4bc0["addRequestListener"] = _0x95f048, _0x5b4bc0["removeRequestListener"] = _0x4c116e, _0x5b4bc0["clearRequestListener"] = _0x3bdd70;
|
|
188
213
|
}
|
|
214
|
+
{
|
|
215
|
+
const { handleListener: _0x29da56, addListener: _0x4384f2, removeListener: _0x1e19c2, clearListener: _0x34d4ec } = _0x29bb0f["HYAbv"](createHandleListener);
|
|
216
|
+
_0x5b4bc0[_0x532f69(188)] = _0x29da56, _0x5b4bc0[_0x532f69(179)] = _0x4384f2, _0x5b4bc0["removeNotificationListener"] = _0x1e19c2, _0x5b4bc0["clearNotificationListener"] = _0x34d4ec;
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
const initClientHandler = (_0x78ea00, _0x2f85f7, { beforeInit: _0x35fd78, afterInit: _0x2091cf } = {}) => {
|
|
220
|
+
const _0x6a235b = _0x1729, _0xae944d = _0x1729, _0x1f8c02 = { "dvLLi": function(_0x5082b1, _0x354b16) {
|
|
221
|
+
return _0x5082b1 === _0x354b16;
|
|
222
|
+
}, "cVhjE": "ping", "wYJFr": function(_0xd64c75, _0x1973cf) {
|
|
223
|
+
return _0xd64c75 === _0x1973cf;
|
|
224
|
+
}, "iuZlM": "notifications/cancelled", "qbKIz": function(_0x11f231, _0x30c1b2) {
|
|
225
|
+
return _0x11f231 === _0x30c1b2;
|
|
226
|
+
}, "CpZhm": _0x6a235b(157), "VKTVl": function(_0x219fb1) {
|
|
227
|
+
return _0x219fb1();
|
|
228
|
+
}, "XmHQm": function(_0x56e7b9, _0x2be7df) {
|
|
229
|
+
return _0x56e7b9(_0x2be7df);
|
|
230
|
+
}, "SmWFq": _0xae944d(176) };
|
|
231
|
+
_0x78ea00["_requestHandlers"][_0x6a235b(152)](), _0x78ea00[_0x6a235b(199)]["clear"]();
|
|
232
|
+
typeof _0x35fd78 === _0x6a235b(176) && _0x1f8c02[_0x6a235b(210)](_0x35fd78);
|
|
233
|
+
const _0x3dc78f = _0x78ea00[_0x6a235b(191)];
|
|
234
|
+
_0x1f8c02["XmHQm"](setClientListener, _0x78ea00), _0x78ea00["addResponseListener"]((_0x19e2c5) => {
|
|
235
|
+
_0x3dc78f["call"](_0x78ea00, _0x19e2c5);
|
|
236
|
+
}), _0x78ea00["addRequestListener"]((_0x22b667) => {
|
|
237
|
+
const _0x4bd8ff = _0x6a235b, _0x3c62e2 = _0xae944d, { method: _0x597403 } = _0x22b667;
|
|
238
|
+
if (_0x1f8c02[_0x4bd8ff(215)](_0x597403, _0x1f8c02[_0x3c62e2(193)])) return {};
|
|
239
|
+
}), _0x78ea00["addNotificationListener"]((_0x2b42f3) => {
|
|
240
|
+
const _0x2c9472 = _0x6a235b, _0x5c8293 = _0xae944d, { method: _0x190427, params: _0x5820c2 } = _0x2b42f3;
|
|
241
|
+
if (_0x1f8c02["wYJFr"](_0x190427, _0x1f8c02[_0x2c9472(198)])) {
|
|
242
|
+
const _0x3525f5 = _0x78ea00["_requestHandlerAbortControllers"]["get"](_0x5820c2["requestId"]);
|
|
243
|
+
_0x3525f5 == null ? void 0 : _0x3525f5["abort"](_0x5820c2 == null ? void 0 : _0x5820c2["reason"]);
|
|
244
|
+
} else _0x1f8c02[_0x2c9472(187)](_0x190427, _0x1f8c02[_0x5c8293(219)]) && _0x78ea00[_0x5c8293(158)](_0x2b42f3);
|
|
245
|
+
}), _0x1f8c02[_0x6a235b(215)](typeof _0x2091cf, _0x1f8c02[_0xae944d(181)]) && _0x1f8c02["VKTVl"](_0x2091cf);
|
|
246
|
+
};
|
|
247
|
+
const _0x4221ca = _0x2528, _0x16f1be = _0x2528;
|
|
248
|
+
function _0x59e2() {
|
|
249
|
+
const _0x571912 = ["handleRequest", "reset", "mcp-stream-twin-client", "close", "NFenN", "2qFGpWr", "ApvrK", "randomUUID", "Allow", "REYtR", "beforeInit", "set", "BGXRJ", "joQrD", "sse-session-id", "addRequestListener", "Invalid or missing session ID", "Qrhhe", "YYBSb", "RnIzg", "keys", "oyhcj", "headers", "accept-language", "notifications/initialized", "method", "referer", "PUkSC", "algorithm", "user", "DELETE", "ElDES", "stringify", "393603Ysesds", "capabilities", "POST", "xAPDg", "authorization", "send", "10yVqpVx", "No transport found", "547305ZuPQbd", "8copehS", "message", "connect", "json", "prompts", "gtvkH", "icTtH", "version", "body", "x-forwarded-for", "_notificationHandlers", "5504829hhhpFv", "details", "JmLFZ", "No client found for session ID ", "mcp-sse-proxy-server", "eErGZ", "NbQLP", "client", "QfAHS", "36JiXOMw", "muYmf", "completions", "subscribe", "handleStreamRequest", "Method not allowed.", "logging", "name", "split", "eljRd", "84TLjzFO", "10317357VianFu", "server", "1.0.0", "MEcmv", "687664dkJbUv", "30 days", "cPFVn", "tools", "ZQvDk", "end", "params", "error", "handleSseProxy", "roots", "_sessionId", "qimOT", "rDJdi", "forEach", "beUen", "4620174sXUMTS", "AdCdt", "LQMUP", "listChanged", "1193392jgHatJ", "jsonrpc", "mcp-server", "mcpServer", "sessionId", "handleSseMessage", "status", "values", "stream-session-id", "sessionIdGenerator", "onclose", "code", "initialize", "SSE", "query", "_sseResponse", "verify", "resources", "afterInit", "sampling", "pcqJj"];
|
|
250
|
+
_0x59e2 = function() {
|
|
251
|
+
return _0x571912;
|
|
252
|
+
};
|
|
253
|
+
return _0x59e2();
|
|
189
254
|
}
|
|
190
|
-
function
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
return x;
|
|
194
|
-
}, k();
|
|
195
|
-
}
|
|
196
|
-
const w = q;
|
|
197
|
-
(function(x, t) {
|
|
198
|
-
const e = q, s = x();
|
|
199
|
-
for (; ; )
|
|
255
|
+
(function(_0x3e8519, _0x13a123) {
|
|
256
|
+
const _0xf6458a = _0x2528, _0x339ee6 = _0x2528, _0x416cf2 = _0x3e8519();
|
|
257
|
+
while (!![]) {
|
|
200
258
|
try {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
259
|
+
const _0x205b5a = parseInt(_0xf6458a(171)) / (1563 + -4152 + -10 * -259) * (parseInt(_0xf6458a(243)) / (6796 + -628 + 6166 * -1)) + -parseInt(_0xf6458a(141)) / (675 + -5485 + 4813) + -parseInt(_0xf6458a(145)) / (5546 + -807 * -11 + 1 * -14419) + parseInt(_0x339ee6(207)) / (-279 * -31 + -659 + 5 * -1597) * (parseInt(_0x339ee6(238)) / (7547 * -1 + -4664 + 643 * 19)) + parseInt(_0xf6458a(199)) / (-3776 + -7877 + -1166 * -10) * (parseInt(_0x339ee6(208)) / (2 * 3217 + 1283 + -7709)) + -parseInt(_0xf6458a(239)) / (491 * 1 + -7 * 186 + 4 * 205) * (parseInt(_0xf6458a(205)) / (-3841 + 449 + 243 * 14)) + parseInt(_0xf6458a(219)) / (-3935 * -1 + 4201 * -2 + 2239 * 2) * (parseInt(_0x339ee6(228)) / (-6489 + -9340 + 15841));
|
|
260
|
+
if (_0x205b5a === _0x13a123) break;
|
|
261
|
+
else _0x416cf2["push"](_0x416cf2["shift"]());
|
|
262
|
+
} catch (_0x2a5984) {
|
|
263
|
+
_0x416cf2["push"](_0x416cf2["shift"]());
|
|
205
264
|
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
return q = function(s, r) {
|
|
216
|
-
return s = s - (-1 * -619 + -1 * 779 + 577 * 1), e[s];
|
|
217
|
-
}, q(x, t);
|
|
218
|
-
}
|
|
219
|
-
const Z = ({ secret: x }) => (t, e, s) => {
|
|
220
|
-
var d;
|
|
221
|
-
const r = q, c = { lLVrl: r(477), zxgKP: function(u) {
|
|
222
|
-
return u();
|
|
223
|
-
}, jvIgK: r(445) }, l = (d = t.headers[r(440)]) == null ? void 0 : d[r(428)](" ")[-2066 + 53 * 39];
|
|
224
|
-
if (!l) {
|
|
225
|
-
e.status(4140 + 3739 * -1).send(c[r(463)]);
|
|
265
|
+
}
|
|
266
|
+
})(_0x59e2, -1873 * -586 + -1084 * 1277 + 995 * 1085);
|
|
267
|
+
const auth = ({ secret: _0x5eeb07 }) => (_0x2a6ec9, _0x4559bd, _0x4b4b58) => {
|
|
268
|
+
var _a;
|
|
269
|
+
const _0x27ab76 = _0x2528, _0x39652c = _0x2528, _0x585aa2 = { "cPFVn": "Missing bearer token", "YYBSb": function(_0x4abbf1) {
|
|
270
|
+
return _0x4abbf1();
|
|
271
|
+
}, "eErGZ": "Invalid bearer token" }, _0x3e7bc1 = (_a = _0x2a6ec9["headers"][_0x27ab76(203)]) == null ? void 0 : _a[_0x39652c(236)](" ")[1 * 9199 + 4589 + -13787];
|
|
272
|
+
if (!_0x3e7bc1) {
|
|
273
|
+
_0x4559bd["status"](2392 + 1504 + -3495)["send"](_0x585aa2[_0x27ab76(245)]);
|
|
226
274
|
return;
|
|
227
275
|
}
|
|
228
276
|
try {
|
|
229
|
-
|
|
230
|
-
} catch (
|
|
231
|
-
|
|
277
|
+
_0x2a6ec9[_0x39652c(195)] = _0x561361[_0x39652c(161)](_0x3e7bc1, _0x5eeb07), _0x585aa2[_0x27ab76(184)](_0x4b4b58);
|
|
278
|
+
} catch (_0x316ca2) {
|
|
279
|
+
const _0x576a9e = {};
|
|
280
|
+
_0x576a9e[_0x39652c(250)] = _0x585aa2[_0x39652c(224)], _0x576a9e[_0x27ab76(220)] = _0x316ca2["message"], _0x4559bd["status"](-1 * 9137 + -3413 * 2 + 16366)[_0x39652c(211)](_0x576a9e);
|
|
232
281
|
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
return
|
|
240
|
-
},
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
282
|
+
};
|
|
283
|
+
function _0x2528(_0x35a76f, _0xf050aa) {
|
|
284
|
+
const _0x3b3191 = _0x59e2();
|
|
285
|
+
return _0x2528 = function(_0x3c151d, _0x1ae865) {
|
|
286
|
+
_0x3c151d = _0x3c151d - (-3552 * -2 + 8 * 119 + -7921);
|
|
287
|
+
let _0x51c263 = _0x3b3191[_0x3c151d];
|
|
288
|
+
return _0x51c263;
|
|
289
|
+
}, _0x2528(_0x35a76f, _0xf050aa);
|
|
290
|
+
}
|
|
291
|
+
const _0x150ff0 = {};
|
|
292
|
+
_0x150ff0["expiresIn"] = _0x4221ca(244), _0x150ff0[_0x16f1be(194)] = "HS256";
|
|
293
|
+
const signToken = (_0x170a2d, _0x182600, _0x378e5b = _0x150ff0) => _0x561361["sign"](_0x170a2d, _0x182600, _0x378e5b);
|
|
294
|
+
const verifyToken = (_0x478149, _0x38a35f) => _0x561361[_0x16f1be(161)](_0x478149, _0x38a35f);
|
|
295
|
+
const getDeviceInfo = (_0x3d5be2) => ({ "ip": _0x3d5be2["headers"][_0x4221ca(217)] || _0x3d5be2["ip"] || "", "userAgent": _0x3d5be2["headers"]["user-agent"] || "", "acceptLanguage": _0x3d5be2["headers"][_0x4221ca(189)] || "", "referer": _0x3d5be2[_0x16f1be(188)][_0x4221ca(192)] || "" }), forwardProxyServer = (_0x14eb8e, _0x3c5306) => {
|
|
296
|
+
const _0x578ebf = _0x4221ca, _0x5950a6 = _0x4221ca, _0x477cfe = { "AdCdt": function(_0x5f488c, _0x5efde5, _0x5f21bd) {
|
|
297
|
+
return _0x5f488c(_0x5efde5, _0x5f21bd);
|
|
298
|
+
}, "QfAHS": function(_0x2d5775, _0x2e0ed5, _0x15c5d3) {
|
|
299
|
+
return _0x2d5775(_0x2e0ed5, _0x15c5d3);
|
|
300
|
+
}, "ngHic": function(_0x185011, _0x5d973b) {
|
|
301
|
+
return _0x185011(_0x5d973b);
|
|
302
|
+
} };
|
|
303
|
+
_0x477cfe["AdCdt"](forwardServerOnRequest, _0x14eb8e, _0x3c5306), _0x477cfe[_0x578ebf(227)](forwardServerOnNotification, _0x14eb8e, _0x3c5306);
|
|
304
|
+
const _0xbd3d81 = _0x477cfe[_0x578ebf(142)](forwardClientOnRequest, _0x3c5306, _0x14eb8e), _0x269b3d = _0x477cfe["ngHic"](forwardClientOnNotification, _0x14eb8e);
|
|
305
|
+
_0x3c5306[_0x5950a6(181)](_0xbd3d81), _0x3c5306["addNotificationListener"](_0x269b3d), _0x14eb8e["onclose"] = () => {
|
|
306
|
+
_0x3c5306["removeRequestListener"](_0xbd3d81), _0x3c5306["removeNotificationListener"](_0x269b3d);
|
|
307
|
+
};
|
|
308
|
+
}, initTwinClientHandler = (_0x3f3a0d, _0x8f674) => {
|
|
309
|
+
const _0x177228 = _0x4221ca, _0x2d6d9a = { "beUen": _0x177228(190), "MUxuh": "event: close\ndata: \n\n", "gtvkH": function(_0x1ee478, _0x22153c) {
|
|
310
|
+
return _0x1ee478 instanceof _0x22153c;
|
|
311
|
+
}, "twUNF": function(_0x248d6a, _0x2eb93c, _0x396800, _0x49f3e7) {
|
|
312
|
+
return _0x248d6a(_0x2eb93c, _0x396800, _0x49f3e7);
|
|
313
|
+
} }, _0x5791ee = () => {
|
|
314
|
+
const _0x5acdca = _0x177228, _0x57482b = _0x177228, _0x5a6241 = {};
|
|
315
|
+
_0x5a6241[_0x5acdca(144)] = !![];
|
|
316
|
+
const _0x13a010 = {};
|
|
317
|
+
_0x13a010[_0x57482b(231)] = !![], _0x13a010["listChanged"] = !![];
|
|
318
|
+
const _0x1b9e93 = {};
|
|
319
|
+
_0x1b9e93[_0x5acdca(144)] = !![];
|
|
320
|
+
const _0x65d72f = {};
|
|
321
|
+
_0x65d72f[_0x57482b(212)] = _0x5a6241, _0x65d72f["resources"] = _0x13a010, _0x65d72f["tools"] = _0x1b9e93, _0x65d72f[_0x5acdca(230)] = {}, _0x65d72f["logging"] = {};
|
|
322
|
+
const _0x858635 = _0x65d72f, _0x117d32 = {};
|
|
323
|
+
_0x117d32["name"] = _0x5acdca(147), _0x117d32["version"] = _0x57482b(241), _0x3f3a0d["_requestHandlers"][_0x5acdca(177)](_0x5acdca(157), (_0x497d3a) => ({ "protocolVersion": _0x497d3a[_0x57482b(249)]["protocolVersion"], "capabilities": _0x858635, "serverInfo": _0x117d32 })), _0x3f3a0d[_0x57482b(218)][_0x5acdca(177)](_0x2d6d9a[_0x5acdca(140)], () => {
|
|
250
324
|
});
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
const m = new W(n, i, b), p = m[o(472)];
|
|
261
|
-
e[p] = m, a.on(t[o(444)], () => {
|
|
262
|
-
m[o(427)](), delete e[p];
|
|
325
|
+
}, _0x216a7f = () => {
|
|
326
|
+
const _0xec5193 = _0x177228, _0x2bca02 = _0x177228, _0x1d0530 = {};
|
|
327
|
+
_0x1d0530["NbQLP"] = _0x2d6d9a["MUxuh"];
|
|
328
|
+
const _0x276c8d = _0x1d0530;
|
|
329
|
+
_0x2d6d9a[_0xec5193(213)](_0x8f674, SSEServerTransport) && (_0x8f674[_0x2bca02(169)] = () => {
|
|
330
|
+
var _a, _b;
|
|
331
|
+
const _0x51f97d = _0xec5193, _0x565a34 = _0xec5193;
|
|
332
|
+
return (_a = _0x8f674[_0x51f97d(160)]) == null ? void 0 : _a["write"](_0x276c8d[_0x51f97d(225)])[_0x565a34(248)](), _0x8f674["_sseResponse"] = void 0, (_b = _0x8f674[_0x565a34(155)]) == null ? void 0 : _b.call(_0x8f674), Promise["resolve"]();
|
|
263
333
|
});
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
},
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
},
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
334
|
+
}, _0x1c833c = {};
|
|
335
|
+
_0x1c833c[_0x177228(176)] = _0x5791ee, _0x1c833c[_0x177228(163)] = _0x216a7f, _0x2d6d9a["twUNF"](initClientHandler, _0x3f3a0d, _0x8f674, _0x1c833c);
|
|
336
|
+
};
|
|
337
|
+
const useProxyHandles = () => {
|
|
338
|
+
const _0x227aba = _0x16f1be, _0x2877e0 = _0x16f1be, _0x566335 = { "eljRd": _0x227aba(180), "Qrhhe": "mcp-sse-twin-client", "ZQvDk": _0x227aba(241), "aseCz": _0x2877e0(158), "rDJdi": _0x2877e0(169), "NFenN": _0x2877e0(223), "JmLFZ": function(_0x5e288b, _0x302599) {
|
|
339
|
+
return _0x5e288b(_0x302599);
|
|
340
|
+
}, "joCAL": function(_0x5bc8af, _0x1564c0, _0x381fc3) {
|
|
341
|
+
return _0x5bc8af(_0x1564c0, _0x381fc3);
|
|
342
|
+
}, "oyhcj": _0x227aba(206), "RnIzg": function(_0x2b6776, _0x4e7846) {
|
|
343
|
+
return _0x2b6776 === _0x4e7846;
|
|
344
|
+
}, "REYtR": _0x227aba(201), "RUiac": function(_0x112c05, _0x43c4bb, _0x28e426) {
|
|
345
|
+
return _0x112c05(_0x43c4bb, _0x28e426);
|
|
346
|
+
}, "xAPDg": "GET", "fxjcD": function(_0x252b2c, _0x4c282c) {
|
|
347
|
+
return _0x252b2c === _0x4c282c;
|
|
348
|
+
}, "PUkSC": _0x2877e0(196), "LQMUP": "GET, POST, DELETE", "ElDES": "2.0", "wMthM": _0x2877e0(233), "WIEwH": "mcp-session-id", "icTtH": function(_0x983087, _0x33f27c) {
|
|
349
|
+
return _0x983087 === _0x33f27c;
|
|
350
|
+
}, "pcqJj": _0x227aba(153), "BGXRJ": _0x227aba(168), "MEcmv": function(_0x26fb8d, _0x8efd28, _0x50717c) {
|
|
351
|
+
return _0x26fb8d(_0x8efd28, _0x50717c);
|
|
352
|
+
}, "tCsji": "StreamableHTTP", "onfer": "Bad Request: No valid session ID provided", "cpwBy": function(_0x1a47d9, _0x4f1898, _0x4544c1) {
|
|
353
|
+
return _0x1a47d9(_0x4f1898, _0x4544c1);
|
|
354
|
+
}, "muYmf": function(_0x3923de, _0x3d7357) {
|
|
355
|
+
return _0x3923de === _0x3d7357;
|
|
356
|
+
}, "ApvrK": function(_0x26a48d, _0x10b6b6) {
|
|
357
|
+
return _0x26a48d === _0x10b6b6;
|
|
358
|
+
}, "uhJyG": function(_0x31ec76, _0xbb894c) {
|
|
359
|
+
return _0x31ec76 === _0xbb894c;
|
|
360
|
+
}, "joQrD": _0x227aba(182), "CgpwU": "mcp-stream-proxy-server", "qimOT": function(_0x17c861, _0x4411cc) {
|
|
361
|
+
return _0x17c861(_0x4411cc);
|
|
362
|
+
} }, _0x5f4037 = {}, _0x130e04 = {}, _0x138423 = {}, _0x4cfec6 = {}, _0x48b8be = async (_0x5727da, _0x46b9f1, _0x1d6033) => {
|
|
363
|
+
const _0x2f326a = _0x227aba, _0x5bb32b = _0x227aba, _0x1350f1 = new SSEServerTransport(_0x1d6033, _0x46b9f1), _0x1d5d02 = _0x5727da["headers"][_0x566335[_0x2f326a(237)]];
|
|
364
|
+
_0x1d5d02 && (_0x1350f1[_0x2f326a(136)] = _0x1d5d02);
|
|
365
|
+
const _0x25c8c1 = _0x1350f1[_0x5bb32b(149)];
|
|
366
|
+
_0x5f4037[_0x25c8c1] = _0x1350f1, _0x5727da["on"](_0x2f326a(169), () => {
|
|
367
|
+
_0x1350f1["close"](), delete _0x5f4037[_0x25c8c1], delete _0x130e04[_0x25c8c1];
|
|
368
|
+
});
|
|
369
|
+
const _0x5a4136 = {};
|
|
370
|
+
_0x5a4136[_0x5bb32b(144)] = !![];
|
|
371
|
+
const _0x535196 = {};
|
|
372
|
+
_0x535196["subscribe"] = !![], _0x535196[_0x2f326a(144)] = !![];
|
|
373
|
+
const _0x40d14a = {};
|
|
374
|
+
_0x40d14a[_0x2f326a(144)] = !![];
|
|
375
|
+
const _0x1460f4 = {};
|
|
376
|
+
_0x1460f4["listChanged"] = !![];
|
|
377
|
+
const _0x401f91 = {};
|
|
378
|
+
_0x401f91["prompts"] = _0x5a4136, _0x401f91["resources"] = _0x535196, _0x401f91["tools"] = _0x40d14a, _0x401f91["completions"] = {}, _0x401f91["logging"] = {}, _0x401f91[_0x5bb32b(135)] = _0x1460f4, _0x401f91[_0x2f326a(164)] = {};
|
|
379
|
+
const _0x1f6aad = _0x401f91, _0x2c7eb2 = {};
|
|
380
|
+
_0x2c7eb2["name"] = _0x566335[_0x5bb32b(183)], _0x2c7eb2["version"] = _0x566335[_0x2f326a(247)];
|
|
381
|
+
const _0x53a045 = {};
|
|
382
|
+
_0x53a045[_0x2f326a(200)] = _0x1f6aad;
|
|
383
|
+
const _0x718d6c = new Client(_0x2c7eb2, _0x53a045);
|
|
384
|
+
_0x130e04[_0x25c8c1] = { "client": _0x718d6c, "transport": _0x1350f1, "user": _0x5727da["user"], "device": getDeviceInfo(_0x5727da), "type": _0x566335["aseCz"] }, initTwinClientHandler(_0x718d6c, _0x1350f1), await _0x718d6c[_0x2f326a(210)](_0x1350f1);
|
|
385
|
+
}, _0x39b6c4 = async (_0x1c823c, _0x551db9, _0x13449b) => {
|
|
386
|
+
var _a;
|
|
387
|
+
const _0x26e135 = _0x2877e0, _0x319ff6 = _0x227aba, _0x3f81d9 = _0x1c823c["query"]["sessionId"], _0x11a7e6 = (_a = _0x130e04[_0x3f81d9]) == null ? void 0 : _a["client"];
|
|
388
|
+
if (!_0x11a7e6) {
|
|
389
|
+
_0x551db9[_0x26e135(151)](7 * -953 + 1627 + -2722 * -2)[_0x26e135(204)]("No client found for session ID " + _0x3f81d9);
|
|
294
390
|
return;
|
|
295
391
|
}
|
|
296
|
-
const
|
|
297
|
-
|
|
298
|
-
const
|
|
299
|
-
|
|
392
|
+
const _0x27730a = new SSEServerTransport(_0x13449b, _0x551db9), _0x4ae66a = _0x27730a["sessionId"];
|
|
393
|
+
_0x138423[_0x4ae66a] = _0x27730a, _0x1c823c["on"](_0x566335[_0x26e135(138)], () => {
|
|
394
|
+
const _0x33a95e = _0x319ff6;
|
|
395
|
+
_0x27730a[_0x33a95e(169)](), delete _0x138423[_0x4ae66a], delete _0x4cfec6[_0x4ae66a];
|
|
300
396
|
});
|
|
301
|
-
|
|
397
|
+
const _0xcfcea7 = {};
|
|
398
|
+
_0xcfcea7[_0x319ff6(144)] = !![];
|
|
399
|
+
const _0x419cf1 = {};
|
|
400
|
+
_0x419cf1[_0x26e135(231)] = !![], _0x419cf1["listChanged"] = !![];
|
|
401
|
+
const _0x6b6968 = {};
|
|
402
|
+
_0x6b6968[_0x319ff6(144)] = !![];
|
|
403
|
+
const _0xa4c27d = {};
|
|
404
|
+
_0xa4c27d["prompts"] = _0xcfcea7, _0xa4c27d[_0x319ff6(162)] = _0x419cf1, _0xa4c27d[_0x26e135(246)] = _0x6b6968, _0xa4c27d[_0x26e135(230)] = {}, _0xa4c27d[_0x26e135(234)] = {};
|
|
405
|
+
const _0x36f2e0 = _0xa4c27d, _0x41274b = {};
|
|
406
|
+
_0x41274b["name"] = _0x566335[_0x26e135(170)], _0x41274b[_0x319ff6(215)] = _0x566335[_0x319ff6(247)];
|
|
407
|
+
const _0x58d04e = {};
|
|
408
|
+
_0x58d04e["capabilities"] = _0x36f2e0;
|
|
409
|
+
const _0x4f05c2 = new McpServer(_0x41274b, _0x58d04e);
|
|
410
|
+
_0x4cfec6[_0x4ae66a] = { "mcpServer": _0x4f05c2, "transport": _0x27730a, "client": _0x3f81d9, "user": _0x1c823c["user"], "device": _0x566335["JmLFZ"](getDeviceInfo, _0x1c823c), "type": _0x566335["aseCz"] }, await _0x4f05c2["connect"](_0x27730a), _0x566335["joCAL"](forwardProxyServer, _0x4f05c2["server"], _0x11a7e6);
|
|
411
|
+
}, _0x1a4921 = async (_0x4fdcf4, _0x65f0ed) => {
|
|
412
|
+
const _0xfb1cfc = _0x227aba, _0x406188 = _0x4fdcf4["query"]["sessionId"], _0x2278a6 = _0x5f4037[_0x406188] || _0x138423[_0x406188];
|
|
413
|
+
_0x2278a6 ? await _0x2278a6["handlePostMessage"](_0x4fdcf4, _0x65f0ed) : _0x65f0ed[_0xfb1cfc(151)](8884 * 1 + 9627 + -18111)[_0xfb1cfc(204)](_0x566335[_0xfb1cfc(187)]);
|
|
414
|
+
}, _0xaf616d = async (_0x1ca1eb, _0x5ba27c) => {
|
|
415
|
+
const _0x20b741 = _0x227aba, _0x219cda = _0x2877e0;
|
|
416
|
+
if (_0x566335["RnIzg"](_0x1ca1eb[_0x20b741(191)], _0x566335["REYtR"])) await _0x566335["RUiac"](_0x1b0c21, _0x1ca1eb, _0x5ba27c);
|
|
417
|
+
else _0x566335[_0x20b741(185)](_0x1ca1eb[_0x20b741(191)], _0x566335[_0x219cda(202)]) || _0x566335["fxjcD"](_0x1ca1eb[_0x20b741(191)], _0x566335["PUkSC"]) ? await _0x566335["RUiac"](_0x9075e2, _0x1ca1eb, _0x5ba27c) : await _0x566335["JmLFZ"](_0x2a7436, _0x5ba27c);
|
|
418
|
+
}, _0x2a7436 = async (_0x2db15a) => {
|
|
419
|
+
const _0x23f9db = _0x227aba, _0x2df900 = _0x227aba, _0x4d00b4 = {};
|
|
420
|
+
_0x4d00b4[_0x23f9db(174)] = _0x566335[_0x2df900(143)];
|
|
421
|
+
const _0x1a7e19 = {};
|
|
422
|
+
_0x1a7e19["jsonrpc"] = _0x566335[_0x23f9db(197)], _0x1a7e19[_0x23f9db(250)] = {}, _0x1a7e19["id"] = null, _0x1a7e19[_0x23f9db(250)][_0x23f9db(156)] = -32e3, _0x1a7e19[_0x23f9db(250)][_0x2df900(209)] = _0x566335["wMthM"], _0x2db15a["writeHead"](2788 + -4544 + 2161 * 1, _0x4d00b4)["end"](JSON[_0x23f9db(198)](_0x1a7e19));
|
|
423
|
+
}, _0x9075e2 = async (_0x3b7c45, _0x4120e8) => {
|
|
424
|
+
const _0x13d1c2 = _0x227aba, _0x4804f7 = _0x2877e0, _0x3abd38 = _0x3b7c45["headers"][_0x566335["WIEwH"]], _0x1905ff = _0x5f4037[_0x3abd38];
|
|
425
|
+
_0x1905ff ? (await _0x1905ff[_0x13d1c2(166)](_0x3b7c45, _0x4120e8), _0x566335[_0x13d1c2(214)](_0x3b7c45["method"], _0x566335[_0x13d1c2(193)]) && (delete _0x5f4037[_0x3abd38], delete _0x130e04[_0x3abd38])) : _0x4120e8["status"](1 * 4683 + 8957 * 1 + -13240)["send"](_0x4804f7(182));
|
|
426
|
+
}, _0x1b0c21 = async (_0x451f8f, _0x51a481) => {
|
|
427
|
+
const _0x4478ed = _0x227aba, _0x4e1dfa = _0x227aba, _0x5ad0a6 = _0x451f8f[_0x4478ed(188)][_0x566335["WIEwH"]], _0x8c5dcd = _0x451f8f["headers"][_0x566335[_0x4478ed(165)]];
|
|
428
|
+
let _0x3a6c34 = _0x5f4037[_0x5ad0a6];
|
|
429
|
+
if (_0x3a6c34) await _0x3a6c34["handleRequest"](_0x451f8f, _0x51a481, _0x451f8f["body"]);
|
|
430
|
+
else {
|
|
431
|
+
if (!_0x5ad0a6 && _0x566335[_0x4e1dfa(221)](isInitializeRequest, _0x451f8f["body"])) {
|
|
432
|
+
const _0x394e77 = {};
|
|
433
|
+
_0x394e77[_0x4478ed(154)] = () => _0x8c5dcd, _0x3a6c34 = new StreamableHTTPServerTransport(_0x394e77);
|
|
434
|
+
const _0x2155cf = {};
|
|
435
|
+
_0x2155cf["listChanged"] = !![];
|
|
436
|
+
const _0x59fd45 = {};
|
|
437
|
+
_0x59fd45["subscribe"] = !![], _0x59fd45["listChanged"] = !![];
|
|
438
|
+
const _0x1290b4 = {};
|
|
439
|
+
_0x1290b4[_0x4478ed(144)] = !![];
|
|
440
|
+
const _0x3c950c = {};
|
|
441
|
+
_0x3c950c["listChanged"] = !![];
|
|
442
|
+
const _0x28fa00 = {};
|
|
443
|
+
_0x28fa00["prompts"] = _0x2155cf, _0x28fa00["resources"] = _0x59fd45, _0x28fa00["tools"] = _0x1290b4, _0x28fa00[_0x4e1dfa(230)] = {}, _0x28fa00[_0x4478ed(234)] = {}, _0x28fa00[_0x4478ed(135)] = _0x3c950c, _0x28fa00[_0x4478ed(164)] = {};
|
|
444
|
+
const _0x26004c = _0x28fa00, _0x30b87b = {};
|
|
445
|
+
_0x30b87b["name"] = _0x566335[_0x4478ed(178)], _0x30b87b["version"] = "1.0.0";
|
|
446
|
+
const _0x4ea34d = {};
|
|
447
|
+
_0x4ea34d["capabilities"] = _0x26004c;
|
|
448
|
+
const _0x3966c6 = new Client(_0x30b87b, _0x4ea34d);
|
|
449
|
+
_0x566335[_0x4e1dfa(242)](initTwinClientHandler, _0x3966c6, _0x3a6c34), _0x130e04[_0x8c5dcd] = { "client": _0x3966c6, "transport": _0x3a6c34, "user": _0x451f8f["user"], "device": _0x566335["JmLFZ"](getDeviceInfo, _0x451f8f), "type": _0x566335["tCsji"] }, _0x5f4037[_0x8c5dcd] = _0x3a6c34, _0x3a6c34["sessionId"] = _0x8c5dcd, await _0x3966c6[_0x4e1dfa(210)](_0x3a6c34), await _0x3a6c34["handleRequest"](_0x451f8f, _0x51a481, _0x451f8f[_0x4e1dfa(216)]);
|
|
450
|
+
} else {
|
|
451
|
+
const _0x2f8e40 = {};
|
|
452
|
+
_0x2f8e40[_0x4478ed(146)] = _0x566335[_0x4478ed(197)], _0x2f8e40[_0x4e1dfa(250)] = {}, _0x2f8e40["id"] = null, _0x2f8e40[_0x4e1dfa(250)]["code"] = -32e3, _0x2f8e40[_0x4e1dfa(250)][_0x4478ed(209)] = _0x566335["onfer"], _0x51a481["status"](-3935 + -8137 * 1 + 12472)["json"](_0x2f8e40);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}, _0x5d81a5 = async (_0x2d138a, _0x267ed7) => {
|
|
456
|
+
const _0x20f1ed = _0x2877e0, _0x548511 = _0x2877e0;
|
|
457
|
+
if (_0x566335[_0x20f1ed(185)](_0x2d138a[_0x548511(191)], _0x566335[_0x20f1ed(175)])) await _0x566335["cpwBy"](_0x31e5c3, _0x2d138a, _0x267ed7);
|
|
458
|
+
else _0x566335[_0x20f1ed(229)](_0x2d138a[_0x548511(191)], _0x566335[_0x20f1ed(202)]) || _0x566335[_0x20f1ed(172)](_0x2d138a["method"], _0x566335["PUkSC"]) ? await _0x566335[_0x20f1ed(242)](_0x107ceb, _0x2d138a, _0x267ed7) : await _0x2a7436(_0x267ed7);
|
|
459
|
+
}, _0x107ceb = async (_0x437933, _0x2dcf3a) => {
|
|
460
|
+
const _0x237d7b = _0x227aba, _0x447725 = _0x227aba, _0x1a4c38 = _0x437933["headers"][_0x566335["WIEwH"]], _0x304297 = _0x138423[_0x1a4c38];
|
|
461
|
+
_0x304297 ? (await _0x304297[_0x237d7b(166)](_0x437933, _0x2dcf3a), _0x566335["uhJyG"](_0x437933[_0x447725(191)], _0x566335["PUkSC"]) && (delete _0x138423[_0x1a4c38], delete _0x4cfec6[_0x1a4c38])) : _0x2dcf3a[_0x447725(151)](-69 * -123 + -3 * 487 + -2 * 3313)["send"](_0x566335[_0x447725(179)]);
|
|
462
|
+
}, _0x31e5c3 = async (_0x505691, _0x19b530) => {
|
|
463
|
+
var _a;
|
|
464
|
+
const _0x1c273b = _0x2877e0, _0x33fd89 = _0x227aba, _0x475f1c = _0x505691["headers"]["mcp-session-id"], _0x415256 = _0x505691[_0x1c273b(159)]["sessionId"];
|
|
465
|
+
let _0x1f3cb5 = _0x138423[_0x475f1c];
|
|
466
|
+
if (_0x1f3cb5) await _0x1f3cb5[_0x33fd89(166)](_0x505691, _0x19b530, _0x505691[_0x33fd89(216)]);
|
|
467
|
+
else {
|
|
468
|
+
if (!_0x475f1c && _0x566335["JmLFZ"](isInitializeRequest, _0x505691[_0x1c273b(216)])) {
|
|
469
|
+
const _0x432efd = (_a = _0x130e04[_0x415256]) == null ? void 0 : _a["client"];
|
|
470
|
+
if (!_0x432efd) {
|
|
471
|
+
_0x19b530["status"](-6314 + 2447 + 4267)[_0x1c273b(204)](_0x1c273b(222) + _0x415256);
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
const _0x4d8e86 = crypto[_0x33fd89(173)](), _0x50f823 = {};
|
|
475
|
+
_0x50f823[_0x1c273b(154)] = () => _0x4d8e86, _0x1f3cb5 = new StreamableHTTPServerTransport(_0x50f823);
|
|
476
|
+
const _0x45e990 = {};
|
|
477
|
+
_0x45e990[_0x33fd89(144)] = !![];
|
|
478
|
+
const _0x98f500 = {};
|
|
479
|
+
_0x98f500[_0x1c273b(231)] = !![], _0x98f500[_0x33fd89(144)] = !![];
|
|
480
|
+
const _0x17f1a9 = {};
|
|
481
|
+
_0x17f1a9[_0x33fd89(144)] = !![];
|
|
482
|
+
const _0x2e0d39 = {};
|
|
483
|
+
_0x2e0d39["prompts"] = _0x45e990, _0x2e0d39[_0x1c273b(162)] = _0x98f500, _0x2e0d39["tools"] = _0x17f1a9, _0x2e0d39["completions"] = {}, _0x2e0d39[_0x1c273b(234)] = {};
|
|
484
|
+
const _0x22c228 = _0x2e0d39, _0x393618 = {};
|
|
485
|
+
_0x393618[_0x1c273b(235)] = _0x566335["CgpwU"], _0x393618["version"] = _0x566335[_0x33fd89(247)];
|
|
486
|
+
const _0x1291d3 = {};
|
|
487
|
+
_0x1291d3["capabilities"] = _0x22c228;
|
|
488
|
+
const _0x4af540 = new McpServer(_0x393618, _0x1291d3);
|
|
489
|
+
_0x4cfec6[_0x4d8e86] = { "mcpServer": _0x4af540, "transport": _0x1f3cb5, "client": _0x415256, "user": _0x505691[_0x1c273b(195)], "device": _0x566335[_0x33fd89(137)](getDeviceInfo, _0x505691), "type": _0x566335["tCsji"] }, _0x138423[_0x4d8e86] = _0x1f3cb5, _0x1f3cb5["sessionId"] = _0x4d8e86, await _0x4af540["connect"](_0x1f3cb5), forwardProxyServer(_0x4af540[_0x33fd89(240)], _0x432efd), await _0x1f3cb5["handleRequest"](_0x505691, _0x19b530, _0x505691[_0x1c273b(216)]);
|
|
490
|
+
} else {
|
|
491
|
+
const _0x34725d = {};
|
|
492
|
+
_0x34725d[_0x33fd89(146)] = _0x566335[_0x33fd89(197)], _0x34725d[_0x1c273b(250)] = {}, _0x34725d["id"] = null, _0x34725d[_0x1c273b(250)][_0x33fd89(156)] = -32e3, _0x34725d[_0x1c273b(250)]["message"] = _0x566335["onfer"], _0x19b530["status"](1210 * -3 + 1555 + 2475)["json"](_0x34725d);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}, _0x2bf458 = () => {
|
|
496
|
+
const _0x3f2c1e = _0x227aba, _0x24a17a = _0x227aba;
|
|
497
|
+
try {
|
|
498
|
+
Object["values"](_0x5f4037)[_0x3f2c1e(139)]((_0x1c336c) => _0x1c336c[_0x24a17a(169)]()), Object[_0x3f2c1e(152)](_0x138423)["forEach"]((_0x210f98) => _0x210f98[_0x24a17a(169)]()), Object["values"](_0x130e04)["forEach"]((_0x544f4d) => _0x544f4d[_0x24a17a(226)][_0x24a17a(169)]()), Object[_0x24a17a(152)](_0x4cfec6)["forEach"]((_0x24c2c4) => _0x24c2c4[_0x24a17a(148)]["close"]());
|
|
499
|
+
} catch {
|
|
500
|
+
}
|
|
501
|
+
try {
|
|
502
|
+
Object["keys"](_0x5f4037)["forEach"]((_0x22ab2b) => delete _0x5f4037[_0x22ab2b]), Object[_0x3f2c1e(186)](_0x138423)["forEach"]((_0x4aa6fa) => delete _0x138423[_0x4aa6fa]), Object["keys"](_0x130e04)["forEach"]((_0x470344) => delete _0x130e04[_0x470344]), Object[_0x24a17a(186)](_0x4cfec6)[_0x3f2c1e(139)]((_0x13572c) => delete _0x4cfec6[_0x13572c]);
|
|
503
|
+
} catch {
|
|
504
|
+
}
|
|
505
|
+
}, _0x24af82 = {};
|
|
506
|
+
return _0x24af82[_0x2877e0(251)] = _0x48b8be, _0x24af82["handleSseInspector"] = _0x39b6c4, _0x24af82[_0x227aba(150)] = _0x1a4921, _0x24af82[_0x227aba(232)] = _0xaf616d, _0x24af82["handleStreamInspector"] = _0x5d81a5, _0x24af82["clients"] = _0x130e04, _0x24af82["remoters"] = _0x4cfec6, _0x24af82[_0x2877e0(167)] = _0x2bf458, _0x24af82;
|
|
302
507
|
};
|
|
303
508
|
export {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
509
|
+
auth,
|
|
510
|
+
signToken,
|
|
511
|
+
useProxyHandles,
|
|
512
|
+
verifyToken
|
|
308
513
|
};
|