@opentiny/next 0.1.3 → 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 -415
- package/package.json +1 -4
- package/server.d.ts +58 -3
- package/server.js +479 -262
package/client.js
CHANGED
|
@@ -1,482 +1,603 @@
|
|
|
1
|
-
import { JSONRPCMessageSchema
|
|
2
|
-
import { Client
|
|
3
|
-
import { SSEClientTransport
|
|
4
|
-
import { StreamableHTTPClientTransport
|
|
5
|
-
const
|
|
6
|
-
(function(
|
|
7
|
-
const
|
|
8
|
-
|
|
1
|
+
import { JSONRPCMessageSchema, EmptyResultSchema, CreateMessageResultSchema, ListRootsResultSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
2
|
+
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
3
|
+
import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
|
|
4
|
+
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
5
|
+
const _0x18f33d = _0x216b, _0x34998a = _0x216b;
|
|
6
|
+
(function(_0x1219d0, _0x565d17) {
|
|
7
|
+
const _0x3b2161 = _0x216b, _0x420ef9 = _0x216b, _0x1e61cb = _0x1219d0();
|
|
8
|
+
while (!![]) {
|
|
9
9
|
try {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
const _0x2e2628 = -parseInt(_0x3b2161(220)) / (2200 + -13 * -581 + -92 * 106) * (-parseInt(_0x3b2161(231)) / (-11 * 390 + -5 * 395 + -1 * -6267)) + -parseInt(_0x3b2161(230)) / (-2282 + 6 * 1165 + 941 * -5) * (-parseInt(_0x420ef9(210)) / (-806 + -839 + -97 * -17)) + parseInt(_0x3b2161(215)) / (-1460 + -5008 + 6473) * (-parseInt(_0x420ef9(226)) / (5 * 37 + -7835 + -957 * -8)) + -parseInt(_0x420ef9(246)) / (4659 * 1 + -2290 + -2362) * (-parseInt(_0x420ef9(248)) / (-4354 * 1 + -7946 + -68 * -181)) + -parseInt(_0x3b2161(237)) / (-837 * -8 + 2261 * -3 + 96) + parseInt(_0x3b2161(217)) / (9937 + 5 * -1762 + -1117) + parseInt(_0x420ef9(240)) / (-778 * -2 + 2 * 3617 + -8779);
|
|
11
|
+
if (_0x2e2628 === _0x565d17) break;
|
|
12
|
+
else _0x1e61cb["push"](_0x1e61cb["shift"]());
|
|
13
|
+
} catch (_0x3ba009) {
|
|
14
|
+
_0x1e61cb["push"](_0x1e61cb["shift"]());
|
|
14
15
|
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
}
|
|
17
|
+
})(_0x5302, 4 * -10671 + -18818 * 46 + 1546 * 1145);
|
|
18
|
+
function _0x5302() {
|
|
19
|
+
const _0x492a40 = ["port2", "784YOoHsd", "aNgjZ", "uHXQq", "endpoint", "randomUUID", "310fVhDsh", "function", "14157910hfcHGe", "onclose", "_sessionId", "1CAaqBb", "uPeJF", "YwhVR", "Failed to parse message: ", "AQkDE", "cViYB", "100074oBuzgC", "JHnRA", "listen", "postMessage", "2025RzrAsm", "743786XrAsRB", "ports", "_listen", "_started", "data", "addEventListener", "14725035AYFyKU", "FvGjR", "onmessage", "10957562DSeClm", "sessionId", "return this", "message", "fyFox", "xAEqe", "21AvMyrG", "MessagePort error: ", "1642520sDIGqR", "port1", "onerror", "nnagL", "_endpoint", "irjtu", "_globalObject", "undefined", "thZTK", "ygFUK", "_port", "_closed"];
|
|
20
|
+
_0x5302 = function() {
|
|
21
|
+
return _0x492a40;
|
|
22
|
+
};
|
|
23
|
+
return _0x5302();
|
|
21
24
|
}
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
},
|
|
26
|
-
return
|
|
27
|
-
},
|
|
28
|
-
return
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
const getGlobalObject = () => {
|
|
26
|
+
const _0x338a5b = _0x216b, _0x1611b2 = _0x216b, _0x2f316c = { "siuGH": function(_0x284c31, _0x16e25b) {
|
|
27
|
+
return _0x284c31(_0x16e25b);
|
|
28
|
+
}, "tufcb": _0x338a5b(242), "AQkDE": function(_0x5e003d, _0xbdfe1d) {
|
|
29
|
+
return _0x5e003d !== _0xbdfe1d;
|
|
30
|
+
}, "uHXQq": _0x1611b2(204), "YwhVR": function(_0x40a408, _0x1f7b84) {
|
|
31
|
+
return _0x40a408 !== _0x1f7b84;
|
|
32
|
+
}, "ygFUK": function(_0x3f3166, _0x1ed2d1) {
|
|
33
|
+
return _0x3f3166 !== _0x1ed2d1;
|
|
34
|
+
}, "aNgjZ": function(_0x5f518b, _0x59a2d8) {
|
|
35
|
+
return _0x5f518b !== _0x59a2d8;
|
|
36
|
+
} }, _0x41dffc = "2|4|1|3|0"["split"]("|");
|
|
37
|
+
let _0x99f8be = 1010 * -1 + 23 * -221 + 6093;
|
|
38
|
+
while (!![]) {
|
|
39
|
+
switch (_0x41dffc[_0x99f8be++]) {
|
|
33
40
|
case "0":
|
|
34
|
-
return Function
|
|
41
|
+
return _0x2f316c["siuGH"](Function, _0x2f316c["tufcb"])();
|
|
35
42
|
case "1":
|
|
36
|
-
if (
|
|
43
|
+
if (_0x2f316c[_0x1611b2(224)](typeof global, _0x2f316c[_0x338a5b(212)])) return global;
|
|
37
44
|
continue;
|
|
38
45
|
case "2":
|
|
39
|
-
if (
|
|
46
|
+
if (_0x2f316c[_0x1611b2(222)](typeof globalThis, _0x2f316c["uHXQq"])) return globalThis;
|
|
40
47
|
continue;
|
|
41
48
|
case "3":
|
|
42
|
-
if (
|
|
49
|
+
if (_0x2f316c[_0x338a5b(206)](typeof self, _0x2f316c[_0x1611b2(212)])) return self;
|
|
43
50
|
continue;
|
|
44
51
|
case "4":
|
|
45
|
-
if (
|
|
52
|
+
if (_0x2f316c[_0x1611b2(211)](typeof window, _0x2f316c["uHXQq"])) return window;
|
|
46
53
|
continue;
|
|
47
54
|
}
|
|
48
55
|
break;
|
|
49
56
|
}
|
|
50
|
-
},
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
}, sendMessage = (_0x2d1b41, _0x1c1a41, _0x44c672) => {
|
|
58
|
+
const _0x4de98d = _0x216b, _0x2ed129 = _0x216b, _0x189bf1 = {};
|
|
59
|
+
_0x189bf1["bKpyB"] = function(_0x4852df, _0x44327b) {
|
|
60
|
+
return _0x4852df !== _0x44327b;
|
|
61
|
+
}, _0x189bf1[_0x4de98d(205)] = "undefined", _0x189bf1[_0x2ed129(244)] = function(_0x46ba00, _0x2e5dae) {
|
|
62
|
+
return _0x46ba00 in _0x2e5dae;
|
|
63
|
+
}, _0x189bf1[_0x4de98d(238)] = "postMessage", _0x189bf1["nnagL"] = function(_0x41fd5e, _0x539c4f) {
|
|
64
|
+
return _0x41fd5e === _0x539c4f;
|
|
65
|
+
};
|
|
66
|
+
const _0x3e43a6 = _0x189bf1;
|
|
67
|
+
if (_0x3e43a6["bKpyB"](typeof window, _0x3e43a6[_0x4de98d(205)])) _0x2d1b41["postMessage"](_0x1c1a41, "*", _0x44c672);
|
|
68
|
+
else _0x3e43a6["fyFox"](_0x3e43a6[_0x4de98d(238)], _0x2d1b41) && _0x3e43a6[_0x4de98d(251)](typeof _0x2d1b41[_0x2ed129(229)], _0x4de98d(216)) && _0x2d1b41[_0x2ed129(229)](_0x1c1a41, _0x44c672);
|
|
69
|
+
}, setMessageHandler = (_0x3f582c, _0x5a4b43) => {
|
|
70
|
+
const _0x5c266f = _0x216b, _0x51630 = _0x216b, _0x93b123 = {};
|
|
71
|
+
_0x93b123[_0x5c266f(225)] = function(_0x27972e, _0x3a53bf) {
|
|
72
|
+
return _0x27972e in _0x3a53bf;
|
|
73
|
+
}, _0x93b123["uPeJF"] = _0x5c266f(236), _0x93b123["aZfdb"] = function(_0x240e96, _0x32a6e2) {
|
|
74
|
+
return _0x240e96 === _0x32a6e2;
|
|
75
|
+
}, _0x93b123[_0x51630(227)] = _0x5c266f(216), _0x93b123["TjEKv"] = function(_0x4a54ff, _0x28ce26) {
|
|
76
|
+
return _0x4a54ff !== _0x28ce26;
|
|
77
|
+
}, _0x93b123["xAEqe"] = "undefined";
|
|
78
|
+
const _0x5dc1cc = _0x93b123;
|
|
79
|
+
if (_0x5dc1cc[_0x51630(225)](_0x5dc1cc[_0x51630(221)], _0x3f582c) && _0x5dc1cc["aZfdb"](typeof _0x3f582c["addEventListener"], _0x5dc1cc["JHnRA"])) _0x3f582c["addEventListener"](_0x51630(243), _0x5a4b43);
|
|
80
|
+
else _0x5c266f(239) in _0x3f582c && _0x5dc1cc["TjEKv"](typeof _0x3f582c["onmessage"], _0x5dc1cc[_0x5c266f(245)]) && (_0x3f582c["onmessage"] = _0x5a4b43);
|
|
66
81
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}, h();
|
|
72
|
-
}
|
|
73
|
-
class l {
|
|
74
|
-
constructor(t, x) {
|
|
75
|
-
const e = u, s = { AUWQS: e(371) }, r = s[e(365)][e(379)]("|");
|
|
76
|
-
let a = 1365 + 8 * -52 + -949 * 1;
|
|
77
|
-
for (; ; ) {
|
|
78
|
-
switch (r[a++]) {
|
|
79
|
-
case "0":
|
|
80
|
-
this._sessionId = x;
|
|
81
|
-
continue;
|
|
82
|
-
case "1":
|
|
83
|
-
this[e(364)] = !1;
|
|
84
|
-
continue;
|
|
85
|
-
case "2":
|
|
86
|
-
this[e(364)] = !1;
|
|
87
|
-
continue;
|
|
88
|
-
case "3":
|
|
89
|
-
this._started = !1;
|
|
90
|
-
continue;
|
|
91
|
-
case "4":
|
|
92
|
-
this[e(382)] = !1;
|
|
93
|
-
continue;
|
|
94
|
-
case "5":
|
|
95
|
-
this._port = t;
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
82
|
+
class MessageChannelTransport {
|
|
83
|
+
constructor(_0xd97706, _0x11bd6a) {
|
|
84
|
+
const _0x2bd1e4 = _0x216b, _0x23b8ad = _0x216b;
|
|
85
|
+
this[_0x2bd1e4(234)] = ![], this[_0x23b8ad(208)] = ![], this["_port"] = _0xd97706, this["_sessionId"] = _0x11bd6a, this[_0x23b8ad(234)] = ![], this[_0x23b8ad(208)] = ![];
|
|
100
86
|
}
|
|
101
|
-
async [
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
87
|
+
async ["start"]() {
|
|
88
|
+
const _0x4d63a9 = _0x216b, _0x18aacc = _0x216b;
|
|
89
|
+
if (this[_0x4d63a9(234)] || this[_0x18aacc(208)] || !this["_port"]) return;
|
|
90
|
+
this["_started"] = !![], this[_0x18aacc(207)]["onmessage"] = (_0x2b8e5e) => {
|
|
91
|
+
var _a, _b;
|
|
92
|
+
const _0x54f748 = _0x18aacc, _0x11449e = _0x18aacc;
|
|
106
93
|
try {
|
|
107
|
-
const
|
|
108
|
-
(
|
|
109
|
-
} catch (
|
|
110
|
-
const
|
|
111
|
-
(
|
|
94
|
+
const _0x4d8f94 = JSONRPCMessageSchema["parse"](_0x2b8e5e["data"]);
|
|
95
|
+
(_a = this[_0x54f748(239)]) == null ? void 0 : _a.call(this, _0x4d8f94);
|
|
96
|
+
} catch (_0x34a835) {
|
|
97
|
+
const _0x23cbbd = new Error(_0x11449e(223) + _0x34a835);
|
|
98
|
+
(_b = this["onerror"]) == null ? void 0 : _b.call(this, _0x23cbbd);
|
|
112
99
|
}
|
|
113
|
-
}, this[
|
|
114
|
-
var
|
|
115
|
-
const
|
|
116
|
-
(
|
|
117
|
-
}, this[
|
|
100
|
+
}, this["_port"]["onmessageerror"] = (_0x2ae9ed) => {
|
|
101
|
+
var _a;
|
|
102
|
+
const _0x76612d = _0x4d63a9, _0x17d937 = new Error(_0x76612d(247) + JSON["stringify"](_0x2ae9ed));
|
|
103
|
+
(_a = this[_0x76612d(250)]) == null ? void 0 : _a.call(this, _0x17d937);
|
|
104
|
+
}, this["_port"]["start"]();
|
|
118
105
|
}
|
|
119
|
-
async send(
|
|
120
|
-
const
|
|
121
|
-
return
|
|
122
|
-
},
|
|
123
|
-
return
|
|
124
|
-
}, cdjiy: function(s, r) {
|
|
125
|
-
return s(r);
|
|
106
|
+
async ["send"](_0x346ffb) {
|
|
107
|
+
const _0x2ce7f1 = _0x216b, _0x4f1797 = _0x216b, _0x22ef20 = { "irjtu": function(_0x1b4851) {
|
|
108
|
+
return _0x1b4851();
|
|
109
|
+
}, "dwDTq": function(_0x5a6efb, _0x32de54) {
|
|
110
|
+
return _0x5a6efb(_0x32de54);
|
|
126
111
|
} };
|
|
127
|
-
if (
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
112
|
+
if (this[_0x2ce7f1(208)] || !this[_0x2ce7f1(207)]) return;
|
|
113
|
+
return new Promise((_0x1882d8, _0x54035a) => {
|
|
114
|
+
var _a;
|
|
115
|
+
const _0x1ef373 = _0x4f1797, _0x4dab65 = _0x2ce7f1;
|
|
116
|
+
try {
|
|
117
|
+
if (this["_port"]) this["_port"][_0x1ef373(229)](_0x346ffb);
|
|
118
|
+
_0x22ef20[_0x4dab65(253)](_0x1882d8);
|
|
119
|
+
} catch (_0xb1a746) {
|
|
120
|
+
const _0x10323d = _0xb1a746 instanceof Error ? _0xb1a746 : new Error(_0x22ef20["dwDTq"](String, _0xb1a746));
|
|
121
|
+
(_a = this[_0x1ef373(250)]) == null ? void 0 : _a.call(this, _0x10323d), _0x54035a(_0x10323d);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
138
124
|
}
|
|
139
|
-
async [
|
|
140
|
-
var
|
|
141
|
-
const
|
|
142
|
-
|
|
125
|
+
async ["close"]() {
|
|
126
|
+
var _a;
|
|
127
|
+
const _0x3a1a20 = _0x216b;
|
|
128
|
+
if (this[_0x3a1a20(208)] || !this[_0x3a1a20(207)]) return;
|
|
129
|
+
this["_closed"] = !![], this["_port"]["close"](), (_a = this[_0x3a1a20(218)]) == null ? void 0 : _a.call(this);
|
|
143
130
|
}
|
|
144
|
-
get [
|
|
145
|
-
return this[
|
|
131
|
+
get [_0x18f33d(241)]() {
|
|
132
|
+
return this["_sessionId"];
|
|
146
133
|
}
|
|
147
134
|
}
|
|
148
|
-
class
|
|
149
|
-
constructor(
|
|
150
|
-
const
|
|
151
|
-
super(), this
|
|
152
|
-
const
|
|
153
|
-
this[
|
|
135
|
+
class MessageChannelClientTransport extends MessageChannelTransport {
|
|
136
|
+
constructor(_0x2e36cf, _0x844b00 = getGlobalObject()) {
|
|
137
|
+
const _0x3f8fe1 = _0x18f33d, _0x3d5393 = _0x18f33d;
|
|
138
|
+
super(), this[_0x3f8fe1(252)] = _0x2e36cf, this[_0x3f8fe1(203)] = _0x844b00;
|
|
139
|
+
const _0x296f66 = new MessageChannel(), _0x5b9bcf = crypto[_0x3d5393(214)]();
|
|
140
|
+
this[_0x3f8fe1(207)] = _0x296f66["port1"], this[_0x3f8fe1(219)] = _0x5b9bcf, sendMessage(this["_globalObject"], { "endpoint": this["_endpoint"], "sessionId": _0x5b9bcf }, [_0x296f66["port2"]]);
|
|
154
141
|
}
|
|
155
142
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
143
|
+
function _0x216b(_0x5a2165, _0xf29367) {
|
|
144
|
+
const _0x537677 = _0x5302();
|
|
145
|
+
return _0x216b = function(_0x1b4fd7, _0x1379de) {
|
|
146
|
+
_0x1b4fd7 = _0x1b4fd7 - (-29 * -284 + -8174 + -3 * -47);
|
|
147
|
+
let _0x51c00d = _0x537677[_0x1b4fd7];
|
|
148
|
+
return _0x51c00d;
|
|
149
|
+
}, _0x216b(_0x5a2165, _0xf29367);
|
|
150
|
+
}
|
|
151
|
+
class MessageChannelServerTransport extends MessageChannelTransport {
|
|
152
|
+
constructor(_0x320bbc, _0x274b7a = getGlobalObject()) {
|
|
153
|
+
const _0x3449fd = _0x18f33d, _0x19af12 = _0x18f33d, _0x694c5 = { "TGbXa": function(_0x3d90c7, _0x4cfc4f) {
|
|
154
|
+
return _0x3d90c7 === _0x4cfc4f;
|
|
155
|
+
}, "EXRnf": function(_0x2aaea2) {
|
|
156
|
+
return _0x2aaea2();
|
|
157
|
+
}, "nQHem": function(_0x426b90, _0x182799, _0x1b6ef2) {
|
|
158
|
+
return _0x426b90(_0x182799, _0x1b6ef2);
|
|
162
159
|
} };
|
|
163
|
-
super(), this
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
return s.JwJXP(o);
|
|
168
|
-
} };
|
|
169
|
-
J(this[a(392)], (o) => {
|
|
170
|
-
const i = a;
|
|
171
|
-
o[i(412)] && c[i(409)](o[i(412)][i(411)], this._endpoint) && (this[i(369)] = o.ports[7172 + 2512 * 3 + -14708], this._sessionId = o[i(412)][i(408)], c.vKRow(r));
|
|
160
|
+
super(), this[_0x3449fd(252)] = _0x320bbc, this["_globalObject"] = _0x274b7a, this[_0x19af12(233)] = new Promise((_0x2d5226) => {
|
|
161
|
+
_0x694c5["nQHem"](setMessageHandler, this["_globalObject"], (_0x7474d2) => {
|
|
162
|
+
const _0x203c2a = _0x216b, _0x4fd0a1 = _0x216b;
|
|
163
|
+
_0x7474d2[_0x203c2a(235)] && _0x694c5["TGbXa"](_0x7474d2[_0x203c2a(235)][_0x203c2a(213)], this["_endpoint"]) && (this[_0x4fd0a1(207)] = _0x7474d2[_0x203c2a(232)][6143 * -1 + 3375 * -1 + 1 * 9518], this[_0x203c2a(219)] = _0x7474d2[_0x4fd0a1(235)][_0x4fd0a1(241)], _0x694c5["EXRnf"](_0x2d5226));
|
|
172
164
|
});
|
|
173
165
|
});
|
|
174
166
|
}
|
|
175
|
-
async
|
|
176
|
-
return this
|
|
167
|
+
async [_0x18f33d(228)]() {
|
|
168
|
+
return this["_listen"];
|
|
177
169
|
}
|
|
178
170
|
}
|
|
179
|
-
const
|
|
180
|
-
const
|
|
181
|
-
return [new
|
|
171
|
+
const createTransportPair = () => {
|
|
172
|
+
const _0x564be4 = _0x34998a, _0x14fe7d = _0x34998a, _0x32a5aa = new MessageChannel(), _0x4cda7e = crypto[_0x564be4(214)]();
|
|
173
|
+
return [new MessageChannelTransport(_0x32a5aa[_0x14fe7d(249)], _0x4cda7e), new MessageChannelTransport(_0x32a5aa[_0x14fe7d(209)], _0x4cda7e)];
|
|
182
174
|
};
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
175
|
+
const _0x3bc3ad = _0x3baf;
|
|
176
|
+
(function(_0x1e15b4, _0x4ff49f) {
|
|
177
|
+
const _0x19c156 = _0x3baf, _0x5e6d31 = _0x3baf, _0x47b73b = _0x1e15b4();
|
|
178
|
+
while (!![]) {
|
|
186
179
|
try {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
180
|
+
const _0x434542 = parseInt(_0x19c156(451)) / (1727 + 1 * -760 + 14 * -69) * (parseInt(_0x19c156(438)) / (8167 + 48 * 109 + 1 * -13397)) + parseInt(_0x5e6d31(444)) / (698 * 3 + -4 * 489 + -135) + parseInt(_0x5e6d31(448)) / (-1 * 4162 + 0 + -2 * -2083) * (-parseInt(_0x19c156(440)) / (-1 * 3491 + 5367 + -1871)) + -parseInt(_0x5e6d31(446)) / (1 * -8597 + -3963 + 122 * 103) * (parseInt(_0x5e6d31(452)) / (1777 * -5 + 3154 + -151 * -38)) + -parseInt(_0x19c156(441)) / (-4965 + -7459 + 84 * 148) + parseInt(_0x19c156(437)) / (4223 + 1529 + -1 * 5743) * (parseInt(_0x19c156(445)) / (-1790 + -8204 + -10004 * -1)) + -parseInt(_0x5e6d31(443)) / (1021 * -3 + 7120 + -4046) * (parseInt(_0x5e6d31(442)) / (1 * -3203 + -73 * -17 + 1974));
|
|
181
|
+
if (_0x434542 === _0x4ff49f) break;
|
|
182
|
+
else _0x47b73b["push"](_0x47b73b["shift"]());
|
|
183
|
+
} catch (_0x4a5966) {
|
|
184
|
+
_0x47b73b["push"](_0x47b73b["shift"]());
|
|
191
185
|
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
return
|
|
197
|
-
},
|
|
186
|
+
}
|
|
187
|
+
})(_0x569f, 1 * -441100 + -1 * -870391 + 4541 * 67);
|
|
188
|
+
const sseOptions = (_0x4a2a98, _0x543427 = crypto["randomUUID"]()) => ({ "requestInit": { "headers": { "Authorization": _0x3bc3ad(447) + _0x4a2a98, "sse-session-id": _0x543427 } }, "eventSourceInit": { async "fetch"(_0x1c3ad2, _0x28eda5) {
|
|
189
|
+
const _0xc72f47 = _0x3bc3ad, _0xc67e97 = _0x3bc3ad, _0x4ca87a = { "CDPDr": "authorization", "SIRQu": "sse-session-id", "PMfyi": function(_0xb0d939, _0x4ae98c, _0x413ec4) {
|
|
190
|
+
return _0xb0d939(_0x4ae98c, _0x413ec4);
|
|
191
|
+
} }, _0x3d012b = new Headers((_0x28eda5 == null ? void 0 : _0x28eda5["headers"]) || {});
|
|
192
|
+
_0x3d012b[_0xc72f47(450)](_0x4ca87a[_0xc67e97(439)], "Bearer " + _0x4a2a98), _0x3d012b["set"](_0x4ca87a["SIRQu"], _0x543427);
|
|
193
|
+
const _0x462f4b = { ..._0x28eda5 };
|
|
194
|
+
return _0x462f4b["headers"] = _0x3d012b, _0x4ca87a["PMfyi"](fetch, _0x1c3ad2, _0x462f4b);
|
|
195
|
+
} } });
|
|
196
|
+
const streamOptions = (_0x28b675, _0x126cee = crypto[_0x3bc3ad(449)]()) => ({ "requestInit": { "headers": { "Authorization": "Bearer " + _0x28b675, "stream-session-id": _0x126cee } } });
|
|
197
|
+
function _0x3baf(_0x16bfb1, _0x497102) {
|
|
198
|
+
const _0x3b2da5 = _0x569f();
|
|
199
|
+
return _0x3baf = function(_0x2c4725, _0x4135c2) {
|
|
200
|
+
_0x2c4725 = _0x2c4725 - (9 * 623 + -1639 + -3531);
|
|
201
|
+
let _0x18377e = _0x3b2da5[_0x2c4725];
|
|
202
|
+
return _0x18377e;
|
|
203
|
+
}, _0x3baf(_0x16bfb1, _0x497102);
|
|
198
204
|
}
|
|
199
|
-
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
break;
|
|
216
|
-
case e.xIbLF:
|
|
217
|
-
s = await n[x(257)][x(251)](c);
|
|
218
|
-
break;
|
|
219
|
-
case x(282):
|
|
220
|
-
s = await n._client.readResource(c);
|
|
221
|
-
break;
|
|
222
|
-
case e[x(263)]:
|
|
223
|
-
s = await n[x(257)].subscribeResource(c);
|
|
224
|
-
break;
|
|
225
|
-
case e[x(254)]:
|
|
226
|
-
s = await n[x(257)].unsubscribeResource(c);
|
|
227
|
-
break;
|
|
228
|
-
case e[x(287)]:
|
|
229
|
-
s = await n[x(257)][x(279)](c);
|
|
230
|
-
break;
|
|
231
|
-
case "prompts/list":
|
|
232
|
-
s = await n[x(257)][x(280)](c);
|
|
233
|
-
break;
|
|
234
|
-
case e.EEwSb:
|
|
235
|
-
s = await n[x(257)][x(259)]();
|
|
236
|
-
break;
|
|
237
|
-
case e[x(252)]:
|
|
238
|
-
s = await n[x(257)][x(253)](c);
|
|
239
|
-
break;
|
|
240
|
-
case e[x(290)]:
|
|
241
|
-
s = await n._client[x(265)](c);
|
|
242
|
-
break;
|
|
205
|
+
function _0x569f() {
|
|
206
|
+
const _0x300ea9 = ["17563942OZOBIT", "3967668hLugLz", "40CfliXb", "324ZHsAYm", "Bearer ", "2337180BedxKI", "randomUUID", "set", "692Edakea", "46165GEHXrP", "2875266KLhetC", "3942sqEZkC", "CDPDr", "10wdPgeU", "875232xcTSmZ", "12NWlqZC"];
|
|
207
|
+
_0x569f = function() {
|
|
208
|
+
return _0x300ea9;
|
|
209
|
+
};
|
|
210
|
+
return _0x569f();
|
|
211
|
+
}
|
|
212
|
+
(function(_0x1631c8, _0x5e880d) {
|
|
213
|
+
const _0x459a0e = _0x2505, _0x3878d9 = _0x2505, _0x2ef70d = _0x1631c8();
|
|
214
|
+
while (!![]) {
|
|
215
|
+
try {
|
|
216
|
+
const _0x4a48fe = -parseInt(_0x459a0e(491)) / (1623 * -5 + 119 * -23 + 10853) + parseInt(_0x3878d9(499)) / (-9384 + -5963 + 15349 * 1) + -parseInt(_0x3878d9(530)) / (-4542 * 1 + -2894 + 43 * 173) + parseInt(_0x3878d9(542)) / (-4859 + -4410 + 9273) + -parseInt(_0x3878d9(492)) / (-3897 + -8974 + -174 * -74) * (-parseInt(_0x459a0e(546)) / (-3556 + -665 * 15 + 13537)) + -parseInt(_0x3878d9(520)) / (7085 + 6330 + 838 * -16) + parseInt(_0x459a0e(512)) / (-1457 * -4 + -2 * -4117 + -14054);
|
|
217
|
+
if (_0x4a48fe === _0x5e880d) break;
|
|
218
|
+
else _0x2ef70d["push"](_0x2ef70d["shift"]());
|
|
219
|
+
} catch (_0x4a7043) {
|
|
220
|
+
_0x2ef70d["push"](_0x2ef70d["shift"]());
|
|
243
221
|
}
|
|
244
|
-
return s ? await n[x(271)]({ result: s, jsonrpc: e[x(281)], id: r }) : e[x(269)](a, x(248)) && e[x(269)](a, e[x(273)]) && (a !== x(245) || c[x(278)]) && await n[x(257)].notification({ method: a, params: c }), s;
|
|
245
222
|
}
|
|
246
|
-
},
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
223
|
+
})(_0x121e, -114 * -9683 + 1 * -1225749 + 13697 * 65);
|
|
224
|
+
const forwardServerRequest = async (_0x343334, _0x15f358, _0x425a9b) => {
|
|
225
|
+
var _a;
|
|
226
|
+
const _0x1d2b97 = _0x2505, _0x1f3428 = _0x2505, _0x34cda3 = {};
|
|
227
|
+
_0x34cda3[_0x1d2b97(517)] = "tools/call", _0x34cda3["JyVOL"] = _0x1d2b97(549), _0x34cda3["EgAGg"] = "resources/templates/list", _0x34cda3[_0x1d2b97(493)] = _0x1f3428(514), _0x34cda3[_0x1d2b97(505)] = _0x1f3428(572), _0x34cda3["FNONA"] = _0x1f3428(501), _0x34cda3[_0x1d2b97(516)] = "ping", _0x34cda3[_0x1d2b97(567)] = _0x1d2b97(556);
|
|
228
|
+
const _0x14210a = _0x34cda3, { id: _0x189ff1, method: _0x5cd11e, params: _0x20bafb } = _0x425a9b;
|
|
229
|
+
let _0x3bc6ec = {};
|
|
230
|
+
switch (_0x5cd11e) {
|
|
231
|
+
case _0x1f3428(553):
|
|
232
|
+
_0x3bc6ec = await _0x15f358["listTools"](_0x20bafb);
|
|
233
|
+
break;
|
|
234
|
+
case _0x14210a["QnoRv"]:
|
|
235
|
+
_0x3bc6ec = await _0x15f358[_0x1f3428(513)](_0x20bafb);
|
|
236
|
+
break;
|
|
237
|
+
case _0x14210a[_0x1f3428(538)]:
|
|
238
|
+
_0x3bc6ec = await _0x15f358[_0x1d2b97(529)](_0x20bafb);
|
|
239
|
+
break;
|
|
240
|
+
case _0x14210a[_0x1f3428(540)]:
|
|
241
|
+
_0x3bc6ec = await _0x15f358["listResourceTemplates"](_0x20bafb);
|
|
242
|
+
break;
|
|
243
|
+
case _0x14210a["MQceu"]:
|
|
244
|
+
_0x3bc6ec = await _0x15f358["readResource"](_0x20bafb);
|
|
245
|
+
break;
|
|
246
|
+
case _0x1d2b97(566):
|
|
247
|
+
_0x3bc6ec = await _0x15f358["subscribeResource"](_0x20bafb);
|
|
248
|
+
break;
|
|
249
|
+
case _0x1f3428(511):
|
|
250
|
+
_0x3bc6ec = await _0x15f358["unsubscribeResource"](_0x20bafb);
|
|
251
|
+
break;
|
|
252
|
+
case _0x14210a["WVxAR"]:
|
|
253
|
+
_0x3bc6ec = await _0x15f358["getPrompt"](_0x20bafb);
|
|
254
|
+
break;
|
|
255
|
+
case _0x14210a[_0x1f3428(502)]:
|
|
256
|
+
_0x3bc6ec = await _0x15f358[_0x1f3428(504)](_0x20bafb);
|
|
257
|
+
break;
|
|
258
|
+
case _0x14210a["CZiCJ"]:
|
|
259
|
+
_0x3bc6ec = await _0x15f358[_0x1d2b97(545)]();
|
|
260
|
+
break;
|
|
261
|
+
case "completion/complete":
|
|
262
|
+
_0x3bc6ec = await _0x15f358["complete"](_0x20bafb);
|
|
263
|
+
break;
|
|
264
|
+
case "logging/setLevel":
|
|
265
|
+
_0x3bc6ec = await _0x15f358["setLoggingLevel"](_0x20bafb == null ? void 0 : _0x20bafb["level"]);
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
const _0x284d20 = {};
|
|
269
|
+
_0x284d20["result"] = _0x3bc6ec, _0x284d20[_0x1d2b97(526)] = _0x14210a[_0x1f3428(567)], _0x284d20["id"] = _0x189ff1, await ((_a = _0x343334 == null ? void 0 : _0x343334["transport"]) == null ? void 0 : _a["send"](_0x284d20));
|
|
270
|
+
}, forwardClientRequest = async (_0x50f441, _0x38b7ad, _0x39d872) => {
|
|
271
|
+
var _a;
|
|
272
|
+
const _0x58d2d8 = _0x2505, _0x18adb2 = _0x2505, _0xea9046 = {};
|
|
273
|
+
_0xea9046[_0x58d2d8(508)] = "roots/list", _0xea9046[_0x58d2d8(515)] = _0x58d2d8(555);
|
|
274
|
+
const _0xe6220b = _0xea9046, { id: _0x26c123, method: _0x44831b, params: _0x3f7f15 } = _0x39d872;
|
|
275
|
+
let _0x3df87d = {};
|
|
276
|
+
switch (_0x44831b) {
|
|
277
|
+
case _0xe6220b[_0x18adb2(508)]:
|
|
278
|
+
const _0x1c1415 = {};
|
|
279
|
+
_0x1c1415[_0x58d2d8(509)] = _0x44831b, _0x1c1415["params"] = _0x3f7f15, _0x3df87d = await _0x38b7ad[_0x58d2d8(543)](_0x1c1415, ListRootsResultSchema);
|
|
280
|
+
break;
|
|
281
|
+
case _0xe6220b[_0x18adb2(515)]:
|
|
282
|
+
const _0x157e10 = {};
|
|
283
|
+
_0x157e10[_0x58d2d8(509)] = _0x44831b, _0x157e10["params"] = _0x3f7f15, _0x3df87d = await _0x38b7ad[_0x18adb2(543)](_0x157e10, CreateMessageResultSchema);
|
|
284
|
+
break;
|
|
285
|
+
case _0x58d2d8(545):
|
|
286
|
+
const _0x226d72 = {};
|
|
287
|
+
_0x226d72["method"] = _0x44831b, _0x3df87d = await _0x38b7ad[_0x58d2d8(543)](_0x226d72, EmptyResultSchema);
|
|
288
|
+
break;
|
|
266
289
|
}
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
290
|
+
const _0x57ec98 = {};
|
|
291
|
+
_0x57ec98[_0x58d2d8(506)] = _0x3df87d, _0x57ec98["jsonrpc"] = "2.0", _0x57ec98["id"] = _0x26c123, await ((_a = _0x50f441 == null ? void 0 : _0x50f441[_0x58d2d8(559)]) == null ? void 0 : _a[_0x58d2d8(510)](_0x57ec98));
|
|
292
|
+
};
|
|
293
|
+
const forwardServerOnRequest = (_0x3bcefc, _0x2d77e1) => {
|
|
294
|
+
const _0x533450 = _0x2505, _0x3e74a3 = _0x2505, _0x52631e = {};
|
|
295
|
+
_0x52631e["RIfGB"] = function(_0x34fd9d, _0x41a567) {
|
|
296
|
+
return _0x34fd9d === _0x41a567;
|
|
297
|
+
}, _0x52631e["VCkWK"] = _0x533450(556);
|
|
298
|
+
const _0x3fefbe = _0x52631e, _0x36fd14 = _0x3bcefc["_onrequest"];
|
|
299
|
+
_0x3bcefc[_0x3e74a3(535)] = async (_0x4d391e, _0x4d79ed) => {
|
|
300
|
+
var _a;
|
|
301
|
+
const _0x513b0a = _0x533450, _0xe10537 = _0x3e74a3, { id: _0x4955fa, method: _0x3361f4 } = _0x4d391e;
|
|
271
302
|
try {
|
|
272
|
-
await
|
|
303
|
+
_0x3fefbe["RIfGB"](_0x3361f4, _0x513b0a(570)) ? await _0x36fd14["call"](_0x3bcefc, _0x4d391e, _0x4d79ed) : await forwardServerRequest(_0x3bcefc, _0x2d77e1, _0x4d391e);
|
|
304
|
+
} catch (_0x35e44a) {
|
|
305
|
+
const { code: _0x344cb7, message: _0x380b86, data: _0x124ec3 } = _0x35e44a;
|
|
306
|
+
try {
|
|
307
|
+
const _0xca4a58 = {};
|
|
308
|
+
_0xca4a58[_0xe10537(562)] = _0x344cb7, _0xca4a58["message"] = _0x380b86, _0xca4a58[_0x513b0a(522)] = _0x124ec3;
|
|
309
|
+
const _0x146aad = {};
|
|
310
|
+
_0x146aad[_0x513b0a(564)] = _0xca4a58, _0x146aad[_0xe10537(526)] = _0x3fefbe["VCkWK"], _0x146aad["id"] = _0x4955fa, await ((_a = _0x3bcefc == null ? void 0 : _0x3bcefc[_0x513b0a(559)]) == null ? void 0 : _a[_0xe10537(510)](_0x146aad));
|
|
311
|
+
} catch {
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
const forwardServerOnNotification = (_0x41cd8d, _0x265ecf) => {
|
|
317
|
+
const _0x50de8d = _0x2505, _0x1a5c0b = {};
|
|
318
|
+
_0x1a5c0b["FIaQk"] = function(_0xf0095d, _0x1b50c9) {
|
|
319
|
+
return _0xf0095d !== _0x1b50c9;
|
|
320
|
+
}, _0x1a5c0b["HvPyq"] = _0x50de8d(560), _0x1a5c0b["ttwxP"] = function(_0x3e64a1, _0x46226e) {
|
|
321
|
+
return _0x3e64a1 !== _0x46226e;
|
|
322
|
+
}, _0x1a5c0b["BnIzv"] = "notifications/cancelled";
|
|
323
|
+
const _0x505d34 = _0x1a5c0b;
|
|
324
|
+
_0x41cd8d["_onnotification"] = async (_0x36071e) => {
|
|
325
|
+
const _0x1a7287 = _0x50de8d, { method: _0x8c144a, params: _0x4f2043 } = _0x36071e;
|
|
326
|
+
if (_0x505d34[_0x1a7287(561)](_0x8c144a, _0x505d34["HvPyq"]) && (_0x505d34[_0x1a7287(550)](_0x8c144a, _0x505d34["BnIzv"]) || (_0x4f2043 == null ? void 0 : _0x4f2043[_0x1a7287(557)]))) try {
|
|
327
|
+
await _0x265ecf[_0x1a7287(558)](_0x36071e);
|
|
273
328
|
} catch {
|
|
274
329
|
}
|
|
275
|
-
s[a(284)](t, r);
|
|
276
330
|
};
|
|
277
331
|
};
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
return
|
|
282
|
-
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
(
|
|
286
|
-
|
|
332
|
+
const forwardClientOnRequest = (_0x3c2e90, _0x2f701d) => async (_0x1d519e) => {
|
|
333
|
+
var _a;
|
|
334
|
+
const _0x217032 = _0x2505, _0x277ed3 = _0x2505, _0x377f5c = { "NxDKo": function(_0x1452b7, _0x4b1b25, _0x5ca272, _0x3bf558) {
|
|
335
|
+
return _0x1452b7(_0x4b1b25, _0x5ca272, _0x3bf558);
|
|
336
|
+
}, "lFYcT": _0x217032(556) };
|
|
337
|
+
try {
|
|
338
|
+
await _0x377f5c[_0x277ed3(537)](forwardClientRequest, _0x3c2e90, _0x2f701d, _0x1d519e);
|
|
339
|
+
} catch (_0x1cbf70) {
|
|
340
|
+
const { code: _0x52e1cf, message: _0x4ba07a, data: _0x3ad80d } = _0x1cbf70;
|
|
287
341
|
try {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
342
|
+
const _0x4ad807 = {};
|
|
343
|
+
_0x4ad807["code"] = _0x52e1cf, _0x4ad807["message"] = _0x4ba07a, _0x4ad807["data"] = _0x3ad80d;
|
|
344
|
+
const _0x4ee658 = {};
|
|
345
|
+
_0x4ee658["error"] = _0x4ad807, _0x4ee658["jsonrpc"] = _0x377f5c["lFYcT"], _0x4ee658["id"] = _0x1d519e["id"], await ((_a = _0x3c2e90 == null ? void 0 : _0x3c2e90["transport"]) == null ? void 0 : _a["send"](_0x4ee658));
|
|
291
346
|
} catch {
|
|
292
|
-
e.push(e.shift());
|
|
293
347
|
}
|
|
294
|
-
})(w, 1767 * 253 + -687857 + 8 * 78058);
|
|
295
|
-
function b(n, t) {
|
|
296
|
-
var x = w();
|
|
297
|
-
return b = function(e, s) {
|
|
298
|
-
e = e - (7038 + -5 * -1006 + -11958);
|
|
299
|
-
var r = x[e];
|
|
300
|
-
return r;
|
|
301
|
-
}, b(n, t);
|
|
302
|
-
}
|
|
303
|
-
function w() {
|
|
304
|
-
var n = ["ozTZy", "2026719afumPv", "245283gIIfvg", "_endpoint", "66AmGFRf", "NUrkI", "kpaeS", "7404nyyBCe", "2488EwPGSE", "sessionId", "19382iSxgqP", "38365HVaadj", "12QfucWW", "106347UlJhXm", "_client", "7409080OKLnQg", "20cIGngf", "12971DXPsbO", "_startOrAuth"];
|
|
305
|
-
return w = function() {
|
|
306
|
-
return n;
|
|
307
|
-
}, w();
|
|
308
|
-
}
|
|
309
|
-
class V extends U {
|
|
310
|
-
constructor(t, x, e) {
|
|
311
|
-
var s = b, r = { kpaeS: function(a, c, o) {
|
|
312
|
-
return a(c, o);
|
|
313
|
-
} };
|
|
314
|
-
super(t, x), this[s(125)] = e, r[s(117)](F, this, e);
|
|
315
|
-
}
|
|
316
|
-
[C(110)]() {
|
|
317
|
-
var t = C, x = { NUrkI: function(e, s) {
|
|
318
|
-
return e(s);
|
|
319
|
-
} };
|
|
320
|
-
return x[t(116)](B, this), super[t(110)]();
|
|
321
348
|
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
349
|
+
};
|
|
350
|
+
function _0x121e() {
|
|
351
|
+
const _0x46f9a8 = ["QnoRv", "clearRequestListener", "qnXFU", "899444cSrcoy", "KCjOY", "data", "plQTK", "message", "removeResponseListener", "jsonrpc", "removeNotificationListener", "splice", "listResources", "4057200NoxLRd", "addRequestListener", "indexOf", "_requestHandlers", "removeRequestListener", "_onrequest", "YKzMy", "NxDKo", "JyVOL", "removeListener", "EgAGg", "fallbackNotificationHandler", "1140200iNCvOR", "request", "requestId", "ping", "36frshse", "sUiAm", "length", "resources/list", "ttwxP", "_onresponse", "clear", "tools/list", "_requestHandlerAbortControllers", "sampling/createMessage", "2.0", "forward", "notification", "transport", "notifications/initialized", "FIaQk", "code", "UTvQF", "error", "jNPfh", "resources/subscribe", "oCGVq", "call", "wSjoE", "initialize", "addNotificationListener", "prompts/get", "857979dxoiPm", "103735RlcXjK", "MQceu", "includes", "function", "YoDTH", "notifications/progress", "EvJXI", "1645874ftABRG", "zZbJg", "prompts/list", "FNONA", "clearNotificationListener", "listPrompts", "WVxAR", "result", "JPeTF", "xwSrw", "method", "send", "resources/unsubscribe", "14998560dCfamG", "callTool", "resources/read", "XrCOE", "CZiCJ"];
|
|
352
|
+
_0x121e = function() {
|
|
353
|
+
return _0x46f9a8;
|
|
354
|
+
};
|
|
355
|
+
return _0x121e();
|
|
356
|
+
}
|
|
357
|
+
const forwardClientOnNotification = (_0x446a5b) => async (_0x46fb22) => {
|
|
358
|
+
var _a;
|
|
359
|
+
const _0x5a6118 = _0x2505, _0x2dde34 = _0x2505, _0x4d6d77 = {};
|
|
360
|
+
_0x4d6d77[_0x5a6118(507)] = function(_0x205a2d, _0x59a19f) {
|
|
361
|
+
return _0x205a2d !== _0x59a19f;
|
|
362
|
+
}, _0x4d6d77["znUGw"] = "notifications/initialized", _0x4d6d77[_0x5a6118(521)] = "notifications/cancelled", _0x4d6d77["BuErD"] = "2.0";
|
|
363
|
+
const _0x216f1a = _0x4d6d77, { method: _0x1bb731, params: _0x4223f2 } = _0x46fb22;
|
|
364
|
+
if (_0x216f1a["JPeTF"](_0x1bb731, _0x216f1a["znUGw"]) && (_0x216f1a[_0x2dde34(507)](_0x1bb731, _0x216f1a[_0x5a6118(521)]) || (_0x4223f2 == null ? void 0 : _0x4223f2[_0x2dde34(557)]))) try {
|
|
365
|
+
const _0x60d97c = { ..._0x46fb22 };
|
|
366
|
+
_0x60d97c[_0x5a6118(526)] = _0x216f1a["BuErD"], await ((_a = _0x446a5b == null ? void 0 : _0x446a5b[_0x2dde34(559)]) == null ? void 0 : _a["send"](_0x60d97c));
|
|
367
|
+
} catch {
|
|
325
368
|
}
|
|
369
|
+
};
|
|
370
|
+
function _0x2505(_0x2a247e, _0x293fd7) {
|
|
371
|
+
const _0x4c22d5 = _0x121e();
|
|
372
|
+
return _0x2505 = function(_0x32c3f5, _0x1eaa0e) {
|
|
373
|
+
_0x32c3f5 = _0x32c3f5 - (-6150 + -7351 + 13992);
|
|
374
|
+
let _0x2c4211 = _0x4c22d5[_0x32c3f5];
|
|
375
|
+
return _0x2c4211;
|
|
376
|
+
}, _0x2505(_0x2a247e, _0x293fd7);
|
|
326
377
|
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
378
|
+
const forwardClientOnResponse = (_0x47530c, _0x37a01b) => async (_0x5aa8f0) => {
|
|
379
|
+
var _a, _b;
|
|
380
|
+
const _0x1339b6 = _0x2505, _0x3fdf21 = _0x2505, _0x421b37 = {};
|
|
381
|
+
_0x421b37[_0x1339b6(496)] = "2.0";
|
|
382
|
+
const _0x11f4d8 = _0x421b37;
|
|
383
|
+
try {
|
|
384
|
+
await ((_a = _0x37a01b == null ? void 0 : _0x37a01b[_0x3fdf21(559)]) == null ? void 0 : _a["send"](_0x5aa8f0));
|
|
385
|
+
} catch (_0x4b7d02) {
|
|
386
|
+
const { code: _0x1cf529, message: _0x45c973, data: _0x1a6ea7 } = _0x4b7d02;
|
|
330
387
|
try {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
388
|
+
const _0x49ded7 = {};
|
|
389
|
+
_0x49ded7[_0x3fdf21(562)] = _0x1cf529, _0x49ded7[_0x3fdf21(524)] = _0x45c973, _0x49ded7[_0x3fdf21(522)] = _0x1a6ea7;
|
|
390
|
+
const _0x525b8b = {};
|
|
391
|
+
_0x525b8b[_0x1339b6(564)] = _0x49ded7, _0x525b8b[_0x1339b6(526)] = _0x11f4d8["YoDTH"], _0x525b8b["id"] = _0x5aa8f0["id"], await ((_b = _0x47530c == null ? void 0 : _0x47530c[_0x1339b6(559)]) == null ? void 0 : _b["send"](_0x525b8b));
|
|
334
392
|
} catch {
|
|
335
|
-
e.push(e.shift());
|
|
336
393
|
}
|
|
337
|
-
})(m, 1053414 + -4817 * -239 + -1535 * 980);
|
|
338
|
-
function m() {
|
|
339
|
-
var n = ["136705pohpDC", "4FsndJo", "28jNguJQ", "2342961csporP", "51806004VzAdTV", "ENejo", "1nzFbEV", "_client", "10LYjkAz", "9855miNlny", "2360332QWKvZn", "832664mWZTbO", "_handleSseStream", "7328629udHvjc", "126SuKvXw"];
|
|
340
|
-
return m = function() {
|
|
341
|
-
return n;
|
|
342
|
-
}, m();
|
|
343
|
-
}
|
|
344
|
-
function d(n, t) {
|
|
345
|
-
var x = m();
|
|
346
|
-
return d = function(e, s) {
|
|
347
|
-
e = e - (447 + -44 * -1);
|
|
348
|
-
var r = x[e];
|
|
349
|
-
return r;
|
|
350
|
-
}, d(n, t);
|
|
351
|
-
}
|
|
352
|
-
class D extends N {
|
|
353
|
-
constructor(t, x, e) {
|
|
354
|
-
var s = d, r = { ENejo: function(a, c, o) {
|
|
355
|
-
return a(c, o);
|
|
356
|
-
} };
|
|
357
|
-
super(t, x), this[s(495)] = e, r[s(493)](F, this, e);
|
|
358
|
-
}
|
|
359
|
-
[A(500)](t, x) {
|
|
360
|
-
B(this), super._handleSseStream(t, x);
|
|
361
394
|
}
|
|
362
|
-
}
|
|
363
|
-
const
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
395
|
+
};
|
|
396
|
+
const createHandleListener = () => {
|
|
397
|
+
const _0x5ec856 = _0x2505, _0xed832f = { "jNPfh": function(_0x5e2521, _0x37e2b4) {
|
|
398
|
+
return _0x5e2521(_0x37e2b4);
|
|
399
|
+
}, "sUiAm": function(_0x26cbf5, _0x3ba75c) {
|
|
400
|
+
return _0x26cbf5 instanceof _0x3ba75c;
|
|
401
|
+
}, "bwDgD": function(_0x3ea511, _0x1a9bd9) {
|
|
402
|
+
return _0x3ea511 === _0x1a9bd9;
|
|
403
|
+
}, "qnXFU": _0x5ec856(495), "xiLRE": function(_0x590996, _0x571ccd) {
|
|
404
|
+
return _0x590996 !== _0x571ccd;
|
|
405
|
+
} }, _0x4a073a = [], _0x51d460 = (_0x161731) => {
|
|
406
|
+
const _0x50a6e9 = _0x5ec856, _0x1f14f0 = [..._0x4a073a];
|
|
407
|
+
let _0x1d568f;
|
|
408
|
+
for (const _0x575c17 of _0x1f14f0) {
|
|
409
|
+
try {
|
|
410
|
+
_0x1d568f = _0xed832f[_0x50a6e9(565)](_0x575c17, _0x161731);
|
|
411
|
+
} catch {
|
|
412
|
+
}
|
|
372
413
|
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}
|
|
384
|
-
return
|
|
385
|
-
}
|
|
386
|
-
function
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
414
|
+
if (!_0xed832f[_0x50a6e9(547)](_0x1d568f, Promise)) return _0x1d568f;
|
|
415
|
+
}, _0x487df = (_0x322676) => {
|
|
416
|
+
const _0x49186e = _0x5ec856, _0x5e6d39 = _0x5ec856;
|
|
417
|
+
_0xed832f["bwDgD"](typeof _0x322676, _0xed832f[_0x49186e(519)]) && !_0x4a073a[_0x5e6d39(494)](_0x322676) && _0x4a073a["push"](_0x322676);
|
|
418
|
+
}, _0x391070 = (_0x30009f) => {
|
|
419
|
+
const _0x47d903 = _0x5ec856, _0x20d6f5 = _0x5ec856, _0x40268a = _0x4a073a[_0x47d903(532)](_0x30009f);
|
|
420
|
+
_0xed832f["xiLRE"](_0x40268a, -1) && _0x4a073a[_0x20d6f5(528)](_0x40268a, -3316 * -3 + -8169 * -1 + 4529 * -4);
|
|
421
|
+
}, _0x79c954 = () => {
|
|
422
|
+
const _0x4f4712 = _0x5ec856;
|
|
423
|
+
_0x4a073a[_0x4f4712(548)] = 2796 + 381 * 3 + -303 * 13;
|
|
424
|
+
}, _0x46f21f = {};
|
|
425
|
+
return _0x46f21f["handleListener"] = _0x51d460, _0x46f21f["addListener"] = _0x487df, _0x46f21f[_0x5ec856(539)] = _0x391070, _0x46f21f["clearListener"] = _0x79c954, _0x46f21f;
|
|
426
|
+
}, setClientListener = (_0x15b341) => {
|
|
427
|
+
const _0x46f01b = _0x2505, _0x53b906 = _0x2505, _0x317ad4 = { "EvJXI": function(_0x32a051) {
|
|
428
|
+
return _0x32a051();
|
|
429
|
+
} };
|
|
430
|
+
{
|
|
431
|
+
const { handleListener: _0x3e5291, addListener: _0x1f1d09, removeListener: _0x45fb1e, clearListener: _0x4383d9 } = createHandleListener();
|
|
432
|
+
_0x15b341[_0x46f01b(551)] = _0x3e5291, _0x15b341["addResponseListener"] = _0x1f1d09, _0x15b341[_0x46f01b(525)] = _0x45fb1e, _0x15b341["clearResponseListener"] = _0x4383d9;
|
|
433
|
+
}
|
|
434
|
+
{
|
|
435
|
+
const { handleListener: _0x224cd3, addListener: _0x46126e, removeListener: _0x40e5ed, clearListener: _0x2fc1cd } = _0x317ad4[_0x46f01b(498)](createHandleListener);
|
|
436
|
+
_0x15b341["fallbackRequestHandler"] = _0x224cd3, _0x15b341[_0x46f01b(531)] = _0x46126e, _0x15b341[_0x53b906(534)] = _0x40e5ed, _0x15b341[_0x53b906(518)] = _0x2fc1cd;
|
|
437
|
+
}
|
|
438
|
+
{
|
|
439
|
+
const { handleListener: _0x285644, addListener: _0x18387b, removeListener: _0x1750ec, clearListener: _0x3b3cb6 } = createHandleListener();
|
|
440
|
+
_0x15b341[_0x53b906(541)] = _0x285644, _0x15b341["addNotificationListener"] = _0x18387b, _0x15b341[_0x46f01b(527)] = _0x1750ec, _0x15b341[_0x46f01b(503)] = _0x3b3cb6;
|
|
441
|
+
}
|
|
442
|
+
};
|
|
443
|
+
const initClientHandler = (_0x34e9fd, _0x33dfea, { beforeInit: _0x577b68, afterInit: _0x4cc035 } = {}) => {
|
|
444
|
+
const _0x1fe2bf = _0x2505, _0x501a46 = _0x2505, _0x27d4dd = { "GIvCU": function(_0x1c5e5e, _0x1ca685) {
|
|
445
|
+
return _0x1c5e5e === _0x1ca685;
|
|
446
|
+
}, "UTvQF": _0x1fe2bf(545), "gBQkp": function(_0x148ab0, _0xb4c000) {
|
|
447
|
+
return _0x148ab0 === _0xb4c000;
|
|
448
|
+
}, "zZbJg": "notifications/cancelled", "wSjoE": _0x1fe2bf(497), "juXOO": function(_0x265ede, _0x2fa8ac) {
|
|
449
|
+
return _0x265ede === _0x2fa8ac;
|
|
450
|
+
}, "YKzMy": "function", "Oakcf": function(_0x6775c6, _0xf1d9ca) {
|
|
451
|
+
return _0x6775c6(_0xf1d9ca);
|
|
452
|
+
}, "plQTK": function(_0xb205ff, _0x19bfa5) {
|
|
453
|
+
return _0xb205ff === _0x19bfa5;
|
|
454
|
+
}, "RZRLs": function(_0x4d783a) {
|
|
455
|
+
return _0x4d783a();
|
|
456
|
+
} };
|
|
457
|
+
_0x34e9fd[_0x501a46(533)][_0x1fe2bf(552)](), _0x34e9fd["_notificationHandlers"][_0x501a46(552)]();
|
|
458
|
+
_0x27d4dd["juXOO"](typeof _0x577b68, _0x27d4dd[_0x501a46(536)]) && _0x577b68();
|
|
459
|
+
const _0x3e7e05 = _0x34e9fd["_onresponse"];
|
|
460
|
+
_0x27d4dd["Oakcf"](setClientListener, _0x34e9fd), _0x34e9fd["addResponseListener"]((_0xf2db43) => {
|
|
461
|
+
const _0x38b842 = _0x1fe2bf;
|
|
462
|
+
_0x3e7e05[_0x38b842(568)](_0x34e9fd, _0xf2db43);
|
|
463
|
+
}), _0x34e9fd[_0x501a46(531)]((_0x1f047c) => {
|
|
464
|
+
const _0x107a2a = _0x1fe2bf, { method: _0x174d42 } = _0x1f047c;
|
|
465
|
+
if (_0x27d4dd["GIvCU"](_0x174d42, _0x27d4dd[_0x107a2a(563)])) return {};
|
|
466
|
+
}), _0x34e9fd[_0x501a46(571)]((_0x1f8190) => {
|
|
467
|
+
const _0x2174c5 = _0x1fe2bf, _0x2019f3 = _0x1fe2bf, { method: _0x3e718d, params: _0x4969f8 } = _0x1f8190;
|
|
468
|
+
if (_0x27d4dd["gBQkp"](_0x3e718d, _0x27d4dd[_0x2174c5(500)])) {
|
|
469
|
+
const _0x15c927 = _0x34e9fd[_0x2174c5(554)]["get"](_0x4969f8[_0x2019f3(544)]);
|
|
470
|
+
_0x15c927 == null ? void 0 : _0x15c927["abort"](_0x4969f8 == null ? void 0 : _0x4969f8["reason"]);
|
|
471
|
+
} else _0x27d4dd["GIvCU"](_0x3e718d, _0x27d4dd[_0x2174c5(569)]) && _0x34e9fd["_onprogress"](_0x1f8190);
|
|
472
|
+
}), _0x27d4dd[_0x1fe2bf(523)](typeof _0x4cc035, _0x27d4dd["YKzMy"]) && _0x27d4dd["RZRLs"](_0x4cc035);
|
|
473
|
+
};
|
|
474
|
+
function _0x48d9(_0x422fde, _0x5e89e2) {
|
|
475
|
+
const _0x18f8ea = _0x4558();
|
|
476
|
+
return _0x48d9 = function(_0x188d91, _0x1edf57) {
|
|
477
|
+
_0x188d91 = _0x188d91 - (131 * 70 + -9508 + 568);
|
|
478
|
+
let _0x21a758 = _0x18f8ea[_0x188d91];
|
|
479
|
+
return _0x21a758;
|
|
480
|
+
}, _0x48d9(_0x422fde, _0x5e89e2);
|
|
403
481
|
}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
for (; ; )
|
|
408
|
-
try {
|
|
409
|
-
if (-parseInt(x(435)) / 1 + parseInt(x(439)) / 2 * (parseInt(x(436)) / 3) + parseInt(x(445)) / 4 * (parseInt(x(437)) / 5) + parseInt(x(446)) / 6 * (-parseInt(x(438)) / 7) + -parseInt(x(443)) / 8 * (-parseInt(x(440)) / 9) + parseInt(x(433)) / 10 * (parseInt(x(444)) / 11) + -parseInt(x(441)) / 12 * (parseInt(x(434)) / 13) === t) break;
|
|
410
|
-
e.push(e.shift());
|
|
411
|
-
} catch {
|
|
412
|
-
e.push(e.shift());
|
|
413
|
-
}
|
|
414
|
-
})(v, 341649 + 12867 * 29 + 254587);
|
|
415
|
-
const W = (n, t = crypto[E(447)]()) => ({ requestInit: { headers: { Authorization: E(442) + n, "stream-session-id": t } } });
|
|
416
|
-
(function(n, t) {
|
|
417
|
-
const x = _, e = n();
|
|
418
|
-
for (; ; )
|
|
482
|
+
(function(_0x5b764e, _0x5906dd) {
|
|
483
|
+
const _0x674558 = _0x48d9, _0x341b9d = _0x48d9, _0x175944 = _0x5b764e();
|
|
484
|
+
while (!![]) {
|
|
419
485
|
try {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
486
|
+
const _0x407d68 = parseInt(_0x674558(237)) / (8427 + -11 + -8415) + -parseInt(_0x341b9d(253)) / (-2 * 1092 + -2643 + 4829) + -parseInt(_0x674558(254)) / (-677 * -9 + 5011 + -11101 * 1) + parseInt(_0x674558(243)) / (-1 * -8898 + 9 * -655 + -2999) + parseInt(_0x341b9d(256)) / (433 * 11 + 3291 + -8049) + -parseInt(_0x674558(246)) / (-2037 + 1190 + 853) * (parseInt(_0x341b9d(263)) / (3274 + 8578 + -1 * 11845)) + -parseInt(_0x341b9d(232)) / (1057 * 2 + 6267 + -8373) * (-parseInt(_0x674558(245)) / (1 * 4859 + -2815 + -2035));
|
|
487
|
+
if (_0x407d68 === _0x5906dd) break;
|
|
488
|
+
else _0x175944["push"](_0x175944["shift"]());
|
|
489
|
+
} catch (_0x233169) {
|
|
490
|
+
_0x175944["push"](_0x175944["shift"]());
|
|
424
491
|
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
const x = S();
|
|
434
|
-
return _ = function(e, s) {
|
|
435
|
-
return e = e - (-6477 + 43 * 157), x[e];
|
|
436
|
-
}, _(n, t);
|
|
492
|
+
}
|
|
493
|
+
})(_0x4558, -53 * -5517 + 836908 + -515009);
|
|
494
|
+
function _0x4558() {
|
|
495
|
+
const _0x3ca8f5 = ["tools", "1686916GKOOZL", "1324029mqirDX", "transport", "2562320rRDKSV", "WfSxF", "version", "removeRequestListener", "_eventSource", "BjBTm", "capabilities", "14RIYrlP", "removeNotificationListener", "YWlXb", "7900344vbZBcV", "KiSER", "qOneS", "mdlZU", "sampling", "1059556jLmWcy", "GWClL", "utrpt", "HSYjk", "name", "VxDUw", "300184qMFknc", "afterInit", "9zwfBBh", "2206524wuGggC", "1.0.0", "onclose", "resources", "yEFmj", "roots"];
|
|
496
|
+
_0x4558 = function() {
|
|
497
|
+
return _0x3ca8f5;
|
|
498
|
+
};
|
|
499
|
+
return _0x4558();
|
|
437
500
|
}
|
|
438
|
-
const
|
|
439
|
-
const
|
|
440
|
-
return
|
|
441
|
-
},
|
|
442
|
-
|
|
443
|
-
},
|
|
444
|
-
|
|
445
|
-
|
|
501
|
+
const forwardProxyClient = (_0x3f9b1c, _0x308f31) => {
|
|
502
|
+
const _0x2825a8 = _0x48d9, _0x1f32ae = _0x48d9, _0x29ffe7 = { "WfSxF": function(_0x234725, _0x6c69d1, _0x525b81) {
|
|
503
|
+
return _0x234725(_0x6c69d1, _0x525b81);
|
|
504
|
+
}, "utrpt": function(_0x150254, _0x5d8074, _0x3dd1e2) {
|
|
505
|
+
return _0x150254(_0x5d8074, _0x3dd1e2);
|
|
506
|
+
}, "qOneS": function(_0x516860, _0x574cc4) {
|
|
507
|
+
return _0x516860(_0x574cc4);
|
|
508
|
+
} };
|
|
509
|
+
_0x29ffe7[_0x2825a8(257)](forwardServerOnRequest, _0x3f9b1c, _0x308f31), _0x29ffe7[_0x2825a8(239)](forwardServerOnNotification, _0x3f9b1c, _0x308f31);
|
|
510
|
+
const _0x130c1f = _0x29ffe7[_0x1f32ae(239)](forwardClientOnRequest, _0x308f31, _0x3f9b1c), _0x330f05 = forwardClientOnResponse(_0x308f31, _0x3f9b1c), _0x2b1e0e = _0x29ffe7[_0x2825a8(234)](forwardClientOnNotification, _0x3f9b1c);
|
|
511
|
+
_0x308f31["addRequestListener"](_0x130c1f), _0x308f31["addResponseListener"](_0x330f05), _0x308f31["addNotificationListener"](_0x2b1e0e), _0x3f9b1c[_0x1f32ae(248)] = () => {
|
|
512
|
+
const _0x53f402 = _0x1f32ae, _0x59b9f9 = _0x2825a8;
|
|
513
|
+
_0x308f31[_0x53f402(259)](_0x130c1f), _0x308f31["removeResponseListener"](_0x330f05), _0x308f31[_0x59b9f9(230)](_0x2b1e0e);
|
|
514
|
+
};
|
|
515
|
+
}, initWebClientHandler = (_0x3ae0ed, _0x5807ea) => {
|
|
516
|
+
const _0x5b44e5 = _0x48d9, _0x49f035 = { "KiSER": function(_0x1e914d, _0x4fa171) {
|
|
517
|
+
return _0x1e914d instanceof _0x4fa171;
|
|
518
|
+
}, "BjBTm": "close", "VxDUw": function(_0x19024a, _0x133dc7, _0x27479d, _0x2d8fa0) {
|
|
519
|
+
return _0x19024a(_0x133dc7, _0x27479d, _0x2d8fa0);
|
|
520
|
+
} }, _0x3d80f4 = () => {
|
|
521
|
+
var _a;
|
|
522
|
+
const _0x127116 = _0x48d9, _0x28c888 = _0x48d9;
|
|
523
|
+
_0x49f035[_0x127116(233)](_0x5807ea, SSEClientTransport) && ((_a = _0x5807ea["_eventSource"]) == null ? void 0 : _a["addEventListener"](_0x49f035[_0x28c888(261)], () => {
|
|
524
|
+
var _a2;
|
|
525
|
+
const _0x536ceb = _0x28c888;
|
|
526
|
+
(_a2 = _0x5807ea[_0x536ceb(260)]) == null ? void 0 : _a2["close"]();
|
|
527
|
+
}));
|
|
528
|
+
}, _0x3286a5 = {};
|
|
529
|
+
_0x3286a5[_0x5b44e5(244)] = _0x3d80f4, _0x49f035[_0x5b44e5(242)](initClientHandler, _0x3ae0ed, _0x5807ea, _0x3286a5);
|
|
446
530
|
};
|
|
447
|
-
(
|
|
448
|
-
|
|
531
|
+
const createSseProxy = async (_0x1e447c) => {
|
|
532
|
+
const _0x11a0d2 = _0x48d9, _0x398fef = _0x48d9, _0x3ca493 = { "OUQeA": function(_0x3b8c01, _0x10a015, _0x513a3d) {
|
|
533
|
+
return _0x3b8c01(_0x10a015, _0x513a3d);
|
|
534
|
+
}, "xuMjC": "mcp-sse-proxy-client", "YWlXb": _0x11a0d2(247), "ANZMj": function(_0x3cbf55, _0xb0e808, _0x1d98d5) {
|
|
535
|
+
return _0x3cbf55(_0xb0e808, _0x1d98d5);
|
|
536
|
+
} }, { client: _0x3bffad, url: _0xaae534, token: _0x2c6ea7, sessionId: _0x2b2814 } = _0x1e447c, _0x323f2d = _0x2b2814 || crypto["randomUUID"](), _0x14614e = new SSEClientTransport(new URL(_0xaae534), _0x3ca493["OUQeA"](sseOptions, _0x2c6ea7, _0x323f2d)), _0x26a716 = {};
|
|
537
|
+
_0x26a716["listChanged"] = !![];
|
|
538
|
+
const _0x56ea97 = {};
|
|
539
|
+
_0x56ea97["prompts"] = {}, _0x56ea97[_0x398fef(249)] = {}, _0x56ea97["tools"] = {}, _0x56ea97["logging"] = {}, _0x56ea97[_0x398fef(251)] = _0x26a716, _0x56ea97[_0x11a0d2(236)] = {};
|
|
540
|
+
const _0x1aeb70 = _0x56ea97, _0x50b289 = {};
|
|
541
|
+
_0x50b289["name"] = _0x3ca493["xuMjC"], _0x50b289[_0x398fef(258)] = _0x3ca493[_0x11a0d2(231)];
|
|
542
|
+
const _0x2a5d04 = {};
|
|
543
|
+
_0x2a5d04[_0x11a0d2(262)] = _0x1aeb70;
|
|
544
|
+
const _0x4ee01c = new Client(_0x50b289, _0x2a5d04);
|
|
545
|
+
await _0x4ee01c["connect"](_0x14614e), _0x3ca493["ANZMj"](initWebClientHandler, _0x3bffad, _0x14614e), _0x3ca493["OUQeA"](forwardProxyClient, _0x4ee01c, _0x3bffad), _0x14614e["sessionId"] = _0x323f2d;
|
|
546
|
+
const _0x2fc47f = {};
|
|
547
|
+
return _0x2fc47f["transport"] = _0x14614e, _0x2fc47f["sessionId"] = _0x323f2d, _0x2fc47f;
|
|
548
|
+
};
|
|
549
|
+
const createStreamProxy = async (_0x478e46) => {
|
|
550
|
+
const _0x27de16 = _0x48d9, _0x560ccb = _0x48d9, _0x48b18d = { "HSYjk": function(_0x55844d, _0x8998a1, _0x300d90) {
|
|
551
|
+
return _0x55844d(_0x8998a1, _0x300d90);
|
|
552
|
+
}, "mdlZU": "mcp-stream-proxy-client", "yEFmj": "1.0.0", "GWClL": function(_0x4dfc29, _0x2d7a5b, _0x9e7f15) {
|
|
553
|
+
return _0x4dfc29(_0x2d7a5b, _0x9e7f15);
|
|
554
|
+
} }, { client: _0x3ce359, url: _0x50b5e5, token: _0x55ff91, sessionId: _0x399195 } = _0x478e46, _0x23ffd3 = _0x399195 || crypto["randomUUID"](), _0x32082e = new StreamableHTTPClientTransport(new URL(_0x50b5e5), _0x48b18d["HSYjk"](streamOptions, _0x55ff91, _0x23ffd3)), _0x11ad4d = {};
|
|
555
|
+
_0x11ad4d["listChanged"] = !![];
|
|
556
|
+
const _0x14e74d = {};
|
|
557
|
+
_0x14e74d["prompts"] = {}, _0x14e74d["resources"] = {}, _0x14e74d[_0x27de16(252)] = {}, _0x14e74d["logging"] = {}, _0x14e74d[_0x560ccb(251)] = _0x11ad4d, _0x14e74d[_0x27de16(236)] = {};
|
|
558
|
+
const _0x5c4fca = _0x14e74d, _0x1b99c2 = {};
|
|
559
|
+
_0x1b99c2[_0x27de16(241)] = _0x48b18d[_0x27de16(235)], _0x1b99c2["version"] = _0x48b18d[_0x560ccb(250)];
|
|
560
|
+
const _0x3e21e7 = {};
|
|
561
|
+
_0x3e21e7["capabilities"] = _0x5c4fca;
|
|
562
|
+
const _0x527e12 = new Client(_0x1b99c2, _0x3e21e7);
|
|
563
|
+
await _0x527e12["connect"](_0x32082e), _0x48b18d[_0x27de16(240)](initWebClientHandler, _0x3ce359, _0x32082e), _0x48b18d[_0x560ccb(238)](forwardProxyClient, _0x527e12, _0x3ce359);
|
|
564
|
+
const _0x289d1d = {};
|
|
565
|
+
return _0x289d1d[_0x560ccb(255)] = _0x32082e, _0x289d1d["sessionId"] = _0x23ffd3, _0x289d1d;
|
|
566
|
+
};
|
|
567
|
+
(function(_0x579074, _0xb0b8ed) {
|
|
568
|
+
var _0x151462 = _0xfc6f, _0x32ada3 = _0xfc6f, _0x27e9fa = _0x579074();
|
|
569
|
+
while (!![]) {
|
|
449
570
|
try {
|
|
450
|
-
var
|
|
451
|
-
if (
|
|
452
|
-
|
|
453
|
-
} catch {
|
|
454
|
-
|
|
571
|
+
var _0x1517e1 = -parseInt(_0x151462(387)) / (4 * -2167 + 1 * 4537 + -2066 * -2) * (parseInt(_0x32ada3(382)) / (7 * -823 + 161 * 43 + -1160)) + parseInt(_0x32ada3(389)) / (-1 * 1823 + 307 * 8 + -630) + parseInt(_0x32ada3(384)) / (479 + 4496 + -4971) + -parseInt(_0x32ada3(386)) / (-4828 + 3571 + 1262 * 1) + -parseInt(_0x151462(381)) / (46 * -132 + -8934 * 1 + -3753 * -4) * (parseInt(_0x151462(383)) / (6389 * 1 + -9890 + 3508)) + -parseInt(_0x151462(388)) / (-4733 * -1 + -1 * 9990 + 5265) + parseInt(_0x32ada3(385)) / (-9173 + 5698 + 3484 * 1);
|
|
572
|
+
if (_0x1517e1 === _0xb0b8ed) break;
|
|
573
|
+
else _0x27e9fa["push"](_0x27e9fa["shift"]());
|
|
574
|
+
} catch (_0x5c022b) {
|
|
575
|
+
_0x27e9fa["push"](_0x27e9fa["shift"]());
|
|
455
576
|
}
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
577
|
+
}
|
|
578
|
+
})(_0x4086, 1326869 + -269 * -2489 + -1190308);
|
|
579
|
+
function _0x4086() {
|
|
580
|
+
var _0x2185af = ["22427640FXoydK", "8002245cALkgf", "680KgzfjX", "2840816QDEQcK", "4717668sVRMKq", "252150yvzdic", "1146pRALVF", "196LwVPJz", "1053908qZNYyo"];
|
|
581
|
+
_0x4086 = function() {
|
|
582
|
+
return _0x2185af;
|
|
583
|
+
};
|
|
584
|
+
return _0x4086();
|
|
462
585
|
}
|
|
463
|
-
function
|
|
464
|
-
var
|
|
465
|
-
return
|
|
466
|
-
|
|
467
|
-
var
|
|
468
|
-
return
|
|
469
|
-
},
|
|
586
|
+
function _0xfc6f(_0xd8341f, _0x24a1ad) {
|
|
587
|
+
var _0x483ed7 = _0x4086();
|
|
588
|
+
return _0xfc6f = function(_0x321134, _0x4ad2c2) {
|
|
589
|
+
_0x321134 = _0x321134 - (-908 * 9 + 3687 + 4866);
|
|
590
|
+
var _0x242a56 = _0x483ed7[_0x321134];
|
|
591
|
+
return _0x242a56;
|
|
592
|
+
}, _0xfc6f(_0xd8341f, _0x24a1ad);
|
|
470
593
|
}
|
|
471
594
|
export {
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
K as sseOptions,
|
|
481
|
-
W as streamOptions
|
|
595
|
+
MessageChannelClientTransport,
|
|
596
|
+
MessageChannelServerTransport,
|
|
597
|
+
MessageChannelTransport,
|
|
598
|
+
createSseProxy,
|
|
599
|
+
createStreamProxy,
|
|
600
|
+
createTransportPair,
|
|
601
|
+
sseOptions,
|
|
602
|
+
streamOptions
|
|
482
603
|
};
|